]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
Bind "Copy" menu item to kill-ring-save, obsoleting menu-bar-kill-ring-save.
[gnu-emacs] / lisp / ChangeLog
1 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
2
3 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
4 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
5 mouse-region-match.
6
7 * color.el: Move from gnus/.
8
9 * vc/diff.el (diff-better-file-name): Function deleted.
10 abbreviating file names causes problems with shell-quote-argument.
11 (diff-no-select): Just use expand-file-name.
12
13 * tool-bar.el (tool-bar--image-expression): New function.
14 (tool-bar-local-item, tool-bar--image-exp): Use it.
15 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
16 Use :enable instead of :visible to avoid changing the tool-bar
17 configuration unnecessarily.
18
19 * info.el (info-tool-bar-map): Add separators.
20
21 2010-12-17 Ken Brown <kbrown@cornell.edu>
22
23 * loadup.el: Use version numbers in Cygwin build.
24
25 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
26
27 * ido.el (ido-file-internal): Ask for confirmation before
28 overwriting an existing file (Bug#1238).
29
30 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
31
32 * tool-bar.el (tool-bar-setup): Add separators.
33
34 * menu-bar.el (featurep): Use menu-bar-separator.
35
36 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
37
38 Migrate allout encryption provisions from pgg to epg.
39
40 * allout.el (allout-toggle-current-subtree-encryption)
41 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
42 defaulting policy and other changes. Change fetch-pass to keymode-cue,
43 for simpler universal argument interpretation.
44 (allout-toggle-subtree-encryption): Adjust docstring to describe
45 changed encryption provisions. Change fetch-pass to keymode-cue, for
46 simpler universal argument interpretation. Remove provisions for
47 handling key type and identity - they'll all be within
48 allout-encrypt-string or epg/epg or even contained all the way in gpg.
49 (allout-encrypt-string): Include keymode-cue, for optionally prompting
50 for keypair recipients (universal argument > 1) and, in addition,
51 associating the specified recipients with the outline (universal
52 argument > 4) using a file local variable setting for
53 'epa-file-encrypt-to'.
54 Require epa, for recipients handling.
55 Change how regexp filtering elements are named.
56 Describe the problem with caching of incorrect symmetric-decryption
57 keys.
58 Use the epa-passphrase-callback-function, in case the user is using
59 GnuPG v1.
60 Support saving of the selected keypair recipients when invoked with a
61 keymode-cue > 4.
62 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
63 Require 'epa.
64 Establish epg-context with armoring and default epg-protocol.
65 Remove all passphrase cache, verification, and hinting code.
66 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
67 No longer used, delete.
68 (allout-mode): Adjust docstring to describe changed encryption
69 provisions. Describe the problem with caching of incorrect
70 symmetric-decryption keys.
71 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
72 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
73 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
74 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
75 Obsolete, remove.
76
77 2010-12-16 Daiki Ueno <ueno@unixuser.org>
78
79 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
80 key selection prompt; make 'silent as default (Bug#7487).
81
82 2010-12-16 Leo <sdl.web@gmail.com>
83
84 * eshell/eshell.el (eshell-directory-name): Use
85 locate-user-emacs-file (Bug#7578).
86
87 2010-12-15 Glenn Morris <rgm@gnu.org>
88
89 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
90
91 2010-12-15 Jari Aalto <jari.aalto@cante.net>
92 Scott Evans <gse@antisleep.com>
93
94 * rect.el (rectange--default-line-number-format)
95 (rectangle-number-line-callback): New functions.
96 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
97
98 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
99
100 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
101 Delete unused variables.
102 (move-to-column-force): Remove function obsolete since 21.2.
103
104 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
105
106 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
107 (tramp-handle-insert-file-contents): Do not set permanent-local
108 property.
109
110 * net/tramp-cache.el (tramp-persistency-file-name): Use
111 `locate-user-emacs-file' if fboundp.
112
113 * net/tramp-sh.el (tramp-methods): Add "ksu".
114 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
115 method list.
116
117 2010-12-14 Glenn Morris <rgm@gnu.org>
118
119 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
120 (find-tag-marker-ring): Declare.
121 (js-find-symbol): Require etags.
122
123 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
124 Require mail-utils.
125 (mail-alias-file): Don't autoload. Doc fix.
126 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
127 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
128 Mark as obsolete, and risky.
129 (mail-setup): Simplify.
130
131 * mail/mailalias.el (build-mail-aliases): Make it interactive.
132 * mail/sendmail.el (build-mail-aliases): Update autoload.
133
134 * dired.el (dired-trivial-filenames, dired-chown-program)
135 (dired-auto-revert-buffer): Remove autoload cookies.
136 * mail/sendmail.el (mail-recover-1): Require 'dired.
137
138 * dired.el (dired-subdir-switches, dired-chown-program)
139 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
140 Make into defcustoms.
141 (dired-chown-program): Simplify initialization.
142
143 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
144
145 2010-12-13 Romain Francoise <romain@orebokech.com>
146
147 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
148
149 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
150
151 * net/netrc.el (netrc-point-at-eol): Remove the unused
152 netrc-point-at-old and netrc-bound-and-true-p bindings.
153 (netrc-parse): Cache the netrc contents.
154
155 2010-12-13 Eli Zaretskii <eliz@gnu.org>
156
157 * subr.el (posn-col-row): Evaluate header-line-format in the
158 context of the POSITION window's buffer.
159
160 2010-12-13 Glenn Morris <rgm@gnu.org>
161
162 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
163 (with-silent-modifications): Doc fixes.
164
165 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
166
167 * net/tramp.el (tramp-action-password, tramp-process-actions):
168 Revert previous from. Use `save-restriction'.
169
170 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
171
172 * calendar/diary-lib.el (diary-list-sexp-entries):
173 Handle case of no newline at end of file. (Bug#7536)
174
175 2010-12-13 Glenn Morris <rgm@gnu.org>
176
177 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
178
179 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
180
181 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
182 (tramp-process-actions): Do not widen.
183
184 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
185 Protect buffer-modified value. (Bug#7557)
186
187 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
188
189 * log-edit.el (log-edit-changelog-entries):
190 Regexp quote filename. (Bug#7505)
191
192 2010-12-13 Tom Breton <tehom@panix.com>
193
194 * cus-edit.el (custom-save-all):
195 Bind print-length and print-level to nil. (Bug#7581)
196
197 2010-12-13 Glenn Morris <rgm@gnu.org>
198
199 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
200 Run hooks to update menu contents. (Bug#7586)
201
202 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
203 file names, for the sake of MS Windows. (Bug#7588)
204
205 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
206
207 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
208 empty lines without a leading space.
209
210 2010-12-13 Leo <sdl.web@gmail.com>
211
212 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
213 while mapping over marks (Bug#6810).
214
215 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
216
217 * image-dired.el (image-dired-db-file)
218 (image-dired-temp-image-file, image-dired-gallery-dir)
219 (image-dired-temp-rotate-image-file): Set default values relative
220 to image-dired-dir (Bug#7518).
221
222 2010-12-13 Lawrence Mitchell <wence@gmx.li>
223
224 * format.el (format-decode-run-method): Pass args FROM and TO, not
225 point-min and point-max, to shell-command-on-region (Bug#7488).
226
227 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
228
229 * frame.el (blink-cursor-mode): Make default t for ns.
230
231 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
232
233 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
234
235 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
236
237 * comint.el (comint-dynamic-list-input-ring)
238 (comint-dynamic-complete-filename)
239 (comint-replace-by-expanded-filename)
240 (comint-dynamic-simple-complete)
241 (comint-dynamic-list-filename-completions)
242 (comint-dynamic-list-completions): Doc fix (Bug#7499).
243
244 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
245 Doc fix (Bug#7471).
246
247 2010-12-13 Martin Rudalics <rudalics@gmx.at>
248
249 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
250 (Bug#7533).
251
252 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
253
254 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
255 (Bug#7491).
256
257 2010-12-13 Eli Zaretskii <eliz@gnu.org>
258
259 * files.el (file-relative-name): Handle UNC file names on
260 DOS/Windows. (Bug#4674)
261
262 2010-12-13 Daiki Ueno <ueno@unixuser.org>
263
264 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
265 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
266 (epg-context-set-passphrase-callback): Mention that the callback
267 is not called when used with GnuPG 2.x.
268
269 2010-12-13 Glenn Morris <rgm@gnu.org>
270
271 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
272 Ensure ps-footer-font-size-internal is initialized.
273 Call ps-get-page-dimensions before trying to use ps-font-for-text.
274
275 2010-12-13 Kenichi Handa <handa@m17n.org>
276
277 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
278 within condition-case.
279 (rmail-show-mime): Don't use condition-case.
280 (rmail-search-mime-message): New function.
281 (rmail-search-mime-message-function): Set to
282 rmail-search-mime-message.
283
284 2010-12-13 Leo <sdl.web@gmail.com>
285
286 * ido.el (ido-common-initialization): New function. (bug#3274)
287 (ido-mode): Use it.
288 (ido-completing-read): Call it.
289
290 2010-12-12 Karl Fogel <kfogel@red-bean.com>
291
292 * bookmark.el (bookmark-name-from-full-record): Rename back to
293 this original name from `bookmark-name-from-record' reverting part
294 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
295 As Drew Adams pointed out, there was no reason to cause churn for
296 third-party callers.
297
298 2010-12-12 Alan Mackenzie <acm@muc.de>
299
300 * progmodes/cc-engine.el (c-forward-type): Before scanning a
301 template arglist, check that the current language supports this.
302
303 2010-12-11 Glenn Morris <rgm@gnu.org>
304
305 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
306 state of the file matches. (Bug#7544)
307 (vc-bzr-register, vc-bzr-checkin)
308 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
309 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
310
311 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
312
313 2010-12-11 Karel Klíč <kklic@redhat.com>
314
315 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
316
317 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
318
319 Derive from prog-mode, use derived-mode-p, and fix up various
320 minor style issues in lisp/progmodes.
321
322 * progmodes/vhdl-mode.el (vhdl-mode):
323 * progmodes/verilog-mode.el (verilog-mode):
324 * progmodes/vera-mode.el (vera-mode):
325 * progmodes/sql.el (sql-mode):
326 * progmodes/scheme.el (scheme-mode):
327 * progmodes/perl-mode.el (perl-mode):
328 * progmodes/octave-inf.el (inferior-octave-mode):
329 * progmodes/autoconf.el (autoconf-mode):
330 * progmodes/m4-mode.el (m4-mode):
331 * progmodes/inf-lisp.el (inferior-lisp-mode):
332 * progmodes/idlwave.el (idlwave-mode):
333 * progmodes/icon.el (icon-mode):
334 * progmodes/idlw-help.el (idlwave-help-mode):
335 * progmodes/dcl-mode.el (dcl-mode):
336 * progmodes/idlw-shell.el (idlwave-shell-mode):
337 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
338 (ebrowse-member-mode, ebrowse-electric-position-mode):
339 Use define-derived-mode.
340
341 * progmodes/xscheme.el (exit-scheme-interaction-mode)
342 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
343 (xscheme-debugger-mode-p, xscheme-send-string-1):
344 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
345 (tcl-load-file, tcl-restart-with-file):
346 * progmodes/ps-mode.el (ps-run-running):
347 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
348 * progmodes/js.el (js--get-all-known-symbols):
349 * progmodes/inf-lisp.el (inferior-lisp-proc):
350 * progmodes/idlwave.el (idlwave-beginning-of-statement)
351 (idlwave-template, idlwave-update-buffer-routine-info)
352 (idlwave-update-current-buffer-info)
353 (idlwave-get-routine-info-from-buffers, idlwave-choose)
354 (idlwave-scan-class-info, idlwave-fix-keywords)
355 (idlwave-list-buffer-load-path-shadows):
356 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
357 (idlwave-toolbar-remove):
358 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
359 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
360 (idlwave-shell-menu-def):
361 * progmodes/idlw-complete-structtag.el
362 (idlwave-prepare-structure-tag-completion):
363 * progmodes/gud.el (gud-set-buffer):
364 * progmodes/f90.el (f90-backslash-not-special):
365 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
366
367 * progmodes/xscheme.el (xscheme-start)
368 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
369 * progmodes/which-func.el (which-function):
370 * progmodes/vhdl-mode.el (vhdl-set-style):
371 * progmodes/verilog-mode.el (verilog-set-compile-command)
372 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
373 (verilog-set-define, verilog-auto-reeval-locals):
374 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
375 * progmodes/simula.el (simula-mode):
376 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
377 * progmodes/python.el (python-check, python-mode):
378 * progmodes/prolog.el (prolog-mode-variables):
379 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
380 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
381 * progmodes/delphi.el (delphi-mode):
382 * progmodes/cc-styles.el (c-setup-paragraph-variables):
383 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
384 (c-font-lock-init): Move make-local-variable to their setq.
385
386 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
387 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
388 make-local-hook.
389 * progmodes/sh-script.el (sh-require-final-newline): Remove.
390 (sh-set-shell): Don't set require-final-newline since it's already done
391 by prog-mode.
392 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
393 since we never set it.
394 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
395 Use read-string and standard prompt.
396 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
397 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
398 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
399 (meta-common-mode-map): Rename from meta-mode-map.
400 Remove C-m binding, which is a user preference, not mode specific.
401 (meta-common-mode): New major mode; replace meta-common-initialization.
402 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
403 around with font-lock.
404 * progmodes/etags.el (select-tags-table-mode):
405 Derive from special-mode.
406 * progmodes/octave-mod.el (octave-mode):
407 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
408 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
409 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
410 Let define-derived-mode do its job.
411 * progmodes/cpp.el (cpp-edit-mode-map):
412 Move initialization into declaration.
413 (cpp-edit-mode): Use define-derived-mode.
414 (cpp-edit-load): Use derived-mode-p.
415 * progmodes/mixal-mode.el (mixal-mode):
416 * progmodes/f90.el (f90-mode):
417 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
418 require-final-newline since prog-mode does it already.
419 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
420 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
421 * progmodes/antlr-mode.el: Require cc-mode upfront.
422 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
423 the declaration.
424 (antlr-directory-dependencies, antlr-show-makefile-rules):
425 Use derived-mode-p.
426 (antlr-language-option): Don't assume point-min==1.
427 (antlr-mode): Use define-derived-mode.
428 * progmodes/ada-mode.el: Use derived-mode-p.
429 (ada-mode): Use define-derived-mode.
430 Use hack-local-variables-hook.
431
432 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
433
434 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
435 (texinfo-mode): Don't disable adaptive-fill-mode.
436 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
437 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
438 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
439 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
440 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
441 (texinfo-insert-@quotation, texinfo-insert-@samp)
442 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
443 (texinfo-insert-@uref): Use define-skeleton.
444 (texinfo-insert-@-with-arg): Delete.
445
446 2010-12-10 Eli Zaretskii <eliz@gnu.org>
447
448 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
449 nil, do quote archive member names. (Bug#6144)
450
451 2010-12-10 Glenn Morris <rgm@gnu.org>
452
453 * files.el (diff-no-select): Declare.
454
455 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
456 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
457
458 * comint.el (comint-input-ring-file-name): Doc fix.
459
460 2010-12-09 Eli Zaretskii <eliz@gnu.org>
461
462 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
463 New functions.
464 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
465 Use them instead of `nil' and `>', respectively.
466 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
467 instead of `nil'.
468 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
469 and menu-bar-positive-p instead of `nil' and `>', respectively.
470 (Bug#1077)
471
472 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
473
474 * whitespace.el (whitespace-newline-mode): Code fix.
475
476 2010-12-09 Glenn Morris <rgm@gnu.org>
477
478 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
479 Rename functions without commas, update callers.
480
481 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
482
483 * whitespace.el (whitespace-cleanup-region):
484 Clean up spaces before tabs. (Bug#7582)
485
486 2010-12-08 Karl Fogel <kfogel@red-bean.com>
487
488 * bookmark.el: Adjust parameter names and doc strings to resolve
489 confusion over whether "bookmark" meant a bookmark name or a
490 bookmark record. Along the way, shorten one function's name for
491 similar reasons. (Issue #7548)
492 (bookmark-name-from-record): New name for
493 `bookmark-name-from-full-record'. All callers changed.
494 (bookmark-get-bookmark, bookmark-get-bookmark-record)
495 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
496 (bookmark-get-annotation, bookmark-set-annotation)
497 (bookmark-get-filename, bookmark-set-filename)
498 (bookmark-get-position, bookmark-set-position)
499 (bookmark-get-front-context-string, bookmark-set-front-context-string)
500 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
501 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
502 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
503 Rename `bookmark' parameter to `bookmark-name-or-record', to
504 clearly show its role, and shorten or adjust doc strings accordingly.
505 (bookmark-set-name): Same, and pass the parameter directly to
506 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
507 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
508 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
509 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
510 and in some cases shorten doc string accordingly.
511 (bookmark-rename): Change `old' and `new' parameters to `old-name'
512 and `new-name', and adjust an internal variable to avoid confusion.
513 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
514 parameter in doc string.
515
516 2010-12-08 Glenn Morris <rgm@gnu.org>
517
518 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
519 from gdb's history file. (Bug#7575)
520
521 * mail/emacsbug.el (report-emacs-bug):
522 Try to handle some other mail clients.
523
524 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
525
526 * files.el (dir-locals-collect-variables): Don't let errors stop us.
527 Use string-prefix-p.
528 (file-name-version-regexp): New var.
529 (file-name-sans-versions):
530 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
531 (jka-compr-get-compression-info): Use dolist.
532 (jka-compr-compression-info-list): Don't bother specifying
533 version/backup regexps.
534
535 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
536
537 * simple.el (just-one-space): Make argument n default to 1 if
538 omitted.
539
540 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
541
542 * electric.el (electric-indent-post-self-insert-function):
543 Delete trailing newlines even if we don't reindent.
544
545 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
546
547 * minibuffer.el (completion-at-point): Remove the `arg'.
548 * bindings.el (complete-symbol): Move back from minibuffer.el.
549
550 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
551
552 * simple.el (just-one-space): Delete newlines for negative arg.
553
554 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
555
556 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
557 (ansi-color-filter-apply): Simplify.
558 (ansi-color-apply): Use `font-lock-face' rather than `face'.
559
560 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
561
562 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
563
564 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
565
566 * dired.el (dired-use-ls-dired): Set default to a special
567 "unspecified" value.
568 (dired-insert-directory): When called the first time, check
569 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
570
571 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
572
573 * replace.el: Add "collect" feature to occur.
574 (occur-collect-regexp-history): New var.
575 (occur-read-primary-args): Return a replace string for nlines,
576 if needed.
577 (occur): Extend the meaning of nlines.
578
579 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
580
581 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
582 (which-func-update-1): Distinguish symbols from strings.
583 (which-function): Stay within 80 columns.
584
585 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
586
587 * subr.el (with-demoted-errors): Distinguish symbols from strings.
588
589 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
590 Improve docstring.
591 (comment-style): Use comment-styles's docs to describe values.
592
593 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
594
595 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
596 and ns-show-prefs (Bug#7535).
597
598 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
599 bindings (Bug#7535).
600
601 2010-12-03 Glenn Morris <rgm@gnu.org>
602
603 * nxml/nxml-mode.el: Require rng-nxml.
604 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
605 Remove declarations.
606
607 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
608 * nxml/rng-nxml.el, nxml/rng-valid.el:
609 Remove leading `*' from defcustom docs.
610
611 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
612 (normal-top-level-add-to-load-path, tty-handle-args):
613 Convert comments to basic doc-strings.
614
615 * net/browse-url.el (browse-url-url-at-point)
616 (browse-url-default-browser): Remove autoload cookies.
617
618 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
619 Remove more undefined cl functions.
620
621 * vc/diff.el (diff-sentinel): Make new arguments optional.
622 * ibuf-ext.el (diff-sentinel): Update declaration.
623
624 2010-12-03 Daiki Ueno <ueno@unixuser.org>
625
626 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
627 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
628 (epg-context-set-passphrase-callback): Mention that the callback
629 is not called when used with GnuPG 2.x.
630
631 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
632
633 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
634 (tramp-file-name-port): Check also for `tramp-default-port'.
635 (tramp-get-connection-name): New defun.
636 (tramp-get-connection-process): Use it.
637 (tramp-debug-message): Extend function exclude list.
638 (tramp-drop-volume-letter): Fix doc string.
639
640 * net/tramp-cmds.el: Remove solved todo item.
641
642 * net/tramp-efs.el:
643 * net/tramp-ftp.el:
644 * net/tramp-gvfs.el:
645 * net/tramp-gw.el:
646 * net/tramp-imap.el:
647 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
648 and `tramp-default-user-alist', respectively.
649
650 * net/tramp-gw.el (tramp-gw-open-connection):
651 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
652
653 * net/tramp-imap.el (tramp-imap-make-iht): Use just
654 `tramp-file-name-port'.
655
656 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
657 and "psftp". Exchange "%k" marker with options.
658 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
659 Compute size of link target.
660 (tramp-do-copy-or-rename-file-out-of-band). Move setting of
661 `tramp-current-*' up due to gateway methods. Optimze computing of
662 copy arguments. Use `tramp-get-connection-name' and
663 `tramp-get-connection-buffer'. Improve debug messages.
664 (tramp-compute-multi-hops): Remove port determination.
665 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
666
667 * net/trampver.el: Update release number.
668
669 2010-12-02 Glenn Morris <rgm@gnu.org>
670
671 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
672 Avoid infinite loop over windows. (Bug#7492)
673
674 * progmodes/flymake.el (flymake-check-file-limit):
675 Allow nil to mean "no limit".
676 (flymake-check-patch-master-file-buffer): Update for above change.
677 Allow a .tex file-name extension to be optional.
678 (flymake-master-tex-init): Also match \include statements.
679
680 2010-11-30 Sam Steingold <sds@gnu.org>
681
682 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
683 (nxml-parent-document-set): A function to set `nxml-parent-document'.
684 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
685 (nxml-mode-hook): Remove `defcustom' (auto-defined by
686 define-derived-mode').
687 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
688 users who want to call `nxml-parent-document-set'.
689
690 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
691
692 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
693 stand-alone lines, since that is handled by log-edit-match-to-eoh
694 (Bug#6465).
695
696 2010-11-27 Eduard Wiebe <usenet@pusto.de>
697
698 * dired.el (dired-get-filename): Replace backslashes with slashes
699 in file names on MS-Windows, needed by `locate'. (Bug#7308)
700 * locate.el (locate-default-make-command-line): Don't consider
701 drive letter and root directory part of
702 `directory-listing-before-filename-regexp'. (Bug#7308)
703 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
704
705 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
706
707 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
708 of :smie-open/close-alist.
709 (smie-next-sexp): Make it accept a "start token" as argument.
710 (smie-indent-keyword): Be careful not to misidentify tokens that span
711 more than one line, as empty lines. Add argument `token'.
712
713 2010-11-27 Kenichi Handa <handa@m17n.org>
714
715 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
716 multipart subtypes, insert all as usual.
717
718 * mail/rmail.el: Require rfc2047.
719
720 2010-11-27 Kenichi Handa <handa@m17n.org>
721
722 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
723 (rmail-mime-entity-disposition)
724 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
725 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
726 (rmail-mime-save): Handle the case that the button's `data' is a
727 MIME entity.
728 (rmail-mime-insert-text): New function.
729 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
730 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
731 (rmail-mime-insert-bulk): New function mostly copied from the old
732 rmail-mime-bulk-handler.
733 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
734 (rmail-mime-process-multipart): New function mostly copied from
735 the old rmail-mime-multipart-handler.
736 (rmail-mime-show): Just call rmail-mime-process.
737 (rmail-mime-process): New function mostly copied from the old
738 rmail-mime-show.
739 (rmail-mime-insert-multipart, rmail-mime-parse)
740 (rmail-mime-insert, rmail-show-mime)
741 (rmail-insert-mime-forwarded-message)
742 (rmail-insert-mime-resent-message): New functions.
743 (rmail-insert-mime-forwarded-message-function): Set to
744 rmail-insert-mime-forwarded-message.
745 (rmail-insert-mime-resent-message-function): Set to
746 rmail-insert-mime-resent-message.
747
748 * mail/rmailsum.el: Require rfc2047.
749 (rmail-header-summary): Handle multiline Subject: field.
750 (rmail-summary-line-decoder): Change the default to
751 rfc2047-decode-string.
752
753 * mail/rmail.el (rmail-enable-mime): Change the default to t.
754 (rmail-mime-feature): Change the default to `rmailmm'.
755 (rmail-quit): Delete the specifal code for rmail-enable-mime.
756 (rmail-display-labels): Likewise.
757 (rmail-show-message-1): Check rmail-enable-mime, and use
758 rmail-show-mime-function for a MIME message. Decode the headers
759 according to RFC2047.
760
761 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
762
763 * progmodes/which-func.el (which-func-imenu-joiner-function):
764 Return a string, as expected.
765 (which-function-mode): Make sure we stop any previous timer before
766 starting a new one.
767
768 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
769
770 * net/tramp.el (tramp-default-method-alist)
771 (tramp-default-user-alist, tramp-default-proxies-alist):
772 Adapt custom options type. (Bug#7445)
773
774 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
775
776 * progmodes/python.el: Add Ipython support (Bug#5390).
777 (python-shell-prompt-alist)
778 (python-shell-continuation-prompt-alist): New options.
779 (python--set-prompt-regexp): New function.
780 (inferior-python-mode, run-python, python-shell):
781 Require ansi-color. Use python--set-prompt-regexp to set the comint
782 prompt based on the Python interpreter.
783 (python--prompt-regexp): New var.
784 (python-check-comint-prompt)
785 (python-comint-output-filter-function): Use it.
786 (run-python): Use a pipe (Bug#5694).
787
788 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
789
790 * progmodes/python.el (run-python): Doc fix.
791 (python-keep-current-directory-in-path): New var (Bug#7454).
792
793 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
794
795 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
796 Prompt user before actually printing.
797
798 2010-11-27 Glenn Morris <rgm@gnu.org>
799
800 * startup.el (package-enable-at-startup, package-initialize):
801 Remove unnecessary declarations.
802
803 2010-11-27 Eli Zaretskii <eliz@gnu.org>
804
805 * international/characters.el (glyphless-char-display-control):
806 Exclude newline and TAB from the c0-control group.
807
808 2010-11-27 Glenn Morris <rgm@gnu.org>
809
810 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
811 (expand-mail-aliases): Remove unnecessary autoload.
812
813 * allout.el (allout-command-prefix, allout-mode-map): Declare.
814
815 * shell.el (shell-dir-cookie-re): Move definition before use.
816
817 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
818 Replace undefined CL functions.
819
820 2010-11-26 Eli Zaretskii <eliz@gnu.org>
821
822 * simple.el (prog-mode): Set bidi-paragraph-direction to
823 left-to-right.
824
825 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
826
827 2010-11-26 Glenn Morris <rgm@gnu.org>
828
829 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
830 diary-outlook-formats can be sensitive to calendar-date-style.
831 (diary-outlook-formats): Simplify the default setting.
832 (diary-from-outlook-internal): Pass subject and body as arguments.
833 Use dolist rather than dotimes. Don't save the diary buffer.
834 (diary-from-outlook-gnus, diary-from-outlook-rmail):
835 Pass subject and body as explicit arguments to the -internal function.
836
837 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
838
839 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
840 parsing them. This makes mailto:...?subject=foo\nbar work.
841
842 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
843
844 * vc/diff.el (diff): Fix last change.
845
846 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
847
848 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
849 (pcase--dontcare-upats): New var.
850 (pcase-let, pcase-let*): Generate better code.
851 Accept the same bodies as `let'.
852 (pcase-dolist): New macro.
853 (pcase--trivial-upat-p): New helper function.
854 (pcase--expand): Strip leading "(let nil" if any.
855
856 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
857
858 * mail/mailclient.el (browse-url): Require.
859 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
860 use the external browser function to send the mail (bug#7469).
861
862 * net/browse-url.el (browse-url-browser-function): Revert the
863 default back to the previous value, since the new value broke
864 mailclient.el.
865 (browse-url-mailto-function): New variable for mailto: URLs.
866 (browse-url): Use the new variable for mailto: URLs.
867
868 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
869
870 * eshell/esh-cmd.el (eshell-parse-command):
871 * eshell/esh-arg.el (eshell-parse-arguments):
872 * eshell/em-script.el (eshell-source-file):
873 Use with-silent-modifications.
874
875 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
876
877 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
878 for a merge location.
879
880 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
881 (vc-bzr-merge-branch): Always prompt.
882 (vc-bzr-async-command): Use the full branch filename.
883
884 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
885
886 * shell.el (shell): Use current-buffer by default if it's already
887 a shell mode buffer and its process is dead.
888 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
889
890 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
891
892 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
893 Mention that the keywords should be comma separated.
894
895 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
896
897 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
898 Accept optional prefix arg meaning to prompt for a command.
899 (vc-update): Use vc-BACKEND-pull if available. Accept optional
900 prefix arg meaning to prompt for a command.
901 (vc-pull): Alias for vc-update.
902
903 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
904 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
905 (vc-bzr-merge-branch): New functions, implementing merge-branch
906 and pull operations.
907
908 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
909
910 * Makefile.in: Fix up last merge.
911
912 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
913 (diff-sentinel): Get them as arguments instead.
914 (diff-old-file, diff-new-file, diff-extra-args): Remove.
915 (diff-file-local-copy, diff-better-file-name): New funs.
916 (diff-no-select): Rename from diff-into-buffer.
917 Support buffers additionally to files. Move `buf' arg. Don't display buf.
918 Prefer closures to buffer-local variables.
919 (diff): Adjust accordingly.
920 (diff-buffer-with-file): Move from files.el.
921 * files.el (diff-buffer-with-file): Move to vc/diff.el.
922 (diff-buffer-internal): Remove.
923 (diff-buffer-buffer): Remove.
924 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
925 the buffer name used, and so as not to mess up windows and frames.
926
927 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
928
929 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
930 (diff-buffer-internal): New function extracted from diff-buffer-with-file
931 (diff-buffer-with-file): Use it.
932 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
933 (diff): Use it.
934
935 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
936
937 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
938 \ref's or \pageref's value as default instead of initial input.
939
940 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
941
942 * files.el (backup-by-copying-when-mismatch): The default value is
943 now t.
944
945 * startup.el (normal-top-level):
946 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
947 `backup-by-copying-when-mismatch'.
948
949 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
950
951 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
952
953 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
954
955 * progmodes/python.el (python-font-lock-keywords):
956 Highlight top-level augmented assignments (Bug#6445).
957
958 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
959
960 * term/ns-win.el (ns-right-control-modifier)
961 (ns-right-command-modifier): Defvar them.
962
963 * cus-start.el (all): Add ns-right-control-modifier and
964 ns-right-command-modifier (Bug#7458).
965
966 2010-11-20 Glenn Morris <rgm@gnu.org>
967
968 * emacs-lisp/authors.el (authors-ignored-files)
969 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
970
971 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
972
973 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
974 (report-emacs-bug-parse-query-results)
975 (report-emacs-bug-create-existing-bugs-buffer): Pass through
976 keywords used for querying the bug database to show them in the
977 existing bugs buffer.
978
979 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
980
981 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
982
983 * info.el (info-tool-bar-map): Add some :vert-only keywords.
984
985 2010-11-20 Eli Zaretskii <eliz@gnu.org>
986
987 * international/characters.el (glyphless-char-display-control):
988 Make it a defcustom, with update-glyphless-char-display as its
989 :set attribute.
990 (top level): Don't call update-glyphless-char-display.
991
992 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
993
994 Sync with Tramp 2.2.0.
995
996 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
997 `file-remote-p' (due to compatibility).
998
999 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
1000 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
1001
1002 * net/trampver.el: Update release number.
1003
1004 2010-11-20 Eli Zaretskii <eliz@gnu.org>
1005
1006 * faces.el (glyphless-char): Define value for `pc'.
1007
1008 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
1009
1010 Implemented a bug querying mechanism.
1011 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
1012 (report-emacs-bug-create-existing-bugs-buffer)
1013 (report-emacs-bug-parse-query-results)
1014 (report-emacs-bug-query-existing-bugs): New functions.
1015
1016 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
1017
1018 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
1019 a \ref{} or \pageref{} macro, then use its value as initial input.
1020
1021 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
1022
1023 * calc/calc-units.el (math-build-units-table-buffer):
1024 calc/README: Mention that the TeX specific units won't use the
1025 `tex' prefix in TeX mode.
1026 calc/calc-lang.el (math-variable-table): Don't use the `tex'
1027 prefix for units in TeX mode.
1028
1029 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1030
1031 * simple.el (kill-new, kill-append, kill-region):
1032 * comint.el (comint-kill-region): Make the yank-handler argument
1033 obsolete.
1034
1035 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1036
1037 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
1038 that are both openers (resp. closers) and something else.
1039 (smie-grammar): Loosen definition of valid values.
1040 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
1041 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
1042 (smie-indent-after-keyword): Adjust users.
1043 (smie-indent-keyword): Don't indent empty lines.
1044
1045 * vc-hg.el (vc-hg-program): New var.
1046 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
1047 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
1048
1049 2010-11-18 Glenn Morris <rgm@gnu.org>
1050
1051 * emacs-lisp/autoload.el (autoload-find-destination): The function
1052 coding-system-eol-type may return non-numeric values. (Bug#7414)
1053
1054 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
1055
1056 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
1057
1058 2010-11-18 Eli Zaretskii <eliz@gnu.org>
1059
1060 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
1061
1062 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
1063
1064 * textmodes/picture.el (picture-mouse-set-point): Don't use
1065 posn-col-row; explicitly compute the motion based on the posn at
1066 the window-start (Bug#7390).
1067
1068 2010-11-18 Glenn Morris <rgm@gnu.org>
1069
1070 * novice.el (disabled-command-function):
1071 Fix 2009-11-15 change. (Bug#7384)
1072
1073 2010-11-18 Glenn Morris <rgm@gnu.org>
1074
1075 * calendar/calendar.el (diary-iso-date-forms): Make elements
1076 mutually exclusive. (Bug#7377)
1077
1078 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1079
1080 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
1081 when filling the remaining "unconstrained" values.
1082
1083 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1084
1085 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
1086 safety predicate.
1087
1088 * files.el (safe-local-variable-p): Gracefully handle errors.
1089
1090 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
1091 Use smie-indent-virtual when indenting relative to an opener.
1092 (smie-rule-separator): Use smie-rule-parent.
1093 (smie-indent-keyword): Consult rules, even for openers at bol.
1094 (smie-indent-comment-close): Try to align closer's content.
1095
1096 2010-11-18 Glenn Morris <rgm@gnu.org>
1097
1098 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
1099
1100 2010-11-18 Glenn Morris <rgm@gnu.org>
1101
1102 * printing.el (pr-menu-bind): Doc fix.
1103
1104 * speedbar.el (speedbar-toggle-images): Doc fix.
1105
1106 * progmodes/python.el (python-shell): Doc fix.
1107
1108 * wid-edit.el (widget-field-use-before-change)
1109 (widget-use-overlay-change): Doc fixes.
1110
1111 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1112
1113 Minor cleanup to improve style.
1114 * textmodes/rst.el (rst-update-section): Use point-marker.
1115 (rst-get-decoration): Eliminate unneeded assignment.
1116 (rst-promote-region, rst-straighten-decorations)
1117 (rst-section-tree, rst-adjust): Use point-marker.
1118 (rst-toc-mode-mouse-goto): Avoid setq.
1119 (rst-shift-region-guts, rst-shift-region-left)
1120 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
1121 (rst-convert-bullets-to-enumeration): Use copy-marker.
1122
1123 * minibuffer.el (completion-fail-discreetly): New var.
1124 (completion--do-completion): Use it.
1125
1126 * electric.el (electric-pair-pairs): New var.
1127 (electric-pair-post-self-insert-function): Use it.
1128 (electric-layout-post-self-insert-function): Don't insert a before
1129 newline unless it's actually needed.
1130
1131 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1132
1133 * progmodes/python.el (run-python): Explain why we remove the current
1134 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
1135
1136 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
1137
1138 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
1139
1140 * progmodes/octave-mod.el: Rely on elecric-*-modes.
1141 (octave-mode-map): Don't bind ;, SPC, and LF.
1142 (octave-auto-indent, octave-auto-newline): Remove.
1143 (electric-layout-rules): Declare.
1144 (octave-mode): Set electric-layout-rules.
1145 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
1146 (octave-reindent-then-newline-and-indent, octave-electric-semi)
1147 (octave-electric-space): Remove.
1148
1149 * electric.el (electric-layout-mode): New minor mode.
1150 (electric--after-char-pos): New function.
1151 (electric-indent-post-self-insert-function): Use it.
1152 (electric-layout-rules): New var.
1153 (electric-layout-post-self-insert-function): New function.
1154 (electric-indent-mode): Make them interact better.
1155
1156 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1157
1158 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
1159 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
1160 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
1161
1162 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
1163
1164 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
1165 Make sure to check inside the word (Bug#6761).
1166
1167 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
1168
1169 * startup.el (command-line): If the cursorColor resource is set,
1170 change the cursor face-spec (Bug#7392).
1171
1172 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
1173
1174 The main features of the following allout.el changes are:
1175 - implement user customization for the allout key bindings
1176 - add a customization control by which the user can inhibit use of
1177 a trailing Ctrl-H, so by default it's reserved for use with
1178 describe-prefix-bindings
1179 - adapt to new version of called-interactively-p, while
1180 maintaining backwards compatibility with old version
1181 - fix hotspot navigation so i works properly with meta-modified keys
1182
1183 * allout.el (allout-keybindings, allout-bind-keys)
1184 (allout-keybindings-binding, allout-prefixed-keybindings)
1185 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
1186 (allout-keybindings-list, allout-mode-map-adjustments)
1187 (allout-setup-mode-map): Establish allout-mode keymaps as user
1188 customizable settings, and also establish a customizable setting which
1189 regulates whether or not a trailing control-h is reserved for use with
1190 describe-prefix-bindings - and inhibit it by default, so that control-h
1191 *is* reserved for describe-prefix-bindings unless the user changes it.
1192
1193 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
1194 and accurately between modified and unmodified events, and handle
1195 modified events more comprehensively.
1196
1197 * allout.el (allout-substring-no-properties):
1198 Alias to use or provide version of `substring-no-properties'.
1199 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
1200
1201 * allout.el (allout-next-single-char-property-change):
1202 Alias to use or provide version of `next-single-char-property-change'.
1203 (allout-annotate-hidden, allout-hide-by-annotation):
1204 Use `allout-next-single-char-property-change'.
1205
1206 * allout.el (allout-select-safe-coding-system):
1207 Alias to use or provide version of `select-safe-coding-system'.
1208 (allout-toggle-subtree-encryption):
1209 Use `allout-select-safe-coding-system'.
1210
1211 * allout.el (allout-set-buffer-multibyte):
1212 Alias to use or provide version of `set-buffer-multibyte'.
1213 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
1214
1215 * allout.el (allout-called-interactively-p): Macro for using the
1216 different versions of called-interactively-p identically, depending on
1217 the subroutine's argument signature.
1218 (allout-back-to-current-heading, allout-beginning-of-current-entry):
1219 Use `(interactive "p")' instead of `(called-interactively-p)'.
1220
1221 * allout.el (allout-init, allout-ascend, allout-end-of-level)
1222 (allout-previous-visible-heading, allout-forward-current-level)
1223 (allout-backward-current-level, allout-show-children):
1224 Use `allout-called-interactively-p' instead of `called-interactively-p'.
1225
1226 * allout.el (allout-before-change-handler):
1227 Exempt edits to the (overlaid) character after the allout outline
1228 bullet from edit confirmation prompt.
1229
1230 * allout.el (allout-add-resumptions):
1231 Ensure that it respects correct buffer for keybindings.
1232
1233 * allout.el (allout-beginning-of-line):
1234 Use `allout-previous-single-char-property-change' alias for the sake of
1235 diverse compatibility.
1236
1237 * allout.el (allout-end-of-line):
1238 Use `allout-mark-active-p' to encapsulate respect for mark activity.
1239
1240 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
1241
1242 * frame.el (frame-notice-user-settings): Don't clobber other
1243 user-set parameters when calling face-set-after-frame-default in
1244 response to background-color parameter (Bug#7373).
1245
1246 2010-11-13 Eli Zaretskii <eliz@gnu.org>
1247
1248 * international/characters.el (glyphless-char-display-control):
1249 Rename from glyphless-char-control; all users changed. Doc fix.
1250 Signal an error if display method is not one of the recognized
1251 symbols.
1252
1253 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
1254
1255 * net/tramp-compat.el (tramp-compat-line-beginning-position)
1256 (tramp-compat-line-end-position): Remove them.
1257
1258 * net/tramp.el (tramp-parse-rhosts-group)
1259 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
1260 (tramp-parse-hosts-group, tramp-parse-passwd-group)
1261 (tramp-parse-netrc-group, tramp-parse-putty-group)
1262 * net/tramp-cmds.el (tramp-append-tramp-buffers)
1263 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
1264 (tramp-sh-handle-file-selinux-context)
1265 (tramp-sh-handle-file-name-all-completions)
1266 (tramp-sh-handle-insert-directory)
1267 (tramp-sh-handle-expand-file-name, tramp-find-executable)
1268 (tramp-wait-for-output, tramp-send-command-and-read)
1269 * net/tramp-smb.el (tramp-smb-read-file-entry)
1270 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
1271
1272 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
1273 `point-at-bol'.
1274 (tramp-remote-coding-commands): Add an alternative using "base64
1275 -d -i". This is needed for older base64 versions from GNU
1276 coreutils. Reported by Klaus Reichl
1277 <Klaus.Reichl@thalesgroup.com>.
1278
1279 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
1280
1281 * simple.el (count-words-region): New function.
1282
1283 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
1284
1285 * shell.el (shell-dir-cookie-re): New custom variable.
1286 (shell-dir-cookie-watcher): New function.
1287
1288 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
1289 and compilation-mode (bug#7350).
1290
1291 * vc/smerge-mode.el (smerge-refine): Choose better default part to
1292 highlight when one of them is empty.
1293
1294 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
1295 trailing space.
1296 (skeleton-newline): New function.
1297 (skeleton-internal-1): Use it.
1298
1299 * simple.el (open-line): `newline' may strip trailing space.
1300
1301 2010-11-12 Kevin Ryde <user42@zip.com.au>
1302
1303 * international/mule-cmds.el (princ-list): Use mapc.
1304
1305 2010-11-12 Glenn Morris <rgm@gnu.org>
1306
1307 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
1308 Use it to replace all instances of "*Compile-Log*"
1309
1310 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
1311
1312 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
1313 indentation specs.
1314
1315 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1316
1317 * progmodes/modula2.el: Use SMIE and skeleton.
1318 (m2-mode-syntax-table): (*..*) can be nested.
1319 Add //...\n. Fix paren syntax.
1320 (m2-mode-map): Remove LF and TAB bindings.
1321 (m2-indent): Add safety property.
1322 (m2-smie-grammar): New var.
1323 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
1324 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
1325 (m2-mode): Use define-derived-mode.
1326 (m2-newline, m2-tab): Remove.
1327 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
1328 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
1329 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
1330 (m2-import): Use define-skeleton.
1331
1332 2010-11-11 Glenn Morris <rgm@gnu.org>
1333
1334 * obsolete/lucid.el: Don't warn about any CL functions in this file.
1335
1336 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
1337 (ls-lisp-verbosity): Add custom :set-after property.
1338 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
1339 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
1340 (ls-lisp-insert-directory): Update caller.
1341 (ls-lisp-set-options): New function.
1342 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
1343 Doc fix.
1344
1345 * play/landmark.el (lm-prompt-for-move):
1346 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
1347
1348 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
1349
1350 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
1351 (idlwave-study-twins): Prefix dynamic local variable `name'.
1352 (idlwave-routine-twin-compare): Update for above change.
1353
1354 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
1355 Prefix dynamic local variables `name', `kwd', and `link'.
1356 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
1357 * progmodes/idlw-complete-structtag.el
1358 (idlwave-complete-structure-tag-help):
1359 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
1360 (idlwave-complete-sysvar-tag-help)
1361 (idlwave-complete-class-structure-tag-help):
1362 Update for above name changes.
1363
1364 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1365
1366 * net/browse-url.el (browse-url-browser-function): Change the
1367 default to use `browse-url-mail' on mailto: URLs.
1368
1369 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
1370
1371 * emacs-lisp/package.el (package-read-all-archive-contents):
1372 Reset package-archive-contents to nil before re-reading.
1373
1374 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
1375
1376 * textmodes/flyspell.el (flyspell-word): Do not re-check words
1377 already found as misspellings by (flyspell-large-region), just
1378 do highlighting (bug#7322).
1379
1380 2010-11-10 Glenn Morris <rgm@gnu.org>
1381
1382 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
1383
1384 * emulation/edt.el (edt-with-position): New macro.
1385 (edt-find-forward, edt-find-backward, edt-find-next-forward)
1386 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
1387 (edt-paragraph-forward, edt-paragraph-backward): Use it.
1388
1389 * emulation/tpu-extras.el (tpu-with-position): New macro.
1390 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
1391
1392 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
1393
1394 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
1395 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
1396 (texinfo-master-menu, texinfo-insert-node-lines)
1397 (texinfo-multiple-files-update):
1398 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
1399 Use line-beginning-position.
1400
1401 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
1402 No recent Emacs supports system-type `emx'.
1403
1404 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
1405 (ada-command-separator, ada-default-prj-properties)
1406 (ada-find-any-references): Update for above name change.
1407
1408 * dirtrack.el (dirtrack-directory-function)
1409 (dirtrack-canonicalize-function):
1410 * filecache.el (file-cache-completion-ignore-case)
1411 (file-cache-case-fold-search, file-cache-ignore-case):
1412 * term.el (serial-port-is-file-p): Cosmetic change.
1413
1414 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
1415 Remove non-existent `windows-95' system-type.
1416 * dired.el (dired-chown-program): Remove non-existent `linux'
1417 system-type.
1418
1419 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
1420 (ping-program-options): Remove non-existent `linux' system-type.
1421
1422 * startup.el (package-initialize): Update declaration.
1423
1424 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
1425 (ls-lisp-handle-switches): Use time-less-p.
1426 (ls-lisp-format-time): Use float-time.
1427
1428 * textmodes/remember.el (remember-time-to-seconds): Remove.
1429 (remember-store-in-mailbox): Use float-time.
1430
1431 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
1432
1433 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
1434 never a real function.
1435 (with-no-warnings): Remove compat stub, now unused.
1436 (time-less-p): Doc fix.
1437 (time-to-number-of-days): Simplify.
1438
1439 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
1440 Remove.
1441 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
1442 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
1443 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
1444 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
1445 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
1446
1447 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
1448 (eshell-shuffle-files, eshell-shorthand-tar-command)
1449 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
1450 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
1451 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
1452 Prefix dynamic local variable `matches'.
1453
1454 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
1455 Prefix dynamic local variable `skeleton'.
1456
1457 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
1458
1459 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
1460 in mail buffer; make yank-action always a command that yanks original
1461 buffer.
1462
1463 2010-11-09 Glenn Morris <rgm@gnu.org>
1464
1465 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
1466
1467 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1468
1469 * minibuffer.el (minibuffer-completion-help): Specify the end of the
1470 completion field (bug#7211).
1471
1472 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
1473 Fix handling of backslash escapes.
1474 (python-quote-syntax): Adjust accordingly.
1475
1476 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
1477
1478 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
1479 (vc-mtn-workfile-branch): Adjust to new output format.
1480
1481 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1482
1483 * international/mule-cmds.el (princ-list): Mark as obsolete.
1484
1485 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1486
1487 * emacs-lisp/smie.el: New package.
1488
1489 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
1490
1491 * files.el (backup-by-copying-when-mismatch):
1492 Set `permanent-local' property.
1493
1494 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
1495 `permanent-local' property for `backup-by-copying-when-mismatch'.
1496
1497 2010-11-09 Eli Zaretskii <eliz@gnu.org>
1498
1499 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
1500
1501 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
1502
1503 * progmodes/verilog-mode.el (verilog-insert-one-definition)
1504 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
1505 AUTOINOUT for SV style multidimensional arrays, bug294.
1506 Reported by Eric Mastromarchi.
1507 (verilog-preprocess): Use with-current-buffer and
1508 font-lock-fontify-buffer to cleanup style issues.
1509
1510 2010-11-09 Glenn Morris <rgm@gnu.org>
1511
1512 * locate.el (locate, locate-mode): Doc fixes.
1513
1514 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
1515
1516 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
1517 user for confirmation.
1518 (server-force-stop): Use it.
1519 (server-start): Use server-force-stop for kill-emacs-hook, to
1520 avoid user interaction while killing Emacs.
1521
1522 2010-11-09 Glenn Morris <rgm@gnu.org>
1523
1524 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
1525 (meta-indent-line): Simplify.
1526
1527 * vc/emerge.el (emerge-line-number-in-buf):
1528 * textmodes/ispell.el (ispell-region):
1529 * textmodes/fill.el (current-fill-column):
1530 * progmodes/xscheme.el (xscheme-send-current-line):
1531 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
1532 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
1533 * progmodes/sh-script.el (sh-handle-prev-do):
1534 * progmodes/meta-mode.el (meta-indent-line):
1535 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
1536 (idlwave-in-quote):
1537 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
1538 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
1539 * progmodes/fortran.el (fortran-looking-at-if-then):
1540 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
1541 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
1542 (cperl-find-pods-heres):
1543 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
1544 * net/quickurl.el (quickurl-list-insert):
1545 * net/ldap.el (ldap-search-internal):
1546 * net/eudc.el (eudc-expand-inline):
1547 * mail/sendmail.el (sendmail-send-it):
1548 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
1549 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
1550 (viper-brac-function):
1551 * calc/calc-yank.el (calc-do-grab-region):
1552 * calc/calc-keypd.el (calc-keypad-press):
1553 * term.el (term-move-columns, term-insert-spaces):
1554 * speedbar.el (speedbar-highlight-one-tag-line):
1555 * simple.el (current-word):
1556 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
1557 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
1558 (Info-scroll-down):
1559 * hippie-exp.el (he-line-beg):
1560 * epa.el (epa--marked-keys):
1561 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
1562 (dired-update-file-line, dired-add-entry, dired-remove-entry)
1563 (dired-relist-entry):
1564 * buff-menu.el (Buffer-menu-buffer):
1565 * array.el (current-line):
1566 * allout.el (allout-resolve-xref)
1567 (allout-latex-verbatim-quote-curr-line):
1568 Replace yet more uses of end-of-line etc with line-end-position, etc.
1569
1570 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1571
1572 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
1573 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
1574 (checkdoc-syntax-table): Initialize in the declaration.
1575 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
1576 the mode on unconditionally.
1577
1578 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
1579 (extent-end-position, extent-start-position): Remove setf method for
1580 non-existing functions (bug#7319).
1581
1582 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1583
1584 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
1585 (smie-precs->prec2): Rename from smie-precs-precedence-table.
1586 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
1587 (smie-prec2->grammar): Rename from smie-prec2-levels.
1588 (smie-grammar): Rename from smie-op-levels.
1589 (smie-indent--hanging-p): Rename from smie-hanging-p.
1590 (smie-rule-hanging-p): New alias.
1591 (smie-indent--bolp): Rename from smie-bolp.
1592 (smie-indent--hanging-p): New alias.
1593 (smie--token): New dynamically bound variable.
1594 (smie-indent--parent): New function.
1595 (smie-rule-parent-p): Use it; rename from smie-parent-p.
1596 (smie-rule-next-p): Rename from smie-next-p.
1597 (smie-rule-prev-p): Rename from smie-prev-p.
1598 (smie-rule-sibling-p, smie-rule-parent)
1599 (smie-indent--separator-outdent, smie-rule-separator): New functions.
1600 (smie-rule-separator-outdent): New var.
1601 (smie-indent--rule): Merge with smie-indent--column.
1602 (smie-indent-forward-token, smie-indent-backward-token):
1603 Also recognize close parens.
1604 (smie-indent-keyword): Don't use smie-indent--column any more.
1605 (smie-indent-after-keyword): Ignore closers by default.
1606 (smie-indent-line): Use with-demoted-errors.
1607 * progmodes/octave-mod.el (octave-smie-grammar):
1608 Rename from octave-smie-op-levels.
1609 (octave-smie-rules): Adjust to new behavior.
1610 * progmodes/prolog.el (prolog-smie-grammar):
1611 Rename from prolog-smie-op-levels.
1612
1613 2010-11-07 Glenn Morris <rgm@gnu.org>
1614
1615 * eshell/esh-util.el (subst-char-in-string)
1616 (directory-files-and-attributes): These compatibility definitions are
1617 not needed on any version of Emacs since at least 21.4.
1618
1619 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
1620 (verilog-get-end-of-line): Remove.
1621 (verilog-within-string, verilog-re-search-forward-substr)
1622 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
1623 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
1624 Use point-at-bol, point-at-eol.
1625 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
1626 Remove.
1627 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
1628 (electric-pascal-terminate-line, pascal-set-auto-comments)
1629 (pascal-indent-paramlist, pascal-indent-declaration)
1630 (pascal-get-lineup-indent, pascal-func-completion)
1631 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
1632 Use point-at-bol, point-at-eol.
1633 * progmodes/flymake.el (flymake-line-beginning-position)
1634 (flymake-line-end-position): Remove.
1635 (flymake-highlight-line): Use point-at-bol, point-at-eol.
1636 * eshell/esh-util.el (line-end-position, line-beginning-position):
1637 Remove compat definitions.
1638
1639 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
1640 Use end-of-line N.
1641 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
1642 Use line-end-position.
1643
1644 * emacs-lisp/chart.el (chart-zap-chars):
1645 * play/decipher.el (decipher-set-map):
1646 * progmodes/ada-mode.el (ada-get-current-indent)
1647 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
1648 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
1649 * progmodes/ada-xref.el (ada-initialize-runtime-library)
1650 (ada-get-all-references):
1651 * progmodes/cperl-mode.el (cperl-electric-paren)
1652 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
1653 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
1654 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
1655 (cperl-word-at-point-hard):
1656 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
1657 (idlwave-shell-filename-string, idlwave-shell-batch-command)
1658 (idlwave-shell-display-line):
1659 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
1660 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
1661 * progmodes/js.el (js--re-search-forward-inner)
1662 (js--re-search-backward-inner):
1663 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
1664 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
1665 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
1666 * textmodes/flyspell.el (flyspell-process-localwords):
1667 * textmodes/ispell.el (ispell-buffer-local-parsing)
1668 (ispell-buffer-local-dict, ispell-buffer-local-words):
1669 Use point-at-bol and point-at-eol.
1670
1671 * speedbar.el (speedbar-generic-item-info)
1672 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
1673 (speedbar-add-indicator, speedbar-check-vc-this-line)
1674 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
1675 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
1676 Replace more uses of end-of-line etc with line-end-position.
1677
1678 2010-11-06 Glenn Morris <rgm@gnu.org>
1679
1680 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
1681 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
1682 (texinfo-delete-existing-pointers, texinfo-find-pointer)
1683 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
1684 (texinfo-multiple-files-update):
1685 * textmodes/table.el (table--probe-cell-left-up)
1686 (table--probe-cell-right-bottom):
1687 * textmodes/picture.el (picture-tab-search):
1688 * textmodes/page-ext.el (pages-copy-header-and-position)
1689 (pages-directory-for-addresses):
1690 * progmodes/vera-mode.el (vera-get-offset):
1691 * progmodes/simula.el (simula-calculate-indent):
1692 * progmodes/python.el (python-pdbtrack-overlay-arrow):
1693 * progmodes/prolog.el (end-of-prolog-clause):
1694 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
1695 * progmodes/icon.el (indent-icon-exp):
1696 * progmodes/etags.el (tag-re-match-p):
1697 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
1698 * progmodes/ebnf2ps.el (ebnf-begin-file):
1699 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
1700 (dcl-save-local-variable):
1701 * play/life.el (life-setup):
1702 * play/gametree.el (gametree-looking-at-ply):
1703 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
1704 * mail/sendmail.el (mail-mode-auto-fill):
1705 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
1706 * emacs-lisp/edebug.el (edebug-overlay-arrow):
1707 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
1708 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
1709 (woman-tab-to-tab-stop, WoMan-warn-ignored):
1710 * type-break.el (type-break-file-keystroke-count):
1711 * term.el (term-replace-by-expanded-history-before-point)
1712 (term-skip-prompt, term-extract-string):
1713 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
1714 (speedbar-contract-line, speedbar-toggle-line-expansion)
1715 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
1716 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
1717 * sort.el (sort-skip-fields):
1718 * skeleton.el (skeleton-internal-list):
1719 * simple.el (line-move-finish, line-move-to-column):
1720 * shell.el (shell-forward-command):
1721 * misc.el (copy-from-above-command):
1722 * makesum.el (double-column):
1723 * ebuff-menu.el (electric-buffer-update-highlight):
1724 * dired.el (dired-move-to-end-of-filename):
1725 * dframe.el (dframe-popup-kludge):
1726 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
1727 * arc-mode.el (archive-get-lineno):
1728 Use line-end-position and line-beginning-position.
1729
1730 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
1731 (idlwave-study-twins): Prefix dynamic local `class'.
1732 (idlwave-routine-twin-compare): Update for above name change.
1733
1734 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
1735 Use boundp tests to silence compiler. Update for changed name of
1736 bytecomp-filename variable.
1737
1738 * emulation/viper-cmd.el (viper-read-string-with-history):
1739 Prefix dynamic local `initial'.
1740 (viper-minibuffer-standard-hook): Update for above name change.
1741
1742 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
1743 (elint-init-form): Update for above name change.
1744
1745 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
1746 local variables `cbeg' and `cend' a prefix.
1747 (mail-extr-voodoo): Update for above name change.
1748
1749 * textmodes/reftex-toc.el (reftex-toc-do-promote)
1750 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
1751 (reftex-toc-promote-action): Doc fix.
1752
1753 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
1754 `prompt', `data' a prefix.
1755 (reftex-select-post-command-hook, reftex-select-callback)
1756 (reftex-select-mouse-accept, reftex-select-read-cite):
1757 Update for above name changes.
1758
1759 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
1760 `refstyle' to reftex-refstyle.
1761 (reftex-offer-label-menu): Update for above name change.
1762 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
1763 `refstyle' name change.
1764
1765 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
1766 with with-current-buffer.
1767 (diff, template): Give dynamic local variables a prefix.
1768 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
1769 (emerge-line-number-in-buf): Update for above name change.
1770 (emerge-combine-versions-internal): Rename local `template' to
1771 emerge-combine-template.
1772 (emerge-combine-versions-edit): Update for above name change.
1773
1774 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
1775
1776 * textmodes/reftex-cite.el
1777 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
1778 entries with whitespace after \bibitem.
1779 (reftex-create-bibtex-file): Match entries containing numbers and
1780 symbol constituents. Make sure that entries with whitespace at
1781 various places are found.
1782
1783 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
1784
1785 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
1786
1787 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
1788
1789 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
1790
1791 2010-11-05 Glenn Morris <rgm@gnu.org>
1792
1793 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
1794 (woman2-roff-buffer): Give local variable `request' a prefix.
1795 (woman0-macro): Rename argument `request' in the same way.
1796 (woman-request): New name for `request' dynamic variable.
1797 (woman-unquote, woman-forward-arg): Update for above name change.
1798 (woman1-roff-buffer): Give local variable `unquote' a prefix.
1799 (woman1-unquote): New name for `unquote' dynamic variable.
1800 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
1801 (woman-translations): Rename from `translations'. No longer global.
1802 (woman2-tr, woman-translate): Update for above name change.
1803 (woman-translate): Check for bound variable.
1804 (woman2-roff-buffer): Give local variable `translations' a prefix.
1805
1806 * play/doctor.el: Give all local variables a prefix. Update callers.
1807 (doc$, doctor-put-meaning): Use backquote.
1808
1809 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
1810 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
1811
1812 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
1813 variables bytes, ptr, op a prefix.
1814 (disassemble-offset): Update for above change.
1815
1816 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
1817
1818 * emacs-lisp/package.el (package-unpack): Remove no-op.
1819 (package--builtins, package--dir): Doc fix.
1820 (package-activate-1, package-activate, package-install)
1821 (package-compute-transaction): Fix error message.
1822 (package-delete): Use delete-directory. Omit system packages.
1823 (package-initialize): Set package-alist to nil first.
1824 (package-menu-mark-delete, package-menu-mark-install): Don't add
1825 symbols that are inconsistent with the package state.
1826 (package-menu-execute): Perform deletions and installations as
1827 single batch operations.
1828
1829 2010-11-03 Glenn Morris <rgm@gnu.org>
1830
1831 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
1832 (props): Remove unnecessary declaration.
1833
1834 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
1835 set-process-query-on-exit-flag.
1836
1837 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
1838 (reftex-toc-do-promote): Remove unused local `mpos'.
1839 (reftex-toc-restore-region): Make `mpos' local to this function.
1840
1841 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
1842
1843 * play/landmark.el (lm-losing-threshold): Correct spelling.
1844 (lm-human-plays): Use new name.
1845
1846 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
1847 (gomoku-human-plays): Use new name.
1848
1849 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
1850 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
1851 (gomoku-score-trans-table, gomoku-winning-threshold)
1852 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
1853
1854 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
1855
1856 * emacs-lisp/package.el: Don't put built-in packages in
1857 package-alist, to avoid loading inefficiencies.
1858 (package-built-in-p): Make VERSION optional, and treat it as a
1859 minimum acceptable version.
1860 (package-activate): Search separately for built-in packages.
1861 Emit a warning if a dependency fails.
1862 (define-package): Handle most common case, where there is no
1863 obsolete package, first.
1864 (package-compute-transaction): Print required version in error.
1865 (package--initialized): New variable.
1866 (list-packages): Use it.
1867 (package-initialize): Optional arg NO-ACTIVATE. Don't put
1868 built-in packages in packages-alist; keep it separate.
1869 Set package--initialized.
1870 (describe-package): Avoid activating packages as a side-effect.
1871 Search separately for built-in packages.
1872 (describe-package-1): Handle the case where an elpa package is
1873 simultaneously built-in and available/installed.
1874 (package-installed-p, package--generate-package-list):
1875 Search separately for built-in packages.
1876 (package-load-descriptor): Doc fix.
1877
1878 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1879
1880 * progmodes/perl-mode.el (perl-syntax-propertize-function):
1881 Handle __DATA__ and __END__.
1882
1883 2010-11-02 Noah Friedman <friedman@splode.com>
1884
1885 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
1886 nil, do not ask to recompile files that are not already compiled,
1887 and do not recompile them.
1888
1889 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
1890
1891 * emacs-lisp/package.el (package-initialize): Ensure that
1892 obsoleted built-in packages are not in package-activated-list
1893 during activation.
1894 (describe-package-1): Make the "installed" status override
1895 "built-in".
1896
1897 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1898
1899 * subr.el (version-separator, version-regexp-alist): Remove '*'
1900 from docstring.
1901 (version-list-<=, version<=, version=): Doc fix.
1902
1903 2010-11-01 Kenichi Handa <handa@m17n.org>
1904
1905 * faces.el (glyphless-char): Inherit underline for tty.
1906
1907 2010-11-01 Kenichi Handa <handa@m17n.org>
1908
1909 Implement various display methods for glyphless characters.
1910
1911 * international/characters.el (char-acronym-table): New variable.
1912 (glyphless-char-control): New variable.
1913 (update-glyphless-char-display): New funciton.
1914
1915 * faces.el (glyphless-char): New face.
1916
1917 2010-11-01 Glenn Morris <rgm@gnu.org>
1918
1919 * calendar/holidays.el (general-holidays, oriental-holidays)
1920 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
1921 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
1922 the definitions of their targets.
1923
1924 * emacs-lisp/smie.el (smie): New custom group.
1925 (smie-blink-matching-inners, smie-indent-basic): Add :group.
1926
1927 * faces.el (xw-defined-colors, x-setup-function-keys):
1928 * mouse-sel.el (x-select-text):
1929 * term/w32console.el (x-setup-function-keys): Update declarations.
1930
1931 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
1932
1933 * textmodes/ispell.el (comment-add): Declare.
1934
1935 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
1936 Declare.
1937
1938 * info.el (finder-keywords-hash, package-alist): Declare.
1939
1940 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
1941
1942 * finder.el (finder-compile-keywords): Don't use intern-soft,
1943 since package names may not yet exist in the obarray.
1944
1945 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
1946
1947 * vc/vc-arch.el (vc-arch-checkin):
1948 * vc/vc-cvs.el (vc-cvs-checkin):
1949 * vc/vc-mtn.el (vc-mtn-checkin):
1950 * vc/vc-rcs.el (vc-rcs-checkin):
1951 * vc/vc-sccs.el (vc-sccs-checkin):
1952 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
1953 since 2010-04-21 commit by Stefan Monnier.
1954
1955 2010-11-01 Glenn Morris <rgm@gnu.org>
1956
1957 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
1958
1959 * startup.el (package-enable-at-startup, package-initialize):
1960 Silence compiler.
1961
1962 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
1963 Silence compiler.
1964
1965 2010-10-31 Julien Danjou <julien@danjou.info>
1966
1967 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
1968 (byte-recompile-directory):
1969 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
1970 Use `byte-recompile-file'.
1971
1972 2010-10-31 Glenn Morris <rgm@gnu.org>
1973
1974 * cus-start.el: Handle standard values via a keyword.
1975 Only set version property if specified.
1976 (cursor-in-non-selected-windows, menu-bar-mode)
1977 (tool-bar-mode, show-trailing-whitespace):
1978 Do not specify standard values.
1979 (transient-mark-mode, temporary-file-directory): Use :standard.
1980
1981 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
1982
1983 * term/x-win.el (x-get-selection-value): New function that gets
1984 PRIMARY with type as specified in x-select-request-type. (Bug#6802).
1985
1986 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
1987
1988 * net/tramp.el (tramp-handle-insert-file-contents): For root,
1989 preserve owner and group when editing files. (Bug#7289)
1990
1991 2010-10-31 Glenn Morris <rgm@gnu.org>
1992
1993 * speedbar.el (speedbar-mode):
1994 * play/fortune.el (fortune-in-buffer, fortune):
1995 * play/gomoku.el (gomoku-mode):
1996 * play/landmark.el (lm-mode):
1997 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
1998 Replace inappropriate uses of toggle-read-only. (Bug#7292)
1999
2000 * select.el (x-selection): Mark it as an obsolete alias.
2001
2002 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2003
2004 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
2005 major-mode (bug#7284).
2006
2007 2010-10-31 Glenn Morris <rgm@gnu.org>
2008
2009 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
2010 rather than just an unused variable that inherits from the real one.
2011
2012 2010-10-31 Alan Mackenzie <acm@muc.de>
2013
2014 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
2015 This fixes bug #7185.
2016
2017 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
2018
2019 * startup.el (command-line): Search for package directories, and
2020 don't load package.el if none are found.
2021
2022 * emacs-lisp/package.el (describe-package, list-packages):
2023 Call package-initialize if it has not been called yet.
2024
2025 2010-10-30 Alan Mackenzie <acm@muc.de>
2026
2027 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
2028 which fontifies the tail of an enum.
2029 (c-basic-matchers-after): Insert a call to the above new function.
2030 This fixes bug #7264.
2031
2032 2010-10-30 Glenn Morris <rgm@gnu.org>
2033
2034 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
2035 tool-bar-mode, transient-mark-mode. (Bug#7306)
2036 Include the :set property in the dumped Emacs.
2037
2038 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2039
2040 SMIE: change indent rules format, improve smie-setup.
2041 * emacs-lisp/smie.el (smie-precs-precedence-table)
2042 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
2043 Mark them pure so the tables gets built at compile time.
2044 (smie-bnf-precedence-table): Store the closer-alist in the table.
2045 (smie-prec2-levels): Preserve the closer-alist.
2046 (smie-blink-matching-open): Be more forgiving in case of indentation.
2047 (smie-hanging-p): Rename from smie-indent--hanging-p.
2048 (smie-bolp): Rename from smie-indent--bolp.
2049 (smie--parent, smie--after): New dynamic vars.
2050 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
2051 (smie-indent-rules): Remove.
2052 (smie-indent--offset-rule): Remove fun.
2053 (smie-rules-function): New var.
2054 (smie-indent--rule): New fun.
2055 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
2056 (smie-indent-exps): Use it.
2057 (smie-setup): Setup paren blinking; add keyword args for token
2058 functions; extract closer-alist from op-levels.
2059 (smie-indent-debug-log): Remove var.
2060 (smie-indent-debug): Remove fun.
2061 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
2062 (prolog-smie-rules): New fun to replace it.
2063 (prolog-mode-variables): Simplify.
2064 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
2065 it's setup automatically.
2066 (octave-smie-indent-rules): Remove.
2067 (octave-smie-rules): New fun to replace it.
2068 (octave-mode): Simplify.
2069
2070 2010-10-29 Glenn Morris <rgm@gnu.org>
2071
2072 * files.el (temporary-file-directory): Remove (already defined in C).
2073 * cus-start.el: Add temporary-file-directory.
2074
2075 * abbrev.el (abbrev-mode):
2076 * composite.el (auto-composition-mode):
2077 * menu-bar.el (menu-bar-mode):
2078 * simple.el (transient-mark-mode):
2079 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
2080 that they do not define the associated variables twice.
2081 * simple.el (transient-mark-mode): Remove defvar.
2082 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
2083 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
2084 Handle multiple groups, and also custom-delayed-init-variables.
2085 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
2086
2087 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2088
2089 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
2090 (pcase-if): Add one minor optimization.
2091 (pcase-split-equal): Rename from pcase-split-eq.
2092 (pcase-split-member): Rename from pcase-split-memq.
2093 (pcase-u1): Add strings to the member optimization.
2094 Add `guard' variant of predicates.
2095 (pcase-q1): Add string patterns.
2096
2097 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2098
2099 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
2100
2101 2010-10-28 Glenn Morris <rgm@gnu.org>
2102
2103 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
2104 Move menu-bar related settings to ../menu-bar.el.
2105 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
2106 Move ns-specific settings here from term/ns-win.el.
2107
2108 * simple.el (x-selection-owner-p): Remove unused declaration.
2109
2110 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2111
2112 * minibuffer.el (completion-cycling): New var (bug#7266).
2113 (minibuffer-complete, completion--do-completion):
2114 Use completion--flush-all-sorted-completions.
2115 (minibuffer-complete): Only cycle if completion-cycling is set.
2116 (completion--flush-all-sorted-completions): Unset completion-cycling.
2117 (minibuffer-force-complete): Set completion-cycling.
2118 (completion-all-sorted-completions): Move declaration before first use.
2119
2120 2010-10-28 Leo <sdl.web@gmail.com>
2121
2122 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
2123 which changes the order of matches seen by users (bug#7231).
2124
2125 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
2126
2127 * progmodes/compile.el (compilation-mode-font-lock-keywords):
2128 Don't confuse -omega as "-o mega".
2129
2130 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
2131
2132 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
2133 (log-edit-author): New dynamic var.
2134 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
2135 to return the author if different from committer.
2136 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
2137
2138 * play/landmark.el: Adjust commenting convention.
2139 (lm-nil-score): Rename from nil-score.
2140 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
2141 (OOOOscore): Move into a let in lm-score-trans-table.
2142 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
2143
2144 * electric.el (electric-indent-chars): Autoload.
2145 * progmodes/octave-mod.el (octave-mode):
2146 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
2147 (ruby-mode-abbrev-table): Merge initialization and declaration.
2148
2149 2010-10-27 Glenn Morris <rgm@gnu.org>
2150
2151 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
2152 variable.
2153
2154 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
2155
2156 * term/ns-win.el: Restore require of cl when compiling.
2157 (menu-bar-final-items): Remove non-existent `windows' menu.
2158 (ns-handle-nxopen): Optionally handle the temp-case.
2159 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
2160 (ns-insert-file, ns-find-file): Use `pop'.
2161
2162 2010-10-26 Glenn Morris <rgm@gnu.org>
2163
2164 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
2165
2166 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
2167
2168 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
2169 global map.
2170 * term/common-win.el (x-setup-function-keys): Remove most of the
2171 keymappings. Comment on the remaining ones.
2172
2173 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
2174
2175 * server.el (server-port): New option. (Bug#854)
2176 (server-start): Use server-port.
2177
2178 2010-10-26 Glenn Morris <rgm@gnu.org>
2179
2180 * term/ns-win.el (ns-version-string): Remove unused declaration.
2181 (ns-invocation-args): Change to x-invocation-args.
2182 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
2183 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
2184 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
2185 Use x-invocation-args instead of ns-invocation-args.
2186 (ns-initialize-window-system, handle-args-function-alist):
2187 Use x-handle-args instead of ns-handle-args.
2188 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
2189 * startup.el (command-line-ns-option-alist): Replace
2190 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
2191 ns-handle-iconic with the x- equivalents.
2192
2193 * term/common-win.el (x-select-enable-clipboard):
2194 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
2195
2196 * term/ns-win.el: No need to require cl when compiling.
2197 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
2198 (xw-defined-colors): Use the common-win definitions.
2199 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
2200 (ns-handle-iconic): Make it an alias for x-handle-iconic.
2201 * term/common-win.el (x-select-text, x-alternatives-map)
2202 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
2203 * loadup.el [ns]: Load common-win.
2204
2205 2010-10-26 Daiki Ueno <ueno@unixuser.org>
2206
2207 * epa-mail.el (epa-mail-encrypt): Handle local-part only
2208 recipients; expand mail aliases (Bug#7280).
2209
2210 2010-10-25 Glenn Morris <rgm@gnu.org>
2211
2212 * term/common-win.el (x-handle-switch): Simplify with pop.
2213 Optionally handle numeric switches.
2214 (x-handle-numeric-switch): Just call x-handle-switch.
2215 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
2216 (x-handle-name-switch, x-handle-display, x-handle-args):
2217 Simplify with pop.
2218
2219 * term/ns-win.el: Do not require easymenu.
2220 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
2221 <spell>: Move adjustments to menu-bar.el.
2222 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
2223 <separator-undo, spell>: Move ns-win's adjustments here.
2224 * loadup.el [ns]: Do not load easymenu.
2225
2226 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
2227
2228 * image.el (image-checkbox-checked, image-checkbox-unchecked):
2229 Delete (Bug#7222).
2230
2231 * startup.el (fancy-startup-tail): Instead of using inline images,
2232 refer to image files from etc/.
2233
2234 * wid-edit.el (checkbox): Likewise.
2235 (widget-image-find): Center image specs.
2236
2237 2010-10-24 Glenn Morris <rgm@gnu.org>
2238
2239 * term/ns-win.el (x-select-text): Doc fix.
2240 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
2241 (x-select-text): Move to term/common-win.
2242 * term/w32-win.el (xw-defined-colors): Move to common-win.
2243 * term/x-win.el (xw-defined-colors, x-alternatives-map)
2244 (x-setup-function-keys, x-select-text): Move to common-win.
2245 * term/common-win.el (x-select-text, x-alternatives-map)
2246 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
2247 definitions here.
2248
2249 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
2250
2251 * net/mairix.el (mairix-searches-mode-map):
2252 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
2253
2254 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
2255
2256 * verilog-mode.el (verilog-directive-re): Make this variable
2257 auto-built for efficiency of execution and updating.
2258 (verilog-extended-complete-re): Support 'pure' fucntion & task
2259 declarations (these have no bodies).
2260 (verilog-beg-of-statement): General cleanup to enable support of
2261 'pure' fucntion & task declarations (these have no bodies).
2262 These efforts together fix Verilog bug210 from veripool; which was also
2263 noticed by Steve Pearlmutter.
2264 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
2265 (verilog-directive-nest-re, verilog-set-auto-endcomments):
2266 Support `elsif. Reported by Shankar Giri.
2267 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
2268 attribute handling for lining up declarations and assignments.
2269 (verilog-beg-of-statement-1): Fix issue where continued declaration
2270 is indented differently if it is after a begin..end clock.
2271 (verilog-in-attribute-p, verilog-skip-backward-comments)
2272 (verilog-skip-forward-comment-p): Support proper treatment of
2273 attributes by indent code. Reported by Jeff Steele.
2274 (verilog-in-directive-p): Fix comment to correctly describe function.
2275 (verilog-backward-up-list, verilog-in-struct-region-p)
2276 (verilog-backward-token, verilog-in-struct-p)
2277 (verilog-in-coverage-p, verilog-do-indent)
2278 (verilog-pretty-declarations): Use verilog-backward-up-list as
2279 wrapper around backward-up-list inorder to properly skip comments.
2280 Reported by David Rogoff.
2281 (verilog-property-re, verilog-endcomment-reason-re)
2282 (verilog-beg-of-statement, verilog-set-auto-endcomments)
2283 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
2284 of if). Reported by Max Bjurling and
2285 (verilog-calc-1): Fix for clocking block in modport
2286 declaration. Reported by Brian Hunter.
2287
2288 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
2289
2290 * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
2291 (verilog-gate-keywords, verilog-read-sub-decls)
2292 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
2293 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
2294 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
2295 (verilog-read-decls): Fix spaces in V2K module parameters causing
2296 mis-identification as interfaces, bug287.
2297 (verilog-read-decls): Fix not treating "parameter string" as a
2298 parameter in AUTOINSTPARAM.
2299 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
2300 treating `elsif similar to `endif inside AUTOSENSE.
2301 (verilog-do-indent): Implement correct automatic or static task or
2302 function end comment highlight. Reported by Steve Pearlmutter.
2303 (verilog-font-lock-keywords-2): Fix highlighting of single
2304 character pins, bug264. Reported by Michael Laajanen.
2305 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
2306 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
2307 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
2308 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
2309 (verilog-pretty-expr): Fix interactive arguments, bug272.
2310 Reported by Mark Johnson.
2311 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
2312 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
2313 bug269. Suggested by Gary Delp.
2314 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
2315 (verilog-preprocessor, verilog-set-compile-command):
2316 Create verilog-preprocess and verilog-preprocessor to show
2317 preprocessed output.
2318 (verilog-get-beg-of-line, verilog-get-end-of-line)
2319 (verilog-modi-file-or-buffer, verilog-modi-name)
2320 (verilog-modi-point, verilog-within-string): Move defmacro's
2321 before first use to avoid warning. Reported by Steve Pearlmutter.
2322 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
2323 (verilog-colorize-region, verilog-highlight-buffer)
2324 (verilog-highlight-includes, verilog-highlight-modules)
2325 (verilog-highlight-region, verilog-mode): Rename colorize to
2326 highlight to match other packages. Disable module highlighting,
2327 as received speed complaints, reenable for experimentation only
2328 using new verilog-highlight-modules.
2329 (verilog-read-decls): Fix regexp stack overflow in very large
2330 AUTO_TEMPLATEs, bug250.
2331 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
2332 (verilog-scan): Create verilog-save-buffer-state to standardize
2333 making insignificant changes that shouldn't call hooks.
2334 (verilog-save-no-change-functions, verilog-save-scan-cache)
2335 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
2336 Create verilog-save-no-change-functions to wrap verilog-scan
2337 preservation, and fix to work with nested preserved calls.
2338 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
2339 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
2340 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
2341 (verilog-submit-bug-report): Update variable list to be complete.
2342 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
2343 breaking on-the-fly font-locking.
2344 (verilog-colorize-buffer, verilog-colorize-include-files)
2345 (verilog-colorize-include-files-buffer, verilog-colorize-region)
2346 (verilog-load-file-at-mouse, verilog-load-file-at-point)
2347 (verilog-mode, verilog-read-inst-module-matcher): With point on a
2348 AUTOINST cell instance name, middle mouse button now finds-file on
2349 it. Suggested by Brad Dobbie.
2350 (verilog-alw-get-temps, verilog-auto-reset)
2351 (verilog-auto-sense-sigs, verilog-read-always-signals)
2352 (verilog-read-always-signals-recurse): Fix loop indexes being
2353 AUTORESET. AUTORESET now assumes any variables in the
2354 initialization section of a for() should be ignored.
2355 Reported by Dan Dever.
2356 (verilog-error-font-lock-keywords)
2357 (verilog-error-regexp-emacs-alist)
2358 (verilog-error-regexp-xemacs-alist): Fix error detection of
2359 Cadence HAL, reported by David Asher. Repair drift between the
2360 three similar error variables.
2361 (verilog-modi-lookup, verilog-modi-lookup-cache)
2362 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
2363 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
2364 Fix slow verilog-auto expansion on very large files.
2365 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
2366 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
2367 "{1*2{...". Broke in last revision.
2368 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
2369 submodule connections with replications "{#{a},#{b}}".
2370
2371 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
2372
2373 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
2374 Fix typo in docstring.
2375
2376 2010-10-24 Kenichi Handa <handa@m17n.org>
2377
2378 * face-remap.el (text-scale-adjust): Call read-event with a proper
2379 prompt.
2380
2381 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
2382
2383 * emacs-lisp/unsafep.el: Don't mark functions that display
2384 messages as safe. Suggested by Johan Bockgård.
2385
2386 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2387
2388 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
2389 Turn comments into docstrings.
2390
2391 * minibuffer.el (completion--replace): Move point where it belongs
2392 when there's a common suffix (bug#7215).
2393
2394 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
2395
2396 Merge read-color and facemenu-read-color (Bug#7242).
2397
2398 * faces.el (read-color): Use the completion code from
2399 facemenu-read-color. Require match in completion. Doc fix.
2400
2401 * facemenu.el (facemenu-read-color): Alias for read-color.
2402 (facemenu-set-foreground, facemenu-set-background):
2403 Use read-color.
2404
2405 * frame.el (set-background-color, set-foreground-color)
2406 (set-cursor-color, set-mouse-color, set-border-color):
2407 Use read-color.
2408
2409 2010-10-24 Leo <sdl.web@gmail.com>
2410
2411 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
2412 argument of delete-file and delete-directory (Bug#7011).
2413
2414 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
2415
2416 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
2417 button-buffer-map.
2418
2419 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
2420
2421 * emacs-lisp/package.el (package--generate-package-list): Make the
2422 *Packages* buffer read-only.
2423
2424 2010-10-24 Alan Mackenzie <acm@muc.de>
2425
2426 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
2427 result of `c-beginning-of-decl-1' between invocations of a lambda
2428 function (Bug #7265).
2429
2430 2010-10-24 Daiki Ueno <ueno@unixuser.org>
2431
2432 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
2433 executable is not available on the system (Bug#7268).
2434
2435 2010-10-24 Glenn Morris <rgm@gnu.org>
2436
2437 * select.el (selection-coding-system, next-selection-coding-system):
2438 Sync doc with C versions.
2439
2440 * w32-vars.el (x-select-enable-clipboard):
2441 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
2442 * term/common-win.el (x-select-enable-clipboard): Move here.
2443
2444 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
2445 definition of C variable.
2446
2447 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
2448 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
2449 Don't redefine things that are defined in C.
2450 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
2451 (show-trailing-whitespace, auto-hscroll-mode)
2452 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
2453 Set up the appropriate custom properties.
2454
2455 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
2456
2457 Bind "C-c ]" to ...
2458 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
2459 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
2460 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
2461 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
2462
2463 2010-10-23 Glenn Morris <rgm@gnu.org>
2464
2465 * textmodes/flyspell.el (flyspell-mode): If there was an error,
2466 say what it was.
2467
2468 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
2469 Sync docs with C version.
2470
2471 * term/ns-win.el (xw-defined-colors):
2472 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
2473
2474 * term/pc-win.el (x-select-enable-clipboard):
2475 * term/x-win.el (x-select-enable-clipboard):
2476 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
2477
2478 * comint.el (comint-password-prompt-regexp): Make it less vague.
2479 Bump version.
2480
2481 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
2482
2483 * help.el (finder-by-keyword): Remove unnecessary autoload.
2484
2485 2010-10-22 Glenn Morris <rgm@gnu.org>
2486
2487 * loadup.el: Unconditionally load float-sup.
2488 * paren.el (show-paren-delay):
2489 * emacs-lisp/float-sup.el:
2490 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
2491 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
2492 (lazy-lock-stealth-verbose): Assume float support.
2493 * ps-print.el: Assume float support on Emacs.
2494 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
2495 Remove non-float branch.
2496
2497 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
2498 src/Makefile no longer being pre-processed.
2499
2500 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2501
2502 * emacs-lisp/find-func.el (find-library): Use test-completion.
2503
2504 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2505
2506 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
2507
2508 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
2509
2510 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
2511 space in stat format string.
2512 (tramp-send-command): Unset $PS1 when using here documents, in
2513 order not to get several prompts.
2514 (tramp-get-inline-coding): Return `nil' in case of errors.
2515
2516 2010-10-21 Daiki Ueno <ueno@unixuser.org>
2517
2518 * hexl.el (hexl-mode, hexl-mode-exit):
2519 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
2520 (hexl-revert-buffer-function): New function.
2521 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
2522
2523 2010-10-19 Alan Mackenzie <acm@muc.de>
2524
2525 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
2526 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
2527 that these keywords aren't wrongly matched as identifiers.
2528
2529 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
2530 setting of c-new-BEG and c-new-END from c-before-change to
2531 c-after-change. (Bug#7181)
2532
2533 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
2534
2535 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
2536 Don't mark as safe.
2537
2538 * custom.el (custom-theme-set-variables): Likewise.
2539 (load-theme): Add custom-theme-set-faces and
2540 custom-theme-set-variables to safe-functions while loading.
2541 (custom-enabled-themes): Mark as risky.
2542
2543 2010-10-18 Julien Danjou <julien@danjou.info>
2544
2545 * bindings.el: Remove end dashes in default mode-line-format.
2546
2547 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
2548
2549 * bindings.el (global-map): Bind C-d to delete-char and deletechar
2550 to delete-forward-char.
2551
2552 * simple.el (normal-erase-is-backspace-mode): Remap delete to
2553 deletechar, and hence delete-forward-char.
2554
2555 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2556
2557 * repeat.el (repeat): Use read-key (bug#6256).
2558
2559 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
2560
2561 * emacs-lisp/unsafep.el: Don't mark functions that display
2562 messages as safe. Suggested by Johan Bockgård.
2563
2564 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2565
2566 * minibuffer.el (completion--replace): Move point where it belongs
2567 when there's a common suffix (bug#7215).
2568
2569 2010-10-19 Kenichi Handa <handa@m17n.org>
2570
2571 * international/characters.el: Add category '|' (word breakable)
2572 to fullwidth characters.
2573
2574 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
2575
2576 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
2577 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
2578 order to make stat results a float. Patch by Andreas Schwab
2579 <schwab@linux-m68k.org>.
2580
2581 2010-10-18 Julien Danjou <julien@danjou.info>
2582
2583 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
2584 hidden by `make-pointer-invisible'.
2585
2586 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
2587
2588 * files.el (locate-file-completion-table): Strip non-matching elements
2589 before checking length of list (bug#7238).
2590
2591 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
2592
2593 * custom.el (custom-theme-set-variables): Mark as a safe function.
2594 (load-theme): Check forms using unsafep.
2595
2596 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
2597
2598 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
2599
2600 * textmodes/ispell.el (ispell-aspell-find-dictionary):
2601 Fix aspell data file searching (bug#7230).
2602
2603 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
2604
2605 * cus-theme.el (custom-theme--migrate-settings): New var.
2606 (customize-create-theme): Allow editing the `user' theme.
2607 (custom-theme-add-variable, custom-theme-add-var-1)
2608 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
2609 to the front of each variable or face widget.
2610 (custom-theme-write): Save theme settings in the correct order.
2611 Optionally, remove saved settings from user customizations.
2612 (custom-theme-write-variables, custom-theme-write-faces):
2613 Save only the checked widgets.
2614 (customize-themes): Add a link for migrating custom settings.
2615
2616 * custom.el (custom-declare-theme, provide-theme):
2617 Use custom-theme-name-valid-p.
2618 (custom-theme-name-valid-p): Remove checks that are now
2619 unnecessary since themes no longer obey load-path.
2620
2621 * cus-edit.el (custom-variable-value-create): For the simple
2622 style, hide documentation string when hidden.
2623
2624 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
2625
2626 * cus-edit.el (custom-variable, custom-face): Combine the
2627 :inhibit-magic and :display-style properties into a single
2628 :custom-style property.
2629 (custom-toggle-hide-variable, custom-toggle-hide-face):
2630 New functions. If hiding an edited value, save it to :shown-value.
2631 (custom-variable-value-create, custom-face-value-create): Use them.
2632 (custom-magic-reset): Allow magic property to be unset.
2633
2634 * custom.el: Custom themes no longer use load-path.
2635 (custom-theme-load-path): New option. Change built-in theme
2636 directory to etc/.
2637 (custom-enabled-themes): Add custom-theme-load-path dependency.
2638 (custom-theme--load-path): New function.
2639 (load-theme, custom-available-themes): Use it.
2640
2641 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
2642 (customize-themes): Link to custom-theme-load-path variable.
2643 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
2644 :custom-style property.
2645
2646 * themes/*.el: Moved to etc/.
2647
2648 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
2649
2650 * textmodes/reftex-cite.el
2651 (reftex-extract-bib-entries-from-thebibliography): Do not move
2652 point when searching for \bibitem entries. Match entries with
2653 spaces or tabs in front of arguments.
2654
2655 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
2656
2657 * cus-theme.el (customize-create-theme): Delete overlays after
2658 erasing. If given a THEME arg, display only the faces of that arg
2659 instead of custom-theme--listed-faces.
2660 (custom-theme-variable-menu, custom-theme-variable-action)
2661 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
2662 (custom-theme-add-variable, custom-theme-add-face): Apply value
2663 from the theme settings, instead of the current value.
2664 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
2665 (custom-theme-visit-theme): Allow calling outside theme buffers.
2666 (custom-theme-merge-theme): Don't enable the theme when merging.
2667 (custom-theme-write-variables, custom-theme-write-faces): Use the
2668 :shown-value properties to save buffer values, not global ones.
2669 (customize-themes): Display a warning about user customizations.
2670
2671 * cus-edit.el (custom-variable-value-create)
2672 (custom-face-value-create): Obey new special properties
2673 :shown-value and :inhibit-magic.
2674
2675 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
2676
2677 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2678 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
2679 <dale@codefu.org>.
2680
2681 2010-10-14 Kenichi Handa <handa@m17n.org>
2682
2683 * mail/rmail.el (rmail-show-message-1): Catch an error of
2684 base64-decode-region and just show an error message (bug#7165).
2685
2686 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
2687 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
2688 a font-spec (bug#7197).
2689
2690 2010-10-14 Glenn Morris <rgm@gnu.org>
2691
2692 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
2693
2694 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
2695
2696 * international/mule.el (define-coding-system):
2697 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
2698 * composite.el (compose-region): Fix typo in docstring.
2699
2700 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
2701
2702 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
2703 only after checking the theme-face property.
2704
2705 * faces.el (face-spec-reset-face): Reset all attributes in one
2706 single call to set-face-attribute.
2707 (face-spec-match-p): Make it a defsubst.
2708 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
2709 (x-create-frame-with-faces, tty-create-frame-with-faces)
2710 (tty-set-up-initial-frame-faces): Don't recompute face specs in
2711 frame-set-background-mode, since they are recomputed immediately
2712 afterwards in face-set-after-frame-default.
2713 (face-set-after-frame-default): Minor optimization.
2714 (cursor): Provide non-trivial defface spec.
2715
2716 * custom.el (custom-theme-recalc-face): Simplify.
2717
2718 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
2719
2720 * calc/calc-alg.el (math-var): Rename from `var'.
2721 (math-is-polynomial, math-is-poly-rec): Replace `var'
2722 with `math-var'.
2723
2724 * calc/calcalg2.el (math-var): Rename from `var'.
2725 (calcFunc-table, math-scan-for-limits): Replace `var'
2726 with `math-var'.
2727
2728 2010-10-13 Glenn Morris <rgm@gnu.org>
2729
2730 * subr.el (last): Deal with dotted lists (reported in bug#7174).
2731
2732 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
2733
2734 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
2735
2736 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2737
2738 * net/tls.el (tls-program): Remove spurious %s from openssl.
2739 (tls-starttls-switches): Remove starttls hack.
2740 (open-tls-stream): Ditto.
2741 (tls-find-starttls-argument): Ditto.
2742
2743 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
2744
2745 * image.el (image-library-alist): Declare as obsolete alias.
2746 (image-type-available-p): Use `dynamic-library-alist'.
2747
2748 * term/w32-win.el (dynamic-library-alist):
2749 Use instead of `image-library-alist'.
2750
2751 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
2752
2753 * subr.el (last): Make it faster. (Bug#7174)
2754
2755 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
2756
2757 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
2758
2759 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
2760
2761 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
2762 (describe-theme-1): Extract doc from unloaded themes.
2763
2764 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
2765
2766 * themes/tango-theme.el:
2767 * themes/tango-dark-theme.el:
2768 * themes/wheatgrass-theme.el: New files.
2769
2770 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
2771
2772 * cus-theme.el (describe-theme, customize-themes)
2773 (custom-theme-save): New commands.
2774 (custom-new-theme-mode-map): Bind C-x C-s.
2775 (custom-new-theme-mode): Use custom--initialize-widget-variables.
2776 (customize-create-theme): New optional arg THEME.
2777 (custom-theme-revert): Use it.
2778 (custom-theme-visit-theme): Remove dead code.
2779 (custom-theme-merge-theme): Use custom-available-themes.
2780 (custom-theme-write): Make interactive.
2781 (custom-theme-write): Use custom-theme-name-valid-p.
2782 (describe-theme-1, custom-theme-choose-revert)
2783 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
2784 New funs.
2785 (custom-theme-allow-multiple-selections): New option.
2786 (custom-theme-choose-mode): New major mode.
2787
2788 * custom.el (custom-theme-set-variables): Remove dead code.
2789 Obey custom--inhibit-theme-enable.
2790 (custom--inhibit-theme-enable): New var.
2791 (provide-theme): Obey it.
2792 (load-theme): Replace load with manual read/eval, in order to
2793 check for correctness. Use custom-theme-name-valid-p.
2794 (custom-theme-name-valid-p): New function.
2795 (custom-available-themes): Use it.
2796
2797 * cus-edit.el (custom--initialize-widget-variables): New function.
2798 (Custom-mode): Use it.
2799
2800 * cus-face.el (custom-theme-set-faces): Remove dead code.
2801 Obey custom--inhibit-theme-enable.
2802
2803 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
2804
2805 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
2806
2807 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
2808
2809 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
2810
2811 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
2812 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
2813 (mac-right-option-modifier): New alias for ns-right-option-modifier.
2814
2815 * cus-start.el (all): ns-right-alternate-modifier is new.
2816
2817 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2818
2819 * emacs-lisp/lisp.el (lisp-completion-at-point):
2820 Use emacs-lisp-mode-syntax-table for the whole function.
2821
2822 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
2823
2824 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
2825 instead of font-lock-mode before adding keywords.
2826 Remove hi-lock-mode off code. Remove inhibit hack.
2827 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
2828 non-nil; removed hook inhibit hack.
2829
2830 2010-10-12 Glenn Morris <rgm@gnu.org>
2831
2832 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
2833 (load-path-shadows-find): ... to this.
2834 (list-load-path-shadows): Update for above change.
2835
2836 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
2837
2838 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
2839
2840 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
2841 Fix comment for declare-function.
2842
2843 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
2844
2845 * custom.el (custom-fix-face-spec): New function; code moved from
2846 custom-face-edit-fix-value.
2847 (custom-push-theme): Use it when checking if a face has been
2848 changed outside customize.
2849 (custom-available-themes): New function.
2850 (load-theme): Use it.
2851
2852 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
2853
2854 * custom.el (custom-push-theme): Cleanup (use cond).
2855 (disable-theme): Recompute the saved-face property.
2856 (custom-theme-recalc-face): Follow face alias before setting prop.
2857
2858 * image.el (image-checkbox-checked, image-checkbox-unchecked):
2859 New variables, containing checkbox images.
2860
2861 * startup.el (fancy-startup-tail):
2862 * wid-edit.el (checkbox): Use them.
2863
2864 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
2865
2866 * shell.el (shell-mode-map):
2867 * progmodes/modula2.el (m2-mode-map):
2868 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
2869 * play/mpuz.el (mpuz-mode-map):
2870 * play/landmark.el (lm-mode-map):
2871 * play/decipher.el (decipher-mode-map):
2872 * play/5x5.el (5x5-mode-map):
2873 * net/telnet.el (telnet-mode-map):
2874 * net/quickurl.el (quickurl-list-mode-map):
2875 * net/mairix.el (mairix-searches-mode-map):
2876 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
2877 * net/dig.el (dig-mode-map):
2878 * mail/mspools.el (mspools-mode-map):
2879 * hexl.el (hexl-mode-map):
2880 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
2881 (wordstar-C-o-map, wordstar-C-q-map):
2882 * emacs-lisp/edebug.el (edebug-eval-mode-map):
2883 * emacs-lisp/chart.el (chart-map):
2884 * edmacro.el (edmacro-mode-map):
2885 * erc/erc-list.el (erc-list-menu-mode-map):
2886 * array.el (array-mode-map): Declare and define in one step.
2887
2888 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
2889
2890 2010-10-10 Daiki Ueno <ueno@unixuser.org>
2891
2892 * epa.el (epa-passphrase-callback-function): Display filename
2893 passed as the 3rd arg.
2894 * epa-file.el (epa-file-passphrase-callback-function):
2895 Pass filename to epa-passphrase-callback-function.
2896
2897 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
2898
2899 * cus-edit.el (custom-face-widget-to-spec)
2900 (custom-face-get-current-spec, custom-face-state): New functions.
2901 (custom-face-set, custom-face-mark-to-save)
2902 (custom-face-value-create, custom-face-state-set): Use them.
2903
2904 * cus-theme.el (custom-theme--listed-faces): New var.
2905 (customize-create-theme): Use *Custom Theme* as the buffer name.
2906 Set revert-buffer-function. Optional arg BUFFER. Insert all
2907 faces listed in custom-theme--listed-faces.
2908 (custom-theme-revert): New function.
2909 (custom-theme-add-variable, custom-theme-add-face): Insert at the
2910 bottom of the list.
2911 (custom-theme-write): Prompt for theme name if empty.
2912 (custom-theme-write-variables): Use dolist.
2913 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
2914
2915 2010-10-09 Alan Mackenzie <acm@muc.de>
2916
2917 Enhance fontification of declarators to take account of the
2918 presence/absence of "typedef".
2919
2920 * cc-engine.el (c-forward-type): New &optional param
2921 "brace-block-too".
2922 (c-forward-decl-or-cast-1): cdr of return value now indicates the
2923 presence of either or both of a "struct"-like keyword and "typedef".
2924
2925 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
2926 fontification of declarators which follow a "}".
2927 (c-font-lock-declarations): Fontify declarators according to the
2928 presence/absence of "typedef".
2929
2930 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
2931 for "typedef".
2932 (c-typedef-decl-key): New lang variable built from
2933 c-typedef-decl-kwds.
2934
2935 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
2936
2937 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
2938 since that's too annoying. Move the filter groups commands to
2939 TAB/backtab.
2940
2941 * epa.el (epa-passphrase-callback-function): Say what we're
2942 querying the password for.
2943
2944 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
2945 behaviour, don't bury the ibuffer buffer when visiting other buffers.
2946
2947 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
2948
2949 * cus-edit.el (custom-commands, custom-buffer-create-internal)
2950 (custom-magic-value-create): Pad button tags with spaces.
2951 (custom-face-edit): New variable.
2952 (custom-face-value-create): Determine whether to use the usual
2953 face editor here, instead of using custom-face-selected.
2954 Pass face defaults to custom-face-edit widget.
2955 (custom-face-selected, custom-display-unselected): Delete widgets.
2956 (custom-display-unselected-match): Function removed.
2957 (custom-face-set, custom-face-mark-to-save):
2958 Accept custom-face-edit widgets as the direct widget child.
2959
2960 * wid-edit.el (widget--completing-widget): New var.
2961 (widget-default-complete): Bind it when doing completion.
2962 (widget-string-complete, widget-file-complete): Use it.
2963
2964 2010-10-09 Glenn Morris <rgm@gnu.org>
2965
2966 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
2967 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
2968 (holiday-hebrew-misc): Small simplifications.
2969
2970 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
2971
2972 * net/browse-url.el: Don't require thingatpt, term, dired,
2973 executable, or w3-auto when compiling.
2974 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
2975 Declare.
2976 (browse-url-text-emacs): Require term.
2977
2978 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
2979
2980 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
2981
2982 2010-10-08 Glenn Morris <rgm@gnu.org>
2983
2984 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
2985
2986 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
2987 (shadows-compare-text-p): Make it an obsolete alias for...
2988 (load-path-shadows-compare-text): ... new name.
2989 (find-emacs-lisp-shadows): Update for above name change.
2990 (load-path-shadows-same-file-or-nonexistent): New name for the old
2991 shadow-same-file-or-nonexistent.
2992
2993 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
2994
2995 * minibuffer.el (completion--some, completion--do-completion)
2996 (minibuffer-complete-and-exit, minibuffer-completion-help)
2997 (completion-basic-try-completion)
2998 (completion-basic-all-completions)
2999 (completion-pcm--find-all-completions): Use lexical-let to
3000 avoid some false matches in variable completion (Bug#7056)
3001
3002 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
3003
3004 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
3005
3006 2010-10-08 Leo <sdl.web@gmail.com>
3007
3008 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
3009 return non-nil if the file exists (Bug#7090).
3010
3011 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3012
3013 * minibuffer.el (completion--replace):
3014 Better preserve markers (bug#7138).
3015
3016 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
3017
3018 * server.el (server-process-filter): Doc fix.
3019
3020 2010-10-08 Drew Adams <drew.adams@oracle.com>
3021
3022 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
3023
3024 2010-10-08 Glenn Morris <rgm@gnu.org>
3025
3026 * vc/ediff-wind.el (ediff-setup-control-frame):
3027 * vc/ediff-ptch.el (ediff-default-backup-extension):
3028 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
3029 (ediff-exec-process): Remove system-types emx, windows-95.
3030
3031 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
3032
3033 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
3034
3035 * cus-edit.el (custom-variable, custom-face): Doc fix.
3036 (custom-face-edit): Add value-create attribute.
3037 (custom-face-edit-value-create)
3038 (custom-face-edit-value-visibility-action): New functions.
3039 Hide unused face attributes by default, and add a visibility toggle.
3040 (custom-face-edit-deactivate): Show empty values with shadow face.
3041 (custom-face-selected): Only use this for face specs with default
3042 attributes.
3043 (custom-face-value-create): Cleanup.
3044
3045 * wid-edit.el (widget-checklist-value-create): Use dolist.
3046 (widget-checklist-match-find): Make second arg optional.
3047
3048 2010-10-07 Glenn Morris <rgm@gnu.org>
3049
3050 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
3051 Prefix things.
3052
3053 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
3054 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
3055 load-path-shadows-mode, update references.
3056 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
3057 Rename variable and button.
3058 (list-load-path-shadows): Update button caller.
3059
3060 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3061
3062 * emacs-lisp/smie.el (smie-bnf-classify): New function.
3063 (smie-bnf-precedence-table): Use it to remember the closers/openers.
3064 (smie-merge-prec2s): Handle those new entries.
3065 (smie-prec2-levels): Only set precedence to nil for actual
3066 openers/closers.
3067 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
3068 that is now unnecessary.
3069
3070 2010-10-07 Miles Bader <miles@gnu.org>
3071
3072 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
3073
3074 2010-10-07 Glenn Morris <rgm@gnu.org>
3075
3076 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
3077 (mail-position-on-field): Remove declarations.
3078 (mail-position-on-field): Autoload it.
3079 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
3080 and mail-header-end. Don't require sendmail.
3081
3082 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
3083 (shadow-mode): New mode.
3084 (shadow-find-file): New button.
3085 (list-load-path-shadows): Use shadow-mode and buttons.
3086
3087 * iimage.el (iimage-version): Remove.
3088 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
3089 Turn into defcustoms.
3090 (iimage-mode-map): Give it a doc string.
3091
3092 * calendar/appt.el (appt-activate): Give a warning rather than an error
3093 if there is no diary-file.
3094
3095 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
3096
3097 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3098 Use `tramp-handle-find-backup-file-name'.
3099
3100 2010-10-06 Glenn Morris <rgm@gnu.org>
3101
3102 * font-core.el (font-lock-defaults-alist): Remove variable.
3103 (font-lock-mode): Doc fix.
3104 (font-lock-default-function): Do not consult font-lock-defaults-alist.
3105 * font-lock.el (font-lock-refresh-defaults): Doc fix.
3106 (font-lock-set-defaults): Doc fix.
3107 Do not consult font-lock-defaults-alist.
3108
3109 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
3110
3111 * emacs-lisp/cl.el: No longer provide cl-19.
3112
3113 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
3114
3115 * net/tramp.el (tramp-handle-directory-files-and-attributes)
3116 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
3117 New defuns, taken from tramp-smb.el.
3118 (tramp-coding-system-change-eol-conversion)
3119 (tramp-set-process-query-on-exit-flag): Remove.
3120
3121 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
3122 (tramp-compat-coding-system-change-eol-conversion)
3123 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
3124 from tramp.el.
3125
3126 * net/tramp-gvfs.el:
3127 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
3128 by `tramp-compat-set-process-query-on-exit-flag'.
3129
3130 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
3131 Use `tramp-handle-directory-files-and-attributes',
3132 `tramp-handle-file-exists-p' and
3133 `tramp-handle-file-newer-than-file-p'.
3134 (tramp-imap-handle-file-exists-p)
3135 (tramp-imap-handle-file-executable-p)
3136 (tramp-imap-handle-file-readable-p)
3137 (tramp-imap-handle-directory-files-and-attributes)
3138 (tramp-imap-handle-file-newer-than-file-p): Remove.
3139
3140 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
3141 by `tramp-compat-set-process-query-on-exit-flag' and
3142 `tramp-coding-system-change-eol-conversion' by
3143 `tramp-compat-coding-system-change-eol-conversion'.
3144
3145 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3146 Use `tramp-handle-directory-files-and-attributes',
3147 `tramp-handle-file-exists-p' and
3148 `tramp-handle-file-newer-than-file-p'.
3149 (tramp-smb-handle-directory-files-and-attributes)
3150 (tramp-smb-handle-file-exists-p)
3151 (tramp-smb-handle-file-newer-than-file-p): Remove.
3152 (tramp-smb-maybe-open-connection):
3153 Replace `tramp-set-process-query-on-exit-flag' by
3154 `tramp-compat-set-process-query-on-exit-flag'.
3155
3156 2010-10-05 Glenn Morris <rgm@gnu.org>
3157
3158 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
3159
3160 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
3161
3162 Continue reorganization of load dependencies. (Bug#7156)
3163
3164 * net/tramp.el (tramp-handle-file-local-copy-hook)
3165 (tramp-delete-temp-file-function): Move down.
3166 (tramp-exists-file-name-handler): Move up.
3167 (tramp-register-file-name-handlers): Simplify autoload.
3168 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
3169 (tramp-handle-directory-files, tramp-handle-dired-uncache)
3170 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
3171 (tramp-handle-file-name-completion)
3172 (tramp-handle-file-name-directory)
3173 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
3174 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
3175 (tramp-handle-find-backup-file-name)
3176 (tramp-handle-insert-file-contents, tramp-handle-load)
3177 (tramp-handle-substitute-in-file-name)
3178 (tramp-handle-unhandled-file-name-directory)
3179 (tramp-mode-string-to-int, tramp-local-host-p)
3180 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
3181
3182 * net/tramp-gvfs.el (top):
3183 * net/tramp-smb.el (top): Do not require 'tramp-sh.
3184
3185 * net/tramp-sh.el (all): Move several objects to tramp.el, see
3186 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
3187
3188 2010-10-04 Glenn Morris <rgm@gnu.org>
3189
3190 * calendar/appt.el (appt-add): Ensure reminders are enabled.
3191 (appt-activate): Give status messages.
3192
3193 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
3194
3195 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
3196 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
3197 `gnutls-negotiate' (formerly `starttls-negotiate').
3198 Remove trivial wrapper `starttls-open-stream'.
3199
3200 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
3201
3202 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
3203 log-outgoing commands.
3204 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
3205 to create a buffer local revert-buffer-function variable.
3206 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
3207 revert-buffer-function lambda.
3208
3209 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
3210
3211 * net/gnutls.el (starttls-negotiate): Use the plist interface to
3212 `gnutls-boot'. Make TYPE the only required parameter.
3213 Allow TRUSTFILES and KEYFILES to be lists.
3214 (open-ssl-stream): Use it.
3215
3216 2010-10-03 Glenn Morris <rgm@gnu.org>
3217
3218 * subr.el (directory-sep-char): Remove obsolete variable.
3219 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
3220 it is "necessary".
3221
3222 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
3223 * vc/vc.el (vc-static-header-alist): Doc fix.
3224 * vc/vc-cvs.el (vc-cvs-header):
3225 * vc/vc-rcs.el (vc-rcs-header):
3226 * vc/vc-sccs.el (vc-sccs-header):
3227 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
3228 * obsolete/vc-mcvs.el (vc-mcvs-header):
3229 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
3230 on XEmacs.
3231
3232 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
3233
3234 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
3235 Remove obsolete use of binary-overwrite-mode (Bug#7001).
3236
3237 2010-10-03 Glenn Morris <rgm@gnu.org>
3238
3239 * obsolete/x-menu.el: Remove file, obsolete since 21.1
3240
3241 * textmodes/rst.el (rst-font-lock-keywords-function):
3242 Drop Emacs 20 code.
3243
3244 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
3245
3246 * printing.el: Drop Emacs 20 code.
3247
3248 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
3249 without having used appt.el already).
3250
3251 * subr.el (make-local-hook): Remove function obsolete since 21.1.
3252 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
3253 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
3254 XEmacs.
3255 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
3256 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
3257
3258 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
3259 (charset-width, find-charset-region, chars-in-region, forward-point)
3260 (encode-coding-string, coding-system-p, ccl-execute-on-string)
3261 (define-ccl-program, multibyte-string-p, string-make-multibyte):
3262 Remove compatibility cruft (none of these are used by ps*.el).
3263
3264 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3265
3266 * subr.el (booleanp): Return t instead of a list (Bug#7086).
3267
3268 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
3269
3270 * server.el (server-process-filter, server-return-error):
3271 Give emacsclient time to shut down after receiving an error string.
3272
3273 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
3274
3275 * files.el (remote-file-name-inhibit-cache): New defcustom.
3276
3277 * time.el (display-time-file-nonempty-p):
3278 Use `remote-file-name-inhibit-cache'.
3279
3280 * net/tramp.el (tramp-completion-reread-directory-timeout):
3281 Fix docstring.
3282
3283 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
3284 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
3285 `remote-file-name-inhibit-cache'. Check also for an integer
3286 value. Add/increase counter when `tramp-verbose' >= 10.
3287 (tramp-set-file-property): Add/increase counter when
3288 `tramp-verbose' >= 10.
3289
3290 * net/tramp-cmds.el (tramp-cleanup-all-connections)
3291 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
3292 (tramp-bug): Set tramp-autoload cookie. Report all interned
3293 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
3294 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
3295 characters only in strings.
3296
3297 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
3298 to backward compatibility.
3299
3300 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
3301 (tramp-handle-file-name-all-completions)
3302 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
3303 (tramp-open-connection-setup-interactive-shell):
3304 Call `tramp-cleanup-connection' directly.
3305
3306 2010-10-02 Glenn Morris <rgm@gnu.org>
3307
3308 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
3309
3310 * subr.el (char-bytes): Remove obsolete function.
3311
3312 * isearch.el (isearch-return-char): Remove obsolete function.
3313
3314 * mouse.el: No longer provide mldrag.
3315 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
3316 Remove obsolete aliases.
3317
3318 * comint.el (comint-kill-output): Remove obsolete alias.
3319
3320 * composite.el (decompose-composite-char): Remove obsolete function.
3321 * ps-def.el (decompose-composite-char): Remove unused function.
3322
3323 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
3324
3325 * outline.el (outline-visible): Remove obsolete function.
3326
3327 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
3328 * faces.el (internal-find-face, internal-get-face)
3329 (frame-update-faces, frame-update-face-colors)
3330 (x-frob-font-weight, x-frob-font-slant)
3331 (internal-frob-font-weight, internal-frob-font-slant)
3332 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
3333 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
3334 (x-make-font-bold-italic): Remove functions and aliases, obsolete
3335 since Emacs 21.1.
3336 * emulation/viper-util.el (viper-get-face):
3337 * obsolete/lucid.el (find-face, get-face): Use facep.
3338 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
3339 Remove unused functions.
3340 * vc/ediff-util.el (ediff-submit-report): Doc fix.
3341
3342 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
3343 delete tempfile if interrupted during compilation.
3344
3345 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3346
3347 * net/tls.el (tls-starttls-switches): Give up on using starttls with
3348 gnutls-cli.
3349 (tls-program): Add --insecure to be consistent with the defaults from
3350 openssl s_client. Now all three commands are insecure.
3351
3352 2010-10-01 Eli Zaretskii <eliz@gnu.org>
3353
3354 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
3355 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
3356 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
3357
3358 2010-10-01 Glenn Morris <rgm@gnu.org>
3359
3360 * obsolete/sc.el: Remove file.
3361
3362 * files.el (temporary-file-directory): On darwin, also try
3363 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
3364
3365 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
3366
3367 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
3368 Let's not break compatibility gratuitously, shall we?
3369
3370 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3371
3372 * net/tls.el (tls-starttls-switches): New variable.
3373 (tls-find-starttls-argument): Use it.
3374 (open-tls-stream): Ditto.
3375
3376 * net/netrc.el (netrc-credentials): Return the value of the "default"
3377 entry.
3378 (netrc-machine): Ditto.
3379
3380 2010-09-30 Eli Zaretskii <eliz@gnu.org>
3381
3382 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
3383
3384 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
3385
3386 * server.el (server-start): Don't write pid to the authentication file.
3387 (server-create-tty-frame): Don't send pid.
3388 (server-process-filter): Send pid at the start of every connection.
3389
3390 2010-09-30 Glenn Morris <rgm@gnu.org>
3391
3392 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
3393 (show-all-diary-entries): Remove obsolete function aliases.
3394
3395 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
3396 Remove options, obsolete since 22.1.
3397 (appt-display-format, appt-display-message):
3398 Remove backwards-compatibility code.
3399 (appt-check): No longer check appt-issue-message.
3400 (appt-make-list): No longer autoload it. Doc fix. No longer
3401 activate the package.
3402
3403 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
3404
3405 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
3406 (starttls-negotiate): Just call boot, and let the handshake be
3407 triggered from the read loop.
3408
3409 2010-09-29 Glenn Morris <rgm@gnu.org>
3410
3411 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
3412 not displaying the diary.
3413 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
3414 * calendar/appt.el (appt-check): No longer need to kill diary.
3415
3416 * calendar/diary-lib.el (diary-list-entries): Move the
3417 "Preparing..." message entirely here.
3418 (diary-simple-display, diary-fancy-display): Move "Preparing..."
3419 messages to diary-list-entries.
3420 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
3421 diary-display-function.
3422
3423 * calendar/diary-lib.el (diary-include-other-diary-files):
3424 Trap some recursive includes.
3425
3426 * calendar/appt.el (appt-activate): Check diary file.
3427
3428 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
3429
3430 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
3431 construction.
3432
3433 * calendar/time-date.el: No need to require cl for Emacs 21.
3434
3435 2010-09-28 Glenn Morris <rgm@gnu.org>
3436
3437 * calendar/appt.el (appt-check): Minor simplification.
3438
3439 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
3440
3441 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
3442 citation prefix.
3443
3444 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
3445
3446 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3447 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
3448
3449 2010-09-27 Kenichi Handa <handa@m17n.org>
3450
3451 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
3452 "ustar" format.
3453
3454 2010-09-27 Kenichi Handa <handa@m17n.org>
3455
3456 * international/mule.el (define-coding-system): Docstring fixed.
3457
3458 * international/mule-diag.el (describe-character-set): Use princ
3459 with proper print-length and print-level instead of insert.
3460
3461 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
3462
3463 * window.el (walk-windows): Doc fix (bug#7105).
3464
3465 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
3466
3467 * emacs-lisp/float-sup.el (e): Remove.
3468
3469 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
3470
3471 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
3472 variable.
3473 (starttls-negotiate): Use it.
3474
3475 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
3476
3477 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
3478 back.
3479
3480 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
3481
3482 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
3483
3484 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
3485
3486 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
3487
3488 * net/netrc.el (netrc-store-data): New function.
3489
3490 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
3491
3492 * net/gnutls.el: GnuTLS glue code to set up a connection.
3493
3494 2010-09-25 Julien Danjou <julien@danjou.info>
3495
3496 * notifications.el: Call dbus-register-signal only if it is bound.
3497
3498 2010-09-25 Glenn Morris <rgm@gnu.org>
3499
3500 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
3501 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
3502 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
3503 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
3504 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
3505 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
3506 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
3507 * eshell/esh-util.el, eshell/esh-var.el:
3508 Remove leading `*' from docs of faces and defcustoms.
3509
3510 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
3511
3512 * eshell/em-ls.el (eshell-ls-archive-regexp):
3513 * eshell/esh-util.el (eshell-tar-regexp):
3514 * ibuffer.el (ibuffer-compressed-file-name-regexp):
3515 * info.el (Info-suffix-list):
3516 * international/mule.el (auto-coding-alist):
3517 * woman.el (woman-file-regexp, woman-file-compression-regexp):
3518 * progmodes/etags.el (tags-compression-info-list):
3519 Support xz compression.
3520
3521 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
3522
3523 * files.el (get-free-disk-space): Don't assume the "df" output
3524 columns line up (Bug#6995).
3525
3526 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
3527
3528 * finder.el (finder-unknown-keywords):
3529 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
3530 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
3531
3532 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
3533
3534 * server.el (server-start): Revert part of 2010-08-08 change. Using
3535 address 127.0.0.1 for local host is now done in Fmake_network_process.
3536
3537 2010-09-24 Glenn Morris <rgm@gnu.org>
3538
3539 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
3540 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
3541 * textmodes/css-mode.el, textmodes/dns-mode.el:
3542 Move autoloaded auto-mode-alist entries to files.el.
3543 * files.el (auto-mode-alist): Move entries here.
3544
3545 2010-09-23 Glenn Morris <rgm@gnu.org>
3546
3547 * isearch.el (isearch-lazy-highlight-cleanup)
3548 (isearch-lazy-highlight-initial-delay)
3549 (isearch-lazy-highlight-interval)
3550 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
3551 * net/net-utils.el (ipconfig-program-options):
3552 Move aliases to options before the associated definitions.
3553
3554 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3555
3556 * newcomment.el (comment-normalize-vars): Better test validity of
3557 comment-end-skip.
3558
3559 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3560
3561 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
3562 (float-e): New name for `e'.
3563 (degrees-to-radians, radians-to-degrees):
3564 * calendar/solar.el (solar-longitude):
3565 * calculator.el (calculator-registers, calculator-funcall):
3566 * textmodes/artist.el (artist-spray-random-points):
3567 * play/bubbles.el (bubbles--initialize-images): Use new names.
3568
3569 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
3570
3571 Update to CEDET 1.0's version of EIEIO.
3572
3573 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
3574 New function.
3575 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
3576 (eieio-default-eval-maybe): Eval val instead of unquoting only.
3577 (class-precedence-list): If class is nil, return nil.
3578 (eieio-generic-call): If class of first input arg is nil, don't
3579 look up static methods, and do check for primary methods.
3580 (initialize-instance): See if the default needs to be evaluated
3581 during the constructor.
3582 (eieio-perform-slot-validation-for-default): Don't do the check
3583 for values that will eventually be evaluated.
3584 (eieio-eval-default-p): New function.
3585 (eieio-default-eval-maybe): Use it.
3586
3587 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
3588
3589 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
3590 method-invocation-order.
3591 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
3592 (eieio-class-precedence-dfs): Compute class precedence list using
3593 dfs algorithm.
3594 (eieio-class-precedence-bfs): Compute class precedence list using
3595 bfs algorithm.
3596 (eieio-class-precedence-c3): Compute class precedence list using
3597 c3 algorithm.
3598 (class-precedence-list): New function.
3599 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
3600 (inconsistent-class-hierarchy): New error symbol.
3601 (call-next-method): Stow the replacement argument list for future
3602 call-next-method invocations.
3603
3604 2010-09-23 Glenn Morris <rgm@gnu.org>
3605
3606 * calendar/appt.el (appt-check): If not displaying the diary,
3607 use (diary 1) to only get the entries we need.
3608 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
3609 that it is in day order. (Bug#7019)
3610
3611 * calendar/appt.el (appt-check): Rather than showing the diary,
3612 just turn off invisible display, and only if needed.
3613
3614 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
3615
3616 2010-09-23 Glenn Morris <rgm@gnu.org>
3617
3618 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
3619 (byte-compile-defvar, byte-compile-cl-warn):
3620 Start warnings with lower-case, like the majority.
3621
3622 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
3623
3624 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
3625
3626 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
3627 * files.el (auto-mode-alist): Move ld-script entries here, further down
3628 the list.
3629
3630 * vc/add-log.el: Don't require timezone when compiling.
3631 (timezone-make-date-sortable): Autoload it.
3632 (change-log-sortable-date-at): Don't require timezone.
3633 Use `ignore-errors'.
3634
3635 * comint.el (comint-use-prompt-regexp-instead-of-fields):
3636 Move alias before definition, so it does not need autoloading.
3637
3638 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
3639 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
3640 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
3641 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
3642 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
3643 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
3644 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
3645 * textmodes/tex-mode.el, textmodes/two-column.el:
3646 Remove leading `*' from docs of defcustoms etc.
3647
3648 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
3649
3650 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
3651
3652 2010-09-22 Dan Christensen <jdc@uwo.ca>
3653
3654 * calendar/time-date.el (date-to-time): Try using parse-time-string
3655 first before using the slower timezone-make-date-arpa-standard.
3656
3657 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
3658
3659 * calendar/time-date.el (format-seconds): Comment fix.
3660
3661 2010-09-22 Glenn Morris <rgm@gnu.org>
3662
3663 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
3664 is not automatically buffer-local.
3665
3666 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
3667
3668 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
3669 (smie-indent-comment): Be more careful with comment-start-skip.
3670 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
3671 (smie-indent-functions): Use them.
3672
3673 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
3674
3675 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
3676
3677 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
3678
3679 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
3680 tool-bar-position. Don't modify frame parameters here.
3681 (menu-bar-options-save): Add tool-bar-position.
3682
3683 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
3684
3685 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3686
3687 * textmodes/reftex-parse.el (reftex-what-macro)
3688 (reftex-context-substring): Let-bind forward-sexp-function to nil
3689 since we don't need/want to treat \begin...\end as a block (bug#7053).
3690
3691 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
3692
3693 * simple.el (blink-matching-open): Use syntax-class.
3694
3695 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
3696 Set invisibility spec for pascal's outline mode.
3697 (pascal-outline-change): Clean up calling convention.
3698 (pascal-show-all, pascal-hide-other-defuns): Update callers.
3699
3700 * progmodes/prolog.el (prolog-smie-forward-token)
3701 (prolog-smie-backward-token): New functions.
3702 (prolog-mode-variables): Use them to parse "!," correctly.
3703 Set up smie-blink-matching for ".".
3704
3705 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
3706 and `end'.
3707 (ispell-region, ispell-process-line): Update users.
3708
3709 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
3710 point-min==1.
3711
3712 * textmodes/ispell.el: Fix commenting convention.
3713 (ispell-parse-output): Simplify, use push.
3714 (ispell-region): Use match-string-no-properties.
3715 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
3716 (ispell-minor-mode): Use define-minor-mode.
3717 (ispell-message): Remove unused var `skip-regexp'.
3718 (ispell-add-per-file-word-list): Use dynamic let-binding.
3719 Try and use the proper comment marker.
3720
3721 * mail/sendmail.el: Fix commenting convention.
3722 (sendmail-send-it): Use line-beginning-position.
3723
3724 * help-fns.el (describe-variable): Add original value, if applicable.
3725
3726 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
3727
3728 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
3729
3730 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
3731
3732 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3733
3734 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
3735 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
3736 (smie-prec2-levels): Use them to better diagnose precedence cycles.
3737 (smie-blink-matching-check): Don't signal a mismatch if car is t.
3738 (smie-blink-matching-open): Rewrite to remove assumptions, so that
3739 something like "." can also be a closer.
3740 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
3741 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
3742 Rename internal functions to use "--". Update callers.
3743
3744 * frame.el (make-frame-names-alist): Don't list frames on other displays.
3745
3746 * fringe.el (fringe-styles): New var.
3747 (fringe-mode, fringe-query-style): Use it.
3748
3749 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
3750
3751 * progmodes/sql.el: Version 2.8
3752 (sql-login-params): Update widget structure; changes still needed.
3753 (sql-product-alist): Add :list-all and :list-table features for
3754 SQLite, Postgres and MySQL products.
3755 (sql-redirect): Handle default value.
3756 (sql-execute, sql-execute-feature): New functions.
3757 (sql-read-table-name): New function.
3758 (sql-list-all, sql-list-table): New functions. User API.
3759 (sql-mode-map, sql-interactive-mode-map): Add key definitions
3760 for above functions.
3761 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
3762 for above functions.
3763 (sql-postgres-login-params): Add user and database defaults.
3764 (sql-buffer-live-p): Bug fix.
3765 (sql-product-history): New variable.
3766 (sql-read-product): New function. Use it.
3767 (sql-set-product, sql-product-interactive): Use it.
3768 (sql-connection-history): New variable.
3769 (sql-read-connection): New function. Use it.
3770 (sql-connect): New function.
3771 (sql-for-each-login): Redesign function interface.
3772 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
3773 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
3774 (sql-comint): Check for program. Existing live buffer.
3775 (sql-comint-postgres): Add port parameter.
3776
3777 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3778
3779 * emacs-lisp/warnings.el: Fix commenting convention.
3780 (display-warning): Use special mode and make the buffer read-only.
3781
3782 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
3783
3784 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
3785 empty string when it follows a repeated or optional pattern.
3786
3787 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
3788
3789 * indent.el (indent-according-to-mode): Apply syntax-propertize.
3790 (indent-region): Use indent-according-to-mode.
3791
3792 2010-09-18 Eli Zaretskii <eliz@gnu.org>
3793
3794 * fringe.el (fringe-mode): Doc fix.
3795
3796 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
3797
3798 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
3799 refreshing the preview buffer.
3800
3801 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
3802
3803 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
3804 (latex-syntax-propertize-rules): New consts; replace
3805 tex-font-lock-syntactic-keywords.
3806 (tex-env-mark, latex-env-before-change): New functions.
3807 (latex-electric-env-pair-mode): New minor mode.
3808 (tex-font-lock-verb): Change arguments; do move point.
3809 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
3810 representation as a form of comment.
3811 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
3812 (doctex-syntax-propertize-rules): New const; replaces
3813 doctex-font-lock-syntactic-keywords.
3814 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
3815
3816 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
3817 (fortran-make-syntax-propertize-function): New function; replaces
3818 fortran-font-lock-syntactic-keywords.
3819 (fortran-mode): Use it.
3820 (fortran-line-length): Use it. Improve interactive spec.
3821
3822 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
3823 (syntax-propertize-rules): Add var-ref case. Fix offset computation
3824 when adding surrounding \(..\).
3825
3826 * progmodes/js.el (js-mode): Fix last change (bug#7054).
3827
3828 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3829
3830 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
3831 Use with-current-buffer.
3832
3833 * isearch.el (isearch-face): Rename from `isearch'.
3834 (isearch-highlight): Use new name.
3835
3836 2010-09-17 Eli Zaretskii <eliz@gnu.org>
3837
3838 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
3839 5, for `half' width fringes. (Bug#6933)
3840
3841 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3842
3843 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
3844 (byte-compile-defvar): "foo/bar" does not lack a prefix.
3845
3846 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
3847
3848 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
3849
3850 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
3851 in calculating new frame position. Add more space between new and
3852 parent on the left (Bug#7048).
3853
3854 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
3855
3856 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
3857 defmacro.
3858
3859 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
3860
3861 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
3862
3863 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
3864 obsolete alias for x-selection-value.
3865
3866 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
3867
3868 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
3869
3870 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
3871 cookie.
3872
3873 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
3874
3875 * net/tramp-compat.el (tramp-compat-with-temp-message)
3876 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
3877 (tramp-compat-process-put): New defuns.
3878
3879 * net/tramp.el (top):
3880 * net/tramp-gvfs.el (top):
3881 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
3882
3883 * net/tramp.el (tramp-progress-reporter-update):
3884 Use `tramp-compat-funcall'.
3885
3886 * net/tramp.el (tramp-process-actions):
3887 * net/tramp-gvfs.el (tramp-handle-vc-registered):
3888 * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
3889 (tramp-get-remote-stat, tramp-get-remote-readlink):
3890 Use `tramp-compat-with-temp-message'.
3891
3892 * net/tramp-sh.el (top): Require 'cl.
3893 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
3894 (tramp-open-connection-setup-interactive-shell):
3895 Use `tramp-compat-process-put'.
3896
3897 2010-09-15 Alan Mackenzie <acm@muc.de>
3898
3899 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
3900 indentation.
3901 (c-forward-<>-arglist-recur): Fix an infinite recursion.
3902
3903 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
3904
3905 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
3906 `lexical' for warnings related to lexical scoping.
3907 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
3908 global vars which don't have a prefix and could hence affect lexical
3909 scoping in unrelated files.
3910
3911 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
3912
3913 * net/imap.el: Revert back to version
3914 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
3915 seem problematic.
3916
3917 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
3918
3919 * obsolete/old-whitespace.el (whitespace-unload-function):
3920 Explicitly pass `obarray' to `unintern' to avoid a warning.
3921
3922 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3923
3924 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
3925 Add `when' argument. Update callers.
3926
3927 * subr.el (unintern): Declare the obarray arg mandatory.
3928
3929 2010-09-14 Glenn Morris <rgm@gnu.org>
3930
3931 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
3932 Doc fixes.
3933
3934 * calendar/diary-lib.el (diary-included-files): New variable.
3935 (diary-list-entries): Maybe initialize diary-included-files.
3936 (diary-include-other-diary-files): Append to diary-included-files.
3937 * calendar/appt.el (appt-update-list): Also check the members of
3938 diary-included-files. (Bug#6999)
3939 (appt-check): Doc fix.
3940
3941 2010-09-14 David Reitter <david.reitter@gmail.com>
3942
3943 * simple.el (line-move-visual): Do not truncate goal column to
3944 integer size. (Bug#7020)
3945
3946 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3947
3948 * repeat.el (repeat): Allow repeating when the last event is a click.
3949 Suggested by Drew Adams (bug#6256).
3950
3951 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
3952
3953 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
3954 Replace setting HGRCPATH to "" by some less invasive --config options.
3955
3956 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3957
3958 * font-lock.el (font-lock-beginning-of-syntax-function):
3959 Mark as obsolete.
3960
3961 2010-09-14 Glenn Morris <rgm@gnu.org>
3962
3963 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
3964 and tool-bar modes. (Bug#6211)
3965 (menu-bar-mode): Move setting of standard-value after the
3966 minor-mode definition, otherwise it seems to have no effect.
3967
3968 2010-09-14 Masatake YAMATO <yamato@redhat.com>
3969
3970 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
3971 Fix typo. (Bug#6976)
3972
3973 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3974
3975 * whitespace.el: Allow cleaning up blanks without blank
3976 visualization (Bug#6651). Adjust help window for
3977 whitespace-toggle-options (Bug#6479). Allow to use fill-column
3978 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
3979 (whitespace-style): Add new value 'face. Adjust docstring.
3980 (whitespace-space, whitespace-hspace, whitespace-tab):
3981 Adjust foreground property face.
3982 (whitespace-line-column): Adjust docstring and type declaration.
3983 (whitespace-style-value-list, whitespace-toggle-option-alist)
3984 (whitespace-help-text): Adjust const initialization.
3985 (whitespace-toggle-options, global-whitespace-toggle-options):
3986 Adjust docstring.
3987 (whitespace-display-window, whitespace-interactive-char)
3988 (whitespace-style-face-p, whitespace-color-on): Adjust code.
3989 (whitespace-help-scroll): New fun.
3990
3991 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
3992
3993 * calendar/time-date.el (format-seconds): Comment fix.
3994
3995 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
3996
3997 * progmodes/sql.el: Version 2.7.
3998 (sql-buffer-live-p): Improve detection.
3999 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
4000 (sql-set-sqli-buffer): Use it.
4001 (sql-product-interactive): Run `sql-set-sqli-hook'.
4002 (sql-rename-buffer): Code cleanup.
4003 (sql-redirect, sql-redirect-value): New functions. More to come.
4004
4005 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
4006
4007 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.
4008 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
4009 (TRAMP_SRC): New macro.
4010 ($(lisp)/net/tramp-loaddefs.el): New target.
4011
4012 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
4013
4014 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
4015
4016 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
4017
4018 * net/tramp.el (top): Don't show loading message. Require just
4019 'tramp-compat, everything else is required there.
4020 Use `ignore-errors' where appropriate.
4021 (tramp-inline-compress-start-size, tramp-copy-size-limit)
4022 (tramp-terminal-type, tramp-end-of-output)
4023 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
4024 (tramp-completion-function-alist-ssh)
4025 (tramp-completion-function-alist-telnet)
4026 (tramp-completion-function-alist-su)
4027 (tramp-completion-function-alist-putty, tramp-remote-path)
4028 (tramp-remote-process-environment, tramp-sh-extra-args)
4029 (tramp-actions-before-shell, tramp-uudecode)
4030 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
4031 (tramp-perl-file-attributes)
4032 (tramp-perl-directory-files-and-attributes)
4033 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
4034 (tramp-perl-encode, tramp-perl-decode)
4035 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
4036 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
4037 (tramp-handle-make-symbolic-link, tramp-handle-load)
4038 (tramp-handle-file-name-as-directory)
4039 (tramp-handle-file-name-directory)
4040 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
4041 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
4042 (tramp-do-file-attributes-with-ls)
4043 (tramp-do-file-attributes-with-perl)
4044 (tramp-do-file-attributes-with-stat)
4045 (tramp-handle-set-visited-file-modtime)
4046 (tramp-handle-verify-visited-file-modtime)
4047 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
4048 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
4049 (tramp-handle-file-selinux-context)
4050 (tramp-handle-set-file-selinux-context)
4051 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
4052 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
4053 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
4054 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
4055 (tramp-handle-file-ownership-preserved-p)
4056 (tramp-handle-directory-file-name, tramp-handle-directory-files)
4057 (tramp-handle-directory-files-and-attributes)
4058 (tramp-do-directory-files-and-attributes-with-perl)
4059 (tramp-do-directory-files-and-attributes-with-stat)
4060 (tramp-handle-file-name-all-completions)
4061 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
4062 (tramp-handle-copy-file, tramp-handle-copy-directory)
4063 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
4064 (tramp-do-copy-or-rename-file-via-buffer)
4065 (tramp-do-copy-or-rename-file-directly)
4066 (tramp-do-copy-or-rename-file-out-of-band)
4067 (tramp-handle-make-directory, tramp-handle-delete-directory)
4068 (tramp-handle-delete-file)
4069 (tramp-handle-dired-recursive-delete-directory)
4070 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
4071 (tramp-handle-insert-directory)
4072 (tramp-handle-unhandled-file-name-directory)
4073 (tramp-handle-expand-file-name)
4074 (tramp-handle-substitute-in-file-name)
4075 (tramp-handle-executable-find, tramp-process-sentinel)
4076 (tramp-handle-start-file-process, tramp-handle-process-file)
4077 (tramp-handle-call-process-region, tramp-handle-shell-command)
4078 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
4079 (tramp-handle-insert-file-contents)
4080 (tramp-handle-insert-file-contents-literally)
4081 (tramp-handle-find-backup-file-name)
4082 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
4083 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
4084 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
4085 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
4086 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
4087 (tramp-find-file-exists-command, tramp-open-shell)
4088 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
4089 (tramp-open-connection-setup-interactive-shell)
4090 (tramp-local-coding-commands, tramp-remote-coding-commands)
4091 (tramp-find-inline-encoding, tramp-call-local-coding-command)
4092 (tramp-inline-compress-commands, tramp-find-inline-compress)
4093 (tramp-compute-multi-hops, tramp-maybe-open-connection)
4094 (tramp-send-command, tramp-wait-for-output)
4095 (tramp-send-command-and-check, tramp-barf-unless-okay)
4096 (tramp-send-command-and-read, tramp-mode-string-to-int)
4097 (tramp-convert-file-attributes, tramp-check-cached-permissions)
4098 (tramp-file-mode-from-int, tramp-file-mode-permissions)
4099 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
4100 (tramp-method-out-of-band-p, tramp-local-host-p)
4101 (tramp-get-remote-path, tramp-get-remote-tmpdir)
4102 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
4103 (tramp-get-test-command, tramp-get-test-nt-command)
4104 (tramp-get-file-exists-command, tramp-get-remote-ln)
4105 (tramp-get-remote-perl, tramp-get-remote-stat)
4106 (tramp-get-remote-readlink, tramp-get-remote-trash)
4107 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
4108 (tramp-get-local-uid, tramp-get-local-gid)
4109 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
4110 tramp-sh.el.
4111 (tramp-methods, tramp-default-method-alist)
4112 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
4113 Move initialization to tramp-sh.el.
4114 (tramp-temp-name-prefix): Make it a defconst.
4115 (tramp-dissect-file-name): Don't check anymore for multi-hop
4116 methods.
4117 (tramp-debug-outline-regexp): Add a docstring.
4118 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
4119 (tramp-get-debug-buffer): Use it.
4120
4121 * net/tramp-cache.el (top): Set tramp-autoload cookie for
4122 initialization forms.
4123 (tramp-set-connection-property): Don't protect `tramp-message'
4124 call, it isn't necessary any longer.
4125 (tramp-dump-connection-properties): Use `ignore-errors'.
4126
4127 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
4128 'password-cache and 'auth-source.
4129
4130 * net/tramp-gvfs.el (top):
4131 * net/tramp-smb.el (top): Require 'tramp-sh.
4132
4133 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
4134
4135 * net/tramp-sh.el: New file, derived from tramp.el.
4136 (top): Initialize `tramp-methods', `tramp-default-method-alist',
4137 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
4138 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
4139 Use `ignore-errors' where appropriate.
4140 (tramp-sh-file-name-handler-alist): Rename from
4141 `tramp-file-name-handler-alist'.
4142 (tramp-send-command-and-check): Return t or nil. Remove all
4143 `zerop' checks, where called.
4144 (tramp-handle-set-file-modes)
4145 (tramp-do-copy-or-rename-file-directly)
4146 (tramp-handle-delete-directory, tramp-handle-delete-file)
4147 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
4148 (tramp-sh-file-name-handler, tramp-send-command-and-check)
4149 (tramp-get-remote-ln): Set tramp-autoload cookie.
4150
4151 * net/tramp-fish.el: Remove file.
4152
4153 2010-09-13 Daiki Ueno <ueno@unixuser.org>
4154
4155 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
4156 buffer-file-name to avoid file-locking. (Bug#7026)
4157
4158 2010-09-13 Julien Danjou <julien@danjou.info>
4159
4160 * notifications.el (notifications-notify): Add support for
4161 image-path and sound-name.
4162 (notifications-specification-version): Add this variable.
4163
4164 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4165
4166 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
4167
4168 2010-09-12 Leo <sdl.web@gmail.com>
4169
4170 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
4171 (rcirc-completion-start): New variables.
4172 (rcirc-nick-completions): Rename to rcirc-completions.
4173 (rcirc-nick-completion-start-offset): Delete.
4174 (rcirc-completion-at-point): New function for constructing
4175 completion data for both nicks and irc commands. Add to
4176 completion-at-point-functions in rcirc mode.
4177 (rcirc-complete): Rename from rcirc-nick-complete; use
4178 rcirc-completion-at-point.
4179 (defun-rcirc-command): Update rcirc-client-commands.
4180
4181 2010-09-11 Glenn Morris <rgm@gnu.org>
4182
4183 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
4184 atomically, to avoid parallel build errors. (Bug#4196)
4185
4186 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
4187
4188 * progmodes/sql.el: Version 2.6
4189 (sql-dialect): Synonym for "sql-product".
4190 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
4191 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
4192 Set "sql-buffer" to buffer name not buffer object so multiple sql
4193 interactive buffers work properly. Reverts misguided changes in
4194 earlier work.
4195 (sql-comint): Make sure different buffer name is used if "*SQL*"
4196 buffer is for a different product.
4197 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
4198 login param.
4199 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
4200 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
4201 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
4202 Accept new buffer name or prompt for one.
4203 (sql-port): Default to zero.
4204 (sql-comint-mysql): Handle "sql-port" as a numeric.
4205 (sql-port-history): Delete unused variable.
4206 (sql-get-login): Default "sql-port" to a number.
4207 (sql-product-alist): Correct Postgres prompt and terminator regexp.
4208 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
4209 "sqlite3" executables.
4210 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
4211 (sql-buffer-live-p): New function.
4212 (sql-mode-menu, sql-send-string): Use it.
4213 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
4214 syntax pattern.
4215 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
4216 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
4217
4218 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4219
4220 * net/netrc.el (netrc-credentials): New convenience function.
4221
4222 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4223
4224 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
4225 to replace texinfo-font-lock-syntactic-keywords.
4226 (texinfo-mode): Use it.
4227
4228 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
4229 Use syntax-propertize-function.
4230
4231 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
4232 replace sgml-font-lock-syntactic-keywords.
4233 (sgml-mode): Use it.
4234
4235 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
4236 since we don't use it.
4237
4238 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
4239
4240 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
4241 if available.
4242 (vhdl-fontify-buffer): Adjust.
4243
4244 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
4245 replace tcl-font-lock-syntactic-keywords.
4246 (tcl-mode): Use it.
4247
4248 * progmodes/simula.el (simula-syntax-propertize-function): New var to
4249 replace simula-font-lock-syntactic-keywords.
4250 (simula-mode): Use it.
4251
4252 * progmodes/sh-script.el (sh-st-symbol): Remove.
4253 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
4254 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
4255 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
4256 (sh-font-lock-paren): Set syntax-multiline.
4257 (sh-font-lock-syntactic-keywords): Remove.
4258 (sh-syntax-propertize-function): New function to replace it.
4259 (sh-mode): Use it.
4260
4261 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
4262 Define while compiling.
4263 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
4264 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
4265 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
4266 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
4267 (ruby-here-doc-end-syntax): Only define when
4268 syntax-propertize is not available.
4269 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
4270 New functions.
4271 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
4272 (electric-indent-chars): Silence bytecompiler.
4273 (ruby-mode): Use prog-mode, syntax-propertize-function, and
4274 electric-indent-chars.
4275
4276 * progmodes/python.el (python-syntax-propertize-function): New var to
4277 replace python-font-lock-syntactic-keywords.
4278 (python-mode): Use it.
4279 (python-quote-syntax): Simplify and adjust to new use.
4280
4281 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
4282 replace perl-font-lock-syntactic-keywords.
4283 (perl-syntax-propertize-special-constructs): New fun to replace
4284 perl-font-lock-special-syntactic-constructs.
4285 (perl-font-lock-syntactic-face-function): New fun.
4286 (perl-mode): Use it.
4287
4288 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
4289 to replace octave-font-lock-close-quotes.
4290 (octave-syntax-propertize-function): New function to replace
4291 octave-font-lock-syntactic-keywords.
4292 (octave-mode): Use it.
4293
4294 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
4295 replaces mixal-font-lock-syntactic-keywords.
4296 (mixal-mode): Use it.
4297
4298 * progmodes/make-mode.el (makefile-syntax-propertize-function):
4299 New var; replaces makefile-font-lock-syntactic-keywords.
4300 (makefile-mode): Use it.
4301 (makefile-imake-mode): Adjust.
4302
4303 * progmodes/js.el (js--regexp-literal): Define while compiling.
4304 (js-syntax-propertize-function): New var; replaces
4305 js-font-lock-syntactic-keywords.
4306 (js-mode): Use it.
4307
4308 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
4309 replaces gdb-script-font-lock-syntactic-keywords.
4310 (gdb-script-mode): Use it.
4311
4312 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
4313 (fortran--font-lock-syntactic-keywords): New var.
4314 (fortran-line-length): Update syntax-propertize-function and
4315 fortran--font-lock-syntactic-keywords.
4316
4317 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
4318
4319 * progmodes/cfengine.el (cfengine-mode):
4320 Use syntax-propertize-function.
4321 (cfengine-font-lock-syntactic-keywords): Remove.
4322
4323 * progmodes/autoconf.el (autoconf-mode):
4324 Use syntax-propertize-function.
4325 (autoconf-font-lock-syntactic-keywords): Remove.
4326
4327 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
4328 (ada-after-change-function, ada-initialize-syntax-table-properties)
4329 (ada-handle-syntax-table-properties): Only define when
4330 syntax-propertize is not available.
4331 (ada-mode): Use syntax-propertize-function.
4332
4333 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
4334 (font-lock-fontify-syntactic-keywords-region): Move handling of
4335 font-lock-syntactically-fontified to...
4336 (font-lock-default-fontify-region): ...here.
4337 Let syntax-propertize-function take precedence.
4338 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
4339
4340 * emacs-lisp/syntax.el (syntax-propertize-function)
4341 (syntax-propertize-chunk-size, syntax-propertize--done)
4342 (syntax-propertize-extend-region-functions): New vars.
4343 (syntax-propertize-wholelines, syntax-propertize-multiline)
4344 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
4345 (syntax-propertize): New functions.
4346 (syntax-propertize-rules): New macro.
4347 (syntax-ppss-flush-cache): Set syntax-propertize--done.
4348 (syntax-ppss): Call syntax-propertize.
4349
4350 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
4351
4352 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
4353
4354 * textmodes/ispell.el (ispell-init-process): Improve comments.
4355 XEmacs compatibility changes regarding (add-hook) 'local option
4356 and (set-process-query-on-exit-flag).
4357
4358 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
4359
4360 * net/tramp-cache.el (tramp-parse-connection-properties):
4361 Set tramp-autoload cookie.
4362
4363 2010-09-09 Glenn Morris <rgm@gnu.org>
4364
4365 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
4366 (imagemagick-register-types): Doc fix.
4367
4368 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
4369
4370 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
4371
4372 * progmodes/js.el (require): Require is already "eval-and-compile".
4373 (js--re-search-forward): Avoid `eval'. Preserve the error data.
4374 (js--re-search-backward): Use js--re-search-forward.
4375
4376 * progmodes/fortran.el (fortran-line-length): Don't recompute
4377 syntactic keywords redundantly a second time.
4378
4379 * progmodes/ada-mode.el: Replace "(set '" with setq.
4380 (ada-mode): Simplify.
4381 (ada-create-case-exception, ada-adjust-case-interactive)
4382 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
4383 (ada-search-ignore-string-comment, ada-move-to-start)
4384 (ada-move-to-end): Use with-syntax-table.
4385
4386 * font-lock.el (save-buffer-state): Remove `varlist' arg.
4387 (font-lock-unfontify-region, font-lock-default-fontify-region):
4388 Update usage correspondingly.
4389 (font-lock-fontify-syntactic-keywords-region):
4390 Set parse-sexp-lookup-properties buffer-locally here.
4391 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
4392
4393 * simple.el (blink-matching-open): Don't burp if we can't find a match.
4394
4395 2010-09-08 Glenn Morris <rgm@gnu.org>
4396
4397 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
4398 Error if not compiled with -DBYTE_CODE_METER.
4399
4400 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4401 Ignore dir-locals-file.
4402
4403 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
4404
4405 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4406 Not a const.
4407 (compilation-error-regexp-alist-alist): Rule out ": " in file names
4408 for the `gnu' messages.
4409 (compilation-set-skip-threshold): New command.
4410 (compilation-start): Use \' rather than $.
4411 (compilation-forget-errors): Use clrhash.
4412
4413 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
4414
4415 * textmodes/ispell.el (ispell-valid-dictionary-list):
4416 Simplify logic.
4417
4418 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
4419
4420 Migrate to Tramp 2.2. Rearrange load dependencies.
4421 (Bug#1529, Bug#5448, Bug#5705)
4422
4423 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
4424 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
4425 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
4426
4427 * net/tramp.el (top): Remove all other tramp-* loads except
4428 tramp-compat.el. Remove all changes to tramp-unload-hook for
4429 other tramp-* packages. Rearrange defun order. Change calls of
4430 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
4431 `tramp-compat-octal-to-decimal' to new function names.
4432 (tramp-terminal-type, tramp-initial-end-of-output)
4433 (tramp-methods, tramp-foreign-file-name-handler-alist)
4434 (tramp-tramp-file-p, tramp-completion-mode-p)
4435 (tramp-send-command-and-check, tramp-get-remote-path)
4436 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
4437 (tramp-shell-quote-argument): Set tramp-autoload cookie.
4438 (with-file-property, with-connection-property): Move to
4439 tramp-cache.el.
4440 (tramp-local-call-process, tramp-decimal-to-octal)
4441 (tramp-octal-to-decimal): Move to tramp-compat.el.
4442 (tramp-handle-shell-command): Do not require 'shell.
4443 (tramp-compute-multi-hops): No special handling for tramp-gw-*
4444 symbols.
4445 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
4446
4447 * net/tramp-cache.el (top): Require 'tramp. Add to
4448 `tramp-unload-hook'.
4449 (tramp-cache-data, tramp-get-file-property)
4450 (tramp-set-file-property, tramp-flush-file-property)
4451 (tramp-flush-directory-property, tramp-get-connection-property)
4452 (tramp-set-connection-property, tramp-flush-connection-property)
4453 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
4454 cookie.
4455 (with-file-property, with-connection-property): New defuns, moved
4456 from tramp.el.
4457 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
4458 macro.
4459
4460 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
4461 (tramp-version): Set tramp-autoload cookie.
4462
4463 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
4464 changes to tramp-unload-hook for other tramp-* packages. Add to
4465 `tramp-unload-hook'.
4466 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
4467 (tramp-compat-call-process): New defuns, moved from tramp.el.
4468
4469 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
4470 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
4471 Add to `tramp-unload-hook'. Change call of
4472 `tramp-compat-decimal-to-octal' to new function name.
4473 (tramp-fish-method): Make it a defconst.
4474 (tramp-fish-file-name-p): Make it a defsubst.
4475 (tramp-fish-method, tramp-fish-file-name-handler)
4476 (tramp-fish-file-name-p): Set tramp-autoload cookie.
4477
4478 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
4479 `tramp-foreign-file-name-handler-alist'. Add to
4480 `tramp-unload-hook'.
4481 (tramp-ftp-method): Make it a defconst.
4482 (tramp-ftp-file-name-p): Make it a defsubst.
4483 (tramp-ftp-method, tramp-ftp-file-name-handler)
4484 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
4485
4486 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
4487 `tramp-foreign-file-name-handler-alist'. Add to
4488 `tramp-unload-hook'. Change checks, whether package can be
4489 loaded.
4490 (tramp-gvfs-file-name-p): Make it a defsubst.
4491 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
4492 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
4493 (tramp-gvfs-handle-file-directory-p): New defun.
4494 (tramp-gvfs-file-name-handler-alist): Use it.
4495
4496 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
4497 `tramp-foreign-file-name-handler-alist'. Add to
4498 `tramp-unload-hook'.
4499 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
4500 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
4501 defconst.
4502 (tramp-gw-tunnel-method, tramp-gw-socks-method)
4503 (tramp-gw-open-connection): Set tramp-autoload cookie.
4504
4505 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
4506 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
4507 Add to `tramp-unload-hook'. Change checks, whether package can be
4508 loaded.
4509 (tramp-imap-file-name-p): Make it a defsubst.
4510 (tramp-imap-method, tramp-imaps-method)
4511 (tramp-imap-file-name-handler)
4512 (tramp-imap-file-name-p): Set tramp-autoload cookie.
4513
4514 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
4515 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
4516 Add to `tramp-unload-hook'. Change checks, whether package can be
4517 loaded. Change call of `tramp-compat-decimal-to-octal' to new
4518 function name.
4519 (tramp-smb-tunnel-method): Make it a defconst.
4520 (tramp-smb-file-name-p): Make it a defsubst.
4521 (tramp-smb-method, tramp-smb-file-name-handler)
4522 (tramp-smb-file-name-p): Set tramp-autoload cookie.
4523
4524 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
4525 (tramp-uuencode-region): Set tramp-autoload cookie.
4526
4527 * net/trampver.el (top) Add to `tramp-unload-hook'.
4528 (tramp-version, tramp-bug-report-address): Set tramp-autoload
4529 cookie. Update release number.
4530
4531 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
4532
4533 * textmodes/ispell.el (ispell-start-process): Make sure original
4534 arg list is properly initialized (Bug#6993, Bug#6994).
4535
4536 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
4537
4538 * files.el (directory-abbrev-alist): Use \` as default regexp.
4539
4540 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
4541 chars like - or ] (bug#6984).
4542 (rx-any-condense-range): Explode 2-char ranges.
4543
4544 2010-09-06 Glenn Morris <rgm@gnu.org>
4545
4546 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
4547
4548 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4549
4550 * textmodes/bibtex.el:
4551 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
4552
4553 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4554
4555 * net/imap.el (imap-message-map): Remove optional buffer parameter,
4556 since no callers use it.
4557 (imap-message-get): Ditto.
4558 (imap-message-put): Ditto.
4559 (imap-mailbox-map): Ditto.
4560 (imap-mailbox-put): Ditto.
4561 (imap-mailbox-get): Ditto.
4562 (imap-mailbox-get): Revert last change for this function.
4563
4564 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4565
4566 * net/imap.el (imap-fetch-safe): Remove function, and alter all
4567 callers to use `imap-fetch' instead. According to the comments, this
4568 should be safe, since all other IMAP clients use the 1:* syntax.
4569 (imap-enable-exchange-bug-workaround): Remove.
4570 (imap-debug): Remove -- doesn't seem very useful.
4571
4572 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4573
4574 * net/imap.el (imap-log): New convenience function used throughout
4575 instead of repeating the same code all over the place.
4576
4577 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
4578
4579 * mouse.el (mouse-save-then-kill): Save region to kill-ring
4580 when mouse-drag-copy-region is non-nil (Bug#6956).
4581
4582 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
4583
4584 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
4585 Improve regexps (Bug#6987).
4586 (dired-sort-toggle): Search more robustly for -t flag.
4587
4588 * files.el (get-free-disk-space): Search more robustly for
4589 "available" column. Suggested by Ehud Karni
4590 <ehud@unix.mvs.co.il>.
4591
4592 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
4593
4594 * international/uni-bidi.el:
4595 * international/uni-category.el:
4596 * international/uni-combining.el:
4597 * international/uni-decimal.el:
4598 * international/uni-mirrored.el:
4599 * international/uni-name.el: Regenerate.
4600
4601 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4602
4603 * electric.el (electric-indent-post-self-insert-function):
4604 Don't reindent with a sloppy indentation function.
4605
4606 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
4607 border case in change-log-mode.
4608
4609 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
4610
4611 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4612 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
4613 Recognize leading tab in gcc-include regexp. Ignore names with
4614 leading "from" or "in" in gnu regexp (Bug#6937).
4615
4616 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4617
4618 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
4619 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
4620 (ispell-start-process): Avoid setq and simplify logic.
4621 (ispell-init-process): Setup kill-buffer-hook locally when needed.
4622 (kill-buffer-hook): Don't use it globally with code that uses
4623 expand-file-name since that may call kill-buffer via
4624 code_conversion_restore.
4625
4626 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
4627
4628 * emacs-lisp/package.el (package-directory-list): Only call
4629 file-name-nondirectory on a string.
4630
4631 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
4632
4633 * emacs-lisp/package.el (package--download-one-archive):
4634 Ensure that archive-contents is valid before saving it.
4635 (package-activate-1, package-mark-obsolete, define-package)
4636 (package-compute-transaction, package-list-maybe-add): Use push.
4637
4638 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4639
4640 Use SMIE's blink-paren for octave-mode.
4641 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
4642 Backslashes do not escape single-quotes, single-quotes do.
4643 (octave-block-else-regexp, octave-block-end-regexp)
4644 (octave-block-match-alist): Remove.
4645 (octave-smie-bnf-table): New var, with old content.
4646 (octave-smie-op-levels): Use it.
4647 (octave-smie-closer-alist): New var.
4648 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
4649 (octave-blink-matching-block-open): Remove.
4650 (octave-reindent-then-newline-and-indent, octave-electric-semi)
4651 (octave-electric-space): Let self-insert-command run expand-abbrev and
4652 blink parens.
4653
4654 * electric.el (electricity): New group.
4655 (electric-indent-chars): New var.
4656 (electric-indent-post-self-insert-function): New fun.
4657 (electric-indent-mode): New minor mode.
4658 (electric-pair-skip-self): New custom.
4659 (electric-pair-post-self-insert-function): New function.
4660 (electric-pair-mode): New minor mode.
4661
4662 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
4663 calcAlg-blink-matching-open.
4664 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
4665 (calc-do-alg-entry): Only touch the part of the keymap that varies.
4666 Use the new blink-matching-check-function.
4667
4668 Provide blink-matching support to SMIE.
4669 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
4670 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
4671 (smie-blink-matching-check, smie-blink-matching-open): New functions.
4672
4673 * simple.el (newline): Fix last change to properly remove itself from
4674 the hook.
4675
4676 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
4677
4678 * simple.el (newline): Eliminate optimization.
4679 Use post-self-insert-hook to set hard-newline and things before
4680 running post-self-insert-hook.
4681 (blink-matching-check-mismatch): New function.
4682 (blink-matching-check-function): New variable.
4683 (blink-matching-open): Use them.
4684 Skip back forward over prefix chars skipped by forward-sexp.
4685 Don't check if the parens are backslash escaped.
4686 (blink-paren-post-self-insert-function): Check backslash escaping here.
4687
4688 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
4689
4690 * emacs-lisp/package.el (package-menu-mode-map):
4691 Change package-menu-revert bindings to revert-buffer.
4692 (package-menu-mode): Set revert-buffer-function.
4693 (package-menu-revert): Doc fix.
4694
4695 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
4696
4697 * textmodes/ispell.el (ispell-init-process): Use "~/" as
4698 `default-directory' unless using Ispell per-directory personal
4699 dictionaries and not in a mini-buffer under XEmacs.
4700 (kill-buffer-hook): Do not kill ispell process on exit when
4701 `ispell-process-directory' is "~/". (Bug#6143)
4702
4703 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
4704
4705 * simple.el (kill-new): Call interprogram-cut-function with only
4706 one argument.
4707
4708 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
4709 Remove cut buffer from error message.
4710
4711 * term/x-win.el (x-select-text):
4712 * term/pc-win.el (x-selection-value):
4713 * term/ns-win.el (x-selection-value):
4714 * eshell/em-term.el:
4715 * w32-fns.el (x-get-selection-value):
4716 * mouse-sel.el (mouse-sel-set-selection-function):
4717 * frame.el (display-selections-p): Remove cut-buffer in documentation.
4718
4719 * term/x-win.el: Update documentation for x-last-selected-text-*.
4720 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
4721 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
4722 (x-select-text): Remove argument PUSH, update documentation.
4723 Remove cut-buffer code.
4724 (x-selection-value-internal): Was previously x-selection-value.
4725 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
4726 Update documentation, remove cut-buffer code.
4727 Call x-selection-value-internal.
4728 (x-clipboard-yank): Call x-selection-value-internal.
4729 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
4730
4731 * term/pc-win.el (x-last-selected-text):
4732 x-cut-buffer-or-selection-value renamed to x-selection-value
4733 (x-select-text): Remove argument PUSH, update documentation.
4734
4735 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
4736 x-cut-buffer-or-selection-value renamed to x-selection-value
4737 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
4738 (x-select-text): Remove argument PUSH, update documentation.
4739
4740 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
4741
4742 * w32-fns.el (x-last-selected-text):
4743 x-cut-buffer-or-selection-value renamed to x-selection-value.
4744 (x-cut-buffer-max): Remove.
4745 (x-select-text): Remove argument PUSH, update documentation.
4746
4747 * simple.el (interprogram-cut-function): Remove mention of PUSH.
4748
4749 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
4750
4751 * mouse-sel.el (mouse-sel-get-selection-function):
4752 x-cut-buffer-or-selection-value renamed to x-selection-value.
4753 (x-select-text): Remove optional push.
4754
4755 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
4756
4757 * simple.el (blink-paren-function): Move from C to here.
4758 (blink-paren-post-self-insert-function): New function.
4759 (post-self-insert-hook): Use it.
4760
4761 * emacs-lisp/pcase.el (pcase-split-memq):
4762 Fix overenthusiastic optimisation.
4763 (pcase-u1): Handle the case of a lambda pred.
4764
4765 2010-08-31 Kenichi Handa <handa@m17n.org>
4766
4767 * international/mule-cmds.el (standard-display-european-internal):
4768 Setup standard-display-table for 8-bit characters by storing 8-bit
4769 characters in the element vector.
4770
4771 * disp-table.el (standard-display-8bit):
4772 Setup standard-display-table for 8-bit characters by storing 8-bit
4773 characters in the element vector.
4774 (standard-display-european): Likewise.
4775
4776 2010-08-31 Masatake YAMATO <yamato@redhat.com>
4777
4778 * textmodes/nroff-mode.el (nroff-view): New command.
4779 (nroff-mode-map): Bind it to C-c C-c.
4780
4781 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
4782
4783 * emacs-lisp/smie.el (smie-down-list): New command.
4784
4785 Remove old indentation and navigation code on octave-mode.
4786 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
4787 smie-down-list rather than add a binding for octave-down-block.
4788 (octave-mark-block, octave-blink-matching-block-open):
4789 Rely on forward-sexp-function.
4790 (octave-fill-paragraph): Don't narrow, so you can use
4791 indent-according-to-mode.
4792 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
4793 (octave-in-block-p, octave-re-search-forward-kw)
4794 (octave-re-search-backward-kw, octave-indent-calculate)
4795 (octave-end-as-array-index-p, octave-block-end-offset)
4796 (octave-scan-blocks, octave-forward-block, octave-backward-block)
4797 (octave-down-block, octave-backward-up-block, octave-up-block)
4798 (octave-before-magic-comment-p, octave-indent-line): Remove.
4799
4800 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
4801
4802 * emacs-lisp/package.el (package--read-archive-file): Just use
4803 `read', to avoid copying an additional string.
4804 (package-menu-mode): Set header-line-format here.
4805 (package-menu-refresh, package-menu-revert): Signal an error if
4806 not in the Package Menu.
4807 (package-menu-package-list): New var.
4808 (package--generate-package-list): Operate on the current buffer;
4809 don't assume that it is *Packages*, since the user may rename it.
4810 Allow persistent package listings and sort keys using
4811 package-menu-package-list and package-menu-package-sort-key.
4812 (package-menu--version-predicate): Fix version calculation.
4813 (package-menu-sort-by-column): Don't select the window.
4814 (package--list-packages): Create the *Packages* buffer.
4815 Set package-menu-package-list-key.
4816 (list-packages): Sorting by status is now the default.
4817 (package-buffer-info): Use match-string-no-properties.
4818 (define-package): Add a &rest argument for future proofing, but
4819 don't use it yet.
4820 (package-install-from-buffer, package-install-buffer-internal):
4821 Merge into a single function, package-install-from-buffer.
4822 (package-install-file): Change caller.
4823
4824 * finder.el: Load finder-inf using `require'.
4825 (finder-list-matches): Sorting by status is now the default.
4826 (finder-compile-keywords): Simpify printing.
4827
4828 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
4829
4830 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
4831 (octave-mode-map): Remove special bindings for forward/backward-block
4832 and octave-backward-up-block. Use smie-close-block.
4833 (octave-continuation-marker-regexp): New var.
4834 (octave-continuation-regexp): Use it.
4835 (octave-operator-table, octave-smie-op-levels)
4836 (octave-operator-regexp, octave-smie-indent-rules): New vars.
4837 (octave-smie-backward-token, octave-smie-forward-token): New funs.
4838 (octave-mode): Use SMIE.
4839 (octave-close-block): Delete.
4840
4841 2010-08-30 Eli Zaretskii <eliz@gnu.org>
4842
4843 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
4844 CLIPBOARD, not in PRIMARY. (Bug#6944)
4845
4846 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
4847
4848 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
4849 a list of parents.
4850 (smie-indent-column): Allow indirection through variables.
4851
4852 * composite.el (save-buffer-state): Delete, unused.
4853 * font-lock.el (save-buffer-state): Use with-silent-modifications.
4854 (font-lock-default-fontify-region): Use with-syntax-table.
4855 * jit-lock.el (with-buffer-unmodified): Remove.
4856 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
4857
4858 Use `declare' in defmacros.
4859 * window.el (save-selected-window):
4860 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
4861 * progmodes/python.el (def-python-skeleton):
4862 * net/dbus.el (dbus-ignore-errors):
4863 * jka-cmpr-hook.el (with-auto-compression-mode):
4864 * international/mule.el (with-category-table):
4865 * emacs-lisp/timer.el (with-timeout):
4866 * emacs-lisp/lisp-mnt.el (lm-with-file):
4867 * emacs-lisp/eieio.el (with-slots):
4868 * emacs-lisp/easymenu.el (easy-menu-define):
4869 * emacs-lisp/debug.el (debugger-env-macro):
4870 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
4871 (Multiple-value-call, Multiple-value-prog1):
4872 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
4873 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
4874 edebug rule to definition.
4875 * emacs-lisp/lisp-mode.el (save-selected-window)
4876 (with-current-buffer, combine-after-change-calls)
4877 (with-output-to-string, with-temp-file, with-temp-buffer)
4878 (with-temp-message, with-syntax-table, read-if, eval-after-load)
4879 (dolist, dotimes, when, unless):
4880 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
4881
4882 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
4883
4884 * finder.el: Require `package'.
4885 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
4886 (finder-package-info): Var deleted.
4887 (finder-keywords-hash, finder--builtins-alist): New vars.
4888 (finder-compile-keywords): Compute package--builtins and
4889 finder-keywords-hash instead of finder-keywords-hash, respecting
4890 the "Package" header.
4891 (finder-unknown-keywords, finder-list-matches):
4892 Use finder-keywords-hash and package--list-packages.
4893 (finder-mode): Don't set font-lock-defaults.
4894 (finder-exit): We don't use "*Finder-package*" and "*Finder
4895 Category*" buffers anymore.
4896
4897 * emacs-lisp/package.el (package--builtins-base): Var deleted.
4898 (package--builtins): Set default value to nil.
4899 (package-initialize): Load precomputed value of package--builtins
4900 from finder-inf.el.
4901 (package-alist, package-compute-transaction)
4902 (package-download-transaction): Improve docstring.
4903 (package-read-all-archive-contents): Do not change
4904 package--builtins here.
4905 (list-packages): Make package-list-packages an alias for this.
4906 Sort by status by default.
4907 (package--list-packages): Add optional PACKAGES arg.
4908 (describe-package-1): Use font-lock-face property. For built-in
4909 packages, insert file commentary.
4910 (package--generate-package-list): Rename from
4911 package-list-packages-internal; all callers changed. Add optional
4912 PACKAGES arg. Add alphabetical sort fallbacks.
4913 (package-menu--version-predicate, package-menu--status-predicate)
4914 (package-menu--description-predicate)
4915 (package-menu--name-predicate): New functions.
4916
4917 * info.el (Info-finder-find-node): Search package-alist instead of
4918 finder-package-info.
4919
4920 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
4921
4922 * subr.el (version-regexp-alist): Don't use "a" and "b" for
4923 "alpha" and "beta".
4924 (version-to-list): Handle versions like "10.3d".
4925
4926 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4927
4928 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
4929 (macroexp-accumulate): Use `declare'.
4930
4931 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4932
4933 * whitespace.el (whitespace-style): Adjust type declaration.
4934
4935 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
4936
4937 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
4938 empty argument to gvfs-copy.
4939
4940 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
4941
4942 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
4943 handle new TRASH arg of `delete-file'.
4944
4945 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
4946
4947 * net/tramp.el (tramp-handle-insert-directory): Don't use
4948 `forward-word', its default syntax could be changed.
4949
4950 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
4951 Michael Albinus <michael.albinus@gmx.de>
4952
4953 Implement compression for inline methods.
4954
4955 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
4956 (tramp-copy-size-limit): Allow also nil.
4957 (tramp-inline-compress-commands): New defconst.
4958 (tramp-find-inline-compress, tramp-get-inline-compress)
4959 (tramp-get-inline-coding): New defuns.
4960 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
4961 replaced by `tramp-get-inline-coding'.
4962 (tramp-handle-file-local-copy, tramp-handle-write-region)
4963 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
4964
4965 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
4966
4967 Detect ssh 'ControlMaster' argument automatically in some cases.
4968
4969 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
4970 (tramp-default-method): Use it.
4971
4972 2010-08-26 Karel Klíč <kklic@redhat.com>
4973
4974 * net/tramp.el (tramp-file-name-for-operation):
4975 Add file-selinux-context.
4976
4977 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
4978
4979 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
4980
4981 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
4982
4983 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
4984 (Bug#6907).
4985
4986 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
4987
4988 * progmodes/js.el: Make indentation more customizable (Bug#6914).
4989 (js-paren-indent-offset, js-square-indent-offset)
4990 (js-curly-indent-offset): New options.
4991 (js--proper-indentation): Use them.
4992
4993 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
4994
4995 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
4996 instead of inspecting font-lock properties (Bug#6916).
4997
4998 2010-08-26 David Reitter <david.reitter@gmail.com>
4999
5000 * server.el (server-visit-files): Run pre-command-hook and
5001 post-command-hook for each buffer while it is current (Bug#6910).
5002 (server-execute): Do not run hooks here.
5003
5004 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
5005
5006 Sync with Tramp 2.1.19.
5007
5008 * net/tramp-cmds.el (tramp-cleanup-all-connections)
5009 (tramp-reporter-dump-variable, tramp-load-report-modules)
5010 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
5011 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
5012
5013 * net/tramp-compat.el (top): Do not autoload
5014 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
5015 only when `start-file-process' is not bound.
5016 (byte-compile-not-obsolete-vars): Define if not bound.
5017 (tramp-compat-funcall): New defmacro.
5018 (tramp-compat-line-beginning-position)
5019 (tramp-compat-line-end-position)
5020 (tramp-compat-temporary-file-directory)
5021 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
5022 (tramp-compat-copy-file, tramp-compat-copy-directory)
5023 (tramp-compat-delete-file, tramp-compat-delete-directory)
5024 (tramp-compat-number-sequence, tramp-compat-process-running-p):
5025 Use it.
5026 (tramp-advice-file-expand-wildcards): Do not use
5027 `tramp-handle-file-remote-p'.
5028 (tramp-compat-make-temp-file): Simplify fallback implementation.
5029 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
5030 (tramp-compat-copy-tree): Remove function.
5031 (tramp-compat-delete-file): New defun.
5032 (tramp-compat-delete-directory): Provide implementation for older
5033 Emacsen.
5034 (tramp-compat-file-attributes): Handle only
5035 `wrong-number-of-arguments' error.
5036
5037 * net/tramp-fish.el (tramp-fish-handle-copy-file):
5038 Add PRESERVE_SELINUX_CONTEXT.
5039 (tramp-fish-handle-delete-file): Add TRASH arg.
5040 (tramp-fish-handle-directory-files-and-attributes):
5041 Do not use `tramp-fish-handle-file-attributes.
5042 (tramp-fish-handle-file-local-copy)
5043 (tramp-fish-handle-insert-file-contents)
5044 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
5045
5046 * net/tramp-gvfs.el (top): Require url-util.
5047 (tramp-gvfs-mount-point): Remove.
5048 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
5049 and `set-file-selinux-context'.
5050 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
5051 (tramp-gvfs-handle-file-selinux-context)
5052 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
5053 (with-tramp-dbus-call-method): Format trace message.
5054 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
5055 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
5056 Implement backup call, when operation on local files fails.
5057 Use progress reporter. Flush properties of changed files.
5058 (tramp-gvfs-handle-delete-file): Add TRASH arg.
5059 Use `tramp-compat-delete-file'.
5060 (tramp-gvfs-handle-expand-file-name): Expand "~/".
5061 (tramp-gvfs-handle-make-directory): Make more traces.
5062 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
5063 (tramp-gvfs-url-file-name): Hexify file name in url.
5064 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
5065 into account for the resulting file name.
5066 (tramp-gvfs-handler-askquestion): Preserve current message, in
5067 order to let progress reporter continue afterwards. (Bug#6257)
5068 Return dummy mountpoint, when the answer is "no".
5069 See `tramp-gvfs-maybe-open-connection'.
5070 (tramp-gvfs-handler-mounted-unmounted)
5071 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
5072 attribute "default_location". Set "prefix" property.
5073 Handle default-location.
5074 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
5075 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
5076 exists. Raise an error, if not (due to a corresponding answer
5077 "no" in interactive questions, for example).
5078 Use `tramp-compat-funcall'.
5079
5080 * net/tramp-imap.el (top): Autoload `epg-make-context'.
5081 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
5082 (tramp-imap-do-copy-or-rename-file)
5083 (tramp-imap-handle-insert-file-contents)
5084 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
5085 (tramp-imap-handle-delete-file): Add TRASH arg.
5086
5087 * net/tramp-smb.el (tramp-smb-handle-copy-file):
5088 Add PRESERVE-SELINUX-CONTEXT.
5089 (tramp-smb-handle-copy-file)
5090 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
5091 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
5092 Use `with-progress-reporter'.
5093 (tramp-smb-handle-delete-file): Add TRASH arg.
5094
5095 * net/tramp.el (tramp-methods): Move hostname to the end in all
5096 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
5097 appropriate.
5098 (tramp-verbose): Describe verbose level 9.
5099 (tramp-completion-function-alist)
5100 (tramp-file-name-regexp, tramp-chunksize)
5101 (tramp-local-coding-commands, tramp-remote-coding-commands)
5102 (with-connection-property, tramp-completion-mode-p)
5103 (tramp-action-process-alive, tramp-action-out-of-band)
5104 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
5105 (tramp-exists-file-name-handler): Fix docstring.
5106 (tramp-remote-process-environment): Use `format' instead of
5107 `concat'. Protect version string by apostroph.
5108 (tramp-shell-prompt-pattern): Do not use a shy group in case of
5109 XEmacs.
5110 (tramp-file-name-regexp-unified)
5111 (tramp-completion-file-name-regexp-unified): On W32 systems, do
5112 not regard the volume letter as remote filename. (Bug#5447)
5113 (tramp-perl-file-attributes)
5114 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
5115 (tramp-vc-registered-read-file-names): Read input as
5116 here-document, otherwise the command could exceed maximum length
5117 of command line.
5118 (tramp-file-name-handler-alist): Add `file-selinux-context' and
5119 `set-file-selinux-context'.
5120 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
5121 backtrace functions.
5122 (tramp-error-with-buffer): Don't show the connection buffer when
5123 we are in completion mode.
5124 (tramp-progress-reporter-update, tramp-remote-selinux-p)
5125 (tramp-handle-file-selinux-context)
5126 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
5127 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
5128 New defuns.
5129 (with-progress-reporter): New defmacro.
5130 (tramp-debug-outline-regexp): New defconst.
5131 (top, tramp-rfn-eshadow-setup-minibuffer)
5132 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
5133 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
5134 (tramp-completion-mode-p, tramp-check-for-regexp)
5135 (tramp-open-connection-setup-interactive-shell)
5136 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
5137 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
5138 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
5139 Use `tramp-compat-funcall'.
5140 (tramp-handle-make-symbolic-link): Flush file properties.
5141 (tramp-handle-load, tramp-handle-file-local-copy)
5142 (tramp-handle-insert-file-contents, tramp-handle-write-region)
5143 (tramp-handle-vc-registered, tramp-maybe-send-script)
5144 (tramp-find-shell): Use `with-progress-reporter'.
5145 (tramp-do-file-attributes-with-stat): Add space in format string,
5146 in order to work around a bug in pdksh. Reported by Gilles Pion
5147 <gpion@lfdj.com>.
5148 (tramp-handle-verify-visited-file-modtime): Do not send a command
5149 when the connection is not established.
5150 (tramp-handle-set-file-times): Simplify the check for utc.
5151 (tramp-handle-directory-files-and-attributes)
5152 (tramp-get-remote-path): Use `copy-tree'.
5153 (tramp-completion-handle-file-name-all-completions): Ensure, that
5154 non remote files are still checked. Oops.
5155 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
5156 Handle PRESERVE-SELINUX-CONTEXT.
5157 (tramp-do-copy-or-rename-file): Add progress reporter.
5158 (tramp-do-copy-or-rename-file-directly): Do not use
5159 `tramp-handle-file-remote-p'.
5160 (tramp-do-copy-or-rename-file-out-of-band):
5161 Use `tramp-compat-delete-directory'.
5162 (tramp-do-copy-or-rename-file-out-of-band)
5163 (tramp-compute-multi-hops, tramp-maybe-open-connection):
5164 Use `format-spec-make'.
5165 (tramp-handle-delete-file): Add TRASH arg.
5166 (tramp-handle-dired-uncache): Flush directory cache, not only file
5167 cache.
5168 (tramp-handle-expand-file-name)
5169 (tramp-completion-handle-file-name-all-completions)
5170 (tramp-completion-handle-file-name-completion):
5171 Use `tramp-connectable-p'.
5172 (tramp-handle-start-file-process): Set connection property "vec".
5173 Use it, in order to invalidate file caches. Check only for
5174 `remote-tty' process property.
5175 Implement tty setting. (Bug#4604, Bug#6360)
5176 (tramp-file-name-for-operation): Add `call-process-region' and
5177 `set-file-selinux-context'.
5178 (tramp-find-foreign-file-name-handler)
5179 (tramp-advice-make-auto-save-file-name)
5180 (tramp-set-auto-save-file-modes): Remove superfluous check for
5181 `stringp'. This is done inside `tramp-tramp-file-p'.
5182 (tramp-file-name-handler): Trace 'quit. Catch the error for some
5183 operations when we are in completion mode. This gives the user
5184 the chance to correct the file name in the minibuffer.
5185 (tramp-completion-mode-p): Use `non-essential'.
5186 (tramp-handle-file-name-all-completions): Backward/ XEmacs
5187 compatibility: Use `completion-ignore-case' if
5188 `read-file-name-completion-ignore-case' does not exist.
5189 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
5190 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5191 `tramp-open-shell'.
5192 (tramp-action-password): Hide password prompt before next run.
5193 (tramp-process-actions): Widen connection buffer for the trace.
5194 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
5195 process property. Trace stty settings if `tramp-verbose' >= 9.
5196 Apply workaround for IRIX64 bug. Move argument of last
5197 `tramp-send-command' where it belongs to.
5198 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
5199 front of `login-args'.
5200 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
5201 on "/dev/null" instead of "/".
5202 (tramp-get-ls-command-with-dired): Make test for "--dired"
5203 stronger.
5204 (tramp-set-auto-save-file-modes): Adapt version check.
5205 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
5206 (tramp-handle-process-file): Call the program in a subshell, in
5207 order to preserve working directory.
5208 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
5209 `tramp-remote-sh' from `tramp-methods'.
5210 (tramp-get-ls-command): Make test for "--color=never" stronger.
5211 (tramp-check-for-regexp): Use (forward-line 1).
5212
5213 * net/trampver.el: Update release number.
5214
5215 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
5216
5217 * help.el (help-map): Bind `C-h P' to describe-package.
5218
5219 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
5220
5221 * emacs-lisp/package.el (package-refresh-contents): Catch errors
5222 when downloading archives.
5223 (describe-package-1): Add package commentary.
5224 (package-install-button-action): New function.
5225 (package-menu-mode-map): Bind ? to package-menu-describe-package.
5226 (package-menu-view-commentary): Function removed.
5227 (package-list-packages-internal): Hide the `package' package too.
5228
5229 2010-08-25 Kenichi Handa <handa@m17n.org>
5230
5231 * language/misc-lang.el ("Arabic"): New language environment.
5232 Setup composition-function-table for Arabic characters.
5233
5234 * international/fontset.el (setup-default-fontset): Fix typo for
5235 arabic OTF spec (fini->fina).
5236
5237 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
5238
5239 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
5240 on all frames.
5241
5242 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5243
5244 * whitespace.el: Allow cleaning up blanks without blank
5245 visualization (Bug#6651). Adjust help window for
5246 whitespace-toggle-options (Bug#6479). Allow to use fill-column
5247 instead of whitespace-line-column (from EmacsWiki). New version
5248 13.1.
5249 (whitespace-style): Add new value 'face. Adjust docstring.
5250 (whitespace-space, whitespace-hspace, whitespace-tab):
5251 Adjust foreground property face.
5252 (whitespace-line-column): Adjust docstring and type declaration.
5253 (whitespace-style-value-list, whitespace-toggle-option-alist)
5254 (whitespace-help-text): Adjust const initialization.
5255 (whitespace-toggle-options, global-whitespace-toggle-options):
5256 Adjust docstring.
5257 (whitespace-display-window, whitespace-interactive-char)
5258 (whitespace-style-face-p, whitespace-color-on): Adjust code.
5259 (whitespace-help-scroll): New fun.
5260
5261 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
5262
5263 * emacs-lisp/package.el (list-packages): Alias for
5264 package-list-packages.
5265
5266 2010-08-24 Kevin Ryde <user42@zip.com.au>
5267
5268 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
5269 (Bug#5651).
5270
5271 * progmodes/ruby-mode.el (ruby): Add defgroup.
5272
5273 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
5274
5275 * progmodes/python.el: Add Ipython support (Bug#5390).
5276 (python-shell-prompt-alist)
5277 (python-shell-continuation-prompt-alist): New options.
5278 (python--set-prompt-regexp): New function.
5279 (inferior-python-mode, run-python, python-shell):
5280 Require ansi-color. Use python--set-prompt-regexp to set the comint
5281 prompt based on the Python interpreter.
5282 (python--prompt-regexp): New var.
5283 (python-check-comint-prompt)
5284 (python-comint-output-filter-function): Use it.
5285 (run-python): Use a pipe (Bug#5694).
5286
5287 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
5288
5289 * progmodes/python.el (python-send-region): Send a different
5290 Python command if Ipython is in use.
5291 (python-check-version): Use a Python command to find the version.
5292
5293 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
5294
5295 * mouse.el (mouse-yank-primary): Avoid setting primary when
5296 deactivating the mark (Bug#6872).
5297
5298 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
5299
5300 * progmodes/python.el (python-block-pairs): Allow use of "finally"
5301 with "else" (Bug#3991).
5302
5303 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
5304
5305 * net/dbus.el: Accept UNIX domain sockets as bus address.
5306 (top): Don't initialize `dbus-registered-objects-table' anymore,
5307 this is done in dbusbind,c.
5308 (dbus-check-event): Adapt test for bus.
5309 (dbus-return-values-table, dbus-unregister-service)
5310 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
5311 Adapt doc string.
5312
5313 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
5314
5315 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
5316
5317 2010-08-22 Juri Linkov <juri@jurta.org>
5318
5319 * simple.el (read-extended-command): New function with the logic
5320 for `completing-read' moved to Elisp from `execute-extended-command'.
5321 Use `function-called-at-point' in `minibuffer-default-add-function'
5322 to get a command name for M-n (bug#5364, bug#5214).
5323
5324 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
5325
5326 * startup.el (command-line-1): Issue warning for ignored arguments
5327 --unibyte, etc (Bug#6886).
5328
5329 2010-08-22 Leo <sdl.web@gmail.com>
5330
5331 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
5332 (ignore, bright, dim, keyword): Split list of nicknames before
5333 passing to rcirc-add-or-remove (Bug#6894).
5334
5335 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
5336
5337 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
5338
5339 2010-08-22 Leo <sdl.web@gmail.com>
5340
5341 Fix buffer-list rename&refresh after killing a buffer in ido.
5342 * ido.el: Revert Óscar's.
5343 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
5344 Remember the buffers at head, rather than their name.
5345 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
5346
5347 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
5348 Stefan Monnier <monnier@iro.umontreal.ca>
5349
5350 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
5351 extra backslash added to each line (bug#6890).
5352
5353 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5354
5355 * subr.el (read-key): Don't echo keystrokes (bug#6883).
5356
5357 2010-08-22 Glenn Morris <rgm@gnu.org>
5358
5359 * menu-bar.el (menu-bar-games-menu): Add landmark.
5360
5361 2010-08-22 Glenn Morris <rgm@gnu.org>
5362
5363 * align.el (align-regexp): Make group and spacing arguments
5364 use the interactive defaults when non-interactive. (Bug#6698)
5365
5366 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
5367 expansion, so as not to need sendmail.
5368 (mail-text-start): Remove declaration.
5369 (rmail-retry-failure): Require sendmail.
5370
5371 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
5372
5373 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
5374
5375 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
5376
5377 * progmodes/flymake.el (flymake-start-syntax-check-process):
5378 Use `start-file-process' in order to let it run also on remote hosts.
5379
5380 2010-08-22 Kenichi Handa <handa@m17n.org>
5381
5382 * files.el: Add `word-wrap' as safe local variable.
5383
5384 2010-08-22 Glenn Morris <rgm@gnu.org>
5385
5386 * woman.el (woman-translate): Case matters. (Bug#6849)
5387
5388 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
5389
5390 * simple.el (kill-region): Doc fix (Bug#6787).
5391
5392 2010-08-22 Glenn Morris <rgm@gnu.org>
5393
5394 * calendar/diary-lib.el (diary-header-line-format):
5395 Fit it to the window, not the frame.
5396
5397 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
5398
5399 * subr.el (ignore-errors): Add debug declaration.
5400
5401 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
5402
5403 * whitespace.el (whitespace-color-off): Remove post-command-hook
5404 locally.
5405
5406 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
5407
5408 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
5409
5410 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
5411
5412 * cus-edit.el (custom-group-value-create): Add extra newline
5413 before end line (Bug#6876).
5414
5415 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
5416
5417 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
5418 when extending it. Before killing on the second click, check if
5419 the buffer is the correct one. Doc fix.
5420 (mouse-secondary-save-then-kill): Allow usage without first
5421 calling mouse-start-secondary, by defaulting to point. Don't save
5422 an empty secondary selection. Doc fix.
5423
5424 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5425
5426 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
5427 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
5428 New version 13.0.
5429 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
5430 Adjust initialization.
5431 (whitespace-bob-marker, whitespace-eob-marker)
5432 (whitespace-buffer-changed): New vars.
5433 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
5434 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
5435 (whitespace-post-command-hook, whitespace-display-char-on):
5436 Adjust code.
5437 (whitespace-looking-back, whitespace-buffer-changed): New funs.
5438 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
5439
5440 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
5441
5442 * files.el (locate-file-completion-table): Only list the .el and .elc
5443 extensions if there's no other choice (bug#5955).
5444
5445 * facemenu.el (facemenu-self-insert-data): New var.
5446 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
5447 New functions.
5448 (facemenu-add-face): Use them.
5449
5450 * simple.el (blink-matching-open): Obey forward-sexp-function.
5451
5452 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
5453
5454 * simple.el (prog-mode-map): New var.
5455 (prog-indent-sexp): New command.
5456
5457 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
5458
5459 * progmodes/prolog.el (smie): Require.
5460
5461 * emacs-lisp/smie.el (smie-default-backward-token)
5462 (smie-default-forward-token): Strip properties.
5463 (smie-next-sexp): Be more careful with associative operators.
5464 (smie-forward-sexp-command): Generalize.
5465 (smie-backward-sexp-command): Simplify.
5466 (smie-closer-alist): New var.
5467 (smie-close-block): New command.
5468 (smie-indent-debug-log): New var.
5469 (smie-indent-offset-rule): Add a few more cases.
5470 (smie-indent-column): New function.
5471 (smie-indent-after-keyword): Use it.
5472 (smie-indent-keyword): Use it.
5473 Fix up the opener code's point position.
5474 (smie-indent-comment): Only applies at BOL.
5475 (smie-indent-debug): New command.
5476
5477 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
5478 declarations that are useful before running the macro.
5479
5480 2010-08-18 Joakim Verona <joakim@verona.se>
5481
5482 * image.el (imagemagick-types-inhibit): New variable.
5483 (imagemagick-register-types): New function.
5484 * image-mode.el (image-transform-properties): New function.
5485 (image-transform-set-scale, image-transform-fit-to-height)
5486 (image-transform-set-rotation, image-transform-set-resize)
5487 (image-transform-fit-to-width, image-transform-fit-to-height):
5488 New functions.
5489 (image-toggle-display-image): Support image transforms.
5490
5491 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
5492
5493 * image.el (create-animated-image): Don't add heuristic mask to image
5494 (Bug#6839).
5495
5496 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
5497
5498 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
5499 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
5500
5501 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
5502
5503 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
5504
5505 Font-lock '...' strings, plus various simplifications and fixes.
5506 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
5507 (octave-font-lock-close-quotes): New function.
5508 (octave-font-lock-syntactic-keywords): New var.
5509 (octave-mode): Use it. Set beginning-of-defun-function.
5510 (octave-mode-map): Don't override the <foo>-defun commands.
5511 (octave-mode-menu): Pass it directly to easy-menu-define;
5512 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
5513 (octave-block-match-alist): Fix up last change so that
5514 octave-close-block uses the more specific keyword.
5515 (info-lookup-mode): Silence byte-compiler.
5516 (octave-beginning-of-defun): Not interactive any more.
5517 Optimize slightly.
5518 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
5519 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
5520 (octave-completion-at-point-function): Make sure point is within
5521 beg..end.
5522 (octave-reindent-then-newline-and-indent):
5523 Use reindent-then-newline-and-indent.
5524 (octave-add-octave-menu): Remove.
5525
5526 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
5527
5528 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
5529 (report-emacs-bug-can-use-xdg-email): New functions.
5530 (report-emacs-bug): Set can-xdg-email to result of
5531 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
5532 \C-cm to report-emacs-bug-insert-to-mailer and add help text
5533 about it.
5534
5535 * net/browse-url.el (browse-url-default-browser): Add cond
5536 for browse-url-xdg-open.
5537 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
5538
5539 2010-08-17 Glenn Morris <rgm@gnu.org>
5540
5541 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
5542 (c-fontify-recorded-types-and-refs): Define for compiler.
5543 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
5544 before use.
5545
5546 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
5547 Fix format call.
5548
5549 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
5550
5551 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
5552 properties.
5553 (tramp-handle-process-file): Call the program in a subshell, in
5554 order to preserve working directory.
5555 (tramp-action-password): Hide password prompt before next run.
5556 (tramp-process-actions): Widen connection buffer for the trace.
5557
5558 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
5559
5560 * net/rcirc.el (rcirc-log-process-buffers): New option.
5561 (rcirc-print): Use it.
5562 (rcirc-generate-log-filename): New function.
5563 (rcirc-log-filename-function): Change default to
5564 rcirc-generate-log-filename (Bug#6828).
5565
5566 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
5567
5568 * simple.el (deactivate-mark): If select-active-regions is `only',
5569 only set selection for temporarily active regions.
5570
5571 * cus-start.el: Change defcustom for select-active-regions.
5572
5573 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
5574
5575 * mouse.el (mouse--drag-set-mark-and-point): New function.
5576 (mouse-drag-track): Use LOCATION arg to push-mark.
5577 Use mouse--drag-set-mark-and-point to take click-count into
5578 consideration when updating point and mark (Bug#6840).
5579
5580 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
5581
5582 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5583 Give the Ruby rule a lower priority than Gnu (Bug#6778).
5584
5585 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
5586
5587 * font-lock.el (lisp-font-lock-keywords-2):
5588 Add combine-after-change-calls, condition-case-no-debug,
5589 with-demoted-errors, and with-silent-modifications (Bug#6025).
5590
5591 2010-08-14 Kevin Ryde <user42@zip.com.au>
5592
5593 * emacs-lisp/copyright.el (copyright-update-year)
5594 (copyright-update): Temporary switch-to-buffer to ensure the
5595 buffer change being queried is visible (Bug#5394).
5596
5597 2010-08-14 Tom Tromey <tromey@redhat.com>
5598
5599 * progmodes/etags.el (tags-file-name): Mark safe if stringp
5600 (Bug#6733).
5601
5602 2010-08-14 Eli Zaretskii <eliz@gnu.org>
5603
5604 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
5605 MS-DOS. (Bug#6689)
5606
5607 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
5608
5609 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
5610 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
5611 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
5612 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
5613 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
5614 Call menu-bar-set-tool-bar-position.
5615
5616 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5617
5618 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
5619 comment style (bug#6834).
5620 * progmodes/scheme.el (scheme-mode-syntax-table):
5621 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
5622 "b" flag in "' 14b" syntax.
5623
5624 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
5625 for (un)commenting the region and performing completion.
5626 (octave-mode-menu): Use standard commands for help and completion.
5627 (octave-mode-syntax-table): Support %{..%} comments (sort of).
5628 (octave-mode): Use define-derived-mode.
5629 Set completion-at-point-functions and don't set columns.
5630 Don't disable adaptive-fill-regexp.
5631 (octave-describe-major-mode, octave-comment-region)
5632 (octave-uncomment-region, octave-comment-indent)
5633 (octave-indent-for-comment): Remove.
5634 (octave-indent-calculate): Rename from calculate-octave-indent.
5635 (octave-indent-line, octave-fill-paragraph): Update caller.
5636 (octave-initialize-completions): No need to make an alist.
5637 (octave-completion-at-point-function): New function.
5638 (octave-complete-symbol): Use it.
5639 (octave-insert-defun): Use define-skeleton.
5640
5641 * progmodes/octave-mod.el (octave-mode): Set comment-add.
5642 (octave-mode-map): Use comment-dwim (bug#6829).
5643
5644 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
5645
5646 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
5647 indentation of inserted comment.
5648
5649 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
5650
5651 * faces.el (region): Add type gtk that uses gtk colors.
5652
5653 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
5654 Handle theme-name change.
5655
5656 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
5657
5658 * progmodes/sql.el: Version 2.5
5659 (sql-product-alist): Add :prompt-cont-regexp property for several
5660 database products.
5661 (sql-prompt-cont-regexp): New variable.
5662 (sql-output-newline-count, sql-output-by-send):
5663 New variables. Record number of newlines in input text.
5664 (sql-send-string): Handle multiple filters and count newlines.
5665 (sql-send-magic-terminator): Count terminator newline.
5666 (sql-interactive-remove-continuation-prompt): Filters output to
5667 remove continuation prompts; one for each newline.
5668 (sql-interactive-mode): Set up new variables, prompt regexp and
5669 output filter.
5670 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
5671 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
5672
5673 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
5674
5675 * emacs-lisp/pcase.el: New file.
5676
5677 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
5678
5679 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
5680 as here-document, otherwise the command could exceed maximum
5681 length of command line.
5682 (tramp-handle-vc-registered): Call script accordingly.
5683 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
5684
5685 2010-08-10 Kenichi Handa <handa@m17n.org>
5686
5687 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
5688 composable pattern.
5689
5690 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
5691
5692 * emacs-lisp/package.el (package-version-split)
5693 (package--version-first-nonzero, package-version-compare):
5694 Functions removed.
5695 (package-directory-list, package-load-all-descriptors)
5696 (package--built-in, package-activate, define-package)
5697 (package-installed-p, package-compute-transaction)
5698 (package-read-all-archive-contents)
5699 (package--add-to-archive-contents, package-buffer-info)
5700 (package-tar-file-info, package-list-packages-internal):
5701 Use version-to-list and version-list-*.
5702
5703 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5704 Use version-to-list.
5705 (package-upload-buffer-internal): Use version-list-<=.
5706
5707 2010-08-09 Kenichi Handa <handa@m17n.org>
5708
5709 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
5710 composable pattern.
5711
5712 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
5713
5714 * tutorial.el (tutorial--default-keys): C-d is now bound to
5715 delete-forward-char (Bug#6826).
5716
5717 * mouse.el (mouse-drag-track): Remove accidentally-removed check
5718 for `double' value of mouse-1-click-follows-link (Bug#6807).
5719
5720 2010-08-08 Johan Bockgård <bojohan@gnu.org>
5721
5722 * replace.el (replace-highlight): Bind isearch-forward and
5723 isearch-error, ensuring that highlighting is updated if the user
5724 switches the search direction (Bug#6808).
5725
5726 * isearch.el (isearch-lazy-highlight-forward): New var.
5727 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
5728 (isearch-lazy-highlight-update): Use it.
5729
5730 2010-08-08 Kenichi Handa <handa@m17n.org>
5731
5732 * international/mule.el (define-charset): Store NAME as :base property.
5733 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
5734 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
5735 current priority. Force using the designation of the specific
5736 charset by adding `charset' text property. Improve the whole algorithm.
5737
5738 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
5739
5740 * emulation/pc-select.el (pc-selection-mode-hook)
5741 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
5742 (pc-selection-mode): Fix typos in docstrings.
5743
5744 2010-08-08 Kenichi Handa <handa@m17n.org>
5745
5746 * language/cyrillic.el: Don't add "microsoft-cp1251" to
5747 ctext-non-standard-encodings-alist here.
5748
5749 * international/mule.el (ctext-non-standard-encodings-alist):
5750 Add "koi8-r" and "microsoft-cp1251".
5751 (ctext-standard-encodings): New variable.
5752 (ctext-non-standard-encodings-table): List only elements for
5753 non-standard encodings.
5754 (ctext-pre-write-conversion): Adjust for the above change.
5755 Check ctext-standard-encodings.
5756
5757 * international/mule-conf.el (compound-text): Doc fix.
5758 (ctext-no-compositions): Doc fix.
5759 (compound-text-with-extensions): Doc fix.
5760
5761 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5762
5763 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
5764
5765 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
5766
5767 * progmodes/which-func.el (which-func-format): Split help-echo text
5768 into lines, like other mode-line tooltips.
5769
5770 * server.el (server-start): When using TCP sockets, force IPv4
5771 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
5772
5773 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5774
5775 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
5776
5777 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
5778
5779 * term.el (term-delimiter-argument-list): Reflow docstring.
5780 (term-read-input-ring, term-write-input-ring, term-send-input)
5781 (term-bol, term-erase-in-display, serial-supported-or-barf):
5782 Fix typos in docstrings.
5783
5784 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5785
5786 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
5787
5788 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
5789
5790 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
5791
5792 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
5793
5794 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
5795 Fix typo in docstring (bug#6747).
5796
5797 2010-08-08 Leo <sdl.web@gmail.com>
5798
5799 * eshell/esh-io.el (eshell-get-target): Better detection of
5800 read-only file (Bug#6762).
5801
5802 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
5803
5804 * align.el (align-default-spacing): Doc fix.
5805 (align-region-heuristic, align-regexp): Fix typos in docstrings.
5806
5807 2010-08-08 Stephen Peters <speters@itasoftware.com>
5808
5809 * calendar/icalendar.el
5810 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
5811 (icalendar--get-weekday-numbers): New.
5812 (icalendar--convert-recurring-to-diary): Handle multiple byday
5813 values in weekly rules. (Bug#6766)
5814
5815 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
5816
5817 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
5818 (icalendar--create-uid, icalendar-export-region)
5819 (icalendar--parse-summary-and-rest): Code formatting.
5820
5821 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
5822
5823 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
5824 to italicize headers.
5825 (calc-highlight-selections-with-faces): New variable.
5826 (calc-selected-face, calc-nonselected-face): New faces.
5827
5828 * calc/calccomp.el (math-comp-highlight-string): Use
5829 `calc-highlight-selections-with-faces' to determine how to highlight
5830 sub-formulas.
5831
5832 * calc/calc-sel.el (calc-show-selections): Change message to when
5833 using faces to highlight selections.
5834
5835 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
5836
5837 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
5838 Add SQLite 3 keywords, functions and datatypes.
5839 (sql-interactive-mode): Remove `comint-process-echoes' set to t
5840 (Bug#6686).
5841
5842 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
5843
5844 * simple.el (select-active-regions): Move to keyboard.c.
5845 (deactivate-mark): Used saved-region-selection.
5846 (select-active-region): Function removed.
5847 (activate-mark, set-mark, push-mark-command)
5848 (handle-shift-selection): Don't call it.
5849 (keyboard-quit): Avoid adding the region to the window selection.
5850
5851 * mouse.el (mouse-drag-track): Remove hacks to deal with old
5852 select-active-regions implementation.
5853 (mouse-yank-at-click): Doc fix.
5854
5855 * cus-start.el: Add custom declaration for select-active-regions.
5856
5857 2010-08-07 Eli Zaretskii <eliz@gnu.org>
5858
5859 * simple.el (delete-forward-char): Doc fix.
5860
5861 * tutorial.el (help-with-tutorial): Hack safe file-local variables
5862 after reading the tutorial.
5863
5864 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
5865
5866 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
5867 Fix for the case that a C style comment has its delimiters alone on
5868 their respective lines.
5869
5870 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
5871
5872 * net/tramp.el (tramp-handle-start-file-process): Set connection
5873 property "vec".
5874 (tramp-process-sentinel): Use it for flushing the cache.
5875 We cannot do it via the process buffer, the buffer could be deleted
5876 already when running the sentinel.
5877
5878 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
5879
5880 * comint.el (comint-mode): Make directory tracking functions
5881 functional on remote files. (Bug#6764)
5882
5883 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
5884
5885 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
5886
5887 2010-08-05 Eli Zaretskii <eliz@gnu.org>
5888
5889 * emacs-lisp/find-gc.el (find-gc-source-files):
5890 Rename unexec.c => unexcoff.c.
5891
5892 * emacs-lisp/authors.el (authors-fixed-entries):
5893 Rename unexec.c => unexcoff.c.
5894
5895 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
5896
5897 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
5898 cache, not only file cache.
5899 (tramp-process-sentinel): New defun.
5900 (tramp-handle-start-file-process): Use it, in order to invalidate
5901 file caches.
5902
5903 2010-08-03 Leo <sdl.web@gmail.com>
5904
5905 * server.el (server-start): Simplify loop.
5906
5907 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5908
5909 * frame.el (screen-height, screen-width, set-screen-width)
5910 (set-screen-height): Remove ancient compatibility aliases.
5911
5912 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
5913 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
5914
5915 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
5916 that change current buffer.
5917
5918 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5919
5920 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
5921 beginning of the string. Use `string-match-p'. (Bug#6765)
5922
5923 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
5924
5925 * cus-start.el (x-gtk-use-system-tooltips): New variable.
5926
5927 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
5928
5929 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
5930 (package--builtins): Tweak descriptions.
5931 (package-print-package): Upcase descriptions if necessary.
5932 Show all built-in packages in font-lock-builtin-face.
5933 (package-list-packages-internal): Omit "emacs" package.
5934 Show status of built-in packages as "built-in".
5935
5936 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
5937
5938 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
5939 before killing to preserve the primary selection (Bug#6701).
5940
5941 * term/x-win.el (x-select-text): Doc fix.
5942
5943 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
5944
5945 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
5946 (objc-font-lock-extra-types):
5947 * progmodes/cc-mode.el (c-basic-common-init):
5948 * progmodes/cc-langs.el (c-make-mode-syntax-table)
5949 (c++-make-template-syntax-table)
5950 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
5951 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
5952 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
5953 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
5954 * progmodes/cc-fonts.el (c-make-inverse-face)
5955 (c-basic-matchers-after):
5956 * progmodes/cc-engine.el (c-forward-keyword-clause)
5957 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
5958 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
5959 (c-guess-continued-construct, c-guess-basic-syntax):
5960 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
5961 The above functions were modified or created.
5962
5963 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
5964
5965 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
5966
5967 2010-07-31 Eli Zaretskii <eliz@gnu.org>
5968
5969 * files.el (bidi-paragraph-direction): Define safe local values.
5970
5971 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
5972 language-info-alist. Remove outdated FIXME in a comment.
5973
5974 2010-07-31 Alan Mackenzie <acm@muc.de>
5975
5976 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
5977 Auto-fill broken in C/C++ modes.
5978
5979 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
5980
5981 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
5982 (menu-bar-showhide-tool-bar-menu-customize-disable)
5983 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
5984 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
5985 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
5986 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
5987 make a menu for Options => toolbar that can move it.
5988
5989 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
5990
5991 * emacs-lisp/package-x.el (package--make-rss-entry):
5992 (package-maint-add-news-item, package--update-news)
5993 (package-upload-buffer-internal): New arg ARCHIVE-URL.
5994
5995 * emacs-lisp/package.el (package-archive-url): Rename from
5996 package-archive-id.
5997 (package-install): Doc fix.
5998 (package-download-single, package-download-tar, package-install)
5999 (package-menu-view-commentary): Callers changed.
6000
6001 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
6002
6003 * net/tramp.el (tramp-handle-start-file-process): Check only for
6004 `remote-tty' process property.
6005 (tramp-open-shell): Don't check for tty.
6006 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
6007 process property.
6008
6009 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
6010 host.
6011
6012 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
6013
6014 * emacs-lisp/package.el (package-load-list, package-archives)
6015 (package-archive-contents, package-user-dir)
6016 (package-directory-list, package--builtins, package-alist)
6017 (package-activated-list, package-obsolete-alist): Mark as risky.
6018
6019 2010-07-28 Phil Hagelberg <phil@evri.com>
6020
6021 Add support for non-default package repositories.
6022 * emacs-lisp/package.el (package-archive-base): Var deleted.
6023 (package-archives): New variable.
6024 (package-archive-contents): Doc fix.
6025 (package-load-descriptor): Do nothing if descriptor file is missing.
6026 (package--write-file-no-coding): New function.
6027 (package-unpack-single): Use it.
6028 (package-archive-id): New function.
6029 (package-download-single, package-download-tar)
6030 (package-menu-view-commentary): Use it.
6031 (package-installed-p): Make second argument optional.
6032 (package-read-all-archive-contents): New function.
6033 (package-initialize): Use it.
6034 (package-read-archive-contents): Add ARCHIVE argument.
6035 (package--add-to-archive-contents): New function.
6036 (package-install): Don't call package-read-archive-contents.
6037 (package--download-one-archive): Store archive file in a
6038 subdirectory of package-user-dir.
6039 (package-menu-execute): Remove spurious line movement.
6040
6041 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
6042
6043 * cus-start.el (tool-bar-style): Add text-image-horiz.
6044
6045 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
6046
6047 * progmodes/gud.el (gud-common-init): Check for remoteness of
6048 `file', and not of `default-directory'.
6049
6050 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
6051
6052 * net/tramp.el (tramp-methods): Move hostname to the end in all
6053 ssh `tramp-login-args'.
6054 (tramp-verbose): Describe verbose level 9.
6055 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
6056 (tramp-open-connection-setup-interactive-shell): Trace stty
6057 settings if `tramp-verbose' >= 9.
6058 (tramp-handle-start-file-process): Implement tty setting.
6059 (Bug#4604, Bug#6360)
6060
6061 * net/tramp-cmds.el (tramp-bug): Recommend setting of
6062 `tramp-verbose' to 9.
6063
6064 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
6065
6066 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
6067 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
6068 Remove references to package `lisp-re' (bug#4369).
6069
6070 2010-07-27 Tom Tromey <tromey@redhat.com>
6071
6072 * progmodes/js.el (js-mode):
6073 * progmodes/make-mode.el (makefile-mode):
6074 * progmodes/simula.el (simula-mode):
6075 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
6076
6077 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
6078
6079 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
6080
6081 * time.el (display-time-day-and-date): Remove spurious * in docstring.
6082 (display-time-world-buffer-name, display-time-world-mode-map):
6083 Fix typos in docstrings.
6084
6085 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
6086
6087 * image-mode.el (image-display-size): New function.
6088 (image-forward-hscroll, image-next-line, image-eol, image-eob)
6089 (image-mode-fit-frame): Use it (Bug#6639).
6090
6091 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
6092
6093 * dired.el (dired-buffers-for-dir): Handle list values of
6094 dired-directory (Bug#6636).
6095
6096 2010-07-26 Sam Steingold <sds@gnu.org>
6097
6098 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
6099 Do not call `x-get-selection' the second time, reuse the value.
6100
6101 2010-07-26 Daiki Ueno <ueno@unixuser.org>
6102
6103 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
6104 which consist of control chars only. Suggested by Richard Stallman.
6105
6106 2010-07-25 Daiki Ueno <ueno@unixuser.org>
6107
6108 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
6109 exists before passing an error to find-file-not-found-functions
6110 (bug#6723).
6111
6112 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
6113
6114 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
6115 Remove leading nil element, adjust values.
6116 (tetris-shapes, tetris-shape-scores):
6117 Change representation of shapes and remove some redundancy.
6118 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
6119 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
6120 Adjust for working with new representation of shapes.
6121 (tetris-shape-rotations): New function.
6122 (tetris-move-bottom, tetris-move-left, tetris-move-right)
6123 (tetris-rotate-prev, tetris-rotate-next):
6124 Adjust for working with the new version of tetris-test-shape.
6125
6126 2010-07-23 Markus Triska <markus.triska@gmx.at>
6127
6128 * progmodes/ps-mode.el: Use comint (bug#5954).
6129 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
6130 (ps-mode-other-newline): Simplify.
6131 (ps-run-mode): Derive from comint-mode instead of
6132 fundamental-mode, yielding input history etc.
6133 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
6134 (ps-run-send-string): Adapt for comint-mode.
6135 (ps-run-newline): Remove now unneeded function.
6136
6137 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
6138
6139 * net/tramp.el (tramp-methods): Move hostname to the end in all
6140 plink `tramp-login-args'.
6141
6142 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
6143
6144 * net/tramp.el (tramp-open-shell): New defun.
6145 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6146 Use it.
6147
6148 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
6149
6150 * net/tramp.el (tramp-file-name-regexp-unified)
6151 (tramp-completion-file-name-regexp-unified): On W32 systems, do
6152 not regard the volume letter as remote filename. (Bug#5447)
6153
6154 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
6155
6156 * custom.el (custom-declare-variable): Give a clearer error message
6157 when the docstring is missing (bug#6476).
6158
6159 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
6160
6161 * progmodes/sql.el: Version 2.4. Improved Login prompting.
6162 (sql-login-params): New widget definition.
6163 (sql-oracle-login-params, sql-mysql-login-params)
6164 (sql-solid-login-params, sql-sybase-login-params)
6165 (sql-informix-login-params, sql-ingres-login-params)
6166 (sql-ms-login-params, sql-postgres-login-params)
6167 (sql-interbase-login-params, sql-db2-login-params)
6168 (sql-linter-login-params): Use it.
6169 (sql-sqlite-login-params): Use it; Define "database" parameter as
6170 a file name.
6171 (sql-sqlite-program): Change to "sqlite3".
6172 (sql-comint-sqlite): Make sure database name is complete.
6173 (sql-for-each-login): New function.
6174 (sql-connect, sql-save-connection): Use it.
6175 (sql-get-login-ext): New function.
6176 (sql-get-login): Use it.
6177 (sql-make-alternate-buffer-name): Handle :file parameters.
6178
6179 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
6180
6181 * dired.el (dired-no-confirm): Document value t and fix defcustom to
6182 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
6183
6184 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
6185
6186 * dired.el (dired-mode-map): Use command remapping (bug#6632).
6187
6188 2010-07-22 Lawrence Mitchell <wence@gmx.li>
6189
6190 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
6191
6192 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
6193
6194 * net/tramp.el (tramp-get-ls-command)
6195 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
6196 instead of "/".
6197
6198 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
6199
6200 * progmodes/sql.el: Version 2.3.
6201 (sql-connection-alist): Change keys from symbols to strings;
6202 enhanced the widget definition.
6203 (sql-mode-menu): Add submenu to select connections.
6204 (sql-interactive-mode-menu): Add "Save Connection" item.
6205 (sql-add-product): Fix menu item.
6206 (sql-get-product-feature): Improved error handling.
6207 (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
6208 (sql-make-alternate-buffer-name): Simplified.
6209 (sql-product-interactive): Handle missing product.
6210 (sql-connect): Support string keys, minor improvements.
6211 (sql-save-connection): New function.
6212 (sql-connection-menu-filter): New function.
6213
6214 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
6215
6216 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
6217 (tramp-open-connection-setup-interactive-shell):
6218 Apply workaround for IRIX64 bug. Move argument of last
6219 `tramp-send-command' where it belongs to.
6220
6221 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
6222
6223 * net/tramp.el (tramp-perl-file-attributes)
6224 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
6225 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
6226 front of `login-args'.
6227
6228 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
6229
6230 * time.el (display-time-world-mode): Define with `define-derived-mode'.
6231 Set `show-trailing-whitespace' to nil.
6232 (display-time-world-display): Simplify.
6233
6234 2010-07-18 Alan Mackenzie <acm@muc.de>
6235
6236 Enhance `c-file-style' in file/directory local variables.
6237 * progmodes/cc-mode.el (c-count-cfss): New function.
6238 (c-before-hack-hook): Call `c-set-style' differently according to
6239 whether c-file-style was set in file or directory local
6240 variables.
6241
6242 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
6243
6244 * progmodes/sql.el: Version 2.2.
6245 (sql-product, sql-user, sql-database, sql-server, sql-port):
6246 Use defcustom :safe keyword rather than putting safe-local-variable
6247 property.
6248 (sql-password): Use defcustom :risky keyword rather than putting
6249 risky-local-variable property.
6250 (sql-oracle-login-params, sql-sqlite-login-params)
6251 (sql-solid-login-params, sql-sybase-login-params)
6252 (sql-informix-login-params, sql-ingres-login-params)
6253 (sql-ms-login-params, sql-postgres-login-params)
6254 (sql-interbase-login-params, sql-db2-login-params)
6255 (sql-linter-login-params): Add `port' option.
6256 (sql-get-product-feature): Add NO-INDIRECT parameter.
6257 (sql-comint-oracle, sql-comint-sybase)
6258 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
6259 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
6260 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
6261 (sql-comint-linter): Rename sql-connect-* functions to
6262 sql-comint-*.
6263 (sql-product-alist, sql-mode-menu): Rename as above and
6264 :sqli-connect-func to :sqli-comint-func.
6265 (sql-connection): New variable.
6266 (sql-interactive-mode): Set it.
6267 (sql-connection-alist): New variable.
6268 (sql-connect): New function.
6269 (sql--alt-buffer-part, sql--alt-if-not-empty)
6270 (sql-make-alternate-buffer-name): Improved alternative buffer name.
6271
6272 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6273
6274 * image-mode.el (image-bookmark-make-record): Do not set context
6275 in an image (Bug#6650).
6276
6277 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
6278
6279 * simple.el (select-active-region): New function.
6280 (push-mark-command, set-mark, activate-mark)
6281 (handle-shift-selection): Use it.
6282 (deactivate-mark): Don't check for size of region.
6283
6284 * mouse.el (mouse-drag-track): Use select-active-region.
6285
6286 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
6287
6288 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
6289 "--dired" stronger.
6290
6291 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
6292
6293 * term/x-win.el (x-select-enable-primary): Change default to nil.
6294 (x-select-enable-clipboard): Add :version keyword.
6295
6296 * mouse.el (mouse-drag-copy-region):
6297 * simple.el (select-active-regions): Likewise.
6298
6299 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
6300
6301 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
6302 (vc-coding-system-for-diff): Use it to decide whether to inherit
6303 from the file the EOL format for reading the diffs of that file.
6304 (Bug#4451)
6305
6306 2010-07-16 Eli Zaretskii <eliz@gnu.org>
6307
6308 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
6309 unibyte, so compressed attachments are not compressed again.
6310
6311 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
6312
6313 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
6314 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
6315 (tramp-find-shell): Simplify setting connection property.
6316 (tramp-get-ls-command): Make test for "--color=never" stronger.
6317
6318 2010-07-15 Simon South <ssouth@member.fsf.org>
6319
6320 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
6321 blocks within record declarations (i.e. variant parts) correctly.
6322
6323 2010-07-15 Simon South <ssouth@member.fsf.org>
6324
6325 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
6326 over literal tokens when parsing so newlines aren't "absorbed" by
6327 single-line comments. Corrects the indentation of case blocks
6328 that have a comment on the first line.
6329
6330 2010-07-14 Karl Fogel <kfogel@red-bean.com>
6331
6332 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
6333 by Drew Adams (Bug#5504).
6334
6335 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
6336
6337 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
6338 now that Unicode is used (Bug#6594).
6339
6340 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
6341
6342 * term/x-win.el (x-select-enable-clipboard): Default to t.
6343 (x-initialize-window-system): Don't overwrite Paste menu item.
6344
6345 * simple.el (select-active-regions): Default to t.
6346 (push-mark-command): Don't overwrite primary with empty string.
6347
6348 * mouse.el: Bind mouse-2 to mouse-yank-primary.
6349 (mouse-drag-copy-region): Default to nil.
6350
6351 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
6352 Cut/Copy/Paste menu bar items.
6353
6354 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6355
6356 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
6357 Patch applied by Karl Fogel.
6358
6359 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
6360 and `bookmark-current-buffer' if they have been already set in
6361 another buffer (e.g gnus-art).
6362
6363 2010-07-13 Karl Fogel <kfogel@red-bean.com>
6364 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6365
6366 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
6367
6368 * bookmark.el (bookmark-make-record-default): Allow unneeded
6369 information to be omitted from the record.
6370
6371 Adjust declarations and calls:
6372
6373 * info.el (bookmark-make-record-default): Adjust declaration.
6374 (Info-bookmark-make-record): Adjust call.
6375
6376 * woman.el (bookmark-make-record-default): Adjust declaration.
6377 (woman-bookmark-make-record): Adjust call.
6378
6379 * man.el (bookmark-make-record-default): Adjust declaration.
6380 (Man-bookmark-make-record): Adjust call.
6381
6382 * image-mode.el (bookmark-make-record-default): Adjust declaration.
6383
6384 * doc-view.el (bookmark-make-record-default): Adjust declaration.
6385
6386 2010-07-13 Karl Fogel <kfogel@red-bean.com>
6387
6388 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
6389 This is also from Thierry Volpiatto's patch in bug #6444. However,
6390 because it was extraneous to the functional change in that patch,
6391 and causes a re-indendation, I am committing it separately.
6392
6393 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6394
6395 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
6396 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
6397 Patch applied by Karl Fogel (Bug#6444).
6398
6399 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
6400
6401 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
6402
6403 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
6404
6405 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
6406 Dempsky; bug#5084). Remove incorrect binding for S-tab.
6407 (ns-alternatives-map): Change S-tab binding to backtab
6408 (bug#6616).
6409
6410 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
6411 under ns.
6412
6413 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
6414
6415 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
6416 (Bug#5806)
6417
6418 * language/tv-util.el (tai-viet-re): Remove format.
6419
6420 2010-07-12 Kenichi Handa <handa@m17n.org>
6421
6422 * language/hebrew.el: Remove no-byte-compile declaration.
6423 Change coding: tag to utf-8. Register hebrew-shape-gstring in
6424 composition-function-table for 3-character looking back.
6425 (hebrew-font-get-precomposed): New function.
6426 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
6427
6428 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
6429
6430 * mouse.el (mouse-drag-track): Handle select-active-regions
6431 (Bug#6612).
6432
6433 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
6434
6435 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
6436 empty argument to gvfs-copy.
6437
6438 2010-07-10 Glenn Morris <rgm@gnu.org>
6439
6440 * calendar/calendar.el (calendar-week-end-day): New function.
6441 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
6442 Respect calendar-week-start-day. (Bug#6606)
6443 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
6444 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
6445 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
6446 respect calendar-week-start-day.
6447
6448 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
6449
6450 * simple.el (use-region-p): Doc fix (Bug#6607).
6451
6452 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
6453
6454 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6455 Add regexps for cucumber and ruby.
6456
6457 2010-07-08 Daiki Ueno <ueno@unixuser.org>
6458
6459 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
6460 (epa-file-insert-file-contents): Hack to prevent
6461 find-file from opening empty buffer when decryption failed
6462 (bug#6568).
6463
6464 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
6465
6466 * textmodes/ispell.el (ispell-alternate-dictionary):
6467 Use file-readable-p.
6468 Return nil if no word-list is found at default locations.
6469 (ispell-complete-word-dict): Default to nil.
6470 (ispell-command-loop): Use 'word-list' when using lookup-words.
6471 (lookup-words): Use ispell-complete-word-dict or
6472 ispell-alternate-dictionary. Check for word-list availability
6473 and handle errors if needed with better messages (Bug#6539).
6474 (ispell-complete-word): Use ispell-complete-word-dict or
6475 ispell-alternate-dictionary.
6476
6477 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
6478
6479 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
6480 builtins (BufferError, BytesWarning, WindowsError; callables
6481 bin, bytearray, bytes, format, memoryview, next, print; __package__).
6482
6483 2010-07-07 Glenn Morris <rgm@gnu.org>
6484
6485 * play/zone.el (top-level): Do not require timer, tabify, or cl.
6486 (zone-shift-left): Ignore intangibility, and any errors from
6487 forward-char.
6488 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
6489 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
6490 deleting, and copying text properties.
6491 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
6492 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
6493 to point-max is hard.
6494 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
6495 (zone-fill-out-screen): Ignore intangibility.
6496
6497 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
6498
6499 * menu-bar.el (menu-bar-mode):
6500 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
6501 if it has been set.
6502
6503 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
6504 word/line selection (Bug#6565).
6505
6506 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
6507
6508 * net/dbus.el (dbus-send-signal): Declare function.
6509
6510 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
6511
6512 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
6513 (dbus-register-property): New optional argument EMITS-SIGNAL.
6514 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
6515
6516 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
6517
6518 * mouse.el (mouse-drag-overlay): Variable deleted.
6519 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
6520 (mouse--remap-link-click-p): New function.
6521 (mouse-drag-track): Handle dragging by using temporary Transient
6522 Mark mode, instead of a special overlay.
6523 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
6524 mouse-show-mark.
6525
6526 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
6527 deleted.
6528
6529 2010-07-02 Juri Linkov <juri@jurta.org>
6530
6531 * autoinsert.el (auto-insert-alist): Fix readability
6532 by using dotted pair notation for lambda.
6533
6534 2010-07-02 Juri Linkov <juri@jurta.org>
6535
6536 * faces.el (read-face-name): Rename arg `string-describing-default'
6537 to `default'. Doc fix. Display the default value in quotes
6538 in the prompt. With empty input, return the `default' arg,
6539 unless the default value is a string (in which case return nil).
6540 (describe-face): Replace the string `default' arg of `read-face-name'
6541 with the symbol `default'.
6542
6543 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
6544
6545 * emulation/viper-cmd.el (viper-delete-backward-char)
6546 (viper-del-backward-char-in-insert)
6547 (viper-del-backward-char-in-replace, viper-change)
6548 (viper-backward-indent): Replace delete-backward-char with
6549 delete-char (Bug#6552).
6550
6551 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
6552
6553 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
6554
6555 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
6556
6557 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
6558 argument passed to frame-creation-function (Bug#5378).
6559
6560 * faces.el (x-handle-named-frame-geometry)
6561 (x-handle-reverse-video, x-create-frame-with-faces)
6562 (face-set-after-frame-default, tty-create-frame-with-faces):
6563 Don't separately consult default-frame-alist. It is now passed as the
6564 PARAMETER argument.
6565
6566 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
6567
6568 * startup.el (command-line): Don't call tool-bar-setup in a
6569 tty-only build.
6570
6571 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
6572
6573 * ruler-mode.el (ruler--save-header-line-format): New fun.
6574 (ruler-mode): Use it as a setter function, so as not to overwrite
6575 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
6576
6577 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
6578
6579 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
6580 (vc-root-diff, vc-print-root-log, vc-log-incoming)
6581 (vc-log-outgoing): Use it.
6582 (vc-diff-internal): Set diff-vc-backend.
6583
6584 * vc/diff-mode.el (diff-vc-backend): New var.
6585
6586 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
6587
6588 * dynamic-setting.el (font-setting-change-default-font):
6589 Remove call to message.
6590
6591 2010-06-28 Kenichi Handa <handa@m17n.org>
6592
6593 * international/quail.el (quail-insert-kbd-layout): Fix the
6594 showing of untranslated characters.
6595
6596 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
6597
6598 * simple.el (delete-active-region): New option.
6599 (delete-backward-char): Implement in Lisp.
6600 (delete-forward-char): New command.
6601
6602 * mouse.el (mouse-region-delete-keys): Deleted.
6603 (mouse-show-mark): Simplify.
6604
6605 * bindings.el (global-map): Bind delete and DEL, the former to
6606 delete-forward-char.
6607
6608 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
6609
6610 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
6611 (ruby-mode): Bind indent-line-function (Bug#5119).
6612
6613 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
6614
6615 * startup.el (command-line): Recognize "0" X resource value.
6616
6617 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
6618
6619 * startup.el (command-line): Use X resources to set the value of
6620 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
6621
6622 * menu-bar.el (menu-bar-mode):
6623 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
6624 Set init-value to t.
6625
6626 * frame.el (frame-notice-user-settings): Don't change
6627 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
6628 vice versa (Bug#2249).
6629
6630 2010-06-26 Eli Zaretskii <eliz@gnu.org>
6631
6632 * w32-fns.el (w32-convert-standard-filename): Doc fix.
6633
6634 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
6635
6636 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
6637 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
6638
6639 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
6640 default directories are expanded (Bug#6143).
6641
6642 2010-06-24 Juri Linkov <juri@jurta.org>
6643
6644 * minibuffer.el (completions-format): Change default from nil to
6645 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
6646
6647 2010-06-24 Juri Linkov <juri@jurta.org>
6648
6649 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
6650 buffer-locally to lambda that re-runs the vc diff command.
6651 (Bug#6447)
6652
6653 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
6654
6655 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
6656 echo area is in use (Bug#3412).
6657
6658 2010-06-22 Glenn Morris <rgm@gnu.org>
6659
6660 * textmodes/texinfmt.el (texinfo-format-region)
6661 (texinfo-raise-lower-sections, texinfo-format-separate-node)
6662 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
6663 (texinfo-format-option, texinfo-noindent):
6664 Use line-beginning-position and line-end-position.
6665
6666 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
6667 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
6668 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
6669 utf-8 characters.
6670
6671 2010-06-21 Karl Fogel <kfogel@red-bean.com>
6672
6673 * play/zone.el (zone-fall-through-ws): Fix next-line ->
6674 forward-line fallout.
6675
6676 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
6677
6678 * mouse.el (mouse-appearance-menu): Add docstring.
6679
6680 * help.el (describe-key): Print up-event using key-description.
6681
6682 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
6683
6684 * net/zeroconf.el (zeroconf-resolve-service)
6685 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
6686 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
6687
6688 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
6689
6690 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
6691
6692 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
6693
6694 Avoid displaying files with a nil state in vc-dir.
6695 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
6696 cases that cause insertion.
6697 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
6698 with a nil state.
6699
6700 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
6701
6702 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
6703
6704 2010-06-29 Leo <sdl.web@gmail.com>
6705
6706 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
6707
6708 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
6709
6710 * generic-x.el (bat-generic-mode): Fix regexp for command line
6711 switches (Bug#5719).
6712
6713 2010-06-27 Masatake YAMATO <yamato@redhat.com>
6714
6715 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
6716 of nconc to avoid pure storage error (Bug#6239).
6717
6718 2010-06-27 Christoph <cschol2112@googlemail.com> (tiny change)
6719
6720 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
6721 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
6722 bindings of bookmark-automatically-show-annotations (Bug#6515).
6723
6724 2010-06-25 Eli Zaretskii <eliz@gnu.org>
6725
6726 * arc-mode.el (archive-zip-extract): Don't quote the file name on
6727 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
6728
6729 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
6730
6731 * comint.el (make-comint, make-comint-in-buffer): Mention return
6732 value in the docstrings. (Bug#6498)
6733
6734 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
6735
6736 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
6737 since it is not present when using some non-default switches.
6738
6739 2010-06-23 Karl Fogel <kfogel@red-bean.com>
6740
6741 * simple.el (compose-mail): Fix doc string to refer to
6742 `compose-mail-user-agent-warnings', instead of to the
6743 nonexistent `compose-mail-check-user-agent'.
6744
6745 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
6746
6747 Fix an indentation bug:
6748
6749 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
6750 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
6751 of existing values.
6752
6753 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
6754 (c-clear->-pair-props-if-match-before): now return t when they've
6755 cleared properties, nil otherwise.
6756 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
6757 by taking account of the existing value.
6758
6759 * progmodes/cc-defs.el
6760 (c-clear-char-property-with-value-function): Fix this to clear the
6761 property rather than overwriting it with nil.
6762
6763 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
6764
6765 * emacs-lisp/package.el (package-print-package): Add link to
6766 package description via describe-package.
6767 (describe-package-1): List package requirements. Add button to
6768 perform installation.
6769 (package-menu-describe-package): New command.
6770
6771 * help-mode.el (help-package): New button type.
6772
6773 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
6774
6775 * emacs-lisp/package.el: Move package-list-packages binding to
6776 menu-bar.el.
6777 (describe-package, describe-package-1, package--dir): New funs.
6778 (package-activate-1): Use package--dir.
6779
6780 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
6781
6782 * help-mode.el (help-package-def): New button type.
6783
6784 * menu-bar.el: Move package-list-packages binding here from
6785 package.el.
6786
6787 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
6788
6789 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
6790
6791 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6792
6793 * emacs-lisp/edebug.el (edebug-read-list):
6794 Phase out old-style backquotes.
6795
6796 2010-06-17 Juri Linkov <juri@jurta.org>
6797
6798 * help-mode.el (help-mode): Set buffer-local variable
6799 revert-buffer-function to help-mode-revert-buffer.
6800 (help-mode-revert-buffer): New function.
6801
6802 * info.el (Info-revert-find-node): Check for major-mode Info-mode
6803 before popping to "*info*" (like in other Info functions).
6804 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
6805 old-history-forward. Pop to old-buffer-name or "*info*" to
6806 recreate the killed buffer. Set Info-history-forward from
6807 old-history-forward.
6808 (Info-breadcrumbs-depth): Add :group and :version.
6809
6810 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
6811
6812 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
6813
6814 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
6815
6816 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
6817 for languages like Portuguese with pt_{BR,PT} and no plain pt.
6818
6819 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
6820
6821 * emacs-lisp/package.el (package-menu-mode-map):
6822 Move initialization into declaration.
6823
6824 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
6825
6826 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
6827
6828 * emacs-lisp/package.el (package-archive-base): Point to
6829 elpa.gnu.org.
6830 (package-enable, package-load-list): New defcustoms.
6831 (package-user-dir, package-directory-list): Turn into defcustoms.
6832 Don't include package-user-dir in package-directory-list.
6833 (package--builtins-base): Don't include Emacs as a "package".
6834 (package-subdirectory-regexp): New var.
6835 (package-load-all-descriptors, package-compute-transaction)
6836 (package-download-transaction): Obey package-load-list.
6837 (package-activate-1): Rename from package-do-activate.
6838 (package-list-packages-internal): Check package-load-list.
6839 (package-load-descriptor, package-generate-autoloads)
6840 (package-unpack, package-unpack-single)
6841 (package--read-archive-file, package-delete):
6842 Use expand-file-name.
6843
6844 * emacs-lisp/package-x.el: New file. Package uploading
6845 functionality split out from package.el.
6846
6847 * startup.el (command-line): Load packages after reading init file.
6848
6849 2010-06-17 Tom Tromey <tromey@redhat.com>
6850
6851 * emacs-lisp/package.el: New file.
6852
6853 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
6854
6855 Fix vc-annotate for renamed files when using Git.
6856 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
6857 ls-files. Doe not pass the object as a file name to cat-file, it
6858 is not a file name.
6859 (vc-git-annotate-command): Pass the file name using -- to avoid
6860 ambiguity with the revision.
6861 (vc-git-previous-revision): Pass a relative file name.
6862
6863 2010-06-22 Glenn Morris <rgm@gnu.org>
6864
6865 * progmodes/js.el (js-mode-map): Use standard capitalization and
6866 ellipses for menu entries.
6867
6868 * wid-edit.el (widget-complete): Doc fix.
6869
6870 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
6871
6872 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
6873
6874 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
6875
6876 Fix annotating other revisions for renamed files in vc-annotate.
6877 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
6878 VC backend. Use it when non-nil.
6879 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
6880 (Bug#6487).
6881
6882 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
6883 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
6884 Do not pass the file name to the 'previous-revision call when we
6885 don't want a file diff. (Bug#6489)
6886
6887 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
6888
6889 Fix finding revisions for renamed files in vc-annotate.
6890 * vc/vc.el (vc-find-revision): Add an optional argument for
6891 the VC backend. Use it when non-nil.
6892 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
6893 backend to vc-find-revision. (Bug#6487)
6894
6895 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
6896
6897 Fix reading file names in Git annotate buffers.
6898 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
6899 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
6900
6901 2010-06-20 Alan Mackenzie <acm@muc.de>
6902
6903 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
6904 in file local variables, set it first.
6905
6906 2010-06-19 Glenn Morris <rgm@gnu.org>
6907
6908 * descr-text.el (describe-char-unicode-data): Insert separating
6909 space when needed. (Bug#6422)
6910
6911 * progmodes/idlwave.el (idlwave-action-and-binding):
6912 Fix typo in 2009-12-03 change. (Bug#6450)
6913
6914 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6915
6916 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
6917 handling for `lambda' (misunderstanding).
6918
6919 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
6920
6921 * calc/calc-poly.el (math-accum-factors): Make sure that
6922 constants aren't distributed after they are factored out.
6923
6924 2010-06-16 Juri Linkov <juri@jurta.org>
6925
6926 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
6927 `list-colors-print'. (Bug#6332)
6928
6929 * subr.el (read-quoted-char): Fix up last change (bug#6290).
6930
6931 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
6932
6933 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
6934 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
6935
6936 * font-lock.el (font-lock-major-mode): Rename from
6937 font-lock-mode-major-mode to distinguish it from
6938 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
6939 (font-lock-set-defaults):
6940 * font-core.el (font-lock-default-function): Adjust users.
6941 (font-lock-mode): Don't set it at all.
6942
6943 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
6944
6945 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
6946
6947 2010-06-16 Glenn Morris <rgm@gnu.org>
6948
6949 * calendar/appt.el (appt-time-msg-list): Doc fix.
6950 (appt-check): Let-bind appt-warn-time.
6951 (appt-add): Make the 3rd argument optional.
6952 Simplify argument names. Doc fix. Check for integer WARNTIME.
6953 Only add WARNTIME to the output list if non-nil.
6954
6955 2010-06-16 Ivan Kanis <apple@kanis.eu>
6956
6957 * calendar/appt.el (appt-check): Let the 3rd element of
6958 appt-time-msg-list specify the warning time.
6959 (appt-add): Add new argument with the warning time. (Bug#5176)
6960
6961 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
6962
6963 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
6964 older than version 1.6. (Bug#6361)
6965
6966 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
6967
6968 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
6969 used by cl-do-arglist. (Bug#6408)
6970
6971 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
6972
6973 * textmodes/ispell.el (ispell-dictionary-base-alist):
6974 Fix portuguese casechars/not-casechars for missing 'çÇ'.
6975 Suggested by Rolando Pereira (bug#6434).
6976
6977 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
6978
6979 * facemenu.el (list-colors-sort): Doc fix.
6980
6981 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
6982
6983 * progmodes/sql.el (sql-connect-mysql): Fix typo.
6984
6985 2010-06-14 Juri Linkov <juri@jurta.org>
6986
6987 Add sort option `list-colors-sort'. (Bug#6332)
6988 * facemenu.el (color-rgb-to-hsv): New function.
6989 (list-colors-sort): New defcustom.
6990 (list-colors-sort-key): New function.
6991 (list-colors-display): Doc fix. Sort list according to the option
6992 `list-colors-sort'.
6993 (list-colors-print): Add HSV values to `help-echo' property of
6994 RGB strings.
6995
6996 2010-06-14 Juri Linkov <juri@jurta.org>
6997
6998 * compare-w.el: Move to the "vc" subdirectory.
6999
7000 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7001
7002 * image-mode.el (image-mode-map): Remap left-char and right-char.
7003
7004 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
7005
7006 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
7007
7008 * term/common-win.el (x-colors): Add all the color names defined
7009 in rgb.txt (Bug#6332).
7010
7011 * facemenu.el (list-colors-print): Don't print extra names if it
7012 will overflow the window width.
7013
7014 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
7015 change (Bug#6343).
7016
7017 2010-06-12 Eli Zaretskii <eliz@gnu.org>
7018
7019 * files.el (make-directory): Doc fix (bug#6396).
7020
7021 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
7022
7023 * net/tramp.el (tramp-remote-process-environment): Protect version
7024 string by apostroph.
7025 (tramp-shell-prompt-pattern): Do not use a shy group in case of
7026 XEmacs.
7027 (tramp-file-name-for-operation): Add `call-process-region'.
7028 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
7029
7030 * net/tramp-compat.el (top): Do not autoload
7031 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
7032 only when `start-file-process' is not bound.
7033 (tramp-advice-file-expand-wildcards): Do not use
7034 `tramp-handle-file-remote-p'.
7035 (tramp-compat-make-temp-file): Handle the case, that
7036 `make-temp-file' has no third argument EXTENSION.
7037
7038 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
7039
7040 * makefile.w32-in (WINS_BASIC): Include new directory vc.
7041
7042 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
7043
7044 2010-06-11 Juri Linkov <juri@jurta.org>
7045
7046 * finder.el (finder-known-keywords): Add keyword "vc"
7047 for version control.
7048
7049 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
7050 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
7051 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
7052 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
7053
7054 2010-06-11 Juri Linkov <juri@jurta.org>
7055
7056 Move version control related files to the "vc" subdirectory.
7057 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
7058 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
7059 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
7060 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
7061 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
7062 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
7063 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
7064 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
7065 Move files to the "vc" subdirectory.
7066
7067 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
7068
7069 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
7070 (Bug#6367).
7071
7072 2010-06-11 Stephen Eglen <stephen@gnu.org>
7073
7074 * shell.el: Bind `shell-resync-dirs' to M-RET.
7075
7076 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
7077
7078 * notifications.el: Move file from lisp/net, because it is
7079 supposed to talk locally to the user.
7080
7081 2010-06-10 Julien Danjou <julien@danjou.info>
7082
7083 * net/notifications.el (notifications-on-action-signal)
7084 (notifications-on-closed-signal): Pass notification id as first
7085 argument to the callback functions. Add docstrings.
7086 (notifications-notify): Fix docstring.
7087
7088 2010-06-10 Glenn Morris <rgm@gnu.org>
7089
7090 * emacs-lisp/authors.el (authors-ignored-files)
7091 (authors-valid-file-names): Add some files.
7092
7093 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
7094
7095 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
7096 merge conflict, giving preference to the emacs-23 version of the code.
7097
7098 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
7099
7100 * emacs-lisp/advice.el (ad-compile-function):
7101 Define warning-suppress-types before we let-bind it (bug#6275).
7102
7103 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
7104 declare it, make it buffer-local and permanent-local (bug#6324).
7105 (vc-resynch-window): Adjust name.
7106 * vc-hooks.el (vc-find-file-hook): Adjust name.
7107
7108 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
7109
7110 * net/notifications.el (notifications-notify): Fix docstring.
7111
7112 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
7113
7114 Update to Unicode 6.0.0 beta.
7115 * international/charprop.el: Update copyright.
7116 * international/mule-cmds.el (ucs-names): Update character ranges.
7117 * international/uni-bidi.el:
7118 * international/uni-category.el:
7119 * international/uni-combining.el:
7120 * international/uni-comment.el:
7121 * international/uni-decimal.el:
7122 * international/uni-decomposition.el:
7123 * international/uni-digit.el:
7124 * international/uni-lowercase.el:
7125 * international/uni-mirrored.el:
7126 * international/uni-name.el:
7127 * international/uni-numeric.el:
7128 * international/uni-old-name.el:
7129 * international/uni-titlecase.el:
7130 * international/uni-uppercase.el: Regenerate.
7131
7132 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
7133
7134 * emacs-lisp/smie.el (comment-string-strip): Declare function.
7135 (smie-precs-precedence-table): Fix typo in docstring.
7136
7137 * vc-mtn.el (log-edit-extract-headers): Declare function.
7138
7139 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
7140
7141 * net/notifications.el (dbus-register-signal): Declare function.
7142 (notifications-notify): Fix typos and reflow docstring.
7143
7144 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
7145
7146 Improve VC create/retrieve tag/branch.
7147 * vc.el (vc-create-tag): Do not read the directory name for VCs
7148 with repository revision granularity. Adjust the tag/branch
7149 prompt. Reset VC properties.
7150 (vc-retrieve-tag): Do not read the directory name for VCs
7151 with repository revision granularity. Reset VC properties.
7152
7153 2010-06-09 Julien Danjou <julien@danjou.info>
7154
7155 * net/notifications.el: New file.
7156
7157 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
7158
7159 Add optional support for resetting VC properties.
7160 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
7161 call vc-file-clearprops when true.
7162 (vc-resynch-buffer): Add new optional argument, pass it down.
7163 (vc-resynch-buffers-in-directory): Likewise.
7164
7165 Improve support for special markup in the VC commit message.
7166 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
7167 * vc-hg.el (vc-hg-checkin): Add support for Date:.
7168 * vc-git.el (vc-git-checkin):
7169 * vc-bzr.el (vc-bzr-checkin): Likewise.
7170
7171 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
7172
7173 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
7174 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
7175
7176 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
7177
7178 * iimage.el: Remove images as soon as the underlying text is modified.
7179 (iimage-modification-hook): New function.
7180 (iimage-mode-buffer): Use it.
7181
7182 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7183
7184 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
7185 smie-indent-offset-after. Add :prev case. Make a bit more generic.
7186 (smie-indent-virtual): Remove `virtual' arg. Update callers.
7187 (smie-indent-keyword): Add handling of open-paren keywords.
7188 (smie-indent-comment-continue): Don't assume comment-continue.
7189
7190 2010-06-07 Martin Rudalics <rudalics@gmx.at>
7191
7192 * window.el (pop-to-buffer): Remove the conditional that
7193 compares new-window and old-window, so it will reselect
7194 the selected window unconditionally.
7195 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
7196
7197 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7198
7199 * emacs-lisp/smie.el (smie-indent-offset-after)
7200 (smie-indent-forward-token, smie-indent-backward-token): New functions.
7201 (smie-indent-after-keyword): Use them.
7202 (smie-indent-fixindent): Only applies to the indentation of the BOL.
7203 (smie-indent-keyword): Tweak the black magic.
7204 (smie-indent-comment-continue): Strip comment-continue before use.
7205 (smie-indent-functions): Indent comments before keywords.
7206
7207 2010-06-06 Juri Linkov <juri@jurta.org>
7208
7209 * isearch.el (isearch-lazy-highlight-search): Fix looping
7210 by checking for empty match. This syncs this loop with the
7211 similar loop in `isearch-search'. (Bug#6362)
7212
7213 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
7214
7215 * net/dbus.el (dbus-register-method): Declare function.
7216 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
7217 (dbus-introspect): Doc fix.
7218 (dbus-event-bus-name, dbus-introspect-get-interface)
7219 (dbus-introspect-get-argument): Reflow docstrings.
7220
7221 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
7222
7223 vc-log-incoming/vc-log-outgoing fixes for Git.
7224 * vc-git.el (vc-git-log-view-mode): Fix font lock for
7225 incoming/outgoing logs.
7226 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
7227 instead of vc-git-compute-remote.
7228 (vc-git-compute-remote): Remove.
7229
7230 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
7231
7232 * term/common-win.el (x-colors): Add "dark green" and "dark
7233 turquoise" (Bug#6332).
7234
7235 2010-06-04 Juri Linkov <juri@jurta.org>
7236
7237 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
7238 Instead of setting `replace' to t and replacing the same string
7239 with itself, don't do certain actions when
7240 kill-do-not-save-duplicates is non-nil and string is equal to car
7241 of kill-ring: don't call menu-bar-update-yank-menu, don't push
7242 interprogram-paste strings to kill-ring, and don't push the input
7243 argument `string' to kill-ring.
7244 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
7245
7246 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
7247
7248 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
7249
7250 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
7251
7252 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
7253 (tramp-gvfs-handler-mounted-unmounted)
7254 (tramp-gvfs-connection-mounted-p): Handle default-location.
7255
7256 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
7257 move files to trash.
7258
7259 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
7260
7261 * international/mule-cmds.el (nonascii-insert-offset)
7262 (nonascii-translation-table): Add obsolescence information.
7263
7264 * international/mule.el (make-translation-table-from-vector): Doc fix.
7265
7266 2010-06-03 Glenn Morris <rgm@gnu.org>
7267
7268 * desktop.el (desktop-clear-preserve-buffers):
7269 Add "*Warnings*" buffer. (Bug#6336)
7270
7271 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
7272
7273 vc-log-incoming/vc-log-outgoing improvements for Git.
7274 * vc-git.el (vc-git-log-outgoing): Use the same format as the
7275 short log.
7276 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
7277
7278 Add bindings for vc-log-incoming and vc-log-outgoing.
7279 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
7280 and vc-log-outgoing.
7281 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
7282 and vc-log-outgoing.
7283
7284 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
7285
7286 * net/rcirc.el (rcirc-sort-nicknames): Remove.
7287 (rcirc-handler-366): Always sort nicknames.
7288
7289 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
7290
7291 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
7292
7293 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
7294
7295 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
7296
7297 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7298
7299 * net/rcirc.el (rcirc-sort-nicknames): Change default.
7300 (rcirc-sort-nicknames-join): Avoid setq.
7301
7302 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
7303
7304 * net/rcirc.el (rcirc-sort-nicknames): New custom.
7305 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
7306 (rcirc-handler-366): Use them.
7307
7308 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7309
7310 Split smie-indent-calculate into more manageable chunks.
7311 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
7312 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
7313 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
7314 (smie-indent-exps): Extract from smie-indent-calculate.
7315 (smie-indent-functions): New var.
7316 (smie-indent-functions): Use them.
7317
7318 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7319
7320 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
7321 (smie-indent-calculate): Simplify and cleanup.
7322
7323 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
7324
7325 * net/tramp-gvfs.el (top): Require url-util.
7326 (tramp-gvfs-mount-point): Remove.
7327 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
7328 New defuns.
7329 (with-tramp-dbus-call-method): Format trace message.
7330 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
7331 Implement backup call, when operation on local files fails.
7332 Use progress reporter. Flush properties of changed files.
7333 (tramp-gvfs-handle-make-directory): Make more traces.
7334 (tramp-gvfs-url-file-name): Hexify file name in url.
7335 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
7336 into account for the resulting file name.
7337 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
7338 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
7339 (tramp-gvfs-handler-mounted-unmounted)
7340 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
7341 attribute "default_location". Set "prefix" property.
7342 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
7343 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
7344 exists. Raise an error, if not (due to a corresponding answer
7345 "no" in interactive questions, for example).
7346
7347 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
7348
7349 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
7350
7351 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
7352
7353 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
7354 right-*. (Bug#6265)
7355
7356 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
7357
7358 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
7359 * vc-git.el (vc-git-compute-remote): New function.
7360 (vc-git-log-outgoing): Use it instead of hard coding a value.
7361 (vc-git-log-incoming): New function.
7362
7363 Improve state updating for VC tag commands.
7364 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
7365 to update the state of all buffers in the directory.
7366
7367 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
7368
7369 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
7370
7371 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
7372 `file-directory-p' to the filename part rather than to the whole text.
7373
7374 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7375
7376 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
7377
7378 2010-05-31 Drew Adams <drew.adams@oracle.com>
7379
7380 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
7381
7382 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
7383
7384 * subr.el (momentary-string-display): Just use read-event to read
7385 the exit event (Bug#6238).
7386
7387 2010-05-30 Eli Zaretskii <eliz@gnu.org>
7388
7389 * international/mule.el (define-coding-system): Doc fix (bug#6313).
7390
7391 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
7392
7393 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
7394 Suggested by Eli Zaretskii <eliz@gnu.org>.
7395
7396 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7397
7398 * minibuffer.el (completion-file-name-table): Don't return a boundary
7399 past the end of `string' (bug#6299).
7400 (completion--file-name-table): Delegate to completion-file-name-table
7401 for the `boundaries' case.
7402
7403 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
7404
7405 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
7406 movement commands.
7407
7408 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
7409 `path-separator', but maintain compatibility with Emacs 20.2.
7410
7411 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
7412
7413 * server.el (server-process-filter): Receive parent-id argument
7414 from emacsclient.
7415 (server-create-window-system-frame): New arg. Pass parent-id as
7416 frame parameter.
7417
7418 2010-05-29 Eli Zaretskii <eliz@gnu.org>
7419
7420 Bidi-sensitive word movement with arrow keys.
7421 * subr.el (right-arrow-command, left-arrow-command): Move to
7422 bindings.el.
7423
7424 * bindings.el (right-char, left-char): Move from subr.el and
7425 rename from right-arrow-command and left-arrow-command.
7426 (right-word, left-word): New functions.
7427 (global-map) <right>: Bind to right-char.
7428 (global-map) <left>: Bind to left-char.
7429 (global-map) <C-right>: Bind to right-word.
7430 (global-map) <C-left>: Bind to left-word.
7431
7432 * ls-lisp.el (ls-lisp-classify-file): New function.
7433 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
7434 (ls-lisp-classify): Call ls-lisp-classify-file.
7435 (insert-directory): Remove blanks from switches.
7436
7437 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
7438
7439 * ansi-color.el: Delete unused escape sequences (Bug#6085).
7440 (ansi-color-drop-regexp): New constant.
7441 (ansi-color-apply, ansi-color-filter-region)
7442 (ansi-color-apply-on-region): Delete unrecognized control sequences.
7443 (ansi-color-apply): Build string list before calling concat.
7444
7445 2010-05-28 Juri Linkov <juri@jurta.org>
7446
7447 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7448 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
7449 (Bug#5270)
7450
7451 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
7452
7453 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
7454 to ignored backtrace functions.
7455 (with-progress-reporter): Expand docstring.
7456 (tramp-handle-delete-file): Implement TRASH argument.
7457 (tramp-get-remote-trash): New defun.
7458
7459 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
7460
7461 * net/tramp-compat.el (tramp-compat-delete-file):
7462 Use `symbol-value' for backward compatibility.
7463
7464 * net/tramp.el (tramp-handle-make-symbolic-link)
7465 (tramp-handle-load)
7466 (tramp-do-copy-or-rename-file-via-buffer)
7467 (tramp-do-copy-or-rename-file-directly)
7468 (tramp-do-copy-or-rename-file-out-of-band)
7469 (tramp-handle-process-file, tramp-handle-call-process-region)
7470 (tramp-handle-shell-command, tramp-handle-file-local-copy)
7471 (tramp-handle-insert-file-contents, tramp-handle-write-region)
7472 (tramp-delete-temp-file-function): Use `delete-file' instead
7473 of `tramp-compat-delete-file'.
7474
7475 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
7476 (tramp-fish-handle-make-symbolic-link)
7477 (tramp-fish-handle-process-file): Use `delete-file' instead
7478 of `tramp-compat-delete-file'.
7479
7480 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
7481 Use `delete-file' instead of `tramp-compat-delete-file'.
7482
7483 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
7484 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
7485 `tramp-compat-delete-file'.
7486
7487 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
7488 Use `delete-file' instead of `tramp-compat-delete-file'.
7489
7490 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7491 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
7492 (tramp-smb-handle-write-region): Use `delete-file' instead of
7493 `tramp-compat-delete-file'.
7494 (tramp-smb-handle-delete-directory): Use 'trash as arg.
7495
7496 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
7497
7498 * dired.el (dired-delete-file): New arg TRASH.
7499 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
7500 (dired-do-flagged-delete, dired-do-delete): Use trash.
7501
7502 * speedbar.el (speedbar-item-delete): Allow trashing.
7503
7504 * files.el (delete-directory): New arg TRASH.
7505
7506 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
7507 (ange-ftp-rename-remote-to-remote)
7508 (ange-ftp-rename-local-to-remote)
7509 (ange-ftp-rename-remote-to-local, ange-ftp-load)
7510 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
7511 `delete-file'.
7512 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
7513 allow trashing.
7514
7515 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
7516 handle new TRASH arg of `delete-file'.
7517
7518 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
7519 (tramp-handle-make-symbolic-link, tramp-handle-load)
7520 (tramp-do-copy-or-rename-file-via-buffer)
7521 (tramp-do-copy-or-rename-file-directly)
7522 (tramp-do-copy-or-rename-file-out-of-band)
7523 (tramp-handle-process-file, tramp-handle-call-process-region)
7524 (tramp-handle-shell-command, tramp-handle-file-local-copy)
7525 (tramp-handle-insert-file-contents, tramp-handle-write-region)
7526 (tramp-delete-temp-file-function): Use null TRASH arg in
7527 tramp-compat-delete-file call.
7528
7529 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
7530 (tramp-fish-handle-delete-file)
7531 (tramp-fish-handle-make-symbolic-link)
7532 (tramp-fish-handle-process-file): Use null TRASH arg in
7533 `tramp-compat-delete-file' call.
7534
7535 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
7536 arg in `tramp-compat-delete-file' call.
7537
7538 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
7539 (tramp-gvfs-handle-write-region): Use null TRASH arg in
7540 `tramp-compat-delete-file' call.
7541
7542 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
7543 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
7544 `tramp-compat-delete-file' call.
7545
7546 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7547 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
7548 (tramp-smb-handle-write-region): Use null TRASH arg in
7549 tramp-compat-delete-file call.
7550 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
7551 (tramp-smb-handle-delete-file): Rename arg.
7552
7553 * diff.el (diff-sentinel):
7554 * epg.el (epg--make-temp-file, epg-decrypt-string)
7555 (epg-verify-string, epg-sign-string, epg-encrypt-string):
7556 * jka-compr.el (jka-compr-partial-uncompress)
7557 (jka-compr-call-process, jka-compr-write-region):
7558 * server.el (server-sentinel): Remove optional arg from
7559 delete-file, reverting 2010-05-03 change.
7560
7561 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
7562
7563 * progmodes/verilog-mode.el (verilog-type-font-keywords):
7564 Use font-lock-constant-face, not obsolete font-lock-reference-face.
7565
7566 2010-05-27 Kenichi Handa <handa@m17n.org>
7567
7568 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
7569 element of GSTRING is nil.
7570
7571 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7572
7573 * emacs-lisp/smie.el (smie-forward-token-function)
7574 (smie-backward-token-function): New vars.
7575 (smie-backward-sexp, smie-forward-sexp)
7576 (smie-indent-hanging-p, smie-indent-calculate): Use them.
7577 (smie-default-backward-token): Rename from smie-backward-token and
7578 skip comments.
7579 (smie-default-forward-token): Rename from smie-forward-token and
7580 skip comments.
7581 (smie-next-sexp): Handle nil results from next-token.
7582 (smie-indent-calculate): Add a new case for special `fixindent' comments.
7583
7584 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
7585
7586 * progmodes/verilog-mode.el (verilog-type-font-keywords):
7587 Use font-lock-constant-face, not obsolete font-lock-reference-face.
7588
7589 2010-05-27 Masatake YAMATO <yamato@redhat.com>
7590
7591 * htmlfontify.el (hfy-face-resolve-face): New function.
7592 (hfy-face-to-style): Use it (Bug#6279).
7593
7594 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
7595
7596 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
7597 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
7598
7599 2010-05-26 Glenn Morris <rgm@gnu.org>
7600
7601 * emulation/edt.el (edt-load-keys): Use locate-library.
7602
7603 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
7604
7605 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
7606 (log-edit-changelog-entries): Doc fix.
7607 (log-edit-changelog-insert-entries): Args changed.
7608 Rename relative filenames in ChangeLog entries. Delete tabs.
7609 (log-edit-insert-changelog-entries): Reorganize return value of
7610 `log-edit-changelog-entries' to pass filenames to
7611 log-edit-changelog-insert-entries.
7612
7613 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7614
7615 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
7616 `image-dired-dired-insert-marked-thumbs' to
7617 `image-dired-dired-toggle-marked-thumbs'.
7618
7619 * image-dired.el: Require cl when compiling.
7620 (image-dired-dired-toggle-marked-thumbs): Rename from
7621 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
7622 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
7623 to 'no-dir. Skip files whose names don't match
7624 `image-file-name-regexp'. When file has a thumbnail overlay,
7625 delete it. (Bug#5270)
7626
7627 2010-05-25 Juri Linkov <juri@jurta.org>
7628
7629 * image-mode.el (image-mode): Add image-after-revert-hook to
7630 after-revert-hook.
7631 (image-after-revert-hook): New function. (Bug#5669)
7632
7633 2010-05-25 Juri Linkov <juri@jurta.org>
7634
7635 * image.el (image-animated-p): When delay between animated images
7636 is 0, set it to 10 (0.1 sec). (Bug#6258)
7637
7638 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
7639
7640 * net/tramp.el (tramp-handle-insert-directory): Don't use
7641 `forward-word', its default syntax could be changed.
7642
7643 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
7644
7645 * net/tramp.el (tramp-progress-reporter-update): New defun.
7646 (with-progress-reporter): Use it.
7647 (tramp-process-actions):
7648 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
7649 Preserve current message, in order to let progress reporter continue
7650 afterwards. (Bug#6257)
7651
7652 2010-05-25 Glenn Morris <rgm@gnu.org>
7653
7654 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
7655 Add :version.
7656
7657 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
7658
7659 * net/rcirc.el (rcirc-default-user-name): Change to "user".
7660 (rcirc-default-full-name): Change to "unknown".
7661 (rcirc-user-name-history): Add variable.
7662
7663 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
7664 Jonathan Rockway <jon@jrock.us>
7665
7666 * net/rcirc.el (rcirc-server-alist): Add :pass.
7667 (rcirc): When prompting for connection parameters, also prompt for
7668 username and password.
7669 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
7670 value to server when connecting.
7671
7672 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7673
7674 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
7675 (smie-merge-prec2s): Pass the tables as separate args.
7676 (smie-bnf-precedence-table): Adjust call accordingly.
7677 (smie-prec2-levels): Set levels at the end.
7678
7679 Replace Lisp calls to delete-backward-char by delete-char.
7680 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
7681 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
7682 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
7683 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
7684 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
7685 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
7686 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
7687 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
7688 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
7689 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
7690 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
7691 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
7692 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
7693 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
7694 delete-backward-char by calls to delete-char.
7695
7696 2010-05-25 Kenichi Handa <handa@m17n.org>
7697
7698 * language/hebrew.el (hebrew-shape-gstring): New function.
7699 Register it in composition-function-table for all Hebrew combining
7700 characters.
7701
7702 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7703
7704 * epa.el (epa--select-keys): Don't explicitly delete the window since
7705 that can fail (e.g. sole window in frame). Use dedication instead.
7706
7707 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
7708
7709 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
7710
7711 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
7712
7713 * image.el (image-refresh): Define as an alias for image-flush.
7714
7715 * image-mode.el (image-toggle-display-image): Caller changed.
7716
7717 2010-05-21 Juri Linkov <juri@jurta.org>
7718
7719 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
7720 Remove "all" from grep-files-aliases. Split grep-files-aliases by
7721 whitespace, call wildcard-to-regexp on substrings and concat them
7722 with "\\|". (Bug#6114)
7723
7724 2010-05-21 Alan Mackenzie <acm@muc.de>
7725
7726 * progmodes/cc-engine.el (c-parse-state-get-strategy):
7727 Replace parameter `here' with `here-' and `here-plus', which sandwich
7728 any pertinent CPP construct.
7729 (c-remove-stale-state-cache-backwards): Fix a bug which happens
7730 when doing (c-parse-state) in a CPP construct: Exclude any "new"
7731 CPP construct from taking part in the scanning.
7732
7733 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
7734
7735 * net/tramp.el (tramp-do-copy-or-rename-file)
7736 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
7737 Tune `with-progress-reporter' messages.
7738 (tramp-handle-vc-registered):
7739 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
7740 (tramp-fish-handle-insert-file-contents)
7741 (tramp-fish-maybe-open-connection):
7742 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7743 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
7744 (tramp-imap-handle-insert-file-contents)
7745 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
7746
7747 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
7748
7749 * add-log.el (change-log-font-lock-keywords):
7750 Highlight all authors in multi-author entries.
7751
7752 * smerge-mode.el (smerge-refine-ignore-whitespace)
7753 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
7754 Fix typos in docstrings.
7755 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
7756
7757 2010-05-21 Glenn Morris <rgm@gnu.org>
7758
7759 * progmodes/fortran.el (fortran-mode):
7760 * progmodes/f90.el (f90-mode): Derive from prog-mode.
7761
7762 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
7763 having a relative path in src/Makefile.in.
7764
7765 2010-05-20 Kevin Ryde <user42@zip.com.au>
7766
7767 * help-mode.el (help-make-xrefs): For Info node links turn
7768 newlines into spaces. Link node names with newlines are matched
7769 by help-xref-info-regexp and buttonized, this change ensures they
7770 can be followed successfully with RET. (Bug#6206)
7771
7772 2010-05-20 Juri Linkov <juri@jurta.org>
7773
7774 * locate.el (locate): Use pop-to-buffer instead of
7775 switch-to-buffer-other-window. (Bug#6204)
7776
7777 2010-05-20 Juri Linkov <juri@jurta.org>
7778
7779 * replace.el (replace-highlight): Fix lazy-highlighting
7780 for `M-s w str M-% str RET'.
7781
7782 2009-12-15 Masatake YAMATO <yamato@redhat.com>
7783
7784 * isearch.el (isearch-yank-word-or-char): Pull next subword
7785 when `subword-mode' is activated. (Bug#6220)
7786
7787 2010-05-20 Mark A. Hershberger <mah@everybody.org>
7788
7789 * isearch.el (isearch-update-post-hook): New hook.
7790 (isearch-update): Use the new hook. (Bug#6225)
7791
7792 2010-05-20 Juri Linkov <juri@jurta.org>
7793
7794 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
7795 [f1], [help], and (char-to-string help-char) instead of "\C-h".
7796 (Bug#6222)
7797
7798 2010-05-20 Juri Linkov <juri@jurta.org>
7799
7800 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
7801 (Bug#6223)
7802
7803 2010-05-20 Juri Linkov <juri@jurta.org>
7804
7805 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
7806 FILE-NAME to read from the minibuffer when called interactively
7807 with prefix argument instead of using buffer-file-name.
7808 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
7809
7810 * dired.el: Update autoloads.
7811
7812 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
7813
7814 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
7815 nxml-finish-element, for consistency with SGML mode.
7816
7817 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
7818 octave-close-block.
7819
7820 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
7821
7822 * composite.el: Require cl when compiling.
7823 (reference-point-alist, compose-gstring-for-graphic)
7824 (compose-gstring-for-terminal): Fix typos in docstrings.
7825
7826 2010-05-19 Juri Linkov <juri@jurta.org>
7827
7828 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
7829 set-window-parameter.
7830
7831 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
7832
7833 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
7834 where appropriate.
7835 (tramp-maybe-open-connection): Use it.
7836
7837 2010-05-19 Eli Zaretskii <eliz@gnu.org>
7838
7839 * simple.el (move-end-of-line): Make sure we are at line beginning
7840 before backing up to end of previous line.
7841
7842 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
7843
7844 * password-cache.el (password-cache-remove): Fix docstring.
7845
7846 * net/secrets.el: Autoload the widget functions.
7847 (secrets-search-items, secrets-create-item)
7848 (secrets-get-attributes, secrets-expand-item): Attributes will be
7849 stored on the password database without leading ":", as all other
7850 clients do as well.
7851 (secrets-mode): Fix docstring.
7852 (secrets-show-secrets): Provide it as autoloaded command only when
7853 D-Bus support is available. Check existence of Secret Service API.
7854
7855 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
7856
7857 * indent.el (indent-region): Deactivate region (bug#6200).
7858
7859 2010-05-19 Glenn Morris <rgm@gnu.org>
7860
7861 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
7862
7863 2010-05-19 Kenichi Handa <handa@m17n.org>
7864
7865 * composite.el: Register compose-gstring-for-graphic in
7866 composition-function-table only for combining characters (Mn, Mc, Me).
7867
7868 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
7869
7870 * calc/calc-trail.el (calc-trail-isearch-forward)
7871 (calc-trail-isearch-backward): Ensure that the new window
7872 point is set correctly.
7873
7874 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7875
7876 * subr.el (read-quoted-char): Resolve modifiers after key
7877 remapping (bug#6212).
7878
7879 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
7880
7881 Add visualization code for secrets.
7882 * net/secrets.el (secrets-mode): New major mode.
7883 (secrets-show-secrets, secrets-show-collections)
7884 (secrets-expand-collection, secrets-expand-item)
7885 (secrets-tree-widget-after-toggle-function)
7886 (secrets-tree-widget-show-password): New defuns.
7887
7888 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7889
7890 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
7891 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
7892 handled in smie-next-sexp.
7893 (smie-indent-calculate): Provide a starting indentation (so the
7894 recursion is well-founded ;-).
7895
7896 Fix handling of non-associative equal levels.
7897 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
7898 when it's not needed.
7899 (smie-op-left, smie-op-right): New functions.
7900 (smie-next-sexp): New function, extracted from smie-backward-sexp.
7901 Better handle equal levels to distinguish the associative case from
7902 the "multi-keyword construct" case.
7903 (smie-backward-sexp, smie-forward-sexp): Use it.
7904
7905 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
7906
7907 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
7908
7909 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
7910 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
7911
7912 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7913
7914 Provide a simple generic indentation engine and use it for Prolog.
7915 * emacs-lisp/smie.el: New file.
7916 * progmodes/prolog.el (prolog-smie-op-levels)
7917 (prolog-smie-indent-rules): New var.
7918 (prolog-mode-variables): Use them to configure SMIE.
7919 (prolog-indent-line, prolog-indent-level): Remove.
7920
7921 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
7922
7923 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
7924 order before computing the averages.
7925
7926 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
7927
7928 * calc/calc-vec.el (calc-histogram):
7929 (calcFunc-histogram): Allow vectors as inputs.
7930 (math-vector-avg): New function.
7931
7932 * calc/calc-ext.el (math-group-float): Have the number of digits
7933 being grouped depend on the radix (Bug#6189).
7934
7935 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
7936
7937 * version.el (emacs-copyright, emacs-version): Don't define here,
7938 now that emacs.c defines it.
7939
7940 2010-05-15 Eli Zaretskii <eliz@gnu.org>
7941
7942 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
7943 "Describe Language Environment" menu item.
7944
7945 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
7946
7947 Bidi-sensitive movement with arrow keys.
7948 * subr.el (right-arrow-command, left-arrow-command): New functions.
7949
7950 * bindings.el (global-map): Bind them to right and left arrow keys.
7951
7952 Don't override standard definition of convert-standard-filename.
7953 * files.el (convert-standard-filename):
7954 Call w32-convert-standard-filename and dos-convert-standard-filename on
7955 the corresponding systems.
7956
7957 * w32-fns.el (w32-convert-standard-filename): Rename from
7958 convert-standard-filename. Doc fix.
7959
7960 * dos-fns.el (dos-convert-standard-filename): Doc fix.
7961 (convert-standard-filename): Don't defalias.
7962 (register-name-alist, make-register, register-value)
7963 (set-register-value, intdos): Obsolete aliases for the
7964 corresponding dos-* functions and variables.
7965 (dos-intdos): Add a doc string.
7966
7967 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
7968
7969 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
7970 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
7971 (math-compose-tex-func):
7972 * calc/calccomp.el (math-compose-expr):
7973 * calc/calc-ext.el (math-format-flat-expr-fancy):
7974 * calc/calc-store.el (calc-read-var-name):
7975 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
7976
7977 * calc/calc.el (var-π, var-φ, var-γ): New variables.
7978 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
7979 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
7980 (math-standard-units): Add units.
7981
7982 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7983
7984 * progmodes/asm-mode.el (asm-mode):
7985 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
7986
7987 * pcomplete.el (pcomplete-completions-at-point): New function,
7988 extracted from pcomplete-std-complete.
7989 (pcomplete-std-complete): Use it.
7990
7991 2010-05-15 Glenn Morris <rgm@gnu.org>
7992
7993 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7994 Remove references to CVS, RCS and Old directories.
7995
7996 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
7997
7998 * calc/calc-bin.el (math-format-twos-complement): Group digits when
7999 appropriate.
8000
8001 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
8002
8003 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
8004 (sh-mode-syntax-table): Give it a default value instead.
8005 (sh-header-marker): Make buffer-local.
8006 (sh-mode): Move make-local-variable to the corresponding setq.
8007 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
8008 Use complete-with-action.
8009
8010 * simple.el (prog-mode): New (abstract) major mode.
8011 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
8012 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
8013
8014 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
8015
8016 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
8017 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
8018 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
8019 (sql-make-alternate-buffer-name, sql-placeholders-filter)
8020 (sql-escape-newlines-filter, sql-input-sender)
8021 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
8022
8023 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
8024
8025 Add TeX open-block and close-block keybindings to SGML, and vice versa.
8026
8027 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
8028 latex-open-block and C-c / to latex-close-block.
8029
8030 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
8031 and C-c C-e to sgml-close-tag.
8032
8033 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
8034
8035 * net/tramp.el (with-progress-reporter): Create reporter object
8036 only when the message would be displayed. Handle nested calls.
8037 (tramp-handle-load, tramp-handle-file-local-copy)
8038 (tramp-handle-insert-file-contents, tramp-handle-write-region)
8039 (tramp-maybe-send-script, tramp-find-shell):
8040 Use `with-progress-reporter'.
8041 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
8042 Fix message text.
8043
8044 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8045 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8046 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
8047 Use `with-progress-reporter'.
8048
8049 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
8050
8051 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
8052 process everytime when spellchecking from the minibuffer (bug#6143).
8053
8054 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
8055
8056 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
8057
8058 * dos-fns.el: Add "dos-" prefix for namespace control.
8059 (convert-standard-filename): Define as alias for
8060 dos-convert-standard-filename but only if applicable.
8061
8062 2010-05-12 Alan Mackenzie <acm@muc.de>
8063
8064 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
8065 Push the mark at the start of these functions when appropriate.
8066
8067 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
8068
8069 * minibuffer.el (completion-cycle-threshold): New custom var.
8070 (completion--do-completion): Use it.
8071 (minibuffer-complete): Use cycling if appropriate.
8072
8073 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
8074
8075 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
8076 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
8077
8078 2010-05-11 Juri Linkov <juri@jurta.org>
8079
8080 * scroll-all.el (scroll-all-check-to-scroll):
8081 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
8082
8083 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
8084
8085 * iimage.el (iimage-mode-map): Move initialization into declaration.
8086 (iimage-mode-buffer): Use with-silent-modifications.
8087 Simplify calling convention. Adjust callers.
8088 (iimage-mode): Don't run hook redundantly.
8089
8090 * minibuffer.el (completion-pcm--pattern->regex):
8091 Fix last change (bug#6160).
8092
8093 2010-05-10 Juri Linkov <juri@jurta.org>
8094
8095 Remove nodes visited during Isearch from the Info history.
8096 * info.el (Info-isearch-initial-history)
8097 (Info-isearch-initial-history-list): New variables.
8098 (Info-isearch-start): Record initial values of
8099 Info-isearch-initial-history and Info-isearch-initial-history-list.
8100 Add Info-isearch-end to isearch-mode-end-hook.
8101 (Info-isearch-end): New function.
8102
8103 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
8104
8105 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
8106 format string, in order to work around a bug in pdksh.
8107 Reported by Gilles Pion <gpion@lfdj.com>.
8108 (tramp-handle-verify-visited-file-modtime): Do not send a command
8109 when the connection is not established.
8110 (tramp-handle-set-file-times): Simplify the check for utc.
8111
8112 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
8113
8114 Fix use of `filter-buffer-substring' (rework previous change).
8115 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
8116 (cua-repeat-replace-region):
8117 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
8118 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
8119 (cua-cut-region-to-global-mark): Use it.
8120
8121 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
8122
8123 * progmodes/sql.el: Version 2.1.
8124 (sql-product-alist): Redesign structure of product info.
8125 (sql-product, sql-user, sql-server, sql-database): Safe variables.
8126 (sql-port, sql-port-history): New variables.
8127 (sql-interactive-product): New variable.
8128 (sql-send-terminator): New variable.
8129 (sql-imenu-generic-expression): Add "Types" imenu entry.
8130 (sql-oracle-login-params, sql-sqlite-login-params)
8131 (sql-mysql-login-params, sql-solid-login-params)
8132 (sql-sybase-login-params, sql-informix-login-params)
8133 (sql-ingres-login-params, sql-ms-login-params)
8134 (sql-postgres-login-params, sql-interbase-login-params)
8135 (sql-db2-login-params, sql-linter-login-params)
8136 (sql-oracle-scan-on): New variables.
8137 (sql-mode-map): Add C-c C-i to start interactive mode.
8138 (sql-mode-menu): Update existing menu entries.
8139 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
8140 (sql-mode-oracle-font-lock-keywords)
8141 (sql-mode-postgres-font-lock-keywords)
8142 (sql-mode-ms-font-lock-keywords)
8143 (sql-mode-sybase-font-lock-keywords)
8144 (sql-mode-informix-font-lock-keywords)
8145 (sql-mode-interbase-font-lock-keywords)
8146 (sql-mode-ingres-font-lock-keywords)
8147 (sql-mode-solid-font-lock-keywords)
8148 (sql-mode-mysql-font-lock-keywords)
8149 (sql-mode-sqlite-font-lock-keywords)
8150 (sql-mode-db2-font-lock-keywords)
8151 (sql-mode-linter-font-lock-keywords): Update initialization to
8152 reduce run-time complexity.
8153 (sql-add-product, sql-del-product): New functions.
8154 (sql-set-product-feature, sql-get-product-feature): New functions.
8155 (sql-product-font-lock): Update product API.
8156 (sql-add-product-keywords): New function.
8157 (sql-highlight-product): Update product API.
8158 (sql-help-list-products): New function.
8159 (sql-help): Dynamically lists free and non-free products.
8160 (sql-get-login): Correct bug in handling history and added
8161 prompt for port.
8162 (sql-copy-column): Copy without properties.
8163 (sqli-input-sender): Apply filters to SQLi input.
8164 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
8165 Implement as a filter.
8166 (sql-escape-newlines-filter): Implement as a filter.
8167 (sql-remove-tabs-filter): New function.
8168 (sql-send-magic-terminator): New function.
8169 (sql-send-string): Implement magic terminator.
8170 (sql-send-region): Use `sql-send-string'.
8171 (sql-interactive-mode): Use product API.
8172 (sql-product-interactive): Use product API.
8173 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
8174 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
8175 (sql-db2, sql-linter): Use `sql-product-interactive'.
8176 (sql-connect): New function.
8177 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
8178 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
8179 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
8180 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
8181 Use `sql-connect'.
8182
8183 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8184
8185 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
8186 New custom variable.
8187 (completion-pcm--string->pattern): Use it.
8188 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
8189 Make it handle any symbol as `any'.
8190 (completion-pcm--merge-completions): Extract common suffix for the new
8191 `prefix' symbol as well.
8192 (completion-substring--all-completions): Use the new `prefix' symbol.
8193
8194 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
8195
8196 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
8197 not bound.
8198 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
8199 (tramp-compat-funcall): New defmacro.
8200 (tramp-compat-line-beginning-position)
8201 (tramp-compat-line-end-position)
8202 (tramp-compat-temporary-file-directory)
8203 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
8204 (tramp-compat-copy-file, tramp-compat-copy-directory)
8205 (tramp-compat-delete-file, tramp-compat-delete-directory)
8206 (tramp-compat-number-sequence, tramp-compat-process-running-p)
8207 * net/tramp.el (top, with-progress-reporter)
8208 (tramp-rfn-eshadow-setup-minibuffer)
8209 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
8210 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
8211 (tramp-completion-mode-p, tramp-check-for-regexp)
8212 (tramp-open-connection-setup-interactive-shell)
8213 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
8214 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
8215 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
8216 * net/tramp-cmds.el (tramp-cleanup-all-connections)
8217 (tramp-reporter-dump-variable, tramp-load-report-modules)
8218 (tramp-append-tramp-buffers)
8219 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
8220
8221 * net/tramp-imap.el (top): Autoload `epg-make-context'.
8222
8223 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8224
8225 * progmodes/compile.el (compilation-buffer-modtime): Rename from
8226 buffer-modtime. Adjust users.
8227
8228 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
8229
8230 * international/mule.el (auto-coding-alist): Only purecopy
8231 car of each item, not the whole list (Bug#6083).
8232
8233 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
8234
8235 * progmodes/js.el (js-mode): Make paragraph variables local before
8236 calling c-setup-paragraph-variables (Bug#6071).
8237
8238 2010-05-08 Eli Zaretskii <eliz@gnu.org>
8239
8240 * composite.el (compose-region, reference-point-alist): Fix typos
8241 in the doc strings.
8242
8243 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
8244
8245 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
8246 gnuplot's "set" command.
8247
8248 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
8249
8250 * abbrev.el (last-abbrev-text): Doc fix.
8251 (abbrev-prefix-mark): Don't escape parenthesis.
8252
8253 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
8254
8255 * composite.el (find-composition): Doc fix.
8256
8257 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
8258
8259 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
8260 (sql-oracle-program, sql-sqlite-options)
8261 (sql-query-placeholders-and-send): Doc fixes.
8262 (sql-set-product, sql-interactive-mode): Reflow docstrings.
8263 (sql-imenu-generic-expression, sql-buffer)
8264 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
8265 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
8266 (sql-mode-sybase-font-lock-keywords)
8267 (sql-mode-informix-font-lock-keywords)
8268 (sql-mode-interbase-font-lock-keywords)
8269 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
8270 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
8271 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
8272 (sql-product-feature, sql-highlight-product)
8273 (comint-line-beginning-position, sql-rename-buffer)
8274 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
8275 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
8276 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
8277 Fix typos in docstrings.
8278
8279 2010-05-08 Juri Linkov <juri@jurta.org>
8280
8281 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
8282 property instead of `invisible' and `after-string' (bug#5998).
8283
8284 2010-05-08 Juri Linkov <juri@jurta.org>
8285
8286 * image-mode.el (image-mode-as-text): Fix typo in docstring.
8287
8288 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
8289
8290 * filecache.el (file-cache-add-directory-list)
8291 (file-cache-add-directory-recursively): Fix typos in docstrings.
8292
8293 2010-05-08 Kenichi Handa <handa@m17n.org>
8294
8295 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
8296 (gujarati-composable-pattern): Fix typo.
8297
8298 2010-05-08 Kenichi Handa <handa@m17n.org>
8299
8300 * language/indian.el (oriya-composable-pattern)
8301 (tamil-composable-pattern, malayalam-composable-pattern):
8302 Add two-part vowels to "v" (vowel sign).
8303
8304 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
8305
8306 * files.el (copy-directory): Handle symlinks (Bug#5982).
8307
8308 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
8309
8310 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
8311 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
8312 (Bug#5846).
8313
8314 2010-05-08 Glenn Morris <rgm@gnu.org>
8315
8316 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
8317
8318 * minibuffer.el (completion-at-point): Doc fix.
8319
8320 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8321
8322 * electric.el (Electric-command-loop): Minor tweak.
8323
8324 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
8325 better with dedicated windows.
8326
8327 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
8328
8329 * Version 23.2 released.
8330
8331 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
8332 Stefan Monnier <monnier@iro.umontreal.ca>
8333
8334 Highlight vendor specific properties.
8335 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
8336 (css-proprietary-property): New face.
8337 (css-font-lock-keywords): Use them.
8338
8339 2010-05-07 Eli Zaretskii <eliz@gnu.org>
8340
8341 * cus-start.el (all): Add native condition for tool-bar-* symbols.
8342
8343 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8344
8345 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
8346 * files.el (auto-mode-alist): Remove redundant entries.
8347
8348 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
8349 * simple.el (auto-save-mode): Move from files.el.
8350 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
8351
8352 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
8353
8354 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
8355
8356 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
8357
8358 * mail/binhex.el (binhex-decode-region-internal)
8359 * mail/uudecode.el (uudecode-decode-region-internal)
8360 * net/dns.el (dns-read-string-name, dns-write, dns-read)
8361 (dns-read-type, dns-query)
8362 * pgg-parse.el (pgg-parse-armor)
8363 * pgg.el (pgg-verify-region)
8364 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
8365 XEmacs.
8366
8367 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
8368
8369 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
8370
8371 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
8372
8373 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
8374 * emulation/cua-base.el (cua-repeat-replace-region):
8375 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
8376 (cua-cut-region-to-global-mark):
8377 Remove text properties with `set-text-properties'.
8378
8379 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
8380
8381 * net/tramp.el (top, with-progress-reporter):
8382 Use `symbol-function' inside `funcall'.
8383
8384 * net/tramp-compat.el (tramp-compat-file-attributes)
8385 (tramp-compat-delete-file, tramp-compat-delete-directory):
8386 Handle only `wrong-number-of-arguments' error.
8387
8388 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
8389 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
8390 inside `funcall'.
8391
8392 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8393
8394 * minibuffer.el (completion--sreverse, completion--common-suffix):
8395 New functions.
8396 (completion-pcm--merge-completions): Extract common suffix when safe.
8397
8398 * emacs-lisp/easy-mmode.el (define-minor-mode):
8399 Make :variable more flexible.
8400 * files.el (auto-save-mode): Use it to define using define-minor-mode.
8401
8402 2010-05-05 Juri Linkov <juri@jurta.org>
8403
8404 Add `slow' and `history' tags to the desktop data.
8405
8406 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
8407 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
8408 (Info-finder-find-node): Require `finder.el' to be able
8409 to restore node from the desktop.
8410 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
8411 data `Info-history' and `slow' tag in the assoc list.
8412 (Info-restore-desktop-buffer): Don't restore nodes with the
8413 `slow' tag. Restore `Info-history'.
8414
8415 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
8416
8417 Add FORCE argument to `delete-file'.
8418
8419 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
8420 forcing to delete the temporary file.
8421 (ange-ftp-delete-file): Add FORCE arg.
8422 (ange-ftp-rename-remote-to-remote)
8423 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
8424 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
8425 Force file deletion.
8426
8427 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
8428
8429 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
8430 (tramp-handle-make-symbolic-link, tramp-handle-load)
8431 (tramp-do-copy-or-rename-file-via-buffer)
8432 (tramp-do-copy-or-rename-file-directly)
8433 (tramp-do-copy-or-rename-file-out-of-band)
8434 (tramp-handle-process-file, tramp-handle-call-process-region)
8435 (tramp-handle-shell-command, tramp-handle-file-local-copy)
8436 (tramp-handle-insert-file-contents, tramp-handle-write-region)
8437 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
8438
8439 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
8440 (tramp-fish-handle-make-symbolic-link)
8441 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
8442
8443 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
8444 Use `tramp-compat-delete-file'.
8445
8446 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
8447 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
8448
8449 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
8450 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
8451
8452 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
8453 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
8454 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
8455 Use `tramp-compat-delete-file'.
8456
8457 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8458
8459 Minor cleanups.
8460 * subr.el (add-minor-mode): Use push.
8461 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
8462 * emulation/edt.el (edt-select-mode): Simplify.
8463
8464 Use define-minor-mode in more cases.
8465 * term/tvi970.el (tvi970-set-keypad-mode):
8466 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
8467 (normal-erase-is-backspace-mode):
8468 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
8469 (set-scroll-bar-mode-1): (Re)move to its sole caller.
8470 (get-scroll-bar-mode): New function.
8471 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
8472
8473 Use define-minor-mode for less obvious cases.
8474 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
8475 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
8476 * international/iso-ascii.el (iso-ascii-mode):
8477 * frame.el (auto-raise-mode, auto-lower-mode):
8478 * composite.el (global-auto-composition-mode): Use define-minor-mode.
8479
8480 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
8481
8482 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
8483 in order to see error messages for failed logins.
8484
8485 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
8486
8487 * diff.el (diff-sentinel):
8488
8489 * epg.el (epg--make-temp-file, epg-decrypt-string)
8490 (epg-verify-string, epg-sign-string, epg-encrypt-string):
8491
8492 * jka-compr.el (jka-compr-partial-uncompress)
8493 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
8494
8495 * server.el (server-sentinel): Use delete-file's new FORCE arg
8496 (Bug#6070).
8497
8498 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8499
8500 Use define-minor-mode where applicable.
8501 * view.el (view-mode):
8502 * type-break.el (type-break-query-mode)
8503 (type-break-mode-line-message-mode):
8504 * textmodes/reftex.el (reftex-mode):
8505 * term/vt100.el (vt100-wide-mode):
8506 * tar-mode.el (tar-subfile-mode):
8507 * savehist.el (savehist-mode):
8508 * ibuf-ext.el (ibuffer-auto-mode):
8509 * composite.el (auto-composition-mode):
8510 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8511 Use define-minor-mode.
8512 (vhdl-mode): Use static mode-line format.
8513 (vhdl-mode-line-update): Delete.
8514 (vhdl-create-mode-menu, vhdl-activate-customizations)
8515 (vhdl-hs-minor-mode): Don't bother calling it.
8516
8517 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
8518
8519 * simple.el (with-wrapper-hook): Move.
8520 (buffer-substring-filters): Mark obsolete.
8521 (filter-buffer-substring-functions): New variable.
8522 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
8523
8524 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
8525 Michael Albinus <michael.albinus@gmx.de>
8526
8527 Implement compression for inline methods.
8528
8529 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
8530 (tramp-copy-size-limit): Allow also nil.
8531 (tramp-inline-compress-commands): New defconst.
8532 (tramp-find-inline-compress, tramp-get-inline-compress)
8533 (tramp-get-inline-coding): New defuns.
8534 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
8535 replaced by `tramp-get-inline-coding'.
8536 (tramp-handle-file-local-copy, tramp-handle-write-region)
8537 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
8538
8539 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
8540
8541 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
8542 Remove unused functions.
8543
8544 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
8545 Set find-tag-default-function as a variable rather than a property.
8546
8547 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
8548 * progmodes/etags.el (tags-completion-at-point-function):
8549 Remove left over interactive spec. Add autoloading stub.
8550 (complete-tag): Use tags-completion-at-point-function.
8551
8552 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
8553
8554 * minibuffer.el (tags-completion-at-point-function): Fix return value.
8555
8556 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
8557
8558 * ido.el (ido-init-completion-maps): Remove C-v binding.
8559 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
8560
8561 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
8562
8563 * minibuffer.el (tags-completion-at-point-function): New function.
8564 (completion-at-point-functions): Use it.
8565
8566 * progmodes/etags.el (complete-tag): Revert last change.
8567
8568 2010-04-29 Alan Mackenzie <acm@muc.de>
8569
8570 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
8571 off-by-one error (in end of macro position).
8572
8573 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
8574
8575 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
8576 firefox is absent. Don't autoload.
8577 (browse-url-galeon-program): Don't autoload.
8578
8579 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
8580
8581 * bindings.el (complete-symbol): Move into minibuffer.el.
8582
8583 * minibuffer.el (complete-tag): Move from etags.el. If tags
8584 completion cannot be performed, return nil instead of signalling
8585 an error.
8586 (completion-at-point): Make it an alias for complete-symbol.
8587 (complete-symbol): Move from bindings.el, and replace with the
8588 body of completion-at-point.
8589
8590 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
8591
8592 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
8593
8594 * net/tramp.el (tramp-remote-selinux-p): New defun.
8595 (tramp-handle-file-selinux-context)
8596 (tramp-handle-set-file-selinux-context): Use it.
8597
8598 2010-04-28 Sam Steingold <sds@gnu.org>
8599
8600 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
8601 `safe-local-variable' if the value is a string or a symbol with
8602 the property `bug-reference-url-format'.
8603
8604 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
8605
8606 * progmodes/bug-reference.el (bug-reference-url-format):
8607 Revert 2010-04-27 change due to security risk.
8608
8609 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8610
8611 Make it possible to locally disable a globally enabled mode.
8612 * simple.el (fundamental-mode): Run fundamental-mode-hook.
8613 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
8614 rather than kill-all-local-variables so it runs fundamental-mode-hook.
8615 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8616 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
8617 that subsequent hooks get a chance to disable it.
8618
8619 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8620
8621 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8622 Avoid re-enabling a minor mode after the user turned the minor mode
8623 off if MODE-enable-in-buffers is run twice (typically once from
8624 fundamental-mode's after-change-major-mode-hook and a second time from
8625 run-mode-hook's own after-change-major-mode-hook).
8626
8627 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
8628
8629 2010-04-27 Sam Steingold <sds@gnu.org>
8630
8631 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
8632 `safe-local-variable' if the value is a string or a function, as
8633 documented and implemented on 2010-04-02.
8634
8635 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
8636
8637 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
8638 when method is 'kill.
8639
8640 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
8641
8642 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
8643 condition in default directory check.
8644 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
8645 Kill ispell process when killing its associated buffer.
8646
8647 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
8648
8649 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
8650 but we aren't using it.
8651
8652 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
8653
8654 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
8655 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
8656
8657 2010-04-24 Glenn Morris <rgm@gnu.org>
8658
8659 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
8660 Ignore VCS-ignore files, and deleted nextstep preferences files.
8661 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
8662 (authors-ambiguous-files): New list.
8663 (authors-valid-file-names): Add some deleted files.
8664 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
8665 (authors-disambiguate-file-name): New function. (Bug#5501)
8666 (authors-canonical-file-name): Doc fix.
8667 Don't warn about obsolete files.
8668 (authors-canonical-file-name, authors-scan-el):
8669 Use authors-disambiguate-file-name.
8670
8671 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
8672 Add autoload cookies.
8673 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
8674 (generated-autoload-file): Set file-local value to "htmlfontify.el".
8675 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
8676 They have definitions / compiler macros in cl.el.
8677 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
8678 Replace manual autoloads with generated ones.
8679 (htmlfontify-unload-rgb-file): Remove autoload.
8680 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
8681
8682 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
8683
8684 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
8685 (byte-compile-setq-default): Optimize for the
8686 single-var case and don't call byte-compile-form in this case to avoid
8687 inf-loop with byte-compile-set-default.
8688
8689 * progmodes/compile.el (compilation-start): Abbreviate default directory.
8690
8691 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
8692
8693 Implement SELINUX backends.
8694
8695 * net/tramp.el (tramp-file-name-handler-alist):
8696 Add `file-selinux-context' and `set-file-selinux-context'.
8697 (tramp-handle-file-selinux-context)
8698 (tramp-handle-set-file-selinux-context): New defuns.
8699 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
8700 Handle PRESERVE-SELINUX-CONTEXT.
8701
8702 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8703 Add `file-selinux-context' and `set-file-selinux-context'.
8704 (tramp-gvfs-handle-file-selinux-context)
8705 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
8706 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
8707
8708 * net/ange-ftp.el (ange-ftp-copy-file):
8709 * net/tramp-fish.el (tramp-fish-handle-copy-file):
8710 * net/tramp-imap.el (tramp-imap-handle-copy-file):
8711 * net/tramp-smb.el (tramp-smb-handle-copy-file):
8712 Add PRESERVE-SELINUX-CONTEXT.
8713
8714 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
8715
8716 Synchronize with Tramp repository.
8717
8718 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
8719 (tramp-action-process-alive, tramp-action-out-of-band)
8720 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
8721 (tramp-exists-file-name-handler): Fix docstring.
8722 (with-progress-reporter): New defmacro.
8723 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
8724 (tramp-maybe-open-connection): Use it.
8725
8726 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
8727
8728 Detect ssh 'ControlMaster' argument automatically in some cases.
8729
8730 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
8731 (tramp-default-method): Use it.
8732
8733 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
8734
8735 * net/tramp.el (tramp-handle-copy-file): Add new optional
8736 parameter `preserve-selinux-context'.
8737 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
8738
8739 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
8740
8741 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
8742 Ensure, that non remote files are still checked. Oops.
8743
8744 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
8745
8746 Fix Bug#5840.
8747
8748 * icomplete.el (icomplete-completions): Use `non-essential'.
8749
8750 * net/tramp.el (tramp-connectable-p): New defun.
8751 (tramp-handle-expand-file-name)
8752 (tramp-completion-handle-file-name-all-completions)
8753 (tramp-completion-handle-file-name-completion): Use it.
8754
8755 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
8756
8757 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
8758
8759 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
8760
8761 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
8762
8763 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
8764
8765 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
8766 is present.
8767
8768 * info.el (info-tool-bar-map): Add labels.
8769
8770 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
8771
8772 * cus-edit.el (custom-commands): Add labels for tool bar.
8773 (custom-buffer-create-internal, Custom-mode): Adjust for
8774 labels in custom-commands.
8775
8776 * dynamic-setting.el: Renamed from font-setting.el.
8777
8778 2010-04-21 John Wiegley <jwiegley@gmail.com>
8779
8780 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
8781 toggles the use of virtual buffers.
8782 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
8783 (ido-toggle-virtual-buffers): New function.
8784
8785 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
8786
8787 Use `define-derived-mode'; fix window selection; doc fixes.
8788 * play/tetris.el (tetris, tetris-update-speed-function)
8789 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
8790 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
8791 (tetris-rotate-next, tetris-end-game, tetris-start-game)
8792 (tetris-pause-game): Fix typos in docstrings.
8793 (tetris-mode-map, tetris-null-map):
8794 Move initialization into declaration.
8795 (tetris-mode): Define with `define-derived-mode';
8796 set show-trailing-whitespace to nil.
8797 (tetris): Prefer window already displaying the "*Tetris*" buffer.
8798
8799 2010-04-21 Karel Klíč <kklic@redhat.com>
8800
8801 * files.el (backup-buffer): Handle SELinux context, and return it
8802 if a backup was made by renaming.
8803 (backup-buffer-copy): Set SELinux context to the target file.
8804 (basic-save-buffer): Set SELinux context of the newly written file.
8805 (basic-save-buffer-1): Now it also returns any SELinux context.
8806 (basic-save-buffer-2): Set SELinux context of the newly created file,
8807 and return it.
8808 * net/tramp.el (tramp-file-name-for-operation):
8809 Add file-selinux-context.
8810
8811 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
8812
8813 Make the log-edit comments use RFC822 format throughout.
8814
8815 * vc.el (vc-checkin, vc-modify-change-comment):
8816 Adjust to new vc-start/finish-logentry.
8817 (vc-find-conflicted-file): New command.
8818 (vc-transfer-file): Adjust to new vc-checkin.
8819 (vc-next-action): Improve scoping.
8820
8821 * vc-hg.el (vc-hg-log-edit-mode): Remove.
8822 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
8823
8824 * vc-git.el (vc-git-log-edit-mode): Remove.
8825 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
8826 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
8827
8828 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
8829 (vc-start-logentry): Remove argument `extra'.
8830 (vc-finish-logentry): Remove extra args.
8831
8832 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
8833 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
8834 (vc-bzr-conflicted-files): New function.
8835
8836 * log-edit.el (log-edit-extra-flags)
8837 (log-edit-before-checkin-process): Remove.
8838 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
8839 (log-edit-headers-alist): New var.
8840 (log-edit-header-contents-regexp): New const.
8841 (log-edit-match-to-eoh): New function.
8842 (log-edit-font-lock-keywords): Use them.
8843 (log-edit): Insert a "Summary:" header as default.
8844 (log-edit-mode): Mark font-lock rules as case-insensitive.
8845 (log-edit-done): Cleanup headers.
8846 (log-view-process-buffer): Remove.
8847 (log-edit-extract-headers): New function to replace it.
8848
8849 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
8850
8851 * subr.el (default-direction-reversed): Remove obsolescence info.
8852
8853 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8854
8855 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
8856 windows/frames.
8857
8858 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
8859 I.e. include text after point in the completion region.
8860 Also, return nil when we're not after/in a symbol.
8861
8862 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
8863 default enable-multibyte-characters.
8864
8865 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8866
8867 * international/mule.el: Help the user choose a valid coding-system.
8868 (read-buffer-file-coding-system): New function.
8869 (set-buffer-file-coding-system): Use it. Prompt the user if the
8870 coding-system cannot encode all the chars.
8871
8872 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
8873 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
8874 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
8875 Don't use *vc-bzr-shelve*.
8876
8877 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
8878
8879 Fix the version number for added files.
8880 * vc-hg.el (vc-hg-working-revision): Check if the file is
8881 registered after hg parent fails (Bug#5961).
8882
8883 2010-04-19 Glenn Morris <rgm@gnu.org>
8884
8885 * htmlfontify.el (htmlfontify-buffer)
8886 (htmlfontify-copy-and-link-dir): Autoload entry points.
8887
8888 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
8889
8890 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
8891 name relative to the project root (Bug#5960).
8892
8893 2010-04-19 Glenn Morris <rgm@gnu.org>
8894
8895 * vc-git.el (vc-git-print-log): Doc fix.
8896
8897 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
8898
8899 * ido.el (ido-file-internal): Fix 2009-12-02 change.
8900
8901 2010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
8902
8903 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
8904 default settings (Bug#5928).
8905
8906 2010-04-19 Glenn Morris <rgm@gnu.org>
8907
8908 * progmodes/fortran.el (fortran-match-and-skip-declaration):
8909 New function.
8910 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
8911
8912 2010-04-19 Kenichi Handa <handa@m17n.org>
8913
8914 * language/indian.el (malayalam-composable-pattern): Fix previous
8915 change (add U+0D4D "SIGN VIRAMA").
8916 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
8917 (tamil-composable-pattern): Fix typo in the regexp.
8918 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
8919 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
8920 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
8921
8922 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
8923
8924 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
8925 paragraph-separate (Bug#5821).
8926
8927 2010-04-19 Juri Linkov <juri@jurta.org>
8928
8929 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
8930
8931 * info.el (Info-find-node-2): Comment out code that skips
8932 breadcrumbs line.
8933 (Info-mouse-follow-link): New command.
8934 (Info-link-keymap): New keymap.
8935 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
8936 Return a string with links instead of inserting breadcrumbs
8937 to the Info buffer.
8938 (Info-fontify-node): Comment out code that inserts breadcrumbs.
8939 Instead of putting the `invisible' text property over the Info
8940 header, make an overlay over the Info header with the `invisible'
8941 property and `after-string' set to the string returned by
8942 `Info-breadcrumbs'.
8943
8944 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
8945
8946 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
8947 Reported by monkey@sandpframing.com.
8948
8949 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8950
8951 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
8952 (tmm-get-keymap): Add key-binding shortcuts now that they're not
8953 available in the "keyseq cache" any more.
8954
8955 * custom.el (defcustom): Add edebug spec.
8956
8957 2010-04-18 Juri Linkov <juri@jurta.org>
8958
8959 Test for special mode-class in view-buffer instead of view-file (bug#5513).
8960
8961 * view.el (view-file, view-buffer): Move test for special mode-class
8962 from view-file to view-buffer.
8963
8964 * tar-mode.el (tar-extract): Turn if's into one cond
8965 like in arc-mode.el.
8966
8967 2010-04-18 Juri Linkov <juri@jurta.org>
8968
8969 Add 7z archive format support (bug#5475).
8970
8971 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
8972 (archive-7z-extract): New defcustom.
8973 (archive-find-type): Add magic string for 7z.
8974 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
8975 If `stderr-file' is non-nil, use `(t stderr-file)' for the
8976 `buffer' arg of `call-process'.
8977 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
8978 call the function `archive-7z-extract' with the variable
8979 `archive-7z-extract' let-bound to `archive-zip-extract'.
8980 (archive-7z-summarize, archive-7z-extract): New functions.
8981
8982 * international/mule.el (auto-coding-alist):
8983 * files.el (auto-mode-alist): Add 7z file extension.
8984
8985 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8986
8987 * loadup.el: Setup hash-cons for pure data.
8988
8989 Fix duplicate entries in cedet's loaddefs.el files.
8990 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
8991 Should make most file-local generated-autoload-file unnecessary.
8992 (print-readably): Silence warnings.
8993 (autoload-find-destination): Take load-name as an arg to make sure
8994 it's the same as the one that will be in the file.
8995 (autoload-generate-file-autoloads): Adjust to above changes.
8996 Try to make the dataflow a bit simpler.
8997
8998 * cvs-status.el (cvs-refontify): Remove unused.
8999
9000 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
9001
9002 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
9003
9004 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
9005 twos-complement mode.
9006
9007 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
9008
9009 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
9010 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
9011 (calc-inverse): Add "Option" to message, as appropriate.
9012 (calc-hyperbolic): Add "Option" to message, as appropriate.
9013 (calc-option, calc-is-option): New functions.
9014
9015 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
9016 (calc-option-prefix-help): New function.
9017
9018 * calc/calc-misc.el (calc-help): Add "Option" entry.
9019
9020 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
9021 (calc-option-flag): New variable.
9022 (calc-do): Set `calc-option-flag to nil.
9023 (calc-set-mode-line): Add "Opt " as appropriate.
9024
9025 2010-04-16 Juri Linkov <juri@jurta.org>
9026
9027 Move scrolling commands from simple.el to window.el
9028 because their primitives are implemented in window.c.
9029
9030 * simple.el (scroll-error-top-bottom)
9031 (scroll-up-command, scroll-down-command, scroll-up-line)
9032 (scroll-down-line, scroll-other-window-down)
9033 (beginning-of-buffer-other-window, end-of-buffer-other-window):
9034 * window.el (scroll-error-top-bottom)
9035 (scroll-up-command, scroll-down-command, scroll-up-line)
9036 (scroll-down-line, scroll-other-window-down)
9037 (beginning-of-buffer-other-window, end-of-buffer-other-window):
9038 Move from simple.el to window.el because their primitives are
9039 implemented in window.c.
9040
9041 2010-04-16 Juri Linkov <juri@jurta.org>
9042
9043 * isearch.el (isearch-lookup-scroll-key): Check both
9044 `isearch-scroll' and `scroll-command' properties.
9045 (scroll-up, scroll-down): Remove `isearch-scroll' property.
9046
9047 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
9048
9049 * simple.el (scroll-up-command, scroll-down-command)
9050 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
9051
9052 2010-04-15 Juri Linkov <juri@jurta.org>
9053
9054 * simple.el (scroll-up-command, scroll-down-command)
9055 (scroll-up-line, scroll-down-line): Put `scroll-command'
9056 property on the these symbols. Remove them from
9057 `scroll-preserve-screen-position-commands'.
9058
9059 * mwheel.el (mwheel-scroll): Put `scroll-command' and
9060 `isearch-scroll' properties on the `mwheel-scroll' symbol.
9061 Remove it from `scroll-preserve-screen-position-commands'.
9062
9063 * isearch.el (isearch-allow-scroll): Doc fix.
9064
9065 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
9066
9067 * net/tramp.el (tramp-error-with-buffer): Don't show the
9068 connection buffer when we are in completion mode.
9069 (tramp-file-name-handler): Catch the error for some operations
9070 when we are in completion mode. This gives the user the chance to
9071 correct the file name in the minibuffer.
9072
9073 2010-04-15 Glenn Morris <rgm@gnu.org>
9074
9075 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
9076
9077 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
9078
9079 Simplify by using `define-derived-mode'.
9080 * info.el (Info-mode):
9081 * calendar/todo-mode.el (todo-mode):
9082 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
9083 (gomoku-mode-map): Move initialization into declaration.
9084
9085 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
9086
9087 Fix Bug#5840.
9088 * ido.el (ido-file-name-all-completions-1):
9089 * minibuffer.el (minibuffer-completion-help):
9090 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
9091
9092 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9093
9094 * simple.el (non-essential): New var.
9095
9096 Add a new field `location' to bookmarks for non-file bookmarks.
9097 * bookmark.el (bookmark-location): Use the new field, if present.
9098 (bookmark-insert-location): Undo last change, not needed any more.
9099 * man.el (Man-bookmark-make-record):
9100 * woman.el (woman-bookmark-make-record): Add `location' field.
9101
9102 2010-04-14 Juri Linkov <juri@jurta.org>
9103
9104 * simple.el (scroll-error-top-bottom): New defcustom.
9105 (scroll-up-command, scroll-down-command): Use it. Doc fix.
9106
9107 * emulation/pc-select.el (pc-select-override-scroll-error):
9108 Obsolete in favor of `scroll-error-top-bottom'.
9109
9110 2010-04-14 Juri Linkov <juri@jurta.org>
9111
9112 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
9113 `scroll-up-command' and `M-v' to `scroll-down-command'.
9114
9115 * emulation/cua-rect.el (cua--init-rectangles):
9116 * forms.el (forms--change-commands):
9117 * image-mode.el (image-mode-map):
9118 Remap scroll-down-command and scroll-up-command
9119 in addition to scroll-down and scroll-up.
9120
9121 2010-04-14 Juri Linkov <juri@jurta.org>
9122
9123 * mwheel.el (scroll-preserve-screen-position-commands):
9124 Add mwheel-scroll to this list of commands.
9125
9126 * simple.el (scroll-preserve-screen-position-commands):
9127 Add scroll-up-command, scroll-down-command, scroll-up-line,
9128 scroll-down-line to this list of commands.
9129
9130 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
9131
9132 * obsolete/complete.el: Move from lisp/complete.el.
9133
9134 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
9135
9136 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
9137 to the minor mode function now turns the mode ON unconditionally.
9138
9139 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
9140
9141 * vc-dir.el (vc-dir-kill-line): New command.
9142 (vc-dir-mode-map): Bind it to C-k.
9143
9144 * bookmark.el (bookmark-insert-location): Handle a nil filename.
9145
9146 * woman.el: Add bookmark declarations to silence the compiler.
9147 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
9148 step to compatibility between man and woman bookmarks.
9149 Adjust for Man-default-bookmark-title renaming.
9150 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
9151
9152 * man.el: Add bookmark declarations to silence the compiler.
9153 (Man-name-local-regexp): Make it match NAME as well.
9154 (Man-getpage-in-background): Return the buffer.
9155 (Man-notify-when-ready): Use `case'.
9156 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
9157 Don't hardcode "NAME". Simplify.
9158 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
9159 Rename from Man-bookmark-make-record.
9160 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
9161 we have the actual man-args. Use Man-getpage-in-background rather
9162 than `man' since the arg is already processed. Let bookmark.el do the
9163 window handling. Only wait for the relevant process.
9164 Don't forget to autoload.
9165
9166 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
9167
9168 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9169
9170 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
9171 New functions.
9172 (woman-mode): Setup bookmark support.
9173
9174 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
9175 (man-bookmark-jump): New functions.
9176 (Man-mode): Setup bookmark support.
9177
9178 2010-04-10 Jari Aalto <jari.aalto@cante.net>
9179
9180 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
9181 recognize ssh-keygen prompt (Bug#2817).
9182
9183 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
9184
9185 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
9186
9187 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
9188
9189 Synchronize with Tramp repository.
9190
9191 * net/tramp.el (tramp-completion-function-alist)
9192 (tramp-file-name-regexp, tramp-chunksize)
9193 (tramp-local-coding-commands, tramp-remote-coding-commands):
9194 Fix docstring.
9195 (tramp-remote-process-environment): Use `format' instead of `concat'.
9196 (tramp-handle-directory-files-and-attributes)
9197 (tramp-get-remote-path): Use `copy-tree'.
9198 (tramp-handle-file-name-all-completions): Backward/ XEmacs
9199 compatibility: Use `completion-ignore-case' if
9200 `read-file-name-completion-ignore-case' does not exist.
9201 (tramp-do-copy-or-rename-file-directly): Do not use
9202 `tramp-handle-file-remote-p'.
9203 (tramp-do-copy-or-rename-file-out-of-band):
9204 Use `tramp-compat-delete-directory'.
9205 (tramp-do-copy-or-rename-file-out-of-band)
9206 (tramp-compute-multi-hops, tramp-maybe-open-connection):
9207 Use `format-spec-make'.
9208 (tramp-find-foreign-file-name-handler)
9209 (tramp-advice-make-auto-save-file-name)
9210 (tramp-set-auto-save-file-modes): Remove superfluous check for
9211 `stringp'. This is done inside `tramp-tramp-file-p'.
9212 (tramp-debug-outline-regexp): New defconst.
9213 (tramp-get-debug-buffer): Use it.
9214 (tramp-check-for-regexp): Use (forward-line 1).
9215 (tramp-set-auto-save-file-modes): Adapt version check.
9216
9217 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
9218 Wrap call of `featurep' for 2nd argument.
9219 (tramp-compat-make-temp-file): Simplify fallback implementation.
9220 (tramp-compat-copy-tree): Remove function.
9221 (tramp-compat-delete-directory): Provide implementation for older
9222 Emacsen.
9223
9224 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
9225 Do not use `tramp-fish-handle-file-attributes.
9226
9227 * net/trampver.el: Update release number.
9228
9229 2010-04-10 Glenn Morris <rgm@gnu.org>
9230
9231 * progmodes/compile.el (compilation-save-buffers-predicate):
9232 Add missing :version tag.
9233
9234 2010-04-09 Sam Steingold <sds@gnu.org>
9235
9236 * progmodes/compile.el (compilation-save-buffers-predicate):
9237 Remove the "autoload" cookie.
9238
9239 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
9240 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
9241 and `bug-reference-prog-mode' can be used in hooks directly.
9242
9243 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
9244
9245 Add --author support to git commit.
9246 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
9247 (vc-git-log-edit-mode): New minor mode.
9248 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
9249 New declarations.
9250
9251 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
9252
9253 * vc-hooks.el, vc-git.el: Improve documentation comments.
9254
9255 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
9256
9257 Fix some of the problems in defsubst* (bug#5728).
9258 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
9259 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
9260
9261 2010-04-07 Sam Steingold <sds@gnu.org>
9262
9263 * progmodes/compile.el (compilation-save-buffers-predicate):
9264 New custom variable.
9265 (compile, recompile): Pass it to `save-some-buffers'.
9266
9267 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
9268
9269 * wid-edit.el (widget-choose): Move cursor to the second line of
9270 the buffer (Bug#5695).
9271
9272 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
9273
9274 Add new VC methods: vc-log-incoming and vc-log-outgoing.
9275 * vc.el (vc-print-log-setup-buttons): New function split out from
9276 vc-print-log-internal.
9277 (vc-log-internal-common): New function, a parametrized version of
9278 vc-print-log-internal.
9279 (vc-print-log-internal): Just call vc-log-internal-common with the
9280 right arguments.
9281 (vc-incoming-outgoing-internal):
9282 (vc-log-incoming, vc-log-outgoing): New functions.
9283 (vc-log-view-type): New permanent local variable.
9284
9285 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
9286
9287 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
9288 of the dynamic bound vc-short-log.
9289 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
9290
9291 * vc-git.el (vc-git-log-outgoing): New function.
9292 (vc-git-log-view-mode): Use vc-log-view-type instead
9293 of the dynamic bound vc-short-log.
9294
9295 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
9296 of the dynamic bound vc-short-log. Highlight the tag.
9297 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
9298 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
9299 (vc-hg-incoming-mode): Remove.
9300 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
9301
9302 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
9303
9304 Fix default-directory for vc-root-diff.
9305 * vc.el (vc-root-diff): Bind default-directory to the root
9306 directory for the diff command.
9307
9308 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
9309
9310 * progmodes/verilog-mode.el (verilog-forward-sexp):
9311 (verilog-calc-1): Support "disable fork" and "fork wait" multi
9312 word keywords, suggested by Steve Pearlmutter.
9313 (verilog-pretty-declarations): Support lineup of declarations in
9314 port lists.
9315 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
9316 fix bug for /* / comments.
9317 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
9318 Speed up and simplfy as this is never called with a bound.
9319 (verilog-pretty-declarations): Enhance to line up declarations
9320 inside a parameter list, suggested by Alan Morgan.
9321 (verilog-pretty-expr): Tune assignment regular expression match
9322 string for corner cases; also use markers instead of character
9323 number as indent changes the later.
9324
9325 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
9326
9327 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
9328 as missing keyword.
9329 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
9330 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
9331 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
9332 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
9333 Tennant.
9334 (verilog-keywords):
9335 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
9336 1800-2009 keywords, including "global.".
9337
9338 2010-04-06 John Wiegley <jwiegley@gmail.com>
9339
9340 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
9341 appearing in buffer list (if a live buffer name matched a recentf
9342 file basename). Should use uniquify to offer a real solution.
9343
9344 2010-04-06 John Wiegley <jwiegley@gmail.com>
9345
9346 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
9347 comment to code, and add a :version tag.
9348 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
9349
9350 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
9351
9352 Enable recentf-mode if using virtual buffers.
9353 * ido.el (recentf-list): Declare for byte-compiler.
9354 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
9355 (ido-make-buffer-list): Simplify.
9356 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
9357
9358 2010-04-05 Juri Linkov <juri@jurta.org>
9359
9360 Scrolling commands which scroll a line instead of full screen.
9361 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
9362
9363 * simple.el (scroll-up-line, scroll-down-line): New commands.
9364 Put property isearch-scroll=t on them.
9365
9366 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
9367 Remove commands.
9368
9369 2010-04-05 Juri Linkov <juri@jurta.org>
9370
9371 Scrolling commands which do not signal errors at top/bottom.
9372 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
9373
9374 * simple.el (scroll-up-command, scroll-down-command): New commands.
9375 Put property isearch-scroll=t on them.
9376
9377 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
9378 `scroll-down-command' and [next] from `scroll-up' to
9379 `scroll-up-command'.
9380
9381 * emulation/cua-base.el: Put property CUA=move on
9382 `scroll-up-command' and `scroll-down-command'.
9383 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
9384 and `scroll-down-command' to `cua-scroll-down'.
9385
9386 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
9387
9388 * help.el (describe-mode): Return nil.
9389
9390 2010-04-04 John Wiegley <jwiegley@gmail.com>
9391
9392 * ido.el (ido-use-virtual-buffers): New variable to indicate
9393 whether "virtual buffer" support is enabled for IDO.
9394 (ido-virtual): Face used to indicate virtual buffers in the list.
9395 (ido-buffer-internal): If a buffer is chosen, and no such buffer
9396 exists, but a virtual buffer of that name does (which would be why
9397 it was in the list), recreate the buffer by reopening the file.
9398 (ido-make-buffer-list): If virtual buffers are being used, call
9399 `ido-add-virtual-buffers-to-list' before the make list hook.
9400 (ido-virtual-buffers): New variable which contains a copy of the
9401 current contents of the `recentf-list', albeit pared down for the
9402 sake of speed, and with proper faces applied.
9403 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
9404 create a list of "virtual buffers" to present to the user in
9405 addition to the currently open set. Note that this logic could
9406 get rather slow if that list is too large. With the default
9407 `recentf-max-saved-items' of 200, there is little speed penalty.
9408
9409 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
9410
9411 * font-lock.el: Require CL when compiling.
9412 (font-lock-turn-on-thing-lock): Use `case'.
9413
9414 2010-04-03 Eli Zaretskii <eliz@gnu.org>
9415
9416 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
9417 Zaretskii.
9418
9419 2010-04-02 Juri Linkov <juri@jurta.org>
9420
9421 * ehelp.el (electric-help-orig-major-mode):
9422 New buffer-local variable.
9423 (electric-help-mode): Set it to original major-mode. Doc fix.
9424 (with-electric-help): Use `electric-help-orig-major-mode' instead
9425 of (default-value 'major-mode). Doc fix.
9426 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
9427
9428 2010-04-02 Sam Steingold <sds@gnu.org>
9429
9430 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
9431 `vc-hg-command' with a list of flags.
9432
9433 * progmodes/bug-reference.el (bug-reference-bug-regexp):
9434 Also accept "patch" and "RFE".
9435 (bug-reference-fontify): `bug-reference-url-format' can also be a
9436 function to be able to handle the bug kind.
9437 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
9438
9439 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
9440
9441 * tmm.el (tmm-get-keymap): Check with symbolp before passing
9442 value to fboundp, it may not be a symbol.
9443
9444 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
9445
9446 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
9447
9448 2010-03-31 Juri Linkov <juri@jurta.org>
9449
9450 * simple.el (next-line, previous-line): Re-throw a signal
9451 with `signal' instead of using `ding'.
9452 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
9453
9454 2010-03-31 Juri Linkov <juri@jurta.org>
9455
9456 * simple.el (keyboard-escape-quit): Raise deselecting the active
9457 region higher than exiting the minibuffer.
9458 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
9459
9460 2010-03-31 Juri Linkov <juri@jurta.org>
9461
9462 * image.el (image-animated-p): Use `image-metadata' instead of
9463 `image-extension-data'. Get GIF extenstion data from metadata
9464 property `extension-data'.
9465
9466 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9467
9468 * simple.el (append-to-buffer): Simplify.
9469
9470 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
9471
9472 * textmodes/artist.el (artist-mode): Fix typo in docstring.
9473 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
9474
9475 2010-03-31 Kenichi Handa <handa@m17n.org>
9476
9477 * language/sinhala.el (composition-function-table): Fix regexp for
9478 the new Unicode specification.
9479
9480 * language/indian.el (devanagari-composable-pattern)
9481 (tamil-composable-pattern, kannada-composable-pattern)
9482 (malayalam-composable-pattern): Adjust for the new Unicode
9483 specification.
9484 (bengali-composable-pattern, gurmukhi-composable-pattern)
9485 (gujarati-composable-pattern, oriya-composable-pattern)
9486 (telugu-composable-pattern): New variables to cope with the new
9487 Unicode specification. Use them in composition-function-table.
9488
9489 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9490
9491 Make tmm-menubar work for the Buffers menu again (bug#5726).
9492 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
9493 vectors rather than cons cells, as used in menu-bar-update-buffers.
9494
9495 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
9496
9497 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
9498 (js-insert-and-indent): Revert 2009-08-15 change, restoring
9499 electric punctuation for "{}();,:" (Bug#5586).
9500
9501 * mail/sendmail.el (mail-default-directory): Doc fix.
9502
9503 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
9504
9505 * mail/sendmail.el (mail-default-directory): Doc fix.
9506
9507 2010-03-31 Eli Zaretskii <eliz@gnu.org>
9508
9509 * subr.el (version-regexp-alist, version-to-list)
9510 (version-list-<, version-list-=, version-list-<=)
9511 (version-list-not-zero, version<, version<=, version=): Doc fix.
9512 (Bug#5744).
9513
9514 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
9515
9516 * vc.el (vc-root-diff): Doc fix.
9517
9518 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
9519
9520 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
9521
9522 * simple.el (append-to-buffer): Fix last change.
9523
9524 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
9525
9526 * simple.el (append-to-buffer): Ensure that point is preserved if
9527 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
9528 (Bug#5749)
9529
9530 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9531
9532 * files.el (auto-mode-case-fold): Change default to t.
9533
9534 2010-03-30 Juri Linkov <juri@jurta.org>
9535
9536 * dired-x.el (dired-omit-mode): Doc fix.
9537
9538 2010-03-30 Juri Linkov <juri@jurta.org>
9539
9540 * replace.el (occur-accumulate-lines): Move occur-engine related
9541 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
9542 to be located after `occur-engine'.
9543
9544 2010-03-30 Juri Linkov <juri@jurta.org>
9545
9546 Make occur handle multi-line matches cleanly with context.
9547 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
9548
9549 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
9550 (occur-engine): Add local variables `ret', `prev-after-lines',
9551 `prev-lines'. Use more arguments for `occur-context-lines'.
9552 Set first elem of its returned list to `data', and the second elem
9553 to `prev-after-lines'. Don't print the separator line.
9554 In the end, print remaining context after-lines.
9555 (occur-context-lines): Add new arguments `begpt', `endpt',
9556 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
9557 after-lines of the previous match with before-lines of the
9558 current match and not overlap them. Return a list with two
9559 values: the output line and the list of context after-lines.
9560
9561 2010-03-30 Juri Linkov <juri@jurta.org>
9562
9563 * replace.el (occur-accumulate-lines): Fix a bug where the first
9564 context line at the beginning of the buffer was missing.
9565
9566 2010-03-30 Eli Zaretskii <eliz@gnu.org>
9567
9568 * files.el: Make bidi-display-reordering safe variable for boolean
9569 values.
9570
9571 2010-03-29 Phil Hagelberg <phil@evri.com>
9572 Chong Yidong <cyd@stupidchicken.com>
9573
9574 * subr.el: Extend progress reporters to perform "spinning".
9575 (progress-reporter-update, progress-reporter-do-update):
9576 Handle non-numeric value arguments.
9577 (progress-reporter--pulse-characters): New var.
9578
9579 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
9580
9581 * progmodes/compile.el (compilation-start): Fix regexp detection
9582 of initial cd command (Bug#5771).
9583
9584 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
9585
9586 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
9587
9588 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
9589
9590 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
9591 * progmodes/gdb-mi.el: Restore.
9592 * progmodes/gdb-ui.el: Remove.
9593 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
9594
9595 2010-03-25 Glenn Morris <rgm@gnu.org>
9596
9597 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
9598 all dired buffers, even tramp ones. (Bug#5755)
9599
9600 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
9601
9602 Add "union tags" in mpc.el.
9603 * mpc.el: Remove backward compatibility code.
9604 (mpc-browser-tags): Change default.
9605 (mpc--find-memoize-union-tags): New var.
9606 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
9607 (mpc-cmd-find): Handle the case where the playlist does not exist.
9608 Handle union-tags.
9609 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
9610 (mpc-cmd-add): Use mpc-cmd-flush.
9611 (mpc-tagbrowser-tag-name): New fun.
9612 (mpc-tagbrowser-buf): Use it.
9613 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
9614
9615 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
9616
9617 Misc cleanup.
9618 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
9619 Use replace-regexp-in-string.
9620 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
9621 (makefile-imake-mode-syntax-table): Move init into defvar.
9622 (makefile-mode): Use define-derived-mode.
9623
9624 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
9625 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
9626 not be present any more.
9627
9628 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
9629
9630 * faces.el (set-face-attribute): Fix typo in docstring.
9631 (face-valid-attribute-values): Reflow docstring.
9632
9633 2010-03-24 Glenn Morris <rgm@gnu.org>
9634
9635 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
9636
9637 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
9638
9639 * indent.el (indent-for-tab-command): Doc fix.
9640
9641 2010-03-24 Alan Mackenzie <acm@muc.de>
9642
9643 * progmodes/cc-engine.el (c-remove-stale-state-cache):
9644 Fix off-by-one error. Fixes bug #5747.
9645
9646 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
9647
9648 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
9649 (image-dired-read-comment): Doc fix.
9650
9651 * json.el (json-object-type, json-array-type, json-key-type)
9652 (json-false, json-null, json-read-number):
9653 * minibuffer.el (completion-in-region-functions):
9654 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
9655 (cal-tex-cursor-week):
9656 * emacs-lisp/trace.el (trace-function):
9657 * eshell/em-basic.el (eshell/printnl):
9658 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
9659 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
9660 * obsolete/levents.el (allocate-event, event-key, event-object)
9661 (event-point, event-process, event-timestamp, event-to-character)
9662 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
9663 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
9664 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
9665 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
9666 (reftex-highlight-selection): Fix typos in docstrings.
9667
9668 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
9669
9670 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
9671
9672 2010-03-24 Glenn Morris <rgm@gnu.org>
9673
9674 * mail/rmail.el (rmail-highlight-face): Restore option deleted
9675 2008-02-13 without comment; mark it obsolete.
9676 (rmail-highlight-headers): Use rmail-highlight-face once more.
9677
9678 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
9679
9680 * woman.el (woman2-process-escapes): Only consume the newline if
9681 the filler character is on a line by itself (Bug#5729).
9682
9683 2010-03-24 Kenichi Handa <handa@m17n.org>
9684
9685 * language/indian.el (devanagari-composable-pattern): Add more
9686 consonants.
9687
9688 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
9689
9690 * net/trampver.el: Update release number.
9691
9692 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
9693
9694 * net/tramp.el (tramp-find-executable):
9695 Use `tramp-get-connection-buffer'. Make the regexp for checking
9696 output of "wc -l" more robust.
9697 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
9698 (tramp-open-connection-setup-interactive-shell): Remove workaround
9699 for OpenSolaris bug, it is not needed anymore.
9700
9701 2010-03-24 Glenn Morris <rgm@gnu.org>
9702
9703 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
9704
9705 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
9706
9707 * files.el (auto-mode-alist): Accept more verilog file patterns.
9708
9709 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
9710
9711 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
9712
9713 2010-03-24 Glenn Morris <rgm@gnu.org>
9714
9715 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
9716 log-edit-before-checkin-process.
9717
9718 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
9719
9720 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
9721
9722 * vc-dispatcher.el (vc-start-logentry): Doc fix.
9723 (log-view-process-buffer, log-edit-extra-flags): Declare.
9724
9725 * log-edit.el (log-edit-before-checkin-process): Doc fix.
9726
9727 2010-03-23 Sam Steingold <sds@gnu.org>
9728
9729 Fix bug#5620: recalculate all markers on compilation buffer
9730 modifications, not on file modifications.
9731 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
9732 variable: the buffer modification time, for buffers not associated with
9733 files.
9734 (compilation-mode): Create it.
9735 (compilation-filter): Update it.
9736 (compilation-next-error-function): Use it instead of
9737 `visited-file-modtime' for timestamp.
9738
9739 2010-03-23 Juri Linkov <juri@jurta.org>
9740
9741 Implement Occur multi-line matches.
9742 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
9743
9744 * replace.el (occur): Doc fix.
9745 (occur-engine): Set `begpt' to the beginning of the first line.
9746 Set `endpt' to the end of the last match line. At first, count
9747 line numbers between `origpt' and `begpt'. Split out code from
9748 `out-line' variable to new let-bindings `match-prefix' and
9749 `match-str'. In `out-line' add non-numeric prefix to all
9750 non-first lines of multi-line matches. Finally, count lines
9751 between `begpt' and `endpt' and add to `lines'.
9752
9753 2010-03-23 Juri Linkov <juri@jurta.org>
9754
9755 * replace.el (occur-accumulate-lines, occur-engine):
9756 Use `occur-engine-line' instead of duplicate code.
9757 (occur-engine-line): New function created from duplicate code
9758 in `occur-accumulate-lines' and `occur-engine'.
9759
9760 * replace.el (occur-engine-line): Add optional arg `keep-props'.
9761 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
9762
9763 2010-03-23 Juri Linkov <juri@jurta.org>
9764
9765 * finder.el: Remove TODO tasks.
9766
9767 * info.el (Info-finder-find-node): Add node "all"
9768 with all package info. Handle a list of multiple keywords
9769 separated by comma.
9770 (info-finder): In interactive use with a prefix argument,
9771 use `completing-read-multiple' to read a list of keywords
9772 separated by comma.
9773
9774 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
9775
9776 Add a new completion style `substring'.
9777 * minibuffer.el (completion-basic--pattern): New function.
9778 (completion-basic-try-completion, completion-basic-all-completions):
9779 Use it.
9780 (completion-substring--all-completions)
9781 (completion-substring-try-completion)
9782 (completion-substring-all-completions): New functions.
9783 (completion-styles-alist): New style `substring'.
9784
9785 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
9786
9787 Get rid of .elc files after removal of the corresponding .el.
9788 * Makefile.in (compile-clean): New target.
9789 (compile-main): Use it.
9790
9791 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
9792
9793 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
9794 don't do make there. When compiling with separate object dir, there
9795 is no Makefile there.
9796
9797 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
9798
9799 Get rid of the ELCFILES abomination, again.
9800 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
9801 (all, compile): Don't call compile-last.
9802 (compile-main): Build the "elcfiles" list dynamically.
9803 (compile-targets): New (internal) target.
9804
9805 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
9806
9807 * Makefile.in (top_srcdir): Define.
9808 (abs_top_builddir): Define.
9809 (srcdir): Don't append `/..'.
9810 (EMACS): Use ${abs_top_builddir}.
9811 (all, compile, compile-always, compile-last): Don't set emacswd.
9812 (update-subdirs, update-authors): Use $(top_srcdir) instead of
9813 $(srcdir).
9814 (lisp): Use $(srcdir) instead of @srcdir@.
9815
9816 2010-03-21 Juri Linkov <juri@jurta.org>
9817
9818 Fix message of multi-line occur regexps and multi-buffer header lines.
9819 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
9820
9821 * replace.el (occur-1): Don't display regexp if it is longer
9822 than window-width. Use `query-replace-descr' to display regexp.
9823 (occur-engine): Don't display regexp in the buffer header for
9824 multi-buffer occur. Display a separate header line with total
9825 match count and regexp for multi-buffer occur.
9826 Use `query-replace-descr' to display regexp.
9827
9828 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
9829
9830 * net/secrets.el: Fix parenthesis.
9831 (secrets-enabled): Fix parenthesis.
9832
9833 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
9834
9835 Use more relative file and directory names.
9836 * Makefile.in (EMACS): Arrange for it to work when we chdir.
9837 (setwins, setwins_almost, setwins_for_subdirs):
9838 Don't `cd'; output relative names.
9839 (all, compile, compile-always, compile-last): Set emacswd.
9840 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
9841 Just cd to the lisp source dir so we can use relative file names.
9842
9843 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
9844
9845 2010-03-20 Glenn Morris <rgm@gnu.org>
9846
9847 * textmodes/rst.el: Use faces for font-lock customization, and make the
9848 old -face variables obsolete.
9849 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
9850 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
9851 (rst-block-face, rst-external-face, rst-definition-face)
9852 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
9853 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
9854 Make obsolete.
9855 (rst-font-lock-keywords-function): Update for above changes.
9856
9857 2010-03-20 Juri Linkov <juri@jurta.org>
9858
9859 * s-region.el:
9860 * obsolete/s-region.el: Move to obsolete.
9861
9862 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
9863
9864 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
9865
9866 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
9867
9868 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
9869
9870 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
9871
9872 Add special markup processing for commit logs.
9873 * log-edit.el (log-edit-extra-flags): New variable.
9874 (log-edit): Add new argument MODE. Use that mode when non-nil
9875 instead of the log-view-mode.
9876 (log-view-process-buffer): New function.
9877
9878 * vc.el: Document that the checkin method takes optional
9879 arguments. Document new backend specific method: log-view-mode.
9880 (vc-default-log-edit-mode): New function.
9881 (vc-checkin): Use a backend specific log-view-mode.
9882 Pass extra arguments to the checkin method.
9883 (vc-modify-change-comment): Pass a dummy extra argument.
9884
9885 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
9886 log-edit.
9887 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
9888 (vc-finish-logentry): Process the log buffer before passing it
9889 down. Pass log-edit-extra-flags.
9890
9891 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
9892 command.
9893 (log-edit-extra-flags, log-edit-before-checkin-process):
9894 New declarations.
9895
9896 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
9897 command.
9898 (log-edit-extra-flags, log-edit-before-checkin-process):
9899 New declarations.
9900 (vc-hg-log-edit-mode): New derived mode.
9901
9902 * vc-arch.el (vc-arch-checkin):
9903 * vc-cvs.el (vc-cvs-checkin):
9904 * vc-git.el (vc-git-checkin):
9905 * vc-mtn.el (vc-mtn-checkin):
9906 * vc-rcs.el (vc-rcs-checkin):
9907 * vc-sccs.el (vc-sccs-checkin):
9908 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
9909
9910 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
9911
9912 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
9913 parent typo).
9914
9915 2010-03-19 Glenn Morris <rgm@gnu.org>
9916
9917 * password-cache.el (password-cache, password-cache-expiry): Autoload.
9918
9919 2010-03-18 Glenn Morris <rgm@gnu.org>
9920
9921 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
9922
9923 * replace.el (query-replace-history): Give it a doc string.
9924 (map-query-replace-regexp): Use query-replace-from-history-variable
9925 and query-replace-to-history-variable.
9926
9927 * mail/hashcash.el (declare-function): Remove duplicate definition.
9928
9929 * mail/emacsbug.el (report-emacs-bug-pretest-address):
9930 Make it an obsolete alias for report-emacs-bug-address.
9931 (message-strip-special-text-properties): Declare.
9932 (report-emacs-bug): Remove test for a pretest bug address.
9933 Combine message-mode-specific code.
9934
9935 * mail/supercite.el: Don't require sendmail.
9936 (mh-in-header-p): Declare rather than using with-no-warnings.
9937 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
9938 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
9939
9940 * calendar/cal-french.el: Convert to utf-8.
9941
9942 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
9943 Emacs scripts.
9944
9945 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
9946
9947 * net/secrets.el (secrets-enabled): New variable. Use it instead
9948 of a subfeature.
9949
9950 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
9951
9952 * net/secrets.el (top): Register the D-Bus signals only when the
9953 service "org.freedesktop.secrets" can be pinged.
9954 Provide subfeature `enabled'.
9955
9956 2010-03-14 Juri Linkov <juri@jurta.org>
9957
9958 Add finder unknown keywords.
9959
9960 * finder.el (finder-unknown-keywords): New function.
9961
9962 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
9963 to create a Finder node with unknown keywords.
9964
9965 2010-03-14 Juri Linkov <juri@jurta.org>
9966
9967 * finder.el (finder-compile-keywords): Replace `princ' with
9968 `prin1' on a list of symbols interned from keyword strings.
9969
9970 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
9971 a comma, then split keywords using a comma and optional whitespace.
9972 Otherwise, split by whitespace.
9973
9974 * complete.el:
9975 * face-remap.el:
9976 * log-view.el:
9977 * net/hmac-def.el:
9978 * net/hmac-md5.el:
9979 * net/netrc.el:
9980 * progmodes/mixal-mode.el: Fix keywords.
9981
9982 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
9983
9984 * Makefile.in (ELCFILES): Add net/secrets.elc.
9985
9986 * net/secrets.el: New file.
9987
9988 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
9989
9990 * facemenu.el (list-colors-display, list-colors-print): New arg
9991 callback. Use it to allow selecting colors.
9992
9993 * wid-edit.el (widget-image-insert): Insert image prop even if the
9994 current display is non-graphic.
9995 (widget-field-value-set): New fun.
9996 (editable-field): Use it.
9997 (widget-field-value-get): Clean up unused var.
9998 (widget-color-value-create, widget-color--choose-action):
9999 New funs. Allow using list-colors-display to choose color.
10000
10001 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
10002
10003 * cus-edit.el: Resort topmost custom groups.
10004 (custom-buffer-sort-alphabetically): Default to t.
10005 (customize-apropos): Use apropos-parse-pattern.
10006 (custom-search-field): New var.
10007 (custom-buffer-create-internal): Add custom-apropos search field.
10008 (custom-add-parent-links): Don't display parent doc.
10009 (custom-group-value-create): Don't sort top-level custom group.
10010 (custom-magic-value-create): Show visibility button before option name.
10011
10012 (custom-variable-state): New fun, from custom-variable-state-set.
10013 (custom-variable-state-set): Use it.
10014 (custom-group-value-create): Hide options with standard values
10015 using the :hidden-states property. Use progress reporter.
10016
10017 (custom-show): Simplify.
10018 (custom-visibility): Disable images by default.
10019 (custom-variable): New property :hidden-states.
10020 (custom-variable-value-create): Enable images for
10021 custom-visibility widgets. Use :hidden-states property to
10022 determine initial visibility.
10023
10024 * wid-edit.el (widget-image-find): Give images center ascent.
10025 (visibility): Add :on-image and :off-image properties.
10026 (widget-visibility-value-create): Use them.
10027
10028 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
10029
10030 * cus-edit.el (processes): Remove from development group.
10031 (oop, hypermedia): Delete group.
10032 (comm): Promote to top-level group.
10033
10034 * net/browse-url.el (browse-url):
10035 * net/xesam.el (xesam):
10036 * net/tramp.el (tramp):
10037 * net/goto-addr.el (goto-address):
10038 * net/ange-ftp.el (ange-ftp): Put in comm group.
10039
10040 * view.el (view): Remove from editing group.
10041
10042 * uniquify.el (uniquify): Put in files group.
10043
10044 * net/browse-url.el (browse-url):
10045 * ps-print.el (postscript): Put in external group.
10046
10047 * cus-edit.el (outlines):
10048 * textmodes/text-mode.el (text-mode-hook):
10049 * textmodes/table.el (table):
10050 * textmodes/picture.el (picture):
10051 * outline.el (outlines): Put in wp group.
10052
10053 * nxml/nxml-mode.el (nxml): Remove from wp group.
10054
10055 * net/tramp-imap.el (tramp-imap): Put in tramp group.
10056
10057 * mail/metamail.el (metamail): Remove from hypermedia group.
10058
10059 * cus-edit.el (abbrev):
10060 * whitespace.el (whitespace):
10061 * vcursor.el (vcursor):
10062 * reveal.el (reveal):
10063 * hl-line.el (hl-line): Put in convenience group.
10064
10065 * epg-config.el (epg): Put in data group.
10066
10067 * emulation/pc-select.el (pc-select): Put in emulations group.
10068
10069 * calculator.el (calculator): Put in applications group.
10070
10071 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
10072
10073 Add .dir-locals.el support for file-less buffers.
10074 * files.el (hack-local-variables): Split out code to apply local
10075 variable settings ...
10076 (hack-local-variables-apply): ... here. New function.
10077 (hack-dir-local-variables): Use the default directory for when the
10078 buffer does not have an associated file.
10079 (hack-dir-local-variables-non-file-buffer): New function.
10080 * diff-mode.el (diff-mode):
10081 * vc-annotate.el (vc-annotate-mode):
10082 * vc-dir.el (vc-dir-mode):
10083 * log-edit.el (log-edit-mode):
10084 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
10085
10086 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
10087
10088 Add support for shelving snapshots and for showing shelves.
10089 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
10090 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
10091 New functions.
10092 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
10093 (vc-bzr-extra-menu-map): Map them.
10094
10095 2010-03-11 Glenn Morris <rgm@gnu.org>
10096
10097 * cus-edit.el (customize-changed-options-previous-release):
10098 Bump to 23.1.
10099
10100 * image.el (image-animate-max-time): Fix :version tag.
10101
10102 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
10103
10104 * Branch for 23.2.
10105
10106 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
10107
10108 * vc-git.el (vc-git-revision-table): Include remote branches.
10109
10110 2010-03-10 Kim F. Storm <storm@cua.dk>
10111
10112 Animated image API.
10113 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
10114
10115 * image.el (image-animate-max-time): New defcustom.
10116 (image-animated-types): New defconst.
10117 (create-animated-image, image-animate-timer)
10118 (image-animate-start, image-animate-stop, image-animate-timeout)
10119 (image-animated-p): New functions.
10120
10121 * image-mode.el (image-toggle-display-image):
10122 Replace `create-image' with `create-animated-image'.
10123
10124 2010-03-09 Miles Bader <miles@gnu.org>
10125
10126 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
10127 instead of "format:"; this ensures that the output is
10128 newline-terminated.
10129
10130 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
10131
10132 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
10133 that all errors are caught, and that the return value is always a
10134 list (Bug#5692).
10135
10136 2010-03-08 Kenichi Handa <handa@m17n.org>
10137
10138 * language/misc-lang.el (windows-1256): New coding system.
10139 (cp1256): New alias of windows-1256 (bug#5690).
10140
10141 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
10142
10143 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
10144 call to rfc822-bad-address. (Bug#5692)
10145
10146 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
10147
10148 * vc-git.el (vc-git-annotate-extract-revision-at-line):
10149 Use vc-git-root as default directory for revision path (Bug#5657).
10150
10151 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
10152
10153 * calculator.el (calculator): Don't bind split-window-keep-point
10154 (Bug#5674).
10155
10156 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
10157
10158 * vc-git.el: Re-flow to fit into 80 columns.
10159 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
10160 Remove spurious `quote' element in each case alternative.
10161 (vc-git-show-log-entry): Use prog1.
10162 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
10163
10164 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
10165
10166 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
10167
10168 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
10169
10170 * macros.el (insert-kbd-macro): Look up keyboard macro using the
10171 definition, not the name (Bug#5481).
10172
10173 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
10174
10175 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
10176 argument with a local variable. (Bug#5670)
10177
10178 2010-03-02 Juri Linkov <juri@jurta.org>
10179
10180 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
10181
10182 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
10183
10184 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
10185 error when FILENAME and NEWNAME are existing remote directories.
10186
10187 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
10188 parameter DIR-FLAG.
10189
10190 2010-03-02 Glenn Morris <rgm@gnu.org>
10191
10192 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
10193 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
10194
10195 2010-03-01 Kenichi Handa <handa@m17n.org>
10196
10197 * language/burmese.el (burmese-composable-pattern): Rename from
10198 myanmar-composable-pattern.
10199
10200 * international/characters.el (script-list):
10201 * international/fontset.el (script-representative-chars):
10202 Change myanmar to burmese.
10203 (otf-script-alist): Likewise.
10204 (setup-default-fontset): Likewise. Re-fix :otf spec.
10205
10206 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
10207
10208 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
10209
10210 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
10211
10212 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
10213
10214 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
10215
10216 * net/tramp.el (tramp-handle-write-region): START can be a string.
10217 Take care in the checks. Reported by Dan Davison
10218 <davison@stats.ox.ac.uk>.
10219
10220 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
10221
10222 * net/dbus.el (dbus-introspect, dbus-get-property)
10223 (dbus-set-property, dbus-get-all-properties):
10224 Use `dbus-call-method' when noninteractive. (Bug#5645)
10225
10226 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
10227
10228 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
10229 * emacs-lisp/elint.el (elint-add-required-env):
10230 * calendar/icalendar.el (icalendar--add-diary-entry):
10231 * calc/calcalg2.el (math-tracing-integral):
10232 * files.el (recover-session-finish): Use with-current-buffer
10233 instead of save-excursion.
10234
10235 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
10236
10237 Fix in-buffer completion when after-change-functions modify the buffer.
10238 * minibuffer.el (completion--replace): New function.
10239 (completion--do-completion): Use it and use relative movement.
10240
10241 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
10242
10243 * international/fontset.el (setup-default-fontset): Fix :otf spec.
10244
10245 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
10246
10247 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
10248 Allow the characters _<> in the stack entry (Bug#5653).
10249
10250 2010-02-26 Kenichi Handa <handa@m17n.org>
10251
10252 * language/burmese.el: Fix entries in composition-function-table.
10253 (myanmar-composable-pattern): New variable.
10254
10255 * international/fontset.el (setup-default-fontset): Add an entry
10256 for myanmar.
10257
10258 * international/characters.el (script-list): Add Myanmar
10259 Extended-A.
10260
10261 2010-02-26 Glenn Morris <rgm@gnu.org>
10262
10263 * custom.el (custom-initialize-delay): Doc fix.
10264
10265 * mail/sendmail.el (send-mail-function): Autoload the call
10266 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
10267
10268 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
10269
10270 * files.el (hack-local-variables-filter): For eval forms, also
10271 check safe-local-variable-p (Bug#5636).
10272
10273 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
10274
10275 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
10276 setting the modes by `ignore-errors'. It might fail, for example
10277 if the file is not owned by the user but the group.
10278 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
10279
10280 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
10281
10282 * files.el (directory-listing-before-filename-regexp):
10283 Use stricter matching for iso-style dates, to avoid false matches with
10284 date-like filenames (Bug#5597).
10285
10286 * htmlfontify.el (htmlfontify): Doc fix.
10287
10288 * eshell/eshell.el (eshell): Doc fix.
10289
10290 * startup.el (fancy-about-screen): In mode-line, apply
10291 mode-line-buffer-id face only to the buffer name (Bug#5613).
10292
10293 2010-02-20 Kevin Ryde <user42@zip.com.au>
10294
10295 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10296 In `watcom' anchor regexp to start of line, to avoid slowness
10297 (Bug#5599).
10298
10299 2010-02-20 Eli Zaretskii <eliz@gnu.org>
10300
10301 * subr.el (remove-yank-excluded-properties): Explain in a comment
10302 why `category' property is removed.
10303
10304 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
10305
10306 * isearch.el (isearch-update-post-hook, isearch-update):
10307 Revert 2010-02-17 change.
10308
10309 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
10310
10311 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
10312 (icalendar--convert-weekly-to-ical)
10313 (icalendar--convert-yearly-to-ical)
10314 (icalendar--convert-block-to-ical)
10315 (icalendar--convert-cyclic-to-ical)
10316 (icalendar--convert-anniversary-to-ical): Take care of time
10317 specifications where hour has 1-digit only (Bug#5549).
10318
10319 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
10320
10321 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
10322 of disassemble output in GDB 7.1.
10323
10324 2010-02-19 Glenn Morris <rgm@gnu.org>
10325
10326 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
10327 property. (Bug#5593)
10328
10329 2010-02-18 Sam Steingold <sds@gnu.org>
10330
10331 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
10332
10333 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
10334
10335 Use abbreviated file names in bookmarks (bug#5591).
10336 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
10337 calls to expand-file-name.
10338 (bookmark-relocate): Use abbreviated file names in bookmarks.
10339 (bookmark-load): Use abbreviated file names in messages.
10340
10341 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
10342
10343 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
10344 expand "." and "..". Reported by Thierry Volpiatto
10345 <thierry.volpiatto@gmail.com>.
10346
10347 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
10348
10349 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
10350 permissions of the temporary file to "0600". In case the remote
10351 file has no read permissions for the owner, there might be
10352 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
10353
10354 22010-02-18 Glenn Morris <rgm@gnu.org>
10355
10356 * emacs-lisp/authors.el (authors-renamed-files-alist):
10357 Add entries for INSTALL.CVS.
10358
10359 2010-02-17 Mark A. Hershberger <mah@everybody.org>
10360
10361 * vc-bzr.el: Fix typo in Known Bugs section.
10362
10363 * isearch.el (isearch-update-post-hook): New hook.
10364 (isearch-update): Use the new hook.
10365
10366 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
10367
10368 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
10369 Fix errors in copying directories.
10370 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
10371 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
10372 (tramp-handle-delete-file)
10373 (tramp-handle-dired-recursive-delete-directory)
10374 (tramp-handle-write-region): Flush also the cache for the upper
10375 directory.
10376
10377 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
10378
10379 * simple.el (save-interprogram-paste-before-kill): Doc fix.
10380
10381 * cus-edit.el (hardware): Doc fix.
10382
10383 * man.el (man): Add to external custom group.
10384
10385 * delim-col.el (columns): Move to wp custom group.
10386
10387 * doc-view.el (doc-view): Add to data custom group.
10388
10389 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
10390
10391 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
10392 by ispell-parse-output (Bug#5575).
10393
10394 2010-02-16 Kenichi Handa <handa@m17n.org>
10395
10396 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
10397 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
10398 (skkdic-convert): Use `euc-japan' coding system for writing.
10399
10400 2010-02-16 Glenn Morris <rgm@gnu.org>
10401
10402 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
10403 tex-main-file before using it. (Bug#5562)
10404
10405 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
10406
10407 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
10408 warnings, since it is annoying for the user to see them each time he
10409 runs the code.
10410
10411 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
10412
10413 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
10414 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
10415 instead of PROC for caching "first-password-request". Otherwise,
10416 new processes would not profit from passwords already entered.
10417
10418 * net/tramp-cache.el (tramp-dump-connection-properties):
10419 Don't save "first-password-request" property.
10420
10421 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
10422
10423 * outline.el (outline-head-from-level):
10424 * simple.el (with-wrapper-hook):
10425 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
10426 (elint-defun, elint-buffer-env, elint-top-form-logged)
10427 (elint-unbound-variable):
10428 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
10429 Fix typos in docstrings.
10430
10431 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
10432
10433 * files.el (insert-directory): When WILDCARD-REGEXP and
10434 FULL-DIRECTORY-P are nil, insert the file entry instead of the
10435 whole directory. (Bug#5551)
10436
10437 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
10438 dired's alignment sanity. (Bug#5516)
10439
10440 2010-02-14 Juri Linkov <juri@jurta.org>
10441
10442 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
10443 Remove remaining ^H with their preceding chars. (Bug#5566)
10444
10445 2010-02-13 Glenn Morris <rgm@gnu.org>
10446
10447 * simple.el (transpose-subr): Give it a doc-string.
10448
10449 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
10450 Doc fixes.
10451
10452 2010-02-12 Juri Linkov <juri@jurta.org>
10453
10454 * arc-mode.el (archive-unique-fname): Make directories for nested
10455 archives. (Bug#5540)
10456
10457 2010-02-12 Juri Linkov <juri@jurta.org>
10458
10459 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
10460
10461 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
10462
10463 * subr.el (copy-overlay): Handle deleted overlays.
10464
10465 * man.el (Man-completion-table): Don't signal an error if we can't run
10466 manual-program (bug#4056).
10467
10468 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
10469
10470 * textmodes/artist.el (artist-mt): Fix typos in docstring.
10471
10472 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10473
10474 * info.el (Info-bookmark-jump): Simplify.
10475
10476 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
10477 (bookmark-default-handler): Accept new bookmark field `buffer'.
10478
10479 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
10480
10481 * iswitchb.el (iswitchb-completions): Revert last change.
10482
10483 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
10484
10485 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
10486 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
10487 This prevents file names like "~/" being listed literally.
10488
10489 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
10490
10491 * term/xterm.el (xterm-maybe-set-dark-background-mode):
10492 Remove dead code. (Bug#5546)
10493
10494 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
10495
10496 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
10497 correctly (Bug#5548).
10498
10499 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
10500
10501 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
10502 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
10503
10504 2010-02-08 Kenichi Handa <handa@m17n.org>
10505
10506 * international/mule-util.el (with-coding-priority): Add autoload
10507 cookie for putting `lisp-indent-function'.
10508
10509 2010-02-07 Glenn Morris <rgm@gnu.org>
10510
10511 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
10512 Move F2003 named interfaces from keywords-2 to keywords-1, and
10513 use function-name-face rather than constant-face.
10514 Simplify "abstract interface" regexp.
10515
10516 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
10517
10518 * eshell/esh-util.el (eshell-file-attributes): New optional arg
10519 ID-FORMAT. Pass it to `file-attributes'.
10520
10521 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
10522
10523 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
10524
10525 * faces.el (set-face-attribute): Allow calling
10526 internal-set-lisp-face-attribute with 'unspecified family and
10527 foundry argument (Bug#5536).
10528
10529 2010-02-07 Glenn Morris <rgm@gnu.org>
10530
10531 * progmodes/f90.el (f90-font-lock-keywords-2)
10532 (f90-looking-at-type-like, f90-looking-at-program-block-end):
10533 Handle F2003 named interfaces.
10534
10535 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
10536
10537 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
10538 beg and end before calling c-get-state-before-change-functions.
10539
10540 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
10541
10542 * vc-bzr.el (vc-bzr-dir-extra-headers):
10543 Disable the pending merges header.
10544
10545 2010-02-05 Juri Linkov <juri@jurta.org>
10546
10547 * doc-view.el (doc-view-mode):
10548 * image-mode.el (image-mode): Put property mode-class=special.
10549 (Bug#4896)
10550
10551 2010-02-05 Mark A. Hershberger <mah@everybody.org>
10552
10553 * vc-svn.el (vc-svn-revision-table): New function.
10554
10555 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
10556
10557 * net/ange-ftp.el (ange-ftp-insert-directory):
10558 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
10559 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
10560 Handle also directories. (Bug#5478)
10561
10562 2010-02-05 Glenn Morris <rgm@gnu.org>
10563
10564 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
10565
10566 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
10567
10568 * startup.el (command-line-1): Convert options beginning with a
10569 single dash as well (Bug#5519).
10570
10571 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
10572
10573 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
10574 * minibuffer.el (completion-initials-expand): Only check the presence
10575 of delims *within* the boundaries, since otherwise the / delim is
10576 always found for files.
10577
10578 Fix up various corner case problems.
10579 * doc-view.el (doc-view-last-page-number): New function.
10580 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
10581 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
10582 (doc-view-kill-proc): Avoid inf-loop in freak cases.
10583 (doc-view-reconvert-doc): Use the new recursive delete-directory.
10584 (doc-view-convert-current-doc): Don't create the resolution.el file
10585 here any more.
10586 (doc-view-pdf/ps->png): Do it here instead.
10587 (doc-view-already-converted-p): Check that resolution.el is present.
10588 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
10589 windows that are not yet showing images.
10590
10591 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
10592
10593 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
10594 `dired-uncache' for every elemnt which is an absolute file name.
10595
10596 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
10597 directory, handle its directory component.
10598 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
10599 function is called permanently and creates noise, otherwise.
10600
10601 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
10602 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
10603 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
10604
10605 2010-02-04 David Burger <dburger@google.com> (tiny change)
10606
10607 * macros.el (apply-macro-to-region-lines):
10608 Minor simplification. (Bug#5485)
10609
10610 2010-02-04 Glenn Morris <rgm@gnu.org>
10611
10612 * mail/rmail.el (rmail-show-message-1): Handle malformed
10613 quoted-printable text. (Bug#5441)
10614
10615 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
10616
10617 * simple.el (visual-line-mode): Capitalize lighter.
10618
10619 2010-02-03 John Wiegley <jwiegley@gmail.com>
10620
10621 * iswitchb.el (iswitchb-completions): Add bookmark files to the
10622 list of files considered for "virtual buffer" completions.
10623
10624 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
10625
10626 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
10627 also in case of (and (not full) (not wildcard)). This is needed
10628 when dired is called with a list of files, which are not in
10629 `default-directory'. (Bug#5478)
10630
10631 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
10632
10633 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
10634
10635 2010-02-02 Juri Linkov <juri@jurta.org>
10636
10637 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
10638 from unidiff to allow function-line after @@.
10639
10640 2010-02-02 Juri Linkov <juri@jurta.org>
10641
10642 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
10643 '(RCS SCCS) with inverted condition.
10644
10645 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
10646
10647 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
10648 messages.
10649
10650 2010-02-01 Juri Linkov <juri@jurta.org>
10651
10652 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
10653 compare with "pkunzip" and "pkzip" instead of only "pkzip".
10654 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
10655 only when (car archive-zip-extract) is "unzip". (Bug#5475)
10656
10657 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
10658
10659 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
10660 (doc-view-revert-buffer): New command.
10661 (doc-view-mode-map): Use it.
10662
10663 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
10664
10665 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
10666 pending merge is detected.
10667
10668 2010-01-31 Juri Linkov <juri@jurta.org>
10669
10670 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
10671 beginning of interactive spec like all other grep commands do.
10672 Put "all" in front of "gz". (Bug#5260)
10673
10674 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
10675
10676 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
10677
10678 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
10679
10680 * dirtrack.el (dirtrack): Warn instead of signalling error if the
10681 regexp is incorrect (Bug#5476).
10682
10683 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
10684
10685 * net/tramp.el (tramp-handle-insert-directory): Handle also
10686 symlinks, when FILENAME is not in `default-directory'.
10687
10688 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
10689
10690 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
10691 FILE is not in `default-directory'. (Bug#5478)
10692
10693 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
10694 of SWITCHES. Handle the case, FILENAME is not in
10695 `default-directory'. (Bug#5478)
10696 (tramp-register-file-name-handlers): Add safe-magic property.
10697
10698 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
10699
10700 * arc-mode.el (archive-zip-extract): Quote the argument passed to
10701 unzip (Bug#5475).
10702
10703 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
10704
10705 * progmodes/flymake.el (flymake-allowed-file-name-masks)
10706 (flymake-master-make-header-init): Add other C++ filename masks.
10707 (flymake-find-possible-master-files)
10708 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
10709
10710 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
10711
10712 Fix some busybox annoyances.
10713
10714 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
10715 not responding." string.
10716 (tramp-open-connection-setup-interactive-shell): Dump stty
10717 settings. Enable "neveropen" arg for all `tramp-send-command'
10718 calls. Handle "=" in variable values properly.
10719 (tramp-find-inline-encoding): Raise an error, when no encoding is
10720 found.
10721 (tramp-wait-for-output): Check, whether PROC buffer is available.
10722 Remove spurious " ^H" sequences, sent by busybox.
10723 (tramp-get-ls-command): Suppress coloring, if possible.
10724
10725 2010-01-28 Glenn Morris <rgm@gnu.org>
10726
10727 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
10728
10729 * log-edit.el (log-edit-strip-single-file-name): Add missing
10730 :safe, :group, and :version tags.
10731
10732 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
10733
10734 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
10735 buffers. (Bug#5477)
10736
10737 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
10738
10739 * files.el (delete-directory): Handle moving to trash without
10740 first doing recursion (Bug#5436).
10741
10742 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
10743
10744 * vc-hooks.el (vc-path): Mark as obsolete.
10745
10746 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
10747
10748 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
10749 names too.
10750
10751 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
10752 for the short log.
10753 (vc-bzr-log-view-mode): Adjust regexp for the above change.
10754
10755 2010-01-25 Mark A. Hershberger <mah@everybody.org>
10756
10757 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
10758
10759 * vc-bzr.el (vc-bzr-revision-table): New function.
10760
10761 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
10762
10763 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
10764 diff-index command. This requires at least git-1.5.5. (Bug#1589).
10765
10766 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
10767
10768 Remove support for adding --signoff on commit.
10769 Future support will use an incompatible generic mechanism.
10770 * vc-git.el (vc-git-add-signoff): Remove variable.
10771 (vc-git-toggle-signoff): Remove function.
10772 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
10773
10774 * term/xterm.el (xterm-maybe-set-dark-background-mode):
10775 Rename from xterm-set-background-mode. Return t if the background mode
10776 was set.
10777 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
10778 earlier, call it again in case the background mode has changed.
10779
10780 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
10781
10782 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
10783 (Bug#3541).
10784
10785 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
10786
10787 * emacs-lisp/assoc.el (aelement): Doc fix.
10788 (aput, adelete, amake): Use lexical-let (Bug#5450).
10789
10790 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
10791
10792 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
10793 is the same as subprogram call, not declaration. (Bug#5435).
10794
10795 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
10796
10797 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
10798 (tramp-smb-maybe-open-connection): Use it.
10799
10800 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
10801
10802 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
10803
10804 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
10805
10806 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
10807 just because we see "encoding: 8bit".
10808 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
10809
10810 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
10811
10812 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
10813
10814 2010-01-22 Eli Zaretskii <eliz@gnu.org>
10815
10816 * jka-compr.el (jka-compr-load): If load-file is not in
10817 load-history, try its file-truename version. (bug#5447)
10818
10819 2010-01-21 Alan Mackenzie <acm@muc.de>
10820
10821 Fix a situation where deletion of a cpp construct throws an error.
10822 * progmodes/cc-engine.el (c-invalidate-state-cache):
10823 Before invoking c-with-all-but-one-cpps-commented-out, check that the
10824 special cpp construct is still in the buffer.
10825 (c-parse-state): Record the special cpp with markers, not numbers.
10826
10827 2010-01-21 Kenichi Handa <handa@m17n.org>
10828
10829 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
10830 process last-command-event, as it is now decoded first (Bug#5380).
10831
10832 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
10833
10834 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
10835
10836 2010-01-20 Glenn Morris <rgm@gnu.org>
10837
10838 * indent.el (tab-always-indent): Fix custom-type.
10839
10840 2010-01-19 Alan Mackenzie <acm@muc.de>
10841
10842 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
10843 buffer throws "args out of range".
10844 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
10845 playing the role of delimiter.
10846
10847 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
10848
10849 * progmodes/ada-mode.el: Fix bug#5400.
10850 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
10851 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
10852 changed. Delete RECURSIVE parameter; never used. Improve doc string.
10853 Improve comments in "is" portion. Handle null procedure declaration.
10854 (ada-move-to-end): Improve doc string.
10855
10856 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
10857
10858 * ido.el (ido-cur-list): Initialize to nil.
10859 Remove obsolete information from commentary.
10860 (ido-choice-list): Initialize to nil.
10861 (ido-get-bufname): Reject minibuffers.
10862 (ido-make-buffer-list): If "default" is a nonexistent
10863 buffer, ignore it, as per the function's comment.
10864 (ido-kill-buffer-internal): New function.
10865 (ido-kill-buffer-at-head): Use it.
10866 (ido-visit-buffer): Likewise.
10867
10868 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
10869
10870 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
10871
10872 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
10873
10874 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
10875 Fix typos in chart titles.
10876
10877 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
10878 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
10879 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
10880 (describe-class, eieio-describe-generic, describe-generic):
10881 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
10882 (eieio-speedbar-expand):
10883 * emulation/viper-cmd.el (viper-exec-form-in-vi)
10884 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
10885 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
10886 (viper-del-backward-char-in-replace, viper-backward-indent)
10887 (viper-brac-function, viper-register-to-point, viper-submit-report):
10888 * net/tramp.el (tramp-remote-coding-commands):
10889 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
10890 Fix typos in docstrings.
10891
10892 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
10893
10894 * mail/sendmail.el (mail-yank-original): Set the mark if the
10895 specified function for yanking does not do it.
10896
10897 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
10898
10899 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
10900
10901 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
10902 resyncing a directory.
10903
10904 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
10905
10906 * progmodes/ada-mode.el: Fix bug#1920.
10907 (ada-ident-re): Delete ., allow multibyte characters.
10908 (ada-goto-label-re): New; matches goto labels.
10909 (ada-block-label-re): New; matches block labels.
10910 (ada-label-re): New; matches both.
10911 (ada-named-block-re): Deleted; callers changed to use
10912 `ada-block-label-re' instead.
10913 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
10914 Use `ada-block-label-re'.
10915 (ada-indent-on-previous-lines): Improve handling of goto labels.
10916 (ada-get-indent-block-start): Special-case block label.
10917 (ada-get-indent-label): Split into `ada-indent-block-label' and
10918 `ada-indent-goto-label'.
10919 (ada-goto-stmt-start, ada-goto-next-non-ws):
10920 Optionally ignore goto labels.
10921 (ada-goto-next-word): Simplify.
10922 (ada-indent-newline-indent-conditional): Insert newline before
10923 trying to fix indentation; doc fix.
10924
10925 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
10926
10927 * calc/calc.el (calc-command-flags): Give it an initial value.
10928
10929 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
10930
10931 * files.el (minibuffer-with-setup-hook):
10932 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
10933 (artist-key-draw-continously, artist-key-do-continously-continously)
10934 (artist-key-set-point-continously, artist-mouse-draw-continously):
10935 Fix typos in docstrings.
10936
10937 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
10938
10939 * nxml/nxml-mode.el (nxml-extend-after-change-region):
10940 Never return t (Bug#3898).
10941
10942 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
10943
10944 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
10945 can parse the output of the external commands (Bug#5279).
10946
10947 2010-01-16 Jari Aalto <jari.aalto@cante.net>
10948
10949 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
10950
10951 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
10952
10953 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
10954
10955 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
10956
10957 * startup.el (command-line): Remove unused --icon-type arg.
10958 Handle --display arg, passing it to command-line-1 (Bug#5392).
10959
10960 2010-01-16 Mario Lang <mlang@delysid.org>
10961
10962 * emacs-lisp/chart.el (chart-translate-namezone):
10963 * textmodes/artist.el (artist-compute-popup-menu-table):
10964 Remove duplicated words in doc-strings.
10965
10966 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
10967
10968 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
10969 to mairix-search to suppress threading (Bug#5342).
10970
10971 2010-01-15 Kenichi Handa <handa@m17n.org>
10972
10973 * international/mule-cmds.el (canonicalize-coding-system-name):
10974 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
10975
10976 2010-01-15 Glenn Morris <rgm@gnu.org>
10977
10978 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
10979
10980 * wid-edit.el (widget-keymap): Doc fix.
10981
10982 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
10983 former seems to be more widely accepted by various svn versions.
10984
10985 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
10986
10987 * find-cmd.el (find-constituents):
10988 * vc-arch.el (vc-arch-root):
10989 * window.el (window-body-height, pop-up-frames):
10990 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
10991 * progmodes/ada-stmt.el (ada-if):
10992 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
10993 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
10994 (ispell-encoding8-command, ispell-aspell-supports-utf8)
10995 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
10996
10997 * progmodes/flymake.el (flymake-post-syntax-check):
10998 Fix typo in error message.
10999
11000 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
11001
11002 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
11003 which is always a string. (Bug#5313)
11004
11005 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
11006
11007 * progmodes/ada-xref.el (ada-default-prj-properties):
11008 Simplify previous change.
11009
11010 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
11011
11012 * progmodes/ada-xref.el (ada-default-prj-properties):
11013 Default ada_project_path to $ADA_PROJECT_PATH.
11014
11015 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
11016
11017 * progmodes/ada-mode.el (ada-create-keymap):
11018 Override `narrow-to-defun' with `ada-narrow-to-defun'.
11019
11020 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
11021
11022 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
11023 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
11024 (ada-get-current-indent, ada-imenu-generic-expression)
11025 (ada-which-function): Check for it.
11026
11027 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
11028
11029 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
11030 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
11031
11032 2010-01-14 Glenn Morris <rgm@gnu.org>
11033
11034 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
11035
11036 2010-01-14 Kenichi Handa <handa@m17n.org>
11037
11038 * composite.el (auto-composition-mode): Make it a buffer local
11039 variable (permanent-local).
11040 (auto-composition-function): Set the default value to
11041 auto-compose-chars.
11042 (auto-composition-mode): Make it a simple function, not a minor mode.
11043 (global-auto-composition-mode): Likewise.
11044 (turn-on-auto-composition-if-enabled): Delete it.
11045
11046 2010-01-13 Karl Fogel <kfogel@red-bean.com>
11047
11048 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
11049
11050 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
11051
11052 * files.el (copy-directory): Compute target for recursive
11053 directories with identical names. (Bug#5343)
11054
11055 2010-01-12 Glenn Morris <rgm@gnu.org>
11056
11057 * mail/emacsbug.el (report-emacs-bug-pretest-address):
11058 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
11059
11060 2010-01-11 Sam Steingold <sds@gnu.org>
11061
11062 * imenu.el (imenu-default-create-index-function): Detect infinite
11063 loops caused by imenu-prev-index-position-function.
11064
11065 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
11066
11067 * htmlfontify.el (htmlfontify-load-rgb-file)
11068 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
11069 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
11070 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
11071 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
11072 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
11073 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
11074 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
11075 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
11076 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
11077 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
11078 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
11079 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
11080 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
11081 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
11082 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
11083 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
11084 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
11085 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
11086 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
11087 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
11088 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
11089 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
11090 backslash-quoting from parentheses, etc.
11091
11092 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
11093
11094 * progmodes/js.el: Autoload javascript-mode alias.
11095
11096 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
11097
11098 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
11099 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
11100 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
11101 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
11102 Fix typos in docstrings.
11103 (ffap-url-regexp): Doc fix.
11104 (ffap-at-mouse): Fix typo in message.
11105
11106 2010-01-11 Glenn Morris <rgm@gnu.org>
11107
11108 * version.el (emacs-copyright): Set copyright year to 2010.
11109
11110 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
11111
11112 * format.el (format-annotate-function): Only set
11113 write-region-post-annotation-function after running to-fn so as not to
11114 affect nested write-region calls (bug#5273).
11115
11116 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
11117
11118 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
11119 wisent/python.el.
11120
11121 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
11122
11123 * man.el (Man-goto-section): Signal error if the section is not
11124 found (Bug#5317).
11125
11126 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
11127
11128 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
11129 URLs with a leading triple slash in the file: scheme. (Bug#5345)
11130
11131 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
11132
11133 * progmodes/compile.el: Don't treat compile-command as safe if
11134 compilation-read-command might be nil (Bug#4218).
11135
11136 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
11137
11138 * startup.el (command-line-1): Use orig-argi to check for ignored X and
11139 NS options.
11140
11141 2010-01-08 Kenichi Handa <handa@m17n.org>
11142
11143 * international/fontset.el (build-default-fontset-data):
11144 Exclude characters in scripts kana, hangul, han, or cjk-misc.
11145
11146 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
11147
11148 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
11149 to `create-file-buffer' as it expects, not just a buffer name.
11150 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
11151 to help uniquify. (Bug#3224)
11152
11153 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
11154
11155 * font-setting.el (font-setting-change-default-font): Use user-spec
11156 instead of name.
11157
11158 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
11159
11160 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
11161
11162 2010-01-05 Tom Tromey <tromey@redhat.com>
11163
11164 * progmodes/python.el (python-font-lock-keywords):
11165 Handle qualified decorators (Bug#881).
11166
11167 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
11168
11169 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
11170 in a lightweight checkout.
11171
11172 2010-01-05 Kenichi Handa <handa@m17n.org>
11173
11174 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
11175
11176 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
11177
11178 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
11179
11180 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
11181
11182 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
11183 checkouts. (Bug#618)
11184 (vc-bzr-log-view-mode): Also highlight the author.
11185 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
11186 (vc-bzr-shelve-menu-map):
11187 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
11188 (vc-bzr-shelve-apply): Make prompt more explicit.
11189
11190 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
11191
11192 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
11193 They are valid characters in URL paths (rfc3986), and at least
11194 Firefox does not understand the encoded version (Bug#3166).
11195
11196 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
11197
11198 * progmodes/octave-mod.el (octave-end-keywords)
11199 (octave-block-begin-or-end-regexp, octave-block-match-alist):
11200 Add "end" keyword (Bug#3061).
11201 (octave-end-as-array-index-p): New function.
11202 (calculate-octave-indent): Use it.
11203
11204 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11205
11206 * bookmark.el: Consistently put the text property on the bookmark name.
11207 (bookmark-bmenu-marks-width): Bump back to 2, to include
11208 annotation marks.
11209 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
11210 property on the bookmark name, instead of not putting it at all.
11211 (bookmark-bmenu-list): Fix where we put the text property.
11212
11213 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11214
11215 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
11216 for showing buffer modified state (as added in the previous change).
11217
11218 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11219
11220 * bookmark.el: Show modified state of bookmark buffer more accurately.
11221 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
11222 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
11223 (with-buffer-modified-unmodified): New macro.
11224 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
11225 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
11226 Use new macro to preserve the buffer modified state.
11227
11228 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11229
11230 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
11231 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
11232 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
11233 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
11234 (bookmark-bmenu-rename, bookmark-bmenu-locate)
11235 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
11236 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
11237
11238 2010-01-02 Eli Zaretskii <eliz@gnu.org>
11239
11240 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11241 Make the lines in the generated doc string shorter. (Bug#4668)
11242
11243 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
11244
11245 * net/rcirc.el: Add follow-link binding (Bug#4738).
11246
11247 2010-01-02 Eli Zaretskii <eliz@gnu.org>
11248
11249 * Makefile.in (bzr-update): Rename from cvs-update.
11250 (cvs-update): New target for backward compatibility.
11251
11252 * makefile.w32-in (bzr-update): Rename from cvs-update.
11253 (cvs-update): New target for backward compatibility.
11254
11255 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11256
11257 * bookmark.el: Remove gratuitous gratitude.
11258
11259 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11260
11261 * bookmark.el (bookmark-bmenu-any-marks): New function.
11262 (bookmark-bmenu-save): Clear buffer modification if no marks.
11263
11264 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11265
11266 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
11267 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
11268 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
11269 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
11270
11271 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
11272 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
11273 To: emacs-devel {_AT_} gnu.org
11274 Subject: bookmark.el bug report
11275 Date: Mon, 28 Dec 2009 14:19:16 +0800
11276 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
11277
11278 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11279
11280 * bookmark.el: Improvements suggested by Drew Adams:
11281 (bookmark-bmenu-ensure-position): New name for
11282 `bookmark-bmenu-check-position'. Just ensure the position,
11283 don't return any meaningful value.
11284 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
11285 New constants.
11286
11287 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
11288
11289 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
11290 (bookmark-yank-point, bookmark-bmenu-check-position):
11291 Fix typos in docstrings.
11292 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
11293 (bookmark-name-from-full-record, bookmark-get-position)
11294 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
11295 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
11296 Remove useless quoting of parenthesis, etc. in docstrings.
11297
11298 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
11299 (ediff-append-custom-diff): Fix typo in error message.
11300 (ediff-meta-mark-equal-files): Fix typos in messages.
11301
11302 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
11303
11304 * net/imap-hash.el (imap-hash-make): Doc fix.
11305 (imap-hash-test): Fix typo in error message; reflow docstring.
11306 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
11307 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
11308 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
11309 Fix typos in docstrings.
11310 (imap-hash-open-connection): Fix typo in error message.
11311
11312 * play/gomoku.el (gomoku): Fix typos in docstring.
11313
11314 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
11315 (gdb-jsonify-buffer): Fix typos in docstring.
11316 (gdb-goto-breakpoint): Fix typo in error message.
11317 ("Display Other Windows"): Fix typo in help message.
11318 (gdb-speedbar-expand-node): Fix typo in question.
11319
11320 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
11321 (idlwave-html-system-help-location, idlwave-html-help-location)
11322 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
11323 (idlwave-help-browser-generic-args, idlwave-help-directory)
11324 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
11325 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
11326 (idlwave-online-help, idlwave-help-html-link)
11327 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
11328 Fix typos in docstrings.
11329 (idlwave-help-with-source, idlwave-help-find-routine-definition):
11330 Reflow docstrings.
11331 (idlwave-help-assistant-start): Fix typo in error message.
11332
11333 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
11334 (octave-electric-space): Fix typos in docstrings.
11335
11336 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
11337
11338 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
11339
11340 2010-01-01 Juri Linkov <juri@jurta.org>
11341
11342 * comint.el (comint-input-ring-size): Make it a defcustom and
11343 increase the default to 500 (Bug#5148).
11344
11345 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
11346
11347 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
11348 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
11349 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
11350
11351 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
11352
11353 Show working revision correctly for mercurial.
11354 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
11355 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
11356
11357 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
11358
11359 Declare some functions for the byte-compiler.
11360 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
11361 (speedbar-timer-fn, speedbar-change-expand-button-char)
11362 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
11363
11364 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
11365
11366 This changeset reverts GDB Graphical Interface to use annotations.
11367 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
11368
11369 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
11370
11371 Make vc-dir work on subdirectories of the bzr root.
11372 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
11373 Return file names relative to it.
11374 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
11375 relative directory to vc-bzr-after-dir-status.
11376
11377 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
11378
11379 * font-lock.el (font-lock-refresh-defaults): New function, which
11380 can be used to let font-lock react to external changes in
11381 variables like font-lock-defaults and keywords.
11382 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
11383
11384 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
11385
11386 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
11387
11388 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
11389
11390 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
11391
11392 Supersede color.diff settings in git log (bug#5211).
11393
11394 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
11395 escape chars in its output when the user has color.diff set to `always'.
11396 This fix works on git 1.4.2 and newer (released on 2006-08-13).
11397
11398 2009-12-26 Kevin Ryde <user42@zip.com.au>
11399
11400 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
11401 node. Keep previous "Index" name to work with past coreutils too.
11402
11403 * man.el (man): Revise docstring a bit to show -a and -l as
11404 examples. Add -k description since support for it has otherwise
11405 been a secret. (Further to bug#3717.)
11406 (Man-bgproc-sentinel): When "-k foo" produces no output show error
11407 "no matches" rather than "Can't find manpage", as the latter reads
11408 like -k was interpreted as a page name, which is not so. (Bug#5431)
11409
11410 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
11411
11412 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
11413 switches. Check also for //SUBDIRED// line.
11414
11415 2009-12-25 Kenichi Handa <handa@m17n.org>
11416
11417 * language/indian.el (devanagari-composable-pattern): Fix to
11418 handle ZWNJ and ZWJ. Use it in composition-function-table for
11419 Devanagari.
11420 (malayalam-composable-pattern): Fix previous change.
11421
11422 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11423
11424 * ps-print.el (ps-face-attributes): It was not returning the
11425 attribute face for faces specified as string. Reported by harven
11426 <harven@free.fr>. (Bug#5254)
11427 (ps-print-version): New version 7.3.5.
11428
11429 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
11430
11431 * calendar/icalendar.el (icalendar--convert-tz-offset):
11432 Fix timezone names.
11433 (icalendar--convert-tz-offset): Fix the "last-day-problem".
11434 (icalendar--add-diary-entry): Remove the trailing blank that
11435 diary-make-entry inserts.
11436
11437 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
11438
11439 Make `file-expand-wildcards' work for remote files.
11440
11441 * files.el (file-expand-wildcards): In case of remote files, check
11442 only local file name part for wildcards. Provide feature 'files
11443 and subfeature 'remote-wildcards. (Bug#5198)
11444
11445 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
11446 if there is already an established connection.
11447 (tramp-advice-file-expand-wildcards): Remove it.
11448
11449 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
11450 (tramp-advice-file-expand-wildcards): Move from tramp.el.
11451 Activate advice for older GNU Emacs versions. (Bug#5237)
11452
11453 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
11454
11455 Some doc fixes (more needed).
11456
11457 * find-cmd.el (find-constituents): Reflow docstring.
11458 (find-cmd, find-prune, find-command): Fix typos in docstrings.
11459 (find-generic): Doc fix.
11460
11461 2009-12-17 Juri Linkov <juri@jurta.org>
11462
11463 Fix regression from 23.1 to allow multiple modes in Local Variables.
11464
11465 * files.el (hack-local-variables-filter): While ignoring duplicates,
11466 don't take `mode' into account.
11467 (hack-local-variables-filter, hack-dir-local-variables):
11468 Don't remove duplicate `mode' from local-variables-alist (like `eval').
11469
11470 2009-12-17 Juri Linkov <juri@jurta.org>
11471
11472 Make `dired-diff' safer. (Bug#5225)
11473
11474 * dired-aux.el (dired-diff): Signal an error when `file' equals to
11475 `current' or when `file' is a directory of the `current' file.
11476
11477 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
11478
11479 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
11480 unconditionally preloaded files.
11481
11482 2009-12-16 Juri Linkov <juri@jurta.org>
11483
11484 Revert to old 23.1 logic of using the file at the mark as default.
11485 * dired-aux.el (dired-diff): Use the file at the mark as default
11486 if it's not the same as the current file, and the target dir is
11487 the current dir or the mark is active. Add the current file
11488 as the arg of `dired-dwim-target-defaults'. Use the default file
11489 in the prompt. (Bug#5225)
11490
11491 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
11492
11493 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
11494 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
11495 (tramp-check-for-regexp): Check also, when an echoing shell stops
11496 to echo sent commands.
11497
11498 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
11499
11500 * Makefile.in: Revert last change (Bug#5191).
11501
11502 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
11503
11504 * vc-hg.el (vc-hg-print-log): Fix argument order.
11505 (vc-hg-working-revision): Make sure the command is executed in a
11506 known environment so that we can parse the output. (Bug#4417)
11507
11508 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
11509
11510 * progmodes/python.el (python-symbol-completions): Remove text
11511 properties from symbol string before calling python-send-receive.
11512
11513 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
11514
11515 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
11516 when there are values for both file and line. (Bug#5060)
11517
11518 2009-12-14 Juri Linkov <juri@jurta.org>
11519
11520 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
11521 whitespace after the file name of the first line of unified format,
11522 because git-diff doesn't output whitespace and file modification time
11523 after the file name.
11524
11525 2009-12-14 David Kastrup <dak@gnu.org>
11526
11527 * info.el (Info-hide-cookies-node): Before hiding a cookie,
11528 check if it already has the `display' property added by
11529 `Info-display-images-node', and not put the `invisible' property
11530 in this case.
11531
11532 2009-12-13 Glenn Morris <rgm@gnu.org>
11533
11534 * mail/emacsbug.el (message-sort-headers): Define for compiler.
11535 (report-emacs-bug): In message-mode, sort manually before storing
11536 original report text. (Bug#5178)
11537 Remove superfluous save-excursion.
11538
11539 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
11540
11541 * net/dbus.el (dbus-property-handler): Filter lambda forms out
11542 when responding to "GetAll" properties.
11543
11544 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
11545
11546 * simple.el (compose-mail): Remove mail-setup-with-from from
11547 customization checks.
11548
11549 2009-12-12 Eli Zaretskii <eliz@gnu.org>
11550
11551 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
11552 RAR archives created on Unix systems.
11553
11554 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
11555
11556 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
11557 the varalias that was accidentally removed by the 2009-11-19 change
11558 (bug#5186).
11559
11560 2009-12-12 Kenichi Handa <handa@m17n.org>
11561
11562 * language/indian.el (indian-compose-regexp): New function.
11563 (malayalam-composable-pattern): Fix the pattern.
11564 (composition-function-table): Set malayalam-composable-pattern for
11565 Malayalam characters.
11566
11567 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
11568
11569 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
11570 rather than down-mouse-1, based on follow-link conventions.
11571
11572 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
11573 are compiled.
11574
11575 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
11576
11577 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
11578 (verilog-vmm-statement-re, verilog-ovm-statement-re)
11579 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
11580 (verilog-leap-to-head, verilog-backward-token):
11581 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
11582
11583 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
11584
11585 * progmodes/verilog-mode.el (verilog-auto-lineup)
11586 (verilog-nameable-item-re): Cleanup user-visible spelling and
11587 documentation errors. One reported by Gary Delp.
11588 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
11589 (verilog-read-decls): Fix AUTOWIRE with types declared in a
11590 package, bug195. Reported by Pierre-David Pfister.
11591
11592 2009-12-11 Glenn Morris <rgm@gnu.org>
11593
11594 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
11595
11596 * mail/emacsbug.el: No longer require sendmail.
11597 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
11598 (report-emacs-bug-orig-text): Doc fix.
11599 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
11600 New local variables, to adapt to different mail-user-agents.
11601 (report-emacs-bug): Fix test for a gnu.org address.
11602 Use overlays for emphasis, since font-lock defeats 'face property.
11603 Pretest bugs also end up at the newsgroup these days.
11604 Stop message-mode stripping text properties.
11605 Set and use the new buffer-local variables.
11606 (report-emacs-bug-hook): Add doc-string.
11607 Remove some unnecessary save-excursions and simplify.
11608 Use the appropriate hook and send-command.
11609
11610 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
11611 capitalization of some menu entries.
11612
11613 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11614
11615 * whitespace.el (whitespace-display-char-on):
11616 Ensure `buffer-display-table' is unique when two or more windows are
11617 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
11618 New version 12.1.
11619
11620 2009-12-10 Eli Zaretskii <eliz@gnu.org>
11621
11622 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
11623 characters in the Attribute field.
11624
11625 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
11626
11627 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
11628
11629 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
11630
11631 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
11632 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11633 Disregard autoload-excludes.
11634 (update-directory-autoloads): Obey autoload-excludes here instead.
11635 But don't store its contents in no-autoloads and remove entries that
11636 refer to excludes files.
11637
11638 2009-12-10 Glenn Morris <rgm@gnu.org>
11639
11640 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
11641 (expand-mail-aliases): Define for compiler.
11642
11643 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
11644 Define for compiler.
11645
11646 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
11647 appropriate for the mail-user-agent in use.
11648
11649 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
11650
11651 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
11652
11653 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
11654
11655 Fix short log parsing and fontification.
11656 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
11657 Fix fontification for the [merge] label.
11658
11659 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
11660
11661 Drop some properties to avoid surprises (bug#5002).
11662 * htmlfontify.el (hfy-ignored-properties): New defcustom.
11663 (hfy-fontify-buffer): Use it.
11664
11665 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
11666
11667 Minor cleanup.
11668 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
11669 Adjust all callers.
11670 (ffap-locate-file): Remove unused arg `dir-ok' and make other
11671 args compulsory. Adjust callers.
11672 (ffap-gopher-at-point): Remove unused var `name'.
11673
11674 Get rid of the ELCFILES abomination.
11675 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
11676 (compile-elcfiles): New phony target.
11677 (compile-main): Compute ELCFILES dynamically.
11678 (compile-clean): New target to remove left-over elc files.
11679 (compile, all): Use it.
11680
11681 2009-12-09 Kenichi Handa <handa@etlken>
11682
11683 * international/mule-diag.el: Require help-mode instead of help-fns.
11684
11685 2009-12-09 Kenichi Handa <handa@m17n.org>
11686
11687 * international/mule-cmds.el (ucs-names): Supply sufficiently
11688 fine ranges instead of pre-calculating accurate ranges.
11689 Iterate with bigger gc-cons-threshold.
11690
11691 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
11692
11693 Add support for stashing a snapshot of the current tree.
11694 * vc-git.el (vc-git-stash-snapshot): New function.
11695 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
11696
11697 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
11698
11699 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
11700 instead of `(beginning|end)-of-line'.
11701
11702 2009-12-08 Glenn Morris <rgm@gnu.org>
11703
11704 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
11705
11706 * Makefile.in (ELCFILES): Regenerate.
11707
11708 2009-12-07 Juri Linkov <juri@jurta.org>
11709
11710 Don't lazy-highlight the comint output in history Isearch mode.
11711
11712 * comint.el (comint-history-isearch-search): Instead of
11713 `comint-line-beginning-position', use `comint-after-pmark-p'
11714 to check if point if before the process mark, and go to
11715 `process-mark' in this case.
11716
11717 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
11718
11719 * textmodes/tex-mode.el (latex-complete)
11720 (latex-indent-or-complete): Remove.
11721 (latex-mode): Set completion-at-point-functions instead.
11722
11723 Provide a standard completion command and hook it into TAB.
11724 * minibuffer.el (completion-at-point-functions): New var.
11725 (completion-at-point): New command.
11726 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
11727 * progmodes/python.el (python-mode-map): Use completion-at-point.
11728 (python-completion-at-point): Rename from python-partial-symbol and
11729 adjust for use in completion-at-point-functions.
11730 (python-mode): Setup completion-at-point for Python completion.
11731 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
11732 extracted from lisp-complete-symbol.
11733 (lisp-complete-symbol): Use it.
11734 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
11735 setup completion-at-point for Elisp completion.
11736 (emacs-lisp-mode-map, lisp-interaction-mode-map):
11737 Use completion-at-point.
11738 * ielm.el (ielm-map): Use completion-at-point.
11739 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
11740 * progmodes/sym-comp.el: Move to...
11741 * obsolete/sym-comp.el: Move from progmodes.
11742
11743 2009-12-07 Eli Zaretskii <eliz@gnu.org>
11744
11745 Prevent save-buffer in Rmail buffers from using the coding-system
11746 of the current message, and from clobbering the encoding mnemonics
11747 in the mode line (Bug#4623).
11748
11749 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
11750 flag, too.
11751 (rmail-message-encoding): New variable.
11752 (rmail-write-region-annotate): Record the encoding of the current
11753 message in rmail-message-encoding.
11754 (rmail-after-save-hook): New function, restores the encoding of
11755 the current message after the message collection is saved.
11756
11757 2009-12-07 Juri Linkov <juri@jurta.org>
11758
11759 * progmodes/grep.el (grep-read-files): Use `completing-read'
11760 instead of `read-string'. Set its `collection' arg to
11761 `read-file-name-internal'. (Bug#4301)
11762
11763 2009-12-07 Juri Linkov <juri@jurta.org>
11764
11765 Correctly restore original Isearch point. (Bug#4994)
11766
11767 * isearch.el (isearch-mode): Move `isearch-push-state' after
11768 `(run-hooks 'isearch-mode-hook)'.
11769 (isearch-cancel): When `isearch-push-state-function' is defined,
11770 let-bind `isearch-cmds' to the first state (the last element of
11771 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
11772 function and restores the original point). Otherwise, move point
11773 to `isearch-opoint'.
11774
11775 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
11776
11777 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
11778 chars that don't have names, so the table can be built much faster at
11779 run-time.
11780
11781 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
11782
11783 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
11784 change. Suggested by David Kastrup.
11785
11786 * simple.el (compose-mail): Check for incompatibilities and warn.
11787 (compose-mail-user-agent-warnings): New option.
11788
11789 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
11790
11791 Support showing a single log entry from vc-annotate.
11792 * vc.el (print-log): Add a new argument: START-REVISION.
11793 (vc-print-log-internal): Add a new optional argument and
11794 pass it to the backend.
11795 (vc-print-log, vc-print-root-log): Adjust callers.
11796 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
11797 buffer already displays the requested log entry, use it.
11798 Otherwise display only the log entry in question.
11799 * vc-svn.el (vc-svn-print-log):
11800 * vc-mtn.el (vc-mtn-print-log):
11801 * vc-hg.el (vc-hg-state):
11802 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
11803 (vc-git-show-log-entry): Return t on success.
11804 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
11805 (vc-bzr-show-log-entry): Return t on success.
11806 * vc-rcs.el (vc-rcs-print-log):
11807 * vc-sccs.el (vc-sccs-print-log):
11808 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
11809
11810 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
11811
11812 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
11813 Add menus to the meta mode. (Bug#5043)
11814
11815 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
11816
11817 * ediff-init.el (ediff-event-key): Use event-to-character instead of
11818 event-key.
11819
11820 * ediff.el (ediff-buffers-internal): Add unwind-protect.
11821
11822 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
11823
11824 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
11825 Berbain <raphael.berbain@gmail.com>.
11826
11827 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
11828 characters.
11829 (tramp-initial-end-of-output): New defconst.
11830 (tramp-methods, tramp-find-shell)
11831 (tramp-open-connection-setup-interactive-shell)
11832 (tramp-maybe-open-connection): Use it.
11833 (tramp-shell-prompt-pattern, tramp-wait-for-output):
11834 Handle existence of `#' and `$'.
11835
11836 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
11837 Use `tramp-initial-end-of-output'.
11838
11839 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
11840
11841 Get the background mode from the terminal for xterm, and set
11842 faces accordingly.
11843 * term/xterm.el (xterm-set-background-mode): New function.
11844 (terminal-init-xterm): Use it in case xterm supports background
11845 color queries. Recompute faces after getting the background
11846 color.
11847
11848 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
11849
11850 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
11851 number comment back on its own line, for easier parsing.
11852
11853 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
11854
11855 Make it work for non-file buffers (bug#5102).
11856 * doc-view.el (doc-view-current-cache-dir):
11857 Use doc-view-buffer-file-name rather than buffer-file-name.
11858 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
11859
11860 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
11861
11862 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
11863 author field is too short.
11864
11865 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
11866
11867 * vc-git.el (vc-git-print-log): Handle a limit argument.
11868 Display the short log in graph form and with labels.
11869 (vc-git-log-view-mode): Handle labels.
11870
11871 Make vc-revert change VC state from 'added to 'unregistered.
11872 * vc-git.el (vc-git-revert): Call git reset first.
11873
11874 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
11875
11876 * net/newst-backend.el, net/newst-plainview.el:
11877 * net/newst-reader.el, net/newst-ticker.el:
11878 * net/newst-treeview.el, net/newsticker.el:
11879 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
11880
11881 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
11882
11883 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
11884
11885 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
11886 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
11887 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
11888 Update annotation regexp.
11889
11890 * simple.el (beginning-of-visual-line): Constrain to field
11891 boundaries (Bug#5106).
11892
11893 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
11894
11895 * xml.el (xml-substitute-numeric-entities):
11896 Move newsticker--decode-numeric-entities in newst-backend.el to
11897 xml-substitute-numeric-entities in xml.el. (Bug#5008)
11898 * net/newst-backend.el (newsticker--parse-generic-feed)
11899 (newsticker--parse-generic-items)
11900 (newsticker--decode-numeric-entities):
11901 Move newsticker--decode-numeric-entities in newst-backend.el to
11902 xml-substitute-numeric-entities in xml.el. (Bug#5008)
11903
11904 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
11905
11906 * progmodes/js.el (js--js-not): Add null to the list of values.
11907
11908 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
11909
11910 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
11911
11912 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
11913
11914 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
11915 delimiter if it is at the end of the current line.
11916 (bibtex-generate-url-list): Fix docstring.
11917
11918 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
11919
11920 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
11921 minibuffer's content with itself.
11922 Fold the confirm-after-completion case into the `confirm' case.
11923 (completion-pcm-word-delimiters): Add : and / to the delimiters.
11924
11925 2009-12-06 Kevin Ryde <user42@zip.com.au>
11926
11927 * ffap.el (ffap-rfc-path): Make this a defcustom since
11928 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
11929
11930 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
11931 manuals, similar to existing setup for help-mode. (Bug#3913.)
11932
11933 2009-12-05 Juri Linkov <juri@jurta.org>
11934
11935 Save and restore dired buffer's point positions too. (Bug#4880)
11936
11937 * dired.el (dired-save-positions): Return in the first element
11938 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
11939 Doc fix.
11940 (dired-restore-positions): First restore buffer's position.
11941 While restoring window's positions, check if window still displays
11942 the original buffer.
11943
11944 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
11945
11946 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
11947 if possible.
11948
11949 * shell.el (shell): Require ansi-color (Bug#5113).
11950
11951 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
11952
11953 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
11954
11955 2009-12-05 Alan Mackenzie <acm@muc.de>
11956
11957 * progmodes/cc-mode.el (c-before-hack-hook)
11958 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
11959 `c-file-style' to work again. This reversion restores the current
11960 software to its state in Emacs 23.1. (Bug#4146)
11961
11962 2009-12-05 Kevin Ryde <user42@zip.com.au>
11963
11964 * textmodes/sgml-mode.el (sgml-lexical-context):
11965 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
11966
11967 2009-12-05 Juri Linkov <juri@jurta.org>
11968
11969 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
11970 for virtual nodes. (Bug#4147)
11971 (Info-find-node-2): Set `Info-current-node-virtual' to nil
11972 when moving from a virtual node.
11973 (Info-mode-menu): Add `Info-virtual-index' to the menu.
11974 (Info-mode): Add `Info-virtual-index' to the docstring.
11975
11976 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
11977
11978 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
11979 track of the buffer position of the end of a BibTeX entry as this
11980 position may change during reformatting.
11981 (bibtex-format-entry): Remove whitespace before processing
11982 numerical fields so that we recognize the latter properly.
11983 (bibtex-reformat): Do not use push which changes the global value
11984 of bibtex-entry-format.
11985 (bibtex-field-braces-alist, bibtex-field-strings-alist)
11986 (bibtex-field-re-init): Replace only space characters by regexp
11987 for whitespace.
11988 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
11989 (bibtex-initialize): Also update bibtex-strings.
11990 (bibtex-kill-field): Preserve white space at end of entry.
11991 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
11992 Update bibtex-reference-keys.
11993
11994 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
11995
11996 * minibuffer.el (completion-pcm--merge-try): Also consider placing
11997 point after a star, if that's the only place where modifications can
11998 make progress.
11999
12000 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
12001
12002 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
12003 in docstrings.
12004
12005 2009-12-04 Juri Linkov <juri@jurta.org>
12006
12007 * proced.el (proced): Call `(proced-update t)' to update process
12008 information instead of only running proced-post-display-hook.
12009 (proced-send-signal): Add a leading space to the buffer name
12010 " *Marked Processes*" to make this buffer ephemeral.
12011
12012 2009-12-04 Juri Linkov <juri@jurta.org>
12013
12014 * dired.el (dired-auto-revert-buffer): New defcustom.
12015 (dired-internal-noselect): Use it.
12016
12017 2009-12-04 Juri Linkov <juri@jurta.org>
12018
12019 Change roles of modes and functions in image-mode.el (Bug#5062).
12020
12021 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
12022 in `auto-mode-alist'.
12023 (image-mode-previous-major-mode): New variable.
12024 (image-minor-mode-map): Rename from `image-mode-text-map'.
12025 (image-mode): Move graceful error-handling code from
12026 `image-minor-mode' to here. On errors call `image-mode-as-text'.
12027 (image-minor-mode): Remove all image-handling code.
12028 Replace `image-mode-text-map' with `image-minor-mode-map'.
12029 Check for `image-type' in mode-line format string.
12030 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
12031 (image-mode-as-text): New function with most code from
12032 `image-mode-maybe'.
12033 (image-toggle-display-text): Move code that removes image
12034 properties from `image-toggle-display' to here.
12035 (image-toggle-display-image): New function with code that adds
12036 image properties copied from `image-toggle-display'.
12037 (image-toggle-display): Remove most code with leaving only code
12038 that toggles between `image-mode-as-text' and `image-mode'.
12039
12040 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
12041
12042 * net/newst-treeview.el
12043 (newsticker--treeview-list-highlight-start): Restored call to
12044 save-excursion: Selected item was stuck.
12045 (newsticker--treeview-list-select): New.
12046 (newsticker--treeview-item-show-text)
12047 (newsticker--treeview-item-show)
12048 (newsticker--treeview-item-update): Use new
12049 newsticker-treeview-item-mode.
12050 (newsticker-treeview-update): Keep current item.
12051 (newsticker-treeview-next-new-or-immortal-item): Doc change.
12052 (newsticker--treeview-first-feed): Doc change.
12053 (newsticker-treeview-list-menu)
12054 (newsticker-treeview-item-menu): Add menu entries.
12055 (newsticker-treeview-item-mode): New.
12056
12057 * net/newst-backend.el (newsticker-customize): Delete other
12058 windows.
12059
12060 2009-12-04 Sam Steingold <sds@gnu.org>
12061
12062 * log-view.el (log-view-mode-map): "q" calls quit-window,
12063 like in all the other non-self-insert buffers.
12064
12065 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
12066
12067 Minor cleanup.
12068 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
12069 key decoding rather than do it manually via last-input-event +
12070 ascii-character.
12071 (term-exec): Use delete-and-extract-region.
12072 (term-handle-ansi-terminal-messages): Remove unused var `end'.
12073 (term-process-pager): Remove unused var `i'.
12074 (term-dynamic-simple-complete): Make obsolete.
12075 (serial-update-config-menu): Remove unused vars `y' and `str'.
12076 (term-update-mode-line): Remove unused var `temp'.
12077
12078 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
12079
12080 Limit the number of log entries displayed by default.
12081 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
12082 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
12083 using a prefix argument.
12084
12085 2009-12-03 Glenn Morris <rgm@gnu.org>
12086
12087 * progmodes/idlwave.el (class): Restore still useful declaration.
12088
12089 2009-12-03 Alan Mackenzie <acm@muc.de>
12090
12091 Enhance `c-parse-state' to run efficiently in "brace deserts".
12092
12093 * progmodes/cc-mode.el (c-basic-common-init):
12094 Call c-state-cache-init.
12095 (c-neutralize-syntax-in-and-mark-CPP): Rename from
12096 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
12097 placing `category' properties value 'c-cpp-delimiter at its boundaries.
12098
12099 * progmodes/cc-langs.el (c-before-font-lock-function):
12100 c-extend-and-neutralize-syntax-in-CPP has been renamed
12101 c-neutralize-syntax-in-and-mark-CPP.
12102
12103 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
12104 with `category' properties now, not `syntax-table' ones.
12105
12106 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
12107 enhanced (but slower) version of c-end-of-macro that won't land
12108 inside a literal or on another awkward character.
12109 (c-state-cache-too-far, c-state-cache-start)
12110 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
12111 (c-state-nonlit-pos-cache-limit, c-state-point-min)
12112 (c-state-point-min-lit-type, c-state-point-min-lit-start)
12113 (c-state-min-scan-pos, c-state-brace-pair-desert)
12114 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
12115 buffer local variables.
12116 (c-state-literal-at, c-state-lit-beg)
12117 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
12118 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
12119 (c-state-cache-top-paren, c-state-cache-after-top-paren)
12120 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
12121 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
12122 (c-renarrow-state-cache)
12123 (c-append-lower-brace-pair-to-state-cache)
12124 (c-state-push-any-brace-pair, c-append-to-state-cache)
12125 (c-remove-stale-state-cache)
12126 (c-remove-stale-state-cache-backwards, c-state-cache-init)
12127 (c-invalidate-state-cache-1, c-parse-state-1)
12128 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
12129 (c-parse-state): Enhance and refactor.
12130 (c-debug-parse-state): Amend to deal with all the new variables.
12131
12132 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
12133 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
12134 modify to use category text properties rather than syntax-table ones.
12135 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
12136 to switch off/on the syntactic paren property of C++ template
12137 delimiters using the category property.
12138 (c-with-<->-as-parens-suppressed): Macro to invoke code with
12139 template delims suppressed.
12140 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
12141 New constant/macros which apply category properties to the start
12142 and end of preprocessor constructs.
12143 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
12144 "comment out" the syntactic value of characters in preprocessor
12145 constructs.
12146 (c-with-cpps-commented-out)
12147 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
12148 with characters in all or all but one preprocessor constructs
12149 "commented out".
12150
12151 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
12152
12153 * proced.el (proced-filter-alist): Use regexp-quote.
12154
12155 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
12156
12157 Cleanup.
12158 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
12159 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
12160 arguments. Expand `default-directory'.
12161
12162 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
12163 the benefit of returning an expanded localname.
12164 (tramp-tramp-file-p): Handle the case NAME is not a string.
12165
12166 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
12167
12168 Add support for bzr shelve/unshelve.
12169 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
12170 (vc-bzr-extra-menu-map): New variables.
12171 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
12172 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
12173 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
12174 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
12175 (vc-bzr-dir-extra-headers): Display shelves.
12176
12177 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
12178
12179 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
12180
12181 * textmodes/bibtex.el (bibtex-complete-internal):
12182 Use completion-in-region.
12183 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
12184
12185 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
12186
12187 Support applying stashes. Improve UI.
12188 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
12189 (vc-git-stash-apply, vc-git-stash-pop)
12190 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
12191 (vc-git-stash-menu): New functions.
12192 (vc-git-stash-menu-map): New variable.
12193 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
12194
12195 2009-12-03 Glenn Morris <rgm@gnu.org>
12196
12197 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
12198 (vc-print-log-internal): Fix previous change.
12199 (vc-revert): Correct pluralization.
12200
12201 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
12202
12203 * progmodes/make-mode.el (makefile-special-targets-list): No need for
12204 it to be an alist any more.
12205 (makefile-complete): Use completion-in-region.
12206
12207 * progmodes/octave-mod.el (octave-complete-symbol):
12208 Use completion-in-region.
12209
12210 Misc cleanup.
12211 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
12212 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
12213 (idlwave-complete-class): Don't quote lambda.
12214 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
12215 (idlwave-mode-map): Move initialization into declaration.
12216 (idlwave-action-and-binding): Use backquotes.
12217 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
12218 Simplify.
12219 (idlwave-is-pointer-dereference): Remove unused var `pos'.
12220 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
12221 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
12222 `parts', and `all-parts'.
12223 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
12224 (idlwave-convert-xml-system-routine-info): Remove unused string
12225 `version-string'.
12226 (idlwave-display-user-catalog-widget): Use dolist.
12227 (idlwave-scanning-lib): Declare dynamically-scoped var.
12228 (idlwave-scan-library-catalogs): Remove unused var `flags'.
12229 (completion-highlight-first-word-only): Declare to silence bytecomp.
12230 (idlwave-popup-select): Tighten scope of `resp'.
12231 (idlwave-find-struct-tag): Remove unused var `beg'.
12232 (idlwave-after-load-rinfo-hook): Declare.
12233 (idlwave-sintern-class-info): Remove unused var `taglist'.
12234 (idlwave-find-class-definition): Remove unused var `list'.
12235 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
12236 (idlwave-what-module-find-class): Remove unused var `classes'.
12237
12238 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
12239
12240 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
12241
12242 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
12243
12244 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
12245 buffers visited. Remove redundant current-buffer-saving.
12246
12247 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
12248
12249 Use completion-in-buffer and remove uses of dynamic scoping.
12250 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
12251 (pascal-buffer-to-use, pascal-flag): Don't declare.
12252 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
12253 (pascal-get-completion-decl, pascal-keyword-completion):
12254 Add `pascal-str' argument, save-excursion,
12255 return the found completions, and don't filter with pascal-pred.
12256 (pascal-completion-cache): New var.
12257 (pascal-completion): Don't switch buffer any more (it was never
12258 necessary). Don't save-excursion any more (it's done by the called
12259 subroutines). Use a cache to avoid redundant computations.
12260 Use complete-with-action rather than pascal-completion-response and
12261 let it apply the predicate as well.
12262 (pascal-complete-word): Use completion-in-buffer when
12263 pascal-toggle-completions is nil.
12264 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
12265 not used any more.
12266 (pascal-comp-defun): Don't change buffer any more.
12267 Use complete-with-action rather than pascal-completion-response and
12268 let it apply the predicate as well.
12269 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
12270 when neded.
12271
12272 2009-12-02 Kenichi Handa <handa@m17n.org>
12273
12274 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
12275 shape for all Indic scripts.
12276
12277 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
12278
12279 Use completion-in-buffer.
12280 * wid-edit.el (widget-field-text-end): New function.
12281 (widget-field-value-get): Use it.
12282 (widget-string-complete, widget-file-complete)
12283 (widget-color-complete): Use it and completion-in-region.
12284 (widget-complete): Don't narrow the buffer.
12285
12286 2009-12-02 Glenn Morris <rgm@gnu.org>
12287
12288 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
12289 (rmail-select-summary): Use rmail-pop-to-buffer.
12290 * mail/rmailsum.el: Replace all pop-to-buffer calls with
12291 rmail-pop-to-buffer, to prevent horizontal splits.
12292
12293 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
12294 save-excursion with save-current-buffer.
12295 Widen before searching. (Bug#5093)
12296 (diary-list-sexp-entries): Remove superfluous save-excursion.
12297
12298 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
12299
12300 * woman.el (woman-make-bufname): Handle man-pages with "." in the
12301 name. (Bug#5038)
12302
12303 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
12304
12305 * ido.el (ido-file-internal): Handle filenames at point that do
12306 not have a directory part. (Bug#5049)
12307
12308 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
12309
12310 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
12311 (mpc-songs-jump-to, mpc-resume): Doc fixes.
12312
12313 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
12314
12315 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
12316 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
12317 any more.
12318
12319 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
12320
12321 * comint.el (comint-insert-input): Ignore clicks to the right of
12322 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
12323
12324 * vc.el (vc-print-log-internal): Don't wait for the process to
12325 terminate before setting up the major mode.
12326
12327 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
12328 in case.
12329
12330 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
12331 the last element.
12332
12333 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
12334
12335 2009-12-01 Glenn Morris <rgm@gnu.org>
12336
12337 * window.el (window--display-buffer-2): Fix previous changes.
12338
12339 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
12340
12341 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
12342
12343 2009-12-01 Glenn Morris <rgm@gnu.org>
12344
12345 * Makefile.in (ELCFILES): Add mpc.elc.
12346
12347 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
12348
12349 * mpc.el: New file.
12350
12351 2009-12-01 Glenn Morris <rgm@gnu.org>
12352
12353 * window.el (window-to-use): Define for compiler.
12354
12355 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
12356 consistent with others (no final period).
12357
12358 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
12359 (rmail-mime-show): Downcase the encoding. (Bug#5070)
12360
12361 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
12362
12363 Make vc-print-log buttons work.
12364 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
12365
12366 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
12367
12368 * savehist.el (savehist-autosave-interval): Allow setting to nil
12369 through customize. (Bug#5056)
12370
12371 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
12372
12373 Fix references to jit-lock properties.
12374 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
12375 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
12376 (perl-font-lock-special-syntactic-constructs):
12377 Quote jit-lock-defer-multiline property.
12378
12379 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
12380
12381 * vc-git.el (vc-git-registered): Call vc-git-root only once.
12382
12383 2009-11-30 Juri Linkov <juri@jurta.org>
12384
12385 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
12386 value `buffer' of `multi-isearch-next-buffer-current-function'.
12387 Use `(current-buffer)' when `buffer' is nil.
12388 (multi-isearch-next-buffer-from-list): Don't fallback to
12389 `(current-buffer)' when `buffer' is nil. (Bug#4947)
12390
12391 2009-11-30 Juri Linkov <juri@jurta.org>
12392
12393 * misearch.el (multi-isearch-read-buffers): Move canonicalization
12394 of buffers with `get-buffer' to `multi-isearch-buffers'.
12395 (multi-isearch-buffers, multi-isearch-buffers-regexp):
12396 Canonicalize BUFFERS with `get-buffer'. Doc fix.
12397 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
12398 FILES with `expand-file-name' converting relative file names
12399 to absolute. Doc fix. (Bug#4727)
12400
12401 2009-11-30 Juri Linkov <juri@jurta.org>
12402
12403 * misearch.el (multi-isearch-read-buffers)
12404 (multi-isearch-read-matching-buffers): New functions.
12405 (multi-isearch-buffers, multi-isearch-buffers-regexp):
12406 Use them in the `interactive' spec. Doc fix.
12407 (multi-isearch-read-files, multi-isearch-read-matching-files):
12408 New functions.
12409 (multi-isearch-files, multi-isearch-files-regexp):
12410 Use them in the `interactive' spec. Doc fix. (Bug#4725)
12411
12412 2009-11-30 Juri Linkov <juri@jurta.org>
12413
12414 * doc-view.el (doc-view-continuous):
12415 Rename from `doc-view-continuous-mode'.
12416 (doc-view-menu): Move "Toggle display" to the top.
12417 Add submenu "Continuous" with radio buttons "Off"/"On"
12418 and "Save as Default".
12419 (doc-view-scroll-up-or-next-page)
12420 (doc-view-scroll-down-or-previous-page)
12421 (doc-view-next-line-or-next-page)
12422 (doc-view-previous-line-or-previous-page):
12423 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
12424
12425 2009-11-30 Juri Linkov <juri@jurta.org>
12426
12427 * comint.el (comint-mode-map): Rebind `M-r' from
12428 `comint-previous-matching-input' to
12429 `comint-history-isearch-backward-regexp'.
12430 Unbind `M-s' to allow global key binding `M-s'.
12431 Add menu items for `comint-history-isearch-backward' and
12432 `comint-history-isearch-backward-regexp'. (Bug#3746)
12433
12434 2009-11-30 Juri Linkov <juri@jurta.org>
12435
12436 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
12437 For def=recenter, replace `recenter' with `recenter-top-bottom'
12438 that is called with `this-command' and `last-command' let-bound
12439 to `recenter-top-bottom'. When the last `def' was not `recenter',
12440 set `recenter-last-op' to nil. (Bug#4981)
12441
12442 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
12443
12444 Minor cleanup and simplification.
12445 * filecache.el (file-cache-add-directory)
12446 (file-cache-add-directory-recursively)
12447 (file-cache-add-from-file-cache-buffer)
12448 (file-cache-delete-file-regexp, file-cache-delete-directory)
12449 (file-cache-files-matching-internal, file-cache-display): Use dolist.
12450 (file-cache-temp-minibuffer-message): Delete function.
12451 (file-cache-minibuffer-complete): Use minibuffer-message instead.
12452
12453 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
12454 Don't signal an error when bumping into EOB in tr, s, or y.
12455
12456 2009-11-29 Juri Linkov <juri@jurta.org>
12457
12458 * startup.el (fancy-about-text): Fix wording of Guided Tour.
12459 (Bug#4960)
12460
12461 * descr-text.el (describe-char-unidata-list): Use lowercase name
12462 for "Unicode name" like in other tags.
12463
12464 2009-11-29 Juri Linkov <juri@jurta.org>
12465
12466 * ediff-util.el (ediff-minibuffer-with-setup-hook):
12467 New compatibility macro.
12468 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
12469
12470 2009-11-29 Juri Linkov <juri@jurta.org>
12471
12472 Add defcustom to define the cycling order of `recenter-top-bottom'.
12473 (Bug#4981)
12474
12475 * window.el (recenter-last-op): Doc fix.
12476 (recenter-positions): New defcustom.
12477 (recenter-top-bottom): Rewrite to use `recenter-positions'.
12478 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
12479
12480 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
12481
12482 Improve integration of Tramp and ange-ftp in eshell.
12483
12484 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
12485 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
12486 (eshell/sudo): Flatten args. Let-bind `default-directory'.
12487
12488 * eshell/esh-util.el (top): Require also Tramp when compiling.
12489 (eshell-directory-files-and-attributes): Check for FTP remote
12490 connection.
12491 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
12492 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
12493 (eshell-file-attributes): Handle ".". Return `entry'.
12494
12495 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
12496 (ange-ftp-directory-files-and-attributes)
12497 (ange-ftp-real-directory-files-and-attributes): New defuns.
12498
12499 * net/tramp.el (tramp-maybe-open-connection): Open the remote
12500 shell with "exec" when possible. This prevents trailing prompts
12501 in `start-file-process'.
12502
12503 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
12504
12505 Try and remove assumptions about point-min==1.
12506 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
12507 (rng-compute-mode-line-string): Show the validation percentage in
12508 terms of the narrowed text, not the widened text.
12509 (rng-do-some-validation): Don't catch internal errors when debugging.
12510 (rng-first-error): Simplify.
12511 (rng-after-change-function): Remove work around. AFAIK the bug has
12512 been fixed a while ago.
12513
12514 * image-mode.el (image-minor-mode): Exit more gracefully when the image
12515 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
12516
12517 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
12518
12519 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
12520 `cd' doesn't always do it for us (bug#5067).
12521
12522 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
12523 on 2009-10-25 as part of some other change (bug#5067).
12524
12525 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
12526
12527 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
12528 `suspicious'.
12529 (byte-compile-warnings): Use byte-compile-warning-types.
12530 (byte-compile-save-excursion): Warn about use of set-buffer right
12531 after save-excursion.
12532
12533 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
12534 the excursion as well.
12535
12536 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
12537
12538 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
12539 providing a Tramp related implementation of "su" and "sudo".
12540 (eshell-unix-initialize): Add "su" and "sudo".
12541
12542 2009-11-27 Daiki Ueno <ueno@unixuser.org>
12543
12544 * net/socks.el (socks-send-command): Convert binary request to
12545 unibyte before sending. This fixes mishandling of some port
12546 numbers such as 129.
12547
12548 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
12549
12550 * help.el (describe-bindings-internal): Remove `interactive'.
12551
12552 * man.el (Man-completion-table): Trim a terminating "(".
12553 Remove the space between name page a section.
12554 Add the command's description on the `help-echo' property.
12555 Remove `process-connection-type' binding since it's unused by
12556 call-process.
12557 Provide completion for the "<section> <name>" format as well.
12558 (Man-default-man-entry): Remove spurious var shadowing the argument.
12559
12560 2009-11-26 Kevin Ryde <user42@zip.com.au>
12561
12562 * log-view.el: Add "Keywords: tools", since its other keywords
12563 aren't in finder-known-keywords, and following vc.el.
12564
12565 * sha1.el (sha1-string-external): default-directory "/" in case
12566 otherwise non-existent. process-connection-type pipe for touch of
12567 efficiency recommended by elisp manual. (An aside in Bug#3911.)
12568
12569 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
12570
12571 Misc coding convention cleanups.
12572 * htmlfontify.el (hfy-init-kludge-hook): Rename from
12573 hfy-init-kludge-hooks.
12574 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
12575 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
12576 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
12577 and push.
12578 (hfy-slant, hfy-weight): Use tables rather than code.
12579 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
12580 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
12581 (hfy-face-attr-for-class): Initialize `face-spec' directly.
12582 (hfy-face-to-css): Remove `nconc' with single arg.
12583 (hfy-p-to-face-lennart): Use `or'.
12584 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
12585 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
12586 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
12587 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
12588 (hfy-force-fontification): Use run-hooks.
12589
12590 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
12591
12592 Various minor fixes.
12593 * htmlfontify.el (hfy-default-header): Add toggle_invis since
12594 Javascript belongs in the header, not the body.
12595 (hfy-javascript): Remove.
12596 (hfy-fontify-buffer): Don't insert it any more.
12597 (hfy-face-at): Handle (face0 face1 face2) style face properties.
12598 Fix bug in invis handling when there were no invis props in a chunk.
12599
12600 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
12601
12602 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
12603
12604 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
12605
12606 * finder.el (finder-mode-map): Add a menu.
12607
12608 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
12609
12610 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
12611 "unsigned" structs.
12612
12613 (verilog-leap-to-head, verilog-backward-token): Handle "disable
12614 fork" statement better.
12615
12616 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
12617
12618 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
12619 (verilog-delete-auto, verilog-delete-empty-auto-pair)
12620 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
12621 Reported by Clay Douglass.
12622
12623 (verilog-auto-inst, verilog-auto-star-safe)
12624 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
12625 Fix removing "// Interfaces" when saving .* expansions.
12626 Reported by Pierre-David Pfister.
12627
12628 2009-11-26 Glenn Morris <rgm@gnu.org>
12629
12630 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
12631 the scope.
12632
12633 2009-11-25 Johan Bockgård <bojohan@gnu.org>
12634
12635 * vc-annotate.el (vc-annotate-revision-previous-to-line):
12636 Really use previous revision.
12637
12638 2009-11-25 Kevin Ryde <user42@zip.com.au>
12639
12640 * man.el (Man-completion-table): default-directory "/" in case
12641 doesn't otherwise exist. process-environment COLUMNS=999 so as
12642 not to truncate long names. process-connection-type pipe to avoid
12643 any chance of hitting the pseudo-tty TIOCGWINSZ.
12644 (man): completion-ignore-case t for friendliness and since man
12645 itself is case-insensitive on the command line.
12646 Further to Bug#3717.
12647
12648 * arc-mode.el: Add "Keywords: files", so the details in its
12649 commentary can be reached from finder-by-keyword.
12650 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
12651 editing mode, but it's comms related and sgml-mode.el has "comm"
12652 on that basis too.
12653 * textmodes/bibtex-style.el: Add "Keywords: tex".
12654 * international/isearch-x.el, international/ja-dic-cnv.el:
12655 * international/ja-dic-utl.el, international/kkc.el:
12656 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
12657
12658 2009-11-25 Juri Linkov <juri@jurta.org>
12659
12660 * man.el (Man-completion-table): Modify regexp to include
12661 section names to completion strings. (Bug#3717)
12662
12663 2009-11-25 Juri Linkov <juri@jurta.org>
12664
12665 Search recursively in gzipped files. (Bug#4982)
12666
12667 * progmodes/grep.el (grep-highlight-matches): Add new options
12668 `always' and `auto'. Doc fix.
12669 (grep-process-setup): Check `grep-highlight-matches' for
12670 `auto-detect' to determine the need to compute grep defaults.
12671 Move Windows/DOS specific --colors settings handling
12672 to `grep-compute-defaults'. Check `grep-highlight-matches'
12673 to get the value of "--color=".
12674 (grep-compute-defaults): Compute `grep-highlight-matches' when it
12675 has the value `auto-detect'. Move Windows/DOS specific settings
12676 from `grep-process-setup'.
12677 (zrgrep): New command with alias `rzgrep'.
12678
12679 2009-11-25 Juri Linkov <juri@jurta.org>
12680
12681 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
12682 to nil instead of switching off view-mode. (Bug#4896)
12683
12684 2009-11-25 Juri Linkov <juri@jurta.org>
12685
12686 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
12687
12688 * mwheel.el (mwheel-scroll-up-function)
12689 (mwheel-scroll-down-function): New defvars.
12690 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
12691 `scroll-up', and `mwheel-scroll-down-function' instead of
12692 `scroll-down'.
12693
12694 * doc-view.el (doc-view-scroll-up-or-next-page)
12695 (doc-view-scroll-down-or-previous-page): Add optional ARG.
12696 Use this ARG in the call to image-scroll-up/image-scroll-down.
12697 Change `interactive' spec to "P". Goto next/previous page only
12698 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
12699 SPC/DEL case). Doc fix.
12700 (doc-view-next-line-or-next-page)
12701 (doc-view-previous-line-or-previous-page): Rename arg to ARG
12702 for consistency.
12703 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
12704 `doc-view-scroll-up-or-next-page', and buffer-local
12705 `mwheel-scroll-down-function' to
12706 `doc-view-scroll-down-or-previous-page'.
12707
12708 2009-11-25 Juri Linkov <juri@jurta.org>
12709
12710 Provide additional default values (directories at other Dired
12711 windows) via M-n in the minibuffer of some Dired commands.
12712
12713 * dired-aux.el (dired-diff, dired-compare-directories)
12714 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
12715 `minibuffer-default' in `minibuffer-with-setup-hook'.
12716 (dired-dwim-target-directory): Find a window that displays Dired
12717 buffer instead of failing when the next window is not Dired.
12718 Use `get-window-with-predicate' to find for the next Dired window.
12719 (dired-dwim-target-defaults): New function.
12720
12721 * ediff-util.el (ediff-read-file-name):
12722 Use `dired-dwim-target-defaults' to set `minibuffer-default'
12723 in `minibuffer-with-setup-hook'.
12724
12725 2009-11-25 Juri Linkov <juri@jurta.org>
12726
12727 Provide additional default values (file name at point or at the
12728 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
12729
12730 * minibuffer.el (read-file-name-defaults): New function.
12731 (read-file-name): Reset `minibuffer-default' to nil when
12732 it duplicates initial input `insdef'.
12733 Bind `minibuffer-default-add-function' to lambda that
12734 calls `read-file-name-defaults' in `minibuffer-selected-window'.
12735 (minibuffer-insert-file-name-at-point): New command.
12736
12737 * files.el (file-name-at-point-functions): New defcustom.
12738 (find-file-default): Remove defvar.
12739 (find-file-read-args): Don't use `find-file-default'.
12740 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
12741 to `read-file-name'.
12742 (find-file-literally): Use `read-file-name' with
12743 `confirm-nonexistent-file-or-buffer'.
12744
12745 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
12746
12747 * dired.el (dired-read-dir-and-switches):
12748 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
12749 to `read-file-name'.
12750 (dired-file-name-at-point): New function.
12751 (dired-mode): Add hook `dired-file-name-at-point' to
12752 `file-name-at-point-functions'.
12753
12754 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
12755
12756 Really make the *Completions* window soft-dedicated (bug#5030).
12757 * window.el (window--display-buffer-2): Add `dedicated' argument.
12758 (display-buffer): Pass it when needed so the dedicated flag is set
12759 after calling set-window-buffer, which would otherwise reset it.
12760
12761 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
12762
12763 * progmodes/meta-mode.el (meta-complete-symbol):
12764 * progmodes/etags.el (complete-tag):
12765 * mail/mailabbrev.el (mail-abbrev-complete-alias):
12766 Use completion-in-region.
12767
12768 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
12769 (dabbrev-completion): Use completion-in-region.
12770 (dabbrev--abbrev-at-point): Simplify regexp.
12771
12772 * abbrev.el (abbrev--before-point): Use word-motion functions
12773 if :regexp is not specified (bug#5031).
12774
12775 * subr.el (string-prefix-p): New function.
12776
12777 * man.el (Man-completion-cache): New var.
12778 (Man-completion-table): Use it.
12779
12780 * vc.el (vc-print-log-internal): Make `limit' optional for better
12781 compatibility (e.g. with vc-annotate.el).
12782
12783 2009-11-24 Kevin Ryde <user42@zip.com.au>
12784
12785 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
12786 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
12787
12788 * emacs-lisp/elint.el (elint-add-required-env): Better error message
12789 when .el source file not found or other error.
12790
12791 2009-11-24 Markus Triska <markus.triska@gmx.at>
12792
12793 * linum.el (linum-update-window): Ignore intangible (bug#4996).
12794
12795 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
12796
12797 Handle the [back] button properly (bug#4979).
12798 * descr-text.el (describe-text-properties): Add a `buffer' argument.
12799 Use help-setup-xref, help-buffer, and with-help-window.
12800 (describe-char): Add `buffer' argument.
12801 Pass proper command to help-setup-xref. Don't meddle with
12802 help-xref-stack-item directly.
12803 (describe-text-category): Use with-help-window and help-buffer.
12804
12805 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
12806 for the displayed buffer (bug#4887).
12807
12808 * man.el (Man-completion-table): New function.
12809 (man): Use it.
12810
12811 2009-11-24 David Reitter <david.reitter@gmail.com>
12812
12813 * vc-git.el (vc-git-registered): Use checkout directory (where
12814 .git is) rather than the file's directory and a relative path spec
12815 to work around a bug in git.
12816
12817 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
12818
12819 Improve handling of processes on remote hosts.
12820
12821 * eshell/esh-util.el (eshell-path-env): New defvar.
12822 (eshell-parse-colon-path): New defun.
12823 (eshell-file-attributes): Use `eshell-parse-colon-path'.
12824
12825 * eshell/esh-ext.el (eshell-search-path):
12826 Use `eshell-parse-colon-path'.
12827 (eshell-remote-command): Remove argument HANDLER.
12828 (eshell-external-command): Check for FTP remote connection.
12829
12830 * eshell/esh-proc.el (eshell-gather-process-output):
12831 Use `file-truename', in order to start also symlinked files.
12832 Apply `start-file-process' instead of `start-process'.
12833 Shorten `command' to the local file name part.
12834
12835 * eshell/em-cmpl.el (eshell-complete-commands-list):
12836 Use `eshell-parse-colon-path'.
12837
12838 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
12839
12840 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
12841 to `eshell-directory-change-hook'.
12842
12843 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
12844
12845 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
12846 because it could be enabled automatically if view-read-only is non-nil.
12847
12848 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
12849
12850 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
12851 made on 2009-11-22.
12852
12853 2009-11-24 Glenn Morris <rgm@gnu.org>
12854
12855 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
12856 deleted variable bookmark-bmenu-bookmark-column.
12857
12858 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
12859
12860 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
12861
12862 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
12863
12864 * net/browse-url.el (browse-url-filename-alist): On Windows, add
12865 two slashes to the "file:" prefix.
12866 (browse-url-file-url): De-munge Cygwin filenames before passing
12867 them to Windows browser.
12868 (browse-url-default-windows-browser): Use call-process.
12869
12870 2009-11-23 Juri Linkov <juri@jurta.org>
12871
12872 Implement DocView Continuous mode. (Bug#4896)
12873 * doc-view.el (doc-view-continuous-mode): New defcustom.
12874 (doc-view-mode-map): Bind C-n/<down> to
12875 `doc-view-next-line-or-next-page', C-p/<up> to
12876 `doc-view-previous-line-or-previous-page'.
12877 (doc-view-next-line-or-next-page)
12878 (doc-view-previous-line-or-previous-page): New commands.
12879
12880 2009-11-23 Juri Linkov <juri@jurta.org>
12881
12882 Implement Isearch in comint input history. (Bug#3746)
12883 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
12884 `isearch-mode-hook'.
12885 (comint-history-isearch): New defcustom.
12886 (comint-history-isearch-backward)
12887 (comint-history-isearch-backward-regexp): New commands.
12888 (comint-history-isearch-message-overlay): New buffer-local variable.
12889 (comint-history-isearch-setup, comint-history-isearch-end)
12890 (comint-goto-input, comint-history-isearch-search)
12891 (comint-history-isearch-message, comint-history-isearch-wrap)
12892 (comint-history-isearch-push-state)
12893 (comint-history-isearch-pop-state): New functions.
12894
12895 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
12896
12897 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
12898 return.
12899 (tramp-handle-make-symbolic-link)
12900 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
12901 Quote file names.
12902 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
12903 (tramp-handle-process-file): Use it.
12904
12905 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
12906
12907 * window.el (move-to-window-line-last-op): Remove.
12908 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
12909
12910 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
12911
12912 Make M-r mirror the new cycling behavior of C-l.
12913 * window.el (move-to-window-line-last-op): New var.
12914 (move-to-window-line-top-bottom): New command.
12915 (global-map): Bind M-r move-to-window-line-top-bottom.
12916
12917 2009-11-23 Sven Joachim <svenjoac@gmx.de>
12918
12919 * dired-x.el (dired-guess-shell-alist-default):
12920 Support xz format. (Bug#4953)
12921
12922 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
12923
12924 * emulation/viper-cmd.el: Use viper-last-command-char instead of
12925 last-command-char/last-command-event.
12926 (viper-prefix-arg-value): Do correct conversion of event-char for
12927 XEmacs.
12928
12929 * emulation/viper-util.el, emulation/viper.el:
12930 Use viper-last-command-char instead of
12931 last-command-char/last-command-event.
12932
12933 * ediff-init.el, ediff-mult.el, ediff-util.el:
12934 Replace last-command-char and last-command-event
12935 with (ediff-last-command-char) everywhere.
12936
12937 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
12938 created in fundamental mode.
12939
12940 * ediff.el (ediff-version): Revert the change of interactive-p to
12941 called-interactively-p.
12942
12943 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
12944
12945 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
12946 generation from word-movement command names.
12947
12948 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
12949
12950 * cus-start.el (all): Add native condition for font-use-system-font.
12951
12952 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
12953
12954 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
12955 Correct the patch from 2009-11-18. (Bug#3910)
12956
12957 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
12958
12959 * progmodes/subword.el: Rename from lisp/subword.el.
12960
12961 * subword.el: Rename to progmodes/subword.el.
12962
12963 * Makefile.in (ELCFILES): Adapt to subword.el move.
12964
12965 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12966 Stefan Monnier <monnier@iro.umontreal.ca>
12967
12968 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
12969 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
12970 (bookmark-bmenu-show-filenames): Use push.
12971 (bookmark-bmenu-hide-filenames): Use local var instead of
12972 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
12973 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
12974 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
12975 filenames now that the bookmark names are always available.
12976
12977 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
12978
12979 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
12980 (bookmark-search-pattern): Move and leave unbound.
12981 (bookmark-bmenu-mode-map): Change binding.
12982 (bookmark-read-search-input): Simplify.
12983 Don't use text-char-description. Don't error on non-char events.
12984 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
12985 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
12986 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
12987 Use a local var for the timer.
12988 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
12989 (i.e. bookmark-bmenu-search).
12990
12991 2009-11-21 Glenn Morris <rgm@gnu.org>
12992
12993 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
12994
12995 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
12996
12997 * net/browse-url.el (browse-url-default-windows-browser):
12998 Use cygstart for cygwin.
12999
13000 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
13001
13002 * bookmark.el: Formatting and doc fixes only:
13003 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
13004 (bookmark-bmenu-search): Wrap to fit within 80 columns.
13005 Minor grammar and punctuation fixes in doc string.
13006 (bookmark-read-search-input): Adjust to fit within 80 columns.
13007
13008 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
13009
13010 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
13011 (c-backward-into-nomenclature): Adapt to subword renaming.
13012
13013 * subword.el (subword-forward, subword-backward, subword-mark)
13014 (subword-kill, subword-backward-kill, subword-transpose)
13015 (subword-downcase, subword-upcase, subword-capitalize)
13016 (subword-forward-internal, subword-backward-internal):
13017 Rename from forward-subword, backward-subword, mark-subword,
13018 kill-subword, backward-kill-subword, transpose-subwords,
13019 downcase-subword, upcase-subword, capitalize-subword,
13020 forward-subword-internal, backward-subword-internal.
13021
13022 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13023
13024 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
13025 New options.
13026 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
13027 New vars.
13028 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
13029 (bookmark-bmenu-filter-alist-by-regexp)
13030 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
13031 (bookmark-bmenu-search): New command.
13032 (bookmark-bmenu-mode-map): Bind it.
13033
13034 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
13035
13036 * progmodes/cc-cmds.el: declare-functioned forward-subword and
13037 backward-subword to quit the byte-compiler.
13038
13039 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
13040
13041 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
13042
13043 * progmodes/cc-cmds.el (c-update-modeline)
13044 (c-forward-into-nomenclature, c-backward-into-nomenclature):
13045 Refer to subword.el functions instead of cc-subword.el.
13046
13047 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
13048 subword.el functions instead of cc-subword.el.
13049
13050 * progmodes/cc-subword.el: Rename to subword.el.
13051 * subword.el: Rename from progmodes/cc-subword.el.
13052 (subword-mode-map): Rename from c-subword-mode-map.
13053 (subword-mode): Rename from c-subword-mode.
13054 (global-subword-mode): New global minor mode.
13055 (forward-subword): Rename from c-forward-subword.
13056 (backward-subword): Rename from c-backward-subword.
13057 (mark-subword): Rename from c-mark-subword.
13058 (kill-subword): Rename from c-kill-subword.
13059 (backward-kill-subword): Rename from c-backward-kill-subword.
13060 (transpose-subwords): Rename from c-tranpose-subword.
13061 (downcase-subword): Rename from c-downcase-subword.
13062 (capitalize-subword): Rename from c-capitalize-subword.
13063 (forward-subword-internal): Rename from c-forward-subword-internal.
13064 (backward-subword-internal): Rename from c-backward-subword-internal.
13065
13066 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
13067
13068 * vc.el (vc-deduce-fileset): Allow non-state changing operations
13069 from a dired buffer.
13070 (vc-dired-deduce-fileset): New function.
13071 (vc-root-diff, vc-print-root-log): Use it.
13072
13073 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
13074 nil LIMIT argument to vc-print-log-internal.
13075
13076 2009-11-20 Glenn Morris <rgm@gnu.org>
13077
13078 * Makefile.in (ELCFILES): Regenerate.
13079
13080 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
13081
13082 * calc/calc.el (calc-set-mode-line):
13083 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
13084 (math-format-number): Rename `math-format-complement-signed' to
13085 `math-format-twos-complement'.
13086
13087 * calc/calc-bin.el (math-format-twos-complement): Rename from
13088 math-format-complement-signed.
13089 (calc-radix): Rename `calc-complement-signed-mode' to
13090 `calc-twos-complement-mode'.
13091 (calc-octal-radix, calc-hex-radix): Add an argument for
13092 two's complement.
13093
13094 * calc/calc-embed.el (calc-embedded-mode-vars):
13095 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
13096
13097 * calc/calc-ext.el (calc-init-extensions):
13098 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
13099 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
13100
13101 * calc/calc-units.el (math-build-units-table-buffer):
13102 Let `calc-twos-complement-mode' be nil.
13103
13104 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
13105 entries.
13106
13107 * calc/calc-vec.el (calcFunc-vunpack):
13108 * calc/calc-aent.el (calc-do-calc-eval):
13109 * calc/calc-forms.el (math-format-date):
13110 * calc/calc-graph.el (calc-graph-plot):
13111 * calc/calc-math.el (math-use-emacs-fn):
13112 * calc/calccomp.el (math-compose-expr):
13113 Let `calc-twos-complement-mode' be nil.
13114
13115 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
13116
13117 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
13118 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
13119 * minibuffer.el (completion-in-region-functions): New hook.
13120 (completion-in-region): New function.
13121 * emacs-lisp/lisp.el (lisp-complete-symbol):
13122 * pcomplete.el (pcomplete-std-complete): Use it.
13123
13124 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
13125
13126 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
13127 (latex-complete-alist): New vars.
13128 (latex-string-prefix-p, latex-complete-bibtex-keys)
13129 (latex-complete-envnames, latex-complete-refkeys)
13130 (latex-complete-data): New functions.
13131 (latex-complete, latex-indent-or-complete): New commands.
13132
13133 * window.el (display-buffer-mark-dedicated): New var.
13134 (display-buffer): Obey it.
13135 * minibuffer.el (minibuffer-completion-help): Use it.
13136
13137 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
13138
13139 * filecache.el (file-cache-add-file): Use push and cons.
13140 (file-cache-delete-file-regexp): Use push.
13141 (file-cache-complete): Use completion-in-region.
13142
13143 * simple.el (with-wrapper-hook): Fix thinko.
13144
13145 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
13146 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
13147 Use with-current-buffer and string-to-number.
13148 (hfy-fallback-colour-values): Use assoc-string.
13149 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
13150 (hfy-face-at): Remove unused var `found-face'.
13151 (hfy-compile-stylesheet): Remove unused var `css'.
13152 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
13153 and `orig-buffer'.
13154 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
13155 Use with-current-buffer.
13156 (hfy-text-p): Use expand-file-name and fewer setq.
13157
13158 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
13159
13160 * htmlfontify.el, hfy-cmap.el: New files.
13161
13162 2009-11-19 Juri Linkov <juri@jurta.org>
13163
13164 * minibuffer.el (completions-format): New defcustom.
13165 (completion--insert-strings): Implement vertical format.
13166
13167 * simple.el (switch-to-completions): Move point to the first
13168 completion when point was at the beginning of the buffer.
13169
13170 2009-11-19 Juri Linkov <juri@jurta.org>
13171
13172 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
13173
13174 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
13175
13176 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
13177
13178 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
13179 (mail-signature): Change default to t.
13180 (mail-from-style): Deprecate `system-default' value.
13181 (mail-insert-from-field): For default value of mail-from-style,
13182 default to `angles' unless `angles' needs quoting and `parens'
13183 does not.
13184 (mail-citation-prefix-regexp): Use citation regexp from
13185 message-mode.
13186
13187 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
13188
13189 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
13190 Set variables for computing the prompt for reading password.
13191
13192 2009-11-19 Glenn Morris <rgm@gnu.org>
13193
13194 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
13195
13196 * textmodes/flyspell.el (sgml-lexical-context): Declare.
13197
13198 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
13199 (newsticker-treeview-listwindow-height): Fix custom type.
13200
13201 2009-11-19 Kenichi Handa <handa@m17n.org>
13202
13203 * descr-text.el (describe-char-padded-string): Compose with TAB
13204 only if there's a font for CH.
13205 (describe-char): Fix the condition for detecting a trivial composition.
13206
13207 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
13208
13209 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
13210 more accurate version of the regexp. (Bug#3910)
13211
13212 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
13213
13214 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
13215
13216 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
13217
13218 * font-setting.el (font-use-system-font): Declare for byte-compiler.
13219 (font-setting-change-default-font): Fix typo in docstring.
13220
13221 2009-11-18 Alan Mackenzie <acm@muc.de>
13222
13223 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
13224
13225 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
13226
13227 * font-setting.el (font-use-system-font): Move ...
13228
13229 * cus-start.el (all): ... to here.
13230
13231 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
13232
13233 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
13234 Don't set `ad-return-value' if `ad-do-it' doesn't.
13235
13236 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
13237 modification time.
13238
13239 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
13240
13241 * menu-bar.el: Put "Use system font" in Option-menu.
13242 (menu-bar-options-save): Add font-use-system-font.
13243
13244 * loadup.el: If feature system-font-setting or font-render-setting is
13245 there, load font-setting.
13246
13247 * Makefile.in (ELCFILES): Add font-settings.el.
13248 * font-setting.el: New file.
13249
13250 2009-11-17 Glenn Morris <rgm@gnu.org>
13251
13252 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
13253
13254 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
13255 Preserve point in the list buffer. (Bug#4939)
13256 Use point-at-eol.
13257 (newsticker--treeview-list-update-highlight)
13258 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
13259
13260 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
13261
13262 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
13263 Remove.
13264
13265 * calc/calc-ext.el (calc-init-extensions): Remove references to
13266 symclip.
13267
13268 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
13269
13270 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
13271 * calc/calc-help.el (calc-b-prefix-help): Remove references to
13272 `calc-symclip'.
13273
13274 2009-11-16 Kevin Ryde <user42@zip.com.au>
13275
13276 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
13277 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
13278
13279 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
13280 (lm-keywords-list): Allow comma-only separator like "foo,bar".
13281 Ignore trailing spaces by omit-nulls to split-string (fixing
13282 regression from Emacs 21 due to the incompatible split-string
13283 change). (Bug #4928.)
13284
13285 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
13286
13287 * vc.el (vc-log-show-limit): Default to 2000.
13288 (vc-print-log-internal): Insert buttons to request more entries
13289 when limiting the output.
13290
13291 * vc-sccs.el (vc-sccs-print-log):
13292 * vc-rcs.el (vc-rcs-print-log):
13293 * vc-cvs.el (vc-cvs-print-log):
13294 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
13295 LIMIT is non-nil.
13296
13297 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
13298
13299 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
13300 error when `tramp-gvfs-dbus-event-vector' is set.
13301 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
13302
13303 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
13304
13305 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
13306
13307 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
13308
13309 * net/dbus.el (dbus-unregister-service): New defun.
13310 (dbus-register-property): Register the handlers of
13311 "org.freedesktop.DBus.Properties" for SERVICE.
13312 (dbus-property-handler): Fix docstring.
13313
13314 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
13315
13316 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
13317 Quote doc string reference in defvaralias as it is not in special form.
13318 (byte-compile-output-docform): Doc fix.
13319
13320 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
13321
13322 * calc/calc.el (math-2-word-size, math-half-2-word-size)
13323 (calc-complement-signed-mode): New variables.
13324 (calc-set-mode-line): Add indicator for twos-complements.
13325 (math-format-number): Format twos-complement notation.
13326
13327 * calc/calc-bin.el (calc-word-size): Reset the variables
13328 `math-2-word-size' and `math-half-2-word-size'.
13329 (math-format-complement-signed, math-symclip, calcFunc-symclip)
13330 (calc-symclip): New functions.
13331
13332 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
13333
13334 * calc/calc-embed.el (calc-embedded-mode-vars):
13335 Add `calc-complement-signed-mode' to the list of modes.
13336
13337 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
13338 (calc-b-oper-keys): Add `calc-symclip' to list.
13339
13340 * calc/calc-ext.el (math-read-number-fancy): Read complement
13341 signed numbers.
13342 (calc-init-extensions): Add binding for `calc-symclip'.
13343 Add autoload for `calcFunc-symclip' and `calc-symclip'.
13344
13345 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
13346 `calc-symclip'.
13347 (calc-modes-menu): Add item for twos complement mode.
13348
13349 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
13350
13351 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
13352
13353 * register.el (jump-to-register, insert-register): Handle Semantic
13354 tags. From commented-out advice in semantic/senator.el.
13355
13356 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
13357
13358 * vc.el (vc-log-show-limit): New variable.
13359 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
13360 when using a prefix argument.
13361 (vc-print-log-internal): Add new argument LIMIT.
13362
13363 * vc-svn.el (vc-svn-print-log):
13364 * vc-mtn.el (vc-mtn-print-log):
13365 * vc-hg.el (vc-hg-print-log):
13366 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
13367 pass it to the log command when set. Make the BUFFER argument
13368 non-optional.
13369
13370 * vc-sccs.el (vc-sccs-print-log):
13371 * vc-rcs.el (vc-rcs-print-log):
13372 * vc-git.el (vc-git-print-log):
13373 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
13374 ignore it. Make the BUFFER argument non-optional
13375
13376 * bindings.el (mode-line-buffer-identification): Do not purecopy.
13377
13378 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
13379
13380 * dired.el (dired-mode-map): Move encryption items to "Operate"
13381 menu (Bug#4703).
13382
13383 * strokes.el (strokes-update-window-configuration): Make strokes
13384 buffer current before erasing (Bug#4906).
13385
13386 2009-11-15 Juri Linkov <juri@jurta.org>
13387
13388 * simple.el (set-mark-default-inactive): Add :type, :group
13389 and :version. (Bug#4876)
13390
13391 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
13392
13393 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
13394 (archive-unique-fname): ... here. (Bug#4929)
13395
13396 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
13397
13398 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
13399 with a real fix.
13400
13401 * novice.el (disabled-command-function): Add useful args.
13402 Setup the help buffer so that [back] works.
13403 Remove redundant call to help-mode.
13404 (disabled-command-function): Use `case'.
13405 (en/disable-command): New function extracted from enable-command.
13406 (enable-command, disable-command): Use it.
13407
13408 2009-11-14 Glenn Morris <rgm@gnu.org>
13409
13410 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
13411 constants. (Bug#4913)
13412
13413 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
13414
13415 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
13416
13417 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
13418 defined in C that have no doc-strings. (Bug#1063)
13419
13420 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
13421
13422 * cus-edit.el (data, files):
13423 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
13424
13425 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
13426
13427 * simple.el (shell-command): Doc fix (Bug#4891).
13428
13429 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
13430
13431 2009-11-14 Glenn Morris <rgm@gnu.org>
13432
13433 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
13434 statements for vc-diff, emerge-quit, and rmail-cease-edit.
13435 If they are already loaded, eval-after-load will do the right thing.
13436
13437 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
13438 compiling.
13439
13440 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
13441
13442 * simple.el (x-selection-owner-p): Declare.
13443 (read-mail-command): Use custom radio type rather than choice.
13444 (completion-no-auto-exit): Doc fix.
13445
13446 * custom.el (defgroup):
13447 * epg-config.el (epg): Doc fixes.
13448
13449 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
13450
13451 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
13452 * international/ccl.el (define-ccl-program): Do not purecopy the
13453 docstring, defconst does it anyway.
13454
13455 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
13456
13457 * add-log.el (add-change-log-entry): Avoid displaying the changelog
13458 a second time.
13459
13460 * x-dnd.el (x-dnd-maybe-call-test-function):
13461 * window.el (split-window-vertically):
13462 * whitespace.el (whitespace-help-on):
13463 * vc-rcs.el (vc-rcs-consult-headers):
13464 * userlock.el (ask-user-about-lock-help)
13465 (ask-user-about-supersession-help):
13466 * type-break.el (type-break-force-mode-line-update):
13467 * time-stamp.el (time-stamp-conv-warn):
13468 * terminal.el (te-set-output-log, te-more-break, te-filter)
13469 (te-sentinel, terminal-emulator):
13470 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
13471 (term-write-input-ring, term-check-source, term-start-output-log):
13472 (term-display-buffer-line, term-dynamic-list-completions):
13473 (term-ansi-make-term, serial-term):
13474 * subr.el (selective-display):
13475 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
13476 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
13477 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
13478 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
13479 (speedbar-remove-localized-speedbar-support)
13480 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
13481 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
13482 (speedbar-buffers-line-directory):
13483 * simple.el (shell-command-on-region, append-to-buffer)
13484 (prepend-to-buffer):
13485 * shadowfile.el (shadow-save-todo-file):
13486 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
13487 (scroll-bar-maybe-set-window-start):
13488 * sb-image.el (speedbar-image-dump):
13489 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
13490 (load-save-place-alist-from-file):
13491 * ps-samp.el (ps-print-message-from-summary):
13492 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
13493 (ps-background-image, ps-begin-job, ps-do-despool):
13494 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
13495 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
13496 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
13497 (pr-call-process, pr-file-list, pr-interface-save):
13498 * novice.el (disabled-command-function)
13499 (enable-command, disable-command):
13500 * mouse.el (mouse-buffer-menu-alist):
13501 * mouse-copy.el (mouse-kill-preserving-secondary):
13502 * macros.el (kbd-macro-query):
13503 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
13504 * informat.el (batch-info-validate):
13505 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
13506 * hippie-exp.el (try-expand-dabbrev-visible):
13507 * help-mode.el (help-make-xrefs):
13508 * help-fns.el (describe-variable):
13509 * generic-x.el (bat-generic-mode-run-as-comint):
13510 * finder.el (finder-mouse-select):
13511 * find-dired.el (find-dired-sentinel):
13512 * filesets.el (filesets-file-close):
13513 * files.el (list-directory):
13514 * faces.el (list-faces-display, describe-face):
13515 * facemenu.el (list-colors-display):
13516 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
13517 * epg.el (epg--process-filter, epg-cancel):
13518 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
13519 (epa--read-signature-type):
13520 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
13521 (emerge-file-names):
13522 * ehelp.el (electric-helpify):
13523 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
13524 * ediff-vers.el (rcs-ediff-view-revision):
13525 * ediff-util.el (ediff-setup):
13526 * ediff-mult.el (ediff-append-custom-diff):
13527 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
13528 (ediff-wordify):
13529 * echistory.el (Electric-command-history-redo-expression):
13530 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
13531 * disp-table.el (describe-display-table):
13532 * dired.el (dired-find-buffer-nocreate):
13533 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
13534 * dabbrev.el (dabbrev--same-major-mode-p):
13535 * chistory.el (list-command-history):
13536 * apropos.el (apropos-documentation):
13537 * allout.el (allout-obtain-passphrase):
13538 (allout-copy-exposed-to-buffer):
13539 (allout-verify-passphrase): Use with-current-buffer.
13540
13541 2009-11-13 Glenn Morris <rgm@gnu.org>
13542
13543 * Makefile.in (ELCFILES): Regenerate.
13544
13545 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
13546
13547 * net/dbus.el (dbus-registered-objects-table): Rename from
13548 `dbus-registered-functions-table', because it contains also properties.
13549 (dbus-unregister-object): Unregister also properties.
13550 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
13551 Use a timeout of 500 msec, in order to not block.
13552 (dbus-register-property, dbus-property-handler): New defuns.
13553
13554 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
13555
13556 * simple.el (minibuffer-default-add-completions): Drop deprecated
13557 4th arg.
13558
13559 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
13560
13561 * textmodes/artist.el (artist-mouse-choose-operation):
13562 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
13563 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
13564 (artist-compute-up-event-key): New function.
13565 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
13566
13567 2009-11-13 Kenichi Handa <handa@m17n.org>
13568
13569 * language/japan-util.el: Make sure that the value of jisx0208
13570 property is jisx0208 character.
13571
13572 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
13573
13574 * international/mule.el (auto-coding-regexp-alist): Only purecopy
13575 car or each item, not the whole list.
13576
13577 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
13578
13579 * minibuffer.el (minibuffer-completion-help):
13580 Use minibuffer-hide-completions.
13581
13582 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
13583
13584 * dired.el (dired-save-positions, dired-restore-positions): New funs.
13585 (dired-revert): Use them (bug#4880).
13586
13587 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
13588
13589 * tooltip.el (tooltip-frame-parameters): Undo previous change.
13590
13591 2009-11-12 Juri Linkov <juri@jurta.org>
13592
13593 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
13594 New functions.
13595 (find-file-literally-at-point): Alias of `ffap-literally'.
13596
13597 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
13598
13599 * textmodes/ispell.el (ispell-skip-region-alist):
13600 * textmodes/css-mode.el (auto-mode-alist):
13601 * progmodes/compile.el (auto-mode-alist):
13602 * international/mule.el (ctext-non-standard-encodings-alist)
13603 (ctext-non-standard-encodings-regexp):
13604 * simple.el (shell-command-switch, text-read-only):
13605 * replace.el (occur-mode-map):
13606 * paths.el (rmail-file-name):
13607 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
13608 * find-file.el (ff-special-constructs):
13609 * files.el (file-name-handler-alist):
13610 * composite.el: Purecopy strings.
13611
13612 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
13613
13614 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
13615
13616 * widget.el (define-widget): Purecopy the docstring.
13617 * international/mule-cmds.el (charset): Do not purecopy the
13618 docstring here, define-widget does it.
13619
13620 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
13621 * textmodes/bibtex-style.el (auto-mode-alist):
13622 * progmodes/inf-lisp.el (inferior-lisp-prompt):
13623 * progmodes/compile.el (compile-command):
13624 * language/korea-util.el (default-korean-keyboard):
13625 * international/mule-conf.el (file-coding-system-alist):
13626 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
13627 * tooltip.el (tooltip-frame-parameters):
13628 * newcomment.el (comment-end, comment-padding):
13629 * dired.el (dired-trivial-filenames):
13630 * comint.el (comint-file-name-prefix): Purecopy initial values.
13631
13632 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
13633
13634 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
13635 (tramp-advice-minibuffer-electric-tilde): Unload advices via
13636 `tramp-unload'.
13637 (tramp-advice-make-auto-save-file-name)
13638 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
13639 after removing the advice.
13640
13641 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
13642
13643 * progmodes/grep.el (grep-regexp-alist):
13644 * international/mule-cmds.el (iso-2022-control-alist):
13645 * emacs-lisp/timer.el (timer-duration-words):
13646 * subr.el (version-separator, version-regexp-alist):
13647 * minibuffer.el (completion-styles-alist):
13648 * faces.el (face-attribute-name-alist, list-faces-sample-text):
13649 Change defvars to defconsts.
13650
13651 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
13652 * loadup.el ("international/mule-conf"): Load the byte compiled version.
13653 * international/mule-conf.el: Allow to be byte compiled.
13654
13655 * international/mule.el (define-charset): Purecopy props.
13656 (load-with-code-conversion): Purecopy doc string and file name.
13657 (put-charset-property): Purecopy strings.
13658 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
13659
13660 * international/mule-cmds.el (register-input-method): Purecopy arguments.
13661 (define-char-code-property): Correctly purecopy the table.
13662
13663 * international/ccl.el (define-ccl-program): Purecopy the docstring.
13664
13665 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
13666
13667 * subr.el (add-hook): Purecopy strings.
13668 (eval-after-load): Purecopy load-history-regexp and the form.
13669
13670 * custom.el (custom-declare-group): Purecopy load-file-name.
13671
13672 * subr.el (menu-bar-separator): New defconst.
13673 * net/eudc.el (eudc-tools-menu):
13674 * international/mule-cmds.el (set-coding-system-map)
13675 (mule-menu-keymap):
13676 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
13677 * vc-hooks.el (vc-menu-map):
13678 * replace.el (occur-mode-map):
13679 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
13680 (menu-bar-edit-menu, menu-bar-goto-menu)
13681 (menu-bar-custom-menu, menu-bar-showhide-menu)
13682 (menu-bar-options-menu, menu-bar-tools-menu)
13683 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
13684 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
13685 (menu-bar-help-menu):
13686 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
13687 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
13688
13689 * term/x-win.el (x-gtk-stock-map):
13690 * progmodes/vera-mode.el (auto-mode-alist):
13691 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
13692 (inferior-lisp-program, inferior-lisp-load-command):
13693 * progmodes/hideshow.el (hs-special-modes-alist):
13694 * progmodes/gud.el (same-window-regexps):
13695 * progmodes/grep.el (grep-program, find-program, xargs-program):
13696 * net/telnet.el (same-window-regexps):
13697 * net/rlogin.el (same-window-regexps):
13698 * language/ethiopic.el (font-ccl-encoder-alist):
13699 * vc-sccs.el (vc-sccs-master-templates):
13700 * vc-rcs.el (vc-rcs-master-templates):
13701 * subr.el (cl-assertion-failed):
13702 * simple.el (next-error-overlay-arrow-position):
13703 * lpr.el (lpr-command):
13704 * locate.el (locate-ls-subdir-switches):
13705 * info.el (same-window-regexps, info)
13706 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
13707 * image-mode.el (image-mode, auto-mode-alist):
13708 * hippie-exp.el (hippie-expand-ignore-buffers):
13709 * format.el (format-alist):
13710 * find-dired.el (find-ls-subdir-switches, find-grep-options)
13711 (find-name-arg):
13712 * facemenu.el (facemenu-keybindings):
13713 * dired.el (dired-listing-switches, dired-chown-program):
13714 * diff.el (diff-switches, diff-command):
13715 * cus-edit.el (same-window-regexps):
13716 * bindings.el (mode-line-mule-info)
13717 (mode-line-buffer-identification): Purecopy strings.
13718
13719 2009-11-11 Juri Linkov <juri@jurta.org>
13720
13721 * simple.el (dired-get-filename) <declare-function>:
13722 Tell the byte-compiler about dired-get-filename.
13723 (shell-command): In Dired mode, get filename from the current line
13724 as the default value.
13725
13726 2009-11-10 Glenn Morris <rgm@gnu.org>
13727
13728 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
13729 * calendar/holidays.el, progmodes/cperl-mode.el:
13730 Update x-popup-menu declarations.
13731
13732 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
13733 (list-load-path-shadows): Use dolist.
13734 (list-load-path-shadows): Use with-current-buffer.
13735
13736 2009-11-10 Juri Linkov <juri@jurta.org>
13737
13738 * minibuffer.el (read-file-name): Support a list of default values
13739 in `default-filename'. Use the first file name where only one
13740 element is required. Doc fix.
13741
13742 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
13743
13744 * net/dbus.el (dbus-unregister-object): Release service, if no
13745 other method is registered for it.
13746
13747 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
13748
13749 * bookmark.el (bookmark-completing-read): Sort bookmark names if
13750 bookmark-sort-flag is non-nil (Bug#4653).
13751
13752 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
13753
13754 * emulation/cua-base.el: Add CUA property to some CC mode commands
13755 (Bug#4100).
13756
13757 2009-11-08 Kevin Ryde <user42@zip.com.au>
13758
13759 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
13760 at end of sentence (Bug#4818).
13761
13762 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
13763
13764 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13765 Handle "see declaration of" MSFT statements (Bug#4100).
13766
13767 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
13768
13769 * net/tramp.el (tramp-advice-make-auto-save-file-name)
13770 (tramp-advice-file-expand-wildcards): Unload via
13771 `ad-remove-advice'.
13772
13773 * net/trampver.el: Update release number.
13774
13775 2009-11-08 Kevin Ryde <user42@zip.com.au>
13776
13777 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
13778 `ad-do-it'.
13779
13780 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
13781
13782 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
13783 in order to keep context in SELinux.
13784
13785 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
13786
13787 * dired-aux.el (dired-query): Place cursor in echo area and allow
13788 C-g.
13789
13790 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
13791 menu item if not on a directory (Bug#4701).
13792
13793 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
13794
13795 Sync with Tramp 2.1.17.
13796
13797 * net/tramp.el (tramp-handle-copy-directory): Don't use
13798 `file-remote-p' (due to compatibility).
13799
13800 * net/tramp-compat.el (tramp-compat-copy-directory)
13801 (tramp-compat-delete-directory): New defuns.
13802
13803 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
13804 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
13805 Use `tramp-compat-delete-directory'.
13806
13807 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
13808 (tramp-smb-handle-delete-directory):
13809 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
13810
13811 * net/trampver.el: Update release number.
13812
13813 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
13814
13815 * tar-mode.el (tar-copy): Call write-region on the right buffer
13816 (Bug#4857).
13817
13818 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
13819 by hand, if necessary (Bug#4878).
13820
13821 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
13822
13823 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
13824 align size column (Bug#4839).
13825
13826 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
13827 statement.
13828
13829 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
13830
13831 * progmodes/ld-script.el (auto-mode-alist):
13832 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
13833
13834 * cus-face.el (custom-declare-face): Purecopy face spec.
13835
13836 2009-11-06 Kenichi Handa <handa@m17n.org>
13837
13838 * international/uni-bidi.el: Re-generated.
13839 * international/uni-category.el: Re-generated.
13840 * international/uni-combining.el: Re-generated.
13841 * international/uni-mirrored.el: Re-generated.
13842
13843 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
13844
13845 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
13846 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
13847 (tex-start-options, slitex-run-command, latex-run-command)
13848 (tex-run-command, tex-directory):
13849 * textmodes/ispell.el (ispell-html-skip-alists)
13850 (ispell-tex-skip-alists, ispell-tex-skip-alists):
13851 * textmodes/fill.el (adaptive-fill-first-line-regexp):
13852 (adaptive-fill-regexp):
13853 * textmodes/dns-mode.el (auto-mode-alist):
13854 * progmodes/python.el (interpreter-mode-alist):
13855 * progmodes/etags.el (tags-compression-info-list):
13856 * progmodes/etags.el (tags-file-name):
13857 * net/browse-url.el (browse-url-galeon-program)
13858 (browse-url-firefox-program):
13859 * mail/sendmail.el (mail-signature-file)
13860 (mail-citation-prefix-regexp):
13861 * international/mule-conf.el (eight-bit):
13862 * international/latexenc.el (latex-inputenc-coding-alist):
13863 * international/fontset.el (x-pixel-size-width-font-regexp):
13864 * emacs-lisp/warnings.el (warning-type-format):
13865 * emacs-lisp/trace.el (trace-buffer):
13866 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
13867 (emacs-lisp-mode-map):
13868 * calendar/holidays.el (holiday-solar-holidays)
13869 (holiday-bahai-holidays, holiday-islamic-holidays)
13870 (holiday-christian-holidays, holiday-hebrew-holidays)
13871 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
13872 (hebrew-holidays-1, holiday-oriental-holidays)
13873 (holiday-general-holidays):
13874 * x-dnd.el (x-dnd-known-types):
13875 * tool-bar.el (tool-bar):
13876 * startup.el (site-run-file):
13877 * shell.el (shell-dumb-shell-regexp):
13878 * rfn-eshadow.el (file-name-shadow-tty-properties)
13879 (file-name-shadow-properties):
13880 * paths.el (remote-shell-program, news-directory):
13881 * mouse.el ([C-down-mouse-3]):
13882 * menu-bar.el (menu-bar-tools-menu):
13883 * jka-cmpr-hook.el (jka-compr-load-suffixes)
13884 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
13885 (jka-compr-compression-info-list):
13886 * isearch.el (search-whitespace-regexp):
13887 * image-file.el (image-file-name-extensions):
13888 * find-dired.el (find-ls-option):
13889 * files.el (directory-listing-before-filename-regexp)
13890 (directory-free-space-args, insert-directory-program)
13891 (list-directory-brief-switches, magic-fallback-mode-alist)
13892 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
13893 (automount-dir-prefix):
13894 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
13895 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
13896 (face-font-registry-alternatives, face-font-registry-alternatives)
13897 (face-font-family-alternatives):
13898 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
13899 (facemenu-foreground-menu, facemenu-face-menu):
13900 * epa-hook.el (epa-file-name-regexp):
13901 * dnd.el (dnd-protocol-alist):
13902 * textmodes/rst.el (auto-mode-alist):
13903 * button.el (default-button): Purecopy strings.
13904
13905 2009-11-06 Glenn Morris <rgm@gnu.org>
13906
13907 * Makefile.in (ELCFILES): Update.
13908
13909 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
13910
13911 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
13912 * emacs-lisp/levents.el: Move to obsolete/levents.el.
13913
13914 * nxml/xsd-regexp.el (xsdre-gen-categories):
13915 * nxml/xmltok.el (xmltok-parse-entity):
13916 * nxml/rng-parse.el (rng-parse-validate-file):
13917 * nxml/rng-maint.el (rng-format-manual)
13918 (rng-manual-output-force-new-line):
13919 * nxml/rng-loc.el (rng-save-schema-location-1):
13920 * nxml/rng-cmpct.el (rng-c-parse-file):
13921 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
13922 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
13923
13924 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
13925
13926 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
13927 Remove extra save-excursions and make-variable-buffer-local's.
13928 Suggested by Stefan Monnier.
13929
13930 (verilog-getopt-file, verilog-module-inside-filename-p)
13931 (verilog-set-define): Merge GNU 1.35 and repair changes from
13932 switching to using with-current-buffer.
13933
13934 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
13935 being treated as a number and confusing AUTORESET.
13936 Reported by Dan Dever.
13937
13938 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
13939 Add verilog-auto-ignore-concat to fix backward compatibility with
13940 older verilog-modes. Reported by Dan Katz.
13941
13942 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
13943 containing closing anchors "...$".
13944
13945 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
13946 Reported by Wade Smith.
13947
13948 (verilog-batch-execute-func): Comment on function usage.
13949
13950 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
13951
13952 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
13953 for labels.
13954
13955 (verilog-label-re, verilog-calc-1): Support proper indent of named
13956 asserts.
13957
13958 (verilog-backward-token, verilog-basic-complete-re)
13959 (verilog-beg-of-statement, verilog-indent-re): Support proper
13960 indent of the assert statement at the beginning of a block of text.
13961
13962 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
13963 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
13964 tokens as begins.
13965
13966 2009-11-05 Glenn Morris <rgm@gnu.org>
13967
13968 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
13969 Emacs 19. (Bug#1531)
13970 (byte-compile-fix-header): Update for the above change.
13971 Drop test for epoch::version.
13972
13973 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
13974 * cus-dep.el (custom-make-dependencies):
13975 * finder.el (finder-compile-keywords):
13976 Use autoload-rubric's feature argument.
13977
13978 * calendar/diary-lib.el (top-level): Make load behave more like require.
13979
13980 * vc-git.el (vc-git-stash-map): Move definition before use.
13981
13982 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
13983
13984 * custom.el (custom-declare-group): Purecopy standard-value.
13985 (custom-declare-group): Purecopy custom-prefix.
13986
13987 * international/mule.el (load-with-code-conversion):
13988 Call do-after-load-evaluation unconditionally.
13989
13990 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
13991
13992 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
13993
13994 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
13995
13996 2009-11-04 Glenn Morris <rgm@gnu.org>
13997
13998 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
13999 (byte-compile-compatibility): Remove option.
14000 (byte-compile-close-variables, byte-compile-fix-header)
14001 (byte-compile-insert-header, byte-compile-output-docform)
14002 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
14003 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
14004 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
14005 (byte-compile-insert, byte-compile-defun):
14006 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
14007 (byte-defop-compiler19): Remove.
14008 Without byte-compile-compatibility, the 'emacs19-opcode property is not
14009 used by anything. Replace all calls with byte-defop-compiler.
14010
14011 2009-11-04 Juri Linkov <juri@jurta.org>
14012
14013 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
14014 (menu-bar-options-menu): Don't quote the `prop' arg of
14015 `menu-bar-make-mm-toggle'.
14016
14017 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
14018
14019 * calendar/calendar.el (cal-loaddefs):
14020 * calendar/diary-lib.el (diary-loaddefs):
14021 * calendar/holidays.el (hol-loaddefs):
14022 * eshell/esh-module.el (esh-groups): Load rather than require.
14023
14024 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
14025
14026 * calendar/todo-mode.el (todo-add-category): Don't hardcode
14027 point-min==1.
14028 (todo-top-priorities): Only display-buffer when called interactively.
14029 (todo-item-start): Don't save excursion point.
14030 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
14031 (todo-insert-item-here, todo-file-item, todo-remove-item):
14032 Adjust uses of todo-item-start and todo-item-end.
14033
14034 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
14035 (autoload-rubric): Don't use any more.
14036
14037 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
14038 and only put a prop if it is non-nil.
14039
14040 2009-11-03 Juri Linkov <juri@jurta.org>
14041
14042 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
14043 (menu-bar-options-menu): Fix list quoting (Bug#4429).
14044
14045 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
14046 and "Menu" to make top-level menu item visually one unit (like
14047 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
14048 multi-word menu items). Fix :help string for quit-window.
14049
14050 2009-11-03 Glenn Morris <rgm@gnu.org>
14051
14052 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
14053 (byte-compile-file-form-define-abbrev-table)
14054 (byte-compile-file-form-custom-declare-variable)
14055 (byte-compile-variable-ref, byte-compile-defvar):
14056 Whether or not a warning is enabled should only affect whether we issue
14057 the warning, not whether or not we collect the relevant data.
14058 Eg warnings can be turned on and off throughout the course of a file.
14059
14060 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
14061 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
14062
14063 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
14064
14065 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
14066 * play/mpuz.el (mpuz-create-buffer):
14067 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
14068 (lm-print-y,s,noise, lm-print-w0, lm-init):
14069 * play/gomoku.el (gomoku-prompt-for-move):
14070 * play/fortune.el (fortune-in-buffer):
14071 * play/dissociate.el (dissociated-press):
14072 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
14073 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
14074 * mail/supercite.el (sc-eref-show):
14075 * mail/smtpmail.el (smtpmail-send-it):
14076 * mail/rmailsum.el (rmail-summary-next-labeled-message)
14077 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
14078 (rmail-summary-undelete-many, rmail-summary-rmail-update)
14079 (rmail-summary-goto-msg, rmail-summary-expunge)
14080 (rmail-summary-get-new-mail, rmail-summary-search-backward)
14081 (rmail-summary-add-label, rmail-summary-output-menu)
14082 (rmail-summary-output-body):
14083 * mail/rfc822.el (rfc822-addresses):
14084 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
14085 * mail/mailpost.el (post-mail-send-it):
14086 * mail/hashcash.el (hashcash-generate-payment):
14087 * mail/feedmail.el (feedmail-run-the-queue)
14088 (feedmail-queue-send-edit-prompt-help-first)
14089 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
14090 (feedmail-deduce-address-list):
14091 * eshell/esh-ext.el (eshell-remote-command):
14092 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
14093 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
14094 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
14095 (viper-save-string-in-file, viper-valid-marker):
14096 * emulation/viper-keym.el (viper-toggle-key):
14097 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
14098 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
14099 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
14100 * emulation/viper-cmd.el (viper-exec-form-in-vi)
14101 (viper-exec-form-in-emacs, viper-brac-function):
14102 * emulation/viper.el (viper-delocalize-var):
14103 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
14104 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
14105 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
14106 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
14107 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
14108 * emulation/edt.el (edt-electric-helpify):
14109 * emulation/cua-rect.el (cua--rectangle-aux-replace):
14110 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
14111 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
14112 (cua-indent-to-global-mark-column):
14113 * calendar/diary-lib.el (calendar-mark-1):
14114 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
14115 Use with-current-buffer.
14116 * emulation/viper.el (viper-delocalize-var): Use dolist.
14117
14118 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
14119
14120 * comint.el (comint-replace-by-expanded-history-before-point):
14121 Replace !! with the previous input string literally (Bug#1795).
14122
14123 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
14124
14125 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
14126 to be made up of whitespace.
14127
14128 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
14129
14130 * minibuffer.el (read-file-name): Don't use file dialogs for
14131 remote directories (Bug#99).
14132
14133 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
14134
14135 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
14136
14137 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
14138
14139 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
14140 instead of deleting the window or frame.
14141
14142 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
14143
14144 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
14145 Support face colors.
14146
14147 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
14148 New function. Support face colors (Bug#1168).
14149 (tex-common-initialization): Use it.
14150
14151 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
14152 mode allows it (Bug#1168).
14153
14154 2009-10-31 Juri Linkov <juri@jurta.org>
14155
14156 * facemenu.el (list-colors-display): Don't mark buffer as
14157 modified (Bug#3948).
14158
14159 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
14160
14161 * international/mule-diag.el (list-character-sets-1):
14162 Minor message fix (Bug#3526).
14163
14164 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
14165 Fix face property (Bug#4834).
14166 (etags-list-tags, etags-tags-apropos-additional)
14167 (etags-tags-apropos, tags-select-tags-table): Add follow-link
14168 property.
14169
14170 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
14171 items.
14172
14173 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
14174
14175 * textmodes/two-column.el (2C-split):
14176 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
14177 * textmodes/tex-mode.el (tex-set-buffer-directory):
14178 * textmodes/spell.el (spell-region, spell-string):
14179 * textmodes/reftex.el (reftex-erase-buffer):
14180 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
14181 * textmodes/reftex-toc.el (reftex-toc-promote-action):
14182 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
14183 (reftex-select-item):
14184 * textmodes/reftex-ref.el (reftex-label-info-update)
14185 (reftex-offer-label-menu):
14186 * textmodes/reftex-index.el (reftex-index-change-entry)
14187 (reftex-index-phrases-info):
14188 * textmodes/reftex-global.el (reftex-create-tags-file)
14189 (reftex-save-all-document-buffers, reftex-ensure-write-access):
14190 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
14191 (reftex-view-crossref-from-bibtex):
14192 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
14193 (reftex-extract-bib-entries-from-thebibliography)
14194 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
14195 * textmodes/refbib.el (r2b-capitalize-title):
14196 (r2b-convert-buffer, r2b-help):
14197 * textmodes/page-ext.el (pages-directory)
14198 (pages-directory-goto-with-mouse):
14199 * textmodes/bibtex.el (bibtex-validate-globally):
14200 * textmodes/bib-mode.el (bib-capitalize-title):
14201 * textmodes/artist.el (artist-clear-buffer, artist-system):
14202 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
14203 (local-set-scheme-interaction-buffer, xscheme-process-filter)
14204 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
14205 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
14206 (xscheme-send-control-g-interrupt, xscheme-start-process)
14207 (xscheme-process-sentinel, xscheme-cd):
14208 * progmodes/verilog-mode.el (verilog-read-always-signals)
14209 (verilog-set-define, verilog-getopt-file)
14210 (verilog-module-inside-filename-p):
14211 * progmodes/sh-script.el:
14212 * progmodes/python.el (python-pdbtrack-get-source-buffer)
14213 (python-pdbtrack-grub-for-buffer, python-execute-file):
14214 * progmodes/octave-inf.el (inferior-octave):
14215 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
14216 (idlwave-shell-compile-helper-routines, idlwave-set-local)
14217 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
14218 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
14219 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
14220 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
14221 (idlwave-shell-filter, idlwave-shell-examine-highlight)
14222 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
14223 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
14224 (idlwave-shell-examine-display, idlwave-shell-run-region)
14225 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
14226 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
14227 * progmodes/idlw-help.el (idlwave-help-get-special-help)
14228 (idlwave-help-get-help-buffer):
14229 * progmodes/gud.el (gud-basic-call, gud-find-class)
14230 (gud-tooltip-activate-mouse-motions-if-enabled):
14231 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
14232 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
14233 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
14234 (ebrowse-tags-next-file):
14235 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
14236 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
14237 (ebnf-eps-finish-and-write):
14238 * progmodes/cpp.el (cpp-edit-save):
14239 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
14240 * progmodes/cc-defs.el (c-emacs-features):
14241 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
14242 (antlr-directory-dependencies):
14243 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
14244 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
14245 (ada-find-any-references, ada-make-filename-from-adaname)
14246 (ada-make-body-gnatstub):
14247 * obsolete/rnews.el (news-list-news-groups):
14248 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
14249 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
14250 * net/rcirc.el (rcirc-debug):
14251 * net/newst-treeview.el (newsticker--treeview-list-add-item)
14252 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
14253 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
14254 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
14255 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
14256 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
14257 (newsticker--treeview-list-clear-highlight)
14258 (newsticker--treeview-list-update-highlight)
14259 (newsticker--treeview-list-highlight-start)
14260 (newsticker--treeview-tree-update-highlight)
14261 (newsticker--treeview-get-selected-item)
14262 (newsticker-treeview-mark-list-items-old)
14263 (newsticker--treeview-set-current-node):
14264 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
14265 * net/newst-backend.el (newsticker--get-news-by-funcall)
14266 (newsticker--get-news-by-wget, newsticker--image-get)
14267 (newsticker--image-sentinel):
14268 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
14269 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
14270 (eudc-ph-close-session):
14271 * net/eudc.el (eudc-save-options):
14272 * language/thai-word.el (thai-update-word-table):
14273 * language/japan-util.el (japanese-string-conversion):
14274 * international/titdic-cnv.el (tsang-quick-converter)
14275 (ziranma-converter, ctlau-converter):
14276 * international/mule-cmds.el (describe-language-environment):
14277 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
14278 (skkdic-convert-postfix, skkdic-convert-prefix):
14279 (skkdic-convert-okuri-nasi, skkdic-convert):
14280 * emacs-lisp/re-builder.el (reb-update-overlays):
14281 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
14282 * emacs-lisp/gulp.el (gulp-send-requests):
14283 * emacs-lisp/find-gc.el (trace-call-tree):
14284 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
14285 (eieio-describe-generic):
14286 * emacs-lisp/eieio-base.el (eieio-persistent-read):
14287 * emacs-lisp/edebug.el (edebug-outside-excursion):
14288 * emacs-lisp/debug.el (debugger-make-xrefs):
14289 * emacs-lisp/cust-print.el (custom-prin1-to-string):
14290 * emacs-lisp/chart.el (chart-new-buffer):
14291 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
14292 Use with-current-buffer.
14293 * textmodes/artist.el (artist-system): Don't call
14294 copy-sequence on a fresh string.
14295 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
14296
14297 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
14298
14299 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
14300 is no item to edit. (Bug#4820)
14301 (todo-top-priorities): Restore point and restore narrowing in Todo
14302 buffer. (Bug#4820)
14303
14304 2009-10-31 Glenn Morris <rgm@gnu.org>
14305
14306 * net/ange-ftp.el (top-level): Don't require dired when compiling.
14307 (comint-last-output-start, comint-last-input-start)
14308 (comint-last-input-end): Don't defvar when compiling.
14309 (ange-ftp-process-file): Use bound-and-true-p.
14310
14311 * pcmpl-rpm.el (top-level): Move provide statement to end.
14312 (pcmpl-rpm): Remove unused custom group.
14313
14314 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
14315
14316 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
14317
14318 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
14319 (byte-compile-warnings): Add `constants' as an option.
14320 (byte-compile-callargs-warn, byte-compile-arglist-warn)
14321 (display-call-tree): Update for byte-compile-fdefinition possibly
14322 returning `(macro lambda ...)'. (Bug#4778)
14323 (byte-compile-variable-ref, byte-compile-setq-default):
14324 Respect `constants' member of byte-compile-warnings.
14325
14326 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
14327
14328 * vc-bzr.el (vc-bzr-revision-keywords): New var.
14329 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
14330 to "submit:".
14331
14332 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
14333
14334 * textmodes/ispell.el (ispell-skip-region-alist):
14335 * international/mule-conf.el (eight-bit):
14336 * international/fontset.el (font-encoding-alist):
14337 * startup.el (pure-space-overflow-message):
14338 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
14339 * paths.el (gnus-nntp-service, rmail-spool-directory)
14340 (term-file-prefix):
14341 * files.el (save-some-buffers-action-alist):
14342 * cmuscheme.el (same-window-buffer-names):
14343 * ielm.el (same-window-buffer-names):
14344 * shell.el (same-window-buffer-names):
14345 * mail/sendmail.el (same-window-buffer-names):
14346 * progmodes/inf-lisp.el (same-window-buffer-names):
14347 * bindings.el (mode-line-client)
14348 (mode-line-column-line-number-mode-map):
14349 * language/tibetan.el (tibetan-precomposition-rule-regexp)
14350 (tibetan-precomposed-regexp): Purecopy string arguments.
14351
14352 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14353
14354 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
14355 (calcDigit-nondigit):
14356 * calc/calc-yank.el (calc-copy-to-buffer):
14357 * calc/calc-units.el (calc-invalidate-units-table):
14358 * calc/calc-trail.el (calc-trail-yank):
14359 * calc/calc-store.el (calc-insert-variables):
14360 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
14361 * calc/calc-prog.el (calc-read-parse-table):
14362 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
14363 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
14364 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
14365 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
14366 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
14367 (calc-graph-name, calc-graph-find-command, calc-graph-view)
14368 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
14369 * calc/calc-ext.el (calc-realign):
14370 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
14371 (calc-embedded-finish-edit, calc-embedded-make-info)
14372 (calc-embedded-finish-command, calc-embedded-stack-change):
14373 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
14374
14375 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
14376 shell-dynamic-complete-filename in preference to
14377 comint-dynamic-complete-filename.
14378
14379 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
14380 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
14381 Don't consider whether the display supports colors.
14382 (bookmark-import-new-list): Use dolist.
14383 (bookmark-bmenu-mode-map): Move initialization into declaration.
14384 (bookmark-bmenu-list): Use dolist, simplify.
14385 (bookmark-show-all-annotations): Use save-selected-window and dolist.
14386 (menu-bar-final-items): Use push.
14387
14388 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
14389
14390 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
14391 it works on remote files.
14392 (vc-hg-diff): Don't pass any `--cwd' argument.
14393
14394 2009-10-27 Kevin Ryde <user42@zip.com.au>
14395
14396 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
14397 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
14398 (Further to Bug#3921).
14399
14400 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
14401
14402 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
14403 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
14404 calling `tramp-imap-put-file'. Add file size to the call.
14405 (tramp-imap-get-file-entries): Compute also user name, file size,
14406 and date.
14407 (tramp-imap-handle-insert-directory): Insert uid and gid.
14408 (tramp-imap-handle-file-attributes): Transform uid and gid
14409 according to `id-format'.
14410 (tramp-imap-put-file): New optional parameter SIZE. Encode file
14411 size in header X-Size.
14412
14413 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
14414
14415 * simple.el (transpose-subr): Give clearer error when the mark
14416 is not set. (Bug#4807)
14417
14418 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
14419
14420 * net/tramp.el (tramp-perl-file-truename): New defconst.
14421 Perl code contributed by yary <not.com@gmail.com> (tiny change).
14422 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
14423 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
14424 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
14425
14426 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
14427 Ignore `dired-call-process'.
14428 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
14429
14430 2009-10-26 Julian Scheid <julians37@gmail.com>
14431
14432 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
14433 (tramp-get-remote-readlink): New defun.
14434 (tramp-handle-file-truename): Use it.
14435 (tramp-handle-file-exists-p): Check file-attributes cache, assume
14436 file exists if cache value present.
14437 (tramp-check-cached-permissions): New defun.
14438 (tramp-handle-file-readable-p): Use it.
14439 (tramp-handle-file-writable-p): Likewise.
14440 (tramp-handle-file-executable-p): Likewise.
14441 (tramp-handle-file-name-all-completions): Try using Perl to get
14442 partial completions. When perl not available, combine `cd' and
14443 `ls' into single remote operation and use shell expansion to get
14444 partial remote directory contents. Set `file-exists-p' cache for
14445 directory and any files returned by ls. Change cache handling to
14446 support partial directory contents. Use error message emitted by
14447 remote `cd' or Perl code for local tramp-error.
14448 (tramp-do-copy-or-rename-file-directly): Avoid separate
14449 tramp-send-command-and-check call.
14450 (tramp-handle-process-file): Merge three remote ops into one.
14451 Do not flush all caches when `process-file-side-effects' is set.
14452 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
14453 file-attributes shows uid/gid to be set already.
14454
14455 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
14456
14457 * textmodes/tex-mode.el (tex-dvi-view-command)
14458 (tex-show-queue-command, tex-open-quote):
14459 * progmodes/ruby-mode.el (auto-mode-alist)
14460 (interpreter-mode-alist): Purecopy strings.
14461
14462 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
14463
14464 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
14465 string for the hook, keymap and abbrev table.
14466
14467 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
14468
14469 * x-dnd.el (x-dnd-xdnd-to-action):
14470 * startup.el (fancy-startup-text, fancy-about-text): Change to
14471 defconst from defvar.
14472
14473 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
14474
14475 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
14476 Purecopy initialization strings.
14477
14478 * mail/sendmail.el (mail-header-separator)
14479 (mail-personal-alias-file):
14480 * mail/rmail.el (rmail-default-dont-reply-to-names)
14481 (rmail-ignored-headers, rmail-retry-ignored-headers)
14482 (rmail-highlighted-headers, rmail-secondary-file-directory)
14483 (rmail-secondary-file-regexp):
14484 * files.el (null-device, file-name-invalid-regexp)
14485 (locate-dominating-stop-dir-regexp)
14486 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
14487 (interpreter-mode-alist): Use mapcar instead of mapc.
14488
14489 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
14490
14491 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
14492 (completion-ignored-extensions):
14493 (debug-ignored-errors): Purecopy strings.
14494
14495 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
14496
14497 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
14498 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
14499 (pcomplete--here): Use push.
14500
14501 * subr.el (all-completions): Declare the 4th arg obsolete.
14502
14503 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
14504
14505 * pcomplete.el (pcomplete-unquote-argument-function): New var.
14506 (pcomplete-unquote-argument): New function.
14507 (pcomplete--common-suffix): Always pay attention to case.
14508 (pcomplete--table-subvert): Quote and unquote the text.
14509 (pcomplete--common-quoted-suffix): New function.
14510 (pcomplete-std-complete): Use it and pcomplete-begin.
14511
14512 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
14513 we're inside a dedicated or minibuffer window.
14514
14515 2009-10-24 Karl Fogel <kfogel@red-bean.com>
14516
14517 * bookmark.el: Update documentation, especially documentation
14518 of `bookmark-alist' and of the bookmark file format.
14519 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
14520
14521 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
14522
14523 * mail/emacsbug.el (report-emacs-bug): Clarify that the
14524 keybindings apply to the mail buffer (Bug#4003). Shrink help
14525 window to buffer.
14526
14527 * whitespace.el (whitespace-mode, whitespace-newline-mode)
14528 (global-whitespace-mode, global-whitespace-newline-mode)
14529 (whitespace-toggle-options, global-whitespace-toggle-options):
14530 Doc fix (Bug#3660).
14531
14532 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
14533 of xmltok-start before the end tag was inserted (Bug#2840).
14534
14535 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
14536 patterns that are preceded by an open-paren (Bug#1320).
14537
14538 2009-10-24 Sven Joachim <svenjoac@gmx.de>
14539
14540 * files.el (delete-directory): Delete symlinks to directories with
14541 delete-file (Bug#4739).
14542
14543 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
14544
14545 * vc.el (vc-backend-for-registration): Rename from
14546 vc-get-backend-for-registration. Update callers.
14547
14548 * international/mule-cmds.el (set-language-info-alist):
14549 Purecopy lang-env.
14550 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
14551 (charset): Purecopy the name.
14552 (define-char-code-property): Purecopy string arguments.
14553
14554 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
14555 Purecopy string arguments.
14556
14557 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
14558 * ediff-hook.el (menu-bar-ediff-menu):
14559 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
14560 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
14561
14562 2009-10-24 Glenn Morris <rgm@gnu.org>
14563
14564 * comint.el (comint-dynamic-list-completions):
14565 * term.el (term-dynamic-list-completions): Use choose-completion rather
14566 than obsolete alias mouse-choose-completion.
14567
14568 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
14569 file-cache-choose-completion.
14570 (file-cache-choose-completion): Handle an optional event argument.
14571 (file-cache-mouse-choose-completion): Make it an obsolete alias.
14572
14573 * progmodes/octave-mod.el (octave-complete-symbol):
14574 Use choose-completion if mouse-choose-completion is ever removed.
14575
14576 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
14577 use.
14578
14579 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
14580 compiler.
14581
14582 * vc-hooks.el (vc-responsible-backend): Fix declaration.
14583
14584 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
14585
14586 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
14587 Ignore `pred' now that we receive one.
14588 Handle test-completion specially.
14589
14590 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
14591
14592 * vc.el (vc-responsible-backend): Throw an error if not backend is
14593 found. Remove the REGISTER argument. Move the code dealing with
14594 REGISTER ...
14595 (vc-get-backend-for-registration): ... here. New function.
14596 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
14597 of vc-responsible-backend, pass the file name instead of the
14598 directory name.
14599
14600 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
14601
14602 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
14603 New funs.
14604 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
14605 (pcomplete-comint-setup): Don't modify a global var via
14606 accidental side-effects.
14607 (pcomplete-shell-setup): Adjust call accordingly.
14608 (pcomplete-parse-comint-arguments): Use push.
14609
14610 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
14611
14612 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
14613 Allow uncapitalized info node names (Bug#3921).
14614
14615 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
14616 to the DEBUG file (Bug#3781).
14617
14618 2009-10-23 Jari Aalto <jari.aalto@cante.net>
14619
14620 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
14621 dictionary entry (Bug#4579).
14622
14623 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
14624
14625 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
14626 from `rfn-eshadow-update-overlay-hook' when unloading.
14627 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
14628 "rsyncc". Adjust doc string.
14629 (tramp-temp-buffer-file-name): New buffer-local defvar.
14630 (tramp-handle-insert-file-contents, tramp-handle-write-region):
14631 Keep temporary file when indicated by method ("rsync" and
14632 "rsyncc").
14633 (tramp-handle-write-region): Handle APPEND.
14634 (tramp-delete-temp-file-function): New defun. Added to
14635 `kill-buffer-hook'.
14636
14637 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
14638
14639 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
14640
14641 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
14642
14643 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
14644 (color-name-rgb-alist, tty-standard-colors)
14645 (tty-color-mode-alist): Change to defconst.
14646
14647 * simple.el (mark-inactive): Purecopy message.
14648
14649 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
14650 (global-map, yank-menu):
14651 * textmodes/ispell.el (ispell-menu-map):
14652 * net/eudc.el (eudc-tools-menu):
14653 * international/mule-cmds.el (describe-language-environment-map)
14654 (setup-language-environment-map, set-coding-system-map)
14655 (mule-menu-keymap):
14656 * vc-hooks.el (vc-menu-entry, vc-menu-map):
14657 * replace.el (occur-mode-map):
14658 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
14659
14660 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
14661
14662 * calc/calc.el (math-read-number, math-read-number-simple):
14663 Use `save-match-data'.
14664
14665 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
14666
14667 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
14668 rather than fiddling with global-map bindings, since it should only
14669 affect per-terminal settings.
14670 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
14671
14672 * minibuffer.el (completion-table-with-terminator): Allow to specify
14673 the terminator-regexp.
14674
14675 * simple.el (switch-to-completions): Look for *Completions* in other
14676 frames as well.
14677
14678 * pcomplete.el: Allow the use of completion-tables.
14679 (pcomplete-std-complete): New command.
14680 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
14681 (pcomplete--here): Use a function for `form' rather than an expression,
14682 so it can be byte-compiled.
14683 (pcomplete-here, pcomplete-here*): Adjust accordingly.
14684 Add edebug declaration.
14685 (pcomplete-show-completions): Remove unused var `curbuf'.
14686 (pcomplete-do-complete, pcomplete-stub):
14687 Don't assume `completions' is a list of strings any more.
14688
14689 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
14690
14691 * find-dired.el (find-name-arg): Fix typo in docstring.
14692
14693 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
14694
14695 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
14696 (pcmpl-linux-fs-types): Same, and update to new modules layout.
14697
14698 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
14699 pcomplete-entries.
14700
14701 * comint.el (comint-read-input-ring, comint-write-input-ring)
14702 (comint-substitute-in-file-name)
14703 (comint-dynamic-complete-as-filename)
14704 (comint-dynamic-simple-complete)
14705 (comint-dynamic-list-filename-completions)
14706 (comint-dynamic-list-completions)
14707 (comint-redirect-results-list-from-process): Minor simplifications.
14708
14709 2009-10-21 Kevin Ryde <user42@zip.com.au>
14710
14711 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
14712 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
14713 the first form. And insert a blank line after ";;; Code" since
14714 that's usual style. (Bug#4612)
14715
14716 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
14717
14718 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
14719
14720 * minibuffer.el (completion-table-with-terminator): Properly implement
14721 boundaries, in case `terminator' appears in the suffix.
14722 (completion--embedded-envvar-table): Don't return boundaries if
14723 there's no valid completion. Simplify.
14724 (completion-file-name-table): New completion table extracted from
14725 completion--file-name-table.
14726 (completion--file-name-table): Use it.
14727 (read-file-name-predicate): Declare obsolete.
14728 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
14729 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
14730 completion-file-name-table, and use the `pred' argument.
14731 * files.el (locate-file-completion-table): Use the `pred' arg rather
14732 than read-file-name-predicate.
14733 (abbreviate-file-name): Use \` rather than ^ for BOS.
14734
14735 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
14736
14737 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
14738 vc-responsible-backend to register, it causes problems.
14739
14740 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
14741
14742 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
14743
14744 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
14745
14746 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
14747 (tramp-smb-handle-file-attributes): Use it.
14748 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
14749 (tramp-smb-handle-insert-directory): Use `mapc' rather than
14750 `mapcar'. Use `tramp-smb-get-stat-capability'.
14751 Add `dired-filename' text properties.
14752 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
14753 (tramp-smb-maybe-open-connection): Simplify check for smbclient
14754 version.
14755
14756 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
14757
14758 * subr.el (read-key-delay): Reduce to 0.01.
14759 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
14760 (bug#4751).
14761
14762 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
14763
14764 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
14765
14766 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
14767 (Info-menu): Remove unused vars `last' and `completions'.
14768 (Info-index-nodes): Remove unused var `node'.
14769
14770 * info.el (Info-complete-menu-item): Use complete-with-action.
14771
14772 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
14773
14774 Make vc-annotate work through copies and renames.
14775 * vc-annotate.el (vc-annotate-extract-revision-at-line):
14776 Return the file name too.
14777 (vc-annotate-revision-at-line)
14778 (vc-annotate-find-revision-at-line)
14779 (vc-annotate-revision-previous-to-line)
14780 (vc-annotate-show-log-revision-at-line): Update to get the file
14781 name from vc-annotate-extract-revision-at-line.
14782 (vc-annotate-show-diff-revision-at-line-internal): Change the
14783 argument to mean whether to show a file diff or not. Get the file
14784 name from vc-annotate-extract-revision-at-line.
14785 (vc-annotate-show-diff-revision-at-line):
14786 Update vc-annotate-show-diff-revision-at-line call.
14787 (vc-annotate-warp-revision): Add an optional file argument.
14788
14789 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
14790 (vc-git-annotate-extract-revision-at-line): Also return the file
14791 name if found.
14792
14793 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
14794 command. Remove unused code.
14795 (vc-hg-annotate-re): Update to match --follow output.
14796 (vc-hg-annotate-extract-revision-at-line): Also return the file
14797 name if found.
14798
14799 * vc.el: Update annotate-extract-revision-at-line documentation.
14800
14801 2009-10-18 Kevin Ryde <user42@zip.com.au>
14802
14803 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
14804 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
14805
14806 * net/browse-url.el (browse-url): Identify alist with "consp and
14807 not functionp" and let all other things go down the `apply' leg,
14808 as suggested by Stefan. (Further to bug#4531.)
14809
14810 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
14811
14812 * minibuffer.el (read-file-name): Check for repeat before putting
14813 a default argument in file-name-history (Bug#4657).
14814
14815 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
14816 read syntax (Bug#4737).
14817
14818 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
14819
14820 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14821
14822 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
14823 (html-tag-alist, html-tag-help): Add descriptions for undocumented
14824 entries and make note of obsolete tags.
14825
14826 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
14827
14828 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
14829
14830 2009-10-18 Glenn Morris <rgm@gnu.org>
14831
14832 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
14833 grep, so that binary files (eg international/uni-bidi.el) can match.
14834 Remove test for "UnicodeData" files, since it is hopefully unnecessary
14835 now, and in any case the file header format has changed.
14836
14837 2009-10-17 Glenn Morris <rgm@gnu.org>
14838
14839 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
14840 (flyspell-get-word, flyspell-large-region)
14841 (flyspell-auto-correct-previous-word): Doc/error message fixes.
14842
14843 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
14844
14845 * Makefile.in (ELCFILES): Add ede/shell.
14846
14847 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
14848
14849 * term/common-win.el (x-colors): Purecopy it.
14850
14851 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
14852
14853 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
14854 permissive for when the buffer is empty.
14855 (tar-header-block-tokenize): Decode the username and groupname.
14856 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
14857
14858 2009-10-17 Eric Ludlam <zappo@gnu.org>
14859
14860 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
14861 contains multibyte characters, choose first applicable coding
14862 system automatically.
14863
14864 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
14865
14866 * international/mule-cmds.el (select-safe-coding-system): If the file
14867 has a coding cookie, use it regardless of any other setting (bug#4712).
14868
14869 2009-10-17 Glenn Morris <rgm@gnu.org>
14870
14871 * foldout.el (foldout-mouse-swallow-events):
14872 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
14873
14874 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
14875 (dired-keep-marker-copy, dired-keep-marker-hardlink)
14876 (dired-keep-marker-symlink, dired-dwim-target)
14877 (dired-copy-preserve-time): Do not autoload these defcustoms.
14878
14879 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
14880 messages from messing up the file coding. (Bug#4623)
14881
14882 2009-10-17 Jari Aalto <jari.aalto@cante.net>
14883
14884 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
14885 if no match is found for the current dictionary. (Bug#4578)
14886
14887 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
14888 optional, since that is how it is documented, and this is often called
14889 with a nil argument. (Bug#4577)
14890 (flyspell-external-point-words, flyspell-auto-correct-word)
14891 (flyspell-correct-word-before-point, flyspell-word-search-forward)
14892 (flyspell-word-search-backward): Remove nil argument in calls to
14893 flyspell-get-word, since it is not needed now.
14894
14895 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
14896
14897 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
14898
14899 2009-10-16 Glenn Morris <rgm@gnu.org>
14900
14901 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
14902
14903 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
14904
14905 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
14906 (ange-ftp-file-size): New function.
14907 (ange-ftp-file-attributes): Use it.
14908
14909 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
14910
14911 * net/tramp-smb.el (tramp-smb-version): New defvar.
14912 (tramp-smb-maybe-open-connection): Use it, in order to avoid
14913 repeated checks.
14914
14915 2009-10-16 Glenn Morris <rgm@gnu.org>
14916
14917 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
14918 Maybe copy some custom properties from old to new name. (Bug#4706)
14919
14920 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
14921
14922 * subr.el (error, sit-for, start-process-shell-command)
14923 (start-file-process-shell-command): Set the calling convention
14924 after the function definition.
14925
14926 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
14927
14928 * subr.el (error, sit-for, start-process-shell-command)
14929 (start-file-process-shell-command): Use the new
14930 set-advertised-calling-convention feature.
14931
14932 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
14933
14934 * international/ucs-normalize.el (ucs-normalize-version):
14935 Change to 1.2.
14936 (check-range): Adjust for Unicode 5.2.
14937
14938 2009-10-15 Juri Linkov <juri@jurta.org>
14939
14940 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
14941 to the `menu-item' format.
14942
14943 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
14944
14945 * net/tramp.el (tramp-replace-environment-variables): Do not fail
14946 if the environment variable does not exist.
14947
14948 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
14949 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
14950 parameter.
14951 (tramp-smb-handle-add-name-to-file)
14952 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
14953 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
14954 (tramp-smb-handle-file-attributes)
14955 (tramp-smb-do-file-attributes-with-stat)
14956 (tramp-smb-handle-file-local-copy)
14957 (tramp-smb-handle-insert-directory)
14958 (tramp-smb-handle-make-directory)
14959 (tramp-smb-handle-make-directory-internal)
14960 (tramp-smb-handle-make-symbolic-link)
14961 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
14962 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
14963 (tramp-smb-maybe-open-connection): Apply the changed parameters.
14964 (tramp-smb-read-file-entry): Read Disk names in compressed format.
14965 Handle long file names.
14966 (tramp-smb-get-cifs-capabilities): Check, whether the connection
14967 process is running.
14968 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
14969 Read share names with "-g" option.
14970
14971 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
14972
14973 * net/rcirc.el (rcirc-view-log-file): New command.
14974 (rcirc-track-minor-mode-map): Remove C-c ` binding.
14975 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
14976 specified.
14977
14978 2009-10-15 Glenn Morris <rgm@gnu.org>
14979
14980 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
14981 from the second command-line argument.
14982 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
14983 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
14984 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
14985 w32-batch-update-autoloads.
14986 * emacs-lisp/autoload.el (autoload-make-program): New variable.
14987 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
14988
14989 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
14990 the headers cannot be located. Simplify, subtracting superflous
14991 save-excursions.
14992
14993 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
14994
14995 Replace completion-base-size by completion-base-position to fix bugs
14996 such as (bug#4699).
14997 * simple.el (completion-base-position): New var.
14998 (completion-base-size): Mark as obsolete.
14999 (choose-completion): Make it work for mouse events as well.
15000 Pass the new base-position to choose-completion-string.
15001 (choose-completion-guess-base-position): New function, extracted from
15002 choose-completion-delete-max-match.
15003 (choose-completion-delete-max-match): Use it. Make obsolete.
15004 (choose-completion-string): Use the new base-position info.
15005 (completion-root-regexp): Delete.
15006 (completion-setup-function): Preserve completion-base-position.
15007 Eliminate obsolete base-size manipulation.
15008 * minibuffer.el (display-completion-list): Don't mess with base-size.
15009 (minibuffer-completion-help): Set completion-base-position instead.
15010 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
15011 choose-completion.
15012 * textmodes/bibtex.el (bibtex-complete):
15013 * emacs-lisp/crm.el (crm--choose-completion-string):
15014 Adjust to new calling convention.
15015 * complete.el (partial-completion-mode): Use minibufferp to avoid
15016 bumping into incompatible change to choose-completion-string-functions.
15017 * ido.el (ido-choose-completion-string): Make its calling convention
15018 more permissive.
15019 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
15020 base-size manipulation.
15021 (comint-dynamic-list-input-ring): Use dotimes and push.
15022 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
15023 fundamental-mode. Use `or'.
15024
15025 2009-10-14 Juri Linkov <juri@jurta.org>
15026
15027 * misearch.el (multi-isearch-next-buffer-from-list)
15028 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
15029
15030 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
15031
15032 * Makefile.in (compile-onefile): Load `bytecomp' rather than
15033 `bytecomp.el'.
15034
15035 * minibuffer.el (completion-pcm--merge-completions): Make sure the
15036 string we return is all made up of text from the completions rather
15037 than part from the completions and part from the input (bug#4219).
15038
15039 * ido.el (ido-everywhere): Use define-minor-mode.
15040
15041 * buff-menu.el (list-buffers, ctl-x-map):
15042 Mark the entry points with ;;;###autoload cookies.
15043
15044 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
15045
15046 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
15047 correctly in the detached head case.
15048 (vc-git-print-log): Remove unused binding.
15049
15050 * vc.el (vc-responsible-backend): When a directory is passed for
15051 for registration create a VC repository if no backend is
15052 responsible for the directory argument.
15053 (vc-deduce-fileset): Tell vc-responsible-backend to register.
15054
15055 * vc.el: Move comments about RCS and SCCS ...
15056 * vc-rcs.el:
15057 * vc-sccs.el: ... here, respectively.
15058
15059 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
15060
15061 * minibuffer.el (completion--file-name-table): Return nil if there's
15062 no file completion, even if substitute-in-file-name changed
15063 the string (bug#4708).
15064
15065 2009-10-13 Juri Linkov <juri@jurta.org>
15066
15067 * files-x.el (read-file-local-variable-value): Don't filter out
15068 minor modes from mode name completion (bug#4664).
15069
15070 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
15071
15072 * international/mule-cmds.el (ucs-names): Remove exclusion of
15073 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
15074
15075 2009-10-13 Kenichi Handa <handa@m17n.org>
15076
15077 * international/uni-name.el: Regenerated.
15078
15079 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
15080
15081 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
15082 should be automatically buffer-local, but isn't.)
15083
15084 2009-10-12 Sam Steingold <sds@gnu.org>
15085
15086 * progmodes/compile.el (compilation-next-error-function): Fix the
15087 timestamps if the buffer has been visited before.
15088 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
15089 non-anchored patterns, like the perl one (bug#3928).
15090
15091 2009-10-12 Glenn Morris <rgm@gnu.org>
15092
15093 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
15094 Let-bind `size'.
15095
15096 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
15097
15098 * proced.el (proced-unload-function): New function.
15099
15100 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
15101 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
15102 Doc fix.
15103
15104 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
15105
15106 2009-10-11 Juri Linkov <juri@jurta.org>
15107
15108 * files-x.el (read-file-local-variable-value):
15109 Provide default value only for bound variables (bug#4664).
15110
15111 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
15112
15113 * net/tramp.el (tramp-local-host-p): Function shall return nil for
15114 connection methods like smb.
15115
15116 * net/tramp-cache.el (tramp-flush-connection-property): The hash
15117 can be empty.
15118
15119 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
15120 (tramp-smb-file-name-handler-alist): Add handlers for
15121 `add-name-to-file', `make-symbolic-link'.
15122 (tramp-smb-handle-add-name-to-file)
15123 (tramp-smb-do-file-attributes-with-stat)
15124 (tramp-smb-handle-make-symbolic-link)
15125 (tramp-smb-get-cifs-capabilities): New defuns.
15126 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
15127 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
15128 (tramp-smb-handle-file-local-copy)
15129 (tramp-smb-handle-make-directory-internal)
15130 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
15131 The file name syntax depends on cifs capabilities.
15132 (tramp-smb-handle-file-attributes):
15133 Call `tramp-smb-do-file-attributes-with-stat' if possible.
15134 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
15135 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
15136
15137 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
15138
15139 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
15140 (eieio-defclass): Apply deftype handler and setf-method properties
15141 directly.
15142 (eieio-add-new-slot): Avoid union function from cl library.
15143 (eieio--typep): New function.
15144 (eieio-perform-slot-validation): Use it.
15145
15146 2009-10-10 Karl Fogel <kfogel@red-bean.com>
15147
15148 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
15149 Update documentation to refer to the variables documented in r1.135.
15150 (Bug#4188)
15151
15152 2009-10-10 Karl Fogel <kfogel@red-bean.com>
15153
15154 * bookmark.el (Info-suffix-list): Remove this unused variable.
15155 (bookmark-current-point): Remove this obsolete variable.
15156 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
15157 Adjust for removal of bookmark-current-point.
15158
15159 (bookmarks-already-loaded, bookmark-current-buffer)
15160 (bookmark-yank-point): Document. (Bug#4188)
15161
15162 2009-10-10 Glenn Morris <rgm@gnu.org>
15163
15164 * frame.el (frame-height): Doc fix.
15165
15166 * calendar/calendar.el (calendar-split-width-threshold): New option.
15167 (calendar-basic-setup): Use calendar-split-width-threshold.
15168
15169 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
15170
15171 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
15172 Ideographic Supplement" range (U+1F200..U+1F2FF).
15173
15174 2009-10-09 Karl Fogel <kfogel@red-bean.com>
15175
15176 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
15177 since the list will have been rebuilt anyway. (Bug#4349)
15178
15179 2009-10-09 Karl Fogel <kfogel@red-bean.com>
15180
15181 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
15182 (bookmark-bmenu-execute-deletions): Don't save here, as
15183 bookmark-delete will now do so if necessary.
15184 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
15185 (Bug#4348)
15186
15187 2009-10-09 Glenn Morris <rgm@gnu.org>
15188
15189 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
15190
15191 2009-10-09 Karl Fogel <kfogel@red-bean.com>
15192
15193 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
15194 (bookmark-jump-other-window): Just invoke bookmark-jump with new
15195 argument now, so the two function's behaviors will match. (Bug#3645)
15196
15197 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
15198
15199 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
15200 (tramp-file-name-real-host, tramp-file-name-port):
15201 Apply `save-match-data'.
15202
15203 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
15204 case both directories are remote.
15205 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
15206 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
15207
15208 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
15209
15210 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
15211
15212 2009-10-07 Glenn Morris <rgm@gnu.org>
15213
15214 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
15215 of concat.
15216
15217 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
15218
15219 * files-x.el (read-file-local-variable): Include some
15220 non-user-variables in the completion table (bug#4664).
15221
15222 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
15223
15224 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
15225 message.
15226
15227 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
15228 (tramp-smb-file-name-handler-alist): Add handler for
15229 `copy-directory', `expand-file-name', `set-file-modes'.
15230 (tramp-smb-handle-copy-directory)
15231 (tramp-smb-handle-expand-file-name)
15232 (tramp-smb-handle-set-file-modes): New defuns.
15233 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
15234 (tramp-smb-handle-file-attributes): Simplify check for retrieving
15235 entry.
15236 (tramp-smb-handle-insert-directory): Don't flush the cache.
15237 (tramp-smb-maybe-open-connection): Check for samba client and
15238 server versions.
15239
15240 2009-10-07 Eli Zaretskii <eliz@gnu.org>
15241
15242 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
15243 to not error out of search for "^lisp=" fails.
15244
15245 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
15246
15247 * makefile.w32-in (WINS_UPDATES): New macro.
15248 (custom-deps, finder-data, autoloads): Use it.
15249
15250 2009-10-07 Glenn Morris <rgm@gnu.org>
15251
15252 * Makefile.in (autoloads): Revert previous change.
15253 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
15254 the list of preloaded files passed on the command-line, get
15255 it from src/Makefile.
15256
15257 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
15258 show the original buffer rather than a random one.
15259
15260 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
15261
15262 * help.el (describe-no-warranty): Place point in a slightly better
15263 position in the GPLv3 text.
15264
15265 2009-10-06 Sam Steingold <sds@gnu.org>
15266
15267 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
15268 the comm attribute is present before calling regexp-quote.
15269
15270 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
15271
15272 * play/animate.el (animate-string): For good effect, make sure
15273 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
15274
15275 * play/animate.el (animate-sequence, animate-birthday-present):
15276 * misc.el (butterfly): Don't set `indent-tabs-mode'.
15277
15278 2009-10-06 Glenn Morris <rgm@gnu.org>
15279
15280 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
15281
15282 * emacs-lisp/autoload.el (autoload-excludes): New variable.
15283 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
15284 (batch-update-autoloads): Process a string value of autoload-excludes,
15285 set during the build process.
15286 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
15287
15288 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
15289 inside with-parsed... macro so that `v' is defined.
15290
15291 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
15292 * progmodes/fortran.el (fortran-end-of-block)
15293 (fortran-beginning-of-block):
15294 Also push mark in the macro case.
15295
15296 * emerge.el (emerge-show-file-name):
15297 * calc/calc.el (calc-quit):
15298 * calc/calc-misc.el (calc-big-or-small):
15299 * calc/calc-graph.el (calc-graph-view):
15300 * calc/calc-ext.el (calc-reset):
15301 * calendar/calendar.el (calendar-basic-setup):
15302 Use window-full-height-p.
15303
15304 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
15305 header we don't understand, don't insert another. (Bug#4624)
15306 If changing mime charset, insert the new one in the right place.
15307
15308 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
15309
15310 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
15311 (cal-tex-cursor-month): Correctly increment the end date for diary and
15312 holiday listing. (Bug#4626)
15313
15314 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
15315
15316 * help-fns.el (describe-function-1): Don't burp if the function is not
15317 a symbol.
15318
15319 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
15320
15321 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
15322 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
15323 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
15324 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
15325
15326 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
15327 (eieio-default-superclass): Reflow docstrings.
15328 (this, class-option-assoc, defclass, eieio-class-un-autoload)
15329 (eieio-unbind-method-implementations, defmethod)
15330 (eieio-validate-slot-value, eieio-validate-class-slot-value)
15331 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
15332 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
15333 (eieio-slot-originating-class-p, eieio-slot-name-index)
15334 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
15335 (constructor, initialize-instance, no-next-method, object-print)
15336 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
15337 Fix typos in docstrings.
15338 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
15339 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
15340 (next-method-p): Doc fixes.
15341 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
15342 Fix typos in error messages.
15343 (eieio-defmethod): Fix typo in description of generic method.
15344
15345 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
15346 (eieio-persistent-save-interactive, slot-missing):
15347 Fix typos in docstrings.
15348 (eieio-instance-inheritor-slot-boundp): Doc fix.
15349
15350 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
15351 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
15352
15353 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
15354 (eieio-custom-object-apply-reset):
15355 Fix typos in docstrings and error messages.
15356
15357 * emacs-lisp/eieio-datadebug.el (data-debug-show):
15358 Fix typo in docstring.
15359
15360 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
15361 (eieio-browse-tree): Doc fix.
15362 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
15363 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
15364 Fix typos in docstrings.
15365
15366 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
15367 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
15368 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
15369 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
15370 Reflow docstrings.
15371
15372 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
15373
15374 * vc-hg.el (log-view-vc-backend): Declare for compiler.
15375 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
15376 Set log-view-vc-backend so that diff can work.
15377
15378 * log-view.el (log-view-diff): Use vc-diff-internal instead of
15379 vc-version-diff.
15380 (vc-diff-internal): Autoload this instead of vc-version-diff.
15381
15382 2009-10-05 Eli Zaretskii <eliz@gnu.org>
15383
15384 * simple.el (eval-expression): Doc fix.
15385
15386 * progmodes/cwarn.el (cwarn-mode): Doc fix.
15387
15388 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
15389
15390 * files.el (directory-files-no-dot-files-regexp): New defconst.
15391 (delete-directory): Use it.
15392 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
15393
15394 * net/tramp.el (tramp-verbose): Fix docstring.
15395 (tramp-methods): Add recursive option to `tramp-copy-args'.
15396 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
15397 "scp1_old", "scp2_old", "rsync", "rsyncc".
15398 (tramp-default-method): Check also for `auth-source-user-or-password'.
15399 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
15400 Add handler for `copy-directory'.
15401 (tramp-handle-copy-directory): New defun.
15402 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
15403 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
15404 Optimize sent command.
15405
15406 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
15407
15408 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
15409 window if necessary.
15410
15411 * calendar/calendar.el (calendar-basic-setup): Don't call
15412 switch-to-buffer in a dedicated window.
15413
15414 2009-10-05 Karl Fogel <kfogel@red-bean.com>
15415
15416 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
15417 don't do anything related to relocating, just return nil.
15418 (bookmark-error-no-filename): New error.
15419 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
15420 bookmark has no file. Don't even attempt to handle things that
15421 are not files; the whole point of custom handlers is to keep that
15422 knowledge elsewhere anyway. Tighten some comments.
15423 (bookmark-file-or-variation-thereof): Remove now-unused function.
15424 (bookmark-location): Doc string fix.
15425 (Bug#4250)
15426
15427 2009-10-04 Karl Fogel <kfogel@red-bean.com>
15428
15429 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
15430 don't use a file dialog, because they usually don't know how to read
15431 a directory target from the user. (Bug#4230)
15432 Also, make sure the prompt can display directories as well as files.
15433
15434 2009-10-04 Karl Fogel <kfogel@red-bean.com>
15435
15436 * bookmark.el (bookmark-set, bookmark-buffer-name):
15437 Improve doc strings. (Bug#1193)
15438
15439 2009-10-04 Karl Fogel <kfogel@red-bean.com>
15440
15441 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
15442 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
15443 (bookmark-get-annotation, bookmark-set-annotation)
15444 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
15445 (bookmark-set-position, bookmark-get-front-context-string)
15446 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
15447 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
15448 (bookmark-jump-other-window, bookmark-handle-bookmark)
15449 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
15450 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
15451 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
15452 Improve doc strings to say whether bookmark can be a string or
15453 a record or both, and make other consistency and clarity fixes.
15454 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
15455 (bookmark-default-annotation-text, bookmark-yank-word)
15456 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
15457 (bookmark-import-new-list, bookmark-maybe-rename)
15458 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
15459 (bookmark-bmenu-bookmark): Give these doc strings.
15460 (bookmark-bmenu-check-position): Give this a doc string, but also
15461 add a FIXME comment about how the function may be pointless.
15462 (bookmark-default-handler): Rework doc string and change a
15463 parameter name, to clarify that this takes a bookmark record
15464 not a bookmark name.
15465 (bookmark-set): Change a parameter name to indicate its meaning,
15466 and improve the doc string a bit.
15467 (Bug#4188)
15468
15469 2009-10-04 Karl Fogel <kfogel@red-bean.com>
15470
15471 * bookmark.el (bookmark-alist): Document the new `handler' element
15472 in the param alist.
15473 (bookmark-make-record-function): Adjust documentation for above.
15474 (Bug#4193)
15475
15476 2009-10-04 Karl Fogel <kfogel@red-bean.com>
15477
15478 * info.el (Info-bookmark-make-record): Document this function.
15479 (Info-bookmark-jump): Document with a doc string, not just a comment.
15480 (Bug#4203)
15481
15482 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
15483
15484 * files.el (copy-directory): New defun.
15485
15486 * dired-aux.el (dired-copy-file-recursive): Use it.
15487
15488 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
15489
15490 * files-x.el (modify-dir-local-variable)
15491 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
15492 docstrings.
15493
15494 * recentf.el (recentf-unload-function): New function.
15495
15496 2009-10-04 Glenn Morris <rgm@gnu.org>
15497
15498 * window.el (window-full-height-p): Add doc string.
15499
15500 2009-10-04 Martin Rudalics <rudalics@gmx.at>
15501
15502 * window.el (window-full-height-p): New function. (Bug#4543)
15503
15504 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
15505
15506 * vc.el: Remove commented out code.
15507 (vc-derived-from-dir-mode): Remove, unused.
15508 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
15509
15510 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
15511
15512 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
15513 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
15514 there could be recursive loading when `default-directory' is a
15515 remote file name. (Bug#4614)
15516
15517 2009-10-03 Glenn Morris <rgm@gnu.org>
15518
15519 * calendar/calendar.el (calendar-basic-setup): Handle the case where
15520 the frame is wide.
15521 (calendar-generate-window): Test for shrinkability rather than width.
15522
15523 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
15524 reusing existing buffers, in case we happen to visit two files with the
15525 same basename. (Bug#4593)
15526
15527 2009-10-02 Eli Zaretskii <eliz@gnu.org>
15528
15529 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
15530 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
15531 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
15532 subdirs of cedet as well.
15533 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
15534
15535 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
15536
15537 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
15538 Obey advertised-signature-table.
15539
15540 * help-fns.el (help-function-arglist): Don't check
15541 advertised-signature-table.
15542 (describe-function-1): Do it here instead so it also applies to subrs.
15543
15544 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
15545
15546 * simple.el (start-file-process): Say in the doc-string, that file
15547 handlers might not support pty association, if PROGRAM is nil.
15548
15549 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
15550 HOST and USER are strings. They are nil, when there are
15551 incomplete entries in ~/.netrc, for example.
15552 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
15553 root directory ("device busy" error otherwise).
15554
15555 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
15556 Flush file properties of created directory.
15557
15558 2009-10-02 Eli Zaretskii <eliz@gnu.org>
15559
15560 * makefile.w32-in (WINS_BASIC): Remove cedet.
15561 (WINS_CEDET): Add cedet.
15562 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
15563
15564 2009-10-02 Kevin Ryde <user42@zip.com.au>
15565
15566 * net/browse-url.el (browse-url): Pass any symbol in
15567 browse-url-browser-function to `apply', since if you've mistakenly put
15568 an unbound symbol then the error is clearer. (Bug#4531)
15569
15570 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
15571
15572 * allout.el (allout-init, allout-back-to-current-heading)
15573 (allout-beginning-of-current-entry, allout-ascend-to-depth)
15574 (allout-ascend, allout-up-current-level, allout-end-of-level)
15575 (allout-previous-visible-heading, allout-forward-current-level)
15576 (allout-backward-current-level, allout-show-children):
15577 * apropos.el (apropos-describe-plist):
15578 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
15579 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
15580 * completion.el (add-completion, add-permanent-completion):
15581 * descr-text.el (describe-text-category, describe-char):
15582 * desktop.el (desktop-lazy-abort):
15583 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
15584 * dired.el (dired-build-subdir-alist):
15585 * ediff.el (ediff-version):
15586 * elide-head.el (elide-head, elide-head-show):
15587 * emerge.el (emerge-version):
15588 * env.el (getenv):
15589 * face-remap.el (variable-pitch-mode):
15590 * faces.el (describe-face):
15591 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
15592 (dired-at-point):
15593 * files.el (find-file-existing, auto-save-mode):
15594 * font-lock.el (font-lock-fontify-buffer):
15595 * help-fns.el (describe-function, describe-variable)
15596 (describe-syntax, describe-categories):
15597 * help.el (view-lossage, describe-bindings, describe-key)
15598 (describe-mode):
15599 * hexl.el (hexl-current-address):
15600 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
15601 * info.el (Info-goto-emacs-key-command-node):
15602 * log-edit.el (log-edit-insert-cvs-template)
15603 (log-edit-insert-cvs-rcstemplate):
15604 * menu-bar.el (menu-bar-mode):
15605 * mouse.el (mouse-appearance-menu):
15606 * newcomment.el (comment-indent-new-line):
15607 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
15608 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
15609 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
15610 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
15611 * recentf.el (recentf-mode):
15612 * savehist.el (savehist-mode, savehist-save):
15613 * shadowfile.el (shadow-copy-files):
15614 * simple.el (kill-ring-save, next-line, previous-line)
15615 (normal-erase-is-backspace-mode):
15616 * strokes.el (strokes-update-window-configuration)
15617 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
15618 (strokes-xpm-for-stroke):
15619 * time.el (emacs-uptime, emacs-init-time):
15620 * tutorial.el (tutorial--describe-nonstandard-key)
15621 (tutorial--detailed-help):
15622 * type-break.el (type-break-mode)
15623 (type-break-mode-line-message-mode, type-break-query-mode)
15624 (type-break-guesstimate-keystroke-threshold):
15625 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
15626 * version.el (emacs-version):
15627 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
15628 * winner.el (winner-mode):
15629 * calendar/timeclock.el (timeclock-in, timeclock-out)
15630 (timeclock-status-string, timeclock-change)
15631 (timeclock-workday-remaining-string)
15632 (timeclock-workday-elapsed-string)
15633 (timeclock-when-to-leave-string):
15634 * calendar/todo-mode.el (todo-add-category):
15635 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
15636 * emacs-lisp/autoload.el (update-file-autoloads):
15637 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
15638 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
15639 (checkdoc-message-text, checkdoc-defun):
15640 * emacs-lisp/debug.el (debugger-list-functions):
15641 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
15642 * emacs-lisp/eieio-opt.el (eieio-describe-class)
15643 (eieio-describe-generic):
15644 * emacs-lisp/lisp-mnt.el (lm-synopsis):
15645 * emacs-lisp/shadow.el (list-load-path-shadows):
15646 * emulation/cua-base.el (cua-mode):
15647 * emulation/edt.el (edt-set-scroll-margins):
15648 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
15649 (tpu-toggle-regexp, tpu-toggle-search-direction)
15650 (tpu-toggle-rectangle, tpu-toggle-control-keys):
15651 * emulation/tpu-extras.el (tpu-set-scroll-margins):
15652 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
15653 (viper-set-parsing-style-toggling-macro)
15654 (viper-set-emacs-state-searchstyle-macros):
15655 * emulation/viper.el (viper-set-hooks):
15656 * eshell/esh-mode.el (eshell-truncate-buffer):
15657 * international/mule-cmds.el (prefer-coding-system)
15658 (describe-input-method, describe-language-environment):
15659 * international/mule-diag.el (list-character-sets)
15660 (describe-character-set, describe-coding-system)
15661 (describe-fontset, list-fontsets, list-input-methods):
15662 * mail/sendmail.el (mail-signature):
15663 * net/ange-ftp.el (ange-ftp-copy-file):
15664 * net/browse-url.el (browse-url):
15665 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
15666 * net/quickurl.el (quickurl-add-url):
15667 * net/rcirc.el (names, topic):
15668 * net/xesam.el (xesam-mode):
15669 * play/5x5.el (5x5-new-game):
15670 * play/yow.el (apropos-zippy):
15671 * progmodes/ada-mode.el (ada-mode-version):
15672 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
15673 (f90-end-of-block)
15674 (f90-beginning-of-block):
15675 * progmodes/fortran.el (fortran-end-of-block)
15676 (fortran-beginning-of-block):
15677 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
15678 * progmodes/python.el (python-describe-symbol, python-shell):
15679 * term/ns-win.el (ns-print-buffer):
15680 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
15681 * textmodes/flyspell.el (flyspell-mode-on):
15682 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
15683 (pages-directory-for-addresses):
15684 * textmodes/table.el (table-recognize-cell)
15685 (table-query-dimension, table-generate-source)
15686 (table-insert-sequence, table--warn-incompatibility):
15687 * textmodes/tex-mode.el (tex-validate-buffer):
15688 * textmodes/texinfmt.el (texinfmt-version)
15689 (texinfo-format-buffer):
15690 Use `called-interactively-p' instead of `interactive-p'.
15691
15692 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
15693
15694 * image-mode.el (image-toggle-display):
15695 * emacs-lisp/elp.el (elp-instrument-function):
15696 * emacs-lisp/advice.el (ad-make-advised-definition):
15697 * emacs-lisp/easy-mmode.el (define-minor-mode):
15698 * net/browse-url.el (browse-url-maybe-new-window):
15699 * progmodes/sh-script.el (sh-learn-buffer-indent):
15700 Pass new argument 'any to `called-interactively-p'.
15701
15702 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
15703
15704 * international/uni-bidi.el:
15705 * international/uni-category.el:
15706 * international/uni-combining.el:
15707 * international/uni-comment.el:
15708 * international/uni-decimal.el:
15709 * international/uni-decomposition.el:
15710 * international/uni-digit.el:
15711 * international/uni-lowercase.el:
15712 * international/uni-mirrored.el:
15713 * international/uni-name.el:
15714 * international/uni-numeric.el:
15715 * international/uni-old-name.el:
15716 * international/uni-titlecase.el:
15717 * international/uni-uppercase.el:
15718 Regenerate from Unicode 5.2.0 data.
15719
15720 2009-10-01 Glenn Morris <rgm@gnu.org>
15721
15722 * Makefile.in (ELCFILES): Regenerate.
15723
15724 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
15725
15726 * subr.el (interactive-p): Mark obsolete.
15727 (called-interactively-p): Make the optional-ness of `kind' obsolete.
15728 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
15729 advertised-signature-table for subroutines as well.
15730
15731 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
15732 (set-advertised-calling-convention): New function.
15733 (make-obsolete, define-obsolete-function-alias)
15734 (make-obsolete-variable, define-obsolete-variable-alias):
15735 Make the optional-ness of `when' obsolete.
15736 (define-obsolete-face-alias): Make `when' non-optional.
15737 * help-fns.el (help-function-arglist):
15738 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
15739 Use advertised-signature-table.
15740
15741 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
15742
15743 * files.el (delete-directory): New defun. The original function
15744 in fileio.c has been renamed to `delete-directory-internal'.
15745
15746 * dired.el (dired-delete-file): Call `delete-directory' with
15747 RECURSIVE parameter.
15748
15749 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
15750 parameter RECURSIVE. Implementation is missing.
15751
15752 * net/tramp.el (tramp-handle-make-directory): Flush upper
15753 directory's file properties.
15754 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
15755 (tramp-handle-dired-recursive-delete-directory): Flush directory
15756 properties after the remove command only.
15757
15758 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
15759 Handle optional parameter RECURSIVE.
15760
15761 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
15762 Handle optional parameter RECURSIVE.
15763
15764 * net/tramp-smb.el (tramp-smb-errors): Add error message for
15765 connection timeout.
15766 (tramp-smb-handle-delete-directory): Handle optional parameter
15767 RECURSIVE.
15768
15769 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
15770
15771 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
15772 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
15773 (byte-compile-defmacro): Use backquotes.
15774
15775 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
15776
15777 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
15778 has no associated file.
15779 (vc-resynch-buffer): Use vc-dir-buffers.
15780
15781 2009-10-01 Glenn Morris <rgm@gnu.org>
15782
15783 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
15784 (chart-file-count):
15785 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
15786 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
15787 * emacs-lisp/eieio-opt.el (eieio-describe-class):
15788 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
15789 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
15790 (eieio-copy-parents-into-subclass, make-instance, class-children)
15791 (eieio-generic-form):
15792
15793 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
15794 match-data. (Bug#4555).
15795
15796 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
15797 rather than parsing it as a regexp. This relaxes the layout
15798 requirements and makes errors easier to detect.
15799 (check-declare-verify): Check file is regular.
15800 (check-declare-directory): Doc fix.
15801 * subr.el (declare-function): Doc fix.
15802
15803 * ibuffer.el (ibuffer-format-qualifier):
15804 * isearch.el (hi-lock-regexp-okay):
15805 * calc/calc.el (math-zerop):
15806 * mail/uce.el (rmail-msgbeg, rmail-msgend):
15807 * term/w32-win.el (setup-default-fontset, set-fontset-font):
15808 Remove unused declarations.
15809
15810 2009-09-30 Eric Ludlam <zappo@gnu.org>
15811
15812 * emacs-lisp/eieio.el (boolean-p): Delete.
15813
15814 2009-09-30 Glenn Morris <rgm@gnu.org>
15815
15816 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
15817
15818 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
15819 filename is not a string.
15820
15821 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
15822
15823 * files.el (safe-local-eval-forms): Fix typo.
15824
15825 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
15826
15827 * vc-hooks.el (vc-dir-buffers): New var.
15828 (vc-state-refresh): New function.
15829 (vc-state): Use it.
15830 (vc-after-save): Always ask the backend to recompute the new state.
15831 Always call vc-dir if necessary, using vc-dir-buffers.
15832 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
15833 Use vc-dir-buffers.
15834 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
15835 (vc-dir-prepare-status-buffer, vc-dir-update)
15836 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
15837 Don't call expand-file-name on default-directory.
15838
15839 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
15840
15841 * speedbar.el (speedbar-item-delete):
15842 * calc/calc-prog.el (calc-kbd-if):
15843 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
15844
15845 * epa.el (epa-key-list-mode-map):
15846 * hi-lock.el (hi-lock-menu): Fix typos in menus.
15847
15848 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
15849 (hs-show-hook): Fix typo in docstring.
15850
15851 2009-09-29 Glenn Morris <rgm@gnu.org>
15852
15853 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
15854 file-name-nondirectory call preventing location of cedet files.
15855 (check-declare-verify): Use literal search rather than re-search.
15856 Add basic defmethod and defclass, and define-overloadable-function.
15857
15858 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
15859 Use tramp-compat-file-attributes rather than nonexistent
15860 tramp-compat-handle-file-attributes.
15861
15862 * Makefile.in (lisptagsfiles4): New.
15863 (AUTOGENEL): Add cedet loaddefs files.
15864 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
15865 (update-elclist, compile-always, backup-compiled-files)
15866 (bootstrap-clean): Add yet another directory level.
15867 (update-elclist): Use LC_COLLATE rather than COLLATE.
15868 (ELCFILES): Update, via `make update-elclist'.
15869
15870 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
15871
15872 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
15873 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
15874 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
15875
15876 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
15877
15878 * Makefile.in (lisptagsfiles3): Define.
15879 (TAGS, TAGS-LISP): Use it.
15880 (update-elclist): Add third directory level to look for elc files.
15881 (compile-always): Likewise.
15882 (backup-compiled-files): Likewise.
15883 (bootstrap-clean): Likewise.
15884 (ELCFILES): Update.
15885
15886 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
15887
15888 * Makefile.in (ELCFILES): Add CEDET files.
15889
15890 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
15891
15892 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
15893
15894 * net/tramp.el (top): Require tramp-imap.
15895
15896 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
15897 Use `tramp-compat-handle-file-attributes'.
15898
15899 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
15900
15901 * net/tramp-imap.el: New package.
15902
15903 2009-09-28 Eric Ludlam <zappo@gnu.org>
15904
15905 * emacs-lisp/chart.el:
15906 * emacs-lisp/eieio-base.el:
15907 * emacs-lisp/eieio-comp.el:
15908 * emacs-lisp/eieio-custom.el:
15909 * emacs-lisp/eieio-datadebug.el:
15910 * emacs-lisp/eieio-opt.el:
15911 * emacs-lisp/eieio-speedbar.el:
15912 * emacs-lisp/eieio.el: New files.
15913
15914 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15915
15916 * whitespace.el (whitespace-trailing-regexp)
15917 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
15918 Fix doc string.
15919
15920 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
15921
15922 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
15923 menu.
15924
15925 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
15926 menu-bar-ediff-menu.
15927
15928 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
15929 define-overloadable-function.
15930
15931 * progmodes/autoconf.el: Provide autoconf as well, so that this
15932 file can be `require'd.
15933
15934 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
15935
15936 * emacs-lisp/autoload.el (generated-autoload-feature)
15937 (generated-autoload-load-name): New vars.
15938 (autoload-rubric, autoload-generate-file-autoloads): Use them.
15939 (make-autoload): Recognize define-overloadable-function and
15940 defclass forms (for EIEIO).
15941
15942 * Makefile.in (update-subdirs): Exclude cedet directory.
15943
15944 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
15945
15946 * term/ns-win.el: Don't set the region face background. (Bug#4381)
15947
15948 * faces.el: Default light-background background for region face to
15949 ns_selection_color under NS.
15950
15951 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
15952
15953 * net/imap-hash.el: New library, see NEWS.
15954
15955 * Makefile.in (ELCFILES): Add imap-hash.el.
15956
15957 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
15958
15959 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
15960 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
15961 * help-macro.el (make-help-screen): Avoid using an ambiguous function
15962 definition where the docstring could be taken for the return value.
15963
15964 2009-09-26 Glenn Morris <rgm@gnu.org>
15965
15966 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
15967 Add option to only show images below a certain size.
15968 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
15969 save-excursion calls.
15970
15971 2009-09-26 Eli Zaretskii <eliz@gnu.org>
15972
15973 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
15974 subdirectories) and eieio.
15975
15976 2009-09-26 Alan Mackenzie <acm@muc.de>
15977
15978 * progmodes/cc-engine.el (c-beginning-of-statement-1):
15979 Correct buggy bracketing. (Bug#4289)
15980
15981 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
15982 character constants (as case labels). (Bug#4289)
15983
15984 2009-09-25 Juri Linkov <juri@jurta.org>
15985
15986 * files.el (safe-local-eval-forms): Allow time-stamp in
15987 before-save-hook (Bug#4554).
15988
15989 2009-09-25 Drew Adams <drew.adams@oracle.com>
15990
15991 * menu-bar.el (list-buffers-directory): Doc fix.
15992
15993 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
15994
15995 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
15996 Try and avoid copying twice the same paragraph.
15997 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
15998 Remove save-excursion.
15999 (log-edit-changelog-entry): Do it here instead.
16000
16001 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
16002
16003 * bs.el (bs--get-file-name): Use `list-buffers-directory'
16004 when available, instead of hardcoding mode names. Doc fix.
16005
16006 * menu-bar.el (list-buffers-directory): Add docstring.
16007 Make automatically buffer-local.
16008
16009 * dired.el (dired-mode):
16010 * files.el (cd-absolute):
16011 * pcvs.el (cvs-temp-buffer):
16012 * pcvs-util.el (cvs-get-buffer-create):
16013 * shell.el (shell-mode):
16014 * vc-dir.el (vc-dir-mode):
16015 Don't make `list-buffers-directory' buffer local.
16016
16017 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
16018
16019 * comint.el (comint-exec, comint-run, make-comint):
16020 Doc fixes (Bug#4542).
16021
16022 2009-09-25 Glenn Morris <rgm@gnu.org>
16023
16024 * mail/rmailmm.el (rmail-mime): New custom group.
16025 Move all defcustoms in this file into this group.
16026 (rmail-mime-media-type-handlers-alist): Revert previous change.
16027 (rmail-mime-show-images): New option.
16028 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
16029 references to it, since it wasn't actually used for anything.
16030 (rmail-mime-insert-image): New function.
16031 (rmail-mime-image): Use rmail-mime-insert-image.
16032 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
16033 obey the value of `rmail-mime-show-images' option. Print the size of
16034 attachments.
16035
16036 2009-09-25 David Engster <deng@randomsample.de>
16037
16038 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
16039
16040 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16041
16042 * whitespace.el: Does not highlight trailing spaces While point is
16043 at end of line. Does not highligt spaces at beginning of buffer
16044 while point is at beginning of buffer. Does not highlight spaces
16045 at end of buffer while point is at end of buffer. (Bug#4177)
16046 New version 12.0.
16047 (whitespace-display-mappings): Adjust initialization.
16048 (whitespace-point, whitespace-font-lock-refontify): New vars.
16049 (whitespace-color-on, whitespace-color-off): Adjust code.
16050 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
16051 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
16052 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
16053
16054 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
16055
16056 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
16057
16058 * textmodes/sgml-mode.el: Remove xml-mode alias.
16059
16060 * files.el (auto-mode-alist, conf-mode-maybe)
16061 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
16062
16063 2009-09-24 Alan Mackenzie <acm@muc.de>
16064
16065 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
16066 c-forward-conditionals, but it doesn't move point and doesn't set
16067 the mark.
16068 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
16069 (c-down-conditional-with-else, c-backward-conditional)
16070 (c-forward-conditional): Refactor to use c-scan-conditionals.
16071
16072 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
16073
16074 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
16075 (help-default-arg-highlight): Remove.
16076 (help-highlight-arg): New function.
16077 (help-do-arg-highlight): Use it.
16078 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
16079
16080 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
16081
16082 * term.el (term-set-scroll-region, term-handle-ansi-escape):
16083 Undo last change, which didn't fix the problem and introduced others.
16084
16085 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
16086
16087 * progmodes/gdb-mi.el: Don't require speedbar.
16088 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
16089
16090 2009-09-24 Glenn Morris <rgm@gnu.org>
16091
16092 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
16093
16094 * term/ns-win.el (ns-reg-to-script): Define for compiler.
16095
16096 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
16097 there is no newline after the final mime boundary. (Bug#4539)
16098 Move markers on insertion so that any buttons inserted don't end up in
16099 the next part of a multipart message.
16100 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
16101 (rmail-mime-bulk-handler): Optionally handle images.
16102 (rmail-mime-image): New button action.
16103 (rmail-mime-image-handler): New function.
16104 (rmail-mime-mode): New mode.
16105 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
16106
16107 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
16108
16109 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
16110 than just dropping elements from it (bug#4504).
16111
16112 * term.el (term-set-scroll-region): Don't move cursor any more.
16113 (term-handle-ansi-escape): Call term-goto here instead.
16114 Suggested by Ivan Kanis <apple@kanis.eu>.
16115
16116 * term.el: Require CL.
16117 (term-ansi-reset): New function.
16118 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
16119 (term-handle-colors-array): Simplify.
16120
16121 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
16122
16123 * allout.el (allout-overlay-interior-modification-handler)
16124 (allout-obtain-passphrase):
16125 * epa-file.el (epa-file-write-region):
16126 * ps-print.el (ps-begin-job):
16127 * vc-hooks.el (vc-toggle-read-only):
16128 * vc-rcs.el (vc-rcs-rollback):
16129 * vc-sccs.el (vc-sccs-rollback):
16130 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
16131 (vc-version-diff, vc-revert, vc-rollback):
16132 * wdired.el (wdired-check-kill-buffer):
16133 * emacs-lisp/authors.el (authors):
16134 * net/socks.el (socks-open-connection):
16135 * net/zeroconf.el (zeroconf-service-add-hook):
16136 * obsolete/vc-mcvs.el (vc-mcvs-register):
16137 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
16138 (gdb-select-frame):
16139 * progmodes/grep.el (lgrep, rgrep):
16140 * progmodes/idlw-help.el (idlwave-help-check-locations)
16141 (idlwave-help-html-link, idlwave-help-assistant-open-link):
16142 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
16143 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
16144 (reftex-toc-rename-label): Fix typos in error messages.
16145
16146 * dired-aux.el (dired-do-shell-command): Reflow docstring.
16147 (dired-copy-how-to-fn): Doc fix.
16148 (dired-files-attributes, dired-read-shell-command):
16149 Fix typos in docstrings.
16150
16151 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
16152 (dired-x-find-file-other-window): Reflow docstrings.
16153 (dired-omit-marker-char, dired-read-shell-command)
16154 (dired-x-submit-report): Fix typos in docstrings.
16155
16156 * shell.el (shell-mode-hook):
16157 * view.el (View-scroll-line-forward):
16158 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
16159 Fix typos in docstrings.
16160
16161 * net/dig.el (dig-invoke): Fix typo in docstring.
16162 (query-dig): Reflow docstring.
16163
16164 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
16165 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
16166 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
16167 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
16168 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
16169 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
16170 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
16171 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
16172 (idlwave-completion-map, idlwave-current-indent)
16173 (idlwave-custom-ampersand-surround, idlwave-customize)
16174 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
16175 (idlwave-define-abbrev, idlwave-determine-class-special)
16176 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
16177 (idlwave-end-block-reg, idlwave-end-of-statement)
16178 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
16179 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
16180 (idlwave-explicit-class-listed, idlwave-file-header)
16181 (idlwave-fill-paragraph, idlwave-find-class-definition)
16182 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
16183 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
16184 (idlwave-in-quote, idlwave-indent-action-table)
16185 (idlwave-indent-expand-table, idlwave-indent-line)
16186 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
16187 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
16188 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
16189 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
16190 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
16191 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
16192 (idlwave-outlawed-buffers, idlwave-popup-select)
16193 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
16194 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
16195 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
16196 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
16197 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
16198 (idlwave-statement-type, idlwave-struct-skip)
16199 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
16200 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
16201 (idlwave-what-module-find-class): Fix typos in docstrings.
16202 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
16203 (idlwave-calculate-cont-indent, idlwave-expand-equal)
16204 (idlwave-find-module, idlwave-find-structure-definition)
16205 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
16206 (idlwave-list-load-path-shadows, idlwave-next-statement)
16207 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
16208 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
16209 (idlwave-template): Reflow docstrings.
16210
16211 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
16212 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
16213 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
16214 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
16215 (idlwave-shell-display-line, idlwave-shell-display-wframe)
16216 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
16217 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
16218 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
16219 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
16220 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
16221 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
16222 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
16223 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
16224 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
16225 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
16226 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
16227 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
16228 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
16229 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
16230 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
16231 Fix typos in docstrings.
16232 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
16233 (idlwave-shell-hide-output, idlwave-shell-mode)
16234 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
16235 Reflow docstrings.
16236
16237 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
16238
16239 2009-09-24 Ivan Kanis <apple@kanis.eu>
16240
16241 * term.el (term-bold-attribute): New var.
16242 (term-handle-colors-array): Use it.
16243
16244 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
16245
16246 * progmodes/gdb-mi.el (gdb-version): New variable.
16247 (gdb-non-stop-handler): Set gdb-version.
16248 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
16249 Condition "--thread" option on gdb-version.
16250 (gdb-invalidate-threads): Remove unused argument.
16251
16252 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
16253
16254 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
16255 to looking-back to avoid ridiculous slow down in large files (bug#4511).
16256
16257 2009-09-23 Glenn Morris <rgm@gnu.org>
16258
16259 * mail/rmail.el (rmail-reply): Don't try to add a References header when
16260 replying to mail without References or Message-Id. (Bug#4525)
16261
16262 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
16263
16264 * term/ns-win.el (ns-reg-to-script): New variable.
16265
16266 2009-09-23 Daiki Ueno <ueno@unixuser.org>
16267
16268 * epg.el (epg-wait-for-status): Preserve existing 'error results.
16269
16270 2009-09-22 Sam Steingold <sds@gnu.org>
16271
16272 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
16273 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
16274 to 1 because hg returns status 1 when nothing is found.
16275 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
16276
16277 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
16278
16279 * textmodes/fill.el: Convert to utf-8 encoding.
16280 (fill-french-nobreak-p): Remove redundant » and « inherited from our
16281 pre-Unicode days.
16282
16283 * add-log.el (change-log-fill-forward-paragraph): New function.
16284 (change-log-mode): Use it so fill-region DTRT.
16285 Set fill-indent-according-to-mode here rather than in
16286 change-log-fill-paragraph.
16287 (change-log-fill-paragraph): Remove.
16288
16289 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
16290
16291 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
16292 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
16293
16294 2009-09-22 Glenn Morris <rgm@gnu.org>
16295
16296 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
16297 the scroll-bar scroll the calendar window rather than the buffer.
16298
16299 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
16300 commands that move point (as opposed to scrolling).
16301
16302 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
16303
16304 * emacs-lisp/elint.el (elint): New custom group.
16305 (elint-log-buffer): Make it a defcustom.
16306 (elint-scan-preloaded, elint-ignored-warnings)
16307 (elint-directory-skip-re): New options.
16308 (elint-builtin-variables): Doc fix.
16309 (elint-preloaded-env): New variable.
16310 (elint-unknown-builtin-args): Add an entry for encode-time.
16311 (elint-extra-errors): Make it a variable rather than a constant.
16312 (elint-preloaded-skip-re): New constant.
16313 (elint-directory): Skip files matching elint-directory-skip-re.
16314 (elint-features): New variable, local to linted buffers.
16315 (elint-update-env): Initialize elint-features. Possibly add
16316 elint-preloaded-env to the buffer's environment.
16317 (elint-get-top-forms): Bind elint-current-pos, for log messages.
16318 Skip quoted forms.
16319 (elint-init-form): New function, extracted from elint-init-env.
16320 Make non-list forms a warning rather than an error.
16321 Add the mode-map for define-derived-mode. Handle define-minor-mode,
16322 easy-menu-define, put that adds an error-condition, and provide.
16323 When requiring cl, also require cl-macs. Really require cl, to handle
16324 some cl macros. Store required libraries in the list elint-features,
16325 so as not to re-load them. Treat cc-require like require.
16326 (elint-init-env): Call elint-init-form to do the work.
16327 Handle eval-and-compile and such like.
16328 (elint-add-required-env): Do not clear messages.
16329 (elint-special-forms): Add handlers for function, defalias, if, when,
16330 unless, and, or.
16331 (elint-form): Add optional argument to ignore elint-special-forms,
16332 useful to prevent recursive calls from handlers. Doc fix.
16333 Respect elint-ignored-warnings.
16334 (elint-form): Respect elint-ignored-warnings.
16335 (elint-bound-variable, elint-bound-function): New variables.
16336 (elint-unbound-variable): Respect elint-bound-variable.
16337 (elint-get-args): Respect elint-bound-function.
16338 (elint-check-cond-form): Add some simple handling for (f)boundp and
16339 featurep tests.
16340 (elint-check-defalias-form): New handler.
16341 (elint-check-let-form): Make an empty let a warning rather than an
16342 error.
16343 (elint-check-setq-form): Make an empty setq a warning rather than an
16344 error. Respect elint-ignored-warnings.
16345 (elint-check-defvar-form): Accept null doc-strings.
16346 (elint-check-conditional-form): New handler. Does some simple-minded
16347 checking of featurep and (f)boundp tests.
16348 (elint-put-function-args): New function.
16349 (elint-initialize): Use elint-scan-doc-file rather than
16350 elint-find-builtin-variables. Use elint-put-function-args.
16351 Possibly scan preloaded-file-list.
16352 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
16353 extend to handle functions as well.
16354
16355 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
16356
16357 * linum.el (linum-delete-overlays, linum-update-window):
16358 Do not modify the right margin. (Bug#3971)
16359
16360 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
16361
16362 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
16363 Use nxml-mode instead of xml-mode.
16364
16365 2009-09-21 Kevin Ryde <user42@zip.com.au>
16366
16367 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
16368
16369 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
16370
16371 * net/dig.el (dig-mode): Use define-derived-mode.
16372
16373 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
16374
16375 * vc-dispatcher.el (vc-do-command): Return the process object in
16376 the asynchronous case. Use when instead of if. Do not run
16377 vc-exec-after to display a message if not enabled. (Bug#4463)
16378
16379 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
16380 properties to the stash strings.
16381 (vc-git-stash-list): Return a list of strings.
16382 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
16383 (vc-git-stash-show-at-point): New functions.
16384 (vc-git-stash-map): New keymap.
16385
16386 * register.el (ctl-x-r-map): Define the keys here instead of
16387 using autoload.
16388
16389 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
16390
16391 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
16392 list, to workaround performance problem (bug#4485).
16393
16394 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
16395
16396 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
16397
16398 2009-09-20 Daiki Ueno <ueno@unixuser.org>
16399
16400 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
16401 Document that this option is not recommended to use.
16402
16403 2009-09-19 Glenn Morris <rgm@gnu.org>
16404
16405 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
16406 variable `var'.
16407
16408 * calc/calc-alg.el (var):
16409 * calc/calcalg2.el (var): Define for compiler.
16410
16411 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
16412
16413 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
16414 Doc fix (Bug#3932).
16415
16416 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
16417
16418 * time-stamp.el (time-stamp-month-dd-yyyy)
16419 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
16420 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
16421 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
16422 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
16423 Remove functions that have been obsolete since 1995 (Bug#4436).
16424
16425 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
16426 indent buffer only if called interactively (Bug#4452).
16427
16428 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
16429 Eli Zaretskii <eliz@gnu.org>
16430
16431 This fixes bug#4197 (merged to bug#865, though not identical).
16432 * server.el (server-auth-dir): Add docstring note about FAT32.
16433 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
16434 but warn against using them.
16435
16436 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
16437
16438 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
16439 older GDB where there is no has_more field.
16440
16441 2009-09-19 Glenn Morris <rgm@gnu.org>
16442
16443 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
16444
16445 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
16446
16447 * files.el (auto-mode-alist): Change default for XML files to nXML
16448 mode (Bug#4169).
16449
16450 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
16451
16452 * server.el (server-ensure-safe-dir): Pass 'integer
16453 to `file-attributes', as suggested.
16454
16455 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
16456
16457 * dired-aux.el (dired-query-alist): Remove spurious backslash.
16458 (dired-query): Use read-key.
16459
16460 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
16461
16462 * cus-start.el (ns-use-qd-smoothing): Remove.
16463
16464 2009-09-18 Glenn Morris <rgm@gnu.org>
16465
16466 * allout.el (top-level): Remove unnecessary progn.
16467
16468 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
16469
16470 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
16471 definition of abbrev table.
16472
16473 * speedbar.el (speedbar-track-mouse):
16474 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
16475 * net/eudc.el (eudc-expand-inline):
16476 * net/newst-backend.el (newsticker--cache-read-feed):
16477 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
16478 condition-case handlers.
16479
16480 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
16481
16482 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
16483 (gdb-var-list): Add an element for has_more field.
16484 (gdb-non-stop-handler): Enable pretty printing for STL containers.
16485 (gdb-var-create-handler, gdb-var-list-children-handler-1)
16486 (gdb-var-update-handler-1): Parse output of dynamic variable
16487 objects (STL containers).
16488 (gdb-var-delete-1): Pass var1 as an explicit second argument.
16489 (gdb-get-field): Delete alias. Use bindat-get-field directly.
16490
16491 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
16492 gdb-var-list.
16493 (gud-speedbar-buttons): Make node expandable if expression "has more"
16494 children.
16495
16496 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
16497
16498 * startup.el (emacs-quick-startup): Remove variable and all uses.
16499 (command-line): Set `inhibit-x-resources' instead.
16500 (command-line-1): Use `inhibit-x-resources' instead.
16501
16502 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
16503
16504 * subr.el: Fix last change to avoid using the `unless' macro,
16505 which breaks bootstrapping.
16506
16507 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
16508
16509 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
16510 extended definitions, in case we reload subr.el after having
16511 loaded CL.
16512 (eval-next-after-load): Mark as obsolete.
16513
16514 2009-09-17 Juri Linkov <juri@jurta.org>
16515
16516 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
16517 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
16518 (menu-bar-showhide-menu, menu-bar-tools-menu)
16519 (menu-bar-describe-menu, menu-bar-help-menu)
16520 (minibuffer-local-completion-map, minibuffer-local-map):
16521 Fix list quoting.
16522
16523 2009-09-17 Glenn Morris <rgm@gnu.org>
16524
16525 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
16526 arguments, whether or not it has a handler.
16527
16528 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
16529
16530 * simple.el (hard-newline): Give it a doc-string.
16531
16532 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
16533 (lisp-mode-syntax-table): Give them doc-strings.
16534
16535 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
16536
16537 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
16538 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
16539 (menu-bar-options-menu, menu-bar-showhide-menu)
16540 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
16541 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
16542 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
16543 (menu-bar-options-menu, menu-bar-tools-menu)
16544 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
16545 (menu-bar-help-menu):
16546 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
16547 string arguments.
16548
16549 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
16550 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
16551 calls for the menu names and :help.
16552
16553 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
16554
16555 * mouse.el (minor-mode-menu-from-indicator): Pay attention
16556 to :minor-mode-function (bug#4455).
16557
16558 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
16559
16560 * startup.el (command-line): Initialize the window-system after
16561 processing the command-line.
16562
16563 * textmodes/page.el (what-page): Make sure we don't inf-loop if
16564 page-delimiter matches the empty string.
16565
16566 2009-09-16 Glenn Morris <rgm@gnu.org>
16567
16568 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
16569 byte-compile-not-obsolete-var. It's a list now.
16570 (byte-compile-not-obsolete-funcs): New variable.
16571 (byte-compile-warn-obsolete): Don't warn about functions if they are in
16572 byte-compile-not-obsolete-funcs.
16573 (byte-compile-variable-ref, byte-compile-defvar): Update for
16574 byte-compile-not-obsolete-vars name-change and list nature.
16575 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
16576 and variables behind (f)boundp tests.
16577 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
16578
16579 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
16580
16581 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
16582
16583 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
16584
16585 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
16586 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
16587 Don't autoload.
16588
16589 2009-09-15 Stephen Eglen <stephen@gnu.org>
16590
16591 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
16592 the virtual-buffers, use the name of the buffer specified by
16593 find-file-noselect, as the match may be a symlink. (This was a
16594 problem if the target and the symlink had different names.)
16595
16596 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
16597
16598 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
16599
16600 * desktop.el (desktop-path): Check user-emacs-directory.
16601
16602 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
16603
16604 * loadup.el: Use after-load-functions to GC after loading each file.
16605 Remove the explicit GC calls that used to be sprinkled around.
16606
16607 * subr.el (after-load-functions): New hook.
16608 (do-after-load-evaluation): Run it. Use string-match-p to detect
16609 `obsolete' packages, rather than painfully extracting the relevant
16610 directory name.
16611
16612 2009-09-15 Glenn Morris <rgm@gnu.org>
16613
16614 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
16615 free variable `doc'.
16616
16617 * dired.el (dired-mode-map): Add menu entry for async shell command.
16618
16619 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
16620 variables, also consider the .elc files, since the .el files are
16621 normally gzipped (subsequent code locates the .el.gz from the .elc).
16622
16623 * calc/calc-prog.el (arglist): Define for compiler.
16624
16625 * calendar/diary-lib.el (diary-display-function): Change the default to
16626 fancy display.
16627 (body): Define for compiler.
16628
16629 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
16630 (byte-compile-file-form, byte-compile-lambda)
16631 (byte-compile-top-level-body, byte-compile-form)
16632 (byte-compile-variable-ref, byte-compile-setq)
16633 (byte-compile-setq-default, byte-compile-body)
16634 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
16635 (batch-byte-compile): Give some more local variables with common names
16636 a "bytecomp-" prefix to avoid masking warnings about free variables.
16637
16638 * startup.el (command-line-1): Give local variables with common names a
16639 distinguishing prefix, so as not to hide free variable warnings during
16640 bootstrap.
16641
16642 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
16643 clever and add a suffix to make a unique name, just let the user decide
16644 whether or not to overwrite it. If the input is a directory, write the
16645 default filename to that directory. (Bug#4388)
16646 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
16647 is a filename-as-a-directory.
16648
16649 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
16650
16651 * textmodes/page.el (what-page): Don't move to beginning of line.
16652 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
16653
16654 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
16655
16656 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
16657
16658 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
16659
16660 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
16661 * help.el (help-for-help-internal): Add purecopy calls for text.
16662
16663 * vc.el (top): print-log method now takes an optional SHORTLOG
16664 argument. Add a new method: root.
16665 (vc-root-diff, vc-print-root-log): New functions.
16666 (vc-log-short-style): New variable.
16667 (vc-print-log-internal): Add support for showing short logs.
16668
16669 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
16670 vc-print-root-log and vc-print-root-diff.
16671
16672 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
16673 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
16674 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
16675 short logs.
16676
16677 * vc-cvs.el (vc-cvs-print-log):
16678 * vc-mtn.el (vc-mtn-print-log):
16679 * vc-rcs.el (vc-rcs-print-log):
16680 * vc-sccs.el (vc-sccs-print-log):
16681 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
16682 that is ignored for now.
16683
16684 * vc-mtn.el (vc-mtn-annotate-command):
16685 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
16686
16687 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
16688
16689 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
16690 to function-key-map, and give them ascii-character property.
16691 * term/x-win.el (x-alternatives-map):
16692 * term/ns-win.el (ns-alternatives-map):
16693 * term/internal.el (msdos-key-remapping-map):
16694 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
16695
16696 2009-09-14 Glenn Morris <rgm@gnu.org>
16697
16698 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
16699 temp-buffers (2009-09-12).
16700
16701 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
16702
16703 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
16704 the new read-key function.
16705
16706 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
16707
16708 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
16709 is defined (Bug#4405).
16710
16711 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
16712
16713 * recentf.el (recentf-cleanup): Use a hash table to find
16714 duplicates (Bug#4407).
16715
16716 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
16717
16718 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
16719 kp-0 to ascii equivalents (Bug#4325).
16720
16721 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
16722
16723 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
16724
16725 * eshell/em-hist.el:
16726 * eshell/em-dirs.el (eshell-complete-user-reference):
16727 Declare pcomplete functions and variables to avoid compiler warnings.
16728
16729 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
16730
16731 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
16732 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
16733 * eshell/em-alias.el (eshell-aliases-file):
16734 * eshell/em-hist.el (eshell-history-file-name):
16735 Use expand-file-name instead of concat to make file names (Bug#4308).
16736
16737 2009-09-13 Glenn Morris <rgm@gnu.org>
16738
16739 * ediff-merg.el (ediff-do-merge):
16740 * filesets.el (filesets-run-cmd):
16741 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
16742 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
16743 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
16744 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
16745 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
16746 Replace empty `let's with `progn'.
16747
16748 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
16749
16750 * mail/sendmail.el (send-mail-function):
16751 * tooltip.el (tooltip-mode):
16752 * simple.el (transient-mark-mode):
16753 * rfn-eshadow.el (file-name-shadow-mode):
16754 * frame.el (blink-cursor-mode):
16755 * font-core.el (global-font-lock-mode):
16756 * files.el (temporary-file-directory)
16757 (small-temporary-file-directory, auto-save-file-name-transforms):
16758 * epa-hook.el (auto-encryption-mode):
16759 * composite.el (global-auto-composition-mode):
16760 Use custom-initialize-delay.
16761 * startup.el (command-line): Don't explicitly call
16762 custom-reevaluate-setting for all the above vars.
16763 * custom.el (custom-initialize-safe-set)
16764 (custom-initialize-safe-default): Delete.
16765
16766 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
16767
16768 * term/x-win.el (x-initialize-window-system):
16769 * term/w32-win.el (w32-initialize-window-system):
16770 * term/ns-win.el (ns-initialize-window-system): Don't call
16771 mouse-wheel-mode since it's enabled globally by default already.
16772
16773 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
16774 actually define the variable, but only silences the byte-compiler.
16775 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
16776 before looking it up.
16777 (mouse-wheel-scroll-amount): Also reset the bindings if this value
16778 is changed.
16779
16780 2009-09-12 Glenn Morris <rgm@gnu.org>
16781
16782 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
16783 1000.
16784 (elint-add-required-env): Don't beep on error.
16785 (elint-forms): In case of error, return ENV unchanged.
16786 (elint-init-env): Skip non-list forms.
16787 (elint-log): Handle unknown file positions.
16788
16789 2009-09-12 Daiki Ueno <ueno@unixuser.org>
16790
16791 * epg.el (epg-make-context): Add autoload cookie.
16792 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
16793 (epg-decrypt-string, epg-start-verify, epg-verify-file)
16794 (epg-verify-string, epg-start-sign, epg-sign-file)
16795 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
16796 (epg-encrypt-string, epg-start-export-keys)
16797 (epg-export-keys-to-file, epg-export-keys-to-string)
16798 (epg-start-import-keys, epg-import-keys-from-file)
16799 (epg-import-keys-from-string, epg-start-receive-keys)
16800 (epg-receive-keys, epg-import-keys-from-server)
16801 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
16802 (epg-sign-keys, epg-start-generate-key)
16803 (epg-generate-key-from-file, epg-generate-key-from-string):
16804 Remove autoload cookie.
16805
16806 2009-09-12 Eli Zaretskii <eliz@gnu.org>
16807
16808 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
16809 reevaluation of trash-directory.
16810
16811 * mwheel.el: Fix last change.
16812 (mouse-wheel-mode): New defvar.
16813 (mouse-wheel-mode): Remove autoload cookie.
16814
16815 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
16816
16817 * mwheel.el (mwheel-installed-bindings): New var.
16818 (mouse-wheel-mode): Use it, so as to make sure we really remove all
16819 the bindings we set last time. Use custom-initialize-delay.
16820 * loadup.el: Load mwheel after term/*-win.el.
16821 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
16822 and mouse-wheel-up-event now that their first evaluation is done
16823 sufficiently late to be correct.
16824
16825 * startup.el (tutorial-directory): Make it a defcustom.
16826 Use custom-initialize-delay rather than eval-at-startup to set it.
16827 * image.el (image-load-path): Make it a defcustom.
16828 Use custom-initialize-delay rather than eval-at-startup to set it.
16829 * subr.el (eval-at-startup): Remove.
16830 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
16831
16832 * subr.el (do-after-load-evaluation): Warn the user after loading an
16833 obsolete package.
16834
16835 2009-09-12 Glenn Morris <rgm@gnu.org>
16836
16837 * proced.el (proced-mark-alt): Remove alias.
16838 (proced-mode-map): Remove proced-mark-alt.
16839
16840 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
16841 Elint file and directory. Remove initialization entry.
16842
16843 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
16844 commands.
16845 (elint-current-buffer): Set mode-line-process.
16846 (elint-init-env): Handle define-derived-mode.
16847 Fix declare-function with unspecified arglist. Guard against odd
16848 defalias statements (eg iso-insert's 8859-1-map).
16849 (elint-add-required-env): Use a temp buffer.
16850 (elint-form): Just print the function/macro name, not the whole form.
16851 Return env unchanged if we fail to parse a macro.
16852 (elint-forms): Guard against parse errors.
16853 (elint-output): New function, to handle batch mode.
16854 (elint-log-message): Add optional argument. Use elint-output.
16855 (elint-set-mode-line): New function.
16856
16857 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
16858
16859 * emacs-lisp/elp.el (elp-not-profilable): Add more
16860 functions (Bug#4233).
16861
16862 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
16863
16864 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
16865 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
16866
16867 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
16868
16869 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
16870 (gdb-var-list-children): Use json parsing.
16871
16872 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
16873
16874 * progmodes/js.el (js--proper-indentation): Handle the case where
16875 char-before is null. Reported by Deniz Dogan.
16876
16877 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
16878
16879 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
16880
16881 2009-09-11 Daiki Ueno <ueno@unixuser.org>
16882
16883 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
16884 (epg-digest-algorithm-alist): Add SHA224.
16885 (epg-context-set-passphrase-callback)
16886 (epg-context-set-progress-callback): Add description about
16887 callback function.
16888
16889 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
16890
16891 * custom.el (custom-delayed-init-variables): New var.
16892 (custom-initialize-delay): New function.
16893 * startup.el (command-line): "Re"evaluate all vars in
16894 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
16895 explicitly any more.
16896 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
16897 to avoid creating a ~/.emacs.d at build-time (bug#4347).
16898
16899 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
16900
16901 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
16902
16903 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
16904 (gdb-var-update-handler): Use json parsing.
16905
16906 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
16907
16908 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
16909 decode annotated text, regardless of language environment. (Bug#2741)
16910
16911 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
16912
16913 * Makefile.in (autoloads): Make rmail.el writable as well.
16914
16915 2009-09-11 Glenn Morris <rgm@gnu.org>
16916
16917 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
16918 loaddefs.el.
16919 * dired.el: Regenerate with extracted autoloads.
16920 * Makefile.in (autoloads): Make dired.el writable.
16921
16922 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
16923 * ibuffer.el: Regenerate with extracted autoloads.
16924 * Makefile.in (autoloads): Make ibuffer.el writable.
16925
16926 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
16927 * version.el (emacs-copyright, emacs-major-version)
16928 (emacs-minor-version): Reformat doc-strings for make-docfile.
16929
16930 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
16931 functions and variables, since they must be stuff specific to some other
16932 platform.
16933 (apropos-print): Make mouse-click message less specific about button.
16934
16935 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
16936 that records where a macro was defined.
16937 * help-fns.el (describe-function-1): Mention if a function has a
16938 compiler-macro.
16939 * help-mode.el (help-function-cmacro): New button.
16940
16941 * locate.el (top-level): Always require dired.
16942 (locate-mode-map): Initialize inside the defvar.
16943
16944 * net/ange-ftp.el (dired-compress-file): Declare.
16945 (ange-ftp-dired-compress-file): Add doc string.
16946
16947 * term/ns-win.el (x-display-name, x-setup-function-keys):
16948 Unify doc-strings with X versions.
16949
16950 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
16951
16952 * emulation/crisp.el (crisp-mode-map): Move initialization
16953 into declaration.
16954 (crisp-mode): Use define-minor-mode.
16955
16956 * progmodes/xscheme.el (xscheme-evaluation-commands):
16957 Put a :advertised-binding property rather than using
16958 advertised-xscheme-send-previous-expression.
16959 (advertised-xscheme-send-previous-expression): Declare obsolete.
16960 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
16961 `advertised-undo'.
16962 (crisp-mode): Add corresponding bindings to
16963 undo's :advertised-binding instead.
16964 * dired.el (dired-mode-map): Put a :advertised-binding property rather
16965 than using dired-advertised-find-file.
16966 (dired-advertised-find-file):
16967 * simple.el (advertised-undo):
16968 * wid-edit.el (advertised-widget-backward): Declare obsolete.
16969 (widget-keymap): Put a :advertised-binding property rather
16970 than using advertised-widget-backward.
16971 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
16972 than using advertised-undo.
16973 * tutorial.el (tutorial--default-keys): Adjust accordingly.
16974
16975 2009-09-10 Simon South <ssouth@slowcomputing.org>
16976
16977 * progmodes/delphi.el (delphi-tab): Indent region when Transient
16978 Mark mode is enabled and region is active; otherwise indent or
16979 insert TAB as usual.
16980 (delphi-mode): Update description of TAB-key binding.
16981
16982 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
16983
16984 * subr.el (define-key-rebound-commands): Mark obsolete.
16985 * startup.el (precompute-menubar-bindings): Remove.
16986 (normal-top-level): Remove obsolete code that tried to precompute
16987 menubar bindings.
16988 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
16989 define-key-rebound-commands and precompute-menubar-bindings.
16990
16991 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
16992
16993 * net/imap.el (imap-interactive-login): Better messages.
16994 (imap-open): Fix bug with renamed buffer on reconnect.
16995 (imap-authenticate): Add buffer-local imap-last-authenticator variable
16996 for easier debugging and cleaner code. On successful (guessed based on
16997 server capabilities) secondary authentication, set imap-state
16998 correctly.
16999 (imap-last-authenticator): Define imap-last-authenticator as a variable
17000 to avoid warnings.
17001
17002 2009-09-10 Glenn Morris <rgm@gnu.org>
17003
17004 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
17005
17006 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
17007 (byte-compile-file-form-autoload): Don't warn about unknown functions
17008 where the autoload statement comes after the use.
17009 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
17010 that any handlers inside the body (eg require) are in turn respected.
17011
17012 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
17013 effects.
17014
17015 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
17016 and syntax and abbrev tables basic docs, if they don't have any.
17017
17018 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
17019
17020 * international/mule-cmds.el (top-level): Require cl when compiling.
17021 (view-hello-file): Use default-value rather than
17022 default-enable-multibyte-characters.
17023
17024 * progmodes/fortran.el: Move all safe and risky properties into the
17025 defcustoms.
17026
17027 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
17028 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
17029 * mail/undigest.el:
17030 Put autoloads in rmail.el rather than loaddefs.el.
17031 * mail/rmail.el: Regenerate with extracted autoloads.
17032
17033 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
17034 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
17035
17036 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
17037
17038 Reported in thread for Bug#4375.
17039 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
17040 "-data-evaluate-expression" instead of print.
17041 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
17042 (gdb-tooltip-print): Parse output from above MI command.
17043 (gdb): Revert 2009-08-11 change. User should detach inferior
17044 manually.
17045
17046 Remove the word "separate" from IO functions as inferior
17047 output is now never displayed in the GUD buffer.
17048
17049 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
17050
17051 * startup.el (command-line-normalize-file-name): On Windows and
17052 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
17053
17054 2009-09-10 Juri Linkov <juri@jurta.org>
17055
17056 * isearch.el (isearch-text-char-description): Propertize escape
17057 character sequences with the `escape-glyph' face. (Bug#4344)
17058
17059 * simple.el (shell-command): Set asynchronous process filter to
17060 `comint-output-filter'. (Bug#4343)
17061
17062 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
17063 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
17064 the list. Move "asm" to the bottom.
17065 (grep-find-ignored-directories): Add `choice' with nil value
17066 to empty the list easily.
17067 (grep-find-ignored-files): New option.
17068 (grep-files-history): Set to nil by default instead of '("ch" "el").
17069 (grep-compute-defaults): Add "<X>" to `grep-template'.
17070 (grep-read-files): Bind new local variables `default-alias' and
17071 `default-extension'. Use a list of default values for the file prompt.
17072 (lgrep): Add `--exclude=' command line options composed from
17073 `grep-find-ignored-files'.
17074 (rgrep): Add `-name' command line options composed from
17075 `grep-find-ignored-files'. (Bug#4301)
17076
17077 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
17078
17079 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
17080 (bug#4368).
17081
17082 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
17083
17084 * calendar/time-date.el (autoload):
17085 Expand define-obsolete-function-alias into defalias and make-obsolete
17086 for old Emacsen that Gnus supports.
17087 (with-no-warnings): Define it for old Emacsen.
17088 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
17089 is available.
17090 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
17091 float-time is available; suppress compile warning for time-to-seconds.
17092
17093 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
17094
17095 * net/imap.el (imap-message-map): Docstring fix.
17096
17097 2009-09-09 Glenn Morris <rgm@gnu.org>
17098
17099 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
17100 line numbers too. (Bug#4374)
17101
17102 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
17103
17104 * smerge-mode.el (smerge-remove-props, smerge-refine):
17105 Use with-silent-modifications (bug#4342).
17106
17107 * subr.el (with-silent-modifications): New macro.
17108
17109 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
17110
17111 * files.el (top-level): Require `cl' when compiling.
17112
17113 2009-09-07 Glenn Morris <rgm@gnu.org>
17114
17115 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
17116
17117 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
17118 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
17119
17120 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
17121
17122 * vc-git.el (vc-git-annotate-command): Use separator to parse
17123 arguments correctly.
17124
17125 2009-09-06 Eli Zaretskii <eliz@gnu.org>
17126
17127 * proced.el (proced-mode): Doc fix.
17128
17129 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
17130
17131 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
17132 lstat fails.
17133 (tramp-do-file-attributes-with-ls): Check for file existence at
17134 remote end.
17135 (tramp-do-file-attributes-with-stat): Likewise.
17136 (tramp-convert-file-attributes): Return nil when attr is nil.
17137
17138 2009-09-05 Glenn Morris <rgm@gnu.org>
17139
17140 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
17141 properties to this button.
17142 (diary-fancy-display): Don't extend the button to the final newline.
17143 (diary-fancy-display-mode): Continue to define "q" as a local key.
17144
17145 * calendar/cal-china.el (holiday-chinese): Make it slightly more
17146 efficient.
17147
17148 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
17149
17150 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
17151 (byte-compile-dest-file-function): New option.
17152 (byte-compile-dest-file): Doc fix.
17153 Obey byte-compile-dest-file-function.
17154 (byte-compile-cl-file-p): New function.
17155 (byte-compile-eval): Only suppress noruntime warnings about cl functions
17156 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
17157 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
17158 than for file being previously loaded.
17159 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
17160 (byte-compile-file-form-require): Handle the case where requiring a file
17161 indirectly causes CL to be loaded.
17162
17163 2009-09-05 Karl Fogel <kfogel@red-bean.com>
17164
17165 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
17166 before killing the old buffer, since by the time `kill-buffer' is
17167 run so many buffer variables have been set to nil that it may not
17168 behave as expected. (Bug#4061)
17169
17170 2009-09-05 Karl Fogel <kfogel@red-bean.com>
17171
17172 * files.el (find-alternate-file): If the old buffer is modified
17173 and visiting a file, behave similarly to `kill-buffer' when
17174 killing it, thus reverting to the pre-1.878 behavior; see
17175 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
17176 for discussion. Also, consult `buffer-file-name' as a variable
17177 not as a function, for consistency with the rest of the code.
17178
17179 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
17180
17181 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
17182 also when adding a new directory.
17183
17184 * net/tramp-compat.el (tramp-compat-line-beginning-position):
17185 New defun.
17186
17187 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
17188
17189 * files.el (locate-file-completion-table): Make it provide boundary
17190 information, so partial-completion works better.
17191
17192 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
17193
17194 * mail/footnote.el (Footnote-text-under-cursor):
17195 Check footnote-text-marker-alist before using it (bug#4324).
17196
17197 2009-09-04 Glenn Morris <rgm@gnu.org>
17198
17199 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
17200 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
17201 * play/solitaire.el, play/tetris.el:
17202 Remove leading * from defcustom and defface docs.
17203
17204 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
17205 necessary.
17206 (diary-fancy-overriding-map): New variable.
17207 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
17208 Use view-mode.
17209
17210 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
17211 goto-line.
17212
17213 2009-09-03 Glenn Morris <rgm@gnu.org>
17214
17215 * arc-mode.el (archive-mode):
17216 * dos-fns.el (set-default-process-coding-system):
17217 * man.el (Man-getpage-in-background):
17218 * menu-bar.el (menu-bar-describe-menu):
17219 * server.el (server-process-filter):
17220 * startup.el (command-line):
17221 * tar-mode.el (tar-header-block-tokenize, tar-extract):
17222 * w32-fns.el (set-default-process-coding-system):
17223 * x-dnd.el (x-dnd-handle-file-name):
17224 * international/mule-cmds.el (mule-menu-keymap)
17225 (set-default-coding-systems, language-info-alist, set-language-info)
17226 (set-language-environment, standard-display-european-internal)
17227 (set-locale-environment):
17228 * international/mule-diag.el (mule-diag):
17229 * mail/emacsbug.el (report-emacs-bug):
17230 * mail/rmail.el (rmail-mode):
17231 * mail/sendmail.el (mail-setup):
17232 Use default-value rather than default-enable-multibyte-characters.
17233
17234 * progmodes/f90.el: Move all safe properties into the defcustoms.
17235 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
17236
17237 * calendar/appt.el (appt-check):
17238 * calendar/diary-lib.el (diary-set-header, diary-live-p)
17239 (diary-check-diary-file, diary-list-entries)
17240 (diary-include-other-diary-files, diary-simple-display)
17241 (diary-fancy-display, diary-print-entries)
17242 (diary-mark-included-diary-files, diary-make-entry):
17243 Don't call substitute-in-file-name on diary-file.
17244
17245 2009-09-03 Eduard Wiebe <usenet@pusto.de>
17246 Stefan Monnier <monnier@iro.umontreal.ca>
17247
17248 * mail/footnote.el (footnote-prefix): Make it a defcustom.
17249 (footnote-mode-map): Move initialization into the declaration.
17250 (footnote-minor-mode-map): Define it rather than changing global-map.
17251 (footnote-mode): Use define-minor-mode.
17252
17253 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
17254
17255 * net/tramp.el (tramp-handle-file-attributes-with-ls)
17256 (tramp-do-file-attributes-with-perl)
17257 (tramp-do-file-attributes-with-stat): Rename from
17258 `tramp-handle-file-attributes-with-*'.
17259 (tramp-handle-file-attributes): Use them.
17260 (tramp-do-directory-files-and-attributes-with-perl)
17261 (tramp-do-directory-files-and-attributes-with-stat): Rename from
17262 `tramp-handle-directory-files-and-attributes-with-*'.
17263 (tramp-handle-directory-files-and-attributes): Use them.
17264 (tramp-method-out-of-band-p): Additional parameter SIZE.
17265 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
17266 (tramp-handle-write-region): Use it.
17267 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
17268 (tramp-handle-vc-registered): Check, whether the first run did
17269 return files to be tested.
17270 (tramp-advice-make-auto-save-file-name): Do not call directly
17271 `tramp-handle-make-auto-save-file-name', because this would bypass
17272 the locking mechanism.
17273
17274 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
17275 (file-remote-p, process-file, start-file-process, set-file-times)
17276 (tramp-compat-file-attributes): Compatibility functions shall not
17277 call directly `tramp-handle-*', because this would bypass the
17278 locking mechanism.
17279 (tramp-compat-number-sequence): New defun.
17280
17281 2009-09-02 Glenn Morris <rgm@gnu.org>
17282
17283 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
17284 alias for float-time.
17285 (time-to-number-of-days): In Emacs, use float-time.
17286 * net/newst-backend.el (time-add): Suppress warnings from compat
17287 function.
17288 * time.el (emacs-uptime, emacs-init-time):
17289 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
17290 Use float-time rather than time-to-seconds.
17291
17292 * minibuffer.el (completion-initials-expand): Fix typo.
17293
17294 * faces.el (modeline, modeline-inactive, modeline-highlight)
17295 (modeline-buffer-id):
17296 * info.el (info-menu-5): Mark these face aliases as obsolete.
17297
17298 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
17299
17300 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
17301 space ...
17302 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
17303 no "--thread" option.
17304 (gdb-stopped): Don't print "Switched to thread" message when it is
17305 unchanged.
17306
17307 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
17308
17309 * minibuffer.el (completion-try-completion)
17310 (completion-all-completions): Remove ill-defined (and
17311 mistakenly installed and luckily never used nor documented)
17312 `completion-styles' property.
17313 (completion-initials-expand, completion-initials-all-completions)
17314 (completion-initials-try-completion): New functions.
17315 (completion-styles-alist): Add doc to each entry.
17316 Add new `initials' entry.
17317
17318 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
17319
17320 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
17321 MI command -var-evaluate-expression.
17322 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
17323 and tweak for case of string child.
17324 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
17325
17326 2009-09-01 Glenn Morris <rgm@gnu.org>
17327
17328 * add-log.el (change-log-date-face, change-log-name-face)
17329 (change-log-email-face, change-log-file-face, change-log-list-face)
17330 (change-log-conditionals-face, change-log-function-face)
17331 (change-log-acknowledgement-face):
17332 * cus-edit.el (custom-invalid-face, custom-rogue-face)
17333 (custom-modified-face, custom-set-face, custom-changed-face)
17334 (custom-saved-face, custom-button-face, custom-button-pressed-face)
17335 (custom-documentation-face, custom-state-face, custom-comment-face)
17336 (custom-comment-tag-face, custom-variable-tag-face)
17337 (custom-variable-button-face, custom-face-tag-face)
17338 (custom-group-tag-face-1, custom-group-tag-face):
17339 * diff-mode.el (diff-header-face, diff-file-header-face)
17340 (diff-index-face, diff-hunk-header-face, diff-removed-face)
17341 (diff-added-face, diff-changed-face, diff-function-face)
17342 (diff-context-face, diff-nonexistent-face):
17343 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
17344 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
17345 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
17346 (Info-title-4-face):
17347 * isearch.el (isearch-lazy-highlight-face):
17348 * log-view.el (log-view-file-face, log-view-message-face):
17349 * paren.el (show-paren-match-face, show-paren-mismatch-face):
17350 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
17351 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
17352 (cvs-msg-face):
17353 * smerge-mode.el (smerge-mine-face, smerge-other-face)
17354 (smerge-base-face, smerge-markers-face):
17355 * wid-edit.el (widget-documentation-face, widget-button-face)
17356 (widget-field-face, widget-single-line-field-face)
17357 (widget-inactive-face, widget-button-pressed-face):
17358 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
17359 (woman-addition-face):
17360 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
17361 (eshell-ls-executable-face, eshell-ls-readonly-face)
17362 (eshell-ls-unreadable-face, eshell-ls-special-face)
17363 (eshell-ls-missing-face, eshell-ls-archive-face)
17364 (eshell-ls-backup-face, eshell-ls-product-face)
17365 (eshell-ls-clutter-face):
17366 * eshell/em-prompt.el (eshell-prompt-face):
17367 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
17368 * obsolete/old-whitespace.el (whitespace-highlight-face):
17369 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
17370 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
17371 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
17372 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
17373 (antlr-font-lock-literal-face):
17374 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
17375 (ebrowse-root-class-face, ebrowse-file-name-face)
17376 (ebrowse-default-face, ebrowse-member-attribute-face)
17377 (ebrowse-member-class-face, ebrowse-progress-face):
17378 * progmodes/make-mode.el (makefile-space-face):
17379 * progmodes/sh-script.el (sh-heredoc-face):
17380 * textmodes/flyspell.el (flyspell-incorrect-face)
17381 (flyspell-duplicate-face):
17382 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
17383 * textmodes/texinfo.el (texinfo-heading-face):
17384 Mark face aliases with "-face" suffix as obsolete.
17385
17386 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
17387 compiler.
17388
17389 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
17390 (eudc-bob-sound-menu): Use defvar rather than defconst, since
17391 easy-menu-define wants to modify these.
17392
17393 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
17394
17395 * net/browse-url.el (browse-url-file-url):
17396 * term/internal.el (dos-codepage-setup):
17397 Use default-value rather than default-enable-multibyte-characters.
17398
17399 * progmodes/etags.el (etags-goto-tag-location):
17400 * progmodes/flymake.el (flymake-highlight-line)
17401 (flymake-goto-file-and-line, flymake-goto-line):
17402 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
17403 (gdb-goto-breakpoint):
17404 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
17405 * progmodes/python.el (python-find-function)
17406 (python-pdbtrack-track-stack-file):
17407 * progmodes/verilog-mode.el (verilog-surelint-off):
17408 * term/ns-win.el (ns-open-file-select-line):
17409 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
17410 Use forward-line rather than goto-line.
17411
17412 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
17413 * textmodes/reftex-index.el (reftex-display-index):
17414 * textmodes/reftex-ref.el (reftex-offer-label-menu):
17415 * textmodes/reftex-toc.el (reftex-toc):
17416 Remove unnecessary bindings of default-major-mode (all are followed by
17417 major-mode check and possible mode switch).
17418
17419 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
17420
17421 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
17422 Handle watchpoints (bug#4282).
17423 (def-gdb-thread-buffer-command): Enable thread to be selected by
17424 clicking without selecting threads buffer first.
17425 (gdb-current-context-command): Use selected frame so that "up",
17426 "down" etc work in the GUD buffer.
17427 (gdb-update): Find selected frame before rendering stack buffer.
17428 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
17429
17430 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
17431
17432 * progmodes/sym-comp.el (displayed-completions): Remove.
17433 (symbol-complete): Use minibuffer-complete.
17434
17435 2009-08-31 Glenn Morris <rgm@gnu.org>
17436
17437 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
17438
17439 * apropos.el (apropos-symbols-internal):
17440 Handle (obsolete) face aliases.
17441
17442 * faces.el (describe-face): Adjust the output format to be more like
17443 describe-variable, and to mention (obsolete) face aliases.
17444 Adjust the whitespace so that help-setup-xref works.
17445
17446 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
17447 * calendar/diary-lib.el (diary-button-face):
17448 Mark these face aliases as obsolete.
17449
17450 * calendar/calendar.el (calendar-today): Doc fix.
17451
17452 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
17453
17454 * progmodes/gdb-mi.el (gdb-control-all-threads)
17455 (gdb-control-current-thread): Force tool bar update.
17456 (gdb-non-stop-handler): New function.
17457 (gdb-init-1): Use it to test if non-stop mode is supported.
17458 Remove unused gdbmi buffer type.
17459
17460 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
17461
17462 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
17463 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
17464
17465 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
17466
17467 * comint.el (comint-exec-1): Check command is non-null first.
17468 Part of gdb-mi.el change (2009-08-28).
17469
17470 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
17471
17472 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
17473
17474 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
17475
17476 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
17477 instead of `dolist' to avoid a recursive require when bootstrapping.
17478
17479 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
17480
17481 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
17482
17483 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
17484
17485 * net/imap.el (imap-send-command): Simplify.
17486 (imap-wait-for-tag): point-max -> buffer-size.
17487
17488 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
17489
17490 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
17491 with constant argument.
17492
17493 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
17494
17495 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
17496
17497 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
17498 Change default, since most of our files don't have a history.
17499 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
17500 the user.
17501
17502 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17503 Add comint-run.
17504
17505 * calc/calc.el: Improve commenting convention.
17506 (calc-digit-map, toplevel): Simplify.
17507
17508 * comint.el (comint-insert-input): Be careful to only set point if we
17509 don't delegate to some other command.
17510
17511 * proced.el (proced-signal-list): Make it an alist.
17512 (proced-grammar-alist): Capitalize names.
17513 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
17514 Disable undo manually and make it read-only.
17515 Use completion-annotate-function.
17516
17517 * minibuffer.el (minibuffer-message): If the current buffer is not
17518 a minibuffer, insert the message in the echo area rather than at the
17519 end of the buffer.
17520 (completion-annotate-function): New variable.
17521 (minibuffer-completion-help): Use it.
17522 (completion--embedded-envvar-table): Environment vars are
17523 always case-sensitive.
17524
17525 2009-08-30 Glenn Morris <rgm@gnu.org>
17526
17527 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
17528 from fortran-current-defun.
17529 (fortran-beginning-of-subprogram): Be more precise about finding the
17530 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
17531 (fortran-end-of-subprogram): Simplify.
17532 (fortran-current-defun): Use fortran-start-prog-re.
17533
17534 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
17535
17536 * subr.el (do-after-load-evaluation): Simplify.
17537
17538 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
17539
17540 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
17541
17542 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
17543 (vc-rcs-print-log): Use it.
17544
17545 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
17546
17547 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
17548
17549 * paths.el (abbrev-file-name): Move to abbrev.el.
17550 * abbrev.el (abbrev-file-name): Move from paths.el.
17551 Obey user-emacs-directory.
17552 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
17553 user-emacs-directory.
17554 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
17555 abbrev-file-name and calc-settings-file any more.
17556 * startup.el (command-line): Recompute abbrev-file-name and
17557 abbreviated-home-dir.
17558 (normal-no-mouse-startup-screen): Improve the generic code and get rid
17559 of the special code for when C-h bindings haven't been changed.
17560 (display-startup-echo-area-message): Use with-current-buffer.
17561 (command-line-1): Use a list of strings, rather than a list of lists
17562 of strings for longopts.
17563
17564 * files.el (get-free-disk-space): Use / for default-directory.
17565
17566 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
17567 Use with-current-buffer.
17568
17569 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
17570 Recognize immutable variables like most-positive-fixnum.
17571 (byte-compile-setq-default): Check and warn if trying to assign
17572 to an immutable variable, or a non-variable.
17573
17574 * progmodes/cc-vars.el (c-comment-continuation-stars):
17575 * progmodes/cc-engine.el (c-looking-at-bos):
17576 * progmodes/cc-cmds.el (c-toggle-auto-state)
17577 (c-forward-into-nomenclature, c-backward-into-nomenclature)
17578 (c-comment-line-break-function): Add version of obsolescence.
17579
17580 2009-08-28 Juri Linkov <juri@jurta.org>
17581
17582 * files.el (magic-fallback-mode-alist): Add ZIP magic number
17583 associated with `archive-mode'.
17584
17585 * image.el (image-type-header-regexps): Use only JPEG magic number
17586 to determine JPEG images, and don't use `image-jpeg-p' because
17587 Emacs can display non-JFIF non-Exif JPEG images.
17588
17589 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
17590
17591 * arc-mode.el (archive-mode):
17592 * emacs-lisp/re-builder.el (re-builder-unload-function):
17593 Protect against the default value of `major-mode' being nil.
17594
17595 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
17596
17597 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
17598 Fix typos in docstrings.
17599
17600 * progmodes/js.el (js--macro-decl-re): Doc fix.
17601 (js--plain-method-re, js--split-name): Refloc docstring.
17602 (js--class-styles, js--make-merged-item, js--splice-into-items):
17603 Fix typos in docstrings; reflow docstrings.
17604 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
17605 (js--variable-decl-matcher, js--inside-pitem-p)
17606 (js--parse-state-at-point, js--get-all-known-symbols)
17607 (js--symbol-history, js-find-symbol, js--js-references)
17608 (js--moz-interactor, js--js-encode-value, js--read-tab):
17609 Fix typos in docstrings.
17610
17611 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
17612
17613 * textmodes/reftex.el (reftex-get-file-buffer-force):
17614 * progmodes/verilog-mode.el (verilog-batch-execute-func):
17615 * emulation/viper.el (viper-go-away, viper-set-hooks):
17616 * emacs-lisp/re-builder.el (re-builder-unload-function):
17617 * emacs-lisp/bytecomp.el (byte-compile-file):
17618 * ses.el (ses-unload-function):
17619 * hexl.el (hexl-find-file):
17620 * files.el (normal-mode):
17621 * ehelp.el (with-electric-help):
17622 * autoinsert.el (auto-insert-alist):
17623 * arc-mode.el (archive-mode):
17624 Use (default-value 'major-mode) instead of default-major-mode.
17625
17626 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
17627 * international/mule.el (load-with-code-conversion):
17628 * emacs-lisp/debug.el (debug):
17629 * ediff-vers.el (ediff-rcs-get-output-buffer):
17630 * dired.el (dired-internal-noselect): Don't let-bind
17631 default-major-mode around code that doesn't use it.
17632 E.g. buffer creation via get-buffer-create doesn't use it.
17633
17634 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
17635
17636 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
17637 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
17638 when writing the temp file. Otherwise, epa-file gets confused.
17639 (tramp-register-file-name-handlers): Make it a defun. Move also
17640 `epa-file-handler' to the front of `file-name-handler-alist'.
17641
17642 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
17643
17644 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
17645 start right after a ^M.
17646 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
17647 (tramp-completion-file-name-regexp-separate)
17648 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
17649 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
17650 Don't modify last-coding-system-used by accident.
17651 (tramp-completion-file-name-handler): Apply the checks here,
17652 instead during registration.
17653 (tramp-register-file-name-handlers): Rename from
17654 `tramp-register-file-name-handler'. Register both
17655 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
17656 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
17657
17658 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
17659
17660 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
17661 Remove variable ...
17662 (gdb-init-1, gdb-display-separate-io-buffer)
17663 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
17664 references to it.
17665 (gdb-inferior-io-mode): Use make-comint-in-buffer.
17666 (gdb-inferior-filter): Use comint-output-filter to stop
17667 echoing and remove ^M characters.
17668
17669 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
17670
17671 * emulation/viper-init.el (viper-restore-cursor-type):
17672 * emulation/cua-base.el (cua--update-indications):
17673 Replace default-cursor-type with (default-value 'cursor-type).
17674
17675 * mail/sendmail.el (mail-recover-1):
17676 * international/mule-diag.el (describe-current-coding-system-briefly)
17677 (describe-current-coding-system):
17678 * international/mule-cmds.el (select-safe-coding-system)
17679 (select-message-coding-system)
17680 (set-language-environment-coding-systems, set-locale-environment):
17681 * hexl.el (hexl-insert-multibyte-char):
17682 * dos-w32.el (find-buffer-file-type-coding-system):
17683 * simple.el (what-cursor-position):
17684 Replace uses of default-buffer-file-coding-system
17685 with (default-value 'buffer-file-coding-system).
17686
17687 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
17688 Replace uses of default-cursor-in-non-selected-windows
17689 with (default-value 'cursor-in-non-selected-windows).
17690 Use with-current-buffer.
17691
17692 * mail/feedmail.el: Use CL macros.
17693 (feedmail-run-the-queue, feedmail-send-it-immediately):
17694 * dos-w32.el (find-buffer-file-type): Replace uses of
17695 default-buffer-file-type with (default-value 'buffer-file-type).
17696
17697 2009-08-28 Glenn Morris <rgm@gnu.org>
17698
17699 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
17700 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
17701 Use default-value of major-mode rather than default-major-mode.
17702
17703 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
17704
17705 * Makefile.in (update-elcfiles): Report left over elc files.
17706
17707 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
17708 expand-file-name and with-current-buffer.
17709 (mail-get-names, mail-directory): Use with-current-buffer.
17710
17711 * vc.el (vc-read-revision): New function.
17712 (vc-version-diff, vc-merge): Use it.
17713
17714 2009-08-27 Sam Steingold <sds@gnu.org>
17715
17716 * simple.el (kill-do-not-save-duplicates): New user option.
17717 (kill-new): When it is non-nil, and the new string is the same as
17718 the latest kill, set replace to t to avoid duplicates in kill-ring.
17719
17720 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
17721
17722 * net/tramp.el (tramp-handle-process-file): Do not flush all
17723 caches when `process-file-side-effects' is set.
17724 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
17725 instead of `tramp-find-file-exists-command'.
17726 Unset `process-file-side-effects'.
17727
17728 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
17729
17730 * net/tramp.el (tramp-methods): New method "rsyncc".
17731 (top): Add completion function for "rsyncc".
17732 (tramp-message-show-message): New defvar.
17733 (tramp-message, tramp-error): Use it.
17734 (tramp-do-copy-or-rename-file-directly): Extend check for direct
17735 remote copying.
17736 (tramp-do-copy-or-rename-file-out-of-band): Handle new
17737 `tramp-methods' entry `copy-env' of "rsyncc".
17738 (tramp-vc-registered-read-file-names): New defconst.
17739 (tramp-vc-registered-file-names): New defvar.
17740 (tramp-handle-vc-registered): Implement optimization strategy.
17741 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
17742 (tramp-vc-file-name-handler): New defun.
17743 (tramp-get-ls-command, tramp-get-test-command)
17744 (tramp-get-file-exists-command, tramp-get-remote-ln)
17745 (tramp-get-remote-perl, tramp-get-remote-stat)
17746 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
17747
17748 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
17749 (tramp-cache-inhibit-cache): Extend doc string. It allows also
17750 timestamps.
17751 (tramp-get-file-property): Check for timestamps in
17752 `tramp-cache-inhibit-cache'.
17753 (tramp-set-file-property): Write timestamp.
17754
17755 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
17756
17757 * language/japan-util.el (japanese-symbol-table): Add entries for
17758 cp932-2-byte.
17759
17760 * international/characters.el: Add category `j' to cp932-2-byte.
17761
17762 2009-08-27 Kenichi Handa <handa@m17n.org>
17763
17764 * international/fontset.el (build-default-fontset-data): New macro.
17765 (setup-default-fontset): Use build-default-fontset-data for CJK,
17766 tibetan, ethiopic, and ipa.
17767
17768 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
17769
17770 * cus-start.el (default-major-mode): Customize `major-mode' instead.
17771 (enable-multibyte-characters): Not customizable any more.
17772
17773 * subr.el (default-mode-line-format, default-header-line-format)
17774 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
17775 (default-direction-reversed, default-truncate-lines)
17776 (default-left-margin, default-tab-width, default-case-fold-search)
17777 (default-left-margin-width, default-right-margin-width)
17778 (default-left-fringe-width, default-right-fringe-width)
17779 (default-fringes-outside-margins, default-scroll-bar-width)
17780 (default-vertical-scroll-bar, default-indicate-empty-lines)
17781 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
17782 (default-fringe-cursor-alist, default-scroll-up-aggressively)
17783 (default-scroll-down-aggressively, default-fill-column)
17784 (default-cursor-type, default-buffer-file-type)
17785 (default-cursor-in-non-selected-windows)
17786 (default-buffer-file-coding-system, default-major-mode)
17787 (default-enable-multibyte-characters): Mark as obsolete.
17788
17789 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
17790
17791 * vc-dir.el (vc-dir-update): Remove debug helper.
17792
17793 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
17794
17795 2009-08-26 Sam Steingold <sds@gnu.org>
17796
17797 * simple.el (save-interprogram-paste-before-kill): New user option.
17798 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
17799 save the interprogram-paste into kill-ring before overriding it
17800 with the Emacs kill.
17801
17802 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
17803
17804 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
17805 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
17806 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
17807 and move to vc-rcs.el.
17808 (vc-default-next-revision): Rename to vc-rcs-next-revision and
17809 move to vc-rcs.el.
17810 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
17811 (vc-rcs-update-changelog): Remove.
17812 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
17813 and move to vc-rcs.el.
17814
17815 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
17816 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
17817 renaming.
17818 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
17819 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
17820 vc.el, renamed to be RCS specific.
17821
17822 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
17823 New functions.
17824 (vc-cvs-update-changelog): Move here from vc.el.
17825
17826 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
17827 New functions.
17828
17829 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
17830
17831 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
17832
17833 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
17834
17835 * vc-git.el (vc-git-register): Use "git add" for directories.
17836 (vc-git-stash, vc-git-stash-show): New functions.
17837 (vc-git-extra-menu-map): Bind them.
17838
17839 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
17840 directory correctly in case the item is a directory itself.
17841
17842 * vc.el: Document the desired behavior for reverted files in the
17843 `added' state.
17844 (vc-default-prettify-state-info): Remove function, unused.
17845
17846 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
17847
17848 2009-08-26 Glenn Morris <rgm@gnu.org>
17849
17850 * bindings.el (standard-mode-line-format): Reposition dashes in
17851 which-func entry. (Bug#4217)
17852
17853 * files.el (enable-local-variables, enable-local-eval)
17854 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
17855 the defcustoms.
17856 (auto-mode-alist, ignored-local-variables)
17857 (save-some-buffers-action-alist): Move risky declarations to the
17858 definitions.
17859 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
17860 (font-lock-defaults, format-alist, imenu--index-alist)
17861 (imenu-generic-expression, input-method-alist, minor-mode-alist)
17862 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
17863 (mode-line-modified, mode-line-mule-info, mode-line-position)
17864 (mode-line-process, mode-line-remote, outline-level)
17865 (parse-time-rules, rmail-output-file-alist)
17866 (special-display-buffer-names, vc-mode):
17867 Move risky declarations to the relevant files.
17868 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
17869 (mode-line-modified, mode-line-process, mode-line-position)
17870 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
17871 * font-core.el (font-lock-defaults):
17872 * format.el (format-alist):
17873 * vc-hooks.el (vc-mode):
17874 * window.el (special-display-buffer-names):
17875 * international/mule-cmds.el (input-method-alist):
17876 Define riskiness here (dumped file) rather than in files.el.
17877 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
17878 * imenu.el (imenu-generic-expression, imenu--index-alist):
17879 * outline.el (outline-level):
17880 * time.el (display-time-string):
17881 * calendar/parse-time.el (parse-time-rules):
17882 * mail/rmailout.el (rmail-output-file-alist):
17883 Autoload riskiness here, rather than placing in files.el.
17884
17885 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
17886
17887 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
17888
17889 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
17890
17891 * simple.el (process-file-side-effects): New defvar.
17892
17893 * dired-aux.el (dired-show-file-type):
17894 * vc.el (vc-diff-internal):
17895 * vc-arch.el (vc-arch-diff):
17896 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
17897 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
17898 * vc-git.el (vc-git-registered, vc-git-working-revision)
17899 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
17900 (vc-git--empty-db-p):
17901 * vc-hooks.el (vc-user-login-name):
17902 * vc-svn.el (vc-svn-registered, vc-svn-state)
17903 (vc-svn-dir-extra-headers, vc-svn-find-revision):
17904 * progmodes/grep.el (grep-probe): Let-bind
17905 `process-file-side-effects' with nil.
17906
17907 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
17908
17909 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
17910 daemon. Replace ping by checking for running service for bluez
17911 and zeroconf. (Bug#4239)
17912
17913 2009-08-25 Kevin Ryde <user42@zip.com.au>
17914
17915 * net/dig.el (dig): Add autoload cookie.
17916
17917 2009-08-25 Glenn Morris <rgm@gnu.org>
17918
17919 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
17920 load-history for absolute file-names.
17921 (byte-compile-file-form-require): Warn about use of the cl package.
17922
17923 * format.el (format-alist): Doc fix.
17924
17925 * play/bubbles.el (top-level): Don't require cl at run-time.
17926
17927 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
17928 run-time cl).
17929
17930 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
17931
17932 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
17933 from cl package.
17934 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
17935
17936 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
17937
17938 * calc/calc-alg.el (math-trig-rewrite)
17939 (math-hyperbolic-trig-rewrite): New functions.
17940 (calc-simplify): Simplify trig functions when asked.
17941
17942 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
17943
17944 * diff-mode.el (diff-find-source-location): Avoid goto-line.
17945
17946 2009-08-24 Kenichi Handa <handa@m17n.org>
17947
17948 * language/ind-util.el (mapthread): Delete it.
17949 (combinatorial): New function.
17950 (indian--puthash-cv): Use combinatorial instead of mapthread.
17951
17952 2009-08-22 Kevin Ryde <user42@zip.com.au>
17953
17954 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
17955 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
17956 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
17957 Clarify docstring that the value is strings not symbols.
17958 (checkdoc-list-of-strings-p): New function.
17959
17960 2009-08-22 Glenn Morris <rgm@gnu.org>
17961
17962 * files.el (auto-mode-alist):
17963 * hippie-exp.el (he-concat-directory-file-name):
17964 * lpr.el (lpr-windows-system, printer-name):
17965 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
17966 * ps-print.el (ps-windows-system):
17967 * startup.el (command-line):
17968 * emulation/viper-ex.el (viper-glob-function):
17969 * international/mule-cmds.el (set-language-environment-coding-systems):
17970 * net/ange-ftp.el (ange-ftp-write-region):
17971 * obsolete/fast-lock.el (fast-lock-cache-name):
17972 Remove code for defunct system-types emx, macos, mswindows, next-mach,
17973 unisoft-unix, vax-vms, win32, w32.
17974
17975 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
17976 given name if the pattern is not more specific.
17977
17978 * calendar/lunar.el (lunar-phase-names): New option.
17979 (lunar-phase): Doc fix.
17980 (lunar-cycles-per-year): New constant.
17981 (lunar-index): New function.
17982 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
17983 (lunar-phase-name): Use lunar-phase-names.
17984 (calendar-lunar-phases): Use format.
17985 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
17986
17987 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
17988 Copy imenu-example--name-and-position function here for own use.
17989 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
17990
17991 * bs.el (bs--redisplay):
17992 * cus-edit.el (custom-redraw):
17993 * ibuffer.el (ibuffer-bury-buffer):
17994 * server.el (server-goto-line-column):
17995 * startup.el (command-line-1):
17996 * strokes.el (strokes-xpm-for-stroke):
17997 * term.el (term-display-buffer-line):
17998 * view.el (View-goto-line):
17999 * calc/calc.el (calc-do, calc-trail-buffer):
18000 * play/gamegrid.el (gamegrid-add-score-insecure):
18001 * progmodes/ada-mode.el (ada-compile-goto-error):
18002 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
18003 (ebrowse-select-1st-to-9nth):
18004 * progmodes/cperl-mode.el (cperl-time-fontification):
18005 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
18006 * progmodes/gud.el (gud-display-line):
18007 (idlwave-shell-display-line):
18008 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
18009 * progmodes/make-mode.el (makefile-browser-toggle):
18010 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
18011 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
18012 * textmodes/picture.el (picture-draw-rectangle):
18013 * textmodes/reftex-index.el (reftex-index-goto-letter):
18014 (reftex-select-jump-to-previous):
18015 * textmodes/reftex-sel.el (reftex-find-start-point)
18016 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
18017 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
18018 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
18019 * textmodes/tex-mode.el (tex-compilation-parse-errors):
18020 * textmodes/two-column.el (2C-associated-buffer):
18021 Use forward-line rather than goto-line.
18022
18023 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
18024 goto-line.
18025
18026 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
18027 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
18028 (quick-check-list-to-regexp): Declare.
18029
18030 * progmodes/make-mode.el (makefile-browser-insert-selection):
18031 Use goto-char rather than goto-line.
18032
18033 * progmodes/prolog.el (compilation-error-regexp-alist)
18034 (compilation-forget-errors): Declare.
18035
18036 2009-08-22 Juri Linkov <juri@jurta.org>
18037
18038 * progmodes/grep.el (lgrep, rgrep): At the beginning
18039 set `dir' to `default-directory' unless `dir' is a non-nil
18040 readable directory. (Bug#4052)
18041 (lgrep, rgrep): Change a weird way to report an error
18042 from using `read-string' to using `error'.
18043 Instead of using interactive arguments in the function body,
18044 add new argument `confirm'.
18045
18046 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
18047
18048 * textmodes/remember.el (remember-buffer):
18049 * progmodes/cperl-mode.el (cperl-vc-header-alist):
18050 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
18051 (icalendar-extract-ical-from-buffer):
18052 * net/newst-treeview.el (newsticker-groups-filename):
18053 * net/newst-backend.el (newsticker-cache-filename):
18054 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
18055 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
18056 (speedbar-add-ignored-path-regexp, speedbar-line-path)
18057 (speedbar-buffers-line-path, speedbar-path-line)
18058 (speedbar-buffers-line-path):
18059 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
18060 (epg-sign-keys):
18061 * epa.el (epa-display-verify-result):
18062 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
18063
18064 2009-08-21 Glenn Morris <rgm@gnu.org>
18065
18066 * progmodes/js.el (inferior-moz-process): Fix declaration.
18067
18068 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
18069
18070 * obsolete/rnewspost.el (news-mail-reply):
18071 Use goto-char rather than goto-line.
18072
18073 * term/ns-win.el (ns-open-file-select-line):
18074 Use line-beginning-position rather than goto-line.
18075
18076 * apropos.el (apropos-command):
18077 * ehelp.el (electric-helpify):
18078 * printing.el (pr-show-setup):
18079 * strokes.el (strokes-help):
18080 * tutorial.el (tutorial--describe-nonstandard-key)
18081 (tutorial--detailed-help):
18082 * woman.el (woman-mini-help, woman-display-extended-fonts):
18083 * calc/calc-help.el (calc-describe-key):
18084 * emulation/edt.el (edt-electric-helpify):
18085 * international/mule-diag.el (mule-diag):
18086 * play/yow.el (apropos-zippy):
18087 * progmodes/python.el (python-describe-symbol):
18088 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
18089 * textmodes/table.el (*table--cell-describe-mode)
18090 (*table--cell-describe-bindings):
18091 Use help-print-return-message rather than the now obsolete alias.
18092
18093 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
18094 (calendar-cursor-to-visible-date):
18095 * play/5x5.el (5x5-position-cursor):
18096 * play/decipher.el (decipher):
18097 * play/gomoku.el (gomoku-goto-xy):
18098 * play/landmark.el (lm-goto-xy):
18099 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
18100 (mpuz-paint-digit):
18101 Use forward-line, not goto-line.
18102
18103 * mail/rmail.el (rmail-obsolete): Delete custom group.
18104 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
18105 (rmail-remote-password, rmail-remote-password-required):
18106 Remove unneeded :set-after and :set properties.
18107
18108 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
18109
18110 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
18111
18112 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
18113
18114 * loadup.el: Remove leftover macos code.
18115
18116 * vc-git.el (vc-git-annotate-command): Run asynchronously.
18117 Explicitly pass the date format to git blame so that user local
18118 so that the output format can be parsed.
18119
18120 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
18121
18122 * net/dbus.el (top): Don't check for (getenv
18123 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
18124
18125 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
18126
18127 * log-edit.el (log-edit-strip-single-file-name): New var.
18128 (log-edit-insert-changelog): Use it. Bug#3571
18129
18130 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
18131
18132 * subr.el (read-passwd): Use read-key so keypad keys work as well.
18133 Bug#3287
18134
18135 * help.el (help-print-return-message): Rename from
18136 print-help-return-message.
18137
18138 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
18139 cvs-mode-map parent hack.
18140 (log-view-mode): Derive from special-mode.
18141
18142 * linum.el (linum-mode): window-size-change-functions is redundant.
18143 Adapt to new window-configuration-change-hook behavior.
18144 (linum-after-size, linum-after-config): Remove.
18145
18146 * imenu.el (imenu-example--name-and-position)
18147 (imenu-example--lisp-extract-index-name)
18148 (imenu-example--create-lisp-index, imenu-example--create-c-index):
18149 Mark as obsolete.
18150
18151 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
18152 (inferior-prolog-mode): Use it.
18153 (inferior-prolog-load-file): Reset list of errors.
18154
18155 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
18156
18157 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
18158
18159 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
18160
18161 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
18162
18163 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
18164 is running already.
18165
18166 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
18167
18168 * subr.el (listify-key-sequence-1): Use normal syntax since those
18169 integers are nowadays always represented by the same (positive) number
18170 on all platforms.
18171 (read-key-empty-map): New const.
18172 (read-key-delay): New var.
18173 (read-key): New function.
18174 (force-mode-line-update): Use with-current-buffer.
18175 (locate-user-emacs-file): Don't forget to abbreviate the file name.
18176 (start-process-shell-command, start-file-process-shell-command):
18177 Discourage the use of command-args.
18178
18179 2009-08-19 Glenn Morris <rgm@gnu.org>
18180
18181 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
18182
18183 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
18184
18185 * simple.el (choose-completion-string): Don't rely on
18186 minibuffer-completing-file-name and ad-hoc checks to decide whether
18187 to continue completion or not.
18188
18189 * minibuffer.el (minibuffer-hide-completions): New function.
18190 (completion--do-completion): Use it.
18191 (completions-annotations): New face.
18192 (completion--insert-strings): Use it.
18193 (completion-pcm--delim-wild-regex): Add docstring.
18194 (completion-pcm--string->pattern): Add support for 0-width delimiters
18195 in completion-pcm--delim-wild-regex.
18196
18197 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
18198
18199 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
18200 Remove unused var `buffer-modified-p'.
18201
18202 * minibuffer.el (completion--do-completion): Move point for the #b001
18203 case as well (bug#4176).
18204 (minibuffer-complete, minibuffer-complete-word): Don't move point.
18205
18206 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
18207
18208 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
18209 and :session buses.
18210
18211 2009-08-18 Kenichi Handa <handa@m17n.org>
18212
18213 * international/ucs-normalize.el (ucs-normalize-version):
18214 Change to 1.1.
18215 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
18216 (utf-8-hfs): Make it perform normalization on encoding too.
18217
18218 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
18219 (sentence-end-without-space): Delete duplicated chars.
18220 (sentence-end-base): Likewise.
18221
18222 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
18223 (html-mode): Delete duplicated chars from sentence-end-base.
18224
18225 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
18226 (texinfo-mode): Delete duplicated chars from sentence-end-base.
18227
18228 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
18229
18230 * files.el (hack-one-local-variable): If the mode function is for
18231 a minor mode, pass it an argument (Bug#4148).
18232
18233 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
18234
18235 * net/tramp.el (tramp-register-completion-file-name-handler):
18236 Check also for (member 'partial-completion completion-styles).
18237
18238 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
18239
18240 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
18241 abbrev (Bug#3943).
18242
18243 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
18244
18245 * progmodes/cperl-mode.el: Merge upstream 6.2.
18246 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
18247 (cperl-forward-re): Check cperl-brace-recursing.
18248 (cperl-highlight-charclass): New function.
18249 (cperl-find-pods-heres): Use it.
18250 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
18251 (cperl-beautify-regexp-piece): Fix column calculation.
18252 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
18253 (cperl-beautify-level): Don't process entire regexp.
18254 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
18255 calling man.
18256 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
18257 (cperl-init-faces): Build a list in the normal way.
18258
18259 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
18260
18261 * calendar/parse-time.el (parse-time-string-chars): Save match
18262 data.
18263
18264 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
18265
18266 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
18267 (sql-product): Use it.
18268 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
18269 (sql-set-product): Add completion.
18270 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
18271 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
18272 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
18273 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
18274 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
18275 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
18276 (sql-highlight-db2-keywords): Remove.
18277 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
18278 (sql-highlight-product): Use derived-mode-p.
18279 (sql-set-sqli-buffer): Use with-current-buffer.
18280 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
18281 Simplify.
18282
18283 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
18284
18285 * term.el: Fix commenting convention, turn comments into docstrings.
18286
18287 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
18288
18289 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
18290
18291 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
18292
18293 * calendar/parse-time.el (parse-time-string-chars): Compute using
18294 character classes, to handle non-ascii characters (Bug#3190).
18295
18296 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
18297
18298 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
18299 another heredoc if the user adds another < (Bug#3226).
18300
18301 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
18302 Don't initialize based on window-system (Bug#4124).
18303
18304 * facemenu.el (facemenu-read-color): Use a completion function
18305 that accepts any defined color, such as RGB triplets (Bug#3677).
18306
18307 * files.el (get-free-disk-space): Change fallback default
18308 directory to /. Expand DIR argument before switching to fallback.
18309 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
18310
18311 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
18312
18313 * files.el (load-library): Doc fix.
18314
18315 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
18316
18317 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
18318 (viper-if-string): Redefine C-s in the minibuffer to insert the last
18319 incremental search string.
18320
18321 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
18322 XEmacs.
18323
18324 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
18325 (ediff-merge-region-is-non-clash)
18326 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
18327 Also check if the job is really a merge job.
18328
18329 * ediff.el (ediff-current-file): New function.
18330
18331 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
18332
18333 * progmodes/js.el: Edit docstrings throughout to follow Emacs
18334 conventions.
18335 (js-insert-and-indent): Delete function.
18336 (js-mode-map): Don't bind keys to js-insert-and-indent.
18337 (js-beginning-of-defun): Rename from js--beginning-of-defun.
18338 (js-end-of-defun): Rename from js--end-of-defun.
18339 (js-auto-indent-flag): Delete variable.
18340
18341 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
18342
18343 * progmodes/js.el: Remove proclaim statement.
18344 Defvar which-func-imenu-joiner-function to silence compiler.
18345
18346 * files.el (auto-mode-alist): Use js-mode for .js files.
18347
18348 * progmodes/js2-mode.el: Remove file.
18349
18350 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
18351
18352 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
18353
18354 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
18355
18356 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
18357 Karl Landstrom <karl.landstrom@brgeight.se>
18358
18359 * progmodes/js.el: New file.
18360
18361 2009-08-14 Mark A. Hershberger <mah@everybody.org>
18362
18363 * timezone.el (timezone-parse-date): Add ability to understand ISO
18364 basic format (minimal separators) dates in addition to the
18365 already-supported extended format dates.
18366
18367 2009-08-14 Eli Zaretskii <eliz@gnu.org>
18368
18369 * international/ucs-normalize.el: Add a `coding' file variable.
18370
18371 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
18372
18373 2009-08-14 Sam Steingold <sds@gnu.org>
18374
18375 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
18376
18377 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
18378
18379 * faces.el (help-argument-name): Define it here instead of
18380 help-fns.el, because in daemon mode help-fns.el may be loaded when
18381 faces are still uninitialized (Bug#1078).
18382
18383 * help-fns.el (help-argument-name): Move defface to faces.el.
18384
18385 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
18386
18387 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
18388 create buffer with a pty but no process so that GDB can make the
18389 inferior the controlling process.
18390
18391 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
18392
18393 * international/ucs-normalize.el: New file.
18394
18395 2009-08-13 Richard Stallman <rms@gnu.org>
18396
18397 * mail/rmail.el (rmail-get-attr-names):
18398 Accept an attribute header that is too short.
18399
18400 * mail/rmail.el (rmail-forget-messages):
18401 Ignore nil elt in rmail-message-vector. Use dotimes.
18402
18403 * progmodes/compile.el (compilation-goto-locus):
18404 Use next-error-move-function.
18405
18406 * simple.el (next-error-move-function): New variable.
18407
18408 2009-08-12 Juri Linkov <juri@jurta.org>
18409
18410 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
18411 always non-nil. (Bug#4052)
18412
18413 * replace.el (read-regexp): Return empty string when
18414 `default-value' is nil.
18415 (keep-lines-read-args): Don't use empty string as the
18416 default value for `read-regexp'. (Bug#2495)
18417
18418 2009-08-12 Juri Linkov <juri@jurta.org>
18419
18420 * international/mule-cmds.el (ucs-insert): Change arguments
18421 from `arg' to `character', `count', `inherit' to be the same
18422 as in `insert-char'. Doc fix. (Bug#4039)
18423
18424 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
18425
18426 2009-08-12 Juri Linkov <juri@jurta.org>
18427
18428 * files-x.el: New file.
18429
18430 * files.el: Move code that deals with adding/deleting
18431 file/directory-local variables to files-x.el.
18432
18433 * Makefile.in (ELCFILES): Add files-x.elc.
18434
18435 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
18436
18437 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
18438 to use `goto-line'.
18439 (gdb-place-breakpoints, gdb-get-location): Rewritten without
18440 `goto-line'.
18441 (gdb-invalidate-disassembly): Do not refresh upon receiving
18442 'update signal. Instead, update all disassembly buffers only after
18443 threads list.
18444 (gdb): Send -target-detach when buffer is killed (Bug#3794).
18445 (gdb-starting): Move -data-list-register-names...
18446 (gdb-stopped): ...here so it's sent when first thread stops.
18447 (gdb-registers-handler-custom): Do nothing if register names are
18448 unknown yet.
18449
18450 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
18451 from `gdb-mi.el' to avoid extra tangling.
18452
18453 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
18454 change which breaks `gud-def' definitions used in `gdb'.
18455 (gdb-update-gud-running): No extra fuss for updating frame number.
18456
18457 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
18458
18459 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
18460 (describe-language-environment-map, setup-language-environment-map)
18461 (set-coding-system-map): Move initialization into declaration.
18462 (set-language-info-alist): Last arg to define-key-after can be skipped.
18463
18464 * international/quail.el (quail-completion-1): Simplify.
18465 (quail-define-rules): Use slightly more compact code.
18466 (quail-insert-decode-map): Propertize keys, compact columns.
18467
18468 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18469 Add goto-line.
18470
18471 2009-08-10 Miles Bader <miles@gnu.org>
18472
18473 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
18474 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
18475 (js2-instance-member, js2-private-member, js2-private-function-call)
18476 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
18477 (js2-magic-paren, js2-external-variable):
18478 Remove "-face" suffix from face names.
18479 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
18480 (js2-highlight-undeclared-vars, js2-peek-token)
18481 (js2-parse-function-params, js2-mode-show-errors)
18482 (js2-mode-show-warnings, js2-make-magic-delimiter)
18483 (js2-mode-highlight-magic-parens): Update to use new face names.
18484
18485 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
18486
18487 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
18488 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
18489
18490 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
18491
18492 * subr.el: Provide hashtable-print-readable.
18493
18494 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
18495 hs-c-like-adjust-block-beginning.
18496 (hs-hide-block-at-point): Stop hiding at the beginning of
18497 hs-block-end-regexp (Bug#700).
18498
18499 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
18500
18501 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
18502 a macro.
18503 (gdb-registers-handler-custom): Do not fail when register names
18504 are unavailable.
18505
18506 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
18507
18508 * progmodes/gdb-mi.el (gdb-control-all-threads)
18509 (gdb-control-current-thread): Interactive setters for
18510 `gdb-gud-control-all-threads' to use in menu.
18511 (gdb-show-run-p): Show «Go» when process is not active.
18512 (gud-tool-bar-map): Add non-stop/A,T indicator.
18513 Uses gud/thread.xpm and gud/all.xpm.
18514
18515 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
18516
18517 * net/net-utils.el (net-utils-font-lock-keywords): New var.
18518 (nslookup-font-lock-keywords): Make it a variable.
18519 (net-utils-mode): New mode for viewing diagnostic network output.
18520 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
18521 (net-utils-run-simple): New function.
18522 (ifconfig, iwconfig, netstat, arp, route): Use it.
18523
18524 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
18525
18526 * progmodes/gdb-mi.el (gdb-read-memory-custom)
18527 (gdb-memory-set-address, def-gdb-set-positive-number)
18528 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
18529 after changing settings.
18530 (gdb-invalidate-disassembly): Update when first shown.
18531 (gdb-edit-locals-value): Fixed.
18532 (gdb-registers-handler-custom): Print registers in right order and
18533 allow changing register values (only for current thread yet).
18534 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
18535 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
18536 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
18537 (gdb-locals-handler-custom, gdb-registers-handler-custom):
18538 Thread info in mode name.
18539 (gdb-registers-mode-map): TAB to switch to locals.
18540
18541 2009-08-08 Eli Zaretskii <eliz@gnu.org>
18542
18543 * mail/rmail.el (rmail-add-mbox-headers)
18544 (rmail-set-message-counters-counter): Search for
18545 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
18546
18547 2009-08-08 Glenn Morris <rgm@gnu.org>
18548
18549 * Makefile.in (ELCFILES): Update.
18550
18551 2009-08-07 Eli Zaretskii <eliz@gnu.org>
18552
18553 * mail/sendmail.el (mail-yank-original):
18554 Set buffer-file-coding-system from the one used by the message whose
18555 text is yanked.
18556
18557 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
18558 to "windows" when "pgnuplot" is used.
18559 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
18560 Don't call accept-process-output if "pgnuplot" is used.
18561 (calc-graph-init): Don't send -display and -geometry to
18562 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
18563 running "pgnuplot -V" with shell-command-to-string.
18564
18565 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
18566 the default.
18567
18568 2009-08-07 Eli Zaretskii <eliz@gnu.org>
18569
18570 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
18571 org/org-latex.elc.
18572
18573 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
18574
18575 * vc-dispatcher.el (vc-resynch-window): Update comment.
18576
18577 * term.el (term-handle-ansi-escape): Add comments with the
18578 terminfo capabilities implemented.
18579
18580 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
18581
18582 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
18583 (gdb-var-create-handler): Rewritten using JSON parser.
18584 (gdb-propertize-header): Move earlier.
18585 (gdb-set-header): Remove to avoid duplication.
18586 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
18587 Refresh disassembly buffers only after threads list have been
18588 update.
18589 (gdb-threads-header, gdb-registers-header): Per-buffer header line
18590 variables.
18591
18592 2009-08-04 Juri Linkov <juri@jurta.org>
18593
18594 * files.el: Commands to add/delete file/directory-local variables.
18595 (read-file-local-variable, read-file-local-variable-value)
18596 (read-file-local-variable-mode, modify-file-local-variable)
18597 (modify-file-local-variable-prop-line)
18598 (modify-dir-local-variable): New functions.
18599 (add-file-local-variable, delete-file-local-variable)
18600 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
18601 (add-dir-local-variable, delete-dir-local-variable)
18602 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
18603 (copy-dir-locals-to-file-locals-prop-line): New commands.
18604
18605 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
18606
18607 * abbrev.el (insert-abbrev-table-description): Prettify output.
18608 Suggested by Karl Chen.
18609
18610 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
18611
18612 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
18613 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
18614 (gdb-overlay-arrow-position, gdb-thread-position)
18615 (gdb-disassembly-position): Declare variables.
18616 (gdb-wait-for-pending): Function now.
18617 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
18618 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
18619 compilation goes smoothly.
18620 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
18621 (gdb-non-stop-setting): New customization setting which replaces
18622 `gdb-non-stop' so changing it doesn't break active GDB session.
18623 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
18624 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
18625 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
18626 (gdb-show-threads-by-default): New customization options.
18627 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
18628 routines.
18629 (gdb-get-buffer-create): Send buffers update signal when they are
18630 created.
18631 (gdb-invalidate-locals, gdb-invalidate-registers)
18632 (gdb-invalidate-breakpoints)
18633 (gdb-invalidate-threads, gdb-invalidate-disassembly)
18634 (gdb-invalidate-memory): Accept update signal.
18635 (gdb-current-context-command): Use --frame option.
18636 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
18637 Implement `gdb-frame-number' selection logic.
18638 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
18639 whether to show GUD toolbar buttons.
18640 (gdb-thread-exited): Unselect current thread when it exits.
18641 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
18642 (gdb-mark-line): Routine which sets overlay arrow or inverses
18643 video on fringeless displays.
18644 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
18645 to build aligned columns of data in GDB buffers and set text
18646 properties line-by-line.
18647 (gdb-invalidate-breakpoints)
18648 (gdb-breakpoints-list-handler-custom)
18649 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
18650 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
18651 (gdb-registers-handler-custom): Align data columns.
18652 (gdb-locals-handler-custom): Now prints data like in variable
18653 declarations.
18654 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
18655 Remove confusing buttons.
18656 (gdb-invalidate-threads): Append --frame.
18657 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
18658 between breakpoints/threads buffers.
18659 (gdb-set-window-buffer): Now can ignore dedicated windows.
18660 (gdb-propertize-header): Use `gdb-set-window-buffer'.
18661 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
18662 (def-gdb-thread-buffer-gud-command): Replaces
18663 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
18664 for fine thread control.
18665 (gdb-preempt-existing-or-display-buffer): New function used to
18666 display bound buffers without breaking window layout.
18667 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
18668 (gdb-select-frame): New version of `gdb-frames-select' which now
18669 sets `gdb-frame-number' so commands may use --frame option instead
18670 of inner debugger state.
18671 (gdb-frame-handler): Do not set `gdb-frame-number'.
18672 (gdb-threads-mode-map): Select threads with mouse.
18673
18674 * progmodes/gud.el (gdb-gud-context-call): Declare function to
18675 avoid compilation warning.
18676 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
18677 `gdb-show-stop-p`.
18678
18679 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
18680 Argument `key' renamed to `buffer-type'.
18681 (gdb-current-context-buffer-name): Do not add thread info to
18682 buffer name when no thread is selected.
18683 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
18684 command (bug 3794).
18685 (gdb-thread-selected): Handle `=thread-selected' notification.
18686 (gdb-wait-for-pending): New macro to deal with congestion problems.
18687 (gdb-breakpoints-list-handler-custom): Don't fail on pending
18688 breakpoints.
18689 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
18690 This fixes problem similar to one described in bug 3947.
18691 (gud-menu-map): More menu items.
18692 (gdb-init-1): Reset `gdb-thread-number' to nil.
18693
18694 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
18695 non-stop settings.
18696
18697 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
18698 (gdb-current-context-command): Do not append --thread if
18699 `gdb-thread-number' is nil.
18700 (gdb-running-threads-count, gdb-stopped-threads-count):
18701 New variables.
18702 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
18703 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
18704 New customization options.
18705 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
18706 GUD commands.
18707 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
18708 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
18709 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
18710 set `gdb-thread-number' and update `gud-running' properly.
18711 (gdb-running): Update threads list when new threads appear.
18712 (gdb-stopped): Support non-stop operation and new thread switching
18713 logic.
18714 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
18715 (gdb-json-partial-output): New set of JSON routines.
18716 (def-gdb-auto-update-trigger): New `signal-list' optional
18717 argument.
18718 (gdb-thread-list-handler-custom): Update `gud-running',
18719 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
18720 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
18721 (gdb-continue-thread, gdb-step-thread): New commands for fine
18722 thread execution control.
18723 (gud-menu-map): New menu items to switch non-stop options.
18724 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
18725 (gdb-send): Mimic RET properly (bug 3794).
18726
18727 * progmodes/gdb-mi.el (gdb-rules-name-maker)
18728 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
18729 gdb-buffer-rules.
18730 (def-gdb-auto-update-handler): New nopreserve optional argument.
18731 (gdb-stack-list-frames-custom): Print stack from top to bottom.
18732
18733 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
18734 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
18735 (gdb-parent-mode): New mode to derive other GDB modes from.
18736 (gdb-display-disassembly-for-thread)
18737 (gdb-frame-disassembly-for-thread): New commands for threads
18738 buffer.
18739
18740 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
18741 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
18742 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
18743 (gdb-update): We now store all GDB buffers in a list so that they
18744 can be updated by traversing a list instead of calling invalidate
18745 triggers explicitly.
18746 (def-gdb-trigger-and-handler): New macro to define trigger-handler
18747 pair for GDB buffer.
18748 (gdb-stack-buffer-name): Add thread information.
18749 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
18750 handle pending triggers.
18751 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
18752 (def-gdb-thread-buffer-simple-command)
18753 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
18754 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
18755 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
18756 New commands which show buffers bound to thread.
18757 (gdb-stack-list-locals-regexp): Remove unused regexp.
18758
18759 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
18760 (gdb-locals-buffer-name, gdb-registers-buffer-name)
18761 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
18762 to (gud-comint-buffer) in *-buffer-name functions
18763 because (gdb-get-target-string) already does that.
18764 (gdb-locals-handler-custom, gdb-registers-handler-custom)
18765 (gdb-changed-registers-handler): Rewritten without regexps.
18766
18767 * progmodes/gdb-mi.el: Basic thread selection support.
18768 (gdb-thread-number): New variable.
18769 (gdb-current-context-command): New macro which adds --thread
18770 option to command.
18771 (gdb-threads-mode-map): Select thread with SPC.
18772 (gdb-thread-list-handler-custom): Mark current thread with overlay
18773 arrow. Synchronize GDB thread and Emacs thread.
18774 (gdb-select-thread): New command which selects current thread.
18775 (gdb-invalidate-frames, gdb-invalidate-locals)
18776 (gdb-invalidate-registers): Use --thread option.
18777
18778 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
18779
18780 * net/tramp.el (top): Make check for tramp-gvfs loading more
18781 robust. (Bug#3977)
18782 (tramp-handle-insert-file-contents): `unwind-protect' must be
18783 inside `with-parsed-tramp-file-name'.
18784
18785 * net/tramp-gvfs.el (top): Remove superfluous message when loading
18786 fails.
18787
18788 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
18789
18790 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
18791 directory if CLASSPATH is not set.
18792
18793 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
18794
18795 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
18796 New defconst.
18797 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
18798
18799 2009-08-02 Kevin Ryde <user42@zip.com.au>
18800
18801 * net/newst-backend.el (newsticker--raw-url-list-defaults):
18802 Update freshmeat link. Delete newsforge.com as it seems gone.
18803
18804 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
18805
18806 * select.el (x-set-selection): Doc fix (Bug#4021).
18807
18808 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
18809
18810 * help-fns.el (describe-variable): Treat list return values from
18811 dir-locals-find-file properly (Bug#4005).
18812
18813 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
18814
18815 * net/tramp.el (tramp-debug-message): Print also microseconds.
18816
18817 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
18818
18819 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
18820 or END is non-nil.
18821 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
18822 (tramp-get-debug-buffer): Change `outline-regexp' according to new
18823 format.
18824
18825 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
18826 (tramp-get-file-property): Use it.
18827
18828 * autorevert.el (auto-revert-handler):
18829 Allow `auto-revert-tail-mode' for remote files.
18830
18831 2009-08-02 Jason Rumney <jasonr@gnu.org>
18832
18833 * minibuffer.el (read-file-name): Treat confirm options to
18834 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
18835
18836 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
18837
18838 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
18839 (font-lock-variable-name-face, font-lock-constant-face):
18840 Darken the colors for light backgrounds.
18841
18842 2009-08-01 Eli Zaretskii <eliz@gnu.org>
18843
18844 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
18845 month names. (Bug#3987)
18846
18847 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
18848
18849 * simple.el (line-move-finish): Pass whole number to
18850 line-move-to-column.
18851 (line-move-visual): Perform hscroll to the recorded position.
18852
18853 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
18854
18855 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
18856
18857 2009-07-29 Alan Mackenzie <acm@muc.de>
18858
18859 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
18860
18861 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
18862
18863 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
18864 (gdb-place-breakpoints): Use full path when setting breakpoints.
18865
18866 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
18867
18868 * calc/calc.el (calc-mode-map): Add keybinding for
18869 `calc-transpose-lines'.
18870
18871 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
18872
18873 * calc/calc-misc.el (calc-transpose-lines): New function.
18874
18875 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
18876
18877 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
18878 Simplify check for out-of-band methods.
18879 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
18880 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
18881
18882 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
18883
18884 * vc-git.el (vc-git-checkin): Fix typo.
18885
18886 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
18887
18888 * progmodes/js2-mode.el: New file.
18889
18890 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
18891
18892 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
18893 (gud-menu-map): Adjust tooltip accordingly.
18894
18895 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
18896
18897 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
18898 (vc-bzr-log-view-mode): Adjust log-view-file-re.
18899
18900 * add-log.el (change-log-mode-map): Add a menu.
18901
18902 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
18903
18904 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
18905 function returns nil.
18906 (dbus-handle-event): Handle special return value :ignore.
18907 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
18908
18909 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
18910
18911 * view.el (view-mode-enable): Don't define Helper-return-blurb if
18912 it's not needed.
18913
18914 2009-07-25 Eli Zaretskii <eliz@gnu.org>
18915
18916 Fix Bug#3888:
18917
18918 * w32-vars.el (x-select-enable-clipboard): Doc fix.
18919
18920 * term/pc-win.el (x-display-name, x-colors)
18921 (x-select-enable-clipboard, x-select-text): Doc fix.
18922
18923 * term/common-win.el (x-display-name, x-colors): Doc fix.
18924
18925 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
18926 (xw-defined-colors): Doc fix.
18927
18928 * w32-fns.el (x-select-text, x-setup-function-keys)
18929 (x-get-selection, x-set-selection): Doc fix.
18930
18931 * term/x-win.el (x-select-text, x-setup-function-keys)
18932 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
18933
18934 * select.el (x-set-selection): Doc fix.
18935
18936 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
18937
18938 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
18939 instead of "IsNSSSupportAvailable". Avahi ought to work also when
18940 "IsNSSSupportAvailable" method is not available.
18941 Reported by Steve Youngs <steve@sxemacs.org>.
18942
18943 2009-07-24 Kenichi Handa <handa@m17n.org>
18944
18945 * international/characters.el: Fix setting of category ?C, ?|, ?K,
18946 and ?H. Fix setting of case for Latin Extended and Greek Extended.
18947 (build-unicode-category-table): Fix range checks.
18948
18949 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
18950
18951 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
18952 the buffer we try to sync is current when calling
18953 vc-resynch-buffer.
18954
18955 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
18956 not show up to date files.
18957
18958 2009-07-24 Glenn Morris <rgm@gnu.org>
18959
18960 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
18961 Add autoload cookies. If necessary, initialize.
18962 (elint-log): Handle non-file buffers.
18963 (elint-initialize): Add optional argument to reinitialize.
18964 (elint-find-builtin-variables): Save excursion.
18965
18966 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
18967
18968 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
18969 for Lint.
18970
18971 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
18972
18973 * vc.el (vc-print-log-internal): New function, split out from ...
18974 (vc-print-log): ... here.
18975 (vc-dir-move-to-goal-column): Declare.
18976
18977 * vc-git.el (vc-git-add-signoff): New variable.
18978 (vc-git-checkin): Use it.
18979 (vc-git-toggle-signoff): New function.
18980 (vc-git-extra-menu-map): Bind it to menu.
18981 (vc-git--run-command-string): Accept a nil FILE argument.
18982 (vc-git-stash-list): New function.
18983 (vc-git-dir-extra-headers): Use it.
18984
18985 2009-07-23 Glenn Morris <rgm@gnu.org>
18986
18987 * help-fns.el (describe-variable): Describe ignored and risky local
18988 variables in a similar way to that in which we describe safe ones.
18989
18990 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
18991 (byte-compile-output-file-form, byte-compile-output-docform)
18992 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
18993 Give some more local variables with common names a "bytecomp-" prefix,
18994 so as not to shadow things during compilation.
18995 * emacs-lisp/cl-macs.el (load-time-value)
18996 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
18997 `outbuffer' to `bytecomp-outbuffer'.
18998
18999 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
19000 since the next two variables cover them automatically now.
19001 (elint-builtin-variables, elint-autoloaded-variables): New.
19002 (elint-unknown-builtin-args): Remove all members, since they can be
19003 parsed automatically now.
19004 (elint-extra-errors): New.
19005 (elint-env-add-env, elint-env-add-macro): Use cadr.
19006 (elint-current-buffer): Use or. Change final message.
19007 (elint-get-top-forms): Use line-end-position.
19008 (elint-init-env): Use cadr. Handle autoload, declare-function,
19009 and defalias.
19010 (elint-add-required-env): Doc fix. Use or. Standardize error.
19011 (regexp-assoc): Remove unused function.
19012 (elint-top-form): Set elint-current-pos, to record the start of the
19013 top-level form, for compilation-mode.
19014 (elint-form): Trap errors in macro expansion. Use dolist.
19015 (elint-unbound-variable): Use elint-builtin-variables and
19016 elint-autoloaded-variables.
19017 (elint-get-args): Use cadr, or.
19018 (elint-check-cond-form): Use dolist, cadr.
19019 (elint-check-condition-case-form): Doc fix. Use cadr.
19020 Use elint-extra-errors.
19021 (elint-log): New function.
19022 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
19023 Distinguish errors and warnings.
19024 (elint-log-message): Use with-current-buffer. Inhibit read-only.
19025 Use a bytecomp-style format.
19026 (elint-clear-log): Preserve default-directory. Inhibit read-only.
19027 (elint-get-log-buffer): Use compilation mode. Disable undo.
19028 Don't truncate lines.
19029 (elint-initialize): Set builtin and autoloaded variable lists.
19030 Only process elint-unknown-builtin-args if non-nil.
19031 (elint-find-builtin-variables, elint-find-autoloaded-variables):
19032 New functions.
19033 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
19034
19035 2009-07-22 Kevin Ryde <user42@zip.com.au>
19036
19037 * net/newst-backend.el (newsticker--parse-atom-1.0)
19038 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
19039 (newsticker--parse-rss-1.0):
19040 * progmodes/idlwave.el (idlwave-mode):
19041 * progmodes/idlw-shell.el (idlwave-shell-mode):
19042 * progmodes/vera-mode.el (vera-mode):
19043 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
19044 * progmodes/vhdl-mode.el (vhdl-mode):
19045 * textmodes/table.el (table-generate-source)
19046 (table--warn-incompatibility):
19047 Hyperlink urls in docstrings with URL `...'.
19048
19049 2009-07-22 Glenn Morris <rgm@gnu.org>
19050
19051 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
19052 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
19053 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
19054 Remove leading * from defcustom docs.
19055
19056 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
19057
19058 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
19059 defcustom doc.
19060 (list-load-path-shadows): Optionally, just return shadows as a string.
19061
19062 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
19063
19064 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
19065
19066 * mail/rmailedit.el (rmail-edit-mode):
19067 Use auto-save-include-big-deletions.
19068
19069 * mail/rmail.el (rmail-variables):
19070 Use auto-save-include-big-deletions.
19071
19072 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
19073 changes.
19074
19075 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
19076
19077 * calc/calc.el (calc-undo-length): New variable.
19078 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
19079
19080 2009-07-21 Richard Stallman <rms@gnu.org>
19081
19082 * files.el (auto-save-mode): Handle buffer-save-size = -2
19083 for toggling mode.
19084
19085 2009-07-21 Glenn Morris <rgm@gnu.org>
19086
19087 * textmodes/ispell.el (ispell-looking-back): Update declaration.
19088
19089 * calendar/todo-mode.el (calendar-current-date): Update declaration.
19090
19091 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
19092 silence compiler. Instead...
19093 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
19094 (ps-print-ensure-fontified): Update for above function name changes.
19095
19096 * printing.el (pr-mh-get-msg-num, pr-mh-show)
19097 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
19098 silence compiler. Instead...
19099 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
19100 (mh-show-buffer): Only define for compiler.
19101 (pr-mh-current-message): Update for above function name changes.
19102
19103 * files.el (abort-if-file-too-large): Explicitly pass `filename'
19104 as an argument.
19105 (find-file-noselect, insert-file-1): Update for above change.
19106
19107 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
19108
19109 * mail/mailclient.el (mailclient-send-it): Fix message.
19110
19111 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
19112 (edebug-eval): Check cl-debug-env is bound.
19113 (print-level, print-circle): Don't redefine built-in variables.
19114
19115 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
19116 (custom-print-vectors): Remove old comments from doc.
19117
19118 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
19119 (emerge-version): Make the variable an obsolete alias for the
19120 emacs-version variable. Make the function obsolete.
19121 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
19122 Emerge options, rather than merging in into the main Options menu.
19123 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
19124 and auto advance modes. Disable edit/fast items when not relevant.
19125
19126 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
19127
19128 * term/vt420.el (terminal-init-vt420): Fix typo.
19129
19130 2009-07-20 Sam Steingold <sds@gnu.org>
19131
19132 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
19133 variable (removed from compile.el on 2004-03-11).
19134
19135 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
19136
19137 * files.el (hack-local-variables-filter): Fix last change.
19138
19139 2009-07-19 Juri Linkov <juri@jurta.org>
19140
19141 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
19142 (dir-local-variables-alist): New buffer-local variable.
19143 (hack-local-variables-filter): If variable is not dir-local,
19144 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
19145 because file-local overrides dir-local.
19146 (c-postprocess-file-styles) <declare-function>:
19147 Remove obsolete declaration.
19148 (hack-dir-local-variables): Add dir-local variable/value pair to
19149 `dir-local-variables-alist' and remove duplicates. Doc fix.
19150
19151 * help-fns.el (describe-variable): Add information about
19152 file-local and dir-local variables.
19153
19154 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
19155
19156 * files.el (hack-local-variables-filter): Rewrite.
19157
19158 2009-07-19 Glenn Morris <rgm@gnu.org>
19159
19160 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
19161 Silence compiler by only defining on XEmacs.
19162
19163 * international/mule.el (auto-coding-regexp-alist): Only match
19164 BABYL... at the start of buffer, not of lines. (Bug#3790)
19165
19166 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
19167 non-calendar buffers (Bug#3862). Restore "not on a date" message.
19168 (cal-menu-context-mouse-menu): Doc fix.
19169
19170 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
19171
19172 * simple.el (mail-user-agent): Doc fix. Set :version tag.
19173
19174 2009-07-18 Juri Linkov <juri@jurta.org>
19175
19176 * info.el: Virtual Info keyword finder.
19177 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
19178 (Info-finder-file): New variable.
19179 (Info-finder-find-file): New function.
19180 (finder-known-keywords, finder-package-info)
19181 (find-library-name, lm-commentary): Use defvar and
19182 declare-function to silence compiler warnings.
19183 (Info-finder-find-node): New function.
19184 (info-finder): New command.
19185
19186 * subr.el (process-kill-buffer-query-function): New function.
19187 (add-hook)<kill-buffer-query-functions>: Add hook
19188 `process-kill-buffer-query-function'.
19189
19190 2009-07-18 Alan Mackenzie <acm@muc.de>
19191
19192 * progmodes/cc-mode.el (c-before-hack-hook)
19193 (c-postprocess-file-styles): Give invocation of `c-set-style'
19194 DONT-OVERRIDE parameter of t. Already set style variables will
19195 thus not be overridden by style settings given by `c-file-syle'.
19196
19197 * files.el (hack-local-variables-filter): Remove entries with
19198 duplicate keys from `file-local-variables-alist'.
19199
19200 2009-07-18 Eli Zaretskii <eliz@gnu.org>
19201
19202 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
19203 x-set-selection if display-selections-p returns nil for the
19204 current frame.
19205
19206 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
19207
19208 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
19209
19210 2009-07-18 Eli Zaretskii <eliz@gnu.org>
19211
19212 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
19213 Accept nil in addition to a regexp.
19214 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
19215 Accept nil in addition to a regexp.
19216 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
19217 buffers that have an associated file. Handle nil values of
19218 desktop-buffers-not-to-save and desktop-files-not-to-save.
19219 (Bug#3833)
19220
19221 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
19222 (x-disown-selection-internal): New functions.
19223
19224 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
19225
19226 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
19227 warning.
19228 (gdb-breakpoints-header): Move forward to avoid compiler warning.
19229 (gdb-make-header-line-mouse-map): Remove duplicate definition.
19230
19231 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
19232
19233 * simple.el (set-mark): Revert last change.
19234
19235 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
19236
19237 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
19238 rendering of pngs is not possible instead of messaging a long
19239 description.
19240
19241 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
19242
19243 * w32-fns.el (x-selection-owner-p): New function.
19244
19245 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
19246 (mouse-yank-at-click, mouse-yank-primary):
19247 If select-active-regions is non-nil, deactivate the mark before
19248 insertion.
19249
19250 * simple.el (deactivate-mark, set-mark): Only save selection if we
19251 own it.
19252
19253 2009-07-17 Kenichi Handa <handa@m17n.org>
19254
19255 * case-table.el (describe-buffer-case-table): Fix for the case
19256 that KEY is a cons.
19257
19258 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
19259
19260 * vc-rcs.el (vc-rcs-find-file-hook):
19261 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
19262
19263 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
19264
19265 * net/tramp.el (tramp-wait-for-output): Handle the case when
19266 commands do not return a newline but a null byte before the shell
19267 prompt. (Bug#3858)
19268
19269 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
19270
19271 * term/ns-win.el (ns-set-alpha): Don't declare.
19272 (ns-set-background-alpha): Remove function.
19273
19274 2009-07-16 Kevin Ryde <user42@zip.com.au>
19275
19276 * emacs-lisp/copyright.el (copyright-update): Save match-data across
19277 y-or-n-p, for safety.
19278
19279 2009-07-16 Richard Stallman <rms@gnu.org>
19280
19281 * files.el (auto-save-mode): If buffer-saved-size is -2,
19282 don't clobber it.
19283
19284 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
19285 (rmail-retry-ignored-headers): Add more uninteresting fields.
19286
19287 2009-07-15 Jari Aalto <jari.aalto@cante.net>
19288
19289 * net/rcirc.el (rcirc): Use history variables.
19290 (rcirc-server-name-history, rcirc-nick-name-history)
19291 (rcirc-server-port-history): New variables.
19292
19293 2009-07-15 Kenichi Handa <handa@m17n.org>
19294
19295 * international/mule-cmds.el (set-language-environment-charset):
19296 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
19297 ignore them.
19298
19299 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
19300 Delete unibyte-display.
19301
19302 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
19303
19304 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
19305
19306 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
19307
19308 * simple.el (deactivate-mark): Optional argument FORCE.
19309 (set-mark): Use deactivate-mark.
19310
19311 * info.el (Info-search): No need to check transient-mark-mode
19312 before calling deactivate-mark.
19313
19314 * select.el (x-set-selection): Doc fix.
19315 (x-valid-simple-selection-p): Allow buffer values.
19316 (xselect--selection-bounds): Handle buffer values.
19317 Suggested by David De La Harpe Golden.
19318
19319 * mouse.el (mouse-set-region, mouse-drag-track):
19320 Call copy-region-as-kill before setting the mark, to let
19321 select-active-regions work.
19322
19323 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
19324
19325 * simple.el (deactivate-mark): If select-active-regions is
19326 non-nil, copy the selection data into a string.
19327 (activate-mark): If select-active-regions is non-nil, set the
19328 selection to the current buffer.
19329 (set-mark): Update selection if select-active-regions is non-nil.
19330
19331 * select.el (x-valid-simple-selection-p): Allow buffer values.
19332
19333 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
19334
19335 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
19336 and more featureful message-mode.
19337
19338 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
19339
19340 * select.el (x-set-selection): Doc fix.
19341 (x-valid-simple-selection-p): Disallow selection data consisting
19342 of a list or cons of integers, since that is not used.
19343 (xselect--selection-bounds, xselect--int-to-cons): New functions.
19344 (xselect-convert-to-string, xselect-convert-to-length)
19345 (xselect-convert-to-filename, xselect-convert-to-charpos)
19346 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
19347
19348 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
19349
19350 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
19351 output in -break-info command (Emacs bug #3794).
19352
19353 2009-07-14 Glenn Morris <rgm@gnu.org>
19354
19355 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
19356 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
19357 (edebug-print-length, edebug-print-level, edebug-print-circle)
19358 (edebug-sit-for-seconds, edebug-view-outside)
19359 (edebug-bounce-point, edebug-set-global-break-condition)
19360 (edebug-Go-nonstop-mode, edebug-trace-mode)
19361 (edebug-Trace-fast-mode, edebug-continue-mode)
19362 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
19363 (edebug-visit-eval-list): Doc fixes.
19364
19365 * subr.el (def-edebug-spec): Doc fix.
19366
19367 2009-07-14 Kenichi Handa <handa@m17n.org>
19368
19369 * international/characters.el: Fix setting of category ?C.
19370
19371 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
19372
19373 * term/ns-win.el (x-select-font): defalias x-select-font to
19374 ns-popup-font-panel instead of generate-fontset-menu.
19375
19376 2009-07-12 Eli Zaretskii <eliz@gnu.org>
19377
19378 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
19379
19380 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
19381
19382 * arc-mode.el (archive-find-type): Allow for a PK00 string before
19383 the PK\003\004 header (Bug#3770).
19384
19385 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
19386
19387 * pcomplete.el (pcomplete-comint-setup): Check for
19388 shell-dynamic-complete-filename too.
19389
19390 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
19391
19392 * simple.el (temporary-goal-column): Change the value for
19393 line-move-visual to a cons cell.
19394 (line-move-visual): Record or set the window hscroll, if
19395 necessary (Bug#3494).
19396 (line-move-1): Handle cons value of temporary-goal-column.
19397
19398 2009-07-11 Kenichi Handa <handa@m17n.org>
19399
19400 * international/mule-diag.el (describe-character-set): Don't show
19401 width.
19402
19403 2009-07-10 Sam Steingold <sds@gnu.org>
19404
19405 * progmodes/compile.el (compilation-mode-font-lock-keywords):
19406 Omake sometimes indents the errors it prints, so allow all
19407 regexps to start with spaces.
19408
19409 2009-07-10 Eli Zaretskii <eliz@gnu.org>
19410
19411 * cus-edit.el (customize-changed-options-previous-release):
19412 Bump value to 22.1. (Bug#3804)
19413
19414 2009-07-08 Sam Steingold <sds@gnu.org>
19415
19416 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
19417 to be a cons cell (test . ignored-directory) to selectively ignore
19418 some directories depending on the location of the search.
19419
19420 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
19421
19422 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
19423 remote user is root, on the local host.
19424 (tramp-local-host-p): Either the local user or the remote user
19425 must be root. (Bug#3771)
19426
19427 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
19428
19429 * progmodes/gdb-mi.el (gdb): Remove description of
19430 gdb-use-separate-io-buffer.
19431 (menu): Don't allow toggling of or enable
19432 gdb-use-separate-io-buffer from menubar.
19433
19434 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
19435
19436 * mail/unrmail.el (unrmail): Make sure the message ends with two
19437 newlines (Bug#3769).
19438
19439 2009-07-08 Glenn Morris <rgm@gnu.org>
19440
19441 * calendar/calendar.el (calendar-current-date): Rework previous change.
19442
19443 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
19444
19445 * calendar/calendar.el (calendar-current-date):
19446 Add an optional argument giving an offset from today.
19447
19448 2009-07-08 Glenn Morris <rgm@gnu.org>
19449
19450 * tutorial.el (tutorial--describe-nonstandard-key):
19451 Adjust the message for when a key has been unbound.
19452 (help-with-tutorial): Hide the arch-tag.
19453
19454 2009-07-08 Kenichi Handa <handa@m17n.org>
19455
19456 * international/fontset.el (setup-default-fontset): For each
19457 script, append (not set) font-specs.
19458
19459 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
19460 docstring.
19461
19462 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
19463
19464 * progmodes/gdb-mi.el (gdb-init-1): Move sending
19465 -data-list-register-names to ...
19466 (gdb-starting): ... here because GDB 7.0 requires execution to
19467 have started when using this MI command.
19468 (gdb-set-header): New function to distinguish select and
19469 unselected tabs in gdb buffers.
19470 (gdb-propertize-header): New macro that uses gdb-set-header.
19471 (gdb-breakpoints-header, gdb-locals-header): Use it.
19472 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
19473
19474 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
19475
19476 * Makefile.in (ELCFILES): Remove fadr.elc.
19477
19478 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
19479
19480 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
19481 may contain frame information, so `string-match' should be used.
19482 (gdb-update): Disassembly is invalidated through
19483 `gdb-get-selected-frame'.
19484 (gdb-pad-string): New function to pad string with spaces.
19485 (gdb-invalidate-disassembly): Invalidate only if the buffer
19486 exists.
19487 (gdb-disassembly-handler-custom): Column alignment.
19488 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
19489 placing new ones.
19490 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
19491 end of line, too.
19492 (gdb-frame-handler): Match convention to for disassembly buffer
19493 mode name.
19494 (gdb-stack-list-frames-handler): Rewritten without regexps.
19495 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
19496 not highlight breakpoints without line information.
19497 (gdb-input): Add trailing newline to command.
19498
19499 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
19500 buffer properly.
19501 (gdb-breakpoints-list-handler-custom): Replacement for
19502 `gdb-break-list-handler'. Using real parser instead of regexps
19503 now.
19504 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
19505 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
19506 to place breakpoints.
19507 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
19508 functions.
19509 (gdb-disassembly-handler-custom): Show overlay arrow.
19510 (gdb-disassembly-place-breakpoints): Show breakpoints in
19511 disassembly buffer.
19512 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
19513 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
19514 instead of parsing breakpoints buffer. Fixed old menu references
19515 in `gud-menu-map'.
19516
19517 * fadr.el: Remove.
19518
19519 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
19520 (gdb-memory-address): New variable which holds top address of
19521 memory page shown in memory buffer.
19522 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
19523 New customization variables.
19524 New functions:
19525 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
19526 display the memory buffer.
19527 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
19528 buffer display parameters.
19529 (def-gdb-memory-format, gdb-memory-format-binary)
19530 (gdb-memory-format-octal, gdb-memory-format-unsigned)
19531 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
19532 Functions for setting memory buffer format.
19533 (gdb-memory-unit-word, gdb-memory-unit-halfword)
19534 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
19535 unit size used in memory buffer.
19536 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
19537 Switch to next/previous page of memory buffer.
19538 Now using (bindat-get-field) instead of fadr functions.
19539
19540 2009-07-07 Sam Steingold <sds@gnu.org>
19541
19542 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
19543 non-top-level files.
19544
19545 2009-07-07 Kenichi Handa <handa@m17n.org>
19546
19547 * international/mule-cmds.el (reset-language-environment):
19548 Put the highset priority to the charset iso-8859-1.
19549
19550 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
19551
19552 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
19553 to the end of the line when locating the block (Bug#700).
19554
19555 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
19556
19557 * net/tramp.el (tramp-handle-write-region): Flush file properties
19558 in case of short track.
19559
19560 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
19561
19562 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
19563 Coded custom representation of verilog error regular expressions
19564 to work with Emacs-22's new format.
19565 (verilog-error-regexp-xemacs-alist): Coded custom representation
19566 of verilog error regular expressions to work with XEmacs format.
19567 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
19568 error recognition into XEmacs.
19569 (verilog-error-regexp-add-emacs): Hook routine to install verilog
19570 error recognition into Emacs-22.
19571
19572 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
19573
19574 * woman.el: Remove stand-alone closing parentheses.
19575 (woman-file-name, woman2-format-paragraphs)
19576 (woman-leave-blank-lines): Code cleanup.
19577 (woman-use-own-frame): Change default to nil.
19578 (woman-italic, woman-bold, woman-unknown, woman-addition):
19579 Change defaults to inherit from default faces.
19580 (woman2-process-escapes): Consume the newline after a stand-alone
19581 filler character (Bug#3651).
19582
19583 2009-07-06 Glenn Morris <rgm@gnu.org>
19584
19585 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
19586 (top-level): Move provide to the end.
19587 (ffap): Remove defunct URL from custom group.
19588
19589 * subr.el (eval-after-load): Doc fix.
19590
19591 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
19592
19593 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
19594 `calc-embedded-word' is called twice.
19595
19596 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19597
19598 * files.el (find-alternate-file-other-window, find-alternate-file):
19599 Obey confirm-nonexistent-file-or-buffer.
19600
19601 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
19602
19603 * dired-aux.el (dired-show-file-type): Handle remote files.
19604
19605 2009-07-05 Jari Aalto <jari.aalto@cante.net>
19606
19607 * desktop.el (desktop-globals-to-save):
19608 Add file-name-history (Bug#2750).
19609
19610 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
19611
19612 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
19613
19614 2009-07-04 Johan Bockgård <bojohan@gnu.org>
19615
19616 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
19617 property on entire argument since this is what eshell-lisp-command
19618 expects.
19619
19620 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
19621
19622 * net/tramp-gvfs.el (tramp-gvfs-methods)
19623 (tramp-gvfs-zeroconf-domain)
19624 (tramp-bluez-discover-devices-timeout): Add version flag.
19625 (tramp-gvfs-handler-mounted-unmounted)
19626 (tramp-gvfs-connection-mounted-p): Polish handling of
19627 incompatibilities between GVFS 0.2 and 1.0.
19628
19629 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
19630
19631 * cus-start.el (all): Add make-pointer-invisible.
19632
19633 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
19634
19635 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
19636 formatted correctly.
19637
19638 2009-07-02 Juri Linkov <juri@jurta.org>
19639
19640 * info.el: Virtual Info files and nodes.
19641 (Info-virtual-files, Info-virtual-nodes): New variables.
19642 (Info-current-node-virtual): New variable.
19643 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
19644 New functions.
19645 (Info-file-supports-index-cookies): Use Info-virtual-file-p
19646 to check for a virtual file instead of checking a fixed list
19647 of node names.
19648 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
19649 instead of ad-hoc processing of "dir" and (apropos history toc).
19650 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
19651 instead of ad-hoc processing of "dir" and (apropos history toc).
19652 Reread a file when moving from a virtual node.
19653 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
19654 (Info-directory-toc-nodes, Info-directory-find-file)
19655 (Info-directory-find-node): New functions.
19656 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
19657 (Info-history): Move part of code to
19658 `Info-history-find-node'.
19659 (Info-history-toc-nodes, Info-history-find-file)
19660 (Info-history-find-node): New functions.
19661 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
19662 (Info-toc): Move part of code to `Info-toc-find-node'.
19663 (Info-toc-find-node): New function.
19664 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
19665 the current Info file name to references because now the node
19666 "*TOC*" belongs to the same Info manual.
19667 (Info-toc-build): Rename from `Info-build-toc'.
19668 (Info-toc-nodes): Rename input argument `file' to `filename'.
19669 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
19670 instead of ad-hoc processing of ("dir" apropos history toc).
19671 (Info-index-nodes): Use Info-virtual-file-p
19672 to check for a virtual file instead of checking a fixed list
19673 of node names.
19674 (Info-index-node): Add check for `Info-current-node-virtual'.
19675 Raise `save-match-data' higher up the tree to contain
19676 `search-forward' too (bug fix).
19677 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
19678 (Info-virtual-index-nodes): New variable.
19679 (Info-virtual-index-find-node, Info-virtual-index): New functions.
19680 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
19681 (Info-apropos-file, Info-apropos-nodes): New variables.
19682 (Info-apropos-toc-nodes, Info-apropos-find-file)
19683 (Info-apropos-find-node, Info-apropos-matches): New functions.
19684 (info-apropos): Move part of code to `Info-apropos-find-node' and
19685 `Info-apropos-matches'.
19686 (Info-mode-map): Bind "I" to `Info-virtual-index'.
19687 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
19688 for a virtual file instead of checking a fixed list of node names.
19689
19690 * simple.el (async-shell-command): New command.
19691
19692 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
19693
19694 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
19695 instead of `mount-info'.
19696
19697 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
19698
19699 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
19700 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
19701
19702 2009-07-02 Kenichi Handa <handa@m17n.org>
19703
19704 * international/mule.el (set-keyboard-coding-system): Force *-unix
19705 coding-system to avoid eol conversion.
19706
19707 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
19708
19709 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
19710 Add handler for `process-file', `shell-command' and
19711 `start-file-process'.
19712 (tramp-gvfs-handle-shell-command)
19713 (tramp-gvfs-handle-start-file-process)
19714 (tramp-gvfs-handle-process-file): New defuns.
19715 (tramp-synce-list-devices): Simplify check for existence of property.
19716
19717 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
19718
19719 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
19720
19721 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
19722
19723 * language/korean.el (set-language-info-alist): Add korean-cp949,
19724 cp949 to spec.
19725
19726 2009-07-01 Kenichi Handa <handa@m17n.org>
19727
19728 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
19729
19730 * international/encoded-kb.el: Deleted.
19731
19732 * international/mule.el (set-keyboard-coding-system): Perform the
19733 necessary setup here instead of calling encoded-kbd-setup-display.
19734
19735 2009-07-01 Glenn Morris <rgm@gnu.org>
19736
19737 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
19738
19739 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
19740
19741 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
19742
19743 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
19744
19745 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
19746 Handle also the 'rename case, when setting file modes. (Bug#3712)
19747 (tramp-default-file-modes): Remove execute permissions.
19748
19749 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
19750 (top): Add a default for "synce" in `tramp-default-user-alist'.
19751 Add completion function for "synce" method.
19752 (tramp-hal-service, tramp-hal-path-manager)
19753 (tramp-hal-interface-manager, tramp-hal-interface-device):
19754 New defconst.
19755 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
19756 (tramp-synce-list-devices, tramp-synce-parse-device-names):
19757 New defuns.
19758
19759 * net/trampver.el: Update release number.
19760
19761 2009-06-30 Kenichi Handa <handa@m17n.org>
19762
19763 * international/fontset.el (setup-default-fontset): Add CJK fonts
19764 for symbols and the other miscellaneous characters.
19765
19766 * language/korea-util.el (setup-korean-environment-internal):
19767 Make char-width-table suitable for Korean environments.
19768 (exit-korean-environment): Cancel above.
19769
19770 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
19771 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
19772 setup-function to make char-width-table suitable for respective
19773 environments, and an exit-function to cancel that.
19774
19775 * language/japan-util.el (setup-japanese-environment-internal):
19776 Call use-cjk-char-width-table with arg `ja_JP'.
19777
19778 * international/characters.el (cjk-char-width-table): Delete it.
19779 (cjk-char-width-table-list): New variable.
19780 (use-cjk-char-width-table): New arg local-name.
19781 (use-default-char-width-table): Fix for the case that Emacs is
19782 already using the default char-width-table.
19783
19784 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
19785
19786 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
19787 modes mandatory. (Bug#3712)
19788
19789 2009-06-29 Alan Mackenzie <acm@muc.de>
19790
19791 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
19792 correction between the visible width of TABs and their number of bytes.
19793
19794 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
19795
19796 * server.el (server-buffer-done): Prevent kill-buffer from
19797 prompting by clearing the buffer modification flag (Bug#3696).
19798
19799 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
19800
19801 * progmodes/verilog-mode.el (verilog-beg-of-statement)
19802 (verilog-endcomment-reason-re): Support unique case and priority case.
19803 (verilog-basic-complete-re): Support localparam lineup.
19804 (verilog-beg-of-statement-1): Fix for robustness, unique case.
19805 (verilog-set-auto-endcomments): Fix for unique case, always_comb
19806 commenting.
19807 (verilog-leap-to-case-head): Now support *nested* unique &
19808 priority case statements.
19809 (verilog-auto-lineup): Make just declarations the default (as it
19810 had been).
19811 (verilog-leap-to-case-head): Support priority/unique case statements.
19812 (verilog-auto-lineup): Rework to give users radio buttons to
19813 select the various styles of automatic lineup.
19814 (verilog-error-regexp-alist): Rework to support the XEmacs style
19815 of error regular expressions from compilers, lint tools &
19816 simulators. Note that GNU Emacs has made it impossible for a mode
19817 to load such things.
19818 (electric-verilog-terminate-line, verilog-indent-declaration)
19819 (verilog-auto-wiure): Rework for radio button selection of
19820 auto-lineup selection of specification of auto lineup.
19821 (verilog-beg-of-statement-1): Redesign to support proper operation
19822 in additional code, based on testing with auto-lineup.
19823 (verilog-calculate-indent, assignments & declarations)
19824 (verilog-backward-token): Enhance to support auto-lineup of
19825 assignments & declarations.
19826 (verilog-in-directive-p, verilog-at-struct-p): New function for
19827 easy test of whether we are.
19828 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
19829 to support safe execution at almost anyline.
19830 (verilog-calc-1): Properly support indenting deep inside generate
19831 blocks.
19832 (verilog-init-font): Remove definition & use of verilog-init-font,
19833 as it is redundant with font-lock-defaults.
19834 (verilog-mode): Alter the definition of verilog-font-lock-defaults
19835 to avoid circular calls if syntax-ppss is a function (as is the
19836 case now in 22.x GNU Emacs) as that function would sometimes call
19837 itself, leading to (nearly) infinite recursion.
19838 (verilog-ovm-begin-re, verilog-ovm-end-re)
19839 (verilog-ovm-statement-re, verilog-leap-to-head)
19840 (verilog-backward-token): Add support for OVM macros. Some are
19841 complete statements, and others open and close scopes like begin
19842 and end.
19843 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
19844 (verilog-defun-level-generate-only-re): Really fix the defun-list
19845 compilation issue.
19846 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
19847 coverpoint, constraint and cross statements.
19848 (verilog-defun-level-list, verilog-generate-defun-level-list)
19849 (verilog-all-defun-level-list): Redo these specifications - it is
19850 too hard to support eval-when compile aggregation of lists also
19851 built at when-compile time.
19852 (verilog-defun-level-list): Place defconsts of variables used in
19853 building regular expressions which are built in eval-when-compile
19854 bodies in the same eval-when-compile body to facilitate compile
19855 without load.
19856 (verilog-beg-block-re-ordered): Support indenting
19857 virtual/protected tasks and functions.
19858 (verilog-defun-level-list, verilog-in-generate-region-p)
19859 (verilog-backward-ws&directives, verilog-calc-1): Speed up
19860 indentation of some module items (generate items).
19861 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
19862 across virtual/protected tasks and functions.
19863
19864 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
19865
19866 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
19867 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
19868 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
19869 in concatenations. Reported by Yishay Belkind.
19870 (verilog-auto-ascii-enum): Support one-hot state machines in
19871 AUTOASCIIENUM. Suggested by Lloyd Gomez.
19872 (verilog-auto-inst, verilog-auto-inst-port): Include interface
19873 modport in AUTOINST and add vl-modport for users.
19874 Reported by David Rogoff.
19875 (verilog-auto-inout-module, verilog-auto-inst)
19876 (verilog-decls-get-interfaces, verilog-insert-definition)
19877 (verilog-insert-one-definition, verilog-read-decls)
19878 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
19879 (verilog-sig-modport, verilog-signals-combine-bus)
19880 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
19881 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
19882 Suggested by David Rogoff.
19883 (verilog-repair-open-comma): Fix non-insertion of comma when
19884 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
19885 (verilog-make-width-expression): Simplify [A-1:0] expression
19886 widths to just {A{1'b0}}.
19887 (verilog-mode): Cleanup checkdoc warnings.
19888 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
19889 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
19890 inputs/outputs or data type. Suggested by Vasu Kandadi.
19891 (next-error-last-buffer): Fix byte-compiler warning.
19892 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
19893 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
19894 or shell command text during AUTO expansion. Suggested by Tad Truex.
19895 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
19896 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
19897 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
19898 in AUTOINOUT. Reported by Matthew Lovell.
19899 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
19900 causing use of <= assignments. Reported by Alex Reed.
19901 (verilog-read-decls): Fix triand, trior, wand, wor to be
19902 recognized by AUTOWIRE. Reported by Spencer Isaacson.
19903 (verilog-extended-complete-re): Support import "DPI-C" functions.
19904 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
19905 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
19906 (verilog-insert-date, verilog-insert-year)
19907 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
19908 Windows systems. Reported by Michael Potts.
19909 (verilog-read-module-name): Fix AUTOINST when the child module
19910 declaration's name is a tick define. Reported by Elliot Mednick.
19911 (verilog-read-decls): Fix V2K parameter bit subscripts getting
19912 passed to next parameter's definition. Reported by Bruce T.
19913 (verilog-read-decls): Fix detecting "parameter int" when using
19914 AUTOINSTPARAM. Reported by Bruce T.
19915 (verilog-goto-defun): Fix goto not finding modules unless first
19916 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
19917 (verilog-mode): Expand -f flag arguments on entry to mode so
19918 verilog-goto-defun will work. Reported by Lawrence Butcher.
19919 (verilog-getopt): Expand environment variables in -f file
19920 arguments. Suggested by Lawrence Butcher.
19921 (verilog-set-define): Fix "Symbol's value as variable is void"
19922 when reading enumerations.
19923 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
19924 Suggested by Stephen Peltan.
19925 (verilog-read-defines): Fix reading of enumerations in include
19926 files. Reported by Steve Peltan.
19927
19928 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
19929
19930 * files.el (trash-directory): Fix defcustom type.
19931
19932 2009-06-28 Juri Linkov <juri@jurta.org>
19933
19934 * help-fns.el (describe-function-1): Correctly locate adviced
19935 functions in hyperlink (Bug#2438).
19936
19937 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
19938
19939 * files.el (trash-directory): Change default to nil.
19940 (move-file-to-trash): If trash-directory is nil and
19941 system-move-file-to-trash is unbound, perform freedesktop-style
19942 trashing.
19943
19944 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
19945
19946 * files.el (move-file-to-trash): Add freedesktop trash
19947 support (Bug#973).
19948
19949 2009-06-28 Glenn Morris <rgm@gnu.org>
19950
19951 * autorevert.el (global-auto-revert-non-file-buffers)
19952 (global-auto-revert-mode): Doc fixes.
19953
19954 2009-06-27 Johan Bockgård <bojohan@gnu.org>
19955
19956 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
19957
19958 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
19959
19960 * faces.el (x-handle-named-frame-geometry): Ensure that we have
19961 opened an X connection before calling x-get-resource (Bug#3194).
19962
19963 * play/doctor.el: Remove reference to obsolete website.
19964 (make-doctor-variables): Correct grammar mistake (Bug#2633).
19965
19966 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
19967
19968 Remove find-file-not-found-hook VC method. (Bug#2757)
19969 * vc-hooks.el (vc-file-not-found-hook)
19970 (vc-default-find-file-not-found-hook): Remove functions.
19971 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
19972 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
19973 * vc.el:
19974 * vc-hg.el:
19975 * vc-git.el: Do not mention find-file-not-found-hook VC method.
19976
19977 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
19978
19979 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
19980 compatibility function for `looking-back'.
19981
19982 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
19983 Use `ispell-looking-back'.
19984
19985 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
19986
19987 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
19988 rather than `filename'.
19989
19990 2009-06-23 Miles Bader <miles@gnu.org>
19991
19992 * face-remap.el (text-scale-set): New function.
19993
19994 2009-06-23 Glenn Morris <rgm@gnu.org>
19995
19996 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
19997
19998 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
19999
20000 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
20001
20002 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
20003
20004 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
20005 Simplify Persian conditionals.
20006
20007 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
20008 variable `filename'.
20009
20010 * comint.el (comint-insert-input): Doc fix.
20011
20012 * Makefile.in (ELCFILES): Fix typo in previous change.
20013
20014 2009-06-23 Miles Bader <miles@gnu.org>
20015
20016 * cus-start.el: Add entry for `recenter-redisplay'.
20017
20018 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
20019
20020 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
20021 Add an optional argument for the backend, use it instead of
20022 calling vc-backend.
20023 (vc-mode-line): Add an optional argument for the backend.
20024 Pass the backend to vc-state and vc-working-revision. Move code for
20025 special handling for vc-state being a buffer to ...
20026
20027 * vc-rcs.el (vc-rcs-find-file-hook):
20028 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
20029
20030 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
20031 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
20032 vc-stay-local-p and vc-mode-line calls.
20033
20034 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
20035 (vc-cvs-diff, vc-cvs-annotate-command)
20036 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
20037 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
20038 vc-mode-line calls.
20039
20040 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
20041 direct comparison.
20042 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
20043 backend when calling vc-mode-line.
20044 (vc-register): Do not create a closure for calling the vc register
20045 function, call it directly.
20046
20047 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
20048
20049 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
20050 to make it obvious item can be clicked.
20051
20052 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
20053
20054 2009-06-23 Kenichi Handa <handa@m17n.org>
20055
20056 * language/korea-util.el (korean-key-bindings): Change the binding
20057 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
20058 same command.
20059
20060 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
20061
20062 Sync with Tramp 2.1.16.
20063
20064 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
20065
20066 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
20067 when a loading of a package fails. Completion function for rsync
20068 is `tramp-completion-function-alist-ssh'.
20069 (all): Replace all calls of `split-string' and
20070 `tramp-split-string' by `tramp-compat-split-string'.
20071 (tramp-default-method): Use `tramp-compat-process-running-p'.
20072 (tramp-default-proxies-alist): Allow also Lisp forms.
20073 (tramp-remote-path): Add choice "Private Directories".
20074 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
20075 (tramp-domain-regexp): Allow also "-", "_" and ".".
20076 (tramp-end-of-output): Remove newlines, and add "$" at the end.
20077 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
20078 (tramp-debug-message): Insert header line in debug buffer.
20079 (tramp-handle-directory-files-and-attributes-with-stat):
20080 Care about filenames with spaces, or starting with "-".
20081 (tramp-handle-dired-uncache): New defun.
20082 (tramp-handle-insert-directory): Don't flush the directory from
20083 cache, this is handled by `dired-uncache' now.
20084 (tramp-handle-insert-file-contents): Improve error handling.
20085 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
20086 Quote `tramp-end-of-output'.
20087 (tramp-action-password): Improve trace message.
20088 (tramp-check-for-regexp): Both echoes must be present, before removing.
20089 (tramp-open-connection-setup-interactive-shell): Trace coding system.
20090 (tramp-compute-multi-hops): Eval cons cells of
20091 `tramp-default-proxies-alist'.
20092 (tramp-maybe-open-connection): Use the same command pattern for
20093 first hop and further hops.
20094 (tramp-wait-for-output): Remove handling of newlines.
20095 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
20096 (tramp-split-string): Remove function. It is handled in
20097 tramp-compat now.
20098
20099 * net/tramp-cmds.el (tramp-bug):
20100 Recommend `tramp-cleanup-all-connections' in the bug mail.
20101
20102 * net/tramp-compat.el (tramp-compat-split-string)
20103 (tramp-compat-process-running-p): New defuns.
20104
20105 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
20106 for `dired-uncache'.
20107
20108 * net/tramp-gvfs.el: New package.
20109
20110 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
20111 Add handler for `dired-uncache'.
20112 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
20113
20114 * net/trampver.el: Update release number. Make version check fit
20115 for SXEmacs 22.
20116
20117 2009-06-22 Jim Meyering <meyering@redhat.com>
20118
20119 Automatically handle .xz suffix (XZ-compressed files), too.
20120 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
20121 XZ is the successor to LZMA: <http://tukaani.org/xz/>
20122
20123 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
20124 Nick Roberts <nickrob@snap.net.nz>
20125
20126 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
20127 repository (http://sphinx.net.ru/hg/gdb-mi/).
20128
20129 2009-06-22 Glenn Morris <rgm@gnu.org>
20130
20131 * files.el (dir-locals-collect-mode-variables): Allow for any number of
20132 `mode' and `eval' entries. (Bug#3430)
20133
20134 * Makefile.in (ELCFILES): Add fadr.elc.
20135
20136 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
20137 differing behavior of \n and ^ in strings. (Bug#3385)
20138
20139 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
20140
20141 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
20142 property.
20143 (lisp-indent-function): Make it a defcustom.
20144
20145 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
20146
20147 * progmodes/gdb-ui.el: Replace with ...
20148 * progmodes/gdb-mi.el: ... this file.
20149 * progmodes/gud.el: Modify for gdb-mi.el.
20150
20151 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
20152
20153 * fadr.el: New file.
20154
20155 See ChangeLog.14 for earlier changes.
20156
20157 ;; Local Variables:
20158 ;; coding: utf-8
20159 ;; End:
20160
20161 Copyright (C) 2009, 2010 Free Software Foundation, Inc.
20162
20163 This file is part of GNU Emacs.
20164
20165 GNU Emacs is free software: you can redistribute it and/or modify
20166 it under the terms of the GNU General Public License as published by
20167 the Free Software Foundation, either version 3 of the License, or
20168 (at your option) any later version.
20169
20170 GNU Emacs is distributed in the hope that it will be useful,
20171 but WITHOUT ANY WARRANTY; without even the implied warranty of
20172 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20173 GNU General Public License for more details.
20174
20175 You should have received a copy of the GNU General Public License
20176 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.