]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
Merge dired-x's dired-find-buffer-nocreate into dired.el.
[gnu-emacs] / lisp / ChangeLog
1 2011-02-19 Kenichi Handa <handa@m17n.org>
2
3 * mail/rmailmm.el (rmail-mime-find-header-encoding): Be sure to
4 get the header copy into the temporary buffer.
5 (rmail-mime-insert-decoded-text): Ignore us-ascii.
6 (rmail-show-mime): When rmail-mime-coding-system is nil, set
7 buffer-file-coding-system to undecided.
8
9 2011-02-19 Eli Zaretskii <eliz@gnu.org>
10
11 * international/mule-cmds.el (read-char-by-name, ucs-insert):
12 Document completion with asterisk and a substring.
13
14 2011-02-19 Glenn Morris <rgm@gnu.org>
15
16 * files.el (find-file-literally): Doc fix.
17
18 * simple.el (rfc822-goto-eoh): Give it a doc-string.
19
20 * log-edit.el (log-edit-insert-changelog):
21 Fix `log-edit-strip-single-file-name' functionality. (Bug#8057)
22
23 2011-02-19 Glenn Morris <rgm@gnu.org>
24
25 * dired-x.el (dired-find-buffer-nocreate): Merge into dired.el.
26 * dired.el (dired-find-buffer-nocreate): Merge dired-x version.
27
28 * dired-x.el (dired-read-shell-command): Merge into dired-aux's version.
29 * dired-aux.el (dired-read-shell-command): Merge dired-x's version.
30
31 * dired-x.el (dired-clean-up-after-deletion): Merge into dired.el.
32 * dired.el (dired-clean-up-after-deletion): Merge dired-x's version.
33 (dired-clean-up-buffers-too): Declare.
34
35 * dired-x.el (dired-initial-position): Merge into dired.el's version.
36 * dired.el (dired-initial-position): Merge dired-x's version here.
37 (dired-find-subdir): Declare.
38
39 * dired-x.el (dired-omit-new-add-entry): Merge into dired-add-entry.
40 * dired-aux.el (dired-add-entry): Give it a doc-string.
41 Merge dired-x's dired-omit handling here.
42 (dired-omit-mode, dired-omit-regexp, dired-omit-localp): Declare.
43
44 * international/mule-diag.el (list-input-methods-1):
45 Indent all lines of multi-line doc-strings. (Bug#8066)
46
47 2011-02-18 Chong Yidong <cyd@stupidchicken.com>
48
49 Fix 2011-02-02 changes.
50
51 * apropos.el (apropos-print): Call apropos-mode before setting up
52 buffer variables. Use inhibit-read-only.
53
54 * emacs-lisp/package.el (package--list-packages): Call
55 package-menu-mode before setting up buffer variables.
56
57 * play/solitaire.el (solitaire): Call solitaire-mode before
58 setting up buffer variables. Use inhibit-read-only.
59
60 2011-02-18 Lawrence Mitchell <wence@gmx.li>
61
62 * progmodes/sh-script.el (sh-syntax-propertize-here-doc): (bug#8053)
63 Bind case-fold-search to nil when looking for end of here-doc.
64
65 2011-02-18 Eli Zaretskii <eliz@gnu.org>
66
67 * image-mode.el (image-toggle-display-image):
68 Set find-file-literally non-nil in buffers visiting binary image
69 files. (Bug#8047)
70
71 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
72
73 * files.el (cd): Make completion obey cd-path (bug#7924).
74
75 2011-02-18 Glenn Morris <rgm@gnu.org>
76
77 * progmodes/prolog.el: Don't require compile when compiling.
78 (compilation-shell-minor-mode, compilation-error-regexp-alist)
79 (compilation-forget-errors, compilation-fake-loc)
80 (compilation-parse-errors-function, compilation-error-list): Declare.
81 (prolog-inferior-mode): Require 'compile.
82
83 * emulation/cua-base.el (pc-selection-mode): Declare.
84
85 * emacs-lisp/eieio-custom.el: Set generated-autoload-file.
86 (customize-object): Add autoload cookie.
87 * emacs-lisp/eieio-opt.el: Set generated-autoload-file.
88 (eieio-browse, describe-class, eieio-describe-class)
89 (eieio-describe-constructor, describe-generic, eieio-describe-generic)
90 (eieio-help-mode-augmentation-maybee): Add autoload cookies.
91 * emacs-lisp/eieio.el: Regenerate with automatic autoloads.
92 * Makefile.in (autoloads): Make eieio.el writable.
93
94 * dired-x.el (dired-clean-up-after-deletion, dired-do-relsymlink)
95 (dired-do-relsymlink-regexp, dired-find-buffer-nocreate): Use #'.
96 (dired-hack-local-variables): Use inhibit-read-only.
97 (dired-guess-default): Simplify.
98 (dired-make-relative-symlink): Use dotimes.
99 (dired-simultaneous-find-file): Use dolist.
100 (dired-mark-sexp): Remove unneeded `if'. Use line-end-position.
101 (dired-x-hands-off-my-keys): Doc fix.
102 (dired-x-bind-find-file): Doc fix. Use remapping.
103 (after-init-hook): No need to add dired-x-bind-find-file.
104 (dired-x-find-file, dired-x-find-file-other-window): Doc fixes.
105 No need to call expand-file-name.
106 (dired-filename-at-point): Remove unused locals `end', `filename'.
107
108 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
109
110 * emacs-lisp/pcase.el (pcase--u1): Understand non-linear patterns.
111
112 2011-02-18 Christian Ohler <ohler@gnu.org>
113
114 * emacs-lisp/ert.el (ert--setup-results-buffer)
115 (ert-results-pop-to-backtrace-for-test-at-point)
116 (ert-results-pop-to-messages-for-test-at-point)
117 (ert-results-pop-to-should-forms-for-test-at-point)
118 (ert-results-pop-to-timings): Revert parts of change 2011-02-02T17:59:44Z!sds@gnu.org that
119 were incorrect and unnecessary. This should make `make check'
120 pass again.
121
122 2011-02-17 Ken Manheimer <ken.manheimer@gmail.com>
123
124 * lisp/allout-widgets.el: (allout-widgets-icons-light-subdir)
125 (allout-widgets-icons-dark-subdir): Track relocations of icons
126 * lisp/allout.el: Remove commentary about remove encryption
127 passphrase mnemonic support and verification.
128 (allout-encrypt-string): (allout-encrypt-string): Recognize epg
129 failure to decrypt gpg2 armored text using gpg1, and indicate that
130 the gpg version *might* be the problem in the error message.
131
132 2011-02-17 Deniz Dogan <deniz.a.m.dogan@gmail.com>
133
134 * net/rcirc.el (rcirc-float-time): New function.
135 (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE)
136 (rcirc-ctcp-sender-PING): Use it.
137
138 2011-02-17 Glenn Morris <rgm@gnu.org>
139
140 * speedbar.el (speedbar-ignored-modes, speedbar-file-unshown-regexp)
141 (speedbar-update-flag, speedbar-fetch-etags-command)
142 (speedbar-fetch-etags-arguments):
143 * term.el (term-buffer-maximum-size, term-input-chunk-size)
144 (term-completion-autolist, term-completion-addsuffix)
145 (term-completion-recexact, term-completion-fignore):
146 * term/sup-mouse.el (sup-mouse-fast-select-window):
147 * term/x-win.el (x-select-request-type):
148 Convert some defvars with "*" to defcustoms.
149
150 * shell.el (shell-delimiter-argument-list): Set it to nil. (Bug#8027)
151
152 * vc/vc.el (vc-default-previous-version):
153 Remove alias that points nowhere. (Bug#4496)
154
155 * dired-x.el (dired-clean-up-after-deletion):
156 kill-buffer does not need save-excursion.
157 (dired-do-run-mail): Doc fix.
158 (dired-filename-at-point): Doc fix.
159 Use looking-at, and skip-chars rather than re search.
160
161 * dired-x.el (dired-filename-at-point): Fix 8-year old typo.
162
163 2011-02-16 Ken Manheimer <ken.manheimer@gmail.com>
164
165 * allout-widgets.el: New allout extension that shows allout
166 outline structure with graphical widgets. 'allout-widgets'
167 customize group is an 'allout' subgroup, for easy discovery.
168
169 * allout.el: Include PGP and GnuPG in Keywords, and other
170 commentary refinements.
171 (allout-abbreviate-flattened-numbering): Rename to
172 allout-flattened-numbering-abbreviation, and
173 define-obsolete-variable-alias the old name.
174 (allout-flattened-numbering-abbreviation): Rename from
175 allout-abbreviate-flattened-numbering.
176 (allout-mode-p): Include among autoloads, for use by other modes
177 with impunity.
178 (allout-listify-exposed):
179 Use allout-flattened-numbering-abbreviation.
180 (allout-encrypt-string): Use set-buffer-multibyte directly.
181 (allout-set-buffer-multibyte): Remove.
182
183 2011-02-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
184
185 * simple.el (just-one-space): Remove useless `or' call.
186
187 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
188
189 * soap-client.el (soap-well-known-xmlns, soap-local-xmlns)
190 (soap-default-xmlns, soap-target-xmlns, soap-multi-refs)
191 (soap-decoded-multi-refs, soap-current-wsdl)
192 (soap-encoded-namespaces): Rename CL-style *...* variables.
193
194 2011-02-16 Michael Albinus <michael.albinus@gmx.de>
195
196 * net/soap-client.el: Add "comm" and "hypermedia" to the
197 keywords. Reflow too long lines.
198
199 * net/soap-inspect.el: Ditto. Require 'cl.
200
201 2011-02-16 Bastien Guerry <bzg@altern.org>
202
203 * play/doctor.el (doctor-mode): Bugfix: escape the "," character
204 in a `doctor-type' argument.
205
206 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
207
208 * net/soap-client.el:
209 * net/soap-inspect.el: New files.
210
211 2011-02-16 Leo <sdl.web@gmail.com>
212
213 * dired-x.el (dired-mode-map, dired-extra-startup):
214 Remove dired-copy-filename-as-kill since it's already in dired.el.
215
216 2011-02-16 Glenn Morris <rgm@gnu.org>
217
218 * dired-x.el (dired-bind-jump, dired-bind-man, dired-bind-info):
219 Doc fixes. Add :set property, replacing top-level calls.
220 (dired-vm-read-only-folders, dired-vm): Doc fix (drop v. old VM 4).
221 (dired-guess-shell-gnutar): Test tar version rather than system-type.
222 (dired-extra-startup, dired-man, dired-info): Doc fixes.
223 (dired-clean-up-after-deletion): Use when and dolist.
224 (dired-jump): Use unless and when.
225 (dired-virtual): Use line-end-position.
226 (dired-default-directory-alist): Rename from default-directory-alist.
227 (dired-default-directory): Update for above name change.
228 (dired-vm): Drop VM < 5 and simplify.
229 (dired-buffer-more-recently-used-p): Rewrite.
230 (dired-filename-at-point): Use when and or.
231 (dired-x-read-filename-at-point): Rename from read-filename-at-point.
232 Update callers.
233
234 2011-02-15 Glenn Morris <rgm@gnu.org>
235
236 * dired-x.el: Use easymenu for menu items. Fix item capitalization.
237
238 2011-02-14 Chong Yidong <cyd@stupidchicken.com>
239
240 * vc/vc-git.el (vc-git-root-log-format): New option for
241 customizing log format.
242 (vc-git-print-log, vc-git-log-outgoing, vc-git-log-incoming)
243 (vc-git-log-view-mode): Use it.
244 (vc-git-expanded-log-entry): New function.
245 (vc-git-log-view-mode): Use it. Truncate lines in root log.
246
247 * vc/vc-hg.el (vc-hg-root-log-template): New option for
248 customizing log format.
249 (vc-hg-print-log): Use it.
250 (vc-hg-expanded-log-entry): New function.
251 (vc-hg-log-view-mode): Use vc-hg-root-log-template and
252 vc-hg-expanded-log-entry. Truncate lines in root log.
253
254 * vc/vc-bzr.el (vc-bzr-log-view-mode): Truncate lines in root log.
255
256 * vc/log-view.el (log-view-mode-menu):
257 Add log-view-toggle-entry-display.
258
259 2011-02-14 Glenn Morris <rgm@gnu.org>
260
261 * dired-x.el: Don't require man when compiling.
262 (dired-omit-extensions, dired-local-variables-file)
263 (dired-x-hands-off-my-keys): Make them defcustoms.
264 (Man-support-local-filenames, Man-getpage-in-background): Declare.
265 (vm-visit-folder): Declare rather than defining.
266 (dired-x-help-address, dired-x-variable-list): Remove.
267 (dired-x-submit-report): Make it an obsolete alias.
268
269 2011-02-14 Juanma Barranquero <lekktu@gmail.com>
270
271 * makefile.w32-in (TRAMP_SRC): Remove tramp-imap.el.
272
273 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
274
275 * net/imap.el: Bring it back.
276
277 2011-02-13 Alan Mackenzie <acm@muc.de>
278
279 * progmodes/cc-fonts.el (c-font-lock-declarations): Remove a
280 narrow-to-region call that cuts context off the end (Bug#7722).
281
282 * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
283 Refactor nested if-forms with a simple cond.
284 (c-forward-<>-arglist): Revert 2011-01-31 change.
285
286 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
287
288 * vc/log-view.el: New command log-view-toggle-entry-display for
289 toggling log entries between concise and detailed forms.
290 (log-view-toggle-entry-display): New command.
291 (log-view-mode-map): Bind RET to it.
292 (log-view-expanded-log-entry-function): New variable.
293 (log-view-current-entry, log-view-inside-comment-p)
294 (log-view-current-tag): New functions.
295 (log-view-toggle-mark-entry): Use log-view-current-entry and
296 log-view-end-of-defun instead of searching directly with
297 log-view-message-re.
298 (log-view-end-of-defun): Likewise. Add optional ARG for
299 compatibility with end-of-defun.
300 (log-view-end-of-defun): Ignore comments and VC buttons.
301
302 * vc/vc-bzr.el (vc-bzr-expanded-log-entry): New function.
303 (vc-bzr-log-view-mode): Use log-view-expanded-log-entry-function.
304
305 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
306
307 * net/imap.el: Remove file. All the functionality is in nnimap.el.
308
309 * net/imap-hash.el: Remove file.
310
311 2011-02-13 Michael Albinus <michael.albinus@gmx.de>
312
313 * Makefile.in (TRAMP_SRC): Remove tramp-imap.el.
314
315 * net/tramp.el (tramp-read-passwd): Simplify `auth-source-search'
316 call.
317
318 * net/tramp-imap.el: Remove file.
319
320 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
321
322 * vc/vc.el (vc-print-log-setup-buttons): Instead of using the
323 widget library for buttons, just use button.el.
324
325 * vc/log-view.el (log-view-mode-map): Don't inherit from
326 widget-keymap.
327
328 2011-02-12 Glenn Morris <rgm@gnu.org>
329
330 * emacs-lisp/cl-seq.el (union, nunion, intersection)
331 (nintersection, set-difference, nset-difference)
332 (set-exclusive-or, nset-exclusive-or): Doc fix.
333
334 * ediff-ptch.el (ediff-fixup-patch-map): Doc fix.
335
336 * faces.el (face-attr-match-p): Handle the obsolete :bold and
337 :italic props, so that frame-set-background-mode works. (Bug#7966)
338
339 * simple.el (next-error): Doc fix.
340
341 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
342
343 * dired-aux.el (dired-create-files): Adapt destination name to
344 match the new behavior of copy-directory.
345
346 2011-02-12 Chong Yidong <cyd@stupidchicken.com>
347
348 * mail/mail-utils.el (mail-dont-reply-to-names): New variable,
349 from rmail-dont-reply-to-names. Callers changed.
350 (mail-dont-reply-to): Rename from mail-dont-reply-to.
351 (rmail-dont-reply-to): Make it an obsolete alias.
352
353 * mail/rmail.el (rmail-default-dont-reply-to-names): Default to
354 nil, and make obsolete (Bug#7888).
355 (rmail-dont-reply-to-names): Alias to mail-dont-reply-to-names.
356
357 * mail/rmailsum.el (rmail-summary-sort-by-correspondent): Doc fix.
358
359 * mail/rmailsort.el (rmail-sort-by-correspondent)
360 (rmail-select-correspondent): Doc fix. Use mail-dont-reply-to.
361
362 * mail/rmail.el (rmail-reply): Use mail-dont-reply-to.
363
364 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
365
366 * files.el (copy-directory): New argument COPY-CONTENTS for
367 copying directory contents into another existing directory.
368
369 2011-02-12 Tassilo Horn <tassilo@member.fsf.org>
370
371 * minibuffer.el (completion-table-case-fold): New function for
372 creating a case-insensitive completion table.
373
374 2011-02-12 Teodor Zlatanov <tzz@lifelogs.com>
375
376 * net/tramp.el (tramp-default-method): Also check if
377 `auth-source-search' is bound.
378 (tramp-read-passwd): Use `auth-source-search' instead of
379 `auto-source-user-or-password'.
380
381 * net/tramp-imap.el: Autoload `auto-source-search' instead of
382 `auto-source-user-or-password.
383 (tramp-imap-passphrase-callback-function): Use it.
384
385 * net/imap-hash.el: Autoload `auto-source-search' instead of
386 `auto-source-user-or-password.
387 (imap-hash-open-connection): Use it.
388
389 * mail/smtpmail.el: Autoload `auto-source-search' instead of
390 `auto-source-user-or-password.
391 (smtpmail-try-auth-methods): Use it.
392
393 2011-02-12 Phil Hagelberg <phil@hagelb.org>
394
395 * emacs-lisp/package.el: Allow packages to be reinstalled.
396 (package--write-file-no-coding): Remove EXCL arg.
397 (package-unpack-single): Don't use it.
398
399 2011-02-12 Karl Pflästerer <k@rl.pflaesterer.de> (tiny change)
400
401 * vc/vc-svn.el: Adapt to Subversion change, with no .svn directory
402 in each sub directory.
403 (vc-svn-registered): Use vc-svn-root.
404 (vc-svn-root): New function. Make vc-svn-responsible-p an alias.
405 (vc-svn-repository-hostname): Use "svn info".
406
407 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
408
409 * simple.el (delete-trailing-whitespace): New optional buffer
410 bound parameters.
411
412 2011-02-11 Bastien Guerry <bzg@altern.org>
413
414 * files.el (basic-save-buffer): save unmodified buffers when
415 the file pointed by buffer-file-name doesn't exist.
416
417 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
418
419 * net/rcirc.el (defun-rcirc-join): Accept multiple channels.
420
421 2011-02-11 Glenn Morris <rgm@gnu.org>
422
423 * emacs-lisp/cl-specs.el (multiple-value-bind): Fix debug spec.
424
425 2011-02-11 Juanma Barranquero <lekktu@gmail.com>
426
427 * net/rcirc.el (rcirc-send-ctcp): Remove spurious arg to `format'.
428
429 2011-02-10 Stefan Monnier <monnier@iro.umontreal.ca>
430
431 * server.el (server-process-filter): Use pcase.
432
433 * emacs-lisp/smie.el (smie-blink-matching-open): Don't use `pos' in two
434 conflicting ways.
435 (smie-indent--parent): Extend to "parent of arg".
436 (smie-indent-inside-string): New function.
437 (smie-indent-functions): Use it.
438
439 * vc/vc-dir.el (vc-dir-refresh): Reorder operations to try and avoid
440 bzr locking race condition.
441
442 * emacs-lisp/edebug.el (edebug-instrument-function): Check a marker is
443 still valid before using it.
444
445 * progmodes/grep.el (grep-mode-font-lock-keywords): Adjust to
446 `message' -> `compilation-message' rename (bug#8004).
447
448 Move keymap initialization into declaration.
449 * textmodes/enriched.el (enriched-mode-map):
450 * textmodes/bib-mode.el (bib-mode-map):
451 * term/lk201.el (lk201-function-map):
452 * tar-mode.el (tar-mode-map):
453 * replace.el (occur-mode-map):
454 * progmodes/idlwave.el (idlwave-rinfo-mouse-map, idlwave-rinfo-map):
455 * progmodes/idlw-help.el (idlwave-help-mode-map):
456 * progmodes/gdb-mi.el (gdb-memory-format-menu, gdb-memory-unit-menu):
457 * play/solitaire.el (solitaire-mode-map):
458 * play/snake.el (snake-mode-map, snake-null-map):
459 * play/pong.el (pong-mode-map):
460 * play/handwrite.el (menu-bar-handwrite-map):
461 * play/gametree.el (gametree-mode-map):
462 * net/rcirc.el (rcirc-mode-map, rcirc-browse-url-map
463 (rcirc-multiline-minor-mode-map, rcirc-track-minor-mode-map):
464 * net/newst-plainview.el (newsticker-menu, newsticker-mode-map)
465 (newsticker--url-keymap):
466 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
467 * menu-bar.el (menu-bar-file-menu, menu-bar-i-search-menu)
468 (menu-bar-search-menu, menu-bar-replace-menu, menu-bar-goto-menu)
469 (menu-bar-edit-menu, menu-bar-custom-menu)
470 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
471 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
472 (menu-bar-line-wrapping-menu, menu-bar-options-menu)
473 (menu-bar-games-menu, menu-bar-encryption-decryption-menu)
474 (menu-bar-tools-menu, menu-bar-describe-menu)
475 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
476 (menu-bar-help-menu):
477 * mail/rmailsum.el (rmail-summary-mode-map):
478 * kmacro.el (kmacro-step-edit-map):
479 * ibuffer.el (ibuffer-mode-groups-popup, ibuffer-mode-map)
480 (ibuffer-mode-operate-map):
481 * hi-lock.el (hi-lock-menu, hi-lock-map):
482 * emulation/vip.el (vip-mode-map):
483 * emacs-lisp/re-builder.el (reb-lisp-mode-map):
484 * bookmark.el (bookmark-bmenu-mode-map):
485 * help-mode.el (help-mode-map): Move initialization into declaration.
486
487 2011-02-10 Deniz Dogan <deniz.a.m.dogan@gmail.com>
488
489 * net/rcirc.el: Add PRIVMSG and CTCP functions.
490 (rcirc-send-privmsg, rcirc-send-ctcp): New functions.
491 (rcirc-keepalive, rcirc-cmd-ctcp, rcirc-ctcp-sender-PING)
492 (rcirc-cmd-me, rcirc-authenticate): Use them.
493
494 2011-02-10 Ken Manheimer <ken.manheimer@gmail.com>
495
496 * allout.el: Synopsis: Change allout user configuration so
497 auto-activation is controlled solely by customization
498 `allout-auto-activation'.
499
500 (allout-auto-activation-helper) (allout-setup): New autoloads
501 implement new custom set procedure for allout-auto-activation.
502 Also, explicitly invoke
503 (allout-setup) after allout-auto-activation is custom-defined, to
504 effect the settings in emacs sessions besides the few where
505 allout-auto-activation customization is donea.
506 (allout-auto-activation): Use allout-auto-activation-helper to
507 :set. Revise the docstring.
508 (allout-init): Reduce functionality to just customizing
509 allout-auto-activation, and mark obsolete.
510 (allout-mode): Respect string values for allout-auto-activation.
511 Run allout-after-copy-or-kill-hook without any args.
512 (allout-mode) (allout-layout) (allout-default-layout)
513 (outlineify-sticky): Adjust docstring for new scheme.
514 (allout-after-copy-or-kill-hook): No arguments - hook implementers
515 should concentrate on the kill ring.
516
517 2011-02-09 Teodor Zlatanov <tzz@lifelogs.com>
518
519 * password-cache.el (password-cache-remove): Accept secrets that are
520 not strings.
521
522 2011-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
523
524 * progmodes/sh-script.el (sh-font-lock-open-heredoc): Fix case
525 of here-doc that immediately follows a comment.
526
527 2011-02-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
528
529 * net/rcirc.el (rcirc-ctcp-sender-PING): Simplifying.
530
531 * net/rcirc.el (rcirc-cmd-ctcp): Use dedicated function when
532 available.
533 (rcirc-ctcp-sender-PING): New function.
534
535 2011-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
536
537 * obsolete/pc-select.el: Rename from emulation/pc-select.el (bug#7940).
538 Remove the mark/nomark handling, and activate shift-select-mode instead.
539
540 * obsolete/pc-mode.el: Rename from emulation/pc-mode.el.
541
542 2011-02-07 Jay Belanger <jay.p.belanger@gmail.com>
543
544 * calc/calc-units.el (math-logunits-quant): Add support for
545 non-logarithmic units.
546
547 2011-02-07 Ken Manheimer <ken.manheimer@gmail.com>
548
549 * allout.el (allout-after-copy-or-kill-hook): New hook for
550 extension-specific processing of killed text.
551 (allout-mode): Include new allout-after-copy-or-kill-hook among
552 mentioned hooks.
553 (allout-kill-line) (allout-kill-topic): Ensure that processing
554 after kill happens even if barf-if-buffer-read-only is raised.
555 Include new allout-after-copy-or-kill-hook among that subsequent
556 processing.
557 (allout-deannotate-hidden): Actually remove the annotation text
558 properties.
559
560 * allout.el (allout-listify-exposed): Copy text sans text properties.
561
562 2011-02-07 Michael Albinus <michael.albinus@gmx.de>
563
564 * net/dbus.el (dbus-list-activatable-names): Add optional argument BUS.
565
566 2011-02-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
567
568 * net/rcirc.el (rcirc-handler-317): New function (Bug#6507).
569
570 2011-02-06 Jay Belanger <jay.p.belanger@gmail.com>
571
572 * calc/calc.el (calc-logunits-field-reference): Rename from
573 `calc-default-field-reference-level'.
574 (calc-logunits-power-reference): Rename from
575 `calc-default-power-reference-level'
576
577 * calc/calc-units.el (math-logunits-quant): Rename from
578 `math-logunits-level'
579 (math-logunits-plus): Rename from math-logcombine.
580 (calcFunc-luplus, calcFunc-luminus calc-luplus, calc-luminus): Remove.
581 (calcFunc-lufieldadd, calcFunc-lupoweradd, calcFunc-lufieldsub)
582 (calcFunc-lufieldsub,calc-logunits-add calc-logunits-sub):
583 New functions.
584 (calcFunc-fieldquant): Rename from `calcFunc-fieldlevel'.
585 (calcFunc-powerquant): Rename from `calcFunc-powerlevel'.
586 (calc-logunits-quantity): Rename from `calc-level'.
587 (calcFunc-dbfieldlevel, calcFunc-dbpowerlevel, calcFunc-npfieldlevel)
588 (calcFunc-nppowerlevel,calc-logunits-dblevel, calc-logunits-nplevel)
589 (math-logunits-mul, calcFunc-lufieldmul, calcFunc-lupowermul)
590 (calc-logunits-mul, math-logunits-divide, calcFunc-lufielddiv)
591 (calcFunc-lupowerdiv,calc-logunits-divide,math-logunits-level):
592 New functions.
593
594 * calc/calc-help.el (calc-u-prefix-help): Remove "L" reference.
595 (calc-ul-prefix-help): Remove.
596 (calc-l-prefix-help): New function.
597 (calc-full-help): Add reference to `calc-l-prefix-help'.
598
599 * calc/calc-ext.el (calc-init-extensions): Update autoloads.
600
601 * calc/README: Mention logarithmic units.
602
603 2011-02-06 Chong Yidong <cyd@stupidchicken.com>
604
605 * mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
606 non-ASCII characters (Bug#7925).
607
608 2011-02-05 Glenn Morris <rgm@gnu.org>
609
610 * emacs-lisp/cl-macs.el (return-from): Fix doc typo.
611
612 * calendar/diary-lib.el (diary-font-lock-keywords):
613 Tweak diary-time-regexp match. (Bug#7891)
614
615 * progmodes/f90.el (f90-find-tag-default): New function. (Bug#7919)
616 (f90-mode): Use it for mode's `find-tag-default-function' property.
617
618 * ibuf-ext.el (ibuffer-filter-disable): Make it work. (Bug#7969)
619
620 * faces.el (set-face-attribute): Doc fix. (Bug#2659)
621
622 2011-02-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
623
624 * net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
625 (Bug#6386).
626
627 2011-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
628
629 * progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the
630 font-lock-syntax-table remappings.
631 (sh-here-doc-markers, sh-here-doc-re): Remove.
632 (sh-font-lock-close-heredoc): Remove.
633 (sh-syntax-propertize-here-doc): New function.
634 (sh-font-lock-open-heredoc): Set the sh-here-doc-marker property
635 instead of the sh-here-doc-re.
636 (sh-font-lock-paren): Don't do anything in comments or strings.
637 Handle line continuations. Accept a few more chars.
638 Don't rely on the font-lock-syntax-table remappings.
639 `esac' is not a valid pattern.
640 (sh-syntax-propertize-function): Handle here-docs differently, so we
641 don't bother syntax-propertizing the insides.
642
643 * progmodes/sh-script.el (sh-font-lock-paren, sh-kw, sh-prev-thing):
644 Handle new bashisms ";&" and ";;&" (bug#7947).
645
646 2011-02-05 Michael Albinus <michael.albinus@gmx.de>
647
648 * net/tramp-smb.el (tramp-smb-errors): Use `regexp-opt'.
649 Add "NT_STATUS_IO_TIMEOUT" and "NT_STATUS_NO_SUCH_USER".
650
651 2011-02-05 Era Eriksson <era+tramp@iki.fi> (tiny change)
652
653 * net/tramp.el (tramp-postfix-method-format)
654 (tramp-postfix-method-regexp, tramp-prefix-domain-format)
655 (tramp-prefix-domain-regexp, tramp-postfix-user-format)
656 (tramp-postfix-user-regexp, tramp-prefix-port-format)
657 (tramp-prefix-port-regexp, tramp-postfix-host-format)
658 (tramp-postfix-host-regexp, tramp-handle-substitute-in-file-name):
659 Doc fix.
660
661 2011-02-04 Sam Steingold <sds@gnu.org>
662
663 * mouse.el (mouse-buffer-menu-mode-groups): Add a "GDB" group.
664
665 2011-02-04 Andreas Schwab <schwab@linux-m68k.org>
666
667 * international/mule-util.el (with-coding-priority): Doc fix.
668
669 2011-02-04 Eli Zaretskii <eliz@gnu.org>
670
671 * arc-mode.el (archive-mode-map): Fix a typo in last change.
672
673 2011-02-03 Sam Steingold <sds@gnu.org>
674
675 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
676 Do not error out when `func' is nil.
677
678 2011-02-03 Michael Albinus <michael.albinus@gmx.de>
679
680 * net/tramp-sh.el (tramp-remote-path): Add default settings for
681 `tramp-default-remote-path' to the docstring.
682 (tramp-get-remote-path): Suppress error message when `getconf
683 PATH' fails.
684
685 * net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL".
686
687 2011-02-03 Glenn Morris <rgm@gnu.org>
688
689 * vc/vc-hg.el (vc-hg-command): Doc fix.
690
691 * term/w32-win.el (libpng-version): Declare for compiler.
692
693 * msb.el: No need to load dired while compiling.
694
695 * emacs-lisp/elint.el (elint-standard-variables):
696 Remove a couple of built-ins that now have doc-strings.
697
698 * hi-lock.el, ps-bdf.el, ps-mule.el, ps-print.el, ps-samp.el:
699 `require' is automatically `eval-and-compile'd.
700
701 * net/rcirc.el (rcirc-nick-completion-format): Add :version tag.
702 (rcirc-log-directory, rcirc-log-flag): Move definitions before use.
703
704 * strokes.el (strokes-fill-current-buffer-with-whitespace):
705 Move definition before use.
706 (strokes-report-bug): Make it obsolete.
707
708 2011-02-02 Sam Steingold <sds@gnu.org>
709
710 * apropos.el (apropos-print): Now that `apropos-mode' inherits
711 from `special-mode', entering it makes the buffer read-only, so
712 call it only when everything has been already inserted.
713 * emacs-lisp/ert.el (ert--setup-results-buffer)
714 (ert-results-pop-to-backtrace-for-test-at-point)
715 (ert-results-pop-to-messages-for-test-at-point)
716 (ert-results-pop-to-timings): Ditto.
717 * emacs-lisp/package.el (package--list-packages): Ditto.
718 * play/solitaire.el (solitaire): Ditto.
719
720 2011-02-02 Chong Yidong <cyd@stupidchicken.com>
721
722 * progmodes/compile.el: Make all faces inherit.
723 (compilation-warning): Inherit from font-lock-variable-name-face.
724 (compilation-info): Inherit from font-lock-type-face.
725 (compilation-line-number): Reassign to font-lock-keyword-face.
726 (compilation-column-number): Reassign to font-lock-doc-face.
727 (compilation-leave-directory-face): Reassign to
728 font-lock-builtin-face.
729
730 2011-02-02 Eli Zaretskii <eliz@gnu.org>
731
732 * dired.el (dired-insert-directory): Don't invoke `ls' when
733 ls-lisp.el is used to emulate it.
734
735 2011-02-01 Julien Danjou <julien@danjou.info>
736
737 * color.el (color-gradient): Add a color-gradient function.
738
739 2011-02-01 Sam Steingold <sds@gnu.org>
740
741 * simple.el (special-mode-map): Bind "h" to `describe-mode';
742 bind "z" to `kill-this-buffer'.
743 (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
744 * apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
745 (apropos-mode): Inherit from `special-mode'.
746 * arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
747 * bookmark.el (bookmark-bmenu-mode): Define using
748 `define-derived-mode' inheriting from `special-mode'.
749 * dired.el (dired-mode-map): Inherit from `special-mode-map'.
750 * image-mode.el (image-mode-map): Ditto.
751 * replace.el (occur-mode): Define using
752 `define-derived-mode' inheriting from `special-mode'.
753 * tar-mode.el (tar-mode): Inherit from `special-mode'.
754 * calendar/diary-lib.el (diary-fancy-display-mode):
755 Inherit from `special-mode-map'.
756 * emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
757 Inherit from `special-mode'.
758 * emacs-lisp/package.el (package-menu-mode-map): Copy from
759 `special-mode-map'.
760 (package-menu-mode): Define using `define-derived-mode'
761 inheriting from `special-mode'.
762 * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
763 * net/xesam.el (xesam-mode): Inherit from `special-mode'.
764 (xesam-mode-map): Define separately.
765 * play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
766 * progmodes/compile.el (compilation-minor-mode-map)
767 (compilation-mode-map): Inherit from `special-mode-map'.
768 * vc/diff-mode.el (diff-mode-shared-map):
769 Inherit from `special-mode-map'.
770 * vc/log-view.el (log-view-mode-map): Add a comment.
771
772 2011-02-01 Chong Yidong <cyd@stupidchicken.com>
773
774 * custom.el (load-theme): Define return value. Drop use of
775 unsafep; call custom-theme-load-confirm for non-known-safe themes.
776 (custom-theme-load-confirm): Scroll in the correct window.
777 (custom-enabled-themes): Add custom-safe-themes to :set-after.
778
779 * cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
780 checkbox if load-theme fails.
781
782 2011-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
783
784 * progmodes/compile.el (compilation-next-error): Check there's
785 a message before using it (bug#7941).
786
787 2011-02-01 Jay Belanger <jay.p.belanger@gmail.com>
788
789 * calc/calc-mtx.el (math-lud-pivot-check): New function.
790 (math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
791 of potential pivots.
792
793 2011-01-31 Alan Mackenzie <acm@muc.de>
794
795 * progmodes/cc-cmds.el (c-forward-over-illiterals):
796 Continue parsing if we encounter a naked # (Bug#7595).
797 (c-beginning-of-statement): Avoid loop in locating the beginning
798 of a macro.
799
800 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
801
802 * files.el (copy-directory): Fix arguments to recursive call.
803
804 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
805
806 * files.el (copy-directory): If destination is an existing
807 directory, copy into a subdirectory there.
808
809 2011-01-31 Andreas Schwab <schwab@linux-m68k.org>
810
811 * emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
812 files.
813
814 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
815
816 * image-dired.el (image-dired-mouse-display-image): No-op if no
817 file is found (Bug#7817).
818
819 * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
820
821 2011-01-31 Kenichi Handa <handa@m17n.org>
822
823 * international/quail.el (quail-keyboard-layout-alist):
824 Remove superfluous SPC for "pc105-uk" (bug#7927).
825
826 2011-01-31 Glenn Morris <rgm@gnu.org>
827
828 * msb.el (msb-menu-bar-update-buffers): Update for changed
829 argument handling of menu-bar-select-frame. (Bug#7902)
830
831 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
832
833 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
834 to the recursion depth (Bug#7722).
835
836 2011-01-31 Roy Liu <carsomyr@gmail.com> (tiny change)
837
838 * term/ns-win.el (ns-find-file): Expand ns-input-file with
839 command-line-default-directory (Bug#7872).
840
841 2011-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
842
843 * progmodes/compile.el (compilation--flush-directory-cache):
844 New function, extracted from compilation--remove-properties.
845 (compilation--remove-properties, compilation--parse-region): Use it.
846 (compilation--previous-directory): Handle one more case.
847 (compilation-enable-debug-messages): Remove.
848 (compilation-parse-errors, compilation--flush-parse): Just remove the
849 left over debug messages.
850
851 2011-01-31 Sam Steingold <sds@gnu.org>
852
853 * progmodes/compile.el (compilation-enable-debug-messages):
854 Add a variable to make the parsing messages introduced in
855 2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
856 (compilation-parse-errors, compilation--flush-parse): Use it.
857
858 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
859
860 * net/rcirc.el: New customizable nick completion format. (Bug#6314)
861 (rcirc-nick-completion-format): New defcustom.
862 (rcirc-complete): Use it.
863
864 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
865
866 * net/rcirc.el: Clean log filenames (Bug#7933).
867 (rcirc-log-write): Use convert-standard-filename.
868 (rcirc-log-filename-function): Documentation updates.
869
870 2011-01-30 Jan Djärv <jan.h.d@swipnet.se>
871
872 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
873 Check report-emacs-bug-can-use-osx-open and use that if t.
874 (report-emacs-bug-can-use-osx-open): New function.
875 (report-emacs-bug): Rename can-xdg-email to can-insert-mail.
876 Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
877
878 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
879
880 * vc/vc-dispatcher.el (vc-set-async-update): New function for
881 updating Dired or VC-dir buffers after async command completes.
882
883 * vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
884 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
885
886 * vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
887 completions if it exists. Use vc-set-async-update.
888 (vc-git-pull): Use vc-set-async-update.
889
890 * vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
891 read-shell-command. Use vc-set-async-update.
892 (vc-hg-merge-branch): Use vc-set-async-update.
893
894 2011-01-29 Daiki Ueno <ueno@unixuser.org>
895
896 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
897 Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
898 (Bug#7931).
899
900 2011-01-29 Stefan Monnier <monnier@iro.umontreal.ca>
901
902 * progmodes/compile.el: Avoid an N² behavior in grep.
903 (compilation--previous-directory): New fun.
904 (compilation--previous-directory-cache): New var.
905 (compilation--remove-properties): Flush it.
906 (compilation-directory-properties, compilation-error-properties):
907 Use the new fun to speed up looking for the current directory.
908
909 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
910
911 * vc/vc-hg.el (vc-hg-history): New var.
912 (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
913 (vc-hg-merge-branch): New function.
914
915 * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
916 the other way around.
917
918 * vc/vc-git.el (vc-git-branches, vc-git-pull)
919 (vc-git-merge-branch): New functions.
920 (vc-git-history): New var.
921
922 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
923
924 * vc/vc-dispatcher.el (vc-do-async-command): New function.
925
926 * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
927 vc-do-async-command.
928
929 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
930 Callers changed.
931
932 2011-01-28 Leo <sdl.web@gmail.com>
933
934 * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
935 highlighting to the "this function is advised" message.
936
937 * help-mode.el (help-mode-finish): Apply highlighting here, to
938 avoid clobbering by substitute-command-keys (Bug#6304).
939
940 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
941
942 * woman.el (woman0-roff-buffer): Process roff escape sequences
943 occurring prior to the first request (Bug#7843).
944
945 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
946
947 * progmodes/compile.el: Don't use font-lock any more.
948 (compilation-error-regexp-alist-alist): Change handling of makepp
949 so it preserves the warning/error distinction on subsequent files.
950 Simplify various rules.
951 (compilation-directory-properties): Use font-lock-face.
952 Add a compilation-message property.
953 (compilation-internal-error-properties): Use font-lock-face.
954 Don't set the compilation-debug property here.
955 (compilation--put-prop, compilation--remove-properties)
956 (compilation--parse-region, compilation--ensure-parse)
957 (compilation--ensure-parse): New functions.
958 (compilation-parse-errors): New function, largely inspired of
959 compilation-mode-font-lock-keywords. Set compilation-debug here.
960 (compilation--parsed): New var.
961 (compilation--flush-parse): Use compilation--ensure-parse.
962 (compilation-start): Don't call font-lock.
963 (compilation-turn-on-font-lock): Remove.
964 (compilation-setup): Don't set font-lock-extra-managed-props not change
965 other font-lock settings, other than keywords.
966 Don't activate font-lock-mode.
967 Set change-major-mode-hook and before-change-functions.
968 (compilation--unsetup): Remove properties and hooks.
969 (compilation-next-single-property-change): New function.
970 (compilation-next-error): Use it to parse when needed.
971 (compile-goto-error): Parse buffer as needed.
972 (compilation--compat-error-properties): Don't need a dummy `face'
973 property any more.
974
975 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
976
977 * progmodes/compile.el: Use accessors for clarity and fix omake hack.
978 (compilation-process-setup-function): Fix docstring's false promises.
979 (compilation-error-regexp-alist-alist): Catch omake's continuous
980 recompilation message and avoid reuse of old markers.
981 (compilation-parse-errors-function): Declare obsolete.
982 (compilation-buffer-modtime): Remove.
983 (compilation--make-cdrloc, compilation--loc->col)
984 (compilation--loc->line, compilation--loc->file-struct)
985 (compilation--loc->marker, compilation--loc->visited)
986 (compilation--make-file-struct, compilation--file-struct->file-spec)
987 (compilation--file-struct->formats)
988 (compilation--file-struct->loc-tree): New macros. Use them.
989 (compilation--message): New defstruct. Use them.
990 (compilation-next-error-function): Don't mess with timestamps to try
991 and guess when to reparse.
992
993 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
994
995 * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
996 (tex-old-error-file-name): New function,
997 extracted from tex-compilation-parse-errors.
998 (tex-compilation-parse-errors): Remove.
999 (tex-error-regexp-alist): New var.
1000 (tex-shell): Use it to avoid compilation-parse-errors-function.
1001
1002 * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
1003 (grep-mode-font-lock-keywords): Remove regexp that seems like
1004 a left-over from before we used compile.el.
1005 (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
1006 modifying the buffer within with-silent-modifications.
1007
1008 * progmodes/compile.el: Cleanup text-properties namespace by using
1009 `compilation-message' instead of `message', `compilation-directory'
1010 instead of `directory', and `compilation-debug' instead of `debug'.
1011 (compilation-last-buffer, compilation-parsing-end)
1012 (compilation-error-list, compilation-old-error-list): Move to the
1013 compatibility part of the code.
1014 (compilation-error-properties): If `file' is a function, let it return
1015 a file name.
1016 (compilation-mode-font-lock-keywords): Be more conservative with the
1017 omake "^ *" pattern prefix, to try and minimize the risk of
1018 pathologically slow regexp matching.
1019 (compilation-start): Use inhibit-read-only.
1020 (compilation--unsetup): New function.
1021 (compilation-shell-minor-mode, compilation-minor-mode): Use it.
1022 (compilation-filter): Minor tweaks.
1023 (compilation-next-error-function): Try and avoid abusing variables.
1024 (compilation--flush-file-structure): New fun.
1025 (compilation-fake-loc): Use it to improve behavior when file is reused.
1026 (debug-ignored-errors): Add "Moved past last ...".
1027 (compilation--compat-error-properties)
1028 (compilation--compat-parse-errors): Rename by doubling the "-".
1029
1030 Port features from the previous prolog.el to the new one.
1031 * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
1032 (prolog-program-name, prolog-program-switches, prolog-consult-string)
1033 (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
1034 variable and use a function to compute the value dynamically.
1035 (prolog-prompt-regexp): Add regexp for GNU Prolog.
1036 (prolog-continued-prompt-regexp): Remove, unused.
1037 (prolog-find-value-by-system): Try and use the value of prolog-system
1038 in the *prolog* buffer if it helps.
1039 (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
1040 (prolog-zip-on): ..and check prolog-system and version here instead.
1041 (prolog-inferior-self-insert-command): New command.
1042 (prolog-inferior-mode-map): Use it.
1043 (prolog-inferior-error-regexp-alist): New var.
1044 (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
1045 (prolog-input-filter): Use derived-mode-p.
1046 (prolog-inferior-guess-flavor): New function.
1047 (prolog-ensure-process): Use it. Use make-comint-in-buffer rather than
1048 make-comint to avoid running comint-mode twice.
1049 (prolog-inferior-buffer): New fun.
1050 (prolog-old-process-region, prolog-old-process-file):
1051 Don't call prolog-bsts here...
1052 (prolog-build-prolog-command): ...do it here instead.
1053 (prolog-old-process-region, prolog-old-process-file):
1054 Use compilation-fake-loc and compilation-forget-errors.
1055 (prolog-consult-compile-region): Use bolp.
1056
1057 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
1058
1059 * image-mode.el (image-display-size): Doc fix (Bug#7820).
1060
1061 2011-01-27 Sam Steingold <sds@gnu.org>
1062
1063 * midnight.el (clean-buffer-list-kill-never-buffer-names):
1064 Remove "*server*" which is never created by emacs server.
1065
1066 2011-01-27 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1067
1068 * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
1069 there are some diff switches.
1070
1071 2011-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
1072
1073 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1074 Copy change made to ruby-font-lock-syntactic-keywords.
1075
1076 * htmlfontify.el: Make it obey the font-lock-face text property.
1077 Miscellaneous cleanup such as:
1078 - Don't hide expressions after a closing paren.
1079 - Move initial setq into let.
1080 - Hoist common parts out of ifs.
1081 (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
1082 (hfy-face-at): Use get-text-property instead.
1083 (hfy-prop-invisible-p): Use invisible-p if available.
1084 (htmlfontify-manual): Use \\[...].
1085 (hfy-html-quote-regex): Use [...].
1086 (hfy-combined-face-spec): Simplify.
1087 (hfy-compile-face-map): Don't presume point-min==1.
1088 (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
1089 match end of string.
1090 (hfy-text-p): η-reduce.
1091 (hfy-tags-for-file): Receive cache-hash directly.
1092 (hfy-mark-tag-names): Adjust call.
1093
1094 2011-01-27 Glenn Morris <rgm@gnu.org>
1095
1096 * msb.el (msb-after-load-hooks): Make it an obsolete alias.
1097 (msb-after-load-hook): Remove eval-after-load wackiness.
1098
1099 2011-01-25 Sam Steingold <sds@gnu.org>
1100
1101 * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
1102 literal "diff" (important for windows-nt).
1103
1104 2011-01-25 Glenn Morris <rgm@gnu.org>
1105
1106 * emacs-lisp/copyright.el (copyright-at-end-flag)
1107 (copyright-names-regexp): Add safety properties.
1108 (copyright-year-ranges): New option.
1109 (copyright-find-end): New function, split from copyright-update-year.
1110 (copyright-update-year): Use copyright-find-end.
1111 (copyright-fix-years): Optionally, convert years to ranges.
1112 Handle years continued over comment lines.
1113 Do not mess with the fill-prefix.
1114 Do not call copyright-update.
1115 (copyright-update-directory): Optionally, fix years rather than update.
1116 Skip directories. Find files with only safe local vars.
1117
1118 2011-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
1119
1120 * files.el (file-name-non-special): Only change buffer-file-name after
1121 insert-file-contents if it's `visit'ing the file (bug#7854).
1122
1123 2011-01-25 Chong Yidong <cyd@stupidchicken.com>
1124
1125 * dired.el (dired-revert): Doc fix (Bug#7758).
1126
1127 * simple.el (line-move-visual): Doc fix (Bug#7594).
1128
1129 2011-01-25 Nobuyoshi Nakada <nobu@ruby-lang.org>
1130
1131 * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
1132 here-doc which ends with an underscore.
1133 (ruby-mode-set-encoding): Skip shebang line always.
1134 (ruby-mode-map): Bind C-c C-c to comment-region.
1135 (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
1136 (ruby-forward-sexp): Stop after literal hash key labels.
1137 (ruby-font-lock-syntactic-keywords): Highlight regexp after open
1138 bracket.
1139
1140 2011-01-25 Keitaro Miyazaki <keitaro.miyazaki@gmail.com> (tiny change)
1141
1142 * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
1143 the correct buffer (Bug#7650).
1144
1145 2011-01-25 Glenn Morris <rgm@gnu.org>
1146
1147 * comint.el (comint-mode): Doc fix. (Bug#7897)
1148
1149 * simple.el (do-auto-fill): Give it a doc string.
1150
1151 * button.el (make-text-button): Doc fix. (See bug#7881)
1152
1153 2011-01-24 Stefan Monnier <monnier@iro.umontreal.ca>
1154
1155 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
1156 Don't move backward, so as not to fall in an inf-loop (bug#7736).
1157
1158 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
1159 Handle ?" and friends differently (e.g. don't use backrefs).
1160
1161 2011-01-24 Jay Belanger <jay.p.belanger@gmail.com>
1162
1163 * calc/calc.el (calc-default-power-reference-level)
1164 (calc-default-field-reference-level): New variables.
1165 * calc/calc-units.el (math-standard-units): Add dB and Np.
1166 (math-logunits): New variable.
1167 (math-extract-logunits, math-logcombine, calcFunc-luplus)
1168 (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
1169 (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
1170 New functions.
1171 (math-find-base-units-rec): Add entry for ln(10).
1172 * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
1173 (calc-ul-prefix-help): New function.
1174 * calc/calc-ext.el (calc-init-extensions): Autoload new units
1175 functions. Add keybindings for new units functions.
1176
1177 2011-01-22 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change)
1178
1179 * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
1180 rcirc buffers. (Bug#4940)
1181
1182 2011-01-22 Glenn Morris <rgm@gnu.org>
1183
1184 * emacs-lisp/copyright.el (copyright-find-copyright): New function,
1185 split out from copyright-update-year.
1186 (copyright-update): Don't mess with the GPL version if we don't own the
1187 copyright. Update license regexp, and remove no longer needed
1188 Esperanto stuff.
1189 (copyright-fix-years): Use copyright-find-copyright.
1190
1191 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
1192
1193 * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
1194
1195 2011-01-22 Jari Aalto <jari.aalto@cante.net>
1196
1197 * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
1198 (lm): Rename to landmark.
1199 (lm-test-run): Rename to landmark-test-run.
1200
1201 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
1202
1203 * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
1204 "Case sensitive" menu item.
1205
1206 2011-01-22 Roland McGrath <roland@frob.com>
1207
1208 * comint.el (comint-replace-by-expanded-history-before-point): Fix
1209 expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
1210
1211 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1212
1213 * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
1214
1215 2011-01-22 Jari Aalto <jari.aalto@cante.net>
1216
1217 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
1218 Assume foo(bar) is a manpage reference rather than some unquoted
1219 symbol (bug#7705).
1220
1221 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1222
1223 * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
1224 Suggested by Flo <sensorflo@gmail.com>.
1225
1226 2011-01-22 Glenn Morris <rgm@gnu.org>
1227
1228 * progmodes/compile.el (compilation-error-regexp-alist):
1229 Fix custom type. (Bug#7812)
1230
1231 2011-01-22 Ken Manheimer <ken.manheimer@gmail.com>
1232
1233 * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
1234 allout-number-siblings, in keeping with what obtained due to
1235 (now-defunct) allout-keybindings-list. Ditch repeat binding to
1236 (prefixed) ?i.
1237 (allout-before-change-handler): Better expose spots affected by
1238 undo.
1239
1240 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
1241
1242 * man.el (Man-highlight-references0): Use make-button (Bug#7881).
1243
1244 2011-01-22 Phil Hagelberg <phil@evri.com>
1245
1246 * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
1247 (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
1248 (pcmpl-ssh-config-hosts): New function.
1249 (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
1250 pcmpl-ssh-known-hosts.
1251
1252 2011-01-21 Jay Belanger <jay.p.belanger@gmail.com>
1253
1254 * calc/calc-undo.el (calc-undo): Autoload it.
1255 * calc/calc-ext.el (calc-init-extensions): Remove keybindings
1256 and autoload for `calc-undo'.
1257 * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
1258 * calc/calc-prog.el:
1259 * calc/calc-graph.el:
1260 * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
1261
1262 2011-01-21 Štěpán Němec <stepnem@gmail.com> (tiny change)
1263
1264 * calc/calc-ext.el (calc-init-extensions): Map all `undo'
1265 keybindings to `calc-undo'.
1266
1267 2011-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1268
1269 Don't mess with *temp*.
1270 * obsolete/spell.el: Move from textmodes/spell.el.
1271 (spell-string):
1272 * term.el (term-read-input-ring):
1273 * startup.el (display-startup-echo-area-message):
1274 * progmodes/antlr-mode.el (antlr-directory-dependencies):
1275 * comint.el (comint-read-input-ring): Use with-temp-buffer.
1276 * international/mule.el (ctext-pre-write-conversion): Don't hardcode
1277 point-min==1.
1278
1279 2011-01-20 Ken Manheimer <ken.manheimer@gmail.com>
1280
1281 * allout.el (allout-institute-keymap): Use fset instead of
1282 reapplying defalias.
1283
1284 (allout-hotspot-key-handler): Check for non-control-modified
1285 bindings for hotspot characters if there are no control-modified
1286 versions.
1287
1288 * allout.el: Summary - migrate to defining allout mode using
1289 define-minor-mode instead of defun. Significantly clean-up
1290 internal keymap provisions, refactoring and, in the process,
1291 removing a lot of accumulated cruft.
1292
1293 allout-mode-map is now a keymap by virtue of being a defalias to
1294 allout-mode-map-value, which contains the actual keymap structure.
1295
1296 (allout-mode): Use define-minor-mode rather than defun.
1297 Remove now-unnecessary minor-mode setup activities from the body.
1298 Specify :keymap as allout-mode-map so the minor-mode-map-alist
1299 entry will be '(allout-mode . allout-mode-map) - see
1300 allout-mode-map-value, below. Adjust docstring to track changes.
1301 (allout-minor-mode): Remove this defalias, now that we're using
1302 define-minor-mode.
1303 (allout-mode-map): Set value to be 'allout-mode-map. The actual
1304 keymap is allout-mode-map-value, via defalias.
1305 (allout-mode-map-value): The variable holding the actual mode
1306 keymap structure, by virtue of defalias from allout-mode-map.
1307 (allout-compose-and-institute-keymap): Rename from
1308 allout-bind-keys, and including the binding-composition
1309 functionality of the former produce-allout-mode-map and
1310 allout-setup-mode-map.
1311 (allout-institute-keymap): Take over the "setup" part of the former
1312 allout-setup-mode-map. Reassign allout-mode-map-value value and
1313 update the defalias.
1314 (allout-command-prefix) (allout-prefixed-keybindings)
1315 (allout-unprefixed-keybindings):
1316 Use allout-compose-and-institute-keymap to process the bindings.
1317 (allout-unprefixed-keybindings): Remove extraneous '?' question
1318 marks.
1319 (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
1320 user can customize if they want to use that binding.
1321 Bind allout-copy-topic-as-kill to (prefixed) \M-k.
1322 Bind allout-up-current-level to (prefixed) \C-u. (I think i mistakenly
1323 elided that, previously, instead of the one for \C-h.)
1324 (allout-hotspot-key-handler): Remove attempt to resolve the key
1325 through the literal key-string lookup on allout-keybindings-list.
1326 That probably hasn't worked for a Long Time, and removal of
1327 allout-keybindings-list further simplifies the keybindings
1328 situation.
1329 (allout-pre-command-business): Use allout-mode-map-value instead
1330 of allout-mode-map.
1331 (allout-preempt-trailing-ctrl-h): Remove. The user can customize
1332 the bindings if they want to use a keybinding having a trailing
1333 \C-h. No deprecation needed since this feature was never in a
1334 release.
1335 (allout-keybindings-list): Remove. It's not been useful for a
1336 while. (See allout-hotspot-key-handler changes, above.)
1337 (produce-allout-mode-map): Remove. Consolidate into
1338 allout-compose-and-institute-keymap.
1339 (allout-mode-map-adjustments): Remove. No longer necessary with
1340 removal of allout-preempt-trailing-ctrl-h.
1341 (allout-setup-mode-map): Remove. Consolidate into
1342 allout-compose-and-institute-keymap and allout-institute-keymap.
1343
1344 2011-01-20 Glenn Morris <rgm@gnu.org>
1345
1346 * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
1347
1348 * simple.el (read-expression-history): Remove, it's in minibuf.c.
1349
1350 2011-01-20 Chong Yidong <cyd@stupidchicken.com>
1351
1352 * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
1353
1354 * files.el (find-alternate-file, basic-save-buffer)
1355 (basic-save-buffer-2, revert-buffer, recover-file)
1356 (kill-buffer-ask, abort-if-file-too-large)
1357 (set-visited-file-name, write-file, backup-buffer)
1358 (basic-save-buffer, save-some-buffers):
1359 * dired-aux.el (dired-compress-file): Callers changed.
1360
1361 2011-01-19 Glenn Morris <rgm@gnu.org>
1362
1363 * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
1364 Also check the property status. (Bug#7861)
1365
1366 2011-01-18 Michael Albinus <michael.albinus@gmx.de>
1367
1368 * net/tramp.el (tramp-debug-message): Extend function exclude
1369 list. Use `regexp-opt'.
1370
1371 2011-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
1372
1373 * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
1374 highlighting doesn't spill over subsequent lines.
1375
1376 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
1377 keymap expression. Improve docstring.
1378
1379 * electric.el (electric-indent-post-self-insert-function):
1380 Don't auto-indent for indent-to-left-margin, it's too often
1381 counter-productive.
1382
1383 2011-01-16 Tassilo Horn <tassilo@member.fsf.org>
1384
1385 * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
1386 spaces if the frame was resized, so that the full visible buffer
1387 serves as canvas for strokes.
1388
1389 2011-01-16 Glenn Morris <rgm@gnu.org>
1390
1391 * info-xref.el (info-xref-docstrings): Replace cl function.
1392 Also skip directories.
1393
1394 2011-01-16 Kevin Ryde <user42@zip.com.au>
1395
1396 * info-xref.el: Version 3.
1397 (info-xref-check, info-xref-check-all): Move commentary details
1398 into docstrings for better visibility.
1399 Use compilation-mode for the results buffer.
1400 (info-xref-output, info-xref-output-error, info-xref-with-output)
1401 (info-xref-filename, info-xref-in-progress):
1402 New internals for this.
1403 (info-xref-check-list, info-xref-check-buffer)
1404 (info-xref-check-all-custom): Use those.
1405 (info-xref-output-buffer): Rename from info-xref-results-buffer.
1406 (info-xref-output-heading): Rename from info-xref-filename-heading.
1407 (info-xref-good, info-xref-bad, info-xref-xfile-alist)
1408 (info-xref-filename-heading): Move to output managing section.
1409 (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
1410 (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
1411 (info-xref-subfile-p): Move to generic section with those two.
1412 (info-xref-check-node): New function split from
1413 info-xref-check-buffer, shared by info-xref-docstrings.
1414 (info-xref-goto-node-p): Move to a checking section with that func.
1415 (info-xref-unavail): New counter.
1416 (info-xref-check-node): Use it.
1417 (info-xref-with-output): Show count of unavailables at end of output.
1418 (info-xref-all-info-files): Exclude ".*" dotfiles. Ignore broken
1419 symlinks. Exclude .texi files. Exclude Emacs backup files.
1420 (info-xref-check-all-custom): Fix quietening viper-mode and
1421 gnus-registry-install -- use setq not let so as not to unbind
1422 after load.
1423
1424 2011-01-16 Juri Linkov <juri@jurta.org>
1425
1426 * isearch.el (isearch-abort): Don't quit if search has
1427 an incomplete regexp (isearch-error is non-nil). (Bug#7534)
1428
1429 2011-01-15 Mark Diekhans <markd@soe.ucsc.edu>
1430
1431 * files.el (backup-buffer): Make last-resort backup file in
1432 .emacs.d (Bug#6953).
1433
1434 * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
1435 make it with permission 700.
1436
1437 2011-01-15 Kenichi Handa <handa@m17n.org>
1438
1439 * mail/rmailmm.el (rmail-mime-insert-header):
1440 Set rmail-mime-coding-system to a cons whose car is the last coding
1441 system used to decode the header.
1442 (rmail-mime-find-header-encoding): New function.
1443 (rmail-mime-insert-decoded-text):
1444 Override rmail-mime-coding-system if it is a cons.
1445 (rmail-show-mime): If only a header part was decoded, find the
1446 coding system while ignoring mm-charset-override-alist.
1447
1448 2011-01-15 Chong Yidong <cyd@stupidchicken.com>
1449
1450 * subr.el (event-start, event-end): Doc fix (Bug#7826).
1451
1452 2011-01-15 Kenichi Handa <handa@m17n.org>
1453
1454 * mail/rmailmm.el (rmail-mime-next-item)
1455 (rmail-mime-previous-item): Delete them.
1456 (rmail-mime-shown-mode): Recursively call for children.
1457 (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
1458 Callers changed.
1459 (rmail-mime-raw-mode): Recursively call for children.
1460 (rmail-mode-map): Change mapping of tab and backtab to
1461 forward-button and backward-button respectively.
1462 (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
1463 button.
1464 (rmail-mime-update-tagline): New function.
1465 (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
1466 body display is changed.
1467 (rmail-mime-toggle-button): Rename from rmail-mime-image.
1468 (rmail-mime-image): Delete this button type.
1469 (rmail-mime-toggle): New button type.
1470 (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
1471 body display is changed. Change the save button label to "Save".
1472 Don't process show/hide button here.
1473 (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
1474 the body display is changed. Unconditionally call
1475 rmail-mime-insert for children.
1476 (rmail-mime-handle): Update `display' vector of the just inserted
1477 entity.
1478 (rmail-mime-process): If mail-header-parse-content-type returns
1479 nil, use "text/plain" as the fallback type.
1480 (rmail-mime-insert): For raw-mode, recursively call
1481 rmail-mim-insert for children.
1482 (rmail-mime): Handle the case that the current buffer is not rmail
1483 buffer (e.g. in summary buffer).
1484
1485 2011-01-15 Kenichi Handa <handa@m17n.org>
1486
1487 * mail/rmailmm.el (rmail-mime-next-item)
1488 (rmail-mime-previous-item): Skip the body of a non-multipart
1489 entity if a tagline is shown.
1490
1491 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
1492
1493 * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
1494 (tmm-prompt): Simplify.
1495 (tmm-add-prompt): Remove unused var `win'.
1496
1497 * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
1498 to minor mode which used nil accidentally to mean "turn off".
1499
1500 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
1501
1502 * net/tramp-sh.el (tramp-find-inline-compress)
1503 (tramp-get-inline-coding): Quote command after pipe symbol for
1504 local calls under W32. (Bug#6784)
1505
1506 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
1507
1508 * net/tramp.el (tramp-default-method): Initialize with pscp/plink
1509 only when running under W32.
1510
1511 2011-01-15 Eli Zaretskii <eliz@gnu.org>
1512
1513 * progmodes/grep.el (grep-compute-defaults): Quote the program
1514 file name after the pipe symbol in Grep templates. (Bug#6784)
1515 * jka-compr.el (jka-compr-partial-uncompress): Likewise.
1516
1517 2011-01-15 Lennart Borgman <lennart.borgman@gmail.com>
1518
1519 * buff-menu.el (Buffer-menu-buffer-list): New var.
1520 (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
1521 restricted buffer list is not lost on revert (Bug#7749).
1522
1523 2011-01-15 Eric Hanchrow <eric.hanchrow@gmail.com>
1524
1525 * net/ldap.el (ldap-search-internal): Discard stderr output.
1526
1527 2011-01-15 Eli Zaretskii <eliz@gnu.org>
1528
1529 * files.el (directory-abbrev-alist): Doc fix. (Bug#7777)
1530
1531 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
1532
1533 * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
1534
1535 2011-01-15 Kenichi Handa <handa@m17n.org>
1536
1537 * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
1538 part as a plain text.
1539 (rmail-mime-process-multipart): Set the default content-type to
1540 nil for unknown multipart subtypes (bug#7651).
1541
1542 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1543
1544 * hexl.el (hexl-mode-old-*): Remove.
1545 (hexl-mode--old-var-vals): New var to replace them.
1546 (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
1547 (hexl-mode, hexl-follow-line, hexl-activate-ruler):
1548 Use them to set local vars (bug#7846).
1549 (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
1550 (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
1551 (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
1552
1553 * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
1554 (smerge-resolve--normalize-re): New var.
1555 (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
1556 (smerge-resolve): Use them.
1557 * newcomment.el (comment-only-p): New function.
1558 (comment-or-uncomment-region): Use it.
1559
1560 2011-01-14 Brent Goodrick <bgoodr@gmail.com> (tiny change)
1561
1562 * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
1563 table, get the value before switching to the output buffer. (Bug#7733)
1564
1565 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1566
1567 * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
1568
1569 2011-01-14 Kim F. Storm <storm@cua.dk>
1570
1571 * emulation/cua-base.el (cua--init-keymaps):
1572 Remap exchange-point-and-mark in cua-global-keymap.
1573
1574 2011-01-14 Tassilo Horn <tassilo@member.fsf.org>
1575
1576 * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
1577 loop keyword.
1578
1579 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1580
1581 * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
1582 Require CL.
1583 (easy-menu-create-menu, easy-menu-convert-item-1):
1584 Use :label rather than nil for labels. Use `case'.
1585 Add :enable as alias for :active.
1586 (easy-menu-binding): Obey :label.
1587
1588 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1589
1590 Use run-mode-hooks for major mode hooks (bug#513).
1591 * textmodes/reftex-toc.el (reftex-toc-mode-map):
1592 Rename from reftex-toc-map.
1593 (reftex-toc-mode): Use define-derived-mode.
1594 * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
1595 (reftex-select-label-mode-map, reftex-select-bib-mode-map):
1596 Rename from reftex-select-(label|bib)-map. Move init into declaration.
1597 (reftex-select-label-mode, reftex-select-bib-mode):
1598 Use define-derived-mode.
1599 * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
1600 (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
1601 Move init into delcaration.
1602 (reftex-index-mode, reftex-index-phrases-mode):
1603 Use define-derived-mode.
1604 * speedbar.el (speedbar-mode-syntax-table): Renaqme from
1605 speedbar-syntax-table. Move init into declaration.
1606 (speedbar-mode-map): Rename from speedbar-key-map.
1607 Move init into declaration.
1608 (speedbar-file-key-map): Move init into declaration.
1609 (speedbar-mode): Use define-derived-mode.
1610 * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
1611 * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
1612 * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
1613 (chart-face-list): Move initialization into declaration.
1614 (chart-mode): Use define-derived-mode.
1615 * calculator.el (calculator-mode-map): Move init into declaration.
1616 (calculator-mode): Use define-derived-mode.
1617
1618 * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
1619 work for nested comments.
1620
1621 * progmodes/prolog.el: Use syntax-propertize. Further code cleanup.
1622 (prolog-use-prolog-tokenizer-flag): Change default when
1623 syntax-propertize can be used.
1624 (prolog-syntax-propertize-function): New var.
1625 (prolog-mode-variables): Move make-local-variable into `set'.
1626 Don't make comment-column local since we don't set it.
1627 Set comment-add (as it was in previous prolog.el). Use dolist.
1628 Set syntax-propertize-function.
1629 (prolog-mode, prolog-inferior-mode):
1630 Call prolog(-inferior)-menu directly, not through the mode-hook.
1631 (prolog-buffer-module, prolog-indent-level)
1632 (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
1633 (prolog-comment-limits, prolog-goto-comment-column):
1634 Use line-(end|beginning)-position.
1635 (prolog-build-prolog-command): Tighten up regexp.
1636 (prolog-consult-compile): Move make-local-variable into `set'.
1637 (prolog-consult-compile-filter, prolog-goto-next-paren)
1638 (prolog-help-on-predicate, prolog-clause-info)
1639 (prolog-mark-predicate): Don't let+setq.
1640 (prolog-indent-line): Use indent-line-to.
1641 Only call prolog-goto-comment-column if necessary.
1642 (prolog-indent-level): Use bobp.
1643 (prolog-first-pos-on-line): Remove, not used any more.
1644 (prolog-in-string-or-comment): Use syntax-ppss if available.
1645 (prolog-help-on-predicate): Use read-string.
1646 (prolog-goto-predicate-info): Simplify.
1647 (prolog-read-predicate): Use `default' rather than `initial'.
1648 (prolog-temporary-file): Use make-temp-file to close a security hole.
1649 (prolog-toggle-sicstus-sd): New command.
1650 (prolog-electric-underscore, prolog-variables-to-anonymous):
1651 Use dynamic-scoping as it was meant.
1652 (prolog-menu): Move menu definitions to top-level.
1653 Use a toggle-button for Sicstus's source debugger.
1654 Change "Code" to the more usual "Prolog", and hence change "Prolog"
1655 to "System".
1656 (prolog-inferior-menu): Reuse prolog-menu's help menu.
1657 Move other menu definition to top-level.
1658
1659 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
1660
1661 * doc-view.el (doc-view-open-text): Use meaningful text buffer
1662 name. Keep original document's directory as default-directory
1663 (bug#6446).
1664 (doc-view-initiate-display): Fall back to normal mode when
1665 doc-view-mode cannot be enabled, also when extracting the document
1666 text into a separate buffer (bug#6446).
1667
1668 * simple.el (shell-command): Don't error out if shell command
1669 buffer contains text with non-nil read-only property when erasing
1670 the buffer.
1671
1672 2011-01-13 Kim F. Storm <storm@cua.dk>
1673
1674 * ido.el (ido-may-cache-directory): Move "too-big" check later.
1675 (ido-next-match, ido-prev-match): Fix stray reordering of matching
1676 items when cycling through the matches.
1677
1678 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
1679
1680 * dired-x.el (dired-omit-verbose): New defcustom that allows
1681 disabling the omit messages.
1682 (dired-omit-expunge): Use it.
1683
1684 2011-01-13 Christian Ohler <ohler@gnu.org>
1685
1686 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
1687
1688 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
1689
1690 * font-lock.el (font-lock-verbose): Default to nil.
1691
1692 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
1693
1694 * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
1695 (compose-mail): New arg RETURN-ACTION.
1696 (compose-mail-other-window, compose-mail-other-frame): Likewise.
1697
1698 * mail/sendmail.el (mail-return-action): New var.
1699 (mail-mode): Make it buffer-local.
1700 (mail-bury): Obey it. Move special Rmail window handling to
1701 rmail-mail-return.
1702 (mail, mail-setup): New arg RETURN-ACTION.
1703 (sendmail-user-agent-compose): Move from simple.el.
1704
1705 * mail/rmail.el (rmail-mail-return): New function.
1706 (rmail-start-mail): Pass it to compose-mail.
1707
1708 2011-01-12 Chong Yidong <cyd@stupidchicken.com>
1709
1710 * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
1711 menus. Add menu item for customize-themes.
1712
1713 * cus-theme.el (customize-themes):
1714 * emacs-lisp/package.el (package--list-packages):
1715 Use switch-to-buffer.
1716
1717 2011-01-11 Johan Bockgård <bojohan@gnu.org>
1718
1719 * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
1720
1721 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
1722
1723 * progmodes/prolog.el: Fix up coding convention and such.
1724 (prolog-indent-width): Use the same default as in
1725 previous prolog.el rather than tab-width which depends on which buffer
1726 is current when the file is loaded.
1727 (prolog-electric-newline-flag): Only enable if electric-indent-mode
1728 is not available.
1729 (prolog-emacs): Remove. Use (featurep 'xemacs) instead.
1730 (prolog-known-systems): Remove.
1731 (prolog-mode-syntax-table, prolog-inferior-mode-map):
1732 Move initialization into declaration.
1733 (prolog-mode-map): Move initialization into declaration.
1734 Remove system-specific mode-map vars, since they referred to the same
1735 keymap anyway.
1736 (prolog-mode-variables): Obey the user's preference w.r.t
1737 adaptive-fill-mode. Prefer symbol-value to `eval'.
1738 (prolog-mode-keybindings-edit): Add compatibility bindings.
1739 (prolog-mode): Use define-derived-mode. Don't handle mercury here.
1740 (mercury-mode-map): New var.
1741 (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
1742 (prolog-ensure-process, prolog-process-insert-string)
1743 (prolog-consult-compile): Use with-current-buffer.
1744 (prolog-guess-fill-prefix): Simplify data flow.
1745 (prolog-replace-in-string): New function to use instead of
1746 replace-in-string.
1747 (prolog-enable-sicstus-sd): Don't abuse `eval'.
1748 (prolog-uncomment-region): Use `uncomment-region' when available.
1749 (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
1750 (prolog-int-to-char, prolog-char-to-int): New functions to use instead
1751 of int-to-char and char-to-int.
1752 (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
1753
1754 2011-01-11 Stefan Bruda <stefan@bruda.ca>
1755
1756 * progmodes/prolog.el: Replace by a whole new file.
1757
1758 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
1759
1760 * subr.el (eval-after-load): Fix timing for features (bug#7769).
1761 (declare-function, undefined, insert-for-yank)
1762 (replace-regexp-in-string): Follow checkdoc's recommendations.
1763
1764 2011-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1765
1766 * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
1767 refreshing the diary buffer.
1768
1769 2011-01-10 Ken Manheimer <ken.manheimer@gmail.com>
1770
1771 * allout.el: Add 2011 to the file copyright.
1772 (allout-encrypt-string): Prevent encryption from adding an extra
1773 newline at the end of the topic body.
1774 (allout-version): Increment to 2.3.
1775
1776 2011-01-10 Michael Albinus <michael.albinus@gmx.de>
1777
1778 * net/dbus.el (dbus-unregister-service): Complete doc.
1779 Fix call of dbus-error signal.
1780 (dbus-register-property): Use `dont-register' keyword.
1781
1782 2011-01-10 Jan Moringen <jan.moringen@uni-bielefeld.de>
1783
1784 * net/dbus.el (dbus-unregister-service): Translate returned
1785 integer into a symbol.
1786 (dbus-register-property): Use `dbus-register-service' to do the
1787 name registration.
1788
1789 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
1790
1791 * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
1792 Suggested by Joakim Verona.
1793
1794 * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
1795
1796 * wid-edit.el (visibility): Replace :on-image and :off-image
1797 widget properties with :on-glyph and :off-glyph, for consistency
1798 with the `visibility' widget.
1799 (widget-toggle-value-create, widget-visibility-value-create):
1800 Merge into a single function `widget-toggle-value-create'.
1801
1802 * cus-edit.el (custom-variable-value-create, custom-visibility)
1803 (custom-face-edit-value-create, custom-face-value-create):
1804 Replace :on-image and :off-image widget properties with :on-glyph and
1805 :off-glyph, for consistency with the `visibility' widget.
1806
1807 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
1808
1809 * net/ldap.el (ldap-search-internal): Don't use eval.
1810
1811 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
1812
1813 * subr.el (read-char-choice): Use read-key.
1814
1815 * custom.el (custom-safe-themes): Rename from
1816 custom-safe-theme-files. Add :risky tag.
1817 (load-theme, custom-theme-load-confirm): Save sha1 hashes to
1818 custom-safe-themes, not filenames. Suggested by Stefan Monnier.
1819
1820 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
1821
1822 * tool-bar.el (tool-bar-setup): Remove Help button. Remove label
1823 from Search and add a label to Undo.
1824
1825 * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
1826 inappropriate buttons and adding :vert-only tags.
1827
1828 * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
1829 removal of Help tool-bar button. Remove Undo button for space.
1830
1831 * info.el (info-tool-bar-map): Add :vert-only tags.
1832
1833 2011-01-08 Tassilo Horn <tassilo@member.fsf.org>
1834
1835 * doc-view.el (doc-view-mode-p): Check for png or imagemagick
1836 image backend support. Either of them is fine.
1837
1838 2011-01-08 Chong Yidong <cyd@stupidchicken.com>
1839
1840 * subr.el (y-or-n-p): Doc fix.
1841
1842 * custom.el (custom-safe-theme-files): New defcustom.
1843 (custom-theme-load-confirm): New function.
1844 (load-theme): Load theme using `load', confirming with
1845 custom-theme-load-confirm if necessary.
1846
1847 * subr.el (read-char-choice): New function, factored out from
1848 dired-query and hack-local-variables-confirm.
1849
1850 * dired-aux.el (dired-query):
1851 * files.el (hack-local-variables-confirm): Use it.
1852
1853 * dired-aux.el (dired-compress-file):
1854 * files.el (abort-if-file-too-large, find-alternate-file)
1855 (set-visited-file-name, write-file, backup-buffer)
1856 (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
1857 (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
1858 Use new format string args for y-or-n-p and yes-or-no-p.
1859
1860 2011-01-08 Andreas Schwab <schwab@linux-m68k.org>
1861
1862 * progmodes/compile.el (compilation-error-regexp-alist-alist)
1863 [gcc-include]: Tighten file name match, add match for column
1864 number. (Bug#7806)
1865 [gnu]: Remove unused group.
1866
1867 2011-01-08 Glenn Morris <rgm@gnu.org>
1868
1869 * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
1870
1871 * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
1872
1873 2011-01-07 Sam Steingold <sds@gnu.org>
1874
1875 * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
1876 the `explicit-shell-file-name' because that is the
1877 non-interactive shell.
1878
1879 2011-01-07 Chong Yidong <cyd@stupidchicken.com>
1880
1881 * subr.el (y-or-n-p): Accept format string args.
1882
1883 2011-01-07 Glenn Morris <rgm@gnu.org>
1884
1885 * Makefile.in (EMACSOPT): Add --no-site-lisp.
1886
1887 2011-01-06 Ken Manheimer <ken.manheimer@gmail.com>
1888
1889 * allout.el (allout-back-to-current-heading): Ensure return to
1890 the visible containing topic, rather than a collapsed one.
1891 (allout-view-change-hook): Remove hook that was deprecated long ago.
1892 (allout-exposure-change-hook): Remove documentation remarks
1893 concerning removed allout-view-change-hook.
1894 (allout-flag-region): Remove invocation of and documentation
1895 remarks concerning allout-view-change-hook.
1896
1897 2011-01-06 Glenn Morris <rgm@gnu.org>
1898
1899 * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
1900 (vc-bzr-annotate-extract-revision-at-line):
1901 Handle authors with embedded spaces. (Bug#7792)
1902
1903 2011-01-05 Tassilo Horn <tassilo@member.fsf.org>
1904
1905 * doc-view.el (doc-view-image-width): New variable.
1906 (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
1907 backend for PNG images, and do dynamic rescaling instead of
1908 reconverting the whole doc.
1909
1910 2011-01-05 Glenn Morris <rgm@gnu.org>
1911
1912 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
1913
1914 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
1915
1916 * allout.el: Reconcile with changes in line movement behavior for
1917 long text lines that cross more than a single physical window
1918 line, ie when truncate-lines is nil.
1919 (allout-next-visible-heading): Provide for change in line-move
1920 behavior on long lines when truncate-lines is nil. In that case,
1921 line-move can wind up on the same textual line when it moves to
1922 the next window line, and moving to the bullet position after the
1923 move yields zero advancement. Add logic to detect and compensate
1924 for the lack of progress.
1925 (allout-current-topic-collapsed-p): move-end-of-line respect for
1926 field boundaries is different when operating with body lines
1927 shorter than window width versus ones greater than window width,
1928 which can yield false negatives in this function. Avoid
1929 difference by applying move-end-of-line while field-text-motion is
1930 inhibited.
1931
1932 2011-01-04 Glenn Morris <rgm@gnu.org>
1933
1934 * textmodes/rst.el (rst-compile-toolsets):
1935 Add pdf and s5 to option alist.
1936
1937 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
1938
1939 * net/dbus.el (dbus-register-property): Add optional parameter
1940 dont-register-service. Updated docstring accordingly.
1941
1942 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
1943
1944 * textmodes/rst.el (rst-compile-pdf-preview)
1945 (rst-compile-slides-preview): Remove extra line.
1946
1947 2011-01-04 Glenn Morris <rgm@gnu.org>
1948
1949 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
1950 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
1951 default to `prog' without a .py extension.
1952 (rst-compile-pdf-preview, rst-compile-slides-preview):
1953 Use program names from rst-compile-toolsets, rather than hard-coding.
1954 (rst-portable-mark-active-p): Fix presumed typo.
1955
1956 2011-01-02 Eli Zaretskii <eliz@gnu.org>
1957
1958 * term/w32-win.el (dynamic-library-alist): Set up correctly for
1959 libpng versions both before and after 1.4.0. (Bug#7716)
1960
1961 2011-01-02 Eli Zaretskii <eliz@gnu.org>
1962
1963 * time.el (display-time-mode): Mention display-time-interval in
1964 the doc string. (Bug#7713)
1965
1966 2011-01-02 Kenichi Handa <handa@m17n.org>
1967
1968 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
1969 condition-case and return an error message string if something
1970 goes wrong.
1971 (rmail-show-mime): Adjust for the above change. Insert the
1972 header by rmail-mime-insert-header.
1973
1974 2011-01-02 Kenichi Handa <handa@m17n.org>
1975
1976 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
1977 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
1978 (rmail-mime-mbox-buffer)
1979 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
1980 (rmail-mime-entity): Argument changed. All codes handling an
1981 entity object are changed.
1982 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
1983 the above change.
1984 (rmail-mime-entity-children, rmail-mime-entity-handler)
1985 (rmail-mime-entity-tagline): New functions.
1986 (rmail-mime-message-p): New function.
1987 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
1988 (rmail-mime-entity-segment, rmail-mime-next-item)
1989 (rmail-mime-previous-item, rmail-mime-shown-mode)
1990 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
1991 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
1992 (rmail-mime-insert-tagline, rmail-mime-insert-header):
1993 New functions.
1994 (rmail-mime-text-handler): Call rmail-mime-insert-text.
1995 (rmail-mime-insert-decoded-text): New function.
1996 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
1997 (rmail-mime-insert-image): Argument changed. Caller changed.
1998 (rmail-mime-image): Call rmail-mime-toggle-hidden.
1999 (rmail-mime-set-bulk-data): New function.
2000 (rmail-mime-insert-bulk): Argument changed.
2001 (rmail-mime-multipart-handler): Return t.
2002 (rmail-mime-process-multipart): Argument changed.
2003 Handle "multipart/alternative" here.
2004 (rmail-mime-process): Argument changed.
2005 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
2006 (rmail-mime-insert): Argument changed. Handle raw display mode.
2007 (rmail-mime): Argument changed. Handle toggling of raw display
2008 mode.
2009 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
2010 rmail-mime-view-buffer.
2011 (rmail-insert-mime-forwarded-message): Likewise.
2012 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
2013
2014 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
2015 non-nil, handle the header in rmail-show-mime-function.
2016
2017 2011-01-02 Leo <sdl.web@gmail.com>
2018
2019 * help-fns.el (describe-variable): Fix previous change.
2020
2021 2011-01-02 Juri Linkov <juri@jurta.org>
2022
2023 * isearch.el (isearch-lazy-highlight-error): New variable.
2024 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
2025 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
2026 to the current value of `isearch-error' (Bug#7468).
2027
2028 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
2029
2030 * help-fns.el (describe-variable): Don't emit trailing whitespace
2031 (Bug#7511).
2032
2033 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
2034
2035 * textmodes/rst.el (rst-compile-pdf-preview)
2036 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
2037
2038 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
2039
2040 * emulation/edt-mapper.el: Override mapping of function keys so
2041 that the later call to read-key-sequence works.
2042
2043 2011-01-02 Eli Zaretskii <eliz@gnu.org>
2044
2045 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
2046 Unix EOLs. (Bug#7589)
2047
2048 2011-01-02 Leo <sdl.web@gmail.com>
2049
2050 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
2051 if point is not behind eshell-last-output-end (Bug#7585).
2052
2053 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
2054
2055 * files.el (file-local-variables-alist):
2056 Make permanent-local (bug#7767).
2057
2058 2011-01-02 Glenn Morris <rgm@gnu.org>
2059
2060 * version.el (emacs-copyright): Set short copyright year to 2011.
2061
2062 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
2063
2064 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
2065 an existing temp buffer. (Bug#7746)
2066
2067 2011-01-02 Glenn Morris <rgm@gnu.org>
2068
2069 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
2070 multiple addresses. (Bug#7760)
2071
2072 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
2073
2074 * allout.el (allout-auto-fill): Do not infinitely recurse - use
2075 do-auto-fill if everything points back to allout-auto-fill.
2076 (allout-mode-deactivate-hook): Declare obsolete, in favor of
2077 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
2078
2079 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
2080
2081 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
2082 and "scpx".
2083
2084 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2085
2086 * doc-view.el (doc-view-set-doc-type): New function refactored
2087 from doc-view-mode.
2088 (doc-view-fallback-mode): New function.
2089 (doc-view-mode): Use it.
2090 (doc-view-mode-maybe): New function that checks if doc-view-mode
2091 can be used and falls back to the next best mode otherwise.
2092
2093 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
2094 DVI, OpenDocument, and MS Office files.
2095
2096 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
2097
2098 * emacs-lisp/rx.el (rx-syntax): Fix typo.
2099
2100 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2101
2102 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
2103 on a copy of auto-mode-alist, because that deletes with side
2104 effects.
2105
2106 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2107
2108 * doc-view.el (doc-view-mode, doc-view-toggle-display):
2109 Use normal-mode without doc-view-mode bindings in auto-mode-alist as
2110 fallback instead of hard coding fundamental mode.
2111
2112 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2113
2114 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
2115 Office) files also for searching.
2116
2117 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2118
2119 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
2120 Office) files. Not yet enabled via auto-mode-list.
2121 (doc-view-unoconv-program): New custom variable.
2122 (doc-view-mode-p): Handle new odf document type.
2123 (doc-view-odf->pdf): New conversion function.
2124 (doc-view-convert-current-doc): Call it for odf files.
2125 (doc-view-mode): Recognize newly supported file extensions.
2126
2127 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
2128
2129 * net/tramp.el (tramp-default-method-alist)
2130 (tramp-default-user-alist)
2131 (tramp-local-host-regexp, tramp-prefix-domain-format)
2132 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
2133
2134 * net/tramp-ftp.el:
2135 * net/tramp-gvfs.el:
2136 * net/tramp-gw.el:
2137 * net/tramp-imap.el:
2138 * net/tramp-sh.el:
2139 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
2140 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
2141
2142 2010-12-29 Karl Fogel <kfogel@red-bean.com>
2143
2144 * saveplace.el (save-place-alist-to-file): Save list sorted and
2145 pretty-printed, so that it is mergeable by line-based text merging,
2146 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
2147
2148 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
2149
2150 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
2151 (allout-mode): Argument "toggle" => "force".
2152 Refine the docstring.
2153 Remove special provisions for reactivation, besides the 'force'
2154 argument.
2155 Consolidate layout provisions coce directly into the activation
2156 condition branch, now that we've removed those provisions.
2157 (allout-unload-function): Explicitly activate the mode before
2158 deactivating, if it's initially deactivated.
2159 (allout-set-buffer-multibyte): Properly prevent byte-compiler
2160 warnings for version of function used only where
2161 set-buffer-multibyte is unavailable.
2162
2163 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
2164
2165 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
2166 are handled by the menu-bar entries. As before, don't use
2167 :visibile to avoid changing the tool-bar.
2168
2169 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
2170
2171 * net/secrets.el (secrets-delete-alias): New defun.
2172
2173 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
2174
2175 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
2176 methods, otherwise ~/.ssh/config would be ignored.
2177
2178 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
2179
2180 * emacs-lisp/rx.el: Make it a superset of sregex.
2181 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
2182 of args, add `regex' alias.
2183 (rx-info): Add arg to distinguish head and standalone forms.
2184 (rx-check, rx-form): Pass the corresponding arg.
2185 (rx-**): Simplify.
2186 (rx-repeat): Make it work for any number of args.
2187 (rx-syntax): Make it accept syntax chars as is.
2188 * obsolete/sregex.el: Move from emacs-lisp/.
2189 * emacs-lisp/re-builder.el: Remove sregex support.
2190 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
2191
2192 2010-12-25 Eli Zaretskii <eliz@gnu.org>
2193
2194 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
2195 PRIMARY first, then the clipboard. (Bug#7699)
2196
2197 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
2198
2199 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
2200 print-number-table.
2201
2202 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
2203
2204 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
2205 .emacs.elc (Bug#7530).
2206
2207 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
2208 image spec (Bug#7480).
2209
2210 2010-12-21 Daiki Ueno <ueno@unixuser.org>
2211
2212 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
2213 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
2214 Move from lisp/.
2215
2216 2010-12-20 Leo <sdl.web@gmail.com>
2217
2218 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
2219 always be performed (Bug#7680).
2220
2221 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
2222
2223 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
2224 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
2225 mouse-region-match.
2226
2227 * color.el: Move from gnus/.
2228
2229 * vc/diff.el (diff-better-file-name): Function deleted.
2230 abbreviating file names causes problems with shell-quote-argument.
2231 (diff-no-select): Just use expand-file-name.
2232
2233 * tool-bar.el (tool-bar--image-expression): New function.
2234 (tool-bar-local-item, tool-bar--image-exp): Use it.
2235 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
2236 Use :enable instead of :visible to avoid changing the tool-bar
2237 configuration unnecessarily.
2238
2239 * info.el (info-tool-bar-map): Add separators.
2240
2241 2010-12-17 Ken Brown <kbrown@cornell.edu>
2242
2243 * loadup.el: Use version numbers in Cygwin build.
2244
2245 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
2246
2247 * ido.el (ido-file-internal): Ask for confirmation before
2248 overwriting an existing file (Bug#1238).
2249
2250 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
2251
2252 * tool-bar.el (tool-bar-setup): Add separators.
2253
2254 * menu-bar.el (featurep): Use menu-bar-separator.
2255
2256 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
2257
2258 Migrate allout encryption provisions from pgg to epg.
2259
2260 * allout.el (allout-toggle-current-subtree-encryption)
2261 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
2262 defaulting policy and other changes. Change fetch-pass to keymode-cue,
2263 for simpler universal argument interpretation.
2264 (allout-toggle-subtree-encryption): Adjust docstring to describe
2265 changed encryption provisions. Change fetch-pass to keymode-cue, for
2266 simpler universal argument interpretation. Remove provisions for
2267 handling key type and identity - they'll all be within
2268 allout-encrypt-string or epg/epg or even contained all the way in gpg.
2269 (allout-encrypt-string): Include keymode-cue, for optionally prompting
2270 for keypair recipients (universal argument > 1) and, in addition,
2271 associating the specified recipients with the outline (universal
2272 argument > 4) using a file local variable setting for
2273 'epa-file-encrypt-to'.
2274 Require epa, for recipients handling.
2275 Change how regexp filtering elements are named.
2276 Describe the problem with caching of incorrect symmetric-decryption
2277 keys.
2278 Use the epa-passphrase-callback-function, in case the user is using
2279 GnuPG v1.
2280 Support saving of the selected keypair recipients when invoked with a
2281 keymode-cue > 4.
2282 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
2283 Require 'epa.
2284 Establish epg-context with armoring and default epg-protocol.
2285 Remove all passphrase cache, verification, and hinting code.
2286 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
2287 No longer used, delete.
2288 (allout-mode): Adjust docstring to describe changed encryption
2289 provisions. Describe the problem with caching of incorrect
2290 symmetric-decryption keys.
2291 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
2292 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
2293 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
2294 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
2295 Obsolete, remove.
2296
2297 2010-12-16 Daiki Ueno <ueno@unixuser.org>
2298
2299 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
2300 key selection prompt; make 'silent as default (Bug#7487).
2301
2302 2010-12-16 Leo <sdl.web@gmail.com>
2303
2304 * eshell/eshell.el (eshell-directory-name):
2305 Use locate-user-emacs-file (Bug#7578).
2306
2307 2010-12-15 Glenn Morris <rgm@gnu.org>
2308
2309 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
2310
2311 2010-12-15 Jari Aalto <jari.aalto@cante.net>
2312 Scott Evans <gse@antisleep.com>
2313
2314 * rect.el (rectange--default-line-number-format)
2315 (rectangle-number-line-callback): New functions.
2316 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
2317
2318 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
2319
2320 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
2321 Delete unused variables.
2322 (move-to-column-force): Remove function obsolete since 21.2.
2323
2324 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
2325
2326 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
2327 (tramp-handle-insert-file-contents): Do not set permanent-local
2328 property.
2329
2330 * net/tramp-cache.el (tramp-persistency-file-name):
2331 Use `locate-user-emacs-file' if fboundp.
2332
2333 * net/tramp-sh.el (tramp-methods): Add "ksu".
2334 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
2335 method list.
2336
2337 2010-12-14 Glenn Morris <rgm@gnu.org>
2338
2339 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
2340 (find-tag-marker-ring): Declare.
2341 (js-find-symbol): Require etags.
2342
2343 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
2344 Require mail-utils.
2345 (mail-alias-file): Don't autoload. Doc fix.
2346 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
2347 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
2348 Mark as obsolete, and risky.
2349 (mail-setup): Simplify.
2350
2351 * mail/mailalias.el (build-mail-aliases): Make it interactive.
2352 * mail/sendmail.el (build-mail-aliases): Update autoload.
2353
2354 * dired.el (dired-trivial-filenames, dired-chown-program)
2355 (dired-auto-revert-buffer): Remove autoload cookies.
2356 * mail/sendmail.el (mail-recover-1): Require 'dired.
2357
2358 * dired.el (dired-subdir-switches, dired-chown-program)
2359 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
2360 Make into defcustoms.
2361 (dired-chown-program): Simplify initialization.
2362
2363 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
2364
2365 2010-12-13 Romain Francoise <romain@orebokech.com>
2366
2367 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
2368
2369 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2370
2371 * net/netrc.el (netrc-point-at-eol): Remove the unused
2372 netrc-point-at-old and netrc-bound-and-true-p bindings.
2373 (netrc-parse): Cache the netrc contents.
2374
2375 2010-12-13 Eli Zaretskii <eliz@gnu.org>
2376
2377 * subr.el (posn-col-row): Evaluate header-line-format in the
2378 context of the POSITION window's buffer.
2379
2380 2010-12-13 Glenn Morris <rgm@gnu.org>
2381
2382 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
2383 (with-silent-modifications): Doc fixes.
2384
2385 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
2386
2387 * net/tramp.el (tramp-action-password, tramp-process-actions):
2388 Revert previous from. Use `save-restriction'.
2389
2390 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
2391
2392 * calendar/diary-lib.el (diary-list-sexp-entries):
2393 Handle case of no newline at end of file. (Bug#7536)
2394
2395 2010-12-13 Glenn Morris <rgm@gnu.org>
2396
2397 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
2398
2399 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
2400
2401 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
2402 (tramp-process-actions): Do not widen.
2403
2404 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2405 Protect buffer-modified value. (Bug#7557)
2406
2407 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
2408
2409 * log-edit.el (log-edit-changelog-entries):
2410 Regexp quote filename. (Bug#7505)
2411
2412 2010-12-13 Tom Breton <tehom@panix.com>
2413
2414 * cus-edit.el (custom-save-all):
2415 Bind print-length and print-level to nil. (Bug#7581)
2416
2417 2010-12-13 Glenn Morris <rgm@gnu.org>
2418
2419 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
2420 Run hooks to update menu contents. (Bug#7586)
2421
2422 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
2423 file names, for the sake of MS Windows. (Bug#7588)
2424
2425 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2426
2427 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
2428 empty lines without a leading space.
2429
2430 2010-12-13 Leo <sdl.web@gmail.com>
2431
2432 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
2433 while mapping over marks (Bug#6810).
2434
2435 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
2436
2437 * image-dired.el (image-dired-db-file)
2438 (image-dired-temp-image-file, image-dired-gallery-dir)
2439 (image-dired-temp-rotate-image-file): Set default values relative
2440 to image-dired-dir (Bug#7518).
2441
2442 2010-12-13 Lawrence Mitchell <wence@gmx.li>
2443
2444 * format.el (format-decode-run-method): Pass args FROM and TO, not
2445 point-min and point-max, to shell-command-on-region (Bug#7488).
2446
2447 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
2448
2449 * frame.el (blink-cursor-mode): Make default t for ns.
2450
2451 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
2452
2453 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
2454
2455 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
2456
2457 * comint.el (comint-dynamic-list-input-ring)
2458 (comint-dynamic-complete-filename)
2459 (comint-replace-by-expanded-filename)
2460 (comint-dynamic-simple-complete)
2461 (comint-dynamic-list-filename-completions)
2462 (comint-dynamic-list-completions): Doc fix (Bug#7499).
2463
2464 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
2465 Doc fix (Bug#7471).
2466
2467 2010-12-13 Martin Rudalics <rudalics@gmx.at>
2468
2469 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
2470 (Bug#7533).
2471
2472 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
2473
2474 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
2475 (Bug#7491).
2476
2477 2010-12-13 Eli Zaretskii <eliz@gnu.org>
2478
2479 * files.el (file-relative-name): Handle UNC file names on
2480 DOS/Windows. (Bug#4674)
2481
2482 2010-12-13 Daiki Ueno <ueno@unixuser.org>
2483
2484 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
2485 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
2486 (epg-context-set-passphrase-callback): Mention that the callback
2487 is not called when used with GnuPG 2.x.
2488
2489 2010-12-13 Glenn Morris <rgm@gnu.org>
2490
2491 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
2492 Ensure ps-footer-font-size-internal is initialized.
2493 Call ps-get-page-dimensions before trying to use ps-font-for-text.
2494
2495 2010-12-13 Kenichi Handa <handa@m17n.org>
2496
2497 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
2498 within condition-case.
2499 (rmail-show-mime): Don't use condition-case.
2500 (rmail-search-mime-message): New function.
2501 (rmail-search-mime-message-function): Set to
2502 rmail-search-mime-message.
2503
2504 2010-12-13 Leo <sdl.web@gmail.com>
2505
2506 * ido.el (ido-common-initialization): New function. (bug#3274)
2507 (ido-mode): Use it.
2508 (ido-completing-read): Call it.
2509
2510 2010-12-12 Karl Fogel <kfogel@red-bean.com>
2511
2512 * bookmark.el (bookmark-name-from-full-record): Rename back to
2513 this original name from `bookmark-name-from-record' reverting part
2514 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
2515 As Drew Adams pointed out, there was no reason to cause churn for
2516 third-party callers.
2517
2518 2010-12-12 Alan Mackenzie <acm@muc.de>
2519
2520 * progmodes/cc-engine.el (c-forward-type): Before scanning a
2521 template arglist, check that the current language supports this.
2522
2523 2010-12-11 Glenn Morris <rgm@gnu.org>
2524
2525 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
2526 state of the file matches. (Bug#7544)
2527 (vc-bzr-register, vc-bzr-checkin)
2528 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
2529 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
2530
2531 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
2532
2533 2010-12-11 Karel Klíč <kklic@redhat.com>
2534
2535 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
2536
2537 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2538
2539 Derive from prog-mode, use derived-mode-p, and fix up various
2540 minor style issues in lisp/progmodes.
2541
2542 * progmodes/vhdl-mode.el (vhdl-mode):
2543 * progmodes/verilog-mode.el (verilog-mode):
2544 * progmodes/vera-mode.el (vera-mode):
2545 * progmodes/sql.el (sql-mode):
2546 * progmodes/scheme.el (scheme-mode):
2547 * progmodes/perl-mode.el (perl-mode):
2548 * progmodes/octave-inf.el (inferior-octave-mode):
2549 * progmodes/autoconf.el (autoconf-mode):
2550 * progmodes/m4-mode.el (m4-mode):
2551 * progmodes/inf-lisp.el (inferior-lisp-mode):
2552 * progmodes/idlwave.el (idlwave-mode):
2553 * progmodes/icon.el (icon-mode):
2554 * progmodes/idlw-help.el (idlwave-help-mode):
2555 * progmodes/dcl-mode.el (dcl-mode):
2556 * progmodes/idlw-shell.el (idlwave-shell-mode):
2557 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
2558 (ebrowse-member-mode, ebrowse-electric-position-mode):
2559 Use define-derived-mode.
2560
2561 * progmodes/xscheme.el (exit-scheme-interaction-mode)
2562 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
2563 (xscheme-debugger-mode-p, xscheme-send-string-1):
2564 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
2565 (tcl-load-file, tcl-restart-with-file):
2566 * progmodes/ps-mode.el (ps-run-running):
2567 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
2568 * progmodes/js.el (js--get-all-known-symbols):
2569 * progmodes/inf-lisp.el (inferior-lisp-proc):
2570 * progmodes/idlwave.el (idlwave-beginning-of-statement)
2571 (idlwave-template, idlwave-update-buffer-routine-info)
2572 (idlwave-update-current-buffer-info)
2573 (idlwave-get-routine-info-from-buffers, idlwave-choose)
2574 (idlwave-scan-class-info, idlwave-fix-keywords)
2575 (idlwave-list-buffer-load-path-shadows):
2576 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
2577 (idlwave-toolbar-remove):
2578 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
2579 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
2580 (idlwave-shell-menu-def):
2581 * progmodes/idlw-complete-structtag.el
2582 (idlwave-prepare-structure-tag-completion):
2583 * progmodes/gud.el (gud-set-buffer):
2584 * progmodes/f90.el (f90-backslash-not-special):
2585 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
2586
2587 * progmodes/xscheme.el (xscheme-start)
2588 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
2589 * progmodes/which-func.el (which-function):
2590 * progmodes/vhdl-mode.el (vhdl-set-style):
2591 * progmodes/verilog-mode.el (verilog-set-compile-command)
2592 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
2593 (verilog-set-define, verilog-auto-reeval-locals):
2594 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
2595 * progmodes/simula.el (simula-mode):
2596 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
2597 * progmodes/python.el (python-check, python-mode):
2598 * progmodes/prolog.el (prolog-mode-variables):
2599 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
2600 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
2601 * progmodes/delphi.el (delphi-mode):
2602 * progmodes/cc-styles.el (c-setup-paragraph-variables):
2603 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
2604 (c-font-lock-init): Move make-local-variable to their setq.
2605
2606 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
2607 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
2608 make-local-hook.
2609 * progmodes/sh-script.el (sh-require-final-newline): Remove.
2610 (sh-set-shell): Don't set require-final-newline since it's already done
2611 by prog-mode.
2612 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
2613 since we never set it.
2614 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
2615 Use read-string and standard prompt.
2616 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
2617 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
2618 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
2619 (meta-common-mode-map): Rename from meta-mode-map.
2620 Remove C-m binding, which is a user preference, not mode specific.
2621 (meta-common-mode): New major mode; replace meta-common-initialization.
2622 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
2623 around with font-lock.
2624 * progmodes/etags.el (select-tags-table-mode):
2625 Derive from special-mode.
2626 * progmodes/octave-mod.el (octave-mode):
2627 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
2628 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
2629 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
2630 Let define-derived-mode do its job.
2631 * progmodes/cpp.el (cpp-edit-mode-map):
2632 Move initialization into declaration.
2633 (cpp-edit-mode): Use define-derived-mode.
2634 (cpp-edit-load): Use derived-mode-p.
2635 * progmodes/mixal-mode.el (mixal-mode):
2636 * progmodes/f90.el (f90-mode):
2637 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
2638 require-final-newline since prog-mode does it already.
2639 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
2640 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
2641 * progmodes/antlr-mode.el: Require cc-mode upfront.
2642 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
2643 the declaration.
2644 (antlr-directory-dependencies, antlr-show-makefile-rules):
2645 Use derived-mode-p.
2646 (antlr-language-option): Don't assume point-min==1.
2647 (antlr-mode): Use define-derived-mode.
2648 * progmodes/ada-mode.el: Use derived-mode-p.
2649 (ada-mode): Use define-derived-mode.
2650 Use hack-local-variables-hook.
2651
2652 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2653
2654 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
2655 (texinfo-mode): Don't disable adaptive-fill-mode.
2656 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
2657 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
2658 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
2659 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
2660 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
2661 (texinfo-insert-@quotation, texinfo-insert-@samp)
2662 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
2663 (texinfo-insert-@uref): Use define-skeleton.
2664 (texinfo-insert-@-with-arg): Delete.
2665
2666 2010-12-10 Eli Zaretskii <eliz@gnu.org>
2667
2668 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
2669 nil, do quote archive member names. (Bug#6144)
2670
2671 2010-12-10 Glenn Morris <rgm@gnu.org>
2672
2673 * files.el (diff-no-select): Declare.
2674
2675 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
2676 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
2677
2678 * comint.el (comint-input-ring-file-name): Doc fix.
2679
2680 2010-12-09 Eli Zaretskii <eliz@gnu.org>
2681
2682 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
2683 New functions.
2684 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
2685 Use them instead of `nil' and `>', respectively.
2686 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
2687 instead of `nil'.
2688 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
2689 and menu-bar-positive-p instead of `nil' and `>', respectively.
2690 (Bug#1077)
2691
2692 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2693
2694 * whitespace.el (whitespace-newline-mode): Code fix.
2695
2696 2010-12-09 Glenn Morris <rgm@gnu.org>
2697
2698 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
2699 Rename functions without commas, update callers.
2700
2701 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
2702
2703 * whitespace.el (whitespace-cleanup-region):
2704 Clean up spaces before tabs. (Bug#7582)
2705
2706 2010-12-08 Karl Fogel <kfogel@red-bean.com>
2707
2708 * bookmark.el: Adjust parameter names and doc strings to resolve
2709 confusion over whether "bookmark" meant a bookmark name or a
2710 bookmark record. Along the way, shorten one function's name for
2711 similar reasons. (Issue #7548)
2712 (bookmark-name-from-record): New name for
2713 `bookmark-name-from-full-record'. All callers changed.
2714 (bookmark-get-bookmark, bookmark-get-bookmark-record)
2715 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
2716 (bookmark-get-annotation, bookmark-set-annotation)
2717 (bookmark-get-filename, bookmark-set-filename)
2718 (bookmark-get-position, bookmark-set-position)
2719 (bookmark-get-front-context-string, bookmark-set-front-context-string)
2720 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
2721 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
2722 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
2723 Rename `bookmark' parameter to `bookmark-name-or-record', to
2724 clearly show its role, and shorten or adjust doc strings accordingly.
2725 (bookmark-set-name): Same, and pass the parameter directly to
2726 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
2727 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
2728 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
2729 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
2730 and in some cases shorten doc string accordingly.
2731 (bookmark-rename): Change `old' and `new' parameters to `old-name'
2732 and `new-name', and adjust an internal variable to avoid confusion.
2733 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
2734 parameter in doc string.
2735
2736 2010-12-08 Glenn Morris <rgm@gnu.org>
2737
2738 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
2739 from gdb's history file. (Bug#7575)
2740
2741 * mail/emacsbug.el (report-emacs-bug):
2742 Try to handle some other mail clients.
2743
2744 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2745
2746 * files.el (dir-locals-collect-variables): Don't let errors stop us.
2747 Use string-prefix-p.
2748 (file-name-version-regexp): New var.
2749 (file-name-sans-versions):
2750 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
2751 (jka-compr-get-compression-info): Use dolist.
2752 (jka-compr-compression-info-list): Don't bother specifying
2753 version/backup regexps.
2754
2755 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
2756
2757 * simple.el (just-one-space): Make argument n default to 1 if
2758 omitted.
2759
2760 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2761
2762 * electric.el (electric-indent-post-self-insert-function):
2763 Delete trailing newlines even if we don't reindent.
2764
2765 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2766
2767 * minibuffer.el (completion-at-point): Remove the `arg'.
2768 * bindings.el (complete-symbol): Move back from minibuffer.el.
2769
2770 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2771
2772 * simple.el (just-one-space): Delete newlines for negative arg.
2773
2774 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2775
2776 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
2777 (ansi-color-filter-apply): Simplify.
2778 (ansi-color-apply): Use `font-lock-face' rather than `face'.
2779
2780 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
2781
2782 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
2783
2784 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
2785
2786 * dired.el (dired-use-ls-dired): Set default to a special
2787 "unspecified" value.
2788 (dired-insert-directory): When called the first time, check
2789 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
2790
2791 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
2792
2793 * replace.el: Add "collect" feature to occur.
2794 (occur-collect-regexp-history): New var.
2795 (occur-read-primary-args): Return a replace string for nlines,
2796 if needed.
2797 (occur): Extend the meaning of nlines.
2798
2799 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2800
2801 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
2802 (which-func-update-1): Distinguish symbols from strings.
2803 (which-function): Stay within 80 columns.
2804
2805 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
2806
2807 * subr.el (with-demoted-errors): Distinguish symbols from strings.
2808
2809 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
2810 Improve docstring.
2811 (comment-style): Use comment-styles's docs to describe values.
2812
2813 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
2814
2815 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
2816 and ns-show-prefs (Bug#7535).
2817
2818 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
2819 bindings (Bug#7535).
2820
2821 2010-12-03 Glenn Morris <rgm@gnu.org>
2822
2823 * nxml/nxml-mode.el: Require rng-nxml.
2824 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
2825 Remove declarations.
2826
2827 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
2828 * nxml/rng-nxml.el, nxml/rng-valid.el:
2829 Remove leading `*' from defcustom docs.
2830
2831 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
2832 (normal-top-level-add-to-load-path, tty-handle-args):
2833 Convert comments to basic doc-strings.
2834
2835 * net/browse-url.el (browse-url-url-at-point)
2836 (browse-url-default-browser): Remove autoload cookies.
2837
2838 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
2839 Remove more undefined cl functions.
2840
2841 * vc/diff.el (diff-sentinel): Make new arguments optional.
2842 * ibuf-ext.el (diff-sentinel): Update declaration.
2843
2844 2010-12-03 Daiki Ueno <ueno@unixuser.org>
2845
2846 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
2847 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
2848 (epg-context-set-passphrase-callback): Mention that the callback
2849 is not called when used with GnuPG 2.x.
2850
2851 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
2852
2853 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
2854 (tramp-file-name-port): Check also for `tramp-default-port'.
2855 (tramp-get-connection-name): New defun.
2856 (tramp-get-connection-process): Use it.
2857 (tramp-debug-message): Extend function exclude list.
2858 (tramp-drop-volume-letter): Fix doc string.
2859
2860 * net/tramp-cmds.el: Remove solved todo item.
2861
2862 * net/tramp-efs.el:
2863 * net/tramp-ftp.el:
2864 * net/tramp-gvfs.el:
2865 * net/tramp-gw.el:
2866 * net/tramp-imap.el:
2867 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
2868 and `tramp-default-user-alist', respectively.
2869
2870 * net/tramp-gw.el (tramp-gw-open-connection):
2871 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
2872
2873 * net/tramp-imap.el (tramp-imap-make-iht): Use just
2874 `tramp-file-name-port'.
2875
2876 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
2877 and "psftp". Exchange "%k" marker with options.
2878 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
2879 Compute size of link target.
2880 (tramp-do-copy-or-rename-file-out-of-band): Move setting of
2881 `tramp-current-*' up due to gateway methods. Optimize computing of
2882 copy arguments. Use `tramp-get-connection-name' and
2883 `tramp-get-connection-buffer'. Improve debug messages.
2884 (tramp-compute-multi-hops): Remove port determination.
2885 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
2886
2887 * net/trampver.el: Update release number.
2888
2889 2010-12-02 Glenn Morris <rgm@gnu.org>
2890
2891 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
2892 Avoid infinite loop over windows. (Bug#7492)
2893
2894 * progmodes/flymake.el (flymake-check-file-limit):
2895 Allow nil to mean "no limit".
2896 (flymake-check-patch-master-file-buffer): Update for above change.
2897 Allow a .tex file-name extension to be optional.
2898 (flymake-master-tex-init): Also match \include statements.
2899
2900 2010-11-30 Sam Steingold <sds@gnu.org>
2901
2902 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
2903 (nxml-parent-document-set): A function to set `nxml-parent-document'.
2904 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
2905 (nxml-mode-hook): Remove `defcustom' (auto-defined by
2906 define-derived-mode').
2907 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
2908 users who want to call `nxml-parent-document-set'.
2909
2910 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
2911
2912 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
2913 stand-alone lines, since that is handled by log-edit-match-to-eoh
2914 (Bug#6465).
2915
2916 2010-11-27 Eduard Wiebe <usenet@pusto.de>
2917
2918 * dired.el (dired-get-filename): Replace backslashes with slashes
2919 in file names on MS-Windows, needed by `locate'. (Bug#7308)
2920 * locate.el (locate-default-make-command-line): Don't consider
2921 drive letter and root directory part of
2922 `directory-listing-before-filename-regexp'. (Bug#7308)
2923 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
2924
2925 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2926
2927 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
2928 of :smie-open/close-alist.
2929 (smie-next-sexp): Make it accept a "start token" as argument.
2930 (smie-indent-keyword): Be careful not to misidentify tokens that span
2931 more than one line, as empty lines. Add argument `token'.
2932
2933 2010-11-27 Kenichi Handa <handa@m17n.org>
2934
2935 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
2936 multipart subtypes, insert all as usual.
2937
2938 * mail/rmail.el: Require rfc2047.
2939
2940 2010-11-27 Kenichi Handa <handa@m17n.org>
2941
2942 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
2943 (rmail-mime-entity-disposition)
2944 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
2945 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
2946 (rmail-mime-save): Handle the case that the button's `data' is a
2947 MIME entity.
2948 (rmail-mime-insert-text): New function.
2949 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
2950 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
2951 (rmail-mime-insert-bulk): New function mostly copied from the old
2952 rmail-mime-bulk-handler.
2953 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
2954 (rmail-mime-process-multipart): New function mostly copied from
2955 the old rmail-mime-multipart-handler.
2956 (rmail-mime-show): Just call rmail-mime-process.
2957 (rmail-mime-process): New function mostly copied from the old
2958 rmail-mime-show.
2959 (rmail-mime-insert-multipart, rmail-mime-parse)
2960 (rmail-mime-insert, rmail-show-mime)
2961 (rmail-insert-mime-forwarded-message)
2962 (rmail-insert-mime-resent-message): New functions.
2963 (rmail-insert-mime-forwarded-message-function): Set to
2964 rmail-insert-mime-forwarded-message.
2965 (rmail-insert-mime-resent-message-function): Set to
2966 rmail-insert-mime-resent-message.
2967
2968 * mail/rmailsum.el: Require rfc2047.
2969 (rmail-header-summary): Handle multiline Subject: field.
2970 (rmail-summary-line-decoder): Change the default to
2971 rfc2047-decode-string.
2972
2973 * mail/rmail.el (rmail-enable-mime): Change the default to t.
2974 (rmail-mime-feature): Change the default to `rmailmm'.
2975 (rmail-quit): Delete the specifal code for rmail-enable-mime.
2976 (rmail-display-labels): Likewise.
2977 (rmail-show-message-1): Check rmail-enable-mime, and use
2978 rmail-show-mime-function for a MIME message. Decode the headers
2979 according to RFC2047.
2980
2981 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2982
2983 * progmodes/which-func.el (which-func-imenu-joiner-function):
2984 Return a string, as expected.
2985 (which-function-mode): Make sure we stop any previous timer before
2986 starting a new one.
2987
2988 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
2989
2990 * net/tramp.el (tramp-default-method-alist)
2991 (tramp-default-user-alist, tramp-default-proxies-alist):
2992 Adapt custom options type. (Bug#7445)
2993
2994 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
2995
2996 * progmodes/python.el: Add Ipython support (Bug#5390).
2997 (python-shell-prompt-alist)
2998 (python-shell-continuation-prompt-alist): New options.
2999 (python--set-prompt-regexp): New function.
3000 (inferior-python-mode, run-python, python-shell):
3001 Require ansi-color. Use python--set-prompt-regexp to set the comint
3002 prompt based on the Python interpreter.
3003 (python--prompt-regexp): New var.
3004 (python-check-comint-prompt)
3005 (python-comint-output-filter-function): Use it.
3006 (run-python): Use a pipe (Bug#5694).
3007
3008 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3009
3010 * progmodes/python.el (run-python): Doc fix.
3011 (python-keep-current-directory-in-path): New var (Bug#7454).
3012
3013 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3014
3015 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
3016 Prompt user before actually printing.
3017
3018 2010-11-27 Glenn Morris <rgm@gnu.org>
3019
3020 * startup.el (package-enable-at-startup, package-initialize):
3021 Remove unnecessary declarations.
3022
3023 2010-11-27 Eli Zaretskii <eliz@gnu.org>
3024
3025 * international/characters.el (glyphless-char-display-control):
3026 Exclude newline and TAB from the c0-control group.
3027
3028 2010-11-27 Glenn Morris <rgm@gnu.org>
3029
3030 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
3031 (expand-mail-aliases): Remove unnecessary autoload.
3032
3033 * allout.el (allout-command-prefix, allout-mode-map): Declare.
3034
3035 * shell.el (shell-dir-cookie-re): Move definition before use.
3036
3037 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
3038 Replace undefined CL functions.
3039
3040 2010-11-26 Eli Zaretskii <eliz@gnu.org>
3041
3042 * simple.el (prog-mode): Set bidi-paragraph-direction to
3043 left-to-right.
3044
3045 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
3046
3047 2010-11-26 Glenn Morris <rgm@gnu.org>
3048
3049 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
3050 diary-outlook-formats can be sensitive to calendar-date-style.
3051 (diary-outlook-formats): Simplify the default setting.
3052 (diary-from-outlook-internal): Pass subject and body as arguments.
3053 Use dolist rather than dotimes. Don't save the diary buffer.
3054 (diary-from-outlook-gnus, diary-from-outlook-rmail):
3055 Pass subject and body as explicit arguments to the -internal function.
3056
3057 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
3058
3059 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
3060 parsing them. This makes mailto:...?subject=foo\nbar work.
3061
3062 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3063
3064 * vc/diff.el (diff): Fix last change.
3065
3066 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
3067
3068 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
3069 (pcase--dontcare-upats): New var.
3070 (pcase-let, pcase-let*): Generate better code.
3071 Accept the same bodies as `let'.
3072 (pcase-dolist): New macro.
3073 (pcase--trivial-upat-p): New helper function.
3074 (pcase--expand): Strip leading "(let nil" if any.
3075
3076 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
3077
3078 * mail/mailclient.el (browse-url): Require.
3079 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
3080 use the external browser function to send the mail (bug#7469).
3081
3082 * net/browse-url.el (browse-url-browser-function): Revert the
3083 default back to the previous value, since the new value broke
3084 mailclient.el.
3085 (browse-url-mailto-function): New variable for mailto: URLs.
3086 (browse-url): Use the new variable for mailto: URLs.
3087
3088 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
3089
3090 * eshell/esh-cmd.el (eshell-parse-command):
3091 * eshell/esh-arg.el (eshell-parse-arguments):
3092 * eshell/em-script.el (eshell-source-file):
3093 Use with-silent-modifications.
3094
3095 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
3096
3097 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
3098 for a merge location.
3099
3100 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
3101 (vc-bzr-merge-branch): Always prompt.
3102 (vc-bzr-async-command): Use the full branch filename.
3103
3104 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
3105
3106 * shell.el (shell): Use current-buffer by default if it's already
3107 a shell mode buffer and its process is dead.
3108 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
3109
3110 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
3111
3112 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
3113 Mention that the keywords should be comma separated.
3114
3115 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
3116
3117 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
3118 Accept optional prefix arg meaning to prompt for a command.
3119 (vc-update): Use vc-BACKEND-pull if available. Accept optional
3120 prefix arg meaning to prompt for a command.
3121 (vc-pull): Alias for vc-update.
3122
3123 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
3124 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
3125 (vc-bzr-merge-branch): New functions, implementing merge-branch
3126 and pull operations.
3127
3128 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
3129
3130 * Makefile.in: Fix up last merge.
3131
3132 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
3133 (diff-sentinel): Get them as arguments instead.
3134 (diff-old-file, diff-new-file, diff-extra-args): Remove.
3135 (diff-file-local-copy, diff-better-file-name): New funs.
3136 (diff-no-select): Rename from diff-into-buffer.
3137 Support buffers additionally to files. Move `buf' arg. Don't display buf.
3138 Prefer closures to buffer-local variables.
3139 (diff): Adjust accordingly.
3140 (diff-buffer-with-file): Move from files.el.
3141 * files.el (diff-buffer-with-file): Move to vc/diff.el.
3142 (diff-buffer-internal): Remove.
3143 (diff-buffer-buffer): Remove.
3144 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
3145 the buffer name used, and so as not to mess up windows and frames.
3146
3147 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
3148
3149 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
3150 (diff-buffer-internal): New function extracted from diff-buffer-with-file
3151 (diff-buffer-with-file): Use it.
3152 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
3153 (diff): Use it.
3154
3155 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
3156
3157 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
3158 \ref's or \pageref's value as default instead of initial input.
3159
3160 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
3161
3162 * files.el (backup-by-copying-when-mismatch): The default value is
3163 now t.
3164
3165 * startup.el (normal-top-level):
3166 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
3167 `backup-by-copying-when-mismatch'.
3168
3169 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
3170
3171 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
3172
3173 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3174
3175 * progmodes/python.el (python-font-lock-keywords):
3176 Highlight top-level augmented assignments (Bug#6445).
3177
3178 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
3179
3180 * term/ns-win.el (ns-right-control-modifier)
3181 (ns-right-command-modifier): Defvar them.
3182
3183 * cus-start.el (all): Add ns-right-control-modifier and
3184 ns-right-command-modifier (Bug#7458).
3185
3186 2010-11-20 Glenn Morris <rgm@gnu.org>
3187
3188 * emacs-lisp/authors.el (authors-ignored-files)
3189 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
3190
3191 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
3192
3193 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
3194 (report-emacs-bug-parse-query-results)
3195 (report-emacs-bug-create-existing-bugs-buffer): Pass through
3196 keywords used for querying the bug database to show them in the
3197 existing bugs buffer.
3198
3199 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
3200
3201 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
3202
3203 * info.el (info-tool-bar-map): Add some :vert-only keywords.
3204
3205 2010-11-20 Eli Zaretskii <eliz@gnu.org>
3206
3207 * international/characters.el (glyphless-char-display-control):
3208 Make it a defcustom, with update-glyphless-char-display as its
3209 :set attribute.
3210 (top level): Don't call update-glyphless-char-display.
3211
3212 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
3213
3214 Sync with Tramp 2.2.0.
3215
3216 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
3217 `file-remote-p' (due to compatibility).
3218
3219 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
3220 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
3221
3222 * net/trampver.el: Update release number.
3223
3224 2010-11-20 Eli Zaretskii <eliz@gnu.org>
3225
3226 * faces.el (glyphless-char): Define value for `pc'.
3227
3228 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
3229
3230 Implemented a bug querying mechanism.
3231 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
3232 (report-emacs-bug-create-existing-bugs-buffer)
3233 (report-emacs-bug-parse-query-results)
3234 (report-emacs-bug-query-existing-bugs): New functions.
3235
3236 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
3237
3238 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
3239 a \ref{} or \pageref{} macro, then use its value as initial input.
3240
3241 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
3242
3243 * calc/calc-units.el (math-build-units-table-buffer):
3244 calc/README: Mention that the TeX specific units won't use the
3245 `tex' prefix in TeX mode.
3246 calc/calc-lang.el (math-variable-table): Don't use the `tex'
3247 prefix for units in TeX mode.
3248
3249 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3250
3251 * simple.el (kill-new, kill-append, kill-region):
3252 * comint.el (comint-kill-region): Make the yank-handler argument
3253 obsolete.
3254
3255 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3256
3257 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
3258 that are both openers (resp. closers) and something else.
3259 (smie-grammar): Loosen definition of valid values.
3260 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
3261 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
3262 (smie-indent-after-keyword): Adjust users.
3263 (smie-indent-keyword): Don't indent empty lines.
3264
3265 * vc-hg.el (vc-hg-program): New var.
3266 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
3267 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
3268
3269 2010-11-18 Glenn Morris <rgm@gnu.org>
3270
3271 * emacs-lisp/autoload.el (autoload-find-destination): The function
3272 coding-system-eol-type may return non-numeric values. (Bug#7414)
3273
3274 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
3275
3276 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
3277
3278 2010-11-18 Eli Zaretskii <eliz@gnu.org>
3279
3280 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
3281
3282 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
3283
3284 * textmodes/picture.el (picture-mouse-set-point): Don't use
3285 posn-col-row; explicitly compute the motion based on the posn at
3286 the window-start (Bug#7390).
3287
3288 2010-11-18 Glenn Morris <rgm@gnu.org>
3289
3290 * novice.el (disabled-command-function):
3291 Fix 2009-11-15 change. (Bug#7384)
3292
3293 2010-11-18 Glenn Morris <rgm@gnu.org>
3294
3295 * calendar/calendar.el (diary-iso-date-forms): Make elements
3296 mutually exclusive. (Bug#7377)
3297
3298 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3299
3300 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
3301 when filling the remaining "unconstrained" values.
3302
3303 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3304
3305 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
3306 safety predicate.
3307
3308 * files.el (safe-local-variable-p): Gracefully handle errors.
3309
3310 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
3311 Use smie-indent-virtual when indenting relative to an opener.
3312 (smie-rule-separator): Use smie-rule-parent.
3313 (smie-indent-keyword): Consult rules, even for openers at bol.
3314 (smie-indent-comment-close): Try to align closer's content.
3315
3316 2010-11-18 Glenn Morris <rgm@gnu.org>
3317
3318 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
3319
3320 2010-11-18 Glenn Morris <rgm@gnu.org>
3321
3322 * printing.el (pr-menu-bind): Doc fix.
3323
3324 * speedbar.el (speedbar-toggle-images): Doc fix.
3325
3326 * progmodes/python.el (python-shell): Doc fix.
3327
3328 * wid-edit.el (widget-field-use-before-change)
3329 (widget-use-overlay-change): Doc fixes.
3330
3331 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3332
3333 Minor cleanup to improve style.
3334 * textmodes/rst.el (rst-update-section): Use point-marker.
3335 (rst-get-decoration): Eliminate unneeded assignment.
3336 (rst-promote-region, rst-straighten-decorations)
3337 (rst-section-tree, rst-adjust): Use point-marker.
3338 (rst-toc-mode-mouse-goto): Avoid setq.
3339 (rst-shift-region-guts, rst-shift-region-left)
3340 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
3341 (rst-convert-bullets-to-enumeration): Use copy-marker.
3342
3343 * minibuffer.el (completion-fail-discreetly): New var.
3344 (completion--do-completion): Use it.
3345
3346 * electric.el (electric-pair-pairs): New var.
3347 (electric-pair-post-self-insert-function): Use it.
3348 (electric-layout-post-self-insert-function): Don't insert a before
3349 newline unless it's actually needed.
3350
3351 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
3352
3353 * progmodes/python.el (run-python): Explain why we remove the current
3354 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
3355
3356 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
3357
3358 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3359
3360 * progmodes/octave-mod.el: Rely on elecric-*-modes.
3361 (octave-mode-map): Don't bind ;, SPC, and LF.
3362 (octave-auto-indent, octave-auto-newline): Remove.
3363 (electric-layout-rules): Declare.
3364 (octave-mode): Set electric-layout-rules.
3365 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
3366 (octave-reindent-then-newline-and-indent, octave-electric-semi)
3367 (octave-electric-space): Remove.
3368
3369 * electric.el (electric-layout-mode): New minor mode.
3370 (electric--after-char-pos): New function.
3371 (electric-indent-post-self-insert-function): Use it.
3372 (electric-layout-rules): New var.
3373 (electric-layout-post-self-insert-function): New function.
3374 (electric-indent-mode): Make them interact better.
3375
3376 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3377
3378 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
3379 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
3380 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
3381
3382 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
3383
3384 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
3385 Make sure to check inside the word (Bug#6761).
3386
3387 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
3388
3389 * startup.el (command-line): If the cursorColor resource is set,
3390 change the cursor face-spec (Bug#7392).
3391
3392 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
3393
3394 The main features of the following allout.el changes are:
3395 - implement user customization for the allout key bindings
3396 - add a customization control by which the user can inhibit use of
3397 a trailing Ctrl-H, so by default it's reserved for use with
3398 describe-prefix-bindings
3399 - adapt to new version of called-interactively-p, while
3400 maintaining backwards compatibility with old version
3401 - fix hotspot navigation so i works properly with meta-modified keys
3402
3403 * allout.el (allout-keybindings, allout-bind-keys)
3404 (allout-keybindings-binding, allout-prefixed-keybindings)
3405 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
3406 (allout-keybindings-list, allout-mode-map-adjustments)
3407 (allout-setup-mode-map): Establish allout-mode keymaps as user
3408 customizable settings, and also establish a customizable setting which
3409 regulates whether or not a trailing control-h is reserved for use with
3410 describe-prefix-bindings - and inhibit it by default, so that control-h
3411 *is* reserved for describe-prefix-bindings unless the user changes it.
3412
3413 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
3414 and accurately between modified and unmodified events, and handle
3415 modified events more comprehensively.
3416
3417 * allout.el (allout-substring-no-properties):
3418 Alias to use or provide version of `substring-no-properties'.
3419 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
3420
3421 * allout.el (allout-next-single-char-property-change):
3422 Alias to use or provide version of `next-single-char-property-change'.
3423 (allout-annotate-hidden, allout-hide-by-annotation):
3424 Use `allout-next-single-char-property-change'.
3425
3426 * allout.el (allout-select-safe-coding-system):
3427 Alias to use or provide version of `select-safe-coding-system'.
3428 (allout-toggle-subtree-encryption):
3429 Use `allout-select-safe-coding-system'.
3430
3431 * allout.el (allout-set-buffer-multibyte):
3432 Alias to use or provide version of `set-buffer-multibyte'.
3433 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
3434
3435 * allout.el (allout-called-interactively-p): Macro for using the
3436 different versions of called-interactively-p identically, depending on
3437 the subroutine's argument signature.
3438 (allout-back-to-current-heading, allout-beginning-of-current-entry):
3439 Use `(interactive "p")' instead of `(called-interactively-p)'.
3440
3441 * allout.el (allout-init, allout-ascend, allout-end-of-level)
3442 (allout-previous-visible-heading, allout-forward-current-level)
3443 (allout-backward-current-level, allout-show-children):
3444 Use `allout-called-interactively-p' instead of `called-interactively-p'.
3445
3446 * allout.el (allout-before-change-handler):
3447 Exempt edits to the (overlaid) character after the allout outline
3448 bullet from edit confirmation prompt.
3449
3450 * allout.el (allout-add-resumptions):
3451 Ensure that it respects correct buffer for keybindings.
3452
3453 * allout.el (allout-beginning-of-line):
3454 Use `allout-previous-single-char-property-change' alias for the sake of
3455 diverse compatibility.
3456
3457 * allout.el (allout-end-of-line):
3458 Use `allout-mark-active-p' to encapsulate respect for mark activity.
3459
3460 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
3461
3462 * frame.el (frame-notice-user-settings): Don't clobber other
3463 user-set parameters when calling face-set-after-frame-default in
3464 response to background-color parameter (Bug#7373).
3465
3466 2010-11-13 Eli Zaretskii <eliz@gnu.org>
3467
3468 * international/characters.el (glyphless-char-display-control):
3469 Rename from glyphless-char-control; all users changed. Doc fix.
3470 Signal an error if display method is not one of the recognized
3471 symbols.
3472
3473 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
3474
3475 * net/tramp-compat.el (tramp-compat-line-beginning-position)
3476 (tramp-compat-line-end-position): Remove them.
3477
3478 * net/tramp.el (tramp-parse-rhosts-group)
3479 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
3480 (tramp-parse-hosts-group, tramp-parse-passwd-group)
3481 (tramp-parse-netrc-group, tramp-parse-putty-group)
3482 * net/tramp-cmds.el (tramp-append-tramp-buffers)
3483 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
3484 (tramp-sh-handle-file-selinux-context)
3485 (tramp-sh-handle-file-name-all-completions)
3486 (tramp-sh-handle-insert-directory)
3487 (tramp-sh-handle-expand-file-name, tramp-find-executable)
3488 (tramp-wait-for-output, tramp-send-command-and-read)
3489 * net/tramp-smb.el (tramp-smb-read-file-entry)
3490 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
3491
3492 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
3493 `point-at-bol'.
3494 (tramp-remote-coding-commands): Add an alternative using "base64
3495 -d -i". This is needed for older base64 versions from GNU
3496 coreutils. Reported by Klaus Reichl
3497 <Klaus.Reichl@thalesgroup.com>.
3498
3499 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
3500
3501 * simple.el (count-words-region): New function.
3502
3503 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
3504
3505 * shell.el (shell-dir-cookie-re): New custom variable.
3506 (shell-dir-cookie-watcher): New function.
3507
3508 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
3509 and compilation-mode (bug#7350).
3510
3511 * vc/smerge-mode.el (smerge-refine): Choose better default part to
3512 highlight when one of them is empty.
3513
3514 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
3515 trailing space.
3516 (skeleton-newline): New function.
3517 (skeleton-internal-1): Use it.
3518
3519 * simple.el (open-line): `newline' may strip trailing space.
3520
3521 2010-11-12 Kevin Ryde <user42@zip.com.au>
3522
3523 * international/mule-cmds.el (princ-list): Use mapc.
3524
3525 2010-11-12 Glenn Morris <rgm@gnu.org>
3526
3527 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
3528 Use it to replace all instances of "*Compile-Log*"
3529
3530 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
3531
3532 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
3533 indentation specs.
3534
3535 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3536
3537 * progmodes/modula2.el: Use SMIE and skeleton.
3538 (m2-mode-syntax-table): (*..*) can be nested.
3539 Add //...\n. Fix paren syntax.
3540 (m2-mode-map): Remove LF and TAB bindings.
3541 (m2-indent): Add safety property.
3542 (m2-smie-grammar): New var.
3543 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
3544 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
3545 (m2-mode): Use define-derived-mode.
3546 (m2-newline, m2-tab): Remove.
3547 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
3548 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
3549 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
3550 (m2-import): Use define-skeleton.
3551
3552 2010-11-11 Glenn Morris <rgm@gnu.org>
3553
3554 * obsolete/lucid.el: Don't warn about any CL functions in this file.
3555
3556 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
3557 (ls-lisp-verbosity): Add custom :set-after property.
3558 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
3559 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
3560 (ls-lisp-insert-directory): Update caller.
3561 (ls-lisp-set-options): New function.
3562 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
3563 Doc fix.
3564
3565 * play/landmark.el (lm-prompt-for-move):
3566 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
3567
3568 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
3569
3570 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
3571 (idlwave-study-twins): Prefix dynamic local variable `name'.
3572 (idlwave-routine-twin-compare): Update for above change.
3573
3574 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
3575 Prefix dynamic local variables `name', `kwd', and `link'.
3576 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
3577 * progmodes/idlw-complete-structtag.el
3578 (idlwave-complete-structure-tag-help):
3579 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
3580 (idlwave-complete-sysvar-tag-help)
3581 (idlwave-complete-class-structure-tag-help):
3582 Update for above name changes.
3583
3584 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3585
3586 * net/browse-url.el (browse-url-browser-function): Change the
3587 default to use `browse-url-mail' on mailto: URLs.
3588
3589 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
3590
3591 * emacs-lisp/package.el (package-read-all-archive-contents):
3592 Reset package-archive-contents to nil before re-reading.
3593
3594 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
3595
3596 * textmodes/flyspell.el (flyspell-word): Do not re-check words
3597 already found as misspellings by (flyspell-large-region), just
3598 do highlighting (bug#7322).
3599
3600 2010-11-10 Glenn Morris <rgm@gnu.org>
3601
3602 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
3603
3604 * emulation/edt.el (edt-with-position): New macro.
3605 (edt-find-forward, edt-find-backward, edt-find-next-forward)
3606 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
3607 (edt-paragraph-forward, edt-paragraph-backward): Use it.
3608
3609 * emulation/tpu-extras.el (tpu-with-position): New macro.
3610 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
3611
3612 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
3613
3614 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
3615 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
3616 (texinfo-master-menu, texinfo-insert-node-lines)
3617 (texinfo-multiple-files-update):
3618 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
3619 Use line-beginning-position.
3620
3621 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
3622 No recent Emacs supports system-type `emx'.
3623
3624 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
3625 (ada-command-separator, ada-default-prj-properties)
3626 (ada-find-any-references): Update for above name change.
3627
3628 * dirtrack.el (dirtrack-directory-function)
3629 (dirtrack-canonicalize-function):
3630 * filecache.el (file-cache-completion-ignore-case)
3631 (file-cache-case-fold-search, file-cache-ignore-case):
3632 * term.el (serial-port-is-file-p): Cosmetic change.
3633
3634 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
3635 Remove non-existent `windows-95' system-type.
3636 * dired.el (dired-chown-program): Remove non-existent `linux'
3637 system-type.
3638
3639 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
3640 (ping-program-options): Remove non-existent `linux' system-type.
3641
3642 * startup.el (package-initialize): Update declaration.
3643
3644 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
3645 (ls-lisp-handle-switches): Use time-less-p.
3646 (ls-lisp-format-time): Use float-time.
3647
3648 * textmodes/remember.el (remember-time-to-seconds): Remove.
3649 (remember-store-in-mailbox): Use float-time.
3650
3651 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
3652
3653 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
3654 never a real function.
3655 (with-no-warnings): Remove compat stub, now unused.
3656 (time-less-p): Doc fix.
3657 (time-to-number-of-days): Simplify.
3658
3659 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
3660 Remove.
3661 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
3662 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
3663 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
3664 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
3665 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
3666
3667 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
3668 (eshell-shuffle-files, eshell-shorthand-tar-command)
3669 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
3670 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
3671 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
3672 Prefix dynamic local variable `matches'.
3673
3674 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
3675 Prefix dynamic local variable `skeleton'.
3676
3677 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
3678
3679 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
3680 in mail buffer; make yank-action always a command that yanks original
3681 buffer.
3682
3683 2010-11-09 Glenn Morris <rgm@gnu.org>
3684
3685 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
3686
3687 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3688
3689 * minibuffer.el (minibuffer-completion-help): Specify the end of the
3690 completion field (bug#7211).
3691
3692 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
3693 Fix handling of backslash escapes.
3694 (python-quote-syntax): Adjust accordingly.
3695
3696 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
3697
3698 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
3699 (vc-mtn-workfile-branch): Adjust to new output format.
3700
3701 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3702
3703 * international/mule-cmds.el (princ-list): Mark as obsolete.
3704
3705 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3706
3707 * emacs-lisp/smie.el: New package.
3708
3709 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
3710
3711 * files.el (backup-by-copying-when-mismatch):
3712 Set `permanent-local' property.
3713
3714 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
3715 `permanent-local' property for `backup-by-copying-when-mismatch'.
3716
3717 2010-11-09 Eli Zaretskii <eliz@gnu.org>
3718
3719 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
3720
3721 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
3722
3723 * progmodes/verilog-mode.el (verilog-insert-one-definition)
3724 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
3725 AUTOINOUT for SV style multidimensional arrays, bug294.
3726 Reported by Eric Mastromarchi.
3727 (verilog-preprocess): Use with-current-buffer and
3728 font-lock-fontify-buffer to cleanup style issues.
3729
3730 2010-11-09 Glenn Morris <rgm@gnu.org>
3731
3732 * locate.el (locate, locate-mode): Doc fixes.
3733
3734 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
3735
3736 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
3737 user for confirmation.
3738 (server-force-stop): Use it.
3739 (server-start): Use server-force-stop for kill-emacs-hook, to
3740 avoid user interaction while killing Emacs.
3741
3742 2010-11-09 Glenn Morris <rgm@gnu.org>
3743
3744 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
3745 (meta-indent-line): Simplify.
3746
3747 * vc/emerge.el (emerge-line-number-in-buf):
3748 * textmodes/ispell.el (ispell-region):
3749 * textmodes/fill.el (current-fill-column):
3750 * progmodes/xscheme.el (xscheme-send-current-line):
3751 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
3752 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
3753 * progmodes/sh-script.el (sh-handle-prev-do):
3754 * progmodes/meta-mode.el (meta-indent-line):
3755 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
3756 (idlwave-in-quote):
3757 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
3758 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
3759 * progmodes/fortran.el (fortran-looking-at-if-then):
3760 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
3761 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
3762 (cperl-find-pods-heres):
3763 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
3764 * net/quickurl.el (quickurl-list-insert):
3765 * net/ldap.el (ldap-search-internal):
3766 * net/eudc.el (eudc-expand-inline):
3767 * mail/sendmail.el (sendmail-send-it):
3768 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
3769 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
3770 (viper-brac-function):
3771 * calc/calc-yank.el (calc-do-grab-region):
3772 * calc/calc-keypd.el (calc-keypad-press):
3773 * term.el (term-move-columns, term-insert-spaces):
3774 * speedbar.el (speedbar-highlight-one-tag-line):
3775 * simple.el (current-word):
3776 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
3777 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
3778 (Info-scroll-down):
3779 * hippie-exp.el (he-line-beg):
3780 * epa.el (epa--marked-keys):
3781 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
3782 (dired-update-file-line, dired-add-entry, dired-remove-entry)
3783 (dired-relist-entry):
3784 * buff-menu.el (Buffer-menu-buffer):
3785 * array.el (current-line):
3786 * allout.el (allout-resolve-xref)
3787 (allout-latex-verbatim-quote-curr-line):
3788 Replace yet more uses of end-of-line etc with line-end-position, etc.
3789
3790 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3791
3792 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
3793 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
3794 (checkdoc-syntax-table): Initialize in the declaration.
3795 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
3796 the mode on unconditionally.
3797
3798 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
3799 (extent-end-position, extent-start-position): Remove setf method for
3800 non-existing functions (bug#7319).
3801
3802 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3803
3804 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
3805 (smie-precs->prec2): Rename from smie-precs-precedence-table.
3806 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
3807 (smie-prec2->grammar): Rename from smie-prec2-levels.
3808 (smie-grammar): Rename from smie-op-levels.
3809 (smie-indent--hanging-p): Rename from smie-hanging-p.
3810 (smie-rule-hanging-p): New alias.
3811 (smie-indent--bolp): Rename from smie-bolp.
3812 (smie-indent--hanging-p): New alias.
3813 (smie--token): New dynamically bound variable.
3814 (smie-indent--parent): New function.
3815 (smie-rule-parent-p): Use it; rename from smie-parent-p.
3816 (smie-rule-next-p): Rename from smie-next-p.
3817 (smie-rule-prev-p): Rename from smie-prev-p.
3818 (smie-rule-sibling-p, smie-rule-parent)
3819 (smie-indent--separator-outdent, smie-rule-separator): New functions.
3820 (smie-rule-separator-outdent): New var.
3821 (smie-indent--rule): Merge with smie-indent--column.
3822 (smie-indent-forward-token, smie-indent-backward-token):
3823 Also recognize close parens.
3824 (smie-indent-keyword): Don't use smie-indent--column any more.
3825 (smie-indent-after-keyword): Ignore closers by default.
3826 (smie-indent-line): Use with-demoted-errors.
3827 * progmodes/octave-mod.el (octave-smie-grammar):
3828 Rename from octave-smie-op-levels.
3829 (octave-smie-rules): Adjust to new behavior.
3830 * progmodes/prolog.el (prolog-smie-grammar):
3831 Rename from prolog-smie-op-levels.
3832
3833 2010-11-07 Glenn Morris <rgm@gnu.org>
3834
3835 * eshell/esh-util.el (subst-char-in-string)
3836 (directory-files-and-attributes): These compatibility definitions are
3837 not needed on any version of Emacs since at least 21.4.
3838
3839 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
3840 (verilog-get-end-of-line): Remove.
3841 (verilog-within-string, verilog-re-search-forward-substr)
3842 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
3843 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
3844 Use point-at-bol, point-at-eol.
3845 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
3846 Remove.
3847 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
3848 (electric-pascal-terminate-line, pascal-set-auto-comments)
3849 (pascal-indent-paramlist, pascal-indent-declaration)
3850 (pascal-get-lineup-indent, pascal-func-completion)
3851 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
3852 Use point-at-bol, point-at-eol.
3853 * progmodes/flymake.el (flymake-line-beginning-position)
3854 (flymake-line-end-position): Remove.
3855 (flymake-highlight-line): Use point-at-bol, point-at-eol.
3856 * eshell/esh-util.el (line-end-position, line-beginning-position):
3857 Remove compat definitions.
3858
3859 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
3860 Use end-of-line N.
3861 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
3862 Use line-end-position.
3863
3864 * emacs-lisp/chart.el (chart-zap-chars):
3865 * play/decipher.el (decipher-set-map):
3866 * progmodes/ada-mode.el (ada-get-current-indent)
3867 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
3868 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
3869 * progmodes/ada-xref.el (ada-initialize-runtime-library)
3870 (ada-get-all-references):
3871 * progmodes/cperl-mode.el (cperl-electric-paren)
3872 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
3873 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
3874 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
3875 (cperl-word-at-point-hard):
3876 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
3877 (idlwave-shell-filename-string, idlwave-shell-batch-command)
3878 (idlwave-shell-display-line):
3879 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
3880 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
3881 * progmodes/js.el (js--re-search-forward-inner)
3882 (js--re-search-backward-inner):
3883 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
3884 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
3885 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
3886 * textmodes/flyspell.el (flyspell-process-localwords):
3887 * textmodes/ispell.el (ispell-buffer-local-parsing)
3888 (ispell-buffer-local-dict, ispell-buffer-local-words):
3889 Use point-at-bol and point-at-eol.
3890
3891 * speedbar.el (speedbar-generic-item-info)
3892 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
3893 (speedbar-add-indicator, speedbar-check-vc-this-line)
3894 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
3895 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
3896 Replace more uses of end-of-line etc with line-end-position.
3897
3898 2010-11-06 Glenn Morris <rgm@gnu.org>
3899
3900 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
3901 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
3902 (texinfo-delete-existing-pointers, texinfo-find-pointer)
3903 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
3904 (texinfo-multiple-files-update):
3905 * textmodes/table.el (table--probe-cell-left-up)
3906 (table--probe-cell-right-bottom):
3907 * textmodes/picture.el (picture-tab-search):
3908 * textmodes/page-ext.el (pages-copy-header-and-position)
3909 (pages-directory-for-addresses):
3910 * progmodes/vera-mode.el (vera-get-offset):
3911 * progmodes/simula.el (simula-calculate-indent):
3912 * progmodes/python.el (python-pdbtrack-overlay-arrow):
3913 * progmodes/prolog.el (end-of-prolog-clause):
3914 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
3915 * progmodes/icon.el (indent-icon-exp):
3916 * progmodes/etags.el (tag-re-match-p):
3917 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
3918 * progmodes/ebnf2ps.el (ebnf-begin-file):
3919 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
3920 (dcl-save-local-variable):
3921 * play/life.el (life-setup):
3922 * play/gametree.el (gametree-looking-at-ply):
3923 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
3924 * mail/sendmail.el (mail-mode-auto-fill):
3925 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
3926 * emacs-lisp/edebug.el (edebug-overlay-arrow):
3927 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
3928 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
3929 (woman-tab-to-tab-stop, WoMan-warn-ignored):
3930 * type-break.el (type-break-file-keystroke-count):
3931 * term.el (term-replace-by-expanded-history-before-point)
3932 (term-skip-prompt, term-extract-string):
3933 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
3934 (speedbar-contract-line, speedbar-toggle-line-expansion)
3935 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
3936 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
3937 * sort.el (sort-skip-fields):
3938 * skeleton.el (skeleton-internal-list):
3939 * simple.el (line-move-finish, line-move-to-column):
3940 * shell.el (shell-forward-command):
3941 * misc.el (copy-from-above-command):
3942 * makesum.el (double-column):
3943 * ebuff-menu.el (electric-buffer-update-highlight):
3944 * dired.el (dired-move-to-end-of-filename):
3945 * dframe.el (dframe-popup-kludge):
3946 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
3947 * arc-mode.el (archive-get-lineno):
3948 Use line-end-position and line-beginning-position.
3949
3950 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
3951 (idlwave-study-twins): Prefix dynamic local `class'.
3952 (idlwave-routine-twin-compare): Update for above name change.
3953
3954 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
3955 Use boundp tests to silence compiler. Update for changed name of
3956 bytecomp-filename variable.
3957
3958 * emulation/viper-cmd.el (viper-read-string-with-history):
3959 Prefix dynamic local `initial'.
3960 (viper-minibuffer-standard-hook): Update for above name change.
3961
3962 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
3963 (elint-init-form): Update for above name change.
3964
3965 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
3966 local variables `cbeg' and `cend' a prefix.
3967 (mail-extr-voodoo): Update for above name change.
3968
3969 * textmodes/reftex-toc.el (reftex-toc-do-promote)
3970 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
3971 (reftex-toc-promote-action): Doc fix.
3972
3973 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
3974 `prompt', `data' a prefix.
3975 (reftex-select-post-command-hook, reftex-select-callback)
3976 (reftex-select-mouse-accept, reftex-select-read-cite):
3977 Update for above name changes.
3978
3979 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
3980 `refstyle' to reftex-refstyle.
3981 (reftex-offer-label-menu): Update for above name change.
3982 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
3983 `refstyle' name change.
3984
3985 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
3986 with with-current-buffer.
3987 (diff, template): Give dynamic local variables a prefix.
3988 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
3989 (emerge-line-number-in-buf): Update for above name change.
3990 (emerge-combine-versions-internal): Rename local `template' to
3991 emerge-combine-template.
3992 (emerge-combine-versions-edit): Update for above name change.
3993
3994 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
3995
3996 * textmodes/reftex-cite.el
3997 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
3998 entries with whitespace after \bibitem.
3999 (reftex-create-bibtex-file): Match entries containing numbers and
4000 symbol constituents. Make sure that entries with whitespace at
4001 various places are found.
4002
4003 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
4004
4005 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
4006
4007 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
4008
4009 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
4010
4011 2010-11-05 Glenn Morris <rgm@gnu.org>
4012
4013 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
4014 (woman2-roff-buffer): Give local variable `request' a prefix.
4015 (woman0-macro): Rename argument `request' in the same way.
4016 (woman-request): New name for `request' dynamic variable.
4017 (woman-unquote, woman-forward-arg): Update for above name change.
4018 (woman1-roff-buffer): Give local variable `unquote' a prefix.
4019 (woman1-unquote): New name for `unquote' dynamic variable.
4020 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
4021 (woman-translations): Rename from `translations'. No longer global.
4022 (woman2-tr, woman-translate): Update for above name change.
4023 (woman-translate): Check for bound variable.
4024 (woman2-roff-buffer): Give local variable `translations' a prefix.
4025
4026 * play/doctor.el: Give all local variables a prefix. Update callers.
4027 (doc$, doctor-put-meaning): Use backquote.
4028
4029 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
4030 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
4031
4032 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
4033 variables bytes, ptr, op a prefix.
4034 (disassemble-offset): Update for above change.
4035
4036 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
4037
4038 * emacs-lisp/package.el (package-unpack): Remove no-op.
4039 (package--builtins, package--dir): Doc fix.
4040 (package-activate-1, package-activate, package-install)
4041 (package-compute-transaction): Fix error message.
4042 (package-delete): Use delete-directory. Omit system packages.
4043 (package-initialize): Set package-alist to nil first.
4044 (package-menu-mark-delete, package-menu-mark-install): Don't add
4045 symbols that are inconsistent with the package state.
4046 (package-menu-execute): Perform deletions and installations as
4047 single batch operations.
4048
4049 2010-11-03 Glenn Morris <rgm@gnu.org>
4050
4051 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
4052 (props): Remove unnecessary declaration.
4053
4054 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
4055 set-process-query-on-exit-flag.
4056
4057 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
4058 (reftex-toc-do-promote): Remove unused local `mpos'.
4059 (reftex-toc-restore-region): Make `mpos' local to this function.
4060
4061 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
4062
4063 * play/landmark.el (lm-losing-threshold): Correct spelling.
4064 (lm-human-plays): Use new name.
4065
4066 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
4067 (gomoku-human-plays): Use new name.
4068
4069 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
4070 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
4071 (gomoku-score-trans-table, gomoku-winning-threshold)
4072 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
4073
4074 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
4075
4076 * emacs-lisp/package.el: Don't put built-in packages in
4077 package-alist, to avoid loading inefficiencies.
4078 (package-built-in-p): Make VERSION optional, and treat it as a
4079 minimum acceptable version.
4080 (package-activate): Search separately for built-in packages.
4081 Emit a warning if a dependency fails.
4082 (define-package): Handle most common case, where there is no
4083 obsolete package, first.
4084 (package-compute-transaction): Print required version in error.
4085 (package--initialized): New variable.
4086 (list-packages): Use it.
4087 (package-initialize): Optional arg NO-ACTIVATE. Don't put
4088 built-in packages in packages-alist; keep it separate.
4089 Set package--initialized.
4090 (describe-package): Avoid activating packages as a side-effect.
4091 Search separately for built-in packages.
4092 (describe-package-1): Handle the case where an elpa package is
4093 simultaneously built-in and available/installed.
4094 (package-installed-p, package--generate-package-list):
4095 Search separately for built-in packages.
4096 (package-load-descriptor): Doc fix.
4097
4098 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
4099
4100 * progmodes/perl-mode.el (perl-syntax-propertize-function):
4101 Handle __DATA__ and __END__.
4102
4103 2010-11-02 Noah Friedman <friedman@splode.com>
4104
4105 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
4106 nil, do not ask to recompile files that are not already compiled,
4107 and do not recompile them.
4108
4109 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
4110
4111 * emacs-lisp/package.el (package-initialize): Ensure that
4112 obsoleted built-in packages are not in package-activated-list
4113 during activation.
4114 (describe-package-1): Make the "installed" status override
4115 "built-in".
4116
4117 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4118
4119 * subr.el (version-separator, version-regexp-alist): Remove '*'
4120 from docstring.
4121 (version-list-<=, version<=, version=): Doc fix.
4122
4123 2010-11-01 Kenichi Handa <handa@m17n.org>
4124
4125 * faces.el (glyphless-char): Inherit underline for tty.
4126
4127 2010-11-01 Kenichi Handa <handa@m17n.org>
4128
4129 Implement various display methods for glyphless characters.
4130
4131 * international/characters.el (char-acronym-table): New variable.
4132 (glyphless-char-control): New variable.
4133 (update-glyphless-char-display): New function.
4134
4135 * faces.el (glyphless-char): New face.
4136
4137 2010-11-01 Glenn Morris <rgm@gnu.org>
4138
4139 * calendar/holidays.el (general-holidays, oriental-holidays)
4140 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
4141 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
4142 the definitions of their targets.
4143
4144 * emacs-lisp/smie.el (smie): New custom group.
4145 (smie-blink-matching-inners, smie-indent-basic): Add :group.
4146
4147 * faces.el (xw-defined-colors, x-setup-function-keys):
4148 * mouse-sel.el (x-select-text):
4149 * term/w32console.el (x-setup-function-keys): Update declarations.
4150
4151 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
4152
4153 * textmodes/ispell.el (comment-add): Declare.
4154
4155 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
4156 Declare.
4157
4158 * info.el (finder-keywords-hash, package-alist): Declare.
4159
4160 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
4161
4162 * finder.el (finder-compile-keywords): Don't use intern-soft,
4163 since package names may not yet exist in the obarray.
4164
4165 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
4166
4167 * vc/vc-arch.el (vc-arch-checkin):
4168 * vc/vc-cvs.el (vc-cvs-checkin):
4169 * vc/vc-mtn.el (vc-mtn-checkin):
4170 * vc/vc-rcs.el (vc-rcs-checkin):
4171 * vc/vc-sccs.el (vc-sccs-checkin):
4172 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
4173 since 2010-04-21 commit by Stefan Monnier.
4174
4175 2010-11-01 Glenn Morris <rgm@gnu.org>
4176
4177 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
4178
4179 * startup.el (package-enable-at-startup, package-initialize):
4180 Silence compiler.
4181
4182 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
4183 Silence compiler.
4184
4185 2010-10-31 Julien Danjou <julien@danjou.info>
4186
4187 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
4188 (byte-recompile-directory):
4189 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
4190 Use `byte-recompile-file'.
4191
4192 2010-10-31 Glenn Morris <rgm@gnu.org>
4193
4194 * cus-start.el: Handle standard values via a keyword.
4195 Only set version property if specified.
4196 (cursor-in-non-selected-windows, menu-bar-mode)
4197 (tool-bar-mode, show-trailing-whitespace):
4198 Do not specify standard values.
4199 (transient-mark-mode, temporary-file-directory): Use :standard.
4200
4201 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
4202
4203 * term/x-win.el (x-get-selection-value): New function that gets
4204 PRIMARY with type as specified in x-select-request-type. (Bug#6802)
4205
4206 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
4207
4208 * net/tramp.el (tramp-handle-insert-file-contents): For root,
4209 preserve owner and group when editing files. (Bug#7289)
4210
4211 2010-10-31 Glenn Morris <rgm@gnu.org>
4212
4213 * speedbar.el (speedbar-mode):
4214 * play/fortune.el (fortune-in-buffer, fortune):
4215 * play/gomoku.el (gomoku-mode):
4216 * play/landmark.el (lm-mode):
4217 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
4218 Replace inappropriate uses of toggle-read-only. (Bug#7292)
4219
4220 * select.el (x-selection): Mark it as an obsolete alias.
4221
4222 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4223
4224 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
4225 major-mode (bug#7284).
4226
4227 2010-10-31 Glenn Morris <rgm@gnu.org>
4228
4229 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
4230 rather than just an unused variable that inherits from the real one.
4231
4232 2010-10-31 Alan Mackenzie <acm@muc.de>
4233
4234 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
4235 This fixes bug #7185.
4236
4237 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
4238
4239 * startup.el (command-line): Search for package directories, and
4240 don't load package.el if none are found.
4241
4242 * emacs-lisp/package.el (describe-package, list-packages):
4243 Call package-initialize if it has not been called yet.
4244
4245 2010-10-30 Alan Mackenzie <acm@muc.de>
4246
4247 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
4248 which fontifies the tail of an enum.
4249 (c-basic-matchers-after): Insert a call to the above new function.
4250 This fixes bug #7264.
4251
4252 2010-10-30 Glenn Morris <rgm@gnu.org>
4253
4254 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
4255 tool-bar-mode, transient-mark-mode. (Bug#7306)
4256 Include the :set property in the dumped Emacs.
4257
4258 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4259
4260 SMIE: change indent rules format, improve smie-setup.
4261 * emacs-lisp/smie.el (smie-precs-precedence-table)
4262 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
4263 Mark them pure so the tables gets built at compile time.
4264 (smie-bnf-precedence-table): Store the closer-alist in the table.
4265 (smie-prec2-levels): Preserve the closer-alist.
4266 (smie-blink-matching-open): Be more forgiving in case of indentation.
4267 (smie-hanging-p): Rename from smie-indent--hanging-p.
4268 (smie-bolp): Rename from smie-indent--bolp.
4269 (smie--parent, smie--after): New dynamic vars.
4270 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
4271 (smie-indent-rules): Remove.
4272 (smie-indent--offset-rule): Remove fun.
4273 (smie-rules-function): New var.
4274 (smie-indent--rule): New fun.
4275 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
4276 (smie-indent-exps): Use it.
4277 (smie-setup): Setup paren blinking; add keyword args for token
4278 functions; extract closer-alist from op-levels.
4279 (smie-indent-debug-log): Remove var.
4280 (smie-indent-debug): Remove fun.
4281 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
4282 (prolog-smie-rules): New fun to replace it.
4283 (prolog-mode-variables): Simplify.
4284 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
4285 it's setup automatically.
4286 (octave-smie-indent-rules): Remove.
4287 (octave-smie-rules): New fun to replace it.
4288 (octave-mode): Simplify.
4289
4290 2010-10-29 Glenn Morris <rgm@gnu.org>
4291
4292 * files.el (temporary-file-directory): Remove (already defined in C).
4293 * cus-start.el: Add temporary-file-directory.
4294
4295 * abbrev.el (abbrev-mode):
4296 * composite.el (auto-composition-mode):
4297 * menu-bar.el (menu-bar-mode):
4298 * simple.el (transient-mark-mode):
4299 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
4300 that they do not define the associated variables twice.
4301 * simple.el (transient-mark-mode): Remove defvar.
4302 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
4303 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
4304 Handle multiple groups, and also custom-delayed-init-variables.
4305 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
4306
4307 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4308
4309 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
4310 (pcase-if): Add one minor optimization.
4311 (pcase-split-equal): Rename from pcase-split-eq.
4312 (pcase-split-member): Rename from pcase-split-memq.
4313 (pcase-u1): Add strings to the member optimization.
4314 Add `guard' variant of predicates.
4315 (pcase-q1): Add string patterns.
4316
4317 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4318
4319 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
4320
4321 2010-10-28 Glenn Morris <rgm@gnu.org>
4322
4323 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
4324 Move menu-bar related settings to ../menu-bar.el.
4325 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
4326 Move ns-specific settings here from term/ns-win.el.
4327
4328 * simple.el (x-selection-owner-p): Remove unused declaration.
4329
4330 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4331
4332 * minibuffer.el (completion-cycling): New var (bug#7266).
4333 (minibuffer-complete, completion--do-completion):
4334 Use completion--flush-all-sorted-completions.
4335 (minibuffer-complete): Only cycle if completion-cycling is set.
4336 (completion--flush-all-sorted-completions): Unset completion-cycling.
4337 (minibuffer-force-complete): Set completion-cycling.
4338 (completion-all-sorted-completions): Move declaration before first use.
4339
4340 2010-10-28 Leo <sdl.web@gmail.com>
4341
4342 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
4343 which changes the order of matches seen by users (bug#7231).
4344
4345 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
4346
4347 * progmodes/compile.el (compilation-mode-font-lock-keywords):
4348 Don't confuse -omega as "-o mega".
4349
4350 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
4351
4352 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
4353 (log-edit-author): New dynamic var.
4354 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
4355 to return the author if different from committer.
4356 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
4357
4358 * play/landmark.el: Adjust commenting convention.
4359 (lm-nil-score): Rename from nil-score.
4360 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
4361 (OOOOscore): Move into a let in lm-score-trans-table.
4362 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
4363
4364 * electric.el (electric-indent-chars): Autoload.
4365 * progmodes/octave-mod.el (octave-mode):
4366 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
4367 (ruby-mode-abbrev-table): Merge initialization and declaration.
4368
4369 2010-10-27 Glenn Morris <rgm@gnu.org>
4370
4371 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
4372 variable.
4373
4374 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
4375
4376 * term/ns-win.el: Restore require of cl when compiling.
4377 (menu-bar-final-items): Remove non-existent `windows' menu.
4378 (ns-handle-nxopen): Optionally handle the temp-case.
4379 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
4380 (ns-insert-file, ns-find-file): Use `pop'.
4381
4382 2010-10-26 Glenn Morris <rgm@gnu.org>
4383
4384 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
4385
4386 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
4387
4388 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
4389 global map.
4390 * term/common-win.el (x-setup-function-keys): Remove most of the
4391 keymappings. Comment on the remaining ones.
4392
4393 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
4394
4395 * server.el (server-port): New option. (Bug#854)
4396 (server-start): Use server-port.
4397
4398 2010-10-26 Glenn Morris <rgm@gnu.org>
4399
4400 * term/ns-win.el (ns-version-string): Remove unused declaration.
4401 (ns-invocation-args): Change to x-invocation-args.
4402 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
4403 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
4404 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
4405 Use x-invocation-args instead of ns-invocation-args.
4406 (ns-initialize-window-system, handle-args-function-alist):
4407 Use x-handle-args instead of ns-handle-args.
4408 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
4409 * startup.el (command-line-ns-option-alist): Replace
4410 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
4411 ns-handle-iconic with the x- equivalents.
4412
4413 * term/common-win.el (x-select-enable-clipboard):
4414 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
4415
4416 * term/ns-win.el: No need to require cl when compiling.
4417 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
4418 (xw-defined-colors): Use the common-win definitions.
4419 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
4420 (ns-handle-iconic): Make it an alias for x-handle-iconic.
4421 * term/common-win.el (x-select-text, x-alternatives-map)
4422 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
4423 * loadup.el [ns]: Load common-win.
4424
4425 2010-10-26 Daiki Ueno <ueno@unixuser.org>
4426
4427 * epa-mail.el (epa-mail-encrypt): Handle local-part only
4428 recipients; expand mail aliases (Bug#7280).
4429
4430 2010-10-25 Glenn Morris <rgm@gnu.org>
4431
4432 * term/common-win.el (x-handle-switch): Simplify with pop.
4433 Optionally handle numeric switches.
4434 (x-handle-numeric-switch): Just call x-handle-switch.
4435 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
4436 (x-handle-name-switch, x-handle-display, x-handle-args):
4437 Simplify with pop.
4438
4439 * term/ns-win.el: Do not require easymenu.
4440 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
4441 <spell>: Move adjustments to menu-bar.el.
4442 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
4443 <separator-undo, spell>: Move ns-win's adjustments here.
4444 * loadup.el [ns]: Do not load easymenu.
4445
4446 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4447
4448 * image.el (image-checkbox-checked, image-checkbox-unchecked):
4449 Delete (Bug#7222).
4450
4451 * startup.el (fancy-startup-tail): Instead of using inline images,
4452 refer to image files from etc/.
4453
4454 * wid-edit.el (checkbox): Likewise.
4455 (widget-image-find): Center image specs.
4456
4457 2010-10-24 Glenn Morris <rgm@gnu.org>
4458
4459 * term/ns-win.el (x-select-text): Doc fix.
4460 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
4461 (x-select-text): Move to term/common-win.
4462 * term/w32-win.el (xw-defined-colors): Move to common-win.
4463 * term/x-win.el (xw-defined-colors, x-alternatives-map)
4464 (x-setup-function-keys, x-select-text): Move to common-win.
4465 * term/common-win.el (x-select-text, x-alternatives-map)
4466 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
4467 definitions here.
4468
4469 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
4470
4471 * net/mairix.el (mairix-searches-mode-map):
4472 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
4473
4474 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
4475
4476 * verilog-mode.el (verilog-directive-re): Make this variable
4477 auto-built for efficiency of execution and updating.
4478 (verilog-extended-complete-re): Support 'pure' fucntion & task
4479 declarations (these have no bodies).
4480 (verilog-beg-of-statement): General cleanup to enable support of
4481 'pure' fucntion & task declarations (these have no bodies).
4482 These efforts together fix Verilog bug210 from veripool; which was also
4483 noticed by Steve Pearlmutter.
4484 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
4485 (verilog-directive-nest-re, verilog-set-auto-endcomments):
4486 Support `elsif. Reported by Shankar Giri.
4487 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
4488 attribute handling for lining up declarations and assignments.
4489 (verilog-beg-of-statement-1): Fix issue where continued declaration
4490 is indented differently if it is after a begin..end clock.
4491 (verilog-in-attribute-p, verilog-skip-backward-comments)
4492 (verilog-skip-forward-comment-p): Support proper treatment of
4493 attributes by indent code. Reported by Jeff Steele.
4494 (verilog-in-directive-p): Fix comment to correctly describe function.
4495 (verilog-backward-up-list, verilog-in-struct-region-p)
4496 (verilog-backward-token, verilog-in-struct-p)
4497 (verilog-in-coverage-p, verilog-do-indent)
4498 (verilog-pretty-declarations): Use verilog-backward-up-list as
4499 wrapper around backward-up-list inorder to properly skip comments.
4500 Reported by David Rogoff.
4501 (verilog-property-re, verilog-endcomment-reason-re)
4502 (verilog-beg-of-statement, verilog-set-auto-endcomments)
4503 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
4504 of if). Reported by Max Bjurling and
4505 (verilog-calc-1): Fix for clocking block in modport
4506 declaration. Reported by Brian Hunter.
4507
4508 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
4509
4510 * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
4511 (verilog-gate-keywords, verilog-read-sub-decls)
4512 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
4513 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
4514 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
4515 (verilog-read-decls): Fix spaces in V2K module parameters causing
4516 mis-identification as interfaces, bug287.
4517 (verilog-read-decls): Fix not treating "parameter string" as a
4518 parameter in AUTOINSTPARAM.
4519 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
4520 treating `elsif similar to `endif inside AUTOSENSE.
4521 (verilog-do-indent): Implement correct automatic or static task or
4522 function end comment highlight. Reported by Steve Pearlmutter.
4523 (verilog-font-lock-keywords-2): Fix highlighting of single
4524 character pins, bug264. Reported by Michael Laajanen.
4525 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
4526 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
4527 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
4528 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
4529 (verilog-pretty-expr): Fix interactive arguments, bug272.
4530 Reported by Mark Johnson.
4531 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
4532 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
4533 bug269. Suggested by Gary Delp.
4534 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
4535 (verilog-preprocessor, verilog-set-compile-command):
4536 Create verilog-preprocess and verilog-preprocessor to show
4537 preprocessed output.
4538 (verilog-get-beg-of-line, verilog-get-end-of-line)
4539 (verilog-modi-file-or-buffer, verilog-modi-name)
4540 (verilog-modi-point, verilog-within-string): Move defmacro's
4541 before first use to avoid warning. Reported by Steve Pearlmutter.
4542 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
4543 (verilog-colorize-region, verilog-highlight-buffer)
4544 (verilog-highlight-includes, verilog-highlight-modules)
4545 (verilog-highlight-region, verilog-mode): Rename colorize to
4546 highlight to match other packages. Disable module highlighting,
4547 as received speed complaints, reenable for experimentation only
4548 using new verilog-highlight-modules.
4549 (verilog-read-decls): Fix regexp stack overflow in very large
4550 AUTO_TEMPLATEs, bug250.
4551 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
4552 (verilog-scan): Create verilog-save-buffer-state to standardize
4553 making insignificant changes that shouldn't call hooks.
4554 (verilog-save-no-change-functions, verilog-save-scan-cache)
4555 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
4556 Create verilog-save-no-change-functions to wrap verilog-scan
4557 preservation, and fix to work with nested preserved calls.
4558 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
4559 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
4560 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
4561 (verilog-submit-bug-report): Update variable list to be complete.
4562 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
4563 breaking on-the-fly font-locking.
4564 (verilog-colorize-buffer, verilog-colorize-include-files)
4565 (verilog-colorize-include-files-buffer, verilog-colorize-region)
4566 (verilog-load-file-at-mouse, verilog-load-file-at-point)
4567 (verilog-mode, verilog-read-inst-module-matcher): With point on a
4568 AUTOINST cell instance name, middle mouse button now finds-file on
4569 it. Suggested by Brad Dobbie.
4570 (verilog-alw-get-temps, verilog-auto-reset)
4571 (verilog-auto-sense-sigs, verilog-read-always-signals)
4572 (verilog-read-always-signals-recurse): Fix loop indexes being
4573 AUTORESET. AUTORESET now assumes any variables in the
4574 initialization section of a for() should be ignored.
4575 Reported by Dan Dever.
4576 (verilog-error-font-lock-keywords)
4577 (verilog-error-regexp-emacs-alist)
4578 (verilog-error-regexp-xemacs-alist): Fix error detection of
4579 Cadence HAL, reported by David Asher. Repair drift between the
4580 three similar error variables.
4581 (verilog-modi-lookup, verilog-modi-lookup-cache)
4582 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
4583 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
4584 Fix slow verilog-auto expansion on very large files.
4585 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
4586 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
4587 "{1*2{...". Broke in last revision.
4588 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
4589 submodule connections with replications "{#{a},#{b}}".
4590
4591 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
4592
4593 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
4594 Fix typo in docstring.
4595
4596 2010-10-24 Kenichi Handa <handa@m17n.org>
4597
4598 * face-remap.el (text-scale-adjust): Call read-event with a proper
4599 prompt.
4600
4601 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4602
4603 * emacs-lisp/unsafep.el: Don't mark functions that display
4604 messages as safe. Suggested by Johan Bockgård.
4605
4606 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4607
4608 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
4609 Turn comments into docstrings.
4610
4611 * minibuffer.el (completion--replace): Move point where it belongs
4612 when there's a common suffix (bug#7215).
4613
4614 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4615
4616 Merge read-color and facemenu-read-color (Bug#7242).
4617
4618 * faces.el (read-color): Use the completion code from
4619 facemenu-read-color. Require match in completion. Doc fix.
4620
4621 * facemenu.el (facemenu-read-color): Alias for read-color.
4622 (facemenu-set-foreground, facemenu-set-background):
4623 Use read-color.
4624
4625 * frame.el (set-background-color, set-foreground-color)
4626 (set-cursor-color, set-mouse-color, set-border-color):
4627 Use read-color.
4628
4629 2010-10-24 Leo <sdl.web@gmail.com>
4630
4631 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
4632 argument of delete-file and delete-directory (Bug#7011).
4633
4634 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4635
4636 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
4637 button-buffer-map.
4638
4639 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
4640
4641 * emacs-lisp/package.el (package--generate-package-list): Make the
4642 *Packages* buffer read-only.
4643
4644 2010-10-24 Alan Mackenzie <acm@muc.de>
4645
4646 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
4647 result of `c-beginning-of-decl-1' between invocations of a lambda
4648 function (Bug #7265).
4649
4650 2010-10-24 Daiki Ueno <ueno@unixuser.org>
4651
4652 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
4653 executable is not available on the system (Bug#7268).
4654
4655 2010-10-24 Glenn Morris <rgm@gnu.org>
4656
4657 * select.el (selection-coding-system, next-selection-coding-system):
4658 Sync doc with C versions.
4659
4660 * w32-vars.el (x-select-enable-clipboard):
4661 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
4662 * term/common-win.el (x-select-enable-clipboard): Move here.
4663
4664 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
4665 definition of C variable.
4666
4667 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
4668 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
4669 Don't redefine things that are defined in C.
4670 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
4671 (show-trailing-whitespace, auto-hscroll-mode)
4672 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
4673 Set up the appropriate custom properties.
4674
4675 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4676
4677 Bind "C-c ]" to ...
4678 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
4679 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
4680 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
4681 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
4682
4683 2010-10-23 Glenn Morris <rgm@gnu.org>
4684
4685 * textmodes/flyspell.el (flyspell-mode): If there was an error,
4686 say what it was.
4687
4688 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
4689 Sync docs with C version.
4690
4691 * term/ns-win.el (xw-defined-colors):
4692 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
4693
4694 * term/pc-win.el (x-select-enable-clipboard):
4695 * term/x-win.el (x-select-enable-clipboard):
4696 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
4697
4698 * comint.el (comint-password-prompt-regexp): Make it less vague.
4699 Bump version.
4700
4701 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
4702
4703 * help.el (finder-by-keyword): Remove unnecessary autoload.
4704
4705 2010-10-22 Glenn Morris <rgm@gnu.org>
4706
4707 * loadup.el: Unconditionally load float-sup.
4708 * paren.el (show-paren-delay):
4709 * emacs-lisp/float-sup.el:
4710 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
4711 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
4712 (lazy-lock-stealth-verbose): Assume float support.
4713 * ps-print.el: Assume float support on Emacs.
4714 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
4715 Remove non-float branch.
4716
4717 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
4718 src/Makefile no longer being pre-processed.
4719
4720 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4721
4722 * emacs-lisp/find-func.el (find-library): Use test-completion.
4723
4724 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4725
4726 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
4727
4728 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
4729
4730 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
4731 space in stat format string.
4732 (tramp-send-command): Unset $PS1 when using here documents, in
4733 order not to get several prompts.
4734 (tramp-get-inline-coding): Return `nil' in case of errors.
4735
4736 2010-10-21 Daiki Ueno <ueno@unixuser.org>
4737
4738 * hexl.el (hexl-mode, hexl-mode-exit):
4739 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
4740 (hexl-revert-buffer-function): New function.
4741 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
4742
4743 2010-10-19 Alan Mackenzie <acm@muc.de>
4744
4745 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
4746 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
4747 that these keywords aren't wrongly matched as identifiers.
4748
4749 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
4750 setting of c-new-BEG and c-new-END from c-before-change to
4751 c-after-change. (Bug#7181)
4752
4753 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
4754
4755 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
4756 Don't mark as safe.
4757
4758 * custom.el (custom-theme-set-variables): Likewise.
4759 (load-theme): Add custom-theme-set-faces and
4760 custom-theme-set-variables to safe-functions while loading.
4761 (custom-enabled-themes): Mark as risky.
4762
4763 2010-10-18 Julien Danjou <julien@danjou.info>
4764
4765 * bindings.el: Remove end dashes in default mode-line-format.
4766
4767 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
4768
4769 * bindings.el (global-map): Bind C-d to delete-char and deletechar
4770 to delete-forward-char.
4771
4772 * simple.el (normal-erase-is-backspace-mode): Remap delete to
4773 deletechar, and hence delete-forward-char.
4774
4775 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4776
4777 * repeat.el (repeat): Use read-key (bug#6256).
4778
4779 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
4780
4781 * emacs-lisp/unsafep.el: Don't mark functions that display
4782 messages as safe. Suggested by Johan Bockgård.
4783
4784 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4785
4786 * minibuffer.el (completion--replace): Move point where it belongs
4787 when there's a common suffix (bug#7215).
4788
4789 2010-10-19 Kenichi Handa <handa@m17n.org>
4790
4791 * international/characters.el: Add category '|' (word breakable)
4792 to fullwidth characters.
4793
4794 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
4795
4796 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
4797 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
4798 order to make stat results a float. Patch by Andreas Schwab
4799 <schwab@linux-m68k.org>.
4800
4801 2010-10-18 Julien Danjou <julien@danjou.info>
4802
4803 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
4804 hidden by `make-pointer-invisible'.
4805
4806 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4807
4808 * files.el (locate-file-completion-table): Strip non-matching elements
4809 before checking length of list (bug#7238).
4810
4811 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
4812
4813 * custom.el (custom-theme-set-variables): Mark as a safe function.
4814 (load-theme): Check forms using unsafep.
4815
4816 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
4817
4818 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
4819
4820 * textmodes/ispell.el (ispell-aspell-find-dictionary):
4821 Fix aspell data file searching (bug#7230).
4822
4823 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
4824
4825 * cus-theme.el (custom-theme--migrate-settings): New var.
4826 (customize-create-theme): Allow editing the `user' theme.
4827 (custom-theme-add-variable, custom-theme-add-var-1)
4828 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
4829 to the front of each variable or face widget.
4830 (custom-theme-write): Save theme settings in the correct order.
4831 Optionally, remove saved settings from user customizations.
4832 (custom-theme-write-variables, custom-theme-write-faces):
4833 Save only the checked widgets.
4834 (customize-themes): Add a link for migrating custom settings.
4835
4836 * custom.el (custom-declare-theme, provide-theme):
4837 Use custom-theme-name-valid-p.
4838 (custom-theme-name-valid-p): Remove checks that are now
4839 unnecessary since themes no longer obey load-path.
4840
4841 * cus-edit.el (custom-variable-value-create): For the simple
4842 style, hide documentation string when hidden.
4843
4844 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
4845
4846 * cus-edit.el (custom-variable, custom-face): Combine the
4847 :inhibit-magic and :display-style properties into a single
4848 :custom-style property.
4849 (custom-toggle-hide-variable, custom-toggle-hide-face):
4850 New functions. If hiding an edited value, save it to :shown-value.
4851 (custom-variable-value-create, custom-face-value-create): Use them.
4852 (custom-magic-reset): Allow magic property to be unset.
4853
4854 * custom.el: Custom themes no longer use load-path.
4855 (custom-theme-load-path): New option. Change built-in theme
4856 directory to etc/.
4857 (custom-enabled-themes): Add custom-theme-load-path dependency.
4858 (custom-theme--load-path): New function.
4859 (load-theme, custom-available-themes): Use it.
4860
4861 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
4862 (customize-themes): Link to custom-theme-load-path variable.
4863 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
4864 :custom-style property.
4865
4866 * themes/*.el: Moved to etc/.
4867
4868 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
4869
4870 * textmodes/reftex-cite.el
4871 (reftex-extract-bib-entries-from-thebibliography): Do not move
4872 point when searching for \bibitem entries. Match entries with
4873 spaces or tabs in front of arguments.
4874
4875 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
4876
4877 * cus-theme.el (customize-create-theme): Delete overlays after
4878 erasing. If given a THEME arg, display only the faces of that arg
4879 instead of custom-theme--listed-faces.
4880 (custom-theme-variable-menu, custom-theme-variable-action)
4881 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
4882 (custom-theme-add-variable, custom-theme-add-face): Apply value
4883 from the theme settings, instead of the current value.
4884 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
4885 (custom-theme-visit-theme): Allow calling outside theme buffers.
4886 (custom-theme-merge-theme): Don't enable the theme when merging.
4887 (custom-theme-write-variables, custom-theme-write-faces): Use the
4888 :shown-value properties to save buffer values, not global ones.
4889 (customize-themes): Display a warning about user customizations.
4890
4891 * cus-edit.el (custom-variable-value-create)
4892 (custom-face-value-create): Obey new special properties
4893 :shown-value and :inhibit-magic.
4894
4895 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
4896
4897 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
4898 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
4899 <dale@codefu.org>.
4900
4901 2010-10-14 Kenichi Handa <handa@m17n.org>
4902
4903 * mail/rmail.el (rmail-show-message-1): Catch an error of
4904 base64-decode-region and just show an error message (bug#7165).
4905
4906 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
4907 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
4908 a font-spec (bug#7197).
4909
4910 2010-10-14 Glenn Morris <rgm@gnu.org>
4911
4912 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
4913
4914 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
4915
4916 * international/mule.el (define-coding-system):
4917 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
4918 * composite.el (compose-region): Fix typo in docstring.
4919
4920 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
4921
4922 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
4923 only after checking the theme-face property.
4924
4925 * faces.el (face-spec-reset-face): Reset all attributes in one
4926 single call to set-face-attribute.
4927 (face-spec-match-p): Make it a defsubst.
4928 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
4929 (x-create-frame-with-faces, tty-create-frame-with-faces)
4930 (tty-set-up-initial-frame-faces): Don't recompute face specs in
4931 frame-set-background-mode, since they are recomputed immediately
4932 afterwards in face-set-after-frame-default.
4933 (face-set-after-frame-default): Minor optimization.
4934 (cursor): Provide non-trivial defface spec.
4935
4936 * custom.el (custom-theme-recalc-face): Simplify.
4937
4938 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
4939
4940 * calc/calc-alg.el (math-var): Rename from `var'.
4941 (math-is-polynomial, math-is-poly-rec): Replace `var'
4942 with `math-var'.
4943
4944 * calc/calcalg2.el (math-var): Rename from `var'.
4945 (calcFunc-table, math-scan-for-limits): Replace `var'
4946 with `math-var'.
4947
4948 2010-10-13 Glenn Morris <rgm@gnu.org>
4949
4950 * subr.el (last): Deal with dotted lists (reported in bug#7174).
4951
4952 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
4953
4954 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
4955
4956 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4957
4958 * net/tls.el (tls-program): Remove spurious %s from openssl.
4959 (tls-starttls-switches): Remove starttls hack.
4960 (open-tls-stream): Ditto.
4961 (tls-find-starttls-argument): Ditto.
4962
4963 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
4964
4965 * image.el (image-library-alist): Declare as obsolete alias.
4966 (image-type-available-p): Use `dynamic-library-alist'.
4967
4968 * term/w32-win.el (dynamic-library-alist):
4969 Use instead of `image-library-alist'.
4970
4971 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
4972
4973 * subr.el (last): Make it faster. (Bug#7174)
4974
4975 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
4976
4977 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
4978
4979 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
4980
4981 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
4982 (describe-theme-1): Extract doc from unloaded themes.
4983
4984 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
4985
4986 * themes/tango-theme.el:
4987 * themes/tango-dark-theme.el:
4988 * themes/wheatgrass-theme.el: New files.
4989
4990 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
4991
4992 * cus-theme.el (describe-theme, customize-themes)
4993 (custom-theme-save): New commands.
4994 (custom-new-theme-mode-map): Bind C-x C-s.
4995 (custom-new-theme-mode): Use custom--initialize-widget-variables.
4996 (customize-create-theme): New optional arg THEME.
4997 (custom-theme-revert): Use it.
4998 (custom-theme-visit-theme): Remove dead code.
4999 (custom-theme-merge-theme): Use custom-available-themes.
5000 (custom-theme-write): Make interactive.
5001 (custom-theme-write): Use custom-theme-name-valid-p.
5002 (describe-theme-1, custom-theme-choose-revert)
5003 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
5004 New funs.
5005 (custom-theme-allow-multiple-selections): New option.
5006 (custom-theme-choose-mode): New major mode.
5007
5008 * custom.el (custom-theme-set-variables): Remove dead code.
5009 Obey custom--inhibit-theme-enable.
5010 (custom--inhibit-theme-enable): New var.
5011 (provide-theme): Obey it.
5012 (load-theme): Replace load with manual read/eval, in order to
5013 check for correctness. Use custom-theme-name-valid-p.
5014 (custom-theme-name-valid-p): New function.
5015 (custom-available-themes): Use it.
5016
5017 * cus-edit.el (custom--initialize-widget-variables): New function.
5018 (Custom-mode): Use it.
5019
5020 * cus-face.el (custom-theme-set-faces): Remove dead code.
5021 Obey custom--inhibit-theme-enable.
5022
5023 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
5024
5025 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
5026
5027 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
5028
5029 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
5030
5031 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
5032 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
5033 (mac-right-option-modifier): New alias for ns-right-option-modifier.
5034
5035 * cus-start.el (all): ns-right-alternate-modifier is new.
5036
5037 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5038
5039 * emacs-lisp/lisp.el (lisp-completion-at-point):
5040 Use emacs-lisp-mode-syntax-table for the whole function.
5041
5042 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
5043
5044 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
5045 instead of font-lock-mode before adding keywords.
5046 Remove hi-lock-mode off code. Remove inhibit hack.
5047 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
5048 non-nil; removed hook inhibit hack.
5049
5050 2010-10-12 Glenn Morris <rgm@gnu.org>
5051
5052 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
5053 (load-path-shadows-find): ... to this.
5054 (list-load-path-shadows): Update for above change.
5055
5056 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
5057
5058 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
5059
5060 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
5061 Fix comment for declare-function.
5062
5063 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
5064
5065 * custom.el (custom-fix-face-spec): New function; code moved from
5066 custom-face-edit-fix-value.
5067 (custom-push-theme): Use it when checking if a face has been
5068 changed outside customize.
5069 (custom-available-themes): New function.
5070 (load-theme): Use it.
5071
5072 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
5073
5074 * custom.el (custom-push-theme): Cleanup (use cond).
5075 (disable-theme): Recompute the saved-face property.
5076 (custom-theme-recalc-face): Follow face alias before setting prop.
5077
5078 * image.el (image-checkbox-checked, image-checkbox-unchecked):
5079 New variables, containing checkbox images.
5080
5081 * startup.el (fancy-startup-tail):
5082 * wid-edit.el (checkbox): Use them.
5083
5084 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
5085
5086 * shell.el (shell-mode-map):
5087 * progmodes/modula2.el (m2-mode-map):
5088 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
5089 * play/mpuz.el (mpuz-mode-map):
5090 * play/landmark.el (lm-mode-map):
5091 * play/decipher.el (decipher-mode-map):
5092 * play/5x5.el (5x5-mode-map):
5093 * net/telnet.el (telnet-mode-map):
5094 * net/quickurl.el (quickurl-list-mode-map):
5095 * net/mairix.el (mairix-searches-mode-map):
5096 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
5097 * net/dig.el (dig-mode-map):
5098 * mail/mspools.el (mspools-mode-map):
5099 * hexl.el (hexl-mode-map):
5100 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
5101 (wordstar-C-o-map, wordstar-C-q-map):
5102 * emacs-lisp/edebug.el (edebug-eval-mode-map):
5103 * emacs-lisp/chart.el (chart-map):
5104 * edmacro.el (edmacro-mode-map):
5105 * erc/erc-list.el (erc-list-menu-mode-map):
5106 * array.el (array-mode-map): Declare and define in one step.
5107
5108 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
5109
5110 2010-10-10 Daiki Ueno <ueno@unixuser.org>
5111
5112 * epa.el (epa-passphrase-callback-function): Display filename
5113 passed as the 3rd arg.
5114 * epa-file.el (epa-file-passphrase-callback-function):
5115 Pass filename to epa-passphrase-callback-function.
5116
5117 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
5118
5119 * cus-edit.el (custom-face-widget-to-spec)
5120 (custom-face-get-current-spec, custom-face-state): New functions.
5121 (custom-face-set, custom-face-mark-to-save)
5122 (custom-face-value-create, custom-face-state-set): Use them.
5123
5124 * cus-theme.el (custom-theme--listed-faces): New var.
5125 (customize-create-theme): Use *Custom Theme* as the buffer name.
5126 Set revert-buffer-function. Optional arg BUFFER. Insert all
5127 faces listed in custom-theme--listed-faces.
5128 (custom-theme-revert): New function.
5129 (custom-theme-add-variable, custom-theme-add-face): Insert at the
5130 bottom of the list.
5131 (custom-theme-write): Prompt for theme name if empty.
5132 (custom-theme-write-variables): Use dolist.
5133 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
5134
5135 2010-10-09 Alan Mackenzie <acm@muc.de>
5136
5137 Enhance fontification of declarators to take account of the
5138 presence/absence of "typedef".
5139
5140 * cc-engine.el (c-forward-type): New &optional param
5141 "brace-block-too".
5142 (c-forward-decl-or-cast-1): cdr of return value now indicates the
5143 presence of either or both of a "struct"-like keyword and "typedef".
5144
5145 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
5146 fontification of declarators which follow a "}".
5147 (c-font-lock-declarations): Fontify declarators according to the
5148 presence/absence of "typedef".
5149
5150 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
5151 for "typedef".
5152 (c-typedef-decl-key): New lang variable built from
5153 c-typedef-decl-kwds.
5154
5155 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
5156
5157 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
5158 since that's too annoying. Move the filter groups commands to
5159 TAB/backtab.
5160
5161 * epa.el (epa-passphrase-callback-function): Say what we're
5162 querying the password for.
5163
5164 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
5165 behaviour, don't bury the ibuffer buffer when visiting other buffers.
5166
5167 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
5168
5169 * cus-edit.el (custom-commands, custom-buffer-create-internal)
5170 (custom-magic-value-create): Pad button tags with spaces.
5171 (custom-face-edit): New variable.
5172 (custom-face-value-create): Determine whether to use the usual
5173 face editor here, instead of using custom-face-selected.
5174 Pass face defaults to custom-face-edit widget.
5175 (custom-face-selected, custom-display-unselected): Delete widgets.
5176 (custom-display-unselected-match): Function removed.
5177 (custom-face-set, custom-face-mark-to-save):
5178 Accept custom-face-edit widgets as the direct widget child.
5179
5180 * wid-edit.el (widget--completing-widget): New var.
5181 (widget-default-complete): Bind it when doing completion.
5182 (widget-string-complete, widget-file-complete): Use it.
5183
5184 2010-10-09 Glenn Morris <rgm@gnu.org>
5185
5186 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
5187 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
5188 (holiday-hebrew-misc): Small simplifications.
5189
5190 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
5191
5192 * net/browse-url.el: Don't require thingatpt, term, dired,
5193 executable, or w3-auto when compiling.
5194 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
5195 Declare.
5196 (browse-url-text-emacs): Require term.
5197
5198 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
5199
5200 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
5201
5202 2010-10-08 Glenn Morris <rgm@gnu.org>
5203
5204 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
5205
5206 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
5207 (shadows-compare-text-p): Make it an obsolete alias for...
5208 (load-path-shadows-compare-text): ... new name.
5209 (find-emacs-lisp-shadows): Update for above name change.
5210 (load-path-shadows-same-file-or-nonexistent): New name for the old
5211 shadow-same-file-or-nonexistent.
5212
5213 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
5214
5215 * minibuffer.el (completion--some, completion--do-completion)
5216 (minibuffer-complete-and-exit, minibuffer-completion-help)
5217 (completion-basic-try-completion)
5218 (completion-basic-all-completions)
5219 (completion-pcm--find-all-completions): Use lexical-let to
5220 avoid some false matches in variable completion (Bug#7056)
5221
5222 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
5223
5224 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
5225
5226 2010-10-08 Leo <sdl.web@gmail.com>
5227
5228 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
5229 return non-nil if the file exists (Bug#7090).
5230
5231 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5232
5233 * minibuffer.el (completion--replace):
5234 Better preserve markers (bug#7138).
5235
5236 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
5237
5238 * server.el (server-process-filter): Doc fix.
5239
5240 2010-10-08 Drew Adams <drew.adams@oracle.com>
5241
5242 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
5243
5244 2010-10-08 Glenn Morris <rgm@gnu.org>
5245
5246 * vc/ediff-wind.el (ediff-setup-control-frame):
5247 * vc/ediff-ptch.el (ediff-default-backup-extension):
5248 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
5249 (ediff-exec-process): Remove system-types emx, windows-95.
5250
5251 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
5252
5253 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
5254
5255 * cus-edit.el (custom-variable, custom-face): Doc fix.
5256 (custom-face-edit): Add value-create attribute.
5257 (custom-face-edit-value-create)
5258 (custom-face-edit-value-visibility-action): New functions.
5259 Hide unused face attributes by default, and add a visibility toggle.
5260 (custom-face-edit-deactivate): Show empty values with shadow face.
5261 (custom-face-selected): Only use this for face specs with default
5262 attributes.
5263 (custom-face-value-create): Cleanup.
5264
5265 * wid-edit.el (widget-checklist-value-create): Use dolist.
5266 (widget-checklist-match-find): Make second arg optional.
5267
5268 2010-10-07 Glenn Morris <rgm@gnu.org>
5269
5270 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
5271 Prefix things.
5272
5273 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
5274 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
5275 load-path-shadows-mode, update references.
5276 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
5277 Rename variable and button.
5278 (list-load-path-shadows): Update button caller.
5279
5280 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5281
5282 * emacs-lisp/smie.el (smie-bnf-classify): New function.
5283 (smie-bnf-precedence-table): Use it to remember the closers/openers.
5284 (smie-merge-prec2s): Handle those new entries.
5285 (smie-prec2-levels): Only set precedence to nil for actual
5286 openers/closers.
5287 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
5288 that is now unnecessary.
5289
5290 2010-10-07 Miles Bader <miles@gnu.org>
5291
5292 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
5293
5294 2010-10-07 Glenn Morris <rgm@gnu.org>
5295
5296 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
5297 (mail-position-on-field): Remove declarations.
5298 (mail-position-on-field): Autoload it.
5299 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
5300 and mail-header-end. Don't require sendmail.
5301
5302 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
5303 (shadow-mode): New mode.
5304 (shadow-find-file): New button.
5305 (list-load-path-shadows): Use shadow-mode and buttons.
5306
5307 * iimage.el (iimage-version): Remove.
5308 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
5309 Turn into defcustoms.
5310 (iimage-mode-map): Give it a doc string.
5311
5312 * calendar/appt.el (appt-activate): Give a warning rather than an error
5313 if there is no diary-file.
5314
5315 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
5316
5317 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5318 Use `tramp-handle-find-backup-file-name'.
5319
5320 2010-10-06 Glenn Morris <rgm@gnu.org>
5321
5322 * font-core.el (font-lock-defaults-alist): Remove variable.
5323 (font-lock-mode): Doc fix.
5324 (font-lock-default-function): Do not consult font-lock-defaults-alist.
5325 * font-lock.el (font-lock-refresh-defaults): Doc fix.
5326 (font-lock-set-defaults): Doc fix.
5327 Do not consult font-lock-defaults-alist.
5328
5329 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
5330
5331 * emacs-lisp/cl.el: No longer provide cl-19.
5332
5333 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
5334
5335 * net/tramp.el (tramp-handle-directory-files-and-attributes)
5336 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
5337 New defuns, taken from tramp-smb.el.
5338 (tramp-coding-system-change-eol-conversion)
5339 (tramp-set-process-query-on-exit-flag): Remove.
5340
5341 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
5342 (tramp-compat-coding-system-change-eol-conversion)
5343 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
5344 from tramp.el.
5345
5346 * net/tramp-gvfs.el:
5347 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
5348 by `tramp-compat-set-process-query-on-exit-flag'.
5349
5350 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
5351 Use `tramp-handle-directory-files-and-attributes',
5352 `tramp-handle-file-exists-p' and
5353 `tramp-handle-file-newer-than-file-p'.
5354 (tramp-imap-handle-file-exists-p)
5355 (tramp-imap-handle-file-executable-p)
5356 (tramp-imap-handle-file-readable-p)
5357 (tramp-imap-handle-directory-files-and-attributes)
5358 (tramp-imap-handle-file-newer-than-file-p): Remove.
5359
5360 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
5361 by `tramp-compat-set-process-query-on-exit-flag' and
5362 `tramp-coding-system-change-eol-conversion' by
5363 `tramp-compat-coding-system-change-eol-conversion'.
5364
5365 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5366 Use `tramp-handle-directory-files-and-attributes',
5367 `tramp-handle-file-exists-p' and
5368 `tramp-handle-file-newer-than-file-p'.
5369 (tramp-smb-handle-directory-files-and-attributes)
5370 (tramp-smb-handle-file-exists-p)
5371 (tramp-smb-handle-file-newer-than-file-p): Remove.
5372 (tramp-smb-maybe-open-connection):
5373 Replace `tramp-set-process-query-on-exit-flag' by
5374 `tramp-compat-set-process-query-on-exit-flag'.
5375
5376 2010-10-05 Glenn Morris <rgm@gnu.org>
5377
5378 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
5379
5380 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
5381
5382 Continue reorganization of load dependencies. (Bug#7156)
5383
5384 * net/tramp.el (tramp-handle-file-local-copy-hook)
5385 (tramp-delete-temp-file-function): Move down.
5386 (tramp-exists-file-name-handler): Move up.
5387 (tramp-register-file-name-handlers): Simplify autoload.
5388 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
5389 (tramp-handle-directory-files, tramp-handle-dired-uncache)
5390 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
5391 (tramp-handle-file-name-completion)
5392 (tramp-handle-file-name-directory)
5393 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
5394 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
5395 (tramp-handle-find-backup-file-name)
5396 (tramp-handle-insert-file-contents, tramp-handle-load)
5397 (tramp-handle-substitute-in-file-name)
5398 (tramp-handle-unhandled-file-name-directory)
5399 (tramp-mode-string-to-int, tramp-local-host-p)
5400 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
5401
5402 * net/tramp-gvfs.el (top):
5403 * net/tramp-smb.el (top): Do not require 'tramp-sh.
5404
5405 * net/tramp-sh.el (all): Move several objects to tramp.el, see
5406 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
5407
5408 2010-10-04 Glenn Morris <rgm@gnu.org>
5409
5410 * calendar/appt.el (appt-add): Ensure reminders are enabled.
5411 (appt-activate): Give status messages.
5412
5413 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
5414
5415 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
5416 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
5417 `gnutls-negotiate' (formerly `starttls-negotiate').
5418 Remove trivial wrapper `starttls-open-stream'.
5419
5420 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
5421
5422 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
5423 log-outgoing commands.
5424 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
5425 to create a buffer local revert-buffer-function variable.
5426 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
5427 revert-buffer-function lambda.
5428
5429 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
5430
5431 * net/gnutls.el (starttls-negotiate): Use the plist interface to
5432 `gnutls-boot'. Make TYPE the only required parameter.
5433 Allow TRUSTFILES and KEYFILES to be lists.
5434 (open-ssl-stream): Use it.
5435
5436 2010-10-03 Glenn Morris <rgm@gnu.org>
5437
5438 * subr.el (directory-sep-char): Remove obsolete variable.
5439 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
5440 it is "necessary".
5441
5442 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
5443 * vc/vc.el (vc-static-header-alist): Doc fix.
5444 * vc/vc-cvs.el (vc-cvs-header):
5445 * vc/vc-rcs.el (vc-rcs-header):
5446 * vc/vc-sccs.el (vc-sccs-header):
5447 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
5448 * obsolete/vc-mcvs.el (vc-mcvs-header):
5449 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
5450 on XEmacs.
5451
5452 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
5453
5454 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
5455 Remove obsolete use of binary-overwrite-mode (Bug#7001).
5456
5457 2010-10-03 Glenn Morris <rgm@gnu.org>
5458
5459 * obsolete/x-menu.el: Remove file, obsolete since 21.1
5460
5461 * textmodes/rst.el (rst-font-lock-keywords-function):
5462 Drop Emacs 20 code.
5463
5464 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
5465
5466 * printing.el: Drop Emacs 20 code.
5467
5468 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
5469 without having used appt.el already).
5470
5471 * subr.el (make-local-hook): Remove function obsolete since 21.1.
5472 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
5473 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
5474 XEmacs.
5475 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
5476 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
5477
5478 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
5479 (charset-width, find-charset-region, chars-in-region, forward-point)
5480 (encode-coding-string, coding-system-p, ccl-execute-on-string)
5481 (define-ccl-program, multibyte-string-p, string-make-multibyte):
5482 Remove compatibility cruft (none of these are used by ps*.el).
5483
5484 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
5485
5486 * subr.el (booleanp): Return t instead of a list (Bug#7086).
5487
5488 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
5489
5490 * server.el (server-process-filter, server-return-error):
5491 Give emacsclient time to shut down after receiving an error string.
5492
5493 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
5494
5495 * files.el (remote-file-name-inhibit-cache): New defcustom.
5496
5497 * time.el (display-time-file-nonempty-p):
5498 Use `remote-file-name-inhibit-cache'.
5499
5500 * net/tramp.el (tramp-completion-reread-directory-timeout):
5501 Fix docstring.
5502
5503 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
5504 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
5505 `remote-file-name-inhibit-cache'. Check also for an integer
5506 value. Add/increase counter when `tramp-verbose' >= 10.
5507 (tramp-set-file-property): Add/increase counter when
5508 `tramp-verbose' >= 10.
5509
5510 * net/tramp-cmds.el (tramp-cleanup-all-connections)
5511 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
5512 (tramp-bug): Set tramp-autoload cookie. Report all interned
5513 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
5514 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
5515 characters only in strings.
5516
5517 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
5518 to backward compatibility.
5519
5520 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
5521 (tramp-handle-file-name-all-completions)
5522 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
5523 (tramp-open-connection-setup-interactive-shell):
5524 Call `tramp-cleanup-connection' directly.
5525
5526 2010-10-02 Glenn Morris <rgm@gnu.org>
5527
5528 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
5529
5530 * subr.el (char-bytes): Remove obsolete function.
5531
5532 * isearch.el (isearch-return-char): Remove obsolete function.
5533
5534 * mouse.el: No longer provide mldrag.
5535 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
5536 Remove obsolete aliases.
5537
5538 * comint.el (comint-kill-output): Remove obsolete alias.
5539
5540 * composite.el (decompose-composite-char): Remove obsolete function.
5541 * ps-def.el (decompose-composite-char): Remove unused function.
5542
5543 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
5544
5545 * outline.el (outline-visible): Remove obsolete function.
5546
5547 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
5548 * faces.el (internal-find-face, internal-get-face)
5549 (frame-update-faces, frame-update-face-colors)
5550 (x-frob-font-weight, x-frob-font-slant)
5551 (internal-frob-font-weight, internal-frob-font-slant)
5552 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
5553 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
5554 (x-make-font-bold-italic): Remove functions and aliases, obsolete
5555 since Emacs 21.1.
5556 * emulation/viper-util.el (viper-get-face):
5557 * obsolete/lucid.el (find-face, get-face): Use facep.
5558 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
5559 Remove unused functions.
5560 * vc/ediff-util.el (ediff-submit-report): Doc fix.
5561
5562 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
5563 delete tempfile if interrupted during compilation.
5564
5565 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5566
5567 * net/tls.el (tls-starttls-switches): Give up on using starttls with
5568 gnutls-cli.
5569 (tls-program): Add --insecure to be consistent with the defaults from
5570 openssl s_client. Now all three commands are insecure.
5571
5572 2010-10-01 Eli Zaretskii <eliz@gnu.org>
5573
5574 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
5575 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
5576 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
5577
5578 2010-10-01 Glenn Morris <rgm@gnu.org>
5579
5580 * obsolete/sc.el: Remove file.
5581
5582 * files.el (temporary-file-directory): On darwin, also try
5583 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
5584
5585 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
5586
5587 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
5588 Let's not break compatibility gratuitously, shall we?
5589
5590 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5591
5592 * net/tls.el (tls-starttls-switches): New variable.
5593 (tls-find-starttls-argument): Use it.
5594 (open-tls-stream): Ditto.
5595
5596 * net/netrc.el (netrc-credentials): Return the value of the "default"
5597 entry.
5598 (netrc-machine): Ditto.
5599
5600 2010-09-30 Eli Zaretskii <eliz@gnu.org>
5601
5602 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
5603
5604 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
5605
5606 * server.el (server-start): Don't write pid to the authentication file.
5607 (server-create-tty-frame): Don't send pid.
5608 (server-process-filter): Send pid at the start of every connection.
5609
5610 2010-09-30 Glenn Morris <rgm@gnu.org>
5611
5612 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
5613 (show-all-diary-entries): Remove obsolete function aliases.
5614
5615 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
5616 Remove options, obsolete since 22.1.
5617 (appt-display-format, appt-display-message):
5618 Remove backwards-compatibility code.
5619 (appt-check): No longer check appt-issue-message.
5620 (appt-make-list): No longer autoload it. Doc fix. No longer
5621 activate the package.
5622
5623 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
5624
5625 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
5626 (starttls-negotiate): Just call boot, and let the handshake be
5627 triggered from the read loop.
5628
5629 2010-09-29 Glenn Morris <rgm@gnu.org>
5630
5631 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
5632 not displaying the diary.
5633 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
5634 * calendar/appt.el (appt-check): No longer need to kill diary.
5635
5636 * calendar/diary-lib.el (diary-list-entries): Move the
5637 "Preparing..." message entirely here.
5638 (diary-simple-display, diary-fancy-display): Move "Preparing..."
5639 messages to diary-list-entries.
5640 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
5641 diary-display-function.
5642
5643 * calendar/diary-lib.el (diary-include-other-diary-files):
5644 Trap some recursive includes.
5645
5646 * calendar/appt.el (appt-activate): Check diary file.
5647
5648 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
5649
5650 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
5651 construction.
5652
5653 * calendar/time-date.el: No need to require cl for Emacs 21.
5654
5655 2010-09-28 Glenn Morris <rgm@gnu.org>
5656
5657 * calendar/appt.el (appt-check): Minor simplification.
5658
5659 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
5660
5661 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
5662 citation prefix.
5663
5664 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
5665
5666 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
5667 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
5668
5669 2010-09-27 Kenichi Handa <handa@m17n.org>
5670
5671 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
5672 "ustar" format.
5673
5674 2010-09-27 Kenichi Handa <handa@m17n.org>
5675
5676 * international/mule.el (define-coding-system): Docstring fixed.
5677
5678 * international/mule-diag.el (describe-character-set): Use princ
5679 with proper print-length and print-level instead of insert.
5680
5681 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
5682
5683 * window.el (walk-windows): Doc fix (bug#7105).
5684
5685 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5686
5687 * emacs-lisp/float-sup.el (e): Remove.
5688
5689 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
5690
5691 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
5692 variable.
5693 (starttls-negotiate): Use it.
5694
5695 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5696
5697 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
5698 back.
5699
5700 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
5701
5702 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
5703
5704 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5705
5706 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
5707
5708 * net/netrc.el (netrc-store-data): New function.
5709
5710 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
5711
5712 * net/gnutls.el: GnuTLS glue code to set up a connection.
5713
5714 2010-09-25 Julien Danjou <julien@danjou.info>
5715
5716 * notifications.el: Call dbus-register-signal only if it is bound.
5717
5718 2010-09-25 Glenn Morris <rgm@gnu.org>
5719
5720 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
5721 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
5722 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
5723 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
5724 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
5725 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
5726 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
5727 * eshell/esh-util.el, eshell/esh-var.el:
5728 Remove leading `*' from docs of faces and defcustoms.
5729
5730 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
5731
5732 * eshell/em-ls.el (eshell-ls-archive-regexp):
5733 * eshell/esh-util.el (eshell-tar-regexp):
5734 * ibuffer.el (ibuffer-compressed-file-name-regexp):
5735 * info.el (Info-suffix-list):
5736 * international/mule.el (auto-coding-alist):
5737 * woman.el (woman-file-regexp, woman-file-compression-regexp):
5738 * progmodes/etags.el (tags-compression-info-list):
5739 Support xz compression.
5740
5741 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
5742
5743 * files.el (get-free-disk-space): Don't assume the "df" output
5744 columns line up (Bug#6995).
5745
5746 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
5747
5748 * finder.el (finder-unknown-keywords):
5749 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
5750 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
5751
5752 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
5753
5754 * server.el (server-start): Revert part of 2010-08-08 change. Using
5755 address 127.0.0.1 for local host is now done in Fmake_network_process.
5756
5757 2010-09-24 Glenn Morris <rgm@gnu.org>
5758
5759 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
5760 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
5761 * textmodes/css-mode.el, textmodes/dns-mode.el:
5762 Move autoloaded auto-mode-alist entries to files.el.
5763 * files.el (auto-mode-alist): Move entries here.
5764
5765 2010-09-23 Glenn Morris <rgm@gnu.org>
5766
5767 * isearch.el (isearch-lazy-highlight-cleanup)
5768 (isearch-lazy-highlight-initial-delay)
5769 (isearch-lazy-highlight-interval)
5770 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
5771 * net/net-utils.el (ipconfig-program-options):
5772 Move aliases to options before the associated definitions.
5773
5774 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5775
5776 * newcomment.el (comment-normalize-vars): Better test validity of
5777 comment-end-skip.
5778
5779 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5780
5781 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
5782 (float-e): New name for `e'.
5783 (degrees-to-radians, radians-to-degrees):
5784 * calendar/solar.el (solar-longitude):
5785 * calculator.el (calculator-registers, calculator-funcall):
5786 * textmodes/artist.el (artist-spray-random-points):
5787 * play/bubbles.el (bubbles--initialize-images): Use new names.
5788
5789 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
5790
5791 Update to CEDET 1.0's version of EIEIO.
5792
5793 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
5794 New function.
5795 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
5796 (eieio-default-eval-maybe): Eval val instead of unquoting only.
5797 (class-precedence-list): If class is nil, return nil.
5798 (eieio-generic-call): If class of first input arg is nil, don't
5799 look up static methods, and do check for primary methods.
5800 (initialize-instance): See if the default needs to be evaluated
5801 during the constructor.
5802 (eieio-perform-slot-validation-for-default): Don't do the check
5803 for values that will eventually be evaluated.
5804 (eieio-eval-default-p): New function.
5805 (eieio-default-eval-maybe): Use it.
5806
5807 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
5808
5809 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
5810 method-invocation-order.
5811 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
5812 (eieio-class-precedence-dfs): Compute class precedence list using
5813 dfs algorithm.
5814 (eieio-class-precedence-bfs): Compute class precedence list using
5815 bfs algorithm.
5816 (eieio-class-precedence-c3): Compute class precedence list using
5817 c3 algorithm.
5818 (class-precedence-list): New function.
5819 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
5820 (inconsistent-class-hierarchy): New error symbol.
5821 (call-next-method): Stow the replacement argument list for future
5822 call-next-method invocations.
5823
5824 2010-09-23 Glenn Morris <rgm@gnu.org>
5825
5826 * calendar/appt.el (appt-check): If not displaying the diary,
5827 use (diary 1) to only get the entries we need.
5828 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
5829 that it is in day order. (Bug#7019)
5830
5831 * calendar/appt.el (appt-check): Rather than showing the diary,
5832 just turn off invisible display, and only if needed.
5833
5834 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
5835
5836 2010-09-23 Glenn Morris <rgm@gnu.org>
5837
5838 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
5839 (byte-compile-defvar, byte-compile-cl-warn):
5840 Start warnings with lower-case, like the majority.
5841
5842 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
5843
5844 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
5845
5846 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
5847 * files.el (auto-mode-alist): Move ld-script entries here, further down
5848 the list.
5849
5850 * vc/add-log.el: Don't require timezone when compiling.
5851 (timezone-make-date-sortable): Autoload it.
5852 (change-log-sortable-date-at): Don't require timezone.
5853 Use `ignore-errors'.
5854
5855 * comint.el (comint-use-prompt-regexp-instead-of-fields):
5856 Move alias before definition, so it does not need autoloading.
5857
5858 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
5859 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
5860 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
5861 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
5862 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
5863 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
5864 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
5865 * textmodes/tex-mode.el, textmodes/two-column.el:
5866 Remove leading `*' from docs of defcustoms etc.
5867
5868 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
5869
5870 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
5871
5872 2010-09-22 Dan Christensen <jdc@uwo.ca>
5873
5874 * calendar/time-date.el (date-to-time): Try using parse-time-string
5875 first before using the slower timezone-make-date-arpa-standard.
5876
5877 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
5878
5879 * calendar/time-date.el (format-seconds): Comment fix.
5880
5881 2010-09-22 Glenn Morris <rgm@gnu.org>
5882
5883 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
5884 is not automatically buffer-local.
5885
5886 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
5887
5888 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
5889 (smie-indent-comment): Be more careful with comment-start-skip.
5890 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
5891 (smie-indent-functions): Use them.
5892
5893 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
5894
5895 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
5896
5897 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
5898
5899 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
5900 tool-bar-position. Don't modify frame parameters here.
5901 (menu-bar-options-save): Add tool-bar-position.
5902
5903 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
5904
5905 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5906
5907 * textmodes/reftex-parse.el (reftex-what-macro)
5908 (reftex-context-substring): Let-bind forward-sexp-function to nil
5909 since we don't need/want to treat \begin...\end as a block (bug#7053).
5910
5911 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
5912
5913 * simple.el (blink-matching-open): Use syntax-class.
5914
5915 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
5916 Set invisibility spec for pascal's outline mode.
5917 (pascal-outline-change): Clean up calling convention.
5918 (pascal-show-all, pascal-hide-other-defuns): Update callers.
5919
5920 * progmodes/prolog.el (prolog-smie-forward-token)
5921 (prolog-smie-backward-token): New functions.
5922 (prolog-mode-variables): Use them to parse "!," correctly.
5923 Set up smie-blink-matching for ".".
5924
5925 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
5926 and `end'.
5927 (ispell-region, ispell-process-line): Update users.
5928
5929 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
5930 point-min==1.
5931
5932 * textmodes/ispell.el: Fix commenting convention.
5933 (ispell-parse-output): Simplify, use push.
5934 (ispell-region): Use match-string-no-properties.
5935 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
5936 (ispell-minor-mode): Use define-minor-mode.
5937 (ispell-message): Remove unused var `skip-regexp'.
5938 (ispell-add-per-file-word-list): Use dynamic let-binding.
5939 Try and use the proper comment marker.
5940
5941 * mail/sendmail.el: Fix commenting convention.
5942 (sendmail-send-it): Use line-beginning-position.
5943
5944 * help-fns.el (describe-variable): Add original value, if applicable.
5945
5946 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
5947
5948 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
5949
5950 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
5951
5952 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5953
5954 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
5955 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
5956 (smie-prec2-levels): Use them to better diagnose precedence cycles.
5957 (smie-blink-matching-check): Don't signal a mismatch if car is t.
5958 (smie-blink-matching-open): Rewrite to remove assumptions, so that
5959 something like "." can also be a closer.
5960 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
5961 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
5962 Rename internal functions to use "--". Update callers.
5963
5964 * frame.el (make-frame-names-alist): Don't list frames on other displays.
5965
5966 * fringe.el (fringe-styles): New var.
5967 (fringe-mode, fringe-query-style): Use it.
5968
5969 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
5970
5971 * progmodes/sql.el: Version 2.8
5972 (sql-login-params): Update widget structure; changes still needed.
5973 (sql-product-alist): Add :list-all and :list-table features for
5974 SQLite, Postgres and MySQL products.
5975 (sql-redirect): Handle default value.
5976 (sql-execute, sql-execute-feature): New functions.
5977 (sql-read-table-name): New function.
5978 (sql-list-all, sql-list-table): New functions. User API.
5979 (sql-mode-map, sql-interactive-mode-map): Add key definitions
5980 for above functions.
5981 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
5982 for above functions.
5983 (sql-postgres-login-params): Add user and database defaults.
5984 (sql-buffer-live-p): Bug fix.
5985 (sql-product-history): New variable.
5986 (sql-read-product): New function. Use it.
5987 (sql-set-product, sql-product-interactive): Use it.
5988 (sql-connection-history): New variable.
5989 (sql-read-connection): New function. Use it.
5990 (sql-connect): New function.
5991 (sql-for-each-login): Redesign function interface.
5992 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
5993 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
5994 (sql-comint): Check for program. Existing live buffer.
5995 (sql-comint-postgres): Add port parameter.
5996
5997 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5998
5999 * emacs-lisp/warnings.el: Fix commenting convention.
6000 (display-warning): Use special mode and make the buffer read-only.
6001
6002 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
6003
6004 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
6005 empty string when it follows a repeated or optional pattern.
6006
6007 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
6008
6009 * indent.el (indent-according-to-mode): Apply syntax-propertize.
6010 (indent-region): Use indent-according-to-mode.
6011
6012 2010-09-18 Eli Zaretskii <eliz@gnu.org>
6013
6014 * fringe.el (fringe-mode): Doc fix.
6015
6016 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
6017
6018 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
6019 refreshing the preview buffer.
6020
6021 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
6022
6023 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
6024 (latex-syntax-propertize-rules): New consts; replace
6025 tex-font-lock-syntactic-keywords.
6026 (tex-env-mark, latex-env-before-change): New functions.
6027 (latex-electric-env-pair-mode): New minor mode.
6028 (tex-font-lock-verb): Change arguments; do move point.
6029 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
6030 representation as a form of comment.
6031 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
6032 (doctex-syntax-propertize-rules): New const; replaces
6033 doctex-font-lock-syntactic-keywords.
6034 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
6035
6036 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
6037 (fortran-make-syntax-propertize-function): New function; replaces
6038 fortran-font-lock-syntactic-keywords.
6039 (fortran-mode): Use it.
6040 (fortran-line-length): Use it. Improve interactive spec.
6041
6042 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
6043 (syntax-propertize-rules): Add var-ref case. Fix offset computation
6044 when adding surrounding \(..\).
6045
6046 * progmodes/js.el (js-mode): Fix last change (bug#7054).
6047
6048 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6049
6050 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
6051 Use with-current-buffer.
6052
6053 * isearch.el (isearch-face): Rename from `isearch'.
6054 (isearch-highlight): Use new name.
6055
6056 2010-09-17 Eli Zaretskii <eliz@gnu.org>
6057
6058 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
6059 5, for `half' width fringes. (Bug#6933)
6060
6061 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6062
6063 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
6064 (byte-compile-defvar): "foo/bar" does not lack a prefix.
6065
6066 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
6067
6068 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
6069
6070 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
6071 in calculating new frame position. Add more space between new and
6072 parent on the left (Bug#7048).
6073
6074 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
6075
6076 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
6077 defmacro.
6078
6079 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
6080
6081 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
6082
6083 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
6084 obsolete alias for x-selection-value.
6085
6086 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
6087
6088 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
6089
6090 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
6091 cookie.
6092
6093 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
6094
6095 * net/tramp-compat.el (tramp-compat-with-temp-message)
6096 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
6097 (tramp-compat-process-put): New defuns.
6098
6099 * net/tramp.el (top):
6100 * net/tramp-gvfs.el (top):
6101 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
6102
6103 * net/tramp.el (tramp-progress-reporter-update):
6104 Use `tramp-compat-funcall'.
6105
6106 * net/tramp.el (tramp-process-actions):
6107 * net/tramp-gvfs.el (tramp-handle-vc-registered):
6108 * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
6109 (tramp-get-remote-stat, tramp-get-remote-readlink):
6110 Use `tramp-compat-with-temp-message'.
6111
6112 * net/tramp-sh.el (top): Require 'cl.
6113 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
6114 (tramp-open-connection-setup-interactive-shell):
6115 Use `tramp-compat-process-put'.
6116
6117 2010-09-15 Alan Mackenzie <acm@muc.de>
6118
6119 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
6120 indentation.
6121 (c-forward-<>-arglist-recur): Fix an infinite recursion.
6122
6123 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
6124
6125 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
6126 `lexical' for warnings related to lexical scoping.
6127 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
6128 global vars which don't have a prefix and could hence affect lexical
6129 scoping in unrelated files.
6130
6131 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6132
6133 * net/imap.el: Revert back to version
6134 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
6135 seem problematic.
6136
6137 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
6138
6139 * obsolete/old-whitespace.el (whitespace-unload-function):
6140 Explicitly pass `obarray' to `unintern' to avoid a warning.
6141
6142 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6143
6144 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
6145 Add `when' argument. Update callers.
6146
6147 * subr.el (unintern): Declare the obarray arg mandatory.
6148
6149 2010-09-14 Glenn Morris <rgm@gnu.org>
6150
6151 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
6152 Doc fixes.
6153
6154 * calendar/diary-lib.el (diary-included-files): New variable.
6155 (diary-list-entries): Maybe initialize diary-included-files.
6156 (diary-include-other-diary-files): Append to diary-included-files.
6157 * calendar/appt.el (appt-update-list): Also check the members of
6158 diary-included-files. (Bug#6999)
6159 (appt-check): Doc fix.
6160
6161 2010-09-14 David Reitter <david.reitter@gmail.com>
6162
6163 * simple.el (line-move-visual): Do not truncate goal column to
6164 integer size. (Bug#7020)
6165
6166 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6167
6168 * repeat.el (repeat): Allow repeating when the last event is a click.
6169 Suggested by Drew Adams (bug#6256).
6170
6171 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
6172
6173 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
6174 Replace setting HGRCPATH to "" by some less invasive --config options.
6175
6176 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6177
6178 * font-lock.el (font-lock-beginning-of-syntax-function):
6179 Mark as obsolete.
6180
6181 2010-09-14 Glenn Morris <rgm@gnu.org>
6182
6183 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
6184 and tool-bar modes. (Bug#6211)
6185 (menu-bar-mode): Move setting of standard-value after the
6186 minor-mode definition, otherwise it seems to have no effect.
6187
6188 2010-09-14 Masatake YAMATO <yamato@redhat.com>
6189
6190 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
6191 Fix typo. (Bug#6976)
6192
6193 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6194
6195 * whitespace.el: Allow cleaning up blanks without blank
6196 visualization (Bug#6651). Adjust help window for
6197 whitespace-toggle-options (Bug#6479). Allow to use fill-column
6198 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
6199 (whitespace-style): Add new value 'face. Adjust docstring.
6200 (whitespace-space, whitespace-hspace, whitespace-tab):
6201 Adjust foreground property face.
6202 (whitespace-line-column): Adjust docstring and type declaration.
6203 (whitespace-style-value-list, whitespace-toggle-option-alist)
6204 (whitespace-help-text): Adjust const initialization.
6205 (whitespace-toggle-options, global-whitespace-toggle-options):
6206 Adjust docstring.
6207 (whitespace-display-window, whitespace-interactive-char)
6208 (whitespace-style-face-p, whitespace-color-on): Adjust code.
6209 (whitespace-help-scroll): New fun.
6210
6211 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
6212
6213 * calendar/time-date.el (format-seconds): Comment fix.
6214
6215 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
6216
6217 * progmodes/sql.el: Version 2.7.
6218 (sql-buffer-live-p): Improve detection.
6219 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
6220 (sql-set-sqli-buffer): Use it.
6221 (sql-product-interactive): Run `sql-set-sqli-hook'.
6222 (sql-rename-buffer): Code cleanup.
6223 (sql-redirect, sql-redirect-value): New functions. More to come.
6224
6225 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
6226
6227 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.
6228 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
6229 (TRAMP_SRC): New macro.
6230 ($(lisp)/net/tramp-loaddefs.el): New target.
6231
6232 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
6233
6234 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
6235
6236 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
6237
6238 * net/tramp.el (top): Don't show loading message. Require just
6239 'tramp-compat, everything else is required there.
6240 Use `ignore-errors' where appropriate.
6241 (tramp-inline-compress-start-size, tramp-copy-size-limit)
6242 (tramp-terminal-type, tramp-end-of-output)
6243 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
6244 (tramp-completion-function-alist-ssh)
6245 (tramp-completion-function-alist-telnet)
6246 (tramp-completion-function-alist-su)
6247 (tramp-completion-function-alist-putty, tramp-remote-path)
6248 (tramp-remote-process-environment, tramp-sh-extra-args)
6249 (tramp-actions-before-shell, tramp-uudecode)
6250 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
6251 (tramp-perl-file-attributes)
6252 (tramp-perl-directory-files-and-attributes)
6253 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
6254 (tramp-perl-encode, tramp-perl-decode)
6255 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
6256 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
6257 (tramp-handle-make-symbolic-link, tramp-handle-load)
6258 (tramp-handle-file-name-as-directory)
6259 (tramp-handle-file-name-directory)
6260 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
6261 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
6262 (tramp-do-file-attributes-with-ls)
6263 (tramp-do-file-attributes-with-perl)
6264 (tramp-do-file-attributes-with-stat)
6265 (tramp-handle-set-visited-file-modtime)
6266 (tramp-handle-verify-visited-file-modtime)
6267 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
6268 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
6269 (tramp-handle-file-selinux-context)
6270 (tramp-handle-set-file-selinux-context)
6271 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
6272 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
6273 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
6274 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
6275 (tramp-handle-file-ownership-preserved-p)
6276 (tramp-handle-directory-file-name, tramp-handle-directory-files)
6277 (tramp-handle-directory-files-and-attributes)
6278 (tramp-do-directory-files-and-attributes-with-perl)
6279 (tramp-do-directory-files-and-attributes-with-stat)
6280 (tramp-handle-file-name-all-completions)
6281 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
6282 (tramp-handle-copy-file, tramp-handle-copy-directory)
6283 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
6284 (tramp-do-copy-or-rename-file-via-buffer)
6285 (tramp-do-copy-or-rename-file-directly)
6286 (tramp-do-copy-or-rename-file-out-of-band)
6287 (tramp-handle-make-directory, tramp-handle-delete-directory)
6288 (tramp-handle-delete-file)
6289 (tramp-handle-dired-recursive-delete-directory)
6290 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
6291 (tramp-handle-insert-directory)
6292 (tramp-handle-unhandled-file-name-directory)
6293 (tramp-handle-expand-file-name)
6294 (tramp-handle-substitute-in-file-name)
6295 (tramp-handle-executable-find, tramp-process-sentinel)
6296 (tramp-handle-start-file-process, tramp-handle-process-file)
6297 (tramp-handle-call-process-region, tramp-handle-shell-command)
6298 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
6299 (tramp-handle-insert-file-contents)
6300 (tramp-handle-insert-file-contents-literally)
6301 (tramp-handle-find-backup-file-name)
6302 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
6303 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
6304 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
6305 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
6306 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
6307 (tramp-find-file-exists-command, tramp-open-shell)
6308 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
6309 (tramp-open-connection-setup-interactive-shell)
6310 (tramp-local-coding-commands, tramp-remote-coding-commands)
6311 (tramp-find-inline-encoding, tramp-call-local-coding-command)
6312 (tramp-inline-compress-commands, tramp-find-inline-compress)
6313 (tramp-compute-multi-hops, tramp-maybe-open-connection)
6314 (tramp-send-command, tramp-wait-for-output)
6315 (tramp-send-command-and-check, tramp-barf-unless-okay)
6316 (tramp-send-command-and-read, tramp-mode-string-to-int)
6317 (tramp-convert-file-attributes, tramp-check-cached-permissions)
6318 (tramp-file-mode-from-int, tramp-file-mode-permissions)
6319 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
6320 (tramp-method-out-of-band-p, tramp-local-host-p)
6321 (tramp-get-remote-path, tramp-get-remote-tmpdir)
6322 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
6323 (tramp-get-test-command, tramp-get-test-nt-command)
6324 (tramp-get-file-exists-command, tramp-get-remote-ln)
6325 (tramp-get-remote-perl, tramp-get-remote-stat)
6326 (tramp-get-remote-readlink, tramp-get-remote-trash)
6327 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
6328 (tramp-get-local-uid, tramp-get-local-gid)
6329 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
6330 tramp-sh.el.
6331 (tramp-methods, tramp-default-method-alist)
6332 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
6333 Move initialization to tramp-sh.el.
6334 (tramp-temp-name-prefix): Make it a defconst.
6335 (tramp-dissect-file-name): Don't check anymore for multi-hop
6336 methods.
6337 (tramp-debug-outline-regexp): Add a docstring.
6338 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
6339 (tramp-get-debug-buffer): Use it.
6340
6341 * net/tramp-cache.el (top): Set tramp-autoload cookie for
6342 initialization forms.
6343 (tramp-set-connection-property): Don't protect `tramp-message'
6344 call, it isn't necessary any longer.
6345 (tramp-dump-connection-properties): Use `ignore-errors'.
6346
6347 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
6348 'password-cache and 'auth-source.
6349
6350 * net/tramp-gvfs.el (top):
6351 * net/tramp-smb.el (top): Require 'tramp-sh.
6352
6353 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
6354
6355 * net/tramp-sh.el: New file, derived from tramp.el.
6356 (top): Initialize `tramp-methods', `tramp-default-method-alist',
6357 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
6358 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
6359 Use `ignore-errors' where appropriate.
6360 (tramp-sh-file-name-handler-alist): Rename from
6361 `tramp-file-name-handler-alist'.
6362 (tramp-send-command-and-check): Return t or nil. Remove all
6363 `zerop' checks, where called.
6364 (tramp-handle-set-file-modes)
6365 (tramp-do-copy-or-rename-file-directly)
6366 (tramp-handle-delete-directory, tramp-handle-delete-file)
6367 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
6368 (tramp-sh-file-name-handler, tramp-send-command-and-check)
6369 (tramp-get-remote-ln): Set tramp-autoload cookie.
6370
6371 * net/tramp-fish.el: Remove file.
6372
6373 2010-09-13 Daiki Ueno <ueno@unixuser.org>
6374
6375 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
6376 buffer-file-name to avoid file-locking. (Bug#7026)
6377
6378 2010-09-13 Julien Danjou <julien@danjou.info>
6379
6380 * notifications.el (notifications-notify): Add support for
6381 image-path and sound-name.
6382 (notifications-specification-version): Add this variable.
6383
6384 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6385
6386 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
6387
6388 2010-09-12 Leo <sdl.web@gmail.com>
6389
6390 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
6391 (rcirc-completion-start): New variables.
6392 (rcirc-nick-completions): Rename to rcirc-completions.
6393 (rcirc-nick-completion-start-offset): Delete.
6394 (rcirc-completion-at-point): New function for constructing
6395 completion data for both nicks and irc commands. Add to
6396 completion-at-point-functions in rcirc mode.
6397 (rcirc-complete): Rename from rcirc-nick-complete; use
6398 rcirc-completion-at-point.
6399 (defun-rcirc-command): Update rcirc-client-commands.
6400
6401 2010-09-11 Glenn Morris <rgm@gnu.org>
6402
6403 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
6404 atomically, to avoid parallel build errors. (Bug#4196)
6405
6406 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
6407
6408 * progmodes/sql.el: Version 2.6
6409 (sql-dialect): Synonym for "sql-product".
6410 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
6411 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
6412 Set "sql-buffer" to buffer name not buffer object so multiple sql
6413 interactive buffers work properly. Reverts misguided changes in
6414 earlier work.
6415 (sql-comint): Make sure different buffer name is used if "*SQL*"
6416 buffer is for a different product.
6417 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
6418 login param.
6419 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
6420 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
6421 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
6422 Accept new buffer name or prompt for one.
6423 (sql-port): Default to zero.
6424 (sql-comint-mysql): Handle "sql-port" as a numeric.
6425 (sql-port-history): Delete unused variable.
6426 (sql-get-login): Default "sql-port" to a number.
6427 (sql-product-alist): Correct Postgres prompt and terminator regexp.
6428 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
6429 "sqlite3" executables.
6430 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
6431 (sql-buffer-live-p): New function.
6432 (sql-mode-menu, sql-send-string): Use it.
6433 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
6434 syntax pattern.
6435 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
6436 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
6437
6438 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6439
6440 * net/netrc.el (netrc-credentials): New convenience function.
6441
6442 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6443
6444 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
6445 to replace texinfo-font-lock-syntactic-keywords.
6446 (texinfo-mode): Use it.
6447
6448 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
6449 Use syntax-propertize-function.
6450
6451 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
6452 replace sgml-font-lock-syntactic-keywords.
6453 (sgml-mode): Use it.
6454
6455 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
6456 since we don't use it.
6457
6458 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
6459
6460 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
6461 if available.
6462 (vhdl-fontify-buffer): Adjust.
6463
6464 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
6465 replace tcl-font-lock-syntactic-keywords.
6466 (tcl-mode): Use it.
6467
6468 * progmodes/simula.el (simula-syntax-propertize-function): New var to
6469 replace simula-font-lock-syntactic-keywords.
6470 (simula-mode): Use it.
6471
6472 * progmodes/sh-script.el (sh-st-symbol): Remove.
6473 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
6474 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
6475 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
6476 (sh-font-lock-paren): Set syntax-multiline.
6477 (sh-font-lock-syntactic-keywords): Remove.
6478 (sh-syntax-propertize-function): New function to replace it.
6479 (sh-mode): Use it.
6480
6481 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
6482 Define while compiling.
6483 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
6484 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
6485 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
6486 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
6487 (ruby-here-doc-end-syntax): Only define when
6488 syntax-propertize is not available.
6489 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
6490 New functions.
6491 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
6492 (electric-indent-chars): Silence bytecompiler.
6493 (ruby-mode): Use prog-mode, syntax-propertize-function, and
6494 electric-indent-chars.
6495
6496 * progmodes/python.el (python-syntax-propertize-function): New var to
6497 replace python-font-lock-syntactic-keywords.
6498 (python-mode): Use it.
6499 (python-quote-syntax): Simplify and adjust to new use.
6500
6501 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
6502 replace perl-font-lock-syntactic-keywords.
6503 (perl-syntax-propertize-special-constructs): New fun to replace
6504 perl-font-lock-special-syntactic-constructs.
6505 (perl-font-lock-syntactic-face-function): New fun.
6506 (perl-mode): Use it.
6507
6508 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
6509 to replace octave-font-lock-close-quotes.
6510 (octave-syntax-propertize-function): New function to replace
6511 octave-font-lock-syntactic-keywords.
6512 (octave-mode): Use it.
6513
6514 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
6515 replaces mixal-font-lock-syntactic-keywords.
6516 (mixal-mode): Use it.
6517
6518 * progmodes/make-mode.el (makefile-syntax-propertize-function):
6519 New var; replaces makefile-font-lock-syntactic-keywords.
6520 (makefile-mode): Use it.
6521 (makefile-imake-mode): Adjust.
6522
6523 * progmodes/js.el (js--regexp-literal): Define while compiling.
6524 (js-syntax-propertize-function): New var; replaces
6525 js-font-lock-syntactic-keywords.
6526 (js-mode): Use it.
6527
6528 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
6529 replaces gdb-script-font-lock-syntactic-keywords.
6530 (gdb-script-mode): Use it.
6531
6532 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
6533 (fortran--font-lock-syntactic-keywords): New var.
6534 (fortran-line-length): Update syntax-propertize-function and
6535 fortran--font-lock-syntactic-keywords.
6536
6537 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
6538
6539 * progmodes/cfengine.el (cfengine-mode):
6540 Use syntax-propertize-function.
6541 (cfengine-font-lock-syntactic-keywords): Remove.
6542
6543 * progmodes/autoconf.el (autoconf-mode):
6544 Use syntax-propertize-function.
6545 (autoconf-font-lock-syntactic-keywords): Remove.
6546
6547 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
6548 (ada-after-change-function, ada-initialize-syntax-table-properties)
6549 (ada-handle-syntax-table-properties): Only define when
6550 syntax-propertize is not available.
6551 (ada-mode): Use syntax-propertize-function.
6552
6553 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
6554 (font-lock-fontify-syntactic-keywords-region): Move handling of
6555 font-lock-syntactically-fontified to...
6556 (font-lock-default-fontify-region): ...here.
6557 Let syntax-propertize-function take precedence.
6558 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
6559
6560 * emacs-lisp/syntax.el (syntax-propertize-function)
6561 (syntax-propertize-chunk-size, syntax-propertize--done)
6562 (syntax-propertize-extend-region-functions): New vars.
6563 (syntax-propertize-wholelines, syntax-propertize-multiline)
6564 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
6565 (syntax-propertize): New functions.
6566 (syntax-propertize-rules): New macro.
6567 (syntax-ppss-flush-cache): Set syntax-propertize--done.
6568 (syntax-ppss): Call syntax-propertize.
6569
6570 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
6571
6572 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
6573
6574 * textmodes/ispell.el (ispell-init-process): Improve comments.
6575 XEmacs compatibility changes regarding (add-hook) 'local option
6576 and (set-process-query-on-exit-flag).
6577
6578 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
6579
6580 * net/tramp-cache.el (tramp-parse-connection-properties):
6581 Set tramp-autoload cookie.
6582
6583 2010-09-09 Glenn Morris <rgm@gnu.org>
6584
6585 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
6586 (imagemagick-register-types): Doc fix.
6587
6588 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
6589
6590 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
6591
6592 * progmodes/js.el (require): Require is already "eval-and-compile".
6593 (js--re-search-forward): Avoid `eval'. Preserve the error data.
6594 (js--re-search-backward): Use js--re-search-forward.
6595
6596 * progmodes/fortran.el (fortran-line-length): Don't recompute
6597 syntactic keywords redundantly a second time.
6598
6599 * progmodes/ada-mode.el: Replace "(set '" with setq.
6600 (ada-mode): Simplify.
6601 (ada-create-case-exception, ada-adjust-case-interactive)
6602 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
6603 (ada-search-ignore-string-comment, ada-move-to-start)
6604 (ada-move-to-end): Use with-syntax-table.
6605
6606 * font-lock.el (save-buffer-state): Remove `varlist' arg.
6607 (font-lock-unfontify-region, font-lock-default-fontify-region):
6608 Update usage correspondingly.
6609 (font-lock-fontify-syntactic-keywords-region):
6610 Set parse-sexp-lookup-properties buffer-locally here.
6611 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
6612
6613 * simple.el (blink-matching-open): Don't burp if we can't find a match.
6614
6615 2010-09-08 Glenn Morris <rgm@gnu.org>
6616
6617 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
6618 Error if not compiled with -DBYTE_CODE_METER.
6619
6620 * emacs-lisp/bytecomp.el (byte-recompile-directory):
6621 Ignore dir-locals-file.
6622
6623 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
6624
6625 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6626 Not a const.
6627 (compilation-error-regexp-alist-alist): Rule out ": " in file names
6628 for the `gnu' messages.
6629 (compilation-set-skip-threshold): New command.
6630 (compilation-start): Use \' rather than $.
6631 (compilation-forget-errors): Use clrhash.
6632
6633 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
6634
6635 * textmodes/ispell.el (ispell-valid-dictionary-list):
6636 Simplify logic.
6637
6638 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
6639
6640 Migrate to Tramp 2.2. Rearrange load dependencies.
6641 (Bug#1529, Bug#5448, Bug#5705)
6642
6643 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
6644 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
6645 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
6646
6647 * net/tramp.el (top): Remove all other tramp-* loads except
6648 tramp-compat.el. Remove all changes to tramp-unload-hook for
6649 other tramp-* packages. Rearrange defun order. Change calls of
6650 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
6651 `tramp-compat-octal-to-decimal' to new function names.
6652 (tramp-terminal-type, tramp-initial-end-of-output)
6653 (tramp-methods, tramp-foreign-file-name-handler-alist)
6654 (tramp-tramp-file-p, tramp-completion-mode-p)
6655 (tramp-send-command-and-check, tramp-get-remote-path)
6656 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
6657 (tramp-shell-quote-argument): Set tramp-autoload cookie.
6658 (with-file-property, with-connection-property): Move to
6659 tramp-cache.el.
6660 (tramp-local-call-process, tramp-decimal-to-octal)
6661 (tramp-octal-to-decimal): Move to tramp-compat.el.
6662 (tramp-handle-shell-command): Do not require 'shell.
6663 (tramp-compute-multi-hops): No special handling for tramp-gw-*
6664 symbols.
6665 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
6666
6667 * net/tramp-cache.el (top): Require 'tramp. Add to
6668 `tramp-unload-hook'.
6669 (tramp-cache-data, tramp-get-file-property)
6670 (tramp-set-file-property, tramp-flush-file-property)
6671 (tramp-flush-directory-property, tramp-get-connection-property)
6672 (tramp-set-connection-property, tramp-flush-connection-property)
6673 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
6674 cookie.
6675 (with-file-property, with-connection-property): New defuns, moved
6676 from tramp.el.
6677 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
6678 macro.
6679
6680 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
6681 (tramp-version): Set tramp-autoload cookie.
6682
6683 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
6684 changes to tramp-unload-hook for other tramp-* packages. Add to
6685 `tramp-unload-hook'.
6686 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
6687 (tramp-compat-call-process): New defuns, moved from tramp.el.
6688
6689 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
6690 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
6691 Add to `tramp-unload-hook'. Change call of
6692 `tramp-compat-decimal-to-octal' to new function name.
6693 (tramp-fish-method): Make it a defconst.
6694 (tramp-fish-file-name-p): Make it a defsubst.
6695 (tramp-fish-method, tramp-fish-file-name-handler)
6696 (tramp-fish-file-name-p): Set tramp-autoload cookie.
6697
6698 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
6699 `tramp-foreign-file-name-handler-alist'. Add to
6700 `tramp-unload-hook'.
6701 (tramp-ftp-method): Make it a defconst.
6702 (tramp-ftp-file-name-p): Make it a defsubst.
6703 (tramp-ftp-method, tramp-ftp-file-name-handler)
6704 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
6705
6706 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
6707 `tramp-foreign-file-name-handler-alist'. Add to
6708 `tramp-unload-hook'. Change checks, whether package can be
6709 loaded.
6710 (tramp-gvfs-file-name-p): Make it a defsubst.
6711 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
6712 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
6713 (tramp-gvfs-handle-file-directory-p): New defun.
6714 (tramp-gvfs-file-name-handler-alist): Use it.
6715
6716 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
6717 `tramp-foreign-file-name-handler-alist'. Add to
6718 `tramp-unload-hook'.
6719 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
6720 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
6721 defconst.
6722 (tramp-gw-tunnel-method, tramp-gw-socks-method)
6723 (tramp-gw-open-connection): Set tramp-autoload cookie.
6724
6725 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
6726 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
6727 Add to `tramp-unload-hook'. Change checks, whether package can be
6728 loaded.
6729 (tramp-imap-file-name-p): Make it a defsubst.
6730 (tramp-imap-method, tramp-imaps-method)
6731 (tramp-imap-file-name-handler)
6732 (tramp-imap-file-name-p): Set tramp-autoload cookie.
6733
6734 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
6735 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
6736 Add to `tramp-unload-hook'. Change checks, whether package can be
6737 loaded. Change call of `tramp-compat-decimal-to-octal' to new
6738 function name.
6739 (tramp-smb-tunnel-method): Make it a defconst.
6740 (tramp-smb-file-name-p): Make it a defsubst.
6741 (tramp-smb-method, tramp-smb-file-name-handler)
6742 (tramp-smb-file-name-p): Set tramp-autoload cookie.
6743
6744 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
6745 (tramp-uuencode-region): Set tramp-autoload cookie.
6746
6747 * net/trampver.el (top) Add to `tramp-unload-hook'.
6748 (tramp-version, tramp-bug-report-address): Set tramp-autoload
6749 cookie. Update release number.
6750
6751 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
6752
6753 * textmodes/ispell.el (ispell-start-process): Make sure original
6754 arg list is properly initialized (Bug#6993, Bug#6994).
6755
6756 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
6757
6758 * files.el (directory-abbrev-alist): Use \` as default regexp.
6759
6760 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
6761 chars like - or ] (bug#6984).
6762 (rx-any-condense-range): Explode 2-char ranges.
6763
6764 2010-09-06 Glenn Morris <rgm@gnu.org>
6765
6766 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
6767
6768 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6769
6770 * textmodes/bibtex.el:
6771 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
6772
6773 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6774
6775 * net/imap.el (imap-message-map): Remove optional buffer parameter,
6776 since no callers use it.
6777 (imap-message-get): Ditto.
6778 (imap-message-put): Ditto.
6779 (imap-mailbox-map): Ditto.
6780 (imap-mailbox-put): Ditto.
6781 (imap-mailbox-get): Ditto.
6782 (imap-mailbox-get): Revert last change for this function.
6783
6784 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6785
6786 * net/imap.el (imap-fetch-safe): Remove function, and alter all
6787 callers to use `imap-fetch' instead. According to the comments, this
6788 should be safe, since all other IMAP clients use the 1:* syntax.
6789 (imap-enable-exchange-bug-workaround): Remove.
6790 (imap-debug): Remove -- doesn't seem very useful.
6791
6792 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6793
6794 * net/imap.el (imap-log): New convenience function used throughout
6795 instead of repeating the same code all over the place.
6796
6797 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
6798
6799 * mouse.el (mouse-save-then-kill): Save region to kill-ring
6800 when mouse-drag-copy-region is non-nil (Bug#6956).
6801
6802 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
6803
6804 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
6805 Improve regexps (Bug#6987).
6806 (dired-sort-toggle): Search more robustly for -t flag.
6807
6808 * files.el (get-free-disk-space): Search more robustly for
6809 "available" column. Suggested by Ehud Karni
6810 <ehud@unix.mvs.co.il>.
6811
6812 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
6813
6814 * international/uni-bidi.el:
6815 * international/uni-category.el:
6816 * international/uni-combining.el:
6817 * international/uni-decimal.el:
6818 * international/uni-mirrored.el:
6819 * international/uni-name.el: Regenerate.
6820
6821 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6822
6823 * electric.el (electric-indent-post-self-insert-function):
6824 Don't reindent with a sloppy indentation function.
6825
6826 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
6827 border case in change-log-mode.
6828
6829 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
6830
6831 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6832 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
6833 Recognize leading tab in gcc-include regexp. Ignore names with
6834 leading "from" or "in" in gnu regexp (Bug#6937).
6835
6836 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6837
6838 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
6839 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
6840 (ispell-start-process): Avoid setq and simplify logic.
6841 (ispell-init-process): Setup kill-buffer-hook locally when needed.
6842 (kill-buffer-hook): Don't use it globally with code that uses
6843 expand-file-name since that may call kill-buffer via
6844 code_conversion_restore.
6845
6846 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
6847
6848 * emacs-lisp/package.el (package-directory-list): Only call
6849 file-name-nondirectory on a string.
6850
6851 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
6852
6853 * emacs-lisp/package.el (package--download-one-archive):
6854 Ensure that archive-contents is valid before saving it.
6855 (package-activate-1, package-mark-obsolete, define-package)
6856 (package-compute-transaction, package-list-maybe-add): Use push.
6857
6858 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
6859
6860 Use SMIE's blink-paren for octave-mode.
6861 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
6862 Backslashes do not escape single-quotes, single-quotes do.
6863 (octave-block-else-regexp, octave-block-end-regexp)
6864 (octave-block-match-alist): Remove.
6865 (octave-smie-bnf-table): New var, with old content.
6866 (octave-smie-op-levels): Use it.
6867 (octave-smie-closer-alist): New var.
6868 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
6869 (octave-blink-matching-block-open): Remove.
6870 (octave-reindent-then-newline-and-indent, octave-electric-semi)
6871 (octave-electric-space): Let self-insert-command run expand-abbrev and
6872 blink parens.
6873
6874 * electric.el (electricity): New group.
6875 (electric-indent-chars): New var.
6876 (electric-indent-post-self-insert-function): New fun.
6877 (electric-indent-mode): New minor mode.
6878 (electric-pair-skip-self): New custom.
6879 (electric-pair-post-self-insert-function): New function.
6880 (electric-pair-mode): New minor mode.
6881
6882 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
6883 calcAlg-blink-matching-open.
6884 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
6885 (calc-do-alg-entry): Only touch the part of the keymap that varies.
6886 Use the new blink-matching-check-function.
6887
6888 Provide blink-matching support to SMIE.
6889 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
6890 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
6891 (smie-blink-matching-check, smie-blink-matching-open): New functions.
6892
6893 * simple.el (newline): Fix last change to properly remove itself from
6894 the hook.
6895
6896 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
6897
6898 * simple.el (newline): Eliminate optimization.
6899 Use post-self-insert-hook to set hard-newline and things before
6900 running post-self-insert-hook.
6901 (blink-matching-check-mismatch): New function.
6902 (blink-matching-check-function): New variable.
6903 (blink-matching-open): Use them.
6904 Skip back forward over prefix chars skipped by forward-sexp.
6905 Don't check if the parens are backslash escaped.
6906 (blink-paren-post-self-insert-function): Check backslash escaping here.
6907
6908 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
6909
6910 * emacs-lisp/package.el (package-menu-mode-map):
6911 Change package-menu-revert bindings to revert-buffer.
6912 (package-menu-mode): Set revert-buffer-function.
6913 (package-menu-revert): Doc fix.
6914
6915 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
6916
6917 * textmodes/ispell.el (ispell-init-process): Use "~/" as
6918 `default-directory' unless using Ispell per-directory personal
6919 dictionaries and not in a mini-buffer under XEmacs.
6920 (kill-buffer-hook): Do not kill ispell process on exit when
6921 `ispell-process-directory' is "~/". (Bug#6143)
6922
6923 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
6924
6925 * simple.el (kill-new): Call interprogram-cut-function with only
6926 one argument.
6927
6928 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
6929 Remove cut buffer from error message.
6930
6931 * term/x-win.el (x-select-text):
6932 * term/pc-win.el (x-selection-value):
6933 * term/ns-win.el (x-selection-value):
6934 * eshell/em-term.el:
6935 * w32-fns.el (x-get-selection-value):
6936 * mouse-sel.el (mouse-sel-set-selection-function):
6937 * frame.el (display-selections-p): Remove cut-buffer in documentation.
6938
6939 * term/x-win.el: Update documentation for x-last-selected-text-*.
6940 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
6941 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
6942 (x-select-text): Remove argument PUSH, update documentation.
6943 Remove cut-buffer code.
6944 (x-selection-value-internal): Was previously x-selection-value.
6945 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
6946 Update documentation, remove cut-buffer code.
6947 Call x-selection-value-internal.
6948 (x-clipboard-yank): Call x-selection-value-internal.
6949 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
6950
6951 * term/pc-win.el (x-last-selected-text):
6952 x-cut-buffer-or-selection-value renamed to x-selection-value
6953 (x-select-text): Remove argument PUSH, update documentation.
6954
6955 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
6956 x-cut-buffer-or-selection-value renamed to x-selection-value
6957 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
6958 (x-select-text): Remove argument PUSH, update documentation.
6959
6960 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
6961
6962 * w32-fns.el (x-last-selected-text):
6963 x-cut-buffer-or-selection-value renamed to x-selection-value.
6964 (x-cut-buffer-max): Remove.
6965 (x-select-text): Remove argument PUSH, update documentation.
6966
6967 * simple.el (interprogram-cut-function): Remove mention of PUSH.
6968
6969 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
6970
6971 * mouse-sel.el (mouse-sel-get-selection-function):
6972 x-cut-buffer-or-selection-value renamed to x-selection-value.
6973 (x-select-text): Remove optional push.
6974
6975 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
6976
6977 * simple.el (blink-paren-function): Move from C to here.
6978 (blink-paren-post-self-insert-function): New function.
6979 (post-self-insert-hook): Use it.
6980
6981 * emacs-lisp/pcase.el (pcase-split-memq):
6982 Fix overenthusiastic optimisation.
6983 (pcase-u1): Handle the case of a lambda pred.
6984
6985 2010-08-31 Kenichi Handa <handa@m17n.org>
6986
6987 * international/mule-cmds.el (standard-display-european-internal):
6988 Setup standard-display-table for 8-bit characters by storing 8-bit
6989 characters in the element vector.
6990
6991 * disp-table.el (standard-display-8bit):
6992 Setup standard-display-table for 8-bit characters by storing 8-bit
6993 characters in the element vector.
6994 (standard-display-european): Likewise.
6995
6996 2010-08-31 Masatake YAMATO <yamato@redhat.com>
6997
6998 * textmodes/nroff-mode.el (nroff-view): New command.
6999 (nroff-mode-map): Bind it to C-c C-c.
7000
7001 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
7002
7003 * emacs-lisp/smie.el (smie-down-list): New command.
7004
7005 Remove old indentation and navigation code on octave-mode.
7006 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
7007 smie-down-list rather than add a binding for octave-down-block.
7008 (octave-mark-block, octave-blink-matching-block-open):
7009 Rely on forward-sexp-function.
7010 (octave-fill-paragraph): Don't narrow, so you can use
7011 indent-according-to-mode.
7012 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
7013 (octave-in-block-p, octave-re-search-forward-kw)
7014 (octave-re-search-backward-kw, octave-indent-calculate)
7015 (octave-end-as-array-index-p, octave-block-end-offset)
7016 (octave-scan-blocks, octave-forward-block, octave-backward-block)
7017 (octave-down-block, octave-backward-up-block, octave-up-block)
7018 (octave-before-magic-comment-p, octave-indent-line): Remove.
7019
7020 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
7021
7022 * emacs-lisp/package.el (package--read-archive-file): Just use
7023 `read', to avoid copying an additional string.
7024 (package-menu-mode): Set header-line-format here.
7025 (package-menu-refresh, package-menu-revert): Signal an error if
7026 not in the Package Menu.
7027 (package-menu-package-list): New var.
7028 (package--generate-package-list): Operate on the current buffer;
7029 don't assume that it is *Packages*, since the user may rename it.
7030 Allow persistent package listings and sort keys using
7031 package-menu-package-list and package-menu-package-sort-key.
7032 (package-menu--version-predicate): Fix version calculation.
7033 (package-menu-sort-by-column): Don't select the window.
7034 (package--list-packages): Create the *Packages* buffer.
7035 Set package-menu-package-list-key.
7036 (list-packages): Sorting by status is now the default.
7037 (package-buffer-info): Use match-string-no-properties.
7038 (define-package): Add a &rest argument for future proofing, but
7039 don't use it yet.
7040 (package-install-from-buffer, package-install-buffer-internal):
7041 Merge into a single function, package-install-from-buffer.
7042 (package-install-file): Change caller.
7043
7044 * finder.el: Load finder-inf using `require'.
7045 (finder-list-matches): Sorting by status is now the default.
7046 (finder-compile-keywords): Simpify printing.
7047
7048 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7049
7050 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
7051 (octave-mode-map): Remove special bindings for forward/backward-block
7052 and octave-backward-up-block. Use smie-close-block.
7053 (octave-continuation-marker-regexp): New var.
7054 (octave-continuation-regexp): Use it.
7055 (octave-operator-table, octave-smie-op-levels)
7056 (octave-operator-regexp, octave-smie-indent-rules): New vars.
7057 (octave-smie-backward-token, octave-smie-forward-token): New funs.
7058 (octave-mode): Use SMIE.
7059 (octave-close-block): Delete.
7060
7061 2010-08-30 Eli Zaretskii <eliz@gnu.org>
7062
7063 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
7064 CLIPBOARD, not in PRIMARY. (Bug#6944)
7065
7066 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7067
7068 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
7069 a list of parents.
7070 (smie-indent-column): Allow indirection through variables.
7071
7072 * composite.el (save-buffer-state): Delete, unused.
7073 * font-lock.el (save-buffer-state): Use with-silent-modifications.
7074 (font-lock-default-fontify-region): Use with-syntax-table.
7075 * jit-lock.el (with-buffer-unmodified): Remove.
7076 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
7077
7078 Use `declare' in defmacros.
7079 * window.el (save-selected-window):
7080 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
7081 * progmodes/python.el (def-python-skeleton):
7082 * net/dbus.el (dbus-ignore-errors):
7083 * jka-cmpr-hook.el (with-auto-compression-mode):
7084 * international/mule.el (with-category-table):
7085 * emacs-lisp/timer.el (with-timeout):
7086 * emacs-lisp/lisp-mnt.el (lm-with-file):
7087 * emacs-lisp/eieio.el (with-slots):
7088 * emacs-lisp/easymenu.el (easy-menu-define):
7089 * emacs-lisp/debug.el (debugger-env-macro):
7090 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
7091 (Multiple-value-call, Multiple-value-prog1):
7092 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
7093 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
7094 edebug rule to definition.
7095 * emacs-lisp/lisp-mode.el (save-selected-window)
7096 (with-current-buffer, combine-after-change-calls)
7097 (with-output-to-string, with-temp-file, with-temp-buffer)
7098 (with-temp-message, with-syntax-table, read-if, eval-after-load)
7099 (dolist, dotimes, when, unless):
7100 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
7101
7102 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
7103
7104 * finder.el: Require `package'.
7105 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
7106 (finder-package-info): Var deleted.
7107 (finder-keywords-hash, finder--builtins-alist): New vars.
7108 (finder-compile-keywords): Compute package--builtins and
7109 finder-keywords-hash instead of finder-keywords-hash, respecting
7110 the "Package" header.
7111 (finder-unknown-keywords, finder-list-matches):
7112 Use finder-keywords-hash and package--list-packages.
7113 (finder-mode): Don't set font-lock-defaults.
7114 (finder-exit): We don't use "*Finder-package*" and "*Finder
7115 Category*" buffers anymore.
7116
7117 * emacs-lisp/package.el (package--builtins-base): Var deleted.
7118 (package--builtins): Set default value to nil.
7119 (package-initialize): Load precomputed value of package--builtins
7120 from finder-inf.el.
7121 (package-alist, package-compute-transaction)
7122 (package-download-transaction): Improve docstring.
7123 (package-read-all-archive-contents): Do not change
7124 package--builtins here.
7125 (list-packages): Make package-list-packages an alias for this.
7126 Sort by status by default.
7127 (package--list-packages): Add optional PACKAGES arg.
7128 (describe-package-1): Use font-lock-face property. For built-in
7129 packages, insert file commentary.
7130 (package--generate-package-list): Rename from
7131 package-list-packages-internal; all callers changed. Add optional
7132 PACKAGES arg. Add alphabetical sort fallbacks.
7133 (package-menu--version-predicate, package-menu--status-predicate)
7134 (package-menu--description-predicate)
7135 (package-menu--name-predicate): New functions.
7136
7137 * info.el (Info-finder-find-node): Search package-alist instead of
7138 finder-package-info.
7139
7140 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
7141
7142 * subr.el (version-regexp-alist): Don't use "a" and "b" for
7143 "alpha" and "beta".
7144 (version-to-list): Handle versions like "10.3d".
7145
7146 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7147
7148 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
7149 (macroexp-accumulate): Use `declare'.
7150
7151 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7152
7153 * whitespace.el (whitespace-style): Adjust type declaration.
7154
7155 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
7156
7157 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
7158 empty argument to gvfs-copy.
7159
7160 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
7161
7162 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
7163 handle new TRASH arg of `delete-file'.
7164
7165 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
7166
7167 * net/tramp.el (tramp-handle-insert-directory): Don't use
7168 `forward-word', its default syntax could be changed.
7169
7170 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
7171 Michael Albinus <michael.albinus@gmx.de>
7172
7173 Implement compression for inline methods.
7174
7175 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
7176 (tramp-copy-size-limit): Allow also nil.
7177 (tramp-inline-compress-commands): New defconst.
7178 (tramp-find-inline-compress, tramp-get-inline-compress)
7179 (tramp-get-inline-coding): New defuns.
7180 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
7181 replaced by `tramp-get-inline-coding'.
7182 (tramp-handle-file-local-copy, tramp-handle-write-region)
7183 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
7184
7185 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
7186
7187 Detect ssh 'ControlMaster' argument automatically in some cases.
7188
7189 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
7190 (tramp-default-method): Use it.
7191
7192 2010-08-26 Karel Klíč <kklic@redhat.com>
7193
7194 * net/tramp.el (tramp-file-name-for-operation):
7195 Add file-selinux-context.
7196
7197 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
7198
7199 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
7200
7201 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
7202
7203 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
7204 (Bug#6907).
7205
7206 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
7207
7208 * progmodes/js.el: Make indentation more customizable (Bug#6914).
7209 (js-paren-indent-offset, js-square-indent-offset)
7210 (js-curly-indent-offset): New options.
7211 (js--proper-indentation): Use them.
7212
7213 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
7214
7215 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
7216 instead of inspecting font-lock properties (Bug#6916).
7217
7218 2010-08-26 David Reitter <david.reitter@gmail.com>
7219
7220 * server.el (server-visit-files): Run pre-command-hook and
7221 post-command-hook for each buffer while it is current (Bug#6910).
7222 (server-execute): Do not run hooks here.
7223
7224 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
7225
7226 Sync with Tramp 2.1.19.
7227
7228 * net/tramp-cmds.el (tramp-cleanup-all-connections)
7229 (tramp-reporter-dump-variable, tramp-load-report-modules)
7230 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
7231 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
7232
7233 * net/tramp-compat.el (top): Do not autoload
7234 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
7235 only when `start-file-process' is not bound.
7236 (byte-compile-not-obsolete-vars): Define if not bound.
7237 (tramp-compat-funcall): New defmacro.
7238 (tramp-compat-line-beginning-position)
7239 (tramp-compat-line-end-position)
7240 (tramp-compat-temporary-file-directory)
7241 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
7242 (tramp-compat-copy-file, tramp-compat-copy-directory)
7243 (tramp-compat-delete-file, tramp-compat-delete-directory)
7244 (tramp-compat-number-sequence, tramp-compat-process-running-p):
7245 Use it.
7246 (tramp-advice-file-expand-wildcards): Do not use
7247 `tramp-handle-file-remote-p'.
7248 (tramp-compat-make-temp-file): Simplify fallback implementation.
7249 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
7250 (tramp-compat-copy-tree): Remove function.
7251 (tramp-compat-delete-file): New defun.
7252 (tramp-compat-delete-directory): Provide implementation for older
7253 Emacsen.
7254 (tramp-compat-file-attributes): Handle only
7255 `wrong-number-of-arguments' error.
7256
7257 * net/tramp-fish.el (tramp-fish-handle-copy-file):
7258 Add PRESERVE_SELINUX_CONTEXT.
7259 (tramp-fish-handle-delete-file): Add TRASH arg.
7260 (tramp-fish-handle-directory-files-and-attributes):
7261 Do not use `tramp-fish-handle-file-attributes.
7262 (tramp-fish-handle-file-local-copy)
7263 (tramp-fish-handle-insert-file-contents)
7264 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
7265
7266 * net/tramp-gvfs.el (top): Require url-util.
7267 (tramp-gvfs-mount-point): Remove.
7268 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
7269 and `set-file-selinux-context'.
7270 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
7271 (tramp-gvfs-handle-file-selinux-context)
7272 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
7273 (with-tramp-dbus-call-method): Format trace message.
7274 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
7275 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
7276 Implement backup call, when operation on local files fails.
7277 Use progress reporter. Flush properties of changed files.
7278 (tramp-gvfs-handle-delete-file): Add TRASH arg.
7279 Use `tramp-compat-delete-file'.
7280 (tramp-gvfs-handle-expand-file-name): Expand "~/".
7281 (tramp-gvfs-handle-make-directory): Make more traces.
7282 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
7283 (tramp-gvfs-url-file-name): Hexify file name in url.
7284 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
7285 into account for the resulting file name.
7286 (tramp-gvfs-handler-askquestion): Preserve current message, in
7287 order to let progress reporter continue afterwards. (Bug#6257)
7288 Return dummy mountpoint, when the answer is "no".
7289 See `tramp-gvfs-maybe-open-connection'.
7290 (tramp-gvfs-handler-mounted-unmounted)
7291 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
7292 attribute "default_location". Set "prefix" property.
7293 Handle default-location.
7294 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
7295 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
7296 exists. Raise an error, if not (due to a corresponding answer
7297 "no" in interactive questions, for example).
7298 Use `tramp-compat-funcall'.
7299
7300 * net/tramp-imap.el (top): Autoload `epg-make-context'.
7301 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
7302 (tramp-imap-do-copy-or-rename-file)
7303 (tramp-imap-handle-insert-file-contents)
7304 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
7305 (tramp-imap-handle-delete-file): Add TRASH arg.
7306
7307 * net/tramp-smb.el (tramp-smb-handle-copy-file):
7308 Add PRESERVE-SELINUX-CONTEXT.
7309 (tramp-smb-handle-copy-file)
7310 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
7311 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
7312 Use `with-progress-reporter'.
7313 (tramp-smb-handle-delete-file): Add TRASH arg.
7314
7315 * net/tramp.el (tramp-methods): Move hostname to the end in all
7316 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
7317 appropriate.
7318 (tramp-verbose): Describe verbose level 9.
7319 (tramp-completion-function-alist)
7320 (tramp-file-name-regexp, tramp-chunksize)
7321 (tramp-local-coding-commands, tramp-remote-coding-commands)
7322 (with-connection-property, tramp-completion-mode-p)
7323 (tramp-action-process-alive, tramp-action-out-of-band)
7324 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
7325 (tramp-exists-file-name-handler): Fix docstring.
7326 (tramp-remote-process-environment): Use `format' instead of
7327 `concat'. Protect version string by apostroph.
7328 (tramp-shell-prompt-pattern): Do not use a shy group in case of
7329 XEmacs.
7330 (tramp-file-name-regexp-unified)
7331 (tramp-completion-file-name-regexp-unified): On W32 systems, do
7332 not regard the volume letter as remote filename. (Bug#5447)
7333 (tramp-perl-file-attributes)
7334 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
7335 (tramp-vc-registered-read-file-names): Read input as
7336 here-document, otherwise the command could exceed maximum length
7337 of command line.
7338 (tramp-file-name-handler-alist): Add `file-selinux-context' and
7339 `set-file-selinux-context'.
7340 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
7341 backtrace functions.
7342 (tramp-error-with-buffer): Don't show the connection buffer when
7343 we are in completion mode.
7344 (tramp-progress-reporter-update, tramp-remote-selinux-p)
7345 (tramp-handle-file-selinux-context)
7346 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
7347 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
7348 New defuns.
7349 (with-progress-reporter): New defmacro.
7350 (tramp-debug-outline-regexp): New defconst.
7351 (top, tramp-rfn-eshadow-setup-minibuffer)
7352 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
7353 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
7354 (tramp-completion-mode-p, tramp-check-for-regexp)
7355 (tramp-open-connection-setup-interactive-shell)
7356 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
7357 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
7358 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
7359 Use `tramp-compat-funcall'.
7360 (tramp-handle-make-symbolic-link): Flush file properties.
7361 (tramp-handle-load, tramp-handle-file-local-copy)
7362 (tramp-handle-insert-file-contents, tramp-handle-write-region)
7363 (tramp-handle-vc-registered, tramp-maybe-send-script)
7364 (tramp-find-shell): Use `with-progress-reporter'.
7365 (tramp-do-file-attributes-with-stat): Add space in format string,
7366 in order to work around a bug in pdksh. Reported by Gilles Pion
7367 <gpion@lfdj.com>.
7368 (tramp-handle-verify-visited-file-modtime): Do not send a command
7369 when the connection is not established.
7370 (tramp-handle-set-file-times): Simplify the check for utc.
7371 (tramp-handle-directory-files-and-attributes)
7372 (tramp-get-remote-path): Use `copy-tree'.
7373 (tramp-completion-handle-file-name-all-completions): Ensure, that
7374 non remote files are still checked. Oops.
7375 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
7376 Handle PRESERVE-SELINUX-CONTEXT.
7377 (tramp-do-copy-or-rename-file): Add progress reporter.
7378 (tramp-do-copy-or-rename-file-directly): Do not use
7379 `tramp-handle-file-remote-p'.
7380 (tramp-do-copy-or-rename-file-out-of-band):
7381 Use `tramp-compat-delete-directory'.
7382 (tramp-do-copy-or-rename-file-out-of-band)
7383 (tramp-compute-multi-hops, tramp-maybe-open-connection):
7384 Use `format-spec-make'.
7385 (tramp-handle-delete-file): Add TRASH arg.
7386 (tramp-handle-dired-uncache): Flush directory cache, not only file
7387 cache.
7388 (tramp-handle-expand-file-name)
7389 (tramp-completion-handle-file-name-all-completions)
7390 (tramp-completion-handle-file-name-completion):
7391 Use `tramp-connectable-p'.
7392 (tramp-handle-start-file-process): Set connection property "vec".
7393 Use it, in order to invalidate file caches. Check only for
7394 `remote-tty' process property.
7395 Implement tty setting. (Bug#4604, Bug#6360)
7396 (tramp-file-name-for-operation): Add `call-process-region' and
7397 `set-file-selinux-context'.
7398 (tramp-find-foreign-file-name-handler)
7399 (tramp-advice-make-auto-save-file-name)
7400 (tramp-set-auto-save-file-modes): Remove superfluous check for
7401 `stringp'. This is done inside `tramp-tramp-file-p'.
7402 (tramp-file-name-handler): Trace 'quit. Catch the error for some
7403 operations when we are in completion mode. This gives the user
7404 the chance to correct the file name in the minibuffer.
7405 (tramp-completion-mode-p): Use `non-essential'.
7406 (tramp-handle-file-name-all-completions): Backward/ XEmacs
7407 compatibility: Use `completion-ignore-case' if
7408 `read-file-name-completion-ignore-case' does not exist.
7409 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
7410 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7411 `tramp-open-shell'.
7412 (tramp-action-password): Hide password prompt before next run.
7413 (tramp-process-actions): Widen connection buffer for the trace.
7414 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
7415 process property. Trace stty settings if `tramp-verbose' >= 9.
7416 Apply workaround for IRIX64 bug. Move argument of last
7417 `tramp-send-command' where it belongs to.
7418 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
7419 front of `login-args'.
7420 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
7421 on "/dev/null" instead of "/".
7422 (tramp-get-ls-command-with-dired): Make test for "--dired"
7423 stronger.
7424 (tramp-set-auto-save-file-modes): Adapt version check.
7425 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
7426 (tramp-handle-process-file): Call the program in a subshell, in
7427 order to preserve working directory.
7428 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
7429 `tramp-remote-sh' from `tramp-methods'.
7430 (tramp-get-ls-command): Make test for "--color=never" stronger.
7431 (tramp-check-for-regexp): Use (forward-line 1).
7432
7433 * net/trampver.el: Update release number.
7434
7435 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
7436
7437 * help.el (help-map): Bind `C-h P' to describe-package.
7438
7439 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
7440
7441 * emacs-lisp/package.el (package-refresh-contents): Catch errors
7442 when downloading archives.
7443 (describe-package-1): Add package commentary.
7444 (package-install-button-action): New function.
7445 (package-menu-mode-map): Bind ? to package-menu-describe-package.
7446 (package-menu-view-commentary): Function removed.
7447 (package-list-packages-internal): Hide the `package' package too.
7448
7449 2010-08-25 Kenichi Handa <handa@m17n.org>
7450
7451 * language/misc-lang.el ("Arabic"): New language environment.
7452 Setup composition-function-table for Arabic characters.
7453
7454 * international/fontset.el (setup-default-fontset): Fix typo for
7455 arabic OTF spec (fini->fina).
7456
7457 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
7458
7459 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
7460 on all frames.
7461
7462 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7463
7464 * whitespace.el: Allow cleaning up blanks without blank
7465 visualization (Bug#6651). Adjust help window for
7466 whitespace-toggle-options (Bug#6479). Allow to use fill-column
7467 instead of whitespace-line-column (from EmacsWiki). New version
7468 13.1.
7469 (whitespace-style): Add new value 'face. Adjust docstring.
7470 (whitespace-space, whitespace-hspace, whitespace-tab):
7471 Adjust foreground property face.
7472 (whitespace-line-column): Adjust docstring and type declaration.
7473 (whitespace-style-value-list, whitespace-toggle-option-alist)
7474 (whitespace-help-text): Adjust const initialization.
7475 (whitespace-toggle-options, global-whitespace-toggle-options):
7476 Adjust docstring.
7477 (whitespace-display-window, whitespace-interactive-char)
7478 (whitespace-style-face-p, whitespace-color-on): Adjust code.
7479 (whitespace-help-scroll): New fun.
7480
7481 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
7482
7483 * emacs-lisp/package.el (list-packages): Alias for
7484 package-list-packages.
7485
7486 2010-08-24 Kevin Ryde <user42@zip.com.au>
7487
7488 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
7489 (Bug#5651).
7490
7491 * progmodes/ruby-mode.el (ruby): Add defgroup.
7492
7493 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
7494
7495 * progmodes/python.el: Add Ipython support (Bug#5390).
7496 (python-shell-prompt-alist)
7497 (python-shell-continuation-prompt-alist): New options.
7498 (python--set-prompt-regexp): New function.
7499 (inferior-python-mode, run-python, python-shell):
7500 Require ansi-color. Use python--set-prompt-regexp to set the comint
7501 prompt based on the Python interpreter.
7502 (python--prompt-regexp): New var.
7503 (python-check-comint-prompt)
7504 (python-comint-output-filter-function): Use it.
7505 (run-python): Use a pipe (Bug#5694).
7506
7507 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
7508
7509 * progmodes/python.el (python-send-region): Send a different
7510 Python command if Ipython is in use.
7511 (python-check-version): Use a Python command to find the version.
7512
7513 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
7514
7515 * mouse.el (mouse-yank-primary): Avoid setting primary when
7516 deactivating the mark (Bug#6872).
7517
7518 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
7519
7520 * progmodes/python.el (python-block-pairs): Allow use of "finally"
7521 with "else" (Bug#3991).
7522
7523 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
7524
7525 * net/dbus.el: Accept UNIX domain sockets as bus address.
7526 (top): Don't initialize `dbus-registered-objects-table' anymore,
7527 this is done in dbusbind,c.
7528 (dbus-check-event): Adapt test for bus.
7529 (dbus-return-values-table, dbus-unregister-service)
7530 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
7531 Adapt doc string.
7532
7533 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
7534
7535 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
7536
7537 2010-08-22 Juri Linkov <juri@jurta.org>
7538
7539 * simple.el (read-extended-command): New function with the logic
7540 for `completing-read' moved to Elisp from `execute-extended-command'.
7541 Use `function-called-at-point' in `minibuffer-default-add-function'
7542 to get a command name for M-n (bug#5364, bug#5214).
7543
7544 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7545
7546 * startup.el (command-line-1): Issue warning for ignored arguments
7547 --unibyte, etc (Bug#6886).
7548
7549 2010-08-22 Leo <sdl.web@gmail.com>
7550
7551 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
7552 (ignore, bright, dim, keyword): Split list of nicknames before
7553 passing to rcirc-add-or-remove (Bug#6894).
7554
7555 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7556
7557 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
7558
7559 2010-08-22 Leo <sdl.web@gmail.com>
7560
7561 Fix buffer-list rename&refresh after killing a buffer in ido.
7562 * ido.el: Revert Óscar's.
7563 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
7564 Remember the buffers at head, rather than their name.
7565 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
7566
7567 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
7568 Stefan Monnier <monnier@iro.umontreal.ca>
7569
7570 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
7571 extra backslash added to each line (bug#6890).
7572
7573 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7574
7575 * subr.el (read-key): Don't echo keystrokes (bug#6883).
7576
7577 2010-08-22 Glenn Morris <rgm@gnu.org>
7578
7579 * menu-bar.el (menu-bar-games-menu): Add landmark.
7580
7581 2010-08-22 Glenn Morris <rgm@gnu.org>
7582
7583 * align.el (align-regexp): Make group and spacing arguments
7584 use the interactive defaults when non-interactive. (Bug#6698)
7585
7586 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
7587 expansion, so as not to need sendmail.
7588 (mail-text-start): Remove declaration.
7589 (rmail-retry-failure): Require sendmail.
7590
7591 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7592
7593 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
7594
7595 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
7596
7597 * progmodes/flymake.el (flymake-start-syntax-check-process):
7598 Use `start-file-process' in order to let it run also on remote hosts.
7599
7600 2010-08-22 Kenichi Handa <handa@m17n.org>
7601
7602 * files.el: Add `word-wrap' as safe local variable.
7603
7604 2010-08-22 Glenn Morris <rgm@gnu.org>
7605
7606 * woman.el (woman-translate): Case matters. (Bug#6849)
7607
7608 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7609
7610 * simple.el (kill-region): Doc fix (Bug#6787).
7611
7612 2010-08-22 Glenn Morris <rgm@gnu.org>
7613
7614 * calendar/diary-lib.el (diary-header-line-format):
7615 Fit it to the window, not the frame.
7616
7617 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
7618
7619 * subr.el (ignore-errors): Add debug declaration.
7620
7621 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
7622
7623 * whitespace.el (whitespace-color-off): Remove post-command-hook
7624 locally.
7625
7626 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
7627
7628 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
7629
7630 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
7631
7632 * cus-edit.el (custom-group-value-create): Add extra newline
7633 before end line (Bug#6876).
7634
7635 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
7636
7637 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
7638 when extending it. Before killing on the second click, check if
7639 the buffer is the correct one. Doc fix.
7640 (mouse-secondary-save-then-kill): Allow usage without first
7641 calling mouse-start-secondary, by defaulting to point. Don't save
7642 an empty secondary selection. Doc fix.
7643
7644 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7645
7646 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
7647 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
7648 New version 13.0.
7649 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
7650 Adjust initialization.
7651 (whitespace-bob-marker, whitespace-eob-marker)
7652 (whitespace-buffer-changed): New vars.
7653 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
7654 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
7655 (whitespace-post-command-hook, whitespace-display-char-on):
7656 Adjust code.
7657 (whitespace-looking-back, whitespace-buffer-changed): New funs.
7658 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
7659
7660 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
7661
7662 * files.el (locate-file-completion-table): Only list the .el and .elc
7663 extensions if there's no other choice (bug#5955).
7664
7665 * facemenu.el (facemenu-self-insert-data): New var.
7666 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
7667 New functions.
7668 (facemenu-add-face): Use them.
7669
7670 * simple.el (blink-matching-open): Obey forward-sexp-function.
7671
7672 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
7673
7674 * simple.el (prog-mode-map): New var.
7675 (prog-indent-sexp): New command.
7676
7677 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
7678
7679 * progmodes/prolog.el (smie): Require.
7680
7681 * emacs-lisp/smie.el (smie-default-backward-token)
7682 (smie-default-forward-token): Strip properties.
7683 (smie-next-sexp): Be more careful with associative operators.
7684 (smie-forward-sexp-command): Generalize.
7685 (smie-backward-sexp-command): Simplify.
7686 (smie-closer-alist): New var.
7687 (smie-close-block): New command.
7688 (smie-indent-debug-log): New var.
7689 (smie-indent-offset-rule): Add a few more cases.
7690 (smie-indent-column): New function.
7691 (smie-indent-after-keyword): Use it.
7692 (smie-indent-keyword): Use it.
7693 Fix up the opener code's point position.
7694 (smie-indent-comment): Only applies at BOL.
7695 (smie-indent-debug): New command.
7696
7697 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
7698 declarations that are useful before running the macro.
7699
7700 2010-08-18 Joakim Verona <joakim@verona.se>
7701
7702 * image.el (imagemagick-types-inhibit): New variable.
7703 (imagemagick-register-types): New function.
7704 * image-mode.el (image-transform-properties): New function.
7705 (image-transform-set-scale, image-transform-fit-to-height)
7706 (image-transform-set-rotation, image-transform-set-resize)
7707 (image-transform-fit-to-width, image-transform-fit-to-height):
7708 New functions.
7709 (image-toggle-display-image): Support image transforms.
7710
7711 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
7712
7713 * image.el (create-animated-image): Don't add heuristic mask to image
7714 (Bug#6839).
7715
7716 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
7717
7718 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
7719 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
7720
7721 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
7722
7723 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
7724
7725 Font-lock '...' strings, plus various simplifications and fixes.
7726 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
7727 (octave-font-lock-close-quotes): New function.
7728 (octave-font-lock-syntactic-keywords): New var.
7729 (octave-mode): Use it. Set beginning-of-defun-function.
7730 (octave-mode-map): Don't override the <foo>-defun commands.
7731 (octave-mode-menu): Pass it directly to easy-menu-define;
7732 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
7733 (octave-block-match-alist): Fix up last change so that
7734 octave-close-block uses the more specific keyword.
7735 (info-lookup-mode): Silence byte-compiler.
7736 (octave-beginning-of-defun): Not interactive any more.
7737 Optimize slightly.
7738 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
7739 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
7740 (octave-completion-at-point-function): Make sure point is within
7741 beg..end.
7742 (octave-reindent-then-newline-and-indent):
7743 Use reindent-then-newline-and-indent.
7744 (octave-add-octave-menu): Remove.
7745
7746 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
7747
7748 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
7749 (report-emacs-bug-can-use-xdg-email): New functions.
7750 (report-emacs-bug): Set can-xdg-email to result of
7751 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
7752 \C-cm to report-emacs-bug-insert-to-mailer and add help text
7753 about it.
7754
7755 * net/browse-url.el (browse-url-default-browser): Add cond
7756 for browse-url-xdg-open.
7757 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
7758
7759 2010-08-17 Glenn Morris <rgm@gnu.org>
7760
7761 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
7762 (c-fontify-recorded-types-and-refs): Define for compiler.
7763 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
7764 before use.
7765
7766 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
7767 Fix format call.
7768
7769 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
7770
7771 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
7772 properties.
7773 (tramp-handle-process-file): Call the program in a subshell, in
7774 order to preserve working directory.
7775 (tramp-action-password): Hide password prompt before next run.
7776 (tramp-process-actions): Widen connection buffer for the trace.
7777
7778 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
7779
7780 * net/rcirc.el (rcirc-log-process-buffers): New option.
7781 (rcirc-print): Use it.
7782 (rcirc-generate-log-filename): New function.
7783 (rcirc-log-filename-function): Change default to
7784 rcirc-generate-log-filename (Bug#6828).
7785
7786 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
7787
7788 * simple.el (deactivate-mark): If select-active-regions is `only',
7789 only set selection for temporarily active regions.
7790
7791 * cus-start.el: Change defcustom for select-active-regions.
7792
7793 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
7794
7795 * mouse.el (mouse--drag-set-mark-and-point): New function.
7796 (mouse-drag-track): Use LOCATION arg to push-mark.
7797 Use mouse--drag-set-mark-and-point to take click-count into
7798 consideration when updating point and mark (Bug#6840).
7799
7800 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
7801
7802 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7803 Give the Ruby rule a lower priority than Gnu (Bug#6778).
7804
7805 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
7806
7807 * font-lock.el (lisp-font-lock-keywords-2):
7808 Add combine-after-change-calls, condition-case-no-debug,
7809 with-demoted-errors, and with-silent-modifications (Bug#6025).
7810
7811 2010-08-14 Kevin Ryde <user42@zip.com.au>
7812
7813 * emacs-lisp/copyright.el (copyright-update-year)
7814 (copyright-update): Temporary switch-to-buffer to ensure the
7815 buffer change being queried is visible (Bug#5394).
7816
7817 2010-08-14 Tom Tromey <tromey@redhat.com>
7818
7819 * progmodes/etags.el (tags-file-name): Mark safe if stringp
7820 (Bug#6733).
7821
7822 2010-08-14 Eli Zaretskii <eliz@gnu.org>
7823
7824 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
7825 MS-DOS. (Bug#6689)
7826
7827 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
7828
7829 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
7830 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
7831 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
7832 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
7833 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
7834 Call menu-bar-set-tool-bar-position.
7835
7836 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7837
7838 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
7839 comment style (bug#6834).
7840 * progmodes/scheme.el (scheme-mode-syntax-table):
7841 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
7842 "b" flag in "' 14b" syntax.
7843
7844 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
7845 for (un)commenting the region and performing completion.
7846 (octave-mode-menu): Use standard commands for help and completion.
7847 (octave-mode-syntax-table): Support %{..%} comments (sort of).
7848 (octave-mode): Use define-derived-mode.
7849 Set completion-at-point-functions and don't set columns.
7850 Don't disable adaptive-fill-regexp.
7851 (octave-describe-major-mode, octave-comment-region)
7852 (octave-uncomment-region, octave-comment-indent)
7853 (octave-indent-for-comment): Remove.
7854 (octave-indent-calculate): Rename from calculate-octave-indent.
7855 (octave-indent-line, octave-fill-paragraph): Update caller.
7856 (octave-initialize-completions): No need to make an alist.
7857 (octave-completion-at-point-function): New function.
7858 (octave-complete-symbol): Use it.
7859 (octave-insert-defun): Use define-skeleton.
7860
7861 * progmodes/octave-mod.el (octave-mode): Set comment-add.
7862 (octave-mode-map): Use comment-dwim (bug#6829).
7863
7864 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
7865
7866 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
7867 indentation of inserted comment.
7868
7869 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
7870
7871 * faces.el (region): Add type gtk that uses gtk colors.
7872
7873 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
7874 Handle theme-name change.
7875
7876 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
7877
7878 * progmodes/sql.el: Version 2.5
7879 (sql-product-alist): Add :prompt-cont-regexp property for several
7880 database products.
7881 (sql-prompt-cont-regexp): New variable.
7882 (sql-output-newline-count, sql-output-by-send):
7883 New variables. Record number of newlines in input text.
7884 (sql-send-string): Handle multiple filters and count newlines.
7885 (sql-send-magic-terminator): Count terminator newline.
7886 (sql-interactive-remove-continuation-prompt): Filters output to
7887 remove continuation prompts; one for each newline.
7888 (sql-interactive-mode): Set up new variables, prompt regexp and
7889 output filter.
7890 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
7891 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
7892
7893 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7894
7895 * emacs-lisp/pcase.el: New file.
7896
7897 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
7898
7899 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
7900 as here-document, otherwise the command could exceed maximum
7901 length of command line.
7902 (tramp-handle-vc-registered): Call script accordingly.
7903 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
7904
7905 2010-08-10 Kenichi Handa <handa@m17n.org>
7906
7907 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
7908 composable pattern.
7909
7910 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
7911
7912 * emacs-lisp/package.el (package-version-split)
7913 (package--version-first-nonzero, package-version-compare):
7914 Functions removed.
7915 (package-directory-list, package-load-all-descriptors)
7916 (package--built-in, package-activate, define-package)
7917 (package-installed-p, package-compute-transaction)
7918 (package-read-all-archive-contents)
7919 (package--add-to-archive-contents, package-buffer-info)
7920 (package-tar-file-info, package-list-packages-internal):
7921 Use version-to-list and version-list-*.
7922
7923 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7924 Use version-to-list.
7925 (package-upload-buffer-internal): Use version-list-<=.
7926
7927 2010-08-09 Kenichi Handa <handa@m17n.org>
7928
7929 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
7930 composable pattern.
7931
7932 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
7933
7934 * tutorial.el (tutorial--default-keys): C-d is now bound to
7935 delete-forward-char (Bug#6826).
7936
7937 * mouse.el (mouse-drag-track): Remove accidentally-removed check
7938 for `double' value of mouse-1-click-follows-link (Bug#6807).
7939
7940 2010-08-08 Johan Bockgård <bojohan@gnu.org>
7941
7942 * replace.el (replace-highlight): Bind isearch-forward and
7943 isearch-error, ensuring that highlighting is updated if the user
7944 switches the search direction (Bug#6808).
7945
7946 * isearch.el (isearch-lazy-highlight-forward): New var.
7947 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
7948 (isearch-lazy-highlight-update): Use it.
7949
7950 2010-08-08 Kenichi Handa <handa@m17n.org>
7951
7952 * international/mule.el (define-charset): Store NAME as :base property.
7953 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
7954 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
7955 current priority. Force using the designation of the specific
7956 charset by adding `charset' text property. Improve the whole algorithm.
7957
7958 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7959
7960 * emulation/pc-select.el (pc-selection-mode-hook)
7961 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
7962 (pc-selection-mode): Fix typos in docstrings.
7963
7964 2010-08-08 Kenichi Handa <handa@m17n.org>
7965
7966 * language/cyrillic.el: Don't add "microsoft-cp1251" to
7967 ctext-non-standard-encodings-alist here.
7968
7969 * international/mule.el (ctext-non-standard-encodings-alist):
7970 Add "koi8-r" and "microsoft-cp1251".
7971 (ctext-standard-encodings): New variable.
7972 (ctext-non-standard-encodings-table): List only elements for
7973 non-standard encodings.
7974 (ctext-pre-write-conversion): Adjust for the above change.
7975 Check ctext-standard-encodings.
7976
7977 * international/mule-conf.el (compound-text): Doc fix.
7978 (ctext-no-compositions): Doc fix.
7979 (compound-text-with-extensions): Doc fix.
7980
7981 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7982
7983 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
7984
7985 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7986
7987 * progmodes/which-func.el (which-func-format): Split help-echo text
7988 into lines, like other mode-line tooltips.
7989
7990 * server.el (server-start): When using TCP sockets, force IPv4
7991 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
7992
7993 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7994
7995 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
7996
7997 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7998
7999 * term.el (term-delimiter-argument-list): Reflow docstring.
8000 (term-read-input-ring, term-write-input-ring, term-send-input)
8001 (term-bol, term-erase-in-display, serial-supported-or-barf):
8002 Fix typos in docstrings.
8003
8004 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8005
8006 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
8007
8008 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8009
8010 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
8011
8012 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
8013
8014 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
8015 Fix typo in docstring (bug#6747).
8016
8017 2010-08-08 Leo <sdl.web@gmail.com>
8018
8019 * eshell/esh-io.el (eshell-get-target): Better detection of
8020 read-only file (Bug#6762).
8021
8022 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8023
8024 * align.el (align-default-spacing): Doc fix.
8025 (align-region-heuristic, align-regexp): Fix typos in docstrings.
8026
8027 2010-08-08 Stephen Peters <speters@itasoftware.com>
8028
8029 * calendar/icalendar.el
8030 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
8031 (icalendar--get-weekday-numbers): New.
8032 (icalendar--convert-recurring-to-diary): Handle multiple byday
8033 values in weekly rules. (Bug#6766)
8034
8035 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
8036
8037 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
8038 (icalendar--create-uid, icalendar-export-region)
8039 (icalendar--parse-summary-and-rest): Code formatting.
8040
8041 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
8042
8043 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
8044 to italicize headers.
8045 (calc-highlight-selections-with-faces): New variable.
8046 (calc-selected-face, calc-nonselected-face): New faces.
8047
8048 * calc/calccomp.el (math-comp-highlight-string): Use
8049 `calc-highlight-selections-with-faces' to determine how to highlight
8050 sub-formulas.
8051
8052 * calc/calc-sel.el (calc-show-selections): Change message to when
8053 using faces to highlight selections.
8054
8055 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
8056
8057 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
8058 Add SQLite 3 keywords, functions and datatypes.
8059 (sql-interactive-mode): Remove `comint-process-echoes' set to t
8060 (Bug#6686).
8061
8062 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
8063
8064 * simple.el (select-active-regions): Move to keyboard.c.
8065 (deactivate-mark): Used saved-region-selection.
8066 (select-active-region): Function removed.
8067 (activate-mark, set-mark, push-mark-command)
8068 (handle-shift-selection): Don't call it.
8069 (keyboard-quit): Avoid adding the region to the window selection.
8070
8071 * mouse.el (mouse-drag-track): Remove hacks to deal with old
8072 select-active-regions implementation.
8073 (mouse-yank-at-click): Doc fix.
8074
8075 * cus-start.el: Add custom declaration for select-active-regions.
8076
8077 2010-08-07 Eli Zaretskii <eliz@gnu.org>
8078
8079 * simple.el (delete-forward-char): Doc fix.
8080
8081 * tutorial.el (help-with-tutorial): Hack safe file-local variables
8082 after reading the tutorial.
8083
8084 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
8085
8086 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
8087 Fix for the case that a C style comment has its delimiters alone on
8088 their respective lines.
8089
8090 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
8091
8092 * net/tramp.el (tramp-handle-start-file-process): Set connection
8093 property "vec".
8094 (tramp-process-sentinel): Use it for flushing the cache.
8095 We cannot do it via the process buffer, the buffer could be deleted
8096 already when running the sentinel.
8097
8098 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
8099
8100 * comint.el (comint-mode): Make directory tracking functions
8101 functional on remote files. (Bug#6764)
8102
8103 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
8104
8105 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
8106
8107 2010-08-05 Eli Zaretskii <eliz@gnu.org>
8108
8109 * emacs-lisp/find-gc.el (find-gc-source-files):
8110 Rename unexec.c => unexcoff.c.
8111
8112 * emacs-lisp/authors.el (authors-fixed-entries):
8113 Rename unexec.c => unexcoff.c.
8114
8115 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
8116
8117 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
8118 cache, not only file cache.
8119 (tramp-process-sentinel): New defun.
8120 (tramp-handle-start-file-process): Use it, in order to invalidate
8121 file caches.
8122
8123 2010-08-03 Leo <sdl.web@gmail.com>
8124
8125 * server.el (server-start): Simplify loop.
8126
8127 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
8128
8129 * frame.el (screen-height, screen-width, set-screen-width)
8130 (set-screen-height): Remove ancient compatibility aliases.
8131
8132 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
8133 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
8134
8135 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
8136 that change current buffer.
8137
8138 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8139
8140 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
8141 beginning of the string. Use `string-match-p'. (Bug#6765)
8142
8143 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
8144
8145 * cus-start.el (x-gtk-use-system-tooltips): New variable.
8146
8147 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
8148
8149 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
8150 (package--builtins): Tweak descriptions.
8151 (package-print-package): Upcase descriptions if necessary.
8152 Show all built-in packages in font-lock-builtin-face.
8153 (package-list-packages-internal): Omit "emacs" package.
8154 Show status of built-in packages as "built-in".
8155
8156 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
8157
8158 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
8159 before killing to preserve the primary selection (Bug#6701).
8160
8161 * term/x-win.el (x-select-text): Doc fix.
8162
8163 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
8164
8165 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
8166 (objc-font-lock-extra-types):
8167 * progmodes/cc-mode.el (c-basic-common-init):
8168 * progmodes/cc-langs.el (c-make-mode-syntax-table)
8169 (c++-make-template-syntax-table)
8170 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
8171 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
8172 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
8173 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
8174 * progmodes/cc-fonts.el (c-make-inverse-face)
8175 (c-basic-matchers-after):
8176 * progmodes/cc-engine.el (c-forward-keyword-clause)
8177 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
8178 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
8179 (c-guess-continued-construct, c-guess-basic-syntax):
8180 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
8181 The above functions were modified or created.
8182
8183 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
8184
8185 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
8186
8187 2010-07-31 Eli Zaretskii <eliz@gnu.org>
8188
8189 * files.el (bidi-paragraph-direction): Define safe local values.
8190
8191 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
8192 language-info-alist. Remove outdated FIXME in a comment.
8193
8194 2010-07-31 Alan Mackenzie <acm@muc.de>
8195
8196 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
8197 Auto-fill broken in C/C++ modes.
8198
8199 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
8200
8201 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
8202 (menu-bar-showhide-tool-bar-menu-customize-disable)
8203 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
8204 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
8205 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
8206 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
8207 make a menu for Options => toolbar that can move it.
8208
8209 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
8210
8211 * emacs-lisp/package-x.el (package--make-rss-entry):
8212 (package-maint-add-news-item, package--update-news)
8213 (package-upload-buffer-internal): New arg ARCHIVE-URL.
8214
8215 * emacs-lisp/package.el (package-archive-url): Rename from
8216 package-archive-id.
8217 (package-install): Doc fix.
8218 (package-download-single, package-download-tar, package-install)
8219 (package-menu-view-commentary): Callers changed.
8220
8221 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
8222
8223 * net/tramp.el (tramp-handle-start-file-process): Check only for
8224 `remote-tty' process property.
8225 (tramp-open-shell): Don't check for tty.
8226 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
8227 process property.
8228
8229 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
8230 host.
8231
8232 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
8233
8234 * emacs-lisp/package.el (package-load-list, package-archives)
8235 (package-archive-contents, package-user-dir)
8236 (package-directory-list, package--builtins, package-alist)
8237 (package-activated-list, package-obsolete-alist): Mark as risky.
8238
8239 2010-07-28 Phil Hagelberg <phil@evri.com>
8240
8241 Add support for non-default package repositories.
8242 * emacs-lisp/package.el (package-archive-base): Var deleted.
8243 (package-archives): New variable.
8244 (package-archive-contents): Doc fix.
8245 (package-load-descriptor): Do nothing if descriptor file is missing.
8246 (package--write-file-no-coding): New function.
8247 (package-unpack-single): Use it.
8248 (package-archive-id): New function.
8249 (package-download-single, package-download-tar)
8250 (package-menu-view-commentary): Use it.
8251 (package-installed-p): Make second argument optional.
8252 (package-read-all-archive-contents): New function.
8253 (package-initialize): Use it.
8254 (package-read-archive-contents): Add ARCHIVE argument.
8255 (package--add-to-archive-contents): New function.
8256 (package-install): Don't call package-read-archive-contents.
8257 (package--download-one-archive): Store archive file in a
8258 subdirectory of package-user-dir.
8259 (package-menu-execute): Remove spurious line movement.
8260
8261 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
8262
8263 * cus-start.el (tool-bar-style): Add text-image-horiz.
8264
8265 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
8266
8267 * progmodes/gud.el (gud-common-init): Check for remoteness of
8268 `file', and not of `default-directory'.
8269
8270 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
8271
8272 * net/tramp.el (tramp-methods): Move hostname to the end in all
8273 ssh `tramp-login-args'.
8274 (tramp-verbose): Describe verbose level 9.
8275 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
8276 (tramp-open-connection-setup-interactive-shell): Trace stty
8277 settings if `tramp-verbose' >= 9.
8278 (tramp-handle-start-file-process): Implement tty setting.
8279 (Bug#4604, Bug#6360)
8280
8281 * net/tramp-cmds.el (tramp-bug): Recommend setting of
8282 `tramp-verbose' to 9.
8283
8284 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
8285
8286 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
8287 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
8288 Remove references to package `lisp-re' (bug#4369).
8289
8290 2010-07-27 Tom Tromey <tromey@redhat.com>
8291
8292 * progmodes/js.el (js-mode):
8293 * progmodes/make-mode.el (makefile-mode):
8294 * progmodes/simula.el (simula-mode):
8295 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
8296
8297 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
8298
8299 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
8300
8301 * time.el (display-time-day-and-date): Remove spurious * in docstring.
8302 (display-time-world-buffer-name, display-time-world-mode-map):
8303 Fix typos in docstrings.
8304
8305 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
8306
8307 * image-mode.el (image-display-size): New function.
8308 (image-forward-hscroll, image-next-line, image-eol, image-eob)
8309 (image-mode-fit-frame): Use it (Bug#6639).
8310
8311 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
8312
8313 * dired.el (dired-buffers-for-dir): Handle list values of
8314 dired-directory (Bug#6636).
8315
8316 2010-07-26 Sam Steingold <sds@gnu.org>
8317
8318 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
8319 Do not call `x-get-selection' the second time, reuse the value.
8320
8321 2010-07-26 Daiki Ueno <ueno@unixuser.org>
8322
8323 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
8324 which consist of control chars only. Suggested by Richard Stallman.
8325
8326 2010-07-25 Daiki Ueno <ueno@unixuser.org>
8327
8328 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
8329 exists before passing an error to find-file-not-found-functions
8330 (bug#6723).
8331
8332 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
8333
8334 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
8335 Remove leading nil element, adjust values.
8336 (tetris-shapes, tetris-shape-scores):
8337 Change representation of shapes and remove some redundancy.
8338 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
8339 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
8340 Adjust for working with new representation of shapes.
8341 (tetris-shape-rotations): New function.
8342 (tetris-move-bottom, tetris-move-left, tetris-move-right)
8343 (tetris-rotate-prev, tetris-rotate-next):
8344 Adjust for working with the new version of tetris-test-shape.
8345
8346 2010-07-23 Markus Triska <markus.triska@gmx.at>
8347
8348 * progmodes/ps-mode.el: Use comint (bug#5954).
8349 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
8350 (ps-mode-other-newline): Simplify.
8351 (ps-run-mode): Derive from comint-mode instead of
8352 fundamental-mode, yielding input history etc.
8353 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
8354 (ps-run-send-string): Adapt for comint-mode.
8355 (ps-run-newline): Remove now unneeded function.
8356
8357 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
8358
8359 * net/tramp.el (tramp-methods): Move hostname to the end in all
8360 plink `tramp-login-args'.
8361
8362 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
8363
8364 * net/tramp.el (tramp-open-shell): New defun.
8365 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8366 Use it.
8367
8368 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
8369
8370 * net/tramp.el (tramp-file-name-regexp-unified)
8371 (tramp-completion-file-name-regexp-unified): On W32 systems, do
8372 not regard the volume letter as remote filename. (Bug#5447)
8373
8374 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
8375
8376 * custom.el (custom-declare-variable): Give a clearer error message
8377 when the docstring is missing (bug#6476).
8378
8379 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
8380
8381 * progmodes/sql.el: Version 2.4. Improved Login prompting.
8382 (sql-login-params): New widget definition.
8383 (sql-oracle-login-params, sql-mysql-login-params)
8384 (sql-solid-login-params, sql-sybase-login-params)
8385 (sql-informix-login-params, sql-ingres-login-params)
8386 (sql-ms-login-params, sql-postgres-login-params)
8387 (sql-interbase-login-params, sql-db2-login-params)
8388 (sql-linter-login-params): Use it.
8389 (sql-sqlite-login-params): Use it; Define "database" parameter as
8390 a file name.
8391 (sql-sqlite-program): Change to "sqlite3".
8392 (sql-comint-sqlite): Make sure database name is complete.
8393 (sql-for-each-login): New function.
8394 (sql-connect, sql-save-connection): Use it.
8395 (sql-get-login-ext): New function.
8396 (sql-get-login): Use it.
8397 (sql-make-alternate-buffer-name): Handle :file parameters.
8398
8399 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
8400
8401 * dired.el (dired-no-confirm): Document value t and fix defcustom to
8402 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
8403
8404 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
8405
8406 * dired.el (dired-mode-map): Use command remapping (bug#6632).
8407
8408 2010-07-22 Lawrence Mitchell <wence@gmx.li>
8409
8410 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
8411
8412 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
8413
8414 * net/tramp.el (tramp-get-ls-command)
8415 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
8416 instead of "/".
8417
8418 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
8419
8420 * progmodes/sql.el: Version 2.3.
8421 (sql-connection-alist): Change keys from symbols to strings;
8422 enhanced the widget definition.
8423 (sql-mode-menu): Add submenu to select connections.
8424 (sql-interactive-mode-menu): Add "Save Connection" item.
8425 (sql-add-product): Fix menu item.
8426 (sql-get-product-feature): Improved error handling.
8427 (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
8428 (sql-make-alternate-buffer-name): Simplified.
8429 (sql-product-interactive): Handle missing product.
8430 (sql-connect): Support string keys, minor improvements.
8431 (sql-save-connection): New function.
8432 (sql-connection-menu-filter): New function.
8433
8434 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
8435
8436 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
8437 (tramp-open-connection-setup-interactive-shell):
8438 Apply workaround for IRIX64 bug. Move argument of last
8439 `tramp-send-command' where it belongs to.
8440
8441 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
8442
8443 * net/tramp.el (tramp-perl-file-attributes)
8444 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
8445 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
8446 front of `login-args'.
8447
8448 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
8449
8450 * time.el (display-time-world-mode): Define with `define-derived-mode'.
8451 Set `show-trailing-whitespace' to nil.
8452 (display-time-world-display): Simplify.
8453
8454 2010-07-18 Alan Mackenzie <acm@muc.de>
8455
8456 Enhance `c-file-style' in file/directory local variables.
8457 * progmodes/cc-mode.el (c-count-cfss): New function.
8458 (c-before-hack-hook): Call `c-set-style' differently according to
8459 whether c-file-style was set in file or directory local
8460 variables.
8461
8462 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
8463
8464 * progmodes/sql.el: Version 2.2.
8465 (sql-product, sql-user, sql-database, sql-server, sql-port):
8466 Use defcustom :safe keyword rather than putting safe-local-variable
8467 property.
8468 (sql-password): Use defcustom :risky keyword rather than putting
8469 risky-local-variable property.
8470 (sql-oracle-login-params, sql-sqlite-login-params)
8471 (sql-solid-login-params, sql-sybase-login-params)
8472 (sql-informix-login-params, sql-ingres-login-params)
8473 (sql-ms-login-params, sql-postgres-login-params)
8474 (sql-interbase-login-params, sql-db2-login-params)
8475 (sql-linter-login-params): Add `port' option.
8476 (sql-get-product-feature): Add NO-INDIRECT parameter.
8477 (sql-comint-oracle, sql-comint-sybase)
8478 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
8479 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
8480 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
8481 (sql-comint-linter): Rename sql-connect-* functions to
8482 sql-comint-*.
8483 (sql-product-alist, sql-mode-menu): Rename as above and
8484 :sqli-connect-func to :sqli-comint-func.
8485 (sql-connection): New variable.
8486 (sql-interactive-mode): Set it.
8487 (sql-connection-alist): New variable.
8488 (sql-connect): New function.
8489 (sql--alt-buffer-part, sql--alt-if-not-empty)
8490 (sql-make-alternate-buffer-name): Improved alternative buffer name.
8491
8492 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8493
8494 * image-mode.el (image-bookmark-make-record): Do not set context
8495 in an image (Bug#6650).
8496
8497 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
8498
8499 * simple.el (select-active-region): New function.
8500 (push-mark-command, set-mark, activate-mark)
8501 (handle-shift-selection): Use it.
8502 (deactivate-mark): Don't check for size of region.
8503
8504 * mouse.el (mouse-drag-track): Use select-active-region.
8505
8506 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
8507
8508 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
8509 "--dired" stronger.
8510
8511 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
8512
8513 * term/x-win.el (x-select-enable-primary): Change default to nil.
8514 (x-select-enable-clipboard): Add :version keyword.
8515
8516 * mouse.el (mouse-drag-copy-region):
8517 * simple.el (select-active-regions): Likewise.
8518
8519 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
8520
8521 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
8522 (vc-coding-system-for-diff): Use it to decide whether to inherit
8523 from the file the EOL format for reading the diffs of that file.
8524 (Bug#4451)
8525
8526 2010-07-16 Eli Zaretskii <eliz@gnu.org>
8527
8528 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
8529 unibyte, so compressed attachments are not compressed again.
8530
8531 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
8532
8533 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
8534 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
8535 (tramp-find-shell): Simplify setting connection property.
8536 (tramp-get-ls-command): Make test for "--color=never" stronger.
8537
8538 2010-07-15 Simon South <ssouth@member.fsf.org>
8539
8540 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
8541 blocks within record declarations (i.e. variant parts) correctly.
8542
8543 2010-07-15 Simon South <ssouth@member.fsf.org>
8544
8545 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
8546 over literal tokens when parsing so newlines aren't "absorbed" by
8547 single-line comments. Corrects the indentation of case blocks
8548 that have a comment on the first line.
8549
8550 2010-07-14 Karl Fogel <kfogel@red-bean.com>
8551
8552 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
8553 by Drew Adams (Bug#5504).
8554
8555 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
8556
8557 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
8558 now that Unicode is used (Bug#6594).
8559
8560 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
8561
8562 * term/x-win.el (x-select-enable-clipboard): Default to t.
8563 (x-initialize-window-system): Don't overwrite Paste menu item.
8564
8565 * simple.el (select-active-regions): Default to t.
8566 (push-mark-command): Don't overwrite primary with empty string.
8567
8568 * mouse.el: Bind mouse-2 to mouse-yank-primary.
8569 (mouse-drag-copy-region): Default to nil.
8570
8571 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
8572 Cut/Copy/Paste menu bar items.
8573
8574 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8575
8576 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
8577 Patch applied by Karl Fogel.
8578
8579 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
8580 and `bookmark-current-buffer' if they have been already set in
8581 another buffer (e.g gnus-art).
8582
8583 2010-07-13 Karl Fogel <kfogel@red-bean.com>
8584 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8585
8586 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
8587
8588 * bookmark.el (bookmark-make-record-default): Allow unneeded
8589 information to be omitted from the record.
8590
8591 Adjust declarations and calls:
8592
8593 * info.el (bookmark-make-record-default): Adjust declaration.
8594 (Info-bookmark-make-record): Adjust call.
8595
8596 * woman.el (bookmark-make-record-default): Adjust declaration.
8597 (woman-bookmark-make-record): Adjust call.
8598
8599 * man.el (bookmark-make-record-default): Adjust declaration.
8600 (Man-bookmark-make-record): Adjust call.
8601
8602 * image-mode.el (bookmark-make-record-default): Adjust declaration.
8603
8604 * doc-view.el (bookmark-make-record-default): Adjust declaration.
8605
8606 2010-07-13 Karl Fogel <kfogel@red-bean.com>
8607
8608 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
8609 This is also from Thierry Volpiatto's patch in bug #6444. However,
8610 because it was extraneous to the functional change in that patch,
8611 and causes a re-indendation, I am committing it separately.
8612
8613 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8614
8615 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
8616 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
8617 Patch applied by Karl Fogel (Bug#6444).
8618
8619 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
8620
8621 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
8622
8623 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
8624
8625 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
8626 Dempsky; bug#5084). Remove incorrect binding for S-tab.
8627 (ns-alternatives-map): Change S-tab binding to backtab
8628 (bug#6616).
8629
8630 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
8631 under ns.
8632
8633 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
8634
8635 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
8636 (Bug#5806)
8637
8638 * language/tv-util.el (tai-viet-re): Remove format.
8639
8640 2010-07-12 Kenichi Handa <handa@m17n.org>
8641
8642 * language/hebrew.el: Remove no-byte-compile declaration.
8643 Change coding: tag to utf-8. Register hebrew-shape-gstring in
8644 composition-function-table for 3-character looking back.
8645 (hebrew-font-get-precomposed): New function.
8646 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
8647
8648 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
8649
8650 * mouse.el (mouse-drag-track): Handle select-active-regions
8651 (Bug#6612).
8652
8653 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
8654
8655 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
8656 empty argument to gvfs-copy.
8657
8658 2010-07-10 Glenn Morris <rgm@gnu.org>
8659
8660 * calendar/calendar.el (calendar-week-end-day): New function.
8661 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
8662 Respect calendar-week-start-day. (Bug#6606)
8663 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
8664 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
8665 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
8666 respect calendar-week-start-day.
8667
8668 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
8669
8670 * simple.el (use-region-p): Doc fix (Bug#6607).
8671
8672 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
8673
8674 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8675 Add regexps for cucumber and ruby.
8676
8677 2010-07-08 Daiki Ueno <ueno@unixuser.org>
8678
8679 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
8680 (epa-file-insert-file-contents): Hack to prevent
8681 find-file from opening empty buffer when decryption failed
8682 (bug#6568).
8683
8684 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
8685
8686 * textmodes/ispell.el (ispell-alternate-dictionary):
8687 Use file-readable-p.
8688 Return nil if no word-list is found at default locations.
8689 (ispell-complete-word-dict): Default to nil.
8690 (ispell-command-loop): Use 'word-list' when using lookup-words.
8691 (lookup-words): Use ispell-complete-word-dict or
8692 ispell-alternate-dictionary. Check for word-list availability
8693 and handle errors if needed with better messages (Bug#6539).
8694 (ispell-complete-word): Use ispell-complete-word-dict or
8695 ispell-alternate-dictionary.
8696
8697 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
8698
8699 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
8700 builtins (BufferError, BytesWarning, WindowsError; callables
8701 bin, bytearray, bytes, format, memoryview, next, print; __package__).
8702
8703 2010-07-07 Glenn Morris <rgm@gnu.org>
8704
8705 * play/zone.el (top-level): Do not require timer, tabify, or cl.
8706 (zone-shift-left): Ignore intangibility, and any errors from
8707 forward-char.
8708 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
8709 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
8710 deleting, and copying text properties.
8711 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
8712 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
8713 to point-max is hard.
8714 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
8715 (zone-fill-out-screen): Ignore intangibility.
8716
8717 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
8718
8719 * menu-bar.el (menu-bar-mode):
8720 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
8721 if it has been set.
8722
8723 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
8724 word/line selection (Bug#6565).
8725
8726 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
8727
8728 * net/dbus.el (dbus-send-signal): Declare function.
8729
8730 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
8731
8732 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
8733 (dbus-register-property): New optional argument EMITS-SIGNAL.
8734 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
8735
8736 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
8737
8738 * mouse.el (mouse-drag-overlay): Variable deleted.
8739 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
8740 (mouse--remap-link-click-p): New function.
8741 (mouse-drag-track): Handle dragging by using temporary Transient
8742 Mark mode, instead of a special overlay.
8743 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
8744 mouse-show-mark.
8745
8746 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
8747 deleted.
8748
8749 2010-07-02 Juri Linkov <juri@jurta.org>
8750
8751 * autoinsert.el (auto-insert-alist): Fix readability
8752 by using dotted pair notation for lambda.
8753
8754 2010-07-02 Juri Linkov <juri@jurta.org>
8755
8756 * faces.el (read-face-name): Rename arg `string-describing-default'
8757 to `default'. Doc fix. Display the default value in quotes
8758 in the prompt. With empty input, return the `default' arg,
8759 unless the default value is a string (in which case return nil).
8760 (describe-face): Replace the string `default' arg of `read-face-name'
8761 with the symbol `default'.
8762
8763 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
8764
8765 * emulation/viper-cmd.el (viper-delete-backward-char)
8766 (viper-del-backward-char-in-insert)
8767 (viper-del-backward-char-in-replace, viper-change)
8768 (viper-backward-indent): Replace delete-backward-char with
8769 delete-char (Bug#6552).
8770
8771 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
8772
8773 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
8774
8775 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
8776
8777 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
8778 argument passed to frame-creation-function (Bug#5378).
8779
8780 * faces.el (x-handle-named-frame-geometry)
8781 (x-handle-reverse-video, x-create-frame-with-faces)
8782 (face-set-after-frame-default, tty-create-frame-with-faces):
8783 Don't separately consult default-frame-alist. It is now passed as the
8784 PARAMETER argument.
8785
8786 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
8787
8788 * startup.el (command-line): Don't call tool-bar-setup in a
8789 tty-only build.
8790
8791 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
8792
8793 * ruler-mode.el (ruler--save-header-line-format): New fun.
8794 (ruler-mode): Use it as a setter function, so as not to overwrite
8795 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
8796
8797 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
8798
8799 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
8800 (vc-root-diff, vc-print-root-log, vc-log-incoming)
8801 (vc-log-outgoing): Use it.
8802 (vc-diff-internal): Set diff-vc-backend.
8803
8804 * vc/diff-mode.el (diff-vc-backend): New var.
8805
8806 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
8807
8808 * dynamic-setting.el (font-setting-change-default-font):
8809 Remove call to message.
8810
8811 2010-06-28 Kenichi Handa <handa@m17n.org>
8812
8813 * international/quail.el (quail-insert-kbd-layout): Fix the
8814 showing of untranslated characters.
8815
8816 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
8817
8818 * simple.el (delete-active-region): New option.
8819 (delete-backward-char): Implement in Lisp.
8820 (delete-forward-char): New command.
8821
8822 * mouse.el (mouse-region-delete-keys): Deleted.
8823 (mouse-show-mark): Simplify.
8824
8825 * bindings.el (global-map): Bind delete and DEL, the former to
8826 delete-forward-char.
8827
8828 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
8829
8830 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
8831 (ruby-mode): Bind indent-line-function (Bug#5119).
8832
8833 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
8834
8835 * startup.el (command-line): Recognize "0" X resource value.
8836
8837 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
8838
8839 * startup.el (command-line): Use X resources to set the value of
8840 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
8841
8842 * menu-bar.el (menu-bar-mode):
8843 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
8844 Set init-value to t.
8845
8846 * frame.el (frame-notice-user-settings): Don't change
8847 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
8848 vice versa (Bug#2249).
8849
8850 2010-06-26 Eli Zaretskii <eliz@gnu.org>
8851
8852 * w32-fns.el (w32-convert-standard-filename): Doc fix.
8853
8854 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
8855
8856 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
8857 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
8858
8859 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
8860 default directories are expanded (Bug#6143).
8861
8862 2010-06-24 Juri Linkov <juri@jurta.org>
8863
8864 * minibuffer.el (completions-format): Change default from nil to
8865 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
8866
8867 2010-06-24 Juri Linkov <juri@jurta.org>
8868
8869 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
8870 buffer-locally to lambda that re-runs the vc diff command.
8871 (Bug#6447)
8872
8873 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
8874
8875 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
8876 echo area is in use (Bug#3412).
8877
8878 2010-06-22 Glenn Morris <rgm@gnu.org>
8879
8880 * textmodes/texinfmt.el (texinfo-format-region)
8881 (texinfo-raise-lower-sections, texinfo-format-separate-node)
8882 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
8883 (texinfo-format-option, texinfo-noindent):
8884 Use line-beginning-position and line-end-position.
8885
8886 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
8887 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
8888 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
8889 utf-8 characters.
8890
8891 2010-06-21 Karl Fogel <kfogel@red-bean.com>
8892
8893 * play/zone.el (zone-fall-through-ws): Fix next-line ->
8894 forward-line fallout.
8895
8896 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
8897
8898 * mouse.el (mouse-appearance-menu): Add docstring.
8899
8900 * help.el (describe-key): Print up-event using key-description.
8901
8902 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
8903
8904 * net/zeroconf.el (zeroconf-resolve-service)
8905 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
8906 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
8907
8908 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
8909
8910 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
8911
8912 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
8913
8914 Avoid displaying files with a nil state in vc-dir.
8915 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
8916 cases that cause insertion.
8917 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
8918 with a nil state.
8919
8920 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
8921
8922 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
8923
8924 2010-06-29 Leo <sdl.web@gmail.com>
8925
8926 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
8927
8928 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
8929
8930 * generic-x.el (bat-generic-mode): Fix regexp for command line
8931 switches (Bug#5719).
8932
8933 2010-06-27 Masatake YAMATO <yamato@redhat.com>
8934
8935 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
8936 of nconc to avoid pure storage error (Bug#6239).
8937
8938 2010-06-27 Christoph <cschol2112@googlemail.com> (tiny change)
8939
8940 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
8941 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
8942 bindings of bookmark-automatically-show-annotations (Bug#6515).
8943
8944 2010-06-25 Eli Zaretskii <eliz@gnu.org>
8945
8946 * arc-mode.el (archive-zip-extract): Don't quote the file name on
8947 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
8948
8949 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
8950
8951 * comint.el (make-comint, make-comint-in-buffer): Mention return
8952 value in the docstrings. (Bug#6498)
8953
8954 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
8955
8956 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
8957 since it is not present when using some non-default switches.
8958
8959 2010-06-23 Karl Fogel <kfogel@red-bean.com>
8960
8961 * simple.el (compose-mail): Fix doc string to refer to
8962 `compose-mail-user-agent-warnings', instead of to the
8963 nonexistent `compose-mail-check-user-agent'.
8964
8965 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
8966
8967 Fix an indentation bug:
8968
8969 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
8970 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
8971 of existing values.
8972
8973 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
8974 (c-clear->-pair-props-if-match-before): now return t when they've
8975 cleared properties, nil otherwise.
8976 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
8977 by taking account of the existing value.
8978
8979 * progmodes/cc-defs.el
8980 (c-clear-char-property-with-value-function): Fix this to clear the
8981 property rather than overwriting it with nil.
8982
8983 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
8984
8985 * emacs-lisp/package.el (package-print-package): Add link to
8986 package description via describe-package.
8987 (describe-package-1): List package requirements. Add button to
8988 perform installation.
8989 (package-menu-describe-package): New command.
8990
8991 * help-mode.el (help-package): New button type.
8992
8993 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
8994
8995 * emacs-lisp/package.el: Move package-list-packages binding to
8996 menu-bar.el.
8997 (describe-package, describe-package-1, package--dir): New funs.
8998 (package-activate-1): Use package--dir.
8999
9000 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
9001
9002 * help-mode.el (help-package-def): New button type.
9003
9004 * menu-bar.el: Move package-list-packages binding here from
9005 package.el.
9006
9007 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
9008
9009 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
9010
9011 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9012
9013 * emacs-lisp/edebug.el (edebug-read-list):
9014 Phase out old-style backquotes.
9015
9016 2010-06-17 Juri Linkov <juri@jurta.org>
9017
9018 * help-mode.el (help-mode): Set buffer-local variable
9019 revert-buffer-function to help-mode-revert-buffer.
9020 (help-mode-revert-buffer): New function.
9021
9022 * info.el (Info-revert-find-node): Check for major-mode Info-mode
9023 before popping to "*info*" (like in other Info functions).
9024 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
9025 old-history-forward. Pop to old-buffer-name or "*info*" to
9026 recreate the killed buffer. Set Info-history-forward from
9027 old-history-forward.
9028 (Info-breadcrumbs-depth): Add :group and :version.
9029
9030 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
9031
9032 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
9033
9034 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
9035
9036 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
9037 for languages like Portuguese with pt_{BR,PT} and no plain pt.
9038
9039 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
9040
9041 * emacs-lisp/package.el (package-menu-mode-map):
9042 Move initialization into declaration.
9043
9044 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
9045
9046 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
9047
9048 * emacs-lisp/package.el (package-archive-base): Point to
9049 elpa.gnu.org.
9050 (package-enable, package-load-list): New defcustoms.
9051 (package-user-dir, package-directory-list): Turn into defcustoms.
9052 Don't include package-user-dir in package-directory-list.
9053 (package--builtins-base): Don't include Emacs as a "package".
9054 (package-subdirectory-regexp): New var.
9055 (package-load-all-descriptors, package-compute-transaction)
9056 (package-download-transaction): Obey package-load-list.
9057 (package-activate-1): Rename from package-do-activate.
9058 (package-list-packages-internal): Check package-load-list.
9059 (package-load-descriptor, package-generate-autoloads)
9060 (package-unpack, package-unpack-single)
9061 (package--read-archive-file, package-delete):
9062 Use expand-file-name.
9063
9064 * emacs-lisp/package-x.el: New file. Package uploading
9065 functionality split out from package.el.
9066
9067 * startup.el (command-line): Load packages after reading init file.
9068
9069 2010-06-17 Tom Tromey <tromey@redhat.com>
9070
9071 * emacs-lisp/package.el: New file.
9072
9073 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
9074
9075 Fix vc-annotate for renamed files when using Git.
9076 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
9077 ls-files. Doe not pass the object as a file name to cat-file, it
9078 is not a file name.
9079 (vc-git-annotate-command): Pass the file name using -- to avoid
9080 ambiguity with the revision.
9081 (vc-git-previous-revision): Pass a relative file name.
9082
9083 2010-06-22 Glenn Morris <rgm@gnu.org>
9084
9085 * progmodes/js.el (js-mode-map): Use standard capitalization and
9086 ellipses for menu entries.
9087
9088 * wid-edit.el (widget-complete): Doc fix.
9089
9090 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
9091
9092 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
9093
9094 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
9095
9096 Fix annotating other revisions for renamed files in vc-annotate.
9097 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
9098 VC backend. Use it when non-nil.
9099 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
9100 (Bug#6487).
9101
9102 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
9103 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
9104 Do not pass the file name to the 'previous-revision call when we
9105 don't want a file diff. (Bug#6489)
9106
9107 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
9108
9109 Fix finding revisions for renamed files in vc-annotate.
9110 * vc/vc.el (vc-find-revision): Add an optional argument for
9111 the VC backend. Use it when non-nil.
9112 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
9113 backend to vc-find-revision. (Bug#6487)
9114
9115 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
9116
9117 Fix reading file names in Git annotate buffers.
9118 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
9119 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
9120
9121 2010-06-20 Alan Mackenzie <acm@muc.de>
9122
9123 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
9124 in file local variables, set it first.
9125
9126 2010-06-19 Glenn Morris <rgm@gnu.org>
9127
9128 * descr-text.el (describe-char-unicode-data): Insert separating
9129 space when needed. (Bug#6422)
9130
9131 * progmodes/idlwave.el (idlwave-action-and-binding):
9132 Fix typo in 2009-12-03 change. (Bug#6450)
9133
9134 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9135
9136 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
9137 handling for `lambda' (misunderstanding).
9138
9139 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
9140
9141 * calc/calc-poly.el (math-accum-factors): Make sure that
9142 constants aren't distributed after they are factored out.
9143
9144 2010-06-16 Juri Linkov <juri@jurta.org>
9145
9146 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
9147 `list-colors-print'. (Bug#6332)
9148
9149 * subr.el (read-quoted-char): Fix up last change (bug#6290).
9150
9151 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
9152
9153 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
9154 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
9155
9156 * font-lock.el (font-lock-major-mode): Rename from
9157 font-lock-mode-major-mode to distinguish it from
9158 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
9159 (font-lock-set-defaults):
9160 * font-core.el (font-lock-default-function): Adjust users.
9161 (font-lock-mode): Don't set it at all.
9162
9163 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
9164
9165 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
9166
9167 2010-06-16 Glenn Morris <rgm@gnu.org>
9168
9169 * calendar/appt.el (appt-time-msg-list): Doc fix.
9170 (appt-check): Let-bind appt-warn-time.
9171 (appt-add): Make the 3rd argument optional.
9172 Simplify argument names. Doc fix. Check for integer WARNTIME.
9173 Only add WARNTIME to the output list if non-nil.
9174
9175 2010-06-16 Ivan Kanis <apple@kanis.eu>
9176
9177 * calendar/appt.el (appt-check): Let the 3rd element of
9178 appt-time-msg-list specify the warning time.
9179 (appt-add): Add new argument with the warning time. (Bug#5176)
9180
9181 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
9182
9183 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
9184 older than version 1.6. (Bug#6361)
9185
9186 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
9187
9188 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
9189 used by cl-do-arglist. (Bug#6408)
9190
9191 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
9192
9193 * textmodes/ispell.el (ispell-dictionary-base-alist):
9194 Fix portuguese casechars/not-casechars for missing 'çÇ'.
9195 Suggested by Rolando Pereira (bug#6434).
9196
9197 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
9198
9199 * facemenu.el (list-colors-sort): Doc fix.
9200
9201 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
9202
9203 * progmodes/sql.el (sql-connect-mysql): Fix typo.
9204
9205 2010-06-14 Juri Linkov <juri@jurta.org>
9206
9207 Add sort option `list-colors-sort'. (Bug#6332)
9208 * facemenu.el (color-rgb-to-hsv): New function.
9209 (list-colors-sort): New defcustom.
9210 (list-colors-sort-key): New function.
9211 (list-colors-display): Doc fix. Sort list according to the option
9212 `list-colors-sort'.
9213 (list-colors-print): Add HSV values to `help-echo' property of
9214 RGB strings.
9215
9216 2010-06-14 Juri Linkov <juri@jurta.org>
9217
9218 * compare-w.el: Move to the "vc" subdirectory.
9219
9220 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9221
9222 * image-mode.el (image-mode-map): Remap left-char and right-char.
9223
9224 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
9225
9226 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
9227
9228 * term/common-win.el (x-colors): Add all the color names defined
9229 in rgb.txt (Bug#6332).
9230
9231 * facemenu.el (list-colors-print): Don't print extra names if it
9232 will overflow the window width.
9233
9234 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
9235 change (Bug#6343).
9236
9237 2010-06-12 Eli Zaretskii <eliz@gnu.org>
9238
9239 * files.el (make-directory): Doc fix (bug#6396).
9240
9241 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
9242
9243 * net/tramp.el (tramp-remote-process-environment): Protect version
9244 string by apostroph.
9245 (tramp-shell-prompt-pattern): Do not use a shy group in case of
9246 XEmacs.
9247 (tramp-file-name-for-operation): Add `call-process-region'.
9248 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
9249
9250 * net/tramp-compat.el (top): Do not autoload
9251 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
9252 only when `start-file-process' is not bound.
9253 (tramp-advice-file-expand-wildcards): Do not use
9254 `tramp-handle-file-remote-p'.
9255 (tramp-compat-make-temp-file): Handle the case, that
9256 `make-temp-file' has no third argument EXTENSION.
9257
9258 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
9259
9260 * makefile.w32-in (WINS_BASIC): Include new directory vc.
9261
9262 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
9263
9264 2010-06-11 Juri Linkov <juri@jurta.org>
9265
9266 * finder.el (finder-known-keywords): Add keyword "vc"
9267 for version control.
9268
9269 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
9270 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
9271 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
9272 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
9273
9274 2010-06-11 Juri Linkov <juri@jurta.org>
9275
9276 Move version control related files to the "vc" subdirectory.
9277 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
9278 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
9279 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
9280 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
9281 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
9282 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
9283 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
9284 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
9285 Move files to the "vc" subdirectory.
9286
9287 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
9288
9289 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
9290 (Bug#6367).
9291
9292 2010-06-11 Stephen Eglen <stephen@gnu.org>
9293
9294 * shell.el: Bind `shell-resync-dirs' to M-RET.
9295
9296 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
9297
9298 * notifications.el: Move file from lisp/net, because it is
9299 supposed to talk locally to the user.
9300
9301 2010-06-10 Julien Danjou <julien@danjou.info>
9302
9303 * net/notifications.el (notifications-on-action-signal)
9304 (notifications-on-closed-signal): Pass notification id as first
9305 argument to the callback functions. Add docstrings.
9306 (notifications-notify): Fix docstring.
9307
9308 2010-06-10 Glenn Morris <rgm@gnu.org>
9309
9310 * emacs-lisp/authors.el (authors-ignored-files)
9311 (authors-valid-file-names): Add some files.
9312
9313 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
9314
9315 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
9316 merge conflict, giving preference to the emacs-23 version of the code.
9317
9318 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
9319
9320 * emacs-lisp/advice.el (ad-compile-function):
9321 Define warning-suppress-types before we let-bind it (bug#6275).
9322
9323 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
9324 declare it, make it buffer-local and permanent-local (bug#6324).
9325 (vc-resynch-window): Adjust name.
9326 * vc-hooks.el (vc-find-file-hook): Adjust name.
9327
9328 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
9329
9330 * net/notifications.el (notifications-notify): Fix docstring.
9331
9332 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
9333
9334 Update to Unicode 6.0.0 beta.
9335 * international/charprop.el: Update copyright.
9336 * international/mule-cmds.el (ucs-names): Update character ranges.
9337 * international/uni-bidi.el:
9338 * international/uni-category.el:
9339 * international/uni-combining.el:
9340 * international/uni-comment.el:
9341 * international/uni-decimal.el:
9342 * international/uni-decomposition.el:
9343 * international/uni-digit.el:
9344 * international/uni-lowercase.el:
9345 * international/uni-mirrored.el:
9346 * international/uni-name.el:
9347 * international/uni-numeric.el:
9348 * international/uni-old-name.el:
9349 * international/uni-titlecase.el:
9350 * international/uni-uppercase.el: Regenerate.
9351
9352 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
9353
9354 * emacs-lisp/smie.el (comment-string-strip): Declare function.
9355 (smie-precs-precedence-table): Fix typo in docstring.
9356
9357 * vc-mtn.el (log-edit-extract-headers): Declare function.
9358
9359 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
9360
9361 * net/notifications.el (dbus-register-signal): Declare function.
9362 (notifications-notify): Fix typos and reflow docstring.
9363
9364 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
9365
9366 Improve VC create/retrieve tag/branch.
9367 * vc.el (vc-create-tag): Do not read the directory name for VCs
9368 with repository revision granularity. Adjust the tag/branch
9369 prompt. Reset VC properties.
9370 (vc-retrieve-tag): Do not read the directory name for VCs
9371 with repository revision granularity. Reset VC properties.
9372
9373 2010-06-09 Julien Danjou <julien@danjou.info>
9374
9375 * net/notifications.el: New file.
9376
9377 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
9378
9379 Add optional support for resetting VC properties.
9380 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
9381 call vc-file-clearprops when true.
9382 (vc-resynch-buffer): Add new optional argument, pass it down.
9383 (vc-resynch-buffers-in-directory): Likewise.
9384
9385 Improve support for special markup in the VC commit message.
9386 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
9387 * vc-hg.el (vc-hg-checkin): Add support for Date:.
9388 * vc-git.el (vc-git-checkin):
9389 * vc-bzr.el (vc-bzr-checkin): Likewise.
9390
9391 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
9392
9393 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
9394 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
9395
9396 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
9397
9398 * iimage.el: Remove images as soon as the underlying text is modified.
9399 (iimage-modification-hook): New function.
9400 (iimage-mode-buffer): Use it.
9401
9402 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9403
9404 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
9405 smie-indent-offset-after. Add :prev case. Make a bit more generic.
9406 (smie-indent-virtual): Remove `virtual' arg. Update callers.
9407 (smie-indent-keyword): Add handling of open-paren keywords.
9408 (smie-indent-comment-continue): Don't assume comment-continue.
9409
9410 2010-06-07 Martin Rudalics <rudalics@gmx.at>
9411
9412 * window.el (pop-to-buffer): Remove the conditional that
9413 compares new-window and old-window, so it will reselect
9414 the selected window unconditionally.
9415 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
9416
9417 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9418
9419 * emacs-lisp/smie.el (smie-indent-offset-after)
9420 (smie-indent-forward-token, smie-indent-backward-token): New functions.
9421 (smie-indent-after-keyword): Use them.
9422 (smie-indent-fixindent): Only applies to the indentation of the BOL.
9423 (smie-indent-keyword): Tweak the black magic.
9424 (smie-indent-comment-continue): Strip comment-continue before use.
9425 (smie-indent-functions): Indent comments before keywords.
9426
9427 2010-06-06 Juri Linkov <juri@jurta.org>
9428
9429 * isearch.el (isearch-lazy-highlight-search): Fix looping
9430 by checking for empty match. This syncs this loop with the
9431 similar loop in `isearch-search'. (Bug#6362)
9432
9433 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
9434
9435 * net/dbus.el (dbus-register-method): Declare function.
9436 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
9437 (dbus-introspect): Doc fix.
9438 (dbus-event-bus-name, dbus-introspect-get-interface)
9439 (dbus-introspect-get-argument): Reflow docstrings.
9440
9441 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
9442
9443 vc-log-incoming/vc-log-outgoing fixes for Git.
9444 * vc-git.el (vc-git-log-view-mode): Fix font lock for
9445 incoming/outgoing logs.
9446 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
9447 instead of vc-git-compute-remote.
9448 (vc-git-compute-remote): Remove.
9449
9450 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
9451
9452 * term/common-win.el (x-colors): Add "dark green" and "dark
9453 turquoise" (Bug#6332).
9454
9455 2010-06-04 Juri Linkov <juri@jurta.org>
9456
9457 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
9458 Instead of setting `replace' to t and replacing the same string
9459 with itself, don't do certain actions when
9460 kill-do-not-save-duplicates is non-nil and string is equal to car
9461 of kill-ring: don't call menu-bar-update-yank-menu, don't push
9462 interprogram-paste strings to kill-ring, and don't push the input
9463 argument `string' to kill-ring.
9464 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
9465
9466 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
9467
9468 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
9469
9470 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
9471
9472 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
9473 (tramp-gvfs-handler-mounted-unmounted)
9474 (tramp-gvfs-connection-mounted-p): Handle default-location.
9475
9476 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
9477 move files to trash.
9478
9479 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
9480
9481 * international/mule-cmds.el (nonascii-insert-offset)
9482 (nonascii-translation-table): Add obsolescence information.
9483
9484 * international/mule.el (make-translation-table-from-vector): Doc fix.
9485
9486 2010-06-03 Glenn Morris <rgm@gnu.org>
9487
9488 * desktop.el (desktop-clear-preserve-buffers):
9489 Add "*Warnings*" buffer. (Bug#6336)
9490
9491 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
9492
9493 vc-log-incoming/vc-log-outgoing improvements for Git.
9494 * vc-git.el (vc-git-log-outgoing): Use the same format as the
9495 short log.
9496 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
9497
9498 Add bindings for vc-log-incoming and vc-log-outgoing.
9499 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
9500 and vc-log-outgoing.
9501 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
9502 and vc-log-outgoing.
9503
9504 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
9505
9506 * net/rcirc.el (rcirc-sort-nicknames): Remove.
9507 (rcirc-handler-366): Always sort nicknames.
9508
9509 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
9510
9511 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
9512
9513 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
9514
9515 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
9516
9517 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9518
9519 * net/rcirc.el (rcirc-sort-nicknames): Change default.
9520 (rcirc-sort-nicknames-join): Avoid setq.
9521
9522 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
9523
9524 * net/rcirc.el (rcirc-sort-nicknames): New custom.
9525 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
9526 (rcirc-handler-366): Use them.
9527
9528 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9529
9530 Split smie-indent-calculate into more manageable chunks.
9531 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
9532 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
9533 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
9534 (smie-indent-exps): Extract from smie-indent-calculate.
9535 (smie-indent-functions): New var.
9536 (smie-indent-functions): Use them.
9537
9538 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9539
9540 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
9541 (smie-indent-calculate): Simplify and cleanup.
9542
9543 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
9544
9545 * net/tramp-gvfs.el (top): Require url-util.
9546 (tramp-gvfs-mount-point): Remove.
9547 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
9548 New defuns.
9549 (with-tramp-dbus-call-method): Format trace message.
9550 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
9551 Implement backup call, when operation on local files fails.
9552 Use progress reporter. Flush properties of changed files.
9553 (tramp-gvfs-handle-make-directory): Make more traces.
9554 (tramp-gvfs-url-file-name): Hexify file name in url.
9555 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
9556 into account for the resulting file name.
9557 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
9558 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
9559 (tramp-gvfs-handler-mounted-unmounted)
9560 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
9561 attribute "default_location". Set "prefix" property.
9562 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
9563 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
9564 exists. Raise an error, if not (due to a corresponding answer
9565 "no" in interactive questions, for example).
9566
9567 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
9568
9569 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
9570
9571 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
9572
9573 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
9574 right-*. (Bug#6265)
9575
9576 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
9577
9578 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
9579 * vc-git.el (vc-git-compute-remote): New function.
9580 (vc-git-log-outgoing): Use it instead of hard coding a value.
9581 (vc-git-log-incoming): New function.
9582
9583 Improve state updating for VC tag commands.
9584 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
9585 to update the state of all buffers in the directory.
9586
9587 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
9588
9589 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9590
9591 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
9592 `file-directory-p' to the filename part rather than to the whole text.
9593
9594 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9595
9596 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
9597
9598 2010-05-31 Drew Adams <drew.adams@oracle.com>
9599
9600 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
9601
9602 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
9603
9604 * subr.el (momentary-string-display): Just use read-event to read
9605 the exit event (Bug#6238).
9606
9607 2010-05-30 Eli Zaretskii <eliz@gnu.org>
9608
9609 * international/mule.el (define-coding-system): Doc fix (bug#6313).
9610
9611 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
9612
9613 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
9614 Suggested by Eli Zaretskii <eliz@gnu.org>.
9615
9616 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9617
9618 * minibuffer.el (completion-file-name-table): Don't return a boundary
9619 past the end of `string' (bug#6299).
9620 (completion--file-name-table): Delegate to completion-file-name-table
9621 for the `boundaries' case.
9622
9623 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
9624
9625 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
9626 movement commands.
9627
9628 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
9629 `path-separator', but maintain compatibility with Emacs 20.2.
9630
9631 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
9632
9633 * server.el (server-process-filter): Receive parent-id argument
9634 from emacsclient.
9635 (server-create-window-system-frame): New arg. Pass parent-id as
9636 frame parameter.
9637
9638 2010-05-29 Eli Zaretskii <eliz@gnu.org>
9639
9640 Bidi-sensitive word movement with arrow keys.
9641 * subr.el (right-arrow-command, left-arrow-command): Move to
9642 bindings.el.
9643
9644 * bindings.el (right-char, left-char): Move from subr.el and
9645 rename from right-arrow-command and left-arrow-command.
9646 (right-word, left-word): New functions.
9647 (global-map) <right>: Bind to right-char.
9648 (global-map) <left>: Bind to left-char.
9649 (global-map) <C-right>: Bind to right-word.
9650 (global-map) <C-left>: Bind to left-word.
9651
9652 * ls-lisp.el (ls-lisp-classify-file): New function.
9653 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
9654 (ls-lisp-classify): Call ls-lisp-classify-file.
9655 (insert-directory): Remove blanks from switches.
9656
9657 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
9658
9659 * ansi-color.el: Delete unused escape sequences (Bug#6085).
9660 (ansi-color-drop-regexp): New constant.
9661 (ansi-color-apply, ansi-color-filter-region)
9662 (ansi-color-apply-on-region): Delete unrecognized control sequences.
9663 (ansi-color-apply): Build string list before calling concat.
9664
9665 2010-05-28 Juri Linkov <juri@jurta.org>
9666
9667 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9668 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
9669 (Bug#5270)
9670
9671 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
9672
9673 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
9674 to ignored backtrace functions.
9675 (with-progress-reporter): Expand docstring.
9676 (tramp-handle-delete-file): Implement TRASH argument.
9677 (tramp-get-remote-trash): New defun.
9678
9679 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
9680
9681 * net/tramp-compat.el (tramp-compat-delete-file):
9682 Use `symbol-value' for backward compatibility.
9683
9684 * net/tramp.el (tramp-handle-make-symbolic-link)
9685 (tramp-handle-load)
9686 (tramp-do-copy-or-rename-file-via-buffer)
9687 (tramp-do-copy-or-rename-file-directly)
9688 (tramp-do-copy-or-rename-file-out-of-band)
9689 (tramp-handle-process-file, tramp-handle-call-process-region)
9690 (tramp-handle-shell-command, tramp-handle-file-local-copy)
9691 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9692 (tramp-delete-temp-file-function): Use `delete-file' instead
9693 of `tramp-compat-delete-file'.
9694
9695 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
9696 (tramp-fish-handle-make-symbolic-link)
9697 (tramp-fish-handle-process-file): Use `delete-file' instead
9698 of `tramp-compat-delete-file'.
9699
9700 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
9701 Use `delete-file' instead of `tramp-compat-delete-file'.
9702
9703 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
9704 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
9705 `tramp-compat-delete-file'.
9706
9707 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
9708 Use `delete-file' instead of `tramp-compat-delete-file'.
9709
9710 * net/tramp-smb.el (tramp-smb-handle-copy-file)
9711 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9712 (tramp-smb-handle-write-region): Use `delete-file' instead of
9713 `tramp-compat-delete-file'.
9714 (tramp-smb-handle-delete-directory): Use 'trash as arg.
9715
9716 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
9717
9718 * dired.el (dired-delete-file): New arg TRASH.
9719 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
9720 (dired-do-flagged-delete, dired-do-delete): Use trash.
9721
9722 * speedbar.el (speedbar-item-delete): Allow trashing.
9723
9724 * files.el (delete-directory): New arg TRASH.
9725
9726 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
9727 (ange-ftp-rename-remote-to-remote)
9728 (ange-ftp-rename-local-to-remote)
9729 (ange-ftp-rename-remote-to-local, ange-ftp-load)
9730 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
9731 `delete-file'.
9732 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
9733 allow trashing.
9734
9735 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
9736 handle new TRASH arg of `delete-file'.
9737
9738 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
9739 (tramp-handle-make-symbolic-link, tramp-handle-load)
9740 (tramp-do-copy-or-rename-file-via-buffer)
9741 (tramp-do-copy-or-rename-file-directly)
9742 (tramp-do-copy-or-rename-file-out-of-band)
9743 (tramp-handle-process-file, tramp-handle-call-process-region)
9744 (tramp-handle-shell-command, tramp-handle-file-local-copy)
9745 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9746 (tramp-delete-temp-file-function): Use null TRASH arg in
9747 tramp-compat-delete-file call.
9748
9749 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
9750 (tramp-fish-handle-delete-file)
9751 (tramp-fish-handle-make-symbolic-link)
9752 (tramp-fish-handle-process-file): Use null TRASH arg in
9753 `tramp-compat-delete-file' call.
9754
9755 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
9756 arg in `tramp-compat-delete-file' call.
9757
9758 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
9759 (tramp-gvfs-handle-write-region): Use null TRASH arg in
9760 `tramp-compat-delete-file' call.
9761
9762 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
9763 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
9764 `tramp-compat-delete-file' call.
9765
9766 * net/tramp-smb.el (tramp-smb-handle-copy-file)
9767 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9768 (tramp-smb-handle-write-region): Use null TRASH arg in
9769 tramp-compat-delete-file call.
9770 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
9771 (tramp-smb-handle-delete-file): Rename arg.
9772
9773 * diff.el (diff-sentinel):
9774 * epg.el (epg--make-temp-file, epg-decrypt-string)
9775 (epg-verify-string, epg-sign-string, epg-encrypt-string):
9776 * jka-compr.el (jka-compr-partial-uncompress)
9777 (jka-compr-call-process, jka-compr-write-region):
9778 * server.el (server-sentinel): Remove optional arg from
9779 delete-file, reverting 2010-05-03 change.
9780
9781 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
9782
9783 * progmodes/verilog-mode.el (verilog-type-font-keywords):
9784 Use font-lock-constant-face, not obsolete font-lock-reference-face.
9785
9786 2010-05-27 Kenichi Handa <handa@m17n.org>
9787
9788 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
9789 element of GSTRING is nil.
9790
9791 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9792
9793 * emacs-lisp/smie.el (smie-forward-token-function)
9794 (smie-backward-token-function): New vars.
9795 (smie-backward-sexp, smie-forward-sexp)
9796 (smie-indent-hanging-p, smie-indent-calculate): Use them.
9797 (smie-default-backward-token): Rename from smie-backward-token and
9798 skip comments.
9799 (smie-default-forward-token): Rename from smie-forward-token and
9800 skip comments.
9801 (smie-next-sexp): Handle nil results from next-token.
9802 (smie-indent-calculate): Add a new case for special `fixindent' comments.
9803
9804 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
9805
9806 * progmodes/verilog-mode.el (verilog-type-font-keywords):
9807 Use font-lock-constant-face, not obsolete font-lock-reference-face.
9808
9809 2010-05-27 Masatake YAMATO <yamato@redhat.com>
9810
9811 * htmlfontify.el (hfy-face-resolve-face): New function.
9812 (hfy-face-to-style): Use it (Bug#6279).
9813
9814 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
9815
9816 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
9817 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
9818
9819 2010-05-26 Glenn Morris <rgm@gnu.org>
9820
9821 * emulation/edt.el (edt-load-keys): Use locate-library.
9822
9823 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
9824
9825 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
9826 (log-edit-changelog-entries): Doc fix.
9827 (log-edit-changelog-insert-entries): Args changed.
9828 Rename relative filenames in ChangeLog entries. Delete tabs.
9829 (log-edit-insert-changelog-entries): Reorganize return value of
9830 `log-edit-changelog-entries' to pass filenames to
9831 log-edit-changelog-insert-entries.
9832
9833 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9834
9835 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
9836 `image-dired-dired-insert-marked-thumbs' to
9837 `image-dired-dired-toggle-marked-thumbs'.
9838
9839 * image-dired.el: Require cl when compiling.
9840 (image-dired-dired-toggle-marked-thumbs): Rename from
9841 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
9842 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
9843 to 'no-dir. Skip files whose names don't match
9844 `image-file-name-regexp'. When file has a thumbnail overlay,
9845 delete it. (Bug#5270)
9846
9847 2010-05-25 Juri Linkov <juri@jurta.org>
9848
9849 * image-mode.el (image-mode): Add image-after-revert-hook to
9850 after-revert-hook.
9851 (image-after-revert-hook): New function. (Bug#5669)
9852
9853 2010-05-25 Juri Linkov <juri@jurta.org>
9854
9855 * image.el (image-animated-p): When delay between animated images
9856 is 0, set it to 10 (0.1 sec). (Bug#6258)
9857
9858 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
9859
9860 * net/tramp.el (tramp-handle-insert-directory): Don't use
9861 `forward-word', its default syntax could be changed.
9862
9863 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
9864
9865 * net/tramp.el (tramp-progress-reporter-update): New defun.
9866 (with-progress-reporter): Use it.
9867 (tramp-process-actions):
9868 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
9869 Preserve current message, in order to let progress reporter continue
9870 afterwards. (Bug#6257)
9871
9872 2010-05-25 Glenn Morris <rgm@gnu.org>
9873
9874 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
9875 Add :version.
9876
9877 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
9878
9879 * net/rcirc.el (rcirc-default-user-name): Change to "user".
9880 (rcirc-default-full-name): Change to "unknown".
9881 (rcirc-user-name-history): Add variable.
9882
9883 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
9884 Jonathan Rockway <jon@jrock.us>
9885
9886 * net/rcirc.el (rcirc-server-alist): Add :pass.
9887 (rcirc): When prompting for connection parameters, also prompt for
9888 username and password.
9889 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
9890 value to server when connecting.
9891
9892 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9893
9894 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
9895 (smie-merge-prec2s): Pass the tables as separate args.
9896 (smie-bnf-precedence-table): Adjust call accordingly.
9897 (smie-prec2-levels): Set levels at the end.
9898
9899 Replace Lisp calls to delete-backward-char by delete-char.
9900 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
9901 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
9902 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
9903 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
9904 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
9905 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
9906 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
9907 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
9908 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
9909 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
9910 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
9911 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
9912 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
9913 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
9914 delete-backward-char by calls to delete-char.
9915
9916 2010-05-25 Kenichi Handa <handa@m17n.org>
9917
9918 * language/hebrew.el (hebrew-shape-gstring): New function.
9919 Register it in composition-function-table for all Hebrew combining
9920 characters.
9921
9922 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9923
9924 * epa.el (epa--select-keys): Don't explicitly delete the window since
9925 that can fail (e.g. sole window in frame). Use dedication instead.
9926
9927 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
9928
9929 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
9930
9931 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
9932
9933 * image.el (image-refresh): Define as an alias for image-flush.
9934
9935 * image-mode.el (image-toggle-display-image): Caller changed.
9936
9937 2010-05-21 Juri Linkov <juri@jurta.org>
9938
9939 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
9940 Remove "all" from grep-files-aliases. Split grep-files-aliases by
9941 whitespace, call wildcard-to-regexp on substrings and concat them
9942 with "\\|". (Bug#6114)
9943
9944 2010-05-21 Alan Mackenzie <acm@muc.de>
9945
9946 * progmodes/cc-engine.el (c-parse-state-get-strategy):
9947 Replace parameter `here' with `here-' and `here-plus', which sandwich
9948 any pertinent CPP construct.
9949 (c-remove-stale-state-cache-backwards): Fix a bug which happens
9950 when doing (c-parse-state) in a CPP construct: Exclude any "new"
9951 CPP construct from taking part in the scanning.
9952
9953 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
9954
9955 * net/tramp.el (tramp-do-copy-or-rename-file)
9956 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
9957 Tune `with-progress-reporter' messages.
9958 (tramp-handle-vc-registered):
9959 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
9960 (tramp-fish-handle-insert-file-contents)
9961 (tramp-fish-maybe-open-connection):
9962 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9963 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
9964 (tramp-imap-handle-insert-file-contents)
9965 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
9966
9967 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
9968
9969 * add-log.el (change-log-font-lock-keywords):
9970 Highlight all authors in multi-author entries.
9971
9972 * smerge-mode.el (smerge-refine-ignore-whitespace)
9973 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
9974 Fix typos in docstrings.
9975 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
9976
9977 2010-05-21 Glenn Morris <rgm@gnu.org>
9978
9979 * progmodes/fortran.el (fortran-mode):
9980 * progmodes/f90.el (f90-mode): Derive from prog-mode.
9981
9982 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
9983 having a relative path in src/Makefile.in.
9984
9985 2010-05-20 Kevin Ryde <user42@zip.com.au>
9986
9987 * help-mode.el (help-make-xrefs): For Info node links turn
9988 newlines into spaces. Link node names with newlines are matched
9989 by help-xref-info-regexp and buttonized, this change ensures they
9990 can be followed successfully with RET. (Bug#6206)
9991
9992 2010-05-20 Juri Linkov <juri@jurta.org>
9993
9994 * locate.el (locate): Use pop-to-buffer instead of
9995 switch-to-buffer-other-window. (Bug#6204)
9996
9997 2010-05-20 Juri Linkov <juri@jurta.org>
9998
9999 * replace.el (replace-highlight): Fix lazy-highlighting
10000 for `M-s w str M-% str RET'.
10001
10002 2009-12-15 Masatake YAMATO <yamato@redhat.com>
10003
10004 * isearch.el (isearch-yank-word-or-char): Pull next subword
10005 when `subword-mode' is activated. (Bug#6220)
10006
10007 2010-05-20 Mark A. Hershberger <mah@everybody.org>
10008
10009 * isearch.el (isearch-update-post-hook): New hook.
10010 (isearch-update): Use the new hook. (Bug#6225)
10011
10012 2010-05-20 Juri Linkov <juri@jurta.org>
10013
10014 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
10015 [f1], [help], and (char-to-string help-char) instead of "\C-h".
10016 (Bug#6222)
10017
10018 2010-05-20 Juri Linkov <juri@jurta.org>
10019
10020 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
10021 (Bug#6223)
10022
10023 2010-05-20 Juri Linkov <juri@jurta.org>
10024
10025 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
10026 FILE-NAME to read from the minibuffer when called interactively
10027 with prefix argument instead of using buffer-file-name.
10028 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
10029
10030 * dired.el: Update autoloads.
10031
10032 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
10033
10034 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
10035 nxml-finish-element, for consistency with SGML mode.
10036
10037 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
10038 octave-close-block.
10039
10040 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
10041
10042 * composite.el: Require cl when compiling.
10043 (reference-point-alist, compose-gstring-for-graphic)
10044 (compose-gstring-for-terminal): Fix typos in docstrings.
10045
10046 2010-05-19 Juri Linkov <juri@jurta.org>
10047
10048 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
10049 set-window-parameter.
10050
10051 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
10052
10053 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
10054 where appropriate.
10055 (tramp-maybe-open-connection): Use it.
10056
10057 2010-05-19 Eli Zaretskii <eliz@gnu.org>
10058
10059 * simple.el (move-end-of-line): Make sure we are at line beginning
10060 before backing up to end of previous line.
10061
10062 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
10063
10064 * password-cache.el (password-cache-remove): Fix docstring.
10065
10066 * net/secrets.el: Autoload the widget functions.
10067 (secrets-search-items, secrets-create-item)
10068 (secrets-get-attributes, secrets-expand-item): Attributes will be
10069 stored on the password database without leading ":", as all other
10070 clients do as well.
10071 (secrets-mode): Fix docstring.
10072 (secrets-show-secrets): Provide it as autoloaded command only when
10073 D-Bus support is available. Check existence of Secret Service API.
10074
10075 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
10076
10077 * indent.el (indent-region): Deactivate region (bug#6200).
10078
10079 2010-05-19 Glenn Morris <rgm@gnu.org>
10080
10081 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
10082
10083 2010-05-19 Kenichi Handa <handa@m17n.org>
10084
10085 * composite.el: Register compose-gstring-for-graphic in
10086 composition-function-table only for combining characters (Mn, Mc, Me).
10087
10088 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
10089
10090 * calc/calc-trail.el (calc-trail-isearch-forward)
10091 (calc-trail-isearch-backward): Ensure that the new window
10092 point is set correctly.
10093
10094 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10095
10096 * subr.el (read-quoted-char): Resolve modifiers after key
10097 remapping (bug#6212).
10098
10099 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
10100
10101 Add visualization code for secrets.
10102 * net/secrets.el (secrets-mode): New major mode.
10103 (secrets-show-secrets, secrets-show-collections)
10104 (secrets-expand-collection, secrets-expand-item)
10105 (secrets-tree-widget-after-toggle-function)
10106 (secrets-tree-widget-show-password): New defuns.
10107
10108 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10109
10110 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
10111 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
10112 handled in smie-next-sexp.
10113 (smie-indent-calculate): Provide a starting indentation (so the
10114 recursion is well-founded ;-).
10115
10116 Fix handling of non-associative equal levels.
10117 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
10118 when it's not needed.
10119 (smie-op-left, smie-op-right): New functions.
10120 (smie-next-sexp): New function, extracted from smie-backward-sexp.
10121 Better handle equal levels to distinguish the associative case from
10122 the "multi-keyword construct" case.
10123 (smie-backward-sexp, smie-forward-sexp): Use it.
10124
10125 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
10126
10127 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
10128
10129 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
10130 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
10131
10132 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10133
10134 Provide a simple generic indentation engine and use it for Prolog.
10135 * emacs-lisp/smie.el: New file.
10136 * progmodes/prolog.el (prolog-smie-op-levels)
10137 (prolog-smie-indent-rules): New var.
10138 (prolog-mode-variables): Use them to configure SMIE.
10139 (prolog-indent-line, prolog-indent-level): Remove.
10140
10141 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10142
10143 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
10144 order before computing the averages.
10145
10146 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
10147
10148 * calc/calc-vec.el (calc-histogram):
10149 (calcFunc-histogram): Allow vectors as inputs.
10150 (math-vector-avg): New function.
10151
10152 * calc/calc-ext.el (math-group-float): Have the number of digits
10153 being grouped depend on the radix (Bug#6189).
10154
10155 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
10156
10157 * version.el (emacs-copyright, emacs-version): Don't define here,
10158 now that emacs.c defines it.
10159
10160 2010-05-15 Eli Zaretskii <eliz@gnu.org>
10161
10162 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
10163 "Describe Language Environment" menu item.
10164
10165 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
10166
10167 Bidi-sensitive movement with arrow keys.
10168 * subr.el (right-arrow-command, left-arrow-command): New functions.
10169
10170 * bindings.el (global-map): Bind them to right and left arrow keys.
10171
10172 Don't override standard definition of convert-standard-filename.
10173 * files.el (convert-standard-filename):
10174 Call w32-convert-standard-filename and dos-convert-standard-filename on
10175 the corresponding systems.
10176
10177 * w32-fns.el (w32-convert-standard-filename): Rename from
10178 convert-standard-filename. Doc fix.
10179
10180 * dos-fns.el (dos-convert-standard-filename): Doc fix.
10181 (convert-standard-filename): Don't defalias.
10182 (register-name-alist, make-register, register-value)
10183 (set-register-value, intdos): Obsolete aliases for the
10184 corresponding dos-* functions and variables.
10185 (dos-intdos): Add a doc string.
10186
10187 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
10188
10189 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
10190 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
10191 (math-compose-tex-func):
10192 * calc/calccomp.el (math-compose-expr):
10193 * calc/calc-ext.el (math-format-flat-expr-fancy):
10194 * calc/calc-store.el (calc-read-var-name):
10195 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
10196
10197 * calc/calc.el (var-π, var-φ, var-γ): New variables.
10198 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
10199 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
10200 (math-standard-units): Add units.
10201
10202 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10203
10204 * progmodes/asm-mode.el (asm-mode):
10205 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
10206
10207 * pcomplete.el (pcomplete-completions-at-point): New function,
10208 extracted from pcomplete-std-complete.
10209 (pcomplete-std-complete): Use it.
10210
10211 2010-05-15 Glenn Morris <rgm@gnu.org>
10212
10213 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10214 Remove references to CVS, RCS and Old directories.
10215
10216 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
10217
10218 * calc/calc-bin.el (math-format-twos-complement): Group digits when
10219 appropriate.
10220
10221 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
10222
10223 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
10224 (sh-mode-syntax-table): Give it a default value instead.
10225 (sh-header-marker): Make buffer-local.
10226 (sh-mode): Move make-local-variable to the corresponding setq.
10227 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
10228 Use complete-with-action.
10229
10230 * simple.el (prog-mode): New (abstract) major mode.
10231 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
10232 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
10233
10234 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
10235
10236 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
10237 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
10238 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
10239 (sql-make-alternate-buffer-name, sql-placeholders-filter)
10240 (sql-escape-newlines-filter, sql-input-sender)
10241 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
10242
10243 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
10244
10245 Add TeX open-block and close-block keybindings to SGML, and vice versa.
10246
10247 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
10248 latex-open-block and C-c / to latex-close-block.
10249
10250 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
10251 and C-c C-e to sgml-close-tag.
10252
10253 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
10254
10255 * net/tramp.el (with-progress-reporter): Create reporter object
10256 only when the message would be displayed. Handle nested calls.
10257 (tramp-handle-load, tramp-handle-file-local-copy)
10258 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10259 (tramp-maybe-send-script, tramp-find-shell):
10260 Use `with-progress-reporter'.
10261 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
10262 Fix message text.
10263
10264 * net/tramp-smb.el (tramp-smb-handle-copy-file)
10265 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10266 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
10267 Use `with-progress-reporter'.
10268
10269 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
10270
10271 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
10272 process everytime when spellchecking from the minibuffer (bug#6143).
10273
10274 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10275
10276 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
10277
10278 * dos-fns.el: Add "dos-" prefix for namespace control.
10279 (convert-standard-filename): Define as alias for
10280 dos-convert-standard-filename but only if applicable.
10281
10282 2010-05-12 Alan Mackenzie <acm@muc.de>
10283
10284 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
10285 Push the mark at the start of these functions when appropriate.
10286
10287 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10288
10289 * minibuffer.el (completion-cycle-threshold): New custom var.
10290 (completion--do-completion): Use it.
10291 (minibuffer-complete): Use cycling if appropriate.
10292
10293 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
10294
10295 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
10296 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
10297
10298 2010-05-11 Juri Linkov <juri@jurta.org>
10299
10300 * scroll-all.el (scroll-all-check-to-scroll):
10301 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
10302
10303 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
10304
10305 * iimage.el (iimage-mode-map): Move initialization into declaration.
10306 (iimage-mode-buffer): Use with-silent-modifications.
10307 Simplify calling convention. Adjust callers.
10308 (iimage-mode): Don't run hook redundantly.
10309
10310 * minibuffer.el (completion-pcm--pattern->regex):
10311 Fix last change (bug#6160).
10312
10313 2010-05-10 Juri Linkov <juri@jurta.org>
10314
10315 Remove nodes visited during Isearch from the Info history.
10316 * info.el (Info-isearch-initial-history)
10317 (Info-isearch-initial-history-list): New variables.
10318 (Info-isearch-start): Record initial values of
10319 Info-isearch-initial-history and Info-isearch-initial-history-list.
10320 Add Info-isearch-end to isearch-mode-end-hook.
10321 (Info-isearch-end): New function.
10322
10323 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
10324
10325 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
10326 format string, in order to work around a bug in pdksh.
10327 Reported by Gilles Pion <gpion@lfdj.com>.
10328 (tramp-handle-verify-visited-file-modtime): Do not send a command
10329 when the connection is not established.
10330 (tramp-handle-set-file-times): Simplify the check for utc.
10331
10332 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
10333
10334 Fix use of `filter-buffer-substring' (rework previous change).
10335 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
10336 (cua-repeat-replace-region):
10337 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
10338 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
10339 (cua-cut-region-to-global-mark): Use it.
10340
10341 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
10342
10343 * progmodes/sql.el: Version 2.1.
10344 (sql-product-alist): Redesign structure of product info.
10345 (sql-product, sql-user, sql-server, sql-database): Safe variables.
10346 (sql-port, sql-port-history): New variables.
10347 (sql-interactive-product): New variable.
10348 (sql-send-terminator): New variable.
10349 (sql-imenu-generic-expression): Add "Types" imenu entry.
10350 (sql-oracle-login-params, sql-sqlite-login-params)
10351 (sql-mysql-login-params, sql-solid-login-params)
10352 (sql-sybase-login-params, sql-informix-login-params)
10353 (sql-ingres-login-params, sql-ms-login-params)
10354 (sql-postgres-login-params, sql-interbase-login-params)
10355 (sql-db2-login-params, sql-linter-login-params)
10356 (sql-oracle-scan-on): New variables.
10357 (sql-mode-map): Add C-c C-i to start interactive mode.
10358 (sql-mode-menu): Update existing menu entries.
10359 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
10360 (sql-mode-oracle-font-lock-keywords)
10361 (sql-mode-postgres-font-lock-keywords)
10362 (sql-mode-ms-font-lock-keywords)
10363 (sql-mode-sybase-font-lock-keywords)
10364 (sql-mode-informix-font-lock-keywords)
10365 (sql-mode-interbase-font-lock-keywords)
10366 (sql-mode-ingres-font-lock-keywords)
10367 (sql-mode-solid-font-lock-keywords)
10368 (sql-mode-mysql-font-lock-keywords)
10369 (sql-mode-sqlite-font-lock-keywords)
10370 (sql-mode-db2-font-lock-keywords)
10371 (sql-mode-linter-font-lock-keywords): Update initialization to
10372 reduce run-time complexity.
10373 (sql-add-product, sql-del-product): New functions.
10374 (sql-set-product-feature, sql-get-product-feature): New functions.
10375 (sql-product-font-lock): Update product API.
10376 (sql-add-product-keywords): New function.
10377 (sql-highlight-product): Update product API.
10378 (sql-help-list-products): New function.
10379 (sql-help): Dynamically lists free and non-free products.
10380 (sql-get-login): Correct bug in handling history and added
10381 prompt for port.
10382 (sql-copy-column): Copy without properties.
10383 (sqli-input-sender): Apply filters to SQLi input.
10384 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
10385 Implement as a filter.
10386 (sql-escape-newlines-filter): Implement as a filter.
10387 (sql-remove-tabs-filter): New function.
10388 (sql-send-magic-terminator): New function.
10389 (sql-send-string): Implement magic terminator.
10390 (sql-send-region): Use `sql-send-string'.
10391 (sql-interactive-mode): Use product API.
10392 (sql-product-interactive): Use product API.
10393 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
10394 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
10395 (sql-db2, sql-linter): Use `sql-product-interactive'.
10396 (sql-connect): New function.
10397 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
10398 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
10399 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
10400 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
10401 Use `sql-connect'.
10402
10403 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10404
10405 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
10406 New custom variable.
10407 (completion-pcm--string->pattern): Use it.
10408 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
10409 Make it handle any symbol as `any'.
10410 (completion-pcm--merge-completions): Extract common suffix for the new
10411 `prefix' symbol as well.
10412 (completion-substring--all-completions): Use the new `prefix' symbol.
10413
10414 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
10415
10416 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
10417 not bound.
10418 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
10419 (tramp-compat-funcall): New defmacro.
10420 (tramp-compat-line-beginning-position)
10421 (tramp-compat-line-end-position)
10422 (tramp-compat-temporary-file-directory)
10423 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
10424 (tramp-compat-copy-file, tramp-compat-copy-directory)
10425 (tramp-compat-delete-file, tramp-compat-delete-directory)
10426 (tramp-compat-number-sequence, tramp-compat-process-running-p)
10427 * net/tramp.el (top, with-progress-reporter)
10428 (tramp-rfn-eshadow-setup-minibuffer)
10429 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
10430 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
10431 (tramp-completion-mode-p, tramp-check-for-regexp)
10432 (tramp-open-connection-setup-interactive-shell)
10433 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
10434 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
10435 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
10436 * net/tramp-cmds.el (tramp-cleanup-all-connections)
10437 (tramp-reporter-dump-variable, tramp-load-report-modules)
10438 (tramp-append-tramp-buffers)
10439 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
10440
10441 * net/tramp-imap.el (top): Autoload `epg-make-context'.
10442
10443 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10444
10445 * progmodes/compile.el (compilation-buffer-modtime): Rename from
10446 buffer-modtime. Adjust users.
10447
10448 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
10449
10450 * international/mule.el (auto-coding-alist): Only purecopy
10451 car of each item, not the whole list (Bug#6083).
10452
10453 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
10454
10455 * progmodes/js.el (js-mode): Make paragraph variables local before
10456 calling c-setup-paragraph-variables (Bug#6071).
10457
10458 2010-05-08 Eli Zaretskii <eliz@gnu.org>
10459
10460 * composite.el (compose-region, reference-point-alist): Fix typos
10461 in the doc strings.
10462
10463 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
10464
10465 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
10466 gnuplot's "set" command.
10467
10468 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
10469
10470 * abbrev.el (last-abbrev-text): Doc fix.
10471 (abbrev-prefix-mark): Don't escape parenthesis.
10472
10473 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
10474
10475 * composite.el (find-composition): Doc fix.
10476
10477 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
10478
10479 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
10480 (sql-oracle-program, sql-sqlite-options)
10481 (sql-query-placeholders-and-send): Doc fixes.
10482 (sql-set-product, sql-interactive-mode): Reflow docstrings.
10483 (sql-imenu-generic-expression, sql-buffer)
10484 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
10485 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
10486 (sql-mode-sybase-font-lock-keywords)
10487 (sql-mode-informix-font-lock-keywords)
10488 (sql-mode-interbase-font-lock-keywords)
10489 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
10490 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
10491 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
10492 (sql-product-feature, sql-highlight-product)
10493 (comint-line-beginning-position, sql-rename-buffer)
10494 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
10495 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
10496 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
10497 Fix typos in docstrings.
10498
10499 2010-05-08 Juri Linkov <juri@jurta.org>
10500
10501 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
10502 property instead of `invisible' and `after-string' (bug#5998).
10503
10504 2010-05-08 Juri Linkov <juri@jurta.org>
10505
10506 * image-mode.el (image-mode-as-text): Fix typo in docstring.
10507
10508 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
10509
10510 * filecache.el (file-cache-add-directory-list)
10511 (file-cache-add-directory-recursively): Fix typos in docstrings.
10512
10513 2010-05-08 Kenichi Handa <handa@m17n.org>
10514
10515 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
10516 (gujarati-composable-pattern): Fix typo.
10517
10518 2010-05-08 Kenichi Handa <handa@m17n.org>
10519
10520 * language/indian.el (oriya-composable-pattern)
10521 (tamil-composable-pattern, malayalam-composable-pattern):
10522 Add two-part vowels to "v" (vowel sign).
10523
10524 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
10525
10526 * files.el (copy-directory): Handle symlinks (Bug#5982).
10527
10528 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
10529
10530 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
10531 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
10532 (Bug#5846).
10533
10534 2010-05-08 Glenn Morris <rgm@gnu.org>
10535
10536 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
10537
10538 * minibuffer.el (completion-at-point): Doc fix.
10539
10540 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10541
10542 * electric.el (Electric-command-loop): Minor tweak.
10543
10544 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
10545 better with dedicated windows.
10546
10547 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
10548
10549 * Version 23.2 released.
10550
10551 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
10552 Stefan Monnier <monnier@iro.umontreal.ca>
10553
10554 Highlight vendor specific properties.
10555 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
10556 (css-proprietary-property): New face.
10557 (css-font-lock-keywords): Use them.
10558
10559 2010-05-07 Eli Zaretskii <eliz@gnu.org>
10560
10561 * cus-start.el (all): Add native condition for tool-bar-* symbols.
10562
10563 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10564
10565 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
10566 * files.el (auto-mode-alist): Remove redundant entries.
10567
10568 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
10569 * simple.el (auto-save-mode): Move from files.el.
10570 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
10571
10572 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
10573
10574 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
10575
10576 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
10577
10578 * mail/binhex.el (binhex-decode-region-internal)
10579 * mail/uudecode.el (uudecode-decode-region-internal)
10580 * net/dns.el (dns-read-string-name, dns-write, dns-read)
10581 (dns-read-type, dns-query)
10582 * pgg-parse.el (pgg-parse-armor)
10583 * pgg.el (pgg-verify-region)
10584 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
10585 XEmacs.
10586
10587 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
10588
10589 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
10590
10591 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
10592
10593 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
10594 * emulation/cua-base.el (cua-repeat-replace-region):
10595 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
10596 (cua-cut-region-to-global-mark):
10597 Remove text properties with `set-text-properties'.
10598
10599 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
10600
10601 * net/tramp.el (top, with-progress-reporter):
10602 Use `symbol-function' inside `funcall'.
10603
10604 * net/tramp-compat.el (tramp-compat-file-attributes)
10605 (tramp-compat-delete-file, tramp-compat-delete-directory):
10606 Handle only `wrong-number-of-arguments' error.
10607
10608 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
10609 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
10610 inside `funcall'.
10611
10612 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10613
10614 * minibuffer.el (completion--sreverse, completion--common-suffix):
10615 New functions.
10616 (completion-pcm--merge-completions): Extract common suffix when safe.
10617
10618 * emacs-lisp/easy-mmode.el (define-minor-mode):
10619 Make :variable more flexible.
10620 * files.el (auto-save-mode): Use it to define using define-minor-mode.
10621
10622 2010-05-05 Juri Linkov <juri@jurta.org>
10623
10624 Add `slow' and `history' tags to the desktop data.
10625
10626 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
10627 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
10628 (Info-finder-find-node): Require `finder.el' to be able
10629 to restore node from the desktop.
10630 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
10631 data `Info-history' and `slow' tag in the assoc list.
10632 (Info-restore-desktop-buffer): Don't restore nodes with the
10633 `slow' tag. Restore `Info-history'.
10634
10635 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
10636
10637 Add FORCE argument to `delete-file'.
10638
10639 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
10640 forcing to delete the temporary file.
10641 (ange-ftp-delete-file): Add FORCE arg.
10642 (ange-ftp-rename-remote-to-remote)
10643 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
10644 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
10645 Force file deletion.
10646
10647 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
10648
10649 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
10650 (tramp-handle-make-symbolic-link, tramp-handle-load)
10651 (tramp-do-copy-or-rename-file-via-buffer)
10652 (tramp-do-copy-or-rename-file-directly)
10653 (tramp-do-copy-or-rename-file-out-of-band)
10654 (tramp-handle-process-file, tramp-handle-call-process-region)
10655 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10656 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10657 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
10658
10659 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
10660 (tramp-fish-handle-make-symbolic-link)
10661 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
10662
10663 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
10664 Use `tramp-compat-delete-file'.
10665
10666 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
10667 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
10668
10669 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
10670 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
10671
10672 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
10673 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
10674 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
10675 Use `tramp-compat-delete-file'.
10676
10677 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10678
10679 Minor cleanups.
10680 * subr.el (add-minor-mode): Use push.
10681 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
10682 * emulation/edt.el (edt-select-mode): Simplify.
10683
10684 Use define-minor-mode in more cases.
10685 * term/tvi970.el (tvi970-set-keypad-mode):
10686 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
10687 (normal-erase-is-backspace-mode):
10688 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
10689 (set-scroll-bar-mode-1): (Re)move to its sole caller.
10690 (get-scroll-bar-mode): New function.
10691 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
10692
10693 Use define-minor-mode for less obvious cases.
10694 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
10695 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
10696 * international/iso-ascii.el (iso-ascii-mode):
10697 * frame.el (auto-raise-mode, auto-lower-mode):
10698 * composite.el (global-auto-composition-mode): Use define-minor-mode.
10699
10700 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
10701
10702 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
10703 in order to see error messages for failed logins.
10704
10705 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
10706
10707 * diff.el (diff-sentinel):
10708
10709 * epg.el (epg--make-temp-file, epg-decrypt-string)
10710 (epg-verify-string, epg-sign-string, epg-encrypt-string):
10711
10712 * jka-compr.el (jka-compr-partial-uncompress)
10713 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
10714
10715 * server.el (server-sentinel): Use delete-file's new FORCE arg
10716 (Bug#6070).
10717
10718 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10719
10720 Use define-minor-mode where applicable.
10721 * view.el (view-mode):
10722 * type-break.el (type-break-query-mode)
10723 (type-break-mode-line-message-mode):
10724 * textmodes/reftex.el (reftex-mode):
10725 * term/vt100.el (vt100-wide-mode):
10726 * tar-mode.el (tar-subfile-mode):
10727 * savehist.el (savehist-mode):
10728 * ibuf-ext.el (ibuffer-auto-mode):
10729 * composite.el (auto-composition-mode):
10730 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10731 Use define-minor-mode.
10732 (vhdl-mode): Use static mode-line format.
10733 (vhdl-mode-line-update): Delete.
10734 (vhdl-create-mode-menu, vhdl-activate-customizations)
10735 (vhdl-hs-minor-mode): Don't bother calling it.
10736
10737 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
10738
10739 * simple.el (with-wrapper-hook): Move.
10740 (buffer-substring-filters): Mark obsolete.
10741 (filter-buffer-substring-functions): New variable.
10742 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
10743
10744 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
10745 Michael Albinus <michael.albinus@gmx.de>
10746
10747 Implement compression for inline methods.
10748
10749 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
10750 (tramp-copy-size-limit): Allow also nil.
10751 (tramp-inline-compress-commands): New defconst.
10752 (tramp-find-inline-compress, tramp-get-inline-compress)
10753 (tramp-get-inline-coding): New defuns.
10754 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
10755 replaced by `tramp-get-inline-coding'.
10756 (tramp-handle-file-local-copy, tramp-handle-write-region)
10757 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
10758
10759 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
10760
10761 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
10762 Remove unused functions.
10763
10764 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
10765 Set find-tag-default-function as a variable rather than a property.
10766
10767 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
10768 * progmodes/etags.el (tags-completion-at-point-function):
10769 Remove left over interactive spec. Add autoloading stub.
10770 (complete-tag): Use tags-completion-at-point-function.
10771
10772 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
10773
10774 * minibuffer.el (tags-completion-at-point-function): Fix return value.
10775
10776 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
10777
10778 * ido.el (ido-init-completion-maps): Remove C-v binding.
10779 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
10780
10781 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
10782
10783 * minibuffer.el (tags-completion-at-point-function): New function.
10784 (completion-at-point-functions): Use it.
10785
10786 * progmodes/etags.el (complete-tag): Revert last change.
10787
10788 2010-04-29 Alan Mackenzie <acm@muc.de>
10789
10790 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
10791 off-by-one error (in end of macro position).
10792
10793 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
10794
10795 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
10796 firefox is absent. Don't autoload.
10797 (browse-url-galeon-program): Don't autoload.
10798
10799 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
10800
10801 * bindings.el (complete-symbol): Move into minibuffer.el.
10802
10803 * minibuffer.el (complete-tag): Move from etags.el. If tags
10804 completion cannot be performed, return nil instead of signalling
10805 an error.
10806 (completion-at-point): Make it an alias for complete-symbol.
10807 (complete-symbol): Move from bindings.el, and replace with the
10808 body of completion-at-point.
10809
10810 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
10811
10812 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
10813
10814 * net/tramp.el (tramp-remote-selinux-p): New defun.
10815 (tramp-handle-file-selinux-context)
10816 (tramp-handle-set-file-selinux-context): Use it.
10817
10818 2010-04-28 Sam Steingold <sds@gnu.org>
10819
10820 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
10821 `safe-local-variable' if the value is a string or a symbol with
10822 the property `bug-reference-url-format'.
10823
10824 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
10825
10826 * progmodes/bug-reference.el (bug-reference-url-format):
10827 Revert 2010-04-27 change due to security risk.
10828
10829 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10830
10831 Make it possible to locally disable a globally enabled mode.
10832 * simple.el (fundamental-mode): Run fundamental-mode-hook.
10833 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
10834 rather than kill-all-local-variables so it runs fundamental-mode-hook.
10835 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10836 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
10837 that subsequent hooks get a chance to disable it.
10838
10839 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10840
10841 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10842 Avoid re-enabling a minor mode after the user turned the minor mode
10843 off if MODE-enable-in-buffers is run twice (typically once from
10844 fundamental-mode's after-change-major-mode-hook and a second time from
10845 run-mode-hook's own after-change-major-mode-hook).
10846
10847 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
10848
10849 2010-04-27 Sam Steingold <sds@gnu.org>
10850
10851 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
10852 `safe-local-variable' if the value is a string or a function, as
10853 documented and implemented on 2010-04-02.
10854
10855 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
10856
10857 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
10858 when method is 'kill.
10859
10860 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
10861
10862 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
10863 condition in default directory check.
10864 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
10865 Kill ispell process when killing its associated buffer.
10866
10867 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
10868
10869 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
10870 but we aren't using it.
10871
10872 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
10873
10874 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
10875 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
10876
10877 2010-04-24 Glenn Morris <rgm@gnu.org>
10878
10879 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
10880 Ignore VCS-ignore files, and deleted nextstep preferences files.
10881 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
10882 (authors-ambiguous-files): New list.
10883 (authors-valid-file-names): Add some deleted files.
10884 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
10885 (authors-disambiguate-file-name): New function. (Bug#5501)
10886 (authors-canonical-file-name): Doc fix.
10887 Don't warn about obsolete files.
10888 (authors-canonical-file-name, authors-scan-el):
10889 Use authors-disambiguate-file-name.
10890
10891 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
10892 Add autoload cookies.
10893 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
10894 (generated-autoload-file): Set file-local value to "htmlfontify.el".
10895 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
10896 They have definitions / compiler macros in cl.el.
10897 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
10898 Replace manual autoloads with generated ones.
10899 (htmlfontify-unload-rgb-file): Remove autoload.
10900 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
10901
10902 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10903
10904 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
10905 (byte-compile-setq-default): Optimize for the
10906 single-var case and don't call byte-compile-form in this case to avoid
10907 inf-loop with byte-compile-set-default.
10908
10909 * progmodes/compile.el (compilation-start): Abbreviate default directory.
10910
10911 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
10912
10913 Implement SELINUX backends.
10914
10915 * net/tramp.el (tramp-file-name-handler-alist):
10916 Add `file-selinux-context' and `set-file-selinux-context'.
10917 (tramp-handle-file-selinux-context)
10918 (tramp-handle-set-file-selinux-context): New defuns.
10919 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
10920 Handle PRESERVE-SELINUX-CONTEXT.
10921
10922 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10923 Add `file-selinux-context' and `set-file-selinux-context'.
10924 (tramp-gvfs-handle-file-selinux-context)
10925 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
10926 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
10927
10928 * net/ange-ftp.el (ange-ftp-copy-file):
10929 * net/tramp-fish.el (tramp-fish-handle-copy-file):
10930 * net/tramp-imap.el (tramp-imap-handle-copy-file):
10931 * net/tramp-smb.el (tramp-smb-handle-copy-file):
10932 Add PRESERVE-SELINUX-CONTEXT.
10933
10934 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
10935
10936 Synchronize with Tramp repository.
10937
10938 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
10939 (tramp-action-process-alive, tramp-action-out-of-band)
10940 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
10941 (tramp-exists-file-name-handler): Fix docstring.
10942 (with-progress-reporter): New defmacro.
10943 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
10944 (tramp-maybe-open-connection): Use it.
10945
10946 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
10947
10948 Detect ssh 'ControlMaster' argument automatically in some cases.
10949
10950 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
10951 (tramp-default-method): Use it.
10952
10953 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
10954
10955 * net/tramp.el (tramp-handle-copy-file): Add new optional
10956 parameter `preserve-selinux-context'.
10957 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
10958
10959 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
10960
10961 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
10962 Ensure, that non remote files are still checked. Oops.
10963
10964 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
10965
10966 Fix Bug#5840.
10967
10968 * icomplete.el (icomplete-completions): Use `non-essential'.
10969
10970 * net/tramp.el (tramp-connectable-p): New defun.
10971 (tramp-handle-expand-file-name)
10972 (tramp-completion-handle-file-name-all-completions)
10973 (tramp-completion-handle-file-name-completion): Use it.
10974
10975 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
10976
10977 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
10978
10979 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
10980
10981 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
10982
10983 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
10984
10985 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
10986 is present.
10987
10988 * info.el (info-tool-bar-map): Add labels.
10989
10990 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
10991
10992 * cus-edit.el (custom-commands): Add labels for tool bar.
10993 (custom-buffer-create-internal, Custom-mode): Adjust for
10994 labels in custom-commands.
10995
10996 * dynamic-setting.el: Renamed from font-setting.el.
10997
10998 2010-04-21 John Wiegley <jwiegley@gmail.com>
10999
11000 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
11001 toggles the use of virtual buffers.
11002 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
11003 (ido-toggle-virtual-buffers): New function.
11004
11005 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
11006
11007 Use `define-derived-mode'; fix window selection; doc fixes.
11008 * play/tetris.el (tetris, tetris-update-speed-function)
11009 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
11010 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
11011 (tetris-rotate-next, tetris-end-game, tetris-start-game)
11012 (tetris-pause-game): Fix typos in docstrings.
11013 (tetris-mode-map, tetris-null-map):
11014 Move initialization into declaration.
11015 (tetris-mode): Define with `define-derived-mode';
11016 set show-trailing-whitespace to nil.
11017 (tetris): Prefer window already displaying the "*Tetris*" buffer.
11018
11019 2010-04-21 Karel Klíč <kklic@redhat.com>
11020
11021 * files.el (backup-buffer): Handle SELinux context, and return it
11022 if a backup was made by renaming.
11023 (backup-buffer-copy): Set SELinux context to the target file.
11024 (basic-save-buffer): Set SELinux context of the newly written file.
11025 (basic-save-buffer-1): Now it also returns any SELinux context.
11026 (basic-save-buffer-2): Set SELinux context of the newly created file,
11027 and return it.
11028 * net/tramp.el (tramp-file-name-for-operation):
11029 Add file-selinux-context.
11030
11031 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
11032
11033 Make the log-edit comments use RFC822 format throughout.
11034
11035 * vc.el (vc-checkin, vc-modify-change-comment):
11036 Adjust to new vc-start/finish-logentry.
11037 (vc-find-conflicted-file): New command.
11038 (vc-transfer-file): Adjust to new vc-checkin.
11039 (vc-next-action): Improve scoping.
11040
11041 * vc-hg.el (vc-hg-log-edit-mode): Remove.
11042 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
11043
11044 * vc-git.el (vc-git-log-edit-mode): Remove.
11045 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
11046 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
11047
11048 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
11049 (vc-start-logentry): Remove argument `extra'.
11050 (vc-finish-logentry): Remove extra args.
11051
11052 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
11053 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
11054 (vc-bzr-conflicted-files): New function.
11055
11056 * log-edit.el (log-edit-extra-flags)
11057 (log-edit-before-checkin-process): Remove.
11058 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
11059 (log-edit-headers-alist): New var.
11060 (log-edit-header-contents-regexp): New const.
11061 (log-edit-match-to-eoh): New function.
11062 (log-edit-font-lock-keywords): Use them.
11063 (log-edit): Insert a "Summary:" header as default.
11064 (log-edit-mode): Mark font-lock rules as case-insensitive.
11065 (log-edit-done): Cleanup headers.
11066 (log-view-process-buffer): Remove.
11067 (log-edit-extract-headers): New function to replace it.
11068
11069 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
11070
11071 * subr.el (default-direction-reversed): Remove obsolescence info.
11072
11073 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11074
11075 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
11076 windows/frames.
11077
11078 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
11079 I.e. include text after point in the completion region.
11080 Also, return nil when we're not after/in a symbol.
11081
11082 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
11083 default enable-multibyte-characters.
11084
11085 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11086
11087 * international/mule.el: Help the user choose a valid coding-system.
11088 (read-buffer-file-coding-system): New function.
11089 (set-buffer-file-coding-system): Use it. Prompt the user if the
11090 coding-system cannot encode all the chars.
11091
11092 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
11093 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
11094 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
11095 Don't use *vc-bzr-shelve*.
11096
11097 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
11098
11099 Fix the version number for added files.
11100 * vc-hg.el (vc-hg-working-revision): Check if the file is
11101 registered after hg parent fails (Bug#5961).
11102
11103 2010-04-19 Glenn Morris <rgm@gnu.org>
11104
11105 * htmlfontify.el (htmlfontify-buffer)
11106 (htmlfontify-copy-and-link-dir): Autoload entry points.
11107
11108 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
11109
11110 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
11111 name relative to the project root (Bug#5960).
11112
11113 2010-04-19 Glenn Morris <rgm@gnu.org>
11114
11115 * vc-git.el (vc-git-print-log): Doc fix.
11116
11117 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
11118
11119 * ido.el (ido-file-internal): Fix 2009-12-02 change.
11120
11121 2010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
11122
11123 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
11124 default settings (Bug#5928).
11125
11126 2010-04-19 Glenn Morris <rgm@gnu.org>
11127
11128 * progmodes/fortran.el (fortran-match-and-skip-declaration):
11129 New function.
11130 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
11131
11132 2010-04-19 Kenichi Handa <handa@m17n.org>
11133
11134 * language/indian.el (malayalam-composable-pattern): Fix previous
11135 change (add U+0D4D "SIGN VIRAMA").
11136 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
11137 (tamil-composable-pattern): Fix typo in the regexp.
11138 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
11139 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
11140 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
11141
11142 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
11143
11144 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
11145 paragraph-separate (Bug#5821).
11146
11147 2010-04-19 Juri Linkov <juri@jurta.org>
11148
11149 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
11150
11151 * info.el (Info-find-node-2): Comment out code that skips
11152 breadcrumbs line.
11153 (Info-mouse-follow-link): New command.
11154 (Info-link-keymap): New keymap.
11155 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
11156 Return a string with links instead of inserting breadcrumbs
11157 to the Info buffer.
11158 (Info-fontify-node): Comment out code that inserts breadcrumbs.
11159 Instead of putting the `invisible' text property over the Info
11160 header, make an overlay over the Info header with the `invisible'
11161 property and `after-string' set to the string returned by
11162 `Info-breadcrumbs'.
11163
11164 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
11165
11166 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
11167 Reported by monkey@sandpframing.com.
11168
11169 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11170
11171 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
11172 (tmm-get-keymap): Add key-binding shortcuts now that they're not
11173 available in the "keyseq cache" any more.
11174
11175 * custom.el (defcustom): Add edebug spec.
11176
11177 2010-04-18 Juri Linkov <juri@jurta.org>
11178
11179 Test for special mode-class in view-buffer instead of view-file (bug#5513).
11180
11181 * view.el (view-file, view-buffer): Move test for special mode-class
11182 from view-file to view-buffer.
11183
11184 * tar-mode.el (tar-extract): Turn if's into one cond
11185 like in arc-mode.el.
11186
11187 2010-04-18 Juri Linkov <juri@jurta.org>
11188
11189 Add 7z archive format support (bug#5475).
11190
11191 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
11192 (archive-7z-extract): New defcustom.
11193 (archive-find-type): Add magic string for 7z.
11194 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
11195 If `stderr-file' is non-nil, use `(t stderr-file)' for the
11196 `buffer' arg of `call-process'.
11197 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
11198 call the function `archive-7z-extract' with the variable
11199 `archive-7z-extract' let-bound to `archive-zip-extract'.
11200 (archive-7z-summarize, archive-7z-extract): New functions.
11201
11202 * international/mule.el (auto-coding-alist):
11203 * files.el (auto-mode-alist): Add 7z file extension.
11204
11205 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11206
11207 * loadup.el: Setup hash-cons for pure data.
11208
11209 Fix duplicate entries in cedet's loaddefs.el files.
11210 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
11211 Should make most file-local generated-autoload-file unnecessary.
11212 (print-readably): Silence warnings.
11213 (autoload-find-destination): Take load-name as an arg to make sure
11214 it's the same as the one that will be in the file.
11215 (autoload-generate-file-autoloads): Adjust to above changes.
11216 Try to make the dataflow a bit simpler.
11217
11218 * cvs-status.el (cvs-refontify): Remove unused.
11219
11220 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
11221
11222 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
11223
11224 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
11225 twos-complement mode.
11226
11227 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
11228
11229 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
11230 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
11231 (calc-inverse): Add "Option" to message, as appropriate.
11232 (calc-hyperbolic): Add "Option" to message, as appropriate.
11233 (calc-option, calc-is-option): New functions.
11234
11235 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
11236 (calc-option-prefix-help): New function.
11237
11238 * calc/calc-misc.el (calc-help): Add "Option" entry.
11239
11240 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
11241 (calc-option-flag): New variable.
11242 (calc-do): Set `calc-option-flag to nil.
11243 (calc-set-mode-line): Add "Opt " as appropriate.
11244
11245 2010-04-16 Juri Linkov <juri@jurta.org>
11246
11247 Move scrolling commands from simple.el to window.el
11248 because their primitives are implemented in window.c.
11249
11250 * simple.el (scroll-error-top-bottom)
11251 (scroll-up-command, scroll-down-command, scroll-up-line)
11252 (scroll-down-line, scroll-other-window-down)
11253 (beginning-of-buffer-other-window, end-of-buffer-other-window):
11254 * window.el (scroll-error-top-bottom)
11255 (scroll-up-command, scroll-down-command, scroll-up-line)
11256 (scroll-down-line, scroll-other-window-down)
11257 (beginning-of-buffer-other-window, end-of-buffer-other-window):
11258 Move from simple.el to window.el because their primitives are
11259 implemented in window.c.
11260
11261 2010-04-16 Juri Linkov <juri@jurta.org>
11262
11263 * isearch.el (isearch-lookup-scroll-key): Check both
11264 `isearch-scroll' and `scroll-command' properties.
11265 (scroll-up, scroll-down): Remove `isearch-scroll' property.
11266
11267 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
11268
11269 * simple.el (scroll-up-command, scroll-down-command)
11270 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
11271
11272 2010-04-15 Juri Linkov <juri@jurta.org>
11273
11274 * simple.el (scroll-up-command, scroll-down-command)
11275 (scroll-up-line, scroll-down-line): Put `scroll-command'
11276 property on the these symbols. Remove them from
11277 `scroll-preserve-screen-position-commands'.
11278
11279 * mwheel.el (mwheel-scroll): Put `scroll-command' and
11280 `isearch-scroll' properties on the `mwheel-scroll' symbol.
11281 Remove it from `scroll-preserve-screen-position-commands'.
11282
11283 * isearch.el (isearch-allow-scroll): Doc fix.
11284
11285 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
11286
11287 * net/tramp.el (tramp-error-with-buffer): Don't show the
11288 connection buffer when we are in completion mode.
11289 (tramp-file-name-handler): Catch the error for some operations
11290 when we are in completion mode. This gives the user the chance to
11291 correct the file name in the minibuffer.
11292
11293 2010-04-15 Glenn Morris <rgm@gnu.org>
11294
11295 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
11296
11297 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
11298
11299 Simplify by using `define-derived-mode'.
11300 * info.el (Info-mode):
11301 * calendar/todo-mode.el (todo-mode):
11302 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
11303 (gomoku-mode-map): Move initialization into declaration.
11304
11305 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
11306
11307 Fix Bug#5840.
11308 * ido.el (ido-file-name-all-completions-1):
11309 * minibuffer.el (minibuffer-completion-help):
11310 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
11311
11312 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11313
11314 * simple.el (non-essential): New var.
11315
11316 Add a new field `location' to bookmarks for non-file bookmarks.
11317 * bookmark.el (bookmark-location): Use the new field, if present.
11318 (bookmark-insert-location): Undo last change, not needed any more.
11319 * man.el (Man-bookmark-make-record):
11320 * woman.el (woman-bookmark-make-record): Add `location' field.
11321
11322 2010-04-14 Juri Linkov <juri@jurta.org>
11323
11324 * simple.el (scroll-error-top-bottom): New defcustom.
11325 (scroll-up-command, scroll-down-command): Use it. Doc fix.
11326
11327 * emulation/pc-select.el (pc-select-override-scroll-error):
11328 Obsolete in favor of `scroll-error-top-bottom'.
11329
11330 2010-04-14 Juri Linkov <juri@jurta.org>
11331
11332 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
11333 `scroll-up-command' and `M-v' to `scroll-down-command'.
11334
11335 * emulation/cua-rect.el (cua--init-rectangles):
11336 * forms.el (forms--change-commands):
11337 * image-mode.el (image-mode-map):
11338 Remap scroll-down-command and scroll-up-command
11339 in addition to scroll-down and scroll-up.
11340
11341 2010-04-14 Juri Linkov <juri@jurta.org>
11342
11343 * mwheel.el (scroll-preserve-screen-position-commands):
11344 Add mwheel-scroll to this list of commands.
11345
11346 * simple.el (scroll-preserve-screen-position-commands):
11347 Add scroll-up-command, scroll-down-command, scroll-up-line,
11348 scroll-down-line to this list of commands.
11349
11350 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
11351
11352 * obsolete/complete.el: Move from lisp/complete.el.
11353
11354 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
11355
11356 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
11357 to the minor mode function now turns the mode ON unconditionally.
11358
11359 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
11360
11361 * vc-dir.el (vc-dir-kill-line): New command.
11362 (vc-dir-mode-map): Bind it to C-k.
11363
11364 * bookmark.el (bookmark-insert-location): Handle a nil filename.
11365
11366 * woman.el: Add bookmark declarations to silence the compiler.
11367 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
11368 step to compatibility between man and woman bookmarks.
11369 Adjust for Man-default-bookmark-title renaming.
11370 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
11371
11372 * man.el: Add bookmark declarations to silence the compiler.
11373 (Man-name-local-regexp): Make it match NAME as well.
11374 (Man-getpage-in-background): Return the buffer.
11375 (Man-notify-when-ready): Use `case'.
11376 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
11377 Don't hardcode "NAME". Simplify.
11378 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
11379 Rename from Man-bookmark-make-record.
11380 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
11381 we have the actual man-args. Use Man-getpage-in-background rather
11382 than `man' since the arg is already processed. Let bookmark.el do the
11383 window handling. Only wait for the relevant process.
11384 Don't forget to autoload.
11385
11386 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
11387
11388 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11389
11390 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
11391 New functions.
11392 (woman-mode): Setup bookmark support.
11393
11394 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
11395 (man-bookmark-jump): New functions.
11396 (Man-mode): Setup bookmark support.
11397
11398 2010-04-10 Jari Aalto <jari.aalto@cante.net>
11399
11400 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
11401 recognize ssh-keygen prompt (Bug#2817).
11402
11403 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
11404
11405 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
11406
11407 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
11408
11409 Synchronize with Tramp repository.
11410
11411 * net/tramp.el (tramp-completion-function-alist)
11412 (tramp-file-name-regexp, tramp-chunksize)
11413 (tramp-local-coding-commands, tramp-remote-coding-commands):
11414 Fix docstring.
11415 (tramp-remote-process-environment): Use `format' instead of `concat'.
11416 (tramp-handle-directory-files-and-attributes)
11417 (tramp-get-remote-path): Use `copy-tree'.
11418 (tramp-handle-file-name-all-completions): Backward/ XEmacs
11419 compatibility: Use `completion-ignore-case' if
11420 `read-file-name-completion-ignore-case' does not exist.
11421 (tramp-do-copy-or-rename-file-directly): Do not use
11422 `tramp-handle-file-remote-p'.
11423 (tramp-do-copy-or-rename-file-out-of-band):
11424 Use `tramp-compat-delete-directory'.
11425 (tramp-do-copy-or-rename-file-out-of-band)
11426 (tramp-compute-multi-hops, tramp-maybe-open-connection):
11427 Use `format-spec-make'.
11428 (tramp-find-foreign-file-name-handler)
11429 (tramp-advice-make-auto-save-file-name)
11430 (tramp-set-auto-save-file-modes): Remove superfluous check for
11431 `stringp'. This is done inside `tramp-tramp-file-p'.
11432 (tramp-debug-outline-regexp): New defconst.
11433 (tramp-get-debug-buffer): Use it.
11434 (tramp-check-for-regexp): Use (forward-line 1).
11435 (tramp-set-auto-save-file-modes): Adapt version check.
11436
11437 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
11438 Wrap call of `featurep' for 2nd argument.
11439 (tramp-compat-make-temp-file): Simplify fallback implementation.
11440 (tramp-compat-copy-tree): Remove function.
11441 (tramp-compat-delete-directory): Provide implementation for older
11442 Emacsen.
11443
11444 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
11445 Do not use `tramp-fish-handle-file-attributes.
11446
11447 * net/trampver.el: Update release number.
11448
11449 2010-04-10 Glenn Morris <rgm@gnu.org>
11450
11451 * progmodes/compile.el (compilation-save-buffers-predicate):
11452 Add missing :version tag.
11453
11454 2010-04-09 Sam Steingold <sds@gnu.org>
11455
11456 * progmodes/compile.el (compilation-save-buffers-predicate):
11457 Remove the "autoload" cookie.
11458
11459 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
11460 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
11461 and `bug-reference-prog-mode' can be used in hooks directly.
11462
11463 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
11464
11465 Add --author support to git commit.
11466 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
11467 (vc-git-log-edit-mode): New minor mode.
11468 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
11469 New declarations.
11470
11471 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
11472
11473 * vc-hooks.el, vc-git.el: Improve documentation comments.
11474
11475 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11476
11477 Fix some of the problems in defsubst* (bug#5728).
11478 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
11479 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
11480
11481 2010-04-07 Sam Steingold <sds@gnu.org>
11482
11483 * progmodes/compile.el (compilation-save-buffers-predicate):
11484 New custom variable.
11485 (compile, recompile): Pass it to `save-some-buffers'.
11486
11487 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
11488
11489 * wid-edit.el (widget-choose): Move cursor to the second line of
11490 the buffer (Bug#5695).
11491
11492 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
11493
11494 Add new VC methods: vc-log-incoming and vc-log-outgoing.
11495 * vc.el (vc-print-log-setup-buttons): New function split out from
11496 vc-print-log-internal.
11497 (vc-log-internal-common): New function, a parametrized version of
11498 vc-print-log-internal.
11499 (vc-print-log-internal): Just call vc-log-internal-common with the
11500 right arguments.
11501 (vc-incoming-outgoing-internal):
11502 (vc-log-incoming, vc-log-outgoing): New functions.
11503 (vc-log-view-type): New permanent local variable.
11504
11505 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
11506
11507 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
11508 of the dynamic bound vc-short-log.
11509 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
11510
11511 * vc-git.el (vc-git-log-outgoing): New function.
11512 (vc-git-log-view-mode): Use vc-log-view-type instead
11513 of the dynamic bound vc-short-log.
11514
11515 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
11516 of the dynamic bound vc-short-log. Highlight the tag.
11517 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
11518 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
11519 (vc-hg-incoming-mode): Remove.
11520 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
11521
11522 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
11523
11524 Fix default-directory for vc-root-diff.
11525 * vc.el (vc-root-diff): Bind default-directory to the root
11526 directory for the diff command.
11527
11528 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
11529
11530 * progmodes/verilog-mode.el (verilog-forward-sexp):
11531 (verilog-calc-1): Support "disable fork" and "fork wait" multi
11532 word keywords, suggested by Steve Pearlmutter.
11533 (verilog-pretty-declarations): Support lineup of declarations in
11534 port lists.
11535 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
11536 fix bug for /* / comments.
11537 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
11538 Speed up and simplfy as this is never called with a bound.
11539 (verilog-pretty-declarations): Enhance to line up declarations
11540 inside a parameter list, suggested by Alan Morgan.
11541 (verilog-pretty-expr): Tune assignment regular expression match
11542 string for corner cases; also use markers instead of character
11543 number as indent changes the later.
11544
11545 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
11546
11547 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
11548 as missing keyword.
11549 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
11550 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
11551 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
11552 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
11553 Tennant.
11554 (verilog-keywords):
11555 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
11556 1800-2009 keywords, including "global.".
11557
11558 2010-04-06 John Wiegley <jwiegley@gmail.com>
11559
11560 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
11561 appearing in buffer list (if a live buffer name matched a recentf
11562 file basename). Should use uniquify to offer a real solution.
11563
11564 2010-04-06 John Wiegley <jwiegley@gmail.com>
11565
11566 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
11567 comment to code, and add a :version tag.
11568 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
11569
11570 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
11571
11572 Enable recentf-mode if using virtual buffers.
11573 * ido.el (recentf-list): Declare for byte-compiler.
11574 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
11575 (ido-make-buffer-list): Simplify.
11576 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
11577
11578 2010-04-05 Juri Linkov <juri@jurta.org>
11579
11580 Scrolling commands which scroll a line instead of full screen.
11581 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
11582
11583 * simple.el (scroll-up-line, scroll-down-line): New commands.
11584 Put property isearch-scroll=t on them.
11585
11586 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
11587 Remove commands.
11588
11589 2010-04-05 Juri Linkov <juri@jurta.org>
11590
11591 Scrolling commands which do not signal errors at top/bottom.
11592 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
11593
11594 * simple.el (scroll-up-command, scroll-down-command): New commands.
11595 Put property isearch-scroll=t on them.
11596
11597 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
11598 `scroll-down-command' and [next] from `scroll-up' to
11599 `scroll-up-command'.
11600
11601 * emulation/cua-base.el: Put property CUA=move on
11602 `scroll-up-command' and `scroll-down-command'.
11603 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
11604 and `scroll-down-command' to `cua-scroll-down'.
11605
11606 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
11607
11608 * help.el (describe-mode): Return nil.
11609
11610 2010-04-04 John Wiegley <jwiegley@gmail.com>
11611
11612 * ido.el (ido-use-virtual-buffers): New variable to indicate
11613 whether "virtual buffer" support is enabled for IDO.
11614 (ido-virtual): Face used to indicate virtual buffers in the list.
11615 (ido-buffer-internal): If a buffer is chosen, and no such buffer
11616 exists, but a virtual buffer of that name does (which would be why
11617 it was in the list), recreate the buffer by reopening the file.
11618 (ido-make-buffer-list): If virtual buffers are being used, call
11619 `ido-add-virtual-buffers-to-list' before the make list hook.
11620 (ido-virtual-buffers): New variable which contains a copy of the
11621 current contents of the `recentf-list', albeit pared down for the
11622 sake of speed, and with proper faces applied.
11623 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
11624 create a list of "virtual buffers" to present to the user in
11625 addition to the currently open set. Note that this logic could
11626 get rather slow if that list is too large. With the default
11627 `recentf-max-saved-items' of 200, there is little speed penalty.
11628
11629 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
11630
11631 * font-lock.el: Require CL when compiling.
11632 (font-lock-turn-on-thing-lock): Use `case'.
11633
11634 2010-04-03 Eli Zaretskii <eliz@gnu.org>
11635
11636 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
11637 Zaretskii.
11638
11639 2010-04-02 Juri Linkov <juri@jurta.org>
11640
11641 * ehelp.el (electric-help-orig-major-mode):
11642 New buffer-local variable.
11643 (electric-help-mode): Set it to original major-mode. Doc fix.
11644 (with-electric-help): Use `electric-help-orig-major-mode' instead
11645 of (default-value 'major-mode). Doc fix.
11646 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
11647
11648 2010-04-02 Sam Steingold <sds@gnu.org>
11649
11650 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
11651 `vc-hg-command' with a list of flags.
11652
11653 * progmodes/bug-reference.el (bug-reference-bug-regexp):
11654 Also accept "patch" and "RFE".
11655 (bug-reference-fontify): `bug-reference-url-format' can also be a
11656 function to be able to handle the bug kind.
11657 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
11658
11659 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
11660
11661 * tmm.el (tmm-get-keymap): Check with symbolp before passing
11662 value to fboundp, it may not be a symbol.
11663
11664 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11665
11666 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
11667
11668 2010-03-31 Juri Linkov <juri@jurta.org>
11669
11670 * simple.el (next-line, previous-line): Re-throw a signal
11671 with `signal' instead of using `ding'.
11672 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
11673
11674 2010-03-31 Juri Linkov <juri@jurta.org>
11675
11676 * simple.el (keyboard-escape-quit): Raise deselecting the active
11677 region higher than exiting the minibuffer.
11678 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
11679
11680 2010-03-31 Juri Linkov <juri@jurta.org>
11681
11682 * image.el (image-animated-p): Use `image-metadata' instead of
11683 `image-extension-data'. Get GIF extenstion data from metadata
11684 property `extension-data'.
11685
11686 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11687
11688 * simple.el (append-to-buffer): Simplify.
11689
11690 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
11691
11692 * textmodes/artist.el (artist-mode): Fix typo in docstring.
11693 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
11694
11695 2010-03-31 Kenichi Handa <handa@m17n.org>
11696
11697 * language/sinhala.el (composition-function-table): Fix regexp for
11698 the new Unicode specification.
11699
11700 * language/indian.el (devanagari-composable-pattern)
11701 (tamil-composable-pattern, kannada-composable-pattern)
11702 (malayalam-composable-pattern): Adjust for the new Unicode
11703 specification.
11704 (bengali-composable-pattern, gurmukhi-composable-pattern)
11705 (gujarati-composable-pattern, oriya-composable-pattern)
11706 (telugu-composable-pattern): New variables to cope with the new
11707 Unicode specification. Use them in composition-function-table.
11708
11709 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11710
11711 Make tmm-menubar work for the Buffers menu again (bug#5726).
11712 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
11713 vectors rather than cons cells, as used in menu-bar-update-buffers.
11714
11715 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11716
11717 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
11718 (js-insert-and-indent): Revert 2009-08-15 change, restoring
11719 electric punctuation for "{}();,:" (Bug#5586).
11720
11721 * mail/sendmail.el (mail-default-directory): Doc fix.
11722
11723 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11724
11725 * mail/sendmail.el (mail-default-directory): Doc fix.
11726
11727 2010-03-31 Eli Zaretskii <eliz@gnu.org>
11728
11729 * subr.el (version-regexp-alist, version-to-list)
11730 (version-list-<, version-list-=, version-list-<=)
11731 (version-list-not-zero, version<, version<=, version=): Doc fix.
11732 (Bug#5744).
11733
11734 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
11735
11736 * vc.el (vc-root-diff): Doc fix.
11737
11738 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11739
11740 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
11741
11742 * simple.el (append-to-buffer): Fix last change.
11743
11744 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11745
11746 * simple.el (append-to-buffer): Ensure that point is preserved if
11747 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
11748 (Bug#5749)
11749
11750 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11751
11752 * files.el (auto-mode-case-fold): Change default to t.
11753
11754 2010-03-30 Juri Linkov <juri@jurta.org>
11755
11756 * dired-x.el (dired-omit-mode): Doc fix.
11757
11758 2010-03-30 Juri Linkov <juri@jurta.org>
11759
11760 * replace.el (occur-accumulate-lines): Move occur-engine related
11761 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
11762 to be located after `occur-engine'.
11763
11764 2010-03-30 Juri Linkov <juri@jurta.org>
11765
11766 Make occur handle multi-line matches cleanly with context.
11767 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
11768
11769 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
11770 (occur-engine): Add local variables `ret', `prev-after-lines',
11771 `prev-lines'. Use more arguments for `occur-context-lines'.
11772 Set first elem of its returned list to `data', and the second elem
11773 to `prev-after-lines'. Don't print the separator line.
11774 In the end, print remaining context after-lines.
11775 (occur-context-lines): Add new arguments `begpt', `endpt',
11776 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
11777 after-lines of the previous match with before-lines of the
11778 current match and not overlap them. Return a list with two
11779 values: the output line and the list of context after-lines.
11780
11781 2010-03-30 Juri Linkov <juri@jurta.org>
11782
11783 * replace.el (occur-accumulate-lines): Fix a bug where the first
11784 context line at the beginning of the buffer was missing.
11785
11786 2010-03-30 Eli Zaretskii <eliz@gnu.org>
11787
11788 * files.el: Make bidi-display-reordering safe variable for boolean
11789 values.
11790
11791 2010-03-29 Phil Hagelberg <phil@evri.com>
11792 Chong Yidong <cyd@stupidchicken.com>
11793
11794 * subr.el: Extend progress reporters to perform "spinning".
11795 (progress-reporter-update, progress-reporter-do-update):
11796 Handle non-numeric value arguments.
11797 (progress-reporter--pulse-characters): New var.
11798
11799 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
11800
11801 * progmodes/compile.el (compilation-start): Fix regexp detection
11802 of initial cd command (Bug#5771).
11803
11804 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
11805
11806 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
11807
11808 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
11809
11810 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
11811 * progmodes/gdb-mi.el: Restore.
11812 * progmodes/gdb-ui.el: Remove.
11813 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
11814
11815 2010-03-25 Glenn Morris <rgm@gnu.org>
11816
11817 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
11818 all dired buffers, even tramp ones. (Bug#5755)
11819
11820 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11821
11822 Add "union tags" in mpc.el.
11823 * mpc.el: Remove backward compatibility code.
11824 (mpc-browser-tags): Change default.
11825 (mpc--find-memoize-union-tags): New var.
11826 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
11827 (mpc-cmd-find): Handle the case where the playlist does not exist.
11828 Handle union-tags.
11829 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
11830 (mpc-cmd-add): Use mpc-cmd-flush.
11831 (mpc-tagbrowser-tag-name): New fun.
11832 (mpc-tagbrowser-buf): Use it.
11833 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
11834
11835 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11836
11837 Misc cleanup.
11838 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
11839 Use replace-regexp-in-string.
11840 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
11841 (makefile-imake-mode-syntax-table): Move init into defvar.
11842 (makefile-mode): Use define-derived-mode.
11843
11844 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
11845 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
11846 not be present any more.
11847
11848 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
11849
11850 * faces.el (set-face-attribute): Fix typo in docstring.
11851 (face-valid-attribute-values): Reflow docstring.
11852
11853 2010-03-24 Glenn Morris <rgm@gnu.org>
11854
11855 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
11856
11857 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
11858
11859 * indent.el (indent-for-tab-command): Doc fix.
11860
11861 2010-03-24 Alan Mackenzie <acm@muc.de>
11862
11863 * progmodes/cc-engine.el (c-remove-stale-state-cache):
11864 Fix off-by-one error. Fixes bug #5747.
11865
11866 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
11867
11868 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
11869 (image-dired-read-comment): Doc fix.
11870
11871 * json.el (json-object-type, json-array-type, json-key-type)
11872 (json-false, json-null, json-read-number):
11873 * minibuffer.el (completion-in-region-functions):
11874 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
11875 (cal-tex-cursor-week):
11876 * emacs-lisp/trace.el (trace-function):
11877 * eshell/em-basic.el (eshell/printnl):
11878 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
11879 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
11880 * obsolete/levents.el (allocate-event, event-key, event-object)
11881 (event-point, event-process, event-timestamp, event-to-character)
11882 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
11883 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
11884 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
11885 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
11886 (reftex-highlight-selection): Fix typos in docstrings.
11887
11888 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
11889
11890 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
11891
11892 2010-03-24 Glenn Morris <rgm@gnu.org>
11893
11894 * mail/rmail.el (rmail-highlight-face): Restore option deleted
11895 2008-02-13 without comment; mark it obsolete.
11896 (rmail-highlight-headers): Use rmail-highlight-face once more.
11897
11898 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
11899
11900 * woman.el (woman2-process-escapes): Only consume the newline if
11901 the filler character is on a line by itself (Bug#5729).
11902
11903 2010-03-24 Kenichi Handa <handa@m17n.org>
11904
11905 * language/indian.el (devanagari-composable-pattern): Add more
11906 consonants.
11907
11908 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
11909
11910 * net/trampver.el: Update release number.
11911
11912 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
11913
11914 * net/tramp.el (tramp-find-executable):
11915 Use `tramp-get-connection-buffer'. Make the regexp for checking
11916 output of "wc -l" more robust.
11917 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
11918 (tramp-open-connection-setup-interactive-shell): Remove workaround
11919 for OpenSolaris bug, it is not needed anymore.
11920
11921 2010-03-24 Glenn Morris <rgm@gnu.org>
11922
11923 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
11924
11925 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
11926
11927 * files.el (auto-mode-alist): Accept more verilog file patterns.
11928
11929 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11930
11931 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
11932
11933 2010-03-24 Glenn Morris <rgm@gnu.org>
11934
11935 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
11936 log-edit-before-checkin-process.
11937
11938 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
11939
11940 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
11941
11942 * vc-dispatcher.el (vc-start-logentry): Doc fix.
11943 (log-view-process-buffer, log-edit-extra-flags): Declare.
11944
11945 * log-edit.el (log-edit-before-checkin-process): Doc fix.
11946
11947 2010-03-23 Sam Steingold <sds@gnu.org>
11948
11949 Fix bug#5620: recalculate all markers on compilation buffer
11950 modifications, not on file modifications.
11951 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
11952 variable: the buffer modification time, for buffers not associated with
11953 files.
11954 (compilation-mode): Create it.
11955 (compilation-filter): Update it.
11956 (compilation-next-error-function): Use it instead of
11957 `visited-file-modtime' for timestamp.
11958
11959 2010-03-23 Juri Linkov <juri@jurta.org>
11960
11961 Implement Occur multi-line matches.
11962 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
11963
11964 * replace.el (occur): Doc fix.
11965 (occur-engine): Set `begpt' to the beginning of the first line.
11966 Set `endpt' to the end of the last match line. At first, count
11967 line numbers between `origpt' and `begpt'. Split out code from
11968 `out-line' variable to new let-bindings `match-prefix' and
11969 `match-str'. In `out-line' add non-numeric prefix to all
11970 non-first lines of multi-line matches. Finally, count lines
11971 between `begpt' and `endpt' and add to `lines'.
11972
11973 2010-03-23 Juri Linkov <juri@jurta.org>
11974
11975 * replace.el (occur-accumulate-lines, occur-engine):
11976 Use `occur-engine-line' instead of duplicate code.
11977 (occur-engine-line): New function created from duplicate code
11978 in `occur-accumulate-lines' and `occur-engine'.
11979
11980 * replace.el (occur-engine-line): Add optional arg `keep-props'.
11981 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
11982
11983 2010-03-23 Juri Linkov <juri@jurta.org>
11984
11985 * finder.el: Remove TODO tasks.
11986
11987 * info.el (Info-finder-find-node): Add node "all"
11988 with all package info. Handle a list of multiple keywords
11989 separated by comma.
11990 (info-finder): In interactive use with a prefix argument,
11991 use `completing-read-multiple' to read a list of keywords
11992 separated by comma.
11993
11994 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
11995
11996 Add a new completion style `substring'.
11997 * minibuffer.el (completion-basic--pattern): New function.
11998 (completion-basic-try-completion, completion-basic-all-completions):
11999 Use it.
12000 (completion-substring--all-completions)
12001 (completion-substring-try-completion)
12002 (completion-substring-all-completions): New functions.
12003 (completion-styles-alist): New style `substring'.
12004
12005 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
12006
12007 Get rid of .elc files after removal of the corresponding .el.
12008 * Makefile.in (compile-clean): New target.
12009 (compile-main): Use it.
12010
12011 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
12012
12013 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
12014 don't do make there. When compiling with separate object dir, there
12015 is no Makefile there.
12016
12017 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
12018
12019 Get rid of the ELCFILES abomination, again.
12020 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
12021 (all, compile): Don't call compile-last.
12022 (compile-main): Build the "elcfiles" list dynamically.
12023 (compile-targets): New (internal) target.
12024
12025 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
12026
12027 * Makefile.in (top_srcdir): Define.
12028 (abs_top_builddir): Define.
12029 (srcdir): Don't append `/..'.
12030 (EMACS): Use ${abs_top_builddir}.
12031 (all, compile, compile-always, compile-last): Don't set emacswd.
12032 (update-subdirs, update-authors): Use $(top_srcdir) instead of
12033 $(srcdir).
12034 (lisp): Use $(srcdir) instead of @srcdir@.
12035
12036 2010-03-21 Juri Linkov <juri@jurta.org>
12037
12038 Fix message of multi-line occur regexps and multi-buffer header lines.
12039 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
12040
12041 * replace.el (occur-1): Don't display regexp if it is longer
12042 than window-width. Use `query-replace-descr' to display regexp.
12043 (occur-engine): Don't display regexp in the buffer header for
12044 multi-buffer occur. Display a separate header line with total
12045 match count and regexp for multi-buffer occur.
12046 Use `query-replace-descr' to display regexp.
12047
12048 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
12049
12050 * net/secrets.el: Fix parenthesis.
12051 (secrets-enabled): Fix parenthesis.
12052
12053 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12054
12055 Use more relative file and directory names.
12056 * Makefile.in (EMACS): Arrange for it to work when we chdir.
12057 (setwins, setwins_almost, setwins_for_subdirs):
12058 Don't `cd'; output relative names.
12059 (all, compile, compile-always, compile-last): Set emacswd.
12060 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
12061 Just cd to the lisp source dir so we can use relative file names.
12062
12063 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
12064
12065 2010-03-20 Glenn Morris <rgm@gnu.org>
12066
12067 * textmodes/rst.el: Use faces for font-lock customization, and make the
12068 old -face variables obsolete.
12069 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
12070 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
12071 (rst-block-face, rst-external-face, rst-definition-face)
12072 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
12073 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
12074 Make obsolete.
12075 (rst-font-lock-keywords-function): Update for above changes.
12076
12077 2010-03-20 Juri Linkov <juri@jurta.org>
12078
12079 * s-region.el:
12080 * obsolete/s-region.el: Move to obsolete.
12081
12082 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
12083
12084 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
12085
12086 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
12087
12088 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
12089
12090 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
12091
12092 Add special markup processing for commit logs.
12093 * log-edit.el (log-edit-extra-flags): New variable.
12094 (log-edit): Add new argument MODE. Use that mode when non-nil
12095 instead of the log-view-mode.
12096 (log-view-process-buffer): New function.
12097
12098 * vc.el: Document that the checkin method takes optional
12099 arguments. Document new backend specific method: log-view-mode.
12100 (vc-default-log-edit-mode): New function.
12101 (vc-checkin): Use a backend specific log-view-mode.
12102 Pass extra arguments to the checkin method.
12103 (vc-modify-change-comment): Pass a dummy extra argument.
12104
12105 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
12106 log-edit.
12107 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
12108 (vc-finish-logentry): Process the log buffer before passing it
12109 down. Pass log-edit-extra-flags.
12110
12111 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
12112 command.
12113 (log-edit-extra-flags, log-edit-before-checkin-process):
12114 New declarations.
12115
12116 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
12117 command.
12118 (log-edit-extra-flags, log-edit-before-checkin-process):
12119 New declarations.
12120 (vc-hg-log-edit-mode): New derived mode.
12121
12122 * vc-arch.el (vc-arch-checkin):
12123 * vc-cvs.el (vc-cvs-checkin):
12124 * vc-git.el (vc-git-checkin):
12125 * vc-mtn.el (vc-mtn-checkin):
12126 * vc-rcs.el (vc-rcs-checkin):
12127 * vc-sccs.el (vc-sccs-checkin):
12128 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
12129
12130 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12131
12132 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
12133 parent typo).
12134
12135 2010-03-19 Glenn Morris <rgm@gnu.org>
12136
12137 * password-cache.el (password-cache, password-cache-expiry): Autoload.
12138
12139 2010-03-18 Glenn Morris <rgm@gnu.org>
12140
12141 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
12142
12143 * replace.el (query-replace-history): Give it a doc string.
12144 (map-query-replace-regexp): Use query-replace-from-history-variable
12145 and query-replace-to-history-variable.
12146
12147 * mail/hashcash.el (declare-function): Remove duplicate definition.
12148
12149 * mail/emacsbug.el (report-emacs-bug-pretest-address):
12150 Make it an obsolete alias for report-emacs-bug-address.
12151 (message-strip-special-text-properties): Declare.
12152 (report-emacs-bug): Remove test for a pretest bug address.
12153 Combine message-mode-specific code.
12154
12155 * mail/supercite.el: Don't require sendmail.
12156 (mh-in-header-p): Declare rather than using with-no-warnings.
12157 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
12158 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
12159
12160 * calendar/cal-french.el: Convert to utf-8.
12161
12162 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
12163 Emacs scripts.
12164
12165 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
12166
12167 * net/secrets.el (secrets-enabled): New variable. Use it instead
12168 of a subfeature.
12169
12170 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
12171
12172 * net/secrets.el (top): Register the D-Bus signals only when the
12173 service "org.freedesktop.secrets" can be pinged.
12174 Provide subfeature `enabled'.
12175
12176 2010-03-14 Juri Linkov <juri@jurta.org>
12177
12178 Add finder unknown keywords.
12179
12180 * finder.el (finder-unknown-keywords): New function.
12181
12182 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
12183 to create a Finder node with unknown keywords.
12184
12185 2010-03-14 Juri Linkov <juri@jurta.org>
12186
12187 * finder.el (finder-compile-keywords): Replace `princ' with
12188 `prin1' on a list of symbols interned from keyword strings.
12189
12190 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
12191 a comma, then split keywords using a comma and optional whitespace.
12192 Otherwise, split by whitespace.
12193
12194 * complete.el:
12195 * face-remap.el:
12196 * log-view.el:
12197 * net/hmac-def.el:
12198 * net/hmac-md5.el:
12199 * net/netrc.el:
12200 * progmodes/mixal-mode.el: Fix keywords.
12201
12202 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
12203
12204 * Makefile.in (ELCFILES): Add net/secrets.elc.
12205
12206 * net/secrets.el: New file.
12207
12208 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
12209
12210 * facemenu.el (list-colors-display, list-colors-print): New arg
12211 callback. Use it to allow selecting colors.
12212
12213 * wid-edit.el (widget-image-insert): Insert image prop even if the
12214 current display is non-graphic.
12215 (widget-field-value-set): New fun.
12216 (editable-field): Use it.
12217 (widget-field-value-get): Clean up unused var.
12218 (widget-color-value-create, widget-color--choose-action):
12219 New funs. Allow using list-colors-display to choose color.
12220
12221 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
12222
12223 * cus-edit.el: Resort topmost custom groups.
12224 (custom-buffer-sort-alphabetically): Default to t.
12225 (customize-apropos): Use apropos-parse-pattern.
12226 (custom-search-field): New var.
12227 (custom-buffer-create-internal): Add custom-apropos search field.
12228 (custom-add-parent-links): Don't display parent doc.
12229 (custom-group-value-create): Don't sort top-level custom group.
12230 (custom-magic-value-create): Show visibility button before option name.
12231
12232 (custom-variable-state): New fun, from custom-variable-state-set.
12233 (custom-variable-state-set): Use it.
12234 (custom-group-value-create): Hide options with standard values
12235 using the :hidden-states property. Use progress reporter.
12236
12237 (custom-show): Simplify.
12238 (custom-visibility): Disable images by default.
12239 (custom-variable): New property :hidden-states.
12240 (custom-variable-value-create): Enable images for
12241 custom-visibility widgets. Use :hidden-states property to
12242 determine initial visibility.
12243
12244 * wid-edit.el (widget-image-find): Give images center ascent.
12245 (visibility): Add :on-image and :off-image properties.
12246 (widget-visibility-value-create): Use them.
12247
12248 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
12249
12250 * cus-edit.el (processes): Remove from development group.
12251 (oop, hypermedia): Delete group.
12252 (comm): Promote to top-level group.
12253
12254 * net/browse-url.el (browse-url):
12255 * net/xesam.el (xesam):
12256 * net/tramp.el (tramp):
12257 * net/goto-addr.el (goto-address):
12258 * net/ange-ftp.el (ange-ftp): Put in comm group.
12259
12260 * view.el (view): Remove from editing group.
12261
12262 * uniquify.el (uniquify): Put in files group.
12263
12264 * net/browse-url.el (browse-url):
12265 * ps-print.el (postscript): Put in external group.
12266
12267 * cus-edit.el (outlines):
12268 * textmodes/text-mode.el (text-mode-hook):
12269 * textmodes/table.el (table):
12270 * textmodes/picture.el (picture):
12271 * outline.el (outlines): Put in wp group.
12272
12273 * nxml/nxml-mode.el (nxml): Remove from wp group.
12274
12275 * net/tramp-imap.el (tramp-imap): Put in tramp group.
12276
12277 * mail/metamail.el (metamail): Remove from hypermedia group.
12278
12279 * cus-edit.el (abbrev):
12280 * whitespace.el (whitespace):
12281 * vcursor.el (vcursor):
12282 * reveal.el (reveal):
12283 * hl-line.el (hl-line): Put in convenience group.
12284
12285 * epg-config.el (epg): Put in data group.
12286
12287 * emulation/pc-select.el (pc-select): Put in emulations group.
12288
12289 * calculator.el (calculator): Put in applications group.
12290
12291 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
12292
12293 Add .dir-locals.el support for file-less buffers.
12294 * files.el (hack-local-variables): Split out code to apply local
12295 variable settings ...
12296 (hack-local-variables-apply): ... here. New function.
12297 (hack-dir-local-variables): Use the default directory for when the
12298 buffer does not have an associated file.
12299 (hack-dir-local-variables-non-file-buffer): New function.
12300 * diff-mode.el (diff-mode):
12301 * vc-annotate.el (vc-annotate-mode):
12302 * vc-dir.el (vc-dir-mode):
12303 * log-edit.el (log-edit-mode):
12304 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
12305
12306 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
12307
12308 Add support for shelving snapshots and for showing shelves.
12309 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
12310 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
12311 New functions.
12312 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
12313 (vc-bzr-extra-menu-map): Map them.
12314
12315 2010-03-11 Glenn Morris <rgm@gnu.org>
12316
12317 * cus-edit.el (customize-changed-options-previous-release):
12318 Bump to 23.1.
12319
12320 * image.el (image-animate-max-time): Fix :version tag.
12321
12322 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
12323
12324 * Branch for 23.2.
12325
12326 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
12327
12328 * vc-git.el (vc-git-revision-table): Include remote branches.
12329
12330 2010-03-10 Kim F. Storm <storm@cua.dk>
12331
12332 Animated image API.
12333 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
12334
12335 * image.el (image-animate-max-time): New defcustom.
12336 (image-animated-types): New defconst.
12337 (create-animated-image, image-animate-timer)
12338 (image-animate-start, image-animate-stop, image-animate-timeout)
12339 (image-animated-p): New functions.
12340
12341 * image-mode.el (image-toggle-display-image):
12342 Replace `create-image' with `create-animated-image'.
12343
12344 2010-03-09 Miles Bader <miles@gnu.org>
12345
12346 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
12347 instead of "format:"; this ensures that the output is
12348 newline-terminated.
12349
12350 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
12351
12352 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
12353 that all errors are caught, and that the return value is always a
12354 list (Bug#5692).
12355
12356 2010-03-08 Kenichi Handa <handa@m17n.org>
12357
12358 * language/misc-lang.el (windows-1256): New coding system.
12359 (cp1256): New alias of windows-1256 (bug#5690).
12360
12361 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
12362
12363 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
12364 call to rfc822-bad-address. (Bug#5692)
12365
12366 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
12367
12368 * vc-git.el (vc-git-annotate-extract-revision-at-line):
12369 Use vc-git-root as default directory for revision path (Bug#5657).
12370
12371 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
12372
12373 * calculator.el (calculator): Don't bind split-window-keep-point
12374 (Bug#5674).
12375
12376 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
12377
12378 * vc-git.el: Re-flow to fit into 80 columns.
12379 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
12380 Remove spurious `quote' element in each case alternative.
12381 (vc-git-show-log-entry): Use prog1.
12382 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
12383
12384 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
12385
12386 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
12387
12388 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
12389
12390 * macros.el (insert-kbd-macro): Look up keyboard macro using the
12391 definition, not the name (Bug#5481).
12392
12393 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
12394
12395 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
12396 argument with a local variable. (Bug#5670)
12397
12398 2010-03-02 Juri Linkov <juri@jurta.org>
12399
12400 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
12401
12402 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
12403
12404 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
12405 error when FILENAME and NEWNAME are existing remote directories.
12406
12407 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
12408 parameter DIR-FLAG.
12409
12410 2010-03-02 Glenn Morris <rgm@gnu.org>
12411
12412 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
12413 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
12414
12415 2010-03-01 Kenichi Handa <handa@m17n.org>
12416
12417 * language/burmese.el (burmese-composable-pattern): Rename from
12418 myanmar-composable-pattern.
12419
12420 * international/characters.el (script-list):
12421 * international/fontset.el (script-representative-chars):
12422 Change myanmar to burmese.
12423 (otf-script-alist): Likewise.
12424 (setup-default-fontset): Likewise. Re-fix :otf spec.
12425
12426 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
12427
12428 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
12429
12430 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
12431
12432 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
12433
12434 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
12435
12436 * net/tramp.el (tramp-handle-write-region): START can be a string.
12437 Take care in the checks. Reported by Dan Davison
12438 <davison@stats.ox.ac.uk>.
12439
12440 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
12441
12442 * net/dbus.el (dbus-introspect, dbus-get-property)
12443 (dbus-set-property, dbus-get-all-properties):
12444 Use `dbus-call-method' when noninteractive. (Bug#5645)
12445
12446 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
12447
12448 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
12449 * emacs-lisp/elint.el (elint-add-required-env):
12450 * calendar/icalendar.el (icalendar--add-diary-entry):
12451 * calc/calcalg2.el (math-tracing-integral):
12452 * files.el (recover-session-finish): Use with-current-buffer
12453 instead of save-excursion.
12454
12455 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
12456
12457 Fix in-buffer completion when after-change-functions modify the buffer.
12458 * minibuffer.el (completion--replace): New function.
12459 (completion--do-completion): Use it and use relative movement.
12460
12461 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
12462
12463 * international/fontset.el (setup-default-fontset): Fix :otf spec.
12464
12465 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
12466
12467 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
12468 Allow the characters _<> in the stack entry (Bug#5653).
12469
12470 2010-02-26 Kenichi Handa <handa@m17n.org>
12471
12472 * language/burmese.el: Fix entries in composition-function-table.
12473 (myanmar-composable-pattern): New variable.
12474
12475 * international/fontset.el (setup-default-fontset): Add an entry
12476 for myanmar.
12477
12478 * international/characters.el (script-list): Add Myanmar
12479 Extended-A.
12480
12481 2010-02-26 Glenn Morris <rgm@gnu.org>
12482
12483 * custom.el (custom-initialize-delay): Doc fix.
12484
12485 * mail/sendmail.el (send-mail-function): Autoload the call
12486 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
12487
12488 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
12489
12490 * files.el (hack-local-variables-filter): For eval forms, also
12491 check safe-local-variable-p (Bug#5636).
12492
12493 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
12494
12495 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
12496 setting the modes by `ignore-errors'. It might fail, for example
12497 if the file is not owned by the user but the group.
12498 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
12499
12500 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
12501
12502 * files.el (directory-listing-before-filename-regexp):
12503 Use stricter matching for iso-style dates, to avoid false matches with
12504 date-like filenames (Bug#5597).
12505
12506 * htmlfontify.el (htmlfontify): Doc fix.
12507
12508 * eshell/eshell.el (eshell): Doc fix.
12509
12510 * startup.el (fancy-about-screen): In mode-line, apply
12511 mode-line-buffer-id face only to the buffer name (Bug#5613).
12512
12513 2010-02-20 Kevin Ryde <user42@zip.com.au>
12514
12515 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12516 In `watcom' anchor regexp to start of line, to avoid slowness
12517 (Bug#5599).
12518
12519 2010-02-20 Eli Zaretskii <eliz@gnu.org>
12520
12521 * subr.el (remove-yank-excluded-properties): Explain in a comment
12522 why `category' property is removed.
12523
12524 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
12525
12526 * isearch.el (isearch-update-post-hook, isearch-update):
12527 Revert 2010-02-17 change.
12528
12529 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
12530
12531 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
12532 (icalendar--convert-weekly-to-ical)
12533 (icalendar--convert-yearly-to-ical)
12534 (icalendar--convert-block-to-ical)
12535 (icalendar--convert-cyclic-to-ical)
12536 (icalendar--convert-anniversary-to-ical): Take care of time
12537 specifications where hour has 1-digit only (Bug#5549).
12538
12539 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
12540
12541 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
12542 of disassemble output in GDB 7.1.
12543
12544 2010-02-19 Glenn Morris <rgm@gnu.org>
12545
12546 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
12547 property. (Bug#5593)
12548
12549 2010-02-18 Sam Steingold <sds@gnu.org>
12550
12551 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
12552
12553 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
12554
12555 Use abbreviated file names in bookmarks (bug#5591).
12556 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
12557 calls to expand-file-name.
12558 (bookmark-relocate): Use abbreviated file names in bookmarks.
12559 (bookmark-load): Use abbreviated file names in messages.
12560
12561 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
12562
12563 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
12564 expand "." and "..". Reported by Thierry Volpiatto
12565 <thierry.volpiatto@gmail.com>.
12566
12567 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
12568
12569 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
12570 permissions of the temporary file to "0600". In case the remote
12571 file has no read permissions for the owner, there might be
12572 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
12573
12574 22010-02-18 Glenn Morris <rgm@gnu.org>
12575
12576 * emacs-lisp/authors.el (authors-renamed-files-alist):
12577 Add entries for INSTALL.CVS.
12578
12579 2010-02-17 Mark A. Hershberger <mah@everybody.org>
12580
12581 * vc-bzr.el: Fix typo in Known Bugs section.
12582
12583 * isearch.el (isearch-update-post-hook): New hook.
12584 (isearch-update): Use the new hook.
12585
12586 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
12587
12588 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
12589 Fix errors in copying directories.
12590 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
12591 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
12592 (tramp-handle-delete-file)
12593 (tramp-handle-dired-recursive-delete-directory)
12594 (tramp-handle-write-region): Flush also the cache for the upper
12595 directory.
12596
12597 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
12598
12599 * simple.el (save-interprogram-paste-before-kill): Doc fix.
12600
12601 * cus-edit.el (hardware): Doc fix.
12602
12603 * man.el (man): Add to external custom group.
12604
12605 * delim-col.el (columns): Move to wp custom group.
12606
12607 * doc-view.el (doc-view): Add to data custom group.
12608
12609 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
12610
12611 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
12612 by ispell-parse-output (Bug#5575).
12613
12614 2010-02-16 Kenichi Handa <handa@m17n.org>
12615
12616 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
12617 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
12618 (skkdic-convert): Use `euc-japan' coding system for writing.
12619
12620 2010-02-16 Glenn Morris <rgm@gnu.org>
12621
12622 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
12623 tex-main-file before using it. (Bug#5562)
12624
12625 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
12626
12627 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
12628 warnings, since it is annoying for the user to see them each time he
12629 runs the code.
12630
12631 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
12632
12633 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
12634 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
12635 instead of PROC for caching "first-password-request". Otherwise,
12636 new processes would not profit from passwords already entered.
12637
12638 * net/tramp-cache.el (tramp-dump-connection-properties):
12639 Don't save "first-password-request" property.
12640
12641 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
12642
12643 * outline.el (outline-head-from-level):
12644 * simple.el (with-wrapper-hook):
12645 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
12646 (elint-defun, elint-buffer-env, elint-top-form-logged)
12647 (elint-unbound-variable):
12648 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
12649 Fix typos in docstrings.
12650
12651 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
12652
12653 * files.el (insert-directory): When WILDCARD-REGEXP and
12654 FULL-DIRECTORY-P are nil, insert the file entry instead of the
12655 whole directory. (Bug#5551)
12656
12657 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
12658 dired's alignment sanity. (Bug#5516)
12659
12660 2010-02-14 Juri Linkov <juri@jurta.org>
12661
12662 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
12663 Remove remaining ^H with their preceding chars. (Bug#5566)
12664
12665 2010-02-13 Glenn Morris <rgm@gnu.org>
12666
12667 * simple.el (transpose-subr): Give it a doc-string.
12668
12669 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
12670 Doc fixes.
12671
12672 2010-02-12 Juri Linkov <juri@jurta.org>
12673
12674 * arc-mode.el (archive-unique-fname): Make directories for nested
12675 archives. (Bug#5540)
12676
12677 2010-02-12 Juri Linkov <juri@jurta.org>
12678
12679 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
12680
12681 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
12682
12683 * subr.el (copy-overlay): Handle deleted overlays.
12684
12685 * man.el (Man-completion-table): Don't signal an error if we can't run
12686 manual-program (bug#4056).
12687
12688 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
12689
12690 * textmodes/artist.el (artist-mt): Fix typos in docstring.
12691
12692 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12693
12694 * info.el (Info-bookmark-jump): Simplify.
12695
12696 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
12697 (bookmark-default-handler): Accept new bookmark field `buffer'.
12698
12699 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
12700
12701 * iswitchb.el (iswitchb-completions): Revert last change.
12702
12703 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
12704
12705 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
12706 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
12707 This prevents file names like "~/" being listed literally.
12708
12709 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
12710
12711 * term/xterm.el (xterm-maybe-set-dark-background-mode):
12712 Remove dead code. (Bug#5546)
12713
12714 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
12715
12716 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
12717 correctly (Bug#5548).
12718
12719 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
12720
12721 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
12722 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
12723
12724 2010-02-08 Kenichi Handa <handa@m17n.org>
12725
12726 * international/mule-util.el (with-coding-priority): Add autoload
12727 cookie for putting `lisp-indent-function'.
12728
12729 2010-02-07 Glenn Morris <rgm@gnu.org>
12730
12731 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
12732 Move F2003 named interfaces from keywords-2 to keywords-1, and
12733 use function-name-face rather than constant-face.
12734 Simplify "abstract interface" regexp.
12735
12736 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
12737
12738 * eshell/esh-util.el (eshell-file-attributes): New optional arg
12739 ID-FORMAT. Pass it to `file-attributes'.
12740
12741 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
12742
12743 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
12744
12745 * faces.el (set-face-attribute): Allow calling
12746 internal-set-lisp-face-attribute with 'unspecified family and
12747 foundry argument (Bug#5536).
12748
12749 2010-02-07 Glenn Morris <rgm@gnu.org>
12750
12751 * progmodes/f90.el (f90-font-lock-keywords-2)
12752 (f90-looking-at-type-like, f90-looking-at-program-block-end):
12753 Handle F2003 named interfaces.
12754
12755 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
12756
12757 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
12758 beg and end before calling c-get-state-before-change-functions.
12759
12760 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
12761
12762 * vc-bzr.el (vc-bzr-dir-extra-headers):
12763 Disable the pending merges header.
12764
12765 2010-02-05 Juri Linkov <juri@jurta.org>
12766
12767 * doc-view.el (doc-view-mode):
12768 * image-mode.el (image-mode): Put property mode-class=special.
12769 (Bug#4896)
12770
12771 2010-02-05 Mark A. Hershberger <mah@everybody.org>
12772
12773 * vc-svn.el (vc-svn-revision-table): New function.
12774
12775 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
12776
12777 * net/ange-ftp.el (ange-ftp-insert-directory):
12778 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
12779 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
12780 Handle also directories. (Bug#5478)
12781
12782 2010-02-05 Glenn Morris <rgm@gnu.org>
12783
12784 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
12785
12786 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
12787
12788 * startup.el (command-line-1): Convert options beginning with a
12789 single dash as well (Bug#5519).
12790
12791 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
12792
12793 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
12794 * minibuffer.el (completion-initials-expand): Only check the presence
12795 of delims *within* the boundaries, since otherwise the / delim is
12796 always found for files.
12797
12798 Fix up various corner case problems.
12799 * doc-view.el (doc-view-last-page-number): New function.
12800 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
12801 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
12802 (doc-view-kill-proc): Avoid inf-loop in freak cases.
12803 (doc-view-reconvert-doc): Use the new recursive delete-directory.
12804 (doc-view-convert-current-doc): Don't create the resolution.el file
12805 here any more.
12806 (doc-view-pdf/ps->png): Do it here instead.
12807 (doc-view-already-converted-p): Check that resolution.el is present.
12808 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
12809 windows that are not yet showing images.
12810
12811 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
12812
12813 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
12814 `dired-uncache' for every elemnt which is an absolute file name.
12815
12816 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
12817 directory, handle its directory component.
12818 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
12819 function is called permanently and creates noise, otherwise.
12820
12821 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
12822 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
12823 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
12824
12825 2010-02-04 David Burger <dburger@google.com> (tiny change)
12826
12827 * macros.el (apply-macro-to-region-lines):
12828 Minor simplification. (Bug#5485)
12829
12830 2010-02-04 Glenn Morris <rgm@gnu.org>
12831
12832 * mail/rmail.el (rmail-show-message-1): Handle malformed
12833 quoted-printable text. (Bug#5441)
12834
12835 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
12836
12837 * simple.el (visual-line-mode): Capitalize lighter.
12838
12839 2010-02-03 John Wiegley <jwiegley@gmail.com>
12840
12841 * iswitchb.el (iswitchb-completions): Add bookmark files to the
12842 list of files considered for "virtual buffer" completions.
12843
12844 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
12845
12846 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
12847 also in case of (and (not full) (not wildcard)). This is needed
12848 when dired is called with a list of files, which are not in
12849 `default-directory'. (Bug#5478)
12850
12851 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
12852
12853 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
12854
12855 2010-02-02 Juri Linkov <juri@jurta.org>
12856
12857 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
12858 from unidiff to allow function-line after @@.
12859
12860 2010-02-02 Juri Linkov <juri@jurta.org>
12861
12862 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
12863 '(RCS SCCS) with inverted condition.
12864
12865 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
12866
12867 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
12868 messages.
12869
12870 2010-02-01 Juri Linkov <juri@jurta.org>
12871
12872 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
12873 compare with "pkunzip" and "pkzip" instead of only "pkzip".
12874 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
12875 only when (car archive-zip-extract) is "unzip". (Bug#5475)
12876
12877 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
12878
12879 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
12880 (doc-view-revert-buffer): New command.
12881 (doc-view-mode-map): Use it.
12882
12883 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
12884
12885 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
12886 pending merge is detected.
12887
12888 2010-01-31 Juri Linkov <juri@jurta.org>
12889
12890 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
12891 beginning of interactive spec like all other grep commands do.
12892 Put "all" in front of "gz". (Bug#5260)
12893
12894 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
12895
12896 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
12897
12898 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
12899
12900 * dirtrack.el (dirtrack): Warn instead of signalling error if the
12901 regexp is incorrect (Bug#5476).
12902
12903 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
12904
12905 * net/tramp.el (tramp-handle-insert-directory): Handle also
12906 symlinks, when FILENAME is not in `default-directory'.
12907
12908 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
12909
12910 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
12911 FILE is not in `default-directory'. (Bug#5478)
12912
12913 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
12914 of SWITCHES. Handle the case, FILENAME is not in
12915 `default-directory'. (Bug#5478)
12916 (tramp-register-file-name-handlers): Add safe-magic property.
12917
12918 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
12919
12920 * arc-mode.el (archive-zip-extract): Quote the argument passed to
12921 unzip (Bug#5475).
12922
12923 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
12924
12925 * progmodes/flymake.el (flymake-allowed-file-name-masks)
12926 (flymake-master-make-header-init): Add other C++ filename masks.
12927 (flymake-find-possible-master-files)
12928 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
12929
12930 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
12931
12932 Fix some busybox annoyances.
12933
12934 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
12935 not responding." string.
12936 (tramp-open-connection-setup-interactive-shell): Dump stty
12937 settings. Enable "neveropen" arg for all `tramp-send-command'
12938 calls. Handle "=" in variable values properly.
12939 (tramp-find-inline-encoding): Raise an error, when no encoding is
12940 found.
12941 (tramp-wait-for-output): Check, whether PROC buffer is available.
12942 Remove spurious " ^H" sequences, sent by busybox.
12943 (tramp-get-ls-command): Suppress coloring, if possible.
12944
12945 2010-01-28 Glenn Morris <rgm@gnu.org>
12946
12947 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
12948
12949 * log-edit.el (log-edit-strip-single-file-name): Add missing
12950 :safe, :group, and :version tags.
12951
12952 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
12953
12954 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
12955 buffers. (Bug#5477)
12956
12957 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
12958
12959 * files.el (delete-directory): Handle moving to trash without
12960 first doing recursion (Bug#5436).
12961
12962 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
12963
12964 * vc-hooks.el (vc-path): Mark as obsolete.
12965
12966 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
12967
12968 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
12969 names too.
12970
12971 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
12972 for the short log.
12973 (vc-bzr-log-view-mode): Adjust regexp for the above change.
12974
12975 2010-01-25 Mark A. Hershberger <mah@everybody.org>
12976
12977 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
12978
12979 * vc-bzr.el (vc-bzr-revision-table): New function.
12980
12981 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
12982
12983 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
12984 diff-index command. This requires at least git-1.5.5. (Bug#1589).
12985
12986 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
12987
12988 Remove support for adding --signoff on commit.
12989 Future support will use an incompatible generic mechanism.
12990 * vc-git.el (vc-git-add-signoff): Remove variable.
12991 (vc-git-toggle-signoff): Remove function.
12992 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
12993
12994 * term/xterm.el (xterm-maybe-set-dark-background-mode):
12995 Rename from xterm-set-background-mode. Return t if the background mode
12996 was set.
12997 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
12998 earlier, call it again in case the background mode has changed.
12999
13000 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
13001
13002 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
13003 (Bug#3541).
13004
13005 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
13006
13007 * emacs-lisp/assoc.el (aelement): Doc fix.
13008 (aput, adelete, amake): Use lexical-let (Bug#5450).
13009
13010 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
13011
13012 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
13013 is the same as subprogram call, not declaration. (Bug#5435).
13014
13015 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
13016
13017 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
13018 (tramp-smb-maybe-open-connection): Use it.
13019
13020 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
13021
13022 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
13023
13024 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
13025
13026 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
13027 just because we see "encoding: 8bit".
13028 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
13029
13030 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
13031
13032 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
13033
13034 2010-01-22 Eli Zaretskii <eliz@gnu.org>
13035
13036 * jka-compr.el (jka-compr-load): If load-file is not in
13037 load-history, try its file-truename version. (bug#5447)
13038
13039 2010-01-21 Alan Mackenzie <acm@muc.de>
13040
13041 Fix a situation where deletion of a cpp construct throws an error.
13042 * progmodes/cc-engine.el (c-invalidate-state-cache):
13043 Before invoking c-with-all-but-one-cpps-commented-out, check that the
13044 special cpp construct is still in the buffer.
13045 (c-parse-state): Record the special cpp with markers, not numbers.
13046
13047 2010-01-21 Kenichi Handa <handa@m17n.org>
13048
13049 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
13050 process last-command-event, as it is now decoded first (Bug#5380).
13051
13052 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
13053
13054 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
13055
13056 2010-01-20 Glenn Morris <rgm@gnu.org>
13057
13058 * indent.el (tab-always-indent): Fix custom-type.
13059
13060 2010-01-19 Alan Mackenzie <acm@muc.de>
13061
13062 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
13063 buffer throws "args out of range".
13064 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
13065 playing the role of delimiter.
13066
13067 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
13068
13069 * progmodes/ada-mode.el: Fix bug#5400.
13070 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
13071 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
13072 changed. Delete RECURSIVE parameter; never used. Improve doc string.
13073 Improve comments in "is" portion. Handle null procedure declaration.
13074 (ada-move-to-end): Improve doc string.
13075
13076 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
13077
13078 * ido.el (ido-cur-list): Initialize to nil.
13079 Remove obsolete information from commentary.
13080 (ido-choice-list): Initialize to nil.
13081 (ido-get-bufname): Reject minibuffers.
13082 (ido-make-buffer-list): If "default" is a nonexistent
13083 buffer, ignore it, as per the function's comment.
13084 (ido-kill-buffer-internal): New function.
13085 (ido-kill-buffer-at-head): Use it.
13086 (ido-visit-buffer): Likewise.
13087
13088 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
13089
13090 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
13091
13092 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
13093
13094 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
13095 Fix typos in chart titles.
13096
13097 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
13098 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
13099 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
13100 (describe-class, eieio-describe-generic, describe-generic):
13101 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
13102 (eieio-speedbar-expand):
13103 * emulation/viper-cmd.el (viper-exec-form-in-vi)
13104 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
13105 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
13106 (viper-del-backward-char-in-replace, viper-backward-indent)
13107 (viper-brac-function, viper-register-to-point, viper-submit-report):
13108 * net/tramp.el (tramp-remote-coding-commands):
13109 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
13110 Fix typos in docstrings.
13111
13112 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
13113
13114 * mail/sendmail.el (mail-yank-original): Set the mark if the
13115 specified function for yanking does not do it.
13116
13117 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
13118
13119 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
13120
13121 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
13122 resyncing a directory.
13123
13124 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
13125
13126 * progmodes/ada-mode.el: Fix bug#1920.
13127 (ada-ident-re): Delete ., allow multibyte characters.
13128 (ada-goto-label-re): New; matches goto labels.
13129 (ada-block-label-re): New; matches block labels.
13130 (ada-label-re): New; matches both.
13131 (ada-named-block-re): Deleted; callers changed to use
13132 `ada-block-label-re' instead.
13133 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
13134 Use `ada-block-label-re'.
13135 (ada-indent-on-previous-lines): Improve handling of goto labels.
13136 (ada-get-indent-block-start): Special-case block label.
13137 (ada-get-indent-label): Split into `ada-indent-block-label' and
13138 `ada-indent-goto-label'.
13139 (ada-goto-stmt-start, ada-goto-next-non-ws):
13140 Optionally ignore goto labels.
13141 (ada-goto-next-word): Simplify.
13142 (ada-indent-newline-indent-conditional): Insert newline before
13143 trying to fix indentation; doc fix.
13144
13145 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
13146
13147 * calc/calc.el (calc-command-flags): Give it an initial value.
13148
13149 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
13150
13151 * files.el (minibuffer-with-setup-hook):
13152 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
13153 (artist-key-draw-continously, artist-key-do-continously-continously)
13154 (artist-key-set-point-continously, artist-mouse-draw-continously):
13155 Fix typos in docstrings.
13156
13157 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
13158
13159 * nxml/nxml-mode.el (nxml-extend-after-change-region):
13160 Never return t (Bug#3898).
13161
13162 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
13163
13164 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
13165 can parse the output of the external commands (Bug#5279).
13166
13167 2010-01-16 Jari Aalto <jari.aalto@cante.net>
13168
13169 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
13170
13171 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
13172
13173 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
13174
13175 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
13176
13177 * startup.el (command-line): Remove unused --icon-type arg.
13178 Handle --display arg, passing it to command-line-1 (Bug#5392).
13179
13180 2010-01-16 Mario Lang <mlang@delysid.org>
13181
13182 * emacs-lisp/chart.el (chart-translate-namezone):
13183 * textmodes/artist.el (artist-compute-popup-menu-table):
13184 Remove duplicated words in doc-strings.
13185
13186 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
13187
13188 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
13189 to mairix-search to suppress threading (Bug#5342).
13190
13191 2010-01-15 Kenichi Handa <handa@m17n.org>
13192
13193 * international/mule-cmds.el (canonicalize-coding-system-name):
13194 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
13195
13196 2010-01-15 Glenn Morris <rgm@gnu.org>
13197
13198 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
13199
13200 * wid-edit.el (widget-keymap): Doc fix.
13201
13202 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
13203 former seems to be more widely accepted by various svn versions.
13204
13205 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
13206
13207 * find-cmd.el (find-constituents):
13208 * vc-arch.el (vc-arch-root):
13209 * window.el (window-body-height, pop-up-frames):
13210 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
13211 * progmodes/ada-stmt.el (ada-if):
13212 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
13213 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
13214 (ispell-encoding8-command, ispell-aspell-supports-utf8)
13215 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
13216
13217 * progmodes/flymake.el (flymake-post-syntax-check):
13218 Fix typo in error message.
13219
13220 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
13221
13222 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
13223 which is always a string. (Bug#5313)
13224
13225 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
13226
13227 * progmodes/ada-xref.el (ada-default-prj-properties):
13228 Simplify previous change.
13229
13230 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
13231
13232 * progmodes/ada-xref.el (ada-default-prj-properties):
13233 Default ada_project_path to $ADA_PROJECT_PATH.
13234
13235 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
13236
13237 * progmodes/ada-mode.el (ada-create-keymap):
13238 Override `narrow-to-defun' with `ada-narrow-to-defun'.
13239
13240 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
13241
13242 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
13243 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
13244 (ada-get-current-indent, ada-imenu-generic-expression)
13245 (ada-which-function): Check for it.
13246
13247 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
13248
13249 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
13250 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
13251
13252 2010-01-14 Glenn Morris <rgm@gnu.org>
13253
13254 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
13255
13256 2010-01-14 Kenichi Handa <handa@m17n.org>
13257
13258 * composite.el (auto-composition-mode): Make it a buffer local
13259 variable (permanent-local).
13260 (auto-composition-function): Set the default value to
13261 auto-compose-chars.
13262 (auto-composition-mode): Make it a simple function, not a minor mode.
13263 (global-auto-composition-mode): Likewise.
13264 (turn-on-auto-composition-if-enabled): Delete it.
13265
13266 2010-01-13 Karl Fogel <kfogel@red-bean.com>
13267
13268 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
13269
13270 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
13271
13272 * files.el (copy-directory): Compute target for recursive
13273 directories with identical names. (Bug#5343)
13274
13275 2010-01-12 Glenn Morris <rgm@gnu.org>
13276
13277 * mail/emacsbug.el (report-emacs-bug-pretest-address):
13278 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
13279
13280 2010-01-11 Sam Steingold <sds@gnu.org>
13281
13282 * imenu.el (imenu-default-create-index-function): Detect infinite
13283 loops caused by imenu-prev-index-position-function.
13284
13285 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
13286
13287 * htmlfontify.el (htmlfontify-load-rgb-file)
13288 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
13289 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
13290 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
13291 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
13292 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
13293 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
13294 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
13295 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
13296 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
13297 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
13298 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
13299 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
13300 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
13301 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
13302 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
13303 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
13304 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
13305 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
13306 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
13307 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
13308 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
13309 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
13310 backslash-quoting from parentheses, etc.
13311
13312 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
13313
13314 * progmodes/js.el: Autoload javascript-mode alias.
13315
13316 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
13317
13318 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
13319 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
13320 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
13321 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
13322 Fix typos in docstrings.
13323 (ffap-url-regexp): Doc fix.
13324 (ffap-at-mouse): Fix typo in message.
13325
13326 2010-01-11 Glenn Morris <rgm@gnu.org>
13327
13328 * version.el (emacs-copyright): Set copyright year to 2010.
13329
13330 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
13331
13332 * format.el (format-annotate-function): Only set
13333 write-region-post-annotation-function after running to-fn so as not to
13334 affect nested write-region calls (bug#5273).
13335
13336 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
13337
13338 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
13339 wisent/python.el.
13340
13341 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
13342
13343 * man.el (Man-goto-section): Signal error if the section is not
13344 found (Bug#5317).
13345
13346 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
13347
13348 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
13349 URLs with a leading triple slash in the file: scheme. (Bug#5345)
13350
13351 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
13352
13353 * progmodes/compile.el: Don't treat compile-command as safe if
13354 compilation-read-command might be nil (Bug#4218).
13355
13356 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
13357
13358 * startup.el (command-line-1): Use orig-argi to check for ignored X and
13359 NS options.
13360
13361 2010-01-08 Kenichi Handa <handa@m17n.org>
13362
13363 * international/fontset.el (build-default-fontset-data):
13364 Exclude characters in scripts kana, hangul, han, or cjk-misc.
13365
13366 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
13367
13368 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
13369 to `create-file-buffer' as it expects, not just a buffer name.
13370 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
13371 to help uniquify. (Bug#3224)
13372
13373 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
13374
13375 * font-setting.el (font-setting-change-default-font): Use user-spec
13376 instead of name.
13377
13378 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
13379
13380 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
13381
13382 2010-01-05 Tom Tromey <tromey@redhat.com>
13383
13384 * progmodes/python.el (python-font-lock-keywords):
13385 Handle qualified decorators (Bug#881).
13386
13387 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
13388
13389 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
13390 in a lightweight checkout.
13391
13392 2010-01-05 Kenichi Handa <handa@m17n.org>
13393
13394 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
13395
13396 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
13397
13398 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
13399
13400 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
13401
13402 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
13403 checkouts. (Bug#618)
13404 (vc-bzr-log-view-mode): Also highlight the author.
13405 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
13406 (vc-bzr-shelve-menu-map):
13407 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
13408 (vc-bzr-shelve-apply): Make prompt more explicit.
13409
13410 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
13411
13412 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
13413 They are valid characters in URL paths (rfc3986), and at least
13414 Firefox does not understand the encoded version (Bug#3166).
13415
13416 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
13417
13418 * progmodes/octave-mod.el (octave-end-keywords)
13419 (octave-block-begin-or-end-regexp, octave-block-match-alist):
13420 Add "end" keyword (Bug#3061).
13421 (octave-end-as-array-index-p): New function.
13422 (calculate-octave-indent): Use it.
13423
13424 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13425
13426 * bookmark.el: Consistently put the text property on the bookmark name.
13427 (bookmark-bmenu-marks-width): Bump back to 2, to include
13428 annotation marks.
13429 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
13430 property on the bookmark name, instead of not putting it at all.
13431 (bookmark-bmenu-list): Fix where we put the text property.
13432
13433 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13434
13435 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
13436 for showing buffer modified state (as added in the previous change).
13437
13438 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13439
13440 * bookmark.el: Show modified state of bookmark buffer more accurately.
13441 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
13442 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
13443 (with-buffer-modified-unmodified): New macro.
13444 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
13445 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
13446 Use new macro to preserve the buffer modified state.
13447
13448 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13449
13450 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
13451 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
13452 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
13453 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
13454 (bookmark-bmenu-rename, bookmark-bmenu-locate)
13455 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
13456 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
13457
13458 2010-01-02 Eli Zaretskii <eliz@gnu.org>
13459
13460 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13461 Make the lines in the generated doc string shorter. (Bug#4668)
13462
13463 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
13464
13465 * net/rcirc.el: Add follow-link binding (Bug#4738).
13466
13467 2010-01-02 Eli Zaretskii <eliz@gnu.org>
13468
13469 * Makefile.in (bzr-update): Rename from cvs-update.
13470 (cvs-update): New target for backward compatibility.
13471
13472 * makefile.w32-in (bzr-update): Rename from cvs-update.
13473 (cvs-update): New target for backward compatibility.
13474
13475 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13476
13477 * bookmark.el: Remove gratuitous gratitude.
13478
13479 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13480
13481 * bookmark.el (bookmark-bmenu-any-marks): New function.
13482 (bookmark-bmenu-save): Clear buffer modification if no marks.
13483
13484 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13485
13486 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
13487 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
13488 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
13489 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
13490
13491 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
13492 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
13493 To: emacs-devel {_AT_} gnu.org
13494 Subject: bookmark.el bug report
13495 Date: Mon, 28 Dec 2009 14:19:16 +0800
13496 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
13497
13498 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13499
13500 * bookmark.el: Improvements suggested by Drew Adams:
13501 (bookmark-bmenu-ensure-position): New name for
13502 `bookmark-bmenu-check-position'. Just ensure the position,
13503 don't return any meaningful value.
13504 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
13505 New constants.
13506
13507 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
13508
13509 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
13510 (bookmark-yank-point, bookmark-bmenu-check-position):
13511 Fix typos in docstrings.
13512 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
13513 (bookmark-name-from-full-record, bookmark-get-position)
13514 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
13515 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
13516 Remove useless quoting of parenthesis, etc. in docstrings.
13517
13518 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
13519 (ediff-append-custom-diff): Fix typo in error message.
13520 (ediff-meta-mark-equal-files): Fix typos in messages.
13521
13522 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
13523
13524 * net/imap-hash.el (imap-hash-make): Doc fix.
13525 (imap-hash-test): Fix typo in error message; reflow docstring.
13526 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
13527 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
13528 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
13529 Fix typos in docstrings.
13530 (imap-hash-open-connection): Fix typo in error message.
13531
13532 * play/gomoku.el (gomoku): Fix typos in docstring.
13533
13534 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
13535 (gdb-jsonify-buffer): Fix typos in docstring.
13536 (gdb-goto-breakpoint): Fix typo in error message.
13537 ("Display Other Windows"): Fix typo in help message.
13538 (gdb-speedbar-expand-node): Fix typo in question.
13539
13540 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
13541 (idlwave-html-system-help-location, idlwave-html-help-location)
13542 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
13543 (idlwave-help-browser-generic-args, idlwave-help-directory)
13544 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
13545 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
13546 (idlwave-online-help, idlwave-help-html-link)
13547 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
13548 Fix typos in docstrings.
13549 (idlwave-help-with-source, idlwave-help-find-routine-definition):
13550 Reflow docstrings.
13551 (idlwave-help-assistant-start): Fix typo in error message.
13552
13553 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
13554 (octave-electric-space): Fix typos in docstrings.
13555
13556 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
13557
13558 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
13559
13560 2010-01-01 Juri Linkov <juri@jurta.org>
13561
13562 * comint.el (comint-input-ring-size): Make it a defcustom and
13563 increase the default to 500 (Bug#5148).
13564
13565 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
13566
13567 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
13568 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
13569 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
13570
13571 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
13572
13573 Show working revision correctly for mercurial.
13574 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
13575 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
13576
13577 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
13578
13579 Declare some functions for the byte-compiler.
13580 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
13581 (speedbar-timer-fn, speedbar-change-expand-button-char)
13582 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
13583
13584 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
13585
13586 This changeset reverts GDB Graphical Interface to use annotations.
13587 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
13588
13589 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
13590
13591 Make vc-dir work on subdirectories of the bzr root.
13592 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
13593 Return file names relative to it.
13594 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
13595 relative directory to vc-bzr-after-dir-status.
13596
13597 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
13598
13599 * font-lock.el (font-lock-refresh-defaults): New function, which
13600 can be used to let font-lock react to external changes in
13601 variables like font-lock-defaults and keywords.
13602 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
13603
13604 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
13605
13606 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
13607
13608 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
13609
13610 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
13611
13612 Supersede color.diff settings in git log (bug#5211).
13613
13614 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
13615 escape chars in its output when the user has color.diff set to `always'.
13616 This fix works on git 1.4.2 and newer (released on 2006-08-13).
13617
13618 2009-12-26 Kevin Ryde <user42@zip.com.au>
13619
13620 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
13621 node. Keep previous "Index" name to work with past coreutils too.
13622
13623 * man.el (man): Revise docstring a bit to show -a and -l as
13624 examples. Add -k description since support for it has otherwise
13625 been a secret. (Further to bug#3717.)
13626 (Man-bgproc-sentinel): When "-k foo" produces no output show error
13627 "no matches" rather than "Can't find manpage", as the latter reads
13628 like -k was interpreted as a page name, which is not so. (Bug#5431)
13629
13630 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
13631
13632 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
13633 switches. Check also for //SUBDIRED// line.
13634
13635 2009-12-25 Kenichi Handa <handa@m17n.org>
13636
13637 * language/indian.el (devanagari-composable-pattern): Fix to
13638 handle ZWNJ and ZWJ. Use it in composition-function-table for
13639 Devanagari.
13640 (malayalam-composable-pattern): Fix previous change.
13641
13642 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13643
13644 * ps-print.el (ps-face-attributes): It was not returning the
13645 attribute face for faces specified as string. Reported by harven
13646 <harven@free.fr>. (Bug#5254)
13647 (ps-print-version): New version 7.3.5.
13648
13649 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
13650
13651 * calendar/icalendar.el (icalendar--convert-tz-offset):
13652 Fix timezone names.
13653 (icalendar--convert-tz-offset): Fix the "last-day-problem".
13654 (icalendar--add-diary-entry): Remove the trailing blank that
13655 diary-make-entry inserts.
13656
13657 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
13658
13659 Make `file-expand-wildcards' work for remote files.
13660
13661 * files.el (file-expand-wildcards): In case of remote files, check
13662 only local file name part for wildcards. Provide feature 'files
13663 and subfeature 'remote-wildcards. (Bug#5198)
13664
13665 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
13666 if there is already an established connection.
13667 (tramp-advice-file-expand-wildcards): Remove it.
13668
13669 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
13670 (tramp-advice-file-expand-wildcards): Move from tramp.el.
13671 Activate advice for older GNU Emacs versions. (Bug#5237)
13672
13673 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
13674
13675 Some doc fixes (more needed).
13676
13677 * find-cmd.el (find-constituents): Reflow docstring.
13678 (find-cmd, find-prune, find-command): Fix typos in docstrings.
13679 (find-generic): Doc fix.
13680
13681 2009-12-17 Juri Linkov <juri@jurta.org>
13682
13683 Fix regression from 23.1 to allow multiple modes in Local Variables.
13684
13685 * files.el (hack-local-variables-filter): While ignoring duplicates,
13686 don't take `mode' into account.
13687 (hack-local-variables-filter, hack-dir-local-variables):
13688 Don't remove duplicate `mode' from local-variables-alist (like `eval').
13689
13690 2009-12-17 Juri Linkov <juri@jurta.org>
13691
13692 Make `dired-diff' safer. (Bug#5225)
13693
13694 * dired-aux.el (dired-diff): Signal an error when `file' equals to
13695 `current' or when `file' is a directory of the `current' file.
13696
13697 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
13698
13699 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
13700 unconditionally preloaded files.
13701
13702 2009-12-16 Juri Linkov <juri@jurta.org>
13703
13704 Revert to old 23.1 logic of using the file at the mark as default.
13705 * dired-aux.el (dired-diff): Use the file at the mark as default
13706 if it's not the same as the current file, and the target dir is
13707 the current dir or the mark is active. Add the current file
13708 as the arg of `dired-dwim-target-defaults'. Use the default file
13709 in the prompt. (Bug#5225)
13710
13711 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
13712
13713 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
13714 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
13715 (tramp-check-for-regexp): Check also, when an echoing shell stops
13716 to echo sent commands.
13717
13718 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
13719
13720 * Makefile.in: Revert last change (Bug#5191).
13721
13722 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
13723
13724 * vc-hg.el (vc-hg-print-log): Fix argument order.
13725 (vc-hg-working-revision): Make sure the command is executed in a
13726 known environment so that we can parse the output. (Bug#4417)
13727
13728 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
13729
13730 * progmodes/python.el (python-symbol-completions): Remove text
13731 properties from symbol string before calling python-send-receive.
13732
13733 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
13734
13735 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
13736 when there are values for both file and line. (Bug#5060)
13737
13738 2009-12-14 Juri Linkov <juri@jurta.org>
13739
13740 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
13741 whitespace after the file name of the first line of unified format,
13742 because git-diff doesn't output whitespace and file modification time
13743 after the file name.
13744
13745 2009-12-14 David Kastrup <dak@gnu.org>
13746
13747 * info.el (Info-hide-cookies-node): Before hiding a cookie,
13748 check if it already has the `display' property added by
13749 `Info-display-images-node', and not put the `invisible' property
13750 in this case.
13751
13752 2009-12-13 Glenn Morris <rgm@gnu.org>
13753
13754 * mail/emacsbug.el (message-sort-headers): Define for compiler.
13755 (report-emacs-bug): In message-mode, sort manually before storing
13756 original report text. (Bug#5178)
13757 Remove superfluous save-excursion.
13758
13759 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
13760
13761 * net/dbus.el (dbus-property-handler): Filter lambda forms out
13762 when responding to "GetAll" properties.
13763
13764 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
13765
13766 * simple.el (compose-mail): Remove mail-setup-with-from from
13767 customization checks.
13768
13769 2009-12-12 Eli Zaretskii <eliz@gnu.org>
13770
13771 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
13772 RAR archives created on Unix systems.
13773
13774 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
13775
13776 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
13777 the varalias that was accidentally removed by the 2009-11-19 change
13778 (bug#5186).
13779
13780 2009-12-12 Kenichi Handa <handa@m17n.org>
13781
13782 * language/indian.el (indian-compose-regexp): New function.
13783 (malayalam-composable-pattern): Fix the pattern.
13784 (composition-function-table): Set malayalam-composable-pattern for
13785 Malayalam characters.
13786
13787 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
13788
13789 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
13790 rather than down-mouse-1, based on follow-link conventions.
13791
13792 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
13793 are compiled.
13794
13795 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
13796
13797 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
13798 (verilog-vmm-statement-re, verilog-ovm-statement-re)
13799 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
13800 (verilog-leap-to-head, verilog-backward-token):
13801 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
13802
13803 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
13804
13805 * progmodes/verilog-mode.el (verilog-auto-lineup)
13806 (verilog-nameable-item-re): Cleanup user-visible spelling and
13807 documentation errors. One reported by Gary Delp.
13808 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
13809 (verilog-read-decls): Fix AUTOWIRE with types declared in a
13810 package, bug195. Reported by Pierre-David Pfister.
13811
13812 2009-12-11 Glenn Morris <rgm@gnu.org>
13813
13814 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
13815
13816 * mail/emacsbug.el: No longer require sendmail.
13817 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
13818 (report-emacs-bug-orig-text): Doc fix.
13819 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
13820 New local variables, to adapt to different mail-user-agents.
13821 (report-emacs-bug): Fix test for a gnu.org address.
13822 Use overlays for emphasis, since font-lock defeats 'face property.
13823 Pretest bugs also end up at the newsgroup these days.
13824 Stop message-mode stripping text properties.
13825 Set and use the new buffer-local variables.
13826 (report-emacs-bug-hook): Add doc-string.
13827 Remove some unnecessary save-excursions and simplify.
13828 Use the appropriate hook and send-command.
13829
13830 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
13831 capitalization of some menu entries.
13832
13833 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13834
13835 * whitespace.el (whitespace-display-char-on):
13836 Ensure `buffer-display-table' is unique when two or more windows are
13837 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
13838 New version 12.1.
13839
13840 2009-12-10 Eli Zaretskii <eliz@gnu.org>
13841
13842 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
13843 characters in the Attribute field.
13844
13845 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
13846
13847 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
13848
13849 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
13850
13851 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
13852 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13853 Disregard autoload-excludes.
13854 (update-directory-autoloads): Obey autoload-excludes here instead.
13855 But don't store its contents in no-autoloads and remove entries that
13856 refer to excludes files.
13857
13858 2009-12-10 Glenn Morris <rgm@gnu.org>
13859
13860 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
13861 (expand-mail-aliases): Define for compiler.
13862
13863 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
13864 Define for compiler.
13865
13866 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
13867 appropriate for the mail-user-agent in use.
13868
13869 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
13870
13871 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
13872
13873 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
13874
13875 Fix short log parsing and fontification.
13876 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
13877 Fix fontification for the [merge] label.
13878
13879 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
13880
13881 Drop some properties to avoid surprises (bug#5002).
13882 * htmlfontify.el (hfy-ignored-properties): New defcustom.
13883 (hfy-fontify-buffer): Use it.
13884
13885 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
13886
13887 Minor cleanup.
13888 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
13889 Adjust all callers.
13890 (ffap-locate-file): Remove unused arg `dir-ok' and make other
13891 args compulsory. Adjust callers.
13892 (ffap-gopher-at-point): Remove unused var `name'.
13893
13894 Get rid of the ELCFILES abomination.
13895 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
13896 (compile-elcfiles): New phony target.
13897 (compile-main): Compute ELCFILES dynamically.
13898 (compile-clean): New target to remove left-over elc files.
13899 (compile, all): Use it.
13900
13901 2009-12-09 Kenichi Handa <handa@etlken>
13902
13903 * international/mule-diag.el: Require help-mode instead of help-fns.
13904
13905 2009-12-09 Kenichi Handa <handa@m17n.org>
13906
13907 * international/mule-cmds.el (ucs-names): Supply sufficiently
13908 fine ranges instead of pre-calculating accurate ranges.
13909 Iterate with bigger gc-cons-threshold.
13910
13911 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
13912
13913 Add support for stashing a snapshot of the current tree.
13914 * vc-git.el (vc-git-stash-snapshot): New function.
13915 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
13916
13917 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
13918
13919 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
13920 instead of `(beginning|end)-of-line'.
13921
13922 2009-12-08 Glenn Morris <rgm@gnu.org>
13923
13924 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
13925
13926 * Makefile.in (ELCFILES): Regenerate.
13927
13928 2009-12-07 Juri Linkov <juri@jurta.org>
13929
13930 Don't lazy-highlight the comint output in history Isearch mode.
13931
13932 * comint.el (comint-history-isearch-search): Instead of
13933 `comint-line-beginning-position', use `comint-after-pmark-p'
13934 to check if point if before the process mark, and go to
13935 `process-mark' in this case.
13936
13937 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
13938
13939 * textmodes/tex-mode.el (latex-complete)
13940 (latex-indent-or-complete): Remove.
13941 (latex-mode): Set completion-at-point-functions instead.
13942
13943 Provide a standard completion command and hook it into TAB.
13944 * minibuffer.el (completion-at-point-functions): New var.
13945 (completion-at-point): New command.
13946 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
13947 * progmodes/python.el (python-mode-map): Use completion-at-point.
13948 (python-completion-at-point): Rename from python-partial-symbol and
13949 adjust for use in completion-at-point-functions.
13950 (python-mode): Setup completion-at-point for Python completion.
13951 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
13952 extracted from lisp-complete-symbol.
13953 (lisp-complete-symbol): Use it.
13954 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
13955 setup completion-at-point for Elisp completion.
13956 (emacs-lisp-mode-map, lisp-interaction-mode-map):
13957 Use completion-at-point.
13958 * ielm.el (ielm-map): Use completion-at-point.
13959 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
13960 * progmodes/sym-comp.el: Move to...
13961 * obsolete/sym-comp.el: Move from progmodes.
13962
13963 2009-12-07 Eli Zaretskii <eliz@gnu.org>
13964
13965 Prevent save-buffer in Rmail buffers from using the coding-system
13966 of the current message, and from clobbering the encoding mnemonics
13967 in the mode line (Bug#4623).
13968
13969 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
13970 flag, too.
13971 (rmail-message-encoding): New variable.
13972 (rmail-write-region-annotate): Record the encoding of the current
13973 message in rmail-message-encoding.
13974 (rmail-after-save-hook): New function, restores the encoding of
13975 the current message after the message collection is saved.
13976
13977 2009-12-07 Juri Linkov <juri@jurta.org>
13978
13979 * progmodes/grep.el (grep-read-files): Use `completing-read'
13980 instead of `read-string'. Set its `collection' arg to
13981 `read-file-name-internal'. (Bug#4301)
13982
13983 2009-12-07 Juri Linkov <juri@jurta.org>
13984
13985 Correctly restore original Isearch point. (Bug#4994)
13986
13987 * isearch.el (isearch-mode): Move `isearch-push-state' after
13988 `(run-hooks 'isearch-mode-hook)'.
13989 (isearch-cancel): When `isearch-push-state-function' is defined,
13990 let-bind `isearch-cmds' to the first state (the last element of
13991 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
13992 function and restores the original point). Otherwise, move point
13993 to `isearch-opoint'.
13994
13995 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
13996
13997 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
13998 chars that don't have names, so the table can be built much faster at
13999 run-time.
14000
14001 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
14002
14003 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
14004 change. Suggested by David Kastrup.
14005
14006 * simple.el (compose-mail): Check for incompatibilities and warn.
14007 (compose-mail-user-agent-warnings): New option.
14008
14009 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14010
14011 Support showing a single log entry from vc-annotate.
14012 * vc.el (print-log): Add a new argument: START-REVISION.
14013 (vc-print-log-internal): Add a new optional argument and
14014 pass it to the backend.
14015 (vc-print-log, vc-print-root-log): Adjust callers.
14016 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
14017 buffer already displays the requested log entry, use it.
14018 Otherwise display only the log entry in question.
14019 * vc-svn.el (vc-svn-print-log):
14020 * vc-mtn.el (vc-mtn-print-log):
14021 * vc-hg.el (vc-hg-state):
14022 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
14023 (vc-git-show-log-entry): Return t on success.
14024 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
14025 (vc-bzr-show-log-entry): Return t on success.
14026 * vc-rcs.el (vc-rcs-print-log):
14027 * vc-sccs.el (vc-sccs-print-log):
14028 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
14029
14030 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14031
14032 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
14033 Add menus to the meta mode. (Bug#5043)
14034
14035 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
14036
14037 * ediff-init.el (ediff-event-key): Use event-to-character instead of
14038 event-key.
14039
14040 * ediff.el (ediff-buffers-internal): Add unwind-protect.
14041
14042 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
14043
14044 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
14045 Berbain <raphael.berbain@gmail.com>.
14046
14047 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
14048 characters.
14049 (tramp-initial-end-of-output): New defconst.
14050 (tramp-methods, tramp-find-shell)
14051 (tramp-open-connection-setup-interactive-shell)
14052 (tramp-maybe-open-connection): Use it.
14053 (tramp-shell-prompt-pattern, tramp-wait-for-output):
14054 Handle existence of `#' and `$'.
14055
14056 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
14057 Use `tramp-initial-end-of-output'.
14058
14059 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14060
14061 Get the background mode from the terminal for xterm, and set
14062 faces accordingly.
14063 * term/xterm.el (xterm-set-background-mode): New function.
14064 (terminal-init-xterm): Use it in case xterm supports background
14065 color queries. Recompute faces after getting the background
14066 color.
14067
14068 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
14069
14070 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
14071 number comment back on its own line, for easier parsing.
14072
14073 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14074
14075 Make it work for non-file buffers (bug#5102).
14076 * doc-view.el (doc-view-current-cache-dir):
14077 Use doc-view-buffer-file-name rather than buffer-file-name.
14078 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
14079
14080 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
14081
14082 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
14083 author field is too short.
14084
14085 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
14086
14087 * vc-git.el (vc-git-print-log): Handle a limit argument.
14088 Display the short log in graph form and with labels.
14089 (vc-git-log-view-mode): Handle labels.
14090
14091 Make vc-revert change VC state from 'added to 'unregistered.
14092 * vc-git.el (vc-git-revert): Call git reset first.
14093
14094 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
14095
14096 * net/newst-backend.el, net/newst-plainview.el:
14097 * net/newst-reader.el, net/newst-ticker.el:
14098 * net/newst-treeview.el, net/newsticker.el:
14099 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
14100
14101 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
14102
14103 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
14104
14105 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
14106 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
14107 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
14108 Update annotation regexp.
14109
14110 * simple.el (beginning-of-visual-line): Constrain to field
14111 boundaries (Bug#5106).
14112
14113 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
14114
14115 * xml.el (xml-substitute-numeric-entities):
14116 Move newsticker--decode-numeric-entities in newst-backend.el to
14117 xml-substitute-numeric-entities in xml.el. (Bug#5008)
14118 * net/newst-backend.el (newsticker--parse-generic-feed)
14119 (newsticker--parse-generic-items)
14120 (newsticker--decode-numeric-entities):
14121 Move newsticker--decode-numeric-entities in newst-backend.el to
14122 xml-substitute-numeric-entities in xml.el. (Bug#5008)
14123
14124 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
14125
14126 * progmodes/js.el (js--js-not): Add null to the list of values.
14127
14128 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
14129
14130 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
14131
14132 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
14133
14134 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
14135 delimiter if it is at the end of the current line.
14136 (bibtex-generate-url-list): Fix docstring.
14137
14138 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
14139
14140 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
14141 minibuffer's content with itself.
14142 Fold the confirm-after-completion case into the `confirm' case.
14143 (completion-pcm-word-delimiters): Add : and / to the delimiters.
14144
14145 2009-12-06 Kevin Ryde <user42@zip.com.au>
14146
14147 * ffap.el (ffap-rfc-path): Make this a defcustom since
14148 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
14149
14150 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
14151 manuals, similar to existing setup for help-mode. (Bug#3913.)
14152
14153 2009-12-05 Juri Linkov <juri@jurta.org>
14154
14155 Save and restore dired buffer's point positions too. (Bug#4880)
14156
14157 * dired.el (dired-save-positions): Return in the first element
14158 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
14159 Doc fix.
14160 (dired-restore-positions): First restore buffer's position.
14161 While restoring window's positions, check if window still displays
14162 the original buffer.
14163
14164 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
14165
14166 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
14167 if possible.
14168
14169 * shell.el (shell): Require ansi-color (Bug#5113).
14170
14171 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
14172
14173 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
14174
14175 2009-12-05 Alan Mackenzie <acm@muc.de>
14176
14177 * progmodes/cc-mode.el (c-before-hack-hook)
14178 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
14179 `c-file-style' to work again. This reversion restores the current
14180 software to its state in Emacs 23.1. (Bug#4146)
14181
14182 2009-12-05 Kevin Ryde <user42@zip.com.au>
14183
14184 * textmodes/sgml-mode.el (sgml-lexical-context):
14185 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
14186
14187 2009-12-05 Juri Linkov <juri@jurta.org>
14188
14189 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
14190 for virtual nodes. (Bug#4147)
14191 (Info-find-node-2): Set `Info-current-node-virtual' to nil
14192 when moving from a virtual node.
14193 (Info-mode-menu): Add `Info-virtual-index' to the menu.
14194 (Info-mode): Add `Info-virtual-index' to the docstring.
14195
14196 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
14197
14198 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
14199 track of the buffer position of the end of a BibTeX entry as this
14200 position may change during reformatting.
14201 (bibtex-format-entry): Remove whitespace before processing
14202 numerical fields so that we recognize the latter properly.
14203 (bibtex-reformat): Do not use push which changes the global value
14204 of bibtex-entry-format.
14205 (bibtex-field-braces-alist, bibtex-field-strings-alist)
14206 (bibtex-field-re-init): Replace only space characters by regexp
14207 for whitespace.
14208 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
14209 (bibtex-initialize): Also update bibtex-strings.
14210 (bibtex-kill-field): Preserve white space at end of entry.
14211 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
14212 Update bibtex-reference-keys.
14213
14214 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
14215
14216 * minibuffer.el (completion-pcm--merge-try): Also consider placing
14217 point after a star, if that's the only place where modifications can
14218 make progress.
14219
14220 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
14221
14222 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
14223 in docstrings.
14224
14225 2009-12-04 Juri Linkov <juri@jurta.org>
14226
14227 * proced.el (proced): Call `(proced-update t)' to update process
14228 information instead of only running proced-post-display-hook.
14229 (proced-send-signal): Add a leading space to the buffer name
14230 " *Marked Processes*" to make this buffer ephemeral.
14231
14232 2009-12-04 Juri Linkov <juri@jurta.org>
14233
14234 * dired.el (dired-auto-revert-buffer): New defcustom.
14235 (dired-internal-noselect): Use it.
14236
14237 2009-12-04 Juri Linkov <juri@jurta.org>
14238
14239 Change roles of modes and functions in image-mode.el (Bug#5062).
14240
14241 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
14242 in `auto-mode-alist'.
14243 (image-mode-previous-major-mode): New variable.
14244 (image-minor-mode-map): Rename from `image-mode-text-map'.
14245 (image-mode): Move graceful error-handling code from
14246 `image-minor-mode' to here. On errors call `image-mode-as-text'.
14247 (image-minor-mode): Remove all image-handling code.
14248 Replace `image-mode-text-map' with `image-minor-mode-map'.
14249 Check for `image-type' in mode-line format string.
14250 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
14251 (image-mode-as-text): New function with most code from
14252 `image-mode-maybe'.
14253 (image-toggle-display-text): Move code that removes image
14254 properties from `image-toggle-display' to here.
14255 (image-toggle-display-image): New function with code that adds
14256 image properties copied from `image-toggle-display'.
14257 (image-toggle-display): Remove most code with leaving only code
14258 that toggles between `image-mode-as-text' and `image-mode'.
14259
14260 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
14261
14262 * net/newst-treeview.el
14263 (newsticker--treeview-list-highlight-start): Restored call to
14264 save-excursion: Selected item was stuck.
14265 (newsticker--treeview-list-select): New.
14266 (newsticker--treeview-item-show-text)
14267 (newsticker--treeview-item-show)
14268 (newsticker--treeview-item-update): Use new
14269 newsticker-treeview-item-mode.
14270 (newsticker-treeview-update): Keep current item.
14271 (newsticker-treeview-next-new-or-immortal-item): Doc change.
14272 (newsticker--treeview-first-feed): Doc change.
14273 (newsticker-treeview-list-menu)
14274 (newsticker-treeview-item-menu): Add menu entries.
14275 (newsticker-treeview-item-mode): New.
14276
14277 * net/newst-backend.el (newsticker-customize): Delete other
14278 windows.
14279
14280 2009-12-04 Sam Steingold <sds@gnu.org>
14281
14282 * log-view.el (log-view-mode-map): "q" calls quit-window,
14283 like in all the other non-self-insert buffers.
14284
14285 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
14286
14287 Minor cleanup.
14288 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
14289 key decoding rather than do it manually via last-input-event +
14290 ascii-character.
14291 (term-exec): Use delete-and-extract-region.
14292 (term-handle-ansi-terminal-messages): Remove unused var `end'.
14293 (term-process-pager): Remove unused var `i'.
14294 (term-dynamic-simple-complete): Make obsolete.
14295 (serial-update-config-menu): Remove unused vars `y' and `str'.
14296 (term-update-mode-line): Remove unused var `temp'.
14297
14298 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
14299
14300 Limit the number of log entries displayed by default.
14301 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
14302 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
14303 using a prefix argument.
14304
14305 2009-12-03 Glenn Morris <rgm@gnu.org>
14306
14307 * progmodes/idlwave.el (class): Restore still useful declaration.
14308
14309 2009-12-03 Alan Mackenzie <acm@muc.de>
14310
14311 Enhance `c-parse-state' to run efficiently in "brace deserts".
14312
14313 * progmodes/cc-mode.el (c-basic-common-init):
14314 Call c-state-cache-init.
14315 (c-neutralize-syntax-in-and-mark-CPP): Rename from
14316 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
14317 placing `category' properties value 'c-cpp-delimiter at its boundaries.
14318
14319 * progmodes/cc-langs.el (c-before-font-lock-function):
14320 c-extend-and-neutralize-syntax-in-CPP has been renamed
14321 c-neutralize-syntax-in-and-mark-CPP.
14322
14323 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
14324 with `category' properties now, not `syntax-table' ones.
14325
14326 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
14327 enhanced (but slower) version of c-end-of-macro that won't land
14328 inside a literal or on another awkward character.
14329 (c-state-cache-too-far, c-state-cache-start)
14330 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
14331 (c-state-nonlit-pos-cache-limit, c-state-point-min)
14332 (c-state-point-min-lit-type, c-state-point-min-lit-start)
14333 (c-state-min-scan-pos, c-state-brace-pair-desert)
14334 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
14335 buffer local variables.
14336 (c-state-literal-at, c-state-lit-beg)
14337 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
14338 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
14339 (c-state-cache-top-paren, c-state-cache-after-top-paren)
14340 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
14341 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
14342 (c-renarrow-state-cache)
14343 (c-append-lower-brace-pair-to-state-cache)
14344 (c-state-push-any-brace-pair, c-append-to-state-cache)
14345 (c-remove-stale-state-cache)
14346 (c-remove-stale-state-cache-backwards, c-state-cache-init)
14347 (c-invalidate-state-cache-1, c-parse-state-1)
14348 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
14349 (c-parse-state): Enhance and refactor.
14350 (c-debug-parse-state): Amend to deal with all the new variables.
14351
14352 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
14353 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
14354 modify to use category text properties rather than syntax-table ones.
14355 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
14356 to switch off/on the syntactic paren property of C++ template
14357 delimiters using the category property.
14358 (c-with-<->-as-parens-suppressed): Macro to invoke code with
14359 template delims suppressed.
14360 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
14361 New constant/macros which apply category properties to the start
14362 and end of preprocessor constructs.
14363 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
14364 "comment out" the syntactic value of characters in preprocessor
14365 constructs.
14366 (c-with-cpps-commented-out)
14367 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
14368 with characters in all or all but one preprocessor constructs
14369 "commented out".
14370
14371 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
14372
14373 * proced.el (proced-filter-alist): Use regexp-quote.
14374
14375 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
14376
14377 Cleanup.
14378 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
14379 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
14380 arguments. Expand `default-directory'.
14381
14382 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
14383 the benefit of returning an expanded localname.
14384 (tramp-tramp-file-p): Handle the case NAME is not a string.
14385
14386 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
14387
14388 Add support for bzr shelve/unshelve.
14389 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
14390 (vc-bzr-extra-menu-map): New variables.
14391 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
14392 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
14393 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
14394 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
14395 (vc-bzr-dir-extra-headers): Display shelves.
14396
14397 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
14398
14399 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14400
14401 * textmodes/bibtex.el (bibtex-complete-internal):
14402 Use completion-in-region.
14403 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
14404
14405 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
14406
14407 Support applying stashes. Improve UI.
14408 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
14409 (vc-git-stash-apply, vc-git-stash-pop)
14410 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
14411 (vc-git-stash-menu): New functions.
14412 (vc-git-stash-menu-map): New variable.
14413 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
14414
14415 2009-12-03 Glenn Morris <rgm@gnu.org>
14416
14417 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
14418 (vc-print-log-internal): Fix previous change.
14419 (vc-revert): Correct pluralization.
14420
14421 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14422
14423 * progmodes/make-mode.el (makefile-special-targets-list): No need for
14424 it to be an alist any more.
14425 (makefile-complete): Use completion-in-region.
14426
14427 * progmodes/octave-mod.el (octave-complete-symbol):
14428 Use completion-in-region.
14429
14430 Misc cleanup.
14431 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
14432 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
14433 (idlwave-complete-class): Don't quote lambda.
14434 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
14435 (idlwave-mode-map): Move initialization into declaration.
14436 (idlwave-action-and-binding): Use backquotes.
14437 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
14438 Simplify.
14439 (idlwave-is-pointer-dereference): Remove unused var `pos'.
14440 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
14441 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
14442 `parts', and `all-parts'.
14443 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
14444 (idlwave-convert-xml-system-routine-info): Remove unused string
14445 `version-string'.
14446 (idlwave-display-user-catalog-widget): Use dolist.
14447 (idlwave-scanning-lib): Declare dynamically-scoped var.
14448 (idlwave-scan-library-catalogs): Remove unused var `flags'.
14449 (completion-highlight-first-word-only): Declare to silence bytecomp.
14450 (idlwave-popup-select): Tighten scope of `resp'.
14451 (idlwave-find-struct-tag): Remove unused var `beg'.
14452 (idlwave-after-load-rinfo-hook): Declare.
14453 (idlwave-sintern-class-info): Remove unused var `taglist'.
14454 (idlwave-find-class-definition): Remove unused var `list'.
14455 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
14456 (idlwave-what-module-find-class): Remove unused var `classes'.
14457
14458 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
14459
14460 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
14461
14462 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14463
14464 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
14465 buffers visited. Remove redundant current-buffer-saving.
14466
14467 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
14468
14469 Use completion-in-buffer and remove uses of dynamic scoping.
14470 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
14471 (pascal-buffer-to-use, pascal-flag): Don't declare.
14472 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
14473 (pascal-get-completion-decl, pascal-keyword-completion):
14474 Add `pascal-str' argument, save-excursion,
14475 return the found completions, and don't filter with pascal-pred.
14476 (pascal-completion-cache): New var.
14477 (pascal-completion): Don't switch buffer any more (it was never
14478 necessary). Don't save-excursion any more (it's done by the called
14479 subroutines). Use a cache to avoid redundant computations.
14480 Use complete-with-action rather than pascal-completion-response and
14481 let it apply the predicate as well.
14482 (pascal-complete-word): Use completion-in-buffer when
14483 pascal-toggle-completions is nil.
14484 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
14485 not used any more.
14486 (pascal-comp-defun): Don't change buffer any more.
14487 Use complete-with-action rather than pascal-completion-response and
14488 let it apply the predicate as well.
14489 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
14490 when neded.
14491
14492 2009-12-02 Kenichi Handa <handa@m17n.org>
14493
14494 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
14495 shape for all Indic scripts.
14496
14497 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
14498
14499 Use completion-in-buffer.
14500 * wid-edit.el (widget-field-text-end): New function.
14501 (widget-field-value-get): Use it.
14502 (widget-string-complete, widget-file-complete)
14503 (widget-color-complete): Use it and completion-in-region.
14504 (widget-complete): Don't narrow the buffer.
14505
14506 2009-12-02 Glenn Morris <rgm@gnu.org>
14507
14508 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
14509 (rmail-select-summary): Use rmail-pop-to-buffer.
14510 * mail/rmailsum.el: Replace all pop-to-buffer calls with
14511 rmail-pop-to-buffer, to prevent horizontal splits.
14512
14513 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
14514 save-excursion with save-current-buffer.
14515 Widen before searching. (Bug#5093)
14516 (diary-list-sexp-entries): Remove superfluous save-excursion.
14517
14518 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
14519
14520 * woman.el (woman-make-bufname): Handle man-pages with "." in the
14521 name. (Bug#5038)
14522
14523 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
14524
14525 * ido.el (ido-file-internal): Handle filenames at point that do
14526 not have a directory part. (Bug#5049)
14527
14528 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
14529
14530 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
14531 (mpc-songs-jump-to, mpc-resume): Doc fixes.
14532
14533 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
14534
14535 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
14536 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
14537 any more.
14538
14539 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
14540
14541 * comint.el (comint-insert-input): Ignore clicks to the right of
14542 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
14543
14544 * vc.el (vc-print-log-internal): Don't wait for the process to
14545 terminate before setting up the major mode.
14546
14547 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
14548 in case.
14549
14550 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
14551 the last element.
14552
14553 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
14554
14555 2009-12-01 Glenn Morris <rgm@gnu.org>
14556
14557 * window.el (window--display-buffer-2): Fix previous changes.
14558
14559 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
14560
14561 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
14562
14563 2009-12-01 Glenn Morris <rgm@gnu.org>
14564
14565 * Makefile.in (ELCFILES): Add mpc.elc.
14566
14567 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
14568
14569 * mpc.el: New file.
14570
14571 2009-12-01 Glenn Morris <rgm@gnu.org>
14572
14573 * window.el (window-to-use): Define for compiler.
14574
14575 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
14576 consistent with others (no final period).
14577
14578 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
14579 (rmail-mime-show): Downcase the encoding. (Bug#5070)
14580
14581 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
14582
14583 Make vc-print-log buttons work.
14584 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
14585
14586 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
14587
14588 * savehist.el (savehist-autosave-interval): Allow setting to nil
14589 through customize. (Bug#5056)
14590
14591 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
14592
14593 Fix references to jit-lock properties.
14594 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
14595 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
14596 (perl-font-lock-special-syntactic-constructs):
14597 Quote jit-lock-defer-multiline property.
14598
14599 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
14600
14601 * vc-git.el (vc-git-registered): Call vc-git-root only once.
14602
14603 2009-11-30 Juri Linkov <juri@jurta.org>
14604
14605 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
14606 value `buffer' of `multi-isearch-next-buffer-current-function'.
14607 Use `(current-buffer)' when `buffer' is nil.
14608 (multi-isearch-next-buffer-from-list): Don't fallback to
14609 `(current-buffer)' when `buffer' is nil. (Bug#4947)
14610
14611 2009-11-30 Juri Linkov <juri@jurta.org>
14612
14613 * misearch.el (multi-isearch-read-buffers): Move canonicalization
14614 of buffers with `get-buffer' to `multi-isearch-buffers'.
14615 (multi-isearch-buffers, multi-isearch-buffers-regexp):
14616 Canonicalize BUFFERS with `get-buffer'. Doc fix.
14617 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
14618 FILES with `expand-file-name' converting relative file names
14619 to absolute. Doc fix. (Bug#4727)
14620
14621 2009-11-30 Juri Linkov <juri@jurta.org>
14622
14623 * misearch.el (multi-isearch-read-buffers)
14624 (multi-isearch-read-matching-buffers): New functions.
14625 (multi-isearch-buffers, multi-isearch-buffers-regexp):
14626 Use them in the `interactive' spec. Doc fix.
14627 (multi-isearch-read-files, multi-isearch-read-matching-files):
14628 New functions.
14629 (multi-isearch-files, multi-isearch-files-regexp):
14630 Use them in the `interactive' spec. Doc fix. (Bug#4725)
14631
14632 2009-11-30 Juri Linkov <juri@jurta.org>
14633
14634 * doc-view.el (doc-view-continuous):
14635 Rename from `doc-view-continuous-mode'.
14636 (doc-view-menu): Move "Toggle display" to the top.
14637 Add submenu "Continuous" with radio buttons "Off"/"On"
14638 and "Save as Default".
14639 (doc-view-scroll-up-or-next-page)
14640 (doc-view-scroll-down-or-previous-page)
14641 (doc-view-next-line-or-next-page)
14642 (doc-view-previous-line-or-previous-page):
14643 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
14644
14645 2009-11-30 Juri Linkov <juri@jurta.org>
14646
14647 * comint.el (comint-mode-map): Rebind `M-r' from
14648 `comint-previous-matching-input' to
14649 `comint-history-isearch-backward-regexp'.
14650 Unbind `M-s' to allow global key binding `M-s'.
14651 Add menu items for `comint-history-isearch-backward' and
14652 `comint-history-isearch-backward-regexp'. (Bug#3746)
14653
14654 2009-11-30 Juri Linkov <juri@jurta.org>
14655
14656 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
14657 For def=recenter, replace `recenter' with `recenter-top-bottom'
14658 that is called with `this-command' and `last-command' let-bound
14659 to `recenter-top-bottom'. When the last `def' was not `recenter',
14660 set `recenter-last-op' to nil. (Bug#4981)
14661
14662 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
14663
14664 Minor cleanup and simplification.
14665 * filecache.el (file-cache-add-directory)
14666 (file-cache-add-directory-recursively)
14667 (file-cache-add-from-file-cache-buffer)
14668 (file-cache-delete-file-regexp, file-cache-delete-directory)
14669 (file-cache-files-matching-internal, file-cache-display): Use dolist.
14670 (file-cache-temp-minibuffer-message): Delete function.
14671 (file-cache-minibuffer-complete): Use minibuffer-message instead.
14672
14673 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
14674 Don't signal an error when bumping into EOB in tr, s, or y.
14675
14676 2009-11-29 Juri Linkov <juri@jurta.org>
14677
14678 * startup.el (fancy-about-text): Fix wording of Guided Tour.
14679 (Bug#4960)
14680
14681 * descr-text.el (describe-char-unidata-list): Use lowercase name
14682 for "Unicode name" like in other tags.
14683
14684 2009-11-29 Juri Linkov <juri@jurta.org>
14685
14686 * ediff-util.el (ediff-minibuffer-with-setup-hook):
14687 New compatibility macro.
14688 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
14689
14690 2009-11-29 Juri Linkov <juri@jurta.org>
14691
14692 Add defcustom to define the cycling order of `recenter-top-bottom'.
14693 (Bug#4981)
14694
14695 * window.el (recenter-last-op): Doc fix.
14696 (recenter-positions): New defcustom.
14697 (recenter-top-bottom): Rewrite to use `recenter-positions'.
14698 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
14699
14700 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
14701
14702 Improve integration of Tramp and ange-ftp in eshell.
14703
14704 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
14705 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
14706 (eshell/sudo): Flatten args. Let-bind `default-directory'.
14707
14708 * eshell/esh-util.el (top): Require also Tramp when compiling.
14709 (eshell-directory-files-and-attributes): Check for FTP remote
14710 connection.
14711 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
14712 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
14713 (eshell-file-attributes): Handle ".". Return `entry'.
14714
14715 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
14716 (ange-ftp-directory-files-and-attributes)
14717 (ange-ftp-real-directory-files-and-attributes): New defuns.
14718
14719 * net/tramp.el (tramp-maybe-open-connection): Open the remote
14720 shell with "exec" when possible. This prevents trailing prompts
14721 in `start-file-process'.
14722
14723 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
14724
14725 Try and remove assumptions about point-min==1.
14726 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
14727 (rng-compute-mode-line-string): Show the validation percentage in
14728 terms of the narrowed text, not the widened text.
14729 (rng-do-some-validation): Don't catch internal errors when debugging.
14730 (rng-first-error): Simplify.
14731 (rng-after-change-function): Remove work around. AFAIK the bug has
14732 been fixed a while ago.
14733
14734 * image-mode.el (image-minor-mode): Exit more gracefully when the image
14735 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
14736
14737 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
14738
14739 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
14740 `cd' doesn't always do it for us (bug#5067).
14741
14742 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
14743 on 2009-10-25 as part of some other change (bug#5067).
14744
14745 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
14746
14747 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
14748 `suspicious'.
14749 (byte-compile-warnings): Use byte-compile-warning-types.
14750 (byte-compile-save-excursion): Warn about use of set-buffer right
14751 after save-excursion.
14752
14753 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
14754 the excursion as well.
14755
14756 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
14757
14758 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
14759 providing a Tramp related implementation of "su" and "sudo".
14760 (eshell-unix-initialize): Add "su" and "sudo".
14761
14762 2009-11-27 Daiki Ueno <ueno@unixuser.org>
14763
14764 * net/socks.el (socks-send-command): Convert binary request to
14765 unibyte before sending. This fixes mishandling of some port
14766 numbers such as 129.
14767
14768 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
14769
14770 * help.el (describe-bindings-internal): Remove `interactive'.
14771
14772 * man.el (Man-completion-table): Trim a terminating "(".
14773 Remove the space between name page a section.
14774 Add the command's description on the `help-echo' property.
14775 Remove `process-connection-type' binding since it's unused by
14776 call-process.
14777 Provide completion for the "<section> <name>" format as well.
14778 (Man-default-man-entry): Remove spurious var shadowing the argument.
14779
14780 2009-11-26 Kevin Ryde <user42@zip.com.au>
14781
14782 * log-view.el: Add "Keywords: tools", since its other keywords
14783 aren't in finder-known-keywords, and following vc.el.
14784
14785 * sha1.el (sha1-string-external): default-directory "/" in case
14786 otherwise non-existent. process-connection-type pipe for touch of
14787 efficiency recommended by elisp manual. (An aside in Bug#3911.)
14788
14789 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
14790
14791 Misc coding convention cleanups.
14792 * htmlfontify.el (hfy-init-kludge-hook): Rename from
14793 hfy-init-kludge-hooks.
14794 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
14795 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
14796 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
14797 and push.
14798 (hfy-slant, hfy-weight): Use tables rather than code.
14799 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
14800 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
14801 (hfy-face-attr-for-class): Initialize `face-spec' directly.
14802 (hfy-face-to-css): Remove `nconc' with single arg.
14803 (hfy-p-to-face-lennart): Use `or'.
14804 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
14805 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
14806 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
14807 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
14808 (hfy-force-fontification): Use run-hooks.
14809
14810 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
14811
14812 Various minor fixes.
14813 * htmlfontify.el (hfy-default-header): Add toggle_invis since
14814 Javascript belongs in the header, not the body.
14815 (hfy-javascript): Remove.
14816 (hfy-fontify-buffer): Don't insert it any more.
14817 (hfy-face-at): Handle (face0 face1 face2) style face properties.
14818 Fix bug in invis handling when there were no invis props in a chunk.
14819
14820 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
14821
14822 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
14823
14824 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
14825
14826 * finder.el (finder-mode-map): Add a menu.
14827
14828 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
14829
14830 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
14831 "unsigned" structs.
14832
14833 (verilog-leap-to-head, verilog-backward-token): Handle "disable
14834 fork" statement better.
14835
14836 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
14837
14838 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
14839 (verilog-delete-auto, verilog-delete-empty-auto-pair)
14840 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
14841 Reported by Clay Douglass.
14842
14843 (verilog-auto-inst, verilog-auto-star-safe)
14844 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
14845 Fix removing "// Interfaces" when saving .* expansions.
14846 Reported by Pierre-David Pfister.
14847
14848 2009-11-26 Glenn Morris <rgm@gnu.org>
14849
14850 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
14851 the scope.
14852
14853 2009-11-25 Johan Bockgård <bojohan@gnu.org>
14854
14855 * vc-annotate.el (vc-annotate-revision-previous-to-line):
14856 Really use previous revision.
14857
14858 2009-11-25 Kevin Ryde <user42@zip.com.au>
14859
14860 * man.el (Man-completion-table): default-directory "/" in case
14861 doesn't otherwise exist. process-environment COLUMNS=999 so as
14862 not to truncate long names. process-connection-type pipe to avoid
14863 any chance of hitting the pseudo-tty TIOCGWINSZ.
14864 (man): completion-ignore-case t for friendliness and since man
14865 itself is case-insensitive on the command line.
14866 Further to Bug#3717.
14867
14868 * arc-mode.el: Add "Keywords: files", so the details in its
14869 commentary can be reached from finder-by-keyword.
14870 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
14871 editing mode, but it's comms related and sgml-mode.el has "comm"
14872 on that basis too.
14873 * textmodes/bibtex-style.el: Add "Keywords: tex".
14874 * international/isearch-x.el, international/ja-dic-cnv.el:
14875 * international/ja-dic-utl.el, international/kkc.el:
14876 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
14877
14878 2009-11-25 Juri Linkov <juri@jurta.org>
14879
14880 * man.el (Man-completion-table): Modify regexp to include
14881 section names to completion strings. (Bug#3717)
14882
14883 2009-11-25 Juri Linkov <juri@jurta.org>
14884
14885 Search recursively in gzipped files. (Bug#4982)
14886
14887 * progmodes/grep.el (grep-highlight-matches): Add new options
14888 `always' and `auto'. Doc fix.
14889 (grep-process-setup): Check `grep-highlight-matches' for
14890 `auto-detect' to determine the need to compute grep defaults.
14891 Move Windows/DOS specific --colors settings handling
14892 to `grep-compute-defaults'. Check `grep-highlight-matches'
14893 to get the value of "--color=".
14894 (grep-compute-defaults): Compute `grep-highlight-matches' when it
14895 has the value `auto-detect'. Move Windows/DOS specific settings
14896 from `grep-process-setup'.
14897 (zrgrep): New command with alias `rzgrep'.
14898
14899 2009-11-25 Juri Linkov <juri@jurta.org>
14900
14901 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
14902 to nil instead of switching off view-mode. (Bug#4896)
14903
14904 2009-11-25 Juri Linkov <juri@jurta.org>
14905
14906 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
14907
14908 * mwheel.el (mwheel-scroll-up-function)
14909 (mwheel-scroll-down-function): New defvars.
14910 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
14911 `scroll-up', and `mwheel-scroll-down-function' instead of
14912 `scroll-down'.
14913
14914 * doc-view.el (doc-view-scroll-up-or-next-page)
14915 (doc-view-scroll-down-or-previous-page): Add optional ARG.
14916 Use this ARG in the call to image-scroll-up/image-scroll-down.
14917 Change `interactive' spec to "P". Goto next/previous page only
14918 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
14919 SPC/DEL case). Doc fix.
14920 (doc-view-next-line-or-next-page)
14921 (doc-view-previous-line-or-previous-page): Rename arg to ARG
14922 for consistency.
14923 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
14924 `doc-view-scroll-up-or-next-page', and buffer-local
14925 `mwheel-scroll-down-function' to
14926 `doc-view-scroll-down-or-previous-page'.
14927
14928 2009-11-25 Juri Linkov <juri@jurta.org>
14929
14930 Provide additional default values (directories at other Dired
14931 windows) via M-n in the minibuffer of some Dired commands.
14932
14933 * dired-aux.el (dired-diff, dired-compare-directories)
14934 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
14935 `minibuffer-default' in `minibuffer-with-setup-hook'.
14936 (dired-dwim-target-directory): Find a window that displays Dired
14937 buffer instead of failing when the next window is not Dired.
14938 Use `get-window-with-predicate' to find for the next Dired window.
14939 (dired-dwim-target-defaults): New function.
14940
14941 * ediff-util.el (ediff-read-file-name):
14942 Use `dired-dwim-target-defaults' to set `minibuffer-default'
14943 in `minibuffer-with-setup-hook'.
14944
14945 2009-11-25 Juri Linkov <juri@jurta.org>
14946
14947 Provide additional default values (file name at point or at the
14948 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
14949
14950 * minibuffer.el (read-file-name-defaults): New function.
14951 (read-file-name): Reset `minibuffer-default' to nil when
14952 it duplicates initial input `insdef'.
14953 Bind `minibuffer-default-add-function' to lambda that
14954 calls `read-file-name-defaults' in `minibuffer-selected-window'.
14955 (minibuffer-insert-file-name-at-point): New command.
14956
14957 * files.el (file-name-at-point-functions): New defcustom.
14958 (find-file-default): Remove defvar.
14959 (find-file-read-args): Don't use `find-file-default'.
14960 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
14961 to `read-file-name'.
14962 (find-file-literally): Use `read-file-name' with
14963 `confirm-nonexistent-file-or-buffer'.
14964
14965 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
14966
14967 * dired.el (dired-read-dir-and-switches):
14968 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
14969 to `read-file-name'.
14970 (dired-file-name-at-point): New function.
14971 (dired-mode): Add hook `dired-file-name-at-point' to
14972 `file-name-at-point-functions'.
14973
14974 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
14975
14976 Really make the *Completions* window soft-dedicated (bug#5030).
14977 * window.el (window--display-buffer-2): Add `dedicated' argument.
14978 (display-buffer): Pass it when needed so the dedicated flag is set
14979 after calling set-window-buffer, which would otherwise reset it.
14980
14981 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
14982
14983 * progmodes/meta-mode.el (meta-complete-symbol):
14984 * progmodes/etags.el (complete-tag):
14985 * mail/mailabbrev.el (mail-abbrev-complete-alias):
14986 Use completion-in-region.
14987
14988 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
14989 (dabbrev-completion): Use completion-in-region.
14990 (dabbrev--abbrev-at-point): Simplify regexp.
14991
14992 * abbrev.el (abbrev--before-point): Use word-motion functions
14993 if :regexp is not specified (bug#5031).
14994
14995 * subr.el (string-prefix-p): New function.
14996
14997 * man.el (Man-completion-cache): New var.
14998 (Man-completion-table): Use it.
14999
15000 * vc.el (vc-print-log-internal): Make `limit' optional for better
15001 compatibility (e.g. with vc-annotate.el).
15002
15003 2009-11-24 Kevin Ryde <user42@zip.com.au>
15004
15005 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
15006 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
15007
15008 * emacs-lisp/elint.el (elint-add-required-env): Better error message
15009 when .el source file not found or other error.
15010
15011 2009-11-24 Markus Triska <markus.triska@gmx.at>
15012
15013 * linum.el (linum-update-window): Ignore intangible (bug#4996).
15014
15015 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
15016
15017 Handle the [back] button properly (bug#4979).
15018 * descr-text.el (describe-text-properties): Add a `buffer' argument.
15019 Use help-setup-xref, help-buffer, and with-help-window.
15020 (describe-char): Add `buffer' argument.
15021 Pass proper command to help-setup-xref. Don't meddle with
15022 help-xref-stack-item directly.
15023 (describe-text-category): Use with-help-window and help-buffer.
15024
15025 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
15026 for the displayed buffer (bug#4887).
15027
15028 * man.el (Man-completion-table): New function.
15029 (man): Use it.
15030
15031 2009-11-24 David Reitter <david.reitter@gmail.com>
15032
15033 * vc-git.el (vc-git-registered): Use checkout directory (where
15034 .git is) rather than the file's directory and a relative path spec
15035 to work around a bug in git.
15036
15037 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
15038
15039 Improve handling of processes on remote hosts.
15040
15041 * eshell/esh-util.el (eshell-path-env): New defvar.
15042 (eshell-parse-colon-path): New defun.
15043 (eshell-file-attributes): Use `eshell-parse-colon-path'.
15044
15045 * eshell/esh-ext.el (eshell-search-path):
15046 Use `eshell-parse-colon-path'.
15047 (eshell-remote-command): Remove argument HANDLER.
15048 (eshell-external-command): Check for FTP remote connection.
15049
15050 * eshell/esh-proc.el (eshell-gather-process-output):
15051 Use `file-truename', in order to start also symlinked files.
15052 Apply `start-file-process' instead of `start-process'.
15053 Shorten `command' to the local file name part.
15054
15055 * eshell/em-cmpl.el (eshell-complete-commands-list):
15056 Use `eshell-parse-colon-path'.
15057
15058 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
15059
15060 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
15061 to `eshell-directory-change-hook'.
15062
15063 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
15064
15065 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
15066 because it could be enabled automatically if view-read-only is non-nil.
15067
15068 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
15069
15070 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
15071 made on 2009-11-22.
15072
15073 2009-11-24 Glenn Morris <rgm@gnu.org>
15074
15075 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
15076 deleted variable bookmark-bmenu-bookmark-column.
15077
15078 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
15079
15080 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
15081
15082 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
15083
15084 * net/browse-url.el (browse-url-filename-alist): On Windows, add
15085 two slashes to the "file:" prefix.
15086 (browse-url-file-url): De-munge Cygwin filenames before passing
15087 them to Windows browser.
15088 (browse-url-default-windows-browser): Use call-process.
15089
15090 2009-11-23 Juri Linkov <juri@jurta.org>
15091
15092 Implement DocView Continuous mode. (Bug#4896)
15093 * doc-view.el (doc-view-continuous-mode): New defcustom.
15094 (doc-view-mode-map): Bind C-n/<down> to
15095 `doc-view-next-line-or-next-page', C-p/<up> to
15096 `doc-view-previous-line-or-previous-page'.
15097 (doc-view-next-line-or-next-page)
15098 (doc-view-previous-line-or-previous-page): New commands.
15099
15100 2009-11-23 Juri Linkov <juri@jurta.org>
15101
15102 Implement Isearch in comint input history. (Bug#3746)
15103 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
15104 `isearch-mode-hook'.
15105 (comint-history-isearch): New defcustom.
15106 (comint-history-isearch-backward)
15107 (comint-history-isearch-backward-regexp): New commands.
15108 (comint-history-isearch-message-overlay): New buffer-local variable.
15109 (comint-history-isearch-setup, comint-history-isearch-end)
15110 (comint-goto-input, comint-history-isearch-search)
15111 (comint-history-isearch-message, comint-history-isearch-wrap)
15112 (comint-history-isearch-push-state)
15113 (comint-history-isearch-pop-state): New functions.
15114
15115 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
15116
15117 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
15118 return.
15119 (tramp-handle-make-symbolic-link)
15120 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
15121 Quote file names.
15122 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
15123 (tramp-handle-process-file): Use it.
15124
15125 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
15126
15127 * window.el (move-to-window-line-last-op): Remove.
15128 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
15129
15130 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
15131
15132 Make M-r mirror the new cycling behavior of C-l.
15133 * window.el (move-to-window-line-last-op): New var.
15134 (move-to-window-line-top-bottom): New command.
15135 (global-map): Bind M-r move-to-window-line-top-bottom.
15136
15137 2009-11-23 Sven Joachim <svenjoac@gmx.de>
15138
15139 * dired-x.el (dired-guess-shell-alist-default):
15140 Support xz format. (Bug#4953)
15141
15142 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
15143
15144 * emulation/viper-cmd.el: Use viper-last-command-char instead of
15145 last-command-char/last-command-event.
15146 (viper-prefix-arg-value): Do correct conversion of event-char for
15147 XEmacs.
15148
15149 * emulation/viper-util.el, emulation/viper.el:
15150 Use viper-last-command-char instead of
15151 last-command-char/last-command-event.
15152
15153 * ediff-init.el, ediff-mult.el, ediff-util.el:
15154 Replace last-command-char and last-command-event
15155 with (ediff-last-command-char) everywhere.
15156
15157 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
15158 created in fundamental mode.
15159
15160 * ediff.el (ediff-version): Revert the change of interactive-p to
15161 called-interactively-p.
15162
15163 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
15164
15165 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
15166 generation from word-movement command names.
15167
15168 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
15169
15170 * cus-start.el (all): Add native condition for font-use-system-font.
15171
15172 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
15173
15174 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
15175 Correct the patch from 2009-11-18. (Bug#3910)
15176
15177 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
15178
15179 * progmodes/subword.el: Rename from lisp/subword.el.
15180
15181 * subword.el: Rename to progmodes/subword.el.
15182
15183 * Makefile.in (ELCFILES): Adapt to subword.el move.
15184
15185 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15186 Stefan Monnier <monnier@iro.umontreal.ca>
15187
15188 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
15189 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
15190 (bookmark-bmenu-show-filenames): Use push.
15191 (bookmark-bmenu-hide-filenames): Use local var instead of
15192 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
15193 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
15194 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
15195 filenames now that the bookmark names are always available.
15196
15197 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
15198
15199 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
15200 (bookmark-search-pattern): Move and leave unbound.
15201 (bookmark-bmenu-mode-map): Change binding.
15202 (bookmark-read-search-input): Simplify.
15203 Don't use text-char-description. Don't error on non-char events.
15204 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
15205 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
15206 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
15207 Use a local var for the timer.
15208 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
15209 (i.e. bookmark-bmenu-search).
15210
15211 2009-11-21 Glenn Morris <rgm@gnu.org>
15212
15213 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
15214
15215 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
15216
15217 * net/browse-url.el (browse-url-default-windows-browser):
15218 Use cygstart for cygwin.
15219
15220 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
15221
15222 * bookmark.el: Formatting and doc fixes only:
15223 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
15224 (bookmark-bmenu-search): Wrap to fit within 80 columns.
15225 Minor grammar and punctuation fixes in doc string.
15226 (bookmark-read-search-input): Adjust to fit within 80 columns.
15227
15228 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
15229
15230 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
15231 (c-backward-into-nomenclature): Adapt to subword renaming.
15232
15233 * subword.el (subword-forward, subword-backward, subword-mark)
15234 (subword-kill, subword-backward-kill, subword-transpose)
15235 (subword-downcase, subword-upcase, subword-capitalize)
15236 (subword-forward-internal, subword-backward-internal):
15237 Rename from forward-subword, backward-subword, mark-subword,
15238 kill-subword, backward-kill-subword, transpose-subwords,
15239 downcase-subword, upcase-subword, capitalize-subword,
15240 forward-subword-internal, backward-subword-internal.
15241
15242 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15243
15244 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
15245 New options.
15246 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
15247 New vars.
15248 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
15249 (bookmark-bmenu-filter-alist-by-regexp)
15250 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
15251 (bookmark-bmenu-search): New command.
15252 (bookmark-bmenu-mode-map): Bind it.
15253
15254 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
15255
15256 * progmodes/cc-cmds.el: declare-functioned forward-subword and
15257 backward-subword to quit the byte-compiler.
15258
15259 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
15260
15261 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
15262
15263 * progmodes/cc-cmds.el (c-update-modeline)
15264 (c-forward-into-nomenclature, c-backward-into-nomenclature):
15265 Refer to subword.el functions instead of cc-subword.el.
15266
15267 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
15268 subword.el functions instead of cc-subword.el.
15269
15270 * progmodes/cc-subword.el: Rename to subword.el.
15271 * subword.el: Rename from progmodes/cc-subword.el.
15272 (subword-mode-map): Rename from c-subword-mode-map.
15273 (subword-mode): Rename from c-subword-mode.
15274 (global-subword-mode): New global minor mode.
15275 (forward-subword): Rename from c-forward-subword.
15276 (backward-subword): Rename from c-backward-subword.
15277 (mark-subword): Rename from c-mark-subword.
15278 (kill-subword): Rename from c-kill-subword.
15279 (backward-kill-subword): Rename from c-backward-kill-subword.
15280 (transpose-subwords): Rename from c-tranpose-subword.
15281 (downcase-subword): Rename from c-downcase-subword.
15282 (capitalize-subword): Rename from c-capitalize-subword.
15283 (forward-subword-internal): Rename from c-forward-subword-internal.
15284 (backward-subword-internal): Rename from c-backward-subword-internal.
15285
15286 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
15287
15288 * vc.el (vc-deduce-fileset): Allow non-state changing operations
15289 from a dired buffer.
15290 (vc-dired-deduce-fileset): New function.
15291 (vc-root-diff, vc-print-root-log): Use it.
15292
15293 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
15294 nil LIMIT argument to vc-print-log-internal.
15295
15296 2009-11-20 Glenn Morris <rgm@gnu.org>
15297
15298 * Makefile.in (ELCFILES): Regenerate.
15299
15300 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
15301
15302 * calc/calc.el (calc-set-mode-line):
15303 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15304 (math-format-number): Rename `math-format-complement-signed' to
15305 `math-format-twos-complement'.
15306
15307 * calc/calc-bin.el (math-format-twos-complement): Rename from
15308 math-format-complement-signed.
15309 (calc-radix): Rename `calc-complement-signed-mode' to
15310 `calc-twos-complement-mode'.
15311 (calc-octal-radix, calc-hex-radix): Add an argument for
15312 two's complement.
15313
15314 * calc/calc-embed.el (calc-embedded-mode-vars):
15315 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15316
15317 * calc/calc-ext.el (calc-init-extensions):
15318 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15319 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
15320
15321 * calc/calc-units.el (math-build-units-table-buffer):
15322 Let `calc-twos-complement-mode' be nil.
15323
15324 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
15325 entries.
15326
15327 * calc/calc-vec.el (calcFunc-vunpack):
15328 * calc/calc-aent.el (calc-do-calc-eval):
15329 * calc/calc-forms.el (math-format-date):
15330 * calc/calc-graph.el (calc-graph-plot):
15331 * calc/calc-math.el (math-use-emacs-fn):
15332 * calc/calccomp.el (math-compose-expr):
15333 Let `calc-twos-complement-mode' be nil.
15334
15335 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
15336
15337 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
15338 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
15339 * minibuffer.el (completion-in-region-functions): New hook.
15340 (completion-in-region): New function.
15341 * emacs-lisp/lisp.el (lisp-complete-symbol):
15342 * pcomplete.el (pcomplete-std-complete): Use it.
15343
15344 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
15345
15346 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
15347 (latex-complete-alist): New vars.
15348 (latex-string-prefix-p, latex-complete-bibtex-keys)
15349 (latex-complete-envnames, latex-complete-refkeys)
15350 (latex-complete-data): New functions.
15351 (latex-complete, latex-indent-or-complete): New commands.
15352
15353 * window.el (display-buffer-mark-dedicated): New var.
15354 (display-buffer): Obey it.
15355 * minibuffer.el (minibuffer-completion-help): Use it.
15356
15357 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
15358
15359 * filecache.el (file-cache-add-file): Use push and cons.
15360 (file-cache-delete-file-regexp): Use push.
15361 (file-cache-complete): Use completion-in-region.
15362
15363 * simple.el (with-wrapper-hook): Fix thinko.
15364
15365 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
15366 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
15367 Use with-current-buffer and string-to-number.
15368 (hfy-fallback-colour-values): Use assoc-string.
15369 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
15370 (hfy-face-at): Remove unused var `found-face'.
15371 (hfy-compile-stylesheet): Remove unused var `css'.
15372 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
15373 and `orig-buffer'.
15374 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
15375 Use with-current-buffer.
15376 (hfy-text-p): Use expand-file-name and fewer setq.
15377
15378 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
15379
15380 * htmlfontify.el, hfy-cmap.el: New files.
15381
15382 2009-11-19 Juri Linkov <juri@jurta.org>
15383
15384 * minibuffer.el (completions-format): New defcustom.
15385 (completion--insert-strings): Implement vertical format.
15386
15387 * simple.el (switch-to-completions): Move point to the first
15388 completion when point was at the beginning of the buffer.
15389
15390 2009-11-19 Juri Linkov <juri@jurta.org>
15391
15392 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
15393
15394 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
15395
15396 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
15397
15398 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
15399 (mail-signature): Change default to t.
15400 (mail-from-style): Deprecate `system-default' value.
15401 (mail-insert-from-field): For default value of mail-from-style,
15402 default to `angles' unless `angles' needs quoting and `parens'
15403 does not.
15404 (mail-citation-prefix-regexp): Use citation regexp from
15405 message-mode.
15406
15407 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
15408
15409 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
15410 Set variables for computing the prompt for reading password.
15411
15412 2009-11-19 Glenn Morris <rgm@gnu.org>
15413
15414 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
15415
15416 * textmodes/flyspell.el (sgml-lexical-context): Declare.
15417
15418 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
15419 (newsticker-treeview-listwindow-height): Fix custom type.
15420
15421 2009-11-19 Kenichi Handa <handa@m17n.org>
15422
15423 * descr-text.el (describe-char-padded-string): Compose with TAB
15424 only if there's a font for CH.
15425 (describe-char): Fix the condition for detecting a trivial composition.
15426
15427 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
15428
15429 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
15430 more accurate version of the regexp. (Bug#3910)
15431
15432 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
15433
15434 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
15435
15436 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
15437
15438 * font-setting.el (font-use-system-font): Declare for byte-compiler.
15439 (font-setting-change-default-font): Fix typo in docstring.
15440
15441 2009-11-18 Alan Mackenzie <acm@muc.de>
15442
15443 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
15444
15445 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
15446
15447 * font-setting.el (font-use-system-font): Move ...
15448
15449 * cus-start.el (all): ... to here.
15450
15451 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
15452
15453 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
15454 Don't set `ad-return-value' if `ad-do-it' doesn't.
15455
15456 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
15457 modification time.
15458
15459 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
15460
15461 * menu-bar.el: Put "Use system font" in Option-menu.
15462 (menu-bar-options-save): Add font-use-system-font.
15463
15464 * loadup.el: If feature system-font-setting or font-render-setting is
15465 there, load font-setting.
15466
15467 * Makefile.in (ELCFILES): Add font-settings.el.
15468 * font-setting.el: New file.
15469
15470 2009-11-17 Glenn Morris <rgm@gnu.org>
15471
15472 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
15473
15474 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
15475 Preserve point in the list buffer. (Bug#4939)
15476 Use point-at-eol.
15477 (newsticker--treeview-list-update-highlight)
15478 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
15479
15480 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
15481
15482 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
15483 Remove.
15484
15485 * calc/calc-ext.el (calc-init-extensions): Remove references to
15486 symclip.
15487
15488 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
15489
15490 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
15491 * calc/calc-help.el (calc-b-prefix-help): Remove references to
15492 `calc-symclip'.
15493
15494 2009-11-16 Kevin Ryde <user42@zip.com.au>
15495
15496 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
15497 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
15498
15499 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
15500 (lm-keywords-list): Allow comma-only separator like "foo,bar".
15501 Ignore trailing spaces by omit-nulls to split-string (fixing
15502 regression from Emacs 21 due to the incompatible split-string
15503 change). (Bug #4928.)
15504
15505 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
15506
15507 * vc.el (vc-log-show-limit): Default to 2000.
15508 (vc-print-log-internal): Insert buttons to request more entries
15509 when limiting the output.
15510
15511 * vc-sccs.el (vc-sccs-print-log):
15512 * vc-rcs.el (vc-rcs-print-log):
15513 * vc-cvs.el (vc-cvs-print-log):
15514 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
15515 LIMIT is non-nil.
15516
15517 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
15518
15519 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
15520 error when `tramp-gvfs-dbus-event-vector' is set.
15521 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
15522
15523 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
15524
15525 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
15526
15527 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
15528
15529 * net/dbus.el (dbus-unregister-service): New defun.
15530 (dbus-register-property): Register the handlers of
15531 "org.freedesktop.DBus.Properties" for SERVICE.
15532 (dbus-property-handler): Fix docstring.
15533
15534 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
15535
15536 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
15537 Quote doc string reference in defvaralias as it is not in special form.
15538 (byte-compile-output-docform): Doc fix.
15539
15540 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
15541
15542 * calc/calc.el (math-2-word-size, math-half-2-word-size)
15543 (calc-complement-signed-mode): New variables.
15544 (calc-set-mode-line): Add indicator for twos-complements.
15545 (math-format-number): Format twos-complement notation.
15546
15547 * calc/calc-bin.el (calc-word-size): Reset the variables
15548 `math-2-word-size' and `math-half-2-word-size'.
15549 (math-format-complement-signed, math-symclip, calcFunc-symclip)
15550 (calc-symclip): New functions.
15551
15552 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
15553
15554 * calc/calc-embed.el (calc-embedded-mode-vars):
15555 Add `calc-complement-signed-mode' to the list of modes.
15556
15557 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
15558 (calc-b-oper-keys): Add `calc-symclip' to list.
15559
15560 * calc/calc-ext.el (math-read-number-fancy): Read complement
15561 signed numbers.
15562 (calc-init-extensions): Add binding for `calc-symclip'.
15563 Add autoload for `calcFunc-symclip' and `calc-symclip'.
15564
15565 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
15566 `calc-symclip'.
15567 (calc-modes-menu): Add item for twos complement mode.
15568
15569 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
15570
15571 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
15572
15573 * register.el (jump-to-register, insert-register): Handle Semantic
15574 tags. From commented-out advice in semantic/senator.el.
15575
15576 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
15577
15578 * vc.el (vc-log-show-limit): New variable.
15579 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
15580 when using a prefix argument.
15581 (vc-print-log-internal): Add new argument LIMIT.
15582
15583 * vc-svn.el (vc-svn-print-log):
15584 * vc-mtn.el (vc-mtn-print-log):
15585 * vc-hg.el (vc-hg-print-log):
15586 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
15587 pass it to the log command when set. Make the BUFFER argument
15588 non-optional.
15589
15590 * vc-sccs.el (vc-sccs-print-log):
15591 * vc-rcs.el (vc-rcs-print-log):
15592 * vc-git.el (vc-git-print-log):
15593 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
15594 ignore it. Make the BUFFER argument non-optional
15595
15596 * bindings.el (mode-line-buffer-identification): Do not purecopy.
15597
15598 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
15599
15600 * dired.el (dired-mode-map): Move encryption items to "Operate"
15601 menu (Bug#4703).
15602
15603 * strokes.el (strokes-update-window-configuration): Make strokes
15604 buffer current before erasing (Bug#4906).
15605
15606 2009-11-15 Juri Linkov <juri@jurta.org>
15607
15608 * simple.el (set-mark-default-inactive): Add :type, :group
15609 and :version. (Bug#4876)
15610
15611 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
15612
15613 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
15614 (archive-unique-fname): ... here. (Bug#4929)
15615
15616 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
15617
15618 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
15619 with a real fix.
15620
15621 * novice.el (disabled-command-function): Add useful args.
15622 Setup the help buffer so that [back] works.
15623 Remove redundant call to help-mode.
15624 (disabled-command-function): Use `case'.
15625 (en/disable-command): New function extracted from enable-command.
15626 (enable-command, disable-command): Use it.
15627
15628 2009-11-14 Glenn Morris <rgm@gnu.org>
15629
15630 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
15631 constants. (Bug#4913)
15632
15633 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
15634
15635 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
15636
15637 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
15638 defined in C that have no doc-strings. (Bug#1063)
15639
15640 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
15641
15642 * cus-edit.el (data, files):
15643 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
15644
15645 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
15646
15647 * simple.el (shell-command): Doc fix (Bug#4891).
15648
15649 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
15650
15651 2009-11-14 Glenn Morris <rgm@gnu.org>
15652
15653 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
15654 statements for vc-diff, emerge-quit, and rmail-cease-edit.
15655 If they are already loaded, eval-after-load will do the right thing.
15656
15657 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
15658 compiling.
15659
15660 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
15661
15662 * simple.el (x-selection-owner-p): Declare.
15663 (read-mail-command): Use custom radio type rather than choice.
15664 (completion-no-auto-exit): Doc fix.
15665
15666 * custom.el (defgroup):
15667 * epg-config.el (epg): Doc fixes.
15668
15669 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
15670
15671 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
15672 * international/ccl.el (define-ccl-program): Do not purecopy the
15673 docstring, defconst does it anyway.
15674
15675 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
15676
15677 * add-log.el (add-change-log-entry): Avoid displaying the changelog
15678 a second time.
15679
15680 * x-dnd.el (x-dnd-maybe-call-test-function):
15681 * window.el (split-window-vertically):
15682 * whitespace.el (whitespace-help-on):
15683 * vc-rcs.el (vc-rcs-consult-headers):
15684 * userlock.el (ask-user-about-lock-help)
15685 (ask-user-about-supersession-help):
15686 * type-break.el (type-break-force-mode-line-update):
15687 * time-stamp.el (time-stamp-conv-warn):
15688 * terminal.el (te-set-output-log, te-more-break, te-filter)
15689 (te-sentinel, terminal-emulator):
15690 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
15691 (term-write-input-ring, term-check-source, term-start-output-log):
15692 (term-display-buffer-line, term-dynamic-list-completions):
15693 (term-ansi-make-term, serial-term):
15694 * subr.el (selective-display):
15695 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
15696 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
15697 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
15698 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
15699 (speedbar-remove-localized-speedbar-support)
15700 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
15701 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
15702 (speedbar-buffers-line-directory):
15703 * simple.el (shell-command-on-region, append-to-buffer)
15704 (prepend-to-buffer):
15705 * shadowfile.el (shadow-save-todo-file):
15706 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
15707 (scroll-bar-maybe-set-window-start):
15708 * sb-image.el (speedbar-image-dump):
15709 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
15710 (load-save-place-alist-from-file):
15711 * ps-samp.el (ps-print-message-from-summary):
15712 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
15713 (ps-background-image, ps-begin-job, ps-do-despool):
15714 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
15715 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
15716 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
15717 (pr-call-process, pr-file-list, pr-interface-save):
15718 * novice.el (disabled-command-function)
15719 (enable-command, disable-command):
15720 * mouse.el (mouse-buffer-menu-alist):
15721 * mouse-copy.el (mouse-kill-preserving-secondary):
15722 * macros.el (kbd-macro-query):
15723 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
15724 * informat.el (batch-info-validate):
15725 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
15726 * hippie-exp.el (try-expand-dabbrev-visible):
15727 * help-mode.el (help-make-xrefs):
15728 * help-fns.el (describe-variable):
15729 * generic-x.el (bat-generic-mode-run-as-comint):
15730 * finder.el (finder-mouse-select):
15731 * find-dired.el (find-dired-sentinel):
15732 * filesets.el (filesets-file-close):
15733 * files.el (list-directory):
15734 * faces.el (list-faces-display, describe-face):
15735 * facemenu.el (list-colors-display):
15736 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
15737 * epg.el (epg--process-filter, epg-cancel):
15738 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
15739 (epa--read-signature-type):
15740 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
15741 (emerge-file-names):
15742 * ehelp.el (electric-helpify):
15743 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
15744 * ediff-vers.el (rcs-ediff-view-revision):
15745 * ediff-util.el (ediff-setup):
15746 * ediff-mult.el (ediff-append-custom-diff):
15747 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
15748 (ediff-wordify):
15749 * echistory.el (Electric-command-history-redo-expression):
15750 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
15751 * disp-table.el (describe-display-table):
15752 * dired.el (dired-find-buffer-nocreate):
15753 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
15754 * dabbrev.el (dabbrev--same-major-mode-p):
15755 * chistory.el (list-command-history):
15756 * apropos.el (apropos-documentation):
15757 * allout.el (allout-obtain-passphrase):
15758 (allout-copy-exposed-to-buffer):
15759 (allout-verify-passphrase): Use with-current-buffer.
15760
15761 2009-11-13 Glenn Morris <rgm@gnu.org>
15762
15763 * Makefile.in (ELCFILES): Regenerate.
15764
15765 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
15766
15767 * net/dbus.el (dbus-registered-objects-table): Rename from
15768 `dbus-registered-functions-table', because it contains also properties.
15769 (dbus-unregister-object): Unregister also properties.
15770 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
15771 Use a timeout of 500 msec, in order to not block.
15772 (dbus-register-property, dbus-property-handler): New defuns.
15773
15774 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
15775
15776 * simple.el (minibuffer-default-add-completions): Drop deprecated
15777 4th arg.
15778
15779 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
15780
15781 * textmodes/artist.el (artist-mouse-choose-operation):
15782 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
15783 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
15784 (artist-compute-up-event-key): New function.
15785 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
15786
15787 2009-11-13 Kenichi Handa <handa@m17n.org>
15788
15789 * language/japan-util.el: Make sure that the value of jisx0208
15790 property is jisx0208 character.
15791
15792 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
15793
15794 * international/mule.el (auto-coding-regexp-alist): Only purecopy
15795 car or each item, not the whole list.
15796
15797 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
15798
15799 * minibuffer.el (minibuffer-completion-help):
15800 Use minibuffer-hide-completions.
15801
15802 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
15803
15804 * dired.el (dired-save-positions, dired-restore-positions): New funs.
15805 (dired-revert): Use them (bug#4880).
15806
15807 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
15808
15809 * tooltip.el (tooltip-frame-parameters): Undo previous change.
15810
15811 2009-11-12 Juri Linkov <juri@jurta.org>
15812
15813 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
15814 New functions.
15815 (find-file-literally-at-point): Alias of `ffap-literally'.
15816
15817 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
15818
15819 * textmodes/ispell.el (ispell-skip-region-alist):
15820 * textmodes/css-mode.el (auto-mode-alist):
15821 * progmodes/compile.el (auto-mode-alist):
15822 * international/mule.el (ctext-non-standard-encodings-alist)
15823 (ctext-non-standard-encodings-regexp):
15824 * simple.el (shell-command-switch, text-read-only):
15825 * replace.el (occur-mode-map):
15826 * paths.el (rmail-file-name):
15827 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
15828 * find-file.el (ff-special-constructs):
15829 * files.el (file-name-handler-alist):
15830 * composite.el: Purecopy strings.
15831
15832 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
15833
15834 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
15835
15836 * widget.el (define-widget): Purecopy the docstring.
15837 * international/mule-cmds.el (charset): Do not purecopy the
15838 docstring here, define-widget does it.
15839
15840 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
15841 * textmodes/bibtex-style.el (auto-mode-alist):
15842 * progmodes/inf-lisp.el (inferior-lisp-prompt):
15843 * progmodes/compile.el (compile-command):
15844 * language/korea-util.el (default-korean-keyboard):
15845 * international/mule-conf.el (file-coding-system-alist):
15846 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
15847 * tooltip.el (tooltip-frame-parameters):
15848 * newcomment.el (comment-end, comment-padding):
15849 * dired.el (dired-trivial-filenames):
15850 * comint.el (comint-file-name-prefix): Purecopy initial values.
15851
15852 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
15853
15854 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
15855 (tramp-advice-minibuffer-electric-tilde): Unload advices via
15856 `tramp-unload'.
15857 (tramp-advice-make-auto-save-file-name)
15858 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
15859 after removing the advice.
15860
15861 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
15862
15863 * progmodes/grep.el (grep-regexp-alist):
15864 * international/mule-cmds.el (iso-2022-control-alist):
15865 * emacs-lisp/timer.el (timer-duration-words):
15866 * subr.el (version-separator, version-regexp-alist):
15867 * minibuffer.el (completion-styles-alist):
15868 * faces.el (face-attribute-name-alist, list-faces-sample-text):
15869 Change defvars to defconsts.
15870
15871 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
15872 * loadup.el ("international/mule-conf"): Load the byte compiled version.
15873 * international/mule-conf.el: Allow to be byte compiled.
15874
15875 * international/mule.el (define-charset): Purecopy props.
15876 (load-with-code-conversion): Purecopy doc string and file name.
15877 (put-charset-property): Purecopy strings.
15878 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
15879
15880 * international/mule-cmds.el (register-input-method): Purecopy arguments.
15881 (define-char-code-property): Correctly purecopy the table.
15882
15883 * international/ccl.el (define-ccl-program): Purecopy the docstring.
15884
15885 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
15886
15887 * subr.el (add-hook): Purecopy strings.
15888 (eval-after-load): Purecopy load-history-regexp and the form.
15889
15890 * custom.el (custom-declare-group): Purecopy load-file-name.
15891
15892 * subr.el (menu-bar-separator): New defconst.
15893 * net/eudc.el (eudc-tools-menu):
15894 * international/mule-cmds.el (set-coding-system-map)
15895 (mule-menu-keymap):
15896 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
15897 * vc-hooks.el (vc-menu-map):
15898 * replace.el (occur-mode-map):
15899 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
15900 (menu-bar-edit-menu, menu-bar-goto-menu)
15901 (menu-bar-custom-menu, menu-bar-showhide-menu)
15902 (menu-bar-options-menu, menu-bar-tools-menu)
15903 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
15904 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
15905 (menu-bar-help-menu):
15906 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
15907 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
15908
15909 * term/x-win.el (x-gtk-stock-map):
15910 * progmodes/vera-mode.el (auto-mode-alist):
15911 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
15912 (inferior-lisp-program, inferior-lisp-load-command):
15913 * progmodes/hideshow.el (hs-special-modes-alist):
15914 * progmodes/gud.el (same-window-regexps):
15915 * progmodes/grep.el (grep-program, find-program, xargs-program):
15916 * net/telnet.el (same-window-regexps):
15917 * net/rlogin.el (same-window-regexps):
15918 * language/ethiopic.el (font-ccl-encoder-alist):
15919 * vc-sccs.el (vc-sccs-master-templates):
15920 * vc-rcs.el (vc-rcs-master-templates):
15921 * subr.el (cl-assertion-failed):
15922 * simple.el (next-error-overlay-arrow-position):
15923 * lpr.el (lpr-command):
15924 * locate.el (locate-ls-subdir-switches):
15925 * info.el (same-window-regexps, info)
15926 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
15927 * image-mode.el (image-mode, auto-mode-alist):
15928 * hippie-exp.el (hippie-expand-ignore-buffers):
15929 * format.el (format-alist):
15930 * find-dired.el (find-ls-subdir-switches, find-grep-options)
15931 (find-name-arg):
15932 * facemenu.el (facemenu-keybindings):
15933 * dired.el (dired-listing-switches, dired-chown-program):
15934 * diff.el (diff-switches, diff-command):
15935 * cus-edit.el (same-window-regexps):
15936 * bindings.el (mode-line-mule-info)
15937 (mode-line-buffer-identification): Purecopy strings.
15938
15939 2009-11-11 Juri Linkov <juri@jurta.org>
15940
15941 * simple.el (dired-get-filename) <declare-function>:
15942 Tell the byte-compiler about dired-get-filename.
15943 (shell-command): In Dired mode, get filename from the current line
15944 as the default value.
15945
15946 2009-11-10 Glenn Morris <rgm@gnu.org>
15947
15948 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
15949 * calendar/holidays.el, progmodes/cperl-mode.el:
15950 Update x-popup-menu declarations.
15951
15952 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
15953 (list-load-path-shadows): Use dolist.
15954 (list-load-path-shadows): Use with-current-buffer.
15955
15956 2009-11-10 Juri Linkov <juri@jurta.org>
15957
15958 * minibuffer.el (read-file-name): Support a list of default values
15959 in `default-filename'. Use the first file name where only one
15960 element is required. Doc fix.
15961
15962 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
15963
15964 * net/dbus.el (dbus-unregister-object): Release service, if no
15965 other method is registered for it.
15966
15967 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
15968
15969 * bookmark.el (bookmark-completing-read): Sort bookmark names if
15970 bookmark-sort-flag is non-nil (Bug#4653).
15971
15972 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
15973
15974 * emulation/cua-base.el: Add CUA property to some CC mode commands
15975 (Bug#4100).
15976
15977 2009-11-08 Kevin Ryde <user42@zip.com.au>
15978
15979 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
15980 at end of sentence (Bug#4818).
15981
15982 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
15983
15984 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15985 Handle "see declaration of" MSFT statements (Bug#4100).
15986
15987 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
15988
15989 * net/tramp.el (tramp-advice-make-auto-save-file-name)
15990 (tramp-advice-file-expand-wildcards): Unload via
15991 `ad-remove-advice'.
15992
15993 * net/trampver.el: Update release number.
15994
15995 2009-11-08 Kevin Ryde <user42@zip.com.au>
15996
15997 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
15998 `ad-do-it'.
15999
16000 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
16001
16002 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
16003 in order to keep context in SELinux.
16004
16005 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
16006
16007 * dired-aux.el (dired-query): Place cursor in echo area and allow
16008 C-g.
16009
16010 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
16011 menu item if not on a directory (Bug#4701).
16012
16013 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
16014
16015 Sync with Tramp 2.1.17.
16016
16017 * net/tramp.el (tramp-handle-copy-directory): Don't use
16018 `file-remote-p' (due to compatibility).
16019
16020 * net/tramp-compat.el (tramp-compat-copy-directory)
16021 (tramp-compat-delete-directory): New defuns.
16022
16023 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
16024 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
16025 Use `tramp-compat-delete-directory'.
16026
16027 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
16028 (tramp-smb-handle-delete-directory):
16029 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
16030
16031 * net/trampver.el: Update release number.
16032
16033 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
16034
16035 * tar-mode.el (tar-copy): Call write-region on the right buffer
16036 (Bug#4857).
16037
16038 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
16039 by hand, if necessary (Bug#4878).
16040
16041 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
16042
16043 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
16044 align size column (Bug#4839).
16045
16046 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
16047 statement.
16048
16049 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
16050
16051 * progmodes/ld-script.el (auto-mode-alist):
16052 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
16053
16054 * cus-face.el (custom-declare-face): Purecopy face spec.
16055
16056 2009-11-06 Kenichi Handa <handa@m17n.org>
16057
16058 * international/uni-bidi.el: Re-generated.
16059 * international/uni-category.el: Re-generated.
16060 * international/uni-combining.el: Re-generated.
16061 * international/uni-mirrored.el: Re-generated.
16062
16063 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
16064
16065 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
16066 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
16067 (tex-start-options, slitex-run-command, latex-run-command)
16068 (tex-run-command, tex-directory):
16069 * textmodes/ispell.el (ispell-html-skip-alists)
16070 (ispell-tex-skip-alists, ispell-tex-skip-alists):
16071 * textmodes/fill.el (adaptive-fill-first-line-regexp):
16072 (adaptive-fill-regexp):
16073 * textmodes/dns-mode.el (auto-mode-alist):
16074 * progmodes/python.el (interpreter-mode-alist):
16075 * progmodes/etags.el (tags-compression-info-list):
16076 * progmodes/etags.el (tags-file-name):
16077 * net/browse-url.el (browse-url-galeon-program)
16078 (browse-url-firefox-program):
16079 * mail/sendmail.el (mail-signature-file)
16080 (mail-citation-prefix-regexp):
16081 * international/mule-conf.el (eight-bit):
16082 * international/latexenc.el (latex-inputenc-coding-alist):
16083 * international/fontset.el (x-pixel-size-width-font-regexp):
16084 * emacs-lisp/warnings.el (warning-type-format):
16085 * emacs-lisp/trace.el (trace-buffer):
16086 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
16087 (emacs-lisp-mode-map):
16088 * calendar/holidays.el (holiday-solar-holidays)
16089 (holiday-bahai-holidays, holiday-islamic-holidays)
16090 (holiday-christian-holidays, holiday-hebrew-holidays)
16091 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
16092 (hebrew-holidays-1, holiday-oriental-holidays)
16093 (holiday-general-holidays):
16094 * x-dnd.el (x-dnd-known-types):
16095 * tool-bar.el (tool-bar):
16096 * startup.el (site-run-file):
16097 * shell.el (shell-dumb-shell-regexp):
16098 * rfn-eshadow.el (file-name-shadow-tty-properties)
16099 (file-name-shadow-properties):
16100 * paths.el (remote-shell-program, news-directory):
16101 * mouse.el ([C-down-mouse-3]):
16102 * menu-bar.el (menu-bar-tools-menu):
16103 * jka-cmpr-hook.el (jka-compr-load-suffixes)
16104 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
16105 (jka-compr-compression-info-list):
16106 * isearch.el (search-whitespace-regexp):
16107 * image-file.el (image-file-name-extensions):
16108 * find-dired.el (find-ls-option):
16109 * files.el (directory-listing-before-filename-regexp)
16110 (directory-free-space-args, insert-directory-program)
16111 (list-directory-brief-switches, magic-fallback-mode-alist)
16112 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
16113 (automount-dir-prefix):
16114 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
16115 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
16116 (face-font-registry-alternatives, face-font-registry-alternatives)
16117 (face-font-family-alternatives):
16118 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
16119 (facemenu-foreground-menu, facemenu-face-menu):
16120 * epa-hook.el (epa-file-name-regexp):
16121 * dnd.el (dnd-protocol-alist):
16122 * textmodes/rst.el (auto-mode-alist):
16123 * button.el (default-button): Purecopy strings.
16124
16125 2009-11-06 Glenn Morris <rgm@gnu.org>
16126
16127 * Makefile.in (ELCFILES): Update.
16128
16129 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
16130
16131 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
16132 * emacs-lisp/levents.el: Move to obsolete/levents.el.
16133
16134 * nxml/xsd-regexp.el (xsdre-gen-categories):
16135 * nxml/xmltok.el (xmltok-parse-entity):
16136 * nxml/rng-parse.el (rng-parse-validate-file):
16137 * nxml/rng-maint.el (rng-format-manual)
16138 (rng-manual-output-force-new-line):
16139 * nxml/rng-loc.el (rng-save-schema-location-1):
16140 * nxml/rng-cmpct.el (rng-c-parse-file):
16141 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
16142 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
16143
16144 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
16145
16146 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
16147 Remove extra save-excursions and make-variable-buffer-local's.
16148 Suggested by Stefan Monnier.
16149
16150 (verilog-getopt-file, verilog-module-inside-filename-p)
16151 (verilog-set-define): Merge GNU 1.35 and repair changes from
16152 switching to using with-current-buffer.
16153
16154 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
16155 being treated as a number and confusing AUTORESET.
16156 Reported by Dan Dever.
16157
16158 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
16159 Add verilog-auto-ignore-concat to fix backward compatibility with
16160 older verilog-modes. Reported by Dan Katz.
16161
16162 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
16163 containing closing anchors "...$".
16164
16165 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
16166 Reported by Wade Smith.
16167
16168 (verilog-batch-execute-func): Comment on function usage.
16169
16170 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
16171
16172 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
16173 for labels.
16174
16175 (verilog-label-re, verilog-calc-1): Support proper indent of named
16176 asserts.
16177
16178 (verilog-backward-token, verilog-basic-complete-re)
16179 (verilog-beg-of-statement, verilog-indent-re): Support proper
16180 indent of the assert statement at the beginning of a block of text.
16181
16182 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
16183 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
16184 tokens as begins.
16185
16186 2009-11-05 Glenn Morris <rgm@gnu.org>
16187
16188 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
16189 Emacs 19. (Bug#1531)
16190 (byte-compile-fix-header): Update for the above change.
16191 Drop test for epoch::version.
16192
16193 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
16194 * cus-dep.el (custom-make-dependencies):
16195 * finder.el (finder-compile-keywords):
16196 Use autoload-rubric's feature argument.
16197
16198 * calendar/diary-lib.el (top-level): Make load behave more like require.
16199
16200 * vc-git.el (vc-git-stash-map): Move definition before use.
16201
16202 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
16203
16204 * custom.el (custom-declare-group): Purecopy standard-value.
16205 (custom-declare-group): Purecopy custom-prefix.
16206
16207 * international/mule.el (load-with-code-conversion):
16208 Call do-after-load-evaluation unconditionally.
16209
16210 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
16211
16212 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
16213
16214 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
16215
16216 2009-11-04 Glenn Morris <rgm@gnu.org>
16217
16218 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
16219 (byte-compile-compatibility): Remove option.
16220 (byte-compile-close-variables, byte-compile-fix-header)
16221 (byte-compile-insert-header, byte-compile-output-docform)
16222 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
16223 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
16224 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
16225 (byte-compile-insert, byte-compile-defun):
16226 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
16227 (byte-defop-compiler19): Remove.
16228 Without byte-compile-compatibility, the 'emacs19-opcode property is not
16229 used by anything. Replace all calls with byte-defop-compiler.
16230
16231 2009-11-04 Juri Linkov <juri@jurta.org>
16232
16233 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
16234 (menu-bar-options-menu): Don't quote the `prop' arg of
16235 `menu-bar-make-mm-toggle'.
16236
16237 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
16238
16239 * calendar/calendar.el (cal-loaddefs):
16240 * calendar/diary-lib.el (diary-loaddefs):
16241 * calendar/holidays.el (hol-loaddefs):
16242 * eshell/esh-module.el (esh-groups): Load rather than require.
16243
16244 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
16245
16246 * calendar/todo-mode.el (todo-add-category): Don't hardcode
16247 point-min==1.
16248 (todo-top-priorities): Only display-buffer when called interactively.
16249 (todo-item-start): Don't save excursion point.
16250 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
16251 (todo-insert-item-here, todo-file-item, todo-remove-item):
16252 Adjust uses of todo-item-start and todo-item-end.
16253
16254 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
16255 (autoload-rubric): Don't use any more.
16256
16257 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
16258 and only put a prop if it is non-nil.
16259
16260 2009-11-03 Juri Linkov <juri@jurta.org>
16261
16262 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
16263 (menu-bar-options-menu): Fix list quoting (Bug#4429).
16264
16265 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
16266 and "Menu" to make top-level menu item visually one unit (like
16267 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
16268 multi-word menu items). Fix :help string for quit-window.
16269
16270 2009-11-03 Glenn Morris <rgm@gnu.org>
16271
16272 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
16273 (byte-compile-file-form-define-abbrev-table)
16274 (byte-compile-file-form-custom-declare-variable)
16275 (byte-compile-variable-ref, byte-compile-defvar):
16276 Whether or not a warning is enabled should only affect whether we issue
16277 the warning, not whether or not we collect the relevant data.
16278 Eg warnings can be turned on and off throughout the course of a file.
16279
16280 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
16281 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
16282
16283 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
16284
16285 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
16286 * play/mpuz.el (mpuz-create-buffer):
16287 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
16288 (lm-print-y,s,noise, lm-print-w0, lm-init):
16289 * play/gomoku.el (gomoku-prompt-for-move):
16290 * play/fortune.el (fortune-in-buffer):
16291 * play/dissociate.el (dissociated-press):
16292 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
16293 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
16294 * mail/supercite.el (sc-eref-show):
16295 * mail/smtpmail.el (smtpmail-send-it):
16296 * mail/rmailsum.el (rmail-summary-next-labeled-message)
16297 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
16298 (rmail-summary-undelete-many, rmail-summary-rmail-update)
16299 (rmail-summary-goto-msg, rmail-summary-expunge)
16300 (rmail-summary-get-new-mail, rmail-summary-search-backward)
16301 (rmail-summary-add-label, rmail-summary-output-menu)
16302 (rmail-summary-output-body):
16303 * mail/rfc822.el (rfc822-addresses):
16304 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
16305 * mail/mailpost.el (post-mail-send-it):
16306 * mail/hashcash.el (hashcash-generate-payment):
16307 * mail/feedmail.el (feedmail-run-the-queue)
16308 (feedmail-queue-send-edit-prompt-help-first)
16309 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
16310 (feedmail-deduce-address-list):
16311 * eshell/esh-ext.el (eshell-remote-command):
16312 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
16313 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
16314 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
16315 (viper-save-string-in-file, viper-valid-marker):
16316 * emulation/viper-keym.el (viper-toggle-key):
16317 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
16318 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
16319 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
16320 * emulation/viper-cmd.el (viper-exec-form-in-vi)
16321 (viper-exec-form-in-emacs, viper-brac-function):
16322 * emulation/viper.el (viper-delocalize-var):
16323 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
16324 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
16325 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
16326 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
16327 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
16328 * emulation/edt.el (edt-electric-helpify):
16329 * emulation/cua-rect.el (cua--rectangle-aux-replace):
16330 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
16331 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
16332 (cua-indent-to-global-mark-column):
16333 * calendar/diary-lib.el (calendar-mark-1):
16334 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
16335 Use with-current-buffer.
16336 * emulation/viper.el (viper-delocalize-var): Use dolist.
16337
16338 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
16339
16340 * comint.el (comint-replace-by-expanded-history-before-point):
16341 Replace !! with the previous input string literally (Bug#1795).
16342
16343 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
16344
16345 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
16346 to be made up of whitespace.
16347
16348 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
16349
16350 * minibuffer.el (read-file-name): Don't use file dialogs for
16351 remote directories (Bug#99).
16352
16353 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
16354
16355 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
16356
16357 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
16358
16359 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
16360 instead of deleting the window or frame.
16361
16362 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
16363
16364 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
16365 Support face colors.
16366
16367 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
16368 New function. Support face colors (Bug#1168).
16369 (tex-common-initialization): Use it.
16370
16371 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
16372 mode allows it (Bug#1168).
16373
16374 2009-10-31 Juri Linkov <juri@jurta.org>
16375
16376 * facemenu.el (list-colors-display): Don't mark buffer as
16377 modified (Bug#3948).
16378
16379 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
16380
16381 * international/mule-diag.el (list-character-sets-1):
16382 Minor message fix (Bug#3526).
16383
16384 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
16385 Fix face property (Bug#4834).
16386 (etags-list-tags, etags-tags-apropos-additional)
16387 (etags-tags-apropos, tags-select-tags-table): Add follow-link
16388 property.
16389
16390 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
16391 items.
16392
16393 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
16394
16395 * textmodes/two-column.el (2C-split):
16396 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
16397 * textmodes/tex-mode.el (tex-set-buffer-directory):
16398 * textmodes/spell.el (spell-region, spell-string):
16399 * textmodes/reftex.el (reftex-erase-buffer):
16400 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
16401 * textmodes/reftex-toc.el (reftex-toc-promote-action):
16402 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
16403 (reftex-select-item):
16404 * textmodes/reftex-ref.el (reftex-label-info-update)
16405 (reftex-offer-label-menu):
16406 * textmodes/reftex-index.el (reftex-index-change-entry)
16407 (reftex-index-phrases-info):
16408 * textmodes/reftex-global.el (reftex-create-tags-file)
16409 (reftex-save-all-document-buffers, reftex-ensure-write-access):
16410 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
16411 (reftex-view-crossref-from-bibtex):
16412 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
16413 (reftex-extract-bib-entries-from-thebibliography)
16414 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
16415 * textmodes/refbib.el (r2b-capitalize-title):
16416 (r2b-convert-buffer, r2b-help):
16417 * textmodes/page-ext.el (pages-directory)
16418 (pages-directory-goto-with-mouse):
16419 * textmodes/bibtex.el (bibtex-validate-globally):
16420 * textmodes/bib-mode.el (bib-capitalize-title):
16421 * textmodes/artist.el (artist-clear-buffer, artist-system):
16422 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
16423 (local-set-scheme-interaction-buffer, xscheme-process-filter)
16424 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
16425 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
16426 (xscheme-send-control-g-interrupt, xscheme-start-process)
16427 (xscheme-process-sentinel, xscheme-cd):
16428 * progmodes/verilog-mode.el (verilog-read-always-signals)
16429 (verilog-set-define, verilog-getopt-file)
16430 (verilog-module-inside-filename-p):
16431 * progmodes/sh-script.el:
16432 * progmodes/python.el (python-pdbtrack-get-source-buffer)
16433 (python-pdbtrack-grub-for-buffer, python-execute-file):
16434 * progmodes/octave-inf.el (inferior-octave):
16435 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
16436 (idlwave-shell-compile-helper-routines, idlwave-set-local)
16437 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
16438 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
16439 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
16440 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
16441 (idlwave-shell-filter, idlwave-shell-examine-highlight)
16442 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
16443 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
16444 (idlwave-shell-examine-display, idlwave-shell-run-region)
16445 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
16446 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
16447 * progmodes/idlw-help.el (idlwave-help-get-special-help)
16448 (idlwave-help-get-help-buffer):
16449 * progmodes/gud.el (gud-basic-call, gud-find-class)
16450 (gud-tooltip-activate-mouse-motions-if-enabled):
16451 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
16452 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
16453 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
16454 (ebrowse-tags-next-file):
16455 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
16456 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
16457 (ebnf-eps-finish-and-write):
16458 * progmodes/cpp.el (cpp-edit-save):
16459 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
16460 * progmodes/cc-defs.el (c-emacs-features):
16461 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
16462 (antlr-directory-dependencies):
16463 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
16464 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
16465 (ada-find-any-references, ada-make-filename-from-adaname)
16466 (ada-make-body-gnatstub):
16467 * obsolete/rnews.el (news-list-news-groups):
16468 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
16469 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
16470 * net/rcirc.el (rcirc-debug):
16471 * net/newst-treeview.el (newsticker--treeview-list-add-item)
16472 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
16473 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
16474 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
16475 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
16476 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
16477 (newsticker--treeview-list-clear-highlight)
16478 (newsticker--treeview-list-update-highlight)
16479 (newsticker--treeview-list-highlight-start)
16480 (newsticker--treeview-tree-update-highlight)
16481 (newsticker--treeview-get-selected-item)
16482 (newsticker-treeview-mark-list-items-old)
16483 (newsticker--treeview-set-current-node):
16484 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
16485 * net/newst-backend.el (newsticker--get-news-by-funcall)
16486 (newsticker--get-news-by-wget, newsticker--image-get)
16487 (newsticker--image-sentinel):
16488 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
16489 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
16490 (eudc-ph-close-session):
16491 * net/eudc.el (eudc-save-options):
16492 * language/thai-word.el (thai-update-word-table):
16493 * language/japan-util.el (japanese-string-conversion):
16494 * international/titdic-cnv.el (tsang-quick-converter)
16495 (ziranma-converter, ctlau-converter):
16496 * international/mule-cmds.el (describe-language-environment):
16497 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
16498 (skkdic-convert-postfix, skkdic-convert-prefix):
16499 (skkdic-convert-okuri-nasi, skkdic-convert):
16500 * emacs-lisp/re-builder.el (reb-update-overlays):
16501 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
16502 * emacs-lisp/gulp.el (gulp-send-requests):
16503 * emacs-lisp/find-gc.el (trace-call-tree):
16504 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
16505 (eieio-describe-generic):
16506 * emacs-lisp/eieio-base.el (eieio-persistent-read):
16507 * emacs-lisp/edebug.el (edebug-outside-excursion):
16508 * emacs-lisp/debug.el (debugger-make-xrefs):
16509 * emacs-lisp/cust-print.el (custom-prin1-to-string):
16510 * emacs-lisp/chart.el (chart-new-buffer):
16511 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
16512 Use with-current-buffer.
16513 * textmodes/artist.el (artist-system): Don't call
16514 copy-sequence on a fresh string.
16515 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
16516
16517 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
16518
16519 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
16520 is no item to edit. (Bug#4820)
16521 (todo-top-priorities): Restore point and restore narrowing in Todo
16522 buffer. (Bug#4820)
16523
16524 2009-10-31 Glenn Morris <rgm@gnu.org>
16525
16526 * net/ange-ftp.el (top-level): Don't require dired when compiling.
16527 (comint-last-output-start, comint-last-input-start)
16528 (comint-last-input-end): Don't defvar when compiling.
16529 (ange-ftp-process-file): Use bound-and-true-p.
16530
16531 * pcmpl-rpm.el (top-level): Move provide statement to end.
16532 (pcmpl-rpm): Remove unused custom group.
16533
16534 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
16535
16536 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
16537
16538 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
16539 (byte-compile-warnings): Add `constants' as an option.
16540 (byte-compile-callargs-warn, byte-compile-arglist-warn)
16541 (display-call-tree): Update for byte-compile-fdefinition possibly
16542 returning `(macro lambda ...)'. (Bug#4778)
16543 (byte-compile-variable-ref, byte-compile-setq-default):
16544 Respect `constants' member of byte-compile-warnings.
16545
16546 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
16547
16548 * vc-bzr.el (vc-bzr-revision-keywords): New var.
16549 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
16550 to "submit:".
16551
16552 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
16553
16554 * textmodes/ispell.el (ispell-skip-region-alist):
16555 * international/mule-conf.el (eight-bit):
16556 * international/fontset.el (font-encoding-alist):
16557 * startup.el (pure-space-overflow-message):
16558 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
16559 * paths.el (gnus-nntp-service, rmail-spool-directory)
16560 (term-file-prefix):
16561 * files.el (save-some-buffers-action-alist):
16562 * cmuscheme.el (same-window-buffer-names):
16563 * ielm.el (same-window-buffer-names):
16564 * shell.el (same-window-buffer-names):
16565 * mail/sendmail.el (same-window-buffer-names):
16566 * progmodes/inf-lisp.el (same-window-buffer-names):
16567 * bindings.el (mode-line-client)
16568 (mode-line-column-line-number-mode-map):
16569 * language/tibetan.el (tibetan-precomposition-rule-regexp)
16570 (tibetan-precomposed-regexp): Purecopy string arguments.
16571
16572 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16573
16574 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
16575 (calcDigit-nondigit):
16576 * calc/calc-yank.el (calc-copy-to-buffer):
16577 * calc/calc-units.el (calc-invalidate-units-table):
16578 * calc/calc-trail.el (calc-trail-yank):
16579 * calc/calc-store.el (calc-insert-variables):
16580 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
16581 * calc/calc-prog.el (calc-read-parse-table):
16582 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
16583 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
16584 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
16585 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
16586 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
16587 (calc-graph-name, calc-graph-find-command, calc-graph-view)
16588 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
16589 * calc/calc-ext.el (calc-realign):
16590 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
16591 (calc-embedded-finish-edit, calc-embedded-make-info)
16592 (calc-embedded-finish-command, calc-embedded-stack-change):
16593 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
16594
16595 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
16596 shell-dynamic-complete-filename in preference to
16597 comint-dynamic-complete-filename.
16598
16599 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
16600 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
16601 Don't consider whether the display supports colors.
16602 (bookmark-import-new-list): Use dolist.
16603 (bookmark-bmenu-mode-map): Move initialization into declaration.
16604 (bookmark-bmenu-list): Use dolist, simplify.
16605 (bookmark-show-all-annotations): Use save-selected-window and dolist.
16606 (menu-bar-final-items): Use push.
16607
16608 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
16609
16610 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
16611 it works on remote files.
16612 (vc-hg-diff): Don't pass any `--cwd' argument.
16613
16614 2009-10-27 Kevin Ryde <user42@zip.com.au>
16615
16616 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
16617 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
16618 (Further to Bug#3921).
16619
16620 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
16621
16622 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
16623 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
16624 calling `tramp-imap-put-file'. Add file size to the call.
16625 (tramp-imap-get-file-entries): Compute also user name, file size,
16626 and date.
16627 (tramp-imap-handle-insert-directory): Insert uid and gid.
16628 (tramp-imap-handle-file-attributes): Transform uid and gid
16629 according to `id-format'.
16630 (tramp-imap-put-file): New optional parameter SIZE. Encode file
16631 size in header X-Size.
16632
16633 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
16634
16635 * simple.el (transpose-subr): Give clearer error when the mark
16636 is not set. (Bug#4807)
16637
16638 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
16639
16640 * net/tramp.el (tramp-perl-file-truename): New defconst.
16641 Perl code contributed by yary <not.com@gmail.com> (tiny change).
16642 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
16643 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
16644 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
16645
16646 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
16647 Ignore `dired-call-process'.
16648 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
16649
16650 2009-10-26 Julian Scheid <julians37@gmail.com>
16651
16652 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
16653 (tramp-get-remote-readlink): New defun.
16654 (tramp-handle-file-truename): Use it.
16655 (tramp-handle-file-exists-p): Check file-attributes cache, assume
16656 file exists if cache value present.
16657 (tramp-check-cached-permissions): New defun.
16658 (tramp-handle-file-readable-p): Use it.
16659 (tramp-handle-file-writable-p): Likewise.
16660 (tramp-handle-file-executable-p): Likewise.
16661 (tramp-handle-file-name-all-completions): Try using Perl to get
16662 partial completions. When perl not available, combine `cd' and
16663 `ls' into single remote operation and use shell expansion to get
16664 partial remote directory contents. Set `file-exists-p' cache for
16665 directory and any files returned by ls. Change cache handling to
16666 support partial directory contents. Use error message emitted by
16667 remote `cd' or Perl code for local tramp-error.
16668 (tramp-do-copy-or-rename-file-directly): Avoid separate
16669 tramp-send-command-and-check call.
16670 (tramp-handle-process-file): Merge three remote ops into one.
16671 Do not flush all caches when `process-file-side-effects' is set.
16672 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
16673 file-attributes shows uid/gid to be set already.
16674
16675 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
16676
16677 * textmodes/tex-mode.el (tex-dvi-view-command)
16678 (tex-show-queue-command, tex-open-quote):
16679 * progmodes/ruby-mode.el (auto-mode-alist)
16680 (interpreter-mode-alist): Purecopy strings.
16681
16682 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
16683
16684 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
16685 string for the hook, keymap and abbrev table.
16686
16687 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
16688
16689 * x-dnd.el (x-dnd-xdnd-to-action):
16690 * startup.el (fancy-startup-text, fancy-about-text): Change to
16691 defconst from defvar.
16692
16693 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
16694
16695 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
16696 Purecopy initialization strings.
16697
16698 * mail/sendmail.el (mail-header-separator)
16699 (mail-personal-alias-file):
16700 * mail/rmail.el (rmail-default-dont-reply-to-names)
16701 (rmail-ignored-headers, rmail-retry-ignored-headers)
16702 (rmail-highlighted-headers, rmail-secondary-file-directory)
16703 (rmail-secondary-file-regexp):
16704 * files.el (null-device, file-name-invalid-regexp)
16705 (locate-dominating-stop-dir-regexp)
16706 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
16707 (interpreter-mode-alist): Use mapcar instead of mapc.
16708
16709 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
16710
16711 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
16712 (completion-ignored-extensions):
16713 (debug-ignored-errors): Purecopy strings.
16714
16715 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
16716
16717 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
16718 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
16719 (pcomplete--here): Use push.
16720
16721 * subr.el (all-completions): Declare the 4th arg obsolete.
16722
16723 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
16724
16725 * pcomplete.el (pcomplete-unquote-argument-function): New var.
16726 (pcomplete-unquote-argument): New function.
16727 (pcomplete--common-suffix): Always pay attention to case.
16728 (pcomplete--table-subvert): Quote and unquote the text.
16729 (pcomplete--common-quoted-suffix): New function.
16730 (pcomplete-std-complete): Use it and pcomplete-begin.
16731
16732 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
16733 we're inside a dedicated or minibuffer window.
16734
16735 2009-10-24 Karl Fogel <kfogel@red-bean.com>
16736
16737 * bookmark.el: Update documentation, especially documentation
16738 of `bookmark-alist' and of the bookmark file format.
16739 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
16740
16741 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
16742
16743 * mail/emacsbug.el (report-emacs-bug): Clarify that the
16744 keybindings apply to the mail buffer (Bug#4003). Shrink help
16745 window to buffer.
16746
16747 * whitespace.el (whitespace-mode, whitespace-newline-mode)
16748 (global-whitespace-mode, global-whitespace-newline-mode)
16749 (whitespace-toggle-options, global-whitespace-toggle-options):
16750 Doc fix (Bug#3660).
16751
16752 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
16753 of xmltok-start before the end tag was inserted (Bug#2840).
16754
16755 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
16756 patterns that are preceded by an open-paren (Bug#1320).
16757
16758 2009-10-24 Sven Joachim <svenjoac@gmx.de>
16759
16760 * files.el (delete-directory): Delete symlinks to directories with
16761 delete-file (Bug#4739).
16762
16763 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
16764
16765 * vc.el (vc-backend-for-registration): Rename from
16766 vc-get-backend-for-registration. Update callers.
16767
16768 * international/mule-cmds.el (set-language-info-alist):
16769 Purecopy lang-env.
16770 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
16771 (charset): Purecopy the name.
16772 (define-char-code-property): Purecopy string arguments.
16773
16774 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
16775 Purecopy string arguments.
16776
16777 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
16778 * ediff-hook.el (menu-bar-ediff-menu):
16779 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
16780 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
16781
16782 2009-10-24 Glenn Morris <rgm@gnu.org>
16783
16784 * comint.el (comint-dynamic-list-completions):
16785 * term.el (term-dynamic-list-completions): Use choose-completion rather
16786 than obsolete alias mouse-choose-completion.
16787
16788 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
16789 file-cache-choose-completion.
16790 (file-cache-choose-completion): Handle an optional event argument.
16791 (file-cache-mouse-choose-completion): Make it an obsolete alias.
16792
16793 * progmodes/octave-mod.el (octave-complete-symbol):
16794 Use choose-completion if mouse-choose-completion is ever removed.
16795
16796 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
16797 use.
16798
16799 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
16800 compiler.
16801
16802 * vc-hooks.el (vc-responsible-backend): Fix declaration.
16803
16804 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
16805
16806 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
16807 Ignore `pred' now that we receive one.
16808 Handle test-completion specially.
16809
16810 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
16811
16812 * vc.el (vc-responsible-backend): Throw an error if not backend is
16813 found. Remove the REGISTER argument. Move the code dealing with
16814 REGISTER ...
16815 (vc-get-backend-for-registration): ... here. New function.
16816 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
16817 of vc-responsible-backend, pass the file name instead of the
16818 directory name.
16819
16820 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
16821
16822 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
16823 New funs.
16824 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
16825 (pcomplete-comint-setup): Don't modify a global var via
16826 accidental side-effects.
16827 (pcomplete-shell-setup): Adjust call accordingly.
16828 (pcomplete-parse-comint-arguments): Use push.
16829
16830 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
16831
16832 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
16833 Allow uncapitalized info node names (Bug#3921).
16834
16835 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
16836 to the DEBUG file (Bug#3781).
16837
16838 2009-10-23 Jari Aalto <jari.aalto@cante.net>
16839
16840 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
16841 dictionary entry (Bug#4579).
16842
16843 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
16844
16845 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
16846 from `rfn-eshadow-update-overlay-hook' when unloading.
16847 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
16848 "rsyncc". Adjust doc string.
16849 (tramp-temp-buffer-file-name): New buffer-local defvar.
16850 (tramp-handle-insert-file-contents, tramp-handle-write-region):
16851 Keep temporary file when indicated by method ("rsync" and
16852 "rsyncc").
16853 (tramp-handle-write-region): Handle APPEND.
16854 (tramp-delete-temp-file-function): New defun. Added to
16855 `kill-buffer-hook'.
16856
16857 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
16858
16859 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
16860
16861 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
16862
16863 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
16864 (color-name-rgb-alist, tty-standard-colors)
16865 (tty-color-mode-alist): Change to defconst.
16866
16867 * simple.el (mark-inactive): Purecopy message.
16868
16869 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
16870 (global-map, yank-menu):
16871 * textmodes/ispell.el (ispell-menu-map):
16872 * net/eudc.el (eudc-tools-menu):
16873 * international/mule-cmds.el (describe-language-environment-map)
16874 (setup-language-environment-map, set-coding-system-map)
16875 (mule-menu-keymap):
16876 * vc-hooks.el (vc-menu-entry, vc-menu-map):
16877 * replace.el (occur-mode-map):
16878 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
16879
16880 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
16881
16882 * calc/calc.el (math-read-number, math-read-number-simple):
16883 Use `save-match-data'.
16884
16885 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
16886
16887 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
16888 rather than fiddling with global-map bindings, since it should only
16889 affect per-terminal settings.
16890 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
16891
16892 * minibuffer.el (completion-table-with-terminator): Allow to specify
16893 the terminator-regexp.
16894
16895 * simple.el (switch-to-completions): Look for *Completions* in other
16896 frames as well.
16897
16898 * pcomplete.el: Allow the use of completion-tables.
16899 (pcomplete-std-complete): New command.
16900 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
16901 (pcomplete--here): Use a function for `form' rather than an expression,
16902 so it can be byte-compiled.
16903 (pcomplete-here, pcomplete-here*): Adjust accordingly.
16904 Add edebug declaration.
16905 (pcomplete-show-completions): Remove unused var `curbuf'.
16906 (pcomplete-do-complete, pcomplete-stub):
16907 Don't assume `completions' is a list of strings any more.
16908
16909 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
16910
16911 * find-dired.el (find-name-arg): Fix typo in docstring.
16912
16913 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
16914
16915 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
16916 (pcmpl-linux-fs-types): Same, and update to new modules layout.
16917
16918 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
16919 pcomplete-entries.
16920
16921 * comint.el (comint-read-input-ring, comint-write-input-ring)
16922 (comint-substitute-in-file-name)
16923 (comint-dynamic-complete-as-filename)
16924 (comint-dynamic-simple-complete)
16925 (comint-dynamic-list-filename-completions)
16926 (comint-dynamic-list-completions)
16927 (comint-redirect-results-list-from-process): Minor simplifications.
16928
16929 2009-10-21 Kevin Ryde <user42@zip.com.au>
16930
16931 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
16932 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
16933 the first form. And insert a blank line after ";;; Code" since
16934 that's usual style. (Bug#4612)
16935
16936 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
16937
16938 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
16939
16940 * minibuffer.el (completion-table-with-terminator): Properly implement
16941 boundaries, in case `terminator' appears in the suffix.
16942 (completion--embedded-envvar-table): Don't return boundaries if
16943 there's no valid completion. Simplify.
16944 (completion-file-name-table): New completion table extracted from
16945 completion--file-name-table.
16946 (completion--file-name-table): Use it.
16947 (read-file-name-predicate): Declare obsolete.
16948 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
16949 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
16950 completion-file-name-table, and use the `pred' argument.
16951 * files.el (locate-file-completion-table): Use the `pred' arg rather
16952 than read-file-name-predicate.
16953 (abbreviate-file-name): Use \` rather than ^ for BOS.
16954
16955 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
16956
16957 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
16958 vc-responsible-backend to register, it causes problems.
16959
16960 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
16961
16962 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
16963
16964 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
16965
16966 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
16967 (tramp-smb-handle-file-attributes): Use it.
16968 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
16969 (tramp-smb-handle-insert-directory): Use `mapc' rather than
16970 `mapcar'. Use `tramp-smb-get-stat-capability'.
16971 Add `dired-filename' text properties.
16972 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
16973 (tramp-smb-maybe-open-connection): Simplify check for smbclient
16974 version.
16975
16976 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
16977
16978 * subr.el (read-key-delay): Reduce to 0.01.
16979 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
16980 (bug#4751).
16981
16982 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
16983
16984 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
16985
16986 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
16987 (Info-menu): Remove unused vars `last' and `completions'.
16988 (Info-index-nodes): Remove unused var `node'.
16989
16990 * info.el (Info-complete-menu-item): Use complete-with-action.
16991
16992 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
16993
16994 Make vc-annotate work through copies and renames.
16995 * vc-annotate.el (vc-annotate-extract-revision-at-line):
16996 Return the file name too.
16997 (vc-annotate-revision-at-line)
16998 (vc-annotate-find-revision-at-line)
16999 (vc-annotate-revision-previous-to-line)
17000 (vc-annotate-show-log-revision-at-line): Update to get the file
17001 name from vc-annotate-extract-revision-at-line.
17002 (vc-annotate-show-diff-revision-at-line-internal): Change the
17003 argument to mean whether to show a file diff or not. Get the file
17004 name from vc-annotate-extract-revision-at-line.
17005 (vc-annotate-show-diff-revision-at-line):
17006 Update vc-annotate-show-diff-revision-at-line call.
17007 (vc-annotate-warp-revision): Add an optional file argument.
17008
17009 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
17010 (vc-git-annotate-extract-revision-at-line): Also return the file
17011 name if found.
17012
17013 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
17014 command. Remove unused code.
17015 (vc-hg-annotate-re): Update to match --follow output.
17016 (vc-hg-annotate-extract-revision-at-line): Also return the file
17017 name if found.
17018
17019 * vc.el: Update annotate-extract-revision-at-line documentation.
17020
17021 2009-10-18 Kevin Ryde <user42@zip.com.au>
17022
17023 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
17024 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
17025
17026 * net/browse-url.el (browse-url): Identify alist with "consp and
17027 not functionp" and let all other things go down the `apply' leg,
17028 as suggested by Stefan. (Further to bug#4531.)
17029
17030 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
17031
17032 * minibuffer.el (read-file-name): Check for repeat before putting
17033 a default argument in file-name-history (Bug#4657).
17034
17035 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
17036 read syntax (Bug#4737).
17037
17038 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
17039
17040 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
17041
17042 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
17043 (html-tag-alist, html-tag-help): Add descriptions for undocumented
17044 entries and make note of obsolete tags.
17045
17046 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
17047
17048 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
17049
17050 2009-10-18 Glenn Morris <rgm@gnu.org>
17051
17052 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
17053 grep, so that binary files (eg international/uni-bidi.el) can match.
17054 Remove test for "UnicodeData" files, since it is hopefully unnecessary
17055 now, and in any case the file header format has changed.
17056
17057 2009-10-17 Glenn Morris <rgm@gnu.org>
17058
17059 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
17060 (flyspell-get-word, flyspell-large-region)
17061 (flyspell-auto-correct-previous-word): Doc/error message fixes.
17062
17063 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
17064
17065 * Makefile.in (ELCFILES): Add ede/shell.
17066
17067 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
17068
17069 * term/common-win.el (x-colors): Purecopy it.
17070
17071 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17072
17073 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
17074 permissive for when the buffer is empty.
17075 (tar-header-block-tokenize): Decode the username and groupname.
17076 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
17077
17078 2009-10-17 Eric Ludlam <zappo@gnu.org>
17079
17080 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
17081 contains multibyte characters, choose first applicable coding
17082 system automatically.
17083
17084 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17085
17086 * international/mule-cmds.el (select-safe-coding-system): If the file
17087 has a coding cookie, use it regardless of any other setting (bug#4712).
17088
17089 2009-10-17 Glenn Morris <rgm@gnu.org>
17090
17091 * foldout.el (foldout-mouse-swallow-events):
17092 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
17093
17094 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
17095 (dired-keep-marker-copy, dired-keep-marker-hardlink)
17096 (dired-keep-marker-symlink, dired-dwim-target)
17097 (dired-copy-preserve-time): Do not autoload these defcustoms.
17098
17099 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
17100 messages from messing up the file coding. (Bug#4623)
17101
17102 2009-10-17 Jari Aalto <jari.aalto@cante.net>
17103
17104 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
17105 if no match is found for the current dictionary. (Bug#4578)
17106
17107 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
17108 optional, since that is how it is documented, and this is often called
17109 with a nil argument. (Bug#4577)
17110 (flyspell-external-point-words, flyspell-auto-correct-word)
17111 (flyspell-correct-word-before-point, flyspell-word-search-forward)
17112 (flyspell-word-search-backward): Remove nil argument in calls to
17113 flyspell-get-word, since it is not needed now.
17114
17115 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
17116
17117 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
17118
17119 2009-10-16 Glenn Morris <rgm@gnu.org>
17120
17121 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
17122
17123 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
17124
17125 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
17126 (ange-ftp-file-size): New function.
17127 (ange-ftp-file-attributes): Use it.
17128
17129 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
17130
17131 * net/tramp-smb.el (tramp-smb-version): New defvar.
17132 (tramp-smb-maybe-open-connection): Use it, in order to avoid
17133 repeated checks.
17134
17135 2009-10-16 Glenn Morris <rgm@gnu.org>
17136
17137 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
17138 Maybe copy some custom properties from old to new name. (Bug#4706)
17139
17140 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
17141
17142 * subr.el (error, sit-for, start-process-shell-command)
17143 (start-file-process-shell-command): Set the calling convention
17144 after the function definition.
17145
17146 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
17147
17148 * subr.el (error, sit-for, start-process-shell-command)
17149 (start-file-process-shell-command): Use the new
17150 set-advertised-calling-convention feature.
17151
17152 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
17153
17154 * international/ucs-normalize.el (ucs-normalize-version):
17155 Change to 1.2.
17156 (check-range): Adjust for Unicode 5.2.
17157
17158 2009-10-15 Juri Linkov <juri@jurta.org>
17159
17160 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
17161 to the `menu-item' format.
17162
17163 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
17164
17165 * net/tramp.el (tramp-replace-environment-variables): Do not fail
17166 if the environment variable does not exist.
17167
17168 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17169 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
17170 parameter.
17171 (tramp-smb-handle-add-name-to-file)
17172 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
17173 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
17174 (tramp-smb-handle-file-attributes)
17175 (tramp-smb-do-file-attributes-with-stat)
17176 (tramp-smb-handle-file-local-copy)
17177 (tramp-smb-handle-insert-directory)
17178 (tramp-smb-handle-make-directory)
17179 (tramp-smb-handle-make-directory-internal)
17180 (tramp-smb-handle-make-symbolic-link)
17181 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
17182 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
17183 (tramp-smb-maybe-open-connection): Apply the changed parameters.
17184 (tramp-smb-read-file-entry): Read Disk names in compressed format.
17185 Handle long file names.
17186 (tramp-smb-get-cifs-capabilities): Check, whether the connection
17187 process is running.
17188 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
17189 Read share names with "-g" option.
17190
17191 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
17192
17193 * net/rcirc.el (rcirc-view-log-file): New command.
17194 (rcirc-track-minor-mode-map): Remove C-c ` binding.
17195 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
17196 specified.
17197
17198 2009-10-15 Glenn Morris <rgm@gnu.org>
17199
17200 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
17201 from the second command-line argument.
17202 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
17203 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
17204 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
17205 w32-batch-update-autoloads.
17206 * emacs-lisp/autoload.el (autoload-make-program): New variable.
17207 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
17208
17209 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
17210 the headers cannot be located. Simplify, subtracting superflous
17211 save-excursions.
17212
17213 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
17214
17215 Replace completion-base-size by completion-base-position to fix bugs
17216 such as (bug#4699).
17217 * simple.el (completion-base-position): New var.
17218 (completion-base-size): Mark as obsolete.
17219 (choose-completion): Make it work for mouse events as well.
17220 Pass the new base-position to choose-completion-string.
17221 (choose-completion-guess-base-position): New function, extracted from
17222 choose-completion-delete-max-match.
17223 (choose-completion-delete-max-match): Use it. Make obsolete.
17224 (choose-completion-string): Use the new base-position info.
17225 (completion-root-regexp): Delete.
17226 (completion-setup-function): Preserve completion-base-position.
17227 Eliminate obsolete base-size manipulation.
17228 * minibuffer.el (display-completion-list): Don't mess with base-size.
17229 (minibuffer-completion-help): Set completion-base-position instead.
17230 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
17231 choose-completion.
17232 * textmodes/bibtex.el (bibtex-complete):
17233 * emacs-lisp/crm.el (crm--choose-completion-string):
17234 Adjust to new calling convention.
17235 * complete.el (partial-completion-mode): Use minibufferp to avoid
17236 bumping into incompatible change to choose-completion-string-functions.
17237 * ido.el (ido-choose-completion-string): Make its calling convention
17238 more permissive.
17239 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
17240 base-size manipulation.
17241 (comint-dynamic-list-input-ring): Use dotimes and push.
17242 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
17243 fundamental-mode. Use `or'.
17244
17245 2009-10-14 Juri Linkov <juri@jurta.org>
17246
17247 * misearch.el (multi-isearch-next-buffer-from-list)
17248 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
17249
17250 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
17251
17252 * Makefile.in (compile-onefile): Load `bytecomp' rather than
17253 `bytecomp.el'.
17254
17255 * minibuffer.el (completion-pcm--merge-completions): Make sure the
17256 string we return is all made up of text from the completions rather
17257 than part from the completions and part from the input (bug#4219).
17258
17259 * ido.el (ido-everywhere): Use define-minor-mode.
17260
17261 * buff-menu.el (list-buffers, ctl-x-map):
17262 Mark the entry points with ;;;###autoload cookies.
17263
17264 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
17265
17266 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
17267 correctly in the detached head case.
17268 (vc-git-print-log): Remove unused binding.
17269
17270 * vc.el (vc-responsible-backend): When a directory is passed for
17271 for registration create a VC repository if no backend is
17272 responsible for the directory argument.
17273 (vc-deduce-fileset): Tell vc-responsible-backend to register.
17274
17275 * vc.el: Move comments about RCS and SCCS ...
17276 * vc-rcs.el:
17277 * vc-sccs.el: ... here, respectively.
17278
17279 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
17280
17281 * minibuffer.el (completion--file-name-table): Return nil if there's
17282 no file completion, even if substitute-in-file-name changed
17283 the string (bug#4708).
17284
17285 2009-10-13 Juri Linkov <juri@jurta.org>
17286
17287 * files-x.el (read-file-local-variable-value): Don't filter out
17288 minor modes from mode name completion (bug#4664).
17289
17290 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
17291
17292 * international/mule-cmds.el (ucs-names): Remove exclusion of
17293 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
17294
17295 2009-10-13 Kenichi Handa <handa@m17n.org>
17296
17297 * international/uni-name.el: Regenerated.
17298
17299 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
17300
17301 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
17302 should be automatically buffer-local, but isn't.)
17303
17304 2009-10-12 Sam Steingold <sds@gnu.org>
17305
17306 * progmodes/compile.el (compilation-next-error-function): Fix the
17307 timestamps if the buffer has been visited before.
17308 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
17309 non-anchored patterns, like the perl one (bug#3928).
17310
17311 2009-10-12 Glenn Morris <rgm@gnu.org>
17312
17313 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
17314 Let-bind `size'.
17315
17316 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
17317
17318 * proced.el (proced-unload-function): New function.
17319
17320 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
17321 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
17322 Doc fix.
17323
17324 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
17325
17326 2009-10-11 Juri Linkov <juri@jurta.org>
17327
17328 * files-x.el (read-file-local-variable-value):
17329 Provide default value only for bound variables (bug#4664).
17330
17331 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
17332
17333 * net/tramp.el (tramp-local-host-p): Function shall return nil for
17334 connection methods like smb.
17335
17336 * net/tramp-cache.el (tramp-flush-connection-property): The hash
17337 can be empty.
17338
17339 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17340 (tramp-smb-file-name-handler-alist): Add handlers for
17341 `add-name-to-file', `make-symbolic-link'.
17342 (tramp-smb-handle-add-name-to-file)
17343 (tramp-smb-do-file-attributes-with-stat)
17344 (tramp-smb-handle-make-symbolic-link)
17345 (tramp-smb-get-cifs-capabilities): New defuns.
17346 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
17347 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
17348 (tramp-smb-handle-file-local-copy)
17349 (tramp-smb-handle-make-directory-internal)
17350 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
17351 The file name syntax depends on cifs capabilities.
17352 (tramp-smb-handle-file-attributes):
17353 Call `tramp-smb-do-file-attributes-with-stat' if possible.
17354 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
17355 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
17356
17357 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
17358
17359 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
17360 (eieio-defclass): Apply deftype handler and setf-method properties
17361 directly.
17362 (eieio-add-new-slot): Avoid union function from cl library.
17363 (eieio--typep): New function.
17364 (eieio-perform-slot-validation): Use it.
17365
17366 2009-10-10 Karl Fogel <kfogel@red-bean.com>
17367
17368 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
17369 Update documentation to refer to the variables documented in r1.135.
17370 (Bug#4188)
17371
17372 2009-10-10 Karl Fogel <kfogel@red-bean.com>
17373
17374 * bookmark.el (Info-suffix-list): Remove this unused variable.
17375 (bookmark-current-point): Remove this obsolete variable.
17376 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
17377 Adjust for removal of bookmark-current-point.
17378
17379 (bookmarks-already-loaded, bookmark-current-buffer)
17380 (bookmark-yank-point): Document. (Bug#4188)
17381
17382 2009-10-10 Glenn Morris <rgm@gnu.org>
17383
17384 * frame.el (frame-height): Doc fix.
17385
17386 * calendar/calendar.el (calendar-split-width-threshold): New option.
17387 (calendar-basic-setup): Use calendar-split-width-threshold.
17388
17389 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
17390
17391 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
17392 Ideographic Supplement" range (U+1F200..U+1F2FF).
17393
17394 2009-10-09 Karl Fogel <kfogel@red-bean.com>
17395
17396 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
17397 since the list will have been rebuilt anyway. (Bug#4349)
17398
17399 2009-10-09 Karl Fogel <kfogel@red-bean.com>
17400
17401 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
17402 (bookmark-bmenu-execute-deletions): Don't save here, as
17403 bookmark-delete will now do so if necessary.
17404 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
17405 (Bug#4348)
17406
17407 2009-10-09 Glenn Morris <rgm@gnu.org>
17408
17409 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
17410
17411 2009-10-09 Karl Fogel <kfogel@red-bean.com>
17412
17413 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
17414 (bookmark-jump-other-window): Just invoke bookmark-jump with new
17415 argument now, so the two function's behaviors will match. (Bug#3645)
17416
17417 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
17418
17419 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
17420 (tramp-file-name-real-host, tramp-file-name-port):
17421 Apply `save-match-data'.
17422
17423 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
17424 case both directories are remote.
17425 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
17426 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
17427
17428 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
17429
17430 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
17431
17432 2009-10-07 Glenn Morris <rgm@gnu.org>
17433
17434 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
17435 of concat.
17436
17437 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
17438
17439 * files-x.el (read-file-local-variable): Include some
17440 non-user-variables in the completion table (bug#4664).
17441
17442 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
17443
17444 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
17445 message.
17446
17447 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17448 (tramp-smb-file-name-handler-alist): Add handler for
17449 `copy-directory', `expand-file-name', `set-file-modes'.
17450 (tramp-smb-handle-copy-directory)
17451 (tramp-smb-handle-expand-file-name)
17452 (tramp-smb-handle-set-file-modes): New defuns.
17453 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
17454 (tramp-smb-handle-file-attributes): Simplify check for retrieving
17455 entry.
17456 (tramp-smb-handle-insert-directory): Don't flush the cache.
17457 (tramp-smb-maybe-open-connection): Check for samba client and
17458 server versions.
17459
17460 2009-10-07 Eli Zaretskii <eliz@gnu.org>
17461
17462 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
17463 to not error out of search for "^lisp=" fails.
17464
17465 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
17466
17467 * makefile.w32-in (WINS_UPDATES): New macro.
17468 (custom-deps, finder-data, autoloads): Use it.
17469
17470 2009-10-07 Glenn Morris <rgm@gnu.org>
17471
17472 * Makefile.in (autoloads): Revert previous change.
17473 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
17474 the list of preloaded files passed on the command-line, get
17475 it from src/Makefile.
17476
17477 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
17478 show the original buffer rather than a random one.
17479
17480 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
17481
17482 * help.el (describe-no-warranty): Place point in a slightly better
17483 position in the GPLv3 text.
17484
17485 2009-10-06 Sam Steingold <sds@gnu.org>
17486
17487 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
17488 the comm attribute is present before calling regexp-quote.
17489
17490 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
17491
17492 * play/animate.el (animate-string): For good effect, make sure
17493 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
17494
17495 * play/animate.el (animate-sequence, animate-birthday-present):
17496 * misc.el (butterfly): Don't set `indent-tabs-mode'.
17497
17498 2009-10-06 Glenn Morris <rgm@gnu.org>
17499
17500 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
17501
17502 * emacs-lisp/autoload.el (autoload-excludes): New variable.
17503 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
17504 (batch-update-autoloads): Process a string value of autoload-excludes,
17505 set during the build process.
17506 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
17507
17508 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
17509 inside with-parsed... macro so that `v' is defined.
17510
17511 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
17512 * progmodes/fortran.el (fortran-end-of-block)
17513 (fortran-beginning-of-block):
17514 Also push mark in the macro case.
17515
17516 * emerge.el (emerge-show-file-name):
17517 * calc/calc.el (calc-quit):
17518 * calc/calc-misc.el (calc-big-or-small):
17519 * calc/calc-graph.el (calc-graph-view):
17520 * calc/calc-ext.el (calc-reset):
17521 * calendar/calendar.el (calendar-basic-setup):
17522 Use window-full-height-p.
17523
17524 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
17525 header we don't understand, don't insert another. (Bug#4624)
17526 If changing mime charset, insert the new one in the right place.
17527
17528 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
17529
17530 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
17531 (cal-tex-cursor-month): Correctly increment the end date for diary and
17532 holiday listing. (Bug#4626)
17533
17534 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17535
17536 * help-fns.el (describe-function-1): Don't burp if the function is not
17537 a symbol.
17538
17539 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
17540
17541 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
17542 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
17543 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
17544 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
17545
17546 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
17547 (eieio-default-superclass): Reflow docstrings.
17548 (this, class-option-assoc, defclass, eieio-class-un-autoload)
17549 (eieio-unbind-method-implementations, defmethod)
17550 (eieio-validate-slot-value, eieio-validate-class-slot-value)
17551 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
17552 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
17553 (eieio-slot-originating-class-p, eieio-slot-name-index)
17554 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
17555 (constructor, initialize-instance, no-next-method, object-print)
17556 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
17557 Fix typos in docstrings.
17558 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
17559 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
17560 (next-method-p): Doc fixes.
17561 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
17562 Fix typos in error messages.
17563 (eieio-defmethod): Fix typo in description of generic method.
17564
17565 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
17566 (eieio-persistent-save-interactive, slot-missing):
17567 Fix typos in docstrings.
17568 (eieio-instance-inheritor-slot-boundp): Doc fix.
17569
17570 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
17571 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
17572
17573 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
17574 (eieio-custom-object-apply-reset):
17575 Fix typos in docstrings and error messages.
17576
17577 * emacs-lisp/eieio-datadebug.el (data-debug-show):
17578 Fix typo in docstring.
17579
17580 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
17581 (eieio-browse-tree): Doc fix.
17582 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
17583 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
17584 Fix typos in docstrings.
17585
17586 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
17587 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
17588 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
17589 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
17590 Reflow docstrings.
17591
17592 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
17593
17594 * vc-hg.el (log-view-vc-backend): Declare for compiler.
17595 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
17596 Set log-view-vc-backend so that diff can work.
17597
17598 * log-view.el (log-view-diff): Use vc-diff-internal instead of
17599 vc-version-diff.
17600 (vc-diff-internal): Autoload this instead of vc-version-diff.
17601
17602 2009-10-05 Eli Zaretskii <eliz@gnu.org>
17603
17604 * simple.el (eval-expression): Doc fix.
17605
17606 * progmodes/cwarn.el (cwarn-mode): Doc fix.
17607
17608 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
17609
17610 * files.el (directory-files-no-dot-files-regexp): New defconst.
17611 (delete-directory): Use it.
17612 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
17613
17614 * net/tramp.el (tramp-verbose): Fix docstring.
17615 (tramp-methods): Add recursive option to `tramp-copy-args'.
17616 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
17617 "scp1_old", "scp2_old", "rsync", "rsyncc".
17618 (tramp-default-method): Check also for `auth-source-user-or-password'.
17619 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
17620 Add handler for `copy-directory'.
17621 (tramp-handle-copy-directory): New defun.
17622 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
17623 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
17624 Optimize sent command.
17625
17626 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17627
17628 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
17629 window if necessary.
17630
17631 * calendar/calendar.el (calendar-basic-setup): Don't call
17632 switch-to-buffer in a dedicated window.
17633
17634 2009-10-05 Karl Fogel <kfogel@red-bean.com>
17635
17636 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
17637 don't do anything related to relocating, just return nil.
17638 (bookmark-error-no-filename): New error.
17639 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
17640 bookmark has no file. Don't even attempt to handle things that
17641 are not files; the whole point of custom handlers is to keep that
17642 knowledge elsewhere anyway. Tighten some comments.
17643 (bookmark-file-or-variation-thereof): Remove now-unused function.
17644 (bookmark-location): Doc string fix.
17645 (Bug#4250)
17646
17647 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17648
17649 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
17650 don't use a file dialog, because they usually don't know how to read
17651 a directory target from the user. (Bug#4230)
17652 Also, make sure the prompt can display directories as well as files.
17653
17654 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17655
17656 * bookmark.el (bookmark-set, bookmark-buffer-name):
17657 Improve doc strings. (Bug#1193)
17658
17659 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17660
17661 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
17662 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
17663 (bookmark-get-annotation, bookmark-set-annotation)
17664 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
17665 (bookmark-set-position, bookmark-get-front-context-string)
17666 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
17667 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
17668 (bookmark-jump-other-window, bookmark-handle-bookmark)
17669 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
17670 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
17671 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
17672 Improve doc strings to say whether bookmark can be a string or
17673 a record or both, and make other consistency and clarity fixes.
17674 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
17675 (bookmark-default-annotation-text, bookmark-yank-word)
17676 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
17677 (bookmark-import-new-list, bookmark-maybe-rename)
17678 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
17679 (bookmark-bmenu-bookmark): Give these doc strings.
17680 (bookmark-bmenu-check-position): Give this a doc string, but also
17681 add a FIXME comment about how the function may be pointless.
17682 (bookmark-default-handler): Rework doc string and change a
17683 parameter name, to clarify that this takes a bookmark record
17684 not a bookmark name.
17685 (bookmark-set): Change a parameter name to indicate its meaning,
17686 and improve the doc string a bit.
17687 (Bug#4188)
17688
17689 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17690
17691 * bookmark.el (bookmark-alist): Document the new `handler' element
17692 in the param alist.
17693 (bookmark-make-record-function): Adjust documentation for above.
17694 (Bug#4193)
17695
17696 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17697
17698 * info.el (Info-bookmark-make-record): Document this function.
17699 (Info-bookmark-jump): Document with a doc string, not just a comment.
17700 (Bug#4203)
17701
17702 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
17703
17704 * files.el (copy-directory): New defun.
17705
17706 * dired-aux.el (dired-copy-file-recursive): Use it.
17707
17708 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
17709
17710 * files-x.el (modify-dir-local-variable)
17711 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
17712 docstrings.
17713
17714 * recentf.el (recentf-unload-function): New function.
17715
17716 2009-10-04 Glenn Morris <rgm@gnu.org>
17717
17718 * window.el (window-full-height-p): Add doc string.
17719
17720 2009-10-04 Martin Rudalics <rudalics@gmx.at>
17721
17722 * window.el (window-full-height-p): New function. (Bug#4543)
17723
17724 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
17725
17726 * vc.el: Remove commented out code.
17727 (vc-derived-from-dir-mode): Remove, unused.
17728 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
17729
17730 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
17731
17732 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
17733 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
17734 there could be recursive loading when `default-directory' is a
17735 remote file name. (Bug#4614)
17736
17737 2009-10-03 Glenn Morris <rgm@gnu.org>
17738
17739 * calendar/calendar.el (calendar-basic-setup): Handle the case where
17740 the frame is wide.
17741 (calendar-generate-window): Test for shrinkability rather than width.
17742
17743 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
17744 reusing existing buffers, in case we happen to visit two files with the
17745 same basename. (Bug#4593)
17746
17747 2009-10-02 Eli Zaretskii <eliz@gnu.org>
17748
17749 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
17750 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
17751 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
17752 subdirs of cedet as well.
17753 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
17754
17755 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
17756
17757 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
17758 Obey advertised-signature-table.
17759
17760 * help-fns.el (help-function-arglist): Don't check
17761 advertised-signature-table.
17762 (describe-function-1): Do it here instead so it also applies to subrs.
17763
17764 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
17765
17766 * simple.el (start-file-process): Say in the doc-string, that file
17767 handlers might not support pty association, if PROGRAM is nil.
17768
17769 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
17770 HOST and USER are strings. They are nil, when there are
17771 incomplete entries in ~/.netrc, for example.
17772 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
17773 root directory ("device busy" error otherwise).
17774
17775 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
17776 Flush file properties of created directory.
17777
17778 2009-10-02 Eli Zaretskii <eliz@gnu.org>
17779
17780 * makefile.w32-in (WINS_BASIC): Remove cedet.
17781 (WINS_CEDET): Add cedet.
17782 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
17783
17784 2009-10-02 Kevin Ryde <user42@zip.com.au>
17785
17786 * net/browse-url.el (browse-url): Pass any symbol in
17787 browse-url-browser-function to `apply', since if you've mistakenly put
17788 an unbound symbol then the error is clearer. (Bug#4531)
17789
17790 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
17791
17792 * allout.el (allout-init, allout-back-to-current-heading)
17793 (allout-beginning-of-current-entry, allout-ascend-to-depth)
17794 (allout-ascend, allout-up-current-level, allout-end-of-level)
17795 (allout-previous-visible-heading, allout-forward-current-level)
17796 (allout-backward-current-level, allout-show-children):
17797 * apropos.el (apropos-describe-plist):
17798 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
17799 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
17800 * completion.el (add-completion, add-permanent-completion):
17801 * descr-text.el (describe-text-category, describe-char):
17802 * desktop.el (desktop-lazy-abort):
17803 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
17804 * dired.el (dired-build-subdir-alist):
17805 * ediff.el (ediff-version):
17806 * elide-head.el (elide-head, elide-head-show):
17807 * emerge.el (emerge-version):
17808 * env.el (getenv):
17809 * face-remap.el (variable-pitch-mode):
17810 * faces.el (describe-face):
17811 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
17812 (dired-at-point):
17813 * files.el (find-file-existing, auto-save-mode):
17814 * font-lock.el (font-lock-fontify-buffer):
17815 * help-fns.el (describe-function, describe-variable)
17816 (describe-syntax, describe-categories):
17817 * help.el (view-lossage, describe-bindings, describe-key)
17818 (describe-mode):
17819 * hexl.el (hexl-current-address):
17820 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
17821 * info.el (Info-goto-emacs-key-command-node):
17822 * log-edit.el (log-edit-insert-cvs-template)
17823 (log-edit-insert-cvs-rcstemplate):
17824 * menu-bar.el (menu-bar-mode):
17825 * mouse.el (mouse-appearance-menu):
17826 * newcomment.el (comment-indent-new-line):
17827 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
17828 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
17829 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
17830 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
17831 * recentf.el (recentf-mode):
17832 * savehist.el (savehist-mode, savehist-save):
17833 * shadowfile.el (shadow-copy-files):
17834 * simple.el (kill-ring-save, next-line, previous-line)
17835 (normal-erase-is-backspace-mode):
17836 * strokes.el (strokes-update-window-configuration)
17837 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
17838 (strokes-xpm-for-stroke):
17839 * time.el (emacs-uptime, emacs-init-time):
17840 * tutorial.el (tutorial--describe-nonstandard-key)
17841 (tutorial--detailed-help):
17842 * type-break.el (type-break-mode)
17843 (type-break-mode-line-message-mode, type-break-query-mode)
17844 (type-break-guesstimate-keystroke-threshold):
17845 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
17846 * version.el (emacs-version):
17847 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
17848 * winner.el (winner-mode):
17849 * calendar/timeclock.el (timeclock-in, timeclock-out)
17850 (timeclock-status-string, timeclock-change)
17851 (timeclock-workday-remaining-string)
17852 (timeclock-workday-elapsed-string)
17853 (timeclock-when-to-leave-string):
17854 * calendar/todo-mode.el (todo-add-category):
17855 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
17856 * emacs-lisp/autoload.el (update-file-autoloads):
17857 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
17858 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
17859 (checkdoc-message-text, checkdoc-defun):
17860 * emacs-lisp/debug.el (debugger-list-functions):
17861 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
17862 * emacs-lisp/eieio-opt.el (eieio-describe-class)
17863 (eieio-describe-generic):
17864 * emacs-lisp/lisp-mnt.el (lm-synopsis):
17865 * emacs-lisp/shadow.el (list-load-path-shadows):
17866 * emulation/cua-base.el (cua-mode):
17867 * emulation/edt.el (edt-set-scroll-margins):
17868 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
17869 (tpu-toggle-regexp, tpu-toggle-search-direction)
17870 (tpu-toggle-rectangle, tpu-toggle-control-keys):
17871 * emulation/tpu-extras.el (tpu-set-scroll-margins):
17872 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
17873 (viper-set-parsing-style-toggling-macro)
17874 (viper-set-emacs-state-searchstyle-macros):
17875 * emulation/viper.el (viper-set-hooks):
17876 * eshell/esh-mode.el (eshell-truncate-buffer):
17877 * international/mule-cmds.el (prefer-coding-system)
17878 (describe-input-method, describe-language-environment):
17879 * international/mule-diag.el (list-character-sets)
17880 (describe-character-set, describe-coding-system)
17881 (describe-fontset, list-fontsets, list-input-methods):
17882 * mail/sendmail.el (mail-signature):
17883 * net/ange-ftp.el (ange-ftp-copy-file):
17884 * net/browse-url.el (browse-url):
17885 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
17886 * net/quickurl.el (quickurl-add-url):
17887 * net/rcirc.el (names, topic):
17888 * net/xesam.el (xesam-mode):
17889 * play/5x5.el (5x5-new-game):
17890 * play/yow.el (apropos-zippy):
17891 * progmodes/ada-mode.el (ada-mode-version):
17892 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
17893 (f90-end-of-block)
17894 (f90-beginning-of-block):
17895 * progmodes/fortran.el (fortran-end-of-block)
17896 (fortran-beginning-of-block):
17897 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
17898 * progmodes/python.el (python-describe-symbol, python-shell):
17899 * term/ns-win.el (ns-print-buffer):
17900 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
17901 * textmodes/flyspell.el (flyspell-mode-on):
17902 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
17903 (pages-directory-for-addresses):
17904 * textmodes/table.el (table-recognize-cell)
17905 (table-query-dimension, table-generate-source)
17906 (table-insert-sequence, table--warn-incompatibility):
17907 * textmodes/tex-mode.el (tex-validate-buffer):
17908 * textmodes/texinfmt.el (texinfmt-version)
17909 (texinfo-format-buffer):
17910 Use `called-interactively-p' instead of `interactive-p'.
17911
17912 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
17913
17914 * image-mode.el (image-toggle-display):
17915 * emacs-lisp/elp.el (elp-instrument-function):
17916 * emacs-lisp/advice.el (ad-make-advised-definition):
17917 * emacs-lisp/easy-mmode.el (define-minor-mode):
17918 * net/browse-url.el (browse-url-maybe-new-window):
17919 * progmodes/sh-script.el (sh-learn-buffer-indent):
17920 Pass new argument 'any to `called-interactively-p'.
17921
17922 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
17923
17924 * international/uni-bidi.el:
17925 * international/uni-category.el:
17926 * international/uni-combining.el:
17927 * international/uni-comment.el:
17928 * international/uni-decimal.el:
17929 * international/uni-decomposition.el:
17930 * international/uni-digit.el:
17931 * international/uni-lowercase.el:
17932 * international/uni-mirrored.el:
17933 * international/uni-name.el:
17934 * international/uni-numeric.el:
17935 * international/uni-old-name.el:
17936 * international/uni-titlecase.el:
17937 * international/uni-uppercase.el:
17938 Regenerate from Unicode 5.2.0 data.
17939
17940 2009-10-01 Glenn Morris <rgm@gnu.org>
17941
17942 * Makefile.in (ELCFILES): Regenerate.
17943
17944 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
17945
17946 * subr.el (interactive-p): Mark obsolete.
17947 (called-interactively-p): Make the optional-ness of `kind' obsolete.
17948 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
17949 advertised-signature-table for subroutines as well.
17950
17951 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
17952 (set-advertised-calling-convention): New function.
17953 (make-obsolete, define-obsolete-function-alias)
17954 (make-obsolete-variable, define-obsolete-variable-alias):
17955 Make the optional-ness of `when' obsolete.
17956 (define-obsolete-face-alias): Make `when' non-optional.
17957 * help-fns.el (help-function-arglist):
17958 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
17959 Use advertised-signature-table.
17960
17961 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
17962
17963 * files.el (delete-directory): New defun. The original function
17964 in fileio.c has been renamed to `delete-directory-internal'.
17965
17966 * dired.el (dired-delete-file): Call `delete-directory' with
17967 RECURSIVE parameter.
17968
17969 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
17970 parameter RECURSIVE. Implementation is missing.
17971
17972 * net/tramp.el (tramp-handle-make-directory): Flush upper
17973 directory's file properties.
17974 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
17975 (tramp-handle-dired-recursive-delete-directory): Flush directory
17976 properties after the remove command only.
17977
17978 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
17979 Handle optional parameter RECURSIVE.
17980
17981 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
17982 Handle optional parameter RECURSIVE.
17983
17984 * net/tramp-smb.el (tramp-smb-errors): Add error message for
17985 connection timeout.
17986 (tramp-smb-handle-delete-directory): Handle optional parameter
17987 RECURSIVE.
17988
17989 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
17990
17991 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
17992 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
17993 (byte-compile-defmacro): Use backquotes.
17994
17995 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
17996
17997 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
17998 has no associated file.
17999 (vc-resynch-buffer): Use vc-dir-buffers.
18000
18001 2009-10-01 Glenn Morris <rgm@gnu.org>
18002
18003 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
18004 (chart-file-count):
18005 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
18006 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
18007 * emacs-lisp/eieio-opt.el (eieio-describe-class):
18008 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
18009 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
18010 (eieio-copy-parents-into-subclass, make-instance, class-children)
18011 (eieio-generic-form):
18012
18013 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
18014 match-data. (Bug#4555).
18015
18016 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
18017 rather than parsing it as a regexp. This relaxes the layout
18018 requirements and makes errors easier to detect.
18019 (check-declare-verify): Check file is regular.
18020 (check-declare-directory): Doc fix.
18021 * subr.el (declare-function): Doc fix.
18022
18023 * ibuffer.el (ibuffer-format-qualifier):
18024 * isearch.el (hi-lock-regexp-okay):
18025 * calc/calc.el (math-zerop):
18026 * mail/uce.el (rmail-msgbeg, rmail-msgend):
18027 * term/w32-win.el (setup-default-fontset, set-fontset-font):
18028 Remove unused declarations.
18029
18030 2009-09-30 Eric Ludlam <zappo@gnu.org>
18031
18032 * emacs-lisp/eieio.el (boolean-p): Delete.
18033
18034 2009-09-30 Glenn Morris <rgm@gnu.org>
18035
18036 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
18037
18038 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
18039 filename is not a string.
18040
18041 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
18042
18043 * files.el (safe-local-eval-forms): Fix typo.
18044
18045 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
18046
18047 * vc-hooks.el (vc-dir-buffers): New var.
18048 (vc-state-refresh): New function.
18049 (vc-state): Use it.
18050 (vc-after-save): Always ask the backend to recompute the new state.
18051 Always call vc-dir if necessary, using vc-dir-buffers.
18052 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
18053 Use vc-dir-buffers.
18054 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
18055 (vc-dir-prepare-status-buffer, vc-dir-update)
18056 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
18057 Don't call expand-file-name on default-directory.
18058
18059 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
18060
18061 * speedbar.el (speedbar-item-delete):
18062 * calc/calc-prog.el (calc-kbd-if):
18063 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
18064
18065 * epa.el (epa-key-list-mode-map):
18066 * hi-lock.el (hi-lock-menu): Fix typos in menus.
18067
18068 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
18069 (hs-show-hook): Fix typo in docstring.
18070
18071 2009-09-29 Glenn Morris <rgm@gnu.org>
18072
18073 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
18074 file-name-nondirectory call preventing location of cedet files.
18075 (check-declare-verify): Use literal search rather than re-search.
18076 Add basic defmethod and defclass, and define-overloadable-function.
18077
18078 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18079 Use tramp-compat-file-attributes rather than nonexistent
18080 tramp-compat-handle-file-attributes.
18081
18082 * Makefile.in (lisptagsfiles4): New.
18083 (AUTOGENEL): Add cedet loaddefs files.
18084 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
18085 (update-elclist, compile-always, backup-compiled-files)
18086 (bootstrap-clean): Add yet another directory level.
18087 (update-elclist): Use LC_COLLATE rather than COLLATE.
18088 (ELCFILES): Update, via `make update-elclist'.
18089
18090 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
18091
18092 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
18093 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
18094 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
18095
18096 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
18097
18098 * Makefile.in (lisptagsfiles3): Define.
18099 (TAGS, TAGS-LISP): Use it.
18100 (update-elclist): Add third directory level to look for elc files.
18101 (compile-always): Likewise.
18102 (backup-compiled-files): Likewise.
18103 (bootstrap-clean): Likewise.
18104 (ELCFILES): Update.
18105
18106 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
18107
18108 * Makefile.in (ELCFILES): Add CEDET files.
18109
18110 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
18111
18112 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
18113
18114 * net/tramp.el (top): Require tramp-imap.
18115
18116 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18117 Use `tramp-compat-handle-file-attributes'.
18118
18119 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
18120
18121 * net/tramp-imap.el: New package.
18122
18123 2009-09-28 Eric Ludlam <zappo@gnu.org>
18124
18125 * emacs-lisp/chart.el:
18126 * emacs-lisp/eieio-base.el:
18127 * emacs-lisp/eieio-comp.el:
18128 * emacs-lisp/eieio-custom.el:
18129 * emacs-lisp/eieio-datadebug.el:
18130 * emacs-lisp/eieio-opt.el:
18131 * emacs-lisp/eieio-speedbar.el:
18132 * emacs-lisp/eieio.el: New files.
18133
18134 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18135
18136 * whitespace.el (whitespace-trailing-regexp)
18137 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
18138 Fix doc string.
18139
18140 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
18141
18142 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
18143 menu.
18144
18145 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
18146 menu-bar-ediff-menu.
18147
18148 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
18149 define-overloadable-function.
18150
18151 * progmodes/autoconf.el: Provide autoconf as well, so that this
18152 file can be `require'd.
18153
18154 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
18155
18156 * emacs-lisp/autoload.el (generated-autoload-feature)
18157 (generated-autoload-load-name): New vars.
18158 (autoload-rubric, autoload-generate-file-autoloads): Use them.
18159 (make-autoload): Recognize define-overloadable-function and
18160 defclass forms (for EIEIO).
18161
18162 * Makefile.in (update-subdirs): Exclude cedet directory.
18163
18164 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
18165
18166 * term/ns-win.el: Don't set the region face background. (Bug#4381)
18167
18168 * faces.el: Default light-background background for region face to
18169 ns_selection_color under NS.
18170
18171 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
18172
18173 * net/imap-hash.el: New library, see NEWS.
18174
18175 * Makefile.in (ELCFILES): Add imap-hash.el.
18176
18177 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
18178
18179 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
18180 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
18181 * help-macro.el (make-help-screen): Avoid using an ambiguous function
18182 definition where the docstring could be taken for the return value.
18183
18184 2009-09-26 Glenn Morris <rgm@gnu.org>
18185
18186 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
18187 Add option to only show images below a certain size.
18188 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
18189 save-excursion calls.
18190
18191 2009-09-26 Eli Zaretskii <eliz@gnu.org>
18192
18193 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
18194 subdirectories) and eieio.
18195
18196 2009-09-26 Alan Mackenzie <acm@muc.de>
18197
18198 * progmodes/cc-engine.el (c-beginning-of-statement-1):
18199 Correct buggy bracketing. (Bug#4289)
18200
18201 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
18202 character constants (as case labels). (Bug#4289)
18203
18204 2009-09-25 Juri Linkov <juri@jurta.org>
18205
18206 * files.el (safe-local-eval-forms): Allow time-stamp in
18207 before-save-hook (Bug#4554).
18208
18209 2009-09-25 Drew Adams <drew.adams@oracle.com>
18210
18211 * menu-bar.el (list-buffers-directory): Doc fix.
18212
18213 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
18214
18215 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
18216 Try and avoid copying twice the same paragraph.
18217 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
18218 Remove save-excursion.
18219 (log-edit-changelog-entry): Do it here instead.
18220
18221 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
18222
18223 * bs.el (bs--get-file-name): Use `list-buffers-directory'
18224 when available, instead of hardcoding mode names. Doc fix.
18225
18226 * menu-bar.el (list-buffers-directory): Add docstring.
18227 Make automatically buffer-local.
18228
18229 * dired.el (dired-mode):
18230 * files.el (cd-absolute):
18231 * pcvs.el (cvs-temp-buffer):
18232 * pcvs-util.el (cvs-get-buffer-create):
18233 * shell.el (shell-mode):
18234 * vc-dir.el (vc-dir-mode):
18235 Don't make `list-buffers-directory' buffer local.
18236
18237 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
18238
18239 * comint.el (comint-exec, comint-run, make-comint):
18240 Doc fixes (Bug#4542).
18241
18242 2009-09-25 Glenn Morris <rgm@gnu.org>
18243
18244 * mail/rmailmm.el (rmail-mime): New custom group.
18245 Move all defcustoms in this file into this group.
18246 (rmail-mime-media-type-handlers-alist): Revert previous change.
18247 (rmail-mime-show-images): New option.
18248 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
18249 references to it, since it wasn't actually used for anything.
18250 (rmail-mime-insert-image): New function.
18251 (rmail-mime-image): Use rmail-mime-insert-image.
18252 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
18253 obey the value of `rmail-mime-show-images' option. Print the size of
18254 attachments.
18255
18256 2009-09-25 David Engster <deng@randomsample.de>
18257
18258 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
18259
18260 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18261
18262 * whitespace.el: Does not highlight trailing spaces While point is
18263 at end of line. Does not highligt spaces at beginning of buffer
18264 while point is at beginning of buffer. Does not highlight spaces
18265 at end of buffer while point is at end of buffer. (Bug#4177)
18266 New version 12.0.
18267 (whitespace-display-mappings): Adjust initialization.
18268 (whitespace-point, whitespace-font-lock-refontify): New vars.
18269 (whitespace-color-on, whitespace-color-off): Adjust code.
18270 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
18271 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
18272 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
18273
18274 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
18275
18276 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
18277
18278 * textmodes/sgml-mode.el: Remove xml-mode alias.
18279
18280 * files.el (auto-mode-alist, conf-mode-maybe)
18281 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
18282
18283 2009-09-24 Alan Mackenzie <acm@muc.de>
18284
18285 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
18286 c-forward-conditionals, but it doesn't move point and doesn't set
18287 the mark.
18288 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
18289 (c-down-conditional-with-else, c-backward-conditional)
18290 (c-forward-conditional): Refactor to use c-scan-conditionals.
18291
18292 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
18293
18294 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
18295 (help-default-arg-highlight): Remove.
18296 (help-highlight-arg): New function.
18297 (help-do-arg-highlight): Use it.
18298 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
18299
18300 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
18301
18302 * term.el (term-set-scroll-region, term-handle-ansi-escape):
18303 Undo last change, which didn't fix the problem and introduced others.
18304
18305 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
18306
18307 * progmodes/gdb-mi.el: Don't require speedbar.
18308 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
18309
18310 2009-09-24 Glenn Morris <rgm@gnu.org>
18311
18312 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
18313
18314 * term/ns-win.el (ns-reg-to-script): Define for compiler.
18315
18316 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
18317 there is no newline after the final mime boundary. (Bug#4539)
18318 Move markers on insertion so that any buttons inserted don't end up in
18319 the next part of a multipart message.
18320 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
18321 (rmail-mime-bulk-handler): Optionally handle images.
18322 (rmail-mime-image): New button action.
18323 (rmail-mime-image-handler): New function.
18324 (rmail-mime-mode): New mode.
18325 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
18326
18327 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
18328
18329 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
18330 than just dropping elements from it (bug#4504).
18331
18332 * term.el (term-set-scroll-region): Don't move cursor any more.
18333 (term-handle-ansi-escape): Call term-goto here instead.
18334 Suggested by Ivan Kanis <apple@kanis.eu>.
18335
18336 * term.el: Require CL.
18337 (term-ansi-reset): New function.
18338 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
18339 (term-handle-colors-array): Simplify.
18340
18341 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
18342
18343 * allout.el (allout-overlay-interior-modification-handler)
18344 (allout-obtain-passphrase):
18345 * epa-file.el (epa-file-write-region):
18346 * ps-print.el (ps-begin-job):
18347 * vc-hooks.el (vc-toggle-read-only):
18348 * vc-rcs.el (vc-rcs-rollback):
18349 * vc-sccs.el (vc-sccs-rollback):
18350 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
18351 (vc-version-diff, vc-revert, vc-rollback):
18352 * wdired.el (wdired-check-kill-buffer):
18353 * emacs-lisp/authors.el (authors):
18354 * net/socks.el (socks-open-connection):
18355 * net/zeroconf.el (zeroconf-service-add-hook):
18356 * obsolete/vc-mcvs.el (vc-mcvs-register):
18357 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
18358 (gdb-select-frame):
18359 * progmodes/grep.el (lgrep, rgrep):
18360 * progmodes/idlw-help.el (idlwave-help-check-locations)
18361 (idlwave-help-html-link, idlwave-help-assistant-open-link):
18362 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
18363 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
18364 (reftex-toc-rename-label): Fix typos in error messages.
18365
18366 * dired-aux.el (dired-do-shell-command): Reflow docstring.
18367 (dired-copy-how-to-fn): Doc fix.
18368 (dired-files-attributes, dired-read-shell-command):
18369 Fix typos in docstrings.
18370
18371 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
18372 (dired-x-find-file-other-window): Reflow docstrings.
18373 (dired-omit-marker-char, dired-read-shell-command)
18374 (dired-x-submit-report): Fix typos in docstrings.
18375
18376 * shell.el (shell-mode-hook):
18377 * view.el (View-scroll-line-forward):
18378 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
18379 Fix typos in docstrings.
18380
18381 * net/dig.el (dig-invoke): Fix typo in docstring.
18382 (query-dig): Reflow docstring.
18383
18384 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
18385 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
18386 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
18387 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
18388 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
18389 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
18390 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
18391 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
18392 (idlwave-completion-map, idlwave-current-indent)
18393 (idlwave-custom-ampersand-surround, idlwave-customize)
18394 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
18395 (idlwave-define-abbrev, idlwave-determine-class-special)
18396 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
18397 (idlwave-end-block-reg, idlwave-end-of-statement)
18398 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
18399 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
18400 (idlwave-explicit-class-listed, idlwave-file-header)
18401 (idlwave-fill-paragraph, idlwave-find-class-definition)
18402 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
18403 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
18404 (idlwave-in-quote, idlwave-indent-action-table)
18405 (idlwave-indent-expand-table, idlwave-indent-line)
18406 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
18407 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
18408 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
18409 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
18410 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
18411 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
18412 (idlwave-outlawed-buffers, idlwave-popup-select)
18413 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
18414 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
18415 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
18416 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
18417 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
18418 (idlwave-statement-type, idlwave-struct-skip)
18419 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
18420 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
18421 (idlwave-what-module-find-class): Fix typos in docstrings.
18422 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
18423 (idlwave-calculate-cont-indent, idlwave-expand-equal)
18424 (idlwave-find-module, idlwave-find-structure-definition)
18425 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
18426 (idlwave-list-load-path-shadows, idlwave-next-statement)
18427 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
18428 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
18429 (idlwave-template): Reflow docstrings.
18430
18431 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
18432 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
18433 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
18434 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
18435 (idlwave-shell-display-line, idlwave-shell-display-wframe)
18436 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
18437 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
18438 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
18439 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
18440 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
18441 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
18442 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
18443 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
18444 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
18445 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
18446 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
18447 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
18448 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
18449 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
18450 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
18451 Fix typos in docstrings.
18452 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
18453 (idlwave-shell-hide-output, idlwave-shell-mode)
18454 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
18455 Reflow docstrings.
18456
18457 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
18458
18459 2009-09-24 Ivan Kanis <apple@kanis.eu>
18460
18461 * term.el (term-bold-attribute): New var.
18462 (term-handle-colors-array): Use it.
18463
18464 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
18465
18466 * progmodes/gdb-mi.el (gdb-version): New variable.
18467 (gdb-non-stop-handler): Set gdb-version.
18468 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
18469 Condition "--thread" option on gdb-version.
18470 (gdb-invalidate-threads): Remove unused argument.
18471
18472 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18473
18474 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
18475 to looking-back to avoid ridiculous slow down in large files (bug#4511).
18476
18477 2009-09-23 Glenn Morris <rgm@gnu.org>
18478
18479 * mail/rmail.el (rmail-reply): Don't try to add a References header when
18480 replying to mail without References or Message-Id. (Bug#4525)
18481
18482 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
18483
18484 * term/ns-win.el (ns-reg-to-script): New variable.
18485
18486 2009-09-23 Daiki Ueno <ueno@unixuser.org>
18487
18488 * epg.el (epg-wait-for-status): Preserve existing 'error results.
18489
18490 2009-09-22 Sam Steingold <sds@gnu.org>
18491
18492 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
18493 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
18494 to 1 because hg returns status 1 when nothing is found.
18495 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
18496
18497 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
18498
18499 * textmodes/fill.el: Convert to utf-8 encoding.
18500 (fill-french-nobreak-p): Remove redundant » and « inherited from our
18501 pre-Unicode days.
18502
18503 * add-log.el (change-log-fill-forward-paragraph): New function.
18504 (change-log-mode): Use it so fill-region DTRT.
18505 Set fill-indent-according-to-mode here rather than in
18506 change-log-fill-paragraph.
18507 (change-log-fill-paragraph): Remove.
18508
18509 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
18510
18511 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
18512 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
18513
18514 2009-09-22 Glenn Morris <rgm@gnu.org>
18515
18516 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
18517 the scroll-bar scroll the calendar window rather than the buffer.
18518
18519 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
18520 commands that move point (as opposed to scrolling).
18521
18522 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
18523
18524 * emacs-lisp/elint.el (elint): New custom group.
18525 (elint-log-buffer): Make it a defcustom.
18526 (elint-scan-preloaded, elint-ignored-warnings)
18527 (elint-directory-skip-re): New options.
18528 (elint-builtin-variables): Doc fix.
18529 (elint-preloaded-env): New variable.
18530 (elint-unknown-builtin-args): Add an entry for encode-time.
18531 (elint-extra-errors): Make it a variable rather than a constant.
18532 (elint-preloaded-skip-re): New constant.
18533 (elint-directory): Skip files matching elint-directory-skip-re.
18534 (elint-features): New variable, local to linted buffers.
18535 (elint-update-env): Initialize elint-features. Possibly add
18536 elint-preloaded-env to the buffer's environment.
18537 (elint-get-top-forms): Bind elint-current-pos, for log messages.
18538 Skip quoted forms.
18539 (elint-init-form): New function, extracted from elint-init-env.
18540 Make non-list forms a warning rather than an error.
18541 Add the mode-map for define-derived-mode. Handle define-minor-mode,
18542 easy-menu-define, put that adds an error-condition, and provide.
18543 When requiring cl, also require cl-macs. Really require cl, to handle
18544 some cl macros. Store required libraries in the list elint-features,
18545 so as not to re-load them. Treat cc-require like require.
18546 (elint-init-env): Call elint-init-form to do the work.
18547 Handle eval-and-compile and such like.
18548 (elint-add-required-env): Do not clear messages.
18549 (elint-special-forms): Add handlers for function, defalias, if, when,
18550 unless, and, or.
18551 (elint-form): Add optional argument to ignore elint-special-forms,
18552 useful to prevent recursive calls from handlers. Doc fix.
18553 Respect elint-ignored-warnings.
18554 (elint-form): Respect elint-ignored-warnings.
18555 (elint-bound-variable, elint-bound-function): New variables.
18556 (elint-unbound-variable): Respect elint-bound-variable.
18557 (elint-get-args): Respect elint-bound-function.
18558 (elint-check-cond-form): Add some simple handling for (f)boundp and
18559 featurep tests.
18560 (elint-check-defalias-form): New handler.
18561 (elint-check-let-form): Make an empty let a warning rather than an
18562 error.
18563 (elint-check-setq-form): Make an empty setq a warning rather than an
18564 error. Respect elint-ignored-warnings.
18565 (elint-check-defvar-form): Accept null doc-strings.
18566 (elint-check-conditional-form): New handler. Does some simple-minded
18567 checking of featurep and (f)boundp tests.
18568 (elint-put-function-args): New function.
18569 (elint-initialize): Use elint-scan-doc-file rather than
18570 elint-find-builtin-variables. Use elint-put-function-args.
18571 Possibly scan preloaded-file-list.
18572 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
18573 extend to handle functions as well.
18574
18575 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
18576
18577 * linum.el (linum-delete-overlays, linum-update-window):
18578 Do not modify the right margin. (Bug#3971)
18579
18580 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
18581
18582 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
18583 Use nxml-mode instead of xml-mode.
18584
18585 2009-09-21 Kevin Ryde <user42@zip.com.au>
18586
18587 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
18588
18589 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
18590
18591 * net/dig.el (dig-mode): Use define-derived-mode.
18592
18593 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
18594
18595 * vc-dispatcher.el (vc-do-command): Return the process object in
18596 the asynchronous case. Use when instead of if. Do not run
18597 vc-exec-after to display a message if not enabled. (Bug#4463)
18598
18599 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
18600 properties to the stash strings.
18601 (vc-git-stash-list): Return a list of strings.
18602 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
18603 (vc-git-stash-show-at-point): New functions.
18604 (vc-git-stash-map): New keymap.
18605
18606 * register.el (ctl-x-r-map): Define the keys here instead of
18607 using autoload.
18608
18609 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
18610
18611 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
18612 list, to workaround performance problem (bug#4485).
18613
18614 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
18615
18616 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
18617
18618 2009-09-20 Daiki Ueno <ueno@unixuser.org>
18619
18620 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
18621 Document that this option is not recommended to use.
18622
18623 2009-09-19 Glenn Morris <rgm@gnu.org>
18624
18625 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
18626 variable `var'.
18627
18628 * calc/calc-alg.el (var):
18629 * calc/calcalg2.el (var): Define for compiler.
18630
18631 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
18632
18633 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
18634 Doc fix (Bug#3932).
18635
18636 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
18637
18638 * time-stamp.el (time-stamp-month-dd-yyyy)
18639 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
18640 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
18641 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
18642 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
18643 Remove functions that have been obsolete since 1995 (Bug#4436).
18644
18645 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
18646 indent buffer only if called interactively (Bug#4452).
18647
18648 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
18649 Eli Zaretskii <eliz@gnu.org>
18650
18651 This fixes bug#4197 (merged to bug#865, though not identical).
18652 * server.el (server-auth-dir): Add docstring note about FAT32.
18653 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
18654 but warn against using them.
18655
18656 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
18657
18658 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
18659 older GDB where there is no has_more field.
18660
18661 2009-09-19 Glenn Morris <rgm@gnu.org>
18662
18663 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
18664
18665 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
18666
18667 * files.el (auto-mode-alist): Change default for XML files to nXML
18668 mode (Bug#4169).
18669
18670 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
18671
18672 * server.el (server-ensure-safe-dir): Pass 'integer
18673 to `file-attributes', as suggested.
18674
18675 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
18676
18677 * dired-aux.el (dired-query-alist): Remove spurious backslash.
18678 (dired-query): Use read-key.
18679
18680 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
18681
18682 * cus-start.el (ns-use-qd-smoothing): Remove.
18683
18684 2009-09-18 Glenn Morris <rgm@gnu.org>
18685
18686 * allout.el (top-level): Remove unnecessary progn.
18687
18688 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
18689
18690 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
18691 definition of abbrev table.
18692
18693 * speedbar.el (speedbar-track-mouse):
18694 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
18695 * net/eudc.el (eudc-expand-inline):
18696 * net/newst-backend.el (newsticker--cache-read-feed):
18697 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
18698 condition-case handlers.
18699
18700 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
18701
18702 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
18703 (gdb-var-list): Add an element for has_more field.
18704 (gdb-non-stop-handler): Enable pretty printing for STL containers.
18705 (gdb-var-create-handler, gdb-var-list-children-handler-1)
18706 (gdb-var-update-handler-1): Parse output of dynamic variable
18707 objects (STL containers).
18708 (gdb-var-delete-1): Pass var1 as an explicit second argument.
18709 (gdb-get-field): Delete alias. Use bindat-get-field directly.
18710
18711 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
18712 gdb-var-list.
18713 (gud-speedbar-buttons): Make node expandable if expression "has more"
18714 children.
18715
18716 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
18717
18718 * startup.el (emacs-quick-startup): Remove variable and all uses.
18719 (command-line): Set `inhibit-x-resources' instead.
18720 (command-line-1): Use `inhibit-x-resources' instead.
18721
18722 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
18723
18724 * subr.el: Fix last change to avoid using the `unless' macro,
18725 which breaks bootstrapping.
18726
18727 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
18728
18729 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
18730 extended definitions, in case we reload subr.el after having
18731 loaded CL.
18732 (eval-next-after-load): Mark as obsolete.
18733
18734 2009-09-17 Juri Linkov <juri@jurta.org>
18735
18736 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
18737 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
18738 (menu-bar-showhide-menu, menu-bar-tools-menu)
18739 (menu-bar-describe-menu, menu-bar-help-menu)
18740 (minibuffer-local-completion-map, minibuffer-local-map):
18741 Fix list quoting.
18742
18743 2009-09-17 Glenn Morris <rgm@gnu.org>
18744
18745 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
18746 arguments, whether or not it has a handler.
18747
18748 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
18749
18750 * simple.el (hard-newline): Give it a doc-string.
18751
18752 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
18753 (lisp-mode-syntax-table): Give them doc-strings.
18754
18755 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
18756
18757 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
18758 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
18759 (menu-bar-options-menu, menu-bar-showhide-menu)
18760 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
18761 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
18762 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
18763 (menu-bar-options-menu, menu-bar-tools-menu)
18764 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
18765 (menu-bar-help-menu):
18766 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
18767 string arguments.
18768
18769 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
18770 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
18771 calls for the menu names and :help.
18772
18773 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
18774
18775 * mouse.el (minor-mode-menu-from-indicator): Pay attention
18776 to :minor-mode-function (bug#4455).
18777
18778 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
18779
18780 * startup.el (command-line): Initialize the window-system after
18781 processing the command-line.
18782
18783 * textmodes/page.el (what-page): Make sure we don't inf-loop if
18784 page-delimiter matches the empty string.
18785
18786 2009-09-16 Glenn Morris <rgm@gnu.org>
18787
18788 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
18789 byte-compile-not-obsolete-var. It's a list now.
18790 (byte-compile-not-obsolete-funcs): New variable.
18791 (byte-compile-warn-obsolete): Don't warn about functions if they are in
18792 byte-compile-not-obsolete-funcs.
18793 (byte-compile-variable-ref, byte-compile-defvar): Update for
18794 byte-compile-not-obsolete-vars name-change and list nature.
18795 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
18796 and variables behind (f)boundp tests.
18797 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
18798
18799 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
18800
18801 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
18802
18803 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
18804
18805 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
18806 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
18807 Don't autoload.
18808
18809 2009-09-15 Stephen Eglen <stephen@gnu.org>
18810
18811 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
18812 the virtual-buffers, use the name of the buffer specified by
18813 find-file-noselect, as the match may be a symlink. (This was a
18814 problem if the target and the symlink had different names.)
18815
18816 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
18817
18818 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
18819
18820 * desktop.el (desktop-path): Check user-emacs-directory.
18821
18822 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
18823
18824 * loadup.el: Use after-load-functions to GC after loading each file.
18825 Remove the explicit GC calls that used to be sprinkled around.
18826
18827 * subr.el (after-load-functions): New hook.
18828 (do-after-load-evaluation): Run it. Use string-match-p to detect
18829 `obsolete' packages, rather than painfully extracting the relevant
18830 directory name.
18831
18832 2009-09-15 Glenn Morris <rgm@gnu.org>
18833
18834 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
18835 free variable `doc'.
18836
18837 * dired.el (dired-mode-map): Add menu entry for async shell command.
18838
18839 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
18840 variables, also consider the .elc files, since the .el files are
18841 normally gzipped (subsequent code locates the .el.gz from the .elc).
18842
18843 * calc/calc-prog.el (arglist): Define for compiler.
18844
18845 * calendar/diary-lib.el (diary-display-function): Change the default to
18846 fancy display.
18847 (body): Define for compiler.
18848
18849 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
18850 (byte-compile-file-form, byte-compile-lambda)
18851 (byte-compile-top-level-body, byte-compile-form)
18852 (byte-compile-variable-ref, byte-compile-setq)
18853 (byte-compile-setq-default, byte-compile-body)
18854 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
18855 (batch-byte-compile): Give some more local variables with common names
18856 a "bytecomp-" prefix to avoid masking warnings about free variables.
18857
18858 * startup.el (command-line-1): Give local variables with common names a
18859 distinguishing prefix, so as not to hide free variable warnings during
18860 bootstrap.
18861
18862 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
18863 clever and add a suffix to make a unique name, just let the user decide
18864 whether or not to overwrite it. If the input is a directory, write the
18865 default filename to that directory. (Bug#4388)
18866 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
18867 is a filename-as-a-directory.
18868
18869 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
18870
18871 * textmodes/page.el (what-page): Don't move to beginning of line.
18872 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
18873
18874 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
18875
18876 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
18877
18878 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
18879
18880 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
18881 * help.el (help-for-help-internal): Add purecopy calls for text.
18882
18883 * vc.el (top): print-log method now takes an optional SHORTLOG
18884 argument. Add a new method: root.
18885 (vc-root-diff, vc-print-root-log): New functions.
18886 (vc-log-short-style): New variable.
18887 (vc-print-log-internal): Add support for showing short logs.
18888
18889 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
18890 vc-print-root-log and vc-print-root-diff.
18891
18892 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
18893 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
18894 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
18895 short logs.
18896
18897 * vc-cvs.el (vc-cvs-print-log):
18898 * vc-mtn.el (vc-mtn-print-log):
18899 * vc-rcs.el (vc-rcs-print-log):
18900 * vc-sccs.el (vc-sccs-print-log):
18901 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
18902 that is ignored for now.
18903
18904 * vc-mtn.el (vc-mtn-annotate-command):
18905 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
18906
18907 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
18908
18909 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
18910 to function-key-map, and give them ascii-character property.
18911 * term/x-win.el (x-alternatives-map):
18912 * term/ns-win.el (ns-alternatives-map):
18913 * term/internal.el (msdos-key-remapping-map):
18914 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
18915
18916 2009-09-14 Glenn Morris <rgm@gnu.org>
18917
18918 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
18919 temp-buffers (2009-09-12).
18920
18921 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
18922
18923 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
18924 the new read-key function.
18925
18926 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
18927
18928 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
18929 is defined (Bug#4405).
18930
18931 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
18932
18933 * recentf.el (recentf-cleanup): Use a hash table to find
18934 duplicates (Bug#4407).
18935
18936 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
18937
18938 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
18939 kp-0 to ascii equivalents (Bug#4325).
18940
18941 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
18942
18943 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
18944
18945 * eshell/em-hist.el:
18946 * eshell/em-dirs.el (eshell-complete-user-reference):
18947 Declare pcomplete functions and variables to avoid compiler warnings.
18948
18949 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
18950
18951 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
18952 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
18953 * eshell/em-alias.el (eshell-aliases-file):
18954 * eshell/em-hist.el (eshell-history-file-name):
18955 Use expand-file-name instead of concat to make file names (Bug#4308).
18956
18957 2009-09-13 Glenn Morris <rgm@gnu.org>
18958
18959 * ediff-merg.el (ediff-do-merge):
18960 * filesets.el (filesets-run-cmd):
18961 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
18962 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
18963 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
18964 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
18965 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
18966 Replace empty `let's with `progn'.
18967
18968 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
18969
18970 * mail/sendmail.el (send-mail-function):
18971 * tooltip.el (tooltip-mode):
18972 * simple.el (transient-mark-mode):
18973 * rfn-eshadow.el (file-name-shadow-mode):
18974 * frame.el (blink-cursor-mode):
18975 * font-core.el (global-font-lock-mode):
18976 * files.el (temporary-file-directory)
18977 (small-temporary-file-directory, auto-save-file-name-transforms):
18978 * epa-hook.el (auto-encryption-mode):
18979 * composite.el (global-auto-composition-mode):
18980 Use custom-initialize-delay.
18981 * startup.el (command-line): Don't explicitly call
18982 custom-reevaluate-setting for all the above vars.
18983 * custom.el (custom-initialize-safe-set)
18984 (custom-initialize-safe-default): Delete.
18985
18986 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18987
18988 * term/x-win.el (x-initialize-window-system):
18989 * term/w32-win.el (w32-initialize-window-system):
18990 * term/ns-win.el (ns-initialize-window-system): Don't call
18991 mouse-wheel-mode since it's enabled globally by default already.
18992
18993 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
18994 actually define the variable, but only silences the byte-compiler.
18995 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
18996 before looking it up.
18997 (mouse-wheel-scroll-amount): Also reset the bindings if this value
18998 is changed.
18999
19000 2009-09-12 Glenn Morris <rgm@gnu.org>
19001
19002 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
19003 1000.
19004 (elint-add-required-env): Don't beep on error.
19005 (elint-forms): In case of error, return ENV unchanged.
19006 (elint-init-env): Skip non-list forms.
19007 (elint-log): Handle unknown file positions.
19008
19009 2009-09-12 Daiki Ueno <ueno@unixuser.org>
19010
19011 * epg.el (epg-make-context): Add autoload cookie.
19012 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
19013 (epg-decrypt-string, epg-start-verify, epg-verify-file)
19014 (epg-verify-string, epg-start-sign, epg-sign-file)
19015 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
19016 (epg-encrypt-string, epg-start-export-keys)
19017 (epg-export-keys-to-file, epg-export-keys-to-string)
19018 (epg-start-import-keys, epg-import-keys-from-file)
19019 (epg-import-keys-from-string, epg-start-receive-keys)
19020 (epg-receive-keys, epg-import-keys-from-server)
19021 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
19022 (epg-sign-keys, epg-start-generate-key)
19023 (epg-generate-key-from-file, epg-generate-key-from-string):
19024 Remove autoload cookie.
19025
19026 2009-09-12 Eli Zaretskii <eliz@gnu.org>
19027
19028 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
19029 reevaluation of trash-directory.
19030
19031 * mwheel.el: Fix last change.
19032 (mouse-wheel-mode): New defvar.
19033 (mouse-wheel-mode): Remove autoload cookie.
19034
19035 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
19036
19037 * mwheel.el (mwheel-installed-bindings): New var.
19038 (mouse-wheel-mode): Use it, so as to make sure we really remove all
19039 the bindings we set last time. Use custom-initialize-delay.
19040 * loadup.el: Load mwheel after term/*-win.el.
19041 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
19042 and mouse-wheel-up-event now that their first evaluation is done
19043 sufficiently late to be correct.
19044
19045 * startup.el (tutorial-directory): Make it a defcustom.
19046 Use custom-initialize-delay rather than eval-at-startup to set it.
19047 * image.el (image-load-path): Make it a defcustom.
19048 Use custom-initialize-delay rather than eval-at-startup to set it.
19049 * subr.el (eval-at-startup): Remove.
19050 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
19051
19052 * subr.el (do-after-load-evaluation): Warn the user after loading an
19053 obsolete package.
19054
19055 2009-09-12 Glenn Morris <rgm@gnu.org>
19056
19057 * proced.el (proced-mark-alt): Remove alias.
19058 (proced-mode-map): Remove proced-mark-alt.
19059
19060 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
19061 Elint file and directory. Remove initialization entry.
19062
19063 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
19064 commands.
19065 (elint-current-buffer): Set mode-line-process.
19066 (elint-init-env): Handle define-derived-mode.
19067 Fix declare-function with unspecified arglist. Guard against odd
19068 defalias statements (eg iso-insert's 8859-1-map).
19069 (elint-add-required-env): Use a temp buffer.
19070 (elint-form): Just print the function/macro name, not the whole form.
19071 Return env unchanged if we fail to parse a macro.
19072 (elint-forms): Guard against parse errors.
19073 (elint-output): New function, to handle batch mode.
19074 (elint-log-message): Add optional argument. Use elint-output.
19075 (elint-set-mode-line): New function.
19076
19077 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
19078
19079 * emacs-lisp/elp.el (elp-not-profilable): Add more
19080 functions (Bug#4233).
19081
19082 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
19083
19084 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
19085 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
19086
19087 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
19088
19089 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
19090 (gdb-var-list-children): Use json parsing.
19091
19092 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
19093
19094 * progmodes/js.el (js--proper-indentation): Handle the case where
19095 char-before is null. Reported by Deniz Dogan.
19096
19097 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
19098
19099 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
19100
19101 2009-09-11 Daiki Ueno <ueno@unixuser.org>
19102
19103 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
19104 (epg-digest-algorithm-alist): Add SHA224.
19105 (epg-context-set-passphrase-callback)
19106 (epg-context-set-progress-callback): Add description about
19107 callback function.
19108
19109 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19110
19111 * custom.el (custom-delayed-init-variables): New var.
19112 (custom-initialize-delay): New function.
19113 * startup.el (command-line): "Re"evaluate all vars in
19114 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
19115 explicitly any more.
19116 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
19117 to avoid creating a ~/.emacs.d at build-time (bug#4347).
19118
19119 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
19120
19121 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
19122
19123 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
19124 (gdb-var-update-handler): Use json parsing.
19125
19126 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
19127
19128 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
19129 decode annotated text, regardless of language environment. (Bug#2741)
19130
19131 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19132
19133 * Makefile.in (autoloads): Make rmail.el writable as well.
19134
19135 2009-09-11 Glenn Morris <rgm@gnu.org>
19136
19137 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
19138 loaddefs.el.
19139 * dired.el: Regenerate with extracted autoloads.
19140 * Makefile.in (autoloads): Make dired.el writable.
19141
19142 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
19143 * ibuffer.el: Regenerate with extracted autoloads.
19144 * Makefile.in (autoloads): Make ibuffer.el writable.
19145
19146 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
19147 * version.el (emacs-copyright, emacs-major-version)
19148 (emacs-minor-version): Reformat doc-strings for make-docfile.
19149
19150 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
19151 functions and variables, since they must be stuff specific to some other
19152 platform.
19153 (apropos-print): Make mouse-click message less specific about button.
19154
19155 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
19156 that records where a macro was defined.
19157 * help-fns.el (describe-function-1): Mention if a function has a
19158 compiler-macro.
19159 * help-mode.el (help-function-cmacro): New button.
19160
19161 * locate.el (top-level): Always require dired.
19162 (locate-mode-map): Initialize inside the defvar.
19163
19164 * net/ange-ftp.el (dired-compress-file): Declare.
19165 (ange-ftp-dired-compress-file): Add doc string.
19166
19167 * term/ns-win.el (x-display-name, x-setup-function-keys):
19168 Unify doc-strings with X versions.
19169
19170 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19171
19172 * emulation/crisp.el (crisp-mode-map): Move initialization
19173 into declaration.
19174 (crisp-mode): Use define-minor-mode.
19175
19176 * progmodes/xscheme.el (xscheme-evaluation-commands):
19177 Put a :advertised-binding property rather than using
19178 advertised-xscheme-send-previous-expression.
19179 (advertised-xscheme-send-previous-expression): Declare obsolete.
19180 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
19181 `advertised-undo'.
19182 (crisp-mode): Add corresponding bindings to
19183 undo's :advertised-binding instead.
19184 * dired.el (dired-mode-map): Put a :advertised-binding property rather
19185 than using dired-advertised-find-file.
19186 (dired-advertised-find-file):
19187 * simple.el (advertised-undo):
19188 * wid-edit.el (advertised-widget-backward): Declare obsolete.
19189 (widget-keymap): Put a :advertised-binding property rather
19190 than using advertised-widget-backward.
19191 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
19192 than using advertised-undo.
19193 * tutorial.el (tutorial--default-keys): Adjust accordingly.
19194
19195 2009-09-10 Simon South <ssouth@slowcomputing.org>
19196
19197 * progmodes/delphi.el (delphi-tab): Indent region when Transient
19198 Mark mode is enabled and region is active; otherwise indent or
19199 insert TAB as usual.
19200 (delphi-mode): Update description of TAB-key binding.
19201
19202 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
19203
19204 * subr.el (define-key-rebound-commands): Mark obsolete.
19205 * startup.el (precompute-menubar-bindings): Remove.
19206 (normal-top-level): Remove obsolete code that tried to precompute
19207 menubar bindings.
19208 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
19209 define-key-rebound-commands and precompute-menubar-bindings.
19210
19211 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
19212
19213 * net/imap.el (imap-interactive-login): Better messages.
19214 (imap-open): Fix bug with renamed buffer on reconnect.
19215 (imap-authenticate): Add buffer-local imap-last-authenticator variable
19216 for easier debugging and cleaner code. On successful (guessed based on
19217 server capabilities) secondary authentication, set imap-state
19218 correctly.
19219 (imap-last-authenticator): Define imap-last-authenticator as a variable
19220 to avoid warnings.
19221
19222 2009-09-10 Glenn Morris <rgm@gnu.org>
19223
19224 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
19225
19226 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
19227 (byte-compile-file-form-autoload): Don't warn about unknown functions
19228 where the autoload statement comes after the use.
19229 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
19230 that any handlers inside the body (eg require) are in turn respected.
19231
19232 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
19233 effects.
19234
19235 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
19236 and syntax and abbrev tables basic docs, if they don't have any.
19237
19238 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
19239
19240 * international/mule-cmds.el (top-level): Require cl when compiling.
19241 (view-hello-file): Use default-value rather than
19242 default-enable-multibyte-characters.
19243
19244 * progmodes/fortran.el: Move all safe and risky properties into the
19245 defcustoms.
19246
19247 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
19248 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
19249 * mail/undigest.el:
19250 Put autoloads in rmail.el rather than loaddefs.el.
19251 * mail/rmail.el: Regenerate with extracted autoloads.
19252
19253 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
19254 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
19255
19256 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
19257
19258 Reported in thread for Bug#4375.
19259 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
19260 "-data-evaluate-expression" instead of print.
19261 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
19262 (gdb-tooltip-print): Parse output from above MI command.
19263 (gdb): Revert 2009-08-11 change. User should detach inferior
19264 manually.
19265
19266 Remove the word "separate" from IO functions as inferior
19267 output is now never displayed in the GUD buffer.
19268
19269 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
19270
19271 * startup.el (command-line-normalize-file-name): On Windows and
19272 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
19273
19274 2009-09-10 Juri Linkov <juri@jurta.org>
19275
19276 * isearch.el (isearch-text-char-description): Propertize escape
19277 character sequences with the `escape-glyph' face. (Bug#4344)
19278
19279 * simple.el (shell-command): Set asynchronous process filter to
19280 `comint-output-filter'. (Bug#4343)
19281
19282 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
19283 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
19284 the list. Move "asm" to the bottom.
19285 (grep-find-ignored-directories): Add `choice' with nil value
19286 to empty the list easily.
19287 (grep-find-ignored-files): New option.
19288 (grep-files-history): Set to nil by default instead of '("ch" "el").
19289 (grep-compute-defaults): Add "<X>" to `grep-template'.
19290 (grep-read-files): Bind new local variables `default-alias' and
19291 `default-extension'. Use a list of default values for the file prompt.
19292 (lgrep): Add `--exclude=' command line options composed from
19293 `grep-find-ignored-files'.
19294 (rgrep): Add `-name' command line options composed from
19295 `grep-find-ignored-files'. (Bug#4301)
19296
19297 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
19298
19299 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
19300 (bug#4368).
19301
19302 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
19303
19304 * calendar/time-date.el (autoload):
19305 Expand define-obsolete-function-alias into defalias and make-obsolete
19306 for old Emacsen that Gnus supports.
19307 (with-no-warnings): Define it for old Emacsen.
19308 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
19309 is available.
19310 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
19311 float-time is available; suppress compile warning for time-to-seconds.
19312
19313 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
19314
19315 * net/imap.el (imap-message-map): Docstring fix.
19316
19317 2009-09-09 Glenn Morris <rgm@gnu.org>
19318
19319 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
19320 line numbers too. (Bug#4374)
19321
19322 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
19323
19324 * smerge-mode.el (smerge-remove-props, smerge-refine):
19325 Use with-silent-modifications (bug#4342).
19326
19327 * subr.el (with-silent-modifications): New macro.
19328
19329 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
19330
19331 * files.el (top-level): Require `cl' when compiling.
19332
19333 2009-09-07 Glenn Morris <rgm@gnu.org>
19334
19335 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
19336
19337 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
19338 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
19339
19340 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
19341
19342 * vc-git.el (vc-git-annotate-command): Use separator to parse
19343 arguments correctly.
19344
19345 2009-09-06 Eli Zaretskii <eliz@gnu.org>
19346
19347 * proced.el (proced-mode): Doc fix.
19348
19349 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
19350
19351 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
19352 lstat fails.
19353 (tramp-do-file-attributes-with-ls): Check for file existence at
19354 remote end.
19355 (tramp-do-file-attributes-with-stat): Likewise.
19356 (tramp-convert-file-attributes): Return nil when attr is nil.
19357
19358 2009-09-05 Glenn Morris <rgm@gnu.org>
19359
19360 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
19361 properties to this button.
19362 (diary-fancy-display): Don't extend the button to the final newline.
19363 (diary-fancy-display-mode): Continue to define "q" as a local key.
19364
19365 * calendar/cal-china.el (holiday-chinese): Make it slightly more
19366 efficient.
19367
19368 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
19369
19370 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
19371 (byte-compile-dest-file-function): New option.
19372 (byte-compile-dest-file): Doc fix.
19373 Obey byte-compile-dest-file-function.
19374 (byte-compile-cl-file-p): New function.
19375 (byte-compile-eval): Only suppress noruntime warnings about cl functions
19376 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
19377 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
19378 than for file being previously loaded.
19379 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
19380 (byte-compile-file-form-require): Handle the case where requiring a file
19381 indirectly causes CL to be loaded.
19382
19383 2009-09-05 Karl Fogel <kfogel@red-bean.com>
19384
19385 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
19386 before killing the old buffer, since by the time `kill-buffer' is
19387 run so many buffer variables have been set to nil that it may not
19388 behave as expected. (Bug#4061)
19389
19390 2009-09-05 Karl Fogel <kfogel@red-bean.com>
19391
19392 * files.el (find-alternate-file): If the old buffer is modified
19393 and visiting a file, behave similarly to `kill-buffer' when
19394 killing it, thus reverting to the pre-1.878 behavior; see
19395 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
19396 for discussion. Also, consult `buffer-file-name' as a variable
19397 not as a function, for consistency with the rest of the code.
19398
19399 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
19400
19401 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
19402 also when adding a new directory.
19403
19404 * net/tramp-compat.el (tramp-compat-line-beginning-position):
19405 New defun.
19406
19407 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
19408
19409 * files.el (locate-file-completion-table): Make it provide boundary
19410 information, so partial-completion works better.
19411
19412 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
19413
19414 * mail/footnote.el (Footnote-text-under-cursor):
19415 Check footnote-text-marker-alist before using it (bug#4324).
19416
19417 2009-09-04 Glenn Morris <rgm@gnu.org>
19418
19419 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
19420 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
19421 * play/solitaire.el, play/tetris.el:
19422 Remove leading * from defcustom and defface docs.
19423
19424 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
19425 necessary.
19426 (diary-fancy-overriding-map): New variable.
19427 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
19428 Use view-mode.
19429
19430 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
19431 goto-line.
19432
19433 2009-09-03 Glenn Morris <rgm@gnu.org>
19434
19435 * arc-mode.el (archive-mode):
19436 * dos-fns.el (set-default-process-coding-system):
19437 * man.el (Man-getpage-in-background):
19438 * menu-bar.el (menu-bar-describe-menu):
19439 * server.el (server-process-filter):
19440 * startup.el (command-line):
19441 * tar-mode.el (tar-header-block-tokenize, tar-extract):
19442 * w32-fns.el (set-default-process-coding-system):
19443 * x-dnd.el (x-dnd-handle-file-name):
19444 * international/mule-cmds.el (mule-menu-keymap)
19445 (set-default-coding-systems, language-info-alist, set-language-info)
19446 (set-language-environment, standard-display-european-internal)
19447 (set-locale-environment):
19448 * international/mule-diag.el (mule-diag):
19449 * mail/emacsbug.el (report-emacs-bug):
19450 * mail/rmail.el (rmail-mode):
19451 * mail/sendmail.el (mail-setup):
19452 Use default-value rather than default-enable-multibyte-characters.
19453
19454 * progmodes/f90.el: Move all safe properties into the defcustoms.
19455 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
19456
19457 * calendar/appt.el (appt-check):
19458 * calendar/diary-lib.el (diary-set-header, diary-live-p)
19459 (diary-check-diary-file, diary-list-entries)
19460 (diary-include-other-diary-files, diary-simple-display)
19461 (diary-fancy-display, diary-print-entries)
19462 (diary-mark-included-diary-files, diary-make-entry):
19463 Don't call substitute-in-file-name on diary-file.
19464
19465 2009-09-03 Eduard Wiebe <usenet@pusto.de>
19466 Stefan Monnier <monnier@iro.umontreal.ca>
19467
19468 * mail/footnote.el (footnote-prefix): Make it a defcustom.
19469 (footnote-mode-map): Move initialization into the declaration.
19470 (footnote-minor-mode-map): Define it rather than changing global-map.
19471 (footnote-mode): Use define-minor-mode.
19472
19473 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
19474
19475 * net/tramp.el (tramp-handle-file-attributes-with-ls)
19476 (tramp-do-file-attributes-with-perl)
19477 (tramp-do-file-attributes-with-stat): Rename from
19478 `tramp-handle-file-attributes-with-*'.
19479 (tramp-handle-file-attributes): Use them.
19480 (tramp-do-directory-files-and-attributes-with-perl)
19481 (tramp-do-directory-files-and-attributes-with-stat): Rename from
19482 `tramp-handle-directory-files-and-attributes-with-*'.
19483 (tramp-handle-directory-files-and-attributes): Use them.
19484 (tramp-method-out-of-band-p): Additional parameter SIZE.
19485 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
19486 (tramp-handle-write-region): Use it.
19487 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
19488 (tramp-handle-vc-registered): Check, whether the first run did
19489 return files to be tested.
19490 (tramp-advice-make-auto-save-file-name): Do not call directly
19491 `tramp-handle-make-auto-save-file-name', because this would bypass
19492 the locking mechanism.
19493
19494 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
19495 (file-remote-p, process-file, start-file-process, set-file-times)
19496 (tramp-compat-file-attributes): Compatibility functions shall not
19497 call directly `tramp-handle-*', because this would bypass the
19498 locking mechanism.
19499 (tramp-compat-number-sequence): New defun.
19500
19501 2009-09-02 Glenn Morris <rgm@gnu.org>
19502
19503 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
19504 alias for float-time.
19505 (time-to-number-of-days): In Emacs, use float-time.
19506 * net/newst-backend.el (time-add): Suppress warnings from compat
19507 function.
19508 * time.el (emacs-uptime, emacs-init-time):
19509 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
19510 Use float-time rather than time-to-seconds.
19511
19512 * minibuffer.el (completion-initials-expand): Fix typo.
19513
19514 * faces.el (modeline, modeline-inactive, modeline-highlight)
19515 (modeline-buffer-id):
19516 * info.el (info-menu-5): Mark these face aliases as obsolete.
19517
19518 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
19519
19520 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
19521 space ...
19522 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
19523 no "--thread" option.
19524 (gdb-stopped): Don't print "Switched to thread" message when it is
19525 unchanged.
19526
19527 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
19528
19529 * minibuffer.el (completion-try-completion)
19530 (completion-all-completions): Remove ill-defined (and
19531 mistakenly installed and luckily never used nor documented)
19532 `completion-styles' property.
19533 (completion-initials-expand, completion-initials-all-completions)
19534 (completion-initials-try-completion): New functions.
19535 (completion-styles-alist): Add doc to each entry.
19536 Add new `initials' entry.
19537
19538 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
19539
19540 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
19541 MI command -var-evaluate-expression.
19542 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
19543 and tweak for case of string child.
19544 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
19545
19546 2009-09-01 Glenn Morris <rgm@gnu.org>
19547
19548 * add-log.el (change-log-date-face, change-log-name-face)
19549 (change-log-email-face, change-log-file-face, change-log-list-face)
19550 (change-log-conditionals-face, change-log-function-face)
19551 (change-log-acknowledgement-face):
19552 * cus-edit.el (custom-invalid-face, custom-rogue-face)
19553 (custom-modified-face, custom-set-face, custom-changed-face)
19554 (custom-saved-face, custom-button-face, custom-button-pressed-face)
19555 (custom-documentation-face, custom-state-face, custom-comment-face)
19556 (custom-comment-tag-face, custom-variable-tag-face)
19557 (custom-variable-button-face, custom-face-tag-face)
19558 (custom-group-tag-face-1, custom-group-tag-face):
19559 * diff-mode.el (diff-header-face, diff-file-header-face)
19560 (diff-index-face, diff-hunk-header-face, diff-removed-face)
19561 (diff-added-face, diff-changed-face, diff-function-face)
19562 (diff-context-face, diff-nonexistent-face):
19563 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
19564 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
19565 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
19566 (Info-title-4-face):
19567 * isearch.el (isearch-lazy-highlight-face):
19568 * log-view.el (log-view-file-face, log-view-message-face):
19569 * paren.el (show-paren-match-face, show-paren-mismatch-face):
19570 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
19571 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
19572 (cvs-msg-face):
19573 * smerge-mode.el (smerge-mine-face, smerge-other-face)
19574 (smerge-base-face, smerge-markers-face):
19575 * wid-edit.el (widget-documentation-face, widget-button-face)
19576 (widget-field-face, widget-single-line-field-face)
19577 (widget-inactive-face, widget-button-pressed-face):
19578 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
19579 (woman-addition-face):
19580 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
19581 (eshell-ls-executable-face, eshell-ls-readonly-face)
19582 (eshell-ls-unreadable-face, eshell-ls-special-face)
19583 (eshell-ls-missing-face, eshell-ls-archive-face)
19584 (eshell-ls-backup-face, eshell-ls-product-face)
19585 (eshell-ls-clutter-face):
19586 * eshell/em-prompt.el (eshell-prompt-face):
19587 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
19588 * obsolete/old-whitespace.el (whitespace-highlight-face):
19589 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
19590 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
19591 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
19592 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
19593 (antlr-font-lock-literal-face):
19594 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
19595 (ebrowse-root-class-face, ebrowse-file-name-face)
19596 (ebrowse-default-face, ebrowse-member-attribute-face)
19597 (ebrowse-member-class-face, ebrowse-progress-face):
19598 * progmodes/make-mode.el (makefile-space-face):
19599 * progmodes/sh-script.el (sh-heredoc-face):
19600 * textmodes/flyspell.el (flyspell-incorrect-face)
19601 (flyspell-duplicate-face):
19602 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
19603 * textmodes/texinfo.el (texinfo-heading-face):
19604 Mark face aliases with "-face" suffix as obsolete.
19605
19606 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
19607 compiler.
19608
19609 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
19610 (eudc-bob-sound-menu): Use defvar rather than defconst, since
19611 easy-menu-define wants to modify these.
19612
19613 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
19614
19615 * net/browse-url.el (browse-url-file-url):
19616 * term/internal.el (dos-codepage-setup):
19617 Use default-value rather than default-enable-multibyte-characters.
19618
19619 * progmodes/etags.el (etags-goto-tag-location):
19620 * progmodes/flymake.el (flymake-highlight-line)
19621 (flymake-goto-file-and-line, flymake-goto-line):
19622 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
19623 (gdb-goto-breakpoint):
19624 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
19625 * progmodes/python.el (python-find-function)
19626 (python-pdbtrack-track-stack-file):
19627 * progmodes/verilog-mode.el (verilog-surelint-off):
19628 * term/ns-win.el (ns-open-file-select-line):
19629 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
19630 Use forward-line rather than goto-line.
19631
19632 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
19633 * textmodes/reftex-index.el (reftex-display-index):
19634 * textmodes/reftex-ref.el (reftex-offer-label-menu):
19635 * textmodes/reftex-toc.el (reftex-toc):
19636 Remove unnecessary bindings of default-major-mode (all are followed by
19637 major-mode check and possible mode switch).
19638
19639 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
19640
19641 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
19642 Handle watchpoints (bug#4282).
19643 (def-gdb-thread-buffer-command): Enable thread to be selected by
19644 clicking without selecting threads buffer first.
19645 (gdb-current-context-command): Use selected frame so that "up",
19646 "down" etc work in the GUD buffer.
19647 (gdb-update): Find selected frame before rendering stack buffer.
19648 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
19649
19650 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
19651
19652 * progmodes/sym-comp.el (displayed-completions): Remove.
19653 (symbol-complete): Use minibuffer-complete.
19654
19655 2009-08-31 Glenn Morris <rgm@gnu.org>
19656
19657 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
19658
19659 * apropos.el (apropos-symbols-internal):
19660 Handle (obsolete) face aliases.
19661
19662 * faces.el (describe-face): Adjust the output format to be more like
19663 describe-variable, and to mention (obsolete) face aliases.
19664 Adjust the whitespace so that help-setup-xref works.
19665
19666 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
19667 * calendar/diary-lib.el (diary-button-face):
19668 Mark these face aliases as obsolete.
19669
19670 * calendar/calendar.el (calendar-today): Doc fix.
19671
19672 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
19673
19674 * progmodes/gdb-mi.el (gdb-control-all-threads)
19675 (gdb-control-current-thread): Force tool bar update.
19676 (gdb-non-stop-handler): New function.
19677 (gdb-init-1): Use it to test if non-stop mode is supported.
19678 Remove unused gdbmi buffer type.
19679
19680 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
19681
19682 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
19683 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
19684
19685 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
19686
19687 * comint.el (comint-exec-1): Check command is non-null first.
19688 Part of gdb-mi.el change (2009-08-28).
19689
19690 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19691
19692 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
19693
19694 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
19695
19696 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
19697 instead of `dolist' to avoid a recursive require when bootstrapping.
19698
19699 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19700
19701 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
19702
19703 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
19704
19705 * net/imap.el (imap-send-command): Simplify.
19706 (imap-wait-for-tag): point-max -> buffer-size.
19707
19708 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
19709
19710 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
19711 with constant argument.
19712
19713 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
19714
19715 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
19716
19717 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
19718 Change default, since most of our files don't have a history.
19719 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
19720 the user.
19721
19722 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19723 Add comint-run.
19724
19725 * calc/calc.el: Improve commenting convention.
19726 (calc-digit-map, toplevel): Simplify.
19727
19728 * comint.el (comint-insert-input): Be careful to only set point if we
19729 don't delegate to some other command.
19730
19731 * proced.el (proced-signal-list): Make it an alist.
19732 (proced-grammar-alist): Capitalize names.
19733 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
19734 Disable undo manually and make it read-only.
19735 Use completion-annotate-function.
19736
19737 * minibuffer.el (minibuffer-message): If the current buffer is not
19738 a minibuffer, insert the message in the echo area rather than at the
19739 end of the buffer.
19740 (completion-annotate-function): New variable.
19741 (minibuffer-completion-help): Use it.
19742 (completion--embedded-envvar-table): Environment vars are
19743 always case-sensitive.
19744
19745 2009-08-30 Glenn Morris <rgm@gnu.org>
19746
19747 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
19748 from fortran-current-defun.
19749 (fortran-beginning-of-subprogram): Be more precise about finding the
19750 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
19751 (fortran-end-of-subprogram): Simplify.
19752 (fortran-current-defun): Use fortran-start-prog-re.
19753
19754 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
19755
19756 * subr.el (do-after-load-evaluation): Simplify.
19757
19758 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
19759
19760 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
19761
19762 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
19763 (vc-rcs-print-log): Use it.
19764
19765 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
19766
19767 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
19768
19769 * paths.el (abbrev-file-name): Move to abbrev.el.
19770 * abbrev.el (abbrev-file-name): Move from paths.el.
19771 Obey user-emacs-directory.
19772 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
19773 user-emacs-directory.
19774 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
19775 abbrev-file-name and calc-settings-file any more.
19776 * startup.el (command-line): Recompute abbrev-file-name and
19777 abbreviated-home-dir.
19778 (normal-no-mouse-startup-screen): Improve the generic code and get rid
19779 of the special code for when C-h bindings haven't been changed.
19780 (display-startup-echo-area-message): Use with-current-buffer.
19781 (command-line-1): Use a list of strings, rather than a list of lists
19782 of strings for longopts.
19783
19784 * files.el (get-free-disk-space): Use / for default-directory.
19785
19786 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
19787 Use with-current-buffer.
19788
19789 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
19790 Recognize immutable variables like most-positive-fixnum.
19791 (byte-compile-setq-default): Check and warn if trying to assign
19792 to an immutable variable, or a non-variable.
19793
19794 * progmodes/cc-vars.el (c-comment-continuation-stars):
19795 * progmodes/cc-engine.el (c-looking-at-bos):
19796 * progmodes/cc-cmds.el (c-toggle-auto-state)
19797 (c-forward-into-nomenclature, c-backward-into-nomenclature)
19798 (c-comment-line-break-function): Add version of obsolescence.
19799
19800 2009-08-28 Juri Linkov <juri@jurta.org>
19801
19802 * files.el (magic-fallback-mode-alist): Add ZIP magic number
19803 associated with `archive-mode'.
19804
19805 * image.el (image-type-header-regexps): Use only JPEG magic number
19806 to determine JPEG images, and don't use `image-jpeg-p' because
19807 Emacs can display non-JFIF non-Exif JPEG images.
19808
19809 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
19810
19811 * arc-mode.el (archive-mode):
19812 * emacs-lisp/re-builder.el (re-builder-unload-function):
19813 Protect against the default value of `major-mode' being nil.
19814
19815 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
19816
19817 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
19818 Fix typos in docstrings.
19819
19820 * progmodes/js.el (js--macro-decl-re): Doc fix.
19821 (js--plain-method-re, js--split-name): Refloc docstring.
19822 (js--class-styles, js--make-merged-item, js--splice-into-items):
19823 Fix typos in docstrings; reflow docstrings.
19824 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
19825 (js--variable-decl-matcher, js--inside-pitem-p)
19826 (js--parse-state-at-point, js--get-all-known-symbols)
19827 (js--symbol-history, js-find-symbol, js--js-references)
19828 (js--moz-interactor, js--js-encode-value, js--read-tab):
19829 Fix typos in docstrings.
19830
19831 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19832
19833 * textmodes/reftex.el (reftex-get-file-buffer-force):
19834 * progmodes/verilog-mode.el (verilog-batch-execute-func):
19835 * emulation/viper.el (viper-go-away, viper-set-hooks):
19836 * emacs-lisp/re-builder.el (re-builder-unload-function):
19837 * emacs-lisp/bytecomp.el (byte-compile-file):
19838 * ses.el (ses-unload-function):
19839 * hexl.el (hexl-find-file):
19840 * files.el (normal-mode):
19841 * ehelp.el (with-electric-help):
19842 * autoinsert.el (auto-insert-alist):
19843 * arc-mode.el (archive-mode):
19844 Use (default-value 'major-mode) instead of default-major-mode.
19845
19846 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
19847 * international/mule.el (load-with-code-conversion):
19848 * emacs-lisp/debug.el (debug):
19849 * ediff-vers.el (ediff-rcs-get-output-buffer):
19850 * dired.el (dired-internal-noselect): Don't let-bind
19851 default-major-mode around code that doesn't use it.
19852 E.g. buffer creation via get-buffer-create doesn't use it.
19853
19854 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
19855
19856 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
19857 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
19858 when writing the temp file. Otherwise, epa-file gets confused.
19859 (tramp-register-file-name-handlers): Make it a defun. Move also
19860 `epa-file-handler' to the front of `file-name-handler-alist'.
19861
19862 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19863
19864 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
19865 start right after a ^M.
19866 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
19867 (tramp-completion-file-name-regexp-separate)
19868 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
19869 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
19870 Don't modify last-coding-system-used by accident.
19871 (tramp-completion-file-name-handler): Apply the checks here,
19872 instead during registration.
19873 (tramp-register-file-name-handlers): Rename from
19874 `tramp-register-file-name-handler'. Register both
19875 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
19876 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
19877
19878 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
19879
19880 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
19881 Remove variable ...
19882 (gdb-init-1, gdb-display-separate-io-buffer)
19883 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
19884 references to it.
19885 (gdb-inferior-io-mode): Use make-comint-in-buffer.
19886 (gdb-inferior-filter): Use comint-output-filter to stop
19887 echoing and remove ^M characters.
19888
19889 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19890
19891 * emulation/viper-init.el (viper-restore-cursor-type):
19892 * emulation/cua-base.el (cua--update-indications):
19893 Replace default-cursor-type with (default-value 'cursor-type).
19894
19895 * mail/sendmail.el (mail-recover-1):
19896 * international/mule-diag.el (describe-current-coding-system-briefly)
19897 (describe-current-coding-system):
19898 * international/mule-cmds.el (select-safe-coding-system)
19899 (select-message-coding-system)
19900 (set-language-environment-coding-systems, set-locale-environment):
19901 * hexl.el (hexl-insert-multibyte-char):
19902 * dos-w32.el (find-buffer-file-type-coding-system):
19903 * simple.el (what-cursor-position):
19904 Replace uses of default-buffer-file-coding-system
19905 with (default-value 'buffer-file-coding-system).
19906
19907 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
19908 Replace uses of default-cursor-in-non-selected-windows
19909 with (default-value 'cursor-in-non-selected-windows).
19910 Use with-current-buffer.
19911
19912 * mail/feedmail.el: Use CL macros.
19913 (feedmail-run-the-queue, feedmail-send-it-immediately):
19914 * dos-w32.el (find-buffer-file-type): Replace uses of
19915 default-buffer-file-type with (default-value 'buffer-file-type).
19916
19917 2009-08-28 Glenn Morris <rgm@gnu.org>
19918
19919 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
19920 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
19921 Use default-value of major-mode rather than default-major-mode.
19922
19923 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
19924
19925 * Makefile.in (update-elcfiles): Report left over elc files.
19926
19927 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
19928 expand-file-name and with-current-buffer.
19929 (mail-get-names, mail-directory): Use with-current-buffer.
19930
19931 * vc.el (vc-read-revision): New function.
19932 (vc-version-diff, vc-merge): Use it.
19933
19934 2009-08-27 Sam Steingold <sds@gnu.org>
19935
19936 * simple.el (kill-do-not-save-duplicates): New user option.
19937 (kill-new): When it is non-nil, and the new string is the same as
19938 the latest kill, set replace to t to avoid duplicates in kill-ring.
19939
19940 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
19941
19942 * net/tramp.el (tramp-handle-process-file): Do not flush all
19943 caches when `process-file-side-effects' is set.
19944 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
19945 instead of `tramp-find-file-exists-command'.
19946 Unset `process-file-side-effects'.
19947
19948 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
19949
19950 * net/tramp.el (tramp-methods): New method "rsyncc".
19951 (top): Add completion function for "rsyncc".
19952 (tramp-message-show-message): New defvar.
19953 (tramp-message, tramp-error): Use it.
19954 (tramp-do-copy-or-rename-file-directly): Extend check for direct
19955 remote copying.
19956 (tramp-do-copy-or-rename-file-out-of-band): Handle new
19957 `tramp-methods' entry `copy-env' of "rsyncc".
19958 (tramp-vc-registered-read-file-names): New defconst.
19959 (tramp-vc-registered-file-names): New defvar.
19960 (tramp-handle-vc-registered): Implement optimization strategy.
19961 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
19962 (tramp-vc-file-name-handler): New defun.
19963 (tramp-get-ls-command, tramp-get-test-command)
19964 (tramp-get-file-exists-command, tramp-get-remote-ln)
19965 (tramp-get-remote-perl, tramp-get-remote-stat)
19966 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
19967
19968 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
19969 (tramp-cache-inhibit-cache): Extend doc string. It allows also
19970 timestamps.
19971 (tramp-get-file-property): Check for timestamps in
19972 `tramp-cache-inhibit-cache'.
19973 (tramp-set-file-property): Write timestamp.
19974
19975 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
19976
19977 * language/japan-util.el (japanese-symbol-table): Add entries for
19978 cp932-2-byte.
19979
19980 * international/characters.el: Add category `j' to cp932-2-byte.
19981
19982 2009-08-27 Kenichi Handa <handa@m17n.org>
19983
19984 * international/fontset.el (build-default-fontset-data): New macro.
19985 (setup-default-fontset): Use build-default-fontset-data for CJK,
19986 tibetan, ethiopic, and ipa.
19987
19988 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
19989
19990 * cus-start.el (default-major-mode): Customize `major-mode' instead.
19991 (enable-multibyte-characters): Not customizable any more.
19992
19993 * subr.el (default-mode-line-format, default-header-line-format)
19994 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
19995 (default-direction-reversed, default-truncate-lines)
19996 (default-left-margin, default-tab-width, default-case-fold-search)
19997 (default-left-margin-width, default-right-margin-width)
19998 (default-left-fringe-width, default-right-fringe-width)
19999 (default-fringes-outside-margins, default-scroll-bar-width)
20000 (default-vertical-scroll-bar, default-indicate-empty-lines)
20001 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
20002 (default-fringe-cursor-alist, default-scroll-up-aggressively)
20003 (default-scroll-down-aggressively, default-fill-column)
20004 (default-cursor-type, default-buffer-file-type)
20005 (default-cursor-in-non-selected-windows)
20006 (default-buffer-file-coding-system, default-major-mode)
20007 (default-enable-multibyte-characters): Mark as obsolete.
20008
20009 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
20010
20011 * vc-dir.el (vc-dir-update): Remove debug helper.
20012
20013 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
20014
20015 2009-08-26 Sam Steingold <sds@gnu.org>
20016
20017 * simple.el (save-interprogram-paste-before-kill): New user option.
20018 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
20019 save the interprogram-paste into kill-ring before overriding it
20020 with the Emacs kill.
20021
20022 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
20023
20024 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
20025 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
20026 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
20027 and move to vc-rcs.el.
20028 (vc-default-next-revision): Rename to vc-rcs-next-revision and
20029 move to vc-rcs.el.
20030 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
20031 (vc-rcs-update-changelog): Remove.
20032 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
20033 and move to vc-rcs.el.
20034
20035 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
20036 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
20037 renaming.
20038 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
20039 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
20040 vc.el, renamed to be RCS specific.
20041
20042 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
20043 New functions.
20044 (vc-cvs-update-changelog): Move here from vc.el.
20045
20046 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
20047 New functions.
20048
20049 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
20050
20051 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
20052
20053 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
20054
20055 * vc-git.el (vc-git-register): Use "git add" for directories.
20056 (vc-git-stash, vc-git-stash-show): New functions.
20057 (vc-git-extra-menu-map): Bind them.
20058
20059 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
20060 directory correctly in case the item is a directory itself.
20061
20062 * vc.el: Document the desired behavior for reverted files in the
20063 `added' state.
20064 (vc-default-prettify-state-info): Remove function, unused.
20065
20066 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
20067
20068 2009-08-26 Glenn Morris <rgm@gnu.org>
20069
20070 * bindings.el (standard-mode-line-format): Reposition dashes in
20071 which-func entry. (Bug#4217)
20072
20073 * files.el (enable-local-variables, enable-local-eval)
20074 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
20075 the defcustoms.
20076 (auto-mode-alist, ignored-local-variables)
20077 (save-some-buffers-action-alist): Move risky declarations to the
20078 definitions.
20079 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
20080 (font-lock-defaults, format-alist, imenu--index-alist)
20081 (imenu-generic-expression, input-method-alist, minor-mode-alist)
20082 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
20083 (mode-line-modified, mode-line-mule-info, mode-line-position)
20084 (mode-line-process, mode-line-remote, outline-level)
20085 (parse-time-rules, rmail-output-file-alist)
20086 (special-display-buffer-names, vc-mode):
20087 Move risky declarations to the relevant files.
20088 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
20089 (mode-line-modified, mode-line-process, mode-line-position)
20090 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
20091 * font-core.el (font-lock-defaults):
20092 * format.el (format-alist):
20093 * vc-hooks.el (vc-mode):
20094 * window.el (special-display-buffer-names):
20095 * international/mule-cmds.el (input-method-alist):
20096 Define riskiness here (dumped file) rather than in files.el.
20097 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
20098 * imenu.el (imenu-generic-expression, imenu--index-alist):
20099 * outline.el (outline-level):
20100 * time.el (display-time-string):
20101 * calendar/parse-time.el (parse-time-rules):
20102 * mail/rmailout.el (rmail-output-file-alist):
20103 Autoload riskiness here, rather than placing in files.el.
20104
20105 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
20106
20107 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
20108
20109 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
20110
20111 * simple.el (process-file-side-effects): New defvar.
20112
20113 * dired-aux.el (dired-show-file-type):
20114 * vc.el (vc-diff-internal):
20115 * vc-arch.el (vc-arch-diff):
20116 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
20117 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
20118 * vc-git.el (vc-git-registered, vc-git-working-revision)
20119 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
20120 (vc-git--empty-db-p):
20121 * vc-hooks.el (vc-user-login-name):
20122 * vc-svn.el (vc-svn-registered, vc-svn-state)
20123 (vc-svn-dir-extra-headers, vc-svn-find-revision):
20124 * progmodes/grep.el (grep-probe): Let-bind
20125 `process-file-side-effects' with nil.
20126
20127 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
20128
20129 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
20130 daemon. Replace ping by checking for running service for bluez
20131 and zeroconf. (Bug#4239)
20132
20133 2009-08-25 Kevin Ryde <user42@zip.com.au>
20134
20135 * net/dig.el (dig): Add autoload cookie.
20136
20137 2009-08-25 Glenn Morris <rgm@gnu.org>
20138
20139 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
20140 load-history for absolute file-names.
20141 (byte-compile-file-form-require): Warn about use of the cl package.
20142
20143 * format.el (format-alist): Doc fix.
20144
20145 * play/bubbles.el (top-level): Don't require cl at run-time.
20146
20147 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
20148 run-time cl).
20149
20150 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
20151
20152 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
20153 from cl package.
20154 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
20155
20156 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
20157
20158 * calc/calc-alg.el (math-trig-rewrite)
20159 (math-hyperbolic-trig-rewrite): New functions.
20160 (calc-simplify): Simplify trig functions when asked.
20161
20162 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
20163
20164 * diff-mode.el (diff-find-source-location): Avoid goto-line.
20165
20166 2009-08-24 Kenichi Handa <handa@m17n.org>
20167
20168 * language/ind-util.el (mapthread): Delete it.
20169 (combinatorial): New function.
20170 (indian--puthash-cv): Use combinatorial instead of mapthread.
20171
20172 2009-08-22 Kevin Ryde <user42@zip.com.au>
20173
20174 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
20175 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
20176 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
20177 Clarify docstring that the value is strings not symbols.
20178 (checkdoc-list-of-strings-p): New function.
20179
20180 2009-08-22 Glenn Morris <rgm@gnu.org>
20181
20182 * files.el (auto-mode-alist):
20183 * hippie-exp.el (he-concat-directory-file-name):
20184 * lpr.el (lpr-windows-system, printer-name):
20185 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
20186 * ps-print.el (ps-windows-system):
20187 * startup.el (command-line):
20188 * emulation/viper-ex.el (viper-glob-function):
20189 * international/mule-cmds.el (set-language-environment-coding-systems):
20190 * net/ange-ftp.el (ange-ftp-write-region):
20191 * obsolete/fast-lock.el (fast-lock-cache-name):
20192 Remove code for defunct system-types emx, macos, mswindows, next-mach,
20193 unisoft-unix, vax-vms, win32, w32.
20194
20195 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
20196 given name if the pattern is not more specific.
20197
20198 * calendar/lunar.el (lunar-phase-names): New option.
20199 (lunar-phase): Doc fix.
20200 (lunar-cycles-per-year): New constant.
20201 (lunar-index): New function.
20202 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
20203 (lunar-phase-name): Use lunar-phase-names.
20204 (calendar-lunar-phases): Use format.
20205 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
20206
20207 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
20208 Copy imenu-example--name-and-position function here for own use.
20209 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
20210
20211 * bs.el (bs--redisplay):
20212 * cus-edit.el (custom-redraw):
20213 * ibuffer.el (ibuffer-bury-buffer):
20214 * server.el (server-goto-line-column):
20215 * startup.el (command-line-1):
20216 * strokes.el (strokes-xpm-for-stroke):
20217 * term.el (term-display-buffer-line):
20218 * view.el (View-goto-line):
20219 * calc/calc.el (calc-do, calc-trail-buffer):
20220 * play/gamegrid.el (gamegrid-add-score-insecure):
20221 * progmodes/ada-mode.el (ada-compile-goto-error):
20222 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
20223 (ebrowse-select-1st-to-9nth):
20224 * progmodes/cperl-mode.el (cperl-time-fontification):
20225 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
20226 * progmodes/gud.el (gud-display-line):
20227 (idlwave-shell-display-line):
20228 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
20229 * progmodes/make-mode.el (makefile-browser-toggle):
20230 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
20231 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
20232 * textmodes/picture.el (picture-draw-rectangle):
20233 * textmodes/reftex-index.el (reftex-index-goto-letter):
20234 (reftex-select-jump-to-previous):
20235 * textmodes/reftex-sel.el (reftex-find-start-point)
20236 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
20237 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
20238 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
20239 * textmodes/tex-mode.el (tex-compilation-parse-errors):
20240 * textmodes/two-column.el (2C-associated-buffer):
20241 Use forward-line rather than goto-line.
20242
20243 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
20244 goto-line.
20245
20246 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
20247 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
20248 (quick-check-list-to-regexp): Declare.
20249
20250 * progmodes/make-mode.el (makefile-browser-insert-selection):
20251 Use goto-char rather than goto-line.
20252
20253 * progmodes/prolog.el (compilation-error-regexp-alist)
20254 (compilation-forget-errors): Declare.
20255
20256 2009-08-22 Juri Linkov <juri@jurta.org>
20257
20258 * progmodes/grep.el (lgrep, rgrep): At the beginning
20259 set `dir' to `default-directory' unless `dir' is a non-nil
20260 readable directory. (Bug#4052)
20261 (lgrep, rgrep): Change a weird way to report an error
20262 from using `read-string' to using `error'.
20263 Instead of using interactive arguments in the function body,
20264 add new argument `confirm'.
20265
20266 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
20267
20268 * textmodes/remember.el (remember-buffer):
20269 * progmodes/cperl-mode.el (cperl-vc-header-alist):
20270 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
20271 (icalendar-extract-ical-from-buffer):
20272 * net/newst-treeview.el (newsticker-groups-filename):
20273 * net/newst-backend.el (newsticker-cache-filename):
20274 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
20275 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
20276 (speedbar-add-ignored-path-regexp, speedbar-line-path)
20277 (speedbar-buffers-line-path, speedbar-path-line)
20278 (speedbar-buffers-line-path):
20279 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
20280 (epg-sign-keys):
20281 * epa.el (epa-display-verify-result):
20282 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
20283
20284 2009-08-21 Glenn Morris <rgm@gnu.org>
20285
20286 * progmodes/js.el (inferior-moz-process): Fix declaration.
20287
20288 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
20289
20290 * obsolete/rnewspost.el (news-mail-reply):
20291 Use goto-char rather than goto-line.
20292
20293 * term/ns-win.el (ns-open-file-select-line):
20294 Use line-beginning-position rather than goto-line.
20295
20296 * apropos.el (apropos-command):
20297 * ehelp.el (electric-helpify):
20298 * printing.el (pr-show-setup):
20299 * strokes.el (strokes-help):
20300 * tutorial.el (tutorial--describe-nonstandard-key)
20301 (tutorial--detailed-help):
20302 * woman.el (woman-mini-help, woman-display-extended-fonts):
20303 * calc/calc-help.el (calc-describe-key):
20304 * emulation/edt.el (edt-electric-helpify):
20305 * international/mule-diag.el (mule-diag):
20306 * play/yow.el (apropos-zippy):
20307 * progmodes/python.el (python-describe-symbol):
20308 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
20309 * textmodes/table.el (*table--cell-describe-mode)
20310 (*table--cell-describe-bindings):
20311 Use help-print-return-message rather than the now obsolete alias.
20312
20313 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
20314 (calendar-cursor-to-visible-date):
20315 * play/5x5.el (5x5-position-cursor):
20316 * play/decipher.el (decipher):
20317 * play/gomoku.el (gomoku-goto-xy):
20318 * play/landmark.el (lm-goto-xy):
20319 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
20320 (mpuz-paint-digit):
20321 Use forward-line, not goto-line.
20322
20323 * mail/rmail.el (rmail-obsolete): Delete custom group.
20324 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
20325 (rmail-remote-password, rmail-remote-password-required):
20326 Remove unneeded :set-after and :set properties.
20327
20328 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
20329
20330 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
20331
20332 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
20333
20334 * loadup.el: Remove leftover macos code.
20335
20336 * vc-git.el (vc-git-annotate-command): Run asynchronously.
20337 Explicitly pass the date format to git blame so that user local
20338 so that the output format can be parsed.
20339
20340 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
20341
20342 * net/dbus.el (top): Don't check for (getenv
20343 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
20344
20345 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
20346
20347 * log-edit.el (log-edit-strip-single-file-name): New var.
20348 (log-edit-insert-changelog): Use it. Bug#3571
20349
20350 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
20351
20352 * subr.el (read-passwd): Use read-key so keypad keys work as well.
20353 Bug#3287
20354
20355 * help.el (help-print-return-message): Rename from
20356 print-help-return-message.
20357
20358 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
20359 cvs-mode-map parent hack.
20360 (log-view-mode): Derive from special-mode.
20361
20362 * linum.el (linum-mode): window-size-change-functions is redundant.
20363 Adapt to new window-configuration-change-hook behavior.
20364 (linum-after-size, linum-after-config): Remove.
20365
20366 * imenu.el (imenu-example--name-and-position)
20367 (imenu-example--lisp-extract-index-name)
20368 (imenu-example--create-lisp-index, imenu-example--create-c-index):
20369 Mark as obsolete.
20370
20371 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
20372 (inferior-prolog-mode): Use it.
20373 (inferior-prolog-load-file): Reset list of errors.
20374
20375 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
20376
20377 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
20378
20379 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
20380
20381 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
20382
20383 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
20384 is running already.
20385
20386 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
20387
20388 * subr.el (listify-key-sequence-1): Use normal syntax since those
20389 integers are nowadays always represented by the same (positive) number
20390 on all platforms.
20391 (read-key-empty-map): New const.
20392 (read-key-delay): New var.
20393 (read-key): New function.
20394 (force-mode-line-update): Use with-current-buffer.
20395 (locate-user-emacs-file): Don't forget to abbreviate the file name.
20396 (start-process-shell-command, start-file-process-shell-command):
20397 Discourage the use of command-args.
20398
20399 2009-08-19 Glenn Morris <rgm@gnu.org>
20400
20401 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
20402
20403 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
20404
20405 * simple.el (choose-completion-string): Don't rely on
20406 minibuffer-completing-file-name and ad-hoc checks to decide whether
20407 to continue completion or not.
20408
20409 * minibuffer.el (minibuffer-hide-completions): New function.
20410 (completion--do-completion): Use it.
20411 (completions-annotations): New face.
20412 (completion--insert-strings): Use it.
20413 (completion-pcm--delim-wild-regex): Add docstring.
20414 (completion-pcm--string->pattern): Add support for 0-width delimiters
20415 in completion-pcm--delim-wild-regex.
20416
20417 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
20418
20419 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
20420 Remove unused var `buffer-modified-p'.
20421
20422 * minibuffer.el (completion--do-completion): Move point for the #b001
20423 case as well (bug#4176).
20424 (minibuffer-complete, minibuffer-complete-word): Don't move point.
20425
20426 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
20427
20428 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
20429 and :session buses.
20430
20431 2009-08-18 Kenichi Handa <handa@m17n.org>
20432
20433 * international/ucs-normalize.el (ucs-normalize-version):
20434 Change to 1.1.
20435 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
20436 (utf-8-hfs): Make it perform normalization on encoding too.
20437
20438 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
20439 (sentence-end-without-space): Delete duplicated chars.
20440 (sentence-end-base): Likewise.
20441
20442 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
20443 (html-mode): Delete duplicated chars from sentence-end-base.
20444
20445 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
20446 (texinfo-mode): Delete duplicated chars from sentence-end-base.
20447
20448 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
20449
20450 * files.el (hack-one-local-variable): If the mode function is for
20451 a minor mode, pass it an argument (Bug#4148).
20452
20453 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
20454
20455 * net/tramp.el (tramp-register-completion-file-name-handler):
20456 Check also for (member 'partial-completion completion-styles).
20457
20458 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
20459
20460 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
20461 abbrev (Bug#3943).
20462
20463 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
20464
20465 * progmodes/cperl-mode.el: Merge upstream 6.2.
20466 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
20467 (cperl-forward-re): Check cperl-brace-recursing.
20468 (cperl-highlight-charclass): New function.
20469 (cperl-find-pods-heres): Use it.
20470 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
20471 (cperl-beautify-regexp-piece): Fix column calculation.
20472 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
20473 (cperl-beautify-level): Don't process entire regexp.
20474 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
20475 calling man.
20476 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
20477 (cperl-init-faces): Build a list in the normal way.
20478
20479 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
20480
20481 * calendar/parse-time.el (parse-time-string-chars): Save match
20482 data.
20483
20484 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
20485
20486 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
20487 (sql-product): Use it.
20488 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
20489 (sql-set-product): Add completion.
20490 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
20491 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
20492 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
20493 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
20494 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
20495 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
20496 (sql-highlight-db2-keywords): Remove.
20497 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
20498 (sql-highlight-product): Use derived-mode-p.
20499 (sql-set-sqli-buffer): Use with-current-buffer.
20500 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
20501 Simplify.
20502
20503 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
20504
20505 * term.el: Fix commenting convention, turn comments into docstrings.
20506
20507 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
20508
20509 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
20510
20511 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
20512
20513 * calendar/parse-time.el (parse-time-string-chars): Compute using
20514 character classes, to handle non-ascii characters (Bug#3190).
20515
20516 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
20517
20518 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
20519 another heredoc if the user adds another < (Bug#3226).
20520
20521 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
20522 Don't initialize based on window-system (Bug#4124).
20523
20524 * facemenu.el (facemenu-read-color): Use a completion function
20525 that accepts any defined color, such as RGB triplets (Bug#3677).
20526
20527 * files.el (get-free-disk-space): Change fallback default
20528 directory to /. Expand DIR argument before switching to fallback.
20529 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
20530
20531 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
20532
20533 * files.el (load-library): Doc fix.
20534
20535 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
20536
20537 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
20538 (viper-if-string): Redefine C-s in the minibuffer to insert the last
20539 incremental search string.
20540
20541 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
20542 XEmacs.
20543
20544 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
20545 (ediff-merge-region-is-non-clash)
20546 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
20547 Also check if the job is really a merge job.
20548
20549 * ediff.el (ediff-current-file): New function.
20550
20551 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
20552
20553 * progmodes/js.el: Edit docstrings throughout to follow Emacs
20554 conventions.
20555 (js-insert-and-indent): Delete function.
20556 (js-mode-map): Don't bind keys to js-insert-and-indent.
20557 (js-beginning-of-defun): Rename from js--beginning-of-defun.
20558 (js-end-of-defun): Rename from js--end-of-defun.
20559 (js-auto-indent-flag): Delete variable.
20560
20561 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
20562
20563 * progmodes/js.el: Remove proclaim statement.
20564 Defvar which-func-imenu-joiner-function to silence compiler.
20565
20566 * files.el (auto-mode-alist): Use js-mode for .js files.
20567
20568 * progmodes/js2-mode.el: Remove file.
20569
20570 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
20571
20572 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
20573
20574 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
20575
20576 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
20577 Karl Landstrom <karl.landstrom@brgeight.se>
20578
20579 * progmodes/js.el: New file.
20580
20581 2009-08-14 Mark A. Hershberger <mah@everybody.org>
20582
20583 * timezone.el (timezone-parse-date): Add ability to understand ISO
20584 basic format (minimal separators) dates in addition to the
20585 already-supported extended format dates.
20586
20587 2009-08-14 Eli Zaretskii <eliz@gnu.org>
20588
20589 * international/ucs-normalize.el: Add a `coding' file variable.
20590
20591 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
20592
20593 2009-08-14 Sam Steingold <sds@gnu.org>
20594
20595 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
20596
20597 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
20598
20599 * faces.el (help-argument-name): Define it here instead of
20600 help-fns.el, because in daemon mode help-fns.el may be loaded when
20601 faces are still uninitialized (Bug#1078).
20602
20603 * help-fns.el (help-argument-name): Move defface to faces.el.
20604
20605 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
20606
20607 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
20608 create buffer with a pty but no process so that GDB can make the
20609 inferior the controlling process.
20610
20611 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
20612
20613 * international/ucs-normalize.el: New file.
20614
20615 2009-08-13 Richard Stallman <rms@gnu.org>
20616
20617 * mail/rmail.el (rmail-get-attr-names):
20618 Accept an attribute header that is too short.
20619
20620 * mail/rmail.el (rmail-forget-messages):
20621 Ignore nil elt in rmail-message-vector. Use dotimes.
20622
20623 * progmodes/compile.el (compilation-goto-locus):
20624 Use next-error-move-function.
20625
20626 * simple.el (next-error-move-function): New variable.
20627
20628 2009-08-12 Juri Linkov <juri@jurta.org>
20629
20630 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
20631 always non-nil. (Bug#4052)
20632
20633 * replace.el (read-regexp): Return empty string when
20634 `default-value' is nil.
20635 (keep-lines-read-args): Don't use empty string as the
20636 default value for `read-regexp'. (Bug#2495)
20637
20638 2009-08-12 Juri Linkov <juri@jurta.org>
20639
20640 * international/mule-cmds.el (ucs-insert): Change arguments
20641 from `arg' to `character', `count', `inherit' to be the same
20642 as in `insert-char'. Doc fix. (Bug#4039)
20643
20644 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
20645
20646 2009-08-12 Juri Linkov <juri@jurta.org>
20647
20648 * files-x.el: New file.
20649
20650 * files.el: Move code that deals with adding/deleting
20651 file/directory-local variables to files-x.el.
20652
20653 * Makefile.in (ELCFILES): Add files-x.elc.
20654
20655 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
20656
20657 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
20658 to use `goto-line'.
20659 (gdb-place-breakpoints, gdb-get-location): Rewritten without
20660 `goto-line'.
20661 (gdb-invalidate-disassembly): Do not refresh upon receiving
20662 'update signal. Instead, update all disassembly buffers only after
20663 threads list.
20664 (gdb): Send -target-detach when buffer is killed (Bug#3794).
20665 (gdb-starting): Move -data-list-register-names...
20666 (gdb-stopped): ...here so it's sent when first thread stops.
20667 (gdb-registers-handler-custom): Do nothing if register names are
20668 unknown yet.
20669
20670 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
20671 from `gdb-mi.el' to avoid extra tangling.
20672
20673 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
20674 change which breaks `gud-def' definitions used in `gdb'.
20675 (gdb-update-gud-running): No extra fuss for updating frame number.
20676
20677 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
20678
20679 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
20680 (describe-language-environment-map, setup-language-environment-map)
20681 (set-coding-system-map): Move initialization into declaration.
20682 (set-language-info-alist): Last arg to define-key-after can be skipped.
20683
20684 * international/quail.el (quail-completion-1): Simplify.
20685 (quail-define-rules): Use slightly more compact code.
20686 (quail-insert-decode-map): Propertize keys, compact columns.
20687
20688 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20689 Add goto-line.
20690
20691 2009-08-10 Miles Bader <miles@gnu.org>
20692
20693 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
20694 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
20695 (js2-instance-member, js2-private-member, js2-private-function-call)
20696 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
20697 (js2-magic-paren, js2-external-variable):
20698 Remove "-face" suffix from face names.
20699 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
20700 (js2-highlight-undeclared-vars, js2-peek-token)
20701 (js2-parse-function-params, js2-mode-show-errors)
20702 (js2-mode-show-warnings, js2-make-magic-delimiter)
20703 (js2-mode-highlight-magic-parens): Update to use new face names.
20704
20705 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
20706
20707 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
20708 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
20709
20710 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
20711
20712 * subr.el: Provide hashtable-print-readable.
20713
20714 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
20715 hs-c-like-adjust-block-beginning.
20716 (hs-hide-block-at-point): Stop hiding at the beginning of
20717 hs-block-end-regexp (Bug#700).
20718
20719 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
20720
20721 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
20722 a macro.
20723 (gdb-registers-handler-custom): Do not fail when register names
20724 are unavailable.
20725
20726 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
20727
20728 * progmodes/gdb-mi.el (gdb-control-all-threads)
20729 (gdb-control-current-thread): Interactive setters for
20730 `gdb-gud-control-all-threads' to use in menu.
20731 (gdb-show-run-p): Show «Go» when process is not active.
20732 (gud-tool-bar-map): Add non-stop/A,T indicator.
20733 Uses gud/thread.xpm and gud/all.xpm.
20734
20735 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
20736
20737 * net/net-utils.el (net-utils-font-lock-keywords): New var.
20738 (nslookup-font-lock-keywords): Make it a variable.
20739 (net-utils-mode): New mode for viewing diagnostic network output.
20740 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
20741 (net-utils-run-simple): New function.
20742 (ifconfig, iwconfig, netstat, arp, route): Use it.
20743
20744 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
20745
20746 * progmodes/gdb-mi.el (gdb-read-memory-custom)
20747 (gdb-memory-set-address, def-gdb-set-positive-number)
20748 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
20749 after changing settings.
20750 (gdb-invalidate-disassembly): Update when first shown.
20751 (gdb-edit-locals-value): Fixed.
20752 (gdb-registers-handler-custom): Print registers in right order and
20753 allow changing register values (only for current thread yet).
20754 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
20755 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
20756 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
20757 (gdb-locals-handler-custom, gdb-registers-handler-custom):
20758 Thread info in mode name.
20759 (gdb-registers-mode-map): TAB to switch to locals.
20760
20761 2009-08-08 Eli Zaretskii <eliz@gnu.org>
20762
20763 * mail/rmail.el (rmail-add-mbox-headers)
20764 (rmail-set-message-counters-counter): Search for
20765 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
20766
20767 2009-08-08 Glenn Morris <rgm@gnu.org>
20768
20769 * Makefile.in (ELCFILES): Update.
20770
20771 2009-08-07 Eli Zaretskii <eliz@gnu.org>
20772
20773 * mail/sendmail.el (mail-yank-original):
20774 Set buffer-file-coding-system from the one used by the message whose
20775 text is yanked.
20776
20777 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
20778 to "windows" when "pgnuplot" is used.
20779 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
20780 Don't call accept-process-output if "pgnuplot" is used.
20781 (calc-graph-init): Don't send -display and -geometry to
20782 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
20783 running "pgnuplot -V" with shell-command-to-string.
20784
20785 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
20786 the default.
20787
20788 2009-08-07 Eli Zaretskii <eliz@gnu.org>
20789
20790 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
20791 org/org-latex.elc.
20792
20793 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
20794
20795 * vc-dispatcher.el (vc-resynch-window): Update comment.
20796
20797 * term.el (term-handle-ansi-escape): Add comments with the
20798 terminfo capabilities implemented.
20799
20800 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
20801
20802 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
20803 (gdb-var-create-handler): Rewritten using JSON parser.
20804 (gdb-propertize-header): Move earlier.
20805 (gdb-set-header): Remove to avoid duplication.
20806 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
20807 Refresh disassembly buffers only after threads list have been
20808 update.
20809 (gdb-threads-header, gdb-registers-header): Per-buffer header line
20810 variables.
20811
20812 2009-08-04 Juri Linkov <juri@jurta.org>
20813
20814 * files.el: Commands to add/delete file/directory-local variables.
20815 (read-file-local-variable, read-file-local-variable-value)
20816 (read-file-local-variable-mode, modify-file-local-variable)
20817 (modify-file-local-variable-prop-line)
20818 (modify-dir-local-variable): New functions.
20819 (add-file-local-variable, delete-file-local-variable)
20820 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
20821 (add-dir-local-variable, delete-dir-local-variable)
20822 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
20823 (copy-dir-locals-to-file-locals-prop-line): New commands.
20824
20825 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
20826
20827 * abbrev.el (insert-abbrev-table-description): Prettify output.
20828 Suggested by Karl Chen.
20829
20830 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
20831
20832 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
20833 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
20834 (gdb-overlay-arrow-position, gdb-thread-position)
20835 (gdb-disassembly-position): Declare variables.
20836 (gdb-wait-for-pending): Function now.
20837 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
20838 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
20839 compilation goes smoothly.
20840 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
20841 (gdb-non-stop-setting): New customization setting which replaces
20842 `gdb-non-stop' so changing it doesn't break active GDB session.
20843 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
20844 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
20845 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
20846 (gdb-show-threads-by-default): New customization options.
20847 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
20848 routines.
20849 (gdb-get-buffer-create): Send buffers update signal when they are
20850 created.
20851 (gdb-invalidate-locals, gdb-invalidate-registers)
20852 (gdb-invalidate-breakpoints)
20853 (gdb-invalidate-threads, gdb-invalidate-disassembly)
20854 (gdb-invalidate-memory): Accept update signal.
20855 (gdb-current-context-command): Use --frame option.
20856 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
20857 Implement `gdb-frame-number' selection logic.
20858 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
20859 whether to show GUD toolbar buttons.
20860 (gdb-thread-exited): Unselect current thread when it exits.
20861 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
20862 (gdb-mark-line): Routine which sets overlay arrow or inverses
20863 video on fringeless displays.
20864 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
20865 to build aligned columns of data in GDB buffers and set text
20866 properties line-by-line.
20867 (gdb-invalidate-breakpoints)
20868 (gdb-breakpoints-list-handler-custom)
20869 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
20870 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
20871 (gdb-registers-handler-custom): Align data columns.
20872 (gdb-locals-handler-custom): Now prints data like in variable
20873 declarations.
20874 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
20875 Remove confusing buttons.
20876 (gdb-invalidate-threads): Append --frame.
20877 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
20878 between breakpoints/threads buffers.
20879 (gdb-set-window-buffer): Now can ignore dedicated windows.
20880 (gdb-propertize-header): Use `gdb-set-window-buffer'.
20881 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
20882 (def-gdb-thread-buffer-gud-command): Replaces
20883 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
20884 for fine thread control.
20885 (gdb-preempt-existing-or-display-buffer): New function used to
20886 display bound buffers without breaking window layout.
20887 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
20888 (gdb-select-frame): New version of `gdb-frames-select' which now
20889 sets `gdb-frame-number' so commands may use --frame option instead
20890 of inner debugger state.
20891 (gdb-frame-handler): Do not set `gdb-frame-number'.
20892 (gdb-threads-mode-map): Select threads with mouse.
20893
20894 * progmodes/gud.el (gdb-gud-context-call): Declare function to
20895 avoid compilation warning.
20896 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
20897 `gdb-show-stop-p`.
20898
20899 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
20900 Argument `key' renamed to `buffer-type'.
20901 (gdb-current-context-buffer-name): Do not add thread info to
20902 buffer name when no thread is selected.
20903 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
20904 command (bug 3794).
20905 (gdb-thread-selected): Handle `=thread-selected' notification.
20906 (gdb-wait-for-pending): New macro to deal with congestion problems.
20907 (gdb-breakpoints-list-handler-custom): Don't fail on pending
20908 breakpoints.
20909 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
20910 This fixes problem similar to one described in bug 3947.
20911 (gud-menu-map): More menu items.
20912 (gdb-init-1): Reset `gdb-thread-number' to nil.
20913
20914 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
20915 non-stop settings.
20916
20917 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
20918 (gdb-current-context-command): Do not append --thread if
20919 `gdb-thread-number' is nil.
20920 (gdb-running-threads-count, gdb-stopped-threads-count):
20921 New variables.
20922 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
20923 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
20924 New customization options.
20925 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
20926 GUD commands.
20927 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
20928 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
20929 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
20930 set `gdb-thread-number' and update `gud-running' properly.
20931 (gdb-running): Update threads list when new threads appear.
20932 (gdb-stopped): Support non-stop operation and new thread switching
20933 logic.
20934 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
20935 (gdb-json-partial-output): New set of JSON routines.
20936 (def-gdb-auto-update-trigger): New `signal-list' optional
20937 argument.
20938 (gdb-thread-list-handler-custom): Update `gud-running',
20939 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
20940 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
20941 (gdb-continue-thread, gdb-step-thread): New commands for fine
20942 thread execution control.
20943 (gud-menu-map): New menu items to switch non-stop options.
20944 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
20945 (gdb-send): Mimic RET properly (bug 3794).
20946
20947 * progmodes/gdb-mi.el (gdb-rules-name-maker)
20948 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
20949 gdb-buffer-rules.
20950 (def-gdb-auto-update-handler): New nopreserve optional argument.
20951 (gdb-stack-list-frames-custom): Print stack from top to bottom.
20952
20953 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
20954 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
20955 (gdb-parent-mode): New mode to derive other GDB modes from.
20956 (gdb-display-disassembly-for-thread)
20957 (gdb-frame-disassembly-for-thread): New commands for threads
20958 buffer.
20959
20960 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
20961 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
20962 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
20963 (gdb-update): We now store all GDB buffers in a list so that they
20964 can be updated by traversing a list instead of calling invalidate
20965 triggers explicitly.
20966 (def-gdb-trigger-and-handler): New macro to define trigger-handler
20967 pair for GDB buffer.
20968 (gdb-stack-buffer-name): Add thread information.
20969 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
20970 handle pending triggers.
20971 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
20972 (def-gdb-thread-buffer-simple-command)
20973 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
20974 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
20975 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
20976 New commands which show buffers bound to thread.
20977 (gdb-stack-list-locals-regexp): Remove unused regexp.
20978
20979 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
20980 (gdb-locals-buffer-name, gdb-registers-buffer-name)
20981 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
20982 to (gud-comint-buffer) in *-buffer-name functions
20983 because (gdb-get-target-string) already does that.
20984 (gdb-locals-handler-custom, gdb-registers-handler-custom)
20985 (gdb-changed-registers-handler): Rewritten without regexps.
20986
20987 * progmodes/gdb-mi.el: Basic thread selection support.
20988 (gdb-thread-number): New variable.
20989 (gdb-current-context-command): New macro which adds --thread
20990 option to command.
20991 (gdb-threads-mode-map): Select thread with SPC.
20992 (gdb-thread-list-handler-custom): Mark current thread with overlay
20993 arrow. Synchronize GDB thread and Emacs thread.
20994 (gdb-select-thread): New command which selects current thread.
20995 (gdb-invalidate-frames, gdb-invalidate-locals)
20996 (gdb-invalidate-registers): Use --thread option.
20997
20998 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
20999
21000 * net/tramp.el (top): Make check for tramp-gvfs loading more
21001 robust. (Bug#3977)
21002 (tramp-handle-insert-file-contents): `unwind-protect' must be
21003 inside `with-parsed-tramp-file-name'.
21004
21005 * net/tramp-gvfs.el (top): Remove superfluous message when loading
21006 fails.
21007
21008 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
21009
21010 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
21011 directory if CLASSPATH is not set.
21012
21013 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
21014
21015 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
21016 New defconst.
21017 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
21018
21019 2009-08-02 Kevin Ryde <user42@zip.com.au>
21020
21021 * net/newst-backend.el (newsticker--raw-url-list-defaults):
21022 Update freshmeat link. Delete newsforge.com as it seems gone.
21023
21024 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
21025
21026 * select.el (x-set-selection): Doc fix (Bug#4021).
21027
21028 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
21029
21030 * help-fns.el (describe-variable): Treat list return values from
21031 dir-locals-find-file properly (Bug#4005).
21032
21033 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
21034
21035 * net/tramp.el (tramp-debug-message): Print also microseconds.
21036
21037 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
21038
21039 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
21040 or END is non-nil.
21041 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
21042 (tramp-get-debug-buffer): Change `outline-regexp' according to new
21043 format.
21044
21045 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
21046 (tramp-get-file-property): Use it.
21047
21048 * autorevert.el (auto-revert-handler):
21049 Allow `auto-revert-tail-mode' for remote files.
21050
21051 2009-08-02 Jason Rumney <jasonr@gnu.org>
21052
21053 * minibuffer.el (read-file-name): Treat confirm options to
21054 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
21055
21056 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
21057
21058 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
21059 (font-lock-variable-name-face, font-lock-constant-face):
21060 Darken the colors for light backgrounds.
21061
21062 2009-08-01 Eli Zaretskii <eliz@gnu.org>
21063
21064 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
21065 month names. (Bug#3987)
21066
21067 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
21068
21069 * simple.el (line-move-finish): Pass whole number to
21070 line-move-to-column.
21071 (line-move-visual): Perform hscroll to the recorded position.
21072
21073 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
21074
21075 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
21076
21077 2009-07-29 Alan Mackenzie <acm@muc.de>
21078
21079 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
21080
21081 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
21082
21083 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
21084 (gdb-place-breakpoints): Use full path when setting breakpoints.
21085
21086 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
21087
21088 * calc/calc.el (calc-mode-map): Add keybinding for
21089 `calc-transpose-lines'.
21090
21091 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
21092
21093 * calc/calc-misc.el (calc-transpose-lines): New function.
21094
21095 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
21096
21097 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
21098 Simplify check for out-of-band methods.
21099 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
21100 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
21101
21102 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
21103
21104 * vc-git.el (vc-git-checkin): Fix typo.
21105
21106 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
21107
21108 * progmodes/js2-mode.el: New file.
21109
21110 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
21111
21112 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
21113 (gud-menu-map): Adjust tooltip accordingly.
21114
21115 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
21116
21117 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
21118 (vc-bzr-log-view-mode): Adjust log-view-file-re.
21119
21120 * add-log.el (change-log-mode-map): Add a menu.
21121
21122 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
21123
21124 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
21125 function returns nil.
21126 (dbus-handle-event): Handle special return value :ignore.
21127 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
21128
21129 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
21130
21131 * view.el (view-mode-enable): Don't define Helper-return-blurb if
21132 it's not needed.
21133
21134 2009-07-25 Eli Zaretskii <eliz@gnu.org>
21135
21136 Fix Bug#3888:
21137
21138 * w32-vars.el (x-select-enable-clipboard): Doc fix.
21139
21140 * term/pc-win.el (x-display-name, x-colors)
21141 (x-select-enable-clipboard, x-select-text): Doc fix.
21142
21143 * term/common-win.el (x-display-name, x-colors): Doc fix.
21144
21145 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
21146 (xw-defined-colors): Doc fix.
21147
21148 * w32-fns.el (x-select-text, x-setup-function-keys)
21149 (x-get-selection, x-set-selection): Doc fix.
21150
21151 * term/x-win.el (x-select-text, x-setup-function-keys)
21152 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
21153
21154 * select.el (x-set-selection): Doc fix.
21155
21156 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
21157
21158 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
21159 instead of "IsNSSSupportAvailable". Avahi ought to work also when
21160 "IsNSSSupportAvailable" method is not available.
21161 Reported by Steve Youngs <steve@sxemacs.org>.
21162
21163 2009-07-24 Kenichi Handa <handa@m17n.org>
21164
21165 * international/characters.el: Fix setting of category ?C, ?|, ?K,
21166 and ?H. Fix setting of case for Latin Extended and Greek Extended.
21167 (build-unicode-category-table): Fix range checks.
21168
21169 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
21170
21171 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
21172 the buffer we try to sync is current when calling
21173 vc-resynch-buffer.
21174
21175 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
21176 not show up to date files.
21177
21178 2009-07-24 Glenn Morris <rgm@gnu.org>
21179
21180 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
21181 Add autoload cookies. If necessary, initialize.
21182 (elint-log): Handle non-file buffers.
21183 (elint-initialize): Add optional argument to reinitialize.
21184 (elint-find-builtin-variables): Save excursion.
21185
21186 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
21187
21188 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
21189 for Lint.
21190
21191 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
21192
21193 * vc.el (vc-print-log-internal): New function, split out from ...
21194 (vc-print-log): ... here.
21195 (vc-dir-move-to-goal-column): Declare.
21196
21197 * vc-git.el (vc-git-add-signoff): New variable.
21198 (vc-git-checkin): Use it.
21199 (vc-git-toggle-signoff): New function.
21200 (vc-git-extra-menu-map): Bind it to menu.
21201 (vc-git--run-command-string): Accept a nil FILE argument.
21202 (vc-git-stash-list): New function.
21203 (vc-git-dir-extra-headers): Use it.
21204
21205 2009-07-23 Glenn Morris <rgm@gnu.org>
21206
21207 * help-fns.el (describe-variable): Describe ignored and risky local
21208 variables in a similar way to that in which we describe safe ones.
21209
21210 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
21211 (byte-compile-output-file-form, byte-compile-output-docform)
21212 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
21213 Give some more local variables with common names a "bytecomp-" prefix,
21214 so as not to shadow things during compilation.
21215 * emacs-lisp/cl-macs.el (load-time-value)
21216 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
21217 `outbuffer' to `bytecomp-outbuffer'.
21218
21219 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
21220 since the next two variables cover them automatically now.
21221 (elint-builtin-variables, elint-autoloaded-variables): New.
21222 (elint-unknown-builtin-args): Remove all members, since they can be
21223 parsed automatically now.
21224 (elint-extra-errors): New.
21225 (elint-env-add-env, elint-env-add-macro): Use cadr.
21226 (elint-current-buffer): Use or. Change final message.
21227 (elint-get-top-forms): Use line-end-position.
21228 (elint-init-env): Use cadr. Handle autoload, declare-function,
21229 and defalias.
21230 (elint-add-required-env): Doc fix. Use or. Standardize error.
21231 (regexp-assoc): Remove unused function.
21232 (elint-top-form): Set elint-current-pos, to record the start of the
21233 top-level form, for compilation-mode.
21234 (elint-form): Trap errors in macro expansion. Use dolist.
21235 (elint-unbound-variable): Use elint-builtin-variables and
21236 elint-autoloaded-variables.
21237 (elint-get-args): Use cadr, or.
21238 (elint-check-cond-form): Use dolist, cadr.
21239 (elint-check-condition-case-form): Doc fix. Use cadr.
21240 Use elint-extra-errors.
21241 (elint-log): New function.
21242 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
21243 Distinguish errors and warnings.
21244 (elint-log-message): Use with-current-buffer. Inhibit read-only.
21245 Use a bytecomp-style format.
21246 (elint-clear-log): Preserve default-directory. Inhibit read-only.
21247 (elint-get-log-buffer): Use compilation mode. Disable undo.
21248 Don't truncate lines.
21249 (elint-initialize): Set builtin and autoloaded variable lists.
21250 Only process elint-unknown-builtin-args if non-nil.
21251 (elint-find-builtin-variables, elint-find-autoloaded-variables):
21252 New functions.
21253 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
21254
21255 2009-07-22 Kevin Ryde <user42@zip.com.au>
21256
21257 * net/newst-backend.el (newsticker--parse-atom-1.0)
21258 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
21259 (newsticker--parse-rss-1.0):
21260 * progmodes/idlwave.el (idlwave-mode):
21261 * progmodes/idlw-shell.el (idlwave-shell-mode):
21262 * progmodes/vera-mode.el (vera-mode):
21263 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
21264 * progmodes/vhdl-mode.el (vhdl-mode):
21265 * textmodes/table.el (table-generate-source)
21266 (table--warn-incompatibility):
21267 Hyperlink urls in docstrings with URL `...'.
21268
21269 2009-07-22 Glenn Morris <rgm@gnu.org>
21270
21271 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
21272 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
21273 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
21274 Remove leading * from defcustom docs.
21275
21276 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
21277
21278 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
21279 defcustom doc.
21280 (list-load-path-shadows): Optionally, just return shadows as a string.
21281
21282 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
21283
21284 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
21285
21286 * mail/rmailedit.el (rmail-edit-mode):
21287 Use auto-save-include-big-deletions.
21288
21289 * mail/rmail.el (rmail-variables):
21290 Use auto-save-include-big-deletions.
21291
21292 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
21293 changes.
21294
21295 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
21296
21297 * calc/calc.el (calc-undo-length): New variable.
21298 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
21299
21300 2009-07-21 Richard Stallman <rms@gnu.org>
21301
21302 * files.el (auto-save-mode): Handle buffer-save-size = -2
21303 for toggling mode.
21304
21305 2009-07-21 Glenn Morris <rgm@gnu.org>
21306
21307 * textmodes/ispell.el (ispell-looking-back): Update declaration.
21308
21309 * calendar/todo-mode.el (calendar-current-date): Update declaration.
21310
21311 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
21312 silence compiler. Instead...
21313 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
21314 (ps-print-ensure-fontified): Update for above function name changes.
21315
21316 * printing.el (pr-mh-get-msg-num, pr-mh-show)
21317 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
21318 silence compiler. Instead...
21319 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
21320 (mh-show-buffer): Only define for compiler.
21321 (pr-mh-current-message): Update for above function name changes.
21322
21323 * files.el (abort-if-file-too-large): Explicitly pass `filename'
21324 as an argument.
21325 (find-file-noselect, insert-file-1): Update for above change.
21326
21327 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
21328
21329 * mail/mailclient.el (mailclient-send-it): Fix message.
21330
21331 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
21332 (edebug-eval): Check cl-debug-env is bound.
21333 (print-level, print-circle): Don't redefine built-in variables.
21334
21335 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
21336 (custom-print-vectors): Remove old comments from doc.
21337
21338 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
21339 (emerge-version): Make the variable an obsolete alias for the
21340 emacs-version variable. Make the function obsolete.
21341 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
21342 Emerge options, rather than merging in into the main Options menu.
21343 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
21344 and auto advance modes. Disable edit/fast items when not relevant.
21345
21346 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
21347
21348 * term/vt420.el (terminal-init-vt420): Fix typo.
21349
21350 2009-07-20 Sam Steingold <sds@gnu.org>
21351
21352 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
21353 variable (removed from compile.el on 2004-03-11).
21354
21355 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
21356
21357 * files.el (hack-local-variables-filter): Fix last change.
21358
21359 2009-07-19 Juri Linkov <juri@jurta.org>
21360
21361 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
21362 (dir-local-variables-alist): New buffer-local variable.
21363 (hack-local-variables-filter): If variable is not dir-local,
21364 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
21365 because file-local overrides dir-local.
21366 (c-postprocess-file-styles) <declare-function>:
21367 Remove obsolete declaration.
21368 (hack-dir-local-variables): Add dir-local variable/value pair to
21369 `dir-local-variables-alist' and remove duplicates. Doc fix.
21370
21371 * help-fns.el (describe-variable): Add information about
21372 file-local and dir-local variables.
21373
21374 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
21375
21376 * files.el (hack-local-variables-filter): Rewrite.
21377
21378 2009-07-19 Glenn Morris <rgm@gnu.org>
21379
21380 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
21381 Silence compiler by only defining on XEmacs.
21382
21383 * international/mule.el (auto-coding-regexp-alist): Only match
21384 BABYL... at the start of buffer, not of lines. (Bug#3790)
21385
21386 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
21387 non-calendar buffers (Bug#3862). Restore "not on a date" message.
21388 (cal-menu-context-mouse-menu): Doc fix.
21389
21390 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
21391
21392 * simple.el (mail-user-agent): Doc fix. Set :version tag.
21393
21394 2009-07-18 Juri Linkov <juri@jurta.org>
21395
21396 * info.el: Virtual Info keyword finder.
21397 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
21398 (Info-finder-file): New variable.
21399 (Info-finder-find-file): New function.
21400 (finder-known-keywords, finder-package-info)
21401 (find-library-name, lm-commentary): Use defvar and
21402 declare-function to silence compiler warnings.
21403 (Info-finder-find-node): New function.
21404 (info-finder): New command.
21405
21406 * subr.el (process-kill-buffer-query-function): New function.
21407 (add-hook)<kill-buffer-query-functions>: Add hook
21408 `process-kill-buffer-query-function'.
21409
21410 2009-07-18 Alan Mackenzie <acm@muc.de>
21411
21412 * progmodes/cc-mode.el (c-before-hack-hook)
21413 (c-postprocess-file-styles): Give invocation of `c-set-style'
21414 DONT-OVERRIDE parameter of t. Already set style variables will
21415 thus not be overridden by style settings given by `c-file-syle'.
21416
21417 * files.el (hack-local-variables-filter): Remove entries with
21418 duplicate keys from `file-local-variables-alist'.
21419
21420 2009-07-18 Eli Zaretskii <eliz@gnu.org>
21421
21422 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
21423 x-set-selection if display-selections-p returns nil for the
21424 current frame.
21425
21426 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
21427
21428 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
21429
21430 2009-07-18 Eli Zaretskii <eliz@gnu.org>
21431
21432 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
21433 Accept nil in addition to a regexp.
21434 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
21435 Accept nil in addition to a regexp.
21436 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
21437 buffers that have an associated file. Handle nil values of
21438 desktop-buffers-not-to-save and desktop-files-not-to-save.
21439 (Bug#3833)
21440
21441 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
21442 (x-disown-selection-internal): New functions.
21443
21444 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
21445
21446 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
21447 warning.
21448 (gdb-breakpoints-header): Move forward to avoid compiler warning.
21449 (gdb-make-header-line-mouse-map): Remove duplicate definition.
21450
21451 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
21452
21453 * simple.el (set-mark): Revert last change.
21454
21455 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
21456
21457 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
21458 rendering of pngs is not possible instead of messaging a long
21459 description.
21460
21461 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
21462
21463 * w32-fns.el (x-selection-owner-p): New function.
21464
21465 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
21466 (mouse-yank-at-click, mouse-yank-primary):
21467 If select-active-regions is non-nil, deactivate the mark before
21468 insertion.
21469
21470 * simple.el (deactivate-mark, set-mark): Only save selection if we
21471 own it.
21472
21473 2009-07-17 Kenichi Handa <handa@m17n.org>
21474
21475 * case-table.el (describe-buffer-case-table): Fix for the case
21476 that KEY is a cons.
21477
21478 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
21479
21480 * vc-rcs.el (vc-rcs-find-file-hook):
21481 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
21482
21483 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
21484
21485 * net/tramp.el (tramp-wait-for-output): Handle the case when
21486 commands do not return a newline but a null byte before the shell
21487 prompt. (Bug#3858)
21488
21489 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
21490
21491 * term/ns-win.el (ns-set-alpha): Don't declare.
21492 (ns-set-background-alpha): Remove function.
21493
21494 2009-07-16 Kevin Ryde <user42@zip.com.au>
21495
21496 * emacs-lisp/copyright.el (copyright-update): Save match-data across
21497 y-or-n-p, for safety.
21498
21499 2009-07-16 Richard Stallman <rms@gnu.org>
21500
21501 * files.el (auto-save-mode): If buffer-saved-size is -2,
21502 don't clobber it.
21503
21504 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
21505 (rmail-retry-ignored-headers): Add more uninteresting fields.
21506
21507 2009-07-15 Jari Aalto <jari.aalto@cante.net>
21508
21509 * net/rcirc.el (rcirc): Use history variables.
21510 (rcirc-server-name-history, rcirc-nick-name-history)
21511 (rcirc-server-port-history): New variables.
21512
21513 2009-07-15 Kenichi Handa <handa@m17n.org>
21514
21515 * international/mule-cmds.el (set-language-environment-charset):
21516 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
21517 ignore them.
21518
21519 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
21520 Delete unibyte-display.
21521
21522 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
21523
21524 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
21525
21526 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
21527
21528 * simple.el (deactivate-mark): Optional argument FORCE.
21529 (set-mark): Use deactivate-mark.
21530
21531 * info.el (Info-search): No need to check transient-mark-mode
21532 before calling deactivate-mark.
21533
21534 * select.el (x-set-selection): Doc fix.
21535 (x-valid-simple-selection-p): Allow buffer values.
21536 (xselect--selection-bounds): Handle buffer values.
21537 Suggested by David De La Harpe Golden.
21538
21539 * mouse.el (mouse-set-region, mouse-drag-track):
21540 Call copy-region-as-kill before setting the mark, to let
21541 select-active-regions work.
21542
21543 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
21544
21545 * simple.el (deactivate-mark): If select-active-regions is
21546 non-nil, copy the selection data into a string.
21547 (activate-mark): If select-active-regions is non-nil, set the
21548 selection to the current buffer.
21549 (set-mark): Update selection if select-active-regions is non-nil.
21550
21551 * select.el (x-valid-simple-selection-p): Allow buffer values.
21552
21553 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
21554
21555 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
21556 and more featureful message-mode.
21557
21558 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
21559
21560 * select.el (x-set-selection): Doc fix.
21561 (x-valid-simple-selection-p): Disallow selection data consisting
21562 of a list or cons of integers, since that is not used.
21563 (xselect--selection-bounds, xselect--int-to-cons): New functions.
21564 (xselect-convert-to-string, xselect-convert-to-length)
21565 (xselect-convert-to-filename, xselect-convert-to-charpos)
21566 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
21567
21568 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
21569
21570 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
21571 output in -break-info command (Emacs bug #3794).
21572
21573 2009-07-14 Glenn Morris <rgm@gnu.org>
21574
21575 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
21576 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
21577 (edebug-print-length, edebug-print-level, edebug-print-circle)
21578 (edebug-sit-for-seconds, edebug-view-outside)
21579 (edebug-bounce-point, edebug-set-global-break-condition)
21580 (edebug-Go-nonstop-mode, edebug-trace-mode)
21581 (edebug-Trace-fast-mode, edebug-continue-mode)
21582 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
21583 (edebug-visit-eval-list): Doc fixes.
21584
21585 * subr.el (def-edebug-spec): Doc fix.
21586
21587 2009-07-14 Kenichi Handa <handa@m17n.org>
21588
21589 * international/characters.el: Fix setting of category ?C.
21590
21591 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
21592
21593 * term/ns-win.el (x-select-font): defalias x-select-font to
21594 ns-popup-font-panel instead of generate-fontset-menu.
21595
21596 2009-07-12 Eli Zaretskii <eliz@gnu.org>
21597
21598 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
21599
21600 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
21601
21602 * arc-mode.el (archive-find-type): Allow for a PK00 string before
21603 the PK\003\004 header (Bug#3770).
21604
21605 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
21606
21607 * pcomplete.el (pcomplete-comint-setup): Check for
21608 shell-dynamic-complete-filename too.
21609
21610 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
21611
21612 * simple.el (temporary-goal-column): Change the value for
21613 line-move-visual to a cons cell.
21614 (line-move-visual): Record or set the window hscroll, if
21615 necessary (Bug#3494).
21616 (line-move-1): Handle cons value of temporary-goal-column.
21617
21618 2009-07-11 Kenichi Handa <handa@m17n.org>
21619
21620 * international/mule-diag.el (describe-character-set): Don't show
21621 width.
21622
21623 2009-07-10 Sam Steingold <sds@gnu.org>
21624
21625 * progmodes/compile.el (compilation-mode-font-lock-keywords):
21626 Omake sometimes indents the errors it prints, so allow all
21627 regexps to start with spaces.
21628
21629 2009-07-10 Eli Zaretskii <eliz@gnu.org>
21630
21631 * cus-edit.el (customize-changed-options-previous-release):
21632 Bump value to 22.1. (Bug#3804)
21633
21634 2009-07-08 Sam Steingold <sds@gnu.org>
21635
21636 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
21637 to be a cons cell (test . ignored-directory) to selectively ignore
21638 some directories depending on the location of the search.
21639
21640 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
21641
21642 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
21643 remote user is root, on the local host.
21644 (tramp-local-host-p): Either the local user or the remote user
21645 must be root. (Bug#3771)
21646
21647 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
21648
21649 * progmodes/gdb-mi.el (gdb): Remove description of
21650 gdb-use-separate-io-buffer.
21651 (menu): Don't allow toggling of or enable
21652 gdb-use-separate-io-buffer from menubar.
21653
21654 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
21655
21656 * mail/unrmail.el (unrmail): Make sure the message ends with two
21657 newlines (Bug#3769).
21658
21659 2009-07-08 Glenn Morris <rgm@gnu.org>
21660
21661 * calendar/calendar.el (calendar-current-date): Rework previous change.
21662
21663 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
21664
21665 * calendar/calendar.el (calendar-current-date):
21666 Add an optional argument giving an offset from today.
21667
21668 2009-07-08 Glenn Morris <rgm@gnu.org>
21669
21670 * tutorial.el (tutorial--describe-nonstandard-key):
21671 Adjust the message for when a key has been unbound.
21672 (help-with-tutorial): Hide the arch-tag.
21673
21674 2009-07-08 Kenichi Handa <handa@m17n.org>
21675
21676 * international/fontset.el (setup-default-fontset): For each
21677 script, append (not set) font-specs.
21678
21679 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
21680 docstring.
21681
21682 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
21683
21684 * progmodes/gdb-mi.el (gdb-init-1): Move sending
21685 -data-list-register-names to ...
21686 (gdb-starting): ... here because GDB 7.0 requires execution to
21687 have started when using this MI command.
21688 (gdb-set-header): New function to distinguish select and
21689 unselected tabs in gdb buffers.
21690 (gdb-propertize-header): New macro that uses gdb-set-header.
21691 (gdb-breakpoints-header, gdb-locals-header): Use it.
21692 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
21693
21694 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
21695
21696 * Makefile.in (ELCFILES): Remove fadr.elc.
21697
21698 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
21699
21700 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
21701 may contain frame information, so `string-match' should be used.
21702 (gdb-update): Disassembly is invalidated through
21703 `gdb-get-selected-frame'.
21704 (gdb-pad-string): New function to pad string with spaces.
21705 (gdb-invalidate-disassembly): Invalidate only if the buffer
21706 exists.
21707 (gdb-disassembly-handler-custom): Column alignment.
21708 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
21709 placing new ones.
21710 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
21711 end of line, too.
21712 (gdb-frame-handler): Match convention to for disassembly buffer
21713 mode name.
21714 (gdb-stack-list-frames-handler): Rewritten without regexps.
21715 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
21716 not highlight breakpoints without line information.
21717 (gdb-input): Add trailing newline to command.
21718
21719 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
21720 buffer properly.
21721 (gdb-breakpoints-list-handler-custom): Replacement for
21722 `gdb-break-list-handler'. Using real parser instead of regexps
21723 now.
21724 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
21725 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
21726 to place breakpoints.
21727 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
21728 functions.
21729 (gdb-disassembly-handler-custom): Show overlay arrow.
21730 (gdb-disassembly-place-breakpoints): Show breakpoints in
21731 disassembly buffer.
21732 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
21733 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
21734 instead of parsing breakpoints buffer. Fixed old menu references
21735 in `gud-menu-map'.
21736
21737 * fadr.el: Remove.
21738
21739 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
21740 (gdb-memory-address): New variable which holds top address of
21741 memory page shown in memory buffer.
21742 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
21743 New customization variables.
21744 New functions:
21745 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
21746 display the memory buffer.
21747 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
21748 buffer display parameters.
21749 (def-gdb-memory-format, gdb-memory-format-binary)
21750 (gdb-memory-format-octal, gdb-memory-format-unsigned)
21751 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
21752 Functions for setting memory buffer format.
21753 (gdb-memory-unit-word, gdb-memory-unit-halfword)
21754 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
21755 unit size used in memory buffer.
21756 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
21757 Switch to next/previous page of memory buffer.
21758 Now using (bindat-get-field) instead of fadr functions.
21759
21760 2009-07-07 Sam Steingold <sds@gnu.org>
21761
21762 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
21763 non-top-level files.
21764
21765 2009-07-07 Kenichi Handa <handa@m17n.org>
21766
21767 * international/mule-cmds.el (reset-language-environment):
21768 Put the highset priority to the charset iso-8859-1.
21769
21770 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
21771
21772 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
21773 to the end of the line when locating the block (Bug#700).
21774
21775 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
21776
21777 * net/tramp.el (tramp-handle-write-region): Flush file properties
21778 in case of short track.
21779
21780 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
21781
21782 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
21783 Coded custom representation of verilog error regular expressions
21784 to work with Emacs-22's new format.
21785 (verilog-error-regexp-xemacs-alist): Coded custom representation
21786 of verilog error regular expressions to work with XEmacs format.
21787 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
21788 error recognition into XEmacs.
21789 (verilog-error-regexp-add-emacs): Hook routine to install verilog
21790 error recognition into Emacs-22.
21791
21792 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
21793
21794 * woman.el: Remove stand-alone closing parentheses.
21795 (woman-file-name, woman2-format-paragraphs)
21796 (woman-leave-blank-lines): Code cleanup.
21797 (woman-use-own-frame): Change default to nil.
21798 (woman-italic, woman-bold, woman-unknown, woman-addition):
21799 Change defaults to inherit from default faces.
21800 (woman2-process-escapes): Consume the newline after a stand-alone
21801 filler character (Bug#3651).
21802
21803 2009-07-06 Glenn Morris <rgm@gnu.org>
21804
21805 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
21806 (top-level): Move provide to the end.
21807 (ffap): Remove defunct URL from custom group.
21808
21809 * subr.el (eval-after-load): Doc fix.
21810
21811 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
21812
21813 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
21814 `calc-embedded-word' is called twice.
21815
21816 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21817
21818 * files.el (find-alternate-file-other-window, find-alternate-file):
21819 Obey confirm-nonexistent-file-or-buffer.
21820
21821 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
21822
21823 * dired-aux.el (dired-show-file-type): Handle remote files.
21824
21825 2009-07-05 Jari Aalto <jari.aalto@cante.net>
21826
21827 * desktop.el (desktop-globals-to-save):
21828 Add file-name-history (Bug#2750).
21829
21830 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
21831
21832 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
21833
21834 2009-07-04 Johan Bockgård <bojohan@gnu.org>
21835
21836 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
21837 property on entire argument since this is what eshell-lisp-command
21838 expects.
21839
21840 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
21841
21842 * net/tramp-gvfs.el (tramp-gvfs-methods)
21843 (tramp-gvfs-zeroconf-domain)
21844 (tramp-bluez-discover-devices-timeout): Add version flag.
21845 (tramp-gvfs-handler-mounted-unmounted)
21846 (tramp-gvfs-connection-mounted-p): Polish handling of
21847 incompatibilities between GVFS 0.2 and 1.0.
21848
21849 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
21850
21851 * cus-start.el (all): Add make-pointer-invisible.
21852
21853 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
21854
21855 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
21856 formatted correctly.
21857
21858 2009-07-02 Juri Linkov <juri@jurta.org>
21859
21860 * info.el: Virtual Info files and nodes.
21861 (Info-virtual-files, Info-virtual-nodes): New variables.
21862 (Info-current-node-virtual): New variable.
21863 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
21864 New functions.
21865 (Info-file-supports-index-cookies): Use Info-virtual-file-p
21866 to check for a virtual file instead of checking a fixed list
21867 of node names.
21868 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
21869 instead of ad-hoc processing of "dir" and (apropos history toc).
21870 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
21871 instead of ad-hoc processing of "dir" and (apropos history toc).
21872 Reread a file when moving from a virtual node.
21873 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
21874 (Info-directory-toc-nodes, Info-directory-find-file)
21875 (Info-directory-find-node): New functions.
21876 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
21877 (Info-history): Move part of code to
21878 `Info-history-find-node'.
21879 (Info-history-toc-nodes, Info-history-find-file)
21880 (Info-history-find-node): New functions.
21881 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
21882 (Info-toc): Move part of code to `Info-toc-find-node'.
21883 (Info-toc-find-node): New function.
21884 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
21885 the current Info file name to references because now the node
21886 "*TOC*" belongs to the same Info manual.
21887 (Info-toc-build): Rename from `Info-build-toc'.
21888 (Info-toc-nodes): Rename input argument `file' to `filename'.
21889 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
21890 instead of ad-hoc processing of ("dir" apropos history toc).
21891 (Info-index-nodes): Use Info-virtual-file-p
21892 to check for a virtual file instead of checking a fixed list
21893 of node names.
21894 (Info-index-node): Add check for `Info-current-node-virtual'.
21895 Raise `save-match-data' higher up the tree to contain
21896 `search-forward' too (bug fix).
21897 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
21898 (Info-virtual-index-nodes): New variable.
21899 (Info-virtual-index-find-node, Info-virtual-index): New functions.
21900 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
21901 (Info-apropos-file, Info-apropos-nodes): New variables.
21902 (Info-apropos-toc-nodes, Info-apropos-find-file)
21903 (Info-apropos-find-node, Info-apropos-matches): New functions.
21904 (info-apropos): Move part of code to `Info-apropos-find-node' and
21905 `Info-apropos-matches'.
21906 (Info-mode-map): Bind "I" to `Info-virtual-index'.
21907 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
21908 for a virtual file instead of checking a fixed list of node names.
21909
21910 * simple.el (async-shell-command): New command.
21911
21912 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
21913
21914 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
21915 instead of `mount-info'.
21916
21917 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
21918
21919 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
21920 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
21921
21922 2009-07-02 Kenichi Handa <handa@m17n.org>
21923
21924 * international/mule.el (set-keyboard-coding-system): Force *-unix
21925 coding-system to avoid eol conversion.
21926
21927 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
21928
21929 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
21930 Add handler for `process-file', `shell-command' and
21931 `start-file-process'.
21932 (tramp-gvfs-handle-shell-command)
21933 (tramp-gvfs-handle-start-file-process)
21934 (tramp-gvfs-handle-process-file): New defuns.
21935 (tramp-synce-list-devices): Simplify check for existence of property.
21936
21937 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
21938
21939 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
21940
21941 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
21942
21943 * language/korean.el (set-language-info-alist): Add korean-cp949,
21944 cp949 to spec.
21945
21946 2009-07-01 Kenichi Handa <handa@m17n.org>
21947
21948 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
21949
21950 * international/encoded-kb.el: Deleted.
21951
21952 * international/mule.el (set-keyboard-coding-system): Perform the
21953 necessary setup here instead of calling encoded-kbd-setup-display.
21954
21955 2009-07-01 Glenn Morris <rgm@gnu.org>
21956
21957 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
21958
21959 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
21960
21961 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
21962
21963 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
21964
21965 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
21966 Handle also the 'rename case, when setting file modes. (Bug#3712)
21967 (tramp-default-file-modes): Remove execute permissions.
21968
21969 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
21970 (top): Add a default for "synce" in `tramp-default-user-alist'.
21971 Add completion function for "synce" method.
21972 (tramp-hal-service, tramp-hal-path-manager)
21973 (tramp-hal-interface-manager, tramp-hal-interface-device):
21974 New defconst.
21975 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
21976 (tramp-synce-list-devices, tramp-synce-parse-device-names):
21977 New defuns.
21978
21979 * net/trampver.el: Update release number.
21980
21981 2009-06-30 Kenichi Handa <handa@m17n.org>
21982
21983 * international/fontset.el (setup-default-fontset): Add CJK fonts
21984 for symbols and the other miscellaneous characters.
21985
21986 * language/korea-util.el (setup-korean-environment-internal):
21987 Make char-width-table suitable for Korean environments.
21988 (exit-korean-environment): Cancel above.
21989
21990 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
21991 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
21992 setup-function to make char-width-table suitable for respective
21993 environments, and an exit-function to cancel that.
21994
21995 * language/japan-util.el (setup-japanese-environment-internal):
21996 Call use-cjk-char-width-table with arg `ja_JP'.
21997
21998 * international/characters.el (cjk-char-width-table): Delete it.
21999 (cjk-char-width-table-list): New variable.
22000 (use-cjk-char-width-table): New arg local-name.
22001 (use-default-char-width-table): Fix for the case that Emacs is
22002 already using the default char-width-table.
22003
22004 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
22005
22006 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
22007 modes mandatory. (Bug#3712)
22008
22009 2009-06-29 Alan Mackenzie <acm@muc.de>
22010
22011 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
22012 correction between the visible width of TABs and their number of bytes.
22013
22014 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
22015
22016 * server.el (server-buffer-done): Prevent kill-buffer from
22017 prompting by clearing the buffer modification flag (Bug#3696).
22018
22019 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
22020
22021 * progmodes/verilog-mode.el (verilog-beg-of-statement)
22022 (verilog-endcomment-reason-re): Support unique case and priority case.
22023 (verilog-basic-complete-re): Support localparam lineup.
22024 (verilog-beg-of-statement-1): Fix for robustness, unique case.
22025 (verilog-set-auto-endcomments): Fix for unique case, always_comb
22026 commenting.
22027 (verilog-leap-to-case-head): Now support *nested* unique &
22028 priority case statements.
22029 (verilog-auto-lineup): Make just declarations the default (as it
22030 had been).
22031 (verilog-leap-to-case-head): Support priority/unique case statements.
22032 (verilog-auto-lineup): Rework to give users radio buttons to
22033 select the various styles of automatic lineup.
22034 (verilog-error-regexp-alist): Rework to support the XEmacs style
22035 of error regular expressions from compilers, lint tools &
22036 simulators. Note that GNU Emacs has made it impossible for a mode
22037 to load such things.
22038 (electric-verilog-terminate-line, verilog-indent-declaration)
22039 (verilog-auto-wiure): Rework for radio button selection of
22040 auto-lineup selection of specification of auto lineup.
22041 (verilog-beg-of-statement-1): Redesign to support proper operation
22042 in additional code, based on testing with auto-lineup.
22043 (verilog-calculate-indent, assignments & declarations)
22044 (verilog-backward-token): Enhance to support auto-lineup of
22045 assignments & declarations.
22046 (verilog-in-directive-p, verilog-at-struct-p): New function for
22047 easy test of whether we are.
22048 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
22049 to support safe execution at almost anyline.
22050 (verilog-calc-1): Properly support indenting deep inside generate
22051 blocks.
22052 (verilog-init-font): Remove definition & use of verilog-init-font,
22053 as it is redundant with font-lock-defaults.
22054 (verilog-mode): Alter the definition of verilog-font-lock-defaults
22055 to avoid circular calls if syntax-ppss is a function (as is the
22056 case now in 22.x GNU Emacs) as that function would sometimes call
22057 itself, leading to (nearly) infinite recursion.
22058 (verilog-ovm-begin-re, verilog-ovm-end-re)
22059 (verilog-ovm-statement-re, verilog-leap-to-head)
22060 (verilog-backward-token): Add support for OVM macros. Some are
22061 complete statements, and others open and close scopes like begin
22062 and end.
22063 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
22064 (verilog-defun-level-generate-only-re): Really fix the defun-list
22065 compilation issue.
22066 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
22067 coverpoint, constraint and cross statements.
22068 (verilog-defun-level-list, verilog-generate-defun-level-list)
22069 (verilog-all-defun-level-list): Redo these specifications - it is
22070 too hard to support eval-when compile aggregation of lists also
22071 built at when-compile time.
22072 (verilog-defun-level-list): Place defconsts of variables used in
22073 building regular expressions which are built in eval-when-compile
22074 bodies in the same eval-when-compile body to facilitate compile
22075 without load.
22076 (verilog-beg-block-re-ordered): Support indenting
22077 virtual/protected tasks and functions.
22078 (verilog-defun-level-list, verilog-in-generate-region-p)
22079 (verilog-backward-ws&directives, verilog-calc-1): Speed up
22080 indentation of some module items (generate items).
22081 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
22082 across virtual/protected tasks and functions.
22083
22084 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
22085
22086 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
22087 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
22088 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
22089 in concatenations. Reported by Yishay Belkind.
22090 (verilog-auto-ascii-enum): Support one-hot state machines in
22091 AUTOASCIIENUM. Suggested by Lloyd Gomez.
22092 (verilog-auto-inst, verilog-auto-inst-port): Include interface
22093 modport in AUTOINST and add vl-modport for users.
22094 Reported by David Rogoff.
22095 (verilog-auto-inout-module, verilog-auto-inst)
22096 (verilog-decls-get-interfaces, verilog-insert-definition)
22097 (verilog-insert-one-definition, verilog-read-decls)
22098 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
22099 (verilog-sig-modport, verilog-signals-combine-bus)
22100 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
22101 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
22102 Suggested by David Rogoff.
22103 (verilog-repair-open-comma): Fix non-insertion of comma when
22104 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
22105 (verilog-make-width-expression): Simplify [A-1:0] expression
22106 widths to just {A{1'b0}}.
22107 (verilog-mode): Cleanup checkdoc warnings.
22108 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
22109 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
22110 inputs/outputs or data type. Suggested by Vasu Kandadi.
22111 (next-error-last-buffer): Fix byte-compiler warning.
22112 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
22113 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
22114 or shell command text during AUTO expansion. Suggested by Tad Truex.
22115 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
22116 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
22117 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
22118 in AUTOINOUT. Reported by Matthew Lovell.
22119 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
22120 causing use of <= assignments. Reported by Alex Reed.
22121 (verilog-read-decls): Fix triand, trior, wand, wor to be
22122 recognized by AUTOWIRE. Reported by Spencer Isaacson.
22123 (verilog-extended-complete-re): Support import "DPI-C" functions.
22124 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
22125 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
22126 (verilog-insert-date, verilog-insert-year)
22127 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
22128 Windows systems. Reported by Michael Potts.
22129 (verilog-read-module-name): Fix AUTOINST when the child module
22130 declaration's name is a tick define. Reported by Elliot Mednick.
22131 (verilog-read-decls): Fix V2K parameter bit subscripts getting
22132 passed to next parameter's definition. Reported by Bruce T.
22133 (verilog-read-decls): Fix detecting "parameter int" when using
22134 AUTOINSTPARAM. Reported by Bruce T.
22135 (verilog-goto-defun): Fix goto not finding modules unless first
22136 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
22137 (verilog-mode): Expand -f flag arguments on entry to mode so
22138 verilog-goto-defun will work. Reported by Lawrence Butcher.
22139 (verilog-getopt): Expand environment variables in -f file
22140 arguments. Suggested by Lawrence Butcher.
22141 (verilog-set-define): Fix "Symbol's value as variable is void"
22142 when reading enumerations.
22143 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
22144 Suggested by Stephen Peltan.
22145 (verilog-read-defines): Fix reading of enumerations in include
22146 files. Reported by Steve Peltan.
22147
22148 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
22149
22150 * files.el (trash-directory): Fix defcustom type.
22151
22152 2009-06-28 Juri Linkov <juri@jurta.org>
22153
22154 * help-fns.el (describe-function-1): Correctly locate adviced
22155 functions in hyperlink (Bug#2438).
22156
22157 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
22158
22159 * files.el (trash-directory): Change default to nil.
22160 (move-file-to-trash): If trash-directory is nil and
22161 system-move-file-to-trash is unbound, perform freedesktop-style
22162 trashing.
22163
22164 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
22165
22166 * files.el (move-file-to-trash): Add freedesktop trash
22167 support (Bug#973).
22168
22169 2009-06-28 Glenn Morris <rgm@gnu.org>
22170
22171 * autorevert.el (global-auto-revert-non-file-buffers)
22172 (global-auto-revert-mode): Doc fixes.
22173
22174 2009-06-27 Johan Bockgård <bojohan@gnu.org>
22175
22176 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
22177
22178 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
22179
22180 * faces.el (x-handle-named-frame-geometry): Ensure that we have
22181 opened an X connection before calling x-get-resource (Bug#3194).
22182
22183 * play/doctor.el: Remove reference to obsolete website.
22184 (make-doctor-variables): Correct grammar mistake (Bug#2633).
22185
22186 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
22187
22188 Remove find-file-not-found-hook VC method. (Bug#2757)
22189 * vc-hooks.el (vc-file-not-found-hook)
22190 (vc-default-find-file-not-found-hook): Remove functions.
22191 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
22192 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
22193 * vc.el:
22194 * vc-hg.el:
22195 * vc-git.el: Do not mention find-file-not-found-hook VC method.
22196
22197 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
22198
22199 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
22200 compatibility function for `looking-back'.
22201
22202 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
22203 Use `ispell-looking-back'.
22204
22205 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
22206
22207 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
22208 rather than `filename'.
22209
22210 2009-06-23 Miles Bader <miles@gnu.org>
22211
22212 * face-remap.el (text-scale-set): New function.
22213
22214 2009-06-23 Glenn Morris <rgm@gnu.org>
22215
22216 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
22217
22218 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
22219
22220 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
22221
22222 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
22223
22224 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
22225 Simplify Persian conditionals.
22226
22227 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
22228 variable `filename'.
22229
22230 * comint.el (comint-insert-input): Doc fix.
22231
22232 * Makefile.in (ELCFILES): Fix typo in previous change.
22233
22234 2009-06-23 Miles Bader <miles@gnu.org>
22235
22236 * cus-start.el: Add entry for `recenter-redisplay'.
22237
22238 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
22239
22240 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
22241 Add an optional argument for the backend, use it instead of
22242 calling vc-backend.
22243 (vc-mode-line): Add an optional argument for the backend.
22244 Pass the backend to vc-state and vc-working-revision. Move code for
22245 special handling for vc-state being a buffer to ...
22246
22247 * vc-rcs.el (vc-rcs-find-file-hook):
22248 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
22249
22250 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
22251 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
22252 vc-stay-local-p and vc-mode-line calls.
22253
22254 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
22255 (vc-cvs-diff, vc-cvs-annotate-command)
22256 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
22257 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
22258 vc-mode-line calls.
22259
22260 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
22261 direct comparison.
22262 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
22263 backend when calling vc-mode-line.
22264 (vc-register): Do not create a closure for calling the vc register
22265 function, call it directly.
22266
22267 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
22268
22269 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
22270 to make it obvious item can be clicked.
22271
22272 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
22273
22274 2009-06-23 Kenichi Handa <handa@m17n.org>
22275
22276 * language/korea-util.el (korean-key-bindings): Change the binding
22277 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
22278 same command.
22279
22280 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
22281
22282 Sync with Tramp 2.1.16.
22283
22284 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
22285
22286 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
22287 when a loading of a package fails. Completion function for rsync
22288 is `tramp-completion-function-alist-ssh'.
22289 (all): Replace all calls of `split-string' and
22290 `tramp-split-string' by `tramp-compat-split-string'.
22291 (tramp-default-method): Use `tramp-compat-process-running-p'.
22292 (tramp-default-proxies-alist): Allow also Lisp forms.
22293 (tramp-remote-path): Add choice "Private Directories".
22294 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
22295 (tramp-domain-regexp): Allow also "-", "_" and ".".
22296 (tramp-end-of-output): Remove newlines, and add "$" at the end.
22297 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
22298 (tramp-debug-message): Insert header line in debug buffer.
22299 (tramp-handle-directory-files-and-attributes-with-stat):
22300 Care about filenames with spaces, or starting with "-".
22301 (tramp-handle-dired-uncache): New defun.
22302 (tramp-handle-insert-directory): Don't flush the directory from
22303 cache, this is handled by `dired-uncache' now.
22304 (tramp-handle-insert-file-contents): Improve error handling.
22305 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
22306 Quote `tramp-end-of-output'.
22307 (tramp-action-password): Improve trace message.
22308 (tramp-check-for-regexp): Both echoes must be present, before removing.
22309 (tramp-open-connection-setup-interactive-shell): Trace coding system.
22310 (tramp-compute-multi-hops): Eval cons cells of
22311 `tramp-default-proxies-alist'.
22312 (tramp-maybe-open-connection): Use the same command pattern for
22313 first hop and further hops.
22314 (tramp-wait-for-output): Remove handling of newlines.
22315 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
22316 (tramp-split-string): Remove function. It is handled in
22317 tramp-compat now.
22318
22319 * net/tramp-cmds.el (tramp-bug):
22320 Recommend `tramp-cleanup-all-connections' in the bug mail.
22321
22322 * net/tramp-compat.el (tramp-compat-split-string)
22323 (tramp-compat-process-running-p): New defuns.
22324
22325 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
22326 for `dired-uncache'.
22327
22328 * net/tramp-gvfs.el: New package.
22329
22330 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
22331 Add handler for `dired-uncache'.
22332 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
22333
22334 * net/trampver.el: Update release number. Make version check fit
22335 for SXEmacs 22.
22336
22337 2009-06-22 Jim Meyering <meyering@redhat.com>
22338
22339 Automatically handle .xz suffix (XZ-compressed files), too.
22340 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
22341 XZ is the successor to LZMA: <http://tukaani.org/xz/>
22342
22343 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
22344 Nick Roberts <nickrob@snap.net.nz>
22345
22346 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
22347 repository (http://sphinx.net.ru/hg/gdb-mi/).
22348
22349 2009-06-22 Glenn Morris <rgm@gnu.org>
22350
22351 * files.el (dir-locals-collect-mode-variables): Allow for any number of
22352 `mode' and `eval' entries. (Bug#3430)
22353
22354 * Makefile.in (ELCFILES): Add fadr.elc.
22355
22356 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
22357 differing behavior of \n and ^ in strings. (Bug#3385)
22358
22359 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
22360
22361 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
22362 property.
22363 (lisp-indent-function): Make it a defcustom.
22364
22365 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
22366
22367 * progmodes/gdb-ui.el: Replace with ...
22368 * progmodes/gdb-mi.el: ... this file.
22369 * progmodes/gud.el: Modify for gdb-mi.el.
22370
22371 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
22372
22373 * fadr.el: New file.
22374
22375 See ChangeLog.14 for earlier changes.
22376
22377 ;; Local Variables:
22378 ;; coding: utf-8
22379 ;; End:
22380
22381 Copyright (C) 2009-2011 Free Software Foundation, Inc.
22382
22383 This file is part of GNU Emacs.
22384
22385 GNU Emacs is free software: you can redistribute it and/or modify
22386 it under the terms of the GNU General Public License as published by
22387 the Free Software Foundation, either version 3 of the License, or
22388 (at your option) any later version.
22389
22390 GNU Emacs is distributed in the hope that it will be useful,
22391 but WITHOUT ANY WARRANTY; without even the implied warranty of
22392 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22393 GNU General Public License for more details.
22394
22395 You should have received a copy of the GNU General Public License
22396 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.