* lisp/progmodes/compile.el (compilation--previous-directory): Fix up
[bpt/emacs.git] / lisp / ChangeLog
1 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * progmodes/compile.el (compilation--previous-directory): Fix up
4 various nil/dead-marker mismatches (bug#8014).
5 (compilation-directory-properties, compilation-error-properties):
6 Don't call it at a position past the one we're about to change.
7
8 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
9 Disable obsolescence warnings in the file that declares it.
10
11 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
12
13 * allout-widgets.el (allout-widgets-tally) Initialize
14 allout-widgets-tally as a hash table rather than nil to prevent
15 mode-line redisplay warnings.
16 Also, clarify the module description and fix a comment typo.
17
18
19 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
20
21 * help-fns.el (describe-variable): Don't complete keywords.
22 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
23
24 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
25
26 * emacs-lisp/package.el (package-version-join): Impose a standard
27 string representation for pre/alpha/beta version lists.
28 (package-unpack-single): Standardize the directory name by passing
29 it through package-version-join.
30 (package-strip-rcs-id): Accept any version string that does not
31 signal an error in version-to-list.
32
33 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
34
35 * simple.el (delete-trailing-whitespace): Return nil for the
36 benefit of `write-file-functions'.
37
38 2011-03-10 Glenn Morris <rgm@gnu.org>
39
40 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
41
42 * vc/vc-git.el (vc-git-program): New option.
43 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
44 (vc-git--call): Use it.
45
46 * eshell/esh-util.el (eshell-condition-case): Doc fix.
47
48 * cus-edit.el (Custom-newline): If no button at point, look
49 for a subgroup button at start-of-line. (Bug#2298)
50
51 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
52
53 2011-03-10 Julien Danjou <julien@danjou.info>
54
55 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
56 `cursor-type' is nil.
57
58 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
59
60 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
61
62 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
63
64 * allout.el Summary: Change so yank of distinctive-bullet items
65 preserves the existing header prefix, rebulleting it if necessary,
66 rather than replacing it. This is necessary for proper operation
67 of cooperative addons like allout-widgets.
68 (allout-make-topic-prefix) (allout-rebullet-heading): Change
69 SOLICIT arg to INSTEAD, and interpret additionally a string value
70 as alternate bullet to be used, instead of prompting the user for
71 a bullet character.
72
73 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
74
75 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Do
76 not use `tramp-file-name-port', because this returns also
77 `tramp-default-port'.
78
79 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
80
81 * net/rcirc.el (rcirc-handler-001): Remove useless
82 with-rcirc-process-buffer.
83 (rcirc-check-auth-status): Swap arguments to string-match.
84
85 2011-03-09 Glenn Morris <rgm@gnu.org>
86
87 * shell.el (shell-mode):
88 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
89
90 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
91 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
92
93 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
94
95 * emacs-lisp/package.el (package-refresh-contents)
96 (package-menu-execute): Use condition-case-no-debug.
97
98 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
99
100 * simple.el (shell-command-to-string): Use `process-file'.
101
102 * emacs-lisp/package.el (package-tar-file-info): Handle also
103 remote files.
104
105 * emacs-lisp/package-x.el (package-upload-buffer-internal): Use
106 `equal' for upload base check.
107
108 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
109
110 * textmodes/texinfo.el (texinfo-environments):
111 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
112
113 2011-03-08 Glenn Morris <rgm@gnu.org>
114
115 * cus-start.el (cursor-in-non-selected-windows):
116 Fix :set quoting oddness. (Bug#8192)
117
118 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
119 in some setf expressions. (Bug#2159)
120
121 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
122
123 * custom.el (custom-available-themes): Return themes in
124 alphabetical order.
125
126 2011-03-07 Chong Yidong <cyd@stupidchicken.com>
127
128 * progmodes/cc-cmds.el (c-beginning-of-statement): Fix incorrect
129 application of patch from Alan Mackenzie (Bug#7595).
130
131 2011-03-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
132
133 * net/rcirc.el (rcirc-connect): Fix PASS bug.
134
135 2011-03-07 Glenn Morris <rgm@gnu.org>
136
137 * vc/vc.el (vc-next-action): Add missing space to y-or-n-p prompt.
138 Give an explicit error if failed to make writable. (Bug#6146)
139
140 2011-03-07 Ed Reingold <reingold@emr.cs.iit.edu>
141
142 * calendar/cal-hebrew.el (diary-hebrew-yahrzeit):
143 Add optional `after-sunset' argument. (Bug#8190)
144
145 2011-03-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
146
147 * play/morse.el (nato-alphabet, nato-region, denato-region):
148 New variable and functions. (Bug#2288)
149 (morse-region, unmorse-region): Barf if read-only.
150
151 2011-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
152
153 * progmodes/gud.el (gdb-script-syntax-propertize-function):
154 Don't change the syntax of a \n that closes a comment (bug#8169).
155
156 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
157
158 * emacs-lisp/package-x.el (package-archive-upload-base): Make it a
159 defcustom.
160 (package--update-file): Doc fix. Accept relative file names.
161 (package--archive-contents-from-file): Remove the argument, since
162 it's necessarily always "archive-contents".
163 (package-maint-add-news-item): Pass relative file name args to
164 package--update-file.
165 (package-upload-buffer-internal): Prompt for a destination if
166 package-archive-upload-base is invalid. Create the directory if
167 it does not exist.
168 (package-upload-buffer, package-upload-file): Doc fix.
169
170 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
171
172 * isearch.el (isearch-mode-map): Bind C-y to isearch-yank-kill,
173 and move isearch-yank-line to M-s C-e (Bug#8183).
174
175 2011-03-06 Alan Mackenzie <acm@muc.de>
176
177 * progmodes/cc-engine.el (c-guess-basic-syntax): Reindent.
178 (c-guess-basic-syntax): Move CASE 19 to a different place,
179 correctly to process template-args-cont lines.
180
181 2011-03-06 Jay Belanger <jay.p.belanger@gmail.com>
182
183 * calc/calc-ext.el (calc-init-extensions):
184 Rename calc-logunits-dblevel and calc-logunits-nplevel to calc-dblevel
185 and calc-nplevel, respectively. Add keybindings for calc-spn,
186 calc-midi and calc-freq. Add autoloads for calcFunc-spn,
187 calcFunc-midi, calcFunc-freq, calc-spn, calc-midi and calc-freq.
188
189 * calc/calc-units.el (calc-dblevel): Rename from
190 calc-logunits-dblevel.
191 (calc-nplevel): Rename from calc-logunits-nplevel.
192 (math-midi-round, math-freqp, math-midip, math-spnp)
193 (math-spn-to-midi, math-midi-to-spn, math-freq-to-spn)
194 (math-midi-to-freq, math-spn-to-freq, calcFunc-spn, calcFunc-midi)
195 (calcFunc-freq, calc-freq, calc-midi, calc-spn): New functions.
196 (math-notes): New variable.
197
198 * calc/calc.el (calc-note-threshold): New variable.
199
200 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
201
202 * emacs-lisp/package.el (package-archives): Accept either ordinary
203 directory names, in addition to HTTP URLs.
204 (package--with-work-buffer): New macro. Handle normal directories.
205 (package-handle-response): Don't display the failing buffer.
206 (package-download-single, package-download-tar)
207 (package--download-one-archive): Use package--with-work-buffer.
208 (package-archive-base): Rename from package-archive-url.
209
210 2011-03-06 Glenn Morris <rgm@gnu.org>
211
212 * generic-x.el (generic-unix-modes): Add xmodmap-generic-mode.
213 (xmodmap-generic-mode): Respect generic-extras-enable-list.
214
215 2011-03-06 Daniel Clemente <dcl441-bugs@yahoo.com> (tiny change)
216
217 * generic-x.el (xmodmap-generic-mode): New. (Bug#2065)
218
219 2011-03-06 Juanma Barranquero <lekktu@gmail.com>
220
221 * allout.el (allout-init, allout-prefixed-keybindings)
222 (allout-unprefixed-keybindings):
223 * progmodes/prolog.el (prolog-find-term):
224 Fix typos in docstrings.
225
226 2011-03-06 Nikolaj Schumacher <me@nschum.de> (tiny change)
227
228 * emacs-lisp/elp.el (elp-results): Fix off-by-one in header. (Bug#2746)
229
230 2011-03-06 Kevin Ryde <user42@zip.com.au>
231
232 * textmodes/sgml-mode.el (sgml-fill-nobreak): Give it a doc. (Bug#5326)
233
234 2011-03-06 Michael Shields <shields@msrl.com> (tiny change)
235
236 * window.el (one-window-p, walk-windows, display-buffer):
237 Doc fixes. (Bug#5567)
238
239 2011-03-06 Jay Belanger <jay.p.belanger@gmail.com>
240
241 * cus-edit.el (custom-prompt-variable): Use the `custom-get' property
242 of the variable if it exists.
243
244 2011-03-06 Juanma Barranquero <lekktu@gmail.com>
245
246 * bookmark.el:
247 * desktop.el:
248 * emacs-lock.el:
249 * ps-print.el:
250 * saveplace.el:
251 * net/tramp-cache.el:
252 * obsolete/fast-lock.el:
253 * textmodes/reftex.el:
254 Don't set `kill-emacs-hook' on noninteractive sessions (bug#8137).
255
256 2011-03-05 Antoine Levitt <antoine.levitt@gmail.com>
257
258 * files.el (delete-directory, copy-directory, list-directory):
259 Use read-directory-name.
260
261 * find-file.el (ff-find-the-other-file):
262 * net/ange-ftp.el (ange-ftp-make-directory):
263 * printing.el (pr-interactive-dir):
264 * progmodes/ada-prj.el (ada-prj-load-directory):
265 * progmodes/ebnf2ps.el (ebnf-print-directory)
266 (ebnf-spool-directory, ebnf-eps-directory)
267 (ebnf-syntax-directory):
268 * shell.el (shell):
269 * speedbar.el (speedbar-create-directory):
270 * vc/emerge.el (emerge-merge-directories):
271 * vc/vc-dir.el (vc-dir):
272 * vc/vc.el (vc-create-tag, vc-retrieve-tag): Likewise.
273
274 2011-03-05 Chong Yidong <cyd@stupidchicken.com>
275
276 * help-mode.el (help-buffer): If we are to return the current
277 buffer, signal an error if it's not in Help mode (Bug#8147).
278
279 2011-03-05 Reuben Thomas <rrt@sc3d.org>
280
281 * files.el (file-name-version-regexp): Handle backup files of the
282 form `foo.js.~HEAD~1~' (Bug#8159).
283
284 2011-03-05 Glenn Morris <rgm@gnu.org>
285
286 * eshell/esh-var.el: Don't require esh-test when compiling.
287 * eshell/em-banner.el, eshell/esh-cmd.el, eshell/esh-mode.el:
288 * eshell/esh-var.el, eshell/eshell.el: Move tests to esh-test.
289 * eshell/esh-test.el: Move to ../../test/eshell.el.
290
291 2011-03-05 David Engster <deng@randomsample.de>
292
293 * files.el (save-some-buffers): Report the names of buffers saved
294 automatically due to buffer-save-without-query (Bug#8134).
295
296 2011-03-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
297
298 * net/rcirc.el: Add QuakeNet authentication support.
299 (rcirc-authinfo, rcirc-check-auth-status)
300 (rcirc-authenticate): Support QuakeNet.
301
302 2011-03-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
303
304 * net/rcirc.el: Add functionality to authenticate before
305 autojoining channels.
306 (rcirc-authenticate-before-join): New option.
307 (rcirc-authenticated-hook): New variable.
308 (rcirc-connect): Make local variable rcirc-user-authenticated.
309 (rcirc-handler-001): Respect rcirc-authenticate-before-join.
310 (rcirc-check-auth-status, rcirc-join-channels-post-auth):
311 New functions.
312 (rcirc-handler-PRIVMSG, rcirc-handler-NOTICE):
313 Call rcirc-check-auth-status.
314
315 2011-03-05 Alex Harsanyi <AlexHarsanyi@gmail.com>
316
317 * net/soap-client.el (soap-namespace-put-link): Check if the target
318 name is fully qualified -- use only the name part.
319 (soap-parse-complex-type, soap-parse-sequence): Recognize xsd:all
320 types, treated the same as xsd:sequence. (Bug#8166)
321
322 2011-03-05 Eli Zaretskii <eliz@gnu.org>
323
324 * files.el (find-file-noselect): Don't ask about re-visiting
325 non-literally if the file is already visited in image-mode.
326 (Bug#8177)
327
328 2011-03-05 Glenn Morris <rgm@gnu.org>
329
330 * eshell/esh-mode.el (eshell-kill-buffer-function): New function.
331 (eshell-mode): Use eshell-kill-buffer-function.
332 Run the -initialize functions independently of the -load-hooks.
333 * eshell/esh-proc.el (eshell-kill-process-function): New function.
334 (eshell-gather-process-output, eshell-sentinel)
335 (eshell-interrupt-process, eshell-kill-process, eshell-quit-process):
336 Use eshell-kill-process-function.
337 * eshell/em-alias.el (eshell-alias-load-hook):
338 * eshell/em-banner.el (eshell-banner-load-hook):
339 * eshell/em-cmpl.el (eshell-cmpl-load-hook):
340 * eshell/em-dirs.el (eshell-dirs-load-hook):
341 * eshell/em-glob.el (eshell-glob-load-hook):
342 * eshell/em-hist.el (eshell-hist-load-hook):
343 * eshell/em-pred.el (eshell-pred-load-hook):
344 * eshell/em-prompt.el (eshell-prompt-load-hook):
345 * eshell/em-rebind.el (eshell-rebind-load-hook):
346 * eshell/em-script.el (eshell-script-load-hook):
347 * eshell/em-smart.el (eshell-smart-load-hook):
348 * eshell/em-term.el (eshell-term-load-hook):
349 * eshell/em-unix.el (eshell-unix-load-hook):
350 * eshell/esh-arg.el (eshell-arg-load-hook):
351 * eshell/esh-cmd.el (eshell-cmd-load-hook):
352 * eshell/esh-ext.el (eshell-ext-load-hook):
353 * eshell/esh-io.el (eshell-io-load-hook):
354 * eshell/esh-mode.el (eshell-exit-hook):
355 * eshell/esh-proc.el (eshell-proc-load-hook, eshell-kill-hook):
356 * eshell/esh-var.el (eshell-var-load-hook):
357 Set default hook values to nil. (Bug#5375)
358
359 * eshell/esh-module.el (eshell-module-unload-hook)
360 (eshell-modules-list): Remove leading * from defcustom docs.
361
362 * eshell/esh-util.el (eshell-for): Make it obsolete.
363 * eshell/em-alias.el (eshell/alias, eshell-alias-completions):
364 * eshell/em-dirs.el (eshell-save-some-last-dir):
365 * eshell/em-hist.el (eshell-save-some-history)
366 (eshell-hist-parse-modifier):
367 * eshell/em-ls.el (eshell-ls-dir, eshell-ls-files)
368 (eshell-ls-entries):
369 * eshell/em-unix.el (eshell/cat, eshell/du, eshell/su):
370 * eshell/esh-cmd.el (eshell-invoke-directly, eshell-do-eval)
371 (eshell/which):
372 * eshell/esh-ext.el (eshell-find-interpreter):
373 * eshell/esh-mode.el (eshell-mode):
374 * eshell/esh-module.el (eshell-unload-extension-modules):
375 * eshell/esh-proc.el (eshell-process-interact):
376 * eshell/esh-test.el (eshell-test):
377 * eshell/esh-util.el (eshell-flatten-list, eshell-winnow-list):
378 * eshell/esh-var.el (eshell/env, eshell-environment-variables)
379 (eshell-variables-list):
380 * eshell/eshell.el (eshell-unload-all-modules):
381 Replace eshell-for with dolist.
382
383 2011-03-04 Glenn Morris <rgm@gnu.org>
384
385 * vc/vc-bzr.el (vc-bzr-after-dir-status): Handle bzr 2.3.0. (Bug#8170)
386
387 2011-03-04 Tom Tromey <tromey@redhat.com>
388
389 * progmodes/gud.el (gdb-script-mode): Derive from prog-mode.
390
391 2011-03-04 Glenn Morris <rgm@gnu.org>
392
393 * outline.el (outline-regexp): No longer allow nil.
394 (outline-heading-end-regexp): Add safety predicate. (Bug#7619)
395
396 * net/browse-url.el (browse-url):
397 Handle deleted default-directory. (Bug#6077)
398
399 * recentf.el (recentf-include-p): In case of a buggy predicate,
400 err on the side of including, not excluding. (Bug#5843)
401
402 2011-03-04 Jay Belanger <jay.p.belanger@gmail.com>
403
404 * calc/calc-units.el (math-to-standard-rec): Don't treat subscripted
405 variables as units.
406
407 2011-03-04 Bob Rogers <rogers@rgrjr.dyndns.org>
408
409 * emacs-lisp/ewoc.el (ewoc-goto-next): Give a more explicit error
410 if there is no node. (Bug#3261)
411
412 2011-03-04 Leo <sdl.web@gmail.com>
413
414 * vc/diff-mode.el (diff-mode): Fix whitespace-style. (Bug#8139)
415
416 * time.el (display-time-world-list): Fix typo. (Bug#7571)
417
418 2011-03-04 Zachary Kanfer <zkanfer@gmail.com> (tiny change)
419
420 * cus-edit.el (custom-buffer-create-internal):
421 Split search string before passing it to `customize-apropos' (bug#8136).
422
423 2011-03-04 Drew Adams <drew.adams@oracle.com>
424
425 * image-dired.el (image-dired-cmd-read-exif-data-options):
426 Fix typo in docstring (bug#8156).
427
428 2011-03-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
429
430 * net/rcirc.el (rcirc-cmd-join): Accept comma-separated input.
431
432 2011-03-03 Christian Ohler <ohler@gnu.org>
433
434 * emacs-lisp/ert.el (ert--explain-equal): New function.
435 (ert--explain-equal-rec): Renamed from `ert--explain-not-equal'.
436 All callers changed.
437 (ert--explain-equal-including-properties): Renamed from
438 `ert--explain-not-equal-including-properties'. All callers
439 changed.
440
441 2011-03-03 Christian Ohler <ohler@gnu.org>
442
443 * emacs-lisp/ert.el (ert--stats-set-test-and-result)
444 (ert-char-for-test-result, ert-string-for-test-result)
445 (ert-run-tests-batch, ert--print-test-for-ewoc):
446 Handle `ert-test-quit'.
447
448 2011-03-03 David Abrahams <dave@boostpro.com> (tiny change)
449
450 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
451 Move ediff-defvar-local calls after defcustoms. (Bug#1821)
452
453 2011-03-03 Glenn Morris <rgm@gnu.org>
454
455 * files.el (file-truename): Doc fix. (Bug#2341)
456
457 2011-03-03 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
458
459 * vc/vc-dir.el (vc-dir-mode-map): Bind vc-dir-find-file to e (Bug#7349).
460
461 2011-03-03 Vagn Johansen <gonz808@hotmail.com> (tiny change)
462
463 * vc/vc-svn.el (vc-svn-after-dir-status): Some MS Windows svn client
464 programs output backslashes. (Bug#7663)
465
466 2011-03-03 Glenn Morris <rgm@gnu.org>
467
468 * mail/sendmail.el (mail-mode-map): Remove mail-sent-via.
469 (mail-mode): Remove mail-sent-via from the doc.
470 (mail-sent-via): Make it obsolete. (Bug#1776)
471
472 * progmodes/grep.el (grep-highlight-matches): Doc fix.
473 (grep-process-setup): No highlighting without font-lock. (Bug#8084)
474
475 * vc/vc-bzr.el (vc-bzr-state-heuristic): Handle dirstate entries
476 with no parents. (Bug#8025)
477
478 2011-03-02 Teodor Zlatanov <tzz@lifelogs.com>
479
480 * password-cache.el (password-in-cache-p): Add autoload.
481
482 2011-03-02 Glenn Morris <rgm@gnu.org>
483
484 * man.el (Man-support-local-filenames): Also handle Red Hat's man.
485 * dired-x.el (Man-support-local-filenames): Autoload it.
486 (dired-guess-shell-alist-default): Also handle Red Hat's man.
487
488 * dired-x.el (dired-default-directory-alist, dired-default-directory):
489 Mark as obsolete.
490 (dired-smart-shell-command): Just call dired-current-directory.
491
492 * dired-x.el (dired-jump-other-window): Add autoload.
493 (dired-default-directory-alist, dired-default-directory): Doc fixes.
494 (dired-default-directory-alist): Mark as risky.
495
496 * dired-x.el (dired-omit-here-always): Make it obsolete.
497
498 2011-03-02 Chong Yidong <cyd@stupidchicken.com>
499
500 * textmodes/artist.el (artist-curr-go): Default to pen-line.
501 (artist-select-op-pen-line): New function.
502 (artist-menu-map): New variable.
503 (artist-mode-map): Add a menu to the menu-bar.
504
505 2011-03-02 Jay Belanger <jay.p.belanger@gmail.com>
506
507 * calc/calc-math.el (calcFunc-log10): Check for symbolic mode
508 when evaluating.
509
510 * calc/calc-units.el (math-conditional-apply, math-conditional-pow):
511 New function.
512 (math-logunits-add, math-logunits-mul, math-logunits-divide):
513 (math-logunits-quant, math-logunits-level):
514 Use `math-conditional-apply' and `math-conditional-pow' to evaluate
515 functions.
516 (math-logunits-level): Extract units from ratio.
517
518 2011-03-01 Juanma Barranquero <lekktu@gmail.com>
519
520 * emacs-lisp/cl-macs.el (lexical-let*): Fix argument name in docstring.
521
522 2011-03-01 Glenn Morris <rgm@gnu.org>
523
524 * calendar/cal-hebrew.el (calendar-hebrew-birthday)
525 (diary-hebrew-birthday): Rename and rework functions added
526 in previous change.
527
528 2011-03-01 Ed Reingold <reingold@emr.cs.iit.edu>
529
530 * calendar/cal-hebrew.el (hebrew-calendar-birthday)
531 (diary-hebrew-birthday): New functions.
532
533 2011-03-01 Glenn Morris <rgm@gnu.org>
534
535 * dired.el (dired-safe-switches-p): Beef it up.
536 (dired-actual-switches): Use it for the safe-local prop. (Bug#3230)
537
538 2011-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
539
540 * dired.el (dired-safe-switches-p): New function.
541
542 2011-03-01 Glenn Morris <rgm@gnu.org>
543
544 * files.el (dir-locals-collect-variables):
545 Add the ability to exclude subdirectories. (Bug#8100)
546
547 * dired-x.el (dired-omit-here-always): Add `(subdirs . nil)' to locals.
548
549 2011-02-28 Christoph Scholtes <cschol2112@googlemail.com>
550
551 * ido.el (ido-everywhere): Doc fix.
552 (ido-mode): Doc fix.
553
554 2011-02-28 Glenn Morris <rgm@gnu.org>
555
556 * dired-x.el (dired-guess-shell-alist-default): Use \\', not $.
557
558 2011-02-28 Michael Albinus <michael.albinus@gmx.de>
559
560 * net/tramp-cmds.el (tramp-append-tramp-buffers): Dump load-path
561 shadows.
562
563 2011-02-28 Antoine Levitt <antoine.levitt@gmail.com>
564
565 * dired-x.el (dired-guess-shell-alist-default): Add rar and 7z.
566
567 2011-02-28 Juanma Barranquero <lekktu@gmail.com>
568
569 * emacs-lisp/pcase.el (pcase, pcase--u1, pcase--q1):
570 Fix typos in docstrings.
571
572 2011-02-28 Stephen Berman <stephen.berman@gmx.net>
573
574 * dired-aux.el (dired-update-file-line):
575 Fix 2010-11-09 change. (Bug#8131)
576
577 2011-02-28 Eli Zaretskii <eliz@gnu.org>
578
579 * international/mule-cmds.el (set-default-coding-systems): Use the
580 -unix variant of encoding in default-keyboard-coding-system.
581 (Bug#8122)
582
583 2011-02-27 Chong Yidong <cyd@stupidchicken.com>
584
585 * facemenu.el (list-colors-display): Use with-help-window (Bug#8048).
586
587 2011-02-27 Prestoo Ten <prestooten@gmail.com> (tiny change)
588
589 * term/screen.el: New file (Bug#2650).
590
591 2011-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
592
593 * emacs-lisp/pcase.el (pcase--if): Try to invert test to reduce depth.
594 (pcase-mutually-exclusive-predicates): New var.
595 (pcase--split-consp, pcase--split-pred): Use it.
596 (pcase--split-equal, pcase--split-member): When splitting against
597 a pure predicate, run it to know the outcome.
598 (pcase--u1): Mark vars that are actually used.
599 (pcase--q1): Avoid introducing unused vars.
600
601 2011-02-27 Jay Belanger <jay.p.belanger@gmail.com>
602
603 * calc/calc-ext.el (calc-init-extensions):
604 Autoload `calc-l-prefix-help' instead of `calc-ul-prefix-help'.
605
606 * calc/calc-math.el (calcFunc-log10): Don't signal an error in
607 symbolic mode.
608
609 * calc/calc-vec.el (calcFunc-subscr): Return nil if the first
610 argument is a variable.
611
612 2011-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
613
614 * emacs-lisp/assoc.el: Remove misleading `sort' (bug#8126).
615 (aput, adelete, amake): Replace `eval' -> `symbol-value'.
616 Suggested by Michael Heerdegen <michael_heerdegen@web.de>.
617
618 2011-02-25 Teodor Zlatanov <tzz@lifelogs.com>
619
620 * password-cache.el (password-in-cache-p): Convenience function to
621 check if a key is in the cache, even if the value is nil.
622
623 2011-02-25 Jambunathan K <kjambunathan@gmail.com>
624
625 * emacs-lisp/package-x.el (package--archive-contents-from-url)
626 (package--archive-contents-from-file): New functions.
627 (package-update-news-on-upload): New var.
628 (package-upload-buffer-internal): Extract archive-contents from
629 package-archive-upload-base if it is not found at archive-url.
630 Obey package-update-news-on-upload.
631 (package-upload-buffer, package-upload-file): Doc fix.
632
633 2011-02-24 Glenn Morris <rgm@gnu.org>
634
635 * files-x.el (modify-dir-local-variable): Handle dir-locals from
636 the cache, and from non-file sources.
637
638 * help-fns.el (describe-variable): Return consistent results when a
639 dir-local from a file came from the cache or did not. (Bug#8095)
640 If a dir-local has no associated file, say it came from a "directory".
641
642 * files.el (hack-dir-local-variables): Fix setting of `dir-name'.
643 (hack-local-variables-confirm, hack-local-variables-filter): Doc fix.
644
645 * files.el (dir-locals-find-file): Doc fix.
646 Fix the check for cache elements that have no associated file,
647 and the mtime check for those that do. (Bug#8095)
648
649 * dired-x.el (dired-hack-local-variables):
650 Handle interrupts during hacking local variables. (Bug#5216)
651
652 * emacs-lisp/autoload.el (autoload-save-buffers)
653 (autoload-find-destination, update-directory-autoloads):
654 Avoid prompts when updating autoloads.
655
656 2011-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
657
658 * emacs-lisp/bytecomp.el (byte-compile-disable-print-circle): Obsolete.
659
660 2011-02-23 Kenichi Handa <handa@m17n.org>
661
662 * mail/rmailmm.el (rmail-mime-process-multipart): Do not signal an
663 error when a multipart boundary in the nested multipart is found.
664
665 * mail/rmail.el (rmail-start-mail): Decode "encoded-words" of
666 header components.
667
668 2011-02-23 Glenn Morris <rgm@gnu.org>
669
670 * dired.el (dired-mode): Call hack-dir-local-variables-non-file-buffer.
671 * dired-x.el (dired-omit-mode): Safe if boolean.
672 (dired-enable-local-variables): Fix doc and custom type.
673 (dired-enable-local-variables, dired-local-variables-file)
674 (dired-hack-local-variables): Make obsolete.
675 (dired-omit-here-always): Use dir-locals.el instead.
676
677 * files.el (safe-local-eval-forms): Add the write-file-hooks version.
678
679 2011-02-22 Stefan Monnier <monnier@iro.umontreal.ca>
680
681 * help-fns.el (describe-function-1): Don't signal an error just because
682 the DOC file disappeared.
683
684 2011-02-22 Seppo Sade <sepposade1@gmail.com> (tiny change)
685
686 * eshell/esh-ext.el (eshell-external-command): Do not restrict
687 remote check to "ftp". (Bug#8089)
688
689 2011-02-21 Alan Mackenzie <acm@muc.de>
690
691 Fix bug #7930.
692 * progmodes/cc-engine.el (c-state-literal-at): Prevent positions
693 in macros finding their way into c-state-nonlit-pos-cache.
694 Strengthen the comments.
695 (c-state-dump): New commented out diagnostic routine.
696
697 2011-02-21 Michael Albinus <michael.albinus@gmx.de>
698
699 * net/tramp.el (tramp-rfn-eshadow-setup-minibuffer): Do not use
700 `field' property of `rfn-eshadow-overlay'.
701
702 2011-02-21 Lars Ingebrigtsen <larsi@gnus.org>
703
704 * net/netrc.el (netrc-parse): Comment fix.
705
706 2011-02-21 Chong Yidong <cyd@stupidchicken.com>
707
708 * color.el (color-name-to-rgb): Rename from color-rgb->normalize.
709 Autoload. Add optional arg FRAME, and pass it to color-values.
710 (color-complement): Caller changed. Doc fix.
711 (color-gradient): Rewrite for better clarity and efficiency.
712
713 * faces.el (color-values): Use cond for clarity. Doc fix.
714
715 * facemenu.el (color-rgb-to-hsv): Delete; use the version in
716 color.el instead.
717 (list-colors-sort-key, list-colors-print):
718 Use color-normalized-values.
719
720 2011-02-20 Drew Adams <drew.adams@oracle.com>
721
722 * color.el: First part of merge from hexrgb.el.
723 (color-rgb-to-hex): Rename from color-rgb->hex.
724 (color-rgb-to-hsv): Rename from color-rgb->hsv. Force hue and
725 saturation to zero if the value is too small.
726 (color-rgb-to-hsl): Rename from color-rgb->hsl.
727 (color-srgb-to-xyz): Rename from color-srgb->xyz. Doc fix.
728 (color-xyz-to-srgb): Rename from color-xyz->srgb. Doc fix.
729 (color-xyz-to-lab): Rename from color-xyz->lab. Doc fix.
730 (color-lab-to-xyz): Rename from color-lab->xyz. Doc fix.
731 (color-lab-to-srgb): Rename from color-lab->srgb. Doc fix.
732 (color-cie-de2000): Doc fix.
733
734 2011-02-20 Alan Mackenzie <acm@muc.de>
735
736 * progmodes/cc-cmds.el (c-beginning-of-statement): Avoid loop in
737 locating the beginning of a macro. (Bug#7595)
738
739 2011-02-20 Glenn Morris <rgm@gnu.org>
740
741 * edmacro.el (edmacro-eight-bits): Make it a defcustom.
742 Don't autoload it.
743
744 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
745 (global-auto-revert-ignore-buffer): Remove leading "*" from docs.
746
747 2011-02-19 Dmitry Bolshakov <dmitry.bolshakov@bridge-quest.com>
748 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
749
750 * progmodes/hideshow.el (hs-find-block-beginning)
751 (hs-hide-level-recursive): Ignore comments when parsing braces
752 (Bug#8036).
753
754 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
755
756 * vc/vc-bzr.el (vc-bzr-bound-branch-p): New function.
757 (vc-bzr-pull): Use it.
758
759 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
760
761 * vc/vc-bzr.el (vc-bzr--branch-conf): Function deleted.
762 (vc-bzr-branch-conf): New function, similar to vc-bzr--branch-conf
763 but returning an alist. Ignore comments in bzr conffile.
764 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-bzr-branch-conf.
765 (vc-bzr-error-regex-alist): New var.
766 (vc-bzr-merge-branch): Use it to highlight the pull/merge buffer.
767
768 * vc/vc-dispatcher.el (vc-do-async-command):
769 Bind inhibit-read-only to t.
770
771 * progmodes/compile.el (compilation--flush-directory-cache):
772 Handle the case where cdr of compilation--flush-directory-cache
773 points to no buffer, which can occur if we previously switched to
774 compilation-mode in a pregenerated buffer.
775
776 2011-02-19 Kenichi Handa <handa@m17n.org>
777
778 * mail/rmailmm.el (rmail-mime-find-header-encoding): Be sure to
779 get the header copy into the temporary buffer.
780 (rmail-mime-insert-decoded-text): Ignore us-ascii.
781 (rmail-show-mime): When rmail-mime-coding-system is nil, set
782 buffer-file-coding-system to undecided.
783
784 2011-02-19 Eli Zaretskii <eliz@gnu.org>
785
786 * international/mule-cmds.el (read-char-by-name, ucs-insert):
787 Document completion with asterisk and a substring.
788
789 2011-02-19 Glenn Morris <rgm@gnu.org>
790
791 * files.el (find-file-literally): Doc fix.
792
793 * simple.el (rfc822-goto-eoh): Give it a doc-string.
794
795 * log-edit.el (log-edit-insert-changelog):
796 Fix `log-edit-strip-single-file-name' functionality. (Bug#8057)
797
798 2011-02-19 Glenn Morris <rgm@gnu.org>
799
800 * dired-x.el: Don't require dired-aux.
801 (dired-do-create-files, dired-mark-read-regexp)
802 (dired-do-create-files-regexp): Autoload from dired-aux.
803
804 * dired-x.el (dired-find-buffer-nocreate): Merge into dired.el.
805 * dired.el (dired-find-buffer-nocreate): Merge dired-x version.
806
807 * dired-x.el (dired-read-shell-command): Merge into dired-aux's version.
808 * dired-aux.el (dired-read-shell-command): Merge dired-x's version.
809
810 * dired-x.el (dired-clean-up-after-deletion): Merge into dired.el.
811 * dired.el (dired-clean-up-after-deletion): Merge dired-x's version.
812 (dired-clean-up-buffers-too): Declare.
813
814 * dired-x.el (dired-initial-position): Merge into dired.el's version.
815 * dired.el (dired-initial-position): Merge dired-x's version here.
816 (dired-find-subdir): Declare.
817
818 * dired-x.el (dired-omit-new-add-entry): Merge into dired-add-entry.
819 * dired-aux.el (dired-add-entry): Give it a doc-string.
820 Merge dired-x's dired-omit handling here.
821 (dired-omit-mode, dired-omit-regexp, dired-omit-localp): Declare.
822
823 * international/mule-diag.el (list-input-methods-1):
824 Indent all lines of multi-line doc-strings. (Bug#8066)
825
826 2011-02-18 Chong Yidong <cyd@stupidchicken.com>
827
828 Fix 2011-02-02 changes.
829
830 * apropos.el (apropos-print): Call apropos-mode before setting up
831 buffer variables. Use inhibit-read-only.
832
833 * emacs-lisp/package.el (package--list-packages):
834 Call package-menu-mode before setting up buffer variables.
835
836 * play/solitaire.el (solitaire): Call solitaire-mode before
837 setting up buffer variables. Use inhibit-read-only.
838
839 2011-02-18 Lawrence Mitchell <wence@gmx.li>
840
841 * progmodes/sh-script.el (sh-syntax-propertize-here-doc): (bug#8053)
842 Bind case-fold-search to nil when looking for end of here-doc.
843
844 2011-02-18 Eli Zaretskii <eliz@gnu.org>
845
846 * image-mode.el (image-toggle-display-image):
847 Set find-file-literally non-nil in buffers visiting binary image
848 files. (Bug#8047)
849
850 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
851
852 * files.el (cd): Make completion obey cd-path (bug#7924).
853
854 2011-02-18 Glenn Morris <rgm@gnu.org>
855
856 * progmodes/prolog.el: Don't require compile when compiling.
857 (compilation-shell-minor-mode, compilation-error-regexp-alist)
858 (compilation-forget-errors, compilation-fake-loc)
859 (compilation-parse-errors-function, compilation-error-list): Declare.
860 (prolog-inferior-mode): Require 'compile.
861
862 * emulation/cua-base.el (pc-selection-mode): Declare.
863
864 * emacs-lisp/eieio-custom.el: Set generated-autoload-file.
865 (customize-object): Add autoload cookie.
866 * emacs-lisp/eieio-opt.el: Set generated-autoload-file.
867 (eieio-browse, describe-class, eieio-describe-class)
868 (eieio-describe-constructor, describe-generic, eieio-describe-generic)
869 (eieio-help-mode-augmentation-maybee): Add autoload cookies.
870 * emacs-lisp/eieio.el: Regenerate with automatic autoloads.
871 * Makefile.in (autoloads): Make eieio.el writable.
872
873 * dired-x.el (dired-clean-up-after-deletion, dired-do-relsymlink)
874 (dired-do-relsymlink-regexp, dired-find-buffer-nocreate): Use #'.
875 (dired-hack-local-variables): Use inhibit-read-only.
876 (dired-guess-default): Simplify.
877 (dired-make-relative-symlink): Use dotimes.
878 (dired-simultaneous-find-file): Use dolist.
879 (dired-mark-sexp): Remove unneeded `if'. Use line-end-position.
880 (dired-x-hands-off-my-keys): Doc fix.
881 (dired-x-bind-find-file): Doc fix. Use remapping.
882 (after-init-hook): No need to add dired-x-bind-find-file.
883 (dired-x-find-file, dired-x-find-file-other-window): Doc fixes.
884 No need to call expand-file-name.
885 (dired-filename-at-point): Remove unused locals `end', `filename'.
886
887 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
888
889 * emacs-lisp/pcase.el (pcase--u1): Understand non-linear patterns.
890
891 2011-02-18 Christian Ohler <ohler@gnu.org>
892
893 * emacs-lisp/ert.el (ert--setup-results-buffer)
894 (ert-results-pop-to-backtrace-for-test-at-point)
895 (ert-results-pop-to-messages-for-test-at-point)
896 (ert-results-pop-to-should-forms-for-test-at-point)
897 (ert-results-pop-to-timings): Revert parts of change 2011-02-02T17:59:44Z!sds@gnu.org that
898 were incorrect and unnecessary. This should make `make check'
899 pass again.
900
901 2011-02-17 Ken Manheimer <ken.manheimer@gmail.com>
902
903 * lisp/allout-widgets.el (allout-widgets-icons-light-subdir)
904 (allout-widgets-icons-dark-subdir): Track relocations of icons
905 * lisp/allout.el: Remove commentary about remove encryption
906 passphrase mnemonic support and verification.
907 (allout-encrypt-string): Recognize epg failure to decrypt gpg2
908 armored text using gpg1, and indicate that the gpg version *might*
909 be the problem in the error message.
910
911 2011-02-17 Deniz Dogan <deniz.a.m.dogan@gmail.com>
912
913 * net/rcirc.el (rcirc-float-time): New function.
914 (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE)
915 (rcirc-ctcp-sender-PING): Use it.
916
917 2011-02-17 Glenn Morris <rgm@gnu.org>
918
919 * speedbar.el (speedbar-ignored-modes, speedbar-file-unshown-regexp)
920 (speedbar-update-flag, speedbar-fetch-etags-command)
921 (speedbar-fetch-etags-arguments):
922 * term.el (term-buffer-maximum-size, term-input-chunk-size)
923 (term-completion-autolist, term-completion-addsuffix)
924 (term-completion-recexact, term-completion-fignore):
925 * term/sup-mouse.el (sup-mouse-fast-select-window):
926 * term/x-win.el (x-select-request-type):
927 Convert some defvars with "*" to defcustoms.
928
929 * shell.el (shell-delimiter-argument-list): Set it to nil. (Bug#8027)
930
931 * vc/vc.el (vc-default-previous-version):
932 Remove alias that points nowhere. (Bug#4496)
933
934 * dired-x.el (dired-clean-up-after-deletion):
935 kill-buffer does not need save-excursion.
936 (dired-do-run-mail): Doc fix.
937 (dired-filename-at-point): Doc fix.
938 Use looking-at, and skip-chars rather than re search.
939
940 * dired-x.el (dired-filename-at-point): Fix 8-year old typo.
941
942 2011-02-16 Ken Manheimer <ken.manheimer@gmail.com>
943
944 * allout-widgets.el: New allout extension that shows allout
945 outline structure with graphical widgets. 'allout-widgets'
946 customize group is an 'allout' subgroup, for easy discovery.
947
948 * allout.el: Include PGP and GnuPG in Keywords, and other
949 commentary refinements.
950 (allout-abbreviate-flattened-numbering): Rename to
951 allout-flattened-numbering-abbreviation, and
952 define-obsolete-variable-alias the old name.
953 (allout-flattened-numbering-abbreviation): Rename from
954 allout-abbreviate-flattened-numbering.
955 (allout-mode-p): Include among autoloads, for use by other modes
956 with impunity.
957 (allout-listify-exposed):
958 Use allout-flattened-numbering-abbreviation.
959 (allout-encrypt-string): Use set-buffer-multibyte directly.
960 (allout-set-buffer-multibyte): Remove.
961
962 2011-02-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
963
964 * simple.el (just-one-space): Remove useless `or' call.
965
966 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
967
968 * net/soap-client.el (soap-well-known-xmlns, soap-local-xmlns)
969 (soap-default-xmlns, soap-target-xmlns, soap-multi-refs)
970 (soap-decoded-multi-refs, soap-current-wsdl)
971 (soap-encoded-namespaces): Rename CL-style *...* variables.
972
973 2011-02-16 Michael Albinus <michael.albinus@gmx.de>
974
975 * net/soap-client.el: Add "comm" and "hypermedia" to the
976 keywords. Reflow too long lines.
977
978 * net/soap-inspect.el: Ditto. Require 'cl.
979
980 2011-02-16 Bastien Guerry <bzg@altern.org>
981
982 * play/doctor.el (doctor-mode): Bugfix: escape the "," character
983 in a `doctor-type' argument.
984
985 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
986
987 * net/soap-client.el:
988 * net/soap-inspect.el: New files.
989
990 2011-02-16 Leo <sdl.web@gmail.com>
991
992 * dired-x.el (dired-mode-map, dired-extra-startup):
993 Remove dired-copy-filename-as-kill since it's already in dired.el.
994
995 2011-02-16 Glenn Morris <rgm@gnu.org>
996
997 * dired-x.el (dired-bind-jump, dired-bind-man, dired-bind-info):
998 Doc fixes. Add :set property, replacing top-level calls.
999 (dired-vm-read-only-folders, dired-vm): Doc fix (drop v. old VM 4).
1000 (dired-guess-shell-gnutar): Test tar version rather than system-type.
1001 (dired-extra-startup, dired-man, dired-info): Doc fixes.
1002 (dired-clean-up-after-deletion): Use when and dolist.
1003 (dired-jump): Use unless and when.
1004 (dired-virtual): Use line-end-position.
1005 (dired-default-directory-alist): Rename from default-directory-alist.
1006 (dired-default-directory): Update for above name change.
1007 (dired-vm): Drop VM < 5 and simplify.
1008 (dired-buffer-more-recently-used-p): Rewrite.
1009 (dired-filename-at-point): Use when and or.
1010 (dired-x-read-filename-at-point): Rename from read-filename-at-point.
1011 Update callers.
1012
1013 2011-02-15 Glenn Morris <rgm@gnu.org>
1014
1015 * dired-x.el: Use easymenu for menu items. Fix item capitalization.
1016
1017 2011-02-14 Chong Yidong <cyd@stupidchicken.com>
1018
1019 * vc/vc-git.el (vc-git-root-log-format): New option for
1020 customizing log format.
1021 (vc-git-print-log, vc-git-log-outgoing, vc-git-log-incoming)
1022 (vc-git-log-view-mode): Use it.
1023 (vc-git-expanded-log-entry): New function.
1024 (vc-git-log-view-mode): Use it. Truncate lines in root log.
1025
1026 * vc/vc-hg.el (vc-hg-root-log-template): New option for
1027 customizing log format.
1028 (vc-hg-print-log): Use it.
1029 (vc-hg-expanded-log-entry): New function.
1030 (vc-hg-log-view-mode): Use vc-hg-root-log-template and
1031 vc-hg-expanded-log-entry. Truncate lines in root log.
1032
1033 * vc/vc-bzr.el (vc-bzr-log-view-mode): Truncate lines in root log.
1034
1035 * vc/log-view.el (log-view-mode-menu):
1036 Add log-view-toggle-entry-display.
1037
1038 2011-02-14 Glenn Morris <rgm@gnu.org>
1039
1040 * dired-x.el: Don't require man when compiling.
1041 (dired-omit-extensions, dired-local-variables-file)
1042 (dired-x-hands-off-my-keys): Make them defcustoms.
1043 (Man-support-local-filenames, Man-getpage-in-background): Declare.
1044 (vm-visit-folder): Declare rather than defining.
1045 (dired-x-help-address, dired-x-variable-list): Remove.
1046 (dired-x-submit-report): Make it an obsolete alias.
1047
1048 2011-02-14 Juanma Barranquero <lekktu@gmail.com>
1049
1050 * makefile.w32-in (TRAMP_SRC): Remove tramp-imap.el.
1051
1052 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1053
1054 * net/imap.el: Bring it back.
1055
1056 2011-02-13 Alan Mackenzie <acm@muc.de>
1057
1058 * progmodes/cc-fonts.el (c-font-lock-declarations): Remove a
1059 narrow-to-region call that cuts context off the end (Bug#7722).
1060
1061 * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
1062 Refactor nested if-forms with a simple cond.
1063 (c-forward-<>-arglist): Revert 2011-01-31 change.
1064
1065 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
1066
1067 * vc/log-view.el: New command log-view-toggle-entry-display for
1068 toggling log entries between concise and detailed forms.
1069 (log-view-toggle-entry-display): New command.
1070 (log-view-mode-map): Bind RET to it.
1071 (log-view-expanded-log-entry-function): New variable.
1072 (log-view-current-entry, log-view-inside-comment-p)
1073 (log-view-current-tag): New functions.
1074 (log-view-toggle-mark-entry): Use log-view-current-entry and
1075 log-view-end-of-defun instead of searching directly with
1076 log-view-message-re.
1077 (log-view-end-of-defun): Likewise. Add optional ARG for
1078 compatibility with end-of-defun.
1079 (log-view-end-of-defun): Ignore comments and VC buttons.
1080
1081 * vc/vc-bzr.el (vc-bzr-expanded-log-entry): New function.
1082 (vc-bzr-log-view-mode): Use log-view-expanded-log-entry-function.
1083
1084 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1085
1086 * net/imap.el: Remove file. All the functionality is in nnimap.el.
1087
1088 * net/imap-hash.el: Remove file.
1089
1090 2011-02-13 Michael Albinus <michael.albinus@gmx.de>
1091
1092 * Makefile.in (TRAMP_SRC): Remove tramp-imap.el.
1093
1094 * net/tramp.el (tramp-read-passwd): Simplify `auth-source-search'
1095 call.
1096
1097 * net/tramp-imap.el: Remove file.
1098
1099 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
1100
1101 * vc/vc.el (vc-print-log-setup-buttons): Instead of using the
1102 widget library for buttons, just use button.el.
1103
1104 * vc/log-view.el (log-view-mode-map): Don't inherit from
1105 widget-keymap.
1106
1107 2011-02-12 Glenn Morris <rgm@gnu.org>
1108
1109 * emacs-lisp/cl-seq.el (union, nunion, intersection)
1110 (nintersection, set-difference, nset-difference)
1111 (set-exclusive-or, nset-exclusive-or): Doc fix.
1112
1113 * ediff-ptch.el (ediff-fixup-patch-map): Doc fix.
1114
1115 * faces.el (face-attr-match-p): Handle the obsolete :bold and
1116 :italic props, so that frame-set-background-mode works. (Bug#7966)
1117
1118 * simple.el (next-error): Doc fix.
1119
1120 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1121
1122 * dired-aux.el (dired-create-files): Adapt destination name to
1123 match the new behavior of copy-directory.
1124
1125 2011-02-12 Chong Yidong <cyd@stupidchicken.com>
1126
1127 * mail/mail-utils.el (mail-dont-reply-to-names): New variable,
1128 from rmail-dont-reply-to-names. Callers changed.
1129 (mail-dont-reply-to): Rename from mail-dont-reply-to.
1130 (rmail-dont-reply-to): Make it an obsolete alias.
1131
1132 * mail/rmail.el (rmail-default-dont-reply-to-names): Default to
1133 nil, and make obsolete (Bug#7888).
1134 (rmail-dont-reply-to-names): Alias to mail-dont-reply-to-names.
1135
1136 * mail/rmailsum.el (rmail-summary-sort-by-correspondent): Doc fix.
1137
1138 * mail/rmailsort.el (rmail-sort-by-correspondent)
1139 (rmail-select-correspondent): Doc fix. Use mail-dont-reply-to.
1140
1141 * mail/rmail.el (rmail-reply): Use mail-dont-reply-to.
1142
1143 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1144
1145 * files.el (copy-directory): New argument COPY-CONTENTS for
1146 copying directory contents into another existing directory.
1147
1148 2011-02-12 Tassilo Horn <tassilo@member.fsf.org>
1149
1150 * minibuffer.el (completion-table-case-fold): New function for
1151 creating a case-insensitive completion table.
1152
1153 2011-02-12 Teodor Zlatanov <tzz@lifelogs.com>
1154
1155 * net/tramp.el (tramp-default-method): Also check if
1156 `auth-source-search' is bound.
1157 (tramp-read-passwd): Use `auth-source-search' instead of
1158 `auto-source-user-or-password'.
1159
1160 * net/tramp-imap.el: Autoload `auto-source-search' instead of
1161 `auto-source-user-or-password.
1162 (tramp-imap-passphrase-callback-function): Use it.
1163
1164 * net/imap-hash.el: Autoload `auto-source-search' instead of
1165 `auto-source-user-or-password.
1166 (imap-hash-open-connection): Use it.
1167
1168 * mail/smtpmail.el: Autoload `auto-source-search' instead of
1169 `auto-source-user-or-password.
1170 (smtpmail-try-auth-methods): Use it.
1171
1172 2011-02-12 Phil Hagelberg <phil@hagelb.org>
1173
1174 * emacs-lisp/package.el: Allow packages to be reinstalled.
1175 (package--write-file-no-coding): Remove EXCL arg.
1176 (package-unpack-single): Don't use it.
1177
1178 2011-02-12 Karl Pflästerer <k@rl.pflaesterer.de> (tiny change)
1179
1180 * vc/vc-svn.el: Adapt to Subversion change, with no .svn directory
1181 in each sub directory.
1182 (vc-svn-registered): Use vc-svn-root.
1183 (vc-svn-root): New function. Make vc-svn-responsible-p an alias.
1184 (vc-svn-repository-hostname): Use "svn info".
1185
1186 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1187
1188 * simple.el (delete-trailing-whitespace): New optional buffer
1189 bound parameters.
1190
1191 2011-02-11 Bastien Guerry <bzg@altern.org>
1192
1193 * files.el (basic-save-buffer): save unmodified buffers when
1194 the file pointed by buffer-file-name doesn't exist.
1195
1196 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1197
1198 * net/rcirc.el (rcirc-cmd-join): Accept multiple channels.
1199
1200 2011-02-11 Glenn Morris <rgm@gnu.org>
1201
1202 * emacs-lisp/cl-specs.el (multiple-value-bind): Fix debug spec.
1203
1204 2011-02-11 Juanma Barranquero <lekktu@gmail.com>
1205
1206 * net/rcirc.el (rcirc-send-ctcp): Remove spurious arg to `format'.
1207
1208 2011-02-10 Stefan Monnier <monnier@iro.umontreal.ca>
1209
1210 * server.el (server-process-filter): Use pcase.
1211
1212 * emacs-lisp/smie.el (smie-blink-matching-open): Don't use `pos' in two
1213 conflicting ways.
1214 (smie-indent--parent): Extend to "parent of arg".
1215 (smie-indent-inside-string): New function.
1216 (smie-indent-functions): Use it.
1217
1218 * vc/vc-dir.el (vc-dir-refresh): Reorder operations to try and avoid
1219 bzr locking race condition.
1220
1221 * emacs-lisp/edebug.el (edebug-instrument-function): Check a marker is
1222 still valid before using it.
1223
1224 * progmodes/grep.el (grep-mode-font-lock-keywords): Adjust to
1225 `message' -> `compilation-message' rename (bug#8004).
1226
1227 Move keymap initialization into declaration.
1228 * textmodes/enriched.el (enriched-mode-map):
1229 * textmodes/bib-mode.el (bib-mode-map):
1230 * term/lk201.el (lk201-function-map):
1231 * tar-mode.el (tar-mode-map):
1232 * replace.el (occur-mode-map):
1233 * progmodes/idlwave.el (idlwave-rinfo-mouse-map, idlwave-rinfo-map):
1234 * progmodes/idlw-help.el (idlwave-help-mode-map):
1235 * progmodes/gdb-mi.el (gdb-memory-format-menu, gdb-memory-unit-menu):
1236 * play/solitaire.el (solitaire-mode-map):
1237 * play/snake.el (snake-mode-map, snake-null-map):
1238 * play/pong.el (pong-mode-map):
1239 * play/handwrite.el (menu-bar-handwrite-map):
1240 * play/gametree.el (gametree-mode-map):
1241 * net/rcirc.el (rcirc-mode-map, rcirc-browse-url-map)
1242 (rcirc-multiline-minor-mode-map, rcirc-track-minor-mode-map):
1243 * net/newst-plainview.el (newsticker-menu, newsticker-mode-map)
1244 (newsticker--url-keymap):
1245 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
1246 * menu-bar.el (menu-bar-file-menu, menu-bar-i-search-menu)
1247 (menu-bar-search-menu, menu-bar-replace-menu, menu-bar-goto-menu)
1248 (menu-bar-edit-menu, menu-bar-custom-menu)
1249 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
1250 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
1251 (menu-bar-line-wrapping-menu, menu-bar-options-menu)
1252 (menu-bar-games-menu, menu-bar-encryption-decryption-menu)
1253 (menu-bar-tools-menu, menu-bar-describe-menu)
1254 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
1255 (menu-bar-help-menu):
1256 * mail/rmailsum.el (rmail-summary-mode-map):
1257 * kmacro.el (kmacro-step-edit-map):
1258 * ibuffer.el (ibuffer-mode-groups-popup, ibuffer-mode-map)
1259 (ibuffer-mode-operate-map):
1260 * hi-lock.el (hi-lock-menu, hi-lock-map):
1261 * emulation/vip.el (vip-mode-map):
1262 * emacs-lisp/re-builder.el (reb-lisp-mode-map):
1263 * bookmark.el (bookmark-bmenu-mode-map):
1264 * help-mode.el (help-mode-map): Move initialization into declaration.
1265
1266 2011-02-10 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1267
1268 * net/rcirc.el: Add PRIVMSG and CTCP functions.
1269 (rcirc-send-privmsg, rcirc-send-ctcp): New functions.
1270 (rcirc-keepalive, rcirc-cmd-ctcp, rcirc-ctcp-sender-PING)
1271 (rcirc-cmd-me, rcirc-authenticate): Use them.
1272
1273 2011-02-10 Ken Manheimer <ken.manheimer@gmail.com>
1274
1275 * allout.el: Synopsis: Change allout user configuration so
1276 auto-activation is controlled solely by customization
1277 `allout-auto-activation'.
1278
1279 (allout-auto-activation-helper, allout-setup): New autoloads
1280 implement new custom set procedure for allout-auto-activation.
1281 Also, explicitly invoke
1282 (allout-setup) after allout-auto-activation is custom-defined, to
1283 effect the settings in emacs sessions besides the few where
1284 allout-auto-activation customization is donea.
1285 (allout-auto-activation): Use allout-auto-activation-helper to
1286 :set. Revise the docstring.
1287 (allout-init): Reduce functionality to just customizing
1288 allout-auto-activation, and mark obsolete.
1289 (allout-mode): Respect string values for allout-auto-activation.
1290 Run allout-after-copy-or-kill-hook without any args.
1291 (allout-mode, allout-layout, allout-default-layout)
1292 (outlineify-sticky): Adjust docstring for new scheme.
1293 (allout-after-copy-or-kill-hook): No arguments - hook implementers
1294 should concentrate on the kill ring.
1295
1296 2011-02-09 Teodor Zlatanov <tzz@lifelogs.com>
1297
1298 * password-cache.el (password-cache-remove): Accept secrets that are
1299 not strings.
1300
1301 2011-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
1302
1303 * progmodes/sh-script.el (sh-font-lock-open-heredoc): Fix case
1304 of here-doc that immediately follows a comment.
1305
1306 2011-02-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1307
1308 * net/rcirc.el (rcirc-ctcp-sender-PING): Simplifying.
1309
1310 * net/rcirc.el (rcirc-cmd-ctcp): Use dedicated function when
1311 available.
1312 (rcirc-ctcp-sender-PING): New function.
1313
1314 2011-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
1315
1316 * obsolete/pc-select.el: Rename from emulation/pc-select.el (bug#7940).
1317 Remove the mark/nomark handling, and activate shift-select-mode instead.
1318
1319 * obsolete/pc-mode.el: Rename from emulation/pc-mode.el.
1320
1321 2011-02-07 Jay Belanger <jay.p.belanger@gmail.com>
1322
1323 * calc/calc-units.el (math-logunits-quant): Add support for
1324 non-logarithmic units.
1325
1326 2011-02-07 Ken Manheimer <ken.manheimer@gmail.com>
1327
1328 * allout.el (allout-after-copy-or-kill-hook): New hook for
1329 extension-specific processing of killed text.
1330 (allout-mode): Include new allout-after-copy-or-kill-hook among
1331 mentioned hooks.
1332 (allout-kill-line, allout-kill-topic): Ensure that processing
1333 after kill happens even if barf-if-buffer-read-only is raised.
1334 Include new allout-after-copy-or-kill-hook among that subsequent
1335 processing.
1336 (allout-deannotate-hidden): Actually remove the annotation text
1337 properties.
1338
1339 * allout.el (allout-listify-exposed): Copy text sans text properties.
1340
1341 2011-02-07 Michael Albinus <michael.albinus@gmx.de>
1342
1343 * net/dbus.el (dbus-list-activatable-names): Add optional argument BUS.
1344
1345 2011-02-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1346
1347 * net/rcirc.el (rcirc-handler-317): New function (Bug#6507).
1348
1349 2011-02-06 Jay Belanger <jay.p.belanger@gmail.com>
1350
1351 * calc/calc.el (calc-logunits-field-reference): Rename from
1352 `calc-default-field-reference-level'.
1353 (calc-logunits-power-reference): Rename from
1354 `calc-default-power-reference-level'.
1355
1356 * calc/calc-units.el (math-logunits-quant): Rename from
1357 `math-logunits-level'
1358 (math-logunits-plus): Rename from math-logcombine.
1359 (calcFunc-luplus, calcFunc-luminus calc-luplus, calc-luminus): Remove.
1360 (calcFunc-lufieldadd, calcFunc-lupoweradd, calcFunc-lufieldsub)
1361 (calcFunc-lufieldsub, calc-logunits-add, calc-logunits-sub):
1362 New functions.
1363 (calcFunc-fieldquant): Rename from `calcFunc-fieldlevel'.
1364 (calcFunc-powerquant): Rename from `calcFunc-powerlevel'.
1365 (calc-logunits-quantity): Rename from `calc-level'.
1366 (calcFunc-dbfieldlevel, calcFunc-dbpowerlevel, calcFunc-npfieldlevel)
1367 (calcFunc-nppowerlevel, calc-logunits-dblevel, calc-logunits-nplevel)
1368 (math-logunits-mul, calcFunc-lufieldmul, calcFunc-lupowermul)
1369 (calc-logunits-mul, math-logunits-divide, calcFunc-lufielddiv)
1370 (calcFunc-lupowerdiv, calc-logunits-divide, math-logunits-level):
1371 New functions.
1372
1373 * calc/calc-help.el (calc-u-prefix-help): Remove "L" reference.
1374 (calc-ul-prefix-help): Remove.
1375 (calc-l-prefix-help): New function.
1376 (calc-full-help): Add reference to `calc-l-prefix-help'.
1377
1378 * calc/calc-ext.el (calc-init-extensions): Update autoloads.
1379
1380 * calc/README: Mention logarithmic units.
1381
1382 2011-02-06 Chong Yidong <cyd@stupidchicken.com>
1383
1384 * mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
1385 non-ASCII characters (Bug#7925).
1386
1387 2011-02-05 Glenn Morris <rgm@gnu.org>
1388
1389 * emacs-lisp/cl-macs.el (return-from): Fix doc typo.
1390
1391 * calendar/diary-lib.el (diary-font-lock-keywords):
1392 Tweak diary-time-regexp match. (Bug#7891)
1393
1394 * progmodes/f90.el (f90-find-tag-default): New function. (Bug#7919)
1395 (f90-mode): Use it for mode's `find-tag-default-function' property.
1396
1397 * ibuf-ext.el (ibuffer-filter-disable): Make it work. (Bug#7969)
1398
1399 * faces.el (set-face-attribute): Doc fix. (Bug#2659)
1400
1401 2011-02-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1402
1403 * net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
1404 (Bug#6386).
1405
1406 2011-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
1407
1408 * progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the
1409 font-lock-syntax-table remappings.
1410 (sh-here-doc-markers, sh-here-doc-re): Remove.
1411 (sh-font-lock-close-heredoc): Remove.
1412 (sh-syntax-propertize-here-doc): New function.
1413 (sh-font-lock-open-heredoc): Set the sh-here-doc-marker property
1414 instead of the sh-here-doc-re.
1415 (sh-font-lock-paren): Don't do anything in comments or strings.
1416 Handle line continuations. Accept a few more chars.
1417 Don't rely on the font-lock-syntax-table remappings.
1418 `esac' is not a valid pattern.
1419 (sh-syntax-propertize-function): Handle here-docs differently, so we
1420 don't bother syntax-propertizing the insides.
1421
1422 * progmodes/sh-script.el (sh-font-lock-paren, sh-kw, sh-prev-thing):
1423 Handle new bashisms ";&" and ";;&" (bug#7947).
1424
1425 2011-02-05 Michael Albinus <michael.albinus@gmx.de>
1426
1427 * net/tramp-smb.el (tramp-smb-errors): Use `regexp-opt'.
1428 Add "NT_STATUS_IO_TIMEOUT" and "NT_STATUS_NO_SUCH_USER".
1429
1430 2011-02-05 Era Eriksson <era+tramp@iki.fi> (tiny change)
1431
1432 * net/tramp.el (tramp-postfix-method-format)
1433 (tramp-postfix-method-regexp, tramp-prefix-domain-format)
1434 (tramp-prefix-domain-regexp, tramp-postfix-user-format)
1435 (tramp-postfix-user-regexp, tramp-prefix-port-format)
1436 (tramp-prefix-port-regexp, tramp-postfix-host-format)
1437 (tramp-postfix-host-regexp, tramp-handle-substitute-in-file-name):
1438 Doc fix.
1439
1440 2011-02-04 Sam Steingold <sds@gnu.org>
1441
1442 * mouse.el (mouse-buffer-menu-mode-groups): Add a "GDB" group.
1443
1444 2011-02-04 Andreas Schwab <schwab@linux-m68k.org>
1445
1446 * international/mule-util.el (with-coding-priority): Doc fix.
1447
1448 2011-02-04 Eli Zaretskii <eliz@gnu.org>
1449
1450 * arc-mode.el (archive-mode-map): Fix a typo in last change.
1451
1452 2011-02-03 Sam Steingold <sds@gnu.org>
1453
1454 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1455 Do not error out when `func' is nil.
1456
1457 2011-02-03 Michael Albinus <michael.albinus@gmx.de>
1458
1459 * net/tramp-sh.el (tramp-remote-path): Add default settings for
1460 `tramp-default-remote-path' to the docstring.
1461 (tramp-get-remote-path): Suppress error message when `getconf
1462 PATH' fails.
1463
1464 * net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL".
1465
1466 2011-02-03 Glenn Morris <rgm@gnu.org>
1467
1468 * vc/vc-hg.el (vc-hg-command): Doc fix.
1469
1470 * term/w32-win.el (libpng-version): Declare for compiler.
1471
1472 * msb.el: No need to load dired while compiling.
1473
1474 * emacs-lisp/elint.el (elint-standard-variables):
1475 Remove a couple of built-ins that now have doc-strings.
1476
1477 * hi-lock.el, ps-bdf.el, ps-mule.el, ps-print.el, ps-samp.el:
1478 `require' is automatically `eval-and-compile'd.
1479
1480 * net/rcirc.el (rcirc-nick-completion-format): Add :version tag.
1481 (rcirc-log-directory, rcirc-log-flag): Move definitions before use.
1482
1483 * strokes.el (strokes-fill-current-buffer-with-whitespace):
1484 Move definition before use.
1485 (strokes-report-bug): Make it obsolete.
1486
1487 2011-02-02 Sam Steingold <sds@gnu.org>
1488
1489 * apropos.el (apropos-print): Now that `apropos-mode' inherits
1490 from `special-mode', entering it makes the buffer read-only, so
1491 call it only when everything has been already inserted.
1492 * emacs-lisp/ert.el (ert--setup-results-buffer)
1493 (ert-results-pop-to-backtrace-for-test-at-point)
1494 (ert-results-pop-to-messages-for-test-at-point)
1495 (ert-results-pop-to-timings): Ditto.
1496 * emacs-lisp/package.el (package--list-packages): Ditto.
1497 * play/solitaire.el (solitaire): Ditto.
1498
1499 2011-02-02 Chong Yidong <cyd@stupidchicken.com>
1500
1501 * progmodes/compile.el: Make all faces inherit.
1502 (compilation-warning): Inherit from font-lock-variable-name-face.
1503 (compilation-info): Inherit from font-lock-type-face.
1504 (compilation-line-number): Reassign to font-lock-keyword-face.
1505 (compilation-column-number): Reassign to font-lock-doc-face.
1506 (compilation-leave-directory-face): Reassign to
1507 font-lock-builtin-face.
1508
1509 2011-02-02 Eli Zaretskii <eliz@gnu.org>
1510
1511 * dired.el (dired-insert-directory): Don't invoke `ls' when
1512 ls-lisp.el is used to emulate it.
1513
1514 2011-02-01 Julien Danjou <julien@danjou.info>
1515
1516 * color.el (color-gradient): Add a color-gradient function.
1517
1518 2011-02-01 Sam Steingold <sds@gnu.org>
1519
1520 * simple.el (special-mode-map): Bind "h" to `describe-mode';
1521 bind "z" to `kill-this-buffer'.
1522 (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
1523 * apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
1524 (apropos-mode): Inherit from `special-mode'.
1525 * arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
1526 * bookmark.el (bookmark-bmenu-mode): Define using
1527 `define-derived-mode' inheriting from `special-mode'.
1528 * dired.el (dired-mode-map): Inherit from `special-mode-map'.
1529 * image-mode.el (image-mode-map): Ditto.
1530 * replace.el (occur-mode): Define using
1531 `define-derived-mode' inheriting from `special-mode'.
1532 * tar-mode.el (tar-mode): Inherit from `special-mode'.
1533 * calendar/diary-lib.el (diary-fancy-display-mode):
1534 Inherit from `special-mode-map'.
1535 * emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
1536 Inherit from `special-mode'.
1537 * emacs-lisp/package.el (package-menu-mode-map): Copy from
1538 `special-mode-map'.
1539 (package-menu-mode): Define using `define-derived-mode'
1540 inheriting from `special-mode'.
1541 * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
1542 * net/xesam.el (xesam-mode): Inherit from `special-mode'.
1543 (xesam-mode-map): Define separately.
1544 * play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
1545 * progmodes/compile.el (compilation-minor-mode-map)
1546 (compilation-mode-map): Inherit from `special-mode-map'.
1547 * vc/diff-mode.el (diff-mode-shared-map):
1548 Inherit from `special-mode-map'.
1549 * vc/log-view.el (log-view-mode-map): Add a comment.
1550
1551 2011-02-01 Chong Yidong <cyd@stupidchicken.com>
1552
1553 * custom.el (load-theme): Define return value. Drop use of
1554 unsafep; call custom-theme-load-confirm for non-known-safe themes.
1555 (custom-theme-load-confirm): Scroll in the correct window.
1556 (custom-enabled-themes): Add custom-safe-themes to :set-after.
1557
1558 * cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
1559 checkbox if load-theme fails.
1560
1561 2011-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
1562
1563 * progmodes/compile.el (compilation-next-error): Check there's
1564 a message before using it (bug#7941).
1565
1566 2011-02-01 Jay Belanger <jay.p.belanger@gmail.com>
1567
1568 * calc/calc-mtx.el (math-lud-pivot-check): New function.
1569 (math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
1570 of potential pivots.
1571
1572 2011-01-31 Alan Mackenzie <acm@muc.de>
1573
1574 * progmodes/cc-cmds.el (c-forward-over-illiterals):
1575 Continue parsing if we encounter a naked # (Bug#7595).
1576 (c-beginning-of-statement): Avoid loop in locating the beginning
1577 of a macro. (Not actually committed until 2011-02-20, see above).
1578
1579 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1580
1581 * files.el (copy-directory): Fix arguments to recursive call.
1582
1583 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1584
1585 * files.el (copy-directory): If destination is an existing
1586 directory, copy into a subdirectory there.
1587
1588 2011-01-31 Andreas Schwab <schwab@linux-m68k.org>
1589
1590 * emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
1591 files.
1592
1593 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1594
1595 * image-dired.el (image-dired-mouse-display-image): No-op if no
1596 file is found (Bug#7817).
1597
1598 * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
1599
1600 2011-01-31 Kenichi Handa <handa@m17n.org>
1601
1602 * international/quail.el (quail-keyboard-layout-alist):
1603 Remove superfluous SPC for "pc105-uk" (bug#7927).
1604
1605 2011-01-31 Glenn Morris <rgm@gnu.org>
1606
1607 * msb.el (msb-menu-bar-update-buffers): Update for changed
1608 argument handling of menu-bar-select-frame. (Bug#7902)
1609
1610 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1611
1612 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
1613 to the recursion depth (Bug#7722).
1614
1615 2011-01-31 Roy Liu <carsomyr@gmail.com> (tiny change)
1616
1617 * term/ns-win.el (ns-find-file): Expand ns-input-file with
1618 command-line-default-directory (Bug#7872).
1619
1620 2011-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
1621
1622 * progmodes/compile.el (compilation--flush-directory-cache):
1623 New function, extracted from compilation--remove-properties.
1624 (compilation--remove-properties, compilation--parse-region): Use it.
1625 (compilation--previous-directory): Handle one more case.
1626 (compilation-enable-debug-messages): Remove.
1627 (compilation-parse-errors, compilation--flush-parse): Just remove the
1628 left over debug messages.
1629
1630 2011-01-31 Sam Steingold <sds@gnu.org>
1631
1632 * progmodes/compile.el (compilation-enable-debug-messages):
1633 Add a variable to make the parsing messages introduced in
1634 2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
1635 (compilation-parse-errors, compilation--flush-parse): Use it.
1636
1637 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1638
1639 * net/rcirc.el: New customizable nick completion format. (Bug#6314)
1640 (rcirc-nick-completion-format): New defcustom.
1641 (rcirc-complete): Use it.
1642
1643 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1644
1645 * net/rcirc.el: Clean log filenames (Bug#7933).
1646 (rcirc-log-write): Use convert-standard-filename.
1647 (rcirc-log-filename-function): Documentation updates.
1648
1649 2011-01-30 Jan Djärv <jan.h.d@swipnet.se>
1650
1651 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
1652 Check report-emacs-bug-can-use-osx-open and use that if t.
1653 (report-emacs-bug-can-use-osx-open): New function.
1654 (report-emacs-bug): Rename can-xdg-email to can-insert-mail.
1655 Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
1656
1657 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
1658
1659 * vc/vc-dispatcher.el (vc-set-async-update): New function for
1660 updating Dired or VC-dir buffers after async command completes.
1661
1662 * vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
1663 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
1664
1665 * vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
1666 completions if it exists. Use vc-set-async-update.
1667 (vc-git-pull): Use vc-set-async-update.
1668
1669 * vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
1670 read-shell-command. Use vc-set-async-update.
1671 (vc-hg-merge-branch): Use vc-set-async-update.
1672
1673 2011-01-29 Daiki Ueno <ueno@unixuser.org>
1674
1675 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
1676 Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
1677 (Bug#7931).
1678
1679 2011-01-29 Stefan Monnier <monnier@iro.umontreal.ca>
1680
1681 * progmodes/compile.el: Avoid an N² behavior in grep.
1682 (compilation--previous-directory): New fun.
1683 (compilation--previous-directory-cache): New var.
1684 (compilation--remove-properties): Flush it.
1685 (compilation-directory-properties, compilation-error-properties):
1686 Use the new fun to speed up looking for the current directory.
1687
1688 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
1689
1690 * vc/vc-hg.el (vc-hg-history): New var.
1691 (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
1692 (vc-hg-merge-branch): New function.
1693
1694 * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
1695 the other way around.
1696
1697 * vc/vc-git.el (vc-git-branches, vc-git-pull)
1698 (vc-git-merge-branch): New functions.
1699 (vc-git-history): New var.
1700
1701 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
1702
1703 * vc/vc-dispatcher.el (vc-do-async-command): New function.
1704
1705 * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
1706 vc-do-async-command.
1707
1708 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
1709 Callers changed.
1710
1711 2011-01-28 Leo <sdl.web@gmail.com>
1712
1713 * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
1714 highlighting to the "this function is advised" message.
1715
1716 * help-mode.el (help-mode-finish): Apply highlighting here, to
1717 avoid clobbering by substitute-command-keys (Bug#6304).
1718
1719 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
1720
1721 * woman.el (woman0-roff-buffer): Process roff escape sequences
1722 occurring prior to the first request (Bug#7843).
1723
1724 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1725
1726 * progmodes/compile.el: Don't use font-lock any more.
1727 (compilation-error-regexp-alist-alist): Change handling of makepp
1728 so it preserves the warning/error distinction on subsequent files.
1729 Simplify various rules.
1730 (compilation-directory-properties): Use font-lock-face.
1731 Add a compilation-message property.
1732 (compilation-internal-error-properties): Use font-lock-face.
1733 Don't set the compilation-debug property here.
1734 (compilation--put-prop, compilation--remove-properties)
1735 (compilation--parse-region, compilation--ensure-parse)
1736 (compilation--ensure-parse): New functions.
1737 (compilation-parse-errors): New function, largely inspired of
1738 compilation-mode-font-lock-keywords. Set compilation-debug here.
1739 (compilation--parsed): New var.
1740 (compilation--flush-parse): Use compilation--ensure-parse.
1741 (compilation-start): Don't call font-lock.
1742 (compilation-turn-on-font-lock): Remove.
1743 (compilation-setup): Don't set font-lock-extra-managed-props not change
1744 other font-lock settings, other than keywords.
1745 Don't activate font-lock-mode.
1746 Set change-major-mode-hook and before-change-functions.
1747 (compilation--unsetup): Remove properties and hooks.
1748 (compilation-next-single-property-change): New function.
1749 (compilation-next-error): Use it to parse when needed.
1750 (compile-goto-error): Parse buffer as needed.
1751 (compilation--compat-error-properties): Don't need a dummy `face'
1752 property any more.
1753
1754 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1755
1756 * progmodes/compile.el: Use accessors for clarity and fix omake hack.
1757 (compilation-process-setup-function): Fix docstring's false promises.
1758 (compilation-error-regexp-alist-alist): Catch omake's continuous
1759 recompilation message and avoid reuse of old markers.
1760 (compilation-parse-errors-function): Declare obsolete.
1761 (compilation-buffer-modtime): Remove.
1762 (compilation--make-cdrloc, compilation--loc->col)
1763 (compilation--loc->line, compilation--loc->file-struct)
1764 (compilation--loc->marker, compilation--loc->visited)
1765 (compilation--make-file-struct, compilation--file-struct->file-spec)
1766 (compilation--file-struct->formats)
1767 (compilation--file-struct->loc-tree): New macros. Use them.
1768 (compilation--message): New defstruct. Use them.
1769 (compilation-next-error-function): Don't mess with timestamps to try
1770 and guess when to reparse.
1771
1772 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1773
1774 * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
1775 (tex-old-error-file-name): New function,
1776 extracted from tex-compilation-parse-errors.
1777 (tex-compilation-parse-errors): Remove.
1778 (tex-error-regexp-alist): New var.
1779 (tex-shell): Use it to avoid compilation-parse-errors-function.
1780
1781 * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
1782 (grep-mode-font-lock-keywords): Remove regexp that seems like
1783 a left-over from before we used compile.el.
1784 (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
1785 modifying the buffer within with-silent-modifications.
1786
1787 * progmodes/compile.el: Cleanup text-properties namespace by using
1788 `compilation-message' instead of `message', `compilation-directory'
1789 instead of `directory', and `compilation-debug' instead of `debug'.
1790 (compilation-last-buffer, compilation-parsing-end)
1791 (compilation-error-list, compilation-old-error-list): Move to the
1792 compatibility part of the code.
1793 (compilation-error-properties): If `file' is a function, let it return
1794 a file name.
1795 (compilation-mode-font-lock-keywords): Be more conservative with the
1796 omake "^ *" pattern prefix, to try and minimize the risk of
1797 pathologically slow regexp matching.
1798 (compilation-start): Use inhibit-read-only.
1799 (compilation--unsetup): New function.
1800 (compilation-shell-minor-mode, compilation-minor-mode): Use it.
1801 (compilation-filter): Minor tweaks.
1802 (compilation-next-error-function): Try and avoid abusing variables.
1803 (compilation--flush-file-structure): New fun.
1804 (compilation-fake-loc): Use it to improve behavior when file is reused.
1805 (debug-ignored-errors): Add "Moved past last ...".
1806 (compilation--compat-error-properties)
1807 (compilation--compat-parse-errors): Rename by doubling the "-".
1808
1809 Port features from the previous prolog.el to the new one.
1810 * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
1811 (prolog-program-name, prolog-program-switches, prolog-consult-string)
1812 (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
1813 variable and use a function to compute the value dynamically.
1814 (prolog-prompt-regexp): Add regexp for GNU Prolog.
1815 (prolog-continued-prompt-regexp): Remove, unused.
1816 (prolog-find-value-by-system): Try and use the value of prolog-system
1817 in the *prolog* buffer if it helps.
1818 (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
1819 (prolog-zip-on): ..and check prolog-system and version here instead.
1820 (prolog-inferior-self-insert-command): New command.
1821 (prolog-inferior-mode-map): Use it.
1822 (prolog-inferior-error-regexp-alist): New var.
1823 (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
1824 (prolog-input-filter): Use derived-mode-p.
1825 (prolog-inferior-guess-flavor): New function.
1826 (prolog-ensure-process): Use it. Use make-comint-in-buffer rather than
1827 make-comint to avoid running comint-mode twice.
1828 (prolog-inferior-buffer): New fun.
1829 (prolog-old-process-region, prolog-old-process-file):
1830 Don't call prolog-bsts here...
1831 (prolog-build-prolog-command): ...do it here instead.
1832 (prolog-old-process-region, prolog-old-process-file):
1833 Use compilation-fake-loc and compilation-forget-errors.
1834 (prolog-consult-compile-region): Use bolp.
1835
1836 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
1837
1838 * image-mode.el (image-display-size): Doc fix (Bug#7820).
1839
1840 2011-01-27 Sam Steingold <sds@gnu.org>
1841
1842 * midnight.el (clean-buffer-list-kill-never-buffer-names):
1843 Remove "*server*" which is never created by emacs server.
1844
1845 2011-01-27 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1846
1847 * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
1848 there are some diff switches.
1849
1850 2011-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
1851
1852 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1853 Copy change made to ruby-font-lock-syntactic-keywords.
1854
1855 * htmlfontify.el: Make it obey the font-lock-face text property.
1856 Miscellaneous cleanup such as:
1857 - Don't hide expressions after a closing paren.
1858 - Move initial setq into let.
1859 - Hoist common parts out of ifs.
1860 (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
1861 (hfy-face-at): Use get-text-property instead.
1862 (hfy-prop-invisible-p): Use invisible-p if available.
1863 (htmlfontify-manual): Use \\[...].
1864 (hfy-html-quote-regex): Use [...].
1865 (hfy-combined-face-spec): Simplify.
1866 (hfy-compile-face-map): Don't presume point-min==1.
1867 (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
1868 match end of string.
1869 (hfy-text-p): η-reduce.
1870 (hfy-tags-for-file): Receive cache-hash directly.
1871 (hfy-mark-tag-names): Adjust call.
1872
1873 2011-01-27 Glenn Morris <rgm@gnu.org>
1874
1875 * msb.el (msb-after-load-hooks): Make it an obsolete alias.
1876 (msb-after-load-hook): Remove eval-after-load wackiness.
1877
1878 2011-01-25 Sam Steingold <sds@gnu.org>
1879
1880 * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
1881 literal "diff" (important for windows-nt).
1882
1883 2011-01-25 Glenn Morris <rgm@gnu.org>
1884
1885 * emacs-lisp/copyright.el (copyright-at-end-flag)
1886 (copyright-names-regexp): Add safety properties.
1887 (copyright-year-ranges): New option.
1888 (copyright-find-end): New function, split from copyright-update-year.
1889 (copyright-update-year): Use copyright-find-end.
1890 (copyright-fix-years): Optionally, convert years to ranges.
1891 Handle years continued over comment lines.
1892 Do not mess with the fill-prefix.
1893 Do not call copyright-update.
1894 (copyright-update-directory): Optionally, fix years rather than update.
1895 Skip directories. Find files with only safe local vars.
1896
1897 2011-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
1898
1899 * files.el (file-name-non-special): Only change buffer-file-name after
1900 insert-file-contents if it's `visit'ing the file (bug#7854).
1901
1902 2011-01-25 Chong Yidong <cyd@stupidchicken.com>
1903
1904 * dired.el (dired-revert): Doc fix (Bug#7758).
1905
1906 * simple.el (line-move-visual): Doc fix (Bug#7594).
1907
1908 2011-01-25 Nobuyoshi Nakada <nobu@ruby-lang.org>
1909
1910 * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
1911 here-doc which ends with an underscore.
1912 (ruby-mode-set-encoding): Skip shebang line always.
1913 (ruby-mode-map): Bind C-c C-c to comment-region.
1914 (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
1915 (ruby-forward-sexp): Stop after literal hash key labels.
1916 (ruby-font-lock-syntactic-keywords): Highlight regexp after open
1917 bracket.
1918
1919 2011-01-25 Keitaro Miyazaki <keitaro.miyazaki@gmail.com> (tiny change)
1920
1921 * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
1922 the correct buffer (Bug#7650).
1923
1924 2011-01-25 Glenn Morris <rgm@gnu.org>
1925
1926 * comint.el (comint-mode): Doc fix. (Bug#7897)
1927
1928 * simple.el (do-auto-fill): Give it a doc string.
1929
1930 * button.el (make-text-button): Doc fix. (See bug#7881)
1931
1932 2011-01-24 Stefan Monnier <monnier@iro.umontreal.ca>
1933
1934 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
1935 Don't move backward, so as not to fall in an inf-loop (bug#7736).
1936
1937 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
1938 Handle ?" and friends differently (e.g. don't use backrefs).
1939
1940 2011-01-24 Jay Belanger <jay.p.belanger@gmail.com>
1941
1942 * calc/calc.el (calc-default-power-reference-level)
1943 (calc-default-field-reference-level): New variables.
1944 * calc/calc-units.el (math-standard-units): Add dB and Np.
1945 (math-logunits): New variable.
1946 (math-extract-logunits, math-logcombine, calcFunc-luplus)
1947 (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
1948 (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
1949 New functions.
1950 (math-find-base-units-rec): Add entry for ln(10).
1951 * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
1952 (calc-ul-prefix-help): New function.
1953 * calc/calc-ext.el (calc-init-extensions): Autoload new units
1954 functions. Add keybindings for new units functions.
1955
1956 2011-01-22 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change)
1957
1958 * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
1959 rcirc buffers. (Bug#4940)
1960
1961 2011-01-22 Glenn Morris <rgm@gnu.org>
1962
1963 * emacs-lisp/copyright.el (copyright-find-copyright): New function,
1964 split out from copyright-update-year.
1965 (copyright-update): Don't mess with the GPL version if we don't own the
1966 copyright. Update license regexp, and remove no longer needed
1967 Esperanto stuff.
1968 (copyright-fix-years): Use copyright-find-copyright.
1969
1970 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
1971
1972 * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
1973
1974 2011-01-22 Jari Aalto <jari.aalto@cante.net>
1975
1976 * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
1977 (lm): Rename to landmark.
1978 (lm-test-run): Rename to landmark-test-run.
1979
1980 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
1981
1982 * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
1983 "Case sensitive" menu item.
1984
1985 2011-01-22 Roland McGrath <roland@frob.com>
1986
1987 * comint.el (comint-replace-by-expanded-history-before-point): Fix
1988 expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
1989
1990 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1991
1992 * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
1993
1994 2011-01-22 Jari Aalto <jari.aalto@cante.net>
1995
1996 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
1997 Assume foo(bar) is a manpage reference rather than some unquoted
1998 symbol (bug#7705).
1999
2000 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2001
2002 * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
2003 Suggested by Flo <sensorflo@gmail.com>.
2004
2005 2011-01-22 Glenn Morris <rgm@gnu.org>
2006
2007 * progmodes/compile.el (compilation-error-regexp-alist):
2008 Fix custom type. (Bug#7812)
2009
2010 2011-01-22 Ken Manheimer <ken.manheimer@gmail.com>
2011
2012 * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
2013 allout-number-siblings, in keeping with what obtained due to
2014 (now-defunct) allout-keybindings-list. Ditch repeat binding to
2015 (prefixed) ?i.
2016 (allout-before-change-handler): Better expose spots affected by
2017 undo.
2018
2019 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
2020
2021 * man.el (Man-highlight-references0): Use make-button (Bug#7881).
2022
2023 2011-01-22 Phil Hagelberg <phil@evri.com>
2024
2025 * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
2026 (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
2027 (pcmpl-ssh-config-hosts): New function.
2028 (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
2029 pcmpl-ssh-known-hosts.
2030
2031 2011-01-21 Jay Belanger <jay.p.belanger@gmail.com>
2032
2033 * calc/calc-undo.el (calc-undo): Autoload it.
2034 * calc/calc-ext.el (calc-init-extensions): Remove keybindings
2035 and autoload for `calc-undo'.
2036 * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
2037 * calc/calc-prog.el:
2038 * calc/calc-graph.el:
2039 * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
2040
2041 2011-01-21 Štěpán Němec <stepnem@gmail.com> (tiny change)
2042
2043 * calc/calc-ext.el (calc-init-extensions): Map all `undo'
2044 keybindings to `calc-undo'.
2045
2046 2011-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
2047
2048 Don't mess with *temp*.
2049 * obsolete/spell.el: Move from textmodes/spell.el.
2050 (spell-string):
2051 * term.el (term-read-input-ring):
2052 * startup.el (display-startup-echo-area-message):
2053 * progmodes/antlr-mode.el (antlr-directory-dependencies):
2054 * comint.el (comint-read-input-ring): Use with-temp-buffer.
2055 * international/mule.el (ctext-pre-write-conversion): Don't hardcode
2056 point-min==1.
2057
2058 2011-01-20 Ken Manheimer <ken.manheimer@gmail.com>
2059
2060 * allout.el (allout-institute-keymap): Use fset instead of
2061 reapplying defalias.
2062
2063 (allout-hotspot-key-handler): Check for non-control-modified
2064 bindings for hotspot characters if there are no control-modified
2065 versions.
2066
2067 * allout.el: Summary - migrate to defining allout mode using
2068 define-minor-mode instead of defun. Significantly clean-up
2069 internal keymap provisions, refactoring and, in the process,
2070 removing a lot of accumulated cruft.
2071
2072 allout-mode-map is now a keymap by virtue of being a defalias to
2073 allout-mode-map-value, which contains the actual keymap structure.
2074
2075 (allout-mode): Use define-minor-mode rather than defun.
2076 Remove now-unnecessary minor-mode setup activities from the body.
2077 Specify :keymap as allout-mode-map so the minor-mode-map-alist
2078 entry will be '(allout-mode . allout-mode-map) - see
2079 allout-mode-map-value, below. Adjust docstring to track changes.
2080 (allout-minor-mode): Remove this defalias, now that we're using
2081 define-minor-mode.
2082 (allout-mode-map): Set value to be 'allout-mode-map. The actual
2083 keymap is allout-mode-map-value, via defalias.
2084 (allout-mode-map-value): The variable holding the actual mode
2085 keymap structure, by virtue of defalias from allout-mode-map.
2086 (allout-compose-and-institute-keymap): Rename from
2087 allout-bind-keys, and including the binding-composition
2088 functionality of the former produce-allout-mode-map and
2089 allout-setup-mode-map.
2090 (allout-institute-keymap): Take over the "setup" part of the former
2091 allout-setup-mode-map. Reassign allout-mode-map-value value and
2092 update the defalias.
2093 (allout-command-prefix, allout-prefixed-keybindings)
2094 (allout-unprefixed-keybindings):
2095 Use allout-compose-and-institute-keymap to process the bindings.
2096 (allout-unprefixed-keybindings): Remove extraneous '?' question marks.
2097 (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
2098 user can customize if they want to use that binding.
2099 Bind allout-copy-topic-as-kill to (prefixed) \M-k.
2100 Bind allout-up-current-level to (prefixed) \C-u. (I think i mistakenly
2101 elided that, previously, instead of the one for \C-h.)
2102 (allout-hotspot-key-handler): Remove attempt to resolve the key
2103 through the literal key-string lookup on allout-keybindings-list.
2104 That probably hasn't worked for a Long Time, and removal of
2105 allout-keybindings-list further simplifies the keybindings situation.
2106 (allout-pre-command-business): Use allout-mode-map-value instead
2107 of allout-mode-map.
2108 (allout-preempt-trailing-ctrl-h): Remove. The user can customize
2109 the bindings if they want to use a keybinding having a trailing
2110 \C-h. No deprecation needed since this feature was never in a release.
2111 (allout-keybindings-list): Remove. It's not been useful for a
2112 while. (See allout-hotspot-key-handler changes, above.)
2113 (produce-allout-mode-map): Remove. Consolidate into
2114 allout-compose-and-institute-keymap.
2115 (allout-mode-map-adjustments): Remove. No longer necessary with
2116 removal of allout-preempt-trailing-ctrl-h.
2117 (allout-setup-mode-map): Remove. Consolidate into
2118 allout-compose-and-institute-keymap and allout-institute-keymap.
2119
2120 2011-01-20 Glenn Morris <rgm@gnu.org>
2121
2122 * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
2123
2124 * simple.el (read-expression-history): Remove, it's in minibuf.c.
2125
2126 2011-01-20 Chong Yidong <cyd@stupidchicken.com>
2127
2128 * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
2129
2130 * files.el (find-alternate-file, basic-save-buffer)
2131 (basic-save-buffer-2, revert-buffer, recover-file)
2132 (kill-buffer-ask, abort-if-file-too-large)
2133 (set-visited-file-name, write-file, backup-buffer)
2134 (basic-save-buffer, save-some-buffers):
2135 * dired-aux.el (dired-compress-file): Callers changed.
2136
2137 2011-01-19 Glenn Morris <rgm@gnu.org>
2138
2139 * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
2140 Also check the property status. (Bug#7861)
2141
2142 2011-01-18 Michael Albinus <michael.albinus@gmx.de>
2143
2144 * net/tramp.el (tramp-debug-message): Extend function exclude
2145 list. Use `regexp-opt'.
2146
2147 2011-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
2148
2149 * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
2150 highlighting doesn't spill over subsequent lines.
2151
2152 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
2153 keymap expression. Improve docstring.
2154
2155 * electric.el (electric-indent-post-self-insert-function):
2156 Don't auto-indent for indent-to-left-margin, it's too often
2157 counter-productive.
2158
2159 2011-01-16 Tassilo Horn <tassilo@member.fsf.org>
2160
2161 * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
2162 spaces if the frame was resized, so that the full visible buffer
2163 serves as canvas for strokes.
2164
2165 2011-01-16 Glenn Morris <rgm@gnu.org>
2166
2167 * info-xref.el (info-xref-docstrings): Replace cl function.
2168 Also skip directories.
2169
2170 2011-01-16 Kevin Ryde <user42@zip.com.au>
2171
2172 * info-xref.el: Version 3.
2173 (info-xref-check, info-xref-check-all): Move commentary details
2174 into docstrings for better visibility.
2175 Use compilation-mode for the results buffer.
2176 (info-xref-output, info-xref-output-error, info-xref-with-output)
2177 (info-xref-filename, info-xref-in-progress):
2178 New internals for this.
2179 (info-xref-check-list, info-xref-check-buffer)
2180 (info-xref-check-all-custom): Use those.
2181 (info-xref-output-buffer): Rename from info-xref-results-buffer.
2182 (info-xref-output-heading): Rename from info-xref-filename-heading.
2183 (info-xref-good, info-xref-bad, info-xref-xfile-alist)
2184 (info-xref-filename-heading): Move to output managing section.
2185 (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
2186 (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
2187 (info-xref-subfile-p): Move to generic section with those two.
2188 (info-xref-check-node): New function split from
2189 info-xref-check-buffer, shared by info-xref-docstrings.
2190 (info-xref-goto-node-p): Move to a checking section with that func.
2191 (info-xref-unavail): New counter.
2192 (info-xref-check-node): Use it.
2193 (info-xref-with-output): Show count of unavailables at end of output.
2194 (info-xref-all-info-files): Exclude ".*" dotfiles. Ignore broken
2195 symlinks. Exclude .texi files. Exclude Emacs backup files.
2196 (info-xref-check-all-custom): Fix quietening viper-mode and
2197 gnus-registry-install -- use setq not let so as not to unbind
2198 after load.
2199
2200 2011-01-16 Juri Linkov <juri@jurta.org>
2201
2202 * isearch.el (isearch-abort): Don't quit if search has
2203 an incomplete regexp (isearch-error is non-nil). (Bug#7534)
2204
2205 2011-01-15 Mark Diekhans <markd@soe.ucsc.edu>
2206
2207 * files.el (backup-buffer): Make last-resort backup file in
2208 .emacs.d (Bug#6953).
2209
2210 * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
2211 make it with permission 700.
2212
2213 2011-01-15 Kenichi Handa <handa@m17n.org>
2214
2215 * mail/rmailmm.el (rmail-mime-insert-header):
2216 Set rmail-mime-coding-system to a cons whose car is the last coding
2217 system used to decode the header.
2218 (rmail-mime-find-header-encoding): New function.
2219 (rmail-mime-insert-decoded-text):
2220 Override rmail-mime-coding-system if it is a cons.
2221 (rmail-show-mime): If only a header part was decoded, find the
2222 coding system while ignoring mm-charset-override-alist.
2223
2224 2011-01-15 Chong Yidong <cyd@stupidchicken.com>
2225
2226 * subr.el (event-start, event-end): Doc fix (Bug#7826).
2227
2228 2011-01-15 Kenichi Handa <handa@m17n.org>
2229
2230 * mail/rmailmm.el (rmail-mime-next-item)
2231 (rmail-mime-previous-item): Delete them.
2232 (rmail-mime-shown-mode): Recursively call for children.
2233 (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
2234 Callers changed.
2235 (rmail-mime-raw-mode): Recursively call for children.
2236 (rmail-mode-map): Change mapping of tab and backtab to
2237 forward-button and backward-button respectively.
2238 (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
2239 button.
2240 (rmail-mime-update-tagline): New function.
2241 (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
2242 body display is changed.
2243 (rmail-mime-toggle-button): Rename from rmail-mime-image.
2244 (rmail-mime-image): Delete this button type.
2245 (rmail-mime-toggle): New button type.
2246 (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
2247 body display is changed. Change the save button label to "Save".
2248 Don't process show/hide button here.
2249 (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
2250 the body display is changed. Unconditionally call
2251 rmail-mime-insert for children.
2252 (rmail-mime-handle): Update `display' vector of the just inserted
2253 entity.
2254 (rmail-mime-process): If mail-header-parse-content-type returns
2255 nil, use "text/plain" as the fallback type.
2256 (rmail-mime-insert): For raw-mode, recursively call
2257 rmail-mim-insert for children.
2258 (rmail-mime): Handle the case that the current buffer is not rmail
2259 buffer (e.g. in summary buffer).
2260
2261 2011-01-15 Kenichi Handa <handa@m17n.org>
2262
2263 * mail/rmailmm.el (rmail-mime-next-item)
2264 (rmail-mime-previous-item): Skip the body of a non-multipart
2265 entity if a tagline is shown.
2266
2267 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2268
2269 * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
2270 (tmm-prompt): Simplify.
2271 (tmm-add-prompt): Remove unused var `win'.
2272
2273 * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
2274 to minor mode which used nil accidentally to mean "turn off".
2275
2276 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
2277
2278 * net/tramp-sh.el (tramp-find-inline-compress)
2279 (tramp-get-inline-coding): Quote command after pipe symbol for
2280 local calls under W32. (Bug#6784)
2281
2282 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
2283
2284 * net/tramp.el (tramp-default-method): Initialize with pscp/plink
2285 only when running under W32.
2286
2287 2011-01-15 Eli Zaretskii <eliz@gnu.org>
2288
2289 * progmodes/grep.el (grep-compute-defaults): Quote the program
2290 file name after the pipe symbol in Grep templates. (Bug#6784)
2291 * jka-compr.el (jka-compr-partial-uncompress): Likewise.
2292
2293 2011-01-15 Lennart Borgman <lennart.borgman@gmail.com>
2294
2295 * buff-menu.el (Buffer-menu-buffer-list): New var.
2296 (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
2297 restricted buffer list is not lost on revert (Bug#7749).
2298
2299 2011-01-15 Eric Hanchrow <eric.hanchrow@gmail.com>
2300
2301 * net/ldap.el (ldap-search-internal): Discard stderr output.
2302
2303 2011-01-15 Eli Zaretskii <eliz@gnu.org>
2304
2305 * files.el (directory-abbrev-alist): Doc fix. (Bug#7777)
2306
2307 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2308
2309 * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
2310
2311 2011-01-15 Kenichi Handa <handa@m17n.org>
2312
2313 * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
2314 part as a plain text.
2315 (rmail-mime-process-multipart): Set the default content-type to
2316 nil for unknown multipart subtypes (bug#7651).
2317
2318 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2319
2320 * hexl.el (hexl-mode-old-*): Remove.
2321 (hexl-mode--old-var-vals): New var to replace them.
2322 (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
2323 (hexl-mode, hexl-follow-line, hexl-activate-ruler):
2324 Use them to set local vars (bug#7846).
2325 (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
2326 (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
2327 (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
2328
2329 * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
2330 (smerge-resolve--normalize-re): New var.
2331 (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
2332 (smerge-resolve): Use them.
2333 * newcomment.el (comment-only-p): New function.
2334 (comment-or-uncomment-region): Use it.
2335
2336 2011-01-14 Brent Goodrick <bgoodr@gmail.com> (tiny change)
2337
2338 * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
2339 table, get the value before switching to the output buffer. (Bug#7733)
2340
2341 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2342
2343 * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
2344
2345 2011-01-14 Kim F. Storm <storm@cua.dk>
2346
2347 * emulation/cua-base.el (cua--init-keymaps):
2348 Remap exchange-point-and-mark in cua-global-keymap.
2349
2350 2011-01-14 Tassilo Horn <tassilo@member.fsf.org>
2351
2352 * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
2353 loop keyword.
2354
2355 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2356
2357 * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
2358 Require CL.
2359 (easy-menu-create-menu, easy-menu-convert-item-1):
2360 Use :label rather than nil for labels. Use `case'.
2361 Add :enable as alias for :active.
2362 (easy-menu-binding): Obey :label.
2363
2364 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2365
2366 Use run-mode-hooks for major mode hooks (bug#513).
2367 * textmodes/reftex-toc.el (reftex-toc-mode-map):
2368 Rename from reftex-toc-map.
2369 (reftex-toc-mode): Use define-derived-mode.
2370 * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
2371 (reftex-select-label-mode-map, reftex-select-bib-mode-map):
2372 Rename from reftex-select-(label|bib)-map. Move init into declaration.
2373 (reftex-select-label-mode, reftex-select-bib-mode):
2374 Use define-derived-mode.
2375 * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
2376 (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
2377 Move init into delcaration.
2378 (reftex-index-mode, reftex-index-phrases-mode):
2379 Use define-derived-mode.
2380 * speedbar.el (speedbar-mode-syntax-table): Renaqme from
2381 speedbar-syntax-table. Move init into declaration.
2382 (speedbar-mode-map): Rename from speedbar-key-map.
2383 Move init into declaration.
2384 (speedbar-file-key-map): Move init into declaration.
2385 (speedbar-mode): Use define-derived-mode.
2386 * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
2387 * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
2388 * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
2389 (chart-face-list): Move initialization into declaration.
2390 (chart-mode): Use define-derived-mode.
2391 * calculator.el (calculator-mode-map): Move init into declaration.
2392 (calculator-mode): Use define-derived-mode.
2393
2394 * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
2395 work for nested comments.
2396
2397 * progmodes/prolog.el: Use syntax-propertize. Further code cleanup.
2398 (prolog-use-prolog-tokenizer-flag): Change default when
2399 syntax-propertize can be used.
2400 (prolog-syntax-propertize-function): New var.
2401 (prolog-mode-variables): Move make-local-variable into `set'.
2402 Don't make comment-column local since we don't set it.
2403 Set comment-add (as it was in previous prolog.el). Use dolist.
2404 Set syntax-propertize-function.
2405 (prolog-mode, prolog-inferior-mode):
2406 Call prolog(-inferior)-menu directly, not through the mode-hook.
2407 (prolog-buffer-module, prolog-indent-level)
2408 (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
2409 (prolog-comment-limits, prolog-goto-comment-column):
2410 Use line-(end|beginning)-position.
2411 (prolog-build-prolog-command): Tighten up regexp.
2412 (prolog-consult-compile): Move make-local-variable into `set'.
2413 (prolog-consult-compile-filter, prolog-goto-next-paren)
2414 (prolog-help-on-predicate, prolog-clause-info)
2415 (prolog-mark-predicate): Don't let+setq.
2416 (prolog-indent-line): Use indent-line-to.
2417 Only call prolog-goto-comment-column if necessary.
2418 (prolog-indent-level): Use bobp.
2419 (prolog-first-pos-on-line): Remove, not used any more.
2420 (prolog-in-string-or-comment): Use syntax-ppss if available.
2421 (prolog-help-on-predicate): Use read-string.
2422 (prolog-goto-predicate-info): Simplify.
2423 (prolog-read-predicate): Use `default' rather than `initial'.
2424 (prolog-temporary-file): Use make-temp-file to close a security hole.
2425 (prolog-toggle-sicstus-sd): New command.
2426 (prolog-electric-underscore, prolog-variables-to-anonymous):
2427 Use dynamic-scoping as it was meant.
2428 (prolog-menu): Move menu definitions to top-level.
2429 Use a toggle-button for Sicstus's source debugger.
2430 Change "Code" to the more usual "Prolog", and hence change "Prolog"
2431 to "System".
2432 (prolog-inferior-menu): Reuse prolog-menu's help menu.
2433 Move other menu definition to top-level.
2434
2435 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
2436
2437 * doc-view.el (doc-view-open-text): Use meaningful text buffer
2438 name. Keep original document's directory as default-directory
2439 (bug#6446).
2440 (doc-view-initiate-display): Fall back to normal mode when
2441 doc-view-mode cannot be enabled, also when extracting the document
2442 text into a separate buffer (bug#6446).
2443
2444 * simple.el (shell-command): Don't error out if shell command
2445 buffer contains text with non-nil read-only property when erasing
2446 the buffer.
2447
2448 2011-01-13 Kim F. Storm <storm@cua.dk>
2449
2450 * ido.el (ido-may-cache-directory): Move "too-big" check later.
2451 (ido-next-match, ido-prev-match): Fix stray reordering of matching
2452 items when cycling through the matches.
2453
2454 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
2455
2456 * dired-x.el (dired-omit-verbose): New defcustom that allows
2457 disabling the omit messages.
2458 (dired-omit-expunge): Use it.
2459
2460 2011-01-13 Christian Ohler <ohler@gnu.org>
2461
2462 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
2463
2464 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
2465
2466 * font-lock.el (font-lock-verbose): Default to nil.
2467
2468 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
2469
2470 * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
2471 (compose-mail): New arg RETURN-ACTION.
2472 (compose-mail-other-window, compose-mail-other-frame): Likewise.
2473
2474 * mail/sendmail.el (mail-return-action): New var.
2475 (mail-mode): Make it buffer-local.
2476 (mail-bury): Obey it. Move special Rmail window handling to
2477 rmail-mail-return.
2478 (mail, mail-setup): New arg RETURN-ACTION.
2479 (sendmail-user-agent-compose): Move from simple.el.
2480
2481 * mail/rmail.el (rmail-mail-return): New function.
2482 (rmail-start-mail): Pass it to compose-mail.
2483
2484 2011-01-12 Chong Yidong <cyd@stupidchicken.com>
2485
2486 * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
2487 menus. Add menu item for customize-themes.
2488
2489 * cus-theme.el (customize-themes):
2490 * emacs-lisp/package.el (package--list-packages):
2491 Use switch-to-buffer.
2492
2493 2011-01-11 Johan Bockgård <bojohan@gnu.org>
2494
2495 * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
2496
2497 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
2498
2499 * progmodes/prolog.el: Fix up coding convention and such.
2500 (prolog-indent-width): Use the same default as in
2501 previous prolog.el rather than tab-width which depends on which buffer
2502 is current when the file is loaded.
2503 (prolog-electric-newline-flag): Only enable if electric-indent-mode
2504 is not available.
2505 (prolog-emacs): Remove. Use (featurep 'xemacs) instead.
2506 (prolog-known-systems): Remove.
2507 (prolog-mode-syntax-table, prolog-inferior-mode-map):
2508 Move initialization into declaration.
2509 (prolog-mode-map): Move initialization into declaration.
2510 Remove system-specific mode-map vars, since they referred to the same
2511 keymap anyway.
2512 (prolog-mode-variables): Obey the user's preference w.r.t
2513 adaptive-fill-mode. Prefer symbol-value to `eval'.
2514 (prolog-mode-keybindings-edit): Add compatibility bindings.
2515 (prolog-mode): Use define-derived-mode. Don't handle mercury here.
2516 (mercury-mode-map): New var.
2517 (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
2518 (prolog-ensure-process, prolog-process-insert-string)
2519 (prolog-consult-compile): Use with-current-buffer.
2520 (prolog-guess-fill-prefix): Simplify data flow.
2521 (prolog-replace-in-string): New function to use instead of
2522 replace-in-string.
2523 (prolog-enable-sicstus-sd): Don't abuse `eval'.
2524 (prolog-uncomment-region): Use `uncomment-region' when available.
2525 (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
2526 (prolog-int-to-char, prolog-char-to-int): New functions to use instead
2527 of int-to-char and char-to-int.
2528 (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
2529
2530 2011-01-11 Stefan Bruda <stefan@bruda.ca>
2531
2532 * progmodes/prolog.el: Replace by a whole new file.
2533
2534 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
2535
2536 * subr.el (eval-after-load): Fix timing for features (bug#7769).
2537 (declare-function, undefined, insert-for-yank)
2538 (replace-regexp-in-string): Follow checkdoc's recommendations.
2539
2540 2011-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2541
2542 * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
2543 refreshing the diary buffer.
2544
2545 2011-01-10 Ken Manheimer <ken.manheimer@gmail.com>
2546
2547 * allout.el: Add 2011 to the file copyright.
2548 (allout-encrypt-string): Prevent encryption from adding an extra
2549 newline at the end of the topic body.
2550 (allout-version): Increment to 2.3.
2551
2552 2011-01-10 Michael Albinus <michael.albinus@gmx.de>
2553
2554 * net/dbus.el (dbus-unregister-service): Complete doc.
2555 Fix call of dbus-error signal.
2556 (dbus-register-property): Use `dont-register' keyword.
2557
2558 2011-01-10 Jan Moringen <jan.moringen@uni-bielefeld.de>
2559
2560 * net/dbus.el (dbus-unregister-service): Translate returned
2561 integer into a symbol.
2562 (dbus-register-property): Use `dbus-register-service' to do the
2563 name registration.
2564
2565 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
2566
2567 * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
2568 Suggested by Joakim Verona.
2569
2570 * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
2571
2572 * wid-edit.el (visibility): Replace :on-image and :off-image
2573 widget properties with :on-glyph and :off-glyph, for consistency
2574 with the `visibility' widget.
2575 (widget-toggle-value-create, widget-visibility-value-create):
2576 Merge into a single function `widget-toggle-value-create'.
2577
2578 * cus-edit.el (custom-variable-value-create, custom-visibility)
2579 (custom-face-edit-value-create, custom-face-value-create):
2580 Replace :on-image and :off-image widget properties with :on-glyph and
2581 :off-glyph, for consistency with the `visibility' widget.
2582
2583 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
2584
2585 * net/ldap.el (ldap-search-internal): Don't use eval.
2586
2587 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
2588
2589 * subr.el (read-char-choice): Use read-key.
2590
2591 * custom.el (custom-safe-themes): Rename from
2592 custom-safe-theme-files. Add :risky tag.
2593 (load-theme, custom-theme-load-confirm): Save sha1 hashes to
2594 custom-safe-themes, not filenames. Suggested by Stefan Monnier.
2595
2596 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
2597
2598 * tool-bar.el (tool-bar-setup): Remove Help button. Remove label
2599 from Search and add a label to Undo.
2600
2601 * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
2602 inappropriate buttons and adding :vert-only tags.
2603
2604 * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
2605 removal of Help tool-bar button. Remove Undo button for space.
2606
2607 * info.el (info-tool-bar-map): Add :vert-only tags.
2608
2609 2011-01-08 Tassilo Horn <tassilo@member.fsf.org>
2610
2611 * doc-view.el (doc-view-mode-p): Check for png or imagemagick
2612 image backend support. Either of them is fine.
2613
2614 2011-01-08 Chong Yidong <cyd@stupidchicken.com>
2615
2616 * subr.el (y-or-n-p): Doc fix.
2617
2618 * custom.el (custom-safe-theme-files): New defcustom.
2619 (custom-theme-load-confirm): New function.
2620 (load-theme): Load theme using `load', confirming with
2621 custom-theme-load-confirm if necessary.
2622
2623 * subr.el (read-char-choice): New function, factored out from
2624 dired-query and hack-local-variables-confirm.
2625
2626 * dired-aux.el (dired-query):
2627 * files.el (hack-local-variables-confirm): Use it.
2628
2629 * dired-aux.el (dired-compress-file):
2630 * files.el (abort-if-file-too-large, find-alternate-file)
2631 (set-visited-file-name, write-file, backup-buffer)
2632 (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
2633 (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
2634 Use new format string args for y-or-n-p and yes-or-no-p.
2635
2636 2011-01-08 Andreas Schwab <schwab@linux-m68k.org>
2637
2638 * progmodes/compile.el (compilation-error-regexp-alist-alist)
2639 [gcc-include]: Tighten file name match, add match for column
2640 number. (Bug#7806)
2641 [gnu]: Remove unused group.
2642
2643 2011-01-08 Glenn Morris <rgm@gnu.org>
2644
2645 * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
2646
2647 * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
2648
2649 2011-01-07 Sam Steingold <sds@gnu.org>
2650
2651 * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
2652 the `explicit-shell-file-name' because that is the
2653 non-interactive shell.
2654
2655 2011-01-07 Chong Yidong <cyd@stupidchicken.com>
2656
2657 * subr.el (y-or-n-p): Accept format string args.
2658
2659 2011-01-07 Glenn Morris <rgm@gnu.org>
2660
2661 * Makefile.in (EMACSOPT): Add --no-site-lisp.
2662
2663 2011-01-06 Ken Manheimer <ken.manheimer@gmail.com>
2664
2665 * allout.el (allout-back-to-current-heading): Ensure return to
2666 the visible containing topic, rather than a collapsed one.
2667 (allout-view-change-hook): Remove hook that was deprecated long ago.
2668 (allout-exposure-change-hook): Remove documentation remarks
2669 concerning removed allout-view-change-hook.
2670 (allout-flag-region): Remove invocation of and documentation
2671 remarks concerning allout-view-change-hook.
2672
2673 2011-01-06 Glenn Morris <rgm@gnu.org>
2674
2675 * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
2676 (vc-bzr-annotate-extract-revision-at-line):
2677 Handle authors with embedded spaces. (Bug#7792)
2678
2679 2011-01-05 Tassilo Horn <tassilo@member.fsf.org>
2680
2681 * doc-view.el (doc-view-image-width): New variable.
2682 (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
2683 backend for PNG images, and do dynamic rescaling instead of
2684 reconverting the whole doc.
2685
2686 2011-01-05 Glenn Morris <rgm@gnu.org>
2687
2688 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
2689
2690 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
2691
2692 * allout.el: Reconcile with changes in line movement behavior for
2693 long text lines that cross more than a single physical window
2694 line, ie when truncate-lines is nil.
2695 (allout-next-visible-heading): Provide for change in line-move
2696 behavior on long lines when truncate-lines is nil. In that case,
2697 line-move can wind up on the same textual line when it moves to
2698 the next window line, and moving to the bullet position after the
2699 move yields zero advancement. Add logic to detect and compensate
2700 for the lack of progress.
2701 (allout-current-topic-collapsed-p): move-end-of-line respect for
2702 field boundaries is different when operating with body lines
2703 shorter than window width versus ones greater than window width,
2704 which can yield false negatives in this function. Avoid
2705 difference by applying move-end-of-line while field-text-motion is
2706 inhibited.
2707
2708 2011-01-04 Glenn Morris <rgm@gnu.org>
2709
2710 * textmodes/rst.el (rst-compile-toolsets):
2711 Add pdf and s5 to option alist.
2712
2713 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
2714
2715 * net/dbus.el (dbus-register-property): Add optional parameter
2716 dont-register-service. Updated docstring accordingly.
2717
2718 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
2719
2720 * textmodes/rst.el (rst-compile-pdf-preview)
2721 (rst-compile-slides-preview): Remove extra line.
2722
2723 2011-01-04 Glenn Morris <rgm@gnu.org>
2724
2725 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
2726 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
2727 default to `prog' without a .py extension.
2728 (rst-compile-pdf-preview, rst-compile-slides-preview):
2729 Use program names from rst-compile-toolsets, rather than hard-coding.
2730 (rst-portable-mark-active-p): Fix presumed typo.
2731
2732 2011-01-02 Eli Zaretskii <eliz@gnu.org>
2733
2734 * term/w32-win.el (dynamic-library-alist): Set up correctly for
2735 libpng versions both before and after 1.4.0. (Bug#7716)
2736
2737 2011-01-02 Eli Zaretskii <eliz@gnu.org>
2738
2739 * time.el (display-time-mode): Mention display-time-interval in
2740 the doc string. (Bug#7713)
2741
2742 2011-01-02 Kenichi Handa <handa@m17n.org>
2743
2744 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
2745 condition-case and return an error message string if something
2746 goes wrong.
2747 (rmail-show-mime): Adjust for the above change. Insert the
2748 header by rmail-mime-insert-header.
2749
2750 2011-01-02 Kenichi Handa <handa@m17n.org>
2751
2752 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
2753 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
2754 (rmail-mime-mbox-buffer)
2755 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
2756 (rmail-mime-entity): Argument changed. All codes handling an
2757 entity object are changed.
2758 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
2759 the above change.
2760 (rmail-mime-entity-children, rmail-mime-entity-handler)
2761 (rmail-mime-entity-tagline): New functions.
2762 (rmail-mime-message-p): New function.
2763 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
2764 (rmail-mime-entity-segment, rmail-mime-next-item)
2765 (rmail-mime-previous-item, rmail-mime-shown-mode)
2766 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
2767 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
2768 (rmail-mime-insert-tagline, rmail-mime-insert-header):
2769 New functions.
2770 (rmail-mime-text-handler): Call rmail-mime-insert-text.
2771 (rmail-mime-insert-decoded-text): New function.
2772 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
2773 (rmail-mime-insert-image): Argument changed. Caller changed.
2774 (rmail-mime-image): Call rmail-mime-toggle-hidden.
2775 (rmail-mime-set-bulk-data): New function.
2776 (rmail-mime-insert-bulk): Argument changed.
2777 (rmail-mime-multipart-handler): Return t.
2778 (rmail-mime-process-multipart): Argument changed.
2779 Handle "multipart/alternative" here.
2780 (rmail-mime-process): Argument changed.
2781 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
2782 (rmail-mime-insert): Argument changed. Handle raw display mode.
2783 (rmail-mime): Argument changed. Handle toggling of raw display
2784 mode.
2785 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
2786 rmail-mime-view-buffer.
2787 (rmail-insert-mime-forwarded-message): Likewise.
2788 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
2789
2790 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
2791 non-nil, handle the header in rmail-show-mime-function.
2792
2793 2011-01-02 Leo <sdl.web@gmail.com>
2794
2795 * help-fns.el (describe-variable): Fix previous change.
2796
2797 2011-01-02 Juri Linkov <juri@jurta.org>
2798
2799 * isearch.el (isearch-lazy-highlight-error): New variable.
2800 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
2801 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
2802 to the current value of `isearch-error' (Bug#7468).
2803
2804 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
2805
2806 * help-fns.el (describe-variable): Don't emit trailing whitespace
2807 (Bug#7511).
2808
2809 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
2810
2811 * textmodes/rst.el (rst-compile-pdf-preview)
2812 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
2813
2814 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
2815
2816 * emulation/edt-mapper.el: Override mapping of function keys so
2817 that the later call to read-key-sequence works.
2818
2819 2011-01-02 Eli Zaretskii <eliz@gnu.org>
2820
2821 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
2822 Unix EOLs. (Bug#7589)
2823
2824 2011-01-02 Leo <sdl.web@gmail.com>
2825
2826 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
2827 if point is not behind eshell-last-output-end (Bug#7585).
2828
2829 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
2830
2831 * files.el (file-local-variables-alist):
2832 Make permanent-local (bug#7767).
2833
2834 2011-01-02 Glenn Morris <rgm@gnu.org>
2835
2836 * version.el (emacs-copyright): Set short copyright year to 2011.
2837
2838 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
2839
2840 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
2841 an existing temp buffer. (Bug#7746)
2842
2843 2011-01-02 Glenn Morris <rgm@gnu.org>
2844
2845 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
2846 multiple addresses. (Bug#7760)
2847
2848 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
2849
2850 * allout.el (allout-auto-fill): Do not infinitely recurse - use
2851 do-auto-fill if everything points back to allout-auto-fill.
2852 (allout-mode-deactivate-hook): Declare obsolete, in favor of
2853 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
2854
2855 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
2856
2857 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
2858 and "scpx".
2859
2860 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2861
2862 * doc-view.el (doc-view-set-doc-type): New function refactored
2863 from doc-view-mode.
2864 (doc-view-fallback-mode): New function.
2865 (doc-view-mode): Use it.
2866 (doc-view-mode-maybe): New function that checks if doc-view-mode
2867 can be used and falls back to the next best mode otherwise.
2868
2869 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
2870 DVI, OpenDocument, and MS Office files.
2871
2872 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
2873
2874 * emacs-lisp/rx.el (rx-syntax): Fix typo.
2875
2876 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2877
2878 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
2879 on a copy of auto-mode-alist, because that deletes with side
2880 effects.
2881
2882 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2883
2884 * doc-view.el (doc-view-mode, doc-view-toggle-display):
2885 Use normal-mode without doc-view-mode bindings in auto-mode-alist as
2886 fallback instead of hard coding fundamental mode.
2887
2888 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2889
2890 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
2891 Office) files also for searching.
2892
2893 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2894
2895 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
2896 Office) files. Not yet enabled via auto-mode-list.
2897 (doc-view-unoconv-program): New custom variable.
2898 (doc-view-mode-p): Handle new odf document type.
2899 (doc-view-odf->pdf): New conversion function.
2900 (doc-view-convert-current-doc): Call it for odf files.
2901 (doc-view-mode): Recognize newly supported file extensions.
2902
2903 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
2904
2905 * net/tramp.el (tramp-default-method-alist)
2906 (tramp-default-user-alist)
2907 (tramp-local-host-regexp, tramp-prefix-domain-format)
2908 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
2909
2910 * net/tramp-ftp.el:
2911 * net/tramp-gvfs.el:
2912 * net/tramp-gw.el:
2913 * net/tramp-imap.el:
2914 * net/tramp-sh.el:
2915 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
2916 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
2917
2918 2010-12-29 Karl Fogel <kfogel@red-bean.com>
2919
2920 * saveplace.el (save-place-alist-to-file): Save list sorted and
2921 pretty-printed, so that it is mergeable by line-based text merging,
2922 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
2923
2924 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
2925
2926 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
2927 (allout-mode): Argument "toggle" => "force".
2928 Refine the docstring.
2929 Remove special provisions for reactivation, besides the 'force'
2930 argument.
2931 Consolidate layout provisions coce directly into the activation
2932 condition branch, now that we've removed those provisions.
2933 (allout-unload-function): Explicitly activate the mode before
2934 deactivating, if it's initially deactivated.
2935 (allout-set-buffer-multibyte): Properly prevent byte-compiler
2936 warnings for version of function used only where
2937 set-buffer-multibyte is unavailable.
2938
2939 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
2940
2941 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
2942 are handled by the menu-bar entries. As before, don't use
2943 :visibile to avoid changing the tool-bar.
2944
2945 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
2946
2947 * net/secrets.el (secrets-delete-alias): New defun.
2948
2949 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
2950
2951 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
2952 methods, otherwise ~/.ssh/config would be ignored.
2953
2954 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
2955
2956 * emacs-lisp/rx.el: Make it a superset of sregex.
2957 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
2958 of args, add `regex' alias.
2959 (rx-info): Add arg to distinguish head and standalone forms.
2960 (rx-check, rx-form): Pass the corresponding arg.
2961 (rx-**): Simplify.
2962 (rx-repeat): Make it work for any number of args.
2963 (rx-syntax): Make it accept syntax chars as is.
2964 * obsolete/sregex.el: Move from emacs-lisp/.
2965 * emacs-lisp/re-builder.el: Remove sregex support.
2966 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
2967
2968 2010-12-25 Eli Zaretskii <eliz@gnu.org>
2969
2970 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
2971 PRIMARY first, then the clipboard. (Bug#7699)
2972
2973 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
2974
2975 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
2976 print-number-table.
2977
2978 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
2979
2980 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
2981 .emacs.elc (Bug#7530).
2982
2983 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
2984 image spec (Bug#7480).
2985
2986 2010-12-21 Daiki Ueno <ueno@unixuser.org>
2987
2988 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
2989 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
2990 Move from lisp/.
2991
2992 2010-12-20 Leo <sdl.web@gmail.com>
2993
2994 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
2995 always be performed (Bug#7680).
2996
2997 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
2998
2999 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
3000 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
3001 mouse-region-match.
3002
3003 * color.el: Move from gnus/.
3004
3005 * vc/diff.el (diff-better-file-name): Function deleted.
3006 abbreviating file names causes problems with shell-quote-argument.
3007 (diff-no-select): Just use expand-file-name.
3008
3009 * tool-bar.el (tool-bar--image-expression): New function.
3010 (tool-bar-local-item, tool-bar--image-exp): Use it.
3011 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
3012 Use :enable instead of :visible to avoid changing the tool-bar
3013 configuration unnecessarily.
3014
3015 * info.el (info-tool-bar-map): Add separators.
3016
3017 2010-12-17 Ken Brown <kbrown@cornell.edu>
3018
3019 * loadup.el: Use version numbers in Cygwin build.
3020
3021 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
3022
3023 * ido.el (ido-file-internal): Ask for confirmation before
3024 overwriting an existing file (Bug#1238).
3025
3026 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
3027
3028 * tool-bar.el (tool-bar-setup): Add separators.
3029
3030 * menu-bar.el (featurep): Use menu-bar-separator.
3031
3032 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
3033
3034 Migrate allout encryption provisions from pgg to epg.
3035
3036 * allout.el (allout-toggle-current-subtree-encryption)
3037 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
3038 defaulting policy and other changes. Change fetch-pass to keymode-cue,
3039 for simpler universal argument interpretation.
3040 (allout-toggle-subtree-encryption): Adjust docstring to describe
3041 changed encryption provisions. Change fetch-pass to keymode-cue, for
3042 simpler universal argument interpretation. Remove provisions for
3043 handling key type and identity - they'll all be within
3044 allout-encrypt-string or epg/epg or even contained all the way in gpg.
3045 (allout-encrypt-string): Include keymode-cue, for optionally prompting
3046 for keypair recipients (universal argument > 1) and, in addition,
3047 associating the specified recipients with the outline (universal
3048 argument > 4) using a file local variable setting for
3049 'epa-file-encrypt-to'.
3050 Require epa, for recipients handling.
3051 Change how regexp filtering elements are named.
3052 Describe the problem with caching of incorrect symmetric-decryption
3053 keys.
3054 Use the epa-passphrase-callback-function, in case the user is using
3055 GnuPG v1.
3056 Support saving of the selected keypair recipients when invoked with a
3057 keymode-cue > 4.
3058 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
3059 Require 'epa.
3060 Establish epg-context with armoring and default epg-protocol.
3061 Remove all passphrase cache, verification, and hinting code.
3062 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
3063 No longer used, delete.
3064 (allout-mode): Adjust docstring to describe changed encryption
3065 provisions. Describe the problem with caching of incorrect
3066 symmetric-decryption keys.
3067 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
3068 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
3069 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
3070 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
3071 Obsolete, remove.
3072
3073 2010-12-16 Daiki Ueno <ueno@unixuser.org>
3074
3075 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
3076 key selection prompt; make 'silent as default (Bug#7487).
3077
3078 2010-12-16 Leo <sdl.web@gmail.com>
3079
3080 * eshell/eshell.el (eshell-directory-name):
3081 Use locate-user-emacs-file (Bug#7578).
3082
3083 2010-12-15 Glenn Morris <rgm@gnu.org>
3084
3085 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
3086
3087 2010-12-15 Jari Aalto <jari.aalto@cante.net>
3088 Scott Evans <gse@antisleep.com>
3089
3090 * rect.el (rectange--default-line-number-format)
3091 (rectangle-number-line-callback): New functions.
3092 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
3093
3094 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
3095
3096 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
3097 Delete unused variables.
3098 (move-to-column-force): Remove function obsolete since 21.2.
3099
3100 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
3101
3102 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
3103 (tramp-handle-insert-file-contents): Do not set permanent-local
3104 property.
3105
3106 * net/tramp-cache.el (tramp-persistency-file-name):
3107 Use `locate-user-emacs-file' if fboundp.
3108
3109 * net/tramp-sh.el (tramp-methods): Add "ksu".
3110 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
3111 method list.
3112
3113 2010-12-14 Glenn Morris <rgm@gnu.org>
3114
3115 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
3116 (find-tag-marker-ring): Declare.
3117 (js-find-symbol): Require etags.
3118
3119 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
3120 Require mail-utils.
3121 (mail-alias-file): Don't autoload. Doc fix.
3122 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
3123 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
3124 Mark as obsolete, and risky.
3125 (mail-setup): Simplify.
3126
3127 * mail/mailalias.el (build-mail-aliases): Make it interactive.
3128 * mail/sendmail.el (build-mail-aliases): Update autoload.
3129
3130 * dired.el (dired-trivial-filenames, dired-chown-program)
3131 (dired-auto-revert-buffer): Remove autoload cookies.
3132 * mail/sendmail.el (mail-recover-1): Require 'dired.
3133
3134 * dired.el (dired-subdir-switches, dired-chown-program)
3135 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
3136 Make into defcustoms.
3137 (dired-chown-program): Simplify initialization.
3138
3139 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
3140
3141 2010-12-13 Romain Francoise <romain@orebokech.com>
3142
3143 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
3144
3145 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3146
3147 * net/netrc.el (netrc-point-at-eol): Remove the unused
3148 netrc-point-at-old and netrc-bound-and-true-p bindings.
3149 (netrc-parse): Cache the netrc contents.
3150
3151 2010-12-13 Eli Zaretskii <eliz@gnu.org>
3152
3153 * subr.el (posn-col-row): Evaluate header-line-format in the
3154 context of the POSITION window's buffer.
3155
3156 2010-12-13 Glenn Morris <rgm@gnu.org>
3157
3158 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
3159 (with-silent-modifications): Doc fixes.
3160
3161 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
3162
3163 * net/tramp.el (tramp-action-password, tramp-process-actions):
3164 Revert previous from. Use `save-restriction'.
3165
3166 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
3167
3168 * calendar/diary-lib.el (diary-list-sexp-entries):
3169 Handle case of no newline at end of file. (Bug#7536)
3170
3171 2010-12-13 Glenn Morris <rgm@gnu.org>
3172
3173 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
3174
3175 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
3176
3177 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
3178 (tramp-process-actions): Do not widen.
3179
3180 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3181 Protect buffer-modified value. (Bug#7557)
3182
3183 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
3184
3185 * log-edit.el (log-edit-changelog-entries):
3186 Regexp quote filename. (Bug#7505)
3187
3188 2010-12-13 Tom Breton <tehom@panix.com>
3189
3190 * cus-edit.el (custom-save-all):
3191 Bind print-length and print-level to nil. (Bug#7581)
3192
3193 2010-12-13 Glenn Morris <rgm@gnu.org>
3194
3195 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
3196 Run hooks to update menu contents. (Bug#7586)
3197
3198 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
3199 file names, for the sake of MS Windows. (Bug#7588)
3200
3201 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3202
3203 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
3204 empty lines without a leading space.
3205
3206 2010-12-13 Leo <sdl.web@gmail.com>
3207
3208 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
3209 while mapping over marks (Bug#6810).
3210
3211 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
3212
3213 * image-dired.el (image-dired-db-file)
3214 (image-dired-temp-image-file, image-dired-gallery-dir)
3215 (image-dired-temp-rotate-image-file): Set default values relative
3216 to image-dired-dir (Bug#7518).
3217
3218 2010-12-13 Lawrence Mitchell <wence@gmx.li>
3219
3220 * format.el (format-decode-run-method): Pass args FROM and TO, not
3221 point-min and point-max, to shell-command-on-region (Bug#7488).
3222
3223 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
3224
3225 * frame.el (blink-cursor-mode): Make default t for ns.
3226
3227 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
3228
3229 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
3230
3231 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
3232
3233 * comint.el (comint-dynamic-list-input-ring)
3234 (comint-dynamic-complete-filename)
3235 (comint-replace-by-expanded-filename)
3236 (comint-dynamic-simple-complete)
3237 (comint-dynamic-list-filename-completions)
3238 (comint-dynamic-list-completions): Doc fix (Bug#7499).
3239
3240 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
3241 Doc fix (Bug#7471).
3242
3243 2010-12-13 Martin Rudalics <rudalics@gmx.at>
3244
3245 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
3246 (Bug#7533).
3247
3248 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
3249
3250 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
3251 (Bug#7491).
3252
3253 2010-12-13 Eli Zaretskii <eliz@gnu.org>
3254
3255 * files.el (file-relative-name): Handle UNC file names on
3256 DOS/Windows. (Bug#4674)
3257
3258 2010-12-13 Daiki Ueno <ueno@unixuser.org>
3259
3260 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
3261 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
3262 (epg-context-set-passphrase-callback): Mention that the callback
3263 is not called when used with GnuPG 2.x.
3264
3265 2010-12-13 Glenn Morris <rgm@gnu.org>
3266
3267 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
3268 Ensure ps-footer-font-size-internal is initialized.
3269 Call ps-get-page-dimensions before trying to use ps-font-for-text.
3270
3271 2010-12-13 Kenichi Handa <handa@m17n.org>
3272
3273 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
3274 within condition-case.
3275 (rmail-show-mime): Don't use condition-case.
3276 (rmail-search-mime-message): New function.
3277 (rmail-search-mime-message-function): Set to
3278 rmail-search-mime-message.
3279
3280 2010-12-13 Leo <sdl.web@gmail.com>
3281
3282 * ido.el (ido-common-initialization): New function. (bug#3274)
3283 (ido-mode): Use it.
3284 (ido-completing-read): Call it.
3285
3286 2010-12-12 Karl Fogel <kfogel@red-bean.com>
3287
3288 * bookmark.el (bookmark-name-from-full-record): Rename back to
3289 this original name from `bookmark-name-from-record' reverting part
3290 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
3291 As Drew Adams pointed out, there was no reason to cause churn for
3292 third-party callers. (Bug#7609)
3293
3294 2010-12-12 Alan Mackenzie <acm@muc.de>
3295
3296 * progmodes/cc-engine.el (c-forward-type): Before scanning a
3297 template arglist, check that the current language supports this.
3298
3299 2010-12-11 Glenn Morris <rgm@gnu.org>
3300
3301 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
3302 state of the file matches. (Bug#7544)
3303 (vc-bzr-register, vc-bzr-checkin)
3304 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
3305 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
3306
3307 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
3308
3309 2010-12-11 Karel Klíč <kklic@redhat.com>
3310
3311 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
3312
3313 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3314
3315 Derive from prog-mode, use derived-mode-p, and fix up various
3316 minor style issues in lisp/progmodes.
3317
3318 * progmodes/vhdl-mode.el (vhdl-mode):
3319 * progmodes/verilog-mode.el (verilog-mode):
3320 * progmodes/vera-mode.el (vera-mode):
3321 * progmodes/sql.el (sql-mode):
3322 * progmodes/scheme.el (scheme-mode):
3323 * progmodes/perl-mode.el (perl-mode):
3324 * progmodes/octave-inf.el (inferior-octave-mode):
3325 * progmodes/autoconf.el (autoconf-mode):
3326 * progmodes/m4-mode.el (m4-mode):
3327 * progmodes/inf-lisp.el (inferior-lisp-mode):
3328 * progmodes/idlwave.el (idlwave-mode):
3329 * progmodes/icon.el (icon-mode):
3330 * progmodes/idlw-help.el (idlwave-help-mode):
3331 * progmodes/dcl-mode.el (dcl-mode):
3332 * progmodes/idlw-shell.el (idlwave-shell-mode):
3333 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
3334 (ebrowse-member-mode, ebrowse-electric-position-mode):
3335 Use define-derived-mode.
3336
3337 * progmodes/xscheme.el (exit-scheme-interaction-mode)
3338 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
3339 (xscheme-debugger-mode-p, xscheme-send-string-1):
3340 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
3341 (tcl-load-file, tcl-restart-with-file):
3342 * progmodes/ps-mode.el (ps-run-running):
3343 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
3344 * progmodes/js.el (js--get-all-known-symbols):
3345 * progmodes/inf-lisp.el (inferior-lisp-proc):
3346 * progmodes/idlwave.el (idlwave-beginning-of-statement)
3347 (idlwave-template, idlwave-update-buffer-routine-info)
3348 (idlwave-update-current-buffer-info)
3349 (idlwave-get-routine-info-from-buffers, idlwave-choose)
3350 (idlwave-scan-class-info, idlwave-fix-keywords)
3351 (idlwave-list-buffer-load-path-shadows):
3352 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
3353 (idlwave-toolbar-remove):
3354 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
3355 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
3356 (idlwave-shell-menu-def):
3357 * progmodes/idlw-complete-structtag.el
3358 (idlwave-prepare-structure-tag-completion):
3359 * progmodes/gud.el (gud-set-buffer):
3360 * progmodes/f90.el (f90-backslash-not-special):
3361 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
3362
3363 * progmodes/xscheme.el (xscheme-start)
3364 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
3365 * progmodes/which-func.el (which-function):
3366 * progmodes/vhdl-mode.el (vhdl-set-style):
3367 * progmodes/verilog-mode.el (verilog-set-compile-command)
3368 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
3369 (verilog-set-define, verilog-auto-reeval-locals):
3370 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
3371 * progmodes/simula.el (simula-mode):
3372 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
3373 * progmodes/python.el (python-check, python-mode):
3374 * progmodes/prolog.el (prolog-mode-variables):
3375 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
3376 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
3377 * progmodes/delphi.el (delphi-mode):
3378 * progmodes/cc-styles.el (c-setup-paragraph-variables):
3379 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
3380 (c-font-lock-init): Move make-local-variable to their setq.
3381
3382 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
3383 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
3384 make-local-hook.
3385 * progmodes/sh-script.el (sh-require-final-newline): Remove.
3386 (sh-set-shell): Don't set require-final-newline since it's already done
3387 by prog-mode.
3388 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
3389 since we never set it.
3390 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
3391 Use read-string and standard prompt.
3392 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
3393 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
3394 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
3395 (meta-common-mode-map): Rename from meta-mode-map.
3396 Remove C-m binding, which is a user preference, not mode specific.
3397 (meta-common-mode): New major mode; replace meta-common-initialization.
3398 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
3399 around with font-lock.
3400 * progmodes/etags.el (select-tags-table-mode):
3401 Derive from special-mode.
3402 * progmodes/octave-mod.el (octave-mode):
3403 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
3404 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
3405 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
3406 Let define-derived-mode do its job.
3407 * progmodes/cpp.el (cpp-edit-mode-map):
3408 Move initialization into declaration.
3409 (cpp-edit-mode): Use define-derived-mode.
3410 (cpp-edit-load): Use derived-mode-p.
3411 * progmodes/mixal-mode.el (mixal-mode):
3412 * progmodes/f90.el (f90-mode):
3413 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
3414 require-final-newline since prog-mode does it already.
3415 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
3416 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
3417 * progmodes/antlr-mode.el: Require cc-mode upfront.
3418 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
3419 the declaration.
3420 (antlr-directory-dependencies, antlr-show-makefile-rules):
3421 Use derived-mode-p.
3422 (antlr-language-option): Don't assume point-min==1.
3423 (antlr-mode): Use define-derived-mode.
3424 * progmodes/ada-mode.el: Use derived-mode-p.
3425 (ada-mode): Use define-derived-mode.
3426 Use hack-local-variables-hook.
3427
3428 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3429
3430 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
3431 (texinfo-mode): Don't disable adaptive-fill-mode.
3432 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
3433 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
3434 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
3435 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
3436 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
3437 (texinfo-insert-@quotation, texinfo-insert-@samp)
3438 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
3439 (texinfo-insert-@uref): Use define-skeleton.
3440 (texinfo-insert-@-with-arg): Delete.
3441
3442 2010-12-10 Eli Zaretskii <eliz@gnu.org>
3443
3444 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
3445 nil, do quote archive member names. (Bug#6144)
3446
3447 2010-12-10 Glenn Morris <rgm@gnu.org>
3448
3449 * files.el (diff-no-select): Declare.
3450
3451 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
3452 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
3453
3454 * comint.el (comint-input-ring-file-name): Doc fix.
3455
3456 2010-12-09 Eli Zaretskii <eliz@gnu.org>
3457
3458 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
3459 New functions.
3460 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
3461 Use them instead of `nil' and `>', respectively.
3462 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
3463 instead of `nil'.
3464 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
3465 and menu-bar-positive-p instead of `nil' and `>', respectively.
3466 (Bug#1077)
3467
3468 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3469
3470 * whitespace.el (whitespace-newline-mode): Code fix.
3471
3472 2010-12-09 Glenn Morris <rgm@gnu.org>
3473
3474 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
3475 Rename functions without commas, update callers.
3476
3477 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
3478
3479 * whitespace.el (whitespace-cleanup-region):
3480 Clean up spaces before tabs. (Bug#7582)
3481
3482 2010-12-08 Karl Fogel <kfogel@red-bean.com>
3483
3484 * bookmark.el: Adjust parameter names and doc strings to resolve
3485 confusion over whether "bookmark" meant a bookmark name or a
3486 bookmark record. Along the way, shorten one function's name for
3487 similar reasons. (Issue #7548)
3488 (bookmark-name-from-record): New name for
3489 `bookmark-name-from-full-record'. All callers changed.
3490 (bookmark-get-bookmark, bookmark-get-bookmark-record)
3491 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
3492 (bookmark-get-annotation, bookmark-set-annotation)
3493 (bookmark-get-filename, bookmark-set-filename)
3494 (bookmark-get-position, bookmark-set-position)
3495 (bookmark-get-front-context-string, bookmark-set-front-context-string)
3496 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
3497 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
3498 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
3499 Rename `bookmark' parameter to `bookmark-name-or-record', to
3500 clearly show its role, and shorten or adjust doc strings accordingly.
3501 (bookmark-set-name): Same, and pass the parameter directly to
3502 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
3503 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
3504 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
3505 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
3506 and in some cases shorten doc string accordingly.
3507 (bookmark-rename): Change `old' and `new' parameters to `old-name'
3508 and `new-name', and adjust an internal variable to avoid confusion.
3509 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
3510 parameter in doc string.
3511
3512 2010-12-08 Glenn Morris <rgm@gnu.org>
3513
3514 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
3515 from gdb's history file. (Bug#7575)
3516
3517 * mail/emacsbug.el (report-emacs-bug):
3518 Try to handle some other mail clients.
3519
3520 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3521
3522 * files.el (dir-locals-collect-variables): Don't let errors stop us.
3523 Use string-prefix-p.
3524 (file-name-version-regexp): New var.
3525 (file-name-sans-versions):
3526 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
3527 (jka-compr-get-compression-info): Use dolist.
3528 (jka-compr-compression-info-list): Don't bother specifying
3529 version/backup regexps.
3530
3531 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
3532
3533 * simple.el (just-one-space): Make argument n default to 1 if
3534 omitted.
3535
3536 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3537
3538 * electric.el (electric-indent-post-self-insert-function):
3539 Delete trailing newlines even if we don't reindent.
3540
3541 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3542
3543 * minibuffer.el (completion-at-point): Remove the `arg'.
3544 * bindings.el (complete-symbol): Move back from minibuffer.el.
3545
3546 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3547
3548 * simple.el (just-one-space): Delete newlines for negative arg.
3549
3550 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3551
3552 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
3553 (ansi-color-filter-apply): Simplify.
3554 (ansi-color-apply): Use `font-lock-face' rather than `face'.
3555
3556 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
3557
3558 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
3559
3560 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
3561
3562 * dired.el (dired-use-ls-dired): Set default to a special
3563 "unspecified" value.
3564 (dired-insert-directory): When called the first time, check
3565 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
3566
3567 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
3568
3569 * replace.el: Add "collect" feature to occur.
3570 (occur-collect-regexp-history): New var.
3571 (occur-read-primary-args): Return a replace string for nlines,
3572 if needed.
3573 (occur): Extend the meaning of nlines.
3574
3575 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3576
3577 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
3578 (which-func-update-1): Distinguish symbols from strings.
3579 (which-function): Stay within 80 columns.
3580
3581 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
3582
3583 * subr.el (with-demoted-errors): Distinguish symbols from strings.
3584
3585 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
3586 Improve docstring.
3587 (comment-style): Use comment-styles's docs to describe values.
3588
3589 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
3590
3591 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
3592 and ns-show-prefs (Bug#7535).
3593
3594 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
3595 bindings (Bug#7535).
3596
3597 2010-12-03 Glenn Morris <rgm@gnu.org>
3598
3599 * nxml/nxml-mode.el: Require rng-nxml.
3600 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
3601 Remove declarations.
3602
3603 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
3604 * nxml/rng-nxml.el, nxml/rng-valid.el:
3605 Remove leading `*' from defcustom docs.
3606
3607 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
3608 (normal-top-level-add-to-load-path, tty-handle-args):
3609 Convert comments to basic doc-strings.
3610
3611 * net/browse-url.el (browse-url-url-at-point)
3612 (browse-url-default-browser): Remove autoload cookies.
3613
3614 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
3615 Remove more undefined cl functions.
3616
3617 * vc/diff.el (diff-sentinel): Make new arguments optional.
3618 * ibuf-ext.el (diff-sentinel): Update declaration.
3619
3620 2010-12-03 Daiki Ueno <ueno@unixuser.org>
3621
3622 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
3623 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
3624 (epg-context-set-passphrase-callback): Mention that the callback
3625 is not called when used with GnuPG 2.x.
3626
3627 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
3628
3629 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
3630 (tramp-file-name-port): Check also for `tramp-default-port'.
3631 (tramp-get-connection-name): New defun.
3632 (tramp-get-connection-process): Use it.
3633 (tramp-debug-message): Extend function exclude list.
3634 (tramp-drop-volume-letter): Fix doc string.
3635
3636 * net/tramp-cmds.el: Remove solved todo item.
3637
3638 * net/tramp-ftp.el:
3639 * net/tramp-gvfs.el:
3640 * net/tramp-gw.el:
3641 * net/tramp-imap.el:
3642 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
3643 and `tramp-default-user-alist', respectively.
3644
3645 * net/tramp-gw.el (tramp-gw-open-connection):
3646 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
3647
3648 * net/tramp-imap.el (tramp-imap-make-iht): Use just
3649 `tramp-file-name-port'.
3650
3651 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
3652 and "psftp". Exchange "%k" marker with options.
3653 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
3654 Compute size of link target.
3655 (tramp-do-copy-or-rename-file-out-of-band): Move setting of
3656 `tramp-current-*' up due to gateway methods. Optimize computing of
3657 copy arguments. Use `tramp-get-connection-name' and
3658 `tramp-get-connection-buffer'. Improve debug messages.
3659 (tramp-compute-multi-hops): Remove port determination.
3660 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
3661
3662 * net/trampver.el: Update release number.
3663
3664 2010-12-02 Glenn Morris <rgm@gnu.org>
3665
3666 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
3667 Avoid infinite loop over windows. (Bug#7492)
3668
3669 * progmodes/flymake.el (flymake-check-file-limit):
3670 Allow nil to mean "no limit".
3671 (flymake-check-patch-master-file-buffer): Update for above change.
3672 Allow a .tex file-name extension to be optional.
3673 (flymake-master-tex-init): Also match \include statements.
3674
3675 2010-11-30 Sam Steingold <sds@gnu.org>
3676
3677 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
3678 (nxml-parent-document-set): A function to set `nxml-parent-document'.
3679 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
3680 (nxml-mode-hook): Remove `defcustom' (auto-defined by
3681 define-derived-mode').
3682 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
3683 users who want to call `nxml-parent-document-set'.
3684
3685 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3686
3687 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
3688 stand-alone lines, since that is handled by log-edit-match-to-eoh
3689 (Bug#6465).
3690
3691 2010-11-27 Eduard Wiebe <usenet@pusto.de>
3692
3693 * dired.el (dired-get-filename): Replace backslashes with slashes
3694 in file names on MS-Windows, needed by `locate'. (Bug#7308)
3695 * locate.el (locate-default-make-command-line): Don't consider
3696 drive letter and root directory part of
3697 `directory-listing-before-filename-regexp'. (Bug#7308)
3698 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
3699
3700 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3701
3702 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
3703 of :smie-open/close-alist.
3704 (smie-next-sexp): Make it accept a "start token" as argument.
3705 (smie-indent-keyword): Be careful not to misidentify tokens that span
3706 more than one line, as empty lines. Add argument `token'.
3707
3708 2010-11-27 Kenichi Handa <handa@m17n.org>
3709
3710 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
3711 multipart subtypes, insert all as usual.
3712
3713 * mail/rmail.el: Require rfc2047.
3714
3715 2010-11-27 Kenichi Handa <handa@m17n.org>
3716
3717 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
3718 (rmail-mime-entity-disposition)
3719 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
3720 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
3721 (rmail-mime-save): Handle the case that the button's `data' is a
3722 MIME entity.
3723 (rmail-mime-insert-text): New function.
3724 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
3725 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
3726 (rmail-mime-insert-bulk): New function mostly copied from the old
3727 rmail-mime-bulk-handler.
3728 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
3729 (rmail-mime-process-multipart): New function mostly copied from
3730 the old rmail-mime-multipart-handler.
3731 (rmail-mime-show): Just call rmail-mime-process.
3732 (rmail-mime-process): New function mostly copied from the old
3733 rmail-mime-show.
3734 (rmail-mime-insert-multipart, rmail-mime-parse)
3735 (rmail-mime-insert, rmail-show-mime)
3736 (rmail-insert-mime-forwarded-message)
3737 (rmail-insert-mime-resent-message): New functions.
3738 (rmail-insert-mime-forwarded-message-function): Set to
3739 rmail-insert-mime-forwarded-message.
3740 (rmail-insert-mime-resent-message-function): Set to
3741 rmail-insert-mime-resent-message.
3742
3743 * mail/rmailsum.el: Require rfc2047.
3744 (rmail-header-summary): Handle multiline Subject: field.
3745 (rmail-summary-line-decoder): Change the default to
3746 rfc2047-decode-string.
3747
3748 * mail/rmail.el (rmail-enable-mime): Change the default to t.
3749 (rmail-mime-feature): Change the default to `rmailmm'.
3750 (rmail-quit): Delete the specifal code for rmail-enable-mime.
3751 (rmail-display-labels): Likewise.
3752 (rmail-show-message-1): Check rmail-enable-mime, and use
3753 rmail-show-mime-function for a MIME message. Decode the headers
3754 according to RFC2047.
3755
3756 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3757
3758 * progmodes/which-func.el (which-func-imenu-joiner-function):
3759 Return a string, as expected.
3760 (which-function-mode): Make sure we stop any previous timer before
3761 starting a new one.
3762
3763 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
3764
3765 * net/tramp.el (tramp-default-method-alist)
3766 (tramp-default-user-alist, tramp-default-proxies-alist):
3767 Adapt custom options type. (Bug#7445)
3768
3769 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3770
3771 * progmodes/python.el: Add Ipython support (Bug#5390).
3772 (python-shell-prompt-alist)
3773 (python-shell-continuation-prompt-alist): New options.
3774 (python--set-prompt-regexp): New function.
3775 (inferior-python-mode, run-python, python-shell):
3776 Require ansi-color. Use python--set-prompt-regexp to set the comint
3777 prompt based on the Python interpreter.
3778 (python--prompt-regexp): New var.
3779 (python-check-comint-prompt)
3780 (python-comint-output-filter-function): Use it.
3781 (run-python): Use a pipe (Bug#5694).
3782
3783 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3784
3785 * progmodes/python.el (run-python): Doc fix.
3786 (python-keep-current-directory-in-path): New var (Bug#7454).
3787
3788 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3789
3790 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
3791 Prompt user before actually printing.
3792
3793 2010-11-27 Glenn Morris <rgm@gnu.org>
3794
3795 * startup.el (package-enable-at-startup, package-initialize):
3796 Remove unnecessary declarations.
3797
3798 2010-11-27 Eli Zaretskii <eliz@gnu.org>
3799
3800 * international/characters.el (glyphless-char-display-control):
3801 Exclude newline and TAB from the c0-control group.
3802
3803 2010-11-27 Glenn Morris <rgm@gnu.org>
3804
3805 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
3806 (expand-mail-aliases): Remove unnecessary autoload.
3807
3808 * allout.el (allout-command-prefix, allout-mode-map): Declare.
3809
3810 * shell.el (shell-dir-cookie-re): Move definition before use.
3811
3812 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
3813 Replace undefined CL functions.
3814
3815 2010-11-26 Eli Zaretskii <eliz@gnu.org>
3816
3817 * simple.el (prog-mode): Set bidi-paragraph-direction to
3818 left-to-right.
3819
3820 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
3821
3822 2010-11-26 Glenn Morris <rgm@gnu.org>
3823
3824 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
3825 diary-outlook-formats can be sensitive to calendar-date-style.
3826 (diary-outlook-formats): Simplify the default setting.
3827 (diary-from-outlook-internal): Pass subject and body as arguments.
3828 Use dolist rather than dotimes. Don't save the diary buffer.
3829 (diary-from-outlook-gnus, diary-from-outlook-rmail):
3830 Pass subject and body as explicit arguments to the -internal function.
3831
3832 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
3833
3834 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
3835 parsing them. This makes mailto:...?subject=foo\nbar work.
3836
3837 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3838
3839 * vc/diff.el (diff): Fix last change.
3840
3841 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
3842
3843 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
3844 (pcase--dontcare-upats): New var.
3845 (pcase-let, pcase-let*): Generate better code.
3846 Accept the same bodies as `let'.
3847 (pcase-dolist): New macro.
3848 (pcase--trivial-upat-p): New helper function.
3849 (pcase--expand): Strip leading "(let nil" if any.
3850
3851 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
3852
3853 * mail/mailclient.el (browse-url): Require.
3854 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
3855 use the external browser function to send the mail (bug#7469).
3856
3857 * net/browse-url.el (browse-url-browser-function): Revert the
3858 default back to the previous value, since the new value broke
3859 mailclient.el.
3860 (browse-url-mailto-function): New variable for mailto: URLs.
3861 (browse-url): Use the new variable for mailto: URLs.
3862
3863 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
3864
3865 * eshell/esh-cmd.el (eshell-parse-command):
3866 * eshell/esh-arg.el (eshell-parse-arguments):
3867 * eshell/em-script.el (eshell-source-file):
3868 Use with-silent-modifications.
3869
3870 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
3871
3872 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
3873 for a merge location.
3874
3875 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
3876 (vc-bzr-merge-branch): Always prompt.
3877 (vc-bzr-async-command): Use the full branch filename.
3878
3879 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
3880
3881 * shell.el (shell): Use current-buffer by default if it's already
3882 a shell mode buffer and its process is dead.
3883 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
3884
3885 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
3886
3887 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
3888 Mention that the keywords should be comma separated.
3889
3890 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
3891
3892 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
3893 Accept optional prefix arg meaning to prompt for a command.
3894 (vc-update): Use vc-BACKEND-pull if available. Accept optional
3895 prefix arg meaning to prompt for a command.
3896 (vc-pull): Alias for vc-update.
3897
3898 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
3899 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
3900 (vc-bzr-merge-branch): New functions, implementing merge-branch
3901 and pull operations.
3902
3903 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
3904
3905 * Makefile.in: Fix up last merge.
3906
3907 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
3908 (diff-sentinel): Get them as arguments instead.
3909 (diff-old-file, diff-new-file, diff-extra-args): Remove.
3910 (diff-file-local-copy, diff-better-file-name): New funs.
3911 (diff-no-select): Rename from diff-into-buffer.
3912 Support buffers additionally to files. Move `buf' arg. Don't display buf.
3913 Prefer closures to buffer-local variables.
3914 (diff): Adjust accordingly.
3915 (diff-buffer-with-file): Move from files.el.
3916 * files.el (diff-buffer-with-file): Move to vc/diff.el.
3917 (diff-buffer-internal): Remove.
3918 (diff-buffer-buffer): Remove.
3919 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
3920 the buffer name used, and so as not to mess up windows and frames.
3921
3922 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
3923
3924 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
3925 (diff-buffer-internal): New function extracted from diff-buffer-with-file
3926 (diff-buffer-with-file): Use it.
3927 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
3928 (diff): Use it.
3929
3930 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
3931
3932 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
3933 \ref's or \pageref's value as default instead of initial input.
3934
3935 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
3936
3937 * files.el (backup-by-copying-when-mismatch): The default value is
3938 now t.
3939
3940 * startup.el (normal-top-level):
3941 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
3942 `backup-by-copying-when-mismatch'.
3943
3944 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
3945
3946 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
3947
3948 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3949
3950 * progmodes/python.el (python-font-lock-keywords):
3951 Highlight top-level augmented assignments (Bug#6445).
3952
3953 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
3954
3955 * term/ns-win.el (ns-right-control-modifier)
3956 (ns-right-command-modifier): Defvar them.
3957
3958 * cus-start.el (all): Add ns-right-control-modifier and
3959 ns-right-command-modifier (Bug#7458).
3960
3961 2010-11-20 Glenn Morris <rgm@gnu.org>
3962
3963 * emacs-lisp/authors.el (authors-ignored-files)
3964 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
3965
3966 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
3967
3968 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
3969 (report-emacs-bug-parse-query-results)
3970 (report-emacs-bug-create-existing-bugs-buffer): Pass through
3971 keywords used for querying the bug database to show them in the
3972 existing bugs buffer.
3973
3974 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
3975
3976 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
3977
3978 * info.el (info-tool-bar-map): Add some :vert-only keywords.
3979
3980 2010-11-20 Eli Zaretskii <eliz@gnu.org>
3981
3982 * international/characters.el (glyphless-char-display-control):
3983 Make it a defcustom, with update-glyphless-char-display as its
3984 :set attribute.
3985 (top level): Don't call update-glyphless-char-display.
3986
3987 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
3988
3989 Sync with Tramp 2.2.0.
3990
3991 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
3992 `file-remote-p' (due to compatibility).
3993
3994 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
3995 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
3996
3997 * net/trampver.el: Update release number.
3998
3999 2010-11-20 Eli Zaretskii <eliz@gnu.org>
4000
4001 * faces.el (glyphless-char): Define value for `pc'.
4002
4003 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
4004
4005 Implemented a bug querying mechanism.
4006 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
4007 (report-emacs-bug-create-existing-bugs-buffer)
4008 (report-emacs-bug-parse-query-results)
4009 (report-emacs-bug-query-existing-bugs): New functions.
4010
4011 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
4012
4013 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
4014 a \ref{} or \pageref{} macro, then use its value as initial input.
4015
4016 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
4017
4018 * calc/calc-units.el (math-build-units-table-buffer):
4019 calc/README: Mention that the TeX specific units won't use the
4020 `tex' prefix in TeX mode.
4021 calc/calc-lang.el (math-variable-table): Don't use the `tex'
4022 prefix for units in TeX mode.
4023
4024 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4025
4026 * simple.el (kill-new, kill-append, kill-region):
4027 * comint.el (comint-kill-region): Make the yank-handler argument
4028 obsolete.
4029
4030 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4031
4032 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
4033 that are both openers (resp. closers) and something else.
4034 (smie-grammar): Loosen definition of valid values.
4035 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
4036 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
4037 (smie-indent-after-keyword): Adjust users.
4038 (smie-indent-keyword): Don't indent empty lines.
4039
4040 * vc-hg.el (vc-hg-program): New var.
4041 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
4042 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
4043
4044 2010-11-18 Glenn Morris <rgm@gnu.org>
4045
4046 * emacs-lisp/autoload.el (autoload-find-destination): The function
4047 coding-system-eol-type may return non-numeric values. (Bug#7414)
4048
4049 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
4050
4051 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
4052
4053 2010-11-18 Eli Zaretskii <eliz@gnu.org>
4054
4055 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
4056
4057 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
4058
4059 * textmodes/picture.el (picture-mouse-set-point): Don't use
4060 posn-col-row; explicitly compute the motion based on the posn at
4061 the window-start (Bug#7390).
4062
4063 2010-11-18 Glenn Morris <rgm@gnu.org>
4064
4065 * novice.el (disabled-command-function):
4066 Fix 2009-11-15 change. (Bug#7384)
4067
4068 2010-11-18 Glenn Morris <rgm@gnu.org>
4069
4070 * calendar/calendar.el (diary-iso-date-forms): Make elements
4071 mutually exclusive. (Bug#7377)
4072
4073 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4074
4075 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
4076 when filling the remaining "unconstrained" values.
4077
4078 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4079
4080 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
4081 safety predicate.
4082
4083 * files.el (safe-local-variable-p): Gracefully handle errors.
4084
4085 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
4086 Use smie-indent-virtual when indenting relative to an opener.
4087 (smie-rule-separator): Use smie-rule-parent.
4088 (smie-indent-keyword): Consult rules, even for openers at bol.
4089 (smie-indent-comment-close): Try to align closer's content.
4090
4091 2010-11-18 Glenn Morris <rgm@gnu.org>
4092
4093 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
4094
4095 2010-11-18 Glenn Morris <rgm@gnu.org>
4096
4097 * printing.el (pr-menu-bind): Doc fix.
4098
4099 * speedbar.el (speedbar-toggle-images): Doc fix.
4100
4101 * progmodes/python.el (python-shell): Doc fix.
4102
4103 * wid-edit.el (widget-field-use-before-change)
4104 (widget-use-overlay-change): Doc fixes.
4105
4106 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4107
4108 Minor cleanup to improve style.
4109 * textmodes/rst.el (rst-update-section): Use point-marker.
4110 (rst-get-decoration): Eliminate unneeded assignment.
4111 (rst-promote-region, rst-straighten-decorations)
4112 (rst-section-tree, rst-adjust): Use point-marker.
4113 (rst-toc-mode-mouse-goto): Avoid setq.
4114 (rst-shift-region-guts, rst-shift-region-left)
4115 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
4116 (rst-convert-bullets-to-enumeration): Use copy-marker.
4117
4118 * minibuffer.el (completion-fail-discreetly): New var.
4119 (completion--do-completion): Use it.
4120
4121 * electric.el (electric-pair-pairs): New var.
4122 (electric-pair-post-self-insert-function): Use it.
4123 (electric-layout-post-self-insert-function): Don't insert a before
4124 newline unless it's actually needed.
4125
4126 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
4127
4128 * progmodes/python.el (run-python): Explain why we remove the current
4129 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
4130
4131 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
4132
4133 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4134
4135 * progmodes/octave-mod.el: Rely on elecric-*-modes.
4136 (octave-mode-map): Don't bind ;, SPC, and LF.
4137 (octave-auto-indent, octave-auto-newline): Remove.
4138 (electric-layout-rules): Declare.
4139 (octave-mode): Set electric-layout-rules.
4140 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
4141 (octave-reindent-then-newline-and-indent, octave-electric-semi)
4142 (octave-electric-space): Remove.
4143
4144 * electric.el (electric-layout-mode): New minor mode.
4145 (electric--after-char-pos): New function.
4146 (electric-indent-post-self-insert-function): Use it.
4147 (electric-layout-rules): New var.
4148 (electric-layout-post-self-insert-function): New function.
4149 (electric-indent-mode): Make them interact better.
4150
4151 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4152
4153 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
4154 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
4155 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
4156
4157 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
4158
4159 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
4160 Make sure to check inside the word (Bug#6761).
4161
4162 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
4163
4164 * startup.el (command-line): If the cursorColor resource is set,
4165 change the cursor face-spec (Bug#7392).
4166
4167 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
4168
4169 The main features of the following allout.el changes are:
4170 - implement user customization for the allout key bindings
4171 - add a customization control by which the user can inhibit use of
4172 a trailing Ctrl-H, so by default it's reserved for use with
4173 describe-prefix-bindings
4174 - adapt to new version of called-interactively-p, while
4175 maintaining backwards compatibility with old version
4176 - fix hotspot navigation so i works properly with meta-modified keys.
4177
4178 * allout.el (allout-keybindings, allout-bind-keys)
4179 (allout-keybindings-binding, allout-prefixed-keybindings)
4180 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
4181 (allout-keybindings-list, allout-mode-map-adjustments)
4182 (allout-setup-mode-map): Establish allout-mode keymaps as user
4183 customizable settings, and also establish a customizable setting which
4184 regulates whether or not a trailing control-h is reserved for use with
4185 describe-prefix-bindings - and inhibit it by default, so that control-h
4186 *is* reserved for describe-prefix-bindings unless the user changes it.
4187
4188 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
4189 and accurately between modified and unmodified events, and handle
4190 modified events more comprehensively.
4191
4192 * allout.el (allout-substring-no-properties):
4193 Alias to use or provide version of `substring-no-properties'.
4194 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
4195
4196 * allout.el (allout-next-single-char-property-change):
4197 Alias to use or provide version of `next-single-char-property-change'.
4198 (allout-annotate-hidden, allout-hide-by-annotation):
4199 Use `allout-next-single-char-property-change'.
4200
4201 * allout.el (allout-select-safe-coding-system):
4202 Alias to use or provide version of `select-safe-coding-system'.
4203 (allout-toggle-subtree-encryption):
4204 Use `allout-select-safe-coding-system'.
4205
4206 * allout.el (allout-set-buffer-multibyte):
4207 Alias to use or provide version of `set-buffer-multibyte'.
4208 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
4209
4210 * allout.el (allout-called-interactively-p): Macro for using the
4211 different versions of called-interactively-p identically, depending on
4212 the subroutine's argument signature.
4213 (allout-back-to-current-heading, allout-beginning-of-current-entry):
4214 Use `(interactive "p")' instead of `(called-interactively-p)'.
4215
4216 * allout.el (allout-init, allout-ascend, allout-end-of-level)
4217 (allout-previous-visible-heading, allout-forward-current-level)
4218 (allout-backward-current-level, allout-show-children):
4219 Use `allout-called-interactively-p' instead of `called-interactively-p'.
4220
4221 * allout.el (allout-before-change-handler):
4222 Exempt edits to the (overlaid) character after the allout outline
4223 bullet from edit confirmation prompt.
4224
4225 * allout.el (allout-add-resumptions):
4226 Ensure that it respects correct buffer for keybindings.
4227
4228 * allout.el (allout-beginning-of-line):
4229 Use `allout-previous-single-char-property-change' alias for the sake of
4230 diverse compatibility.
4231
4232 * allout.el (allout-end-of-line):
4233 Use `allout-mark-active-p' to encapsulate respect for mark activity.
4234
4235 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
4236
4237 * frame.el (frame-notice-user-settings): Don't clobber other
4238 user-set parameters when calling face-set-after-frame-default in
4239 response to background-color parameter (Bug#7373).
4240
4241 2010-11-13 Eli Zaretskii <eliz@gnu.org>
4242
4243 * international/characters.el (glyphless-char-display-control):
4244 Rename from glyphless-char-control; all users changed. Doc fix.
4245 Signal an error if display method is not one of the recognized
4246 symbols.
4247
4248 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
4249
4250 * net/tramp-compat.el (tramp-compat-line-beginning-position)
4251 (tramp-compat-line-end-position): Remove them.
4252
4253 * net/tramp.el (tramp-parse-rhosts-group)
4254 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
4255 (tramp-parse-hosts-group, tramp-parse-passwd-group)
4256 (tramp-parse-netrc-group, tramp-parse-putty-group)
4257 * net/tramp-cmds.el (tramp-append-tramp-buffers)
4258 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
4259 (tramp-sh-handle-file-selinux-context)
4260 (tramp-sh-handle-file-name-all-completions)
4261 (tramp-sh-handle-insert-directory)
4262 (tramp-sh-handle-expand-file-name, tramp-find-executable)
4263 (tramp-wait-for-output, tramp-send-command-and-read)
4264 * net/tramp-smb.el (tramp-smb-read-file-entry)
4265 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
4266
4267 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
4268 `point-at-bol'.
4269 (tramp-remote-coding-commands): Add an alternative using "base64
4270 -d -i". This is needed for older base64 versions from GNU
4271 coreutils. Reported by Klaus Reichl
4272 <Klaus.Reichl@thalesgroup.com>.
4273
4274 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
4275
4276 * simple.el (count-words-region): New function.
4277
4278 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4279
4280 * shell.el (shell-dir-cookie-re): New custom variable.
4281 (shell-dir-cookie-watcher): New function.
4282
4283 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
4284 and compilation-mode (bug#7350).
4285
4286 * vc/smerge-mode.el (smerge-refine): Choose better default part to
4287 highlight when one of them is empty.
4288
4289 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
4290 trailing space.
4291 (skeleton-newline): New function.
4292 (skeleton-internal-1): Use it.
4293
4294 * simple.el (open-line): `newline' may strip trailing space.
4295
4296 2010-11-12 Kevin Ryde <user42@zip.com.au>
4297
4298 * international/mule-cmds.el (princ-list): Use mapc.
4299
4300 2010-11-12 Glenn Morris <rgm@gnu.org>
4301
4302 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
4303 Use it to replace all instances of "*Compile-Log*".
4304
4305 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4306
4307 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
4308 indentation specs.
4309
4310 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4311
4312 * progmodes/modula2.el: Use SMIE and skeleton.
4313 (m2-mode-syntax-table): (*..*) can be nested.
4314 Add //...\n. Fix paren syntax.
4315 (m2-mode-map): Remove LF and TAB bindings.
4316 (m2-indent): Add safety property.
4317 (m2-smie-grammar): New var.
4318 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
4319 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
4320 (m2-mode): Use define-derived-mode.
4321 (m2-newline, m2-tab): Remove.
4322 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
4323 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
4324 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
4325 (m2-import): Use define-skeleton.
4326
4327 2010-11-11 Glenn Morris <rgm@gnu.org>
4328
4329 * obsolete/lucid.el: Don't warn about any CL functions in this file.
4330
4331 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
4332 (ls-lisp-verbosity): Add custom :set-after property.
4333 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
4334 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
4335 (ls-lisp-insert-directory): Update caller.
4336 (ls-lisp-set-options): New function.
4337 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
4338 Doc fix.
4339
4340 * play/landmark.el (lm-prompt-for-move):
4341 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
4342
4343 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
4344
4345 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
4346 (idlwave-study-twins): Prefix dynamic local variable `name'.
4347 (idlwave-routine-twin-compare): Update for above change.
4348
4349 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
4350 Prefix dynamic local variables `name', `kwd', and `link'.
4351 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
4352 * progmodes/idlw-complete-structtag.el
4353 (idlwave-complete-structure-tag-help):
4354 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
4355 (idlwave-complete-sysvar-tag-help)
4356 (idlwave-complete-class-structure-tag-help):
4357 Update for above name changes.
4358
4359 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4360
4361 * net/browse-url.el (browse-url-browser-function): Change the
4362 default to use `browse-url-mail' on mailto: URLs.
4363
4364 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
4365
4366 * emacs-lisp/package.el (package-read-all-archive-contents):
4367 Reset package-archive-contents to nil before re-reading.
4368
4369 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
4370
4371 * textmodes/flyspell.el (flyspell-word): Do not re-check words
4372 already found as misspellings by (flyspell-large-region), just
4373 do highlighting (bug#7322).
4374
4375 2010-11-10 Glenn Morris <rgm@gnu.org>
4376
4377 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
4378
4379 * emulation/edt.el (edt-with-position): New macro.
4380 (edt-find-forward, edt-find-backward, edt-find-next-forward)
4381 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
4382 (edt-paragraph-forward, edt-paragraph-backward): Use it.
4383
4384 * emulation/tpu-extras.el (tpu-with-position): New macro.
4385 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
4386
4387 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
4388
4389 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
4390 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
4391 (texinfo-master-menu, texinfo-insert-node-lines)
4392 (texinfo-multiple-files-update):
4393 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
4394 Use line-beginning-position.
4395
4396 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
4397 No recent Emacs supports system-type `emx'.
4398
4399 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
4400 (ada-command-separator, ada-default-prj-properties)
4401 (ada-find-any-references): Update for above name change.
4402
4403 * dirtrack.el (dirtrack-directory-function)
4404 (dirtrack-canonicalize-function):
4405 * filecache.el (file-cache-completion-ignore-case)
4406 (file-cache-case-fold-search, file-cache-ignore-case):
4407 * term.el (serial-port-is-file-p): Cosmetic change.
4408
4409 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
4410 Remove non-existent `windows-95' system-type.
4411 * dired.el (dired-chown-program): Remove non-existent `linux'
4412 system-type.
4413
4414 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
4415 (ping-program-options): Remove non-existent `linux' system-type.
4416
4417 * startup.el (package-initialize): Update declaration.
4418
4419 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
4420 (ls-lisp-handle-switches): Use time-less-p.
4421 (ls-lisp-format-time): Use float-time.
4422
4423 * textmodes/remember.el (remember-time-to-seconds): Remove.
4424 (remember-store-in-mailbox): Use float-time.
4425
4426 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
4427
4428 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
4429 never a real function.
4430 (with-no-warnings): Remove compat stub, now unused.
4431 (time-less-p): Doc fix.
4432 (time-to-number-of-days): Simplify.
4433
4434 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
4435 Remove.
4436 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
4437 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
4438 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
4439 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
4440 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
4441
4442 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
4443 (eshell-shuffle-files, eshell-shorthand-tar-command)
4444 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
4445 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
4446 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
4447 Prefix dynamic local variable `matches'.
4448
4449 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
4450 Prefix dynamic local variable `skeleton'.
4451
4452 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
4453
4454 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
4455 in mail buffer; make yank-action always a command that yanks original
4456 buffer.
4457
4458 2010-11-09 Glenn Morris <rgm@gnu.org>
4459
4460 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
4461
4462 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4463
4464 * minibuffer.el (minibuffer-completion-help): Specify the end of the
4465 completion field (bug#7211).
4466
4467 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
4468 Fix handling of backslash escapes.
4469 (python-quote-syntax): Adjust accordingly.
4470
4471 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
4472
4473 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
4474 (vc-mtn-workfile-branch): Adjust to new output format.
4475
4476 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4477
4478 * international/mule-cmds.el (princ-list): Mark as obsolete.
4479
4480 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4481
4482 * emacs-lisp/smie.el: New package.
4483
4484 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
4485
4486 * files.el (backup-by-copying-when-mismatch):
4487 Set `permanent-local' property.
4488
4489 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
4490 `permanent-local' property for `backup-by-copying-when-mismatch'.
4491
4492 2010-11-09 Eli Zaretskii <eliz@gnu.org>
4493
4494 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
4495
4496 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
4497
4498 * progmodes/verilog-mode.el (verilog-insert-one-definition)
4499 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
4500 AUTOINOUT for SV style multidimensional arrays, bug294.
4501 Reported by Eric Mastromarchi.
4502 (verilog-preprocess): Use with-current-buffer and
4503 font-lock-fontify-buffer to cleanup style issues.
4504
4505 2010-11-09 Glenn Morris <rgm@gnu.org>
4506
4507 * locate.el (locate, locate-mode): Doc fixes.
4508
4509 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
4510
4511 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
4512 user for confirmation.
4513 (server-force-stop): Use it.
4514 (server-start): Use server-force-stop for kill-emacs-hook, to
4515 avoid user interaction while killing Emacs.
4516
4517 2010-11-09 Glenn Morris <rgm@gnu.org>
4518
4519 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
4520 (meta-indent-line): Simplify.
4521
4522 * vc/emerge.el (emerge-line-number-in-buf):
4523 * textmodes/ispell.el (ispell-region):
4524 * textmodes/fill.el (current-fill-column):
4525 * progmodes/xscheme.el (xscheme-send-current-line):
4526 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
4527 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
4528 * progmodes/sh-script.el (sh-handle-prev-do):
4529 * progmodes/meta-mode.el (meta-indent-line):
4530 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
4531 (idlwave-in-quote):
4532 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
4533 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
4534 * progmodes/fortran.el (fortran-looking-at-if-then):
4535 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
4536 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
4537 (cperl-find-pods-heres):
4538 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
4539 * net/quickurl.el (quickurl-list-insert):
4540 * net/ldap.el (ldap-search-internal):
4541 * net/eudc.el (eudc-expand-inline):
4542 * mail/sendmail.el (sendmail-send-it):
4543 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
4544 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
4545 (viper-brac-function):
4546 * calc/calc-yank.el (calc-do-grab-region):
4547 * calc/calc-keypd.el (calc-keypad-press):
4548 * term.el (term-move-columns, term-insert-spaces):
4549 * speedbar.el (speedbar-highlight-one-tag-line):
4550 * simple.el (current-word):
4551 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
4552 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
4553 (Info-scroll-down):
4554 * hippie-exp.el (he-line-beg):
4555 * epa.el (epa--marked-keys):
4556 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
4557 (dired-update-file-line, dired-add-entry, dired-remove-entry)
4558 (dired-relist-entry):
4559 * buff-menu.el (Buffer-menu-buffer):
4560 * array.el (current-line):
4561 * allout.el (allout-resolve-xref)
4562 (allout-latex-verbatim-quote-curr-line):
4563 Replace yet more uses of end-of-line etc with line-end-position, etc.
4564
4565 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4566
4567 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
4568 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
4569 (checkdoc-syntax-table): Initialize in the declaration.
4570 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
4571 the mode on unconditionally.
4572
4573 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
4574 (extent-end-position, extent-start-position): Remove setf method for
4575 non-existing functions (bug#7319).
4576
4577 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4578
4579 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
4580 (smie-precs->prec2): Rename from smie-precs-precedence-table.
4581 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
4582 (smie-prec2->grammar): Rename from smie-prec2-levels.
4583 (smie-grammar): Rename from smie-op-levels.
4584 (smie-indent--hanging-p): Rename from smie-hanging-p.
4585 (smie-rule-hanging-p): New alias.
4586 (smie-indent--bolp): Rename from smie-bolp.
4587 (smie-indent--hanging-p): New alias.
4588 (smie--token): New dynamically bound variable.
4589 (smie-indent--parent): New function.
4590 (smie-rule-parent-p): Use it; rename from smie-parent-p.
4591 (smie-rule-next-p): Rename from smie-next-p.
4592 (smie-rule-prev-p): Rename from smie-prev-p.
4593 (smie-rule-sibling-p, smie-rule-parent)
4594 (smie-indent--separator-outdent, smie-rule-separator): New functions.
4595 (smie-rule-separator-outdent): New var.
4596 (smie-indent--rule): Merge with smie-indent--column.
4597 (smie-indent-forward-token, smie-indent-backward-token):
4598 Also recognize close parens.
4599 (smie-indent-keyword): Don't use smie-indent--column any more.
4600 (smie-indent-after-keyword): Ignore closers by default.
4601 (smie-indent-line): Use with-demoted-errors.
4602 * progmodes/octave-mod.el (octave-smie-grammar):
4603 Rename from octave-smie-op-levels.
4604 (octave-smie-rules): Adjust to new behavior.
4605 * progmodes/prolog.el (prolog-smie-grammar):
4606 Rename from prolog-smie-op-levels.
4607
4608 2010-11-07 Glenn Morris <rgm@gnu.org>
4609
4610 * eshell/esh-util.el (subst-char-in-string)
4611 (directory-files-and-attributes): These compatibility definitions are
4612 not needed on any version of Emacs since at least 21.4.
4613
4614 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
4615 (verilog-get-end-of-line): Remove.
4616 (verilog-within-string, verilog-re-search-forward-substr)
4617 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
4618 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
4619 Use point-at-bol, point-at-eol.
4620 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
4621 Remove.
4622 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
4623 (electric-pascal-terminate-line, pascal-set-auto-comments)
4624 (pascal-indent-paramlist, pascal-indent-declaration)
4625 (pascal-get-lineup-indent, pascal-func-completion)
4626 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
4627 Use point-at-bol, point-at-eol.
4628 * progmodes/flymake.el (flymake-line-beginning-position)
4629 (flymake-line-end-position): Remove.
4630 (flymake-highlight-line): Use point-at-bol, point-at-eol.
4631 * eshell/esh-util.el (line-end-position, line-beginning-position):
4632 Remove compat definitions.
4633
4634 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
4635 Use end-of-line N.
4636 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
4637 Use line-end-position.
4638
4639 * emacs-lisp/chart.el (chart-zap-chars):
4640 * play/decipher.el (decipher-set-map):
4641 * progmodes/ada-mode.el (ada-get-current-indent)
4642 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
4643 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
4644 * progmodes/ada-xref.el (ada-initialize-runtime-library)
4645 (ada-get-all-references):
4646 * progmodes/cperl-mode.el (cperl-electric-paren)
4647 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
4648 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
4649 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
4650 (cperl-word-at-point-hard):
4651 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
4652 (idlwave-shell-filename-string, idlwave-shell-batch-command)
4653 (idlwave-shell-display-line):
4654 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
4655 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
4656 * progmodes/js.el (js--re-search-forward-inner)
4657 (js--re-search-backward-inner):
4658 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
4659 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
4660 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
4661 * textmodes/flyspell.el (flyspell-process-localwords):
4662 * textmodes/ispell.el (ispell-buffer-local-parsing)
4663 (ispell-buffer-local-dict, ispell-buffer-local-words):
4664 Use point-at-bol and point-at-eol.
4665
4666 * speedbar.el (speedbar-generic-item-info)
4667 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
4668 (speedbar-add-indicator, speedbar-check-vc-this-line)
4669 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
4670 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
4671 Replace more uses of end-of-line etc with line-end-position.
4672
4673 2010-11-06 Glenn Morris <rgm@gnu.org>
4674
4675 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
4676 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
4677 (texinfo-delete-existing-pointers, texinfo-find-pointer)
4678 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
4679 (texinfo-multiple-files-update):
4680 * textmodes/table.el (table--probe-cell-left-up)
4681 (table--probe-cell-right-bottom):
4682 * textmodes/picture.el (picture-tab-search):
4683 * textmodes/page-ext.el (pages-copy-header-and-position)
4684 (pages-directory-for-addresses):
4685 * progmodes/vera-mode.el (vera-get-offset):
4686 * progmodes/simula.el (simula-calculate-indent):
4687 * progmodes/python.el (python-pdbtrack-overlay-arrow):
4688 * progmodes/prolog.el (end-of-prolog-clause):
4689 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
4690 * progmodes/icon.el (indent-icon-exp):
4691 * progmodes/etags.el (tag-re-match-p):
4692 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
4693 * progmodes/ebnf2ps.el (ebnf-begin-file):
4694 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
4695 (dcl-save-local-variable):
4696 * play/life.el (life-setup):
4697 * play/gametree.el (gametree-looking-at-ply):
4698 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
4699 * mail/sendmail.el (mail-mode-auto-fill):
4700 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
4701 * emacs-lisp/edebug.el (edebug-overlay-arrow):
4702 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
4703 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
4704 (woman-tab-to-tab-stop, WoMan-warn-ignored):
4705 * type-break.el (type-break-file-keystroke-count):
4706 * term.el (term-replace-by-expanded-history-before-point)
4707 (term-skip-prompt, term-extract-string):
4708 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
4709 (speedbar-contract-line, speedbar-toggle-line-expansion)
4710 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
4711 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
4712 * sort.el (sort-skip-fields):
4713 * skeleton.el (skeleton-internal-list):
4714 * simple.el (line-move-finish, line-move-to-column):
4715 * shell.el (shell-forward-command):
4716 * misc.el (copy-from-above-command):
4717 * makesum.el (double-column):
4718 * ebuff-menu.el (electric-buffer-update-highlight):
4719 * dired.el (dired-move-to-end-of-filename):
4720 * dframe.el (dframe-popup-kludge):
4721 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
4722 * arc-mode.el (archive-get-lineno):
4723 Use line-end-position and line-beginning-position.
4724
4725 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
4726 (idlwave-study-twins): Prefix dynamic local `class'.
4727 (idlwave-routine-twin-compare): Update for above name change.
4728
4729 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
4730 Use boundp tests to silence compiler. Update for changed name of
4731 bytecomp-filename variable.
4732
4733 * emulation/viper-cmd.el (viper-read-string-with-history):
4734 Prefix dynamic local `initial'.
4735 (viper-minibuffer-standard-hook): Update for above name change.
4736
4737 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
4738 (elint-init-form): Update for above name change.
4739
4740 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
4741 local variables `cbeg' and `cend' a prefix.
4742 (mail-extr-voodoo): Update for above name change.
4743
4744 * textmodes/reftex-toc.el (reftex-toc-do-promote)
4745 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
4746 (reftex-toc-promote-action): Doc fix.
4747
4748 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
4749 `prompt', `data' a prefix.
4750 (reftex-select-post-command-hook, reftex-select-callback)
4751 (reftex-select-mouse-accept, reftex-select-read-cite):
4752 Update for above name changes.
4753
4754 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
4755 `refstyle' to reftex-refstyle.
4756 (reftex-offer-label-menu): Update for above name change.
4757 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
4758 `refstyle' name change.
4759
4760 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
4761 with with-current-buffer.
4762 (diff, template): Give dynamic local variables a prefix.
4763 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
4764 (emerge-line-number-in-buf): Update for above name change.
4765 (emerge-combine-versions-internal): Rename local `template' to
4766 emerge-combine-template.
4767 (emerge-combine-versions-edit): Update for above name change.
4768
4769 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
4770
4771 * textmodes/reftex-cite.el
4772 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
4773 entries with whitespace after \bibitem.
4774 (reftex-create-bibtex-file): Match entries containing numbers and
4775 symbol constituents. Make sure that entries with whitespace at
4776 various places are found.
4777
4778 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
4779
4780 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
4781
4782 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
4783
4784 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
4785
4786 2010-11-05 Glenn Morris <rgm@gnu.org>
4787
4788 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
4789 (woman2-roff-buffer): Give local variable `request' a prefix.
4790 (woman0-macro): Rename argument `request' in the same way.
4791 (woman-request): New name for `request' dynamic variable.
4792 (woman-unquote, woman-forward-arg): Update for above name change.
4793 (woman1-roff-buffer): Give local variable `unquote' a prefix.
4794 (woman1-unquote): New name for `unquote' dynamic variable.
4795 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
4796 (woman-translations): Rename from `translations'. No longer global.
4797 (woman2-tr, woman-translate): Update for above name change.
4798 (woman-translate): Check for bound variable.
4799 (woman2-roff-buffer): Give local variable `translations' a prefix.
4800
4801 * play/doctor.el: Give all local variables a prefix. Update callers.
4802 (doc$, doctor-put-meaning): Use backquote.
4803
4804 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
4805 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
4806
4807 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
4808 variables bytes, ptr, op a prefix.
4809 (disassemble-offset): Update for above change.
4810
4811 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
4812
4813 * emacs-lisp/package.el (package-unpack): Remove no-op.
4814 (package--builtins, package--dir): Doc fix.
4815 (package-activate-1, package-activate, package-install)
4816 (package-compute-transaction): Fix error message.
4817 (package-delete): Use delete-directory. Omit system packages.
4818 (package-initialize): Set package-alist to nil first.
4819 (package-menu-mark-delete, package-menu-mark-install): Don't add
4820 symbols that are inconsistent with the package state.
4821 (package-menu-execute): Perform deletions and installations as
4822 single batch operations.
4823
4824 2010-11-03 Glenn Morris <rgm@gnu.org>
4825
4826 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
4827 (props): Remove unnecessary declaration.
4828
4829 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
4830 set-process-query-on-exit-flag.
4831
4832 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
4833 (reftex-toc-do-promote): Remove unused local `mpos'.
4834 (reftex-toc-restore-region): Make `mpos' local to this function.
4835
4836 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
4837
4838 * play/landmark.el (lm-losing-threshold): Correct spelling.
4839 (lm-human-plays): Use new name.
4840
4841 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
4842 (gomoku-human-plays): Use new name.
4843
4844 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
4845 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
4846 (gomoku-score-trans-table, gomoku-winning-threshold)
4847 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
4848
4849 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
4850
4851 * emacs-lisp/package.el: Don't put built-in packages in
4852 package-alist, to avoid loading inefficiencies.
4853 (package-built-in-p): Make VERSION optional, and treat it as a
4854 minimum acceptable version.
4855 (package-activate): Search separately for built-in packages.
4856 Emit a warning if a dependency fails.
4857 (define-package): Handle most common case, where there is no
4858 obsolete package, first.
4859 (package-compute-transaction): Print required version in error.
4860 (package--initialized): New variable.
4861 (list-packages): Use it.
4862 (package-initialize): Optional arg NO-ACTIVATE. Don't put
4863 built-in packages in packages-alist; keep it separate.
4864 Set package--initialized.
4865 (describe-package): Avoid activating packages as a side-effect.
4866 Search separately for built-in packages.
4867 (describe-package-1): Handle the case where an elpa package is
4868 simultaneously built-in and available/installed.
4869 (package-installed-p, package--generate-package-list):
4870 Search separately for built-in packages.
4871 (package-load-descriptor): Doc fix.
4872
4873 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
4874
4875 * progmodes/perl-mode.el (perl-syntax-propertize-function):
4876 Handle __DATA__ and __END__.
4877
4878 2010-11-02 Noah Friedman <friedman@splode.com>
4879
4880 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
4881 nil, do not ask to recompile files that are not already compiled,
4882 and do not recompile them.
4883
4884 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
4885
4886 * emacs-lisp/package.el (package-initialize): Ensure that
4887 obsoleted built-in packages are not in package-activated-list
4888 during activation.
4889 (describe-package-1): Make the "installed" status override
4890 "built-in".
4891
4892 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4893
4894 * subr.el (version-separator, version-regexp-alist): Remove '*'
4895 from docstring.
4896 (version-list-<=, version<=, version=): Doc fix.
4897
4898 2010-11-01 Kenichi Handa <handa@m17n.org>
4899
4900 * faces.el (glyphless-char): Inherit underline for tty.
4901
4902 2010-11-01 Kenichi Handa <handa@m17n.org>
4903
4904 Implement various display methods for glyphless characters.
4905
4906 * international/characters.el (char-acronym-table): New variable.
4907 (glyphless-char-control): New variable.
4908 (update-glyphless-char-display): New function.
4909
4910 * faces.el (glyphless-char): New face.
4911
4912 2010-11-01 Glenn Morris <rgm@gnu.org>
4913
4914 * calendar/holidays.el (general-holidays, oriental-holidays)
4915 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
4916 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
4917 the definitions of their targets.
4918
4919 * emacs-lisp/smie.el (smie): New custom group.
4920 (smie-blink-matching-inners, smie-indent-basic): Add :group.
4921
4922 * faces.el (xw-defined-colors, x-setup-function-keys):
4923 * mouse-sel.el (x-select-text):
4924 * term/w32console.el (x-setup-function-keys): Update declarations.
4925
4926 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
4927
4928 * textmodes/ispell.el (comment-add): Declare.
4929
4930 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
4931 Declare.
4932
4933 * info.el (finder-keywords-hash, package-alist): Declare.
4934
4935 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
4936
4937 * finder.el (finder-compile-keywords): Don't use intern-soft,
4938 since package names may not yet exist in the obarray.
4939
4940 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
4941
4942 * vc/vc-arch.el (vc-arch-checkin):
4943 * vc/vc-cvs.el (vc-cvs-checkin):
4944 * vc/vc-mtn.el (vc-mtn-checkin):
4945 * vc/vc-rcs.el (vc-rcs-checkin):
4946 * vc/vc-sccs.el (vc-sccs-checkin):
4947 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
4948 since 2010-04-21 commit by Stefan Monnier.
4949
4950 2010-11-01 Glenn Morris <rgm@gnu.org>
4951
4952 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
4953
4954 * startup.el (package-enable-at-startup, package-initialize):
4955 Silence compiler.
4956
4957 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
4958 Silence compiler.
4959
4960 2010-10-31 Julien Danjou <julien@danjou.info>
4961
4962 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
4963 (byte-recompile-directory):
4964 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
4965 Use `byte-recompile-file'.
4966
4967 2010-10-31 Glenn Morris <rgm@gnu.org>
4968
4969 * cus-start.el: Handle standard values via a keyword.
4970 Only set version property if specified.
4971 (cursor-in-non-selected-windows, menu-bar-mode)
4972 (tool-bar-mode, show-trailing-whitespace):
4973 Do not specify standard values.
4974 (transient-mark-mode, temporary-file-directory): Use :standard.
4975
4976 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
4977
4978 * term/x-win.el (x-get-selection-value): New function that gets
4979 PRIMARY with type as specified in x-select-request-type. (Bug#6802)
4980
4981 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
4982
4983 * net/tramp.el (tramp-handle-insert-file-contents): For root,
4984 preserve owner and group when editing files. (Bug#7289)
4985
4986 2010-10-31 Glenn Morris <rgm@gnu.org>
4987
4988 * speedbar.el (speedbar-mode):
4989 * play/fortune.el (fortune-in-buffer, fortune):
4990 * play/gomoku.el (gomoku-mode):
4991 * play/landmark.el (lm-mode):
4992 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
4993 Replace inappropriate uses of toggle-read-only. (Bug#7292)
4994
4995 * select.el (x-selection): Mark it as an obsolete alias.
4996
4997 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4998
4999 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
5000 major-mode (bug#7284).
5001
5002 2010-10-31 Glenn Morris <rgm@gnu.org>
5003
5004 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
5005 rather than just an unused variable that inherits from the real one.
5006
5007 2010-10-31 Alan Mackenzie <acm@muc.de>
5008
5009 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
5010 This fixes bug #7185.
5011
5012 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
5013
5014 * startup.el (command-line): Search for package directories, and
5015 don't load package.el if none are found.
5016
5017 * emacs-lisp/package.el (describe-package, list-packages):
5018 Call package-initialize if it has not been called yet.
5019
5020 2010-10-30 Alan Mackenzie <acm@muc.de>
5021
5022 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
5023 which fontifies the tail of an enum.
5024 (c-basic-matchers-after): Insert a call to the above new function.
5025 This fixes bug #7264.
5026
5027 2010-10-30 Glenn Morris <rgm@gnu.org>
5028
5029 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
5030 tool-bar-mode, transient-mark-mode. (Bug#7306)
5031 Include the :set property in the dumped Emacs.
5032
5033 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5034
5035 SMIE: change indent rules format, improve smie-setup.
5036 * emacs-lisp/smie.el (smie-precs-precedence-table)
5037 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
5038 Mark them pure so the tables gets built at compile time.
5039 (smie-bnf-precedence-table): Store the closer-alist in the table.
5040 (smie-prec2-levels): Preserve the closer-alist.
5041 (smie-blink-matching-open): Be more forgiving in case of indentation.
5042 (smie-hanging-p): Rename from smie-indent--hanging-p.
5043 (smie-bolp): Rename from smie-indent--bolp.
5044 (smie--parent, smie--after): New dynamic vars.
5045 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
5046 (smie-indent-rules): Remove.
5047 (smie-indent--offset-rule): Remove fun.
5048 (smie-rules-function): New var.
5049 (smie-indent--rule): New fun.
5050 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
5051 (smie-indent-exps): Use it.
5052 (smie-setup): Setup paren blinking; add keyword args for token
5053 functions; extract closer-alist from op-levels.
5054 (smie-indent-debug-log): Remove var.
5055 (smie-indent-debug): Remove fun.
5056 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
5057 (prolog-smie-rules): New fun to replace it.
5058 (prolog-mode-variables): Simplify.
5059 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
5060 it's setup automatically.
5061 (octave-smie-indent-rules): Remove.
5062 (octave-smie-rules): New fun to replace it.
5063 (octave-mode): Simplify.
5064
5065 2010-10-29 Glenn Morris <rgm@gnu.org>
5066
5067 * files.el (temporary-file-directory): Remove (already defined in C).
5068 * cus-start.el: Add temporary-file-directory.
5069
5070 * abbrev.el (abbrev-mode):
5071 * composite.el (auto-composition-mode):
5072 * menu-bar.el (menu-bar-mode):
5073 * simple.el (transient-mark-mode):
5074 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
5075 that they do not define the associated variables twice.
5076 * simple.el (transient-mark-mode): Remove defvar.
5077 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
5078 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
5079 Handle multiple groups, and also custom-delayed-init-variables.
5080 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
5081
5082 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5083
5084 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
5085 (pcase-if): Add one minor optimization.
5086 (pcase-split-equal): Rename from pcase-split-eq.
5087 (pcase-split-member): Rename from pcase-split-memq.
5088 (pcase-u1): Add strings to the member optimization.
5089 Add `guard' variant of predicates.
5090 (pcase-q1): Add string patterns.
5091
5092 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5093
5094 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
5095
5096 2010-10-28 Glenn Morris <rgm@gnu.org>
5097
5098 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
5099 Move menu-bar related settings to ../menu-bar.el.
5100 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
5101 Move ns-specific settings here from term/ns-win.el.
5102
5103 * simple.el (x-selection-owner-p): Remove unused declaration.
5104
5105 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5106
5107 * minibuffer.el (completion-cycling): New var (bug#7266).
5108 (minibuffer-complete, completion--do-completion):
5109 Use completion--flush-all-sorted-completions.
5110 (minibuffer-complete): Only cycle if completion-cycling is set.
5111 (completion--flush-all-sorted-completions): Unset completion-cycling.
5112 (minibuffer-force-complete): Set completion-cycling.
5113 (completion-all-sorted-completions): Move declaration before first use.
5114
5115 2010-10-28 Leo <sdl.web@gmail.com>
5116
5117 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
5118 which changes the order of matches seen by users (bug#7231).
5119
5120 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
5121
5122 * progmodes/compile.el (compilation-mode-font-lock-keywords):
5123 Don't confuse -omega as "-o mega".
5124
5125 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
5126
5127 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
5128 (log-edit-author): New dynamic var.
5129 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
5130 to return the author if different from committer.
5131 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
5132
5133 * play/landmark.el: Adjust commenting convention.
5134 (lm-nil-score): Rename from nil-score.
5135 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
5136 (OOOOscore): Move into a let in lm-score-trans-table.
5137 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
5138
5139 * electric.el (electric-indent-chars): Autoload.
5140 * progmodes/octave-mod.el (octave-mode):
5141 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
5142 (ruby-mode-abbrev-table): Merge initialization and declaration.
5143
5144 2010-10-27 Glenn Morris <rgm@gnu.org>
5145
5146 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
5147 variable.
5148
5149 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
5150
5151 * term/ns-win.el: Restore require of cl when compiling.
5152 (menu-bar-final-items): Remove non-existent `windows' menu.
5153 (ns-handle-nxopen): Optionally handle the temp-case.
5154 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
5155 (ns-insert-file, ns-find-file): Use `pop'.
5156
5157 2010-10-26 Glenn Morris <rgm@gnu.org>
5158
5159 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
5160
5161 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
5162
5163 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
5164 global map.
5165 * term/common-win.el (x-setup-function-keys): Remove most of the
5166 keymappings. Comment on the remaining ones.
5167
5168 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
5169
5170 * server.el (server-port): New option. (Bug#854)
5171 (server-start): Use server-port.
5172
5173 2010-10-26 Glenn Morris <rgm@gnu.org>
5174
5175 * term/ns-win.el (ns-version-string): Remove unused declaration.
5176 (ns-invocation-args): Change to x-invocation-args.
5177 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
5178 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
5179 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
5180 Use x-invocation-args instead of ns-invocation-args.
5181 (ns-initialize-window-system, handle-args-function-alist):
5182 Use x-handle-args instead of ns-handle-args.
5183 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
5184 * startup.el (command-line-ns-option-alist): Replace
5185 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
5186 ns-handle-iconic with the x- equivalents.
5187
5188 * term/common-win.el (x-select-enable-clipboard):
5189 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
5190
5191 * term/ns-win.el: No need to require cl when compiling.
5192 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
5193 (xw-defined-colors): Use the common-win definitions.
5194 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
5195 (ns-handle-iconic): Make it an alias for x-handle-iconic.
5196 * term/common-win.el (x-select-text, x-alternatives-map)
5197 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
5198 * loadup.el [ns]: Load common-win.
5199
5200 2010-10-26 Daiki Ueno <ueno@unixuser.org>
5201
5202 * epa-mail.el (epa-mail-encrypt): Handle local-part only
5203 recipients; expand mail aliases (Bug#7280).
5204
5205 2010-10-25 Glenn Morris <rgm@gnu.org>
5206
5207 * term/common-win.el (x-handle-switch): Simplify with pop.
5208 Optionally handle numeric switches.
5209 (x-handle-numeric-switch): Just call x-handle-switch.
5210 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
5211 (x-handle-name-switch, x-handle-display, x-handle-args):
5212 Simplify with pop.
5213
5214 * term/ns-win.el: Do not require easymenu.
5215 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
5216 <spell>: Move adjustments to menu-bar.el.
5217 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
5218 <separator-undo, spell>: Move ns-win's adjustments here.
5219 * loadup.el [ns]: Do not load easymenu.
5220
5221 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5222
5223 * image.el (image-checkbox-checked, image-checkbox-unchecked):
5224 Delete (Bug#7222).
5225
5226 * startup.el (fancy-startup-tail): Instead of using inline images,
5227 refer to image files from etc/.
5228
5229 * wid-edit.el (checkbox): Likewise.
5230 (widget-image-find): Center image specs.
5231
5232 2010-10-24 Glenn Morris <rgm@gnu.org>
5233
5234 * term/ns-win.el (x-select-text): Doc fix.
5235 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
5236 (x-select-text): Move to term/common-win.
5237 * term/w32-win.el (xw-defined-colors): Move to common-win.
5238 * term/x-win.el (xw-defined-colors, x-alternatives-map)
5239 (x-setup-function-keys, x-select-text): Move to common-win.
5240 * term/common-win.el (x-select-text, x-alternatives-map)
5241 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
5242 definitions here.
5243
5244 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
5245
5246 * net/mairix.el (mairix-searches-mode-map):
5247 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
5248
5249 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
5250
5251 * progmodes/verilog-mode.el (verilog-directive-re): Make this variable
5252 auto-built for efficiency of execution and updating.
5253 (verilog-extended-complete-re): Support 'pure' fucntion & task
5254 declarations (these have no bodies).
5255 (verilog-beg-of-statement): General cleanup to enable support of
5256 'pure' fucntion & task declarations (these have no bodies).
5257 These efforts together fix Verilog bug210 from veripool; which was also
5258 noticed by Steve Pearlmutter.
5259 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
5260 (verilog-directive-nest-re, verilog-set-auto-endcomments):
5261 Support `elsif. Reported by Shankar Giri.
5262 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
5263 attribute handling for lining up declarations and assignments.
5264 (verilog-beg-of-statement-1): Fix issue where continued declaration
5265 is indented differently if it is after a begin..end clock.
5266 (verilog-in-attribute-p, verilog-skip-backward-comments)
5267 (verilog-skip-forward-comment-p): Support proper treatment of
5268 attributes by indent code. Reported by Jeff Steele.
5269 (verilog-in-directive-p): Fix comment to correctly describe function.
5270 (verilog-backward-up-list, verilog-in-struct-region-p)
5271 (verilog-backward-token, verilog-in-struct-p)
5272 (verilog-in-coverage-p, verilog-do-indent)
5273 (verilog-pretty-declarations): Use verilog-backward-up-list as
5274 wrapper around backward-up-list inorder to properly skip comments.
5275 Reported by David Rogoff.
5276 (verilog-property-re, verilog-endcomment-reason-re)
5277 (verilog-beg-of-statement, verilog-set-auto-endcomments)
5278 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
5279 of if). Reported by Max Bjurling and
5280 (verilog-calc-1): Fix for clocking block in modport
5281 declaration. Reported by Brian Hunter.
5282
5283 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
5284
5285 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
5286 (verilog-gate-keywords, verilog-read-sub-decls)
5287 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
5288 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
5289 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
5290 (verilog-read-decls): Fix spaces in V2K module parameters causing
5291 mis-identification as interfaces, bug287.
5292 (verilog-read-decls): Fix not treating "parameter string" as a
5293 parameter in AUTOINSTPARAM.
5294 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
5295 treating `elsif similar to `endif inside AUTOSENSE.
5296 (verilog-do-indent): Implement correct automatic or static task or
5297 function end comment highlight. Reported by Steve Pearlmutter.
5298 (verilog-font-lock-keywords-2): Fix highlighting of single
5299 character pins, bug264. Reported by Michael Laajanen.
5300 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
5301 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
5302 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
5303 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
5304 (verilog-pretty-expr): Fix interactive arguments, bug272.
5305 Reported by Mark Johnson.
5306 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
5307 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
5308 bug269. Suggested by Gary Delp.
5309 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
5310 (verilog-preprocessor, verilog-set-compile-command):
5311 Create verilog-preprocess and verilog-preprocessor to show
5312 preprocessed output.
5313 (verilog-get-beg-of-line, verilog-get-end-of-line)
5314 (verilog-modi-file-or-buffer, verilog-modi-name)
5315 (verilog-modi-point, verilog-within-string): Move defmacro's
5316 before first use to avoid warning. Reported by Steve Pearlmutter.
5317 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
5318 (verilog-colorize-region, verilog-highlight-buffer)
5319 (verilog-highlight-includes, verilog-highlight-modules)
5320 (verilog-highlight-region, verilog-mode): Rename colorize to
5321 highlight to match other packages. Disable module highlighting,
5322 as received speed complaints, reenable for experimentation only
5323 using new verilog-highlight-modules.
5324 (verilog-read-decls): Fix regexp stack overflow in very large
5325 AUTO_TEMPLATEs, bug250.
5326 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
5327 (verilog-scan): Create verilog-save-buffer-state to standardize
5328 making insignificant changes that shouldn't call hooks.
5329 (verilog-save-no-change-functions, verilog-save-scan-cache)
5330 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
5331 Create verilog-save-no-change-functions to wrap verilog-scan
5332 preservation, and fix to work with nested preserved calls.
5333 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
5334 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
5335 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
5336 (verilog-submit-bug-report): Update variable list to be complete.
5337 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
5338 breaking on-the-fly font-locking.
5339 (verilog-colorize-buffer, verilog-colorize-include-files)
5340 (verilog-colorize-include-files-buffer, verilog-colorize-region)
5341 (verilog-load-file-at-mouse, verilog-load-file-at-point)
5342 (verilog-mode, verilog-read-inst-module-matcher): With point on a
5343 AUTOINST cell instance name, middle mouse button now finds-file on
5344 it. Suggested by Brad Dobbie.
5345 (verilog-alw-get-temps, verilog-auto-reset)
5346 (verilog-auto-sense-sigs, verilog-read-always-signals)
5347 (verilog-read-always-signals-recurse): Fix loop indexes being
5348 AUTORESET. AUTORESET now assumes any variables in the
5349 initialization section of a for() should be ignored.
5350 Reported by Dan Dever.
5351 (verilog-error-font-lock-keywords)
5352 (verilog-error-regexp-emacs-alist)
5353 (verilog-error-regexp-xemacs-alist): Fix error detection of
5354 Cadence HAL, reported by David Asher. Repair drift between the
5355 three similar error variables.
5356 (verilog-modi-lookup, verilog-modi-lookup-cache)
5357 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
5358 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
5359 Fix slow verilog-auto expansion on very large files.
5360 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
5361 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
5362 "{1*2{...". Broke in last revision.
5363 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
5364 submodule connections with replications "{#{a},#{b}}".
5365
5366 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
5367
5368 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
5369 Fix typo in docstring.
5370
5371 2010-10-24 Kenichi Handa <handa@m17n.org>
5372
5373 * face-remap.el (text-scale-adjust): Call read-event with a proper
5374 prompt.
5375
5376 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5377
5378 * emacs-lisp/unsafep.el: Don't mark functions that display
5379 messages as safe. Suggested by Johan Bockgård.
5380
5381 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5382
5383 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
5384 Turn comments into docstrings.
5385
5386 * minibuffer.el (completion--replace): Move point where it belongs
5387 when there's a common suffix (bug#7215).
5388
5389 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5390
5391 Merge read-color and facemenu-read-color (Bug#7242).
5392
5393 * faces.el (read-color): Use the completion code from
5394 facemenu-read-color. Require match in completion. Doc fix.
5395
5396 * facemenu.el (facemenu-read-color): Alias for read-color.
5397 (facemenu-set-foreground, facemenu-set-background):
5398 Use read-color.
5399
5400 * frame.el (set-background-color, set-foreground-color)
5401 (set-cursor-color, set-mouse-color, set-border-color):
5402 Use read-color.
5403
5404 2010-10-24 Leo <sdl.web@gmail.com>
5405
5406 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
5407 argument of delete-file and delete-directory (Bug#7011).
5408
5409 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5410
5411 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
5412 button-buffer-map.
5413
5414 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
5415
5416 * emacs-lisp/package.el (package--generate-package-list): Make the
5417 *Packages* buffer read-only.
5418
5419 2010-10-24 Alan Mackenzie <acm@muc.de>
5420
5421 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
5422 result of `c-beginning-of-decl-1' between invocations of a lambda
5423 function (Bug #7265).
5424
5425 2010-10-24 Daiki Ueno <ueno@unixuser.org>
5426
5427 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
5428 executable is not available on the system (Bug#7268).
5429
5430 2010-10-24 Glenn Morris <rgm@gnu.org>
5431
5432 * select.el (selection-coding-system, next-selection-coding-system):
5433 Sync doc with C versions.
5434
5435 * w32-vars.el (x-select-enable-clipboard):
5436 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
5437 * term/common-win.el (x-select-enable-clipboard): Move here.
5438
5439 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
5440 definition of C variable.
5441
5442 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
5443 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
5444 Don't redefine things that are defined in C.
5445 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
5446 (show-trailing-whitespace, auto-hscroll-mode)
5447 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
5448 Set up the appropriate custom properties.
5449
5450 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5451
5452 Bind "C-c ]" to ...
5453 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
5454 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
5455 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
5456 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
5457
5458 2010-10-23 Glenn Morris <rgm@gnu.org>
5459
5460 * textmodes/flyspell.el (flyspell-mode): If there was an error,
5461 say what it was.
5462
5463 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
5464 Sync docs with C version.
5465
5466 * term/ns-win.el (xw-defined-colors):
5467 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
5468
5469 * term/pc-win.el (x-select-enable-clipboard):
5470 * term/x-win.el (x-select-enable-clipboard):
5471 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
5472
5473 * comint.el (comint-password-prompt-regexp): Make it less vague.
5474 Bump version.
5475
5476 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
5477
5478 * help.el (finder-by-keyword): Remove unnecessary autoload.
5479
5480 2010-10-22 Glenn Morris <rgm@gnu.org>
5481
5482 * loadup.el: Unconditionally load float-sup.
5483 * paren.el (show-paren-delay):
5484 * emacs-lisp/float-sup.el:
5485 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
5486 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
5487 (lazy-lock-stealth-verbose): Assume float support.
5488 * ps-print.el: Assume float support on Emacs.
5489 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
5490 Remove non-float branch.
5491
5492 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
5493 src/Makefile no longer being pre-processed.
5494
5495 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5496
5497 * emacs-lisp/find-func.el (find-library): Use test-completion.
5498
5499 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5500
5501 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
5502
5503 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
5504
5505 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
5506 space in stat format string.
5507 (tramp-send-command): Unset $PS1 when using here documents, in
5508 order not to get several prompts.
5509 (tramp-get-inline-coding): Return `nil' in case of errors.
5510
5511 2010-10-21 Daiki Ueno <ueno@unixuser.org>
5512
5513 * hexl.el (hexl-mode, hexl-mode-exit):
5514 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
5515 (hexl-revert-buffer-function): New function.
5516 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
5517
5518 2010-10-19 Alan Mackenzie <acm@muc.de>
5519
5520 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
5521 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
5522 that these keywords aren't wrongly matched as identifiers.
5523
5524 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
5525 setting of c-new-BEG and c-new-END from c-before-change to
5526 c-after-change. (Bug#7181)
5527
5528 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
5529
5530 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
5531 Don't mark as safe.
5532
5533 * custom.el (custom-theme-set-variables): Likewise.
5534 (load-theme): Add custom-theme-set-faces and
5535 custom-theme-set-variables to safe-functions while loading.
5536 (custom-enabled-themes): Mark as risky.
5537
5538 2010-10-18 Julien Danjou <julien@danjou.info>
5539
5540 * bindings.el: Remove end dashes in default mode-line-format.
5541
5542 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
5543
5544 * bindings.el (global-map): Bind C-d to delete-char and deletechar
5545 to delete-forward-char.
5546
5547 * simple.el (normal-erase-is-backspace-mode): Remap delete to
5548 deletechar, and hence delete-forward-char.
5549
5550 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5551
5552 * repeat.el (repeat): Use read-key (bug#6256).
5553
5554 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
5555
5556 * emacs-lisp/unsafep.el: Don't mark functions that display
5557 messages as safe. Suggested by Johan Bockgård.
5558
5559 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5560
5561 * minibuffer.el (completion--replace): Move point where it belongs
5562 when there's a common suffix (bug#7215).
5563
5564 2010-10-19 Kenichi Handa <handa@m17n.org>
5565
5566 * international/characters.el: Add category '|' (word breakable)
5567 to fullwidth characters.
5568
5569 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
5570
5571 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
5572 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
5573 order to make stat results a float. Patch by Andreas Schwab
5574 <schwab@linux-m68k.org>.
5575
5576 2010-10-18 Julien Danjou <julien@danjou.info>
5577
5578 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
5579 hidden by `make-pointer-invisible'.
5580
5581 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5582
5583 * files.el (locate-file-completion-table): Strip non-matching elements
5584 before checking length of list (bug#7238).
5585
5586 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
5587
5588 * custom.el (custom-theme-set-variables): Mark as a safe function.
5589 (load-theme): Check forms using unsafep.
5590
5591 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
5592
5593 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
5594
5595 * textmodes/ispell.el (ispell-aspell-find-dictionary):
5596 Fix aspell data file searching (bug#7230).
5597
5598 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
5599
5600 * cus-theme.el (custom-theme--migrate-settings): New var.
5601 (customize-create-theme): Allow editing the `user' theme.
5602 (custom-theme-add-variable, custom-theme-add-var-1)
5603 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
5604 to the front of each variable or face widget.
5605 (custom-theme-write): Save theme settings in the correct order.
5606 Optionally, remove saved settings from user customizations.
5607 (custom-theme-write-variables, custom-theme-write-faces):
5608 Save only the checked widgets.
5609 (customize-themes): Add a link for migrating custom settings.
5610
5611 * custom.el (custom-declare-theme, provide-theme):
5612 Use custom-theme-name-valid-p.
5613 (custom-theme-name-valid-p): Remove checks that are now
5614 unnecessary since themes no longer obey load-path.
5615
5616 * cus-edit.el (custom-variable-value-create): For the simple
5617 style, hide documentation string when hidden.
5618
5619 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
5620
5621 * cus-edit.el (custom-variable, custom-face): Combine the
5622 :inhibit-magic and :display-style properties into a single
5623 :custom-style property.
5624 (custom-toggle-hide-variable, custom-toggle-hide-face):
5625 New functions. If hiding an edited value, save it to :shown-value.
5626 (custom-variable-value-create, custom-face-value-create): Use them.
5627 (custom-magic-reset): Allow magic property to be unset.
5628
5629 * custom.el: Custom themes no longer use load-path.
5630 (custom-theme-load-path): New option. Change built-in theme
5631 directory to etc/.
5632 (custom-enabled-themes): Add custom-theme-load-path dependency.
5633 (custom-theme--load-path): New function.
5634 (load-theme, custom-available-themes): Use it.
5635
5636 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
5637 (customize-themes): Link to custom-theme-load-path variable.
5638 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
5639 :custom-style property.
5640
5641 * themes/*.el: Moved to etc/.
5642
5643 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
5644
5645 * textmodes/reftex-cite.el
5646 (reftex-extract-bib-entries-from-thebibliography): Do not move
5647 point when searching for \bibitem entries. Match entries with
5648 spaces or tabs in front of arguments.
5649
5650 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
5651
5652 * cus-theme.el (customize-create-theme): Delete overlays after
5653 erasing. If given a THEME arg, display only the faces of that arg
5654 instead of custom-theme--listed-faces.
5655 (custom-theme-variable-menu, custom-theme-variable-action)
5656 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
5657 (custom-theme-add-variable, custom-theme-add-face): Apply value
5658 from the theme settings, instead of the current value.
5659 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
5660 (custom-theme-visit-theme): Allow calling outside theme buffers.
5661 (custom-theme-merge-theme): Don't enable the theme when merging.
5662 (custom-theme-write-variables, custom-theme-write-faces): Use the
5663 :shown-value properties to save buffer values, not global ones.
5664 (customize-themes): Display a warning about user customizations.
5665
5666 * cus-edit.el (custom-variable-value-create)
5667 (custom-face-value-create): Obey new special properties
5668 :shown-value and :inhibit-magic.
5669
5670 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
5671
5672 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
5673 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
5674 <dale@codefu.org>.
5675
5676 2010-10-14 Kenichi Handa <handa@m17n.org>
5677
5678 * mail/rmail.el (rmail-show-message-1): Catch an error of
5679 base64-decode-region and just show an error message (bug#7165).
5680
5681 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
5682 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
5683 a font-spec (bug#7197).
5684
5685 2010-10-14 Glenn Morris <rgm@gnu.org>
5686
5687 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
5688
5689 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
5690
5691 * international/mule.el (define-coding-system):
5692 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
5693 * composite.el (compose-region): Fix typo in docstring.
5694
5695 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
5696
5697 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
5698 only after checking the theme-face property.
5699
5700 * faces.el (face-spec-reset-face): Reset all attributes in one
5701 single call to set-face-attribute.
5702 (face-spec-match-p): Make it a defsubst.
5703 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
5704 (x-create-frame-with-faces, tty-create-frame-with-faces)
5705 (tty-set-up-initial-frame-faces): Don't recompute face specs in
5706 frame-set-background-mode, since they are recomputed immediately
5707 afterwards in face-set-after-frame-default.
5708 (face-set-after-frame-default): Minor optimization.
5709 (cursor): Provide non-trivial defface spec.
5710
5711 * custom.el (custom-theme-recalc-face): Simplify.
5712
5713 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
5714
5715 * calc/calc-alg.el (math-var): Rename from `var'.
5716 (math-is-polynomial, math-is-poly-rec): Replace `var'
5717 with `math-var'.
5718
5719 * calc/calcalg2.el (math-var): Rename from `var'.
5720 (calcFunc-table, math-scan-for-limits): Replace `var'
5721 with `math-var'.
5722
5723 2010-10-13 Glenn Morris <rgm@gnu.org>
5724
5725 * subr.el (last): Deal with dotted lists (reported in bug#7174).
5726
5727 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
5728
5729 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
5730
5731 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5732
5733 * net/tls.el (tls-program): Remove spurious %s from openssl.
5734 (tls-starttls-switches): Remove starttls hack.
5735 (open-tls-stream): Ditto.
5736 (tls-find-starttls-argument): Ditto.
5737
5738 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
5739
5740 * image.el (image-library-alist): Declare as obsolete alias.
5741 (image-type-available-p): Use `dynamic-library-alist'.
5742
5743 * term/w32-win.el (dynamic-library-alist):
5744 Use instead of `image-library-alist'.
5745
5746 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
5747
5748 * subr.el (last): Make it faster. (Bug#7174)
5749
5750 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
5751
5752 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
5753
5754 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
5755
5756 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
5757 (describe-theme-1): Extract doc from unloaded themes.
5758
5759 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
5760
5761 * themes/tango-theme.el:
5762 * themes/tango-dark-theme.el:
5763 * themes/wheatgrass-theme.el: New files.
5764
5765 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
5766
5767 * cus-theme.el (describe-theme, customize-themes)
5768 (custom-theme-save): New commands.
5769 (custom-new-theme-mode-map): Bind C-x C-s.
5770 (custom-new-theme-mode): Use custom--initialize-widget-variables.
5771 (customize-create-theme): New optional arg THEME.
5772 (custom-theme-revert): Use it.
5773 (custom-theme-visit-theme): Remove dead code.
5774 (custom-theme-merge-theme): Use custom-available-themes.
5775 (custom-theme-write): Make interactive.
5776 (custom-theme-write): Use custom-theme-name-valid-p.
5777 (describe-theme-1, custom-theme-choose-revert)
5778 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
5779 New funs.
5780 (custom-theme-allow-multiple-selections): New option.
5781 (custom-theme-choose-mode): New major mode.
5782
5783 * custom.el (custom-theme-set-variables): Remove dead code.
5784 Obey custom--inhibit-theme-enable.
5785 (custom--inhibit-theme-enable): New var.
5786 (provide-theme): Obey it.
5787 (load-theme): Replace load with manual read/eval, in order to
5788 check for correctness. Use custom-theme-name-valid-p.
5789 (custom-theme-name-valid-p): New function.
5790 (custom-available-themes): Use it.
5791
5792 * cus-edit.el (custom--initialize-widget-variables): New function.
5793 (Custom-mode): Use it.
5794
5795 * cus-face.el (custom-theme-set-faces): Remove dead code.
5796 Obey custom--inhibit-theme-enable.
5797
5798 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
5799
5800 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
5801
5802 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
5803
5804 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
5805
5806 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
5807 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
5808 (mac-right-option-modifier): New alias for ns-right-option-modifier.
5809
5810 * cus-start.el (all): ns-right-alternate-modifier is new.
5811
5812 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5813
5814 * emacs-lisp/lisp.el (lisp-completion-at-point):
5815 Use emacs-lisp-mode-syntax-table for the whole function.
5816
5817 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
5818
5819 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
5820 instead of font-lock-mode before adding keywords.
5821 Remove hi-lock-mode off code. Remove inhibit hack.
5822 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
5823 non-nil; removed hook inhibit hack.
5824
5825 2010-10-12 Glenn Morris <rgm@gnu.org>
5826
5827 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
5828 (load-path-shadows-find): ... to this.
5829 (list-load-path-shadows): Update for above change.
5830
5831 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
5832
5833 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
5834
5835 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
5836 Fix comment for declare-function.
5837
5838 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
5839
5840 * custom.el (custom-fix-face-spec): New function; code moved from
5841 custom-face-edit-fix-value.
5842 (custom-push-theme): Use it when checking if a face has been
5843 changed outside customize.
5844 (custom-available-themes): New function.
5845 (load-theme): Use it.
5846
5847 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
5848
5849 * custom.el (custom-push-theme): Cleanup (use cond).
5850 (disable-theme): Recompute the saved-face property.
5851 (custom-theme-recalc-face): Follow face alias before setting prop.
5852
5853 * image.el (image-checkbox-checked, image-checkbox-unchecked):
5854 New variables, containing checkbox images.
5855
5856 * startup.el (fancy-startup-tail):
5857 * wid-edit.el (checkbox): Use them.
5858
5859 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
5860
5861 * shell.el (shell-mode-map):
5862 * progmodes/modula2.el (m2-mode-map):
5863 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
5864 * play/mpuz.el (mpuz-mode-map):
5865 * play/landmark.el (lm-mode-map):
5866 * play/decipher.el (decipher-mode-map):
5867 * play/5x5.el (5x5-mode-map):
5868 * net/telnet.el (telnet-mode-map):
5869 * net/quickurl.el (quickurl-list-mode-map):
5870 * net/mairix.el (mairix-searches-mode-map):
5871 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
5872 * net/dig.el (dig-mode-map):
5873 * mail/mspools.el (mspools-mode-map):
5874 * hexl.el (hexl-mode-map):
5875 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
5876 (wordstar-C-o-map, wordstar-C-q-map):
5877 * emacs-lisp/edebug.el (edebug-eval-mode-map):
5878 * emacs-lisp/chart.el (chart-map):
5879 * edmacro.el (edmacro-mode-map):
5880 * erc/erc-list.el (erc-list-menu-mode-map):
5881 * array.el (array-mode-map): Declare and define in one step.
5882
5883 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
5884
5885 2010-10-10 Daiki Ueno <ueno@unixuser.org>
5886
5887 * epa.el (epa-passphrase-callback-function): Display filename
5888 passed as the 3rd arg.
5889 * epa-file.el (epa-file-passphrase-callback-function):
5890 Pass filename to epa-passphrase-callback-function.
5891
5892 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
5893
5894 * cus-edit.el (custom-face-widget-to-spec)
5895 (custom-face-get-current-spec, custom-face-state): New functions.
5896 (custom-face-set, custom-face-mark-to-save)
5897 (custom-face-value-create, custom-face-state-set): Use them.
5898
5899 * cus-theme.el (custom-theme--listed-faces): New var.
5900 (customize-create-theme): Use *Custom Theme* as the buffer name.
5901 Set revert-buffer-function. Optional arg BUFFER. Insert all
5902 faces listed in custom-theme--listed-faces.
5903 (custom-theme-revert): New function.
5904 (custom-theme-add-variable, custom-theme-add-face): Insert at the
5905 bottom of the list.
5906 (custom-theme-write): Prompt for theme name if empty.
5907 (custom-theme-write-variables): Use dolist.
5908 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
5909
5910 2010-10-09 Alan Mackenzie <acm@muc.de>
5911
5912 Enhance fontification of declarators to take account of the
5913 presence/absence of "typedef".
5914
5915 * cc-engine.el (c-forward-type): New &optional param
5916 "brace-block-too".
5917 (c-forward-decl-or-cast-1): cdr of return value now indicates the
5918 presence of either or both of a "struct"-like keyword and "typedef".
5919
5920 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
5921 fontification of declarators which follow a "}".
5922 (c-font-lock-declarations): Fontify declarators according to the
5923 presence/absence of "typedef".
5924
5925 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
5926 for "typedef".
5927 (c-typedef-decl-key): New lang variable built from
5928 c-typedef-decl-kwds.
5929
5930 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
5931
5932 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
5933 since that's too annoying. Move the filter groups commands to
5934 TAB/backtab.
5935
5936 * epa.el (epa-passphrase-callback-function): Say what we're
5937 querying the password for.
5938
5939 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
5940 behaviour, don't bury the ibuffer buffer when visiting other buffers.
5941
5942 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
5943
5944 * cus-edit.el (custom-commands, custom-buffer-create-internal)
5945 (custom-magic-value-create): Pad button tags with spaces.
5946 (custom-face-edit): New variable.
5947 (custom-face-value-create): Determine whether to use the usual
5948 face editor here, instead of using custom-face-selected.
5949 Pass face defaults to custom-face-edit widget.
5950 (custom-face-selected, custom-display-unselected): Delete widgets.
5951 (custom-display-unselected-match): Function removed.
5952 (custom-face-set, custom-face-mark-to-save):
5953 Accept custom-face-edit widgets as the direct widget child.
5954
5955 * wid-edit.el (widget--completing-widget): New var.
5956 (widget-default-complete): Bind it when doing completion.
5957 (widget-string-complete, widget-file-complete): Use it.
5958
5959 2010-10-09 Glenn Morris <rgm@gnu.org>
5960
5961 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
5962 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
5963 (holiday-hebrew-misc): Small simplifications.
5964
5965 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
5966
5967 * net/browse-url.el: Don't require thingatpt, term, dired,
5968 executable, or w3-auto when compiling.
5969 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
5970 Declare.
5971 (browse-url-text-emacs): Require term.
5972
5973 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
5974
5975 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
5976
5977 2010-10-08 Glenn Morris <rgm@gnu.org>
5978
5979 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
5980
5981 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
5982 (shadows-compare-text-p): Make it an obsolete alias for...
5983 (load-path-shadows-compare-text): ... new name.
5984 (find-emacs-lisp-shadows): Update for above name change.
5985 (load-path-shadows-same-file-or-nonexistent): New name for the old
5986 shadow-same-file-or-nonexistent.
5987
5988 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
5989
5990 * minibuffer.el (completion--some, completion--do-completion)
5991 (minibuffer-complete-and-exit, minibuffer-completion-help)
5992 (completion-basic-try-completion)
5993 (completion-basic-all-completions)
5994 (completion-pcm--find-all-completions): Use lexical-let to
5995 avoid some false matches in variable completion (Bug#7056)
5996
5997 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
5998
5999 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
6000
6001 2010-10-08 Leo <sdl.web@gmail.com>
6002
6003 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
6004 return non-nil if the file exists (Bug#7090).
6005
6006 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6007
6008 * minibuffer.el (completion--replace):
6009 Better preserve markers (bug#7138).
6010
6011 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
6012
6013 * server.el (server-process-filter): Doc fix.
6014
6015 2010-10-08 Drew Adams <drew.adams@oracle.com>
6016
6017 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
6018
6019 2010-10-08 Glenn Morris <rgm@gnu.org>
6020
6021 * vc/ediff-wind.el (ediff-setup-control-frame):
6022 * vc/ediff-ptch.el (ediff-default-backup-extension):
6023 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
6024 (ediff-exec-process): Remove system-types emx, windows-95.
6025
6026 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
6027
6028 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
6029
6030 * cus-edit.el (custom-variable, custom-face): Doc fix.
6031 (custom-face-edit): Add value-create attribute.
6032 (custom-face-edit-value-create)
6033 (custom-face-edit-value-visibility-action): New functions.
6034 Hide unused face attributes by default, and add a visibility toggle.
6035 (custom-face-edit-deactivate): Show empty values with shadow face.
6036 (custom-face-selected): Only use this for face specs with default
6037 attributes.
6038 (custom-face-value-create): Cleanup.
6039
6040 * wid-edit.el (widget-checklist-value-create): Use dolist.
6041 (widget-checklist-match-find): Make second arg optional.
6042
6043 2010-10-07 Glenn Morris <rgm@gnu.org>
6044
6045 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
6046 Prefix things.
6047
6048 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
6049 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
6050 load-path-shadows-mode, update references.
6051 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
6052 Rename variable and button.
6053 (list-load-path-shadows): Update button caller.
6054
6055 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6056
6057 * emacs-lisp/smie.el (smie-bnf-classify): New function.
6058 (smie-bnf-precedence-table): Use it to remember the closers/openers.
6059 (smie-merge-prec2s): Handle those new entries.
6060 (smie-prec2-levels): Only set precedence to nil for actual
6061 openers/closers.
6062 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
6063 that is now unnecessary.
6064
6065 2010-10-07 Miles Bader <miles@gnu.org>
6066
6067 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
6068
6069 2010-10-07 Glenn Morris <rgm@gnu.org>
6070
6071 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
6072 (mail-position-on-field): Remove declarations.
6073 (mail-position-on-field): Autoload it.
6074 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
6075 and mail-header-end. Don't require sendmail.
6076
6077 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
6078 (shadow-mode): New mode.
6079 (shadow-find-file): New button.
6080 (list-load-path-shadows): Use shadow-mode and buttons.
6081
6082 * iimage.el (iimage-version): Remove.
6083 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
6084 Turn into defcustoms.
6085 (iimage-mode-map): Give it a doc string.
6086
6087 * calendar/appt.el (appt-activate): Give a warning rather than an error
6088 if there is no diary-file.
6089
6090 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
6091
6092 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6093 Use `tramp-handle-find-backup-file-name'.
6094
6095 2010-10-06 Glenn Morris <rgm@gnu.org>
6096
6097 * font-core.el (font-lock-defaults-alist): Remove variable.
6098 (font-lock-mode): Doc fix.
6099 (font-lock-default-function): Do not consult font-lock-defaults-alist.
6100 * font-lock.el (font-lock-refresh-defaults): Doc fix.
6101 (font-lock-set-defaults): Doc fix.
6102 Do not consult font-lock-defaults-alist.
6103
6104 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
6105
6106 * emacs-lisp/cl.el: No longer provide cl-19.
6107
6108 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
6109
6110 * net/tramp.el (tramp-handle-directory-files-and-attributes)
6111 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
6112 New defuns, taken from tramp-smb.el.
6113 (tramp-coding-system-change-eol-conversion)
6114 (tramp-set-process-query-on-exit-flag): Remove.
6115
6116 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
6117 (tramp-compat-coding-system-change-eol-conversion)
6118 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
6119 from tramp.el.
6120
6121 * net/tramp-gvfs.el:
6122 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
6123 by `tramp-compat-set-process-query-on-exit-flag'.
6124
6125 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
6126 Use `tramp-handle-directory-files-and-attributes',
6127 `tramp-handle-file-exists-p' and
6128 `tramp-handle-file-newer-than-file-p'.
6129 (tramp-imap-handle-file-exists-p)
6130 (tramp-imap-handle-file-executable-p)
6131 (tramp-imap-handle-file-readable-p)
6132 (tramp-imap-handle-directory-files-and-attributes)
6133 (tramp-imap-handle-file-newer-than-file-p): Remove.
6134
6135 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
6136 by `tramp-compat-set-process-query-on-exit-flag' and
6137 `tramp-coding-system-change-eol-conversion' by
6138 `tramp-compat-coding-system-change-eol-conversion'.
6139
6140 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6141 Use `tramp-handle-directory-files-and-attributes',
6142 `tramp-handle-file-exists-p' and
6143 `tramp-handle-file-newer-than-file-p'.
6144 (tramp-smb-handle-directory-files-and-attributes)
6145 (tramp-smb-handle-file-exists-p)
6146 (tramp-smb-handle-file-newer-than-file-p): Remove.
6147 (tramp-smb-maybe-open-connection):
6148 Replace `tramp-set-process-query-on-exit-flag' by
6149 `tramp-compat-set-process-query-on-exit-flag'.
6150
6151 2010-10-05 Glenn Morris <rgm@gnu.org>
6152
6153 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
6154
6155 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
6156
6157 Continue reorganization of load dependencies. (Bug#7156)
6158
6159 * net/tramp.el (tramp-handle-file-local-copy-hook)
6160 (tramp-delete-temp-file-function): Move down.
6161 (tramp-exists-file-name-handler): Move up.
6162 (tramp-register-file-name-handlers): Simplify autoload.
6163 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
6164 (tramp-handle-directory-files, tramp-handle-dired-uncache)
6165 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
6166 (tramp-handle-file-name-completion)
6167 (tramp-handle-file-name-directory)
6168 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
6169 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
6170 (tramp-handle-find-backup-file-name)
6171 (tramp-handle-insert-file-contents, tramp-handle-load)
6172 (tramp-handle-substitute-in-file-name)
6173 (tramp-handle-unhandled-file-name-directory)
6174 (tramp-mode-string-to-int, tramp-local-host-p)
6175 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
6176
6177 * net/tramp-gvfs.el (top):
6178 * net/tramp-smb.el (top): Do not require 'tramp-sh.
6179
6180 * net/tramp-sh.el (all): Move several objects to tramp.el, see
6181 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
6182
6183 2010-10-04 Glenn Morris <rgm@gnu.org>
6184
6185 * calendar/appt.el (appt-add): Ensure reminders are enabled.
6186 (appt-activate): Give status messages.
6187
6188 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
6189
6190 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
6191 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
6192 `gnutls-negotiate' (formerly `starttls-negotiate').
6193 Remove trivial wrapper `starttls-open-stream'.
6194
6195 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
6196
6197 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
6198 log-outgoing commands.
6199 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
6200 to create a buffer local revert-buffer-function variable.
6201 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
6202 revert-buffer-function lambda.
6203
6204 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
6205
6206 * net/gnutls.el (starttls-negotiate): Use the plist interface to
6207 `gnutls-boot'. Make TYPE the only required parameter.
6208 Allow TRUSTFILES and KEYFILES to be lists.
6209 (open-ssl-stream): Use it.
6210
6211 2010-10-03 Glenn Morris <rgm@gnu.org>
6212
6213 * subr.el (directory-sep-char): Remove obsolete variable.
6214 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
6215 it is "necessary".
6216
6217 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
6218 * vc/vc.el (vc-static-header-alist): Doc fix.
6219 * vc/vc-cvs.el (vc-cvs-header):
6220 * vc/vc-rcs.el (vc-rcs-header):
6221 * vc/vc-sccs.el (vc-sccs-header):
6222 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
6223 * obsolete/vc-mcvs.el (vc-mcvs-header):
6224 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
6225 on XEmacs.
6226
6227 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
6228
6229 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
6230 Remove obsolete use of binary-overwrite-mode (Bug#7001).
6231
6232 2010-10-03 Glenn Morris <rgm@gnu.org>
6233
6234 * obsolete/x-menu.el: Remove file, obsolete since 21.1.
6235
6236 * textmodes/rst.el (rst-font-lock-keywords-function):
6237 Drop Emacs 20 code.
6238
6239 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
6240
6241 * printing.el: Drop Emacs 20 code.
6242
6243 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
6244 without having used appt.el already).
6245
6246 * subr.el (make-local-hook): Remove function obsolete since 21.1.
6247 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
6248 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
6249 XEmacs.
6250 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
6251 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
6252
6253 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
6254 (charset-width, find-charset-region, chars-in-region, forward-point)
6255 (encode-coding-string, coding-system-p, ccl-execute-on-string)
6256 (define-ccl-program, multibyte-string-p, string-make-multibyte):
6257 Remove compatibility cruft (none of these are used by ps*.el).
6258
6259 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
6260
6261 * subr.el (booleanp): Return t instead of a list (Bug#7086).
6262
6263 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
6264
6265 * server.el (server-process-filter, server-return-error):
6266 Give emacsclient time to shut down after receiving an error string.
6267
6268 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
6269
6270 * files.el (remote-file-name-inhibit-cache): New defcustom.
6271
6272 * time.el (display-time-file-nonempty-p):
6273 Use `remote-file-name-inhibit-cache'.
6274
6275 * net/tramp.el (tramp-completion-reread-directory-timeout):
6276 Fix docstring.
6277
6278 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
6279 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
6280 `remote-file-name-inhibit-cache'. Check also for an integer
6281 value. Add/increase counter when `tramp-verbose' >= 10.
6282 (tramp-set-file-property): Add/increase counter when
6283 `tramp-verbose' >= 10.
6284
6285 * net/tramp-cmds.el (tramp-cleanup-all-connections)
6286 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
6287 (tramp-bug): Set tramp-autoload cookie. Report all interned
6288 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
6289 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
6290 characters only in strings.
6291
6292 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
6293 to backward compatibility.
6294
6295 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
6296 (tramp-handle-file-name-all-completions)
6297 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
6298 (tramp-open-connection-setup-interactive-shell):
6299 Call `tramp-cleanup-connection' directly.
6300
6301 2010-10-02 Glenn Morris <rgm@gnu.org>
6302
6303 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
6304
6305 * subr.el (char-bytes): Remove obsolete function.
6306
6307 * isearch.el (isearch-return-char): Remove obsolete function.
6308
6309 * mouse.el: No longer provide mldrag.
6310 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
6311 Remove obsolete aliases.
6312
6313 * comint.el (comint-kill-output): Remove obsolete alias.
6314
6315 * composite.el (decompose-composite-char): Remove obsolete function.
6316 * ps-def.el (decompose-composite-char): Remove unused function.
6317
6318 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
6319
6320 * outline.el (outline-visible): Remove obsolete function.
6321
6322 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
6323 * faces.el (internal-find-face, internal-get-face)
6324 (frame-update-faces, frame-update-face-colors)
6325 (x-frob-font-weight, x-frob-font-slant)
6326 (internal-frob-font-weight, internal-frob-font-slant)
6327 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
6328 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
6329 (x-make-font-bold-italic): Remove functions and aliases, obsolete
6330 since Emacs 21.1.
6331 * emulation/viper-util.el (viper-get-face):
6332 * obsolete/lucid.el (find-face, get-face): Use facep.
6333 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
6334 Remove unused functions.
6335 * vc/ediff-util.el (ediff-submit-report): Doc fix.
6336
6337 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
6338 delete tempfile if interrupted during compilation.
6339
6340 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6341
6342 * net/tls.el (tls-starttls-switches): Give up on using starttls with
6343 gnutls-cli.
6344 (tls-program): Add --insecure to be consistent with the defaults from
6345 openssl s_client. Now all three commands are insecure.
6346
6347 2010-10-01 Eli Zaretskii <eliz@gnu.org>
6348
6349 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
6350 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
6351 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
6352
6353 2010-10-01 Glenn Morris <rgm@gnu.org>
6354
6355 * obsolete/sc.el: Remove file.
6356
6357 * files.el (temporary-file-directory): On darwin, also try
6358 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
6359
6360 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
6361
6362 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
6363 Let's not break compatibility gratuitously, shall we?
6364
6365 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6366
6367 * net/tls.el (tls-starttls-switches): New variable.
6368 (tls-find-starttls-argument): Use it.
6369 (open-tls-stream): Ditto.
6370
6371 * net/netrc.el (netrc-credentials): Return the value of the "default"
6372 entry.
6373 (netrc-machine): Ditto.
6374
6375 2010-09-30 Eli Zaretskii <eliz@gnu.org>
6376
6377 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
6378
6379 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
6380
6381 * server.el (server-start): Don't write pid to the authentication file.
6382 (server-create-tty-frame): Don't send pid.
6383 (server-process-filter): Send pid at the start of every connection.
6384
6385 2010-09-30 Glenn Morris <rgm@gnu.org>
6386
6387 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
6388 (show-all-diary-entries): Remove obsolete function aliases.
6389
6390 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
6391 Remove options, obsolete since 22.1.
6392 (appt-display-format, appt-display-message):
6393 Remove backwards-compatibility code.
6394 (appt-check): No longer check appt-issue-message.
6395 (appt-make-list): No longer autoload it. Doc fix. No longer
6396 activate the package.
6397
6398 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
6399
6400 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
6401 (starttls-negotiate): Just call boot, and let the handshake be
6402 triggered from the read loop.
6403
6404 2010-09-29 Glenn Morris <rgm@gnu.org>
6405
6406 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
6407 not displaying the diary.
6408 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
6409 * calendar/appt.el (appt-check): No longer need to kill diary.
6410
6411 * calendar/diary-lib.el (diary-list-entries): Move the
6412 "Preparing..." message entirely here.
6413 (diary-simple-display, diary-fancy-display): Move "Preparing..."
6414 messages to diary-list-entries.
6415 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
6416 diary-display-function.
6417
6418 * calendar/diary-lib.el (diary-include-other-diary-files):
6419 Trap some recursive includes.
6420
6421 * calendar/appt.el (appt-activate): Check diary file.
6422
6423 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
6424
6425 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
6426 construction.
6427
6428 * calendar/time-date.el: No need to require cl for Emacs 21.
6429
6430 2010-09-28 Glenn Morris <rgm@gnu.org>
6431
6432 * calendar/appt.el (appt-check): Minor simplification.
6433
6434 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
6435
6436 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
6437 citation prefix.
6438
6439 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
6440
6441 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
6442 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
6443
6444 2010-09-27 Kenichi Handa <handa@m17n.org>
6445
6446 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
6447 "ustar" format.
6448
6449 2010-09-27 Kenichi Handa <handa@m17n.org>
6450
6451 * international/mule.el (define-coding-system): Docstring fixed.
6452
6453 * international/mule-diag.el (describe-character-set): Use princ
6454 with proper print-length and print-level instead of insert.
6455
6456 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
6457
6458 * window.el (walk-windows): Doc fix (bug#7105).
6459
6460 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6461
6462 * emacs-lisp/float-sup.el (e): Remove.
6463
6464 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
6465
6466 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
6467 variable.
6468 (starttls-negotiate): Use it.
6469
6470 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6471
6472 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
6473 back.
6474
6475 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
6476
6477 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
6478
6479 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6480
6481 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
6482
6483 * net/netrc.el (netrc-store-data): New function.
6484
6485 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
6486
6487 * net/gnutls.el: GnuTLS glue code to set up a connection.
6488
6489 2010-09-25 Julien Danjou <julien@danjou.info>
6490
6491 * notifications.el: Call dbus-register-signal only if it is bound.
6492
6493 2010-09-25 Glenn Morris <rgm@gnu.org>
6494
6495 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6496 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
6497 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
6498 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
6499 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
6500 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
6501 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
6502 * eshell/esh-util.el, eshell/esh-var.el:
6503 Remove leading `*' from docs of faces and defcustoms.
6504
6505 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
6506
6507 * eshell/em-ls.el (eshell-ls-archive-regexp):
6508 * eshell/esh-util.el (eshell-tar-regexp):
6509 * ibuffer.el (ibuffer-compressed-file-name-regexp):
6510 * info.el (Info-suffix-list):
6511 * international/mule.el (auto-coding-alist):
6512 * woman.el (woman-file-regexp, woman-file-compression-regexp):
6513 * progmodes/etags.el (tags-compression-info-list):
6514 Support xz compression.
6515
6516 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
6517
6518 * files.el (get-free-disk-space): Don't assume the "df" output
6519 columns line up (Bug#6995).
6520
6521 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
6522
6523 * finder.el (finder-unknown-keywords):
6524 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
6525 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
6526
6527 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
6528
6529 * server.el (server-start): Revert part of 2010-08-08 change. Using
6530 address 127.0.0.1 for local host is now done in Fmake_network_process.
6531
6532 2010-09-24 Glenn Morris <rgm@gnu.org>
6533
6534 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
6535 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
6536 * textmodes/css-mode.el, textmodes/dns-mode.el:
6537 Move autoloaded auto-mode-alist entries to files.el.
6538 * files.el (auto-mode-alist): Move entries here.
6539
6540 2010-09-23 Glenn Morris <rgm@gnu.org>
6541
6542 * isearch.el (isearch-lazy-highlight-cleanup)
6543 (isearch-lazy-highlight-initial-delay)
6544 (isearch-lazy-highlight-interval)
6545 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
6546 * net/net-utils.el (ipconfig-program-options):
6547 Move aliases to options before the associated definitions.
6548
6549 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6550
6551 * newcomment.el (comment-normalize-vars): Better test validity of
6552 comment-end-skip.
6553
6554 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6555
6556 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
6557 (float-e): New name for `e'.
6558 (degrees-to-radians, radians-to-degrees):
6559 * calendar/solar.el (solar-longitude):
6560 * calculator.el (calculator-registers, calculator-funcall):
6561 * textmodes/artist.el (artist-spray-random-points):
6562 * play/bubbles.el (bubbles--initialize-images): Use new names.
6563
6564 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
6565
6566 Update to CEDET 1.0's version of EIEIO.
6567
6568 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
6569 New function.
6570 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
6571 (eieio-default-eval-maybe): Eval val instead of unquoting only.
6572 (class-precedence-list): If class is nil, return nil.
6573 (eieio-generic-call): If class of first input arg is nil, don't
6574 look up static methods, and do check for primary methods.
6575 (initialize-instance): See if the default needs to be evaluated
6576 during the constructor.
6577 (eieio-perform-slot-validation-for-default): Don't do the check
6578 for values that will eventually be evaluated.
6579 (eieio-eval-default-p): New function.
6580 (eieio-default-eval-maybe): Use it.
6581
6582 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
6583
6584 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
6585 method-invocation-order.
6586 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
6587 (eieio-class-precedence-dfs): Compute class precedence list using
6588 dfs algorithm.
6589 (eieio-class-precedence-bfs): Compute class precedence list using
6590 bfs algorithm.
6591 (eieio-class-precedence-c3): Compute class precedence list using
6592 c3 algorithm.
6593 (class-precedence-list): New function.
6594 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
6595 (inconsistent-class-hierarchy): New error symbol.
6596 (call-next-method): Stow the replacement argument list for future
6597 call-next-method invocations.
6598
6599 2010-09-23 Glenn Morris <rgm@gnu.org>
6600
6601 * calendar/appt.el (appt-check): If not displaying the diary,
6602 use (diary 1) to only get the entries we need.
6603 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
6604 that it is in day order. (Bug#7019)
6605
6606 * calendar/appt.el (appt-check): Rather than showing the diary,
6607 just turn off invisible display, and only if needed.
6608
6609 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
6610
6611 2010-09-23 Glenn Morris <rgm@gnu.org>
6612
6613 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6614 (byte-compile-defvar, byte-compile-cl-warn):
6615 Start warnings with lower-case, like the majority.
6616
6617 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
6618
6619 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
6620
6621 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
6622 * files.el (auto-mode-alist): Move ld-script entries here, further down
6623 the list.
6624
6625 * vc/add-log.el: Don't require timezone when compiling.
6626 (timezone-make-date-sortable): Autoload it.
6627 (change-log-sortable-date-at): Don't require timezone.
6628 Use `ignore-errors'.
6629
6630 * comint.el (comint-use-prompt-regexp-instead-of-fields):
6631 Move alias before definition, so it does not need autoloading.
6632
6633 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
6634 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
6635 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
6636 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
6637 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
6638 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
6639 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
6640 * textmodes/tex-mode.el, textmodes/two-column.el:
6641 Remove leading `*' from docs of defcustoms etc.
6642
6643 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
6644
6645 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
6646
6647 2010-09-22 Dan Christensen <jdc@uwo.ca>
6648
6649 * calendar/time-date.el (date-to-time): Try using parse-time-string
6650 first before using the slower timezone-make-date-arpa-standard.
6651
6652 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
6653
6654 * calendar/time-date.el (format-seconds): Comment fix.
6655
6656 2010-09-22 Glenn Morris <rgm@gnu.org>
6657
6658 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
6659 is not automatically buffer-local.
6660
6661 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
6662
6663 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
6664 (smie-indent-comment): Be more careful with comment-start-skip.
6665 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
6666 (smie-indent-functions): Use them.
6667
6668 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
6669
6670 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
6671
6672 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
6673
6674 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
6675 tool-bar-position. Don't modify frame parameters here.
6676 (menu-bar-options-save): Add tool-bar-position.
6677
6678 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
6679
6680 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6681
6682 * textmodes/reftex-parse.el (reftex-what-macro)
6683 (reftex-context-substring): Let-bind forward-sexp-function to nil
6684 since we don't need/want to treat \begin...\end as a block (bug#7053).
6685
6686 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
6687
6688 * simple.el (blink-matching-open): Use syntax-class.
6689
6690 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
6691 Set invisibility spec for pascal's outline mode.
6692 (pascal-outline-change): Clean up calling convention.
6693 (pascal-show-all, pascal-hide-other-defuns): Update callers.
6694
6695 * progmodes/prolog.el (prolog-smie-forward-token)
6696 (prolog-smie-backward-token): New functions.
6697 (prolog-mode-variables): Use them to parse "!," correctly.
6698 Set up smie-blink-matching for ".".
6699
6700 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
6701 and `end'.
6702 (ispell-region, ispell-process-line): Update users.
6703
6704 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
6705 point-min==1.
6706
6707 * textmodes/ispell.el: Fix commenting convention.
6708 (ispell-parse-output): Simplify, use push.
6709 (ispell-region): Use match-string-no-properties.
6710 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
6711 (ispell-minor-mode): Use define-minor-mode.
6712 (ispell-message): Remove unused var `skip-regexp'.
6713 (ispell-add-per-file-word-list): Use dynamic let-binding.
6714 Try and use the proper comment marker.
6715
6716 * mail/sendmail.el: Fix commenting convention.
6717 (sendmail-send-it): Use line-beginning-position.
6718
6719 * help-fns.el (describe-variable): Add original value, if applicable.
6720
6721 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
6722
6723 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
6724
6725 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
6726
6727 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6728
6729 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
6730 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
6731 (smie-prec2-levels): Use them to better diagnose precedence cycles.
6732 (smie-blink-matching-check): Don't signal a mismatch if car is t.
6733 (smie-blink-matching-open): Rewrite to remove assumptions, so that
6734 something like "." can also be a closer.
6735 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
6736 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
6737 Rename internal functions to use "--". Update callers.
6738
6739 * frame.el (make-frame-names-alist): Don't list frames on other displays.
6740
6741 * fringe.el (fringe-styles): New var.
6742 (fringe-mode, fringe-query-style): Use it.
6743
6744 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
6745
6746 * progmodes/sql.el: Version 2.8
6747 (sql-login-params): Update widget structure; changes still needed.
6748 (sql-product-alist): Add :list-all and :list-table features for
6749 SQLite, Postgres and MySQL products.
6750 (sql-redirect): Handle default value.
6751 (sql-execute, sql-execute-feature): New functions.
6752 (sql-read-table-name): New function.
6753 (sql-list-all, sql-list-table): New functions. User API.
6754 (sql-mode-map, sql-interactive-mode-map): Add key definitions
6755 for above functions.
6756 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
6757 for above functions.
6758 (sql-postgres-login-params): Add user and database defaults.
6759 (sql-buffer-live-p): Bug fix.
6760 (sql-product-history): New variable.
6761 (sql-read-product): New function. Use it.
6762 (sql-set-product, sql-product-interactive): Use it.
6763 (sql-connection-history): New variable.
6764 (sql-read-connection): New function. Use it.
6765 (sql-connect): New function.
6766 (sql-for-each-login): Redesign function interface.
6767 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
6768 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
6769 (sql-comint): Check for program. Existing live buffer.
6770 (sql-comint-postgres): Add port parameter.
6771
6772 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6773
6774 * emacs-lisp/warnings.el: Fix commenting convention.
6775 (display-warning): Use special mode and make the buffer read-only.
6776
6777 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
6778
6779 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
6780 empty string when it follows a repeated or optional pattern.
6781
6782 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
6783
6784 * indent.el (indent-according-to-mode): Apply syntax-propertize.
6785 (indent-region): Use indent-according-to-mode.
6786
6787 2010-09-18 Eli Zaretskii <eliz@gnu.org>
6788
6789 * fringe.el (fringe-mode): Doc fix.
6790
6791 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
6792
6793 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
6794 refreshing the preview buffer.
6795
6796 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
6797
6798 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
6799 (latex-syntax-propertize-rules): New consts; replace
6800 tex-font-lock-syntactic-keywords.
6801 (tex-env-mark, latex-env-before-change): New functions.
6802 (latex-electric-env-pair-mode): New minor mode.
6803 (tex-font-lock-verb): Change arguments; do move point.
6804 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
6805 representation as a form of comment.
6806 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
6807 (doctex-syntax-propertize-rules): New const; replaces
6808 doctex-font-lock-syntactic-keywords.
6809 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
6810
6811 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
6812 (fortran-make-syntax-propertize-function): New function; replaces
6813 fortran-font-lock-syntactic-keywords.
6814 (fortran-mode): Use it.
6815 (fortran-line-length): Use it. Improve interactive spec.
6816
6817 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
6818 (syntax-propertize-rules): Add var-ref case. Fix offset computation
6819 when adding surrounding \(..\).
6820
6821 * progmodes/js.el (js-mode): Fix last change (bug#7054).
6822
6823 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6824
6825 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
6826 Use with-current-buffer.
6827
6828 * isearch.el (isearch-face): Rename from `isearch'.
6829 (isearch-highlight): Use new name.
6830
6831 2010-09-17 Eli Zaretskii <eliz@gnu.org>
6832
6833 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
6834 5, for `half' width fringes. (Bug#6933)
6835
6836 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6837
6838 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
6839 (byte-compile-defvar): "foo/bar" does not lack a prefix.
6840
6841 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
6842
6843 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
6844
6845 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
6846 in calculating new frame position. Add more space between new and
6847 parent on the left (Bug#7048).
6848
6849 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
6850
6851 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
6852 defmacro.
6853
6854 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
6855
6856 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
6857
6858 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
6859 obsolete alias for x-selection-value.
6860
6861 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
6862
6863 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
6864
6865 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
6866 cookie.
6867
6868 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
6869
6870 * net/tramp-compat.el (tramp-compat-with-temp-message)
6871 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
6872 (tramp-compat-process-put): New defuns.
6873
6874 * net/tramp.el (top):
6875 * net/tramp-gvfs.el (top):
6876 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
6877
6878 * net/tramp.el (tramp-progress-reporter-update):
6879 Use `tramp-compat-funcall'.
6880
6881 * net/tramp.el (tramp-process-actions):
6882 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
6883 * net/tramp-sh.el (tramp-handle-vc-registered)
6884 (tramp-get-remote-stat, tramp-get-remote-readlink):
6885 Use `tramp-compat-with-temp-message'.
6886
6887 * net/tramp-sh.el (top): Require 'cl.
6888 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
6889 (tramp-open-connection-setup-interactive-shell):
6890 Use `tramp-compat-process-put'.
6891
6892 2010-09-15 Alan Mackenzie <acm@muc.de>
6893
6894 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
6895 indentation.
6896 (c-forward-<>-arglist-recur): Fix an infinite recursion.
6897
6898 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
6899
6900 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
6901 `lexical' for warnings related to lexical scoping.
6902 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
6903 global vars which don't have a prefix and could hence affect lexical
6904 scoping in unrelated files.
6905
6906 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6907
6908 * net/imap.el: Revert back to version
6909 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
6910 seem problematic.
6911
6912 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
6913
6914 * obsolete/old-whitespace.el (whitespace-unload-function):
6915 Explicitly pass `obarray' to `unintern' to avoid a warning.
6916
6917 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6918
6919 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
6920 Add `when' argument. Update callers.
6921
6922 * subr.el (unintern): Declare the obarray arg mandatory.
6923
6924 2010-09-14 Glenn Morris <rgm@gnu.org>
6925
6926 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
6927 Doc fixes.
6928
6929 * calendar/diary-lib.el (diary-included-files): New variable.
6930 (diary-list-entries): Maybe initialize diary-included-files.
6931 (diary-include-other-diary-files): Append to diary-included-files.
6932 * calendar/appt.el (appt-update-list): Also check the members of
6933 diary-included-files. (Bug#6999)
6934 (appt-check): Doc fix.
6935
6936 2010-09-14 David Reitter <david.reitter@gmail.com>
6937
6938 * simple.el (line-move-visual): Do not truncate goal column to
6939 integer size. (Bug#7020)
6940
6941 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6942
6943 * repeat.el (repeat): Allow repeating when the last event is a click.
6944 Suggested by Drew Adams (bug#6256).
6945
6946 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
6947
6948 * vc/vc-hg.el (vc-hg-state, vc-hg-working-revision):
6949 Replace setting HGRCPATH to "" by some less invasive --config options.
6950
6951 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6952
6953 * font-lock.el (font-lock-beginning-of-syntax-function):
6954 Mark as obsolete.
6955
6956 2010-09-14 Glenn Morris <rgm@gnu.org>
6957
6958 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
6959 and tool-bar modes. (Bug#6211)
6960 (menu-bar-mode): Move setting of standard-value after the
6961 minor-mode definition, otherwise it seems to have no effect.
6962
6963 2010-09-14 Masatake YAMATO <yamato@redhat.com>
6964
6965 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
6966 Fix typo. (Bug#6976)
6967
6968 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6969
6970 * whitespace.el: Allow cleaning up blanks without blank
6971 visualization (Bug#6651). Adjust help window for
6972 whitespace-toggle-options (Bug#6479). Allow to use fill-column
6973 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
6974 (whitespace-style): Add new value 'face. Adjust docstring.
6975 (whitespace-space, whitespace-hspace, whitespace-tab):
6976 Adjust foreground property face.
6977 (whitespace-line-column): Adjust docstring and type declaration.
6978 (whitespace-style-value-list, whitespace-toggle-option-alist)
6979 (whitespace-help-text): Adjust const initialization.
6980 (whitespace-toggle-options, global-whitespace-toggle-options):
6981 Adjust docstring.
6982 (whitespace-display-window, whitespace-interactive-char)
6983 (whitespace-style-face-p, whitespace-color-on): Adjust code.
6984 (whitespace-help-scroll): New fun.
6985
6986 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
6987
6988 * calendar/time-date.el (format-seconds): Comment fix.
6989
6990 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
6991
6992 * progmodes/sql.el: Version 2.7.
6993 (sql-buffer-live-p): Improve detection.
6994 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
6995 (sql-set-sqli-buffer): Use it.
6996 (sql-product-interactive): Run `sql-set-sqli-hook'.
6997 (sql-rename-buffer): Code cleanup.
6998 (sql-redirect, sql-redirect-value): New functions. More to come.
6999
7000 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
7001
7002 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.
7003 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
7004 (TRAMP_SRC): New macro.
7005 ($(lisp)/net/tramp-loaddefs.el): New target.
7006
7007 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
7008
7009 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
7010
7011 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
7012
7013 * net/tramp.el (top): Don't show loading message. Require just
7014 'tramp-compat, everything else is required there.
7015 Use `ignore-errors' where appropriate.
7016 (tramp-inline-compress-start-size, tramp-copy-size-limit)
7017 (tramp-terminal-type, tramp-end-of-output)
7018 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
7019 (tramp-completion-function-alist-ssh)
7020 (tramp-completion-function-alist-telnet)
7021 (tramp-completion-function-alist-su)
7022 (tramp-completion-function-alist-putty, tramp-remote-path)
7023 (tramp-remote-process-environment, tramp-sh-extra-args)
7024 (tramp-actions-before-shell, tramp-uudecode)
7025 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
7026 (tramp-perl-file-attributes)
7027 (tramp-perl-directory-files-and-attributes)
7028 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
7029 (tramp-perl-encode, tramp-perl-decode)
7030 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
7031 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
7032 (tramp-handle-make-symbolic-link, tramp-handle-load)
7033 (tramp-handle-file-name-as-directory)
7034 (tramp-handle-file-name-directory)
7035 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
7036 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
7037 (tramp-do-file-attributes-with-ls)
7038 (tramp-do-file-attributes-with-perl)
7039 (tramp-do-file-attributes-with-stat)
7040 (tramp-handle-set-visited-file-modtime)
7041 (tramp-handle-verify-visited-file-modtime)
7042 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
7043 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
7044 (tramp-handle-file-selinux-context)
7045 (tramp-handle-set-file-selinux-context)
7046 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
7047 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
7048 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
7049 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
7050 (tramp-handle-file-ownership-preserved-p)
7051 (tramp-handle-directory-file-name, tramp-handle-directory-files)
7052 (tramp-handle-directory-files-and-attributes)
7053 (tramp-do-directory-files-and-attributes-with-perl)
7054 (tramp-do-directory-files-and-attributes-with-stat)
7055 (tramp-handle-file-name-all-completions)
7056 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
7057 (tramp-handle-copy-file, tramp-handle-copy-directory)
7058 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
7059 (tramp-do-copy-or-rename-file-via-buffer)
7060 (tramp-do-copy-or-rename-file-directly)
7061 (tramp-do-copy-or-rename-file-out-of-band)
7062 (tramp-handle-make-directory, tramp-handle-delete-directory)
7063 (tramp-handle-delete-file)
7064 (tramp-handle-dired-recursive-delete-directory)
7065 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
7066 (tramp-handle-insert-directory)
7067 (tramp-handle-unhandled-file-name-directory)
7068 (tramp-handle-expand-file-name)
7069 (tramp-handle-substitute-in-file-name)
7070 (tramp-handle-executable-find, tramp-process-sentinel)
7071 (tramp-handle-start-file-process, tramp-handle-process-file)
7072 (tramp-handle-call-process-region, tramp-handle-shell-command)
7073 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
7074 (tramp-handle-insert-file-contents)
7075 (tramp-handle-insert-file-contents-literally)
7076 (tramp-handle-find-backup-file-name)
7077 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
7078 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
7079 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
7080 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
7081 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
7082 (tramp-find-file-exists-command, tramp-open-shell)
7083 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
7084 (tramp-open-connection-setup-interactive-shell)
7085 (tramp-local-coding-commands, tramp-remote-coding-commands)
7086 (tramp-find-inline-encoding, tramp-call-local-coding-command)
7087 (tramp-inline-compress-commands, tramp-find-inline-compress)
7088 (tramp-compute-multi-hops, tramp-maybe-open-connection)
7089 (tramp-send-command, tramp-wait-for-output)
7090 (tramp-send-command-and-check, tramp-barf-unless-okay)
7091 (tramp-send-command-and-read, tramp-mode-string-to-int)
7092 (tramp-convert-file-attributes, tramp-check-cached-permissions)
7093 (tramp-file-mode-from-int, tramp-file-mode-permissions)
7094 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
7095 (tramp-method-out-of-band-p, tramp-local-host-p)
7096 (tramp-get-remote-path, tramp-get-remote-tmpdir)
7097 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
7098 (tramp-get-test-command, tramp-get-test-nt-command)
7099 (tramp-get-file-exists-command, tramp-get-remote-ln)
7100 (tramp-get-remote-perl, tramp-get-remote-stat)
7101 (tramp-get-remote-readlink, tramp-get-remote-trash)
7102 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
7103 (tramp-get-local-uid, tramp-get-local-gid)
7104 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
7105 tramp-sh.el.
7106 (tramp-methods, tramp-default-method-alist)
7107 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
7108 Move initialization to tramp-sh.el.
7109 (tramp-temp-name-prefix): Make it a defconst.
7110 (tramp-dissect-file-name): Don't check anymore for multi-hop
7111 methods.
7112 (tramp-debug-outline-regexp): Add a docstring.
7113 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
7114 (tramp-get-debug-buffer): Use it.
7115
7116 * net/tramp-cache.el (top): Set tramp-autoload cookie for
7117 initialization forms.
7118 (tramp-set-connection-property): Don't protect `tramp-message'
7119 call, it isn't necessary any longer.
7120 (tramp-dump-connection-properties): Use `ignore-errors'.
7121
7122 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
7123 'password-cache and 'auth-source.
7124
7125 * net/tramp-gvfs.el (top):
7126 * net/tramp-smb.el (top): Require 'tramp-sh.
7127
7128 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
7129
7130 * net/tramp-sh.el: New file, derived from tramp.el.
7131 (top): Initialize `tramp-methods', `tramp-default-method-alist',
7132 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
7133 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
7134 Use `ignore-errors' where appropriate.
7135 (tramp-sh-file-name-handler-alist): Rename from
7136 `tramp-file-name-handler-alist'.
7137 (tramp-send-command-and-check): Return t or nil. Remove all
7138 `zerop' checks, where called.
7139 (tramp-handle-set-file-modes)
7140 (tramp-do-copy-or-rename-file-directly)
7141 (tramp-handle-delete-directory, tramp-handle-delete-file)
7142 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
7143 (tramp-sh-file-name-handler, tramp-send-command-and-check)
7144 (tramp-get-remote-ln): Set tramp-autoload cookie.
7145
7146 * net/tramp-fish.el: Remove file.
7147
7148 2010-09-13 Daiki Ueno <ueno@unixuser.org>
7149
7150 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
7151 buffer-file-name to avoid file-locking. (Bug#7026)
7152
7153 2010-09-13 Julien Danjou <julien@danjou.info>
7154
7155 * notifications.el (notifications-notify): Add support for
7156 image-path and sound-name.
7157 (notifications-specification-version): Add this variable.
7158
7159 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7160
7161 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
7162
7163 2010-09-12 Leo <sdl.web@gmail.com>
7164
7165 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
7166 (rcirc-completion-start): New variables.
7167 (rcirc-nick-completions): Rename to rcirc-completions.
7168 (rcirc-nick-completion-start-offset): Delete.
7169 (rcirc-completion-at-point): New function for constructing
7170 completion data for both nicks and irc commands. Add to
7171 completion-at-point-functions in rcirc mode.
7172 (rcirc-complete): Rename from rcirc-nick-complete; use
7173 rcirc-completion-at-point.
7174 (defun-rcirc-command): Update rcirc-client-commands.
7175
7176 2010-09-11 Glenn Morris <rgm@gnu.org>
7177
7178 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
7179 atomically, to avoid parallel build errors. (Bug#4196)
7180
7181 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
7182
7183 * progmodes/sql.el: Version 2.6
7184 (sql-dialect): Synonym for "sql-product".
7185 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7186 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
7187 Set "sql-buffer" to buffer name not buffer object so multiple sql
7188 interactive buffers work properly. Reverts misguided changes in
7189 earlier work.
7190 (sql-comint): Make sure different buffer name is used if "*SQL*"
7191 buffer is for a different product.
7192 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
7193 login param.
7194 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
7195 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
7196 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
7197 Accept new buffer name or prompt for one.
7198 (sql-port): Default to zero.
7199 (sql-comint-mysql): Handle "sql-port" as a numeric.
7200 (sql-port-history): Delete unused variable.
7201 (sql-get-login): Default "sql-port" to a number.
7202 (sql-product-alist): Correct Postgres prompt and terminator regexp.
7203 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
7204 "sqlite3" executables.
7205 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
7206 (sql-buffer-live-p): New function.
7207 (sql-mode-menu, sql-send-string): Use it.
7208 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
7209 syntax pattern.
7210 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
7211 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
7212
7213 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7214
7215 * net/netrc.el (netrc-credentials): New convenience function.
7216
7217 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7218
7219 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
7220 to replace texinfo-font-lock-syntactic-keywords.
7221 (texinfo-mode): Use it.
7222
7223 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
7224 Use syntax-propertize-function.
7225
7226 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
7227 replace sgml-font-lock-syntactic-keywords.
7228 (sgml-mode): Use it.
7229
7230 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
7231 since we don't use it.
7232
7233 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
7234
7235 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
7236 if available.
7237 (vhdl-fontify-buffer): Adjust.
7238
7239 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
7240 replace tcl-font-lock-syntactic-keywords.
7241 (tcl-mode): Use it.
7242
7243 * progmodes/simula.el (simula-syntax-propertize-function): New var to
7244 replace simula-font-lock-syntactic-keywords.
7245 (simula-mode): Use it.
7246
7247 * progmodes/sh-script.el (sh-st-symbol): Remove.
7248 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
7249 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
7250 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
7251 (sh-font-lock-paren): Set syntax-multiline.
7252 (sh-font-lock-syntactic-keywords): Remove.
7253 (sh-syntax-propertize-function): New function to replace it.
7254 (sh-mode): Use it.
7255
7256 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
7257 Define while compiling.
7258 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7259 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
7260 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
7261 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7262 (ruby-here-doc-end-syntax): Only define when
7263 syntax-propertize is not available.
7264 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
7265 New functions.
7266 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
7267 (electric-indent-chars): Silence bytecompiler.
7268 (ruby-mode): Use prog-mode, syntax-propertize-function, and
7269 electric-indent-chars.
7270
7271 * progmodes/python.el (python-syntax-propertize-function): New var to
7272 replace python-font-lock-syntactic-keywords.
7273 (python-mode): Use it.
7274 (python-quote-syntax): Simplify and adjust to new use.
7275
7276 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
7277 replace perl-font-lock-syntactic-keywords.
7278 (perl-syntax-propertize-special-constructs): New fun to replace
7279 perl-font-lock-special-syntactic-constructs.
7280 (perl-font-lock-syntactic-face-function): New fun.
7281 (perl-mode): Use it.
7282
7283 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
7284 to replace octave-font-lock-close-quotes.
7285 (octave-syntax-propertize-function): New function to replace
7286 octave-font-lock-syntactic-keywords.
7287 (octave-mode): Use it.
7288
7289 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
7290 replaces mixal-font-lock-syntactic-keywords.
7291 (mixal-mode): Use it.
7292
7293 * progmodes/make-mode.el (makefile-syntax-propertize-function):
7294 New var; replaces makefile-font-lock-syntactic-keywords.
7295 (makefile-mode): Use it.
7296 (makefile-imake-mode): Adjust.
7297
7298 * progmodes/js.el (js--regexp-literal): Define while compiling.
7299 (js-syntax-propertize-function): New var; replaces
7300 js-font-lock-syntactic-keywords.
7301 (js-mode): Use it.
7302
7303 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
7304 replaces gdb-script-font-lock-syntactic-keywords.
7305 (gdb-script-mode): Use it.
7306
7307 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
7308 (fortran--font-lock-syntactic-keywords): New var.
7309 (fortran-line-length): Update syntax-propertize-function and
7310 fortran--font-lock-syntactic-keywords.
7311
7312 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
7313
7314 * progmodes/cfengine.el (cfengine-mode):
7315 Use syntax-propertize-function.
7316 (cfengine-font-lock-syntactic-keywords): Remove.
7317
7318 * progmodes/autoconf.el (autoconf-mode):
7319 Use syntax-propertize-function.
7320 (autoconf-font-lock-syntactic-keywords): Remove.
7321
7322 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
7323 (ada-after-change-function, ada-initialize-syntax-table-properties)
7324 (ada-handle-syntax-table-properties): Only define when
7325 syntax-propertize is not available.
7326 (ada-mode): Use syntax-propertize-function.
7327
7328 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
7329 (font-lock-fontify-syntactic-keywords-region): Move handling of
7330 font-lock-syntactically-fontified to...
7331 (font-lock-default-fontify-region): ...here.
7332 Let syntax-propertize-function take precedence.
7333 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
7334
7335 * emacs-lisp/syntax.el (syntax-propertize-function)
7336 (syntax-propertize-chunk-size, syntax-propertize--done)
7337 (syntax-propertize-extend-region-functions): New vars.
7338 (syntax-propertize-wholelines, syntax-propertize-multiline)
7339 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
7340 (syntax-propertize): New functions.
7341 (syntax-propertize-rules): New macro.
7342 (syntax-ppss-flush-cache): Set syntax-propertize--done.
7343 (syntax-ppss): Call syntax-propertize.
7344
7345 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
7346
7347 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
7348
7349 * textmodes/ispell.el (ispell-init-process): Improve comments.
7350 XEmacs compatibility changes regarding (add-hook) 'local option
7351 and (set-process-query-on-exit-flag).
7352
7353 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
7354
7355 * net/tramp-cache.el (tramp-parse-connection-properties):
7356 Set tramp-autoload cookie.
7357
7358 2010-09-09 Glenn Morris <rgm@gnu.org>
7359
7360 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
7361 (imagemagick-register-types): Doc fix.
7362
7363 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
7364
7365 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
7366
7367 * progmodes/js.el (require): Require is already "eval-and-compile".
7368 (js--re-search-forward): Avoid `eval'. Preserve the error data.
7369 (js--re-search-backward): Use js--re-search-forward.
7370
7371 * progmodes/fortran.el (fortran-line-length): Don't recompute
7372 syntactic keywords redundantly a second time.
7373
7374 * progmodes/ada-mode.el: Replace "(set '" with setq.
7375 (ada-mode): Simplify.
7376 (ada-create-case-exception, ada-adjust-case-interactive)
7377 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
7378 (ada-search-ignore-string-comment, ada-move-to-start)
7379 (ada-move-to-end): Use with-syntax-table.
7380
7381 * font-lock.el (save-buffer-state): Remove `varlist' arg.
7382 (font-lock-unfontify-region, font-lock-default-fontify-region):
7383 Update usage correspondingly.
7384 (font-lock-fontify-syntactic-keywords-region):
7385 Set parse-sexp-lookup-properties buffer-locally here.
7386 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
7387
7388 * simple.el (blink-matching-open): Don't burp if we can't find a match.
7389
7390 2010-09-08 Glenn Morris <rgm@gnu.org>
7391
7392 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
7393 Error if not compiled with -DBYTE_CODE_METER.
7394
7395 * emacs-lisp/bytecomp.el (byte-recompile-directory):
7396 Ignore dir-locals-file.
7397
7398 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
7399
7400 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7401 Not a const.
7402 (compilation-error-regexp-alist-alist): Rule out ": " in file names
7403 for the `gnu' messages.
7404 (compilation-set-skip-threshold): New command.
7405 (compilation-start): Use \' rather than $.
7406 (compilation-forget-errors): Use clrhash.
7407
7408 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
7409
7410 * textmodes/ispell.el (ispell-valid-dictionary-list):
7411 Simplify logic.
7412
7413 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
7414
7415 Migrate to Tramp 2.2. Rearrange load dependencies.
7416 (Bug#1529, Bug#5448, Bug#5705)
7417
7418 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
7419 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
7420 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
7421
7422 * net/tramp.el (top): Remove all other tramp-* loads except
7423 tramp-compat.el. Remove all changes to tramp-unload-hook for
7424 other tramp-* packages. Rearrange defun order. Change calls of
7425 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
7426 `tramp-compat-octal-to-decimal' to new function names.
7427 (tramp-terminal-type, tramp-initial-end-of-output)
7428 (tramp-methods, tramp-foreign-file-name-handler-alist)
7429 (tramp-tramp-file-p, tramp-completion-mode-p)
7430 (tramp-send-command-and-check, tramp-get-remote-path)
7431 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
7432 (tramp-shell-quote-argument): Set tramp-autoload cookie.
7433 (with-file-property, with-connection-property): Move to
7434 tramp-cache.el.
7435 (tramp-local-call-process, tramp-decimal-to-octal)
7436 (tramp-octal-to-decimal): Move to tramp-compat.el.
7437 (tramp-handle-shell-command): Do not require 'shell.
7438 (tramp-compute-multi-hops): No special handling for tramp-gw-*
7439 symbols.
7440 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
7441
7442 * net/tramp-cache.el (top): Require 'tramp. Add to
7443 `tramp-unload-hook'.
7444 (tramp-cache-data, tramp-get-file-property)
7445 (tramp-set-file-property, tramp-flush-file-property)
7446 (tramp-flush-directory-property, tramp-get-connection-property)
7447 (tramp-set-connection-property, tramp-flush-connection-property)
7448 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
7449 cookie.
7450 (with-file-property, with-connection-property): New defuns, moved
7451 from tramp.el.
7452 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
7453 macro.
7454
7455 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
7456 (tramp-version): Set tramp-autoload cookie.
7457
7458 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
7459 changes to tramp-unload-hook for other tramp-* packages. Add to
7460 `tramp-unload-hook'.
7461 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
7462 (tramp-compat-call-process): New defuns, moved from tramp.el.
7463
7464 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
7465 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7466 Add to `tramp-unload-hook'. Change call of
7467 `tramp-compat-decimal-to-octal' to new function name.
7468 (tramp-fish-method): Make it a defconst.
7469 (tramp-fish-file-name-p): Make it a defsubst.
7470 (tramp-fish-method, tramp-fish-file-name-handler)
7471 (tramp-fish-file-name-p): Set tramp-autoload cookie.
7472
7473 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
7474 `tramp-foreign-file-name-handler-alist'. Add to
7475 `tramp-unload-hook'.
7476 (tramp-ftp-method): Make it a defconst.
7477 (tramp-ftp-file-name-p): Make it a defsubst.
7478 (tramp-ftp-method, tramp-ftp-file-name-handler)
7479 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
7480
7481 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
7482 `tramp-foreign-file-name-handler-alist'. Add to
7483 `tramp-unload-hook'. Change checks, whether package can be
7484 loaded.
7485 (tramp-gvfs-file-name-p): Make it a defsubst.
7486 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
7487 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
7488 (tramp-gvfs-handle-file-directory-p): New defun.
7489 (tramp-gvfs-file-name-handler-alist): Use it.
7490
7491 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
7492 `tramp-foreign-file-name-handler-alist'. Add to
7493 `tramp-unload-hook'.
7494 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
7495 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
7496 defconst.
7497 (tramp-gw-tunnel-method, tramp-gw-socks-method)
7498 (tramp-gw-open-connection): Set tramp-autoload cookie.
7499
7500 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
7501 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7502 Add to `tramp-unload-hook'. Change checks, whether package can be
7503 loaded.
7504 (tramp-imap-file-name-p): Make it a defsubst.
7505 (tramp-imap-method, tramp-imaps-method)
7506 (tramp-imap-file-name-handler)
7507 (tramp-imap-file-name-p): Set tramp-autoload cookie.
7508
7509 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
7510 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7511 Add to `tramp-unload-hook'. Change checks, whether package can be
7512 loaded. Change call of `tramp-compat-decimal-to-octal' to new
7513 function name.
7514 (tramp-smb-tunnel-method): Make it a defconst.
7515 (tramp-smb-file-name-p): Make it a defsubst.
7516 (tramp-smb-method, tramp-smb-file-name-handler)
7517 (tramp-smb-file-name-p): Set tramp-autoload cookie.
7518
7519 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
7520 (tramp-uuencode-region): Set tramp-autoload cookie.
7521
7522 * net/trampver.el (top) Add to `tramp-unload-hook'.
7523 (tramp-version, tramp-bug-report-address): Set tramp-autoload
7524 cookie. Update release number.
7525
7526 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
7527
7528 * textmodes/ispell.el (ispell-start-process): Make sure original
7529 arg list is properly initialized (Bug#6993, Bug#6994).
7530
7531 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
7532
7533 * files.el (directory-abbrev-alist): Use \` as default regexp.
7534
7535 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
7536 chars like - or ] (bug#6984).
7537 (rx-any-condense-range): Explode 2-char ranges.
7538
7539 2010-09-06 Glenn Morris <rgm@gnu.org>
7540
7541 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
7542
7543 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7544
7545 * textmodes/bibtex.el:
7546 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
7547
7548 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7549
7550 * net/imap.el (imap-message-map): Remove optional buffer parameter,
7551 since no callers use it.
7552 (imap-message-get): Ditto.
7553 (imap-message-put): Ditto.
7554 (imap-mailbox-map): Ditto.
7555 (imap-mailbox-put): Ditto.
7556 (imap-mailbox-get): Ditto.
7557 (imap-mailbox-get): Revert last change for this function.
7558
7559 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7560
7561 * net/imap.el (imap-fetch-safe): Remove function, and alter all
7562 callers to use `imap-fetch' instead. According to the comments, this
7563 should be safe, since all other IMAP clients use the 1:* syntax.
7564 (imap-enable-exchange-bug-workaround): Remove.
7565 (imap-debug): Remove -- doesn't seem very useful.
7566
7567 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7568
7569 * net/imap.el (imap-log): New convenience function used throughout
7570 instead of repeating the same code all over the place.
7571
7572 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
7573
7574 * mouse.el (mouse-save-then-kill): Save region to kill-ring
7575 when mouse-drag-copy-region is non-nil (Bug#6956).
7576
7577 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
7578
7579 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
7580 Improve regexps (Bug#6987).
7581 (dired-sort-toggle): Search more robustly for -t flag.
7582
7583 * files.el (get-free-disk-space): Search more robustly for
7584 "available" column. Suggested by Ehud Karni
7585 <ehud@unix.mvs.co.il>.
7586
7587 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
7588
7589 * international/uni-bidi.el:
7590 * international/uni-category.el:
7591 * international/uni-combining.el:
7592 * international/uni-decimal.el:
7593 * international/uni-mirrored.el:
7594 * international/uni-name.el: Regenerate.
7595
7596 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7597
7598 * electric.el (electric-indent-post-self-insert-function):
7599 Don't reindent with a sloppy indentation function.
7600
7601 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
7602 border case in change-log-mode.
7603
7604 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
7605
7606 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7607 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
7608 Recognize leading tab in gcc-include regexp. Ignore names with
7609 leading "from" or "in" in gnu regexp (Bug#6937).
7610
7611 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7612
7613 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
7614 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
7615 (ispell-start-process): Avoid setq and simplify logic.
7616 (ispell-init-process): Setup kill-buffer-hook locally when needed.
7617 (kill-buffer-hook): Don't use it globally with code that uses
7618 expand-file-name since that may call kill-buffer via
7619 code_conversion_restore.
7620
7621 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
7622
7623 * emacs-lisp/package.el (package-directory-list): Only call
7624 file-name-nondirectory on a string.
7625
7626 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
7627
7628 * emacs-lisp/package.el (package--download-one-archive):
7629 Ensure that archive-contents is valid before saving it.
7630 (package-activate-1, package-mark-obsolete, define-package)
7631 (package-compute-transaction, package-list-maybe-add): Use push.
7632
7633 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7634
7635 Use SMIE's blink-paren for octave-mode.
7636 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
7637 Backslashes do not escape single-quotes, single-quotes do.
7638 (octave-block-else-regexp, octave-block-end-regexp)
7639 (octave-block-match-alist): Remove.
7640 (octave-smie-bnf-table): New var, with old content.
7641 (octave-smie-op-levels): Use it.
7642 (octave-smie-closer-alist): New var.
7643 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
7644 (octave-blink-matching-block-open): Remove.
7645 (octave-reindent-then-newline-and-indent, octave-electric-semi)
7646 (octave-electric-space): Let self-insert-command run expand-abbrev and
7647 blink parens.
7648
7649 * electric.el (electricity): New group.
7650 (electric-indent-chars): New var.
7651 (electric-indent-post-self-insert-function): New fun.
7652 (electric-indent-mode): New minor mode.
7653 (electric-pair-skip-self): New custom.
7654 (electric-pair-post-self-insert-function): New function.
7655 (electric-pair-mode): New minor mode.
7656
7657 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
7658 calcAlg-blink-matching-open.
7659 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
7660 (calc-do-alg-entry): Only touch the part of the keymap that varies.
7661 Use the new blink-matching-check-function.
7662
7663 Provide blink-matching support to SMIE.
7664 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
7665 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
7666 (smie-blink-matching-check, smie-blink-matching-open): New functions.
7667
7668 * simple.el (newline): Fix last change to properly remove itself from
7669 the hook.
7670
7671 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
7672
7673 * simple.el (newline): Eliminate optimization.
7674 Use post-self-insert-hook to set hard-newline and things before
7675 running post-self-insert-hook.
7676 (blink-matching-check-mismatch): New function.
7677 (blink-matching-check-function): New variable.
7678 (blink-matching-open): Use them.
7679 Skip back forward over prefix chars skipped by forward-sexp.
7680 Don't check if the parens are backslash escaped.
7681 (blink-paren-post-self-insert-function): Check backslash escaping here.
7682
7683 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
7684
7685 * emacs-lisp/package.el (package-menu-mode-map):
7686 Change package-menu-revert bindings to revert-buffer.
7687 (package-menu-mode): Set revert-buffer-function.
7688 (package-menu-revert): Doc fix.
7689
7690 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
7691
7692 * textmodes/ispell.el (ispell-init-process): Use "~/" as
7693 `default-directory' unless using Ispell per-directory personal
7694 dictionaries and not in a mini-buffer under XEmacs.
7695 (kill-buffer-hook): Do not kill ispell process on exit when
7696 `ispell-process-directory' is "~/". (Bug#6143)
7697
7698 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
7699
7700 * simple.el (kill-new): Call interprogram-cut-function with only
7701 one argument.
7702
7703 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
7704 Remove cut buffer from error message.
7705
7706 * term/x-win.el (x-select-text):
7707 * term/pc-win.el (x-selection-value):
7708 * term/ns-win.el (x-selection-value):
7709 * eshell/em-term.el:
7710 * w32-fns.el (x-get-selection-value):
7711 * mouse-sel.el (mouse-sel-set-selection-function):
7712 * frame.el (display-selections-p): Remove cut-buffer in documentation.
7713
7714 * term/x-win.el: Update documentation for x-last-selected-text-*.
7715 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
7716 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
7717 (x-select-text): Remove argument PUSH, update documentation.
7718 Remove cut-buffer code.
7719 (x-selection-value-internal): Was previously x-selection-value.
7720 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
7721 Update documentation, remove cut-buffer code.
7722 Call x-selection-value-internal.
7723 (x-clipboard-yank): Call x-selection-value-internal.
7724 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
7725
7726 * term/pc-win.el (x-last-selected-text):
7727 x-cut-buffer-or-selection-value renamed to x-selection-value
7728 (x-select-text): Remove argument PUSH, update documentation.
7729
7730 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
7731 x-cut-buffer-or-selection-value renamed to x-selection-value
7732 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
7733 (x-select-text): Remove argument PUSH, update documentation.
7734
7735 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
7736
7737 * w32-fns.el (x-last-selected-text):
7738 x-cut-buffer-or-selection-value renamed to x-selection-value.
7739 (x-cut-buffer-max): Remove.
7740 (x-select-text): Remove argument PUSH, update documentation.
7741
7742 * simple.el (interprogram-cut-function): Remove mention of PUSH.
7743
7744 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
7745
7746 * mouse-sel.el (mouse-sel-get-selection-function):
7747 x-cut-buffer-or-selection-value renamed to x-selection-value.
7748 (x-select-text): Remove optional push.
7749
7750 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
7751
7752 * simple.el (blink-paren-function): Move from C to here.
7753 (blink-paren-post-self-insert-function): New function.
7754 (post-self-insert-hook): Use it.
7755
7756 * emacs-lisp/pcase.el (pcase-split-memq):
7757 Fix overenthusiastic optimisation.
7758 (pcase-u1): Handle the case of a lambda pred.
7759
7760 2010-08-31 Kenichi Handa <handa@m17n.org>
7761
7762 * international/mule-cmds.el (standard-display-european-internal):
7763 Setup standard-display-table for 8-bit characters by storing 8-bit
7764 characters in the element vector.
7765
7766 * disp-table.el (standard-display-8bit):
7767 Setup standard-display-table for 8-bit characters by storing 8-bit
7768 characters in the element vector.
7769 (standard-display-european): Likewise.
7770
7771 2010-08-31 Masatake YAMATO <yamato@redhat.com>
7772
7773 * textmodes/nroff-mode.el (nroff-view): New command.
7774 (nroff-mode-map): Bind it to C-c C-c.
7775
7776 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
7777
7778 * emacs-lisp/smie.el (smie-down-list): New command.
7779
7780 Remove old indentation and navigation code on octave-mode.
7781 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
7782 smie-down-list rather than add a binding for octave-down-block.
7783 (octave-mark-block, octave-blink-matching-block-open):
7784 Rely on forward-sexp-function.
7785 (octave-fill-paragraph): Don't narrow, so you can use
7786 indent-according-to-mode.
7787 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
7788 (octave-in-block-p, octave-re-search-forward-kw)
7789 (octave-re-search-backward-kw, octave-indent-calculate)
7790 (octave-end-as-array-index-p, octave-block-end-offset)
7791 (octave-scan-blocks, octave-forward-block, octave-backward-block)
7792 (octave-down-block, octave-backward-up-block, octave-up-block)
7793 (octave-before-magic-comment-p, octave-indent-line): Remove.
7794
7795 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
7796
7797 * emacs-lisp/package.el (package--read-archive-file): Just use
7798 `read', to avoid copying an additional string.
7799 (package-menu-mode): Set header-line-format here.
7800 (package-menu-refresh, package-menu-revert): Signal an error if
7801 not in the Package Menu.
7802 (package-menu-package-list): New var.
7803 (package--generate-package-list): Operate on the current buffer;
7804 don't assume that it is *Packages*, since the user may rename it.
7805 Allow persistent package listings and sort keys using
7806 package-menu-package-list and package-menu-package-sort-key.
7807 (package-menu--version-predicate): Fix version calculation.
7808 (package-menu-sort-by-column): Don't select the window.
7809 (package--list-packages): Create the *Packages* buffer.
7810 Set package-menu-package-list-key.
7811 (list-packages): Sorting by status is now the default.
7812 (package-buffer-info): Use match-string-no-properties.
7813 (define-package): Add a &rest argument for future proofing, but
7814 don't use it yet.
7815 (package-install-from-buffer, package-install-buffer-internal):
7816 Merge into a single function, package-install-from-buffer.
7817 (package-install-file): Change caller.
7818
7819 * finder.el: Load finder-inf using `require'.
7820 (finder-list-matches): Sorting by status is now the default.
7821 (finder-compile-keywords): Simpify printing.
7822
7823 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7824
7825 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
7826 (octave-mode-map): Remove special bindings for forward/backward-block
7827 and octave-backward-up-block. Use smie-close-block.
7828 (octave-continuation-marker-regexp): New var.
7829 (octave-continuation-regexp): Use it.
7830 (octave-operator-table, octave-smie-op-levels)
7831 (octave-operator-regexp, octave-smie-indent-rules): New vars.
7832 (octave-smie-backward-token, octave-smie-forward-token): New funs.
7833 (octave-mode): Use SMIE.
7834 (octave-close-block): Delete.
7835
7836 2010-08-30 Eli Zaretskii <eliz@gnu.org>
7837
7838 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
7839 CLIPBOARD, not in PRIMARY. (Bug#6944)
7840
7841 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7842
7843 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
7844 a list of parents.
7845 (smie-indent-column): Allow indirection through variables.
7846
7847 * composite.el (save-buffer-state): Delete, unused.
7848 * font-lock.el (save-buffer-state): Use with-silent-modifications.
7849 (font-lock-default-fontify-region): Use with-syntax-table.
7850 * jit-lock.el (with-buffer-unmodified): Remove.
7851 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
7852
7853 Use `declare' in defmacros.
7854 * window.el (save-selected-window):
7855 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
7856 * progmodes/python.el (def-python-skeleton):
7857 * net/dbus.el (dbus-ignore-errors):
7858 * jka-cmpr-hook.el (with-auto-compression-mode):
7859 * international/mule.el (with-category-table):
7860 * emacs-lisp/timer.el (with-timeout):
7861 * emacs-lisp/lisp-mnt.el (lm-with-file):
7862 * emacs-lisp/eieio.el (with-slots):
7863 * emacs-lisp/easymenu.el (easy-menu-define):
7864 * emacs-lisp/debug.el (debugger-env-macro):
7865 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
7866 (Multiple-value-call, Multiple-value-prog1):
7867 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
7868 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
7869 edebug rule to definition.
7870 * emacs-lisp/lisp-mode.el (save-selected-window)
7871 (with-current-buffer, combine-after-change-calls)
7872 (with-output-to-string, with-temp-file, with-temp-buffer)
7873 (with-temp-message, with-syntax-table, read-if, eval-after-load)
7874 (dolist, dotimes, when, unless):
7875 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
7876
7877 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
7878
7879 * finder.el: Require `package'.
7880 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
7881 (finder-package-info): Var deleted.
7882 (finder-keywords-hash, finder--builtins-alist): New vars.
7883 (finder-compile-keywords): Compute package--builtins and
7884 finder-keywords-hash instead of finder-keywords-hash, respecting
7885 the "Package" header.
7886 (finder-unknown-keywords, finder-list-matches):
7887 Use finder-keywords-hash and package--list-packages.
7888 (finder-mode): Don't set font-lock-defaults.
7889 (finder-exit): We don't use "*Finder-package*" and "*Finder
7890 Category*" buffers anymore.
7891
7892 * emacs-lisp/package.el (package--builtins-base): Var deleted.
7893 (package--builtins): Set default value to nil.
7894 (package-initialize): Load precomputed value of package--builtins
7895 from finder-inf.el.
7896 (package-alist, package-compute-transaction)
7897 (package-download-transaction): Improve docstring.
7898 (package-read-all-archive-contents): Do not change
7899 package--builtins here.
7900 (list-packages): Make package-list-packages an alias for this.
7901 Sort by status by default.
7902 (package--list-packages): Add optional PACKAGES arg.
7903 (describe-package-1): Use font-lock-face property. For built-in
7904 packages, insert file commentary.
7905 (package--generate-package-list): Rename from
7906 package-list-packages-internal; all callers changed. Add optional
7907 PACKAGES arg. Add alphabetical sort fallbacks.
7908 (package-menu--version-predicate, package-menu--status-predicate)
7909 (package-menu--description-predicate)
7910 (package-menu--name-predicate): New functions.
7911
7912 * info.el (Info-finder-find-node): Search package-alist instead of
7913 finder-package-info.
7914
7915 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
7916
7917 * subr.el (version-regexp-alist): Don't use "a" and "b" for
7918 "alpha" and "beta".
7919 (version-to-list): Handle versions like "10.3d".
7920
7921 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7922
7923 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
7924 (macroexp-accumulate): Use `declare'.
7925
7926 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7927
7928 * whitespace.el (whitespace-style): Adjust type declaration.
7929
7930 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
7931
7932 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
7933
7934 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
7935
7936 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
7937 (Bug#6907).
7938
7939 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
7940
7941 * progmodes/js.el: Make indentation more customizable (Bug#6914).
7942 (js-paren-indent-offset, js-square-indent-offset)
7943 (js-curly-indent-offset): New options.
7944 (js--proper-indentation): Use them.
7945
7946 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
7947
7948 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
7949 instead of inspecting font-lock properties (Bug#6916).
7950
7951 2010-08-26 David Reitter <david.reitter@gmail.com>
7952
7953 * server.el (server-visit-files): Run pre-command-hook and
7954 post-command-hook for each buffer while it is current (Bug#6910).
7955 (server-execute): Do not run hooks here.
7956
7957 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
7958
7959 Sync with Tramp 2.1.19.
7960
7961 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Protect
7962 deleting tmpfile.
7963 (tramp-gvfs-maybe-open-connection): Use `tramp-compat-funcall'.
7964
7965 * net/tramp.el (tramp-handle-expand-file-name)
7966 (tramp-completion-handle-file-name-all-completions)
7967 (tramp-completion-handle-file-name-completion):
7968 Use `tramp-connectable-p'.
7969
7970 * net/trampver.el: Update release number.
7971
7972 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
7973
7974 * help.el (help-map): Bind `C-h P' to describe-package.
7975
7976 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
7977
7978 * emacs-lisp/package.el (package-refresh-contents): Catch errors
7979 when downloading archives.
7980 (describe-package-1): Add package commentary.
7981 (package-install-button-action): New function.
7982 (package-menu-mode-map): Bind ? to package-menu-describe-package.
7983 (package-menu-view-commentary): Function removed.
7984 (package-list-packages-internal): Hide the `package' package too.
7985
7986 2010-08-25 Kenichi Handa <handa@m17n.org>
7987
7988 * language/misc-lang.el ("Arabic"): New language environment.
7989 Setup composition-function-table for Arabic characters.
7990
7991 * international/fontset.el (setup-default-fontset): Fix typo for
7992 arabic OTF spec (fini->fina).
7993
7994 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
7995
7996 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
7997 on all frames.
7998
7999 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8000
8001 * whitespace.el: Allow cleaning up blanks without blank
8002 visualization (Bug#6651). Adjust help window for
8003 whitespace-toggle-options (Bug#6479). Allow to use fill-column
8004 instead of whitespace-line-column (from EmacsWiki). New version
8005 13.1.
8006 (whitespace-style): Add new value 'face. Adjust docstring.
8007 (whitespace-space, whitespace-hspace, whitespace-tab):
8008 Adjust foreground property face.
8009 (whitespace-line-column): Adjust docstring and type declaration.
8010 (whitespace-style-value-list, whitespace-toggle-option-alist)
8011 (whitespace-help-text): Adjust const initialization.
8012 (whitespace-toggle-options, global-whitespace-toggle-options):
8013 Adjust docstring.
8014 (whitespace-display-window, whitespace-interactive-char)
8015 (whitespace-style-face-p, whitespace-color-on): Adjust code.
8016 (whitespace-help-scroll): New fun.
8017
8018 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8019
8020 * emacs-lisp/package.el (list-packages): Alias for
8021 package-list-packages.
8022
8023 2010-08-24 Kevin Ryde <user42@zip.com.au>
8024
8025 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
8026 (Bug#5651).
8027
8028 * progmodes/ruby-mode.el (ruby): Add defgroup.
8029
8030 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8031
8032 * progmodes/python.el: Add Ipython support (Bug#5390).
8033 (python-shell-prompt-alist)
8034 (python-shell-continuation-prompt-alist): New options.
8035 (python--set-prompt-regexp): New function.
8036 (inferior-python-mode, run-python, python-shell):
8037 Require ansi-color. Use python--set-prompt-regexp to set the comint
8038 prompt based on the Python interpreter.
8039 (python--prompt-regexp): New var.
8040 (python-check-comint-prompt)
8041 (python-comint-output-filter-function): Use it.
8042 (run-python): Use a pipe (Bug#5694).
8043
8044 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
8045
8046 * progmodes/python.el (python-send-region): Send a different
8047 Python command if Ipython is in use.
8048 (python-check-version): Use a Python command to find the version.
8049
8050 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8051
8052 * mouse.el (mouse-yank-primary): Avoid setting primary when
8053 deactivating the mark (Bug#6872).
8054
8055 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
8056
8057 * progmodes/python.el (python-block-pairs): Allow use of "finally"
8058 with "else" (Bug#3991).
8059
8060 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
8061
8062 * net/dbus.el: Accept UNIX domain sockets as bus address.
8063 (top): Don't initialize `dbus-registered-objects-table' anymore,
8064 this is done in dbusbind.c.
8065 (dbus-check-event): Adapt test for bus.
8066 (dbus-return-values-table, dbus-unregister-service)
8067 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
8068 Adapt doc string.
8069
8070 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
8071
8072 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
8073
8074 2010-08-22 Juri Linkov <juri@jurta.org>
8075
8076 * simple.el (read-extended-command): New function with the logic
8077 for `completing-read' moved to Elisp from `execute-extended-command'.
8078 Use `function-called-at-point' in `minibuffer-default-add-function'
8079 to get a command name for M-n (bug#5364, bug#5214).
8080
8081 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8082
8083 * startup.el (command-line-1): Issue warning for ignored arguments
8084 --unibyte, etc (Bug#6886).
8085
8086 2010-08-22 Leo <sdl.web@gmail.com>
8087
8088 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
8089 (ignore, bright, dim, keyword): Split list of nicknames before
8090 passing to rcirc-add-or-remove (Bug#6894).
8091
8092 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8093
8094 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
8095
8096 2010-08-22 Leo <sdl.web@gmail.com>
8097
8098 Fix buffer-list rename&refresh after killing a buffer in ido.
8099 * ido.el: Revert Óscar's.
8100 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
8101 Remember the buffers at head, rather than their name.
8102 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
8103
8104 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
8105 Stefan Monnier <monnier@iro.umontreal.ca>
8106
8107 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
8108 extra backslash added to each line (bug#6890).
8109
8110 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8111
8112 * subr.el (read-key): Don't echo keystrokes (bug#6883).
8113
8114 2010-08-22 Glenn Morris <rgm@gnu.org>
8115
8116 * menu-bar.el (menu-bar-games-menu): Add landmark.
8117
8118 2010-08-22 Glenn Morris <rgm@gnu.org>
8119
8120 * align.el (align-regexp): Make group and spacing arguments
8121 use the interactive defaults when non-interactive. (Bug#6698)
8122
8123 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
8124 expansion, so as not to need sendmail.
8125 (mail-text-start): Remove declaration.
8126 (rmail-retry-failure): Require sendmail.
8127
8128 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8129
8130 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
8131
8132 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
8133
8134 * progmodes/flymake.el (flymake-start-syntax-check-process):
8135 Use `start-file-process' in order to let it run also on remote hosts.
8136
8137 2010-08-22 Kenichi Handa <handa@m17n.org>
8138
8139 * files.el: Add `word-wrap' as safe local variable.
8140
8141 2010-08-22 Glenn Morris <rgm@gnu.org>
8142
8143 * woman.el (woman-translate): Case matters. (Bug#6849)
8144
8145 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8146
8147 * simple.el (kill-region): Doc fix (Bug#6787).
8148
8149 2010-08-22 Glenn Morris <rgm@gnu.org>
8150
8151 * calendar/diary-lib.el (diary-header-line-format):
8152 Fit it to the window, not the frame.
8153
8154 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
8155
8156 * subr.el (ignore-errors): Add debug declaration.
8157
8158 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
8159
8160 * whitespace.el (whitespace-color-off): Remove post-command-hook
8161 locally.
8162
8163 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
8164
8165 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
8166
8167 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
8168
8169 * cus-edit.el (custom-group-value-create): Add extra newline
8170 before end line (Bug#6876).
8171
8172 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
8173
8174 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
8175 when extending it. Before killing on the second click, check if
8176 the buffer is the correct one. Doc fix.
8177 (mouse-secondary-save-then-kill): Allow usage without first
8178 calling mouse-start-secondary, by defaulting to point. Don't save
8179 an empty secondary selection. Doc fix.
8180
8181 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8182
8183 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
8184 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
8185 New version 13.0.
8186 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
8187 Adjust initialization.
8188 (whitespace-bob-marker, whitespace-eob-marker)
8189 (whitespace-buffer-changed): New vars.
8190 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
8191 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
8192 (whitespace-post-command-hook, whitespace-display-char-on):
8193 Adjust code.
8194 (whitespace-looking-back, whitespace-buffer-changed): New funs.
8195 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
8196
8197 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
8198
8199 * files.el (locate-file-completion-table): Only list the .el and .elc
8200 extensions if there's no other choice (bug#5955).
8201
8202 * facemenu.el (facemenu-self-insert-data): New var.
8203 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
8204 New functions.
8205 (facemenu-add-face): Use them.
8206
8207 * simple.el (blink-matching-open): Obey forward-sexp-function.
8208
8209 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
8210
8211 * simple.el (prog-mode-map): New var.
8212 (prog-indent-sexp): New command.
8213
8214 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
8215
8216 * progmodes/prolog.el (smie): Require.
8217
8218 * emacs-lisp/smie.el (smie-default-backward-token)
8219 (smie-default-forward-token): Strip properties.
8220 (smie-next-sexp): Be more careful with associative operators.
8221 (smie-forward-sexp-command): Generalize.
8222 (smie-backward-sexp-command): Simplify.
8223 (smie-closer-alist): New var.
8224 (smie-close-block): New command.
8225 (smie-indent-debug-log): New var.
8226 (smie-indent-offset-rule): Add a few more cases.
8227 (smie-indent-column): New function.
8228 (smie-indent-after-keyword): Use it.
8229 (smie-indent-keyword): Use it.
8230 Fix up the opener code's point position.
8231 (smie-indent-comment): Only applies at BOL.
8232 (smie-indent-debug): New command.
8233
8234 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
8235 declarations that are useful before running the macro.
8236
8237 2010-08-18 Joakim Verona <joakim@verona.se>
8238
8239 * image.el (imagemagick-types-inhibit): New variable.
8240 (imagemagick-register-types): New function.
8241 * image-mode.el (image-transform-properties): New function.
8242 (image-transform-set-scale, image-transform-fit-to-height)
8243 (image-transform-set-rotation, image-transform-set-resize)
8244 (image-transform-fit-to-width, image-transform-fit-to-height):
8245 New functions.
8246 (image-toggle-display-image): Support image transforms.
8247
8248 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
8249
8250 * image.el (create-animated-image): Don't add heuristic mask to image
8251 (Bug#6839).
8252
8253 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
8254
8255 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
8256 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
8257
8258 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
8259
8260 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
8261
8262 Font-lock '...' strings, plus various simplifications and fixes.
8263 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
8264 (octave-font-lock-close-quotes): New function.
8265 (octave-font-lock-syntactic-keywords): New var.
8266 (octave-mode): Use it. Set beginning-of-defun-function.
8267 (octave-mode-map): Don't override the <foo>-defun commands.
8268 (octave-mode-menu): Pass it directly to easy-menu-define;
8269 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
8270 (octave-block-match-alist): Fix up last change so that
8271 octave-close-block uses the more specific keyword.
8272 (info-lookup-mode): Silence byte-compiler.
8273 (octave-beginning-of-defun): Not interactive any more.
8274 Optimize slightly.
8275 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
8276 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
8277 (octave-completion-at-point-function): Make sure point is within
8278 beg..end.
8279 (octave-reindent-then-newline-and-indent):
8280 Use reindent-then-newline-and-indent.
8281 (octave-add-octave-menu): Remove.
8282
8283 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
8284
8285 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
8286 (report-emacs-bug-can-use-xdg-email): New functions.
8287 (report-emacs-bug): Set can-xdg-email to result of
8288 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
8289 \C-cm to report-emacs-bug-insert-to-mailer and add help text
8290 about it.
8291
8292 * net/browse-url.el (browse-url-default-browser): Add cond
8293 for browse-url-xdg-open.
8294 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
8295
8296 2010-08-17 Glenn Morris <rgm@gnu.org>
8297
8298 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
8299 (c-fontify-recorded-types-and-refs): Define for compiler.
8300 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
8301 before use.
8302
8303 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
8304 Fix format call.
8305
8306 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
8307
8308 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
8309 properties.
8310 (tramp-handle-process-file): Call the program in a subshell, in
8311 order to preserve working directory.
8312 (tramp-action-password): Hide password prompt before next run.
8313 (tramp-process-actions): Widen connection buffer for the trace.
8314
8315 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8316
8317 * net/rcirc.el (rcirc-log-process-buffers): New option.
8318 (rcirc-print): Use it.
8319 (rcirc-generate-log-filename): New function.
8320 (rcirc-log-filename-function): Change default to
8321 rcirc-generate-log-filename (Bug#6828).
8322
8323 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
8324
8325 * simple.el (deactivate-mark): If select-active-regions is `only',
8326 only set selection for temporarily active regions.
8327
8328 * cus-start.el: Change defcustom for select-active-regions.
8329
8330 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
8331
8332 * mouse.el (mouse--drag-set-mark-and-point): New function.
8333 (mouse-drag-track): Use LOCATION arg to push-mark.
8334 Use mouse--drag-set-mark-and-point to take click-count into
8335 consideration when updating point and mark (Bug#6840).
8336
8337 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
8338
8339 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8340 Give the Ruby rule a lower priority than Gnu (Bug#6778).
8341
8342 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
8343
8344 * font-lock.el (lisp-font-lock-keywords-2):
8345 Add combine-after-change-calls, condition-case-no-debug,
8346 with-demoted-errors, and with-silent-modifications (Bug#6025).
8347
8348 2010-08-14 Kevin Ryde <user42@zip.com.au>
8349
8350 * emacs-lisp/copyright.el (copyright-update-year)
8351 (copyright-update): Temporary switch-to-buffer to ensure the
8352 buffer change being queried is visible (Bug#5394).
8353
8354 2010-08-14 Tom Tromey <tromey@redhat.com>
8355
8356 * progmodes/etags.el (tags-file-name): Mark safe if stringp
8357 (Bug#6733).
8358
8359 2010-08-14 Eli Zaretskii <eliz@gnu.org>
8360
8361 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
8362 MS-DOS. (Bug#6689)
8363
8364 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
8365
8366 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
8367 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
8368 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
8369 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
8370 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
8371 Call menu-bar-set-tool-bar-position.
8372
8373 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8374
8375 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
8376 comment style (bug#6834).
8377 * progmodes/scheme.el (scheme-mode-syntax-table):
8378 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
8379 "b" flag in "' 14b" syntax.
8380
8381 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
8382 for (un)commenting the region and performing completion.
8383 (octave-mode-menu): Use standard commands for help and completion.
8384 (octave-mode-syntax-table): Support %{..%} comments (sort of).
8385 (octave-mode): Use define-derived-mode.
8386 Set completion-at-point-functions and don't set columns.
8387 Don't disable adaptive-fill-regexp.
8388 (octave-describe-major-mode, octave-comment-region)
8389 (octave-uncomment-region, octave-comment-indent)
8390 (octave-indent-for-comment): Remove.
8391 (octave-indent-calculate): Rename from calculate-octave-indent.
8392 (octave-indent-line, octave-fill-paragraph): Update caller.
8393 (octave-initialize-completions): No need to make an alist.
8394 (octave-completion-at-point-function): New function.
8395 (octave-complete-symbol): Use it.
8396 (octave-insert-defun): Use define-skeleton.
8397
8398 * progmodes/octave-mod.el (octave-mode): Set comment-add.
8399 (octave-mode-map): Use comment-dwim (bug#6829).
8400
8401 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com>
8402
8403 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
8404 indentation of inserted comment.
8405
8406 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
8407
8408 * faces.el (region): Add type gtk that uses gtk colors.
8409
8410 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
8411 Handle theme-name change.
8412
8413 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
8414
8415 * progmodes/sql.el: Version 2.5
8416 (sql-product-alist): Add :prompt-cont-regexp property for several
8417 database products.
8418 (sql-prompt-cont-regexp): New variable.
8419 (sql-output-newline-count, sql-output-by-send):
8420 New variables. Record number of newlines in input text.
8421 (sql-send-string): Handle multiple filters and count newlines.
8422 (sql-send-magic-terminator): Count terminator newline.
8423 (sql-interactive-remove-continuation-prompt): Filters output to
8424 remove continuation prompts; one for each newline.
8425 (sql-interactive-mode): Set up new variables, prompt regexp and
8426 output filter.
8427 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
8428 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
8429
8430 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8431
8432 * emacs-lisp/pcase.el: New file.
8433
8434 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
8435
8436 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
8437 as here-document, otherwise the command could exceed maximum
8438 length of command line.
8439 (tramp-handle-vc-registered): Call script accordingly.
8440 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
8441
8442 2010-08-10 Kenichi Handa <handa@m17n.org>
8443
8444 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
8445 composable pattern.
8446
8447 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
8448
8449 * emacs-lisp/package.el (package-version-split)
8450 (package--version-first-nonzero, package-version-compare):
8451 Functions removed.
8452 (package-directory-list, package-load-all-descriptors)
8453 (package--built-in, package-activate, define-package)
8454 (package-installed-p, package-compute-transaction)
8455 (package-read-all-archive-contents)
8456 (package--add-to-archive-contents, package-buffer-info)
8457 (package-tar-file-info, package-list-packages-internal):
8458 Use version-to-list and version-list-*.
8459
8460 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8461 Use version-to-list.
8462 (package-upload-buffer-internal): Use version-list-<=.
8463
8464 2010-08-09 Kenichi Handa <handa@m17n.org>
8465
8466 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
8467 composable pattern.
8468
8469 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
8470
8471 * tutorial.el (tutorial--default-keys): C-d is now bound to
8472 delete-forward-char (Bug#6826).
8473
8474 * mouse.el (mouse-drag-track): Remove accidentally-removed check
8475 for `double' value of mouse-1-click-follows-link (Bug#6807).
8476
8477 2010-08-08 Johan Bockgård <bojohan@gnu.org>
8478
8479 * replace.el (replace-highlight): Bind isearch-forward and
8480 isearch-error, ensuring that highlighting is updated if the user
8481 switches the search direction (Bug#6808).
8482
8483 * isearch.el (isearch-lazy-highlight-forward): New var.
8484 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
8485 (isearch-lazy-highlight-update): Use it.
8486
8487 2010-08-08 Kenichi Handa <handa@m17n.org>
8488
8489 * international/mule.el (define-charset): Store NAME as :base property.
8490 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
8491 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
8492 current priority. Force using the designation of the specific
8493 charset by adding `charset' text property. Improve the whole algorithm.
8494
8495 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8496
8497 * emulation/pc-select.el (pc-selection-mode-hook)
8498 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
8499 (pc-selection-mode): Fix typos in docstrings.
8500
8501 2010-08-08 Kenichi Handa <handa@m17n.org>
8502
8503 * language/cyrillic.el: Don't add "microsoft-cp1251" to
8504 ctext-non-standard-encodings-alist here.
8505
8506 * international/mule.el (ctext-non-standard-encodings-alist):
8507 Add "koi8-r" and "microsoft-cp1251".
8508 (ctext-standard-encodings): New variable.
8509 (ctext-non-standard-encodings-table): List only elements for
8510 non-standard encodings.
8511 (ctext-pre-write-conversion): Adjust for the above change.
8512 Check ctext-standard-encodings.
8513
8514 * international/mule-conf.el (compound-text): Doc fix.
8515 (ctext-no-compositions): Doc fix.
8516 (compound-text-with-extensions): Doc fix.
8517
8518 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8519
8520 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
8521
8522 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8523
8524 * progmodes/which-func.el (which-func-format): Split help-echo text
8525 into lines, like other mode-line tooltips.
8526
8527 * server.el (server-start): When using TCP sockets, force IPv4
8528 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
8529
8530 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8531
8532 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
8533
8534 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8535
8536 * term.el (term-delimiter-argument-list): Reflow docstring.
8537 (term-read-input-ring, term-write-input-ring, term-send-input)
8538 (term-bol, term-erase-in-display, serial-supported-or-barf):
8539 Fix typos in docstrings.
8540
8541 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8542
8543 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
8544
8545 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8546
8547 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
8548
8549 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
8550
8551 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
8552 Fix typo in docstring (bug#6747).
8553
8554 2010-08-08 Leo <sdl.web@gmail.com>
8555
8556 * eshell/esh-io.el (eshell-get-target): Better detection of
8557 read-only file (Bug#6762).
8558
8559 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8560
8561 * align.el (align-default-spacing): Doc fix.
8562 (align-region-heuristic, align-regexp): Fix typos in docstrings.
8563
8564 2010-08-08 Stephen Peters <speters@itasoftware.com>
8565
8566 * calendar/icalendar.el
8567 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
8568 (icalendar--get-weekday-numbers): New.
8569 (icalendar--convert-recurring-to-diary): Handle multiple byday
8570 values in weekly rules. (Bug#6766)
8571
8572 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
8573
8574 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
8575 (icalendar--create-uid, icalendar-export-region)
8576 (icalendar--parse-summary-and-rest): Code formatting.
8577
8578 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
8579
8580 * calc/calc.el (calc-trail-mode, calc-refresh): Use `face' property
8581 to italicize headers.
8582 (calc-highlight-selections-with-faces): New variable.
8583 (calc-selected-face, calc-nonselected-face): New faces.
8584
8585 * calc/calccomp.el (math-comp-highlight-string): Use
8586 `calc-highlight-selections-with-faces' to determine how to highlight
8587 sub-formulas.
8588
8589 * calc/calc-sel.el (calc-show-selections): Change message to when
8590 using faces to highlight selections.
8591
8592 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
8593
8594 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
8595 Add SQLite 3 keywords, functions and datatypes.
8596 (sql-interactive-mode): Remove `comint-process-echoes' set to t
8597 (Bug#6686).
8598
8599 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
8600
8601 * simple.el (select-active-regions): Move to keyboard.c.
8602 (deactivate-mark): Used saved-region-selection.
8603 (select-active-region): Function removed.
8604 (activate-mark, set-mark, push-mark-command)
8605 (handle-shift-selection): Don't call it.
8606 (keyboard-quit): Avoid adding the region to the window selection.
8607
8608 * mouse.el (mouse-drag-track): Remove hacks to deal with old
8609 select-active-regions implementation.
8610 (mouse-yank-at-click): Doc fix.
8611
8612 * cus-start.el: Add custom declaration for select-active-regions.
8613
8614 2010-08-07 Eli Zaretskii <eliz@gnu.org>
8615
8616 * simple.el (delete-forward-char): Doc fix.
8617
8618 * tutorial.el (help-with-tutorial): Hack safe file-local variables
8619 after reading the tutorial.
8620
8621 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
8622
8623 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
8624 Fix for the case that a C style comment has its delimiters alone on
8625 their respective lines. (Bug#193)
8626
8627 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
8628
8629 * net/tramp.el (tramp-handle-start-file-process): Set connection
8630 property "vec".
8631 (tramp-process-sentinel): Use it for flushing the cache.
8632 We cannot do it via the process buffer, the buffer could be deleted
8633 already when running the sentinel.
8634
8635 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
8636
8637 * comint.el (comint-mode): Make directory tracking functions
8638 functional on remote files. (Bug#6764)
8639
8640 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
8641
8642 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
8643
8644 2010-08-05 Eli Zaretskii <eliz@gnu.org>
8645
8646 * emacs-lisp/find-gc.el (find-gc-source-files):
8647 Rename unexec.c => unexcoff.c.
8648
8649 * emacs-lisp/authors.el (authors-fixed-entries):
8650 Rename unexec.c => unexcoff.c.
8651
8652 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
8653
8654 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
8655 cache, not only file cache.
8656 (tramp-process-sentinel): New defun.
8657 (tramp-handle-start-file-process): Use it, in order to invalidate
8658 file caches.
8659
8660 2010-08-03 Leo <sdl.web@gmail.com>
8661
8662 * server.el (server-start): Simplify loop.
8663
8664 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
8665
8666 * frame.el (screen-height, screen-width, set-screen-width)
8667 (set-screen-height): Remove ancient compatibility aliases.
8668
8669 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
8670 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
8671
8672 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
8673 that change current buffer.
8674
8675 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8676
8677 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
8678 beginning of the string. Use `string-match-p'. (Bug#6765)
8679
8680 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
8681
8682 * cus-start.el (x-gtk-use-system-tooltips): New variable.
8683
8684 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
8685
8686 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
8687 (package--builtins): Tweak descriptions.
8688 (package-print-package): Upcase descriptions if necessary.
8689 Show all built-in packages in font-lock-builtin-face.
8690 (package-list-packages-internal): Omit "emacs" package.
8691 Show status of built-in packages as "built-in".
8692
8693 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
8694
8695 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
8696 before killing to preserve the primary selection (Bug#6701).
8697
8698 * term/x-win.el (x-select-text): Doc fix.
8699
8700 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
8701
8702 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
8703 (objc-font-lock-extra-types):
8704 * progmodes/cc-mode.el (c-basic-common-init):
8705 * progmodes/cc-langs.el (c-make-mode-syntax-table)
8706 (c++-make-template-syntax-table)
8707 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
8708 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
8709 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
8710 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
8711 * progmodes/cc-fonts.el (c-make-inverse-face)
8712 (c-basic-matchers-after):
8713 * progmodes/cc-engine.el (c-forward-keyword-clause)
8714 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
8715 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
8716 (c-guess-continued-construct, c-guess-basic-syntax):
8717 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
8718 The above functions were modified or created.
8719
8720 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
8721
8722 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
8723
8724 2010-07-31 Eli Zaretskii <eliz@gnu.org>
8725
8726 * files.el (bidi-paragraph-direction): Define safe local values.
8727
8728 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
8729 language-info-alist. Remove outdated FIXME in a comment.
8730
8731 2010-07-31 Alan Mackenzie <acm@muc.de>
8732
8733 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
8734 Auto-fill broken in C/C++ modes.
8735
8736 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
8737
8738 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
8739 (menu-bar-showhide-tool-bar-menu-customize-disable)
8740 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
8741 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
8742 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
8743 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
8744 make a menu for Options => toolbar that can move it.
8745
8746 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
8747
8748 * emacs-lisp/package-x.el (package--make-rss-entry):
8749 (package-maint-add-news-item, package--update-news)
8750 (package-upload-buffer-internal): New arg ARCHIVE-URL.
8751
8752 * emacs-lisp/package.el (package-archive-url): Rename from
8753 package-archive-id.
8754 (package-install): Doc fix.
8755 (package-download-single, package-download-tar, package-install)
8756 (package-menu-view-commentary): Callers changed.
8757
8758 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
8759
8760 * net/tramp.el (tramp-handle-start-file-process): Check only for
8761 `remote-tty' process property.
8762 (tramp-open-shell): Don't check for tty.
8763 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
8764 process property.
8765
8766 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
8767 host.
8768
8769 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
8770
8771 * emacs-lisp/package.el (package-load-list, package-archives)
8772 (package-archive-contents, package-user-dir)
8773 (package-directory-list, package--builtins, package-alist)
8774 (package-activated-list, package-obsolete-alist): Mark as risky.
8775
8776 2010-07-28 Phil Hagelberg <phil@evri.com>
8777
8778 Add support for non-default package repositories.
8779 * emacs-lisp/package.el (package-archive-base): Var deleted.
8780 (package-archives): New variable.
8781 (package-archive-contents): Doc fix.
8782 (package-load-descriptor): Do nothing if descriptor file is missing.
8783 (package--write-file-no-coding): New function.
8784 (package-unpack-single): Use it.
8785 (package-archive-id): New function.
8786 (package-download-single, package-download-tar)
8787 (package-menu-view-commentary): Use it.
8788 (package-installed-p): Make second argument optional.
8789 (package-read-all-archive-contents): New function.
8790 (package-initialize): Use it.
8791 (package-read-archive-contents): Add ARCHIVE argument.
8792 (package--add-to-archive-contents): New function.
8793 (package-install): Don't call package-read-archive-contents.
8794 (package--download-one-archive): Store archive file in a
8795 subdirectory of package-user-dir.
8796 (package-menu-execute): Remove spurious line movement.
8797
8798 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
8799
8800 * cus-start.el (tool-bar-style): Add text-image-horiz.
8801
8802 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
8803
8804 * progmodes/gud.el (gud-common-init): Check for remoteness of
8805 `file', and not of `default-directory'.
8806
8807 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
8808
8809 * net/tramp.el (tramp-methods): Move hostname to the end in all
8810 ssh `tramp-login-args'.
8811 (tramp-verbose): Describe verbose level 9.
8812 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
8813 (tramp-open-connection-setup-interactive-shell): Trace stty
8814 settings if `tramp-verbose' >= 9.
8815 (tramp-handle-start-file-process): Implement tty setting.
8816 (Bug#4604, Bug#6360)
8817
8818 * net/tramp-cmds.el (tramp-bug): Recommend setting of
8819 `tramp-verbose' to 9.
8820
8821 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
8822
8823 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
8824 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
8825 Remove references to package `lisp-re' (bug#4369).
8826
8827 2010-07-27 Tom Tromey <tromey@redhat.com>
8828
8829 * progmodes/js.el (js-mode):
8830 * progmodes/make-mode.el (makefile-mode):
8831 * progmodes/simula.el (simula-mode):
8832 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
8833
8834 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
8835
8836 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
8837
8838 * time.el (display-time-day-and-date): Remove spurious * in docstring.
8839 (display-time-world-buffer-name, display-time-world-mode-map):
8840 Fix typos in docstrings.
8841
8842 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
8843
8844 * image-mode.el (image-display-size): New function.
8845 (image-forward-hscroll, image-next-line, image-eol, image-eob)
8846 (image-mode-fit-frame): Use it (Bug#6639).
8847
8848 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
8849
8850 * dired.el (dired-buffers-for-dir): Handle list values of
8851 dired-directory (Bug#6636).
8852
8853 2010-07-26 Sam Steingold <sds@gnu.org>
8854
8855 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
8856 Do not call `x-get-selection' the second time, reuse the value.
8857
8858 2010-07-26 Daiki Ueno <ueno@unixuser.org>
8859
8860 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
8861 which consist of control chars only. Suggested by Richard Stallman.
8862
8863 2010-07-25 Daiki Ueno <ueno@unixuser.org>
8864
8865 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
8866 exists before passing an error to find-file-not-found-functions
8867 (bug#6723).
8868
8869 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
8870
8871 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
8872 Remove leading nil element, adjust values.
8873 (tetris-shapes, tetris-shape-scores):
8874 Change representation of shapes and remove some redundancy.
8875 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
8876 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
8877 Adjust for working with new representation of shapes.
8878 (tetris-shape-rotations): New function.
8879 (tetris-move-bottom, tetris-move-left, tetris-move-right)
8880 (tetris-rotate-prev, tetris-rotate-next):
8881 Adjust for working with the new version of tetris-test-shape.
8882
8883 2010-07-23 Markus Triska <markus.triska@gmx.at>
8884
8885 * progmodes/ps-mode.el: Use comint (bug#5954).
8886 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
8887 (ps-mode-other-newline): Simplify.
8888 (ps-run-mode): Derive from comint-mode instead of
8889 fundamental-mode, yielding input history etc.
8890 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
8891 (ps-run-send-string): Adapt for comint-mode.
8892 (ps-run-newline): Remove now unneeded function.
8893
8894 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
8895
8896 * net/tramp.el (tramp-methods): Move hostname to the end in all
8897 plink `tramp-login-args'.
8898
8899 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
8900
8901 * net/tramp.el (tramp-open-shell): New defun.
8902 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8903 Use it.
8904
8905 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
8906
8907 * net/tramp.el (tramp-file-name-regexp-unified)
8908 (tramp-completion-file-name-regexp-unified): On W32 systems, do
8909 not regard the volume letter as remote filename. (Bug#5447)
8910
8911 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
8912
8913 * custom.el (custom-declare-variable): Give a clearer error message
8914 when the docstring is missing (bug#6476).
8915
8916 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
8917
8918 * progmodes/sql.el: Version 2.4. Improved Login prompting.
8919 (sql-login-params): New widget definition.
8920 (sql-oracle-login-params, sql-mysql-login-params)
8921 (sql-solid-login-params, sql-sybase-login-params)
8922 (sql-informix-login-params, sql-ingres-login-params)
8923 (sql-ms-login-params, sql-postgres-login-params)
8924 (sql-interbase-login-params, sql-db2-login-params)
8925 (sql-linter-login-params): Use it.
8926 (sql-sqlite-login-params): Use it; Define "database" parameter as
8927 a file name.
8928 (sql-sqlite-program): Change to "sqlite3".
8929 (sql-comint-sqlite): Make sure database name is complete.
8930 (sql-for-each-login): New function.
8931 (sql-connect, sql-save-connection): Use it.
8932 (sql-get-login-ext): New function.
8933 (sql-get-login): Use it.
8934 (sql-make-alternate-buffer-name): Handle :file parameters.
8935
8936 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
8937
8938 * dired.el (dired-no-confirm): Document value t and fix defcustom to
8939 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
8940
8941 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
8942
8943 * dired.el (dired-mode-map): Use command remapping (bug#6632).
8944
8945 2010-07-22 Lawrence Mitchell <wence@gmx.li>
8946
8947 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
8948
8949 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
8950
8951 * net/tramp.el (tramp-get-ls-command)
8952 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
8953 instead of "/".
8954
8955 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
8956
8957 * progmodes/sql.el: Version 2.3.
8958 (sql-connection-alist): Change keys from symbols to strings;
8959 enhanced the widget definition.
8960 (sql-mode-menu): Add submenu to select connections.
8961 (sql-interactive-mode-menu): Add "Save Connection" item.
8962 (sql-add-product): Fix menu item.
8963 (sql-get-product-feature): Improved error handling.
8964 (sql--alt-buffer-part, sql--alt-if-not-empty): Remove.
8965 (sql-make-alternate-buffer-name): Simplified.
8966 (sql-product-interactive): Handle missing product.
8967 (sql-connect): Support string keys, minor improvements.
8968 (sql-save-connection): New function.
8969 (sql-connection-menu-filter): New function.
8970
8971 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
8972
8973 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
8974 (tramp-open-connection-setup-interactive-shell):
8975 Apply workaround for IRIX64 bug. Move argument of last
8976 `tramp-send-command' where it belongs to.
8977
8978 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
8979
8980 * net/tramp.el (tramp-perl-file-attributes)
8981 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
8982 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
8983 front of `login-args'.
8984
8985 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
8986
8987 * time.el (display-time-world-mode): Define with `define-derived-mode'.
8988 Set `show-trailing-whitespace' to nil.
8989 (display-time-world-display): Simplify.
8990
8991 2010-07-18 Alan Mackenzie <acm@muc.de>
8992
8993 Enhance `c-file-style' in file/directory local variables.
8994 * progmodes/cc-mode.el (c-count-cfss): New function.
8995 (c-before-hack-hook): Call `c-set-style' differently according to
8996 whether c-file-style was set in file or directory local
8997 variables.
8998
8999 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
9000
9001 * progmodes/sql.el: Version 2.2.
9002 (sql-product, sql-user, sql-database, sql-server, sql-port):
9003 Use defcustom :safe keyword rather than putting safe-local-variable
9004 property.
9005 (sql-password): Use defcustom :risky keyword rather than putting
9006 risky-local-variable property.
9007 (sql-oracle-login-params, sql-sqlite-login-params)
9008 (sql-solid-login-params, sql-sybase-login-params)
9009 (sql-informix-login-params, sql-ingres-login-params)
9010 (sql-ms-login-params, sql-postgres-login-params)
9011 (sql-interbase-login-params, sql-db2-login-params)
9012 (sql-linter-login-params): Add `port' option.
9013 (sql-get-product-feature): Add NO-INDIRECT parameter.
9014 (sql-comint-oracle, sql-comint-sybase)
9015 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
9016 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
9017 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
9018 (sql-comint-linter): Rename sql-connect-* functions to
9019 sql-comint-*.
9020 (sql-product-alist, sql-mode-menu): Rename as above and
9021 :sqli-connect-func to :sqli-comint-func.
9022 (sql-connection): New variable.
9023 (sql-interactive-mode): Set it.
9024 (sql-connection-alist): New variable.
9025 (sql-connect): New function.
9026 (sql--alt-buffer-part, sql--alt-if-not-empty)
9027 (sql-make-alternate-buffer-name): Improved alternative buffer name.
9028
9029 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9030
9031 * image-mode.el (image-bookmark-make-record): Do not set context
9032 in an image (Bug#6650).
9033
9034 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
9035
9036 * simple.el (select-active-region): New function.
9037 (push-mark-command, set-mark, activate-mark)
9038 (handle-shift-selection): Use it.
9039 (deactivate-mark): Don't check for size of region.
9040
9041 * mouse.el (mouse-drag-track): Use select-active-region.
9042
9043 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
9044
9045 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
9046 "--dired" stronger.
9047
9048 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
9049
9050 * term/x-win.el (x-select-enable-primary): Change default to nil.
9051 (x-select-enable-clipboard): Add :version keyword.
9052
9053 * mouse.el (mouse-drag-copy-region):
9054 * simple.el (select-active-regions): Likewise.
9055
9056 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
9057
9058 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
9059 (vc-coding-system-for-diff): Use it to decide whether to inherit
9060 from the file the EOL format for reading the diffs of that file.
9061 (Bug#4451)
9062
9063 2010-07-16 Eli Zaretskii <eliz@gnu.org>
9064
9065 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
9066 unibyte, so compressed attachments are not compressed again.
9067
9068 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
9069
9070 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
9071 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
9072 (tramp-find-shell): Simplify setting connection property.
9073 (tramp-get-ls-command): Make test for "--color=never" stronger.
9074
9075 2010-07-15 Simon South <ssouth@member.fsf.org>
9076
9077 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
9078 blocks within record declarations (i.e. variant parts) correctly.
9079
9080 2010-07-15 Simon South <ssouth@member.fsf.org>
9081
9082 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
9083 over literal tokens when parsing so newlines aren't "absorbed" by
9084 single-line comments. Corrects the indentation of case blocks
9085 that have a comment on the first line.
9086
9087 2010-07-14 Karl Fogel <kfogel@red-bean.com>
9088
9089 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
9090 by Drew Adams (Bug#5504).
9091
9092 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
9093
9094 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
9095 now that Unicode is used (Bug#6594).
9096
9097 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
9098
9099 * term/x-win.el (x-select-enable-clipboard): Default to t.
9100 (x-initialize-window-system): Don't overwrite Paste menu item.
9101
9102 * simple.el (select-active-regions): Default to t.
9103 (push-mark-command): Don't overwrite primary with empty string.
9104
9105 * mouse.el: Bind mouse-2 to mouse-yank-primary.
9106 (mouse-drag-copy-region): Default to nil.
9107
9108 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
9109 Cut/Copy/Paste menu bar items.
9110
9111 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9112
9113 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
9114 Patch applied by Karl Fogel.
9115
9116 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
9117 and `bookmark-current-buffer' if they have been already set in
9118 another buffer (e.g gnus-art).
9119
9120 2010-07-13 Karl Fogel <kfogel@red-bean.com>
9121 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9122
9123 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
9124
9125 * bookmark.el (bookmark-make-record-default): Allow unneeded
9126 information to be omitted from the record.
9127
9128 Adjust declarations and calls:
9129
9130 * info.el (bookmark-make-record-default): Adjust declaration.
9131 (Info-bookmark-make-record): Adjust call.
9132
9133 * woman.el (bookmark-make-record-default): Adjust declaration.
9134 (woman-bookmark-make-record): Adjust call.
9135
9136 * man.el (bookmark-make-record-default): Adjust declaration.
9137 (Man-bookmark-make-record): Adjust call.
9138
9139 * image-mode.el (bookmark-make-record-default): Adjust declaration.
9140
9141 * doc-view.el (bookmark-make-record-default): Adjust declaration.
9142
9143 2010-07-13 Karl Fogel <kfogel@red-bean.com>
9144
9145 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
9146 This is also from Thierry Volpiatto's patch in bug #6444. However,
9147 because it was extraneous to the functional change in that patch,
9148 and causes a re-indendation, I am committing it separately.
9149
9150 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9151
9152 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
9153 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
9154 Patch applied by Karl Fogel (Bug#6444).
9155
9156 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
9157
9158 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
9159
9160 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
9161
9162 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
9163 Dempsky; bug#5084). Remove incorrect binding for S-tab.
9164 (ns-alternatives-map): Change S-tab binding to backtab
9165 (bug#6616).
9166
9167 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
9168 under ns.
9169
9170 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
9171
9172 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
9173 (Bug#5806)
9174
9175 * language/tv-util.el (tai-viet-re): Remove format.
9176
9177 2010-07-12 Kenichi Handa <handa@m17n.org>
9178
9179 * language/hebrew.el: Remove no-byte-compile declaration.
9180 Change coding: tag to utf-8. Register hebrew-shape-gstring in
9181 composition-function-table for 3-character looking back.
9182 (hebrew-font-get-precomposed): New function.
9183 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
9184
9185 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
9186
9187 * mouse.el (mouse-drag-track): Handle select-active-regions
9188 (Bug#6612).
9189
9190 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
9191
9192 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
9193 empty argument to gvfs-copy.
9194
9195 2010-07-10 Glenn Morris <rgm@gnu.org>
9196
9197 * calendar/calendar.el (calendar-week-end-day): New function.
9198 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
9199 Respect calendar-week-start-day. (Bug#6606)
9200 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
9201 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
9202 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
9203 respect calendar-week-start-day.
9204
9205 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
9206
9207 * simple.el (use-region-p): Doc fix (Bug#6607).
9208
9209 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
9210
9211 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9212 Add regexps for cucumber and ruby.
9213
9214 2010-07-08 Daiki Ueno <ueno@unixuser.org>
9215
9216 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
9217 (epa-file-insert-file-contents): Hack to prevent
9218 find-file from opening empty buffer when decryption failed
9219 (bug#6568).
9220
9221 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
9222
9223 * textmodes/ispell.el (ispell-alternate-dictionary):
9224 Use file-readable-p.
9225 Return nil if no word-list is found at default locations.
9226 (ispell-complete-word-dict): Default to nil.
9227 (ispell-command-loop): Use 'word-list' when using lookup-words.
9228 (lookup-words): Use ispell-complete-word-dict or
9229 ispell-alternate-dictionary. Check for word-list availability
9230 and handle errors if needed with better messages (Bug#6539).
9231 (ispell-complete-word): Use ispell-complete-word-dict or
9232 ispell-alternate-dictionary.
9233
9234 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
9235
9236 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
9237 builtins (BufferError, BytesWarning, WindowsError; callables
9238 bin, bytearray, bytes, format, memoryview, next, print; __package__).
9239
9240 2010-07-07 Glenn Morris <rgm@gnu.org>
9241
9242 * play/zone.el (top-level): Do not require timer, tabify, or cl.
9243 (zone-shift-left): Ignore intangibility, and any errors from
9244 forward-char.
9245 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
9246 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
9247 deleting, and copying text properties.
9248 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
9249 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
9250 to point-max is hard.
9251 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
9252 (zone-fill-out-screen): Ignore intangibility.
9253
9254 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
9255
9256 * menu-bar.el (menu-bar-mode):
9257 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
9258 if it has been set.
9259
9260 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
9261 word/line selection (Bug#6565).
9262
9263 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
9264
9265 * net/dbus.el (dbus-send-signal): Declare function.
9266
9267 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
9268
9269 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
9270 (dbus-register-property): New optional argument EMITS-SIGNAL.
9271 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
9272
9273 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
9274
9275 * mouse.el (mouse-drag-overlay): Variable deleted.
9276 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
9277 (mouse--remap-link-click-p): New function.
9278 (mouse-drag-track): Handle dragging by using temporary Transient
9279 Mark mode, instead of a special overlay.
9280 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
9281 mouse-show-mark.
9282
9283 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
9284 deleted.
9285
9286 2010-07-02 Juri Linkov <juri@jurta.org>
9287
9288 * autoinsert.el (auto-insert-alist): Fix readability
9289 by using dotted pair notation for lambda.
9290
9291 2010-07-02 Juri Linkov <juri@jurta.org>
9292
9293 * faces.el (read-face-name): Rename arg `string-describing-default'
9294 to `default'. Doc fix. Display the default value in quotes
9295 in the prompt. With empty input, return the `default' arg,
9296 unless the default value is a string (in which case return nil).
9297 (describe-face): Replace the string `default' arg of `read-face-name'
9298 with the symbol `default'.
9299
9300 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
9301
9302 * emulation/viper-cmd.el (viper-delete-backward-char)
9303 (viper-del-backward-char-in-insert)
9304 (viper-del-backward-char-in-replace, viper-change)
9305 (viper-backward-indent): Replace delete-backward-char with
9306 delete-char (Bug#6552).
9307
9308 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
9309
9310 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
9311
9312 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
9313
9314 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
9315 argument passed to frame-creation-function (Bug#5378).
9316
9317 * faces.el (x-handle-named-frame-geometry)
9318 (x-handle-reverse-video, x-create-frame-with-faces)
9319 (face-set-after-frame-default, tty-create-frame-with-faces):
9320 Don't separately consult default-frame-alist. It is now passed as the
9321 PARAMETER argument.
9322
9323 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
9324
9325 * startup.el (command-line): Don't call tool-bar-setup in a
9326 tty-only build.
9327
9328 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
9329
9330 * ruler-mode.el (ruler--save-header-line-format): New fun.
9331 (ruler-mode): Use it as a setter function, so as not to overwrite
9332 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
9333
9334 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
9335
9336 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
9337 (vc-root-diff, vc-print-root-log, vc-log-incoming)
9338 (vc-log-outgoing): Use it.
9339 (vc-diff-internal): Set diff-vc-backend.
9340
9341 * vc/diff-mode.el (diff-vc-backend): New var.
9342
9343 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
9344
9345 * dynamic-setting.el (font-setting-change-default-font):
9346 Remove call to message.
9347
9348 2010-06-28 Kenichi Handa <handa@m17n.org>
9349
9350 * international/quail.el (quail-insert-kbd-layout): Fix the
9351 showing of untranslated characters.
9352
9353 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
9354
9355 * simple.el (delete-active-region): New option.
9356 (delete-backward-char): Implement in Lisp.
9357 (delete-forward-char): New command.
9358
9359 * mouse.el (mouse-region-delete-keys): Delete.
9360 (mouse-show-mark): Simplify.
9361
9362 * bindings.el (global-map): Bind delete and DEL, the former to
9363 delete-forward-char.
9364
9365 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
9366
9367 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
9368 (ruby-mode): Bind indent-line-function (Bug#5119).
9369
9370 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
9371
9372 * startup.el (command-line): Recognize "0" X resource value.
9373
9374 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
9375
9376 * startup.el (command-line): Use X resources to set the value of
9377 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
9378
9379 * menu-bar.el (menu-bar-mode):
9380 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
9381 Set init-value to t.
9382
9383 * frame.el (frame-notice-user-settings): Don't change
9384 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
9385 vice versa (Bug#2249).
9386
9387 2010-06-26 Eli Zaretskii <eliz@gnu.org>
9388
9389 * w32-fns.el (w32-convert-standard-filename): Doc fix.
9390
9391 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
9392
9393 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
9394 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
9395
9396 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
9397 default directories are expanded (Bug#6143).
9398
9399 2010-06-24 Juri Linkov <juri@jurta.org>
9400
9401 * minibuffer.el (completions-format): Change default from nil to
9402 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
9403
9404 2010-06-24 Juri Linkov <juri@jurta.org>
9405
9406 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
9407 buffer-locally to lambda that re-runs the vc diff command.
9408 (Bug#6447)
9409
9410 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
9411
9412 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
9413 echo area is in use (Bug#3412).
9414
9415 2010-06-22 Glenn Morris <rgm@gnu.org>
9416
9417 * textmodes/texinfmt.el (texinfo-format-region)
9418 (texinfo-raise-lower-sections, texinfo-format-separate-node)
9419 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
9420 (texinfo-format-option, texinfo-noindent):
9421 Use line-beginning-position and line-end-position.
9422
9423 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
9424 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
9425 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
9426 utf-8 characters.
9427
9428 2010-06-21 Karl Fogel <kfogel@red-bean.com>
9429
9430 * play/zone.el (zone-fall-through-ws): Fix next-line ->
9431 forward-line fallout.
9432
9433 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
9434
9435 * mouse.el (mouse-appearance-menu): Add docstring.
9436
9437 * help.el (describe-key): Print up-event using key-description.
9438
9439 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
9440
9441 * net/zeroconf.el (zeroconf-resolve-service)
9442 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
9443 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
9444
9445 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
9446
9447 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
9448
9449 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
9450
9451 Avoid displaying files with a nil state in vc-dir.
9452 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
9453 cases that cause insertion.
9454 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
9455 with a nil state.
9456
9457 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
9458
9459 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
9460
9461 2010-06-29 Leo <sdl.web@gmail.com>
9462
9463 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
9464
9465 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
9466
9467 * generic-x.el (bat-generic-mode): Fix regexp for command line
9468 switches (Bug#5719).
9469
9470 2010-06-27 Masatake YAMATO <yamato@redhat.com>
9471
9472 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
9473 of nconc to avoid pure storage error (Bug#6239).
9474
9475 2010-06-27 Christoph Scholtes <cschol2112@googlemail.com>
9476
9477 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
9478 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
9479 bindings of bookmark-automatically-show-annotations (Bug#6515).
9480
9481 2010-06-25 Eli Zaretskii <eliz@gnu.org>
9482
9483 * arc-mode.el (archive-zip-extract): Don't quote the file name on
9484 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
9485
9486 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
9487
9488 * comint.el (make-comint, make-comint-in-buffer): Mention return
9489 value in the docstrings. (Bug#6498)
9490
9491 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
9492
9493 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
9494 since it is not present when using some non-default switches.
9495
9496 2010-06-23 Karl Fogel <kfogel@red-bean.com>
9497
9498 * simple.el (compose-mail): Fix doc string to refer to
9499 `compose-mail-user-agent-warnings', instead of to the
9500 nonexistent `compose-mail-check-user-agent'.
9501
9502 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
9503
9504 Fix an indentation bug:
9505
9506 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
9507 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
9508 of existing values.
9509
9510 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
9511 (c-clear->-pair-props-if-match-before): now return t when they've
9512 cleared properties, nil otherwise.
9513 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
9514 by taking account of the existing value.
9515
9516 * progmodes/cc-defs.el
9517 (c-clear-char-property-with-value-function): Fix this to clear the
9518 property rather than overwriting it with nil.
9519
9520 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
9521
9522 * emacs-lisp/package.el (package-print-package): Add link to
9523 package description via describe-package.
9524 (describe-package-1): List package requirements. Add button to
9525 perform installation.
9526 (package-menu-describe-package): New command.
9527
9528 * help-mode.el (help-package): New button type.
9529
9530 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
9531
9532 * emacs-lisp/package.el: Move package-list-packages binding to
9533 menu-bar.el.
9534 (describe-package, describe-package-1, package--dir): New funs.
9535 (package-activate-1): Use package--dir.
9536
9537 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
9538
9539 * help-mode.el (help-package-def): New button type.
9540
9541 * menu-bar.el: Move package-list-packages binding here from
9542 package.el.
9543
9544 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
9545
9546 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
9547
9548 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9549
9550 * emacs-lisp/edebug.el (edebug-read-list):
9551 Phase out old-style backquotes.
9552
9553 2010-06-17 Juri Linkov <juri@jurta.org>
9554
9555 * help-mode.el (help-mode): Set buffer-local variable
9556 revert-buffer-function to help-mode-revert-buffer.
9557 (help-mode-revert-buffer): New function.
9558
9559 * info.el (Info-revert-find-node): Check for major-mode Info-mode
9560 before popping to "*info*" (like in other Info functions).
9561 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
9562 old-history-forward. Pop to old-buffer-name or "*info*" to
9563 recreate the killed buffer. Set Info-history-forward from
9564 old-history-forward.
9565 (Info-breadcrumbs-depth): Add :group and :version.
9566
9567 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
9568
9569 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
9570
9571 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
9572
9573 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
9574 for languages like Portuguese with pt_{BR,PT} and no plain pt.
9575
9576 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
9577
9578 * emacs-lisp/package.el (package-menu-mode-map):
9579 Move initialization into declaration.
9580
9581 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
9582
9583 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
9584
9585 * emacs-lisp/package.el (package-archive-base): Point to
9586 elpa.gnu.org.
9587 (package-enable, package-load-list): New defcustoms.
9588 (package-user-dir, package-directory-list): Turn into defcustoms.
9589 Don't include package-user-dir in package-directory-list.
9590 (package--builtins-base): Don't include Emacs as a "package".
9591 (package-subdirectory-regexp): New var.
9592 (package-load-all-descriptors, package-compute-transaction)
9593 (package-download-transaction): Obey package-load-list.
9594 (package-activate-1): Rename from package-do-activate.
9595 (package-list-packages-internal): Check package-load-list.
9596 (package-load-descriptor, package-generate-autoloads)
9597 (package-unpack, package-unpack-single)
9598 (package--read-archive-file, package-delete):
9599 Use expand-file-name.
9600
9601 * emacs-lisp/package-x.el: New file. Package uploading
9602 functionality split out from package.el.
9603
9604 * startup.el (command-line): Load packages after reading init file.
9605
9606 2010-06-17 Tom Tromey <tromey@redhat.com>
9607
9608 * emacs-lisp/package.el: New file.
9609
9610 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
9611
9612 Fix vc-annotate for renamed files when using Git.
9613 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
9614 ls-files. Doe not pass the object as a file name to cat-file, it
9615 is not a file name.
9616 (vc-git-annotate-command): Pass the file name using -- to avoid
9617 ambiguity with the revision.
9618 (vc-git-previous-revision): Pass a relative file name.
9619
9620 2010-06-22 Glenn Morris <rgm@gnu.org>
9621
9622 * progmodes/js.el (js-mode-map): Use standard capitalization and
9623 ellipses for menu entries.
9624
9625 * wid-edit.el (widget-complete): Doc fix.
9626
9627 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
9628
9629 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
9630
9631 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
9632
9633 Fix annotating other revisions for renamed files in vc-annotate.
9634 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
9635 VC backend. Use it when non-nil.
9636 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
9637 (Bug#6487).
9638
9639 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
9640 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
9641 Do not pass the file name to the 'previous-revision call when we
9642 don't want a file diff. (Bug#6489)
9643
9644 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
9645
9646 Fix finding revisions for renamed files in vc-annotate.
9647 * vc/vc.el (vc-find-revision): Add an optional argument for
9648 the VC backend. Use it when non-nil.
9649 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
9650 backend to vc-find-revision. (Bug#6487)
9651
9652 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
9653
9654 Fix reading file names in Git annotate buffers.
9655 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
9656 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
9657
9658 2010-06-20 Alan Mackenzie <acm@muc.de>
9659
9660 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
9661 in file local variables, set it first.
9662
9663 2010-06-19 Glenn Morris <rgm@gnu.org>
9664
9665 * descr-text.el (describe-char-unicode-data): Insert separating
9666 space when needed. (Bug#6422)
9667
9668 * progmodes/idlwave.el (idlwave-action-and-binding):
9669 Fix typo in 2009-12-03 change. (Bug#6450)
9670
9671 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9672
9673 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
9674 handling for `lambda' (misunderstanding).
9675
9676 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
9677
9678 * calc/calc-poly.el (math-accum-factors): Make sure that
9679 constants aren't distributed after they are factored out.
9680
9681 2010-06-16 Juri Linkov <juri@jurta.org>
9682
9683 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
9684 `list-colors-print'. (Bug#6332)
9685
9686 * subr.el (read-quoted-char): Fix up last change (bug#6290).
9687
9688 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
9689
9690 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
9691 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
9692
9693 * font-lock.el (font-lock-major-mode): Rename from
9694 font-lock-mode-major-mode to distinguish it from
9695 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
9696 (font-lock-set-defaults):
9697 * font-core.el (font-lock-default-function): Adjust users.
9698 (font-lock-mode): Don't set it at all.
9699
9700 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
9701
9702 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
9703
9704 2010-06-16 Glenn Morris <rgm@gnu.org>
9705
9706 * calendar/appt.el (appt-time-msg-list): Doc fix.
9707 (appt-check): Let-bind appt-warn-time.
9708 (appt-add): Make the 3rd argument optional.
9709 Simplify argument names. Doc fix. Check for integer WARNTIME.
9710 Only add WARNTIME to the output list if non-nil.
9711
9712 2010-06-16 Ivan Kanis <apple@kanis.eu>
9713
9714 * calendar/appt.el (appt-check): Let the 3rd element of
9715 appt-time-msg-list specify the warning time.
9716 (appt-add): Add new argument with the warning time. (Bug#5176)
9717
9718 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
9719
9720 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
9721 older than version 1.6. (Bug#6361)
9722
9723 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
9724
9725 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
9726 used by cl-do-arglist. (Bug#6408)
9727
9728 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
9729
9730 * textmodes/ispell.el (ispell-dictionary-base-alist):
9731 Fix portuguese casechars/not-casechars for missing 'çÇ'.
9732 Suggested by Rolando Pereira (bug#6434).
9733
9734 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
9735
9736 * facemenu.el (list-colors-sort): Doc fix.
9737
9738 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
9739
9740 * progmodes/sql.el (sql-connect-mysql): Fix typo.
9741
9742 2010-06-14 Juri Linkov <juri@jurta.org>
9743
9744 Add sort option `list-colors-sort'. (Bug#6332)
9745 * facemenu.el (color-rgb-to-hsv): New function.
9746 (list-colors-sort): New defcustom.
9747 (list-colors-sort-key): New function.
9748 (list-colors-display): Doc fix. Sort list according to the option
9749 `list-colors-sort'.
9750 (list-colors-print): Add HSV values to `help-echo' property of
9751 RGB strings.
9752
9753 2010-06-14 Juri Linkov <juri@jurta.org>
9754
9755 * compare-w.el: Move to the "vc" subdirectory.
9756
9757 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9758
9759 * image-mode.el (image-mode-map): Remap left-char and right-char.
9760
9761 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
9762
9763 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
9764
9765 * term/common-win.el (x-colors): Add all the color names defined
9766 in rgb.txt (Bug#6332).
9767
9768 * facemenu.el (list-colors-print): Don't print extra names if it
9769 will overflow the window width.
9770
9771 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
9772 change (Bug#6343).
9773
9774 2010-06-12 Eli Zaretskii <eliz@gnu.org>
9775
9776 * files.el (make-directory): Doc fix (bug#6396).
9777
9778 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
9779
9780 * net/tramp.el (tramp-remote-process-environment): Protect version
9781 string by apostroph.
9782 (tramp-shell-prompt-pattern): Do not use a shy group in case of
9783 XEmacs.
9784 (tramp-file-name-for-operation): Add `call-process-region'.
9785 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
9786
9787 * net/tramp-compat.el (top): Do not autoload
9788 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
9789 only when `start-file-process' is not bound.
9790 (tramp-advice-file-expand-wildcards): Do not use
9791 `tramp-handle-file-remote-p'.
9792 (tramp-compat-make-temp-file): Handle the case, that
9793 `make-temp-file' has no third argument EXTENSION.
9794
9795 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
9796
9797 * makefile.w32-in (WINS_BASIC): Include new directory vc.
9798
9799 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
9800
9801 2010-06-11 Juri Linkov <juri@jurta.org>
9802
9803 * finder.el (finder-known-keywords): Add keyword "vc"
9804 for version control.
9805
9806 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
9807 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
9808 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
9809 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
9810
9811 2010-06-11 Juri Linkov <juri@jurta.org>
9812
9813 Move version control related files to the "vc" subdirectory.
9814 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
9815 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
9816 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
9817 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
9818 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
9819 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
9820 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
9821 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
9822 Move files to the "vc" subdirectory.
9823
9824 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
9825
9826 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
9827 (Bug#6367).
9828
9829 2010-06-11 Stephen Eglen <stephen@gnu.org>
9830
9831 * shell.el: Bind `shell-resync-dirs' to M-RET.
9832
9833 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
9834
9835 * notifications.el: Move file from lisp/net, because it is
9836 supposed to talk locally to the user.
9837
9838 2010-06-10 Julien Danjou <julien@danjou.info>
9839
9840 * net/notifications.el (notifications-on-action-signal)
9841 (notifications-on-closed-signal): Pass notification id as first
9842 argument to the callback functions. Add docstrings.
9843 (notifications-notify): Fix docstring.
9844
9845 2010-06-10 Glenn Morris <rgm@gnu.org>
9846
9847 * emacs-lisp/authors.el (authors-ignored-files)
9848 (authors-valid-file-names): Add some files.
9849
9850 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
9851
9852 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
9853 merge conflict, giving preference to the emacs-23 version of the code.
9854
9855 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
9856
9857 * emacs-lisp/advice.el (ad-compile-function):
9858 Define warning-suppress-types before we let-bind it (bug#6275).
9859
9860 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
9861 declare it, make it buffer-local and permanent-local (bug#6324).
9862 (vc-resynch-window): Adjust name.
9863 * vc-hooks.el (vc-find-file-hook): Adjust name.
9864
9865 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
9866
9867 * net/notifications.el (notifications-notify): Fix docstring.
9868
9869 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
9870
9871 Update to Unicode 6.0.0 beta.
9872 * international/charprop.el: Update copyright.
9873 * international/mule-cmds.el (ucs-names): Update character ranges.
9874 * international/uni-bidi.el:
9875 * international/uni-category.el:
9876 * international/uni-combining.el:
9877 * international/uni-comment.el:
9878 * international/uni-decimal.el:
9879 * international/uni-decomposition.el:
9880 * international/uni-digit.el:
9881 * international/uni-lowercase.el:
9882 * international/uni-mirrored.el:
9883 * international/uni-name.el:
9884 * international/uni-numeric.el:
9885 * international/uni-old-name.el:
9886 * international/uni-titlecase.el:
9887 * international/uni-uppercase.el: Regenerate.
9888
9889 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
9890
9891 * emacs-lisp/smie.el (comment-string-strip): Declare function.
9892 (smie-precs-precedence-table): Fix typo in docstring.
9893
9894 * vc-mtn.el (log-edit-extract-headers): Declare function.
9895
9896 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
9897
9898 * net/notifications.el (dbus-register-signal): Declare function.
9899 (notifications-notify): Fix typos and reflow docstring.
9900
9901 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
9902
9903 Improve VC create/retrieve tag/branch.
9904 * vc.el (vc-create-tag): Do not read the directory name for VCs
9905 with repository revision granularity. Adjust the tag/branch
9906 prompt. Reset VC properties.
9907 (vc-retrieve-tag): Do not read the directory name for VCs
9908 with repository revision granularity. Reset VC properties.
9909
9910 2010-06-09 Julien Danjou <julien@danjou.info>
9911
9912 * net/notifications.el: New file.
9913
9914 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
9915
9916 Add optional support for resetting VC properties.
9917 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
9918 call vc-file-clearprops when true.
9919 (vc-resynch-buffer): Add new optional argument, pass it down.
9920 (vc-resynch-buffers-in-directory): Likewise.
9921
9922 Improve support for special markup in the VC commit message.
9923 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
9924 * vc-hg.el (vc-hg-checkin): Add support for Date:.
9925 * vc-git.el (vc-git-checkin):
9926 * vc-bzr.el (vc-bzr-checkin): Likewise.
9927
9928 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
9929
9930 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
9931 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
9932
9933 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
9934
9935 * iimage.el: Remove images as soon as the underlying text is modified.
9936 (iimage-modification-hook): New function.
9937 (iimage-mode-buffer): Use it.
9938
9939 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9940
9941 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
9942 smie-indent-offset-after. Add :prev case. Make a bit more generic.
9943 (smie-indent-virtual): Remove `virtual' arg. Update callers.
9944 (smie-indent-keyword): Add handling of open-paren keywords.
9945 (smie-indent-comment-continue): Don't assume comment-continue.
9946
9947 2010-06-07 Martin Rudalics <rudalics@gmx.at>
9948
9949 * window.el (pop-to-buffer): Remove the conditional that
9950 compares new-window and old-window, so it will reselect
9951 the selected window unconditionally.
9952 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
9953
9954 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9955
9956 * emacs-lisp/smie.el (smie-indent-offset-after)
9957 (smie-indent-forward-token, smie-indent-backward-token): New functions.
9958 (smie-indent-after-keyword): Use them.
9959 (smie-indent-fixindent): Only applies to the indentation of the BOL.
9960 (smie-indent-keyword): Tweak the black magic.
9961 (smie-indent-comment-continue): Strip comment-continue before use.
9962 (smie-indent-functions): Indent comments before keywords.
9963
9964 2010-06-06 Juri Linkov <juri@jurta.org>
9965
9966 * isearch.el (isearch-lazy-highlight-search): Fix looping
9967 by checking for empty match. This syncs this loop with the
9968 similar loop in `isearch-search'. (Bug#6362)
9969
9970 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
9971
9972 * net/dbus.el (dbus-register-method): Declare function.
9973 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
9974 (dbus-introspect): Doc fix.
9975 (dbus-event-bus-name, dbus-introspect-get-interface)
9976 (dbus-introspect-get-argument): Reflow docstrings.
9977
9978 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
9979
9980 vc-log-incoming/vc-log-outgoing fixes for Git.
9981 * vc-git.el (vc-git-log-view-mode): Fix font lock for
9982 incoming/outgoing logs.
9983 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
9984 instead of vc-git-compute-remote.
9985 (vc-git-compute-remote): Remove.
9986
9987 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
9988
9989 * term/common-win.el (x-colors): Add "dark green" and "dark
9990 turquoise" (Bug#6332).
9991
9992 2010-06-04 Juri Linkov <juri@jurta.org>
9993
9994 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
9995 Instead of setting `replace' to t and replacing the same string
9996 with itself, don't do certain actions when
9997 kill-do-not-save-duplicates is non-nil and string is equal to car
9998 of kill-ring: don't call menu-bar-update-yank-menu, don't push
9999 interprogram-paste strings to kill-ring, and don't push the input
10000 argument `string' to kill-ring.
10001 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
10002
10003 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
10004
10005 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
10006
10007 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
10008
10009 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
10010 (tramp-gvfs-handler-mounted-unmounted)
10011 (tramp-gvfs-connection-mounted-p): Handle default-location.
10012
10013 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
10014 move files to trash.
10015
10016 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
10017
10018 * international/mule-cmds.el (nonascii-insert-offset)
10019 (nonascii-translation-table): Add obsolescence information.
10020
10021 * international/mule.el (make-translation-table-from-vector): Doc fix.
10022
10023 2010-06-03 Glenn Morris <rgm@gnu.org>
10024
10025 * desktop.el (desktop-clear-preserve-buffers):
10026 Add "*Warnings*" buffer. (Bug#6336)
10027
10028 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
10029
10030 vc-log-incoming/vc-log-outgoing improvements for Git.
10031 * vc-git.el (vc-git-log-outgoing): Use the same format as the
10032 short log.
10033 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
10034
10035 Add bindings for vc-log-incoming and vc-log-outgoing.
10036 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
10037 and vc-log-outgoing.
10038 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
10039 and vc-log-outgoing.
10040
10041 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
10042
10043 * net/rcirc.el (rcirc-sort-nicknames): Remove.
10044 (rcirc-handler-366): Always sort nicknames.
10045
10046 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
10047
10048 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
10049
10050 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
10051
10052 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
10053
10054 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10055
10056 * net/rcirc.el (rcirc-sort-nicknames): Change default.
10057 (rcirc-sort-nicknames-join): Avoid setq.
10058
10059 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
10060
10061 * net/rcirc.el (rcirc-sort-nicknames): New custom.
10062 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
10063 (rcirc-handler-366): Use them.
10064
10065 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10066
10067 Split smie-indent-calculate into more manageable chunks.
10068 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
10069 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
10070 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
10071 (smie-indent-exps): Extract from smie-indent-calculate.
10072 (smie-indent-functions): New var.
10073 (smie-indent-functions): Use them.
10074
10075 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10076
10077 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
10078 (smie-indent-calculate): Simplify and cleanup.
10079
10080 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
10081
10082 * net/tramp-gvfs.el (top): Require url-util.
10083 (tramp-gvfs-mount-point): Remove.
10084 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
10085 New defuns.
10086 (with-tramp-dbus-call-method): Format trace message.
10087 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
10088 Implement backup call, when operation on local files fails.
10089 Use progress reporter. Flush properties of changed files.
10090 (tramp-gvfs-handle-make-directory): Make more traces.
10091 (tramp-gvfs-url-file-name): Hexify file name in url.
10092 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
10093 into account for the resulting file name.
10094 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
10095 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
10096 (tramp-gvfs-handler-mounted-unmounted)
10097 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
10098 attribute "default_location". Set "prefix" property.
10099 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
10100 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
10101 exists. Raise an error, if not (due to a corresponding answer
10102 "no" in interactive questions, for example).
10103
10104 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
10105
10106 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
10107
10108 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
10109
10110 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
10111 right-*. (Bug#6265)
10112
10113 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
10114
10115 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
10116 * vc-git.el (vc-git-compute-remote): New function.
10117 (vc-git-log-outgoing): Use it instead of hard coding a value.
10118 (vc-git-log-incoming): New function.
10119
10120 Improve state updating for VC tag commands.
10121 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
10122 to update the state of all buffers in the directory.
10123
10124 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
10125
10126 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10127
10128 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
10129 `file-directory-p' to the filename part rather than to the whole text.
10130
10131 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10132
10133 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
10134
10135 2010-05-31 Drew Adams <drew.adams@oracle.com>
10136
10137 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
10138
10139 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
10140
10141 * subr.el (momentary-string-display): Just use read-event to read
10142 the exit event (Bug#6238).
10143
10144 2010-05-30 Eli Zaretskii <eliz@gnu.org>
10145
10146 * international/mule.el (define-coding-system): Doc fix (bug#6313).
10147
10148 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
10149
10150 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
10151 Suggested by Eli Zaretskii <eliz@gnu.org>.
10152
10153 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10154
10155 * minibuffer.el (completion-file-name-table): Don't return a boundary
10156 past the end of `string' (bug#6299).
10157 (completion--file-name-table): Delegate to completion-file-name-table
10158 for the `boundaries' case.
10159
10160 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
10161
10162 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
10163 movement commands.
10164
10165 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
10166 `path-separator', but maintain compatibility with Emacs 20.2.
10167
10168 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
10169
10170 * server.el (server-process-filter): Receive parent-id argument
10171 from emacsclient.
10172 (server-create-window-system-frame): New arg. Pass parent-id as
10173 frame parameter.
10174
10175 2010-05-29 Eli Zaretskii <eliz@gnu.org>
10176
10177 Bidi-sensitive word movement with arrow keys.
10178 * subr.el (right-arrow-command, left-arrow-command): Move to
10179 bindings.el.
10180
10181 * bindings.el (right-char, left-char): Move from subr.el and
10182 rename from right-arrow-command and left-arrow-command.
10183 (right-word, left-word): New functions.
10184 (global-map) <right>: Bind to right-char.
10185 (global-map) <left>: Bind to left-char.
10186 (global-map) <C-right>: Bind to right-word.
10187 (global-map) <C-left>: Bind to left-word.
10188
10189 * ls-lisp.el (ls-lisp-classify-file): New function.
10190 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
10191 (ls-lisp-classify): Call ls-lisp-classify-file.
10192 (insert-directory): Remove blanks from switches.
10193
10194 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
10195
10196 * ansi-color.el: Delete unused escape sequences (Bug#6085).
10197 (ansi-color-drop-regexp): New constant.
10198 (ansi-color-apply, ansi-color-filter-region)
10199 (ansi-color-apply-on-region): Delete unrecognized control sequences.
10200 (ansi-color-apply): Build string list before calling concat.
10201
10202 2010-05-28 Juri Linkov <juri@jurta.org>
10203
10204 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10205 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
10206 (Bug#5270)
10207
10208 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
10209
10210 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
10211 to ignored backtrace functions.
10212 (with-progress-reporter): Expand docstring.
10213 (tramp-handle-delete-file): Implement TRASH argument.
10214 (tramp-get-remote-trash): New defun.
10215
10216 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
10217
10218 * net/tramp-compat.el (tramp-compat-delete-file):
10219 Use `symbol-value' for backward compatibility.
10220
10221 * net/tramp.el (tramp-handle-make-symbolic-link)
10222 (tramp-handle-load)
10223 (tramp-do-copy-or-rename-file-via-buffer)
10224 (tramp-do-copy-or-rename-file-directly)
10225 (tramp-do-copy-or-rename-file-out-of-band)
10226 (tramp-handle-process-file, tramp-handle-call-process-region)
10227 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10228 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10229 (tramp-delete-temp-file-function): Use `delete-file' instead
10230 of `tramp-compat-delete-file'.
10231
10232 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
10233 (tramp-fish-handle-make-symbolic-link)
10234 (tramp-fish-handle-process-file): Use `delete-file' instead
10235 of `tramp-compat-delete-file'.
10236
10237 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
10238 Use `delete-file' instead of `tramp-compat-delete-file'.
10239
10240 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Use
10241 `delete-file' instead of `tramp-compat-delete-file'.
10242
10243 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
10244 Use `delete-file' instead of `tramp-compat-delete-file'.
10245
10246 * net/tramp-smb.el (tramp-smb-handle-copy-file)
10247 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10248 (tramp-smb-handle-write-region): Use `delete-file' instead of
10249 `tramp-compat-delete-file'.
10250 (tramp-smb-handle-delete-directory): Use 'trash as arg.
10251
10252 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
10253
10254 * dired.el (dired-delete-file): New arg TRASH.
10255 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
10256 (dired-do-flagged-delete, dired-do-delete): Use trash.
10257
10258 * speedbar.el (speedbar-item-delete): Allow trashing.
10259
10260 * files.el (delete-directory): New arg TRASH.
10261
10262 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
10263 (ange-ftp-rename-remote-to-remote)
10264 (ange-ftp-rename-local-to-remote)
10265 (ange-ftp-rename-remote-to-local, ange-ftp-load)
10266 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
10267 `delete-file'.
10268 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
10269 allow trashing.
10270
10271 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
10272 handle new TRASH arg of `delete-file'.
10273
10274 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
10275 (tramp-handle-make-symbolic-link, tramp-handle-load)
10276 (tramp-do-copy-or-rename-file-via-buffer)
10277 (tramp-do-copy-or-rename-file-directly)
10278 (tramp-do-copy-or-rename-file-out-of-band)
10279 (tramp-handle-process-file, tramp-handle-call-process-region)
10280 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10281 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10282 (tramp-delete-temp-file-function): Use null TRASH arg in
10283 tramp-compat-delete-file call.
10284
10285 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
10286 (tramp-fish-handle-delete-file)
10287 (tramp-fish-handle-make-symbolic-link)
10288 (tramp-fish-handle-process-file): Use null TRASH arg in
10289 `tramp-compat-delete-file' call.
10290
10291 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
10292 arg in `tramp-compat-delete-file' call.
10293
10294 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
10295 (tramp-gvfs-handle-write-region): Use null TRASH arg in
10296 `tramp-compat-delete-file' call.
10297
10298 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
10299 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
10300 `tramp-compat-delete-file' call.
10301
10302 * net/tramp-smb.el (tramp-smb-handle-copy-file)
10303 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10304 (tramp-smb-handle-write-region): Use null TRASH arg in
10305 tramp-compat-delete-file call.
10306 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
10307 (tramp-smb-handle-delete-file): Rename arg.
10308
10309 * diff.el (diff-sentinel):
10310 * epg.el (epg--make-temp-file, epg-decrypt-string)
10311 (epg-verify-string, epg-sign-string, epg-encrypt-string):
10312 * jka-compr.el (jka-compr-partial-uncompress)
10313 (jka-compr-call-process, jka-compr-write-region):
10314 * server.el (server-sentinel): Remove optional arg from
10315 delete-file, reverting 2010-05-03 change.
10316
10317 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
10318
10319 * progmodes/verilog-mode.el (verilog-type-font-keywords):
10320 Use font-lock-constant-face, not obsolete font-lock-reference-face.
10321
10322 2010-05-27 Kenichi Handa <handa@m17n.org>
10323
10324 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
10325 element of GSTRING is nil.
10326
10327 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10328
10329 * emacs-lisp/smie.el (smie-forward-token-function)
10330 (smie-backward-token-function): New vars.
10331 (smie-backward-sexp, smie-forward-sexp)
10332 (smie-indent-hanging-p, smie-indent-calculate): Use them.
10333 (smie-default-backward-token): Rename from smie-backward-token and
10334 skip comments.
10335 (smie-default-forward-token): Rename from smie-forward-token and
10336 skip comments.
10337 (smie-next-sexp): Handle nil results from next-token.
10338 (smie-indent-calculate): Add a new case for special `fixindent' comments.
10339
10340 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
10341
10342 * progmodes/verilog-mode.el (verilog-type-font-keywords):
10343 Use font-lock-constant-face, not obsolete font-lock-reference-face.
10344
10345 2010-05-27 Masatake YAMATO <yamato@redhat.com>
10346
10347 * htmlfontify.el (hfy-face-resolve-face): New function.
10348 (hfy-face-to-style): Use it (Bug#6279).
10349
10350 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
10351
10352 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
10353 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
10354
10355 2010-05-26 Glenn Morris <rgm@gnu.org>
10356
10357 * emulation/edt.el (edt-load-keys): Use locate-library.
10358
10359 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
10360
10361 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
10362 (log-edit-changelog-entries): Doc fix.
10363 (log-edit-changelog-insert-entries): Args changed.
10364 Rename relative filenames in ChangeLog entries. Delete tabs.
10365 (log-edit-insert-changelog-entries): Reorganize return value of
10366 `log-edit-changelog-entries' to pass filenames to
10367 log-edit-changelog-insert-entries.
10368
10369 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10370
10371 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
10372 `image-dired-dired-insert-marked-thumbs' to
10373 `image-dired-dired-toggle-marked-thumbs'.
10374
10375 * image-dired.el: Require cl when compiling.
10376 (image-dired-dired-toggle-marked-thumbs): Rename from
10377 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
10378 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
10379 to 'no-dir. Skip files whose names don't match
10380 `image-file-name-regexp'. When file has a thumbnail overlay,
10381 delete it. (Bug#5270)
10382
10383 2010-05-25 Juri Linkov <juri@jurta.org>
10384
10385 * image-mode.el (image-mode): Add image-after-revert-hook to
10386 after-revert-hook.
10387 (image-after-revert-hook): New function. (Bug#5669)
10388
10389 2010-05-25 Juri Linkov <juri@jurta.org>
10390
10391 * image.el (image-animated-p): When delay between animated images
10392 is 0, set it to 10 (0.1 sec). (Bug#6258)
10393
10394 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
10395
10396 * net/tramp.el (tramp-handle-insert-directory): Don't use
10397 `forward-word', its default syntax could be changed.
10398
10399 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
10400
10401 * net/tramp.el (tramp-progress-reporter-update): New defun.
10402 (with-progress-reporter): Use it.
10403 (tramp-process-actions):
10404 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
10405 Preserve current message, in order to let progress reporter continue
10406 afterwards. (Bug#6257)
10407
10408 2010-05-25 Glenn Morris <rgm@gnu.org>
10409
10410 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
10411 Add :version.
10412
10413 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
10414
10415 * net/rcirc.el (rcirc-default-user-name): Change to "user".
10416 (rcirc-default-full-name): Change to "unknown".
10417 (rcirc-user-name-history): Add variable.
10418
10419 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
10420 Jonathan Rockway <jon@jrock.us>
10421
10422 * net/rcirc.el (rcirc-server-alist): Add :pass.
10423 (rcirc): When prompting for connection parameters, also prompt for
10424 username and password.
10425 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
10426 value to server when connecting.
10427
10428 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10429
10430 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
10431 (smie-merge-prec2s): Pass the tables as separate args.
10432 (smie-bnf-precedence-table): Adjust call accordingly.
10433 (smie-prec2-levels): Set levels at the end.
10434
10435 Replace Lisp calls to delete-backward-char by delete-char.
10436 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
10437 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
10438 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
10439 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
10440 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
10441 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
10442 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
10443 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
10444 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
10445 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
10446 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
10447 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
10448 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
10449 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
10450 delete-backward-char by calls to delete-char.
10451
10452 2010-05-25 Kenichi Handa <handa@m17n.org>
10453
10454 * language/hebrew.el (hebrew-shape-gstring): New function.
10455 Register it in composition-function-table for all Hebrew combining
10456 characters.
10457
10458 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10459
10460 * epa.el (epa--select-keys): Don't explicitly delete the window since
10461 that can fail (e.g. sole window in frame). Use dedication instead.
10462
10463 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
10464
10465 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
10466
10467 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
10468
10469 * image.el (image-refresh): Define as an alias for image-flush.
10470
10471 * image-mode.el (image-toggle-display-image): Caller changed.
10472
10473 2010-05-21 Juri Linkov <juri@jurta.org>
10474
10475 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
10476 Remove "all" from grep-files-aliases. Split grep-files-aliases by
10477 whitespace, call wildcard-to-regexp on substrings and concat them
10478 with "\\|". (Bug#6114)
10479
10480 2010-05-21 Alan Mackenzie <acm@muc.de>
10481
10482 * progmodes/cc-engine.el (c-parse-state-get-strategy):
10483 Replace parameter `here' with `here-' and `here-plus', which sandwich
10484 any pertinent CPP construct.
10485 (c-remove-stale-state-cache-backwards): Fix a bug which happens
10486 when doing (c-parse-state) in a CPP construct: Exclude any "new"
10487 CPP construct from taking part in the scanning.
10488
10489 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
10490
10491 * net/tramp.el (tramp-do-copy-or-rename-file)
10492 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
10493 Tune `with-progress-reporter' messages.
10494 (tramp-handle-vc-registered):
10495 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
10496 (tramp-fish-handle-insert-file-contents)
10497 (tramp-fish-maybe-open-connection):
10498 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10499 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
10500 (tramp-imap-handle-insert-file-contents)
10501 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
10502
10503 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
10504
10505 * add-log.el (change-log-font-lock-keywords):
10506 Highlight all authors in multi-author entries.
10507
10508 * smerge-mode.el (smerge-refine-ignore-whitespace)
10509 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
10510 Fix typos in docstrings.
10511 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
10512
10513 2010-05-21 Glenn Morris <rgm@gnu.org>
10514
10515 * progmodes/fortran.el (fortran-mode):
10516 * progmodes/f90.el (f90-mode): Derive from prog-mode.
10517
10518 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
10519 having a relative path in src/Makefile.in.
10520
10521 2010-05-20 Kevin Ryde <user42@zip.com.au>
10522
10523 * help-mode.el (help-make-xrefs): For Info node links turn
10524 newlines into spaces. Link node names with newlines are matched
10525 by help-xref-info-regexp and buttonized, this change ensures they
10526 can be followed successfully with RET. (Bug#6206)
10527
10528 2010-05-20 Juri Linkov <juri@jurta.org>
10529
10530 * locate.el (locate): Use pop-to-buffer instead of
10531 switch-to-buffer-other-window. (Bug#6204)
10532
10533 2010-05-20 Juri Linkov <juri@jurta.org>
10534
10535 * replace.el (replace-highlight): Fix lazy-highlighting
10536 for `M-s w str M-% str RET'.
10537
10538 2009-12-15 Masatake YAMATO <yamato@redhat.com>
10539
10540 * isearch.el (isearch-yank-word-or-char): Pull next subword
10541 when `subword-mode' is activated. (Bug#6220)
10542
10543 2010-05-20 Mark A. Hershberger <mah@everybody.org>
10544
10545 * isearch.el (isearch-update-post-hook): New hook.
10546 (isearch-update): Use the new hook. (Bug#6225)
10547
10548 2010-05-20 Juri Linkov <juri@jurta.org>
10549
10550 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
10551 [f1], [help], and (char-to-string help-char) instead of "\C-h".
10552 (Bug#6222)
10553
10554 2010-05-20 Juri Linkov <juri@jurta.org>
10555
10556 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
10557 (Bug#6223)
10558
10559 2010-05-20 Juri Linkov <juri@jurta.org>
10560
10561 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
10562 FILE-NAME to read from the minibuffer when called interactively
10563 with prefix argument instead of using buffer-file-name.
10564 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
10565
10566 * dired.el: Update autoloads.
10567
10568 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
10569
10570 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
10571 nxml-finish-element, for consistency with SGML mode.
10572
10573 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
10574 octave-close-block.
10575
10576 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
10577
10578 * composite.el: Require cl when compiling.
10579 (reference-point-alist, compose-gstring-for-graphic)
10580 (compose-gstring-for-terminal): Fix typos in docstrings.
10581
10582 2010-05-19 Juri Linkov <juri@jurta.org>
10583
10584 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
10585 set-window-parameter.
10586
10587 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
10588
10589 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
10590 where appropriate.
10591 (tramp-maybe-open-connection): Use it.
10592
10593 2010-05-19 Eli Zaretskii <eliz@gnu.org>
10594
10595 * simple.el (move-end-of-line): Make sure we are at line beginning
10596 before backing up to end of previous line.
10597
10598 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
10599
10600 * password-cache.el (password-cache-remove): Fix docstring.
10601
10602 * net/secrets.el: Autoload the widget functions.
10603 (secrets-search-items, secrets-create-item)
10604 (secrets-get-attributes, secrets-expand-item): Attributes will be
10605 stored on the password database without leading ":", as all other
10606 clients do as well.
10607 (secrets-mode): Fix docstring.
10608 (secrets-show-secrets): Provide it as autoloaded command only when
10609 D-Bus support is available. Check existence of Secret Service API.
10610
10611 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
10612
10613 * indent.el (indent-region): Deactivate region (bug#6200).
10614
10615 2010-05-19 Glenn Morris <rgm@gnu.org>
10616
10617 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
10618
10619 2010-05-19 Kenichi Handa <handa@m17n.org>
10620
10621 * composite.el: Register compose-gstring-for-graphic in
10622 composition-function-table only for combining characters (Mn, Mc, Me).
10623
10624 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
10625
10626 * calc/calc-trail.el (calc-trail-isearch-forward)
10627 (calc-trail-isearch-backward): Ensure that the new window
10628 point is set correctly.
10629
10630 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10631
10632 * subr.el (read-quoted-char): Resolve modifiers after key
10633 remapping (bug#6212).
10634
10635 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
10636
10637 Add visualization code for secrets.
10638 * net/secrets.el (secrets-mode): New major mode.
10639 (secrets-show-secrets, secrets-show-collections)
10640 (secrets-expand-collection, secrets-expand-item)
10641 (secrets-tree-widget-after-toggle-function)
10642 (secrets-tree-widget-show-password): New defuns.
10643
10644 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10645
10646 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
10647 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
10648 handled in smie-next-sexp.
10649 (smie-indent-calculate): Provide a starting indentation (so the
10650 recursion is well-founded ;-).
10651
10652 Fix handling of non-associative equal levels.
10653 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
10654 when it's not needed.
10655 (smie-op-left, smie-op-right): New functions.
10656 (smie-next-sexp): New function, extracted from smie-backward-sexp.
10657 Better handle equal levels to distinguish the associative case from
10658 the "multi-keyword construct" case.
10659 (smie-backward-sexp, smie-forward-sexp): Use it.
10660
10661 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
10662
10663 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
10664
10665 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
10666 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
10667
10668 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10669
10670 Provide a simple generic indentation engine and use it for Prolog.
10671 * emacs-lisp/smie.el: New file.
10672 * progmodes/prolog.el (prolog-smie-op-levels)
10673 (prolog-smie-indent-rules): New var.
10674 (prolog-mode-variables): Use them to configure SMIE.
10675 (prolog-indent-line, prolog-indent-level): Remove.
10676
10677 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10678
10679 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
10680 order before computing the averages.
10681
10682 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
10683
10684 * calc/calc-vec.el (calc-histogram):
10685 (calcFunc-histogram): Allow vectors as inputs.
10686 (math-vector-avg): New function.
10687
10688 * calc/calc-ext.el (math-group-float): Have the number of digits
10689 being grouped depend on the radix (Bug#6189).
10690
10691 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
10692
10693 * version.el (emacs-copyright, emacs-version): Don't define here,
10694 now that emacs.c defines it.
10695
10696 2010-05-15 Eli Zaretskii <eliz@gnu.org>
10697
10698 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
10699 "Describe Language Environment" menu item.
10700
10701 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
10702
10703 Bidi-sensitive movement with arrow keys.
10704 * subr.el (right-arrow-command, left-arrow-command): New functions.
10705
10706 * bindings.el (global-map): Bind them to right and left arrow keys.
10707
10708 Don't override standard definition of convert-standard-filename.
10709 * files.el (convert-standard-filename):
10710 Call w32-convert-standard-filename and dos-convert-standard-filename on
10711 the corresponding systems.
10712
10713 * w32-fns.el (w32-convert-standard-filename): Rename from
10714 convert-standard-filename. Doc fix.
10715
10716 * dos-fns.el (dos-convert-standard-filename): Doc fix.
10717 (convert-standard-filename): Don't defalias.
10718 (register-name-alist, make-register, register-value)
10719 (set-register-value, intdos): Obsolete aliases for the
10720 corresponding dos-* functions and variables.
10721 (dos-intdos): Add a doc string.
10722
10723 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
10724
10725 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
10726 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
10727 (math-compose-tex-func):
10728 * calc/calccomp.el (math-compose-expr):
10729 * calc/calc-ext.el (math-format-flat-expr-fancy):
10730 * calc/calc-store.el (calc-read-var-name):
10731 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
10732
10733 * calc/calc.el (var-π, var-φ, var-γ): New variables.
10734 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
10735 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
10736 (math-standard-units): Add units.
10737
10738 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10739
10740 * progmodes/asm-mode.el (asm-mode):
10741 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
10742
10743 * pcomplete.el (pcomplete-completions-at-point): New function,
10744 extracted from pcomplete-std-complete.
10745 (pcomplete-std-complete): Use it.
10746
10747 2010-05-15 Glenn Morris <rgm@gnu.org>
10748
10749 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10750 Remove references to CVS, RCS and Old directories.
10751
10752 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
10753
10754 * calc/calc-bin.el (math-format-twos-complement): Group digits when
10755 appropriate.
10756
10757 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
10758
10759 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
10760 (sh-mode-syntax-table): Give it a default value instead.
10761 (sh-header-marker): Make buffer-local.
10762 (sh-mode): Move make-local-variable to the corresponding setq.
10763 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
10764 Use complete-with-action.
10765
10766 * simple.el (prog-mode): New (abstract) major mode.
10767 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
10768 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
10769
10770 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
10771
10772 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
10773 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
10774 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
10775 (sql-make-alternate-buffer-name, sql-placeholders-filter)
10776 (sql-escape-newlines-filter, sql-input-sender)
10777 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
10778
10779 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
10780
10781 Add TeX open-block and close-block keybindings to SGML, and vice versa.
10782
10783 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
10784 latex-open-block and C-c / to latex-close-block.
10785
10786 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
10787 and C-c C-e to sgml-close-tag.
10788
10789 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
10790
10791 * net/tramp.el (with-progress-reporter): Create reporter object
10792 only when the message would be displayed. Handle nested calls.
10793 (tramp-handle-load, tramp-handle-file-local-copy)
10794 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10795 (tramp-maybe-send-script, tramp-find-shell):
10796 Use `with-progress-reporter'.
10797 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
10798 Fix message text.
10799
10800 * net/tramp-smb.el (tramp-smb-handle-copy-file)
10801 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10802 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
10803 Use `with-progress-reporter'.
10804
10805 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
10806
10807 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
10808 process everytime when spellchecking from the minibuffer (bug#6143).
10809
10810 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10811
10812 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
10813
10814 * dos-fns.el: Add "dos-" prefix for namespace control.
10815 (convert-standard-filename): Define as alias for
10816 dos-convert-standard-filename but only if applicable.
10817
10818 2010-05-12 Alan Mackenzie <acm@muc.de>
10819
10820 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
10821 Push the mark at the start of these functions when appropriate.
10822
10823 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10824
10825 * minibuffer.el (completion-cycle-threshold): New custom var.
10826 (completion--do-completion): Use it.
10827 (minibuffer-complete): Use cycling if appropriate.
10828
10829 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
10830
10831 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
10832 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
10833
10834 2010-05-11 Juri Linkov <juri@jurta.org>
10835
10836 * scroll-all.el (scroll-all-check-to-scroll):
10837 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
10838
10839 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
10840
10841 * iimage.el (iimage-mode-map): Move initialization into declaration.
10842 (iimage-mode-buffer): Use with-silent-modifications.
10843 Simplify calling convention. Adjust callers.
10844 (iimage-mode): Don't run hook redundantly.
10845
10846 * minibuffer.el (completion-pcm--pattern->regex):
10847 Fix last change (bug#6160).
10848
10849 2010-05-10 Juri Linkov <juri@jurta.org>
10850
10851 Remove nodes visited during Isearch from the Info history.
10852 * info.el (Info-isearch-initial-history)
10853 (Info-isearch-initial-history-list): New variables.
10854 (Info-isearch-start): Record initial values of
10855 Info-isearch-initial-history and Info-isearch-initial-history-list.
10856 Add Info-isearch-end to isearch-mode-end-hook.
10857 (Info-isearch-end): New function.
10858
10859 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
10860
10861 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
10862 format string, in order to work around a bug in pdksh.
10863 Reported by Gilles Pion <gpion@lfdj.com>.
10864 (tramp-handle-verify-visited-file-modtime): Do not send a command
10865 when the connection is not established.
10866 (tramp-handle-set-file-times): Simplify the check for utc.
10867
10868 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
10869
10870 Fix use of `filter-buffer-substring' (rework previous change).
10871 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
10872 (cua-repeat-replace-region):
10873 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
10874 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
10875 (cua-cut-region-to-global-mark): Use it.
10876
10877 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
10878
10879 * progmodes/sql.el: Version 2.1.
10880 (sql-product-alist): Redesign structure of product info.
10881 (sql-product, sql-user, sql-server, sql-database): Safe variables.
10882 (sql-port, sql-port-history): New variables.
10883 (sql-interactive-product): New variable.
10884 (sql-send-terminator): New variable.
10885 (sql-imenu-generic-expression): Add "Types" imenu entry.
10886 (sql-oracle-login-params, sql-sqlite-login-params)
10887 (sql-mysql-login-params, sql-solid-login-params)
10888 (sql-sybase-login-params, sql-informix-login-params)
10889 (sql-ingres-login-params, sql-ms-login-params)
10890 (sql-postgres-login-params, sql-interbase-login-params)
10891 (sql-db2-login-params, sql-linter-login-params)
10892 (sql-oracle-scan-on): New variables.
10893 (sql-mode-map): Add C-c C-i to start interactive mode.
10894 (sql-mode-menu): Update existing menu entries.
10895 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
10896 (sql-mode-oracle-font-lock-keywords)
10897 (sql-mode-postgres-font-lock-keywords)
10898 (sql-mode-ms-font-lock-keywords)
10899 (sql-mode-sybase-font-lock-keywords)
10900 (sql-mode-informix-font-lock-keywords)
10901 (sql-mode-interbase-font-lock-keywords)
10902 (sql-mode-ingres-font-lock-keywords)
10903 (sql-mode-solid-font-lock-keywords)
10904 (sql-mode-mysql-font-lock-keywords)
10905 (sql-mode-sqlite-font-lock-keywords)
10906 (sql-mode-db2-font-lock-keywords)
10907 (sql-mode-linter-font-lock-keywords): Update initialization to
10908 reduce run-time complexity.
10909 (sql-add-product, sql-del-product): New functions.
10910 (sql-set-product-feature, sql-get-product-feature): New functions.
10911 (sql-product-font-lock): Update product API.
10912 (sql-add-product-keywords): New function.
10913 (sql-highlight-product): Update product API.
10914 (sql-help-list-products): New function.
10915 (sql-help): Dynamically lists free and non-free products.
10916 (sql-get-login): Correct bug in handling history and added
10917 prompt for port.
10918 (sql-copy-column): Copy without properties.
10919 (sqli-input-sender): Apply filters to SQLi input.
10920 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
10921 Implement as a filter.
10922 (sql-escape-newlines-filter): Implement as a filter.
10923 (sql-remove-tabs-filter): New function.
10924 (sql-send-magic-terminator): New function.
10925 (sql-send-string): Implement magic terminator.
10926 (sql-send-region): Use `sql-send-string'.
10927 (sql-interactive-mode): Use product API.
10928 (sql-product-interactive): Use product API.
10929 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
10930 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
10931 (sql-db2, sql-linter): Use `sql-product-interactive'.
10932 (sql-connect): New function.
10933 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
10934 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
10935 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
10936 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
10937 Use `sql-connect'.
10938
10939 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10940
10941 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
10942 New custom variable.
10943 (completion-pcm--string->pattern): Use it.
10944 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
10945 Make it handle any symbol as `any'.
10946 (completion-pcm--merge-completions): Extract common suffix for the new
10947 `prefix' symbol as well.
10948 (completion-substring--all-completions): Use the new `prefix' symbol.
10949
10950 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
10951
10952 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
10953 not bound.
10954 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
10955 (tramp-compat-funcall): New defmacro.
10956 (tramp-compat-line-beginning-position)
10957 (tramp-compat-line-end-position)
10958 (tramp-compat-temporary-file-directory)
10959 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
10960 (tramp-compat-copy-file, tramp-compat-copy-directory)
10961 (tramp-compat-delete-file, tramp-compat-delete-directory)
10962 (tramp-compat-number-sequence, tramp-compat-process-running-p)
10963 * net/tramp.el (top, with-progress-reporter)
10964 (tramp-rfn-eshadow-setup-minibuffer)
10965 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
10966 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
10967 (tramp-completion-mode-p, tramp-check-for-regexp)
10968 (tramp-open-connection-setup-interactive-shell)
10969 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
10970 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
10971 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
10972 * net/tramp-cmds.el (tramp-cleanup-all-connections)
10973 (tramp-reporter-dump-variable, tramp-load-report-modules)
10974 (tramp-append-tramp-buffers)
10975 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
10976
10977 * net/tramp-imap.el (top): Autoload `epg-make-context'.
10978
10979 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10980
10981 * progmodes/compile.el (compilation-buffer-modtime): Rename from
10982 buffer-modtime. Adjust users.
10983
10984 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
10985
10986 * international/mule.el (auto-coding-alist): Only purecopy
10987 car of each item, not the whole list (Bug#6083).
10988
10989 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
10990
10991 * progmodes/js.el (js-mode): Make paragraph variables local before
10992 calling c-setup-paragraph-variables (Bug#6071).
10993
10994 2010-05-08 Eli Zaretskii <eliz@gnu.org>
10995
10996 * composite.el (compose-region, reference-point-alist): Fix typos
10997 in the doc strings.
10998
10999 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
11000
11001 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
11002 gnuplot's "set" command.
11003
11004 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11005
11006 * abbrev.el (last-abbrev-text): Doc fix.
11007 (abbrev-prefix-mark): Don't escape parenthesis.
11008
11009 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
11010
11011 * composite.el (find-composition): Doc fix.
11012
11013 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11014
11015 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
11016 (sql-oracle-program, sql-sqlite-options)
11017 (sql-query-placeholders-and-send): Doc fixes.
11018 (sql-set-product, sql-interactive-mode): Reflow docstrings.
11019 (sql-imenu-generic-expression, sql-buffer)
11020 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
11021 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
11022 (sql-mode-sybase-font-lock-keywords)
11023 (sql-mode-informix-font-lock-keywords)
11024 (sql-mode-interbase-font-lock-keywords)
11025 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
11026 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
11027 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
11028 (sql-product-feature, sql-highlight-product)
11029 (comint-line-beginning-position, sql-rename-buffer)
11030 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
11031 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
11032 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
11033 Fix typos in docstrings.
11034
11035 2010-05-08 Juri Linkov <juri@jurta.org>
11036
11037 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
11038 property instead of `invisible' and `after-string' (bug#5998).
11039
11040 2010-05-08 Juri Linkov <juri@jurta.org>
11041
11042 * image-mode.el (image-mode-as-text): Fix typo in docstring.
11043
11044 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11045
11046 * filecache.el (file-cache-add-directory-list)
11047 (file-cache-add-directory-recursively): Fix typos in docstrings.
11048
11049 2010-05-08 Kenichi Handa <handa@m17n.org>
11050
11051 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
11052 (gujarati-composable-pattern): Fix typo.
11053
11054 2010-05-08 Kenichi Handa <handa@m17n.org>
11055
11056 * language/indian.el (oriya-composable-pattern)
11057 (tamil-composable-pattern, malayalam-composable-pattern):
11058 Add two-part vowels to "v" (vowel sign).
11059
11060 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11061
11062 * files.el (copy-directory): Handle symlinks (Bug#5982).
11063
11064 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
11065
11066 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
11067 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
11068 (Bug#5846).
11069
11070 2010-05-08 Glenn Morris <rgm@gnu.org>
11071
11072 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
11073
11074 * minibuffer.el (completion-at-point): Doc fix.
11075
11076 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11077
11078 * electric.el (Electric-command-loop): Minor tweak.
11079
11080 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
11081 better with dedicated windows.
11082
11083 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
11084
11085 * Version 23.2 released.
11086
11087 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
11088 Stefan Monnier <monnier@iro.umontreal.ca>
11089
11090 Highlight vendor specific properties.
11091 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
11092 (css-proprietary-property): New face.
11093 (css-font-lock-keywords): Use them.
11094
11095 2010-05-07 Eli Zaretskii <eliz@gnu.org>
11096
11097 * cus-start.el (all): Add native condition for tool-bar-* symbols.
11098
11099 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11100
11101 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
11102 * files.el (auto-mode-alist): Remove redundant entries.
11103
11104 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
11105 * simple.el (auto-save-mode): Move from files.el.
11106 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
11107
11108 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
11109
11110 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
11111
11112 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
11113
11114 * mail/binhex.el (binhex-decode-region-internal)
11115 * mail/uudecode.el (uudecode-decode-region-internal)
11116 * net/dns.el (dns-read-string-name, dns-write, dns-read)
11117 (dns-read-type, dns-query)
11118 * pgg-parse.el (pgg-parse-armor)
11119 * pgg.el (pgg-verify-region)
11120 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
11121 XEmacs.
11122
11123 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
11124
11125 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
11126
11127 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
11128
11129 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
11130 * emulation/cua-base.el (cua-repeat-replace-region):
11131 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
11132 (cua-cut-region-to-global-mark):
11133 Remove text properties with `set-text-properties'.
11134
11135 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
11136
11137 * net/tramp.el (top, with-progress-reporter):
11138 Use `symbol-function' inside `funcall'.
11139
11140 * net/tramp-compat.el (tramp-compat-file-attributes)
11141 (tramp-compat-delete-file, tramp-compat-delete-directory):
11142 Handle only `wrong-number-of-arguments' error.
11143
11144 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
11145 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
11146 inside `funcall'.
11147
11148 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11149
11150 * minibuffer.el (completion--sreverse, completion--common-suffix):
11151 New functions.
11152 (completion-pcm--merge-completions): Extract common suffix when safe.
11153
11154 * emacs-lisp/easy-mmode.el (define-minor-mode):
11155 Make :variable more flexible.
11156 * files.el (auto-save-mode): Use it to define using define-minor-mode.
11157
11158 2010-05-05 Juri Linkov <juri@jurta.org>
11159
11160 Add `slow' and `history' tags to the desktop data.
11161
11162 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
11163 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
11164 (Info-finder-find-node): Require `finder.el' to be able
11165 to restore node from the desktop.
11166 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
11167 data `Info-history' and `slow' tag in the assoc list.
11168 (Info-restore-desktop-buffer): Don't restore nodes with the
11169 `slow' tag. Restore `Info-history'.
11170
11171 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
11172
11173 Add FORCE argument to `delete-file'.
11174
11175 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
11176 forcing to delete the temporary file.
11177 (ange-ftp-delete-file): Add FORCE arg.
11178 (ange-ftp-rename-remote-to-remote)
11179 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
11180 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
11181 Force file deletion.
11182
11183 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
11184
11185 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
11186 (tramp-handle-make-symbolic-link, tramp-handle-load)
11187 (tramp-do-copy-or-rename-file-via-buffer)
11188 (tramp-do-copy-or-rename-file-directly)
11189 (tramp-do-copy-or-rename-file-out-of-band)
11190 (tramp-handle-process-file, tramp-handle-call-process-region)
11191 (tramp-handle-shell-command, tramp-handle-file-local-copy)
11192 (tramp-handle-insert-file-contents, tramp-handle-write-region)
11193 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
11194
11195 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
11196 (tramp-fish-handle-make-symbolic-link)
11197 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
11198
11199 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
11200 Use `tramp-compat-delete-file'.
11201
11202 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
11203 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
11204
11205 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
11206 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
11207
11208 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
11209 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
11210 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
11211 Use `tramp-compat-delete-file'.
11212
11213 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11214
11215 Minor cleanups.
11216 * subr.el (add-minor-mode): Use push.
11217 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
11218 * emulation/edt.el (edt-select-mode): Simplify.
11219
11220 Use define-minor-mode in more cases.
11221 * term/tvi970.el (tvi970-set-keypad-mode):
11222 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
11223 (normal-erase-is-backspace-mode):
11224 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
11225 (set-scroll-bar-mode-1): (Re)move to its sole caller.
11226 (get-scroll-bar-mode): New function.
11227 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
11228
11229 Use define-minor-mode for less obvious cases.
11230 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
11231 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
11232 * international/iso-ascii.el (iso-ascii-mode):
11233 * frame.el (auto-raise-mode, auto-lower-mode):
11234 * composite.el (global-auto-composition-mode): Use define-minor-mode.
11235
11236 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
11237
11238 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
11239 in order to see error messages for failed logins.
11240
11241 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
11242
11243 * diff.el (diff-sentinel):
11244
11245 * epg.el (epg--make-temp-file, epg-decrypt-string)
11246 (epg-verify-string, epg-sign-string, epg-encrypt-string):
11247
11248 * jka-compr.el (jka-compr-partial-uncompress)
11249 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
11250
11251 * server.el (server-sentinel): Use delete-file's new FORCE arg
11252 (Bug#6070).
11253
11254 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11255
11256 Use define-minor-mode where applicable.
11257 * view.el (view-mode):
11258 * type-break.el (type-break-query-mode)
11259 (type-break-mode-line-message-mode):
11260 * textmodes/reftex.el (reftex-mode):
11261 * term/vt100.el (vt100-wide-mode):
11262 * tar-mode.el (tar-subfile-mode):
11263 * savehist.el (savehist-mode):
11264 * ibuf-ext.el (ibuffer-auto-mode):
11265 * composite.el (auto-composition-mode):
11266 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11267 Use define-minor-mode.
11268 (vhdl-mode): Use static mode-line format.
11269 (vhdl-mode-line-update): Delete.
11270 (vhdl-create-mode-menu, vhdl-activate-customizations)
11271 (vhdl-hs-minor-mode): Don't bother calling it.
11272
11273 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
11274
11275 * simple.el (with-wrapper-hook): Move.
11276 (buffer-substring-filters): Mark obsolete.
11277 (filter-buffer-substring-functions): New variable.
11278 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
11279
11280 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
11281 Michael Albinus <michael.albinus@gmx.de>
11282
11283 Implement compression for inline methods.
11284
11285 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
11286 (tramp-copy-size-limit): Allow also nil.
11287 (tramp-inline-compress-commands): New defconst.
11288 (tramp-find-inline-compress, tramp-get-inline-compress)
11289 (tramp-get-inline-coding): New defuns.
11290 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
11291 replaced by `tramp-get-inline-coding'.
11292 (tramp-handle-file-local-copy, tramp-handle-write-region)
11293 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
11294
11295 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
11296
11297 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
11298 Remove unused functions.
11299
11300 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
11301 Set find-tag-default-function as a variable rather than a property.
11302
11303 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
11304 * progmodes/etags.el (tags-completion-at-point-function):
11305 Remove left over interactive spec. Add autoloading stub.
11306 (complete-tag): Use tags-completion-at-point-function.
11307
11308 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
11309
11310 * minibuffer.el (tags-completion-at-point-function): Fix return value.
11311
11312 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
11313
11314 * ido.el (ido-init-completion-maps): Remove C-v binding.
11315 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
11316
11317 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
11318
11319 * minibuffer.el (tags-completion-at-point-function): New function.
11320 (completion-at-point-functions): Use it.
11321
11322 * progmodes/etags.el (complete-tag): Revert last change.
11323
11324 2010-04-29 Alan Mackenzie <acm@muc.de>
11325
11326 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
11327 off-by-one error (in end of macro position).
11328
11329 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
11330
11331 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
11332 firefox is absent. Don't autoload.
11333 (browse-url-galeon-program): Don't autoload.
11334
11335 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
11336
11337 * bindings.el (complete-symbol): Move into minibuffer.el.
11338
11339 * minibuffer.el (complete-tag): Move from etags.el. If tags
11340 completion cannot be performed, return nil instead of signalling
11341 an error.
11342 (completion-at-point): Make it an alias for complete-symbol.
11343 (complete-symbol): Move from bindings.el, and replace with the
11344 body of completion-at-point.
11345
11346 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
11347
11348 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
11349
11350 * net/tramp.el (tramp-remote-selinux-p): New defun.
11351 (tramp-handle-file-selinux-context)
11352 (tramp-handle-set-file-selinux-context): Use it.
11353
11354 2010-04-28 Sam Steingold <sds@gnu.org>
11355
11356 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
11357 `safe-local-variable' if the value is a string or a symbol with
11358 the property `bug-reference-url-format'.
11359
11360 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
11361
11362 * progmodes/bug-reference.el (bug-reference-url-format):
11363 Revert 2010-04-27 change due to security risk.
11364
11365 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11366
11367 Make it possible to locally disable a globally enabled mode.
11368 * simple.el (fundamental-mode): Run fundamental-mode-hook.
11369 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
11370 rather than kill-all-local-variables so it runs fundamental-mode-hook.
11371 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11372 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
11373 that subsequent hooks get a chance to disable it.
11374
11375 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11376
11377 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11378 Avoid re-enabling a minor mode after the user turned the minor mode
11379 off if MODE-enable-in-buffers is run twice (typically once from
11380 fundamental-mode's after-change-major-mode-hook and a second time from
11381 run-mode-hook's own after-change-major-mode-hook).
11382
11383 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
11384
11385 2010-04-27 Sam Steingold <sds@gnu.org>
11386
11387 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
11388 `safe-local-variable' if the value is a string or a function, as
11389 documented and implemented on 2010-04-02.
11390
11391 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
11392
11393 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
11394 when method is 'kill.
11395
11396 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
11397
11398 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
11399 condition in default directory check.
11400 (ispell-init-process, ispell-kill-ispell, kill-buffer-hook):
11401 Kill ispell process when killing its associated buffer.
11402
11403 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
11404
11405 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
11406 but we aren't using it.
11407
11408 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
11409
11410 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
11411 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
11412
11413 2010-04-24 Glenn Morris <rgm@gnu.org>
11414
11415 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
11416 Ignore VCS-ignore files, and deleted nextstep preferences files.
11417 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
11418 (authors-ambiguous-files): New list.
11419 (authors-valid-file-names): Add some deleted files.
11420 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
11421 (authors-disambiguate-file-name): New function. (Bug#5501)
11422 (authors-canonical-file-name): Doc fix.
11423 Don't warn about obsolete files.
11424 (authors-canonical-file-name, authors-scan-el):
11425 Use authors-disambiguate-file-name.
11426
11427 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
11428 Add autoload cookies.
11429 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
11430 (generated-autoload-file): Set file-local value to "htmlfontify.el".
11431 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
11432 They have definitions / compiler macros in cl.el.
11433 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
11434 Replace manual autoloads with generated ones.
11435 (htmlfontify-unload-rgb-file): Remove autoload.
11436 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
11437
11438 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11439
11440 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
11441 (byte-compile-setq-default): Optimize for the
11442 single-var case and don't call byte-compile-form in this case to avoid
11443 inf-loop with byte-compile-set-default.
11444
11445 * progmodes/compile.el (compilation-start): Abbreviate default directory.
11446
11447 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
11448
11449 Implement SELINUX backends.
11450
11451 * net/tramp.el (tramp-file-name-handler-alist):
11452 Add `file-selinux-context' and `set-file-selinux-context'.
11453 (tramp-handle-file-selinux-context)
11454 (tramp-handle-set-file-selinux-context): New defuns.
11455 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
11456 Handle PRESERVE-SELINUX-CONTEXT.
11457
11458 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11459 Add `file-selinux-context' and `set-file-selinux-context'.
11460 (tramp-gvfs-handle-file-selinux-context)
11461 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
11462 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
11463
11464 * net/ange-ftp.el (ange-ftp-copy-file):
11465 * net/tramp-fish.el (tramp-fish-handle-copy-file):
11466 * net/tramp-imap.el (tramp-imap-handle-copy-file):
11467 * net/tramp-smb.el (tramp-smb-handle-copy-file):
11468 Add PRESERVE-SELINUX-CONTEXT.
11469
11470 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11471
11472 Synchronize with Tramp repository.
11473
11474 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
11475 (tramp-action-process-alive, tramp-action-out-of-band)
11476 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
11477 (tramp-exists-file-name-handler): Fix docstring.
11478 (with-progress-reporter): New defmacro.
11479 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
11480 (tramp-maybe-open-connection): Use it.
11481
11482 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
11483
11484 Detect ssh 'ControlMaster' argument automatically in some cases.
11485
11486 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
11487 (tramp-default-method): Use it.
11488
11489 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11490
11491 * net/tramp.el (tramp-handle-copy-file): Add new optional
11492 parameter `preserve-selinux-context'.
11493 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
11494
11495 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11496
11497 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
11498 Ensure, that non remote files are still checked. Oops.
11499
11500 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
11501
11502 Fix Bug#5840.
11503
11504 * icomplete.el (icomplete-completions): Use `non-essential'.
11505
11506 * net/tramp.el (tramp-connectable-p): New defun.
11507 (tramp-handle-expand-file-name)
11508 (tramp-completion-handle-file-name-all-completions)
11509 (tramp-completion-handle-file-name-completion): Use it.
11510
11511 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
11512
11513 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
11514
11515 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
11516
11517 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
11518
11519 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
11520
11521 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
11522 is present.
11523
11524 * info.el (info-tool-bar-map): Add labels.
11525
11526 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
11527
11528 * cus-edit.el (custom-commands): Add labels for tool bar.
11529 (custom-buffer-create-internal, Custom-mode): Adjust for
11530 labels in custom-commands.
11531
11532 * dynamic-setting.el: Renamed from font-setting.el.
11533
11534 2010-04-21 John Wiegley <jwiegley@gmail.com>
11535
11536 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
11537 toggles the use of virtual buffers.
11538 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
11539 (ido-toggle-virtual-buffers): New function.
11540
11541 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
11542
11543 Use `define-derived-mode'; fix window selection; doc fixes.
11544 * play/tetris.el (tetris, tetris-update-speed-function)
11545 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
11546 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
11547 (tetris-rotate-next, tetris-end-game, tetris-start-game)
11548 (tetris-pause-game): Fix typos in docstrings.
11549 (tetris-mode-map, tetris-null-map):
11550 Move initialization into declaration.
11551 (tetris-mode): Define with `define-derived-mode';
11552 set show-trailing-whitespace to nil.
11553 (tetris): Prefer window already displaying the "*Tetris*" buffer.
11554
11555 2010-04-21 Karel Klíč <kklic@redhat.com>
11556
11557 * files.el (backup-buffer): Handle SELinux context, and return it
11558 if a backup was made by renaming.
11559 (backup-buffer-copy): Set SELinux context to the target file.
11560 (basic-save-buffer): Set SELinux context of the newly written file.
11561 (basic-save-buffer-1): Now it also returns any SELinux context.
11562 (basic-save-buffer-2): Set SELinux context of the newly created file,
11563 and return it.
11564 * net/tramp.el (tramp-file-name-for-operation):
11565 Add file-selinux-context.
11566
11567 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
11568
11569 Make the log-edit comments use RFC822 format throughout.
11570
11571 * vc.el (vc-checkin, vc-modify-change-comment):
11572 Adjust to new vc-start/finish-logentry.
11573 (vc-find-conflicted-file): New command.
11574 (vc-transfer-file): Adjust to new vc-checkin.
11575 (vc-next-action): Improve scoping.
11576
11577 * vc-hg.el (vc-hg-log-edit-mode): Remove.
11578 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
11579
11580 * vc-git.el (vc-git-log-edit-mode): Remove.
11581 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
11582 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
11583
11584 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
11585 (vc-start-logentry): Remove argument `extra'.
11586 (vc-finish-logentry): Remove extra args.
11587
11588 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
11589 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
11590 (vc-bzr-conflicted-files): New function.
11591
11592 * log-edit.el (log-edit-extra-flags)
11593 (log-edit-before-checkin-process): Remove.
11594 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
11595 (log-edit-headers-alist): New var.
11596 (log-edit-header-contents-regexp): New const.
11597 (log-edit-match-to-eoh): New function.
11598 (log-edit-font-lock-keywords): Use them.
11599 (log-edit): Insert a "Summary:" header as default.
11600 (log-edit-mode): Mark font-lock rules as case-insensitive.
11601 (log-edit-done): Cleanup headers.
11602 (log-view-process-buffer): Remove.
11603 (log-edit-extract-headers): New function to replace it.
11604
11605 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
11606
11607 * subr.el (default-direction-reversed): Remove obsolescence info.
11608
11609 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11610
11611 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
11612 windows/frames.
11613
11614 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
11615 I.e. include text after point in the completion region.
11616 Also, return nil when we're not after/in a symbol.
11617
11618 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
11619 default enable-multibyte-characters.
11620
11621 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11622
11623 * international/mule.el: Help the user choose a valid coding-system.
11624 (read-buffer-file-coding-system): New function.
11625 (set-buffer-file-coding-system): Use it. Prompt the user if the
11626 coding-system cannot encode all the chars.
11627
11628 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
11629 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
11630 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
11631 Don't use *vc-bzr-shelve*.
11632
11633 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
11634
11635 Fix the version number for added files.
11636 * vc-hg.el (vc-hg-working-revision): Check if the file is
11637 registered after hg parent fails (Bug#5961).
11638
11639 2010-04-19 Glenn Morris <rgm@gnu.org>
11640
11641 * htmlfontify.el (htmlfontify-buffer)
11642 (htmlfontify-copy-and-link-dir): Autoload entry points.
11643
11644 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
11645
11646 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
11647 name relative to the project root (Bug#5960).
11648
11649 2010-04-19 Glenn Morris <rgm@gnu.org>
11650
11651 * vc-git.el (vc-git-print-log): Doc fix.
11652
11653 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
11654
11655 * ido.el (ido-file-internal): Fix 2009-12-02 change.
11656
11657 2010-04-19 Christoph Scholtes <cschol2112@googlemail.com>
11658
11659 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
11660 default settings (Bug#5928).
11661
11662 2010-04-19 Glenn Morris <rgm@gnu.org>
11663
11664 * progmodes/fortran.el (fortran-match-and-skip-declaration):
11665 New function.
11666 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
11667
11668 2010-04-19 Kenichi Handa <handa@m17n.org>
11669
11670 * language/indian.el (malayalam-composable-pattern): Fix previous
11671 change (add U+0D4D "SIGN VIRAMA").
11672 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
11673 (tamil-composable-pattern): Fix typo in the regexp.
11674 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
11675 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
11676 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
11677
11678 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
11679
11680 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
11681 paragraph-separate (Bug#5821).
11682
11683 2010-04-19 Juri Linkov <juri@jurta.org>
11684
11685 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
11686
11687 * info.el (Info-find-node-2): Comment out code that skips
11688 breadcrumbs line.
11689 (Info-mouse-follow-link): New command.
11690 (Info-link-keymap): New keymap.
11691 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
11692 Return a string with links instead of inserting breadcrumbs
11693 to the Info buffer.
11694 (Info-fontify-node): Comment out code that inserts breadcrumbs.
11695 Instead of putting the `invisible' text property over the Info
11696 header, make an overlay over the Info header with the `invisible'
11697 property and `after-string' set to the string returned by
11698 `Info-breadcrumbs'.
11699
11700 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
11701
11702 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
11703 Reported by monkey@sandpframing.com.
11704
11705 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11706
11707 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
11708 (tmm-get-keymap): Add key-binding shortcuts now that they're not
11709 available in the "keyseq cache" any more.
11710
11711 * custom.el (defcustom): Add edebug spec.
11712
11713 2010-04-18 Juri Linkov <juri@jurta.org>
11714
11715 Test for special mode-class in view-buffer instead of view-file (bug#5513).
11716
11717 * view.el (view-file, view-buffer): Move test for special mode-class
11718 from view-file to view-buffer.
11719
11720 * tar-mode.el (tar-extract): Turn if's into one cond
11721 like in arc-mode.el.
11722
11723 2010-04-18 Juri Linkov <juri@jurta.org>
11724
11725 Add 7z archive format support (bug#5475).
11726
11727 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
11728 (archive-7z-extract): New defcustom.
11729 (archive-find-type): Add magic string for 7z.
11730 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
11731 If `stderr-file' is non-nil, use `(t stderr-file)' for the
11732 `buffer' arg of `call-process'.
11733 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
11734 call the function `archive-7z-extract' with the variable
11735 `archive-7z-extract' let-bound to `archive-zip-extract'.
11736 (archive-7z-summarize, archive-7z-extract): New functions.
11737
11738 * international/mule.el (auto-coding-alist):
11739 * files.el (auto-mode-alist): Add 7z file extension.
11740
11741 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11742
11743 * loadup.el: Setup hash-cons for pure data.
11744
11745 Fix duplicate entries in cedet's loaddefs.el files.
11746 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
11747 Should make most file-local generated-autoload-file unnecessary.
11748 (print-readably): Silence warnings.
11749 (autoload-find-destination): Take load-name as an arg to make sure
11750 it's the same as the one that will be in the file.
11751 (autoload-generate-file-autoloads): Adjust to above changes.
11752 Try to make the dataflow a bit simpler.
11753
11754 * cvs-status.el (cvs-refontify): Remove unused.
11755
11756 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
11757
11758 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
11759
11760 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
11761 twos-complement mode.
11762
11763 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
11764
11765 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
11766 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
11767 (calc-inverse): Add "Option" to message, as appropriate.
11768 (calc-hyperbolic): Add "Option" to message, as appropriate.
11769 (calc-option, calc-is-option): New functions.
11770
11771 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
11772 (calc-option-prefix-help): New function.
11773
11774 * calc/calc-misc.el (calc-help): Add "Option" entry.
11775
11776 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
11777 (calc-option-flag): New variable.
11778 (calc-do): Set `calc-option-flag to nil.
11779 (calc-set-mode-line): Add "Opt " as appropriate.
11780
11781 2010-04-16 Juri Linkov <juri@jurta.org>
11782
11783 Move scrolling commands from simple.el to window.el
11784 because their primitives are implemented in window.c.
11785
11786 * simple.el (scroll-error-top-bottom)
11787 (scroll-up-command, scroll-down-command, scroll-up-line)
11788 (scroll-down-line, scroll-other-window-down)
11789 (beginning-of-buffer-other-window, end-of-buffer-other-window):
11790 * window.el (scroll-error-top-bottom)
11791 (scroll-up-command, scroll-down-command, scroll-up-line)
11792 (scroll-down-line, scroll-other-window-down)
11793 (beginning-of-buffer-other-window, end-of-buffer-other-window):
11794 Move from simple.el to window.el because their primitives are
11795 implemented in window.c.
11796
11797 2010-04-16 Juri Linkov <juri@jurta.org>
11798
11799 * isearch.el (isearch-lookup-scroll-key): Check both
11800 `isearch-scroll' and `scroll-command' properties.
11801 (scroll-up, scroll-down): Remove `isearch-scroll' property.
11802
11803 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
11804
11805 * simple.el (scroll-up-command, scroll-down-command)
11806 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
11807
11808 2010-04-15 Juri Linkov <juri@jurta.org>
11809
11810 * simple.el (scroll-up-command, scroll-down-command)
11811 (scroll-up-line, scroll-down-line): Put `scroll-command'
11812 property on the these symbols. Remove them from
11813 `scroll-preserve-screen-position-commands'.
11814
11815 * mwheel.el (mwheel-scroll): Put `scroll-command' and
11816 `isearch-scroll' properties on the `mwheel-scroll' symbol.
11817 Remove it from `scroll-preserve-screen-position-commands'.
11818
11819 * isearch.el (isearch-allow-scroll): Doc fix.
11820
11821 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
11822
11823 * net/tramp.el (tramp-error-with-buffer): Don't show the
11824 connection buffer when we are in completion mode.
11825 (tramp-file-name-handler): Catch the error for some operations
11826 when we are in completion mode. This gives the user the chance to
11827 correct the file name in the minibuffer.
11828
11829 2010-04-15 Glenn Morris <rgm@gnu.org>
11830
11831 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
11832
11833 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
11834
11835 Simplify by using `define-derived-mode'.
11836 * info.el (Info-mode):
11837 * calendar/todo-mode.el (todo-mode):
11838 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
11839 (gomoku-mode-map): Move initialization into declaration.
11840
11841 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
11842
11843 Fix Bug#5840.
11844 * ido.el (ido-file-name-all-completions-1):
11845 * minibuffer.el (minibuffer-completion-help):
11846 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
11847
11848 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11849
11850 * simple.el (non-essential): New var.
11851
11852 Add a new field `location' to bookmarks for non-file bookmarks.
11853 * bookmark.el (bookmark-location): Use the new field, if present.
11854 (bookmark-insert-location): Undo last change, not needed any more.
11855 * man.el (Man-bookmark-make-record):
11856 * woman.el (woman-bookmark-make-record): Add `location' field.
11857
11858 2010-04-14 Juri Linkov <juri@jurta.org>
11859
11860 * simple.el (scroll-error-top-bottom): New defcustom.
11861 (scroll-up-command, scroll-down-command): Use it. Doc fix.
11862
11863 * emulation/pc-select.el (pc-select-override-scroll-error):
11864 Obsolete in favor of `scroll-error-top-bottom'.
11865
11866 2010-04-14 Juri Linkov <juri@jurta.org>
11867
11868 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
11869 `scroll-up-command' and `M-v' to `scroll-down-command'.
11870
11871 * emulation/cua-rect.el (cua--init-rectangles):
11872 * forms.el (forms--change-commands):
11873 * image-mode.el (image-mode-map):
11874 Remap scroll-down-command and scroll-up-command
11875 in addition to scroll-down and scroll-up.
11876
11877 2010-04-14 Juri Linkov <juri@jurta.org>
11878
11879 * mwheel.el (scroll-preserve-screen-position-commands):
11880 Add mwheel-scroll to this list of commands.
11881
11882 * simple.el (scroll-preserve-screen-position-commands):
11883 Add scroll-up-command, scroll-down-command, scroll-up-line,
11884 scroll-down-line to this list of commands.
11885
11886 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
11887
11888 * obsolete/complete.el: Move from lisp/complete.el.
11889
11890 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
11891
11892 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
11893 to the minor mode function now turns the mode ON unconditionally.
11894
11895 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
11896
11897 * vc-dir.el (vc-dir-kill-line): New command.
11898 (vc-dir-mode-map): Bind it to C-k.
11899
11900 * bookmark.el (bookmark-insert-location): Handle a nil filename.
11901
11902 * woman.el: Add bookmark declarations to silence the compiler.
11903 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
11904 step to compatibility between man and woman bookmarks.
11905 Adjust for Man-default-bookmark-title renaming.
11906 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
11907
11908 * man.el: Add bookmark declarations to silence the compiler.
11909 (Man-name-local-regexp): Make it match NAME as well.
11910 (Man-getpage-in-background): Return the buffer.
11911 (Man-notify-when-ready): Use `case'.
11912 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
11913 Don't hardcode "NAME". Simplify.
11914 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
11915 Rename from Man-bookmark-make-record.
11916 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
11917 we have the actual man-args. Use Man-getpage-in-background rather
11918 than `man' since the arg is already processed. Let bookmark.el do the
11919 window handling. Only wait for the relevant process.
11920 Don't forget to autoload.
11921
11922 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
11923
11924 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11925
11926 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
11927 New functions.
11928 (woman-mode): Setup bookmark support.
11929
11930 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
11931 (man-bookmark-jump): New functions.
11932 (Man-mode): Setup bookmark support.
11933
11934 2010-04-10 Jari Aalto <jari.aalto@cante.net>
11935
11936 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
11937 recognize ssh-keygen prompt (Bug#2817).
11938
11939 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
11940
11941 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
11942
11943 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
11944
11945 Synchronize with Tramp repository.
11946
11947 * net/tramp.el (tramp-completion-function-alist)
11948 (tramp-file-name-regexp, tramp-chunksize)
11949 (tramp-local-coding-commands, tramp-remote-coding-commands):
11950 Fix docstring.
11951 (tramp-remote-process-environment): Use `format' instead of `concat'.
11952 (tramp-handle-directory-files-and-attributes)
11953 (tramp-get-remote-path): Use `copy-tree'.
11954 (tramp-handle-file-name-all-completions): Backward/ XEmacs
11955 compatibility: Use `completion-ignore-case' if
11956 `read-file-name-completion-ignore-case' does not exist.
11957 (tramp-do-copy-or-rename-file-directly): Do not use
11958 `tramp-handle-file-remote-p'.
11959 (tramp-do-copy-or-rename-file-out-of-band):
11960 Use `tramp-compat-delete-directory'.
11961 (tramp-do-copy-or-rename-file-out-of-band)
11962 (tramp-compute-multi-hops, tramp-maybe-open-connection):
11963 Use `format-spec-make'.
11964 (tramp-find-foreign-file-name-handler)
11965 (tramp-advice-make-auto-save-file-name)
11966 (tramp-set-auto-save-file-modes): Remove superfluous check for
11967 `stringp'. This is done inside `tramp-tramp-file-p'.
11968 (tramp-debug-outline-regexp): New defconst.
11969 (tramp-get-debug-buffer): Use it.
11970 (tramp-check-for-regexp): Use (forward-line 1).
11971 (tramp-set-auto-save-file-modes): Adapt version check.
11972
11973 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
11974 Wrap call of `featurep' for 2nd argument.
11975 (tramp-compat-make-temp-file): Simplify fallback implementation.
11976 (tramp-compat-copy-tree): Remove function.
11977 (tramp-compat-delete-directory): Provide implementation for older
11978 Emacsen.
11979
11980 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
11981 Do not use `tramp-fish-handle-file-attributes.
11982
11983 * net/trampver.el: Update release number.
11984
11985 2010-04-10 Glenn Morris <rgm@gnu.org>
11986
11987 * progmodes/compile.el (compilation-save-buffers-predicate):
11988 Add missing :version tag.
11989
11990 2010-04-09 Sam Steingold <sds@gnu.org>
11991
11992 * progmodes/compile.el (compilation-save-buffers-predicate):
11993 Remove the "autoload" cookie.
11994
11995 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
11996 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
11997 and `bug-reference-prog-mode' can be used in hooks directly.
11998
11999 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
12000
12001 Add --author support to git commit.
12002 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
12003 (vc-git-log-edit-mode): New minor mode.
12004 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
12005 New declarations.
12006
12007 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
12008
12009 * vc-hooks.el, vc-git.el: Improve documentation comments.
12010
12011 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12012
12013 Fix some of the problems in defsubst* (bug#5728).
12014 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
12015 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
12016
12017 2010-04-07 Sam Steingold <sds@gnu.org>
12018
12019 * progmodes/compile.el (compilation-save-buffers-predicate):
12020 New custom variable.
12021 (compile, recompile): Pass it to `save-some-buffers'.
12022
12023 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
12024
12025 * wid-edit.el (widget-choose): Move cursor to the second line of
12026 the buffer (Bug#5695).
12027
12028 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
12029
12030 Add new VC methods: vc-log-incoming and vc-log-outgoing.
12031 * vc.el (vc-print-log-setup-buttons): New function split out from
12032 vc-print-log-internal.
12033 (vc-log-internal-common): New function, a parametrized version of
12034 vc-print-log-internal.
12035 (vc-print-log-internal): Just call vc-log-internal-common with the
12036 right arguments.
12037 (vc-incoming-outgoing-internal):
12038 (vc-log-incoming, vc-log-outgoing): New functions.
12039 (vc-log-view-type): New permanent local variable.
12040
12041 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
12042
12043 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
12044 of the dynamic bound vc-short-log.
12045 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
12046
12047 * vc-git.el (vc-git-log-outgoing): New function.
12048 (vc-git-log-view-mode): Use vc-log-view-type instead
12049 of the dynamic bound vc-short-log.
12050
12051 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
12052 of the dynamic bound vc-short-log. Highlight the tag.
12053 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
12054 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
12055 (vc-hg-incoming-mode): Remove.
12056 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
12057
12058 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
12059
12060 Fix default-directory for vc-root-diff.
12061 * vc.el (vc-root-diff): Bind default-directory to the root
12062 directory for the diff command.
12063
12064 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
12065
12066 * progmodes/verilog-mode.el (verilog-forward-sexp):
12067 (verilog-calc-1): Support "disable fork" and "fork wait" multi
12068 word keywords, suggested by Steve Pearlmutter.
12069 (verilog-pretty-declarations): Support lineup of declarations in
12070 port lists.
12071 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
12072 fix bug for /* / comments.
12073 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
12074 Speed up and simplfy as this is never called with a bound.
12075 (verilog-pretty-declarations): Enhance to line up declarations
12076 inside a parameter list, suggested by Alan Morgan.
12077 (verilog-pretty-expr): Tune assignment regular expression match
12078 string for corner cases; also use markers instead of character
12079 number as indent changes the later.
12080
12081 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
12082
12083 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
12084 as missing keyword.
12085 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
12086 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
12087 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
12088 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
12089 Tennant.
12090 (verilog-keywords):
12091 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
12092 1800-2009 keywords, including "global.".
12093
12094 2010-04-06 John Wiegley <jwiegley@gmail.com>
12095
12096 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
12097 appearing in buffer list (if a live buffer name matched a recentf
12098 file basename). Should use uniquify to offer a real solution.
12099
12100 2010-04-06 John Wiegley <jwiegley@gmail.com>
12101
12102 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
12103 comment to code, and add a :version tag.
12104 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
12105
12106 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
12107
12108 Enable recentf-mode if using virtual buffers.
12109 * ido.el (recentf-list): Declare for byte-compiler.
12110 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
12111 (ido-make-buffer-list): Simplify.
12112 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
12113
12114 2010-04-05 Juri Linkov <juri@jurta.org>
12115
12116 Scrolling commands which scroll a line instead of full screen.
12117 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
12118
12119 * simple.el (scroll-up-line, scroll-down-line): New commands.
12120 Put property isearch-scroll=t on them.
12121
12122 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
12123 Remove commands.
12124
12125 2010-04-05 Juri Linkov <juri@jurta.org>
12126
12127 Scrolling commands which do not signal errors at top/bottom.
12128 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
12129
12130 * simple.el (scroll-up-command, scroll-down-command): New commands.
12131 Put property isearch-scroll=t on them.
12132
12133 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
12134 `scroll-down-command' and [next] from `scroll-up' to
12135 `scroll-up-command'.
12136
12137 * emulation/cua-base.el: Put property CUA=move on
12138 `scroll-up-command' and `scroll-down-command'.
12139 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
12140 and `scroll-down-command' to `cua-scroll-down'.
12141
12142 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
12143
12144 * help.el (describe-mode): Return nil.
12145
12146 2010-04-04 John Wiegley <jwiegley@gmail.com>
12147
12148 * ido.el (ido-use-virtual-buffers): New variable to indicate
12149 whether "virtual buffer" support is enabled for IDO.
12150 (ido-virtual): Face used to indicate virtual buffers in the list.
12151 (ido-buffer-internal): If a buffer is chosen, and no such buffer
12152 exists, but a virtual buffer of that name does (which would be why
12153 it was in the list), recreate the buffer by reopening the file.
12154 (ido-make-buffer-list): If virtual buffers are being used, call
12155 `ido-add-virtual-buffers-to-list' before the make list hook.
12156 (ido-virtual-buffers): New variable which contains a copy of the
12157 current contents of the `recentf-list', albeit pared down for the
12158 sake of speed, and with proper faces applied.
12159 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
12160 create a list of "virtual buffers" to present to the user in
12161 addition to the currently open set. Note that this logic could
12162 get rather slow if that list is too large. With the default
12163 `recentf-max-saved-items' of 200, there is little speed penalty.
12164
12165 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
12166
12167 * font-lock.el: Require CL when compiling.
12168 (font-lock-turn-on-thing-lock): Use `case'.
12169
12170 2010-04-03 Eli Zaretskii <eliz@gnu.org>
12171
12172 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
12173 Zaretskii.
12174
12175 2010-04-02 Juri Linkov <juri@jurta.org>
12176
12177 * ehelp.el (electric-help-orig-major-mode):
12178 New buffer-local variable.
12179 (electric-help-mode): Set it to original major-mode. Doc fix.
12180 (with-electric-help): Use `electric-help-orig-major-mode' instead
12181 of (default-value 'major-mode). Doc fix.
12182 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
12183
12184 2010-04-02 Sam Steingold <sds@gnu.org>
12185
12186 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
12187 `vc-hg-command' with a list of flags.
12188
12189 * progmodes/bug-reference.el (bug-reference-bug-regexp):
12190 Also accept "patch" and "RFE".
12191 (bug-reference-fontify): `bug-reference-url-format' can also be a
12192 function to be able to handle the bug kind.
12193 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
12194
12195 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
12196
12197 * tmm.el (tmm-get-keymap): Check with symbolp before passing
12198 value to fboundp, it may not be a symbol.
12199
12200 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12201
12202 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
12203
12204 2010-03-31 Juri Linkov <juri@jurta.org>
12205
12206 * simple.el (next-line, previous-line): Re-throw a signal
12207 with `signal' instead of using `ding'.
12208 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
12209
12210 2010-03-31 Juri Linkov <juri@jurta.org>
12211
12212 * simple.el (keyboard-escape-quit): Raise deselecting the active
12213 region higher than exiting the minibuffer.
12214 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
12215
12216 2010-03-31 Juri Linkov <juri@jurta.org>
12217
12218 * image.el (image-animated-p): Use `image-metadata' instead of
12219 `image-extension-data'. Get GIF extenstion data from metadata
12220 property `extension-data'.
12221
12222 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12223
12224 * simple.el (append-to-buffer): Simplify.
12225
12226 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
12227
12228 * textmodes/artist.el (artist-mode): Fix typo in docstring.
12229 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
12230
12231 2010-03-31 Kenichi Handa <handa@m17n.org>
12232
12233 * language/sinhala.el (composition-function-table): Fix regexp for
12234 the new Unicode specification.
12235
12236 * language/indian.el (devanagari-composable-pattern)
12237 (tamil-composable-pattern, kannada-composable-pattern)
12238 (malayalam-composable-pattern): Adjust for the new Unicode
12239 specification.
12240 (bengali-composable-pattern, gurmukhi-composable-pattern)
12241 (gujarati-composable-pattern, oriya-composable-pattern)
12242 (telugu-composable-pattern): New variables to cope with the new
12243 Unicode specification. Use them in composition-function-table.
12244
12245 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12246
12247 Make tmm-menubar work for the Buffers menu again (bug#5726).
12248 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
12249 vectors rather than cons cells, as used in menu-bar-update-buffers.
12250
12251 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12252
12253 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
12254 (js-insert-and-indent): Revert 2009-08-15 change, restoring
12255 electric punctuation for "{}();,:" (Bug#5586).
12256
12257 * mail/sendmail.el (mail-default-directory): Doc fix.
12258
12259 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12260
12261 * mail/sendmail.el (mail-default-directory): Doc fix.
12262
12263 2010-03-31 Eli Zaretskii <eliz@gnu.org>
12264
12265 * subr.el (version-regexp-alist, version-to-list)
12266 (version-list-<, version-list-=, version-list-<=)
12267 (version-list-not-zero, version<, version<=, version=): Doc fix.
12268 (Bug#5744).
12269
12270 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
12271
12272 * vc.el (vc-root-diff): Doc fix.
12273
12274 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12275
12276 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
12277
12278 * simple.el (append-to-buffer): Fix last change.
12279
12280 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12281
12282 * simple.el (append-to-buffer): Ensure that point is preserved if
12283 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
12284 (Bug#5749)
12285
12286 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12287
12288 * files.el (auto-mode-case-fold): Change default to t.
12289
12290 2010-03-30 Juri Linkov <juri@jurta.org>
12291
12292 * dired-x.el (dired-omit-mode): Doc fix.
12293
12294 2010-03-30 Juri Linkov <juri@jurta.org>
12295
12296 * replace.el (occur-accumulate-lines): Move occur-engine related
12297 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
12298 to be located after `occur-engine'.
12299
12300 2010-03-30 Juri Linkov <juri@jurta.org>
12301
12302 Make occur handle multi-line matches cleanly with context.
12303 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
12304
12305 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
12306 (occur-engine): Add local variables `ret', `prev-after-lines',
12307 `prev-lines'. Use more arguments for `occur-context-lines'.
12308 Set first elem of its returned list to `data', and the second elem
12309 to `prev-after-lines'. Don't print the separator line.
12310 In the end, print remaining context after-lines.
12311 (occur-context-lines): Add new arguments `begpt', `endpt',
12312 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
12313 after-lines of the previous match with before-lines of the
12314 current match and not overlap them. Return a list with two
12315 values: the output line and the list of context after-lines.
12316
12317 2010-03-30 Juri Linkov <juri@jurta.org>
12318
12319 * replace.el (occur-accumulate-lines): Fix a bug where the first
12320 context line at the beginning of the buffer was missing.
12321
12322 2010-03-30 Eli Zaretskii <eliz@gnu.org>
12323
12324 * files.el: Make bidi-display-reordering safe variable for boolean
12325 values.
12326
12327 2010-03-29 Phil Hagelberg <phil@evri.com>
12328 Chong Yidong <cyd@stupidchicken.com>
12329
12330 * subr.el: Extend progress reporters to perform "spinning".
12331 (progress-reporter-update, progress-reporter-do-update):
12332 Handle non-numeric value arguments.
12333 (progress-reporter--pulse-characters): New var.
12334
12335 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
12336
12337 * progmodes/compile.el (compilation-start): Fix regexp detection
12338 of initial cd command (Bug#5771).
12339
12340 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
12341
12342 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
12343
12344 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
12345
12346 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
12347 * progmodes/gdb-mi.el: Restore.
12348 * progmodes/gdb-ui.el: Remove.
12349 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
12350
12351 2010-03-25 Glenn Morris <rgm@gnu.org>
12352
12353 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
12354 all dired buffers, even tramp ones. (Bug#5755)
12355
12356 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12357
12358 Add "union tags" in mpc.el.
12359 * mpc.el: Remove backward compatibility code.
12360 (mpc-browser-tags): Change default.
12361 (mpc--find-memoize-union-tags): New var.
12362 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
12363 (mpc-cmd-find): Handle the case where the playlist does not exist.
12364 Handle union-tags.
12365 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
12366 (mpc-cmd-add): Use mpc-cmd-flush.
12367 (mpc-tagbrowser-tag-name): New fun.
12368 (mpc-tagbrowser-buf): Use it.
12369 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
12370
12371 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12372
12373 Misc cleanup.
12374 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
12375 Use replace-regexp-in-string.
12376 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
12377 (makefile-imake-mode-syntax-table): Move init into defvar.
12378 (makefile-mode): Use define-derived-mode.
12379
12380 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
12381 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
12382 not be present any more.
12383
12384 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12385
12386 * faces.el (set-face-attribute): Fix typo in docstring.
12387 (face-valid-attribute-values): Reflow docstring.
12388
12389 2010-03-24 Glenn Morris <rgm@gnu.org>
12390
12391 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
12392
12393 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
12394
12395 * indent.el (indent-for-tab-command): Doc fix.
12396
12397 2010-03-24 Alan Mackenzie <acm@muc.de>
12398
12399 * progmodes/cc-engine.el (c-remove-stale-state-cache):
12400 Fix off-by-one error. Fixes bug #5747.
12401
12402 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12403
12404 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
12405 (image-dired-read-comment): Doc fix.
12406
12407 * json.el (json-object-type, json-array-type, json-key-type)
12408 (json-false, json-null, json-read-number):
12409 * minibuffer.el (completion-in-region-functions):
12410 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
12411 (cal-tex-cursor-week):
12412 * emacs-lisp/trace.el (trace-function):
12413 * eshell/em-basic.el (eshell/printnl):
12414 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
12415 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
12416 * obsolete/levents.el (allocate-event, event-key, event-object)
12417 (event-point, event-process, event-timestamp, event-to-character)
12418 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
12419 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
12420 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
12421 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
12422 (reftex-highlight-selection): Fix typos in docstrings.
12423
12424 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12425
12426 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
12427
12428 2010-03-24 Glenn Morris <rgm@gnu.org>
12429
12430 * mail/rmail.el (rmail-highlight-face): Restore option deleted
12431 2008-02-13 without comment; mark it obsolete.
12432 (rmail-highlight-headers): Use rmail-highlight-face once more.
12433
12434 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
12435
12436 * woman.el (woman2-process-escapes): Only consume the newline if
12437 the filler character is on a line by itself (Bug#5729).
12438
12439 2010-03-24 Kenichi Handa <handa@m17n.org>
12440
12441 * language/indian.el (devanagari-composable-pattern): Add more
12442 consonants.
12443
12444 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
12445
12446 * net/trampver.el: Update release number.
12447
12448 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
12449
12450 * net/tramp.el (tramp-find-executable):
12451 Use `tramp-get-connection-buffer'. Make the regexp for checking
12452 output of "wc -l" more robust.
12453 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
12454 (tramp-open-connection-setup-interactive-shell): Remove workaround
12455 for OpenSolaris bug, it is not needed anymore.
12456
12457 2010-03-24 Glenn Morris <rgm@gnu.org>
12458
12459 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
12460
12461 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
12462
12463 * files.el (auto-mode-alist): Accept more verilog file patterns.
12464
12465 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12466
12467 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
12468
12469 2010-03-24 Glenn Morris <rgm@gnu.org>
12470
12471 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
12472 log-edit-before-checkin-process.
12473
12474 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
12475
12476 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
12477
12478 * vc-dispatcher.el (vc-start-logentry): Doc fix.
12479 (log-view-process-buffer, log-edit-extra-flags): Declare.
12480
12481 * log-edit.el (log-edit-before-checkin-process): Doc fix.
12482
12483 2010-03-23 Sam Steingold <sds@gnu.org>
12484
12485 Fix bug#5620: recalculate all markers on compilation buffer
12486 modifications, not on file modifications.
12487 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
12488 variable: the buffer modification time, for buffers not associated with
12489 files.
12490 (compilation-mode): Create it.
12491 (compilation-filter): Update it.
12492 (compilation-next-error-function): Use it instead of
12493 `visited-file-modtime' for timestamp.
12494
12495 2010-03-23 Juri Linkov <juri@jurta.org>
12496
12497 Implement Occur multi-line matches.
12498 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
12499
12500 * replace.el (occur): Doc fix.
12501 (occur-engine): Set `begpt' to the beginning of the first line.
12502 Set `endpt' to the end of the last match line. At first, count
12503 line numbers between `origpt' and `begpt'. Split out code from
12504 `out-line' variable to new let-bindings `match-prefix' and
12505 `match-str'. In `out-line' add non-numeric prefix to all
12506 non-first lines of multi-line matches. Finally, count lines
12507 between `begpt' and `endpt' and add to `lines'.
12508
12509 2010-03-23 Juri Linkov <juri@jurta.org>
12510
12511 * replace.el (occur-accumulate-lines, occur-engine):
12512 Use `occur-engine-line' instead of duplicate code.
12513 (occur-engine-line): New function created from duplicate code
12514 in `occur-accumulate-lines' and `occur-engine'.
12515
12516 * replace.el (occur-engine-line): Add optional arg `keep-props'.
12517 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
12518
12519 2010-03-23 Juri Linkov <juri@jurta.org>
12520
12521 * finder.el: Remove TODO tasks.
12522
12523 * info.el (Info-finder-find-node): Add node "all"
12524 with all package info. Handle a list of multiple keywords
12525 separated by comma.
12526 (info-finder): In interactive use with a prefix argument,
12527 use `completing-read-multiple' to read a list of keywords
12528 separated by comma.
12529
12530 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
12531
12532 Add a new completion style `substring'.
12533 * minibuffer.el (completion-basic--pattern): New function.
12534 (completion-basic-try-completion, completion-basic-all-completions):
12535 Use it.
12536 (completion-substring--all-completions)
12537 (completion-substring-try-completion)
12538 (completion-substring-all-completions): New functions.
12539 (completion-styles-alist): New style `substring'.
12540
12541 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
12542
12543 Get rid of .elc files after removal of the corresponding .el.
12544 * Makefile.in (compile-clean): New target.
12545 (compile-main): Use it.
12546
12547 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
12548
12549 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
12550 don't do make there. When compiling with separate object dir, there
12551 is no Makefile there.
12552
12553 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
12554
12555 Get rid of the ELCFILES abomination, again.
12556 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
12557 (all, compile): Don't call compile-last.
12558 (compile-main): Build the "elcfiles" list dynamically.
12559 (compile-targets): New (internal) target.
12560
12561 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
12562
12563 * Makefile.in (top_srcdir): Define.
12564 (abs_top_builddir): Define.
12565 (srcdir): Don't append `/..'.
12566 (EMACS): Use ${abs_top_builddir}.
12567 (all, compile, compile-always, compile-last): Don't set emacswd.
12568 (update-subdirs, update-authors): Use $(top_srcdir) instead of
12569 $(srcdir).
12570 (lisp): Use $(srcdir) instead of @srcdir@.
12571
12572 2010-03-21 Juri Linkov <juri@jurta.org>
12573
12574 Fix message of multi-line occur regexps and multi-buffer header lines.
12575 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
12576
12577 * replace.el (occur-1): Don't display regexp if it is longer
12578 than window-width. Use `query-replace-descr' to display regexp.
12579 (occur-engine): Don't display regexp in the buffer header for
12580 multi-buffer occur. Display a separate header line with total
12581 match count and regexp for multi-buffer occur.
12582 Use `query-replace-descr' to display regexp.
12583
12584 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
12585
12586 * net/secrets.el: Fix parenthesis.
12587 (secrets-enabled): Fix parenthesis.
12588
12589 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12590
12591 Use more relative file and directory names.
12592 * Makefile.in (EMACS): Arrange for it to work when we chdir.
12593 (setwins, setwins_almost, setwins_for_subdirs):
12594 Don't `cd'; output relative names.
12595 (all, compile, compile-always, compile-last): Set emacswd.
12596 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
12597 Just cd to the lisp source dir so we can use relative file names.
12598
12599 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
12600
12601 2010-03-20 Glenn Morris <rgm@gnu.org>
12602
12603 * textmodes/rst.el: Use faces for font-lock customization, and make the
12604 old -face variables obsolete.
12605 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
12606 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
12607 (rst-block-face, rst-external-face, rst-definition-face)
12608 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
12609 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
12610 Make obsolete.
12611 (rst-font-lock-keywords-function): Update for above changes.
12612
12613 2010-03-20 Juri Linkov <juri@jurta.org>
12614
12615 * s-region.el:
12616 * obsolete/s-region.el: Move to obsolete.
12617
12618 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
12619
12620 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
12621
12622 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
12623
12624 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
12625
12626 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
12627
12628 Add special markup processing for commit logs.
12629 * log-edit.el (log-edit-extra-flags): New variable.
12630 (log-edit): Add new argument MODE. Use that mode when non-nil
12631 instead of the log-view-mode.
12632 (log-view-process-buffer): New function.
12633
12634 * vc.el: Document that the checkin method takes optional
12635 arguments. Document new backend specific method: log-view-mode.
12636 (vc-default-log-edit-mode): New function.
12637 (vc-checkin): Use a backend specific log-view-mode.
12638 Pass extra arguments to the checkin method.
12639 (vc-modify-change-comment): Pass a dummy extra argument.
12640
12641 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
12642 log-edit.
12643 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
12644 (vc-finish-logentry): Process the log buffer before passing it
12645 down. Pass log-edit-extra-flags.
12646
12647 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
12648 command.
12649 (log-edit-extra-flags, log-edit-before-checkin-process):
12650 New declarations.
12651
12652 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
12653 command.
12654 (log-edit-extra-flags, log-edit-before-checkin-process):
12655 New declarations.
12656 (vc-hg-log-edit-mode): New derived mode.
12657
12658 * vc-arch.el (vc-arch-checkin):
12659 * vc-cvs.el (vc-cvs-checkin):
12660 * vc-git.el (vc-git-checkin):
12661 * vc-mtn.el (vc-mtn-checkin):
12662 * vc-rcs.el (vc-rcs-checkin):
12663 * vc-sccs.el (vc-sccs-checkin):
12664 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
12665
12666 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12667
12668 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
12669 parent typo).
12670
12671 2010-03-19 Glenn Morris <rgm@gnu.org>
12672
12673 * password-cache.el (password-cache, password-cache-expiry): Autoload.
12674
12675 2010-03-18 Glenn Morris <rgm@gnu.org>
12676
12677 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
12678
12679 * replace.el (query-replace-history): Give it a doc string.
12680 (map-query-replace-regexp): Use query-replace-from-history-variable
12681 and query-replace-to-history-variable.
12682
12683 * mail/hashcash.el (declare-function): Remove duplicate definition.
12684
12685 * mail/emacsbug.el (report-emacs-bug-pretest-address):
12686 Make it an obsolete alias for report-emacs-bug-address.
12687 (message-strip-special-text-properties): Declare.
12688 (report-emacs-bug): Remove test for a pretest bug address.
12689 Combine message-mode-specific code.
12690
12691 * mail/supercite.el: Don't require sendmail.
12692 (mh-in-header-p): Declare rather than using with-no-warnings.
12693 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
12694 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
12695
12696 * calendar/cal-french.el: Convert to utf-8.
12697
12698 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
12699 Emacs scripts.
12700
12701 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
12702
12703 * net/secrets.el (secrets-enabled): New variable. Use it instead
12704 of a subfeature.
12705
12706 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
12707
12708 * net/secrets.el (top): Register the D-Bus signals only when the
12709 service "org.freedesktop.secrets" can be pinged.
12710 Provide subfeature `enabled'.
12711
12712 2010-03-14 Juri Linkov <juri@jurta.org>
12713
12714 Add finder unknown keywords.
12715
12716 * finder.el (finder-unknown-keywords): New function.
12717
12718 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
12719 to create a Finder node with unknown keywords.
12720
12721 2010-03-14 Juri Linkov <juri@jurta.org>
12722
12723 * finder.el (finder-compile-keywords): Replace `princ' with
12724 `prin1' on a list of symbols interned from keyword strings.
12725
12726 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
12727 a comma, then split keywords using a comma and optional whitespace.
12728 Otherwise, split by whitespace.
12729
12730 * complete.el:
12731 * face-remap.el:
12732 * log-view.el:
12733 * net/hmac-def.el:
12734 * net/hmac-md5.el:
12735 * net/netrc.el:
12736 * progmodes/mixal-mode.el: Fix keywords.
12737
12738 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
12739
12740 * Makefile.in (ELCFILES): Add net/secrets.elc.
12741
12742 * net/secrets.el: New file.
12743
12744 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
12745
12746 * facemenu.el (list-colors-display, list-colors-print): New arg
12747 callback. Use it to allow selecting colors.
12748
12749 * wid-edit.el (widget-image-insert): Insert image prop even if the
12750 current display is non-graphic.
12751 (widget-field-value-set): New fun.
12752 (editable-field): Use it.
12753 (widget-field-value-get): Clean up unused var.
12754 (widget-color-value-create, widget-color--choose-action):
12755 New funs. Allow using list-colors-display to choose color.
12756
12757 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
12758
12759 * cus-edit.el: Resort topmost custom groups.
12760 (custom-buffer-sort-alphabetically): Default to t.
12761 (customize-apropos): Use apropos-parse-pattern.
12762 (custom-search-field): New var.
12763 (custom-buffer-create-internal): Add custom-apropos search field.
12764 (custom-add-parent-links): Don't display parent doc.
12765 (custom-group-value-create): Don't sort top-level custom group.
12766 (custom-magic-value-create): Show visibility button before option name.
12767
12768 (custom-variable-state): New fun, from custom-variable-state-set.
12769 (custom-variable-state-set): Use it.
12770 (custom-group-value-create): Hide options with standard values
12771 using the :hidden-states property. Use progress reporter.
12772
12773 (custom-show): Simplify.
12774 (custom-visibility): Disable images by default.
12775 (custom-variable): New property :hidden-states.
12776 (custom-variable-value-create): Enable images for
12777 custom-visibility widgets. Use :hidden-states property to
12778 determine initial visibility.
12779
12780 * wid-edit.el (widget-image-find): Give images center ascent.
12781 (visibility): Add :on-image and :off-image properties.
12782 (widget-visibility-value-create): Use them.
12783
12784 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
12785
12786 * cus-edit.el (processes): Remove from development group.
12787 (oop, hypermedia): Delete group.
12788 (comm): Promote to top-level group.
12789
12790 * net/browse-url.el (browse-url):
12791 * net/xesam.el (xesam):
12792 * net/tramp.el (tramp):
12793 * net/goto-addr.el (goto-address):
12794 * net/ange-ftp.el (ange-ftp): Put in comm group.
12795
12796 * view.el (view): Remove from editing group.
12797
12798 * uniquify.el (uniquify): Put in files group.
12799
12800 * net/browse-url.el (browse-url):
12801 * ps-print.el (postscript): Put in external group.
12802
12803 * cus-edit.el (outlines):
12804 * textmodes/text-mode.el (text-mode-hook):
12805 * textmodes/table.el (table):
12806 * textmodes/picture.el (picture):
12807 * outline.el (outlines): Put in wp group.
12808
12809 * nxml/nxml-mode.el (nxml): Remove from wp group.
12810
12811 * net/tramp-imap.el (tramp-imap): Put in tramp group.
12812
12813 * mail/metamail.el (metamail): Remove from hypermedia group.
12814
12815 * cus-edit.el (abbrev):
12816 * whitespace.el (whitespace):
12817 * vcursor.el (vcursor):
12818 * reveal.el (reveal):
12819 * hl-line.el (hl-line): Put in convenience group.
12820
12821 * epg-config.el (epg): Put in data group.
12822
12823 * emulation/pc-select.el (pc-select): Put in emulations group.
12824
12825 * calculator.el (calculator): Put in applications group.
12826
12827 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
12828
12829 Add .dir-locals.el support for file-less buffers.
12830 * files.el (hack-local-variables): Split out code to apply local
12831 variable settings ...
12832 (hack-local-variables-apply): ... here. New function.
12833 (hack-dir-local-variables): Use the default directory for when the
12834 buffer does not have an associated file.
12835 (hack-dir-local-variables-non-file-buffer): New function.
12836 * diff-mode.el (diff-mode):
12837 * vc-annotate.el (vc-annotate-mode):
12838 * vc-dir.el (vc-dir-mode):
12839 * log-edit.el (log-edit-mode):
12840 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
12841
12842 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
12843
12844 Add support for shelving snapshots and for showing shelves.
12845 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
12846 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
12847 New functions.
12848 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
12849 (vc-bzr-extra-menu-map): Map them.
12850
12851 2010-03-11 Glenn Morris <rgm@gnu.org>
12852
12853 * cus-edit.el (customize-changed-options-previous-release):
12854 Bump to 23.1.
12855
12856 * image.el (image-animate-max-time): Fix :version tag.
12857
12858 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
12859
12860 * Branch for 23.2.
12861
12862 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
12863
12864 * vc-git.el (vc-git-revision-table): Include remote branches.
12865
12866 2010-03-10 Kim F. Storm <storm@cua.dk>
12867
12868 Animated image API.
12869 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
12870
12871 * image.el (image-animate-max-time): New defcustom.
12872 (image-animated-types): New defconst.
12873 (create-animated-image, image-animate-timer)
12874 (image-animate-start, image-animate-stop, image-animate-timeout)
12875 (image-animated-p): New functions.
12876
12877 * image-mode.el (image-toggle-display-image):
12878 Replace `create-image' with `create-animated-image'.
12879
12880 2010-03-09 Miles Bader <miles@gnu.org>
12881
12882 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
12883 instead of "format:"; this ensures that the output is
12884 newline-terminated.
12885
12886 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
12887
12888 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
12889 that all errors are caught, and that the return value is always a
12890 list (Bug#5692).
12891
12892 2010-03-08 Kenichi Handa <handa@m17n.org>
12893
12894 * language/misc-lang.el (windows-1256): New coding system.
12895 (cp1256): New alias of windows-1256 (bug#5690).
12896
12897 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
12898
12899 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
12900 call to rfc822-bad-address. (Bug#5692)
12901
12902 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
12903
12904 * vc-git.el (vc-git-annotate-extract-revision-at-line):
12905 Use vc-git-root as default directory for revision path (Bug#5657).
12906
12907 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
12908
12909 * calculator.el (calculator): Don't bind split-window-keep-point
12910 (Bug#5674).
12911
12912 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
12913
12914 * vc-git.el: Re-flow to fit into 80 columns.
12915 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
12916 Remove spurious `quote' element in each case alternative.
12917 (vc-git-show-log-entry): Use prog1.
12918 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
12919
12920 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
12921
12922 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
12923
12924 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
12925
12926 * macros.el (insert-kbd-macro): Look up keyboard macro using the
12927 definition, not the name (Bug#5481).
12928
12929 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
12930
12931 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
12932 argument with a local variable. (Bug#5670)
12933
12934 2010-03-02 Juri Linkov <juri@jurta.org>
12935
12936 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
12937
12938 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
12939
12940 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
12941 error when FILENAME and NEWNAME are existing remote directories.
12942
12943 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
12944 parameter DIR-FLAG.
12945
12946 2010-03-02 Glenn Morris <rgm@gnu.org>
12947
12948 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
12949 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
12950
12951 2010-03-01 Kenichi Handa <handa@m17n.org>
12952
12953 * language/burmese.el (burmese-composable-pattern): Rename from
12954 myanmar-composable-pattern.
12955
12956 * international/characters.el (script-list):
12957 * international/fontset.el (script-representative-chars):
12958 Change myanmar to burmese.
12959 (otf-script-alist): Likewise.
12960 (setup-default-fontset): Likewise. Re-fix :otf spec.
12961
12962 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
12963
12964 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
12965
12966 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
12967
12968 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
12969
12970 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
12971
12972 * net/tramp.el (tramp-handle-write-region): START can be a string.
12973 Take care in the checks. Reported by Dan Davison
12974 <davison@stats.ox.ac.uk>.
12975
12976 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
12977
12978 * net/dbus.el (dbus-introspect, dbus-get-property)
12979 (dbus-set-property, dbus-get-all-properties):
12980 Use `dbus-call-method' when noninteractive. (Bug#5645)
12981
12982 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
12983
12984 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
12985 * emacs-lisp/elint.el (elint-add-required-env):
12986 * calendar/icalendar.el (icalendar--add-diary-entry):
12987 * calc/calcalg2.el (math-tracing-integral):
12988 * files.el (recover-session-finish): Use with-current-buffer
12989 instead of save-excursion.
12990
12991 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
12992
12993 Fix in-buffer completion when after-change-functions modify the buffer.
12994 * minibuffer.el (completion--replace): New function.
12995 (completion--do-completion): Use it and use relative movement.
12996
12997 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
12998
12999 * international/fontset.el (setup-default-fontset): Fix :otf spec.
13000
13001 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
13002
13003 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
13004 Allow the characters _<> in the stack entry (Bug#5653).
13005
13006 2010-02-26 Kenichi Handa <handa@m17n.org>
13007
13008 * language/burmese.el: Fix entries in composition-function-table.
13009 (myanmar-composable-pattern): New variable.
13010
13011 * international/fontset.el (setup-default-fontset): Add an entry
13012 for myanmar.
13013
13014 * international/characters.el (script-list): Add Myanmar
13015 Extended-A.
13016
13017 2010-02-26 Glenn Morris <rgm@gnu.org>
13018
13019 * custom.el (custom-initialize-delay): Doc fix.
13020
13021 * mail/sendmail.el (send-mail-function): Autoload the call
13022 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
13023
13024 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
13025
13026 * files.el (hack-local-variables-filter): For eval forms, also
13027 check safe-local-variable-p (Bug#5636).
13028
13029 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
13030
13031 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
13032 setting the modes by `ignore-errors'. It might fail, for example
13033 if the file is not owned by the user but the group.
13034 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
13035
13036 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
13037
13038 * files.el (directory-listing-before-filename-regexp):
13039 Use stricter matching for iso-style dates, to avoid false matches with
13040 date-like filenames (Bug#5597).
13041
13042 * htmlfontify.el (htmlfontify): Doc fix.
13043
13044 * eshell/eshell.el (eshell): Doc fix.
13045
13046 * startup.el (fancy-about-screen): In mode-line, apply
13047 mode-line-buffer-id face only to the buffer name (Bug#5613).
13048
13049 2010-02-20 Kevin Ryde <user42@zip.com.au>
13050
13051 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13052 In `watcom' anchor regexp to start of line, to avoid slowness
13053 (Bug#5599).
13054
13055 2010-02-20 Eli Zaretskii <eliz@gnu.org>
13056
13057 * subr.el (remove-yank-excluded-properties): Explain in a comment
13058 why `category' property is removed.
13059
13060 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
13061
13062 * isearch.el (isearch-update-post-hook, isearch-update):
13063 Revert 2010-02-17 change.
13064
13065 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
13066
13067 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
13068 (icalendar--convert-weekly-to-ical)
13069 (icalendar--convert-yearly-to-ical)
13070 (icalendar--convert-block-to-ical)
13071 (icalendar--convert-cyclic-to-ical)
13072 (icalendar--convert-anniversary-to-ical): Take care of time
13073 specifications where hour has 1-digit only (Bug#5549).
13074
13075 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
13076
13077 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
13078 of disassemble output in GDB 7.1.
13079
13080 2010-02-19 Glenn Morris <rgm@gnu.org>
13081
13082 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
13083 property. (Bug#5593)
13084
13085 2010-02-18 Sam Steingold <sds@gnu.org>
13086
13087 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
13088
13089 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
13090
13091 Use abbreviated file names in bookmarks (bug#5591).
13092 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
13093 calls to expand-file-name.
13094 (bookmark-relocate): Use abbreviated file names in bookmarks.
13095 (bookmark-load): Use abbreviated file names in messages.
13096
13097 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
13098
13099 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
13100 expand "." and "..". Reported by Thierry Volpiatto
13101 <thierry.volpiatto@gmail.com>.
13102
13103 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
13104
13105 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
13106 permissions of the temporary file to "0600". In case the remote
13107 file has no read permissions for the owner, there might be
13108 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
13109
13110 22010-02-18 Glenn Morris <rgm@gnu.org>
13111
13112 * emacs-lisp/authors.el (authors-renamed-files-alist):
13113 Add entries for INSTALL.CVS.
13114
13115 2010-02-17 Mark A. Hershberger <mah@everybody.org>
13116
13117 * vc-bzr.el: Fix typo in Known Bugs section.
13118
13119 * isearch.el (isearch-update-post-hook): New hook.
13120 (isearch-update): Use the new hook.
13121
13122 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
13123
13124 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
13125 Fix errors in copying directories.
13126 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
13127 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
13128 (tramp-handle-delete-file)
13129 (tramp-handle-dired-recursive-delete-directory)
13130 (tramp-handle-write-region): Flush also the cache for the upper
13131 directory.
13132
13133 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
13134
13135 * simple.el (save-interprogram-paste-before-kill): Doc fix.
13136
13137 * cus-edit.el (hardware): Doc fix.
13138
13139 * man.el (man): Add to external custom group.
13140
13141 * delim-col.el (columns): Move to wp custom group.
13142
13143 * doc-view.el (doc-view): Add to data custom group.
13144
13145 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
13146
13147 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
13148 by ispell-parse-output (Bug#5575).
13149
13150 2010-02-16 Kenichi Handa <handa@m17n.org>
13151
13152 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
13153 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
13154 (skkdic-convert): Use `euc-japan' coding system for writing.
13155
13156 2010-02-16 Glenn Morris <rgm@gnu.org>
13157
13158 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
13159 tex-main-file before using it. (Bug#5562)
13160
13161 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
13162
13163 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
13164 warnings, since it is annoying for the user to see them each time he
13165 runs the code.
13166
13167 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
13168
13169 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
13170 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
13171 instead of PROC for caching "first-password-request". Otherwise,
13172 new processes would not profit from passwords already entered.
13173
13174 * net/tramp-cache.el (tramp-dump-connection-properties):
13175 Don't save "first-password-request" property.
13176
13177 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
13178
13179 * outline.el (outline-head-from-level):
13180 * simple.el (with-wrapper-hook):
13181 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
13182 (elint-defun, elint-buffer-env, elint-top-form-logged)
13183 (elint-unbound-variable):
13184 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
13185 Fix typos in docstrings.
13186
13187 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
13188
13189 * files.el (insert-directory): When WILDCARD-REGEXP and
13190 FULL-DIRECTORY-P are nil, insert the file entry instead of the
13191 whole directory. (Bug#5551)
13192
13193 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
13194 dired's alignment sanity. (Bug#5516)
13195
13196 2010-02-14 Juri Linkov <juri@jurta.org>
13197
13198 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
13199 Remove remaining ^H with their preceding chars. (Bug#5566)
13200
13201 2010-02-13 Glenn Morris <rgm@gnu.org>
13202
13203 * simple.el (transpose-subr): Give it a doc-string.
13204
13205 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
13206 Doc fixes.
13207
13208 2010-02-12 Juri Linkov <juri@jurta.org>
13209
13210 * arc-mode.el (archive-unique-fname): Make directories for nested
13211 archives. (Bug#5540)
13212
13213 2010-02-12 Juri Linkov <juri@jurta.org>
13214
13215 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
13216
13217 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
13218
13219 * subr.el (copy-overlay): Handle deleted overlays.
13220
13221 * man.el (Man-completion-table): Don't signal an error if we can't run
13222 manual-program (bug#4056).
13223
13224 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
13225
13226 * textmodes/artist.el (artist-mt): Fix typos in docstring.
13227
13228 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13229
13230 * info.el (Info-bookmark-jump): Simplify.
13231
13232 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
13233 (bookmark-default-handler): Accept new bookmark field `buffer'.
13234
13235 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
13236
13237 * iswitchb.el (iswitchb-completions): Revert last change.
13238
13239 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
13240
13241 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
13242 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
13243 This prevents file names like "~/" being listed literally.
13244
13245 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
13246
13247 * term/xterm.el (xterm-maybe-set-dark-background-mode):
13248 Remove dead code. (Bug#5546)
13249
13250 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
13251
13252 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
13253 correctly (Bug#5548).
13254
13255 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
13256
13257 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
13258 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
13259
13260 2010-02-08 Kenichi Handa <handa@m17n.org>
13261
13262 * international/mule-util.el (with-coding-priority): Add autoload
13263 cookie for putting `lisp-indent-function'.
13264
13265 2010-02-07 Glenn Morris <rgm@gnu.org>
13266
13267 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
13268 Move F2003 named interfaces from keywords-2 to keywords-1, and
13269 use function-name-face rather than constant-face.
13270 Simplify "abstract interface" regexp.
13271
13272 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
13273
13274 * eshell/esh-util.el (eshell-file-attributes): New optional arg
13275 ID-FORMAT. Pass it to `file-attributes'.
13276
13277 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
13278
13279 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
13280
13281 * faces.el (set-face-attribute): Allow calling
13282 internal-set-lisp-face-attribute with 'unspecified family and
13283 foundry argument (Bug#5536).
13284
13285 2010-02-07 Glenn Morris <rgm@gnu.org>
13286
13287 * progmodes/f90.el (f90-font-lock-keywords-2)
13288 (f90-looking-at-type-like, f90-looking-at-program-block-end):
13289 Handle F2003 named interfaces.
13290
13291 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
13292
13293 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
13294 beg and end before calling c-get-state-before-change-functions.
13295
13296 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
13297
13298 * vc-bzr.el (vc-bzr-dir-extra-headers):
13299 Disable the pending merges header.
13300
13301 2010-02-05 Juri Linkov <juri@jurta.org>
13302
13303 * doc-view.el (doc-view-mode):
13304 * image-mode.el (image-mode): Put property mode-class=special.
13305 (Bug#4896)
13306
13307 2010-02-05 Mark A. Hershberger <mah@everybody.org>
13308
13309 * vc-svn.el (vc-svn-revision-table): New function.
13310
13311 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
13312
13313 * net/ange-ftp.el (ange-ftp-insert-directory):
13314 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
13315 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
13316 Handle also directories. (Bug#5478)
13317
13318 2010-02-05 Glenn Morris <rgm@gnu.org>
13319
13320 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
13321
13322 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
13323
13324 * startup.el (command-line-1): Convert options beginning with a
13325 single dash as well (Bug#5519).
13326
13327 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
13328
13329 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
13330 * minibuffer.el (completion-initials-expand): Only check the presence
13331 of delims *within* the boundaries, since otherwise the / delim is
13332 always found for files.
13333
13334 Fix up various corner case problems.
13335 * doc-view.el (doc-view-last-page-number): New function.
13336 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
13337 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
13338 (doc-view-kill-proc): Avoid inf-loop in freak cases.
13339 (doc-view-reconvert-doc): Use the new recursive delete-directory.
13340 (doc-view-convert-current-doc): Don't create the resolution.el file
13341 here any more.
13342 (doc-view-pdf/ps->png): Do it here instead.
13343 (doc-view-already-converted-p): Check that resolution.el is present.
13344 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
13345 windows that are not yet showing images.
13346
13347 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
13348
13349 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
13350 `dired-uncache' for every elemnt which is an absolute file name.
13351
13352 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
13353 directory, handle its directory component.
13354 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
13355 function is called permanently and creates noise, otherwise.
13356
13357 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
13358 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
13359 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
13360
13361 2010-02-04 David Burger <dburger@google.com> (tiny change)
13362
13363 * macros.el (apply-macro-to-region-lines):
13364 Minor simplification. (Bug#5485)
13365
13366 2010-02-04 Glenn Morris <rgm@gnu.org>
13367
13368 * mail/rmail.el (rmail-show-message-1): Handle malformed
13369 quoted-printable text. (Bug#5441)
13370
13371 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
13372
13373 * simple.el (visual-line-mode): Capitalize lighter.
13374
13375 2010-02-03 John Wiegley <jwiegley@gmail.com>
13376
13377 * iswitchb.el (iswitchb-completions): Add bookmark files to the
13378 list of files considered for "virtual buffer" completions.
13379
13380 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
13381
13382 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
13383 also in case of (and (not full) (not wildcard)). This is needed
13384 when dired is called with a list of files, which are not in
13385 `default-directory'. (Bug#5478)
13386
13387 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
13388
13389 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
13390
13391 2010-02-02 Juri Linkov <juri@jurta.org>
13392
13393 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
13394 from unidiff to allow function-line after @@.
13395
13396 2010-02-02 Juri Linkov <juri@jurta.org>
13397
13398 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
13399 '(RCS SCCS) with inverted condition.
13400
13401 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
13402
13403 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
13404 messages.
13405
13406 2010-02-01 Juri Linkov <juri@jurta.org>
13407
13408 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
13409 compare with "pkunzip" and "pkzip" instead of only "pkzip".
13410 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
13411 only when (car archive-zip-extract) is "unzip". (Bug#5475)
13412
13413 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
13414
13415 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
13416 (doc-view-revert-buffer): New command.
13417 (doc-view-mode-map): Use it.
13418
13419 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
13420
13421 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
13422 pending merge is detected.
13423
13424 2010-01-31 Juri Linkov <juri@jurta.org>
13425
13426 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
13427 beginning of interactive spec like all other grep commands do.
13428 Put "all" in front of "gz". (Bug#5260)
13429
13430 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
13431
13432 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
13433
13434 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
13435
13436 * dirtrack.el (dirtrack): Warn instead of signalling error if the
13437 regexp is incorrect (Bug#5476).
13438
13439 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
13440
13441 * net/tramp.el (tramp-handle-insert-directory): Handle also
13442 symlinks, when FILENAME is not in `default-directory'.
13443
13444 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
13445
13446 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
13447 FILE is not in `default-directory'. (Bug#5478)
13448
13449 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
13450 of SWITCHES. Handle the case, FILENAME is not in
13451 `default-directory'. (Bug#5478)
13452 (tramp-register-file-name-handlers): Add safe-magic property.
13453
13454 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
13455
13456 * arc-mode.el (archive-zip-extract): Quote the argument passed to
13457 unzip (Bug#5475).
13458
13459 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
13460
13461 * progmodes/flymake.el (flymake-allowed-file-name-masks)
13462 (flymake-master-make-header-init): Add other C++ filename masks.
13463 (flymake-find-possible-master-files)
13464 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
13465
13466 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
13467
13468 Fix some busybox annoyances.
13469
13470 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
13471 not responding." string.
13472 (tramp-open-connection-setup-interactive-shell): Dump stty
13473 settings. Enable "neveropen" arg for all `tramp-send-command'
13474 calls. Handle "=" in variable values properly.
13475 (tramp-find-inline-encoding): Raise an error, when no encoding is
13476 found.
13477 (tramp-wait-for-output): Check, whether PROC buffer is available.
13478 Remove spurious " ^H" sequences, sent by busybox.
13479 (tramp-get-ls-command): Suppress coloring, if possible.
13480
13481 2010-01-28 Glenn Morris <rgm@gnu.org>
13482
13483 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
13484
13485 * log-edit.el (log-edit-strip-single-file-name): Add missing
13486 :safe, :group, and :version tags.
13487
13488 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
13489
13490 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
13491 buffers. (Bug#5477)
13492
13493 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
13494
13495 * files.el (delete-directory): Handle moving to trash without
13496 first doing recursion (Bug#5436).
13497
13498 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
13499
13500 * vc-hooks.el (vc-path): Mark as obsolete.
13501
13502 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
13503
13504 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
13505 names too.
13506
13507 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
13508 for the short log.
13509 (vc-bzr-log-view-mode): Adjust regexp for the above change.
13510
13511 2010-01-25 Mark A. Hershberger <mah@everybody.org>
13512
13513 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
13514
13515 * vc-bzr.el (vc-bzr-revision-table): New function.
13516
13517 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
13518
13519 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
13520 diff-index command. This requires at least git-1.5.5. (Bug#1589).
13521
13522 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
13523
13524 Remove support for adding --signoff on commit.
13525 Future support will use an incompatible generic mechanism.
13526 * vc-git.el (vc-git-add-signoff): Remove variable.
13527 (vc-git-toggle-signoff): Remove function.
13528 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
13529
13530 * term/xterm.el (xterm-maybe-set-dark-background-mode):
13531 Rename from xterm-set-background-mode. Return t if the background mode
13532 was set.
13533 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
13534 earlier, call it again in case the background mode has changed.
13535
13536 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
13537
13538 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
13539 (Bug#3541).
13540
13541 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
13542
13543 * emacs-lisp/assoc.el (aelement): Doc fix.
13544 (aput, adelete, amake): Use lexical-let (Bug#5450).
13545
13546 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
13547
13548 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
13549 is the same as subprogram call, not declaration. (Bug#5435).
13550
13551 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
13552
13553 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
13554 (tramp-smb-maybe-open-connection): Use it.
13555
13556 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
13557
13558 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
13559
13560 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
13561
13562 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
13563 just because we see "encoding: 8bit".
13564 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
13565
13566 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
13567
13568 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
13569
13570 2010-01-22 Eli Zaretskii <eliz@gnu.org>
13571
13572 * jka-compr.el (jka-compr-load): If load-file is not in
13573 load-history, try its file-truename version. (bug#5447)
13574
13575 2010-01-21 Alan Mackenzie <acm@muc.de>
13576
13577 Fix a situation where deletion of a cpp construct throws an error.
13578 * progmodes/cc-engine.el (c-invalidate-state-cache):
13579 Before invoking c-with-all-but-one-cpps-commented-out, check that the
13580 special cpp construct is still in the buffer.
13581 (c-parse-state): Record the special cpp with markers, not numbers.
13582
13583 2010-01-21 Kenichi Handa <handa@m17n.org>
13584
13585 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
13586 process last-command-event, as it is now decoded first (Bug#5380).
13587
13588 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
13589
13590 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
13591
13592 2010-01-20 Glenn Morris <rgm@gnu.org>
13593
13594 * indent.el (tab-always-indent): Fix custom-type.
13595
13596 2010-01-19 Alan Mackenzie <acm@muc.de>
13597
13598 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
13599 buffer throws "args out of range".
13600 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
13601 playing the role of delimiter.
13602
13603 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
13604
13605 * progmodes/ada-mode.el: Fix bug#5400.
13606 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
13607 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
13608 changed. Delete RECURSIVE parameter; never used. Improve doc string.
13609 Improve comments in "is" portion. Handle null procedure declaration.
13610 (ada-move-to-end): Improve doc string.
13611
13612 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
13613
13614 * ido.el (ido-cur-list): Initialize to nil.
13615 Remove obsolete information from commentary.
13616 (ido-choice-list): Initialize to nil.
13617 (ido-get-bufname): Reject minibuffers.
13618 (ido-make-buffer-list): If "default" is a nonexistent
13619 buffer, ignore it, as per the function's comment.
13620 (ido-kill-buffer-internal): New function.
13621 (ido-kill-buffer-at-head): Use it.
13622 (ido-visit-buffer): Likewise.
13623
13624 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
13625
13626 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
13627
13628 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
13629
13630 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
13631 Fix typos in chart titles.
13632
13633 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
13634 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
13635 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
13636 (describe-class, eieio-describe-generic, describe-generic):
13637 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
13638 (eieio-speedbar-expand):
13639 * emulation/viper-cmd.el (viper-exec-form-in-vi)
13640 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
13641 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
13642 (viper-del-backward-char-in-replace, viper-backward-indent)
13643 (viper-brac-function, viper-register-to-point, viper-submit-report):
13644 * net/tramp.el (tramp-remote-coding-commands):
13645 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
13646 Fix typos in docstrings.
13647
13648 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
13649
13650 * mail/sendmail.el (mail-yank-original): Set the mark if the
13651 specified function for yanking does not do it.
13652
13653 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
13654
13655 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
13656
13657 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
13658 resyncing a directory.
13659
13660 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
13661
13662 * progmodes/ada-mode.el: Fix bug#1920.
13663 (ada-ident-re): Delete ., allow multibyte characters.
13664 (ada-goto-label-re): New; matches goto labels.
13665 (ada-block-label-re): New; matches block labels.
13666 (ada-label-re): New; matches both.
13667 (ada-named-block-re): Delete; callers changed to use
13668 `ada-block-label-re' instead.
13669 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
13670 Use `ada-block-label-re'.
13671 (ada-indent-on-previous-lines): Improve handling of goto labels.
13672 (ada-get-indent-block-start): Special-case block label.
13673 (ada-get-indent-label): Split into `ada-indent-block-label' and
13674 `ada-indent-goto-label'.
13675 (ada-goto-stmt-start, ada-goto-next-non-ws):
13676 Optionally ignore goto labels.
13677 (ada-goto-next-word): Simplify.
13678 (ada-indent-newline-indent-conditional): Insert newline before
13679 trying to fix indentation; doc fix.
13680
13681 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
13682
13683 * calc/calc.el (calc-command-flags): Give it an initial value.
13684
13685 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
13686
13687 * files.el (minibuffer-with-setup-hook):
13688 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
13689 (artist-key-draw-continously, artist-key-do-continously-continously)
13690 (artist-key-set-point-continously, artist-mouse-draw-continously):
13691 Fix typos in docstrings.
13692
13693 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
13694
13695 * nxml/nxml-mode.el (nxml-extend-after-change-region):
13696 Never return t (Bug#3898).
13697
13698 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
13699
13700 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
13701 can parse the output of the external commands (Bug#5279).
13702
13703 2010-01-16 Jari Aalto <jari.aalto@cante.net>
13704
13705 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
13706
13707 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
13708
13709 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
13710
13711 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
13712
13713 * startup.el (command-line): Remove unused --icon-type arg.
13714 Handle --display arg, passing it to command-line-1 (Bug#5392).
13715
13716 2010-01-16 Mario Lang <mlang@delysid.org>
13717
13718 * emacs-lisp/chart.el (chart-translate-namezone):
13719 * textmodes/artist.el (artist-compute-popup-menu-table):
13720 Remove duplicated words in doc-strings.
13721
13722 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
13723
13724 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
13725 to mairix-search to suppress threading (Bug#5342).
13726
13727 2010-01-15 Kenichi Handa <handa@m17n.org>
13728
13729 * international/mule-cmds.el (canonicalize-coding-system-name):
13730 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
13731
13732 2010-01-15 Glenn Morris <rgm@gnu.org>
13733
13734 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
13735
13736 * wid-edit.el (widget-keymap): Doc fix.
13737
13738 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
13739 former seems to be more widely accepted by various svn versions.
13740
13741 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
13742
13743 * find-cmd.el (find-constituents):
13744 * vc-arch.el (vc-arch-root):
13745 * window.el (window-body-height, pop-up-frames):
13746 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
13747 * progmodes/ada-stmt.el (ada-if):
13748 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
13749 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
13750 (ispell-encoding8-command, ispell-aspell-supports-utf8)
13751 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
13752
13753 * progmodes/flymake.el (flymake-post-syntax-check):
13754 Fix typo in error message.
13755
13756 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
13757
13758 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
13759 which is always a string. (Bug#5313)
13760
13761 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
13762
13763 * progmodes/ada-xref.el (ada-default-prj-properties):
13764 Simplify previous change.
13765
13766 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
13767
13768 * progmodes/ada-xref.el (ada-default-prj-properties):
13769 Default ada_project_path to $ADA_PROJECT_PATH.
13770
13771 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
13772
13773 * progmodes/ada-mode.el (ada-create-keymap):
13774 Override `narrow-to-defun' with `ada-narrow-to-defun'.
13775
13776 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
13777
13778 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
13779 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
13780 (ada-get-current-indent, ada-imenu-generic-expression)
13781 (ada-which-function): Check for it.
13782
13783 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
13784
13785 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
13786 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
13787
13788 2010-01-14 Glenn Morris <rgm@gnu.org>
13789
13790 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
13791
13792 2010-01-14 Kenichi Handa <handa@m17n.org>
13793
13794 * composite.el (auto-composition-mode): Make it a buffer local
13795 variable (permanent-local).
13796 (auto-composition-function): Set the default value to
13797 auto-compose-chars.
13798 (auto-composition-mode): Make it a simple function, not a minor mode.
13799 (global-auto-composition-mode): Likewise.
13800 (turn-on-auto-composition-if-enabled): Delete it.
13801
13802 2010-01-13 Karl Fogel <kfogel@red-bean.com>
13803
13804 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
13805
13806 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
13807
13808 * files.el (copy-directory): Compute target for recursive
13809 directories with identical names. (Bug#5343)
13810
13811 2010-01-12 Glenn Morris <rgm@gnu.org>
13812
13813 * mail/emacsbug.el (report-emacs-bug-pretest-address):
13814 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
13815
13816 2010-01-11 Sam Steingold <sds@gnu.org>
13817
13818 * imenu.el (imenu-default-create-index-function): Detect infinite
13819 loops caused by imenu-prev-index-position-function.
13820
13821 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
13822
13823 * htmlfontify.el (htmlfontify-load-rgb-file)
13824 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
13825 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
13826 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
13827 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
13828 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
13829 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
13830 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
13831 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
13832 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
13833 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
13834 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
13835 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
13836 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
13837 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
13838 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
13839 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
13840 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
13841 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
13842 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
13843 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
13844 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
13845 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
13846 backslash-quoting from parentheses, etc.
13847
13848 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
13849
13850 * progmodes/js.el: Autoload javascript-mode alias.
13851
13852 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
13853
13854 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
13855 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
13856 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
13857 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
13858 Fix typos in docstrings.
13859 (ffap-url-regexp): Doc fix.
13860 (ffap-at-mouse): Fix typo in message.
13861
13862 2010-01-11 Glenn Morris <rgm@gnu.org>
13863
13864 * version.el (emacs-copyright): Set copyright year to 2010.
13865
13866 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
13867
13868 * format.el (format-annotate-function): Only set
13869 write-region-post-annotation-function after running to-fn so as not to
13870 affect nested write-region calls (bug#5273).
13871
13872 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
13873
13874 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
13875 wisent/python.el.
13876
13877 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
13878
13879 * man.el (Man-goto-section): Signal error if the section is not
13880 found (Bug#5317).
13881
13882 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
13883
13884 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
13885 URLs with a leading triple slash in the file: scheme. (Bug#5345)
13886
13887 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
13888
13889 * progmodes/compile.el: Don't treat compile-command as safe if
13890 compilation-read-command might be nil (Bug#4218).
13891
13892 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
13893
13894 * startup.el (command-line-1): Use orig-argi to check for ignored X and
13895 NS options.
13896
13897 2010-01-08 Kenichi Handa <handa@m17n.org>
13898
13899 * international/fontset.el (build-default-fontset-data):
13900 Exclude characters in scripts kana, hangul, han, or cjk-misc.
13901
13902 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
13903
13904 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
13905 to `create-file-buffer' as it expects, not just a buffer name.
13906 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
13907 to help uniquify. (Bug#3224)
13908
13909 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
13910
13911 * font-setting.el (font-setting-change-default-font): Use user-spec
13912 instead of name.
13913
13914 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
13915
13916 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
13917
13918 2010-01-05 Tom Tromey <tromey@redhat.com>
13919
13920 * progmodes/python.el (python-font-lock-keywords):
13921 Handle qualified decorators (Bug#881).
13922
13923 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
13924
13925 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
13926 in a lightweight checkout.
13927
13928 2010-01-05 Kenichi Handa <handa@m17n.org>
13929
13930 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
13931
13932 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
13933
13934 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
13935
13936 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
13937
13938 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
13939 checkouts. (Bug#618)
13940 (vc-bzr-log-view-mode): Also highlight the author.
13941 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
13942 (vc-bzr-shelve-menu-map):
13943 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
13944 (vc-bzr-shelve-apply): Make prompt more explicit.
13945
13946 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
13947
13948 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
13949 They are valid characters in URL paths (rfc3986), and at least
13950 Firefox does not understand the encoded version (Bug#3166).
13951
13952 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
13953
13954 * progmodes/octave-mod.el (octave-end-keywords)
13955 (octave-block-begin-or-end-regexp, octave-block-match-alist):
13956 Add "end" keyword (Bug#3061).
13957 (octave-end-as-array-index-p): New function.
13958 (calculate-octave-indent): Use it.
13959
13960 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13961
13962 * bookmark.el: Consistently put the text property on the bookmark name.
13963 (bookmark-bmenu-marks-width): Bump back to 2, to include
13964 annotation marks.
13965 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
13966 property on the bookmark name, instead of not putting it at all.
13967 (bookmark-bmenu-list): Fix where we put the text property.
13968
13969 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13970
13971 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
13972 for showing buffer modified state (as added in the previous change).
13973
13974 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13975
13976 * bookmark.el: Show modified state of bookmark buffer more accurately.
13977 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
13978 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
13979 (with-buffer-modified-unmodified): New macro.
13980 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
13981 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
13982 Use new macro to preserve the buffer modified state.
13983
13984 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13985
13986 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
13987 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
13988 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
13989 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
13990 (bookmark-bmenu-rename, bookmark-bmenu-locate)
13991 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
13992 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
13993
13994 2010-01-02 Eli Zaretskii <eliz@gnu.org>
13995
13996 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13997 Make the lines in the generated doc string shorter. (Bug#4668)
13998
13999 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
14000
14001 * net/rcirc.el: Add follow-link binding (Bug#4738).
14002
14003 2010-01-02 Eli Zaretskii <eliz@gnu.org>
14004
14005 * Makefile.in (bzr-update): Rename from cvs-update.
14006 (cvs-update): New target for backward compatibility.
14007
14008 * makefile.w32-in (bzr-update): Rename from cvs-update.
14009 (cvs-update): New target for backward compatibility.
14010
14011 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14012
14013 * bookmark.el: Remove gratuitous gratitude.
14014
14015 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14016
14017 * bookmark.el (bookmark-bmenu-any-marks): New function.
14018 (bookmark-bmenu-save): Clear buffer modification if no marks.
14019
14020 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14021
14022 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
14023 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
14024 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
14025 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
14026
14027 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
14028 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
14029 To: emacs-devel {_AT_} gnu.org
14030 Subject: bookmark.el bug report
14031 Date: Mon, 28 Dec 2009 14:19:16 +0800
14032 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
14033
14034 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14035
14036 * bookmark.el: Improvements suggested by Drew Adams:
14037 (bookmark-bmenu-ensure-position): New name for
14038 `bookmark-bmenu-check-position'. Just ensure the position,
14039 don't return any meaningful value.
14040 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
14041 New constants.
14042
14043 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
14044
14045 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
14046 (bookmark-yank-point, bookmark-bmenu-check-position):
14047 Fix typos in docstrings.
14048 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
14049 (bookmark-name-from-full-record, bookmark-get-position)
14050 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
14051 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
14052 Remove useless quoting of parenthesis, etc. in docstrings.
14053
14054 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
14055 (ediff-append-custom-diff): Fix typo in error message.
14056 (ediff-meta-mark-equal-files): Fix typos in messages.
14057
14058 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
14059
14060 * net/imap-hash.el (imap-hash-make): Doc fix.
14061 (imap-hash-test): Fix typo in error message; reflow docstring.
14062 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
14063 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
14064 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
14065 Fix typos in docstrings.
14066 (imap-hash-open-connection): Fix typo in error message.
14067
14068 * play/gomoku.el (gomoku): Fix typos in docstring.
14069
14070 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
14071 (gdb-jsonify-buffer): Fix typos in docstring.
14072 (gdb-goto-breakpoint): Fix typo in error message.
14073 ("Display Other Windows"): Fix typo in help message.
14074 (gdb-speedbar-expand-node): Fix typo in question.
14075
14076 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
14077 (idlwave-html-system-help-location, idlwave-html-help-location)
14078 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
14079 (idlwave-help-browser-generic-args, idlwave-help-directory)
14080 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
14081 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
14082 (idlwave-online-help, idlwave-help-html-link)
14083 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
14084 Fix typos in docstrings.
14085 (idlwave-help-with-source, idlwave-help-find-routine-definition):
14086 Reflow docstrings.
14087 (idlwave-help-assistant-start): Fix typo in error message.
14088
14089 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
14090 (octave-electric-space): Fix typos in docstrings.
14091
14092 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
14093
14094 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
14095
14096 2010-01-01 Juri Linkov <juri@jurta.org>
14097
14098 * comint.el (comint-input-ring-size): Make it a defcustom and
14099 increase the default to 500 (Bug#5148).
14100
14101 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
14102
14103 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
14104 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
14105 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
14106
14107 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
14108
14109 Show working revision correctly for mercurial.
14110 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
14111 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
14112
14113 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
14114
14115 Declare some functions for the byte-compiler.
14116 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
14117 (speedbar-timer-fn, speedbar-change-expand-button-char)
14118 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
14119
14120 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
14121
14122 This changeset reverts GDB Graphical Interface to use annotations.
14123 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
14124
14125 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
14126
14127 Make vc-dir work on subdirectories of the bzr root.
14128 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
14129 Return file names relative to it.
14130 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
14131 relative directory to vc-bzr-after-dir-status.
14132
14133 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
14134
14135 * font-lock.el (font-lock-refresh-defaults): New function, which
14136 can be used to let font-lock react to external changes in
14137 variables like font-lock-defaults and keywords.
14138 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
14139
14140 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
14141
14142 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
14143
14144 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
14145
14146 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
14147
14148 Supersede color.diff settings in git log (bug#5211).
14149
14150 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
14151 escape chars in its output when the user has color.diff set to `always'.
14152 This fix works on git 1.4.2 and newer (released on 2006-08-13).
14153
14154 2009-12-26 Kevin Ryde <user42@zip.com.au>
14155
14156 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
14157 node. Keep previous "Index" name to work with past coreutils too.
14158
14159 * man.el (man): Revise docstring a bit to show -a and -l as
14160 examples. Add -k description since support for it has otherwise
14161 been a secret. (Further to bug#3717.)
14162 (Man-bgproc-sentinel): When "-k foo" produces no output show error
14163 "no matches" rather than "Can't find manpage", as the latter reads
14164 like -k was interpreted as a page name, which is not so. (Bug#5431)
14165
14166 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
14167
14168 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
14169 switches. Check also for //SUBDIRED// line.
14170
14171 2009-12-25 Kenichi Handa <handa@m17n.org>
14172
14173 * language/indian.el (devanagari-composable-pattern): Fix to
14174 handle ZWNJ and ZWJ. Use it in composition-function-table for
14175 Devanagari.
14176 (malayalam-composable-pattern): Fix previous change.
14177
14178 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14179
14180 * ps-print.el (ps-face-attributes): It was not returning the
14181 attribute face for faces specified as string. Reported by harven
14182 <harven@free.fr>. (Bug#5254)
14183 (ps-print-version): New version 7.3.5.
14184
14185 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
14186
14187 * calendar/icalendar.el (icalendar--convert-tz-offset):
14188 Fix timezone names.
14189 (icalendar--convert-tz-offset): Fix the "last-day-problem".
14190 (icalendar--add-diary-entry): Remove the trailing blank that
14191 diary-make-entry inserts.
14192
14193 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
14194
14195 Make `file-expand-wildcards' work for remote files.
14196
14197 * files.el (file-expand-wildcards): In case of remote files, check
14198 only local file name part for wildcards. Provide feature 'files
14199 and subfeature 'remote-wildcards. (Bug#5198)
14200
14201 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
14202 if there is already an established connection.
14203 (tramp-advice-file-expand-wildcards): Remove it.
14204
14205 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
14206 (tramp-advice-file-expand-wildcards): Move from tramp.el.
14207 Activate advice for older GNU Emacs versions. (Bug#5237)
14208
14209 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
14210
14211 Some doc fixes (more needed).
14212
14213 * find-cmd.el (find-constituents): Reflow docstring.
14214 (find-cmd, find-prune, find-command): Fix typos in docstrings.
14215 (find-generic): Doc fix.
14216
14217 2009-12-17 Juri Linkov <juri@jurta.org>
14218
14219 Fix regression from 23.1 to allow multiple modes in Local Variables.
14220
14221 * files.el (hack-local-variables-filter): While ignoring duplicates,
14222 don't take `mode' into account.
14223 (hack-local-variables-filter, hack-dir-local-variables):
14224 Don't remove duplicate `mode' from local-variables-alist (like `eval').
14225
14226 2009-12-17 Juri Linkov <juri@jurta.org>
14227
14228 Make `dired-diff' safer. (Bug#5225)
14229
14230 * dired-aux.el (dired-diff): Signal an error when `file' equals to
14231 `current' or when `file' is a directory of the `current' file.
14232
14233 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
14234
14235 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
14236 unconditionally preloaded files.
14237
14238 2009-12-16 Juri Linkov <juri@jurta.org>
14239
14240 Revert to old 23.1 logic of using the file at the mark as default.
14241 * dired-aux.el (dired-diff): Use the file at the mark as default
14242 if it's not the same as the current file, and the target dir is
14243 the current dir or the mark is active. Add the current file
14244 as the arg of `dired-dwim-target-defaults'. Use the default file
14245 in the prompt. (Bug#5225)
14246
14247 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
14248
14249 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
14250 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
14251 (tramp-check-for-regexp): Check also, when an echoing shell stops
14252 to echo sent commands.
14253
14254 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
14255
14256 * Makefile.in: Revert last change (Bug#5191).
14257
14258 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
14259
14260 * vc-hg.el (vc-hg-print-log): Fix argument order.
14261 (vc-hg-working-revision): Make sure the command is executed in a
14262 known environment so that we can parse the output. (Bug#4417)
14263
14264 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
14265
14266 * progmodes/python.el (python-symbol-completions): Remove text
14267 properties from symbol string before calling python-send-receive.
14268
14269 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
14270
14271 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
14272 when there are values for both file and line. (Bug#5060)
14273
14274 2009-12-14 Juri Linkov <juri@jurta.org>
14275
14276 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
14277 whitespace after the file name of the first line of unified format,
14278 because git-diff doesn't output whitespace and file modification time
14279 after the file name.
14280
14281 2009-12-14 David Kastrup <dak@gnu.org>
14282
14283 * info.el (Info-hide-cookies-node): Before hiding a cookie,
14284 check if it already has the `display' property added by
14285 `Info-display-images-node', and not put the `invisible' property
14286 in this case.
14287
14288 2009-12-13 Glenn Morris <rgm@gnu.org>
14289
14290 * mail/emacsbug.el (message-sort-headers): Define for compiler.
14291 (report-emacs-bug): In message-mode, sort manually before storing
14292 original report text. (Bug#5178)
14293 Remove superfluous save-excursion.
14294
14295 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
14296
14297 * net/dbus.el (dbus-property-handler): Filter lambda forms out
14298 when responding to "GetAll" properties.
14299
14300 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
14301
14302 * simple.el (compose-mail): Remove mail-setup-with-from from
14303 customization checks.
14304
14305 2009-12-12 Eli Zaretskii <eliz@gnu.org>
14306
14307 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
14308 RAR archives created on Unix systems.
14309
14310 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
14311
14312 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
14313 the varalias that was accidentally removed by the 2009-11-19 change
14314 (bug#5186).
14315
14316 2009-12-12 Kenichi Handa <handa@m17n.org>
14317
14318 * language/indian.el (indian-compose-regexp): New function.
14319 (malayalam-composable-pattern): Fix the pattern.
14320 (composition-function-table): Set malayalam-composable-pattern for
14321 Malayalam characters.
14322
14323 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
14324
14325 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
14326 rather than down-mouse-1, based on follow-link conventions.
14327
14328 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
14329 are compiled.
14330
14331 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
14332
14333 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
14334 (verilog-vmm-statement-re, verilog-ovm-statement-re)
14335 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
14336 (verilog-leap-to-head, verilog-backward-token):
14337 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
14338
14339 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
14340
14341 * progmodes/verilog-mode.el (verilog-auto-lineup)
14342 (verilog-nameable-item-re): Cleanup user-visible spelling and
14343 documentation errors. One reported by Gary Delp.
14344 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
14345 (verilog-read-decls): Fix AUTOWIRE with types declared in a
14346 package, bug195. Reported by Pierre-David Pfister.
14347
14348 2009-12-11 Glenn Morris <rgm@gnu.org>
14349
14350 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
14351
14352 * mail/emacsbug.el: No longer require sendmail.
14353 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
14354 (report-emacs-bug-orig-text): Doc fix.
14355 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
14356 New local variables, to adapt to different mail-user-agents.
14357 (report-emacs-bug): Fix test for a gnu.org address.
14358 Use overlays for emphasis, since font-lock defeats 'face property.
14359 Pretest bugs also end up at the newsgroup these days.
14360 Stop message-mode stripping text properties.
14361 Set and use the new buffer-local variables.
14362 (report-emacs-bug-hook): Add doc-string.
14363 Remove some unnecessary save-excursions and simplify.
14364 Use the appropriate hook and send-command.
14365
14366 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
14367 capitalization of some menu entries.
14368
14369 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14370
14371 * whitespace.el (whitespace-display-char-on):
14372 Ensure `buffer-display-table' is unique when two or more windows are
14373 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
14374 New version 12.1.
14375
14376 2009-12-10 Eli Zaretskii <eliz@gnu.org>
14377
14378 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
14379 characters in the Attribute field.
14380
14381 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
14382
14383 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
14384
14385 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
14386
14387 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
14388 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14389 Disregard autoload-excludes.
14390 (update-directory-autoloads): Obey autoload-excludes here instead.
14391 But don't store its contents in no-autoloads and remove entries that
14392 refer to excludes files.
14393
14394 2009-12-10 Glenn Morris <rgm@gnu.org>
14395
14396 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
14397 (expand-mail-aliases): Define for compiler.
14398
14399 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
14400 Define for compiler.
14401
14402 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
14403 appropriate for the mail-user-agent in use.
14404
14405 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
14406
14407 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
14408
14409 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
14410
14411 Fix short log parsing and fontification.
14412 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
14413 Fix fontification for the [merge] label.
14414
14415 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
14416
14417 Drop some properties to avoid surprises (bug#5002).
14418 * htmlfontify.el (hfy-ignored-properties): New defcustom.
14419 (hfy-fontify-buffer): Use it.
14420
14421 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
14422
14423 Minor cleanup.
14424 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
14425 Adjust all callers.
14426 (ffap-locate-file): Remove unused arg `dir-ok' and make other
14427 args compulsory. Adjust callers.
14428 (ffap-gopher-at-point): Remove unused var `name'.
14429
14430 Get rid of the ELCFILES abomination.
14431 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
14432 (compile-elcfiles): New phony target.
14433 (compile-main): Compute ELCFILES dynamically.
14434 (compile-clean): New target to remove left-over elc files.
14435 (compile, all): Use it.
14436
14437 2009-12-09 Kenichi Handa <handa@etlken>
14438
14439 * international/mule-diag.el: Require help-mode instead of help-fns.
14440
14441 2009-12-09 Kenichi Handa <handa@m17n.org>
14442
14443 * international/mule-cmds.el (ucs-names): Supply sufficiently
14444 fine ranges instead of pre-calculating accurate ranges.
14445 Iterate with bigger gc-cons-threshold.
14446
14447 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
14448
14449 Add support for stashing a snapshot of the current tree.
14450 * vc-git.el (vc-git-stash-snapshot): New function.
14451 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
14452
14453 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
14454
14455 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
14456 instead of `(beginning|end)-of-line'.
14457
14458 2009-12-08 Glenn Morris <rgm@gnu.org>
14459
14460 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
14461
14462 * Makefile.in (ELCFILES): Regenerate.
14463
14464 2009-12-07 Juri Linkov <juri@jurta.org>
14465
14466 Don't lazy-highlight the comint output in history Isearch mode.
14467
14468 * comint.el (comint-history-isearch-search): Instead of
14469 `comint-line-beginning-position', use `comint-after-pmark-p'
14470 to check if point if before the process mark, and go to
14471 `process-mark' in this case.
14472
14473 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14474
14475 * textmodes/tex-mode.el (latex-complete)
14476 (latex-indent-or-complete): Remove.
14477 (latex-mode): Set completion-at-point-functions instead.
14478
14479 Provide a standard completion command and hook it into TAB.
14480 * minibuffer.el (completion-at-point-functions): New var.
14481 (completion-at-point): New command.
14482 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
14483 * progmodes/python.el (python-mode-map): Use completion-at-point.
14484 (python-completion-at-point): Rename from python-partial-symbol and
14485 adjust for use in completion-at-point-functions.
14486 (python-mode): Setup completion-at-point for Python completion.
14487 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
14488 extracted from lisp-complete-symbol.
14489 (lisp-complete-symbol): Use it.
14490 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
14491 setup completion-at-point for Elisp completion.
14492 (emacs-lisp-mode-map, lisp-interaction-mode-map):
14493 Use completion-at-point.
14494 * ielm.el (ielm-map): Use completion-at-point.
14495 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
14496 * progmodes/sym-comp.el: Move to...
14497 * obsolete/sym-comp.el: Move from progmodes.
14498
14499 2009-12-07 Eli Zaretskii <eliz@gnu.org>
14500
14501 Prevent save-buffer in Rmail buffers from using the coding-system
14502 of the current message, and from clobbering the encoding mnemonics
14503 in the mode line (Bug#4623).
14504
14505 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
14506 flag, too.
14507 (rmail-message-encoding): New variable.
14508 (rmail-write-region-annotate): Record the encoding of the current
14509 message in rmail-message-encoding.
14510 (rmail-after-save-hook): New function, restores the encoding of
14511 the current message after the message collection is saved.
14512
14513 2009-12-07 Juri Linkov <juri@jurta.org>
14514
14515 * progmodes/grep.el (grep-read-files): Use `completing-read'
14516 instead of `read-string'. Set its `collection' arg to
14517 `read-file-name-internal'. (Bug#4301)
14518
14519 2009-12-07 Juri Linkov <juri@jurta.org>
14520
14521 Correctly restore original Isearch point. (Bug#4994)
14522
14523 * isearch.el (isearch-mode): Move `isearch-push-state' after
14524 `(run-hooks 'isearch-mode-hook)'.
14525 (isearch-cancel): When `isearch-push-state-function' is defined,
14526 let-bind `isearch-cmds' to the first state (the last element of
14527 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
14528 function and restores the original point). Otherwise, move point
14529 to `isearch-opoint'.
14530
14531 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14532
14533 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
14534 chars that don't have names, so the table can be built much faster at
14535 run-time.
14536
14537 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
14538
14539 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
14540 change. Suggested by David Kastrup.
14541
14542 * simple.el (compose-mail): Check for incompatibilities and warn.
14543 (compose-mail-user-agent-warnings): New option.
14544
14545 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14546
14547 Support showing a single log entry from vc-annotate.
14548 * vc.el (print-log): Add a new argument: START-REVISION.
14549 (vc-print-log-internal): Add a new optional argument and
14550 pass it to the backend.
14551 (vc-print-log, vc-print-root-log): Adjust callers.
14552 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
14553 buffer already displays the requested log entry, use it.
14554 Otherwise display only the log entry in question.
14555 * vc-svn.el (vc-svn-print-log):
14556 * vc-mtn.el (vc-mtn-print-log):
14557 * vc-hg.el (vc-hg-state):
14558 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
14559 (vc-git-show-log-entry): Return t on success.
14560 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
14561 (vc-bzr-show-log-entry): Return t on success.
14562 * vc-rcs.el (vc-rcs-print-log):
14563 * vc-sccs.el (vc-sccs-print-log):
14564 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
14565
14566 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14567
14568 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
14569 Add menus to the meta mode. (Bug#5043)
14570
14571 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
14572
14573 * ediff-init.el (ediff-event-key): Use event-to-character instead of
14574 event-key.
14575
14576 * ediff.el (ediff-buffers-internal): Add unwind-protect.
14577
14578 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
14579
14580 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
14581 Berbain <raphael.berbain@gmail.com>.
14582
14583 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
14584 characters.
14585 (tramp-initial-end-of-output): New defconst.
14586 (tramp-methods, tramp-find-shell)
14587 (tramp-open-connection-setup-interactive-shell)
14588 (tramp-maybe-open-connection): Use it.
14589 (tramp-shell-prompt-pattern, tramp-wait-for-output):
14590 Handle existence of `#' and `$'.
14591
14592 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
14593 Use `tramp-initial-end-of-output'.
14594
14595 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14596
14597 Get the background mode from the terminal for xterm, and set
14598 faces accordingly.
14599 * term/xterm.el (xterm-set-background-mode): New function.
14600 (terminal-init-xterm): Use it in case xterm supports background
14601 color queries. Recompute faces after getting the background
14602 color.
14603
14604 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
14605
14606 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
14607 number comment back on its own line, for easier parsing.
14608
14609 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14610
14611 Make it work for non-file buffers (bug#5102).
14612 * doc-view.el (doc-view-current-cache-dir):
14613 Use doc-view-buffer-file-name rather than buffer-file-name.
14614 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
14615
14616 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
14617
14618 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
14619 author field is too short.
14620
14621 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
14622
14623 * vc-git.el (vc-git-print-log): Handle a limit argument.
14624 Display the short log in graph form and with labels.
14625 (vc-git-log-view-mode): Handle labels.
14626
14627 Make vc-revert change VC state from 'added to 'unregistered.
14628 * vc-git.el (vc-git-revert): Call git reset first.
14629
14630 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
14631
14632 * net/newst-backend.el, net/newst-plainview.el:
14633 * net/newst-reader.el, net/newst-ticker.el:
14634 * net/newst-treeview.el, net/newsticker.el:
14635 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
14636
14637 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
14638
14639 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
14640
14641 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
14642 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
14643 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
14644 Update annotation regexp.
14645
14646 * simple.el (beginning-of-visual-line): Constrain to field
14647 boundaries (Bug#5106).
14648
14649 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
14650
14651 * xml.el (xml-substitute-numeric-entities):
14652 Move newsticker--decode-numeric-entities in newst-backend.el to
14653 xml-substitute-numeric-entities in xml.el. (Bug#5008)
14654 * net/newst-backend.el (newsticker--parse-generic-feed)
14655 (newsticker--parse-generic-items)
14656 (newsticker--decode-numeric-entities):
14657 Move newsticker--decode-numeric-entities in newst-backend.el to
14658 xml-substitute-numeric-entities in xml.el. (Bug#5008)
14659
14660 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
14661
14662 * progmodes/js.el (js--js-not): Add null to the list of values.
14663
14664 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
14665
14666 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
14667
14668 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
14669
14670 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
14671 delimiter if it is at the end of the current line.
14672 (bibtex-generate-url-list): Fix docstring.
14673
14674 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
14675
14676 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
14677 minibuffer's content with itself.
14678 Fold the confirm-after-completion case into the `confirm' case.
14679 (completion-pcm-word-delimiters): Add : and / to the delimiters.
14680
14681 2009-12-06 Kevin Ryde <user42@zip.com.au>
14682
14683 * ffap.el (ffap-rfc-path): Make this a defcustom since
14684 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
14685
14686 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
14687 manuals, similar to existing setup for help-mode. (Bug#3913.)
14688
14689 2009-12-05 Juri Linkov <juri@jurta.org>
14690
14691 Save and restore dired buffer's point positions too. (Bug#4880)
14692
14693 * dired.el (dired-save-positions): Return in the first element
14694 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
14695 Doc fix.
14696 (dired-restore-positions): First restore buffer's position.
14697 While restoring window's positions, check if window still displays
14698 the original buffer.
14699
14700 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
14701
14702 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
14703 if possible.
14704
14705 * shell.el (shell): Require ansi-color (Bug#5113).
14706
14707 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
14708
14709 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
14710
14711 2009-12-05 Alan Mackenzie <acm@muc.de>
14712
14713 * progmodes/cc-mode.el (c-before-hack-hook)
14714 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
14715 `c-file-style' to work again. This reversion restores the current
14716 software to its state in Emacs 23.1. (Bug#4146)
14717
14718 2009-12-05 Kevin Ryde <user42@zip.com.au>
14719
14720 * textmodes/sgml-mode.el (sgml-lexical-context):
14721 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
14722
14723 2009-12-05 Juri Linkov <juri@jurta.org>
14724
14725 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
14726 for virtual nodes. (Bug#4147)
14727 (Info-find-node-2): Set `Info-current-node-virtual' to nil
14728 when moving from a virtual node.
14729 (Info-mode-menu): Add `Info-virtual-index' to the menu.
14730 (Info-mode): Add `Info-virtual-index' to the docstring.
14731
14732 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
14733
14734 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
14735 track of the buffer position of the end of a BibTeX entry as this
14736 position may change during reformatting.
14737 (bibtex-format-entry): Remove whitespace before processing
14738 numerical fields so that we recognize the latter properly.
14739 (bibtex-reformat): Do not use push which changes the global value
14740 of bibtex-entry-format.
14741 (bibtex-field-braces-alist, bibtex-field-strings-alist)
14742 (bibtex-field-re-init): Replace only space characters by regexp
14743 for whitespace.
14744 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
14745 (bibtex-initialize): Also update bibtex-strings.
14746 (bibtex-kill-field): Preserve white space at end of entry.
14747 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
14748 Update bibtex-reference-keys.
14749
14750 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
14751
14752 * minibuffer.el (completion-pcm--merge-try): Also consider placing
14753 point after a star, if that's the only place where modifications can
14754 make progress.
14755
14756 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
14757
14758 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
14759 in docstrings.
14760
14761 2009-12-04 Juri Linkov <juri@jurta.org>
14762
14763 * proced.el (proced): Call `(proced-update t)' to update process
14764 information instead of only running proced-post-display-hook.
14765 (proced-send-signal): Add a leading space to the buffer name
14766 " *Marked Processes*" to make this buffer ephemeral.
14767
14768 2009-12-04 Juri Linkov <juri@jurta.org>
14769
14770 * dired.el (dired-auto-revert-buffer): New defcustom.
14771 (dired-internal-noselect): Use it.
14772
14773 2009-12-04 Juri Linkov <juri@jurta.org>
14774
14775 Change roles of modes and functions in image-mode.el (Bug#5062).
14776
14777 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
14778 in `auto-mode-alist'.
14779 (image-mode-previous-major-mode): New variable.
14780 (image-minor-mode-map): Rename from `image-mode-text-map'.
14781 (image-mode): Move graceful error-handling code from
14782 `image-minor-mode' to here. On errors call `image-mode-as-text'.
14783 (image-minor-mode): Remove all image-handling code.
14784 Replace `image-mode-text-map' with `image-minor-mode-map'.
14785 Check for `image-type' in mode-line format string.
14786 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
14787 (image-mode-as-text): New function with most code from
14788 `image-mode-maybe'.
14789 (image-toggle-display-text): Move code that removes image
14790 properties from `image-toggle-display' to here.
14791 (image-toggle-display-image): New function with code that adds
14792 image properties copied from `image-toggle-display'.
14793 (image-toggle-display): Remove most code with leaving only code
14794 that toggles between `image-mode-as-text' and `image-mode'.
14795
14796 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
14797
14798 * net/newst-treeview.el
14799 (newsticker--treeview-list-highlight-start): Restored call to
14800 save-excursion: Selected item was stuck.
14801 (newsticker--treeview-list-select): New.
14802 (newsticker--treeview-item-show-text)
14803 (newsticker--treeview-item-show)
14804 (newsticker--treeview-item-update): Use new
14805 newsticker-treeview-item-mode.
14806 (newsticker-treeview-update): Keep current item.
14807 (newsticker-treeview-next-new-or-immortal-item): Doc change.
14808 (newsticker--treeview-first-feed): Doc change.
14809 (newsticker-treeview-list-menu)
14810 (newsticker-treeview-item-menu): Add menu entries.
14811 (newsticker-treeview-item-mode): New.
14812
14813 * net/newst-backend.el (newsticker-customize): Delete other
14814 windows.
14815
14816 2009-12-04 Sam Steingold <sds@gnu.org>
14817
14818 * log-view.el (log-view-mode-map): "q" calls quit-window,
14819 like in all the other non-self-insert buffers.
14820
14821 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
14822
14823 Minor cleanup.
14824 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
14825 key decoding rather than do it manually via last-input-event +
14826 ascii-character.
14827 (term-exec): Use delete-and-extract-region.
14828 (term-handle-ansi-terminal-messages): Remove unused var `end'.
14829 (term-process-pager): Remove unused var `i'.
14830 (term-dynamic-simple-complete): Make obsolete.
14831 (serial-update-config-menu): Remove unused vars `y' and `str'.
14832 (term-update-mode-line): Remove unused var `temp'.
14833
14834 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
14835
14836 Limit the number of log entries displayed by default.
14837 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
14838 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
14839 using a prefix argument.
14840
14841 2009-12-03 Glenn Morris <rgm@gnu.org>
14842
14843 * progmodes/idlwave.el (class): Restore still useful declaration.
14844
14845 2009-12-03 Alan Mackenzie <acm@muc.de>
14846
14847 Enhance `c-parse-state' to run efficiently in "brace deserts".
14848
14849 * progmodes/cc-mode.el (c-basic-common-init):
14850 Call c-state-cache-init.
14851 (c-neutralize-syntax-in-and-mark-CPP): Rename from
14852 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
14853 placing `category' properties value 'c-cpp-delimiter at its boundaries.
14854
14855 * progmodes/cc-langs.el (c-before-font-lock-function):
14856 c-extend-and-neutralize-syntax-in-CPP has been renamed
14857 c-neutralize-syntax-in-and-mark-CPP.
14858
14859 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
14860 with `category' properties now, not `syntax-table' ones.
14861
14862 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
14863 enhanced (but slower) version of c-end-of-macro that won't land
14864 inside a literal or on another awkward character.
14865 (c-state-cache-too-far, c-state-cache-start)
14866 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
14867 (c-state-nonlit-pos-cache-limit, c-state-point-min)
14868 (c-state-point-min-lit-type, c-state-point-min-lit-start)
14869 (c-state-min-scan-pos, c-state-brace-pair-desert)
14870 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
14871 buffer local variables.
14872 (c-state-literal-at, c-state-lit-beg)
14873 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
14874 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
14875 (c-state-cache-top-paren, c-state-cache-after-top-paren)
14876 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
14877 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
14878 (c-renarrow-state-cache)
14879 (c-append-lower-brace-pair-to-state-cache)
14880 (c-state-push-any-brace-pair, c-append-to-state-cache)
14881 (c-remove-stale-state-cache)
14882 (c-remove-stale-state-cache-backwards, c-state-cache-init)
14883 (c-invalidate-state-cache-1, c-parse-state-1)
14884 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
14885 (c-parse-state): Enhance and refactor.
14886 (c-debug-parse-state): Amend to deal with all the new variables.
14887
14888 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
14889 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
14890 modify to use category text properties rather than syntax-table ones.
14891 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
14892 to switch off/on the syntactic paren property of C++ template
14893 delimiters using the category property.
14894 (c-with-<->-as-parens-suppressed): Macro to invoke code with
14895 template delims suppressed.
14896 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
14897 New constant/macros which apply category properties to the start
14898 and end of preprocessor constructs.
14899 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
14900 "comment out" the syntactic value of characters in preprocessor
14901 constructs.
14902 (c-with-cpps-commented-out)
14903 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
14904 with characters in all or all but one preprocessor constructs
14905 "commented out".
14906
14907 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
14908
14909 * proced.el (proced-filter-alist): Use regexp-quote.
14910
14911 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
14912
14913 Cleanup.
14914 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
14915 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
14916 arguments. Expand `default-directory'.
14917
14918 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
14919 the benefit of returning an expanded localname.
14920 (tramp-tramp-file-p): Handle the case NAME is not a string.
14921
14922 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
14923
14924 Add support for bzr shelve/unshelve.
14925 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
14926 (vc-bzr-extra-menu-map): New variables.
14927 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
14928 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
14929 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
14930 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
14931 (vc-bzr-dir-extra-headers): Display shelves.
14932
14933 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
14934
14935 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14936
14937 * textmodes/bibtex.el (bibtex-complete-internal):
14938 Use completion-in-region.
14939 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
14940
14941 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
14942
14943 Support applying stashes. Improve UI.
14944 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
14945 (vc-git-stash-apply, vc-git-stash-pop)
14946 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
14947 (vc-git-stash-menu): New functions.
14948 (vc-git-stash-menu-map): New variable.
14949 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
14950
14951 2009-12-03 Glenn Morris <rgm@gnu.org>
14952
14953 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
14954 (vc-print-log-internal): Fix previous change.
14955 (vc-revert): Correct pluralization.
14956
14957 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14958
14959 * progmodes/make-mode.el (makefile-special-targets-list): No need for
14960 it to be an alist any more.
14961 (makefile-complete): Use completion-in-region.
14962
14963 * progmodes/octave-mod.el (octave-complete-symbol):
14964 Use completion-in-region.
14965
14966 Misc cleanup.
14967 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
14968 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
14969 (idlwave-complete-class): Don't quote lambda.
14970 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
14971 (idlwave-mode-map): Move initialization into declaration.
14972 (idlwave-action-and-binding): Use backquotes.
14973 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
14974 Simplify.
14975 (idlwave-is-pointer-dereference): Remove unused var `pos'.
14976 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
14977 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
14978 `parts', and `all-parts'.
14979 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
14980 (idlwave-convert-xml-system-routine-info): Remove unused string
14981 `version-string'.
14982 (idlwave-display-user-catalog-widget): Use dolist.
14983 (idlwave-scanning-lib): Declare dynamically-scoped var.
14984 (idlwave-scan-library-catalogs): Remove unused var `flags'.
14985 (completion-highlight-first-word-only): Declare to silence bytecomp.
14986 (idlwave-popup-select): Tighten scope of `resp'.
14987 (idlwave-find-struct-tag): Remove unused var `beg'.
14988 (idlwave-after-load-rinfo-hook): Declare.
14989 (idlwave-sintern-class-info): Remove unused var `taglist'.
14990 (idlwave-find-class-definition): Remove unused var `list'.
14991 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
14992 (idlwave-what-module-find-class): Remove unused var `classes'.
14993
14994 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
14995
14996 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
14997
14998 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14999
15000 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
15001 buffers visited. Remove redundant current-buffer-saving.
15002
15003 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15004
15005 Use completion-in-buffer and remove uses of dynamic scoping.
15006 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
15007 (pascal-buffer-to-use, pascal-flag): Don't declare.
15008 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
15009 (pascal-get-completion-decl, pascal-keyword-completion):
15010 Add `pascal-str' argument, save-excursion,
15011 return the found completions, and don't filter with pascal-pred.
15012 (pascal-completion-cache): New var.
15013 (pascal-completion): Don't switch buffer any more (it was never
15014 necessary). Don't save-excursion any more (it's done by the called
15015 subroutines). Use a cache to avoid redundant computations.
15016 Use complete-with-action rather than pascal-completion-response and
15017 let it apply the predicate as well.
15018 (pascal-complete-word): Use completion-in-buffer when
15019 pascal-toggle-completions is nil.
15020 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
15021 not used any more.
15022 (pascal-comp-defun): Don't change buffer any more.
15023 Use complete-with-action rather than pascal-completion-response and
15024 let it apply the predicate as well.
15025 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
15026 when neded.
15027
15028 2009-12-02 Kenichi Handa <handa@m17n.org>
15029
15030 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
15031 shape for all Indic scripts.
15032
15033 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15034
15035 Use completion-in-buffer.
15036 * wid-edit.el (widget-field-text-end): New function.
15037 (widget-field-value-get): Use it.
15038 (widget-string-complete, widget-file-complete)
15039 (widget-color-complete): Use it and completion-in-region.
15040 (widget-complete): Don't narrow the buffer.
15041
15042 2009-12-02 Glenn Morris <rgm@gnu.org>
15043
15044 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
15045 (rmail-select-summary): Use rmail-pop-to-buffer.
15046 * mail/rmailsum.el: Replace all pop-to-buffer calls with
15047 rmail-pop-to-buffer, to prevent horizontal splits.
15048
15049 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
15050 save-excursion with save-current-buffer.
15051 Widen before searching. (Bug#5093)
15052 (diary-list-sexp-entries): Remove superfluous save-excursion.
15053
15054 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
15055
15056 * woman.el (woman-make-bufname): Handle man-pages with "." in the
15057 name. (Bug#5038)
15058
15059 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
15060
15061 * ido.el (ido-file-internal): Handle filenames at point that do
15062 not have a directory part. (Bug#5049)
15063
15064 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
15065
15066 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
15067 (mpc-songs-jump-to, mpc-resume): Doc fixes.
15068
15069 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
15070
15071 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
15072 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
15073 any more.
15074
15075 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15076
15077 * comint.el (comint-insert-input): Ignore clicks to the right of
15078 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
15079
15080 * vc.el (vc-print-log-internal): Don't wait for the process to
15081 terminate before setting up the major mode.
15082
15083 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
15084 in case.
15085
15086 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
15087 the last element.
15088
15089 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
15090
15091 2009-12-01 Glenn Morris <rgm@gnu.org>
15092
15093 * window.el (window--display-buffer-2): Fix previous changes.
15094
15095 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
15096
15097 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
15098
15099 2009-12-01 Glenn Morris <rgm@gnu.org>
15100
15101 * Makefile.in (ELCFILES): Add mpc.elc.
15102
15103 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15104
15105 * mpc.el: New file.
15106
15107 2009-12-01 Glenn Morris <rgm@gnu.org>
15108
15109 * window.el (window-to-use): Define for compiler.
15110
15111 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
15112 consistent with others (no final period).
15113
15114 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
15115 (rmail-mime-show): Downcase the encoding. (Bug#5070)
15116
15117 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
15118
15119 Make vc-print-log buttons work.
15120 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
15121
15122 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
15123
15124 * savehist.el (savehist-autosave-interval): Allow setting to nil
15125 through customize. (Bug#5056)
15126
15127 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
15128
15129 Fix references to jit-lock properties.
15130 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
15131 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
15132 (perl-font-lock-special-syntactic-constructs):
15133 Quote jit-lock-defer-multiline property.
15134
15135 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
15136
15137 * vc-git.el (vc-git-registered): Call vc-git-root only once.
15138
15139 2009-11-30 Juri Linkov <juri@jurta.org>
15140
15141 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
15142 value `buffer' of `multi-isearch-next-buffer-current-function'.
15143 Use `(current-buffer)' when `buffer' is nil.
15144 (multi-isearch-next-buffer-from-list): Don't fallback to
15145 `(current-buffer)' when `buffer' is nil. (Bug#4947)
15146
15147 2009-11-30 Juri Linkov <juri@jurta.org>
15148
15149 * misearch.el (multi-isearch-read-buffers): Move canonicalization
15150 of buffers with `get-buffer' to `multi-isearch-buffers'.
15151 (multi-isearch-buffers, multi-isearch-buffers-regexp):
15152 Canonicalize BUFFERS with `get-buffer'. Doc fix.
15153 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
15154 FILES with `expand-file-name' converting relative file names
15155 to absolute. Doc fix. (Bug#4727)
15156
15157 2009-11-30 Juri Linkov <juri@jurta.org>
15158
15159 * misearch.el (multi-isearch-read-buffers)
15160 (multi-isearch-read-matching-buffers): New functions.
15161 (multi-isearch-buffers, multi-isearch-buffers-regexp):
15162 Use them in the `interactive' spec. Doc fix.
15163 (multi-isearch-read-files, multi-isearch-read-matching-files):
15164 New functions.
15165 (multi-isearch-files, multi-isearch-files-regexp):
15166 Use them in the `interactive' spec. Doc fix. (Bug#4725)
15167
15168 2009-11-30 Juri Linkov <juri@jurta.org>
15169
15170 * doc-view.el (doc-view-continuous):
15171 Rename from `doc-view-continuous-mode'.
15172 (doc-view-menu): Move "Toggle display" to the top.
15173 Add submenu "Continuous" with radio buttons "Off"/"On"
15174 and "Save as Default".
15175 (doc-view-scroll-up-or-next-page)
15176 (doc-view-scroll-down-or-previous-page)
15177 (doc-view-next-line-or-next-page)
15178 (doc-view-previous-line-or-previous-page):
15179 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
15180
15181 2009-11-30 Juri Linkov <juri@jurta.org>
15182
15183 * comint.el (comint-mode-map): Rebind `M-r' from
15184 `comint-previous-matching-input' to
15185 `comint-history-isearch-backward-regexp'.
15186 Unbind `M-s' to allow global key binding `M-s'.
15187 Add menu items for `comint-history-isearch-backward' and
15188 `comint-history-isearch-backward-regexp'. (Bug#3746)
15189
15190 2009-11-30 Juri Linkov <juri@jurta.org>
15191
15192 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
15193 For def=recenter, replace `recenter' with `recenter-top-bottom'
15194 that is called with `this-command' and `last-command' let-bound
15195 to `recenter-top-bottom'. When the last `def' was not `recenter',
15196 set `recenter-last-op' to nil. (Bug#4981)
15197
15198 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
15199
15200 Minor cleanup and simplification.
15201 * filecache.el (file-cache-add-directory)
15202 (file-cache-add-directory-recursively)
15203 (file-cache-add-from-file-cache-buffer)
15204 (file-cache-delete-file-regexp, file-cache-delete-directory)
15205 (file-cache-files-matching-internal, file-cache-display): Use dolist.
15206 (file-cache-temp-minibuffer-message): Delete function.
15207 (file-cache-minibuffer-complete): Use minibuffer-message instead.
15208
15209 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
15210 Don't signal an error when bumping into EOB in tr, s, or y.
15211
15212 2009-11-29 Juri Linkov <juri@jurta.org>
15213
15214 * startup.el (fancy-about-text): Fix wording of Guided Tour.
15215 (Bug#4960)
15216
15217 * descr-text.el (describe-char-unidata-list): Use lowercase name
15218 for "Unicode name" like in other tags.
15219
15220 2009-11-29 Juri Linkov <juri@jurta.org>
15221
15222 * ediff-util.el (ediff-minibuffer-with-setup-hook):
15223 New compatibility macro.
15224 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
15225
15226 2009-11-29 Juri Linkov <juri@jurta.org>
15227
15228 Add defcustom to define the cycling order of `recenter-top-bottom'.
15229 (Bug#4981)
15230
15231 * window.el (recenter-last-op): Doc fix.
15232 (recenter-positions): New defcustom.
15233 (recenter-top-bottom): Rewrite to use `recenter-positions'.
15234 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
15235
15236 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
15237
15238 Improve integration of Tramp and ange-ftp in eshell.
15239
15240 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
15241 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
15242 (eshell/sudo): Flatten args. Let-bind `default-directory'.
15243
15244 * eshell/esh-util.el (top): Require also Tramp when compiling.
15245 (eshell-directory-files-and-attributes): Check for FTP remote
15246 connection.
15247 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
15248 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
15249 (eshell-file-attributes): Handle ".". Return `entry'.
15250
15251 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
15252 (ange-ftp-directory-files-and-attributes)
15253 (ange-ftp-real-directory-files-and-attributes): New defuns.
15254
15255 * net/tramp.el (tramp-maybe-open-connection): Open the remote
15256 shell with "exec" when possible. This prevents trailing prompts
15257 in `start-file-process'.
15258
15259 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
15260
15261 Try and remove assumptions about point-min==1.
15262 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
15263 (rng-compute-mode-line-string): Show the validation percentage in
15264 terms of the narrowed text, not the widened text.
15265 (rng-do-some-validation): Don't catch internal errors when debugging.
15266 (rng-first-error): Simplify.
15267 (rng-after-change-function): Remove work around. AFAIK the bug has
15268 been fixed a while ago.
15269
15270 * image-mode.el (image-minor-mode): Exit more gracefully when the image
15271 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
15272
15273 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
15274
15275 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
15276 `cd' doesn't always do it for us (bug#5067).
15277
15278 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
15279 on 2009-10-25 as part of some other change (bug#5067).
15280
15281 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
15282
15283 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
15284 `suspicious'.
15285 (byte-compile-warnings): Use byte-compile-warning-types.
15286 (byte-compile-save-excursion): Warn about use of set-buffer right
15287 after save-excursion.
15288
15289 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
15290 the excursion as well.
15291
15292 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
15293
15294 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
15295 providing a Tramp related implementation of "su" and "sudo".
15296 (eshell-unix-initialize): Add "su" and "sudo".
15297
15298 2009-11-27 Daiki Ueno <ueno@unixuser.org>
15299
15300 * net/socks.el (socks-send-command): Convert binary request to
15301 unibyte before sending. This fixes mishandling of some port
15302 numbers such as 129.
15303
15304 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
15305
15306 * help.el (describe-bindings-internal): Remove `interactive'.
15307
15308 * man.el (Man-completion-table): Trim a terminating "(".
15309 Remove the space between name page a section.
15310 Add the command's description on the `help-echo' property.
15311 Remove `process-connection-type' binding since it's unused by
15312 call-process.
15313 Provide completion for the "<section> <name>" format as well.
15314 (Man-default-man-entry): Remove spurious var shadowing the argument.
15315
15316 2009-11-26 Kevin Ryde <user42@zip.com.au>
15317
15318 * log-view.el: Add "Keywords: tools", since its other keywords
15319 aren't in finder-known-keywords, and following vc.el.
15320
15321 * sha1.el (sha1-string-external): default-directory "/" in case
15322 otherwise non-existent. process-connection-type pipe for touch of
15323 efficiency recommended by elisp manual. (An aside in Bug#3911.)
15324
15325 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
15326
15327 Misc coding convention cleanups.
15328 * htmlfontify.el (hfy-init-kludge-hook): Rename from
15329 hfy-init-kludge-hooks.
15330 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
15331 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
15332 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
15333 and push.
15334 (hfy-slant, hfy-weight): Use tables rather than code.
15335 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
15336 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
15337 (hfy-face-attr-for-class): Initialize `face-spec' directly.
15338 (hfy-face-to-css): Remove `nconc' with single arg.
15339 (hfy-p-to-face-lennart): Use `or'.
15340 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
15341 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
15342 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
15343 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
15344 (hfy-force-fontification): Use run-hooks.
15345
15346 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
15347
15348 Various minor fixes.
15349 * htmlfontify.el (hfy-default-header): Add toggle_invis since
15350 Javascript belongs in the header, not the body.
15351 (hfy-javascript): Remove.
15352 (hfy-fontify-buffer): Don't insert it any more.
15353 (hfy-face-at): Handle (face0 face1 face2) style face properties.
15354 Fix bug in invis handling when there were no invis props in a chunk.
15355
15356 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
15357
15358 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
15359
15360 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
15361
15362 * finder.el (finder-mode-map): Add a menu.
15363
15364 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
15365
15366 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
15367 "unsigned" structs.
15368
15369 (verilog-leap-to-head, verilog-backward-token): Handle "disable
15370 fork" statement better.
15371
15372 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
15373
15374 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
15375 (verilog-delete-auto, verilog-delete-empty-auto-pair)
15376 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
15377 Reported by Clay Douglass.
15378
15379 (verilog-auto-inst, verilog-auto-star-safe)
15380 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
15381 Fix removing "// Interfaces" when saving .* expansions.
15382 Reported by Pierre-David Pfister.
15383
15384 2009-11-26 Glenn Morris <rgm@gnu.org>
15385
15386 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
15387 the scope.
15388
15389 2009-11-25 Johan Bockgård <bojohan@gnu.org>
15390
15391 * vc-annotate.el (vc-annotate-revision-previous-to-line):
15392 Really use previous revision.
15393
15394 2009-11-25 Kevin Ryde <user42@zip.com.au>
15395
15396 * man.el (Man-completion-table): default-directory "/" in case
15397 doesn't otherwise exist. process-environment COLUMNS=999 so as
15398 not to truncate long names. process-connection-type pipe to avoid
15399 any chance of hitting the pseudo-tty TIOCGWINSZ.
15400 (man): completion-ignore-case t for friendliness and since man
15401 itself is case-insensitive on the command line.
15402 Further to Bug#3717.
15403
15404 * arc-mode.el: Add "Keywords: files", so the details in its
15405 commentary can be reached from finder-by-keyword.
15406 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
15407 editing mode, but it's comms related and sgml-mode.el has "comm"
15408 on that basis too.
15409 * textmodes/bibtex-style.el: Add "Keywords: tex".
15410 * international/isearch-x.el, international/ja-dic-cnv.el:
15411 * international/ja-dic-utl.el, international/kkc.el:
15412 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
15413
15414 2009-11-25 Juri Linkov <juri@jurta.org>
15415
15416 * man.el (Man-completion-table): Modify regexp to include
15417 section names to completion strings. (Bug#3717)
15418
15419 2009-11-25 Juri Linkov <juri@jurta.org>
15420
15421 Search recursively in gzipped files. (Bug#4982)
15422
15423 * progmodes/grep.el (grep-highlight-matches): Add new options
15424 `always' and `auto'. Doc fix.
15425 (grep-process-setup): Check `grep-highlight-matches' for
15426 `auto-detect' to determine the need to compute grep defaults.
15427 Move Windows/DOS specific --colors settings handling
15428 to `grep-compute-defaults'. Check `grep-highlight-matches'
15429 to get the value of "--color=".
15430 (grep-compute-defaults): Compute `grep-highlight-matches' when it
15431 has the value `auto-detect'. Move Windows/DOS specific settings
15432 from `grep-process-setup'.
15433 (zrgrep): New command with alias `rzgrep'.
15434
15435 2009-11-25 Juri Linkov <juri@jurta.org>
15436
15437 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
15438 to nil instead of switching off view-mode. (Bug#4896)
15439
15440 2009-11-25 Juri Linkov <juri@jurta.org>
15441
15442 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
15443
15444 * mwheel.el (mwheel-scroll-up-function)
15445 (mwheel-scroll-down-function): New defvars.
15446 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
15447 `scroll-up', and `mwheel-scroll-down-function' instead of
15448 `scroll-down'.
15449
15450 * doc-view.el (doc-view-scroll-up-or-next-page)
15451 (doc-view-scroll-down-or-previous-page): Add optional ARG.
15452 Use this ARG in the call to image-scroll-up/image-scroll-down.
15453 Change `interactive' spec to "P". Goto next/previous page only
15454 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
15455 SPC/DEL case). Doc fix.
15456 (doc-view-next-line-or-next-page)
15457 (doc-view-previous-line-or-previous-page): Rename arg to ARG
15458 for consistency.
15459 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
15460 `doc-view-scroll-up-or-next-page', and buffer-local
15461 `mwheel-scroll-down-function' to
15462 `doc-view-scroll-down-or-previous-page'.
15463
15464 2009-11-25 Juri Linkov <juri@jurta.org>
15465
15466 Provide additional default values (directories at other Dired
15467 windows) via M-n in the minibuffer of some Dired commands.
15468
15469 * dired-aux.el (dired-diff, dired-compare-directories)
15470 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
15471 `minibuffer-default' in `minibuffer-with-setup-hook'.
15472 (dired-dwim-target-directory): Find a window that displays Dired
15473 buffer instead of failing when the next window is not Dired.
15474 Use `get-window-with-predicate' to find for the next Dired window.
15475 (dired-dwim-target-defaults): New function.
15476
15477 * ediff-util.el (ediff-read-file-name):
15478 Use `dired-dwim-target-defaults' to set `minibuffer-default'
15479 in `minibuffer-with-setup-hook'.
15480
15481 2009-11-25 Juri Linkov <juri@jurta.org>
15482
15483 Provide additional default values (file name at point or at the
15484 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
15485
15486 * minibuffer.el (read-file-name-defaults): New function.
15487 (read-file-name): Reset `minibuffer-default' to nil when
15488 it duplicates initial input `insdef'.
15489 Bind `minibuffer-default-add-function' to lambda that
15490 calls `read-file-name-defaults' in `minibuffer-selected-window'.
15491 (minibuffer-insert-file-name-at-point): New command.
15492
15493 * files.el (file-name-at-point-functions): New defcustom.
15494 (find-file-default): Remove defvar.
15495 (find-file-read-args): Don't use `find-file-default'.
15496 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15497 to `read-file-name'.
15498 (find-file-literally): Use `read-file-name' with
15499 `confirm-nonexistent-file-or-buffer'.
15500
15501 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
15502
15503 * dired.el (dired-read-dir-and-switches):
15504 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15505 to `read-file-name'.
15506 (dired-file-name-at-point): New function.
15507 (dired-mode): Add hook `dired-file-name-at-point' to
15508 `file-name-at-point-functions'.
15509
15510 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15511
15512 Really make the *Completions* window soft-dedicated (bug#5030).
15513 * window.el (window--display-buffer-2): Add `dedicated' argument.
15514 (display-buffer): Pass it when needed so the dedicated flag is set
15515 after calling set-window-buffer, which would otherwise reset it.
15516
15517 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15518
15519 * progmodes/meta-mode.el (meta-complete-symbol):
15520 * progmodes/etags.el (complete-tag):
15521 * mail/mailabbrev.el (mail-abbrev-complete-alias):
15522 Use completion-in-region.
15523
15524 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
15525 (dabbrev-completion): Use completion-in-region.
15526 (dabbrev--abbrev-at-point): Simplify regexp.
15527
15528 * abbrev.el (abbrev--before-point): Use word-motion functions
15529 if :regexp is not specified (bug#5031).
15530
15531 * subr.el (string-prefix-p): New function.
15532
15533 * man.el (Man-completion-cache): New var.
15534 (Man-completion-table): Use it.
15535
15536 * vc.el (vc-print-log-internal): Make `limit' optional for better
15537 compatibility (e.g. with vc-annotate.el).
15538
15539 2009-11-24 Kevin Ryde <user42@zip.com.au>
15540
15541 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
15542 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
15543
15544 * emacs-lisp/elint.el (elint-add-required-env): Better error message
15545 when .el source file not found or other error.
15546
15547 2009-11-24 Markus Triska <markus.triska@gmx.at>
15548
15549 * linum.el (linum-update-window): Ignore intangible (bug#4996).
15550
15551 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
15552
15553 Handle the [back] button properly (bug#4979).
15554 * descr-text.el (describe-text-properties): Add a `buffer' argument.
15555 Use help-setup-xref, help-buffer, and with-help-window.
15556 (describe-char): Add `buffer' argument.
15557 Pass proper command to help-setup-xref. Don't meddle with
15558 help-xref-stack-item directly.
15559 (describe-text-category): Use with-help-window and help-buffer.
15560
15561 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
15562 for the displayed buffer (bug#4887).
15563
15564 * man.el (Man-completion-table): New function.
15565 (man): Use it.
15566
15567 2009-11-24 David Reitter <david.reitter@gmail.com>
15568
15569 * vc-git.el (vc-git-registered): Use checkout directory (where
15570 .git is) rather than the file's directory and a relative path spec
15571 to work around a bug in git.
15572
15573 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
15574
15575 Improve handling of processes on remote hosts.
15576
15577 * eshell/esh-util.el (eshell-path-env): New defvar.
15578 (eshell-parse-colon-path): New defun.
15579 (eshell-file-attributes): Use `eshell-parse-colon-path'.
15580
15581 * eshell/esh-ext.el (eshell-search-path):
15582 Use `eshell-parse-colon-path'.
15583 (eshell-remote-command): Remove argument HANDLER.
15584 (eshell-external-command): Check for FTP remote connection.
15585
15586 * eshell/esh-proc.el (eshell-gather-process-output):
15587 Use `file-truename', in order to start also symlinked files.
15588 Apply `start-file-process' instead of `start-process'.
15589 Shorten `command' to the local file name part.
15590
15591 * eshell/em-cmpl.el (eshell-complete-commands-list):
15592 Use `eshell-parse-colon-path'.
15593
15594 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
15595
15596 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
15597 to `eshell-directory-change-hook'.
15598
15599 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
15600
15601 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
15602 because it could be enabled automatically if view-read-only is non-nil.
15603
15604 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
15605
15606 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
15607 made on 2009-11-22.
15608
15609 2009-11-24 Glenn Morris <rgm@gnu.org>
15610
15611 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
15612 deleted variable bookmark-bmenu-bookmark-column.
15613
15614 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
15615
15616 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
15617
15618 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
15619
15620 * net/browse-url.el (browse-url-filename-alist): On Windows, add
15621 two slashes to the "file:" prefix.
15622 (browse-url-file-url): De-munge Cygwin filenames before passing
15623 them to Windows browser.
15624 (browse-url-default-windows-browser): Use call-process.
15625
15626 2009-11-23 Juri Linkov <juri@jurta.org>
15627
15628 Implement DocView Continuous mode. (Bug#4896)
15629 * doc-view.el (doc-view-continuous-mode): New defcustom.
15630 (doc-view-mode-map): Bind C-n/<down> to
15631 `doc-view-next-line-or-next-page', C-p/<up> to
15632 `doc-view-previous-line-or-previous-page'.
15633 (doc-view-next-line-or-next-page)
15634 (doc-view-previous-line-or-previous-page): New commands.
15635
15636 2009-11-23 Juri Linkov <juri@jurta.org>
15637
15638 Implement Isearch in comint input history. (Bug#3746)
15639 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
15640 `isearch-mode-hook'.
15641 (comint-history-isearch): New defcustom.
15642 (comint-history-isearch-backward)
15643 (comint-history-isearch-backward-regexp): New commands.
15644 (comint-history-isearch-message-overlay): New buffer-local variable.
15645 (comint-history-isearch-setup, comint-history-isearch-end)
15646 (comint-goto-input, comint-history-isearch-search)
15647 (comint-history-isearch-message, comint-history-isearch-wrap)
15648 (comint-history-isearch-push-state)
15649 (comint-history-isearch-pop-state): New functions.
15650
15651 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
15652
15653 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
15654 return.
15655 (tramp-handle-make-symbolic-link)
15656 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
15657 Quote file names.
15658 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
15659 (tramp-handle-process-file): Use it.
15660
15661 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
15662
15663 * window.el (move-to-window-line-last-op): Remove.
15664 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
15665
15666 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
15667
15668 Make M-r mirror the new cycling behavior of C-l.
15669 * window.el (move-to-window-line-last-op): New var.
15670 (move-to-window-line-top-bottom): New command.
15671 (global-map): Bind M-r move-to-window-line-top-bottom.
15672
15673 2009-11-23 Sven Joachim <svenjoac@gmx.de>
15674
15675 * dired-x.el (dired-guess-shell-alist-default):
15676 Support xz format. (Bug#4953)
15677
15678 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
15679
15680 * emulation/viper-cmd.el: Use viper-last-command-char instead of
15681 last-command-char/last-command-event.
15682 (viper-prefix-arg-value): Do correct conversion of event-char for
15683 XEmacs.
15684
15685 * emulation/viper-util.el, emulation/viper.el:
15686 Use viper-last-command-char instead of
15687 last-command-char/last-command-event.
15688
15689 * ediff-init.el, ediff-mult.el, ediff-util.el:
15690 Replace last-command-char and last-command-event
15691 with (ediff-last-command-char) everywhere.
15692
15693 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
15694 created in fundamental mode.
15695
15696 * ediff.el (ediff-version): Revert the change of interactive-p to
15697 called-interactively-p.
15698
15699 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
15700
15701 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
15702 generation from word-movement command names.
15703
15704 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
15705
15706 * cus-start.el (all): Add native condition for font-use-system-font.
15707
15708 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
15709
15710 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
15711 Correct the patch from 2009-11-18. (Bug#3910)
15712
15713 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
15714
15715 * progmodes/subword.el: Rename from lisp/subword.el.
15716
15717 * subword.el: Rename to progmodes/subword.el.
15718
15719 * Makefile.in (ELCFILES): Adapt to subword.el move.
15720
15721 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15722 Stefan Monnier <monnier@iro.umontreal.ca>
15723
15724 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
15725 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
15726 (bookmark-bmenu-show-filenames): Use push.
15727 (bookmark-bmenu-hide-filenames): Use local var instead of
15728 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
15729 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
15730 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
15731 filenames now that the bookmark names are always available.
15732
15733 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
15734
15735 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
15736 (bookmark-search-pattern): Move and leave unbound.
15737 (bookmark-bmenu-mode-map): Change binding.
15738 (bookmark-read-search-input): Simplify.
15739 Don't use text-char-description. Don't error on non-char events.
15740 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
15741 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
15742 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
15743 Use a local var for the timer.
15744 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
15745 (i.e. bookmark-bmenu-search).
15746
15747 2009-11-21 Glenn Morris <rgm@gnu.org>
15748
15749 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
15750
15751 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
15752
15753 * net/browse-url.el (browse-url-default-windows-browser):
15754 Use cygstart for cygwin.
15755
15756 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
15757
15758 * bookmark.el: Formatting and doc fixes only:
15759 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
15760 (bookmark-bmenu-search): Wrap to fit within 80 columns.
15761 Minor grammar and punctuation fixes in doc string.
15762 (bookmark-read-search-input): Adjust to fit within 80 columns.
15763
15764 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
15765
15766 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
15767 (c-backward-into-nomenclature): Adapt to subword renaming.
15768
15769 * subword.el (subword-forward, subword-backward, subword-mark)
15770 (subword-kill, subword-backward-kill, subword-transpose)
15771 (subword-downcase, subword-upcase, subword-capitalize)
15772 (subword-forward-internal, subword-backward-internal):
15773 Rename from forward-subword, backward-subword, mark-subword,
15774 kill-subword, backward-kill-subword, transpose-subwords,
15775 downcase-subword, upcase-subword, capitalize-subword,
15776 forward-subword-internal, backward-subword-internal.
15777
15778 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15779
15780 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
15781 New options.
15782 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
15783 New vars.
15784 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
15785 (bookmark-bmenu-filter-alist-by-regexp)
15786 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
15787 (bookmark-bmenu-search): New command.
15788 (bookmark-bmenu-mode-map): Bind it.
15789
15790 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
15791
15792 * progmodes/cc-cmds.el: declare-functioned forward-subword and
15793 backward-subword to quit the byte-compiler.
15794
15795 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
15796
15797 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
15798
15799 * progmodes/cc-cmds.el (c-update-modeline)
15800 (c-forward-into-nomenclature, c-backward-into-nomenclature):
15801 Refer to subword.el functions instead of cc-subword.el.
15802
15803 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
15804 subword.el functions instead of cc-subword.el.
15805
15806 * progmodes/cc-subword.el: Rename to subword.el.
15807 * subword.el: Rename from progmodes/cc-subword.el.
15808 (subword-mode-map): Rename from c-subword-mode-map.
15809 (subword-mode): Rename from c-subword-mode.
15810 (global-subword-mode): New global minor mode.
15811 (forward-subword): Rename from c-forward-subword.
15812 (backward-subword): Rename from c-backward-subword.
15813 (mark-subword): Rename from c-mark-subword.
15814 (kill-subword): Rename from c-kill-subword.
15815 (backward-kill-subword): Rename from c-backward-kill-subword.
15816 (transpose-subwords): Rename from c-tranpose-subword.
15817 (downcase-subword): Rename from c-downcase-subword.
15818 (capitalize-subword): Rename from c-capitalize-subword.
15819 (forward-subword-internal): Rename from c-forward-subword-internal.
15820 (backward-subword-internal): Rename from c-backward-subword-internal.
15821
15822 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
15823
15824 * vc.el (vc-deduce-fileset): Allow non-state changing operations
15825 from a dired buffer.
15826 (vc-dired-deduce-fileset): New function.
15827 (vc-root-diff, vc-print-root-log): Use it.
15828
15829 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
15830 nil LIMIT argument to vc-print-log-internal.
15831
15832 2009-11-20 Glenn Morris <rgm@gnu.org>
15833
15834 * Makefile.in (ELCFILES): Regenerate.
15835
15836 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
15837
15838 * calc/calc.el (calc-set-mode-line):
15839 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15840 (math-format-number): Rename `math-format-complement-signed' to
15841 `math-format-twos-complement'.
15842
15843 * calc/calc-bin.el (math-format-twos-complement): Rename from
15844 math-format-complement-signed.
15845 (calc-radix): Rename `calc-complement-signed-mode' to
15846 `calc-twos-complement-mode'.
15847 (calc-octal-radix, calc-hex-radix): Add an argument for
15848 two's complement.
15849
15850 * calc/calc-embed.el (calc-embedded-mode-vars):
15851 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15852
15853 * calc/calc-ext.el (calc-init-extensions):
15854 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15855 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
15856
15857 * calc/calc-units.el (math-build-units-table-buffer):
15858 Let `calc-twos-complement-mode' be nil.
15859
15860 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
15861 entries.
15862
15863 * calc/calc-vec.el (calcFunc-vunpack):
15864 * calc/calc-aent.el (calc-do-calc-eval):
15865 * calc/calc-forms.el (math-format-date):
15866 * calc/calc-graph.el (calc-graph-plot):
15867 * calc/calc-math.el (math-use-emacs-fn):
15868 * calc/calccomp.el (math-compose-expr):
15869 Let `calc-twos-complement-mode' be nil.
15870
15871 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
15872
15873 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
15874 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
15875 * minibuffer.el (completion-in-region-functions): New hook.
15876 (completion-in-region): New function.
15877 * emacs-lisp/lisp.el (lisp-complete-symbol):
15878 * pcomplete.el (pcomplete-std-complete): Use it.
15879
15880 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
15881
15882 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
15883 (latex-complete-alist): New vars.
15884 (latex-string-prefix-p, latex-complete-bibtex-keys)
15885 (latex-complete-envnames, latex-complete-refkeys)
15886 (latex-complete-data): New functions.
15887 (latex-complete, latex-indent-or-complete): New commands.
15888
15889 * window.el (display-buffer-mark-dedicated): New var.
15890 (display-buffer): Obey it.
15891 * minibuffer.el (minibuffer-completion-help): Use it.
15892
15893 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
15894
15895 * filecache.el (file-cache-add-file): Use push and cons.
15896 (file-cache-delete-file-regexp): Use push.
15897 (file-cache-complete): Use completion-in-region.
15898
15899 * simple.el (with-wrapper-hook): Fix thinko.
15900
15901 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
15902 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
15903 Use with-current-buffer and string-to-number.
15904 (hfy-fallback-colour-values): Use assoc-string.
15905 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
15906 (hfy-face-at): Remove unused var `found-face'.
15907 (hfy-compile-stylesheet): Remove unused var `css'.
15908 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
15909 and `orig-buffer'.
15910 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
15911 Use with-current-buffer.
15912 (hfy-text-p): Use expand-file-name and fewer setq.
15913
15914 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
15915
15916 * htmlfontify.el, hfy-cmap.el: New files.
15917
15918 2009-11-19 Juri Linkov <juri@jurta.org>
15919
15920 * minibuffer.el (completions-format): New defcustom.
15921 (completion--insert-strings): Implement vertical format.
15922
15923 * simple.el (switch-to-completions): Move point to the first
15924 completion when point was at the beginning of the buffer.
15925
15926 2009-11-19 Juri Linkov <juri@jurta.org>
15927
15928 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
15929
15930 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
15931
15932 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
15933
15934 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
15935 (mail-signature): Change default to t.
15936 (mail-from-style): Deprecate `system-default' value.
15937 (mail-insert-from-field): For default value of mail-from-style,
15938 default to `angles' unless `angles' needs quoting and `parens'
15939 does not.
15940 (mail-citation-prefix-regexp): Use citation regexp from
15941 message-mode.
15942
15943 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
15944
15945 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
15946 Set variables for computing the prompt for reading password.
15947
15948 2009-11-19 Glenn Morris <rgm@gnu.org>
15949
15950 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
15951
15952 * textmodes/flyspell.el (sgml-lexical-context): Declare.
15953
15954 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
15955 (newsticker-treeview-listwindow-height): Fix custom type.
15956
15957 2009-11-19 Kenichi Handa <handa@m17n.org>
15958
15959 * descr-text.el (describe-char-padded-string): Compose with TAB
15960 only if there's a font for CH.
15961 (describe-char): Fix the condition for detecting a trivial composition.
15962
15963 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
15964
15965 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
15966 more accurate version of the regexp. (Bug#3910)
15967
15968 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
15969
15970 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
15971
15972 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
15973
15974 * font-setting.el (font-use-system-font): Declare for byte-compiler.
15975 (font-setting-change-default-font): Fix typo in docstring.
15976
15977 2009-11-18 Alan Mackenzie <acm@muc.de>
15978
15979 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
15980
15981 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
15982
15983 * font-setting.el (font-use-system-font): Move ...
15984
15985 * cus-start.el (all): ... to here.
15986
15987 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
15988
15989 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
15990 Don't set `ad-return-value' if `ad-do-it' doesn't.
15991
15992 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
15993 modification time.
15994
15995 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
15996
15997 * menu-bar.el: Put "Use system font" in Option-menu.
15998 (menu-bar-options-save): Add font-use-system-font.
15999
16000 * loadup.el: If feature system-font-setting or font-render-setting is
16001 there, load font-setting.
16002
16003 * Makefile.in (ELCFILES): Add font-settings.el.
16004 * font-setting.el: New file.
16005
16006 2009-11-17 Glenn Morris <rgm@gnu.org>
16007
16008 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
16009
16010 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
16011 Preserve point in the list buffer. (Bug#4939)
16012 Use point-at-eol.
16013 (newsticker--treeview-list-update-highlight)
16014 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
16015
16016 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
16017
16018 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
16019 Remove.
16020
16021 * calc/calc-ext.el (calc-init-extensions): Remove references to
16022 symclip.
16023
16024 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
16025
16026 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
16027 * calc/calc-help.el (calc-b-prefix-help): Remove references to
16028 `calc-symclip'.
16029
16030 2009-11-16 Kevin Ryde <user42@zip.com.au>
16031
16032 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
16033 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
16034
16035 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
16036 (lm-keywords-list): Allow comma-only separator like "foo,bar".
16037 Ignore trailing spaces by omit-nulls to split-string (fixing
16038 regression from Emacs 21 due to the incompatible split-string
16039 change). (Bug #4928.)
16040
16041 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
16042
16043 * vc.el (vc-log-show-limit): Default to 2000.
16044 (vc-print-log-internal): Insert buttons to request more entries
16045 when limiting the output.
16046
16047 * vc-sccs.el (vc-sccs-print-log):
16048 * vc-rcs.el (vc-rcs-print-log):
16049 * vc-cvs.el (vc-cvs-print-log):
16050 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
16051 LIMIT is non-nil.
16052
16053 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
16054
16055 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
16056 error when `tramp-gvfs-dbus-event-vector' is set.
16057 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
16058
16059 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
16060
16061 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
16062
16063 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
16064
16065 * net/dbus.el (dbus-unregister-service): New defun.
16066 (dbus-register-property): Register the handlers of
16067 "org.freedesktop.DBus.Properties" for SERVICE.
16068 (dbus-property-handler): Fix docstring.
16069
16070 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
16071
16072 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
16073 Quote doc string reference in defvaralias as it is not in special form.
16074 (byte-compile-output-docform): Doc fix.
16075
16076 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
16077
16078 * calc/calc.el (math-2-word-size, math-half-2-word-size)
16079 (calc-complement-signed-mode): New variables.
16080 (calc-set-mode-line): Add indicator for twos-complements.
16081 (math-format-number): Format twos-complement notation.
16082
16083 * calc/calc-bin.el (calc-word-size): Reset the variables
16084 `math-2-word-size' and `math-half-2-word-size'.
16085 (math-format-complement-signed, math-symclip, calcFunc-symclip)
16086 (calc-symclip): New functions.
16087
16088 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
16089
16090 * calc/calc-embed.el (calc-embedded-mode-vars):
16091 Add `calc-complement-signed-mode' to the list of modes.
16092
16093 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
16094 (calc-b-oper-keys): Add `calc-symclip' to list.
16095
16096 * calc/calc-ext.el (math-read-number-fancy): Read complement
16097 signed numbers.
16098 (calc-init-extensions): Add binding for `calc-symclip'.
16099 Add autoload for `calcFunc-symclip' and `calc-symclip'.
16100
16101 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
16102 `calc-symclip'.
16103 (calc-modes-menu): Add item for twos complement mode.
16104
16105 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
16106
16107 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
16108
16109 * register.el (jump-to-register, insert-register): Handle Semantic
16110 tags. From commented-out advice in semantic/senator.el.
16111
16112 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
16113
16114 * vc.el (vc-log-show-limit): New variable.
16115 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
16116 when using a prefix argument.
16117 (vc-print-log-internal): Add new argument LIMIT.
16118
16119 * vc-svn.el (vc-svn-print-log):
16120 * vc-mtn.el (vc-mtn-print-log):
16121 * vc-hg.el (vc-hg-print-log):
16122 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
16123 pass it to the log command when set. Make the BUFFER argument
16124 non-optional.
16125
16126 * vc-sccs.el (vc-sccs-print-log):
16127 * vc-rcs.el (vc-rcs-print-log):
16128 * vc-git.el (vc-git-print-log):
16129 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
16130 ignore it. Make the BUFFER argument non-optional.
16131
16132 * bindings.el (mode-line-buffer-identification): Do not purecopy.
16133
16134 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
16135
16136 * dired.el (dired-mode-map): Move encryption items to "Operate"
16137 menu (Bug#4703).
16138
16139 * strokes.el (strokes-update-window-configuration): Make strokes
16140 buffer current before erasing (Bug#4906).
16141
16142 2009-11-15 Juri Linkov <juri@jurta.org>
16143
16144 * simple.el (set-mark-default-inactive): Add :type, :group
16145 and :version. (Bug#4876)
16146
16147 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
16148
16149 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
16150 (archive-unique-fname): ... here. (Bug#4929)
16151
16152 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
16153
16154 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
16155 with a real fix.
16156
16157 * novice.el (disabled-command-function): Add useful args.
16158 Setup the help buffer so that [back] works.
16159 Remove redundant call to help-mode.
16160 (disabled-command-function): Use `case'.
16161 (en/disable-command): New function extracted from enable-command.
16162 (enable-command, disable-command): Use it.
16163
16164 2009-11-14 Glenn Morris <rgm@gnu.org>
16165
16166 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
16167 constants. (Bug#4913)
16168
16169 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
16170
16171 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
16172
16173 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
16174 defined in C that have no doc-strings. (Bug#1063)
16175
16176 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
16177
16178 * cus-edit.el (data, files):
16179 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
16180
16181 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
16182
16183 * simple.el (shell-command): Doc fix (Bug#4891).
16184
16185 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
16186
16187 2009-11-14 Glenn Morris <rgm@gnu.org>
16188
16189 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
16190 statements for vc-diff, emerge-quit, and rmail-cease-edit.
16191 If they are already loaded, eval-after-load will do the right thing.
16192
16193 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
16194 compiling.
16195
16196 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
16197
16198 * simple.el (x-selection-owner-p): Declare.
16199 (read-mail-command): Use custom radio type rather than choice.
16200 (completion-no-auto-exit): Doc fix.
16201
16202 * custom.el (defgroup):
16203 * epg-config.el (epg): Doc fixes.
16204
16205 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
16206
16207 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
16208 * international/ccl.el (define-ccl-program): Do not purecopy the
16209 docstring, defconst does it anyway.
16210
16211 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
16212
16213 * add-log.el (add-change-log-entry): Avoid displaying the changelog
16214 a second time.
16215
16216 * x-dnd.el (x-dnd-maybe-call-test-function):
16217 * window.el (split-window-vertically):
16218 * whitespace.el (whitespace-help-on):
16219 * vc-rcs.el (vc-rcs-consult-headers):
16220 * userlock.el (ask-user-about-lock-help)
16221 (ask-user-about-supersession-help):
16222 * type-break.el (type-break-force-mode-line-update):
16223 * time-stamp.el (time-stamp-conv-warn):
16224 * terminal.el (te-set-output-log, te-more-break, te-filter)
16225 (te-sentinel, terminal-emulator):
16226 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
16227 (term-write-input-ring, term-check-source, term-start-output-log):
16228 (term-display-buffer-line, term-dynamic-list-completions):
16229 (term-ansi-make-term, serial-term):
16230 * subr.el (selective-display):
16231 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
16232 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
16233 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
16234 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
16235 (speedbar-remove-localized-speedbar-support)
16236 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
16237 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
16238 (speedbar-buffers-line-directory):
16239 * simple.el (shell-command-on-region, append-to-buffer)
16240 (prepend-to-buffer):
16241 * shadowfile.el (shadow-save-todo-file):
16242 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
16243 (scroll-bar-maybe-set-window-start):
16244 * sb-image.el (speedbar-image-dump):
16245 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
16246 (load-save-place-alist-from-file):
16247 * ps-samp.el (ps-print-message-from-summary):
16248 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
16249 (ps-background-image, ps-begin-job, ps-do-despool):
16250 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
16251 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
16252 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
16253 (pr-call-process, pr-file-list, pr-interface-save):
16254 * novice.el (disabled-command-function)
16255 (enable-command, disable-command):
16256 * mouse.el (mouse-buffer-menu-alist):
16257 * mouse-copy.el (mouse-kill-preserving-secondary):
16258 * macros.el (kbd-macro-query):
16259 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
16260 * informat.el (batch-info-validate):
16261 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
16262 * hippie-exp.el (try-expand-dabbrev-visible):
16263 * help-mode.el (help-make-xrefs):
16264 * help-fns.el (describe-variable):
16265 * generic-x.el (bat-generic-mode-run-as-comint):
16266 * finder.el (finder-mouse-select):
16267 * find-dired.el (find-dired-sentinel):
16268 * filesets.el (filesets-file-close):
16269 * files.el (list-directory):
16270 * faces.el (list-faces-display, describe-face):
16271 * facemenu.el (list-colors-display):
16272 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
16273 * epg.el (epg--process-filter, epg-cancel):
16274 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
16275 (epa--read-signature-type):
16276 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
16277 (emerge-file-names):
16278 * ehelp.el (electric-helpify):
16279 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
16280 * ediff-vers.el (rcs-ediff-view-revision):
16281 * ediff-util.el (ediff-setup):
16282 * ediff-mult.el (ediff-append-custom-diff):
16283 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
16284 (ediff-wordify):
16285 * echistory.el (Electric-command-history-redo-expression):
16286 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
16287 * disp-table.el (describe-display-table):
16288 * dired.el (dired-find-buffer-nocreate):
16289 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
16290 * dabbrev.el (dabbrev--same-major-mode-p):
16291 * chistory.el (list-command-history):
16292 * apropos.el (apropos-documentation):
16293 * allout.el (allout-obtain-passphrase):
16294 (allout-copy-exposed-to-buffer):
16295 (allout-verify-passphrase): Use with-current-buffer.
16296
16297 2009-11-13 Glenn Morris <rgm@gnu.org>
16298
16299 * Makefile.in (ELCFILES): Regenerate.
16300
16301 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
16302
16303 * net/dbus.el (dbus-registered-objects-table): Rename from
16304 `dbus-registered-functions-table', because it contains also properties.
16305 (dbus-unregister-object): Unregister also properties.
16306 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
16307 Use a timeout of 500 msec, in order to not block.
16308 (dbus-register-property, dbus-property-handler): New defuns.
16309
16310 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
16311
16312 * simple.el (minibuffer-default-add-completions): Drop deprecated
16313 4th arg.
16314
16315 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
16316
16317 * textmodes/artist.el (artist-mouse-choose-operation):
16318 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
16319 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
16320 (artist-compute-up-event-key): New function.
16321 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
16322
16323 2009-11-13 Kenichi Handa <handa@m17n.org>
16324
16325 * language/japan-util.el: Make sure that the value of jisx0208
16326 property is jisx0208 character.
16327
16328 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
16329
16330 * international/mule.el (auto-coding-regexp-alist): Only purecopy
16331 car or each item, not the whole list.
16332
16333 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
16334
16335 * minibuffer.el (minibuffer-completion-help):
16336 Use minibuffer-hide-completions.
16337
16338 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
16339
16340 * dired.el (dired-save-positions, dired-restore-positions): New funs.
16341 (dired-revert): Use them (bug#4880).
16342
16343 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
16344
16345 * tooltip.el (tooltip-frame-parameters): Undo previous change.
16346
16347 2009-11-12 Juri Linkov <juri@jurta.org>
16348
16349 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
16350 New functions.
16351 (find-file-literally-at-point): Alias of `ffap-literally'.
16352
16353 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
16354
16355 * textmodes/ispell.el (ispell-skip-region-alist):
16356 * textmodes/css-mode.el (auto-mode-alist):
16357 * progmodes/compile.el (auto-mode-alist):
16358 * international/mule.el (ctext-non-standard-encodings-alist)
16359 (ctext-non-standard-encodings-regexp):
16360 * simple.el (shell-command-switch, text-read-only):
16361 * replace.el (occur-mode-map):
16362 * paths.el (rmail-file-name):
16363 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
16364 * find-file.el (ff-special-constructs):
16365 * files.el (file-name-handler-alist):
16366 * composite.el: Purecopy strings.
16367
16368 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
16369
16370 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
16371
16372 * widget.el (define-widget): Purecopy the docstring.
16373 * international/mule-cmds.el (charset): Do not purecopy the
16374 docstring here, define-widget does it.
16375
16376 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
16377 * textmodes/bibtex-style.el (auto-mode-alist):
16378 * progmodes/inf-lisp.el (inferior-lisp-prompt):
16379 * progmodes/compile.el (compile-command):
16380 * language/korea-util.el (default-korean-keyboard):
16381 * international/mule-conf.el (file-coding-system-alist):
16382 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
16383 * tooltip.el (tooltip-frame-parameters):
16384 * newcomment.el (comment-end, comment-padding):
16385 * dired.el (dired-trivial-filenames):
16386 * comint.el (comint-file-name-prefix): Purecopy initial values.
16387
16388 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
16389
16390 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
16391 (tramp-advice-minibuffer-electric-tilde): Unload advices via
16392 `tramp-unload'.
16393 (tramp-advice-make-auto-save-file-name)
16394 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
16395 after removing the advice.
16396
16397 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
16398
16399 * progmodes/grep.el (grep-regexp-alist):
16400 * international/mule-cmds.el (iso-2022-control-alist):
16401 * emacs-lisp/timer.el (timer-duration-words):
16402 * subr.el (version-separator, version-regexp-alist):
16403 * minibuffer.el (completion-styles-alist):
16404 * faces.el (face-attribute-name-alist, list-faces-sample-text):
16405 Change defvars to defconsts.
16406
16407 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
16408 * loadup.el ("international/mule-conf"): Load the byte compiled version.
16409 * international/mule-conf.el: Allow to be byte compiled.
16410
16411 * international/mule.el (define-charset): Purecopy props.
16412 (load-with-code-conversion): Purecopy doc string and file name.
16413 (put-charset-property): Purecopy strings.
16414 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
16415
16416 * international/mule-cmds.el (register-input-method): Purecopy arguments.
16417 (define-char-code-property): Correctly purecopy the table.
16418
16419 * international/ccl.el (define-ccl-program): Purecopy the docstring.
16420
16421 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
16422
16423 * subr.el (add-hook): Purecopy strings.
16424 (eval-after-load): Purecopy load-history-regexp and the form.
16425
16426 * custom.el (custom-declare-group): Purecopy load-file-name.
16427
16428 * subr.el (menu-bar-separator): New defconst.
16429 * net/eudc.el (eudc-tools-menu):
16430 * international/mule-cmds.el (set-coding-system-map)
16431 (mule-menu-keymap):
16432 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
16433 * vc-hooks.el (vc-menu-map):
16434 * replace.el (occur-mode-map):
16435 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
16436 (menu-bar-edit-menu, menu-bar-goto-menu)
16437 (menu-bar-custom-menu, menu-bar-showhide-menu)
16438 (menu-bar-options-menu, menu-bar-tools-menu)
16439 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
16440 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
16441 (menu-bar-help-menu):
16442 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
16443 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
16444
16445 * term/x-win.el (x-gtk-stock-map):
16446 * progmodes/vera-mode.el (auto-mode-alist):
16447 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
16448 (inferior-lisp-program, inferior-lisp-load-command):
16449 * progmodes/hideshow.el (hs-special-modes-alist):
16450 * progmodes/gud.el (same-window-regexps):
16451 * progmodes/grep.el (grep-program, find-program, xargs-program):
16452 * net/telnet.el (same-window-regexps):
16453 * net/rlogin.el (same-window-regexps):
16454 * language/ethiopic.el (font-ccl-encoder-alist):
16455 * vc-sccs.el (vc-sccs-master-templates):
16456 * vc-rcs.el (vc-rcs-master-templates):
16457 * subr.el (cl-assertion-failed):
16458 * simple.el (next-error-overlay-arrow-position):
16459 * lpr.el (lpr-command):
16460 * locate.el (locate-ls-subdir-switches):
16461 * info.el (same-window-regexps, info)
16462 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
16463 * image-mode.el (image-mode, auto-mode-alist):
16464 * hippie-exp.el (hippie-expand-ignore-buffers):
16465 * format.el (format-alist):
16466 * find-dired.el (find-ls-subdir-switches, find-grep-options)
16467 (find-name-arg):
16468 * facemenu.el (facemenu-keybindings):
16469 * dired.el (dired-listing-switches, dired-chown-program):
16470 * diff.el (diff-switches, diff-command):
16471 * cus-edit.el (same-window-regexps):
16472 * bindings.el (mode-line-mule-info)
16473 (mode-line-buffer-identification): Purecopy strings.
16474
16475 2009-11-11 Juri Linkov <juri@jurta.org>
16476
16477 * simple.el (dired-get-filename) <declare-function>:
16478 Tell the byte-compiler about dired-get-filename.
16479 (shell-command): In Dired mode, get filename from the current line
16480 as the default value.
16481
16482 2009-11-10 Glenn Morris <rgm@gnu.org>
16483
16484 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
16485 * calendar/holidays.el, progmodes/cperl-mode.el:
16486 Update x-popup-menu declarations.
16487
16488 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
16489 (list-load-path-shadows): Use dolist.
16490 (list-load-path-shadows): Use with-current-buffer.
16491
16492 2009-11-10 Juri Linkov <juri@jurta.org>
16493
16494 * minibuffer.el (read-file-name): Support a list of default values
16495 in `default-filename'. Use the first file name where only one
16496 element is required. Doc fix.
16497
16498 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
16499
16500 * net/dbus.el (dbus-unregister-object): Release service, if no
16501 other method is registered for it.
16502
16503 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
16504
16505 * bookmark.el (bookmark-completing-read): Sort bookmark names if
16506 bookmark-sort-flag is non-nil (Bug#4653).
16507
16508 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
16509
16510 * emulation/cua-base.el: Add CUA property to some CC mode commands
16511 (Bug#4100).
16512
16513 2009-11-08 Kevin Ryde <user42@zip.com.au>
16514
16515 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
16516 at end of sentence (Bug#4818).
16517
16518 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
16519
16520 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16521 Handle "see declaration of" MSFT statements (Bug#4100).
16522
16523 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
16524
16525 * net/tramp.el (tramp-advice-make-auto-save-file-name)
16526 (tramp-advice-file-expand-wildcards): Unload via
16527 `ad-remove-advice'.
16528
16529 * net/trampver.el: Update release number.
16530
16531 2009-11-08 Kevin Ryde <user42@zip.com.au>
16532
16533 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
16534 `ad-do-it'.
16535
16536 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
16537
16538 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
16539 in order to keep context in SELinux.
16540
16541 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
16542
16543 * dired-aux.el (dired-query): Place cursor in echo area and allow
16544 C-g.
16545
16546 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
16547 menu item if not on a directory (Bug#4701).
16548
16549 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
16550
16551 Sync with Tramp 2.1.17.
16552
16553 * net/tramp.el (tramp-handle-copy-directory): Don't use
16554 `file-remote-p' (due to compatibility).
16555
16556 * net/tramp-compat.el (tramp-compat-copy-directory)
16557 (tramp-compat-delete-directory): New defuns.
16558
16559 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
16560 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
16561 Use `tramp-compat-delete-directory'.
16562
16563 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
16564 (tramp-smb-handle-delete-directory):
16565 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
16566
16567 * net/trampver.el: Update release number.
16568
16569 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
16570
16571 * tar-mode.el (tar-copy): Call write-region on the right buffer
16572 (Bug#4857).
16573
16574 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
16575 by hand, if necessary (Bug#4878).
16576
16577 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
16578
16579 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
16580 align size column (Bug#4839).
16581
16582 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
16583 statement.
16584
16585 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
16586
16587 * progmodes/ld-script.el (auto-mode-alist):
16588 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
16589
16590 * cus-face.el (custom-declare-face): Purecopy face spec.
16591
16592 2009-11-06 Kenichi Handa <handa@m17n.org>
16593
16594 * international/uni-bidi.el: Re-generated.
16595 * international/uni-category.el: Re-generated.
16596 * international/uni-combining.el: Re-generated.
16597 * international/uni-mirrored.el: Re-generated.
16598
16599 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
16600
16601 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
16602 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
16603 (tex-start-options, slitex-run-command, latex-run-command)
16604 (tex-run-command, tex-directory):
16605 * textmodes/ispell.el (ispell-html-skip-alists)
16606 (ispell-tex-skip-alists, ispell-tex-skip-alists):
16607 * textmodes/fill.el (adaptive-fill-first-line-regexp):
16608 (adaptive-fill-regexp):
16609 * textmodes/dns-mode.el (auto-mode-alist):
16610 * progmodes/python.el (interpreter-mode-alist):
16611 * progmodes/etags.el (tags-compression-info-list):
16612 * progmodes/etags.el (tags-file-name):
16613 * net/browse-url.el (browse-url-galeon-program)
16614 (browse-url-firefox-program):
16615 * mail/sendmail.el (mail-signature-file)
16616 (mail-citation-prefix-regexp):
16617 * international/mule-conf.el (eight-bit):
16618 * international/latexenc.el (latex-inputenc-coding-alist):
16619 * international/fontset.el (x-pixel-size-width-font-regexp):
16620 * emacs-lisp/warnings.el (warning-type-format):
16621 * emacs-lisp/trace.el (trace-buffer):
16622 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
16623 (emacs-lisp-mode-map):
16624 * calendar/holidays.el (holiday-solar-holidays)
16625 (holiday-bahai-holidays, holiday-islamic-holidays)
16626 (holiday-christian-holidays, holiday-hebrew-holidays)
16627 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
16628 (hebrew-holidays-1, holiday-oriental-holidays)
16629 (holiday-general-holidays):
16630 * x-dnd.el (x-dnd-known-types):
16631 * tool-bar.el (tool-bar):
16632 * startup.el (site-run-file):
16633 * shell.el (shell-dumb-shell-regexp):
16634 * rfn-eshadow.el (file-name-shadow-tty-properties)
16635 (file-name-shadow-properties):
16636 * paths.el (remote-shell-program, news-directory):
16637 * mouse.el ([C-down-mouse-3]):
16638 * menu-bar.el (menu-bar-tools-menu):
16639 * jka-cmpr-hook.el (jka-compr-load-suffixes)
16640 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
16641 (jka-compr-compression-info-list):
16642 * isearch.el (search-whitespace-regexp):
16643 * image-file.el (image-file-name-extensions):
16644 * find-dired.el (find-ls-option):
16645 * files.el (directory-listing-before-filename-regexp)
16646 (directory-free-space-args, insert-directory-program)
16647 (list-directory-brief-switches, magic-fallback-mode-alist)
16648 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
16649 (automount-dir-prefix):
16650 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
16651 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
16652 (face-font-registry-alternatives, face-font-registry-alternatives)
16653 (face-font-family-alternatives):
16654 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
16655 (facemenu-foreground-menu, facemenu-face-menu):
16656 * epa-hook.el (epa-file-name-regexp):
16657 * dnd.el (dnd-protocol-alist):
16658 * textmodes/rst.el (auto-mode-alist):
16659 * button.el (default-button): Purecopy strings.
16660
16661 2009-11-06 Glenn Morris <rgm@gnu.org>
16662
16663 * Makefile.in (ELCFILES): Update.
16664
16665 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
16666
16667 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
16668 * emacs-lisp/levents.el: Move to obsolete/levents.el.
16669
16670 * nxml/xsd-regexp.el (xsdre-gen-categories):
16671 * nxml/xmltok.el (xmltok-parse-entity):
16672 * nxml/rng-parse.el (rng-parse-validate-file):
16673 * nxml/rng-maint.el (rng-format-manual)
16674 (rng-manual-output-force-new-line):
16675 * nxml/rng-loc.el (rng-save-schema-location-1):
16676 * nxml/rng-cmpct.el (rng-c-parse-file):
16677 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
16678 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
16679
16680 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
16681
16682 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
16683 Remove extra save-excursions and make-variable-buffer-local's.
16684 Suggested by Stefan Monnier.
16685
16686 (verilog-getopt-file, verilog-module-inside-filename-p)
16687 (verilog-set-define): Merge GNU 1.35 and repair changes from
16688 switching to using with-current-buffer.
16689
16690 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
16691 being treated as a number and confusing AUTORESET.
16692 Reported by Dan Dever.
16693
16694 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
16695 Add verilog-auto-ignore-concat to fix backward compatibility with
16696 older verilog-modes. Reported by Dan Katz.
16697
16698 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
16699 containing closing anchors "...$".
16700
16701 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
16702 Reported by Wade Smith.
16703
16704 (verilog-batch-execute-func): Comment on function usage.
16705
16706 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
16707
16708 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
16709 for labels.
16710
16711 (verilog-label-re, verilog-calc-1): Support proper indent of named
16712 asserts.
16713
16714 (verilog-backward-token, verilog-basic-complete-re)
16715 (verilog-beg-of-statement, verilog-indent-re): Support proper
16716 indent of the assert statement at the beginning of a block of text.
16717
16718 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
16719 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
16720 tokens as begins.
16721
16722 2009-11-05 Glenn Morris <rgm@gnu.org>
16723
16724 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
16725 Emacs 19. (Bug#1531)
16726 (byte-compile-fix-header): Update for the above change.
16727 Drop test for epoch::version.
16728
16729 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
16730 * cus-dep.el (custom-make-dependencies):
16731 * finder.el (finder-compile-keywords):
16732 Use autoload-rubric's feature argument.
16733
16734 * calendar/diary-lib.el (top-level): Make load behave more like require.
16735
16736 * vc-git.el (vc-git-stash-map): Move definition before use.
16737
16738 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
16739
16740 * custom.el (custom-declare-group): Purecopy standard-value.
16741 (custom-declare-group): Purecopy custom-prefix.
16742
16743 * international/mule.el (load-with-code-conversion):
16744 Call do-after-load-evaluation unconditionally.
16745
16746 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
16747
16748 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
16749
16750 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
16751
16752 2009-11-04 Glenn Morris <rgm@gnu.org>
16753
16754 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
16755 (byte-compile-compatibility): Remove option.
16756 (byte-compile-close-variables, byte-compile-fix-header)
16757 (byte-compile-insert-header, byte-compile-output-docform)
16758 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
16759 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
16760 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
16761 (byte-compile-insert, byte-compile-defun):
16762 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
16763 (byte-defop-compiler19): Remove.
16764 Without byte-compile-compatibility, the 'emacs19-opcode property is not
16765 used by anything. Replace all calls with byte-defop-compiler.
16766
16767 2009-11-04 Juri Linkov <juri@jurta.org>
16768
16769 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
16770 (menu-bar-options-menu): Don't quote the `prop' arg of
16771 `menu-bar-make-mm-toggle'.
16772
16773 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
16774
16775 * calendar/calendar.el (cal-loaddefs):
16776 * calendar/diary-lib.el (diary-loaddefs):
16777 * calendar/holidays.el (hol-loaddefs):
16778 * eshell/esh-module.el (esh-groups): Load rather than require.
16779
16780 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
16781
16782 * calendar/todo-mode.el (todo-add-category): Don't hardcode
16783 point-min==1.
16784 (todo-top-priorities): Only display-buffer when called interactively.
16785 (todo-item-start): Don't save excursion point.
16786 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
16787 (todo-insert-item-here, todo-file-item, todo-remove-item):
16788 Adjust uses of todo-item-start and todo-item-end.
16789
16790 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
16791 (autoload-rubric): Don't use any more.
16792
16793 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
16794 and only put a prop if it is non-nil.
16795
16796 2009-11-03 Juri Linkov <juri@jurta.org>
16797
16798 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
16799 (menu-bar-options-menu): Fix list quoting (Bug#4429).
16800
16801 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
16802 and "Menu" to make top-level menu item visually one unit (like
16803 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
16804 multi-word menu items). Fix :help string for quit-window.
16805
16806 2009-11-03 Glenn Morris <rgm@gnu.org>
16807
16808 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
16809 (byte-compile-file-form-define-abbrev-table)
16810 (byte-compile-file-form-custom-declare-variable)
16811 (byte-compile-variable-ref, byte-compile-defvar):
16812 Whether or not a warning is enabled should only affect whether we issue
16813 the warning, not whether or not we collect the relevant data.
16814 Eg warnings can be turned on and off throughout the course of a file.
16815
16816 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
16817 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
16818
16819 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
16820
16821 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
16822 * play/mpuz.el (mpuz-create-buffer):
16823 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
16824 (lm-print-y,s,noise, lm-print-w0, lm-init):
16825 * play/gomoku.el (gomoku-prompt-for-move):
16826 * play/fortune.el (fortune-in-buffer):
16827 * play/dissociate.el (dissociated-press):
16828 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
16829 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
16830 * mail/supercite.el (sc-eref-show):
16831 * mail/smtpmail.el (smtpmail-send-it):
16832 * mail/rmailsum.el (rmail-summary-next-labeled-message)
16833 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
16834 (rmail-summary-undelete-many, rmail-summary-rmail-update)
16835 (rmail-summary-goto-msg, rmail-summary-expunge)
16836 (rmail-summary-get-new-mail, rmail-summary-search-backward)
16837 (rmail-summary-add-label, rmail-summary-output-menu)
16838 (rmail-summary-output-body):
16839 * mail/rfc822.el (rfc822-addresses):
16840 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
16841 * mail/mailpost.el (post-mail-send-it):
16842 * mail/hashcash.el (hashcash-generate-payment):
16843 * mail/feedmail.el (feedmail-run-the-queue)
16844 (feedmail-queue-send-edit-prompt-help-first)
16845 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
16846 (feedmail-deduce-address-list):
16847 * eshell/esh-ext.el (eshell-remote-command):
16848 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
16849 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
16850 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
16851 (viper-save-string-in-file, viper-valid-marker):
16852 * emulation/viper-keym.el (viper-toggle-key):
16853 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
16854 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
16855 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
16856 * emulation/viper-cmd.el (viper-exec-form-in-vi)
16857 (viper-exec-form-in-emacs, viper-brac-function):
16858 * emulation/viper.el (viper-delocalize-var):
16859 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
16860 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
16861 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
16862 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
16863 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
16864 * emulation/edt.el (edt-electric-helpify):
16865 * emulation/cua-rect.el (cua--rectangle-aux-replace):
16866 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
16867 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
16868 (cua-indent-to-global-mark-column):
16869 * calendar/diary-lib.el (calendar-mark-1):
16870 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
16871 Use with-current-buffer.
16872 * emulation/viper.el (viper-delocalize-var): Use dolist.
16873
16874 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
16875
16876 * comint.el (comint-replace-by-expanded-history-before-point):
16877 Replace !! with the previous input string literally (Bug#1795).
16878
16879 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
16880
16881 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
16882 to be made up of whitespace.
16883
16884 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
16885
16886 * minibuffer.el (read-file-name): Don't use file dialogs for
16887 remote directories (Bug#99).
16888
16889 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
16890
16891 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
16892
16893 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
16894
16895 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
16896 instead of deleting the window or frame.
16897
16898 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
16899
16900 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
16901 Support face colors.
16902
16903 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
16904 New function. Support face colors (Bug#1168).
16905 (tex-common-initialization): Use it.
16906
16907 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
16908 mode allows it (Bug#1168).
16909
16910 2009-10-31 Juri Linkov <juri@jurta.org>
16911
16912 * facemenu.el (list-colors-display): Don't mark buffer as
16913 modified (Bug#3948).
16914
16915 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
16916
16917 * international/mule-diag.el (list-character-sets-1):
16918 Minor message fix (Bug#3526).
16919
16920 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
16921 Fix face property (Bug#4834).
16922 (etags-list-tags, etags-tags-apropos-additional)
16923 (etags-tags-apropos, tags-select-tags-table): Add follow-link
16924 property.
16925
16926 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
16927 items.
16928
16929 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
16930
16931 * textmodes/two-column.el (2C-split):
16932 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
16933 * textmodes/tex-mode.el (tex-set-buffer-directory):
16934 * textmodes/spell.el (spell-region, spell-string):
16935 * textmodes/reftex.el (reftex-erase-buffer):
16936 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
16937 * textmodes/reftex-toc.el (reftex-toc-promote-action):
16938 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
16939 (reftex-select-item):
16940 * textmodes/reftex-ref.el (reftex-label-info-update)
16941 (reftex-offer-label-menu):
16942 * textmodes/reftex-index.el (reftex-index-change-entry)
16943 (reftex-index-phrases-info):
16944 * textmodes/reftex-global.el (reftex-create-tags-file)
16945 (reftex-save-all-document-buffers, reftex-ensure-write-access):
16946 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
16947 (reftex-view-crossref-from-bibtex):
16948 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
16949 (reftex-extract-bib-entries-from-thebibliography)
16950 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
16951 * textmodes/refbib.el (r2b-capitalize-title):
16952 (r2b-convert-buffer, r2b-help):
16953 * textmodes/page-ext.el (pages-directory)
16954 (pages-directory-goto-with-mouse):
16955 * textmodes/bibtex.el (bibtex-validate-globally):
16956 * textmodes/bib-mode.el (bib-capitalize-title):
16957 * textmodes/artist.el (artist-clear-buffer, artist-system):
16958 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
16959 (local-set-scheme-interaction-buffer, xscheme-process-filter)
16960 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
16961 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
16962 (xscheme-send-control-g-interrupt, xscheme-start-process)
16963 (xscheme-process-sentinel, xscheme-cd):
16964 * progmodes/verilog-mode.el (verilog-read-always-signals)
16965 (verilog-set-define, verilog-getopt-file)
16966 (verilog-module-inside-filename-p):
16967 * progmodes/sh-script.el:
16968 * progmodes/python.el (python-pdbtrack-get-source-buffer)
16969 (python-pdbtrack-grub-for-buffer, python-execute-file):
16970 * progmodes/octave-inf.el (inferior-octave):
16971 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
16972 (idlwave-shell-compile-helper-routines, idlwave-set-local)
16973 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
16974 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
16975 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
16976 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
16977 (idlwave-shell-filter, idlwave-shell-examine-highlight)
16978 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
16979 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
16980 (idlwave-shell-examine-display, idlwave-shell-run-region)
16981 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
16982 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
16983 * progmodes/idlw-help.el (idlwave-help-get-special-help)
16984 (idlwave-help-get-help-buffer):
16985 * progmodes/gud.el (gud-basic-call, gud-find-class)
16986 (gud-tooltip-activate-mouse-motions-if-enabled):
16987 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
16988 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
16989 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
16990 (ebrowse-tags-next-file):
16991 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
16992 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
16993 (ebnf-eps-finish-and-write):
16994 * progmodes/cpp.el (cpp-edit-save):
16995 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
16996 * progmodes/cc-defs.el (c-emacs-features):
16997 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
16998 (antlr-directory-dependencies):
16999 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
17000 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
17001 (ada-find-any-references, ada-make-filename-from-adaname)
17002 (ada-make-body-gnatstub):
17003 * obsolete/rnews.el (news-list-news-groups):
17004 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
17005 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
17006 * net/rcirc.el (rcirc-debug):
17007 * net/newst-treeview.el (newsticker--treeview-list-add-item)
17008 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
17009 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
17010 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
17011 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
17012 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
17013 (newsticker--treeview-list-clear-highlight)
17014 (newsticker--treeview-list-update-highlight)
17015 (newsticker--treeview-list-highlight-start)
17016 (newsticker--treeview-tree-update-highlight)
17017 (newsticker--treeview-get-selected-item)
17018 (newsticker-treeview-mark-list-items-old)
17019 (newsticker--treeview-set-current-node):
17020 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
17021 * net/newst-backend.el (newsticker--get-news-by-funcall)
17022 (newsticker--get-news-by-wget, newsticker--image-get)
17023 (newsticker--image-sentinel):
17024 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
17025 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
17026 (eudc-ph-close-session):
17027 * net/eudc.el (eudc-save-options):
17028 * language/thai-word.el (thai-update-word-table):
17029 * language/japan-util.el (japanese-string-conversion):
17030 * international/titdic-cnv.el (tsang-quick-converter)
17031 (ziranma-converter, ctlau-converter):
17032 * international/mule-cmds.el (describe-language-environment):
17033 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
17034 (skkdic-convert-postfix, skkdic-convert-prefix):
17035 (skkdic-convert-okuri-nasi, skkdic-convert):
17036 * emacs-lisp/re-builder.el (reb-update-overlays):
17037 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
17038 * emacs-lisp/gulp.el (gulp-send-requests):
17039 * emacs-lisp/find-gc.el (trace-call-tree):
17040 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
17041 (eieio-describe-generic):
17042 * emacs-lisp/eieio-base.el (eieio-persistent-read):
17043 * emacs-lisp/edebug.el (edebug-outside-excursion):
17044 * emacs-lisp/debug.el (debugger-make-xrefs):
17045 * emacs-lisp/cust-print.el (custom-prin1-to-string):
17046 * emacs-lisp/chart.el (chart-new-buffer):
17047 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
17048 Use with-current-buffer.
17049 * textmodes/artist.el (artist-system): Don't call
17050 copy-sequence on a fresh string.
17051 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
17052
17053 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
17054
17055 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
17056 is no item to edit. (Bug#4820)
17057 (todo-top-priorities): Restore point and restore narrowing in Todo
17058 buffer. (Bug#4820)
17059
17060 2009-10-31 Glenn Morris <rgm@gnu.org>
17061
17062 * net/ange-ftp.el (top-level): Don't require dired when compiling.
17063 (comint-last-output-start, comint-last-input-start)
17064 (comint-last-input-end): Don't defvar when compiling.
17065 (ange-ftp-process-file): Use bound-and-true-p.
17066
17067 * pcmpl-rpm.el (top-level): Move provide statement to end.
17068 (pcmpl-rpm): Remove unused custom group.
17069
17070 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
17071
17072 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
17073
17074 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
17075 (byte-compile-warnings): Add `constants' as an option.
17076 (byte-compile-callargs-warn, byte-compile-arglist-warn)
17077 (display-call-tree): Update for byte-compile-fdefinition possibly
17078 returning `(macro lambda ...)'. (Bug#4778)
17079 (byte-compile-variable-ref, byte-compile-setq-default):
17080 Respect `constants' member of byte-compile-warnings.
17081
17082 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
17083
17084 * vc-bzr.el (vc-bzr-revision-keywords): New var.
17085 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
17086 to "submit:".
17087
17088 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
17089
17090 * textmodes/ispell.el (ispell-skip-region-alist):
17091 * international/mule-conf.el (eight-bit):
17092 * international/fontset.el (font-encoding-alist):
17093 * startup.el (pure-space-overflow-message):
17094 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
17095 * paths.el (gnus-nntp-service, rmail-spool-directory)
17096 (term-file-prefix):
17097 * files.el (save-some-buffers-action-alist):
17098 * cmuscheme.el (same-window-buffer-names):
17099 * ielm.el (same-window-buffer-names):
17100 * shell.el (same-window-buffer-names):
17101 * mail/sendmail.el (same-window-buffer-names):
17102 * progmodes/inf-lisp.el (same-window-buffer-names):
17103 * bindings.el (mode-line-client)
17104 (mode-line-column-line-number-mode-map):
17105 * language/tibetan.el (tibetan-precomposition-rule-regexp)
17106 (tibetan-precomposed-regexp): Purecopy string arguments.
17107
17108 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17109
17110 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
17111 (calcDigit-nondigit):
17112 * calc/calc-yank.el (calc-copy-to-buffer):
17113 * calc/calc-units.el (calc-invalidate-units-table):
17114 * calc/calc-trail.el (calc-trail-yank):
17115 * calc/calc-store.el (calc-insert-variables):
17116 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
17117 * calc/calc-prog.el (calc-read-parse-table):
17118 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
17119 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
17120 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
17121 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
17122 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
17123 (calc-graph-name, calc-graph-find-command, calc-graph-view)
17124 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
17125 * calc/calc-ext.el (calc-realign):
17126 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
17127 (calc-embedded-finish-edit, calc-embedded-make-info)
17128 (calc-embedded-finish-command, calc-embedded-stack-change):
17129 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
17130
17131 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
17132 shell-dynamic-complete-filename in preference to
17133 comint-dynamic-complete-filename.
17134
17135 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
17136 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
17137 Don't consider whether the display supports colors.
17138 (bookmark-import-new-list): Use dolist.
17139 (bookmark-bmenu-mode-map): Move initialization into declaration.
17140 (bookmark-bmenu-list): Use dolist, simplify.
17141 (bookmark-show-all-annotations): Use save-selected-window and dolist.
17142 (menu-bar-final-items): Use push.
17143
17144 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
17145
17146 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
17147 it works on remote files.
17148 (vc-hg-diff): Don't pass any `--cwd' argument.
17149
17150 2009-10-27 Kevin Ryde <user42@zip.com.au>
17151
17152 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
17153 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
17154 (Further to Bug#3921).
17155
17156 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
17157
17158 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
17159 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
17160 calling `tramp-imap-put-file'. Add file size to the call.
17161 (tramp-imap-get-file-entries): Compute also user name, file size,
17162 and date.
17163 (tramp-imap-handle-insert-directory): Insert uid and gid.
17164 (tramp-imap-handle-file-attributes): Transform uid and gid
17165 according to `id-format'.
17166 (tramp-imap-put-file): New optional parameter SIZE. Encode file
17167 size in header X-Size.
17168
17169 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
17170
17171 * simple.el (transpose-subr): Give clearer error when the mark
17172 is not set. (Bug#4807)
17173
17174 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
17175
17176 * net/tramp.el (tramp-perl-file-truename): New defconst.
17177 Perl code contributed by yary <not.com@gmail.com> (tiny change).
17178 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
17179 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
17180 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
17181
17182 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
17183 Ignore `dired-call-process'.
17184 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
17185
17186 2009-10-26 Julian Scheid <julians37@gmail.com>
17187
17188 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
17189 (tramp-get-remote-readlink): New defun.
17190 (tramp-handle-file-truename): Use it.
17191 (tramp-handle-file-exists-p): Check file-attributes cache, assume
17192 file exists if cache value present.
17193 (tramp-check-cached-permissions): New defun.
17194 (tramp-handle-file-readable-p): Use it.
17195 (tramp-handle-file-writable-p): Likewise.
17196 (tramp-handle-file-executable-p): Likewise.
17197 (tramp-handle-file-name-all-completions): Try using Perl to get
17198 partial completions. When perl not available, combine `cd' and
17199 `ls' into single remote operation and use shell expansion to get
17200 partial remote directory contents. Set `file-exists-p' cache for
17201 directory and any files returned by ls. Change cache handling to
17202 support partial directory contents. Use error message emitted by
17203 remote `cd' or Perl code for local tramp-error.
17204 (tramp-do-copy-or-rename-file-directly): Avoid separate
17205 tramp-send-command-and-check call.
17206 (tramp-handle-process-file): Merge three remote ops into one.
17207 Do not flush all caches when `process-file-side-effects' is set.
17208 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
17209 file-attributes shows uid/gid to be set already.
17210
17211 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
17212
17213 * textmodes/tex-mode.el (tex-dvi-view-command)
17214 (tex-show-queue-command, tex-open-quote):
17215 * progmodes/ruby-mode.el (auto-mode-alist)
17216 (interpreter-mode-alist): Purecopy strings.
17217
17218 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
17219
17220 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
17221 string for the hook, keymap and abbrev table.
17222
17223 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
17224
17225 * x-dnd.el (x-dnd-xdnd-to-action):
17226 * startup.el (fancy-startup-text, fancy-about-text): Change to
17227 defconst from defvar.
17228
17229 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
17230
17231 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
17232 Purecopy initialization strings.
17233
17234 * mail/sendmail.el (mail-header-separator)
17235 (mail-personal-alias-file):
17236 * mail/rmail.el (rmail-default-dont-reply-to-names)
17237 (rmail-ignored-headers, rmail-retry-ignored-headers)
17238 (rmail-highlighted-headers, rmail-secondary-file-directory)
17239 (rmail-secondary-file-regexp):
17240 * files.el (null-device, file-name-invalid-regexp)
17241 (locate-dominating-stop-dir-regexp)
17242 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
17243 (interpreter-mode-alist): Use mapcar instead of mapc.
17244
17245 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
17246
17247 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
17248 (completion-ignored-extensions):
17249 (debug-ignored-errors): Purecopy strings.
17250
17251 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
17252
17253 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
17254 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
17255 (pcomplete--here): Use push.
17256
17257 * subr.el (all-completions): Declare the 4th arg obsolete.
17258
17259 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
17260
17261 * pcomplete.el (pcomplete-unquote-argument-function): New var.
17262 (pcomplete-unquote-argument): New function.
17263 (pcomplete--common-suffix): Always pay attention to case.
17264 (pcomplete--table-subvert): Quote and unquote the text.
17265 (pcomplete--common-quoted-suffix): New function.
17266 (pcomplete-std-complete): Use it and pcomplete-begin.
17267
17268 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
17269 we're inside a dedicated or minibuffer window.
17270
17271 2009-10-24 Karl Fogel <kfogel@red-bean.com>
17272
17273 * bookmark.el: Update documentation, especially documentation
17274 of `bookmark-alist' and of the bookmark file format.
17275 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
17276
17277 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
17278
17279 * mail/emacsbug.el (report-emacs-bug): Clarify that the
17280 keybindings apply to the mail buffer (Bug#4003). Shrink help
17281 window to buffer.
17282
17283 * whitespace.el (whitespace-mode, whitespace-newline-mode)
17284 (global-whitespace-mode, global-whitespace-newline-mode)
17285 (whitespace-toggle-options, global-whitespace-toggle-options):
17286 Doc fix (Bug#3660).
17287
17288 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
17289 of xmltok-start before the end tag was inserted (Bug#2840).
17290
17291 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
17292 patterns that are preceded by an open-paren (Bug#1320).
17293
17294 2009-10-24 Sven Joachim <svenjoac@gmx.de>
17295
17296 * files.el (delete-directory): Delete symlinks to directories with
17297 delete-file (Bug#4739).
17298
17299 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
17300
17301 * vc.el (vc-backend-for-registration): Rename from
17302 vc-get-backend-for-registration. Update callers.
17303
17304 * international/mule-cmds.el (set-language-info-alist):
17305 Purecopy lang-env.
17306 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
17307 (charset): Purecopy the name.
17308 (define-char-code-property): Purecopy string arguments.
17309
17310 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17311 Purecopy string arguments.
17312
17313 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
17314 * ediff-hook.el (menu-bar-ediff-menu):
17315 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
17316 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
17317
17318 2009-10-24 Glenn Morris <rgm@gnu.org>
17319
17320 * comint.el (comint-dynamic-list-completions):
17321 * term.el (term-dynamic-list-completions): Use choose-completion rather
17322 than obsolete alias mouse-choose-completion.
17323
17324 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
17325 file-cache-choose-completion.
17326 (file-cache-choose-completion): Handle an optional event argument.
17327 (file-cache-mouse-choose-completion): Make it an obsolete alias.
17328
17329 * progmodes/octave-mod.el (octave-complete-symbol):
17330 Use choose-completion if mouse-choose-completion is ever removed.
17331
17332 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
17333 use.
17334
17335 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
17336 compiler.
17337
17338 * vc-hooks.el (vc-responsible-backend): Fix declaration.
17339
17340 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
17341
17342 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
17343 Ignore `pred' now that we receive one.
17344 Handle test-completion specially.
17345
17346 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
17347
17348 * vc.el (vc-responsible-backend): Throw an error if not backend is
17349 found. Remove the REGISTER argument. Move the code dealing with
17350 REGISTER ...
17351 (vc-get-backend-for-registration): ... here. New function.
17352 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
17353 of vc-responsible-backend, pass the file name instead of the
17354 directory name.
17355
17356 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
17357
17358 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
17359 New funs.
17360 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
17361 (pcomplete-comint-setup): Don't modify a global var via
17362 accidental side-effects.
17363 (pcomplete-shell-setup): Adjust call accordingly.
17364 (pcomplete-parse-comint-arguments): Use push.
17365
17366 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
17367
17368 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
17369 Allow uncapitalized info node names (Bug#3921).
17370
17371 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
17372 to the DEBUG file (Bug#3781).
17373
17374 2009-10-23 Jari Aalto <jari.aalto@cante.net>
17375
17376 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
17377 dictionary entry (Bug#4579).
17378
17379 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
17380
17381 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
17382 from `rfn-eshadow-update-overlay-hook' when unloading.
17383 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
17384 "rsyncc". Adjust doc string.
17385 (tramp-temp-buffer-file-name): New buffer-local defvar.
17386 (tramp-handle-insert-file-contents, tramp-handle-write-region):
17387 Keep temporary file when indicated by method ("rsync" and
17388 "rsyncc").
17389 (tramp-handle-write-region): Handle APPEND.
17390 (tramp-delete-temp-file-function): New defun. Added to
17391 `kill-buffer-hook'.
17392
17393 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
17394
17395 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
17396
17397 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
17398
17399 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
17400 (color-name-rgb-alist, tty-standard-colors)
17401 (tty-color-mode-alist): Change to defconst.
17402
17403 * simple.el (mark-inactive): Purecopy message.
17404
17405 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
17406 (global-map, yank-menu):
17407 * textmodes/ispell.el (ispell-menu-map):
17408 * net/eudc.el (eudc-tools-menu):
17409 * international/mule-cmds.el (describe-language-environment-map)
17410 (setup-language-environment-map, set-coding-system-map)
17411 (mule-menu-keymap):
17412 * vc-hooks.el (vc-menu-entry, vc-menu-map):
17413 * replace.el (occur-mode-map):
17414 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
17415
17416 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
17417
17418 * calc/calc.el (math-read-number, math-read-number-simple):
17419 Use `save-match-data'.
17420
17421 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
17422
17423 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
17424 rather than fiddling with global-map bindings, since it should only
17425 affect per-terminal settings.
17426 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
17427
17428 * minibuffer.el (completion-table-with-terminator): Allow to specify
17429 the terminator-regexp.
17430
17431 * simple.el (switch-to-completions): Look for *Completions* in other
17432 frames as well.
17433
17434 * pcomplete.el: Allow the use of completion-tables.
17435 (pcomplete-std-complete): New command.
17436 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
17437 (pcomplete--here): Use a function for `form' rather than an expression,
17438 so it can be byte-compiled.
17439 (pcomplete-here, pcomplete-here*): Adjust accordingly.
17440 Add edebug declaration.
17441 (pcomplete-show-completions): Remove unused var `curbuf'.
17442 (pcomplete-do-complete, pcomplete-stub):
17443 Don't assume `completions' is a list of strings any more.
17444
17445 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
17446
17447 * find-dired.el (find-name-arg): Fix typo in docstring.
17448
17449 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
17450
17451 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
17452 (pcmpl-linux-fs-types): Same, and update to new modules layout.
17453
17454 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
17455 pcomplete-entries.
17456
17457 * comint.el (comint-read-input-ring, comint-write-input-ring)
17458 (comint-substitute-in-file-name)
17459 (comint-dynamic-complete-as-filename)
17460 (comint-dynamic-simple-complete)
17461 (comint-dynamic-list-filename-completions)
17462 (comint-dynamic-list-completions)
17463 (comint-redirect-results-list-from-process): Minor simplifications.
17464
17465 2009-10-21 Kevin Ryde <user42@zip.com.au>
17466
17467 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
17468 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
17469 the first form. And insert a blank line after ";;; Code" since
17470 that's usual style. (Bug#4612)
17471
17472 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
17473
17474 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
17475
17476 * minibuffer.el (completion-table-with-terminator): Properly implement
17477 boundaries, in case `terminator' appears in the suffix.
17478 (completion--embedded-envvar-table): Don't return boundaries if
17479 there's no valid completion. Simplify.
17480 (completion-file-name-table): New completion table extracted from
17481 completion--file-name-table.
17482 (completion--file-name-table): Use it.
17483 (read-file-name-predicate): Declare obsolete.
17484 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
17485 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
17486 completion-file-name-table, and use the `pred' argument.
17487 * files.el (locate-file-completion-table): Use the `pred' arg rather
17488 than read-file-name-predicate.
17489 (abbreviate-file-name): Use \` rather than ^ for BOS.
17490
17491 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
17492
17493 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
17494 vc-responsible-backend to register, it causes problems.
17495
17496 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
17497
17498 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
17499
17500 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
17501
17502 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
17503 (tramp-smb-handle-file-attributes): Use it.
17504 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
17505 (tramp-smb-handle-insert-directory): Use `mapc' rather than
17506 `mapcar'. Use `tramp-smb-get-stat-capability'.
17507 Add `dired-filename' text properties.
17508 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
17509 (tramp-smb-maybe-open-connection): Simplify check for smbclient
17510 version.
17511
17512 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
17513
17514 * subr.el (read-key-delay): Reduce to 0.01.
17515 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
17516 (bug#4751).
17517
17518 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
17519
17520 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
17521
17522 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
17523 (Info-menu): Remove unused vars `last' and `completions'.
17524 (Info-index-nodes): Remove unused var `node'.
17525
17526 * info.el (Info-complete-menu-item): Use complete-with-action.
17527
17528 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
17529
17530 Make vc-annotate work through copies and renames.
17531 * vc-annotate.el (vc-annotate-extract-revision-at-line):
17532 Return the file name too.
17533 (vc-annotate-revision-at-line)
17534 (vc-annotate-find-revision-at-line)
17535 (vc-annotate-revision-previous-to-line)
17536 (vc-annotate-show-log-revision-at-line): Update to get the file
17537 name from vc-annotate-extract-revision-at-line.
17538 (vc-annotate-show-diff-revision-at-line-internal): Change the
17539 argument to mean whether to show a file diff or not. Get the file
17540 name from vc-annotate-extract-revision-at-line.
17541 (vc-annotate-show-diff-revision-at-line):
17542 Update vc-annotate-show-diff-revision-at-line call.
17543 (vc-annotate-warp-revision): Add an optional file argument.
17544
17545 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
17546 (vc-git-annotate-extract-revision-at-line): Also return the file
17547 name if found.
17548
17549 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
17550 command. Remove unused code.
17551 (vc-hg-annotate-re): Update to match --follow output.
17552 (vc-hg-annotate-extract-revision-at-line): Also return the file
17553 name if found.
17554
17555 * vc.el: Update annotate-extract-revision-at-line documentation.
17556
17557 2009-10-18 Kevin Ryde <user42@zip.com.au>
17558
17559 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
17560 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
17561
17562 * net/browse-url.el (browse-url): Identify alist with "consp and
17563 not functionp" and let all other things go down the `apply' leg,
17564 as suggested by Stefan. (Further to bug#4531.)
17565
17566 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
17567
17568 * minibuffer.el (read-file-name): Check for repeat before putting
17569 a default argument in file-name-history (Bug#4657).
17570
17571 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
17572 read syntax (Bug#4737).
17573
17574 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
17575
17576 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
17577
17578 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
17579 (html-tag-alist, html-tag-help): Add descriptions for undocumented
17580 entries and make note of obsolete tags.
17581
17582 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
17583
17584 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
17585
17586 2009-10-18 Glenn Morris <rgm@gnu.org>
17587
17588 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
17589 grep, so that binary files (eg international/uni-bidi.el) can match.
17590 Remove test for "UnicodeData" files, since it is hopefully unnecessary
17591 now, and in any case the file header format has changed.
17592
17593 2009-10-17 Glenn Morris <rgm@gnu.org>
17594
17595 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
17596 (flyspell-get-word, flyspell-large-region)
17597 (flyspell-auto-correct-previous-word): Doc/error message fixes.
17598
17599 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
17600
17601 * Makefile.in (ELCFILES): Add ede/shell.
17602
17603 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
17604
17605 * term/common-win.el (x-colors): Purecopy it.
17606
17607 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17608
17609 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
17610 permissive for when the buffer is empty.
17611 (tar-header-block-tokenize): Decode the username and groupname.
17612 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
17613
17614 2009-10-17 Eric Ludlam <zappo@gnu.org>
17615
17616 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
17617 contains multibyte characters, choose first applicable coding
17618 system automatically.
17619
17620 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17621
17622 * international/mule-cmds.el (select-safe-coding-system): If the file
17623 has a coding cookie, use it regardless of any other setting (bug#4712).
17624
17625 2009-10-17 Glenn Morris <rgm@gnu.org>
17626
17627 * foldout.el (foldout-mouse-swallow-events):
17628 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
17629
17630 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
17631 (dired-keep-marker-copy, dired-keep-marker-hardlink)
17632 (dired-keep-marker-symlink, dired-dwim-target)
17633 (dired-copy-preserve-time): Do not autoload these defcustoms.
17634
17635 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
17636 messages from messing up the file coding. (Bug#4623)
17637
17638 2009-10-17 Jari Aalto <jari.aalto@cante.net>
17639
17640 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
17641 if no match is found for the current dictionary. (Bug#4578)
17642
17643 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
17644 optional, since that is how it is documented, and this is often called
17645 with a nil argument. (Bug#4577)
17646 (flyspell-external-point-words, flyspell-auto-correct-word)
17647 (flyspell-correct-word-before-point, flyspell-word-search-forward)
17648 (flyspell-word-search-backward): Remove nil argument in calls to
17649 flyspell-get-word, since it is not needed now.
17650
17651 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
17652
17653 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
17654
17655 2009-10-16 Glenn Morris <rgm@gnu.org>
17656
17657 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
17658
17659 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
17660
17661 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
17662 (ange-ftp-file-size): New function.
17663 (ange-ftp-file-attributes): Use it.
17664
17665 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
17666
17667 * net/tramp-smb.el (tramp-smb-version): New defvar.
17668 (tramp-smb-maybe-open-connection): Use it, in order to avoid
17669 repeated checks.
17670
17671 2009-10-16 Glenn Morris <rgm@gnu.org>
17672
17673 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
17674 Maybe copy some custom properties from old to new name. (Bug#4706)
17675
17676 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
17677
17678 * subr.el (error, sit-for, start-process-shell-command)
17679 (start-file-process-shell-command): Set the calling convention
17680 after the function definition.
17681
17682 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
17683
17684 * subr.el (error, sit-for, start-process-shell-command)
17685 (start-file-process-shell-command): Use the new
17686 set-advertised-calling-convention feature.
17687
17688 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
17689
17690 * international/ucs-normalize.el (ucs-normalize-version):
17691 Change to 1.2.
17692 (check-range): Adjust for Unicode 5.2.
17693
17694 2009-10-15 Juri Linkov <juri@jurta.org>
17695
17696 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
17697 to the `menu-item' format.
17698
17699 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
17700
17701 * net/tramp.el (tramp-replace-environment-variables): Do not fail
17702 if the environment variable does not exist.
17703
17704 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17705 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
17706 parameter.
17707 (tramp-smb-handle-add-name-to-file)
17708 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
17709 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
17710 (tramp-smb-handle-file-attributes)
17711 (tramp-smb-do-file-attributes-with-stat)
17712 (tramp-smb-handle-file-local-copy)
17713 (tramp-smb-handle-insert-directory)
17714 (tramp-smb-handle-make-directory)
17715 (tramp-smb-handle-make-directory-internal)
17716 (tramp-smb-handle-make-symbolic-link)
17717 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
17718 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
17719 (tramp-smb-maybe-open-connection): Apply the changed parameters.
17720 (tramp-smb-read-file-entry): Read Disk names in compressed format.
17721 Handle long file names.
17722 (tramp-smb-get-cifs-capabilities): Check, whether the connection
17723 process is running.
17724 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
17725 Read share names with "-g" option.
17726
17727 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
17728
17729 * net/rcirc.el (rcirc-view-log-file): New command.
17730 (rcirc-track-minor-mode-map): Remove C-c ` binding.
17731 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
17732 specified.
17733
17734 2009-10-15 Glenn Morris <rgm@gnu.org>
17735
17736 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
17737 from the second command-line argument.
17738 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
17739 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
17740 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
17741 w32-batch-update-autoloads.
17742 * emacs-lisp/autoload.el (autoload-make-program): New variable.
17743 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
17744
17745 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
17746 the headers cannot be located. Simplify, subtracting superflous
17747 save-excursions.
17748
17749 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
17750
17751 Replace completion-base-size by completion-base-position to fix bugs
17752 such as (bug#4699).
17753 * simple.el (completion-base-position): New var.
17754 (completion-base-size): Mark as obsolete.
17755 (choose-completion): Make it work for mouse events as well.
17756 Pass the new base-position to choose-completion-string.
17757 (choose-completion-guess-base-position): New function, extracted from
17758 choose-completion-delete-max-match.
17759 (choose-completion-delete-max-match): Use it. Make obsolete.
17760 (choose-completion-string): Use the new base-position info.
17761 (completion-root-regexp): Delete.
17762 (completion-setup-function): Preserve completion-base-position.
17763 Eliminate obsolete base-size manipulation.
17764 * minibuffer.el (display-completion-list): Don't mess with base-size.
17765 (minibuffer-completion-help): Set completion-base-position instead.
17766 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
17767 choose-completion.
17768 * textmodes/bibtex.el (bibtex-complete):
17769 * emacs-lisp/crm.el (crm--choose-completion-string):
17770 Adjust to new calling convention.
17771 * complete.el (partial-completion-mode): Use minibufferp to avoid
17772 bumping into incompatible change to choose-completion-string-functions.
17773 * ido.el (ido-choose-completion-string): Make its calling convention
17774 more permissive.
17775 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
17776 base-size manipulation.
17777 (comint-dynamic-list-input-ring): Use dotimes and push.
17778 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
17779 fundamental-mode. Use `or'.
17780
17781 2009-10-14 Juri Linkov <juri@jurta.org>
17782
17783 * misearch.el (multi-isearch-next-buffer-from-list)
17784 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
17785
17786 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
17787
17788 * Makefile.in (compile-onefile): Load `bytecomp' rather than
17789 `bytecomp.el'.
17790
17791 * minibuffer.el (completion-pcm--merge-completions): Make sure the
17792 string we return is all made up of text from the completions rather
17793 than part from the completions and part from the input (bug#4219).
17794
17795 * ido.el (ido-everywhere): Use define-minor-mode.
17796
17797 * buff-menu.el (list-buffers, ctl-x-map):
17798 Mark the entry points with ;;;###autoload cookies.
17799
17800 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
17801
17802 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
17803 correctly in the detached head case.
17804 (vc-git-print-log): Remove unused binding.
17805
17806 * vc.el (vc-responsible-backend): When a directory is passed for
17807 for registration create a VC repository if no backend is
17808 responsible for the directory argument.
17809 (vc-deduce-fileset): Tell vc-responsible-backend to register.
17810
17811 * vc.el: Move comments about RCS and SCCS ...
17812 * vc-rcs.el:
17813 * vc-sccs.el: ... here, respectively.
17814
17815 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
17816
17817 * minibuffer.el (completion--file-name-table): Return nil if there's
17818 no file completion, even if substitute-in-file-name changed
17819 the string (bug#4708).
17820
17821 2009-10-13 Juri Linkov <juri@jurta.org>
17822
17823 * files-x.el (read-file-local-variable-value): Don't filter out
17824 minor modes from mode name completion (bug#4664).
17825
17826 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
17827
17828 * international/mule-cmds.el (ucs-names): Remove exclusion of
17829 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
17830
17831 2009-10-13 Kenichi Handa <handa@m17n.org>
17832
17833 * international/uni-name.el: Regenerated.
17834
17835 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
17836
17837 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
17838 should be automatically buffer-local, but isn't.)
17839
17840 2009-10-12 Sam Steingold <sds@gnu.org>
17841
17842 * progmodes/compile.el (compilation-next-error-function): Fix the
17843 timestamps if the buffer has been visited before.
17844 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
17845 non-anchored patterns, like the perl one (bug#3928).
17846
17847 2009-10-12 Glenn Morris <rgm@gnu.org>
17848
17849 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
17850 Let-bind `size'.
17851
17852 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
17853
17854 * proced.el (proced-unload-function): New function.
17855
17856 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
17857 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
17858 Doc fix.
17859
17860 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
17861
17862 2009-10-11 Juri Linkov <juri@jurta.org>
17863
17864 * files-x.el (read-file-local-variable-value):
17865 Provide default value only for bound variables (bug#4664).
17866
17867 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
17868
17869 * net/tramp.el (tramp-local-host-p): Function shall return nil for
17870 connection methods like smb.
17871
17872 * net/tramp-cache.el (tramp-flush-connection-property): The hash
17873 can be empty.
17874
17875 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17876 (tramp-smb-file-name-handler-alist): Add handlers for
17877 `add-name-to-file', `make-symbolic-link'.
17878 (tramp-smb-handle-add-name-to-file)
17879 (tramp-smb-do-file-attributes-with-stat)
17880 (tramp-smb-handle-make-symbolic-link)
17881 (tramp-smb-get-cifs-capabilities): New defuns.
17882 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
17883 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
17884 (tramp-smb-handle-file-local-copy)
17885 (tramp-smb-handle-make-directory-internal)
17886 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
17887 The file name syntax depends on cifs capabilities.
17888 (tramp-smb-handle-file-attributes):
17889 Call `tramp-smb-do-file-attributes-with-stat' if possible.
17890 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
17891 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
17892
17893 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
17894
17895 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
17896 (eieio-defclass): Apply deftype handler and setf-method properties
17897 directly.
17898 (eieio-add-new-slot): Avoid union function from cl library.
17899 (eieio--typep): New function.
17900 (eieio-perform-slot-validation): Use it.
17901
17902 2009-10-10 Karl Fogel <kfogel@red-bean.com>
17903
17904 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
17905 Update documentation to refer to the variables documented in r1.135.
17906 (Bug#4188)
17907
17908 2009-10-10 Karl Fogel <kfogel@red-bean.com>
17909
17910 * bookmark.el (Info-suffix-list): Remove this unused variable.
17911 (bookmark-current-point): Remove this obsolete variable.
17912 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
17913 Adjust for removal of bookmark-current-point.
17914
17915 (bookmarks-already-loaded, bookmark-current-buffer)
17916 (bookmark-yank-point): Document. (Bug#4188)
17917
17918 2009-10-10 Glenn Morris <rgm@gnu.org>
17919
17920 * frame.el (frame-height): Doc fix.
17921
17922 * calendar/calendar.el (calendar-split-width-threshold): New option.
17923 (calendar-basic-setup): Use calendar-split-width-threshold.
17924
17925 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
17926
17927 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
17928 Ideographic Supplement" range (U+1F200..U+1F2FF).
17929
17930 2009-10-09 Karl Fogel <kfogel@red-bean.com>
17931
17932 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
17933 since the list will have been rebuilt anyway. (Bug#4349)
17934
17935 2009-10-09 Karl Fogel <kfogel@red-bean.com>
17936
17937 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
17938 (bookmark-bmenu-execute-deletions): Don't save here, as
17939 bookmark-delete will now do so if necessary.
17940 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
17941 (Bug#4348)
17942
17943 2009-10-09 Glenn Morris <rgm@gnu.org>
17944
17945 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
17946
17947 2009-10-09 Karl Fogel <kfogel@red-bean.com>
17948
17949 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
17950 (bookmark-jump-other-window): Just invoke bookmark-jump with new
17951 argument now, so the two function's behaviors will match. (Bug#3645)
17952
17953 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
17954
17955 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
17956 (tramp-file-name-real-host, tramp-file-name-port):
17957 Apply `save-match-data'.
17958
17959 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
17960 case both directories are remote.
17961 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
17962 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
17963
17964 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
17965
17966 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
17967
17968 2009-10-07 Glenn Morris <rgm@gnu.org>
17969
17970 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
17971 of concat.
17972
17973 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
17974
17975 * files-x.el (read-file-local-variable): Include some
17976 non-user-variables in the completion table (bug#4664).
17977
17978 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
17979
17980 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
17981 message.
17982
17983 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17984 (tramp-smb-file-name-handler-alist): Add handler for
17985 `copy-directory', `expand-file-name', `set-file-modes'.
17986 (tramp-smb-handle-copy-directory)
17987 (tramp-smb-handle-expand-file-name)
17988 (tramp-smb-handle-set-file-modes): New defuns.
17989 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
17990 (tramp-smb-handle-file-attributes): Simplify check for retrieving
17991 entry.
17992 (tramp-smb-handle-insert-directory): Don't flush the cache.
17993 (tramp-smb-maybe-open-connection): Check for samba client and
17994 server versions.
17995
17996 2009-10-07 Eli Zaretskii <eliz@gnu.org>
17997
17998 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
17999 to not error out of search for "^lisp=" fails.
18000
18001 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
18002
18003 * makefile.w32-in (WINS_UPDATES): New macro.
18004 (custom-deps, finder-data, autoloads): Use it.
18005
18006 2009-10-07 Glenn Morris <rgm@gnu.org>
18007
18008 * Makefile.in (autoloads): Revert previous change.
18009 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
18010 the list of preloaded files passed on the command-line, get
18011 it from src/Makefile.
18012
18013 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
18014 show the original buffer rather than a random one.
18015
18016 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
18017
18018 * help.el (describe-no-warranty): Place point in a slightly better
18019 position in the GPLv3 text.
18020
18021 2009-10-06 Sam Steingold <sds@gnu.org>
18022
18023 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
18024 the comm attribute is present before calling regexp-quote.
18025
18026 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
18027
18028 * play/animate.el (animate-string): For good effect, make sure
18029 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
18030
18031 * play/animate.el (animate-sequence, animate-birthday-present):
18032 * misc.el (butterfly): Don't set `indent-tabs-mode'.
18033
18034 2009-10-06 Glenn Morris <rgm@gnu.org>
18035
18036 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
18037
18038 * emacs-lisp/autoload.el (autoload-excludes): New variable.
18039 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
18040 (batch-update-autoloads): Process a string value of autoload-excludes,
18041 set during the build process.
18042 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
18043
18044 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
18045 inside with-parsed... macro so that `v' is defined.
18046
18047 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
18048 * progmodes/fortran.el (fortran-end-of-block)
18049 (fortran-beginning-of-block):
18050 Also push mark in the macro case.
18051
18052 * emerge.el (emerge-show-file-name):
18053 * calc/calc.el (calc-quit):
18054 * calc/calc-misc.el (calc-big-or-small):
18055 * calc/calc-graph.el (calc-graph-view):
18056 * calc/calc-ext.el (calc-reset):
18057 * calendar/calendar.el (calendar-basic-setup):
18058 Use window-full-height-p.
18059
18060 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
18061 header we don't understand, don't insert another. (Bug#4624)
18062 If changing mime charset, insert the new one in the right place.
18063
18064 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
18065
18066 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
18067 (cal-tex-cursor-month): Correctly increment the end date for diary and
18068 holiday listing. (Bug#4626)
18069
18070 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18071
18072 * help-fns.el (describe-function-1): Don't burp if the function is not
18073 a symbol.
18074
18075 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
18076
18077 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
18078 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
18079 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
18080 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
18081
18082 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
18083 (eieio-default-superclass): Reflow docstrings.
18084 (this, class-option-assoc, defclass, eieio-class-un-autoload)
18085 (eieio-unbind-method-implementations, defmethod)
18086 (eieio-validate-slot-value, eieio-validate-class-slot-value)
18087 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
18088 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
18089 (eieio-slot-originating-class-p, eieio-slot-name-index)
18090 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
18091 (constructor, initialize-instance, no-next-method, object-print)
18092 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
18093 Fix typos in docstrings.
18094 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
18095 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
18096 (next-method-p): Doc fixes.
18097 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
18098 Fix typos in error messages.
18099 (eieio-defmethod): Fix typo in description of generic method.
18100
18101 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
18102 (eieio-persistent-save-interactive, slot-missing):
18103 Fix typos in docstrings.
18104 (eieio-instance-inheritor-slot-boundp): Doc fix.
18105
18106 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
18107 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
18108
18109 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
18110 (eieio-custom-object-apply-reset):
18111 Fix typos in docstrings and error messages.
18112
18113 * emacs-lisp/eieio-datadebug.el (data-debug-show):
18114 Fix typo in docstring.
18115
18116 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
18117 (eieio-browse-tree): Doc fix.
18118 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
18119 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
18120 Fix typos in docstrings.
18121
18122 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
18123 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
18124 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
18125 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
18126 Reflow docstrings.
18127
18128 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
18129
18130 * vc-hg.el (log-view-vc-backend): Declare for compiler.
18131 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
18132 Set log-view-vc-backend so that diff can work.
18133
18134 * log-view.el (log-view-diff): Use vc-diff-internal instead of
18135 vc-version-diff.
18136 (vc-diff-internal): Autoload this instead of vc-version-diff.
18137
18138 2009-10-05 Eli Zaretskii <eliz@gnu.org>
18139
18140 * simple.el (eval-expression): Doc fix.
18141
18142 * progmodes/cwarn.el (cwarn-mode): Doc fix.
18143
18144 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
18145
18146 * files.el (directory-files-no-dot-files-regexp): New defconst.
18147 (delete-directory): Use it.
18148 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
18149
18150 * net/tramp.el (tramp-verbose): Fix docstring.
18151 (tramp-methods): Add recursive option to `tramp-copy-args'.
18152 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
18153 "scp1_old", "scp2_old", "rsync", "rsyncc".
18154 (tramp-default-method): Check also for `auth-source-user-or-password'.
18155 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
18156 Add handler for `copy-directory'.
18157 (tramp-handle-copy-directory): New defun.
18158 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
18159 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
18160 Optimize sent command.
18161
18162 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18163
18164 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
18165 window if necessary.
18166
18167 * calendar/calendar.el (calendar-basic-setup): Don't call
18168 switch-to-buffer in a dedicated window.
18169
18170 2009-10-05 Karl Fogel <kfogel@red-bean.com>
18171
18172 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
18173 don't do anything related to relocating, just return nil.
18174 (bookmark-error-no-filename): New error.
18175 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
18176 bookmark has no file. Don't even attempt to handle things that
18177 are not files; the whole point of custom handlers is to keep that
18178 knowledge elsewhere anyway. Tighten some comments.
18179 (bookmark-file-or-variation-thereof): Remove now-unused function.
18180 (bookmark-location): Doc string fix.
18181 (Bug#4250)
18182
18183 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18184
18185 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
18186 don't use a file dialog, because they usually don't know how to read
18187 a directory target from the user. (Bug#4230)
18188 Also, make sure the prompt can display directories as well as files.
18189
18190 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18191
18192 * bookmark.el (bookmark-set, bookmark-buffer-name):
18193 Improve doc strings. (Bug#1193)
18194
18195 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18196
18197 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
18198 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
18199 (bookmark-get-annotation, bookmark-set-annotation)
18200 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
18201 (bookmark-set-position, bookmark-get-front-context-string)
18202 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
18203 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
18204 (bookmark-jump-other-window, bookmark-handle-bookmark)
18205 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
18206 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
18207 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
18208 Improve doc strings to say whether bookmark can be a string or
18209 a record or both, and make other consistency and clarity fixes.
18210 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
18211 (bookmark-default-annotation-text, bookmark-yank-word)
18212 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
18213 (bookmark-import-new-list, bookmark-maybe-rename)
18214 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
18215 (bookmark-bmenu-bookmark): Give these doc strings.
18216 (bookmark-bmenu-check-position): Give this a doc string, but also
18217 add a FIXME comment about how the function may be pointless.
18218 (bookmark-default-handler): Rework doc string and change a
18219 parameter name, to clarify that this takes a bookmark record
18220 not a bookmark name.
18221 (bookmark-set): Change a parameter name to indicate its meaning,
18222 and improve the doc string a bit.
18223 (Bug#4188)
18224
18225 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18226
18227 * bookmark.el (bookmark-alist): Document the new `handler' element
18228 in the param alist.
18229 (bookmark-make-record-function): Adjust documentation for above.
18230 (Bug#4193)
18231
18232 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18233
18234 * info.el (Info-bookmark-make-record): Document this function.
18235 (Info-bookmark-jump): Document with a doc string, not just a comment.
18236 (Bug#4203)
18237
18238 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
18239
18240 * files.el (copy-directory): New defun.
18241
18242 * dired-aux.el (dired-copy-file-recursive): Use it.
18243
18244 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
18245
18246 * files-x.el (modify-dir-local-variable)
18247 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
18248 docstrings.
18249
18250 * recentf.el (recentf-unload-function): New function.
18251
18252 2009-10-04 Glenn Morris <rgm@gnu.org>
18253
18254 * window.el (window-full-height-p): Add doc string.
18255
18256 2009-10-04 Martin Rudalics <rudalics@gmx.at>
18257
18258 * window.el (window-full-height-p): New function. (Bug#4543)
18259
18260 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
18261
18262 * vc.el: Remove commented out code.
18263 (vc-derived-from-dir-mode): Remove, unused.
18264 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
18265
18266 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
18267
18268 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
18269 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
18270 there could be recursive loading when `default-directory' is a
18271 remote file name. (Bug#4614)
18272
18273 2009-10-03 Glenn Morris <rgm@gnu.org>
18274
18275 * calendar/calendar.el (calendar-basic-setup): Handle the case where
18276 the frame is wide.
18277 (calendar-generate-window): Test for shrinkability rather than width.
18278
18279 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
18280 reusing existing buffers, in case we happen to visit two files with the
18281 same basename. (Bug#4593)
18282
18283 2009-10-02 Eli Zaretskii <eliz@gnu.org>
18284
18285 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
18286 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
18287 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
18288 subdirs of cedet as well.
18289 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
18290
18291 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
18292
18293 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
18294 Obey advertised-signature-table.
18295
18296 * help-fns.el (help-function-arglist): Don't check
18297 advertised-signature-table.
18298 (describe-function-1): Do it here instead so it also applies to subrs.
18299
18300 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
18301
18302 * simple.el (start-file-process): Say in the doc-string, that file
18303 handlers might not support pty association, if PROGRAM is nil.
18304
18305 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
18306 HOST and USER are strings. They are nil, when there are
18307 incomplete entries in ~/.netrc, for example.
18308 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
18309 root directory ("device busy" error otherwise).
18310
18311 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
18312 Flush file properties of created directory.
18313
18314 2009-10-02 Eli Zaretskii <eliz@gnu.org>
18315
18316 * makefile.w32-in (WINS_BASIC): Remove cedet.
18317 (WINS_CEDET): Add cedet.
18318 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
18319
18320 2009-10-02 Kevin Ryde <user42@zip.com.au>
18321
18322 * net/browse-url.el (browse-url): Pass any symbol in
18323 browse-url-browser-function to `apply', since if you've mistakenly put
18324 an unbound symbol then the error is clearer. (Bug#4531)
18325
18326 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
18327
18328 * allout.el (allout-init, allout-back-to-current-heading)
18329 (allout-beginning-of-current-entry, allout-ascend-to-depth)
18330 (allout-ascend, allout-up-current-level, allout-end-of-level)
18331 (allout-previous-visible-heading, allout-forward-current-level)
18332 (allout-backward-current-level, allout-show-children):
18333 * apropos.el (apropos-describe-plist):
18334 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
18335 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
18336 * completion.el (add-completion, add-permanent-completion):
18337 * descr-text.el (describe-text-category, describe-char):
18338 * desktop.el (desktop-lazy-abort):
18339 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
18340 * dired.el (dired-build-subdir-alist):
18341 * ediff.el (ediff-version):
18342 * elide-head.el (elide-head, elide-head-show):
18343 * emerge.el (emerge-version):
18344 * env.el (getenv):
18345 * face-remap.el (variable-pitch-mode):
18346 * faces.el (describe-face):
18347 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
18348 (dired-at-point):
18349 * files.el (find-file-existing, auto-save-mode):
18350 * font-lock.el (font-lock-fontify-buffer):
18351 * help-fns.el (describe-function, describe-variable)
18352 (describe-syntax, describe-categories):
18353 * help.el (view-lossage, describe-bindings, describe-key)
18354 (describe-mode):
18355 * hexl.el (hexl-current-address):
18356 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
18357 * info.el (Info-goto-emacs-key-command-node):
18358 * log-edit.el (log-edit-insert-cvs-template)
18359 (log-edit-insert-cvs-rcstemplate):
18360 * menu-bar.el (menu-bar-mode):
18361 * mouse.el (mouse-appearance-menu):
18362 * newcomment.el (comment-indent-new-line):
18363 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
18364 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
18365 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
18366 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
18367 * recentf.el (recentf-mode):
18368 * savehist.el (savehist-mode, savehist-save):
18369 * shadowfile.el (shadow-copy-files):
18370 * simple.el (kill-ring-save, next-line, previous-line)
18371 (normal-erase-is-backspace-mode):
18372 * strokes.el (strokes-update-window-configuration)
18373 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
18374 (strokes-xpm-for-stroke):
18375 * time.el (emacs-uptime, emacs-init-time):
18376 * tutorial.el (tutorial--describe-nonstandard-key)
18377 (tutorial--detailed-help):
18378 * type-break.el (type-break-mode)
18379 (type-break-mode-line-message-mode, type-break-query-mode)
18380 (type-break-guesstimate-keystroke-threshold):
18381 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
18382 * version.el (emacs-version):
18383 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
18384 * winner.el (winner-mode):
18385 * calendar/timeclock.el (timeclock-in, timeclock-out)
18386 (timeclock-status-string, timeclock-change)
18387 (timeclock-workday-remaining-string)
18388 (timeclock-workday-elapsed-string)
18389 (timeclock-when-to-leave-string):
18390 * calendar/todo-mode.el (todo-add-category):
18391 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
18392 * emacs-lisp/autoload.el (update-file-autoloads):
18393 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
18394 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
18395 (checkdoc-message-text, checkdoc-defun):
18396 * emacs-lisp/debug.el (debugger-list-functions):
18397 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
18398 * emacs-lisp/eieio-opt.el (eieio-describe-class)
18399 (eieio-describe-generic):
18400 * emacs-lisp/lisp-mnt.el (lm-synopsis):
18401 * emacs-lisp/shadow.el (list-load-path-shadows):
18402 * emulation/cua-base.el (cua-mode):
18403 * emulation/edt.el (edt-set-scroll-margins):
18404 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
18405 (tpu-toggle-regexp, tpu-toggle-search-direction)
18406 (tpu-toggle-rectangle, tpu-toggle-control-keys):
18407 * emulation/tpu-extras.el (tpu-set-scroll-margins):
18408 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
18409 (viper-set-parsing-style-toggling-macro)
18410 (viper-set-emacs-state-searchstyle-macros):
18411 * emulation/viper.el (viper-set-hooks):
18412 * eshell/esh-mode.el (eshell-truncate-buffer):
18413 * international/mule-cmds.el (prefer-coding-system)
18414 (describe-input-method, describe-language-environment):
18415 * international/mule-diag.el (list-character-sets)
18416 (describe-character-set, describe-coding-system)
18417 (describe-fontset, list-fontsets, list-input-methods):
18418 * mail/sendmail.el (mail-signature):
18419 * net/ange-ftp.el (ange-ftp-copy-file):
18420 * net/browse-url.el (browse-url):
18421 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
18422 * net/quickurl.el (quickurl-add-url):
18423 * net/rcirc.el (names, topic):
18424 * net/xesam.el (xesam-mode):
18425 * play/5x5.el (5x5-new-game):
18426 * play/yow.el (apropos-zippy):
18427 * progmodes/ada-mode.el (ada-mode-version):
18428 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
18429 (f90-end-of-block)
18430 (f90-beginning-of-block):
18431 * progmodes/fortran.el (fortran-end-of-block)
18432 (fortran-beginning-of-block):
18433 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
18434 * progmodes/python.el (python-describe-symbol, python-shell):
18435 * term/ns-win.el (ns-print-buffer):
18436 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
18437 * textmodes/flyspell.el (flyspell-mode-on):
18438 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
18439 (pages-directory-for-addresses):
18440 * textmodes/table.el (table-recognize-cell)
18441 (table-query-dimension, table-generate-source)
18442 (table-insert-sequence, table--warn-incompatibility):
18443 * textmodes/tex-mode.el (tex-validate-buffer):
18444 * textmodes/texinfmt.el (texinfmt-version)
18445 (texinfo-format-buffer):
18446 Use `called-interactively-p' instead of `interactive-p'.
18447
18448 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
18449
18450 * image-mode.el (image-toggle-display):
18451 * emacs-lisp/elp.el (elp-instrument-function):
18452 * emacs-lisp/advice.el (ad-make-advised-definition):
18453 * emacs-lisp/easy-mmode.el (define-minor-mode):
18454 * net/browse-url.el (browse-url-maybe-new-window):
18455 * progmodes/sh-script.el (sh-learn-buffer-indent):
18456 Pass new argument 'any to `called-interactively-p'.
18457
18458 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
18459
18460 * international/uni-bidi.el:
18461 * international/uni-category.el:
18462 * international/uni-combining.el:
18463 * international/uni-comment.el:
18464 * international/uni-decimal.el:
18465 * international/uni-decomposition.el:
18466 * international/uni-digit.el:
18467 * international/uni-lowercase.el:
18468 * international/uni-mirrored.el:
18469 * international/uni-name.el:
18470 * international/uni-numeric.el:
18471 * international/uni-old-name.el:
18472 * international/uni-titlecase.el:
18473 * international/uni-uppercase.el:
18474 Regenerate from Unicode 5.2.0 data.
18475
18476 2009-10-01 Glenn Morris <rgm@gnu.org>
18477
18478 * Makefile.in (ELCFILES): Regenerate.
18479
18480 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
18481
18482 * subr.el (interactive-p): Mark obsolete.
18483 (called-interactively-p): Make the optional-ness of `kind' obsolete.
18484 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
18485 advertised-signature-table for subroutines as well.
18486
18487 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
18488 (set-advertised-calling-convention): New function.
18489 (make-obsolete, define-obsolete-function-alias)
18490 (make-obsolete-variable, define-obsolete-variable-alias):
18491 Make the optional-ness of `when' obsolete.
18492 (define-obsolete-face-alias): Make `when' non-optional.
18493 * help-fns.el (help-function-arglist):
18494 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
18495 Use advertised-signature-table.
18496
18497 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
18498
18499 * files.el (delete-directory): New defun. The original function
18500 in fileio.c has been renamed to `delete-directory-internal'.
18501
18502 * dired.el (dired-delete-file): Call `delete-directory' with
18503 RECURSIVE parameter.
18504
18505 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
18506 parameter RECURSIVE. Implementation is missing.
18507
18508 * net/tramp.el (tramp-handle-make-directory): Flush upper
18509 directory's file properties.
18510 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
18511 (tramp-handle-dired-recursive-delete-directory): Flush directory
18512 properties after the remove command only.
18513
18514 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
18515 Handle optional parameter RECURSIVE.
18516
18517 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
18518 Handle optional parameter RECURSIVE.
18519
18520 * net/tramp-smb.el (tramp-smb-errors): Add error message for
18521 connection timeout.
18522 (tramp-smb-handle-delete-directory): Handle optional parameter
18523 RECURSIVE.
18524
18525 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
18526
18527 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
18528 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
18529 (byte-compile-defmacro): Use backquotes.
18530
18531 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
18532
18533 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
18534 has no associated file.
18535 (vc-resynch-buffer): Use vc-dir-buffers.
18536
18537 2009-10-01 Glenn Morris <rgm@gnu.org>
18538
18539 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
18540 (chart-file-count):
18541 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
18542 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
18543 * emacs-lisp/eieio-opt.el (eieio-describe-class):
18544 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
18545 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
18546 (eieio-copy-parents-into-subclass, make-instance, class-children)
18547 (eieio-generic-form):
18548
18549 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
18550 match-data. (Bug#4555).
18551
18552 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
18553 rather than parsing it as a regexp. This relaxes the layout
18554 requirements and makes errors easier to detect.
18555 (check-declare-verify): Check file is regular.
18556 (check-declare-directory): Doc fix.
18557 * subr.el (declare-function): Doc fix.
18558
18559 * ibuffer.el (ibuffer-format-qualifier):
18560 * isearch.el (hi-lock-regexp-okay):
18561 * calc/calc.el (math-zerop):
18562 * mail/uce.el (rmail-msgbeg, rmail-msgend):
18563 * term/w32-win.el (setup-default-fontset, set-fontset-font):
18564 Remove unused declarations.
18565
18566 2009-09-30 Eric Ludlam <zappo@gnu.org>
18567
18568 * emacs-lisp/eieio.el (boolean-p): Delete.
18569
18570 2009-09-30 Glenn Morris <rgm@gnu.org>
18571
18572 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
18573
18574 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
18575 filename is not a string.
18576
18577 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
18578
18579 * files.el (safe-local-eval-forms): Fix typo.
18580
18581 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
18582
18583 * vc-hooks.el (vc-dir-buffers): New var.
18584 (vc-state-refresh): New function.
18585 (vc-state): Use it.
18586 (vc-after-save): Always ask the backend to recompute the new state.
18587 Always call vc-dir if necessary, using vc-dir-buffers.
18588 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
18589 Use vc-dir-buffers.
18590 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
18591 (vc-dir-prepare-status-buffer, vc-dir-update)
18592 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
18593 Don't call expand-file-name on default-directory.
18594
18595 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
18596
18597 * speedbar.el (speedbar-item-delete):
18598 * calc/calc-prog.el (calc-kbd-if):
18599 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
18600
18601 * epa.el (epa-key-list-mode-map):
18602 * hi-lock.el (hi-lock-menu): Fix typos in menus.
18603
18604 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
18605 (hs-show-hook): Fix typo in docstring.
18606
18607 2009-09-29 Glenn Morris <rgm@gnu.org>
18608
18609 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
18610 file-name-nondirectory call preventing location of cedet files.
18611 (check-declare-verify): Use literal search rather than re-search.
18612 Add basic defmethod and defclass, and define-overloadable-function.
18613
18614 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18615 Use tramp-compat-file-attributes rather than nonexistent
18616 tramp-compat-handle-file-attributes.
18617
18618 * Makefile.in (lisptagsfiles4): New.
18619 (AUTOGENEL): Add cedet loaddefs files.
18620 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
18621 (update-elclist, compile-always, backup-compiled-files)
18622 (bootstrap-clean): Add yet another directory level.
18623 (update-elclist): Use LC_COLLATE rather than COLLATE.
18624 (ELCFILES): Update, via `make update-elclist'.
18625
18626 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
18627
18628 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
18629 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
18630 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
18631
18632 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
18633
18634 * Makefile.in (lisptagsfiles3): Define.
18635 (TAGS, TAGS-LISP): Use it.
18636 (update-elclist): Add third directory level to look for elc files.
18637 (compile-always): Likewise.
18638 (backup-compiled-files): Likewise.
18639 (bootstrap-clean): Likewise.
18640 (ELCFILES): Update.
18641
18642 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
18643
18644 * Makefile.in (ELCFILES): Add CEDET files.
18645
18646 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
18647
18648 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
18649
18650 * net/tramp.el (top): Require tramp-imap.
18651
18652 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18653 Use `tramp-compat-handle-file-attributes'.
18654
18655 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
18656
18657 * net/tramp-imap.el: New package.
18658
18659 2009-09-28 Eric Ludlam <zappo@gnu.org>
18660
18661 * emacs-lisp/chart.el:
18662 * emacs-lisp/eieio-base.el:
18663 * emacs-lisp/eieio-comp.el:
18664 * emacs-lisp/eieio-custom.el:
18665 * emacs-lisp/eieio-datadebug.el:
18666 * emacs-lisp/eieio-opt.el:
18667 * emacs-lisp/eieio-speedbar.el:
18668 * emacs-lisp/eieio.el: New files.
18669
18670 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18671
18672 * whitespace.el (whitespace-trailing-regexp)
18673 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
18674 Fix doc string.
18675
18676 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
18677
18678 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
18679 menu.
18680
18681 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
18682 menu-bar-ediff-menu.
18683
18684 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
18685 define-overloadable-function.
18686
18687 * progmodes/autoconf.el: Provide autoconf as well, so that this
18688 file can be `require'd.
18689
18690 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
18691
18692 * emacs-lisp/autoload.el (generated-autoload-feature)
18693 (generated-autoload-load-name): New vars.
18694 (autoload-rubric, autoload-generate-file-autoloads): Use them.
18695 (make-autoload): Recognize define-overloadable-function and
18696 defclass forms (for EIEIO).
18697
18698 * Makefile.in (update-subdirs): Exclude cedet directory.
18699
18700 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
18701
18702 * term/ns-win.el: Don't set the region face background. (Bug#4381)
18703
18704 * faces.el: Default light-background background for region face to
18705 ns_selection_color under NS.
18706
18707 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
18708
18709 * net/imap-hash.el: New library, see NEWS.
18710
18711 * Makefile.in (ELCFILES): Add imap-hash.el.
18712
18713 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
18714
18715 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
18716 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
18717 * help-macro.el (make-help-screen): Avoid using an ambiguous function
18718 definition where the docstring could be taken for the return value.
18719
18720 2009-09-26 Glenn Morris <rgm@gnu.org>
18721
18722 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
18723 Add option to only show images below a certain size.
18724 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
18725 save-excursion calls.
18726
18727 2009-09-26 Eli Zaretskii <eliz@gnu.org>
18728
18729 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
18730 subdirectories) and eieio.
18731
18732 2009-09-26 Alan Mackenzie <acm@muc.de>
18733
18734 * progmodes/cc-engine.el (c-beginning-of-statement-1):
18735 Correct buggy bracketing. (Bug#4289)
18736
18737 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
18738 character constants (as case labels). (Bug#4289)
18739
18740 2009-09-25 Juri Linkov <juri@jurta.org>
18741
18742 * files.el (safe-local-eval-forms): Allow time-stamp in
18743 before-save-hook (Bug#4554).
18744
18745 2009-09-25 Drew Adams <drew.adams@oracle.com>
18746
18747 * menu-bar.el (list-buffers-directory): Doc fix.
18748
18749 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
18750
18751 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
18752 Try and avoid copying twice the same paragraph.
18753 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
18754 Remove save-excursion.
18755 (log-edit-changelog-entry): Do it here instead.
18756
18757 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
18758
18759 * bs.el (bs--get-file-name): Use `list-buffers-directory'
18760 when available, instead of hardcoding mode names. Doc fix.
18761
18762 * menu-bar.el (list-buffers-directory): Add docstring.
18763 Make automatically buffer-local.
18764
18765 * dired.el (dired-mode):
18766 * files.el (cd-absolute):
18767 * pcvs.el (cvs-temp-buffer):
18768 * pcvs-util.el (cvs-get-buffer-create):
18769 * shell.el (shell-mode):
18770 * vc-dir.el (vc-dir-mode):
18771 Don't make `list-buffers-directory' buffer local.
18772
18773 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
18774
18775 * comint.el (comint-exec, comint-run, make-comint):
18776 Doc fixes (Bug#4542).
18777
18778 2009-09-25 Glenn Morris <rgm@gnu.org>
18779
18780 * mail/rmailmm.el (rmail-mime): New custom group.
18781 Move all defcustoms in this file into this group.
18782 (rmail-mime-media-type-handlers-alist): Revert previous change.
18783 (rmail-mime-show-images): New option.
18784 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
18785 references to it, since it wasn't actually used for anything.
18786 (rmail-mime-insert-image): New function.
18787 (rmail-mime-image): Use rmail-mime-insert-image.
18788 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
18789 obey the value of `rmail-mime-show-images' option. Print the size of
18790 attachments.
18791
18792 2009-09-25 David Engster <deng@randomsample.de>
18793
18794 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
18795
18796 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18797
18798 * whitespace.el: Does not highlight trailing spaces While point is
18799 at end of line. Does not highligt spaces at beginning of buffer
18800 while point is at beginning of buffer. Does not highlight spaces
18801 at end of buffer while point is at end of buffer. (Bug#4177)
18802 New version 12.0.
18803 (whitespace-display-mappings): Adjust initialization.
18804 (whitespace-point, whitespace-font-lock-refontify): New vars.
18805 (whitespace-color-on, whitespace-color-off): Adjust code.
18806 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
18807 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
18808 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
18809
18810 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
18811
18812 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
18813
18814 * textmodes/sgml-mode.el: Remove xml-mode alias.
18815
18816 * files.el (auto-mode-alist, conf-mode-maybe)
18817 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
18818
18819 2009-09-24 Alan Mackenzie <acm@muc.de>
18820
18821 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
18822 c-forward-conditionals, but it doesn't move point and doesn't set
18823 the mark.
18824 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
18825 (c-down-conditional-with-else, c-backward-conditional)
18826 (c-forward-conditional): Refactor to use c-scan-conditionals.
18827
18828 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
18829
18830 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
18831 (help-default-arg-highlight): Remove.
18832 (help-highlight-arg): New function.
18833 (help-do-arg-highlight): Use it.
18834 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
18835
18836 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
18837
18838 * term.el (term-set-scroll-region, term-handle-ansi-escape):
18839 Undo last change, which didn't fix the problem and introduced others.
18840
18841 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
18842
18843 * progmodes/gdb-mi.el: Don't require speedbar.
18844 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
18845
18846 2009-09-24 Glenn Morris <rgm@gnu.org>
18847
18848 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
18849
18850 * term/ns-win.el (ns-reg-to-script): Define for compiler.
18851
18852 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
18853 there is no newline after the final mime boundary. (Bug#4539)
18854 Move markers on insertion so that any buttons inserted don't end up in
18855 the next part of a multipart message.
18856 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
18857 (rmail-mime-bulk-handler): Optionally handle images.
18858 (rmail-mime-image): New button action.
18859 (rmail-mime-image-handler): New function.
18860 (rmail-mime-mode): New mode.
18861 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
18862
18863 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
18864
18865 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
18866 than just dropping elements from it (bug#4504).
18867
18868 * term.el (term-set-scroll-region): Don't move cursor any more.
18869 (term-handle-ansi-escape): Call term-goto here instead.
18870 Suggested by Ivan Kanis <apple@kanis.eu>.
18871
18872 * term.el: Require CL.
18873 (term-ansi-reset): New function.
18874 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
18875 (term-handle-colors-array): Simplify.
18876
18877 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
18878
18879 * allout.el (allout-overlay-interior-modification-handler)
18880 (allout-obtain-passphrase):
18881 * epa-file.el (epa-file-write-region):
18882 * ps-print.el (ps-begin-job):
18883 * vc-hooks.el (vc-toggle-read-only):
18884 * vc-rcs.el (vc-rcs-rollback):
18885 * vc-sccs.el (vc-sccs-rollback):
18886 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
18887 (vc-version-diff, vc-revert, vc-rollback):
18888 * wdired.el (wdired-check-kill-buffer):
18889 * emacs-lisp/authors.el (authors):
18890 * net/socks.el (socks-open-connection):
18891 * net/zeroconf.el (zeroconf-service-add-hook):
18892 * obsolete/vc-mcvs.el (vc-mcvs-register):
18893 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
18894 (gdb-select-frame):
18895 * progmodes/grep.el (lgrep, rgrep):
18896 * progmodes/idlw-help.el (idlwave-help-check-locations)
18897 (idlwave-help-html-link, idlwave-help-assistant-open-link):
18898 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
18899 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
18900 (reftex-toc-rename-label): Fix typos in error messages.
18901
18902 * dired-aux.el (dired-do-shell-command): Reflow docstring.
18903 (dired-copy-how-to-fn): Doc fix.
18904 (dired-files-attributes, dired-read-shell-command):
18905 Fix typos in docstrings.
18906
18907 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
18908 (dired-x-find-file-other-window): Reflow docstrings.
18909 (dired-omit-marker-char, dired-read-shell-command)
18910 (dired-x-submit-report): Fix typos in docstrings.
18911
18912 * shell.el (shell-mode-hook):
18913 * view.el (View-scroll-line-forward):
18914 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
18915 Fix typos in docstrings.
18916
18917 * net/dig.el (dig-invoke): Fix typo in docstring.
18918 (query-dig): Reflow docstring.
18919
18920 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
18921 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
18922 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
18923 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
18924 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
18925 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
18926 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
18927 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
18928 (idlwave-completion-map, idlwave-current-indent)
18929 (idlwave-custom-ampersand-surround, idlwave-customize)
18930 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
18931 (idlwave-define-abbrev, idlwave-determine-class-special)
18932 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
18933 (idlwave-end-block-reg, idlwave-end-of-statement)
18934 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
18935 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
18936 (idlwave-explicit-class-listed, idlwave-file-header)
18937 (idlwave-fill-paragraph, idlwave-find-class-definition)
18938 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
18939 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
18940 (idlwave-in-quote, idlwave-indent-action-table)
18941 (idlwave-indent-expand-table, idlwave-indent-line)
18942 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
18943 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
18944 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
18945 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
18946 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
18947 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
18948 (idlwave-outlawed-buffers, idlwave-popup-select)
18949 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
18950 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
18951 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
18952 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
18953 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
18954 (idlwave-statement-type, idlwave-struct-skip)
18955 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
18956 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
18957 (idlwave-what-module-find-class): Fix typos in docstrings.
18958 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
18959 (idlwave-calculate-cont-indent, idlwave-expand-equal)
18960 (idlwave-find-module, idlwave-find-structure-definition)
18961 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
18962 (idlwave-list-load-path-shadows, idlwave-next-statement)
18963 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
18964 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
18965 (idlwave-template): Reflow docstrings.
18966
18967 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
18968 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
18969 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
18970 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
18971 (idlwave-shell-display-line, idlwave-shell-display-wframe)
18972 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
18973 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
18974 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
18975 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
18976 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
18977 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
18978 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
18979 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
18980 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
18981 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
18982 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
18983 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
18984 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
18985 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
18986 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
18987 Fix typos in docstrings.
18988 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
18989 (idlwave-shell-hide-output, idlwave-shell-mode)
18990 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
18991 Reflow docstrings.
18992
18993 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
18994
18995 2009-09-24 Ivan Kanis <apple@kanis.eu>
18996
18997 * term.el (term-bold-attribute): New var.
18998 (term-handle-colors-array): Use it.
18999
19000 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
19001
19002 * progmodes/gdb-mi.el (gdb-version): New variable.
19003 (gdb-non-stop-handler): Set gdb-version.
19004 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
19005 Condition "--thread" option on gdb-version.
19006 (gdb-invalidate-threads): Remove unused argument.
19007
19008 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
19009
19010 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
19011 to looking-back to avoid ridiculous slow down in large files (bug#4511).
19012
19013 2009-09-23 Glenn Morris <rgm@gnu.org>
19014
19015 * mail/rmail.el (rmail-reply): Don't try to add a References header when
19016 replying to mail without References or Message-Id. (Bug#4525)
19017
19018 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
19019
19020 * term/ns-win.el (ns-reg-to-script): New variable.
19021
19022 2009-09-23 Daiki Ueno <ueno@unixuser.org>
19023
19024 * epg.el (epg-wait-for-status): Preserve existing 'error results.
19025
19026 2009-09-22 Sam Steingold <sds@gnu.org>
19027
19028 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
19029 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
19030 to 1 because hg returns status 1 when nothing is found.
19031 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
19032
19033 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
19034
19035 * textmodes/fill.el: Convert to utf-8 encoding.
19036 (fill-french-nobreak-p): Remove redundant » and « inherited from our
19037 pre-Unicode days.
19038
19039 * add-log.el (change-log-fill-forward-paragraph): New function.
19040 (change-log-mode): Use it so fill-region DTRT.
19041 Set fill-indent-according-to-mode here rather than in
19042 change-log-fill-paragraph.
19043 (change-log-fill-paragraph): Remove.
19044
19045 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
19046
19047 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
19048 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
19049
19050 2009-09-22 Glenn Morris <rgm@gnu.org>
19051
19052 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
19053 the scroll-bar scroll the calendar window rather than the buffer.
19054
19055 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
19056 commands that move point (as opposed to scrolling).
19057
19058 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
19059
19060 * emacs-lisp/elint.el (elint): New custom group.
19061 (elint-log-buffer): Make it a defcustom.
19062 (elint-scan-preloaded, elint-ignored-warnings)
19063 (elint-directory-skip-re): New options.
19064 (elint-builtin-variables): Doc fix.
19065 (elint-preloaded-env): New variable.
19066 (elint-unknown-builtin-args): Add an entry for encode-time.
19067 (elint-extra-errors): Make it a variable rather than a constant.
19068 (elint-preloaded-skip-re): New constant.
19069 (elint-directory): Skip files matching elint-directory-skip-re.
19070 (elint-features): New variable, local to linted buffers.
19071 (elint-update-env): Initialize elint-features. Possibly add
19072 elint-preloaded-env to the buffer's environment.
19073 (elint-get-top-forms): Bind elint-current-pos, for log messages.
19074 Skip quoted forms.
19075 (elint-init-form): New function, extracted from elint-init-env.
19076 Make non-list forms a warning rather than an error.
19077 Add the mode-map for define-derived-mode. Handle define-minor-mode,
19078 easy-menu-define, put that adds an error-condition, and provide.
19079 When requiring cl, also require cl-macs. Really require cl, to handle
19080 some cl macros. Store required libraries in the list elint-features,
19081 so as not to re-load them. Treat cc-require like require.
19082 (elint-init-env): Call elint-init-form to do the work.
19083 Handle eval-and-compile and such like.
19084 (elint-add-required-env): Do not clear messages.
19085 (elint-special-forms): Add handlers for function, defalias, if, when,
19086 unless, and, or.
19087 (elint-form): Add optional argument to ignore elint-special-forms,
19088 useful to prevent recursive calls from handlers. Doc fix.
19089 Respect elint-ignored-warnings.
19090 (elint-form): Respect elint-ignored-warnings.
19091 (elint-bound-variable, elint-bound-function): New variables.
19092 (elint-unbound-variable): Respect elint-bound-variable.
19093 (elint-get-args): Respect elint-bound-function.
19094 (elint-check-cond-form): Add some simple handling for (f)boundp and
19095 featurep tests.
19096 (elint-check-defalias-form): New handler.
19097 (elint-check-let-form): Make an empty let a warning rather than an
19098 error.
19099 (elint-check-setq-form): Make an empty setq a warning rather than an
19100 error. Respect elint-ignored-warnings.
19101 (elint-check-defvar-form): Accept null doc-strings.
19102 (elint-check-conditional-form): New handler. Does some simple-minded
19103 checking of featurep and (f)boundp tests.
19104 (elint-put-function-args): New function.
19105 (elint-initialize): Use elint-scan-doc-file rather than
19106 elint-find-builtin-variables. Use elint-put-function-args.
19107 Possibly scan preloaded-file-list.
19108 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
19109 extend to handle functions as well.
19110
19111 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
19112
19113 * linum.el (linum-delete-overlays, linum-update-window):
19114 Do not modify the right margin. (Bug#3971)
19115
19116 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
19117
19118 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
19119 Use nxml-mode instead of xml-mode.
19120
19121 2009-09-21 Kevin Ryde <user42@zip.com.au>
19122
19123 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
19124
19125 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
19126
19127 * net/dig.el (dig-mode): Use define-derived-mode.
19128
19129 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
19130
19131 * vc-dispatcher.el (vc-do-command): Return the process object in
19132 the asynchronous case. Use when instead of if. Do not run
19133 vc-exec-after to display a message if not enabled. (Bug#4463)
19134
19135 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
19136 properties to the stash strings.
19137 (vc-git-stash-list): Return a list of strings.
19138 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
19139 (vc-git-stash-show-at-point): New functions.
19140 (vc-git-stash-map): New keymap.
19141
19142 * register.el (ctl-x-r-map): Define the keys here instead of
19143 using autoload.
19144
19145 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
19146
19147 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
19148 list, to workaround performance problem (bug#4485).
19149
19150 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
19151
19152 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
19153
19154 2009-09-20 Daiki Ueno <ueno@unixuser.org>
19155
19156 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
19157 Document that this option is not recommended to use.
19158
19159 2009-09-19 Glenn Morris <rgm@gnu.org>
19160
19161 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
19162 variable `var'.
19163
19164 * calc/calc-alg.el (var):
19165 * calc/calcalg2.el (var): Define for compiler.
19166
19167 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
19168
19169 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
19170 Doc fix (Bug#3932).
19171
19172 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
19173
19174 * time-stamp.el (time-stamp-month-dd-yyyy)
19175 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
19176 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
19177 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
19178 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
19179 Remove functions that have been obsolete since 1995 (Bug#4436).
19180
19181 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
19182 indent buffer only if called interactively (Bug#4452).
19183
19184 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
19185 Eli Zaretskii <eliz@gnu.org>
19186
19187 This fixes bug#4197 (merged to bug#865, though not identical).
19188 * server.el (server-auth-dir): Add docstring note about FAT32.
19189 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
19190 but warn against using them.
19191
19192 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
19193
19194 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
19195 older GDB where there is no has_more field.
19196
19197 2009-09-19 Glenn Morris <rgm@gnu.org>
19198
19199 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
19200
19201 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
19202
19203 * files.el (auto-mode-alist): Change default for XML files to nXML
19204 mode (Bug#4169).
19205
19206 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
19207
19208 * server.el (server-ensure-safe-dir): Pass 'integer
19209 to `file-attributes', as suggested.
19210
19211 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
19212
19213 * dired-aux.el (dired-query-alist): Remove spurious backslash.
19214 (dired-query): Use read-key.
19215
19216 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
19217
19218 * cus-start.el (ns-use-qd-smoothing): Remove.
19219
19220 2009-09-18 Glenn Morris <rgm@gnu.org>
19221
19222 * allout.el (top-level): Remove unnecessary progn.
19223
19224 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
19225
19226 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
19227 definition of abbrev table.
19228
19229 * speedbar.el (speedbar-track-mouse):
19230 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
19231 * net/eudc.el (eudc-expand-inline):
19232 * net/newst-backend.el (newsticker--cache-read-feed):
19233 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
19234 condition-case handlers.
19235
19236 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
19237
19238 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
19239 (gdb-var-list): Add an element for has_more field.
19240 (gdb-non-stop-handler): Enable pretty printing for STL containers.
19241 (gdb-var-create-handler, gdb-var-list-children-handler-1)
19242 (gdb-var-update-handler-1): Parse output of dynamic variable
19243 objects (STL containers).
19244 (gdb-var-delete-1): Pass var1 as an explicit second argument.
19245 (gdb-get-field): Delete alias. Use bindat-get-field directly.
19246
19247 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
19248 gdb-var-list.
19249 (gud-speedbar-buttons): Make node expandable if expression "has more"
19250 children.
19251
19252 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
19253
19254 * startup.el (emacs-quick-startup): Remove variable and all uses.
19255 (command-line): Set `inhibit-x-resources' instead.
19256 (command-line-1): Use `inhibit-x-resources' instead.
19257
19258 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
19259
19260 * subr.el: Fix last change to avoid using the `unless' macro,
19261 which breaks bootstrapping.
19262
19263 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
19264
19265 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
19266 extended definitions, in case we reload subr.el after having
19267 loaded CL.
19268 (eval-next-after-load): Mark as obsolete.
19269
19270 2009-09-17 Juri Linkov <juri@jurta.org>
19271
19272 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
19273 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
19274 (menu-bar-showhide-menu, menu-bar-tools-menu)
19275 (menu-bar-describe-menu, menu-bar-help-menu)
19276 (minibuffer-local-completion-map, minibuffer-local-map):
19277 Fix list quoting.
19278
19279 2009-09-17 Glenn Morris <rgm@gnu.org>
19280
19281 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
19282 arguments, whether or not it has a handler.
19283
19284 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
19285
19286 * simple.el (hard-newline): Give it a doc-string.
19287
19288 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
19289 (lisp-mode-syntax-table): Give them doc-strings.
19290
19291 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
19292
19293 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
19294 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
19295 (menu-bar-options-menu, menu-bar-showhide-menu)
19296 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
19297 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
19298 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
19299 (menu-bar-options-menu, menu-bar-tools-menu)
19300 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
19301 (menu-bar-help-menu):
19302 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
19303 string arguments.
19304
19305 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
19306 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
19307 calls for the menu names and :help.
19308
19309 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
19310
19311 * mouse.el (minor-mode-menu-from-indicator): Pay attention
19312 to :minor-mode-function (bug#4455).
19313
19314 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
19315
19316 * startup.el (command-line): Initialize the window-system after
19317 processing the command-line.
19318
19319 * textmodes/page.el (what-page): Make sure we don't inf-loop if
19320 page-delimiter matches the empty string.
19321
19322 2009-09-16 Glenn Morris <rgm@gnu.org>
19323
19324 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
19325 byte-compile-not-obsolete-var. It's a list now.
19326 (byte-compile-not-obsolete-funcs): New variable.
19327 (byte-compile-warn-obsolete): Don't warn about functions if they are in
19328 byte-compile-not-obsolete-funcs.
19329 (byte-compile-variable-ref, byte-compile-defvar): Update for
19330 byte-compile-not-obsolete-vars name-change and list nature.
19331 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
19332 and variables behind (f)boundp tests.
19333 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
19334
19335 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
19336
19337 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
19338
19339 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
19340
19341 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
19342 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
19343 Don't autoload.
19344
19345 2009-09-15 Stephen Eglen <stephen@gnu.org>
19346
19347 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
19348 the virtual-buffers, use the name of the buffer specified by
19349 find-file-noselect, as the match may be a symlink. (This was a
19350 problem if the target and the symlink had different names.)
19351
19352 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
19353
19354 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
19355
19356 * desktop.el (desktop-path): Check user-emacs-directory.
19357
19358 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
19359
19360 * loadup.el: Use after-load-functions to GC after loading each file.
19361 Remove the explicit GC calls that used to be sprinkled around.
19362
19363 * subr.el (after-load-functions): New hook.
19364 (do-after-load-evaluation): Run it. Use string-match-p to detect
19365 `obsolete' packages, rather than painfully extracting the relevant
19366 directory name.
19367
19368 2009-09-15 Glenn Morris <rgm@gnu.org>
19369
19370 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
19371 free variable `doc'.
19372
19373 * dired.el (dired-mode-map): Add menu entry for async shell command.
19374
19375 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
19376 variables, also consider the .elc files, since the .el files are
19377 normally gzipped (subsequent code locates the .el.gz from the .elc).
19378
19379 * calc/calc-prog.el (arglist): Define for compiler.
19380
19381 * calendar/diary-lib.el (diary-display-function): Change the default to
19382 fancy display.
19383 (body): Define for compiler.
19384
19385 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
19386 (byte-compile-file-form, byte-compile-lambda)
19387 (byte-compile-top-level-body, byte-compile-form)
19388 (byte-compile-variable-ref, byte-compile-setq)
19389 (byte-compile-setq-default, byte-compile-body)
19390 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
19391 (batch-byte-compile): Give some more local variables with common names
19392 a "bytecomp-" prefix to avoid masking warnings about free variables.
19393
19394 * startup.el (command-line-1): Give local variables with common names a
19395 distinguishing prefix, so as not to hide free variable warnings during
19396 bootstrap.
19397
19398 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
19399 clever and add a suffix to make a unique name, just let the user decide
19400 whether or not to overwrite it. If the input is a directory, write the
19401 default filename to that directory. (Bug#4388)
19402 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
19403 is a filename-as-a-directory.
19404
19405 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
19406
19407 * textmodes/page.el (what-page): Don't move to beginning of line.
19408 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
19409
19410 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
19411
19412 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
19413
19414 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
19415
19416 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
19417 * help.el (help-for-help-internal): Add purecopy calls for text.
19418
19419 * vc.el (top): print-log method now takes an optional SHORTLOG
19420 argument. Add a new method: root.
19421 (vc-root-diff, vc-print-root-log): New functions.
19422 (vc-log-short-style): New variable.
19423 (vc-print-log-internal): Add support for showing short logs.
19424
19425 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
19426 vc-print-root-log and vc-print-root-diff.
19427
19428 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
19429 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
19430 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
19431 short logs.
19432
19433 * vc-cvs.el (vc-cvs-print-log):
19434 * vc-mtn.el (vc-mtn-print-log):
19435 * vc-rcs.el (vc-rcs-print-log):
19436 * vc-sccs.el (vc-sccs-print-log):
19437 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
19438 that is ignored for now.
19439
19440 * vc-mtn.el (vc-mtn-annotate-command):
19441 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
19442
19443 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
19444
19445 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
19446 to function-key-map, and give them ascii-character property.
19447 * term/x-win.el (x-alternatives-map):
19448 * term/ns-win.el (ns-alternatives-map):
19449 * term/internal.el (msdos-key-remapping-map):
19450 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
19451
19452 2009-09-14 Glenn Morris <rgm@gnu.org>
19453
19454 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
19455 temp-buffers (2009-09-12).
19456
19457 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
19458
19459 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
19460 the new read-key function.
19461
19462 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
19463
19464 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
19465 is defined (Bug#4405).
19466
19467 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
19468
19469 * recentf.el (recentf-cleanup): Use a hash table to find
19470 duplicates (Bug#4407).
19471
19472 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
19473
19474 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
19475 kp-0 to ascii equivalents (Bug#4325).
19476
19477 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
19478
19479 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
19480
19481 * eshell/em-hist.el:
19482 * eshell/em-dirs.el (eshell-complete-user-reference):
19483 Declare pcomplete functions and variables to avoid compiler warnings.
19484
19485 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
19486
19487 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
19488 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
19489 * eshell/em-alias.el (eshell-aliases-file):
19490 * eshell/em-hist.el (eshell-history-file-name):
19491 Use expand-file-name instead of concat to make file names (Bug#4308).
19492
19493 2009-09-13 Glenn Morris <rgm@gnu.org>
19494
19495 * ediff-merg.el (ediff-do-merge):
19496 * filesets.el (filesets-run-cmd):
19497 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
19498 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
19499 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
19500 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
19501 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
19502 Replace empty `let's with `progn'.
19503
19504 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
19505
19506 * mail/sendmail.el (send-mail-function):
19507 * tooltip.el (tooltip-mode):
19508 * simple.el (transient-mark-mode):
19509 * rfn-eshadow.el (file-name-shadow-mode):
19510 * frame.el (blink-cursor-mode):
19511 * font-core.el (global-font-lock-mode):
19512 * files.el (temporary-file-directory)
19513 (small-temporary-file-directory, auto-save-file-name-transforms):
19514 * epa-hook.el (auto-encryption-mode):
19515 * composite.el (global-auto-composition-mode):
19516 Use custom-initialize-delay.
19517 * startup.el (command-line): Don't explicitly call
19518 custom-reevaluate-setting for all the above vars.
19519 * custom.el (custom-initialize-safe-set)
19520 (custom-initialize-safe-default): Delete.
19521
19522 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
19523
19524 * term/x-win.el (x-initialize-window-system):
19525 * term/w32-win.el (w32-initialize-window-system):
19526 * term/ns-win.el (ns-initialize-window-system): Don't call
19527 mouse-wheel-mode since it's enabled globally by default already.
19528
19529 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
19530 actually define the variable, but only silences the byte-compiler.
19531 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
19532 before looking it up.
19533 (mouse-wheel-scroll-amount): Also reset the bindings if this value
19534 is changed.
19535
19536 2009-09-12 Glenn Morris <rgm@gnu.org>
19537
19538 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
19539 1000.
19540 (elint-add-required-env): Don't beep on error.
19541 (elint-forms): In case of error, return ENV unchanged.
19542 (elint-init-env): Skip non-list forms.
19543 (elint-log): Handle unknown file positions.
19544
19545 2009-09-12 Daiki Ueno <ueno@unixuser.org>
19546
19547 * epg.el (epg-make-context): Add autoload cookie.
19548 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
19549 (epg-decrypt-string, epg-start-verify, epg-verify-file)
19550 (epg-verify-string, epg-start-sign, epg-sign-file)
19551 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
19552 (epg-encrypt-string, epg-start-export-keys)
19553 (epg-export-keys-to-file, epg-export-keys-to-string)
19554 (epg-start-import-keys, epg-import-keys-from-file)
19555 (epg-import-keys-from-string, epg-start-receive-keys)
19556 (epg-receive-keys, epg-import-keys-from-server)
19557 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
19558 (epg-sign-keys, epg-start-generate-key)
19559 (epg-generate-key-from-file, epg-generate-key-from-string):
19560 Remove autoload cookie.
19561
19562 2009-09-12 Eli Zaretskii <eliz@gnu.org>
19563
19564 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
19565 reevaluation of trash-directory.
19566
19567 * mwheel.el: Fix last change.
19568 (mouse-wheel-mode): New defvar.
19569 (mouse-wheel-mode): Remove autoload cookie.
19570
19571 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
19572
19573 * mwheel.el (mwheel-installed-bindings): New var.
19574 (mouse-wheel-mode): Use it, so as to make sure we really remove all
19575 the bindings we set last time. Use custom-initialize-delay.
19576 * loadup.el: Load mwheel after term/*-win.el.
19577 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
19578 and mouse-wheel-up-event now that their first evaluation is done
19579 sufficiently late to be correct.
19580
19581 * startup.el (tutorial-directory): Make it a defcustom.
19582 Use custom-initialize-delay rather than eval-at-startup to set it.
19583 * image.el (image-load-path): Make it a defcustom.
19584 Use custom-initialize-delay rather than eval-at-startup to set it.
19585 * subr.el (eval-at-startup): Remove.
19586 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
19587
19588 * subr.el (do-after-load-evaluation): Warn the user after loading an
19589 obsolete package.
19590
19591 2009-09-12 Glenn Morris <rgm@gnu.org>
19592
19593 * proced.el (proced-mark-alt): Remove alias.
19594 (proced-mode-map): Remove proced-mark-alt.
19595
19596 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
19597 Elint file and directory. Remove initialization entry.
19598
19599 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
19600 commands.
19601 (elint-current-buffer): Set mode-line-process.
19602 (elint-init-env): Handle define-derived-mode.
19603 Fix declare-function with unspecified arglist. Guard against odd
19604 defalias statements (eg iso-insert's 8859-1-map).
19605 (elint-add-required-env): Use a temp buffer.
19606 (elint-form): Just print the function/macro name, not the whole form.
19607 Return env unchanged if we fail to parse a macro.
19608 (elint-forms): Guard against parse errors.
19609 (elint-output): New function, to handle batch mode.
19610 (elint-log-message): Add optional argument. Use elint-output.
19611 (elint-set-mode-line): New function.
19612
19613 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
19614
19615 * emacs-lisp/elp.el (elp-not-profilable): Add more
19616 functions (Bug#4233).
19617
19618 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
19619
19620 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
19621 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
19622
19623 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
19624
19625 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
19626 (gdb-var-list-children): Use json parsing.
19627
19628 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
19629
19630 * progmodes/js.el (js--proper-indentation): Handle the case where
19631 char-before is null. Reported by Deniz Dogan.
19632
19633 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
19634
19635 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
19636
19637 2009-09-11 Daiki Ueno <ueno@unixuser.org>
19638
19639 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
19640 (epg-digest-algorithm-alist): Add SHA224.
19641 (epg-context-set-passphrase-callback)
19642 (epg-context-set-progress-callback): Add description about
19643 callback function.
19644
19645 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19646
19647 * custom.el (custom-delayed-init-variables): New var.
19648 (custom-initialize-delay): New function.
19649 * startup.el (command-line): "Re"evaluate all vars in
19650 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
19651 explicitly any more.
19652 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
19653 to avoid creating a ~/.emacs.d at build-time (bug#4347).
19654
19655 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
19656
19657 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
19658
19659 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
19660 (gdb-var-update-handler): Use json parsing.
19661
19662 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
19663
19664 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
19665 decode annotated text, regardless of language environment. (Bug#2741)
19666
19667 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19668
19669 * Makefile.in (autoloads): Make rmail.el writable as well.
19670
19671 2009-09-11 Glenn Morris <rgm@gnu.org>
19672
19673 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
19674 loaddefs.el.
19675 * dired.el: Regenerate with extracted autoloads.
19676 * Makefile.in (autoloads): Make dired.el writable.
19677
19678 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
19679 * ibuffer.el: Regenerate with extracted autoloads.
19680 * Makefile.in (autoloads): Make ibuffer.el writable.
19681
19682 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
19683 * version.el (emacs-copyright, emacs-major-version)
19684 (emacs-minor-version): Reformat doc-strings for make-docfile.
19685
19686 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
19687 functions and variables, since they must be stuff specific to some other
19688 platform.
19689 (apropos-print): Make mouse-click message less specific about button.
19690
19691 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
19692 that records where a macro was defined.
19693 * help-fns.el (describe-function-1): Mention if a function has a
19694 compiler-macro.
19695 * help-mode.el (help-function-cmacro): New button.
19696
19697 * locate.el (top-level): Always require dired.
19698 (locate-mode-map): Initialize inside the defvar.
19699
19700 * net/ange-ftp.el (dired-compress-file): Declare.
19701 (ange-ftp-dired-compress-file): Add doc string.
19702
19703 * term/ns-win.el (x-display-name, x-setup-function-keys):
19704 Unify doc-strings with X versions.
19705
19706 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19707
19708 * emulation/crisp.el (crisp-mode-map): Move initialization
19709 into declaration.
19710 (crisp-mode): Use define-minor-mode.
19711
19712 * progmodes/xscheme.el (xscheme-evaluation-commands):
19713 Put a :advertised-binding property rather than using
19714 advertised-xscheme-send-previous-expression.
19715 (advertised-xscheme-send-previous-expression): Declare obsolete.
19716 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
19717 `advertised-undo'.
19718 (crisp-mode): Add corresponding bindings to
19719 undo's :advertised-binding instead.
19720 * dired.el (dired-mode-map): Put a :advertised-binding property rather
19721 than using dired-advertised-find-file.
19722 (dired-advertised-find-file):
19723 * simple.el (advertised-undo):
19724 * wid-edit.el (advertised-widget-backward): Declare obsolete.
19725 (widget-keymap): Put a :advertised-binding property rather
19726 than using advertised-widget-backward.
19727 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
19728 than using advertised-undo.
19729 * tutorial.el (tutorial--default-keys): Adjust accordingly.
19730
19731 2009-09-10 Simon South <ssouth@slowcomputing.org>
19732
19733 * progmodes/delphi.el (delphi-tab): Indent region when Transient
19734 Mark mode is enabled and region is active; otherwise indent or
19735 insert TAB as usual.
19736 (delphi-mode): Update description of TAB-key binding.
19737
19738 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
19739
19740 * subr.el (define-key-rebound-commands): Mark obsolete.
19741 * startup.el (precompute-menubar-bindings): Remove.
19742 (normal-top-level): Remove obsolete code that tried to precompute
19743 menubar bindings.
19744 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
19745 define-key-rebound-commands and precompute-menubar-bindings.
19746
19747 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
19748
19749 * net/imap.el (imap-interactive-login): Better messages.
19750 (imap-open): Fix bug with renamed buffer on reconnect.
19751 (imap-authenticate): Add buffer-local imap-last-authenticator variable
19752 for easier debugging and cleaner code. On successful (guessed based on
19753 server capabilities) secondary authentication, set imap-state
19754 correctly.
19755 (imap-last-authenticator): Define imap-last-authenticator as a variable
19756 to avoid warnings.
19757
19758 2009-09-10 Glenn Morris <rgm@gnu.org>
19759
19760 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
19761
19762 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
19763 (byte-compile-file-form-autoload): Don't warn about unknown functions
19764 where the autoload statement comes after the use.
19765 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
19766 that any handlers inside the body (eg require) are in turn respected.
19767
19768 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
19769 effects.
19770
19771 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
19772 and syntax and abbrev tables basic docs, if they don't have any.
19773
19774 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
19775
19776 * international/mule-cmds.el (top-level): Require cl when compiling.
19777 (view-hello-file): Use default-value rather than
19778 default-enable-multibyte-characters.
19779
19780 * progmodes/fortran.el: Move all safe and risky properties into the
19781 defcustoms.
19782
19783 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
19784 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
19785 * mail/undigest.el:
19786 Put autoloads in rmail.el rather than loaddefs.el.
19787 * mail/rmail.el: Regenerate with extracted autoloads.
19788
19789 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
19790 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
19791
19792 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
19793
19794 Reported in thread for Bug#4375.
19795 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
19796 "-data-evaluate-expression" instead of print.
19797 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
19798 (gdb-tooltip-print): Parse output from above MI command.
19799 (gdb): Revert 2009-08-11 change. User should detach inferior
19800 manually.
19801
19802 Remove the word "separate" from IO functions as inferior
19803 output is now never displayed in the GUD buffer.
19804
19805 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
19806
19807 * startup.el (command-line-normalize-file-name): On Windows and
19808 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
19809
19810 2009-09-10 Juri Linkov <juri@jurta.org>
19811
19812 * isearch.el (isearch-text-char-description): Propertize escape
19813 character sequences with the `escape-glyph' face. (Bug#4344)
19814
19815 * simple.el (shell-command): Set asynchronous process filter to
19816 `comint-output-filter'. (Bug#4343)
19817
19818 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
19819 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
19820 the list. Move "asm" to the bottom.
19821 (grep-find-ignored-directories): Add `choice' with nil value
19822 to empty the list easily.
19823 (grep-find-ignored-files): New option.
19824 (grep-files-history): Set to nil by default instead of '("ch" "el").
19825 (grep-compute-defaults): Add "<X>" to `grep-template'.
19826 (grep-read-files): Bind new local variables `default-alias' and
19827 `default-extension'. Use a list of default values for the file prompt.
19828 (lgrep): Add `--exclude=' command line options composed from
19829 `grep-find-ignored-files'.
19830 (rgrep): Add `-name' command line options composed from
19831 `grep-find-ignored-files'. (Bug#4301)
19832
19833 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
19834
19835 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
19836 (bug#4368).
19837
19838 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
19839
19840 * calendar/time-date.el (autoload):
19841 Expand define-obsolete-function-alias into defalias and make-obsolete
19842 for old Emacsen that Gnus supports.
19843 (with-no-warnings): Define it for old Emacsen.
19844 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
19845 is available.
19846 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
19847 float-time is available; suppress compile warning for time-to-seconds.
19848
19849 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
19850
19851 * net/imap.el (imap-message-map): Docstring fix.
19852
19853 2009-09-09 Glenn Morris <rgm@gnu.org>
19854
19855 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
19856 line numbers too. (Bug#4374)
19857
19858 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
19859
19860 * smerge-mode.el (smerge-remove-props, smerge-refine):
19861 Use with-silent-modifications (bug#4342).
19862
19863 * subr.el (with-silent-modifications): New macro.
19864
19865 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
19866
19867 * files.el (top-level): Require `cl' when compiling.
19868
19869 2009-09-07 Glenn Morris <rgm@gnu.org>
19870
19871 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
19872
19873 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
19874 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
19875
19876 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
19877
19878 * vc-git.el (vc-git-annotate-command): Use separator to parse
19879 arguments correctly.
19880
19881 2009-09-06 Eli Zaretskii <eliz@gnu.org>
19882
19883 * proced.el (proced-mode): Doc fix.
19884
19885 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
19886
19887 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
19888 lstat fails.
19889 (tramp-do-file-attributes-with-ls): Check for file existence at
19890 remote end.
19891 (tramp-do-file-attributes-with-stat): Likewise.
19892 (tramp-convert-file-attributes): Return nil when attr is nil.
19893
19894 2009-09-05 Glenn Morris <rgm@gnu.org>
19895
19896 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
19897 properties to this button.
19898 (diary-fancy-display): Don't extend the button to the final newline.
19899 (diary-fancy-display-mode): Continue to define "q" as a local key.
19900
19901 * calendar/cal-china.el (holiday-chinese): Make it slightly more
19902 efficient.
19903
19904 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
19905
19906 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
19907 (byte-compile-dest-file-function): New option.
19908 (byte-compile-dest-file): Doc fix.
19909 Obey byte-compile-dest-file-function.
19910 (byte-compile-cl-file-p): New function.
19911 (byte-compile-eval): Only suppress noruntime warnings about cl functions
19912 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
19913 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
19914 than for file being previously loaded.
19915 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
19916 (byte-compile-file-form-require): Handle the case where requiring a file
19917 indirectly causes CL to be loaded.
19918
19919 2009-09-05 Karl Fogel <kfogel@red-bean.com>
19920
19921 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
19922 before killing the old buffer, since by the time `kill-buffer' is
19923 run so many buffer variables have been set to nil that it may not
19924 behave as expected. (Bug#4061)
19925
19926 2009-09-05 Karl Fogel <kfogel@red-bean.com>
19927
19928 * files.el (find-alternate-file): If the old buffer is modified
19929 and visiting a file, behave similarly to `kill-buffer' when
19930 killing it, thus reverting to the pre-1.878 behavior; see
19931 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
19932 for discussion. Also, consult `buffer-file-name' as a variable
19933 not as a function, for consistency with the rest of the code.
19934
19935 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
19936
19937 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
19938 also when adding a new directory.
19939
19940 * net/tramp-compat.el (tramp-compat-line-beginning-position):
19941 New defun.
19942
19943 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
19944
19945 * files.el (locate-file-completion-table): Make it provide boundary
19946 information, so partial-completion works better.
19947
19948 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
19949
19950 * mail/footnote.el (Footnote-text-under-cursor):
19951 Check footnote-text-marker-alist before using it (bug#4324).
19952
19953 2009-09-04 Glenn Morris <rgm@gnu.org>
19954
19955 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
19956 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
19957 * play/solitaire.el, play/tetris.el:
19958 Remove leading * from defcustom and defface docs.
19959
19960 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
19961 necessary.
19962 (diary-fancy-overriding-map): New variable.
19963 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
19964 Use view-mode.
19965
19966 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
19967 goto-line.
19968
19969 2009-09-03 Glenn Morris <rgm@gnu.org>
19970
19971 * arc-mode.el (archive-mode):
19972 * dos-fns.el (set-default-process-coding-system):
19973 * man.el (Man-getpage-in-background):
19974 * menu-bar.el (menu-bar-describe-menu):
19975 * server.el (server-process-filter):
19976 * startup.el (command-line):
19977 * tar-mode.el (tar-header-block-tokenize, tar-extract):
19978 * w32-fns.el (set-default-process-coding-system):
19979 * x-dnd.el (x-dnd-handle-file-name):
19980 * international/mule-cmds.el (mule-menu-keymap)
19981 (set-default-coding-systems, language-info-alist, set-language-info)
19982 (set-language-environment, standard-display-european-internal)
19983 (set-locale-environment):
19984 * international/mule-diag.el (mule-diag):
19985 * mail/emacsbug.el (report-emacs-bug):
19986 * mail/rmail.el (rmail-mode):
19987 * mail/sendmail.el (mail-setup):
19988 Use default-value rather than default-enable-multibyte-characters.
19989
19990 * progmodes/f90.el: Move all safe properties into the defcustoms.
19991 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
19992
19993 * calendar/appt.el (appt-check):
19994 * calendar/diary-lib.el (diary-set-header, diary-live-p)
19995 (diary-check-diary-file, diary-list-entries)
19996 (diary-include-other-diary-files, diary-simple-display)
19997 (diary-fancy-display, diary-print-entries)
19998 (diary-mark-included-diary-files, diary-make-entry):
19999 Don't call substitute-in-file-name on diary-file.
20000
20001 2009-09-03 Eduard Wiebe <usenet@pusto.de>
20002 Stefan Monnier <monnier@iro.umontreal.ca>
20003
20004 * mail/footnote.el (footnote-prefix): Make it a defcustom.
20005 (footnote-mode-map): Move initialization into the declaration.
20006 (footnote-minor-mode-map): Define it rather than changing global-map.
20007 (footnote-mode): Use define-minor-mode.
20008
20009 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
20010
20011 * net/tramp.el (tramp-handle-file-attributes-with-ls)
20012 (tramp-do-file-attributes-with-perl)
20013 (tramp-do-file-attributes-with-stat): Rename from
20014 `tramp-handle-file-attributes-with-*'.
20015 (tramp-handle-file-attributes): Use them.
20016 (tramp-do-directory-files-and-attributes-with-perl)
20017 (tramp-do-directory-files-and-attributes-with-stat): Rename from
20018 `tramp-handle-directory-files-and-attributes-with-*'.
20019 (tramp-handle-directory-files-and-attributes): Use them.
20020 (tramp-method-out-of-band-p): Additional parameter SIZE.
20021 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
20022 (tramp-handle-write-region): Use it.
20023 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
20024 (tramp-handle-vc-registered): Check, whether the first run did
20025 return files to be tested.
20026 (tramp-advice-make-auto-save-file-name): Do not call directly
20027 `tramp-handle-make-auto-save-file-name', because this would bypass
20028 the locking mechanism.
20029
20030 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
20031 (file-remote-p, process-file, start-file-process, set-file-times)
20032 (tramp-compat-file-attributes): Compatibility functions shall not
20033 call directly `tramp-handle-*', because this would bypass the
20034 locking mechanism.
20035 (tramp-compat-number-sequence): New defun.
20036
20037 2009-09-02 Glenn Morris <rgm@gnu.org>
20038
20039 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
20040 alias for float-time.
20041 (time-to-number-of-days): In Emacs, use float-time.
20042 * net/newst-backend.el (time-add): Suppress warnings from compat
20043 function.
20044 * time.el (emacs-uptime, emacs-init-time):
20045 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
20046 Use float-time rather than time-to-seconds.
20047
20048 * minibuffer.el (completion-initials-expand): Fix typo.
20049
20050 * faces.el (modeline, modeline-inactive, modeline-highlight)
20051 (modeline-buffer-id):
20052 * info.el (info-menu-5): Mark these face aliases as obsolete.
20053
20054 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
20055
20056 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
20057 space ...
20058 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
20059 no "--thread" option.
20060 (gdb-stopped): Don't print "Switched to thread" message when it is
20061 unchanged.
20062
20063 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
20064
20065 * minibuffer.el (completion-try-completion)
20066 (completion-all-completions): Remove ill-defined (and
20067 mistakenly installed and luckily never used nor documented)
20068 `completion-styles' property.
20069 (completion-initials-expand, completion-initials-all-completions)
20070 (completion-initials-try-completion): New functions.
20071 (completion-styles-alist): Add doc to each entry.
20072 Add new `initials' entry.
20073
20074 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
20075
20076 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
20077 MI command -var-evaluate-expression.
20078 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
20079 and tweak for case of string child.
20080 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
20081
20082 2009-09-01 Glenn Morris <rgm@gnu.org>
20083
20084 * add-log.el (change-log-date-face, change-log-name-face)
20085 (change-log-email-face, change-log-file-face, change-log-list-face)
20086 (change-log-conditionals-face, change-log-function-face)
20087 (change-log-acknowledgement-face):
20088 * cus-edit.el (custom-invalid-face, custom-rogue-face)
20089 (custom-modified-face, custom-set-face, custom-changed-face)
20090 (custom-saved-face, custom-button-face, custom-button-pressed-face)
20091 (custom-documentation-face, custom-state-face, custom-comment-face)
20092 (custom-comment-tag-face, custom-variable-tag-face)
20093 (custom-variable-button-face, custom-face-tag-face)
20094 (custom-group-tag-face-1, custom-group-tag-face):
20095 * diff-mode.el (diff-header-face, diff-file-header-face)
20096 (diff-index-face, diff-hunk-header-face, diff-removed-face)
20097 (diff-added-face, diff-changed-face, diff-function-face)
20098 (diff-context-face, diff-nonexistent-face):
20099 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
20100 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
20101 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
20102 (Info-title-4-face):
20103 * isearch.el (isearch-lazy-highlight-face):
20104 * log-view.el (log-view-file-face, log-view-message-face):
20105 * paren.el (show-paren-match-face, show-paren-mismatch-face):
20106 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
20107 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
20108 (cvs-msg-face):
20109 * smerge-mode.el (smerge-mine-face, smerge-other-face)
20110 (smerge-base-face, smerge-markers-face):
20111 * wid-edit.el (widget-documentation-face, widget-button-face)
20112 (widget-field-face, widget-single-line-field-face)
20113 (widget-inactive-face, widget-button-pressed-face):
20114 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
20115 (woman-addition-face):
20116 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
20117 (eshell-ls-executable-face, eshell-ls-readonly-face)
20118 (eshell-ls-unreadable-face, eshell-ls-special-face)
20119 (eshell-ls-missing-face, eshell-ls-archive-face)
20120 (eshell-ls-backup-face, eshell-ls-product-face)
20121 (eshell-ls-clutter-face):
20122 * eshell/em-prompt.el (eshell-prompt-face):
20123 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
20124 * obsolete/old-whitespace.el (whitespace-highlight-face):
20125 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
20126 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
20127 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
20128 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
20129 (antlr-font-lock-literal-face):
20130 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
20131 (ebrowse-root-class-face, ebrowse-file-name-face)
20132 (ebrowse-default-face, ebrowse-member-attribute-face)
20133 (ebrowse-member-class-face, ebrowse-progress-face):
20134 * progmodes/make-mode.el (makefile-space-face):
20135 * progmodes/sh-script.el (sh-heredoc-face):
20136 * textmodes/flyspell.el (flyspell-incorrect-face)
20137 (flyspell-duplicate-face):
20138 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
20139 * textmodes/texinfo.el (texinfo-heading-face):
20140 Mark face aliases with "-face" suffix as obsolete.
20141
20142 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
20143 compiler.
20144
20145 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
20146 (eudc-bob-sound-menu): Use defvar rather than defconst, since
20147 easy-menu-define wants to modify these.
20148
20149 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
20150
20151 * net/browse-url.el (browse-url-file-url):
20152 * term/internal.el (dos-codepage-setup):
20153 Use default-value rather than default-enable-multibyte-characters.
20154
20155 * progmodes/etags.el (etags-goto-tag-location):
20156 * progmodes/flymake.el (flymake-highlight-line)
20157 (flymake-goto-file-and-line, flymake-goto-line):
20158 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
20159 (gdb-goto-breakpoint):
20160 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
20161 * progmodes/python.el (python-find-function)
20162 (python-pdbtrack-track-stack-file):
20163 * progmodes/verilog-mode.el (verilog-surelint-off):
20164 * term/ns-win.el (ns-open-file-select-line):
20165 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
20166 Use forward-line rather than goto-line.
20167
20168 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
20169 * textmodes/reftex-index.el (reftex-display-index):
20170 * textmodes/reftex-ref.el (reftex-offer-label-menu):
20171 * textmodes/reftex-toc.el (reftex-toc):
20172 Remove unnecessary bindings of default-major-mode (all are followed by
20173 major-mode check and possible mode switch).
20174
20175 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
20176
20177 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
20178 Handle watchpoints (bug#4282).
20179 (def-gdb-thread-buffer-command): Enable thread to be selected by
20180 clicking without selecting threads buffer first.
20181 (gdb-current-context-command): Use selected frame so that "up",
20182 "down" etc work in the GUD buffer.
20183 (gdb-update): Find selected frame before rendering stack buffer.
20184 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
20185
20186 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
20187
20188 * progmodes/sym-comp.el (displayed-completions): Remove.
20189 (symbol-complete): Use minibuffer-complete.
20190
20191 2009-08-31 Glenn Morris <rgm@gnu.org>
20192
20193 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
20194
20195 * apropos.el (apropos-symbols-internal):
20196 Handle (obsolete) face aliases.
20197
20198 * faces.el (describe-face): Adjust the output format to be more like
20199 describe-variable, and to mention (obsolete) face aliases.
20200 Adjust the whitespace so that help-setup-xref works.
20201
20202 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
20203 * calendar/diary-lib.el (diary-button-face):
20204 Mark these face aliases as obsolete.
20205
20206 * calendar/calendar.el (calendar-today): Doc fix.
20207
20208 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
20209
20210 * progmodes/gdb-mi.el (gdb-control-all-threads)
20211 (gdb-control-current-thread): Force tool bar update.
20212 (gdb-non-stop-handler): New function.
20213 (gdb-init-1): Use it to test if non-stop mode is supported.
20214 Remove unused gdbmi buffer type.
20215
20216 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
20217
20218 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
20219 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
20220
20221 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
20222
20223 * comint.el (comint-exec-1): Check command is non-null first.
20224 Part of gdb-mi.el change (2009-08-28).
20225
20226 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
20227
20228 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
20229
20230 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
20231
20232 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
20233 instead of `dolist' to avoid a recursive require when bootstrapping.
20234
20235 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
20236
20237 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
20238
20239 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
20240
20241 * net/imap.el (imap-send-command): Simplify.
20242 (imap-wait-for-tag): point-max -> buffer-size.
20243
20244 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
20245
20246 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
20247 with constant argument.
20248
20249 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
20250
20251 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
20252
20253 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
20254 Change default, since most of our files don't have a history.
20255 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
20256 the user.
20257
20258 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20259 Add comint-run.
20260
20261 * calc/calc.el: Improve commenting convention.
20262 (calc-digit-map, toplevel): Simplify.
20263
20264 * comint.el (comint-insert-input): Be careful to only set point if we
20265 don't delegate to some other command.
20266
20267 * proced.el (proced-signal-list): Make it an alist.
20268 (proced-grammar-alist): Capitalize names.
20269 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
20270 Disable undo manually and make it read-only.
20271 Use completion-annotate-function.
20272
20273 * minibuffer.el (minibuffer-message): If the current buffer is not
20274 a minibuffer, insert the message in the echo area rather than at the
20275 end of the buffer.
20276 (completion-annotate-function): New variable.
20277 (minibuffer-completion-help): Use it.
20278 (completion--embedded-envvar-table): Environment vars are
20279 always case-sensitive.
20280
20281 2009-08-30 Glenn Morris <rgm@gnu.org>
20282
20283 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
20284 from fortran-current-defun.
20285 (fortran-beginning-of-subprogram): Be more precise about finding the
20286 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
20287 (fortran-end-of-subprogram): Simplify.
20288 (fortran-current-defun): Use fortran-start-prog-re.
20289
20290 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
20291
20292 * subr.el (do-after-load-evaluation): Simplify.
20293
20294 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
20295
20296 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
20297
20298 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
20299 (vc-rcs-print-log): Use it.
20300
20301 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
20302
20303 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
20304
20305 * paths.el (abbrev-file-name): Move to abbrev.el.
20306 * abbrev.el (abbrev-file-name): Move from paths.el.
20307 Obey user-emacs-directory.
20308 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
20309 user-emacs-directory.
20310 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
20311 abbrev-file-name and calc-settings-file any more.
20312 * startup.el (command-line): Recompute abbrev-file-name and
20313 abbreviated-home-dir.
20314 (normal-no-mouse-startup-screen): Improve the generic code and get rid
20315 of the special code for when C-h bindings haven't been changed.
20316 (display-startup-echo-area-message): Use with-current-buffer.
20317 (command-line-1): Use a list of strings, rather than a list of lists
20318 of strings for longopts.
20319
20320 * files.el (get-free-disk-space): Use / for default-directory.
20321
20322 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
20323 Use with-current-buffer.
20324
20325 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
20326 Recognize immutable variables like most-positive-fixnum.
20327 (byte-compile-setq-default): Check and warn if trying to assign
20328 to an immutable variable, or a non-variable.
20329
20330 * progmodes/cc-vars.el (c-comment-continuation-stars):
20331 * progmodes/cc-engine.el (c-looking-at-bos):
20332 * progmodes/cc-cmds.el (c-toggle-auto-state)
20333 (c-forward-into-nomenclature, c-backward-into-nomenclature)
20334 (c-comment-line-break-function): Add version of obsolescence.
20335
20336 2009-08-28 Juri Linkov <juri@jurta.org>
20337
20338 * files.el (magic-fallback-mode-alist): Add ZIP magic number
20339 associated with `archive-mode'.
20340
20341 * image.el (image-type-header-regexps): Use only JPEG magic number
20342 to determine JPEG images, and don't use `image-jpeg-p' because
20343 Emacs can display non-JFIF non-Exif JPEG images.
20344
20345 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
20346
20347 * arc-mode.el (archive-mode):
20348 * emacs-lisp/re-builder.el (re-builder-unload-function):
20349 Protect against the default value of `major-mode' being nil.
20350
20351 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
20352
20353 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
20354 Fix typos in docstrings.
20355
20356 * progmodes/js.el (js--macro-decl-re): Doc fix.
20357 (js--plain-method-re, js--split-name): Refloc docstring.
20358 (js--class-styles, js--make-merged-item, js--splice-into-items):
20359 Fix typos in docstrings; reflow docstrings.
20360 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
20361 (js--variable-decl-matcher, js--inside-pitem-p)
20362 (js--parse-state-at-point, js--get-all-known-symbols)
20363 (js--symbol-history, js-find-symbol, js--js-references)
20364 (js--moz-interactor, js--js-encode-value, js--read-tab):
20365 Fix typos in docstrings.
20366
20367 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20368
20369 * textmodes/reftex.el (reftex-get-file-buffer-force):
20370 * progmodes/verilog-mode.el (verilog-batch-execute-func):
20371 * emulation/viper.el (viper-go-away, viper-set-hooks):
20372 * emacs-lisp/re-builder.el (re-builder-unload-function):
20373 * emacs-lisp/bytecomp.el (byte-compile-file):
20374 * ses.el (ses-unload-function):
20375 * hexl.el (hexl-find-file):
20376 * files.el (normal-mode):
20377 * ehelp.el (with-electric-help):
20378 * autoinsert.el (auto-insert-alist):
20379 * arc-mode.el (archive-mode):
20380 Use (default-value 'major-mode) instead of default-major-mode.
20381
20382 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
20383 * international/mule.el (load-with-code-conversion):
20384 * emacs-lisp/debug.el (debug):
20385 * ediff-vers.el (ediff-rcs-get-output-buffer):
20386 * dired.el (dired-internal-noselect): Don't let-bind
20387 default-major-mode around code that doesn't use it.
20388 E.g. buffer creation via get-buffer-create doesn't use it.
20389
20390 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
20391
20392 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
20393 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
20394 when writing the temp file. Otherwise, epa-file gets confused.
20395 (tramp-register-file-name-handlers): Make it a defun. Move also
20396 `epa-file-handler' to the front of `file-name-handler-alist'.
20397
20398 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20399
20400 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
20401 start right after a ^M.
20402 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
20403 (tramp-completion-file-name-regexp-separate)
20404 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
20405 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
20406 Don't modify last-coding-system-used by accident.
20407 (tramp-completion-file-name-handler): Apply the checks here,
20408 instead during registration.
20409 (tramp-register-file-name-handlers): Rename from
20410 `tramp-register-file-name-handler'. Register both
20411 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
20412 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
20413
20414 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
20415
20416 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
20417 Remove variable ...
20418 (gdb-init-1, gdb-display-separate-io-buffer)
20419 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
20420 references to it.
20421 (gdb-inferior-io-mode): Use make-comint-in-buffer.
20422 (gdb-inferior-filter): Use comint-output-filter to stop
20423 echoing and remove ^M characters.
20424
20425 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20426
20427 * emulation/viper-init.el (viper-restore-cursor-type):
20428 * emulation/cua-base.el (cua--update-indications):
20429 Replace default-cursor-type with (default-value 'cursor-type).
20430
20431 * mail/sendmail.el (mail-recover-1):
20432 * international/mule-diag.el (describe-current-coding-system-briefly)
20433 (describe-current-coding-system):
20434 * international/mule-cmds.el (select-safe-coding-system)
20435 (select-message-coding-system)
20436 (set-language-environment-coding-systems, set-locale-environment):
20437 * hexl.el (hexl-insert-multibyte-char):
20438 * dos-w32.el (find-buffer-file-type-coding-system):
20439 * simple.el (what-cursor-position):
20440 Replace uses of default-buffer-file-coding-system
20441 with (default-value 'buffer-file-coding-system).
20442
20443 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
20444 Replace uses of default-cursor-in-non-selected-windows
20445 with (default-value 'cursor-in-non-selected-windows).
20446 Use with-current-buffer.
20447
20448 * mail/feedmail.el: Use CL macros.
20449 (feedmail-run-the-queue, feedmail-send-it-immediately):
20450 * dos-w32.el (find-buffer-file-type): Replace uses of
20451 default-buffer-file-type with (default-value 'buffer-file-type).
20452
20453 2009-08-28 Glenn Morris <rgm@gnu.org>
20454
20455 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
20456 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
20457 Use default-value of major-mode rather than default-major-mode.
20458
20459 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
20460
20461 * Makefile.in (update-elcfiles): Report left over elc files.
20462
20463 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
20464 expand-file-name and with-current-buffer.
20465 (mail-get-names, mail-directory): Use with-current-buffer.
20466
20467 * vc.el (vc-read-revision): New function.
20468 (vc-version-diff, vc-merge): Use it.
20469
20470 2009-08-27 Sam Steingold <sds@gnu.org>
20471
20472 * simple.el (kill-do-not-save-duplicates): New user option.
20473 (kill-new): When it is non-nil, and the new string is the same as
20474 the latest kill, set replace to t to avoid duplicates in kill-ring.
20475
20476 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
20477
20478 * net/tramp.el (tramp-handle-process-file): Do not flush all
20479 caches when `process-file-side-effects' is set.
20480 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
20481 instead of `tramp-find-file-exists-command'.
20482 Unset `process-file-side-effects'.
20483
20484 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
20485
20486 * net/tramp.el (tramp-methods): New method "rsyncc".
20487 (top): Add completion function for "rsyncc".
20488 (tramp-message-show-message): New defvar.
20489 (tramp-message, tramp-error): Use it.
20490 (tramp-do-copy-or-rename-file-directly): Extend check for direct
20491 remote copying.
20492 (tramp-do-copy-or-rename-file-out-of-band): Handle new
20493 `tramp-methods' entry `copy-env' of "rsyncc".
20494 (tramp-vc-registered-read-file-names): New defconst.
20495 (tramp-vc-registered-file-names): New defvar.
20496 (tramp-handle-vc-registered): Implement optimization strategy.
20497 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
20498 (tramp-vc-file-name-handler): New defun.
20499 (tramp-get-ls-command, tramp-get-test-command)
20500 (tramp-get-file-exists-command, tramp-get-remote-ln)
20501 (tramp-get-remote-perl, tramp-get-remote-stat)
20502 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
20503
20504 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
20505 (tramp-cache-inhibit-cache): Extend doc string. It allows also
20506 timestamps.
20507 (tramp-get-file-property): Check for timestamps in
20508 `tramp-cache-inhibit-cache'.
20509 (tramp-set-file-property): Write timestamp.
20510
20511 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
20512
20513 * language/japan-util.el (japanese-symbol-table): Add entries for
20514 cp932-2-byte.
20515
20516 * international/characters.el: Add category `j' to cp932-2-byte.
20517
20518 2009-08-27 Kenichi Handa <handa@m17n.org>
20519
20520 * international/fontset.el (build-default-fontset-data): New macro.
20521 (setup-default-fontset): Use build-default-fontset-data for CJK,
20522 tibetan, ethiopic, and ipa.
20523
20524 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
20525
20526 * cus-start.el (default-major-mode): Customize `major-mode' instead.
20527 (enable-multibyte-characters): Not customizable any more.
20528
20529 * subr.el (default-mode-line-format, default-header-line-format)
20530 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
20531 (default-direction-reversed, default-truncate-lines)
20532 (default-left-margin, default-tab-width, default-case-fold-search)
20533 (default-left-margin-width, default-right-margin-width)
20534 (default-left-fringe-width, default-right-fringe-width)
20535 (default-fringes-outside-margins, default-scroll-bar-width)
20536 (default-vertical-scroll-bar, default-indicate-empty-lines)
20537 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
20538 (default-fringe-cursor-alist, default-scroll-up-aggressively)
20539 (default-scroll-down-aggressively, default-fill-column)
20540 (default-cursor-type, default-buffer-file-type)
20541 (default-cursor-in-non-selected-windows)
20542 (default-buffer-file-coding-system, default-major-mode)
20543 (default-enable-multibyte-characters): Mark as obsolete.
20544
20545 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
20546
20547 * vc-dir.el (vc-dir-update): Remove debug helper.
20548
20549 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
20550
20551 2009-08-26 Sam Steingold <sds@gnu.org>
20552
20553 * simple.el (save-interprogram-paste-before-kill): New user option.
20554 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
20555 save the interprogram-paste into kill-ring before overriding it
20556 with the Emacs kill.
20557
20558 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
20559
20560 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
20561 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
20562 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
20563 and move to vc-rcs.el.
20564 (vc-default-next-revision): Rename to vc-rcs-next-revision and
20565 move to vc-rcs.el.
20566 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
20567 (vc-rcs-update-changelog): Remove.
20568 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
20569 and move to vc-rcs.el.
20570
20571 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
20572 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
20573 renaming.
20574 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
20575 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
20576 vc.el, renamed to be RCS specific.
20577
20578 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
20579 New functions.
20580 (vc-cvs-update-changelog): Move here from vc.el.
20581
20582 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
20583 New functions.
20584
20585 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
20586
20587 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
20588
20589 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
20590
20591 * vc-git.el (vc-git-register): Use "git add" for directories.
20592 (vc-git-stash, vc-git-stash-show): New functions.
20593 (vc-git-extra-menu-map): Bind them.
20594
20595 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
20596 directory correctly in case the item is a directory itself.
20597
20598 * vc.el: Document the desired behavior for reverted files in the
20599 `added' state.
20600 (vc-default-prettify-state-info): Remove function, unused.
20601
20602 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
20603
20604 2009-08-26 Glenn Morris <rgm@gnu.org>
20605
20606 * bindings.el (standard-mode-line-format): Reposition dashes in
20607 which-func entry. (Bug#4217)
20608
20609 * files.el (enable-local-variables, enable-local-eval)
20610 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
20611 the defcustoms.
20612 (auto-mode-alist, ignored-local-variables)
20613 (save-some-buffers-action-alist): Move risky declarations to the
20614 definitions.
20615 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
20616 (font-lock-defaults, format-alist, imenu--index-alist)
20617 (imenu-generic-expression, input-method-alist, minor-mode-alist)
20618 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
20619 (mode-line-modified, mode-line-mule-info, mode-line-position)
20620 (mode-line-process, mode-line-remote, outline-level)
20621 (parse-time-rules, rmail-output-file-alist)
20622 (special-display-buffer-names, vc-mode):
20623 Move risky declarations to the relevant files.
20624 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
20625 (mode-line-modified, mode-line-process, mode-line-position)
20626 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
20627 * font-core.el (font-lock-defaults):
20628 * format.el (format-alist):
20629 * vc-hooks.el (vc-mode):
20630 * window.el (special-display-buffer-names):
20631 * international/mule-cmds.el (input-method-alist):
20632 Define riskiness here (dumped file) rather than in files.el.
20633 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
20634 * imenu.el (imenu-generic-expression, imenu--index-alist):
20635 * outline.el (outline-level):
20636 * time.el (display-time-string):
20637 * calendar/parse-time.el (parse-time-rules):
20638 * mail/rmailout.el (rmail-output-file-alist):
20639 Autoload riskiness here, rather than placing in files.el.
20640
20641 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
20642
20643 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
20644
20645 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
20646
20647 * simple.el (process-file-side-effects): New defvar.
20648
20649 * dired-aux.el (dired-show-file-type):
20650 * vc.el (vc-diff-internal):
20651 * vc-arch.el (vc-arch-diff):
20652 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
20653 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
20654 * vc-git.el (vc-git-registered, vc-git-working-revision)
20655 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
20656 (vc-git--empty-db-p):
20657 * vc-hooks.el (vc-user-login-name):
20658 * vc-svn.el (vc-svn-registered, vc-svn-state)
20659 (vc-svn-dir-extra-headers, vc-svn-find-revision):
20660 * progmodes/grep.el (grep-probe): Let-bind
20661 `process-file-side-effects' with nil.
20662
20663 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
20664
20665 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
20666 daemon. Replace ping by checking for running service for bluez
20667 and zeroconf. (Bug#4239)
20668
20669 2009-08-25 Kevin Ryde <user42@zip.com.au>
20670
20671 * net/dig.el (dig): Add autoload cookie.
20672
20673 2009-08-25 Glenn Morris <rgm@gnu.org>
20674
20675 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
20676 load-history for absolute file-names.
20677 (byte-compile-file-form-require): Warn about use of the cl package.
20678
20679 * format.el (format-alist): Doc fix.
20680
20681 * play/bubbles.el (top-level): Don't require cl at run-time.
20682
20683 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
20684 run-time cl).
20685
20686 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
20687
20688 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
20689 from cl package.
20690 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
20691
20692 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
20693
20694 * calc/calc-alg.el (math-trig-rewrite)
20695 (math-hyperbolic-trig-rewrite): New functions.
20696 (calc-simplify): Simplify trig functions when asked.
20697
20698 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
20699
20700 * diff-mode.el (diff-find-source-location): Avoid goto-line.
20701
20702 2009-08-24 Kenichi Handa <handa@m17n.org>
20703
20704 * language/ind-util.el (mapthread): Delete it.
20705 (combinatorial): New function.
20706 (indian--puthash-cv): Use combinatorial instead of mapthread.
20707
20708 2009-08-22 Kevin Ryde <user42@zip.com.au>
20709
20710 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
20711 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
20712 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
20713 Clarify docstring that the value is strings not symbols.
20714 (checkdoc-list-of-strings-p): New function.
20715
20716 2009-08-22 Glenn Morris <rgm@gnu.org>
20717
20718 * files.el (auto-mode-alist):
20719 * hippie-exp.el (he-concat-directory-file-name):
20720 * lpr.el (lpr-windows-system, printer-name):
20721 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
20722 * ps-print.el (ps-windows-system):
20723 * startup.el (command-line):
20724 * emulation/viper-ex.el (viper-glob-function):
20725 * international/mule-cmds.el (set-language-environment-coding-systems):
20726 * net/ange-ftp.el (ange-ftp-write-region):
20727 * obsolete/fast-lock.el (fast-lock-cache-name):
20728 Remove code for defunct system-types emx, macos, mswindows, next-mach,
20729 unisoft-unix, vax-vms, win32, w32.
20730
20731 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
20732 given name if the pattern is not more specific.
20733
20734 * calendar/lunar.el (lunar-phase-names): New option.
20735 (lunar-phase): Doc fix.
20736 (lunar-cycles-per-year): New constant.
20737 (lunar-index): New function.
20738 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
20739 (lunar-phase-name): Use lunar-phase-names.
20740 (calendar-lunar-phases): Use format.
20741 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
20742
20743 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
20744 Copy imenu-example--name-and-position function here for own use.
20745 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
20746
20747 * bs.el (bs--redisplay):
20748 * cus-edit.el (custom-redraw):
20749 * ibuffer.el (ibuffer-bury-buffer):
20750 * server.el (server-goto-line-column):
20751 * startup.el (command-line-1):
20752 * strokes.el (strokes-xpm-for-stroke):
20753 * term.el (term-display-buffer-line):
20754 * view.el (View-goto-line):
20755 * calc/calc.el (calc-do, calc-trail-buffer):
20756 * play/gamegrid.el (gamegrid-add-score-insecure):
20757 * progmodes/ada-mode.el (ada-compile-goto-error):
20758 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
20759 (ebrowse-select-1st-to-9nth):
20760 * progmodes/cperl-mode.el (cperl-time-fontification):
20761 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
20762 * progmodes/gud.el (gud-display-line):
20763 (idlwave-shell-display-line):
20764 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
20765 * progmodes/make-mode.el (makefile-browser-toggle):
20766 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
20767 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
20768 * textmodes/picture.el (picture-draw-rectangle):
20769 * textmodes/reftex-index.el (reftex-index-goto-letter):
20770 (reftex-select-jump-to-previous):
20771 * textmodes/reftex-sel.el (reftex-find-start-point)
20772 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
20773 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
20774 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
20775 * textmodes/tex-mode.el (tex-compilation-parse-errors):
20776 * textmodes/two-column.el (2C-associated-buffer):
20777 Use forward-line rather than goto-line.
20778
20779 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
20780 goto-line.
20781
20782 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
20783 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
20784 (quick-check-list-to-regexp): Declare.
20785
20786 * progmodes/make-mode.el (makefile-browser-insert-selection):
20787 Use goto-char rather than goto-line.
20788
20789 * progmodes/prolog.el (compilation-error-regexp-alist)
20790 (compilation-forget-errors): Declare.
20791
20792 2009-08-22 Juri Linkov <juri@jurta.org>
20793
20794 * progmodes/grep.el (lgrep, rgrep): At the beginning
20795 set `dir' to `default-directory' unless `dir' is a non-nil
20796 readable directory. (Bug#4052)
20797 (lgrep, rgrep): Change a weird way to report an error
20798 from using `read-string' to using `error'.
20799 Instead of using interactive arguments in the function body,
20800 add new argument `confirm'.
20801
20802 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
20803
20804 * textmodes/remember.el (remember-buffer):
20805 * progmodes/cperl-mode.el (cperl-vc-header-alist):
20806 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
20807 (icalendar-extract-ical-from-buffer):
20808 * net/newst-treeview.el (newsticker-groups-filename):
20809 * net/newst-backend.el (newsticker-cache-filename):
20810 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
20811 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
20812 (speedbar-add-ignored-path-regexp, speedbar-line-path)
20813 (speedbar-buffers-line-path, speedbar-path-line)
20814 (speedbar-buffers-line-path):
20815 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
20816 (epg-sign-keys):
20817 * epa.el (epa-display-verify-result):
20818 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
20819
20820 2009-08-21 Glenn Morris <rgm@gnu.org>
20821
20822 * progmodes/js.el (inferior-moz-process): Fix declaration.
20823
20824 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
20825
20826 * obsolete/rnewspost.el (news-mail-reply):
20827 Use goto-char rather than goto-line.
20828
20829 * term/ns-win.el (ns-open-file-select-line):
20830 Use line-beginning-position rather than goto-line.
20831
20832 * apropos.el (apropos-command):
20833 * ehelp.el (electric-helpify):
20834 * printing.el (pr-show-setup):
20835 * strokes.el (strokes-help):
20836 * tutorial.el (tutorial--describe-nonstandard-key)
20837 (tutorial--detailed-help):
20838 * woman.el (woman-mini-help, woman-display-extended-fonts):
20839 * calc/calc-help.el (calc-describe-key):
20840 * emulation/edt.el (edt-electric-helpify):
20841 * international/mule-diag.el (mule-diag):
20842 * play/yow.el (apropos-zippy):
20843 * progmodes/python.el (python-describe-symbol):
20844 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
20845 * textmodes/table.el (*table--cell-describe-mode)
20846 (*table--cell-describe-bindings):
20847 Use help-print-return-message rather than the now obsolete alias.
20848
20849 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
20850 (calendar-cursor-to-visible-date):
20851 * play/5x5.el (5x5-position-cursor):
20852 * play/decipher.el (decipher):
20853 * play/gomoku.el (gomoku-goto-xy):
20854 * play/landmark.el (lm-goto-xy):
20855 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
20856 (mpuz-paint-digit):
20857 Use forward-line, not goto-line.
20858
20859 * mail/rmail.el (rmail-obsolete): Delete custom group.
20860 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
20861 (rmail-remote-password, rmail-remote-password-required):
20862 Remove unneeded :set-after and :set properties.
20863
20864 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
20865
20866 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
20867
20868 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
20869
20870 * loadup.el: Remove leftover macos code.
20871
20872 * vc-git.el (vc-git-annotate-command): Run asynchronously.
20873 Explicitly pass the date format to git blame so that user local
20874 so that the output format can be parsed.
20875
20876 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
20877
20878 * net/dbus.el (top): Don't check for (getenv
20879 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
20880
20881 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
20882
20883 * log-edit.el (log-edit-strip-single-file-name): New var.
20884 (log-edit-insert-changelog): Use it. Bug#3571.
20885
20886 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
20887
20888 * subr.el (read-passwd): Use read-key so keypad keys work as well.
20889 Bug#3287.
20890
20891 * help.el (help-print-return-message): Rename from
20892 print-help-return-message.
20893
20894 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
20895 cvs-mode-map parent hack.
20896 (log-view-mode): Derive from special-mode.
20897
20898 * linum.el (linum-mode): window-size-change-functions is redundant.
20899 Adapt to new window-configuration-change-hook behavior.
20900 (linum-after-size, linum-after-config): Remove.
20901
20902 * imenu.el (imenu-example--name-and-position)
20903 (imenu-example--lisp-extract-index-name)
20904 (imenu-example--create-lisp-index, imenu-example--create-c-index):
20905 Mark as obsolete.
20906
20907 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
20908 (inferior-prolog-mode): Use it.
20909 (inferior-prolog-load-file): Reset list of errors.
20910
20911 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
20912
20913 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
20914
20915 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
20916
20917 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
20918
20919 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
20920 is running already.
20921
20922 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
20923
20924 * subr.el (listify-key-sequence-1): Use normal syntax since those
20925 integers are nowadays always represented by the same (positive) number
20926 on all platforms.
20927 (read-key-empty-map): New const.
20928 (read-key-delay): New var.
20929 (read-key): New function.
20930 (force-mode-line-update): Use with-current-buffer.
20931 (locate-user-emacs-file): Don't forget to abbreviate the file name.
20932 (start-process-shell-command, start-file-process-shell-command):
20933 Discourage the use of command-args.
20934
20935 2009-08-19 Glenn Morris <rgm@gnu.org>
20936
20937 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
20938
20939 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
20940
20941 * simple.el (choose-completion-string): Don't rely on
20942 minibuffer-completing-file-name and ad-hoc checks to decide whether
20943 to continue completion or not.
20944
20945 * minibuffer.el (minibuffer-hide-completions): New function.
20946 (completion--do-completion): Use it.
20947 (completions-annotations): New face.
20948 (completion--insert-strings): Use it.
20949 (completion-pcm--delim-wild-regex): Add docstring.
20950 (completion-pcm--string->pattern): Add support for 0-width delimiters
20951 in completion-pcm--delim-wild-regex.
20952
20953 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
20954
20955 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
20956 Remove unused var `buffer-modified-p'.
20957
20958 * minibuffer.el (completion--do-completion): Move point for the #b001
20959 case as well (bug#4176).
20960 (minibuffer-complete, minibuffer-complete-word): Don't move point.
20961
20962 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
20963
20964 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
20965 and :session buses.
20966
20967 2009-08-18 Kenichi Handa <handa@m17n.org>
20968
20969 * international/ucs-normalize.el (ucs-normalize-version):
20970 Change to 1.1.
20971 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
20972 (utf-8-hfs): Make it perform normalization on encoding too.
20973
20974 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
20975 (sentence-end-without-space): Delete duplicated chars.
20976 (sentence-end-base): Likewise.
20977
20978 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
20979 (html-mode): Delete duplicated chars from sentence-end-base.
20980
20981 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
20982 (texinfo-mode): Delete duplicated chars from sentence-end-base.
20983
20984 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
20985
20986 * files.el (hack-one-local-variable): If the mode function is for
20987 a minor mode, pass it an argument (Bug#4148).
20988
20989 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
20990
20991 * net/tramp.el (tramp-register-completion-file-name-handler):
20992 Check also for (member 'partial-completion completion-styles).
20993
20994 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
20995
20996 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
20997 abbrev (Bug#3943).
20998
20999 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
21000
21001 * progmodes/cperl-mode.el: Merge upstream 6.2.
21002 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
21003 (cperl-forward-re): Check cperl-brace-recursing.
21004 (cperl-highlight-charclass): New function.
21005 (cperl-find-pods-heres): Use it.
21006 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
21007 (cperl-beautify-regexp-piece): Fix column calculation.
21008 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
21009 (cperl-beautify-level): Don't process entire regexp.
21010 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
21011 calling man.
21012 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
21013 (cperl-init-faces): Build a list in the normal way.
21014
21015 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21016
21017 * calendar/parse-time.el (parse-time-string-chars): Save match
21018 data.
21019
21020 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
21021
21022 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
21023 (sql-product): Use it.
21024 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
21025 (sql-set-product): Add completion.
21026 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
21027 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
21028 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
21029 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
21030 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
21031 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
21032 (sql-highlight-db2-keywords): Remove.
21033 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
21034 (sql-highlight-product): Use derived-mode-p.
21035 (sql-set-sqli-buffer): Use with-current-buffer.
21036 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
21037 Simplify.
21038
21039 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
21040
21041 * term.el: Fix commenting convention, turn comments into docstrings.
21042
21043 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
21044
21045 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
21046
21047 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
21048
21049 * calendar/parse-time.el (parse-time-string-chars): Compute using
21050 character classes, to handle non-ascii characters (Bug#3190).
21051
21052 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21053
21054 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
21055 another heredoc if the user adds another < (Bug#3226).
21056
21057 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
21058 Don't initialize based on window-system (Bug#4124).
21059
21060 * facemenu.el (facemenu-read-color): Use a completion function
21061 that accepts any defined color, such as RGB triplets (Bug#3677).
21062
21063 * files.el (get-free-disk-space): Change fallback default
21064 directory to /. Expand DIR argument before switching to fallback.
21065 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
21066
21067 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
21068
21069 * files.el (load-library): Doc fix.
21070
21071 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
21072
21073 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
21074 (viper-if-string): Redefine C-s in the minibuffer to insert the last
21075 incremental search string.
21076
21077 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
21078 XEmacs.
21079
21080 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
21081 (ediff-merge-region-is-non-clash)
21082 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
21083 Also check if the job is really a merge job.
21084
21085 * ediff.el (ediff-current-file): New function.
21086
21087 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
21088
21089 * progmodes/js.el: Edit docstrings throughout to follow Emacs
21090 conventions.
21091 (js-insert-and-indent): Delete function.
21092 (js-mode-map): Don't bind keys to js-insert-and-indent.
21093 (js-beginning-of-defun): Rename from js--beginning-of-defun.
21094 (js-end-of-defun): Rename from js--end-of-defun.
21095 (js-auto-indent-flag): Delete variable.
21096
21097 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
21098
21099 * progmodes/js.el: Remove proclaim statement.
21100 Defvar which-func-imenu-joiner-function to silence compiler.
21101
21102 * files.el (auto-mode-alist): Use js-mode for .js files.
21103
21104 * progmodes/js2-mode.el: Remove file.
21105
21106 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
21107
21108 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
21109
21110 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
21111
21112 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
21113 Karl Landstrom <karl.landstrom@brgeight.se>
21114
21115 * progmodes/js.el: New file.
21116
21117 2009-08-14 Mark A. Hershberger <mah@everybody.org>
21118
21119 * timezone.el (timezone-parse-date): Add ability to understand ISO
21120 basic format (minimal separators) dates in addition to the
21121 already-supported extended format dates.
21122
21123 2009-08-14 Eli Zaretskii <eliz@gnu.org>
21124
21125 * international/ucs-normalize.el: Add a `coding' file variable.
21126
21127 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
21128
21129 2009-08-14 Sam Steingold <sds@gnu.org>
21130
21131 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
21132
21133 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
21134
21135 * faces.el (help-argument-name): Define it here instead of
21136 help-fns.el, because in daemon mode help-fns.el may be loaded when
21137 faces are still uninitialized (Bug#1078).
21138
21139 * help-fns.el (help-argument-name): Move defface to faces.el.
21140
21141 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
21142
21143 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
21144 create buffer with a pty but no process so that GDB can make the
21145 inferior the controlling process.
21146
21147 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
21148
21149 * international/ucs-normalize.el: New file.
21150
21151 2009-08-13 Richard Stallman <rms@gnu.org>
21152
21153 * mail/rmail.el (rmail-get-attr-names):
21154 Accept an attribute header that is too short.
21155
21156 * mail/rmail.el (rmail-forget-messages):
21157 Ignore nil elt in rmail-message-vector. Use dotimes.
21158
21159 * progmodes/compile.el (compilation-goto-locus):
21160 Use next-error-move-function.
21161
21162 * simple.el (next-error-move-function): New variable.
21163
21164 2009-08-12 Juri Linkov <juri@jurta.org>
21165
21166 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
21167 always non-nil. (Bug#4052)
21168
21169 * replace.el (read-regexp): Return empty string when
21170 `default-value' is nil.
21171 (keep-lines-read-args): Don't use empty string as the
21172 default value for `read-regexp'. (Bug#2495)
21173
21174 2009-08-12 Juri Linkov <juri@jurta.org>
21175
21176 * international/mule-cmds.el (ucs-insert): Change arguments
21177 from `arg' to `character', `count', `inherit' to be the same
21178 as in `insert-char'. Doc fix. (Bug#4039)
21179
21180 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
21181
21182 2009-08-12 Juri Linkov <juri@jurta.org>
21183
21184 * files-x.el: New file.
21185
21186 * files.el: Move code that deals with adding/deleting
21187 file/directory-local variables to files-x.el.
21188
21189 * Makefile.in (ELCFILES): Add files-x.elc.
21190
21191 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
21192
21193 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
21194 to use `goto-line'.
21195 (gdb-place-breakpoints, gdb-get-location): Rewritten without
21196 `goto-line'.
21197 (gdb-invalidate-disassembly): Do not refresh upon receiving
21198 'update signal. Instead, update all disassembly buffers only after
21199 threads list.
21200 (gdb): Send -target-detach when buffer is killed (Bug#3794).
21201 (gdb-starting): Move -data-list-register-names...
21202 (gdb-stopped): ...here so it's sent when first thread stops.
21203 (gdb-registers-handler-custom): Do nothing if register names are
21204 unknown yet.
21205
21206 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
21207 from `gdb-mi.el' to avoid extra tangling.
21208
21209 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
21210 change which breaks `gud-def' definitions used in `gdb'.
21211 (gdb-update-gud-running): No extra fuss for updating frame number.
21212
21213 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
21214
21215 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
21216 (describe-language-environment-map, setup-language-environment-map)
21217 (set-coding-system-map): Move initialization into declaration.
21218 (set-language-info-alist): Last arg to define-key-after can be skipped.
21219
21220 * international/quail.el (quail-completion-1): Simplify.
21221 (quail-define-rules): Use slightly more compact code.
21222 (quail-insert-decode-map): Propertize keys, compact columns.
21223
21224 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21225 Add goto-line.
21226
21227 2009-08-10 Miles Bader <miles@gnu.org>
21228
21229 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
21230 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
21231 (js2-instance-member, js2-private-member, js2-private-function-call)
21232 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
21233 (js2-magic-paren, js2-external-variable):
21234 Remove "-face" suffix from face names.
21235 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
21236 (js2-highlight-undeclared-vars, js2-peek-token)
21237 (js2-parse-function-params, js2-mode-show-errors)
21238 (js2-mode-show-warnings, js2-make-magic-delimiter)
21239 (js2-mode-highlight-magic-parens): Update to use new face names.
21240
21241 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
21242
21243 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
21244 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
21245
21246 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
21247
21248 * subr.el: Provide hashtable-print-readable.
21249
21250 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
21251 hs-c-like-adjust-block-beginning.
21252 (hs-hide-block-at-point): Stop hiding at the beginning of
21253 hs-block-end-regexp (Bug#700).
21254
21255 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
21256
21257 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
21258 a macro.
21259 (gdb-registers-handler-custom): Do not fail when register names
21260 are unavailable.
21261
21262 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
21263
21264 * progmodes/gdb-mi.el (gdb-control-all-threads)
21265 (gdb-control-current-thread): Interactive setters for
21266 `gdb-gud-control-all-threads' to use in menu.
21267 (gdb-show-run-p): Show «Go» when process is not active.
21268 (gud-tool-bar-map): Add non-stop/A,T indicator.
21269 Uses gud/thread.xpm and gud/all.xpm.
21270
21271 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
21272
21273 * net/net-utils.el (net-utils-font-lock-keywords): New var.
21274 (nslookup-font-lock-keywords): Make it a variable.
21275 (net-utils-mode): New mode for viewing diagnostic network output.
21276 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
21277 (net-utils-run-simple): New function.
21278 (ifconfig, iwconfig, netstat, arp, route): Use it.
21279
21280 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
21281
21282 * progmodes/gdb-mi.el (gdb-read-memory-custom)
21283 (gdb-memory-set-address, def-gdb-set-positive-number)
21284 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
21285 after changing settings.
21286 (gdb-invalidate-disassembly): Update when first shown.
21287 (gdb-edit-locals-value): Fix.
21288 (gdb-registers-handler-custom): Print registers in right order and
21289 allow changing register values (only for current thread yet).
21290 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
21291 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
21292 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
21293 (gdb-locals-handler-custom, gdb-registers-handler-custom):
21294 Thread info in mode name.
21295 (gdb-registers-mode-map): TAB to switch to locals.
21296
21297 2009-08-08 Eli Zaretskii <eliz@gnu.org>
21298
21299 * mail/rmail.el (rmail-add-mbox-headers)
21300 (rmail-set-message-counters-counter): Search for
21301 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
21302
21303 2009-08-08 Glenn Morris <rgm@gnu.org>
21304
21305 * Makefile.in (ELCFILES): Update.
21306
21307 2009-08-07 Eli Zaretskii <eliz@gnu.org>
21308
21309 * mail/sendmail.el (mail-yank-original):
21310 Set buffer-file-coding-system from the one used by the message whose
21311 text is yanked.
21312
21313 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
21314 to "windows" when "pgnuplot" is used.
21315 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
21316 Don't call accept-process-output if "pgnuplot" is used.
21317 (calc-graph-init): Don't send -display and -geometry to
21318 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
21319 running "pgnuplot -V" with shell-command-to-string.
21320
21321 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
21322 the default.
21323
21324 2009-08-07 Eli Zaretskii <eliz@gnu.org>
21325
21326 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
21327 org/org-latex.elc.
21328
21329 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
21330
21331 * vc-dispatcher.el (vc-resynch-window): Update comment.
21332
21333 * term.el (term-handle-ansi-escape): Add comments with the
21334 terminfo capabilities implemented.
21335
21336 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
21337
21338 * progmodes/gdb-mi.el (gdb-var-create-regexp): Remove.
21339 (gdb-var-create-handler): Rewritten using JSON parser.
21340 (gdb-propertize-header): Move earlier.
21341 (gdb-set-header): Remove to avoid duplication.
21342 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
21343 Refresh disassembly buffers only after threads list have been
21344 update.
21345 (gdb-threads-header, gdb-registers-header): Per-buffer header line
21346 variables.
21347
21348 2009-08-04 Juri Linkov <juri@jurta.org>
21349
21350 * files.el: Commands to add/delete file/directory-local variables.
21351 (read-file-local-variable, read-file-local-variable-value)
21352 (read-file-local-variable-mode, modify-file-local-variable)
21353 (modify-file-local-variable-prop-line)
21354 (modify-dir-local-variable): New functions.
21355 (add-file-local-variable, delete-file-local-variable)
21356 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
21357 (add-dir-local-variable, delete-dir-local-variable)
21358 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
21359 (copy-dir-locals-to-file-locals-prop-line): New commands.
21360
21361 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
21362
21363 * abbrev.el (insert-abbrev-table-description): Prettify output.
21364 Suggested by Karl Chen.
21365
21366 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
21367
21368 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
21369 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
21370 (gdb-overlay-arrow-position, gdb-thread-position)
21371 (gdb-disassembly-position): Declare variables.
21372 (gdb-wait-for-pending): Function now.
21373 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
21374 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
21375 compilation goes smoothly.
21376 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
21377 (gdb-non-stop-setting): New customization setting which replaces
21378 `gdb-non-stop' so changing it doesn't break active GDB session.
21379 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
21380 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
21381 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
21382 (gdb-show-threads-by-default): New customization options.
21383 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
21384 routines.
21385 (gdb-get-buffer-create): Send buffers update signal when they are
21386 created.
21387 (gdb-invalidate-locals, gdb-invalidate-registers)
21388 (gdb-invalidate-breakpoints)
21389 (gdb-invalidate-threads, gdb-invalidate-disassembly)
21390 (gdb-invalidate-memory): Accept update signal.
21391 (gdb-current-context-command): Use --frame option.
21392 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
21393 Implement `gdb-frame-number' selection logic.
21394 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
21395 whether to show GUD toolbar buttons.
21396 (gdb-thread-exited): Unselect current thread when it exits.
21397 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
21398 (gdb-mark-line): Routine which sets overlay arrow or inverses
21399 video on fringeless displays.
21400 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
21401 to build aligned columns of data in GDB buffers and set text
21402 properties line-by-line.
21403 (gdb-invalidate-breakpoints)
21404 (gdb-breakpoints-list-handler-custom)
21405 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
21406 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
21407 (gdb-registers-handler-custom): Align data columns.
21408 (gdb-locals-handler-custom): Now prints data like in variable
21409 declarations.
21410 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
21411 Remove confusing buttons.
21412 (gdb-invalidate-threads): Append --frame.
21413 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
21414 between breakpoints/threads buffers.
21415 (gdb-set-window-buffer): Now can ignore dedicated windows.
21416 (gdb-propertize-header): Use `gdb-set-window-buffer'.
21417 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
21418 (def-gdb-thread-buffer-gud-command): Replaces
21419 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
21420 for fine thread control.
21421 (gdb-preempt-existing-or-display-buffer): New function used to
21422 display bound buffers without breaking window layout.
21423 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
21424 (gdb-select-frame): New version of `gdb-frames-select' which now
21425 sets `gdb-frame-number' so commands may use --frame option instead
21426 of inner debugger state.
21427 (gdb-frame-handler): Do not set `gdb-frame-number'.
21428 (gdb-threads-mode-map): Select threads with mouse.
21429
21430 * progmodes/gud.el (gdb-gud-context-call): Declare function to
21431 avoid compilation warning.
21432 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
21433 `gdb-show-stop-p`.
21434
21435 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
21436 Argument `key' renamed to `buffer-type'.
21437 (gdb-current-context-buffer-name): Do not add thread info to
21438 buffer name when no thread is selected.
21439 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
21440 command (bug 3794).
21441 (gdb-thread-selected): Handle `=thread-selected' notification.
21442 (gdb-wait-for-pending): New macro to deal with congestion problems.
21443 (gdb-breakpoints-list-handler-custom): Don't fail on pending
21444 breakpoints.
21445 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
21446 This fixes problem similar to one described in bug 3947.
21447 (gud-menu-map): More menu items.
21448 (gdb-init-1): Reset `gdb-thread-number' to nil.
21449
21450 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
21451 non-stop settings.
21452
21453 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
21454 (gdb-current-context-command): Do not append --thread if
21455 `gdb-thread-number' is nil.
21456 (gdb-running-threads-count, gdb-stopped-threads-count):
21457 New variables.
21458 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
21459 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
21460 New customization options.
21461 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
21462 GUD commands.
21463 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
21464 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
21465 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
21466 set `gdb-thread-number' and update `gud-running' properly.
21467 (gdb-running): Update threads list when new threads appear.
21468 (gdb-stopped): Support non-stop operation and new thread switching
21469 logic.
21470 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
21471 (gdb-json-partial-output): New set of JSON routines.
21472 (def-gdb-auto-update-trigger): New `signal-list' optional
21473 argument.
21474 (gdb-thread-list-handler-custom): Update `gud-running',
21475 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
21476 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
21477 (gdb-continue-thread, gdb-step-thread): New commands for fine
21478 thread execution control.
21479 (gud-menu-map): New menu items to switch non-stop options.
21480 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
21481 (gdb-send): Mimic RET properly (bug 3794).
21482
21483 * progmodes/gdb-mi.el (gdb-rules-name-maker)
21484 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
21485 gdb-buffer-rules.
21486 (def-gdb-auto-update-handler): New nopreserve optional argument.
21487 (gdb-stack-list-frames-custom): Print stack from top to bottom.
21488
21489 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
21490 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
21491 (gdb-parent-mode): New mode to derive other GDB modes from.
21492 (gdb-display-disassembly-for-thread)
21493 (gdb-frame-disassembly-for-thread): New commands for threads
21494 buffer.
21495
21496 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
21497 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
21498 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
21499 (gdb-update): We now store all GDB buffers in a list so that they
21500 can be updated by traversing a list instead of calling invalidate
21501 triggers explicitly.
21502 (def-gdb-trigger-and-handler): New macro to define trigger-handler
21503 pair for GDB buffer.
21504 (gdb-stack-buffer-name): Add thread information.
21505 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
21506 handle pending triggers.
21507 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
21508 (def-gdb-thread-buffer-simple-command)
21509 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
21510 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
21511 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
21512 New commands which show buffers bound to thread.
21513 (gdb-stack-list-locals-regexp): Remove unused regexp.
21514
21515 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
21516 (gdb-locals-buffer-name, gdb-registers-buffer-name)
21517 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
21518 to (gud-comint-buffer) in *-buffer-name functions
21519 because (gdb-get-target-string) already does that.
21520 (gdb-locals-handler-custom, gdb-registers-handler-custom)
21521 (gdb-changed-registers-handler): Rewritten without regexps.
21522
21523 * progmodes/gdb-mi.el: Basic thread selection support.
21524 (gdb-thread-number): New variable.
21525 (gdb-current-context-command): New macro which adds --thread
21526 option to command.
21527 (gdb-threads-mode-map): Select thread with SPC.
21528 (gdb-thread-list-handler-custom): Mark current thread with overlay
21529 arrow. Synchronize GDB thread and Emacs thread.
21530 (gdb-select-thread): New command which selects current thread.
21531 (gdb-invalidate-frames, gdb-invalidate-locals)
21532 (gdb-invalidate-registers): Use --thread option.
21533
21534 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
21535
21536 * net/tramp.el (top): Make check for tramp-gvfs loading more
21537 robust. (Bug#3977)
21538 (tramp-handle-insert-file-contents): `unwind-protect' must be
21539 inside `with-parsed-tramp-file-name'.
21540
21541 * net/tramp-gvfs.el (top): Remove superfluous message when loading
21542 fails.
21543
21544 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
21545
21546 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
21547 directory if CLASSPATH is not set.
21548
21549 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
21550
21551 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
21552 New defconst.
21553 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
21554
21555 2009-08-02 Kevin Ryde <user42@zip.com.au>
21556
21557 * net/newst-backend.el (newsticker--raw-url-list-defaults):
21558 Update freshmeat link. Delete newsforge.com as it seems gone.
21559
21560 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
21561
21562 * select.el (x-set-selection): Doc fix (Bug#4021).
21563
21564 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
21565
21566 * help-fns.el (describe-variable): Treat list return values from
21567 dir-locals-find-file properly (Bug#4005).
21568
21569 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
21570
21571 * net/tramp.el (tramp-debug-message): Print also microseconds.
21572
21573 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
21574
21575 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
21576 or END is non-nil.
21577 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
21578 (tramp-get-debug-buffer): Change `outline-regexp' according to new
21579 format.
21580
21581 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
21582 (tramp-get-file-property): Use it.
21583
21584 * autorevert.el (auto-revert-handler):
21585 Allow `auto-revert-tail-mode' for remote files.
21586
21587 2009-08-02 Jason Rumney <jasonr@gnu.org>
21588
21589 * minibuffer.el (read-file-name): Treat confirm options to
21590 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
21591
21592 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
21593
21594 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
21595 (font-lock-variable-name-face, font-lock-constant-face):
21596 Darken the colors for light backgrounds.
21597
21598 2009-08-01 Eli Zaretskii <eliz@gnu.org>
21599
21600 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
21601 month names. (Bug#3987)
21602
21603 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
21604
21605 * simple.el (line-move-finish): Pass whole number to
21606 line-move-to-column.
21607 (line-move-visual): Perform hscroll to the recorded position.
21608
21609 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
21610
21611 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
21612
21613 2009-07-29 Alan Mackenzie <acm@muc.de>
21614
21615 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
21616
21617 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
21618
21619 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
21620 (gdb-place-breakpoints): Use full path when setting breakpoints.
21621
21622 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
21623
21624 * calc/calc.el (calc-mode-map): Add keybinding for
21625 `calc-transpose-lines'.
21626
21627 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
21628
21629 * calc/calc-misc.el (calc-transpose-lines): New function.
21630
21631 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
21632
21633 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
21634 Simplify check for out-of-band methods.
21635 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
21636 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
21637
21638 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
21639
21640 * vc-git.el (vc-git-checkin): Fix typo.
21641
21642 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
21643
21644 * progmodes/js2-mode.el: New file.
21645
21646 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
21647
21648 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
21649 (gud-menu-map): Adjust tooltip accordingly.
21650
21651 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
21652
21653 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
21654 (vc-bzr-log-view-mode): Adjust log-view-file-re.
21655
21656 * add-log.el (change-log-mode-map): Add a menu.
21657
21658 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
21659
21660 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
21661 function returns nil.
21662 (dbus-handle-event): Handle special return value :ignore.
21663 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
21664
21665 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
21666
21667 * view.el (view-mode-enable): Don't define Helper-return-blurb if
21668 it's not needed.
21669
21670 2009-07-25 Eli Zaretskii <eliz@gnu.org>
21671
21672 Fix Bug#3888:
21673
21674 * w32-vars.el (x-select-enable-clipboard): Doc fix.
21675
21676 * term/pc-win.el (x-display-name, x-colors)
21677 (x-select-enable-clipboard, x-select-text): Doc fix.
21678
21679 * term/common-win.el (x-display-name, x-colors): Doc fix.
21680
21681 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
21682 (xw-defined-colors): Doc fix.
21683
21684 * w32-fns.el (x-select-text, x-setup-function-keys)
21685 (x-get-selection, x-set-selection): Doc fix.
21686
21687 * term/x-win.el (x-select-text, x-setup-function-keys)
21688 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
21689
21690 * select.el (x-set-selection): Doc fix.
21691
21692 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
21693
21694 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
21695 instead of "IsNSSSupportAvailable". Avahi ought to work also when
21696 "IsNSSSupportAvailable" method is not available.
21697 Reported by Steve Youngs <steve@sxemacs.org>.
21698
21699 2009-07-24 Kenichi Handa <handa@m17n.org>
21700
21701 * international/characters.el: Fix setting of category ?C, ?|, ?K,
21702 and ?H. Fix setting of case for Latin Extended and Greek Extended.
21703 (build-unicode-category-table): Fix range checks.
21704
21705 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
21706
21707 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
21708 the buffer we try to sync is current when calling
21709 vc-resynch-buffer.
21710
21711 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
21712 not show up to date files.
21713
21714 2009-07-24 Glenn Morris <rgm@gnu.org>
21715
21716 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
21717 Add autoload cookies. If necessary, initialize.
21718 (elint-log): Handle non-file buffers.
21719 (elint-initialize): Add optional argument to reinitialize.
21720 (elint-find-builtin-variables): Save excursion.
21721
21722 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
21723
21724 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
21725 for Lint.
21726
21727 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
21728
21729 * vc.el (vc-print-log-internal): New function, split out from ...
21730 (vc-print-log): ... here.
21731 (vc-dir-move-to-goal-column): Declare.
21732
21733 * vc-git.el (vc-git-add-signoff): New variable.
21734 (vc-git-checkin): Use it.
21735 (vc-git-toggle-signoff): New function.
21736 (vc-git-extra-menu-map): Bind it to menu.
21737 (vc-git--run-command-string): Accept a nil FILE argument.
21738 (vc-git-stash-list): New function.
21739 (vc-git-dir-extra-headers): Use it.
21740
21741 2009-07-23 Glenn Morris <rgm@gnu.org>
21742
21743 * help-fns.el (describe-variable): Describe ignored and risky local
21744 variables in a similar way to that in which we describe safe ones.
21745
21746 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
21747 (byte-compile-output-file-form, byte-compile-output-docform)
21748 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
21749 Give some more local variables with common names a "bytecomp-" prefix,
21750 so as not to shadow things during compilation.
21751 * emacs-lisp/cl-macs.el (load-time-value)
21752 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
21753 `outbuffer' to `bytecomp-outbuffer'.
21754
21755 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
21756 since the next two variables cover them automatically now.
21757 (elint-builtin-variables, elint-autoloaded-variables): New.
21758 (elint-unknown-builtin-args): Remove all members, since they can be
21759 parsed automatically now.
21760 (elint-extra-errors): New.
21761 (elint-env-add-env, elint-env-add-macro): Use cadr.
21762 (elint-current-buffer): Use or. Change final message.
21763 (elint-get-top-forms): Use line-end-position.
21764 (elint-init-env): Use cadr. Handle autoload, declare-function,
21765 and defalias.
21766 (elint-add-required-env): Doc fix. Use or. Standardize error.
21767 (regexp-assoc): Remove unused function.
21768 (elint-top-form): Set elint-current-pos, to record the start of the
21769 top-level form, for compilation-mode.
21770 (elint-form): Trap errors in macro expansion. Use dolist.
21771 (elint-unbound-variable): Use elint-builtin-variables and
21772 elint-autoloaded-variables.
21773 (elint-get-args): Use cadr, or.
21774 (elint-check-cond-form): Use dolist, cadr.
21775 (elint-check-condition-case-form): Doc fix. Use cadr.
21776 Use elint-extra-errors.
21777 (elint-log): New function.
21778 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
21779 Distinguish errors and warnings.
21780 (elint-log-message): Use with-current-buffer. Inhibit read-only.
21781 Use a bytecomp-style format.
21782 (elint-clear-log): Preserve default-directory. Inhibit read-only.
21783 (elint-get-log-buffer): Use compilation mode. Disable undo.
21784 Don't truncate lines.
21785 (elint-initialize): Set builtin and autoloaded variable lists.
21786 Only process elint-unknown-builtin-args if non-nil.
21787 (elint-find-builtin-variables, elint-find-autoloaded-variables):
21788 New functions.
21789 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
21790
21791 2009-07-22 Kevin Ryde <user42@zip.com.au>
21792
21793 * net/newst-backend.el (newsticker--parse-atom-1.0)
21794 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
21795 (newsticker--parse-rss-1.0):
21796 * progmodes/idlwave.el (idlwave-mode):
21797 * progmodes/idlw-shell.el (idlwave-shell-mode):
21798 * progmodes/vera-mode.el (vera-mode):
21799 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
21800 * progmodes/vhdl-mode.el (vhdl-mode):
21801 * textmodes/table.el (table-generate-source)
21802 (table--warn-incompatibility):
21803 Hyperlink urls in docstrings with URL `...'.
21804
21805 2009-07-22 Glenn Morris <rgm@gnu.org>
21806
21807 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
21808 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
21809 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
21810 Remove leading * from defcustom docs.
21811
21812 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
21813
21814 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
21815 defcustom doc.
21816 (list-load-path-shadows): Optionally, just return shadows as a string.
21817
21818 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
21819
21820 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
21821
21822 * mail/rmailedit.el (rmail-edit-mode):
21823 Use auto-save-include-big-deletions.
21824
21825 * mail/rmail.el (rmail-variables):
21826 Use auto-save-include-big-deletions.
21827
21828 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
21829 changes.
21830
21831 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
21832
21833 * calc/calc.el (calc-undo-length): New variable.
21834 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
21835
21836 2009-07-21 Richard Stallman <rms@gnu.org>
21837
21838 * files.el (auto-save-mode): Handle buffer-save-size = -2
21839 for toggling mode.
21840
21841 2009-07-21 Glenn Morris <rgm@gnu.org>
21842
21843 * textmodes/ispell.el (ispell-looking-back): Update declaration.
21844
21845 * calendar/todo-mode.el (calendar-current-date): Update declaration.
21846
21847 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
21848 silence compiler. Instead...
21849 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
21850 (ps-print-ensure-fontified): Update for above function name changes.
21851
21852 * printing.el (pr-mh-get-msg-num, pr-mh-show)
21853 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
21854 silence compiler. Instead...
21855 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
21856 (mh-show-buffer): Only define for compiler.
21857 (pr-mh-current-message): Update for above function name changes.
21858
21859 * files.el (abort-if-file-too-large): Explicitly pass `filename'
21860 as an argument.
21861 (find-file-noselect, insert-file-1): Update for above change.
21862
21863 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
21864
21865 * mail/mailclient.el (mailclient-send-it): Fix message.
21866
21867 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
21868 (edebug-eval): Check cl-debug-env is bound.
21869 (print-level, print-circle): Don't redefine built-in variables.
21870
21871 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
21872 (custom-print-vectors): Remove old comments from doc.
21873
21874 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
21875 (emerge-version): Make the variable an obsolete alias for the
21876 emacs-version variable. Make the function obsolete.
21877 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
21878 Emerge options, rather than merging in into the main Options menu.
21879 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
21880 and auto advance modes. Disable edit/fast items when not relevant.
21881
21882 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
21883
21884 * term/vt420.el (terminal-init-vt420): Fix typo.
21885
21886 2009-07-20 Sam Steingold <sds@gnu.org>
21887
21888 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
21889 variable (removed from compile.el on 2004-03-11).
21890
21891 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
21892
21893 * files.el (hack-local-variables-filter): Fix last change.
21894
21895 2009-07-19 Juri Linkov <juri@jurta.org>
21896
21897 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
21898 (dir-local-variables-alist): New buffer-local variable.
21899 (hack-local-variables-filter): If variable is not dir-local,
21900 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
21901 because file-local overrides dir-local.
21902 (c-postprocess-file-styles) <declare-function>:
21903 Remove obsolete declaration.
21904 (hack-dir-local-variables): Add dir-local variable/value pair to
21905 `dir-local-variables-alist' and remove duplicates. Doc fix.
21906
21907 * help-fns.el (describe-variable): Add information about
21908 file-local and dir-local variables.
21909
21910 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
21911
21912 * files.el (hack-local-variables-filter): Rewrite.
21913
21914 2009-07-19 Glenn Morris <rgm@gnu.org>
21915
21916 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
21917 Silence compiler by only defining on XEmacs.
21918
21919 * international/mule.el (auto-coding-regexp-alist): Only match
21920 BABYL... at the start of buffer, not of lines. (Bug#3790)
21921
21922 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
21923 non-calendar buffers (Bug#3862). Restore "not on a date" message.
21924 (cal-menu-context-mouse-menu): Doc fix.
21925
21926 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
21927
21928 * simple.el (mail-user-agent): Doc fix. Set :version tag.
21929
21930 2009-07-18 Juri Linkov <juri@jurta.org>
21931
21932 * info.el: Virtual Info keyword finder.
21933 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
21934 (Info-finder-file): New variable.
21935 (Info-finder-find-file): New function.
21936 (finder-known-keywords, finder-package-info)
21937 (find-library-name, lm-commentary): Use defvar and
21938 declare-function to silence compiler warnings.
21939 (Info-finder-find-node): New function.
21940 (info-finder): New command.
21941
21942 * subr.el (process-kill-buffer-query-function): New function.
21943 (add-hook)<kill-buffer-query-functions>: Add hook
21944 `process-kill-buffer-query-function'.
21945
21946 2009-07-18 Alan Mackenzie <acm@muc.de>
21947
21948 * progmodes/cc-mode.el (c-before-hack-hook)
21949 (c-postprocess-file-styles): Give invocation of `c-set-style'
21950 DONT-OVERRIDE parameter of t. Already set style variables will
21951 thus not be overridden by style settings given by `c-file-syle'.
21952
21953 * files.el (hack-local-variables-filter): Remove entries with
21954 duplicate keys from `file-local-variables-alist'.
21955
21956 2009-07-18 Eli Zaretskii <eliz@gnu.org>
21957
21958 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
21959 x-set-selection if display-selections-p returns nil for the
21960 current frame.
21961
21962 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
21963
21964 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
21965
21966 2009-07-18 Eli Zaretskii <eliz@gnu.org>
21967
21968 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
21969 Accept nil in addition to a regexp.
21970 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
21971 Accept nil in addition to a regexp.
21972 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
21973 buffers that have an associated file. Handle nil values of
21974 desktop-buffers-not-to-save and desktop-files-not-to-save.
21975 (Bug#3833)
21976
21977 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
21978 (x-disown-selection-internal): New functions.
21979
21980 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
21981
21982 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
21983 warning.
21984 (gdb-breakpoints-header): Move forward to avoid compiler warning.
21985 (gdb-make-header-line-mouse-map): Remove duplicate definition.
21986
21987 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
21988
21989 * simple.el (set-mark): Revert last change.
21990
21991 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
21992
21993 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
21994 rendering of pngs is not possible instead of messaging a long
21995 description.
21996
21997 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
21998
21999 * w32-fns.el (x-selection-owner-p): New function.
22000
22001 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
22002 (mouse-yank-at-click, mouse-yank-primary):
22003 If select-active-regions is non-nil, deactivate the mark before
22004 insertion.
22005
22006 * simple.el (deactivate-mark, set-mark): Only save selection if we
22007 own it.
22008
22009 2009-07-17 Kenichi Handa <handa@m17n.org>
22010
22011 * case-table.el (describe-buffer-case-table): Fix for the case
22012 that KEY is a cons.
22013
22014 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
22015
22016 * vc-rcs.el (vc-rcs-find-file-hook):
22017 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
22018
22019 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
22020
22021 * net/tramp.el (tramp-wait-for-output): Handle the case when
22022 commands do not return a newline but a null byte before the shell
22023 prompt. (Bug#3858)
22024
22025 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
22026
22027 * term/ns-win.el (ns-set-alpha): Don't declare.
22028 (ns-set-background-alpha): Remove function.
22029
22030 2009-07-16 Kevin Ryde <user42@zip.com.au>
22031
22032 * emacs-lisp/copyright.el (copyright-update): Save match-data across
22033 y-or-n-p, for safety.
22034
22035 2009-07-16 Richard Stallman <rms@gnu.org>
22036
22037 * files.el (auto-save-mode): If buffer-saved-size is -2,
22038 don't clobber it.
22039
22040 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
22041 (rmail-retry-ignored-headers): Add more uninteresting fields.
22042
22043 2009-07-15 Jari Aalto <jari.aalto@cante.net>
22044
22045 * net/rcirc.el (rcirc): Use history variables.
22046 (rcirc-server-name-history, rcirc-nick-name-history)
22047 (rcirc-server-port-history): New variables.
22048
22049 2009-07-15 Kenichi Handa <handa@m17n.org>
22050
22051 * international/mule-cmds.el (set-language-environment-charset):
22052 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
22053 ignore them.
22054
22055 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
22056 Delete unibyte-display.
22057
22058 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
22059
22060 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
22061
22062 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
22063
22064 * simple.el (deactivate-mark): Optional argument FORCE.
22065 (set-mark): Use deactivate-mark.
22066
22067 * info.el (Info-search): No need to check transient-mark-mode
22068 before calling deactivate-mark.
22069
22070 * select.el (x-set-selection): Doc fix.
22071 (x-valid-simple-selection-p): Allow buffer values.
22072 (xselect--selection-bounds): Handle buffer values.
22073 Suggested by David De La Harpe Golden.
22074
22075 * mouse.el (mouse-set-region, mouse-drag-track):
22076 Call copy-region-as-kill before setting the mark, to let
22077 select-active-regions work.
22078
22079 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
22080
22081 * simple.el (deactivate-mark): If select-active-regions is
22082 non-nil, copy the selection data into a string.
22083 (activate-mark): If select-active-regions is non-nil, set the
22084 selection to the current buffer.
22085 (set-mark): Update selection if select-active-regions is non-nil.
22086
22087 * select.el (x-valid-simple-selection-p): Allow buffer values.
22088
22089 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
22090
22091 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
22092 and more featureful message-mode.
22093
22094 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
22095
22096 * select.el (x-set-selection): Doc fix.
22097 (x-valid-simple-selection-p): Disallow selection data consisting
22098 of a list or cons of integers, since that is not used.
22099 (xselect--selection-bounds, xselect--int-to-cons): New functions.
22100 (xselect-convert-to-string, xselect-convert-to-length)
22101 (xselect-convert-to-filename, xselect-convert-to-charpos)
22102 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
22103
22104 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
22105
22106 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
22107 output in -break-info command (Emacs bug #3794).
22108
22109 2009-07-14 Glenn Morris <rgm@gnu.org>
22110
22111 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
22112 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
22113 (edebug-print-length, edebug-print-level, edebug-print-circle)
22114 (edebug-sit-for-seconds, edebug-view-outside)
22115 (edebug-bounce-point, edebug-set-global-break-condition)
22116 (edebug-Go-nonstop-mode, edebug-trace-mode)
22117 (edebug-Trace-fast-mode, edebug-continue-mode)
22118 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
22119 (edebug-visit-eval-list): Doc fixes.
22120
22121 * subr.el (def-edebug-spec): Doc fix.
22122
22123 2009-07-14 Kenichi Handa <handa@m17n.org>
22124
22125 * international/characters.el: Fix setting of category ?C.
22126
22127 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
22128
22129 * term/ns-win.el (x-select-font): defalias x-select-font to
22130 ns-popup-font-panel instead of generate-fontset-menu.
22131
22132 2009-07-12 Eli Zaretskii <eliz@gnu.org>
22133
22134 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
22135
22136 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
22137
22138 * arc-mode.el (archive-find-type): Allow for a PK00 string before
22139 the PK\003\004 header (Bug#3770).
22140
22141 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
22142
22143 * pcomplete.el (pcomplete-comint-setup): Check for
22144 shell-dynamic-complete-filename too.
22145
22146 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
22147
22148 * simple.el (temporary-goal-column): Change the value for
22149 line-move-visual to a cons cell.
22150 (line-move-visual): Record or set the window hscroll, if
22151 necessary (Bug#3494).
22152 (line-move-1): Handle cons value of temporary-goal-column.
22153
22154 2009-07-11 Kenichi Handa <handa@m17n.org>
22155
22156 * international/mule-diag.el (describe-character-set): Don't show
22157 width.
22158
22159 2009-07-10 Sam Steingold <sds@gnu.org>
22160
22161 * progmodes/compile.el (compilation-mode-font-lock-keywords):
22162 Omake sometimes indents the errors it prints, so allow all
22163 regexps to start with spaces.
22164
22165 2009-07-10 Eli Zaretskii <eliz@gnu.org>
22166
22167 * cus-edit.el (customize-changed-options-previous-release):
22168 Bump value to 22.1. (Bug#3804)
22169
22170 2009-07-08 Sam Steingold <sds@gnu.org>
22171
22172 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
22173 to be a cons cell (test . ignored-directory) to selectively ignore
22174 some directories depending on the location of the search.
22175
22176 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
22177
22178 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
22179 remote user is root, on the local host.
22180 (tramp-local-host-p): Either the local user or the remote user
22181 must be root. (Bug#3771)
22182
22183 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
22184
22185 * progmodes/gdb-mi.el (gdb): Remove description of
22186 gdb-use-separate-io-buffer.
22187 (menu): Don't allow toggling of or enable
22188 gdb-use-separate-io-buffer from menubar.
22189
22190 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
22191
22192 * mail/unrmail.el (unrmail): Make sure the message ends with two
22193 newlines (Bug#3769).
22194
22195 2009-07-08 Glenn Morris <rgm@gnu.org>
22196
22197 * calendar/calendar.el (calendar-current-date): Rework previous change.
22198
22199 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
22200
22201 * calendar/calendar.el (calendar-current-date):
22202 Add an optional argument giving an offset from today.
22203
22204 2009-07-08 Glenn Morris <rgm@gnu.org>
22205
22206 * tutorial.el (tutorial--describe-nonstandard-key):
22207 Adjust the message for when a key has been unbound.
22208 (help-with-tutorial): Hide the arch-tag.
22209
22210 2009-07-08 Kenichi Handa <handa@m17n.org>
22211
22212 * international/fontset.el (setup-default-fontset): For each
22213 script, append (not set) font-specs.
22214
22215 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
22216 docstring.
22217
22218 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
22219
22220 * progmodes/gdb-mi.el (gdb-init-1): Move sending
22221 -data-list-register-names to ...
22222 (gdb-starting): ... here because GDB 7.0 requires execution to
22223 have started when using this MI command.
22224 (gdb-set-header): New function to distinguish select and
22225 unselected tabs in gdb buffers.
22226 (gdb-propertize-header): New macro that uses gdb-set-header.
22227 (gdb-breakpoints-header, gdb-locals-header): Use it.
22228 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
22229
22230 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
22231
22232 * Makefile.in (ELCFILES): Remove fadr.elc.
22233
22234 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
22235
22236 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
22237 may contain frame information, so `string-match' should be used.
22238 (gdb-update): Disassembly is invalidated through
22239 `gdb-get-selected-frame'.
22240 (gdb-pad-string): New function to pad string with spaces.
22241 (gdb-invalidate-disassembly): Invalidate only if the buffer
22242 exists.
22243 (gdb-disassembly-handler-custom): Column alignment.
22244 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
22245 placing new ones.
22246 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
22247 end of line, too.
22248 (gdb-frame-handler): Match convention to for disassembly buffer
22249 mode name.
22250 (gdb-stack-list-frames-handler): Rewritten without regexps.
22251 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
22252 not highlight breakpoints without line information.
22253 (gdb-input): Add trailing newline to command.
22254
22255 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
22256 buffer properly.
22257 (gdb-breakpoints-list-handler-custom): Replacement for
22258 `gdb-break-list-handler'. Using real parser instead of regexps
22259 now.
22260 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
22261 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
22262 to place breakpoints.
22263 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
22264 functions.
22265 (gdb-disassembly-handler-custom): Show overlay arrow.
22266 (gdb-disassembly-place-breakpoints): Show breakpoints in
22267 disassembly buffer.
22268 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
22269 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
22270 instead of parsing breakpoints buffer. Fixed old menu references
22271 in `gud-menu-map'.
22272
22273 * fadr.el: Remove.
22274
22275 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
22276 (gdb-memory-address): New variable which holds top address of
22277 memory page shown in memory buffer.
22278 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
22279 New customization variables.
22280 New functions:
22281 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
22282 display the memory buffer.
22283 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
22284 buffer display parameters.
22285 (def-gdb-memory-format, gdb-memory-format-binary)
22286 (gdb-memory-format-octal, gdb-memory-format-unsigned)
22287 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
22288 Functions for setting memory buffer format.
22289 (gdb-memory-unit-word, gdb-memory-unit-halfword)
22290 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
22291 unit size used in memory buffer.
22292 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
22293 Switch to next/previous page of memory buffer.
22294 Now using (bindat-get-field) instead of fadr functions.
22295
22296 2009-07-07 Sam Steingold <sds@gnu.org>
22297
22298 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
22299 non-top-level files.
22300
22301 2009-07-07 Kenichi Handa <handa@m17n.org>
22302
22303 * international/mule-cmds.el (reset-language-environment):
22304 Put the highset priority to the charset iso-8859-1.
22305
22306 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
22307
22308 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
22309 to the end of the line when locating the block (Bug#700).
22310
22311 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
22312
22313 * net/tramp.el (tramp-handle-write-region): Flush file properties
22314 in case of short track.
22315
22316 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
22317
22318 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
22319 Coded custom representation of verilog error regular expressions
22320 to work with Emacs-22's new format.
22321 (verilog-error-regexp-xemacs-alist): Coded custom representation
22322 of verilog error regular expressions to work with XEmacs format.
22323 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
22324 error recognition into XEmacs.
22325 (verilog-error-regexp-add-emacs): Hook routine to install verilog
22326 error recognition into Emacs-22.
22327
22328 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
22329
22330 * woman.el: Remove stand-alone closing parentheses.
22331 (woman-file-name, woman2-format-paragraphs)
22332 (woman-leave-blank-lines): Code cleanup.
22333 (woman-use-own-frame): Change default to nil.
22334 (woman-italic, woman-bold, woman-unknown, woman-addition):
22335 Change defaults to inherit from default faces.
22336 (woman2-process-escapes): Consume the newline after a stand-alone
22337 filler character (Bug#3651).
22338
22339 2009-07-06 Glenn Morris <rgm@gnu.org>
22340
22341 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
22342 (top-level): Move provide to the end.
22343 (ffap): Remove defunct URL from custom group.
22344
22345 * subr.el (eval-after-load): Doc fix.
22346
22347 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
22348
22349 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
22350 `calc-embedded-word' is called twice.
22351
22352 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22353
22354 * files.el (find-alternate-file-other-window, find-alternate-file):
22355 Obey confirm-nonexistent-file-or-buffer.
22356
22357 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
22358
22359 * dired-aux.el (dired-show-file-type): Handle remote files.
22360
22361 2009-07-05 Jari Aalto <jari.aalto@cante.net>
22362
22363 * desktop.el (desktop-globals-to-save):
22364 Add file-name-history (Bug#2750).
22365
22366 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
22367
22368 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
22369
22370 2009-07-04 Johan Bockgård <bojohan@gnu.org>
22371
22372 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
22373 property on entire argument since this is what eshell-lisp-command
22374 expects.
22375
22376 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
22377
22378 * net/tramp-gvfs.el (tramp-gvfs-methods)
22379 (tramp-gvfs-zeroconf-domain)
22380 (tramp-bluez-discover-devices-timeout): Add version flag.
22381 (tramp-gvfs-handler-mounted-unmounted)
22382 (tramp-gvfs-connection-mounted-p): Polish handling of
22383 incompatibilities between GVFS 0.2 and 1.0.
22384
22385 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
22386
22387 * cus-start.el (all): Add make-pointer-invisible.
22388
22389 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
22390
22391 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
22392 formatted correctly.
22393
22394 2009-07-02 Juri Linkov <juri@jurta.org>
22395
22396 * info.el: Virtual Info files and nodes.
22397 (Info-virtual-files, Info-virtual-nodes): New variables.
22398 (Info-current-node-virtual): New variable.
22399 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
22400 New functions.
22401 (Info-file-supports-index-cookies): Use Info-virtual-file-p
22402 to check for a virtual file instead of checking a fixed list
22403 of node names.
22404 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
22405 instead of ad-hoc processing of "dir" and (apropos history toc).
22406 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
22407 instead of ad-hoc processing of "dir" and (apropos history toc).
22408 Reread a file when moving from a virtual node.
22409 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
22410 (Info-directory-toc-nodes, Info-directory-find-file)
22411 (Info-directory-find-node): New functions.
22412 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
22413 (Info-history): Move part of code to
22414 `Info-history-find-node'.
22415 (Info-history-toc-nodes, Info-history-find-file)
22416 (Info-history-find-node): New functions.
22417 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
22418 (Info-toc): Move part of code to `Info-toc-find-node'.
22419 (Info-toc-find-node): New function.
22420 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
22421 the current Info file name to references because now the node
22422 "*TOC*" belongs to the same Info manual.
22423 (Info-toc-build): Rename from `Info-build-toc'.
22424 (Info-toc-nodes): Rename input argument `file' to `filename'.
22425 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
22426 instead of ad-hoc processing of ("dir" apropos history toc).
22427 (Info-index-nodes): Use Info-virtual-file-p
22428 to check for a virtual file instead of checking a fixed list
22429 of node names.
22430 (Info-index-node): Add check for `Info-current-node-virtual'.
22431 Raise `save-match-data' higher up the tree to contain
22432 `search-forward' too (bug fix).
22433 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
22434 (Info-virtual-index-nodes): New variable.
22435 (Info-virtual-index-find-node, Info-virtual-index): New functions.
22436 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
22437 (Info-apropos-file, Info-apropos-nodes): New variables.
22438 (Info-apropos-toc-nodes, Info-apropos-find-file)
22439 (Info-apropos-find-node, Info-apropos-matches): New functions.
22440 (info-apropos): Move part of code to `Info-apropos-find-node' and
22441 `Info-apropos-matches'.
22442 (Info-mode-map): Bind "I" to `Info-virtual-index'.
22443 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
22444 for a virtual file instead of checking a fixed list of node names.
22445
22446 * simple.el (async-shell-command): New command.
22447
22448 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
22449
22450 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
22451 instead of `mount-info'.
22452
22453 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
22454
22455 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
22456 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
22457
22458 2009-07-02 Kenichi Handa <handa@m17n.org>
22459
22460 * international/mule.el (set-keyboard-coding-system): Force *-unix
22461 coding-system to avoid eol conversion.
22462
22463 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
22464
22465 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
22466 Add handler for `process-file', `shell-command' and
22467 `start-file-process'.
22468 (tramp-gvfs-handle-shell-command)
22469 (tramp-gvfs-handle-start-file-process)
22470 (tramp-gvfs-handle-process-file): New defuns.
22471 (tramp-synce-list-devices): Simplify check for existence of property.
22472
22473 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
22474
22475 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
22476
22477 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
22478
22479 * language/korean.el (set-language-info-alist): Add korean-cp949,
22480 cp949 to spec.
22481
22482 2009-07-01 Kenichi Handa <handa@m17n.org>
22483
22484 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
22485
22486 * international/encoded-kb.el: Deleted.
22487
22488 * international/mule.el (set-keyboard-coding-system): Perform the
22489 necessary setup here instead of calling encoded-kbd-setup-display.
22490
22491 2009-07-01 Glenn Morris <rgm@gnu.org>
22492
22493 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
22494
22495 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
22496
22497 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
22498
22499 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
22500
22501 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
22502 Handle also the 'rename case, when setting file modes. (Bug#3712)
22503 (tramp-default-file-modes): Remove execute permissions.
22504
22505 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
22506 (top): Add a default for "synce" in `tramp-default-user-alist'.
22507 Add completion function for "synce" method.
22508 (tramp-hal-service, tramp-hal-path-manager)
22509 (tramp-hal-interface-manager, tramp-hal-interface-device):
22510 New defconst.
22511 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
22512 (tramp-synce-list-devices, tramp-synce-parse-device-names):
22513 New defuns.
22514
22515 * net/trampver.el: Update release number.
22516
22517 2009-06-30 Kenichi Handa <handa@m17n.org>
22518
22519 * international/fontset.el (setup-default-fontset): Add CJK fonts
22520 for symbols and the other miscellaneous characters.
22521
22522 * language/korea-util.el (setup-korean-environment-internal):
22523 Make char-width-table suitable for Korean environments.
22524 (exit-korean-environment): Cancel above.
22525
22526 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
22527 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
22528 setup-function to make char-width-table suitable for respective
22529 environments, and an exit-function to cancel that.
22530
22531 * language/japan-util.el (setup-japanese-environment-internal):
22532 Call use-cjk-char-width-table with arg `ja_JP'.
22533
22534 * international/characters.el (cjk-char-width-table): Delete it.
22535 (cjk-char-width-table-list): New variable.
22536 (use-cjk-char-width-table): New arg local-name.
22537 (use-default-char-width-table): Fix for the case that Emacs is
22538 already using the default char-width-table.
22539
22540 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
22541
22542 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
22543 modes mandatory. (Bug#3712)
22544
22545 2009-06-29 Alan Mackenzie <acm@muc.de>
22546
22547 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
22548 correction between the visible width of TABs and their number of bytes.
22549
22550 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
22551
22552 * server.el (server-buffer-done): Prevent kill-buffer from
22553 prompting by clearing the buffer modification flag (Bug#3696).
22554
22555 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
22556
22557 * progmodes/verilog-mode.el (verilog-beg-of-statement)
22558 (verilog-endcomment-reason-re): Support unique case and priority case.
22559 (verilog-basic-complete-re): Support localparam lineup.
22560 (verilog-beg-of-statement-1): Fix for robustness, unique case.
22561 (verilog-set-auto-endcomments): Fix for unique case, always_comb
22562 commenting.
22563 (verilog-leap-to-case-head): Now support *nested* unique &
22564 priority case statements.
22565 (verilog-auto-lineup): Make just declarations the default (as it
22566 had been).
22567 (verilog-leap-to-case-head): Support priority/unique case statements.
22568 (verilog-auto-lineup): Rework to give users radio buttons to
22569 select the various styles of automatic lineup.
22570 (verilog-error-regexp-alist): Rework to support the XEmacs style
22571 of error regular expressions from compilers, lint tools &
22572 simulators. Note that GNU Emacs has made it impossible for a mode
22573 to load such things.
22574 (electric-verilog-terminate-line, verilog-indent-declaration)
22575 (verilog-auto-wiure): Rework for radio button selection of
22576 auto-lineup selection of specification of auto lineup.
22577 (verilog-beg-of-statement-1): Redesign to support proper operation
22578 in additional code, based on testing with auto-lineup.
22579 (verilog-calculate-indent, assignments & declarations)
22580 (verilog-backward-token): Enhance to support auto-lineup of
22581 assignments & declarations.
22582 (verilog-in-directive-p, verilog-at-struct-p): New function for
22583 easy test of whether we are.
22584 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
22585 to support safe execution at almost anyline.
22586 (verilog-calc-1): Properly support indenting deep inside generate
22587 blocks.
22588 (verilog-init-font): Remove definition & use of verilog-init-font,
22589 as it is redundant with font-lock-defaults.
22590 (verilog-mode): Alter the definition of verilog-font-lock-defaults
22591 to avoid circular calls if syntax-ppss is a function (as is the
22592 case now in 22.x GNU Emacs) as that function would sometimes call
22593 itself, leading to (nearly) infinite recursion.
22594 (verilog-ovm-begin-re, verilog-ovm-end-re)
22595 (verilog-ovm-statement-re, verilog-leap-to-head)
22596 (verilog-backward-token): Add support for OVM macros. Some are
22597 complete statements, and others open and close scopes like begin
22598 and end.
22599 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
22600 (verilog-defun-level-generate-only-re): Really fix the defun-list
22601 compilation issue.
22602 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
22603 coverpoint, constraint and cross statements.
22604 (verilog-defun-level-list, verilog-generate-defun-level-list)
22605 (verilog-all-defun-level-list): Redo these specifications - it is
22606 too hard to support eval-when compile aggregation of lists also
22607 built at when-compile time.
22608 (verilog-defun-level-list): Place defconsts of variables used in
22609 building regular expressions which are built in eval-when-compile
22610 bodies in the same eval-when-compile body to facilitate compile
22611 without load.
22612 (verilog-beg-block-re-ordered): Support indenting
22613 virtual/protected tasks and functions.
22614 (verilog-defun-level-list, verilog-in-generate-region-p)
22615 (verilog-backward-ws&directives, verilog-calc-1): Speed up
22616 indentation of some module items (generate items).
22617 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
22618 across virtual/protected tasks and functions.
22619
22620 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
22621
22622 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
22623 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
22624 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
22625 in concatenations. Reported by Yishay Belkind.
22626 (verilog-auto-ascii-enum): Support one-hot state machines in
22627 AUTOASCIIENUM. Suggested by Lloyd Gomez.
22628 (verilog-auto-inst, verilog-auto-inst-port): Include interface
22629 modport in AUTOINST and add vl-modport for users.
22630 Reported by David Rogoff.
22631 (verilog-auto-inout-module, verilog-auto-inst)
22632 (verilog-decls-get-interfaces, verilog-insert-definition)
22633 (verilog-insert-one-definition, verilog-read-decls)
22634 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
22635 (verilog-sig-modport, verilog-signals-combine-bus)
22636 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
22637 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
22638 Suggested by David Rogoff.
22639 (verilog-repair-open-comma): Fix non-insertion of comma when
22640 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
22641 (verilog-make-width-expression): Simplify [A-1:0] expression
22642 widths to just {A{1'b0}}.
22643 (verilog-mode): Cleanup checkdoc warnings.
22644 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
22645 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
22646 inputs/outputs or data type. Suggested by Vasu Kandadi.
22647 (next-error-last-buffer): Fix byte-compiler warning.
22648 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
22649 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
22650 or shell command text during AUTO expansion. Suggested by Tad Truex.
22651 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
22652 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
22653 Fix dotted nets {a.b,c.d} and escaped identifiers being mis-included
22654 in AUTOINOUT. Reported by Matthew Lovell.
22655 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
22656 causing use of <= assignments. Reported by Alex Reed.
22657 (verilog-read-decls): Fix triand, trior, wand, wor to be
22658 recognized by AUTOWIRE. Reported by Spencer Isaacson.
22659 (verilog-extended-complete-re): Support import "DPI-C" functions.
22660 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
22661 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
22662 (verilog-insert-date, verilog-insert-year)
22663 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
22664 Windows systems. Reported by Michael Potts.
22665 (verilog-read-module-name): Fix AUTOINST when the child module
22666 declaration's name is a tick define. Reported by Elliot Mednick.
22667 (verilog-read-decls): Fix V2K parameter bit subscripts getting
22668 passed to next parameter's definition. Reported by Bruce T.
22669 (verilog-read-decls): Fix detecting "parameter int" when using
22670 AUTOINSTPARAM. Reported by Bruce T.
22671 (verilog-goto-defun): Fix goto not finding modules unless first
22672 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
22673 (verilog-mode): Expand -f flag arguments on entry to mode so
22674 verilog-goto-defun will work. Reported by Lawrence Butcher.
22675 (verilog-getopt): Expand environment variables in -f file
22676 arguments. Suggested by Lawrence Butcher.
22677 (verilog-set-define): Fix "Symbol's value as variable is void"
22678 when reading enumerations.
22679 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
22680 Suggested by Stephen Peltan.
22681 (verilog-read-defines): Fix reading of enumerations in include
22682 files. Reported by Steve Peltan.
22683
22684 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
22685
22686 * files.el (trash-directory): Fix defcustom type.
22687
22688 2009-06-28 Juri Linkov <juri@jurta.org>
22689
22690 * help-fns.el (describe-function-1): Correctly locate adviced
22691 functions in hyperlink (Bug#2438).
22692
22693 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
22694
22695 * files.el (trash-directory): Change default to nil.
22696 (move-file-to-trash): If trash-directory is nil and
22697 system-move-file-to-trash is unbound, perform freedesktop-style
22698 trashing.
22699
22700 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
22701
22702 * files.el (move-file-to-trash): Add freedesktop trash
22703 support (Bug#973).
22704
22705 2009-06-28 Glenn Morris <rgm@gnu.org>
22706
22707 * autorevert.el (global-auto-revert-non-file-buffers)
22708 (global-auto-revert-mode): Doc fixes.
22709
22710 2009-06-27 Johan Bockgård <bojohan@gnu.org>
22711
22712 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
22713
22714 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
22715
22716 * faces.el (x-handle-named-frame-geometry): Ensure that we have
22717 opened an X connection before calling x-get-resource (Bug#3194).
22718
22719 * play/doctor.el: Remove reference to obsolete website.
22720 (make-doctor-variables): Correct grammar mistake (Bug#2633).
22721
22722 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
22723
22724 Remove find-file-not-found-hook VC method. (Bug#2757)
22725 * vc-hooks.el (vc-file-not-found-hook)
22726 (vc-default-find-file-not-found-hook): Remove functions.
22727 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
22728 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
22729 * vc.el:
22730 * vc-hg.el:
22731 * vc-git.el: Do not mention find-file-not-found-hook VC method.
22732
22733 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
22734
22735 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
22736 compatibility function for `looking-back'.
22737
22738 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
22739 Use `ispell-looking-back'.
22740
22741 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
22742
22743 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
22744 rather than `filename'.
22745
22746 2009-06-23 Miles Bader <miles@gnu.org>
22747
22748 * face-remap.el (text-scale-set): New function.
22749
22750 2009-06-23 Glenn Morris <rgm@gnu.org>
22751
22752 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
22753
22754 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
22755
22756 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
22757
22758 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
22759
22760 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
22761 Simplify Persian conditionals.
22762
22763 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
22764 variable `filename'.
22765
22766 * comint.el (comint-insert-input): Doc fix.
22767
22768 * Makefile.in (ELCFILES): Fix typo in previous change.
22769
22770 2009-06-23 Miles Bader <miles@gnu.org>
22771
22772 * cus-start.el: Add entry for `recenter-redisplay'.
22773
22774 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
22775
22776 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
22777 Add an optional argument for the backend, use it instead of
22778 calling vc-backend.
22779 (vc-mode-line): Add an optional argument for the backend.
22780 Pass the backend to vc-state and vc-working-revision. Move code for
22781 special handling for vc-state being a buffer to ...
22782
22783 * vc-rcs.el (vc-rcs-find-file-hook):
22784 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
22785
22786 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
22787 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
22788 vc-stay-local-p and vc-mode-line calls.
22789
22790 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
22791 (vc-cvs-diff, vc-cvs-annotate-command)
22792 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
22793 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
22794 vc-mode-line calls.
22795
22796 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
22797 direct comparison.
22798 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
22799 backend when calling vc-mode-line.
22800 (vc-register): Do not create a closure for calling the vc register
22801 function, call it directly.
22802
22803 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
22804
22805 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
22806 to make it obvious item can be clicked.
22807
22808 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
22809
22810 2009-06-23 Kenichi Handa <handa@m17n.org>
22811
22812 * language/korea-util.el (korean-key-bindings): Change the binding
22813 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
22814 same command.
22815
22816 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
22817
22818 Sync with Tramp 2.1.16.
22819
22820 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
22821
22822 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
22823 when a loading of a package fails. Completion function for rsync
22824 is `tramp-completion-function-alist-ssh'.
22825 (all): Replace all calls of `split-string' and
22826 `tramp-split-string' by `tramp-compat-split-string'.
22827 (tramp-default-method): Use `tramp-compat-process-running-p'.
22828 (tramp-default-proxies-alist): Allow also Lisp forms.
22829 (tramp-remote-path): Add choice "Private Directories".
22830 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
22831 (tramp-domain-regexp): Allow also "-", "_" and ".".
22832 (tramp-end-of-output): Remove newlines, and add "$" at the end.
22833 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
22834 (tramp-debug-message): Insert header line in debug buffer.
22835 (tramp-handle-directory-files-and-attributes-with-stat):
22836 Care about filenames with spaces, or starting with "-".
22837 (tramp-handle-dired-uncache): New defun.
22838 (tramp-handle-insert-directory): Don't flush the directory from
22839 cache, this is handled by `dired-uncache' now.
22840 (tramp-handle-insert-file-contents): Improve error handling.
22841 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
22842 Quote `tramp-end-of-output'.
22843 (tramp-action-password): Improve trace message.
22844 (tramp-check-for-regexp): Both echoes must be present, before removing.
22845 (tramp-open-connection-setup-interactive-shell): Trace coding system.
22846 (tramp-compute-multi-hops): Eval cons cells of
22847 `tramp-default-proxies-alist'.
22848 (tramp-maybe-open-connection): Use the same command pattern for
22849 first hop and further hops.
22850 (tramp-wait-for-output): Remove handling of newlines.
22851 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
22852 (tramp-split-string): Remove function. It is handled in
22853 tramp-compat now.
22854
22855 * net/tramp-cmds.el (tramp-bug):
22856 Recommend `tramp-cleanup-all-connections' in the bug mail.
22857
22858 * net/tramp-compat.el (tramp-compat-split-string)
22859 (tramp-compat-process-running-p): New defuns.
22860
22861 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
22862 for `dired-uncache'.
22863
22864 * net/tramp-gvfs.el: New package.
22865
22866 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
22867 Add handler for `dired-uncache'.
22868 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
22869
22870 * net/trampver.el: Update release number. Make version check fit
22871 for SXEmacs 22.
22872
22873 2009-06-22 Jim Meyering <meyering@redhat.com>
22874
22875 Automatically handle .xz suffix (XZ-compressed files), too.
22876 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
22877 XZ is the successor to LZMA: <http://tukaani.org/xz/>
22878
22879 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
22880 Nick Roberts <nickrob@snap.net.nz>
22881
22882 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
22883 repository (http://sphinx.net.ru/hg/gdb-mi/).
22884
22885 2009-06-22 Glenn Morris <rgm@gnu.org>
22886
22887 * files.el (dir-locals-collect-mode-variables): Allow for any number of
22888 `mode' and `eval' entries. (Bug#3430)
22889
22890 * Makefile.in (ELCFILES): Add fadr.elc.
22891
22892 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
22893 differing behavior of \n and ^ in strings. (Bug#3385)
22894
22895 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
22896
22897 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
22898 property.
22899 (lisp-indent-function): Make it a defcustom.
22900
22901 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
22902
22903 * progmodes/gdb-ui.el: Replace with ...
22904 * progmodes/gdb-mi.el: ... this file.
22905 * progmodes/gud.el: Modify for gdb-mi.el.
22906
22907 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
22908
22909 * fadr.el: New file.
22910
22911 See ChangeLog.14 for earlier changes.
22912
22913 ;; Local Variables:
22914 ;; coding: utf-8
22915 ;; End:
22916
22917 Copyright (C) 2009-2011 Free Software Foundation, Inc.
22918
22919 This file is part of GNU Emacs.
22920
22921 GNU Emacs is free software: you can redistribute it and/or modify
22922 it under the terms of the GNU General Public License as published by
22923 the Free Software Foundation, either version 3 of the License, or
22924 (at your option) any later version.
22925
22926 GNU Emacs is distributed in the hope that it will be useful,
22927 but WITHOUT ANY WARRANTY; without even the implied warranty of
22928 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22929 GNU General Public License for more details.
22930
22931 You should have received a copy of the GNU General Public License
22932 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.