]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
Allow specifying local ELPA mirrors in package-archives.
[gnu-emacs] / lisp / ChangeLog
1 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
2
3 * emacs-lisp/package.el (package-archives): Accept either ordinary
4 directory names, in addition to HTTP URLs.
5 (package--with-work-buffer): New macro. Handle normal directories.
6 (package-handle-response): Don't display the failing buffer.
7 (package-download-single, package-download-tar)
8 (package--download-one-archive): Use package--with-work-buffer.
9 (package-archive-base): Rename from package-archive-url.
10
11 2011-03-06 Glenn Morris <rgm@gnu.org>
12
13 * generic-x.el (generic-unix-modes): Add xmodmap-generic-mode.
14 (xmodmap-generic-mode): Respect generic-extras-enable-list.
15
16 2011-03-06 Daniel Clemente <dcl441-bugs@yahoo.com> (tiny change)
17
18 * generic-x.el (xmodmap-generic-mode): New. (Bug#2065)
19
20 2011-03-06 Juanma Barranquero <lekktu@gmail.com>
21
22 * allout.el (allout-init, allout-prefixed-keybindings)
23 (allout-unprefixed-keybindings):
24 * progmodes/prolog.el (prolog-find-term):
25 Fix typos in docstrings.
26
27 2011-03-06 Nikolaj Schumacher <me@nschum.de> (tiny change)
28
29 * emacs-lisp/elp.el (elp-results): Fix off-by-one in header. (Bug#2746)
30
31 2011-03-06 Kevin Ryde <user42@zip.com.au>
32
33 * textmodes/sgml-mode.el (sgml-fill-nobreak): Give it a doc. (Bug#5326)
34
35 2011-03-06 Michael Shields <shields@msrl.com> (tiny change)
36
37 * window.el (one-window-p, walk-windows, display-buffer):
38 Doc fixes. (Bug#5567)
39
40 2011-03-06 Jay Belanger <jay.p.belanger@gmail.com>
41
42 * cus-edit.el (custom-prompt-variable): Use the `custom-get' property
43 of the variable if it exists.
44
45 2011-03-06 Juanma Barranquero <lekktu@gmail.com>
46
47 * bookmark.el:
48 * desktop.el:
49 * emacs-lock.el:
50 * ps-print.el:
51 * saveplace.el:
52 * net/tramp-cache.el:
53 * obsolete/fast-lock.el:
54 * textmodes/reftex.el:
55 Don't set `kill-emacs-hook' on noninteractive sessions (bug#8137).
56
57 2011-03-05 Antoine Levitt <antoine.levitt@gmail.com>
58
59 * files.el (delete-directory, copy-directory, list-directory):
60 Use read-directory-name.
61
62 * find-file.el (ff-find-the-other-file):
63 * net/ange-ftp.el (ange-ftp-make-directory):
64 * printing.el (pr-interactive-dir):
65 * progmodes/ada-prj.el (ada-prj-load-directory):
66 * progmodes/ebnf2ps.el (ebnf-print-directory)
67 (ebnf-spool-directory, ebnf-eps-directory)
68 (ebnf-syntax-directory):
69 * shell.el (shell):
70 * speedbar.el (speedbar-create-directory):
71 * vc/emerge.el (emerge-merge-directories):
72 * vc/vc-dir.el (vc-dir):
73 * vc/vc.el (vc-create-tag, vc-retrieve-tag): Likewise.
74
75 2011-03-05 Chong Yidong <cyd@stupidchicken.com>
76
77 * help-mode.el (help-buffer): If we are to return the current
78 buffer, signal an error if it's not in Help mode (Bug#8147).
79
80 2011-03-05 Reuben Thomas <rrt@sc3d.org>
81
82 * files.el (file-name-version-regexp): Handle backup files of the
83 form `foo.js.~HEAD~1~' (Bug#8159).
84
85 2011-03-05 Glenn Morris <rgm@gnu.org>
86
87 * eshell/esh-var.el: Don't require esh-test when compiling.
88 * eshell/em-banner.el, eshell/esh-cmd.el, eshell/esh-mode.el:
89 * eshell/esh-var.el, eshell/eshell.el: Move tests to esh-test.
90 * eshell/esh-test.el: Move to ../../test/eshell.el.
91
92 2011-03-05 David Engster <deng@randomsample.de>
93
94 * files.el (save-some-buffers): Report the names of buffers saved
95 automatically due to buffer-save-without-query (Bug#8134).
96
97 2011-03-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
98
99 * net/rcirc.el: Add QuakeNet authentication support.
100 (rcirc-authinfo, rcirc-check-auth-status)
101 (rcirc-authenticate): Support QuakeNet.
102
103 2011-03-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
104
105 * net/rcirc.el: Add functionality to authenticate before
106 autojoining channels.
107 (rcirc-authenticate-before-join): New option.
108 (rcirc-authenticated-hook): New variable.
109 (rcirc-connect): Make local variable rcirc-user-authenticated.
110 (rcirc-handler-001): Respect rcirc-authenticate-before-join.
111 (rcirc-check-auth-status, rcirc-join-channels-post-auth):
112 New functions.
113 (rcirc-handler-PRIVMSG, rcirc-handler-NOTICE):
114 Call rcirc-check-auth-status.
115
116 2011-03-05 Alex Harsanyi <AlexHarsanyi@gmail.com>
117
118 * net/soap-client.el (soap-namespace-put-link): Check if the target
119 name is fully qualified -- use only the name part.
120 (soap-parse-complex-type, soap-parse-sequence): Recognize xsd:all
121 types, treated the same as xsd:sequence. (Bug#8166)
122
123 2011-03-05 Eli Zaretskii <eliz@gnu.org>
124
125 * files.el (find-file-noselect): Don't ask about re-visiting
126 non-literally if the file is already visited in image-mode.
127 (Bug#8177)
128
129 2011-03-05 Glenn Morris <rgm@gnu.org>
130
131 * eshell/esh-mode.el (eshell-kill-buffer-function): New function.
132 (eshell-mode): Use eshell-kill-buffer-function.
133 Run the -initialize functions independently of the -load-hooks.
134 * eshell/esh-proc.el (eshell-kill-process-function): New function.
135 (eshell-gather-process-output, eshell-sentinel)
136 (eshell-interrupt-process, eshell-kill-process, eshell-quit-process):
137 Use eshell-kill-process-function.
138 * eshell/em-alias.el (eshell-alias-load-hook):
139 * eshell/em-banner.el (eshell-banner-load-hook):
140 * eshell/em-cmpl.el (eshell-cmpl-load-hook):
141 * eshell/em-dirs.el (eshell-dirs-load-hook):
142 * eshell/em-glob.el (eshell-glob-load-hook):
143 * eshell/em-hist.el (eshell-hist-load-hook):
144 * eshell/em-pred.el (eshell-pred-load-hook):
145 * eshell/em-prompt.el (eshell-prompt-load-hook):
146 * eshell/em-rebind.el (eshell-rebind-load-hook):
147 * eshell/em-script.el (eshell-script-load-hook):
148 * eshell/em-smart.el (eshell-smart-load-hook):
149 * eshell/em-term.el (eshell-term-load-hook):
150 * eshell/em-unix.el (eshell-unix-load-hook):
151 * eshell/esh-arg.el (eshell-arg-load-hook):
152 * eshell/esh-cmd.el (eshell-cmd-load-hook):
153 * eshell/esh-ext.el (eshell-ext-load-hook):
154 * eshell/esh-io.el (eshell-io-load-hook):
155 * eshell/esh-mode.el (eshell-exit-hook):
156 * eshell/esh-proc.el (eshell-proc-load-hook, eshell-kill-hook):
157 * eshell/esh-var.el (eshell-var-load-hook):
158 Set default hook values to nil. (Bug#5375)
159
160 * eshell/esh-module.el (eshell-module-unload-hook)
161 (eshell-modules-list): Remove leading * from defcustom docs.
162
163 * eshell/esh-util.el (eshell-for): Make it obsolete.
164 * eshell/em-alias.el (eshell/alias, eshell-alias-completions):
165 * eshell/em-dirs.el (eshell-save-some-last-dir):
166 * eshell/em-hist.el (eshell-save-some-history)
167 (eshell-hist-parse-modifier):
168 * eshell/em-ls.el (eshell-ls-dir, eshell-ls-files)
169 (eshell-ls-entries):
170 * eshell/em-unix.el (eshell/cat, eshell/du, eshell/su):
171 * eshell/esh-cmd.el (eshell-invoke-directly, eshell-do-eval)
172 (eshell/which):
173 * eshell/esh-ext.el (eshell-find-interpreter):
174 * eshell/esh-mode.el (eshell-mode):
175 * eshell/esh-module.el (eshell-unload-extension-modules):
176 * eshell/esh-proc.el (eshell-process-interact):
177 * eshell/esh-test.el (eshell-test):
178 * eshell/esh-util.el (eshell-flatten-list, eshell-winnow-list):
179 * eshell/esh-var.el (eshell/env, eshell-environment-variables)
180 (eshell-variables-list):
181 * eshell/eshell.el (eshell-unload-all-modules):
182 Replace eshell-for with dolist.
183
184 2011-03-04 Glenn Morris <rgm@gnu.org>
185
186 * vc/vc-bzr.el (vc-bzr-after-dir-status): Handle bzr 2.3.0. (Bug#8170)
187
188 2011-03-04 Tom Tromey <tromey@redhat.com>
189
190 * progmodes/gud.el (gdb-script-mode): Derive from prog-mode.
191
192 2011-03-04 Glenn Morris <rgm@gnu.org>
193
194 * outline.el (outline-regexp): No longer allow nil.
195 (outline-heading-end-regexp): Add safety predicate. (Bug#7619)
196
197 * net/browse-url.el (browse-url):
198 Handle deleted default-directory. (Bug#6077)
199
200 * recentf.el (recentf-include-p): In case of a buggy predicate,
201 err on the side of including, not excluding. (Bug#5843)
202
203 2011-03-04 Jay Belanger <jay.p.belanger@gmail.com>
204
205 * calc/calc-units.el (math-to-standard-rec): Don't treat subscripted
206 variables as units.
207
208 2011-03-04 Bob Rogers <rogers@rgrjr.dyndns.org>
209
210 * emacs-lisp/ewoc.el (ewoc-goto-next): Give a more explicit error
211 if there is no node. (Bug#3261)
212
213 2011-03-04 Leo <sdl.web@gmail.com>
214
215 * vc/diff-mode.el (diff-mode): Fix whitespace-style. (Bug#8139)
216
217 * time.el (display-time-world-list): Fix typo. (Bug#7571)
218
219 2011-03-04 Zachary Kanfer <zkanfer@gmail.com> (tiny change)
220
221 * cus-edit.el (custom-buffer-create-internal):
222 Split search string before passing it to `customize-apropos' (bug#8136).
223
224 2011-03-04 Drew Adams <drew.adams@oracle.com>
225
226 * image-dired.el (image-dired-cmd-read-exif-data-options):
227 Fix typo in docstring (bug#8156).
228
229 2011-03-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
230
231 * net/rcirc.el (rcirc-cmd-join): Accept comma-separated input.
232
233 2011-03-03 Christian Ohler <ohler@gnu.org>
234
235 * emacs-lisp/ert.el (ert--explain-equal): New function.
236 (ert--explain-equal-rec): Renamed from `ert--explain-not-equal'.
237 All callers changed.
238 (ert--explain-equal-including-properties): Renamed from
239 `ert--explain-not-equal-including-properties'. All callers
240 changed.
241
242 2011-03-03 Christian Ohler <ohler@gnu.org>
243
244 * emacs-lisp/ert.el (ert--stats-set-test-and-result)
245 (ert-char-for-test-result, ert-string-for-test-result)
246 (ert-run-tests-batch, ert--print-test-for-ewoc):
247 Handle `ert-test-quit'.
248
249 2011-03-03 David Abrahams <dave@boostpro.com> (tiny change)
250
251 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
252 Move ediff-defvar-local calls after defcustoms. (Bug#1821)
253
254 2011-03-03 Glenn Morris <rgm@gnu.org>
255
256 * files.el (file-truename): Doc fix. (Bug#2341)
257
258 2011-03-03 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
259
260 * vc/vc-dir.el (vc-dir-mode-map): Bind vc-dir-find-file to e (Bug#7349).
261
262 2011-03-03 Vagn Johansen <gonz808@hotmail.com> (tiny change)
263
264 * vc/vc-svn.el (vc-svn-after-dir-status): Some MS Windows svn client
265 programs output backslashes. (Bug#7663)
266
267 2011-03-03 Glenn Morris <rgm@gnu.org>
268
269 * mail/sendmail.el (mail-mode-map): Remove mail-sent-via.
270 (mail-mode): Remove mail-sent-via from the doc.
271 (mail-sent-via): Make it obsolete. (Bug#1776)
272
273 * progmodes/grep.el (grep-highlight-matches): Doc fix.
274 (grep-process-setup): No highlighting without font-lock. (Bug#8084)
275
276 * vc/vc-bzr.el (vc-bzr-state-heuristic): Handle dirstate entries
277 with no parents. (Bug#8025)
278
279 2011-03-02 Teodor Zlatanov <tzz@lifelogs.com>
280
281 * password-cache.el (password-in-cache-p): Add autoload.
282
283 2011-03-02 Glenn Morris <rgm@gnu.org>
284
285 * man.el (Man-support-local-filenames): Also handle Red Hat's man.
286 * dired-x.el (Man-support-local-filenames): Autoload it.
287 (dired-guess-shell-alist-default): Also handle Red Hat's man.
288
289 * dired-x.el (dired-default-directory-alist, dired-default-directory):
290 Mark as obsolete.
291 (dired-smart-shell-command): Just call dired-current-directory.
292
293 * dired-x.el (dired-jump-other-window): Add autoload.
294 (dired-default-directory-alist, dired-default-directory): Doc fixes.
295 (dired-default-directory-alist): Mark as risky.
296
297 * dired-x.el (dired-omit-here-always): Make it obsolete.
298
299 2011-03-02 Chong Yidong <cyd@stupidchicken.com>
300
301 * textmodes/artist.el (artist-curr-go): Default to pen-line.
302 (artist-select-op-pen-line): New function.
303 (artist-menu-map): New variable.
304 (artist-mode-map): Add a menu to the menu-bar.
305
306 2011-03-02 Jay Belanger <jay.p.belanger@gmail.com>
307
308 * calc/calc-math.el (calcFunc-log10): Check for symbolic mode
309 when evaluating.
310
311 * calc/calc-units.el (math-conditional-apply, math-conditional-pow):
312 New function.
313 (math-logunits-add, math-logunits-mul, math-logunits-divide):
314 (math-logunits-quant, math-logunits-level):
315 Use `math-conditional-apply' and `math-conditional-pow' to evaluate
316 functions.
317 (math-logunits-level): Extract units from ratio.
318
319 2011-03-01 Juanma Barranquero <lekktu@gmail.com>
320
321 * emacs-lisp/cl-macs.el (lexical-let*): Fix argument name in docstring.
322
323 2011-03-01 Glenn Morris <rgm@gnu.org>
324
325 * calendar/cal-hebrew.el (calendar-hebrew-birthday)
326 (diary-hebrew-birthday): Rename and rework functions added
327 in previous change.
328
329 2011-03-01 Ed Reingold <reingold@emr.cs.iit.edu>
330
331 * calendar/cal-hebrew.el (hebrew-calendar-birthday)
332 (diary-hebrew-birthday): New functions.
333
334 2011-03-01 Glenn Morris <rgm@gnu.org>
335
336 * dired.el (dired-safe-switches-p): Beef it up.
337 (dired-actual-switches): Use it for the safe-local prop. (Bug#3230)
338
339 2011-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
340
341 * dired.el (dired-safe-switches-p): New function.
342
343 2011-03-01 Glenn Morris <rgm@gnu.org>
344
345 * files.el (dir-locals-collect-variables):
346 Add the ability to exclude subdirectories. (Bug#8100)
347
348 * dired-x.el (dired-omit-here-always): Add `(subdirs . nil)' to locals.
349
350 2011-02-28 Christoph Scholtes <cschol2112@googlemail.com>
351
352 * ido.el (ido-everywhere): Doc fix.
353 (ido-mode): Doc fix.
354
355 2011-02-28 Glenn Morris <rgm@gnu.org>
356
357 * dired-x.el (dired-guess-shell-alist-default): Use \\', not $.
358
359 2011-02-28 Michael Albinus <michael.albinus@gmx.de>
360
361 * net/tramp-cmds.el (tramp-append-tramp-buffers): Dump load-path
362 shadows.
363
364 2011-02-28 Antoine Levitt <antoine.levitt@gmail.com>
365
366 * dired-x.el (dired-guess-shell-alist-default): Add rar and 7z.
367
368 2011-02-28 Juanma Barranquero <lekktu@gmail.com>
369
370 * emacs-lisp/pcase.el (pcase, pcase--u1, pcase--q1):
371 Fix typos in docstrings.
372
373 2011-02-28 Stephen Berman <stephen.berman@gmx.net>
374
375 * dired-aux.el (dired-update-file-line):
376 Fix 2010-11-09 change. (Bug#8131)
377
378 2011-02-28 Eli Zaretskii <eliz@gnu.org>
379
380 * international/mule-cmds.el (set-default-coding-systems): Use the
381 -unix variant of encoding in default-keyboard-coding-system.
382 (Bug#8122)
383
384 2011-02-27 Chong Yidong <cyd@stupidchicken.com>
385
386 * facemenu.el (list-colors-display): Use with-help-window (Bug#8048).
387
388 2011-02-27 Prestoo Ten <prestooten@gmail.com> (tiny change)
389
390 * term/screen.el: New file (Bug#2650).
391
392 2011-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
393
394 * emacs-lisp/pcase.el (pcase--if): Try to invert test to reduce depth.
395 (pcase-mutually-exclusive-predicates): New var.
396 (pcase--split-consp, pcase--split-pred): Use it.
397 (pcase--split-equal, pcase--split-member): When splitting against
398 a pure predicate, run it to know the outcome.
399 (pcase--u1): Mark vars that are actually used.
400 (pcase--q1): Avoid introducing unused vars.
401
402 2011-02-27 Jay Belanger <jay.p.belanger@gmail.com>
403
404 * calc/calc-ext.el (calc-init-extensions):
405 Autoload `calc-l-prefix-help' instead of `calc-ul-prefix-help'.
406
407 * calc/calc-math.el (calcFunc-log10): Don't signal an error in
408 symbolic mode.
409
410 * calc/calc-vec.el (calcFunc-subscr): Return nil if the first
411 argument is a variable.
412
413 2011-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
414
415 * emacs-lisp/assoc.el: Remove misleading `sort' (bug#8126).
416 (aput, adelete, amake): Replace `eval' -> `symbol-value'.
417 Suggested by Michael Heerdegen <michael_heerdegen@web.de>.
418
419 2011-02-25 Teodor Zlatanov <tzz@lifelogs.com>
420
421 * password-cache.el (password-in-cache-p): Convenience function to
422 check if a key is in the cache, even if the value is nil.
423
424 2011-02-25 Jambunathan K <kjambunathan@gmail.com>
425
426 * emacs-lisp/package-x.el (package--archive-contents-from-url)
427 (package--archive-contents-from-file): New functions.
428 (package-update-news-on-upload): New var.
429 (package-upload-buffer-internal): Extract archive-contents from
430 package-archive-upload-base if it is not found at archive-url.
431 Obey package-update-news-on-upload.
432 (package-upload-buffer, package-upload-file): Doc fix.
433
434 2011-02-24 Glenn Morris <rgm@gnu.org>
435
436 * files-x.el (modify-dir-local-variable): Handle dir-locals from
437 the cache, and from non-file sources.
438
439 * help-fns.el (describe-variable): Return consistent results when a
440 dir-local from a file came from the cache or did not. (Bug#8095)
441 If a dir-local has no associated file, say it came from a "directory".
442
443 * files.el (hack-dir-local-variables): Fix setting of `dir-name'.
444 (hack-local-variables-confirm, hack-local-variables-filter): Doc fix.
445
446 * files.el (dir-locals-find-file): Doc fix.
447 Fix the check for cache elements that have no associated file,
448 and the mtime check for those that do. (Bug#8095)
449
450 * dired-x.el (dired-hack-local-variables):
451 Handle interrupts during hacking local variables. (Bug#5216)
452
453 * emacs-lisp/autoload.el (autoload-save-buffers)
454 (autoload-find-destination, update-directory-autoloads):
455 Avoid prompts when updating autoloads.
456
457 2011-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
458
459 * emacs-lisp/bytecomp.el (byte-compile-disable-print-circle): Obsolete.
460
461 2011-02-23 Kenichi Handa <handa@m17n.org>
462
463 * mail/rmailmm.el (rmail-mime-process-multipart): Do not signal an
464 error when a multipart boundary in the nested multipart is found.
465
466 * mail/rmail.el (rmail-start-mail): Decode "encoded-words" of
467 header components.
468
469 2011-02-23 Glenn Morris <rgm@gnu.org>
470
471 * dired.el (dired-mode): Call hack-dir-local-variables-non-file-buffer.
472 * dired-x.el (dired-omit-mode): Safe if boolean.
473 (dired-enable-local-variables): Fix doc and custom type.
474 (dired-enable-local-variables, dired-local-variables-file)
475 (dired-hack-local-variables): Make obsolete.
476 (dired-omit-here-always): Use dir-locals.el instead.
477
478 * files.el (safe-local-eval-forms): Add the write-file-hooks version.
479
480 2011-02-22 Stefan Monnier <monnier@iro.umontreal.ca>
481
482 * help-fns.el (describe-function-1): Don't signal an error just because
483 the DOC file disappeared.
484
485 2011-02-22 Seppo Sade <sepposade1@gmail.com> (tiny change)
486
487 * eshell/esh-ext.el (eshell-external-command): Do not restrict
488 remote check to "ftp". (Bug#8089)
489
490 2011-02-21 Alan Mackenzie <acm@muc.de>
491
492 Fix bug #7930.
493 * progmodes/cc-engine.el (c-state-literal-at): Prevent positions
494 in macros finding their way into c-state-nonlit-pos-cache.
495 Strengthen the comments.
496 (c-state-dump): New commented out diagnostic routine.
497
498 2011-02-21 Michael Albinus <michael.albinus@gmx.de>
499
500 * net/tramp.el (tramp-rfn-eshadow-setup-minibuffer): Do not use
501 `field' property of `rfn-eshadow-overlay'.
502
503 2011-02-21 Lars Ingebrigtsen <larsi@gnus.org>
504
505 * net/netrc.el (netrc-parse): Comment fix.
506
507 2011-02-21 Chong Yidong <cyd@stupidchicken.com>
508
509 * color.el (color-name-to-rgb): Rename from color-rgb->normalize.
510 Autoload. Add optional arg FRAME, and pass it to color-values.
511 (color-complement): Caller changed. Doc fix.
512 (color-gradient): Rewrite for better clarity and efficiency.
513
514 * faces.el (color-values): Use cond for clarity. Doc fix.
515
516 * facemenu.el (color-rgb-to-hsv): Delete; use the version in
517 color.el instead.
518 (list-colors-sort-key, list-colors-print):
519 Use color-normalized-values.
520
521 2011-02-20 Drew Adams <drew.adams@oracle.com>
522
523 * color.el: First part of merge from hexrgb.el.
524 (color-rgb-to-hex): Rename from color-rgb->hex.
525 (color-rgb-to-hsv): Rename from color-rgb->hsv. Force hue and
526 saturation to zero if the value is too small.
527 (color-rgb-to-hsl): Rename from color-rgb->hsl.
528 (color-srgb-to-xyz): Rename from color-srgb->xyz. Doc fix.
529 (color-xyz-to-srgb): Rename from color-xyz->srgb. Doc fix.
530 (color-xyz-to-lab): Rename from color-xyz->lab. Doc fix.
531 (color-lab-to-xyz): Rename from color-lab->xyz. Doc fix.
532 (color-lab-to-srgb): Rename from color-lab->srgb. Doc fix.
533 (color-cie-de2000): Doc fix.
534
535 2011-02-20 Alan Mackenzie <acm@muc.de>
536
537 * progmodes/cc-cmds.el (c-beginning-of-statement): Avoid loop in
538 locating the beginning of a macro. (Bug#7595)
539
540 2011-02-20 Glenn Morris <rgm@gnu.org>
541
542 * edmacro.el (edmacro-eight-bits): Make it a defcustom.
543 Don't autoload it.
544
545 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
546 (global-auto-revert-ignore-buffer): Remove leading "*" from docs.
547
548 2011-02-19 Dmitry Bolshakov <dmitry.bolshakov@bridge-quest.com>
549 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
550
551 * progmodes/hideshow.el (hs-find-block-beginning)
552 (hs-hide-level-recursive): Ignore comments when parsing braces
553 (Bug#8036).
554
555 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
556
557 * vc/vc-bzr.el (vc-bzr-bound-branch-p): New function.
558 (vc-bzr-pull): Use it.
559
560 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
561
562 * vc/vc-bzr.el (vc-bzr--branch-conf): Function deleted.
563 (vc-bzr-branch-conf): New function, similar to vc-bzr--branch-conf
564 but returning an alist. Ignore comments in bzr conffile.
565 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-bzr-branch-conf.
566 (vc-bzr-error-regex-alist): New var.
567 (vc-bzr-merge-branch): Use it to highlight the pull/merge buffer.
568
569 * vc/vc-dispatcher.el (vc-do-async-command):
570 Bind inhibit-read-only to t.
571
572 * progmodes/compile.el (compilation--flush-directory-cache):
573 Handle the case where cdr of compilation--flush-directory-cache
574 points to no buffer, which can occur if we previously switched to
575 compilation-mode in a pregenerated buffer.
576
577 2011-02-19 Kenichi Handa <handa@m17n.org>
578
579 * mail/rmailmm.el (rmail-mime-find-header-encoding): Be sure to
580 get the header copy into the temporary buffer.
581 (rmail-mime-insert-decoded-text): Ignore us-ascii.
582 (rmail-show-mime): When rmail-mime-coding-system is nil, set
583 buffer-file-coding-system to undecided.
584
585 2011-02-19 Eli Zaretskii <eliz@gnu.org>
586
587 * international/mule-cmds.el (read-char-by-name, ucs-insert):
588 Document completion with asterisk and a substring.
589
590 2011-02-19 Glenn Morris <rgm@gnu.org>
591
592 * files.el (find-file-literally): Doc fix.
593
594 * simple.el (rfc822-goto-eoh): Give it a doc-string.
595
596 * log-edit.el (log-edit-insert-changelog):
597 Fix `log-edit-strip-single-file-name' functionality. (Bug#8057)
598
599 2011-02-19 Glenn Morris <rgm@gnu.org>
600
601 * dired-x.el: Don't require dired-aux.
602 (dired-do-create-files, dired-mark-read-regexp)
603 (dired-do-create-files-regexp): Autoload from dired-aux.
604
605 * dired-x.el (dired-find-buffer-nocreate): Merge into dired.el.
606 * dired.el (dired-find-buffer-nocreate): Merge dired-x version.
607
608 * dired-x.el (dired-read-shell-command): Merge into dired-aux's version.
609 * dired-aux.el (dired-read-shell-command): Merge dired-x's version.
610
611 * dired-x.el (dired-clean-up-after-deletion): Merge into dired.el.
612 * dired.el (dired-clean-up-after-deletion): Merge dired-x's version.
613 (dired-clean-up-buffers-too): Declare.
614
615 * dired-x.el (dired-initial-position): Merge into dired.el's version.
616 * dired.el (dired-initial-position): Merge dired-x's version here.
617 (dired-find-subdir): Declare.
618
619 * dired-x.el (dired-omit-new-add-entry): Merge into dired-add-entry.
620 * dired-aux.el (dired-add-entry): Give it a doc-string.
621 Merge dired-x's dired-omit handling here.
622 (dired-omit-mode, dired-omit-regexp, dired-omit-localp): Declare.
623
624 * international/mule-diag.el (list-input-methods-1):
625 Indent all lines of multi-line doc-strings. (Bug#8066)
626
627 2011-02-18 Chong Yidong <cyd@stupidchicken.com>
628
629 Fix 2011-02-02 changes.
630
631 * apropos.el (apropos-print): Call apropos-mode before setting up
632 buffer variables. Use inhibit-read-only.
633
634 * emacs-lisp/package.el (package--list-packages):
635 Call package-menu-mode before setting up buffer variables.
636
637 * play/solitaire.el (solitaire): Call solitaire-mode before
638 setting up buffer variables. Use inhibit-read-only.
639
640 2011-02-18 Lawrence Mitchell <wence@gmx.li>
641
642 * progmodes/sh-script.el (sh-syntax-propertize-here-doc): (bug#8053)
643 Bind case-fold-search to nil when looking for end of here-doc.
644
645 2011-02-18 Eli Zaretskii <eliz@gnu.org>
646
647 * image-mode.el (image-toggle-display-image):
648 Set find-file-literally non-nil in buffers visiting binary image
649 files. (Bug#8047)
650
651 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
652
653 * files.el (cd): Make completion obey cd-path (bug#7924).
654
655 2011-02-18 Glenn Morris <rgm@gnu.org>
656
657 * progmodes/prolog.el: Don't require compile when compiling.
658 (compilation-shell-minor-mode, compilation-error-regexp-alist)
659 (compilation-forget-errors, compilation-fake-loc)
660 (compilation-parse-errors-function, compilation-error-list): Declare.
661 (prolog-inferior-mode): Require 'compile.
662
663 * emulation/cua-base.el (pc-selection-mode): Declare.
664
665 * emacs-lisp/eieio-custom.el: Set generated-autoload-file.
666 (customize-object): Add autoload cookie.
667 * emacs-lisp/eieio-opt.el: Set generated-autoload-file.
668 (eieio-browse, describe-class, eieio-describe-class)
669 (eieio-describe-constructor, describe-generic, eieio-describe-generic)
670 (eieio-help-mode-augmentation-maybee): Add autoload cookies.
671 * emacs-lisp/eieio.el: Regenerate with automatic autoloads.
672 * Makefile.in (autoloads): Make eieio.el writable.
673
674 * dired-x.el (dired-clean-up-after-deletion, dired-do-relsymlink)
675 (dired-do-relsymlink-regexp, dired-find-buffer-nocreate): Use #'.
676 (dired-hack-local-variables): Use inhibit-read-only.
677 (dired-guess-default): Simplify.
678 (dired-make-relative-symlink): Use dotimes.
679 (dired-simultaneous-find-file): Use dolist.
680 (dired-mark-sexp): Remove unneeded `if'. Use line-end-position.
681 (dired-x-hands-off-my-keys): Doc fix.
682 (dired-x-bind-find-file): Doc fix. Use remapping.
683 (after-init-hook): No need to add dired-x-bind-find-file.
684 (dired-x-find-file, dired-x-find-file-other-window): Doc fixes.
685 No need to call expand-file-name.
686 (dired-filename-at-point): Remove unused locals `end', `filename'.
687
688 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
689
690 * emacs-lisp/pcase.el (pcase--u1): Understand non-linear patterns.
691
692 2011-02-18 Christian Ohler <ohler@gnu.org>
693
694 * emacs-lisp/ert.el (ert--setup-results-buffer)
695 (ert-results-pop-to-backtrace-for-test-at-point)
696 (ert-results-pop-to-messages-for-test-at-point)
697 (ert-results-pop-to-should-forms-for-test-at-point)
698 (ert-results-pop-to-timings): Revert parts of change 2011-02-02T17:59:44Z!sds@gnu.org that
699 were incorrect and unnecessary. This should make `make check'
700 pass again.
701
702 2011-02-17 Ken Manheimer <ken.manheimer@gmail.com>
703
704 * lisp/allout-widgets.el (allout-widgets-icons-light-subdir)
705 (allout-widgets-icons-dark-subdir): Track relocations of icons
706 * lisp/allout.el: Remove commentary about remove encryption
707 passphrase mnemonic support and verification.
708 (allout-encrypt-string): Recognize epg failure to decrypt gpg2
709 armored text using gpg1, and indicate that the gpg version *might*
710 be the problem in the error message.
711
712 2011-02-17 Deniz Dogan <deniz.a.m.dogan@gmail.com>
713
714 * net/rcirc.el (rcirc-float-time): New function.
715 (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE)
716 (rcirc-ctcp-sender-PING): Use it.
717
718 2011-02-17 Glenn Morris <rgm@gnu.org>
719
720 * speedbar.el (speedbar-ignored-modes, speedbar-file-unshown-regexp)
721 (speedbar-update-flag, speedbar-fetch-etags-command)
722 (speedbar-fetch-etags-arguments):
723 * term.el (term-buffer-maximum-size, term-input-chunk-size)
724 (term-completion-autolist, term-completion-addsuffix)
725 (term-completion-recexact, term-completion-fignore):
726 * term/sup-mouse.el (sup-mouse-fast-select-window):
727 * term/x-win.el (x-select-request-type):
728 Convert some defvars with "*" to defcustoms.
729
730 * shell.el (shell-delimiter-argument-list): Set it to nil. (Bug#8027)
731
732 * vc/vc.el (vc-default-previous-version):
733 Remove alias that points nowhere. (Bug#4496)
734
735 * dired-x.el (dired-clean-up-after-deletion):
736 kill-buffer does not need save-excursion.
737 (dired-do-run-mail): Doc fix.
738 (dired-filename-at-point): Doc fix.
739 Use looking-at, and skip-chars rather than re search.
740
741 * dired-x.el (dired-filename-at-point): Fix 8-year old typo.
742
743 2011-02-16 Ken Manheimer <ken.manheimer@gmail.com>
744
745 * allout-widgets.el: New allout extension that shows allout
746 outline structure with graphical widgets. 'allout-widgets'
747 customize group is an 'allout' subgroup, for easy discovery.
748
749 * allout.el: Include PGP and GnuPG in Keywords, and other
750 commentary refinements.
751 (allout-abbreviate-flattened-numbering): Rename to
752 allout-flattened-numbering-abbreviation, and
753 define-obsolete-variable-alias the old name.
754 (allout-flattened-numbering-abbreviation): Rename from
755 allout-abbreviate-flattened-numbering.
756 (allout-mode-p): Include among autoloads, for use by other modes
757 with impunity.
758 (allout-listify-exposed):
759 Use allout-flattened-numbering-abbreviation.
760 (allout-encrypt-string): Use set-buffer-multibyte directly.
761 (allout-set-buffer-multibyte): Remove.
762
763 2011-02-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
764
765 * simple.el (just-one-space): Remove useless `or' call.
766
767 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
768
769 * net/soap-client.el (soap-well-known-xmlns, soap-local-xmlns)
770 (soap-default-xmlns, soap-target-xmlns, soap-multi-refs)
771 (soap-decoded-multi-refs, soap-current-wsdl)
772 (soap-encoded-namespaces): Rename CL-style *...* variables.
773
774 2011-02-16 Michael Albinus <michael.albinus@gmx.de>
775
776 * net/soap-client.el: Add "comm" and "hypermedia" to the
777 keywords. Reflow too long lines.
778
779 * net/soap-inspect.el: Ditto. Require 'cl.
780
781 2011-02-16 Bastien Guerry <bzg@altern.org>
782
783 * play/doctor.el (doctor-mode): Bugfix: escape the "," character
784 in a `doctor-type' argument.
785
786 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
787
788 * net/soap-client.el:
789 * net/soap-inspect.el: New files.
790
791 2011-02-16 Leo <sdl.web@gmail.com>
792
793 * dired-x.el (dired-mode-map, dired-extra-startup):
794 Remove dired-copy-filename-as-kill since it's already in dired.el.
795
796 2011-02-16 Glenn Morris <rgm@gnu.org>
797
798 * dired-x.el (dired-bind-jump, dired-bind-man, dired-bind-info):
799 Doc fixes. Add :set property, replacing top-level calls.
800 (dired-vm-read-only-folders, dired-vm): Doc fix (drop v. old VM 4).
801 (dired-guess-shell-gnutar): Test tar version rather than system-type.
802 (dired-extra-startup, dired-man, dired-info): Doc fixes.
803 (dired-clean-up-after-deletion): Use when and dolist.
804 (dired-jump): Use unless and when.
805 (dired-virtual): Use line-end-position.
806 (dired-default-directory-alist): Rename from default-directory-alist.
807 (dired-default-directory): Update for above name change.
808 (dired-vm): Drop VM < 5 and simplify.
809 (dired-buffer-more-recently-used-p): Rewrite.
810 (dired-filename-at-point): Use when and or.
811 (dired-x-read-filename-at-point): Rename from read-filename-at-point.
812 Update callers.
813
814 2011-02-15 Glenn Morris <rgm@gnu.org>
815
816 * dired-x.el: Use easymenu for menu items. Fix item capitalization.
817
818 2011-02-14 Chong Yidong <cyd@stupidchicken.com>
819
820 * vc/vc-git.el (vc-git-root-log-format): New option for
821 customizing log format.
822 (vc-git-print-log, vc-git-log-outgoing, vc-git-log-incoming)
823 (vc-git-log-view-mode): Use it.
824 (vc-git-expanded-log-entry): New function.
825 (vc-git-log-view-mode): Use it. Truncate lines in root log.
826
827 * vc/vc-hg.el (vc-hg-root-log-template): New option for
828 customizing log format.
829 (vc-hg-print-log): Use it.
830 (vc-hg-expanded-log-entry): New function.
831 (vc-hg-log-view-mode): Use vc-hg-root-log-template and
832 vc-hg-expanded-log-entry. Truncate lines in root log.
833
834 * vc/vc-bzr.el (vc-bzr-log-view-mode): Truncate lines in root log.
835
836 * vc/log-view.el (log-view-mode-menu):
837 Add log-view-toggle-entry-display.
838
839 2011-02-14 Glenn Morris <rgm@gnu.org>
840
841 * dired-x.el: Don't require man when compiling.
842 (dired-omit-extensions, dired-local-variables-file)
843 (dired-x-hands-off-my-keys): Make them defcustoms.
844 (Man-support-local-filenames, Man-getpage-in-background): Declare.
845 (vm-visit-folder): Declare rather than defining.
846 (dired-x-help-address, dired-x-variable-list): Remove.
847 (dired-x-submit-report): Make it an obsolete alias.
848
849 2011-02-14 Juanma Barranquero <lekktu@gmail.com>
850
851 * makefile.w32-in (TRAMP_SRC): Remove tramp-imap.el.
852
853 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
854
855 * net/imap.el: Bring it back.
856
857 2011-02-13 Alan Mackenzie <acm@muc.de>
858
859 * progmodes/cc-fonts.el (c-font-lock-declarations): Remove a
860 narrow-to-region call that cuts context off the end (Bug#7722).
861
862 * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
863 Refactor nested if-forms with a simple cond.
864 (c-forward-<>-arglist): Revert 2011-01-31 change.
865
866 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
867
868 * vc/log-view.el: New command log-view-toggle-entry-display for
869 toggling log entries between concise and detailed forms.
870 (log-view-toggle-entry-display): New command.
871 (log-view-mode-map): Bind RET to it.
872 (log-view-expanded-log-entry-function): New variable.
873 (log-view-current-entry, log-view-inside-comment-p)
874 (log-view-current-tag): New functions.
875 (log-view-toggle-mark-entry): Use log-view-current-entry and
876 log-view-end-of-defun instead of searching directly with
877 log-view-message-re.
878 (log-view-end-of-defun): Likewise. Add optional ARG for
879 compatibility with end-of-defun.
880 (log-view-end-of-defun): Ignore comments and VC buttons.
881
882 * vc/vc-bzr.el (vc-bzr-expanded-log-entry): New function.
883 (vc-bzr-log-view-mode): Use log-view-expanded-log-entry-function.
884
885 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
886
887 * net/imap.el: Remove file. All the functionality is in nnimap.el.
888
889 * net/imap-hash.el: Remove file.
890
891 2011-02-13 Michael Albinus <michael.albinus@gmx.de>
892
893 * Makefile.in (TRAMP_SRC): Remove tramp-imap.el.
894
895 * net/tramp.el (tramp-read-passwd): Simplify `auth-source-search'
896 call.
897
898 * net/tramp-imap.el: Remove file.
899
900 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
901
902 * vc/vc.el (vc-print-log-setup-buttons): Instead of using the
903 widget library for buttons, just use button.el.
904
905 * vc/log-view.el (log-view-mode-map): Don't inherit from
906 widget-keymap.
907
908 2011-02-12 Glenn Morris <rgm@gnu.org>
909
910 * emacs-lisp/cl-seq.el (union, nunion, intersection)
911 (nintersection, set-difference, nset-difference)
912 (set-exclusive-or, nset-exclusive-or): Doc fix.
913
914 * ediff-ptch.el (ediff-fixup-patch-map): Doc fix.
915
916 * faces.el (face-attr-match-p): Handle the obsolete :bold and
917 :italic props, so that frame-set-background-mode works. (Bug#7966)
918
919 * simple.el (next-error): Doc fix.
920
921 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
922
923 * dired-aux.el (dired-create-files): Adapt destination name to
924 match the new behavior of copy-directory.
925
926 2011-02-12 Chong Yidong <cyd@stupidchicken.com>
927
928 * mail/mail-utils.el (mail-dont-reply-to-names): New variable,
929 from rmail-dont-reply-to-names. Callers changed.
930 (mail-dont-reply-to): Rename from mail-dont-reply-to.
931 (rmail-dont-reply-to): Make it an obsolete alias.
932
933 * mail/rmail.el (rmail-default-dont-reply-to-names): Default to
934 nil, and make obsolete (Bug#7888).
935 (rmail-dont-reply-to-names): Alias to mail-dont-reply-to-names.
936
937 * mail/rmailsum.el (rmail-summary-sort-by-correspondent): Doc fix.
938
939 * mail/rmailsort.el (rmail-sort-by-correspondent)
940 (rmail-select-correspondent): Doc fix. Use mail-dont-reply-to.
941
942 * mail/rmail.el (rmail-reply): Use mail-dont-reply-to.
943
944 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
945
946 * files.el (copy-directory): New argument COPY-CONTENTS for
947 copying directory contents into another existing directory.
948
949 2011-02-12 Tassilo Horn <tassilo@member.fsf.org>
950
951 * minibuffer.el (completion-table-case-fold): New function for
952 creating a case-insensitive completion table.
953
954 2011-02-12 Teodor Zlatanov <tzz@lifelogs.com>
955
956 * net/tramp.el (tramp-default-method): Also check if
957 `auth-source-search' is bound.
958 (tramp-read-passwd): Use `auth-source-search' instead of
959 `auto-source-user-or-password'.
960
961 * net/tramp-imap.el: Autoload `auto-source-search' instead of
962 `auto-source-user-or-password.
963 (tramp-imap-passphrase-callback-function): Use it.
964
965 * net/imap-hash.el: Autoload `auto-source-search' instead of
966 `auto-source-user-or-password.
967 (imap-hash-open-connection): Use it.
968
969 * mail/smtpmail.el: Autoload `auto-source-search' instead of
970 `auto-source-user-or-password.
971 (smtpmail-try-auth-methods): Use it.
972
973 2011-02-12 Phil Hagelberg <phil@hagelb.org>
974
975 * emacs-lisp/package.el: Allow packages to be reinstalled.
976 (package--write-file-no-coding): Remove EXCL arg.
977 (package-unpack-single): Don't use it.
978
979 2011-02-12 Karl Pflästerer <k@rl.pflaesterer.de> (tiny change)
980
981 * vc/vc-svn.el: Adapt to Subversion change, with no .svn directory
982 in each sub directory.
983 (vc-svn-registered): Use vc-svn-root.
984 (vc-svn-root): New function. Make vc-svn-responsible-p an alias.
985 (vc-svn-repository-hostname): Use "svn info".
986
987 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
988
989 * simple.el (delete-trailing-whitespace): New optional buffer
990 bound parameters.
991
992 2011-02-11 Bastien Guerry <bzg@altern.org>
993
994 * files.el (basic-save-buffer): save unmodified buffers when
995 the file pointed by buffer-file-name doesn't exist.
996
997 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
998
999 * net/rcirc.el (rcirc-cmd-join): Accept multiple channels.
1000
1001 2011-02-11 Glenn Morris <rgm@gnu.org>
1002
1003 * emacs-lisp/cl-specs.el (multiple-value-bind): Fix debug spec.
1004
1005 2011-02-11 Juanma Barranquero <lekktu@gmail.com>
1006
1007 * net/rcirc.el (rcirc-send-ctcp): Remove spurious arg to `format'.
1008
1009 2011-02-10 Stefan Monnier <monnier@iro.umontreal.ca>
1010
1011 * server.el (server-process-filter): Use pcase.
1012
1013 * emacs-lisp/smie.el (smie-blink-matching-open): Don't use `pos' in two
1014 conflicting ways.
1015 (smie-indent--parent): Extend to "parent of arg".
1016 (smie-indent-inside-string): New function.
1017 (smie-indent-functions): Use it.
1018
1019 * vc/vc-dir.el (vc-dir-refresh): Reorder operations to try and avoid
1020 bzr locking race condition.
1021
1022 * emacs-lisp/edebug.el (edebug-instrument-function): Check a marker is
1023 still valid before using it.
1024
1025 * progmodes/grep.el (grep-mode-font-lock-keywords): Adjust to
1026 `message' -> `compilation-message' rename (bug#8004).
1027
1028 Move keymap initialization into declaration.
1029 * textmodes/enriched.el (enriched-mode-map):
1030 * textmodes/bib-mode.el (bib-mode-map):
1031 * term/lk201.el (lk201-function-map):
1032 * tar-mode.el (tar-mode-map):
1033 * replace.el (occur-mode-map):
1034 * progmodes/idlwave.el (idlwave-rinfo-mouse-map, idlwave-rinfo-map):
1035 * progmodes/idlw-help.el (idlwave-help-mode-map):
1036 * progmodes/gdb-mi.el (gdb-memory-format-menu, gdb-memory-unit-menu):
1037 * play/solitaire.el (solitaire-mode-map):
1038 * play/snake.el (snake-mode-map, snake-null-map):
1039 * play/pong.el (pong-mode-map):
1040 * play/handwrite.el (menu-bar-handwrite-map):
1041 * play/gametree.el (gametree-mode-map):
1042 * net/rcirc.el (rcirc-mode-map, rcirc-browse-url-map)
1043 (rcirc-multiline-minor-mode-map, rcirc-track-minor-mode-map):
1044 * net/newst-plainview.el (newsticker-menu, newsticker-mode-map)
1045 (newsticker--url-keymap):
1046 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
1047 * menu-bar.el (menu-bar-file-menu, menu-bar-i-search-menu)
1048 (menu-bar-search-menu, menu-bar-replace-menu, menu-bar-goto-menu)
1049 (menu-bar-edit-menu, menu-bar-custom-menu)
1050 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
1051 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
1052 (menu-bar-line-wrapping-menu, menu-bar-options-menu)
1053 (menu-bar-games-menu, menu-bar-encryption-decryption-menu)
1054 (menu-bar-tools-menu, menu-bar-describe-menu)
1055 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
1056 (menu-bar-help-menu):
1057 * mail/rmailsum.el (rmail-summary-mode-map):
1058 * kmacro.el (kmacro-step-edit-map):
1059 * ibuffer.el (ibuffer-mode-groups-popup, ibuffer-mode-map)
1060 (ibuffer-mode-operate-map):
1061 * hi-lock.el (hi-lock-menu, hi-lock-map):
1062 * emulation/vip.el (vip-mode-map):
1063 * emacs-lisp/re-builder.el (reb-lisp-mode-map):
1064 * bookmark.el (bookmark-bmenu-mode-map):
1065 * help-mode.el (help-mode-map): Move initialization into declaration.
1066
1067 2011-02-10 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1068
1069 * net/rcirc.el: Add PRIVMSG and CTCP functions.
1070 (rcirc-send-privmsg, rcirc-send-ctcp): New functions.
1071 (rcirc-keepalive, rcirc-cmd-ctcp, rcirc-ctcp-sender-PING)
1072 (rcirc-cmd-me, rcirc-authenticate): Use them.
1073
1074 2011-02-10 Ken Manheimer <ken.manheimer@gmail.com>
1075
1076 * allout.el: Synopsis: Change allout user configuration so
1077 auto-activation is controlled solely by customization
1078 `allout-auto-activation'.
1079
1080 (allout-auto-activation-helper, allout-setup): New autoloads
1081 implement new custom set procedure for allout-auto-activation.
1082 Also, explicitly invoke
1083 (allout-setup) after allout-auto-activation is custom-defined, to
1084 effect the settings in emacs sessions besides the few where
1085 allout-auto-activation customization is donea.
1086 (allout-auto-activation): Use allout-auto-activation-helper to
1087 :set. Revise the docstring.
1088 (allout-init): Reduce functionality to just customizing
1089 allout-auto-activation, and mark obsolete.
1090 (allout-mode): Respect string values for allout-auto-activation.
1091 Run allout-after-copy-or-kill-hook without any args.
1092 (allout-mode, allout-layout, allout-default-layout)
1093 (outlineify-sticky): Adjust docstring for new scheme.
1094 (allout-after-copy-or-kill-hook): No arguments - hook implementers
1095 should concentrate on the kill ring.
1096
1097 2011-02-09 Teodor Zlatanov <tzz@lifelogs.com>
1098
1099 * password-cache.el (password-cache-remove): Accept secrets that are
1100 not strings.
1101
1102 2011-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
1103
1104 * progmodes/sh-script.el (sh-font-lock-open-heredoc): Fix case
1105 of here-doc that immediately follows a comment.
1106
1107 2011-02-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1108
1109 * net/rcirc.el (rcirc-ctcp-sender-PING): Simplifying.
1110
1111 * net/rcirc.el (rcirc-cmd-ctcp): Use dedicated function when
1112 available.
1113 (rcirc-ctcp-sender-PING): New function.
1114
1115 2011-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
1116
1117 * obsolete/pc-select.el: Rename from emulation/pc-select.el (bug#7940).
1118 Remove the mark/nomark handling, and activate shift-select-mode instead.
1119
1120 * obsolete/pc-mode.el: Rename from emulation/pc-mode.el.
1121
1122 2011-02-07 Jay Belanger <jay.p.belanger@gmail.com>
1123
1124 * calc/calc-units.el (math-logunits-quant): Add support for
1125 non-logarithmic units.
1126
1127 2011-02-07 Ken Manheimer <ken.manheimer@gmail.com>
1128
1129 * allout.el (allout-after-copy-or-kill-hook): New hook for
1130 extension-specific processing of killed text.
1131 (allout-mode): Include new allout-after-copy-or-kill-hook among
1132 mentioned hooks.
1133 (allout-kill-line, allout-kill-topic): Ensure that processing
1134 after kill happens even if barf-if-buffer-read-only is raised.
1135 Include new allout-after-copy-or-kill-hook among that subsequent
1136 processing.
1137 (allout-deannotate-hidden): Actually remove the annotation text
1138 properties.
1139
1140 * allout.el (allout-listify-exposed): Copy text sans text properties.
1141
1142 2011-02-07 Michael Albinus <michael.albinus@gmx.de>
1143
1144 * net/dbus.el (dbus-list-activatable-names): Add optional argument BUS.
1145
1146 2011-02-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1147
1148 * net/rcirc.el (rcirc-handler-317): New function (Bug#6507).
1149
1150 2011-02-06 Jay Belanger <jay.p.belanger@gmail.com>
1151
1152 * calc/calc.el (calc-logunits-field-reference): Rename from
1153 `calc-default-field-reference-level'.
1154 (calc-logunits-power-reference): Rename from
1155 `calc-default-power-reference-level'.
1156
1157 * calc/calc-units.el (math-logunits-quant): Rename from
1158 `math-logunits-level'
1159 (math-logunits-plus): Rename from math-logcombine.
1160 (calcFunc-luplus, calcFunc-luminus calc-luplus, calc-luminus): Remove.
1161 (calcFunc-lufieldadd, calcFunc-lupoweradd, calcFunc-lufieldsub)
1162 (calcFunc-lufieldsub, calc-logunits-add, calc-logunits-sub):
1163 New functions.
1164 (calcFunc-fieldquant): Rename from `calcFunc-fieldlevel'.
1165 (calcFunc-powerquant): Rename from `calcFunc-powerlevel'.
1166 (calc-logunits-quantity): Rename from `calc-level'.
1167 (calcFunc-dbfieldlevel, calcFunc-dbpowerlevel, calcFunc-npfieldlevel)
1168 (calcFunc-nppowerlevel, calc-logunits-dblevel, calc-logunits-nplevel)
1169 (math-logunits-mul, calcFunc-lufieldmul, calcFunc-lupowermul)
1170 (calc-logunits-mul, math-logunits-divide, calcFunc-lufielddiv)
1171 (calcFunc-lupowerdiv, calc-logunits-divide, math-logunits-level):
1172 New functions.
1173
1174 * calc/calc-help.el (calc-u-prefix-help): Remove "L" reference.
1175 (calc-ul-prefix-help): Remove.
1176 (calc-l-prefix-help): New function.
1177 (calc-full-help): Add reference to `calc-l-prefix-help'.
1178
1179 * calc/calc-ext.el (calc-init-extensions): Update autoloads.
1180
1181 * calc/README: Mention logarithmic units.
1182
1183 2011-02-06 Chong Yidong <cyd@stupidchicken.com>
1184
1185 * mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
1186 non-ASCII characters (Bug#7925).
1187
1188 2011-02-05 Glenn Morris <rgm@gnu.org>
1189
1190 * emacs-lisp/cl-macs.el (return-from): Fix doc typo.
1191
1192 * calendar/diary-lib.el (diary-font-lock-keywords):
1193 Tweak diary-time-regexp match. (Bug#7891)
1194
1195 * progmodes/f90.el (f90-find-tag-default): New function. (Bug#7919)
1196 (f90-mode): Use it for mode's `find-tag-default-function' property.
1197
1198 * ibuf-ext.el (ibuffer-filter-disable): Make it work. (Bug#7969)
1199
1200 * faces.el (set-face-attribute): Doc fix. (Bug#2659)
1201
1202 2011-02-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1203
1204 * net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
1205 (Bug#6386).
1206
1207 2011-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
1208
1209 * progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the
1210 font-lock-syntax-table remappings.
1211 (sh-here-doc-markers, sh-here-doc-re): Remove.
1212 (sh-font-lock-close-heredoc): Remove.
1213 (sh-syntax-propertize-here-doc): New function.
1214 (sh-font-lock-open-heredoc): Set the sh-here-doc-marker property
1215 instead of the sh-here-doc-re.
1216 (sh-font-lock-paren): Don't do anything in comments or strings.
1217 Handle line continuations. Accept a few more chars.
1218 Don't rely on the font-lock-syntax-table remappings.
1219 `esac' is not a valid pattern.
1220 (sh-syntax-propertize-function): Handle here-docs differently, so we
1221 don't bother syntax-propertizing the insides.
1222
1223 * progmodes/sh-script.el (sh-font-lock-paren, sh-kw, sh-prev-thing):
1224 Handle new bashisms ";&" and ";;&" (bug#7947).
1225
1226 2011-02-05 Michael Albinus <michael.albinus@gmx.de>
1227
1228 * net/tramp-smb.el (tramp-smb-errors): Use `regexp-opt'.
1229 Add "NT_STATUS_IO_TIMEOUT" and "NT_STATUS_NO_SUCH_USER".
1230
1231 2011-02-05 Era Eriksson <era+tramp@iki.fi> (tiny change)
1232
1233 * net/tramp.el (tramp-postfix-method-format)
1234 (tramp-postfix-method-regexp, tramp-prefix-domain-format)
1235 (tramp-prefix-domain-regexp, tramp-postfix-user-format)
1236 (tramp-postfix-user-regexp, tramp-prefix-port-format)
1237 (tramp-prefix-port-regexp, tramp-postfix-host-format)
1238 (tramp-postfix-host-regexp, tramp-handle-substitute-in-file-name):
1239 Doc fix.
1240
1241 2011-02-04 Sam Steingold <sds@gnu.org>
1242
1243 * mouse.el (mouse-buffer-menu-mode-groups): Add a "GDB" group.
1244
1245 2011-02-04 Andreas Schwab <schwab@linux-m68k.org>
1246
1247 * international/mule-util.el (with-coding-priority): Doc fix.
1248
1249 2011-02-04 Eli Zaretskii <eliz@gnu.org>
1250
1251 * arc-mode.el (archive-mode-map): Fix a typo in last change.
1252
1253 2011-02-03 Sam Steingold <sds@gnu.org>
1254
1255 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1256 Do not error out when `func' is nil.
1257
1258 2011-02-03 Michael Albinus <michael.albinus@gmx.de>
1259
1260 * net/tramp-sh.el (tramp-remote-path): Add default settings for
1261 `tramp-default-remote-path' to the docstring.
1262 (tramp-get-remote-path): Suppress error message when `getconf
1263 PATH' fails.
1264
1265 * net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL".
1266
1267 2011-02-03 Glenn Morris <rgm@gnu.org>
1268
1269 * vc/vc-hg.el (vc-hg-command): Doc fix.
1270
1271 * term/w32-win.el (libpng-version): Declare for compiler.
1272
1273 * msb.el: No need to load dired while compiling.
1274
1275 * emacs-lisp/elint.el (elint-standard-variables):
1276 Remove a couple of built-ins that now have doc-strings.
1277
1278 * hi-lock.el, ps-bdf.el, ps-mule.el, ps-print.el, ps-samp.el:
1279 `require' is automatically `eval-and-compile'd.
1280
1281 * net/rcirc.el (rcirc-nick-completion-format): Add :version tag.
1282 (rcirc-log-directory, rcirc-log-flag): Move definitions before use.
1283
1284 * strokes.el (strokes-fill-current-buffer-with-whitespace):
1285 Move definition before use.
1286 (strokes-report-bug): Make it obsolete.
1287
1288 2011-02-02 Sam Steingold <sds@gnu.org>
1289
1290 * apropos.el (apropos-print): Now that `apropos-mode' inherits
1291 from `special-mode', entering it makes the buffer read-only, so
1292 call it only when everything has been already inserted.
1293 * emacs-lisp/ert.el (ert--setup-results-buffer)
1294 (ert-results-pop-to-backtrace-for-test-at-point)
1295 (ert-results-pop-to-messages-for-test-at-point)
1296 (ert-results-pop-to-timings): Ditto.
1297 * emacs-lisp/package.el (package--list-packages): Ditto.
1298 * play/solitaire.el (solitaire): Ditto.
1299
1300 2011-02-02 Chong Yidong <cyd@stupidchicken.com>
1301
1302 * progmodes/compile.el: Make all faces inherit.
1303 (compilation-warning): Inherit from font-lock-variable-name-face.
1304 (compilation-info): Inherit from font-lock-type-face.
1305 (compilation-line-number): Reassign to font-lock-keyword-face.
1306 (compilation-column-number): Reassign to font-lock-doc-face.
1307 (compilation-leave-directory-face): Reassign to
1308 font-lock-builtin-face.
1309
1310 2011-02-02 Eli Zaretskii <eliz@gnu.org>
1311
1312 * dired.el (dired-insert-directory): Don't invoke `ls' when
1313 ls-lisp.el is used to emulate it.
1314
1315 2011-02-01 Julien Danjou <julien@danjou.info>
1316
1317 * color.el (color-gradient): Add a color-gradient function.
1318
1319 2011-02-01 Sam Steingold <sds@gnu.org>
1320
1321 * simple.el (special-mode-map): Bind "h" to `describe-mode';
1322 bind "z" to `kill-this-buffer'.
1323 (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
1324 * apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
1325 (apropos-mode): Inherit from `special-mode'.
1326 * arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
1327 * bookmark.el (bookmark-bmenu-mode): Define using
1328 `define-derived-mode' inheriting from `special-mode'.
1329 * dired.el (dired-mode-map): Inherit from `special-mode-map'.
1330 * image-mode.el (image-mode-map): Ditto.
1331 * replace.el (occur-mode): Define using
1332 `define-derived-mode' inheriting from `special-mode'.
1333 * tar-mode.el (tar-mode): Inherit from `special-mode'.
1334 * calendar/diary-lib.el (diary-fancy-display-mode):
1335 Inherit from `special-mode-map'.
1336 * emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
1337 Inherit from `special-mode'.
1338 * emacs-lisp/package.el (package-menu-mode-map): Copy from
1339 `special-mode-map'.
1340 (package-menu-mode): Define using `define-derived-mode'
1341 inheriting from `special-mode'.
1342 * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
1343 * net/xesam.el (xesam-mode): Inherit from `special-mode'.
1344 (xesam-mode-map): Define separately.
1345 * play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
1346 * progmodes/compile.el (compilation-minor-mode-map)
1347 (compilation-mode-map): Inherit from `special-mode-map'.
1348 * vc/diff-mode.el (diff-mode-shared-map):
1349 Inherit from `special-mode-map'.
1350 * vc/log-view.el (log-view-mode-map): Add a comment.
1351
1352 2011-02-01 Chong Yidong <cyd@stupidchicken.com>
1353
1354 * custom.el (load-theme): Define return value. Drop use of
1355 unsafep; call custom-theme-load-confirm for non-known-safe themes.
1356 (custom-theme-load-confirm): Scroll in the correct window.
1357 (custom-enabled-themes): Add custom-safe-themes to :set-after.
1358
1359 * cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
1360 checkbox if load-theme fails.
1361
1362 2011-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
1363
1364 * progmodes/compile.el (compilation-next-error): Check there's
1365 a message before using it (bug#7941).
1366
1367 2011-02-01 Jay Belanger <jay.p.belanger@gmail.com>
1368
1369 * calc/calc-mtx.el (math-lud-pivot-check): New function.
1370 (math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
1371 of potential pivots.
1372
1373 2011-01-31 Alan Mackenzie <acm@muc.de>
1374
1375 * progmodes/cc-cmds.el (c-forward-over-illiterals):
1376 Continue parsing if we encounter a naked # (Bug#7595).
1377 (c-beginning-of-statement): Avoid loop in locating the beginning
1378 of a macro. (Not actually committed until 2011-02-20, see above).
1379
1380 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1381
1382 * files.el (copy-directory): Fix arguments to recursive call.
1383
1384 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1385
1386 * files.el (copy-directory): If destination is an existing
1387 directory, copy into a subdirectory there.
1388
1389 2011-01-31 Andreas Schwab <schwab@linux-m68k.org>
1390
1391 * emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
1392 files.
1393
1394 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1395
1396 * image-dired.el (image-dired-mouse-display-image): No-op if no
1397 file is found (Bug#7817).
1398
1399 * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
1400
1401 2011-01-31 Kenichi Handa <handa@m17n.org>
1402
1403 * international/quail.el (quail-keyboard-layout-alist):
1404 Remove superfluous SPC for "pc105-uk" (bug#7927).
1405
1406 2011-01-31 Glenn Morris <rgm@gnu.org>
1407
1408 * msb.el (msb-menu-bar-update-buffers): Update for changed
1409 argument handling of menu-bar-select-frame. (Bug#7902)
1410
1411 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1412
1413 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
1414 to the recursion depth (Bug#7722).
1415
1416 2011-01-31 Roy Liu <carsomyr@gmail.com> (tiny change)
1417
1418 * term/ns-win.el (ns-find-file): Expand ns-input-file with
1419 command-line-default-directory (Bug#7872).
1420
1421 2011-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
1422
1423 * progmodes/compile.el (compilation--flush-directory-cache):
1424 New function, extracted from compilation--remove-properties.
1425 (compilation--remove-properties, compilation--parse-region): Use it.
1426 (compilation--previous-directory): Handle one more case.
1427 (compilation-enable-debug-messages): Remove.
1428 (compilation-parse-errors, compilation--flush-parse): Just remove the
1429 left over debug messages.
1430
1431 2011-01-31 Sam Steingold <sds@gnu.org>
1432
1433 * progmodes/compile.el (compilation-enable-debug-messages):
1434 Add a variable to make the parsing messages introduced in
1435 2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
1436 (compilation-parse-errors, compilation--flush-parse): Use it.
1437
1438 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1439
1440 * net/rcirc.el: New customizable nick completion format. (Bug#6314)
1441 (rcirc-nick-completion-format): New defcustom.
1442 (rcirc-complete): Use it.
1443
1444 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1445
1446 * net/rcirc.el: Clean log filenames (Bug#7933).
1447 (rcirc-log-write): Use convert-standard-filename.
1448 (rcirc-log-filename-function): Documentation updates.
1449
1450 2011-01-30 Jan Djärv <jan.h.d@swipnet.se>
1451
1452 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
1453 Check report-emacs-bug-can-use-osx-open and use that if t.
1454 (report-emacs-bug-can-use-osx-open): New function.
1455 (report-emacs-bug): Rename can-xdg-email to can-insert-mail.
1456 Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
1457
1458 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
1459
1460 * vc/vc-dispatcher.el (vc-set-async-update): New function for
1461 updating Dired or VC-dir buffers after async command completes.
1462
1463 * vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
1464 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
1465
1466 * vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
1467 completions if it exists. Use vc-set-async-update.
1468 (vc-git-pull): Use vc-set-async-update.
1469
1470 * vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
1471 read-shell-command. Use vc-set-async-update.
1472 (vc-hg-merge-branch): Use vc-set-async-update.
1473
1474 2011-01-29 Daiki Ueno <ueno@unixuser.org>
1475
1476 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
1477 Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
1478 (Bug#7931).
1479
1480 2011-01-29 Stefan Monnier <monnier@iro.umontreal.ca>
1481
1482 * progmodes/compile.el: Avoid an N² behavior in grep.
1483 (compilation--previous-directory): New fun.
1484 (compilation--previous-directory-cache): New var.
1485 (compilation--remove-properties): Flush it.
1486 (compilation-directory-properties, compilation-error-properties):
1487 Use the new fun to speed up looking for the current directory.
1488
1489 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
1490
1491 * vc/vc-hg.el (vc-hg-history): New var.
1492 (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
1493 (vc-hg-merge-branch): New function.
1494
1495 * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
1496 the other way around.
1497
1498 * vc/vc-git.el (vc-git-branches, vc-git-pull)
1499 (vc-git-merge-branch): New functions.
1500 (vc-git-history): New var.
1501
1502 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
1503
1504 * vc/vc-dispatcher.el (vc-do-async-command): New function.
1505
1506 * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
1507 vc-do-async-command.
1508
1509 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
1510 Callers changed.
1511
1512 2011-01-28 Leo <sdl.web@gmail.com>
1513
1514 * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
1515 highlighting to the "this function is advised" message.
1516
1517 * help-mode.el (help-mode-finish): Apply highlighting here, to
1518 avoid clobbering by substitute-command-keys (Bug#6304).
1519
1520 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
1521
1522 * woman.el (woman0-roff-buffer): Process roff escape sequences
1523 occurring prior to the first request (Bug#7843).
1524
1525 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1526
1527 * progmodes/compile.el: Don't use font-lock any more.
1528 (compilation-error-regexp-alist-alist): Change handling of makepp
1529 so it preserves the warning/error distinction on subsequent files.
1530 Simplify various rules.
1531 (compilation-directory-properties): Use font-lock-face.
1532 Add a compilation-message property.
1533 (compilation-internal-error-properties): Use font-lock-face.
1534 Don't set the compilation-debug property here.
1535 (compilation--put-prop, compilation--remove-properties)
1536 (compilation--parse-region, compilation--ensure-parse)
1537 (compilation--ensure-parse): New functions.
1538 (compilation-parse-errors): New function, largely inspired of
1539 compilation-mode-font-lock-keywords. Set compilation-debug here.
1540 (compilation--parsed): New var.
1541 (compilation--flush-parse): Use compilation--ensure-parse.
1542 (compilation-start): Don't call font-lock.
1543 (compilation-turn-on-font-lock): Remove.
1544 (compilation-setup): Don't set font-lock-extra-managed-props not change
1545 other font-lock settings, other than keywords.
1546 Don't activate font-lock-mode.
1547 Set change-major-mode-hook and before-change-functions.
1548 (compilation--unsetup): Remove properties and hooks.
1549 (compilation-next-single-property-change): New function.
1550 (compilation-next-error): Use it to parse when needed.
1551 (compile-goto-error): Parse buffer as needed.
1552 (compilation--compat-error-properties): Don't need a dummy `face'
1553 property any more.
1554
1555 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1556
1557 * progmodes/compile.el: Use accessors for clarity and fix omake hack.
1558 (compilation-process-setup-function): Fix docstring's false promises.
1559 (compilation-error-regexp-alist-alist): Catch omake's continuous
1560 recompilation message and avoid reuse of old markers.
1561 (compilation-parse-errors-function): Declare obsolete.
1562 (compilation-buffer-modtime): Remove.
1563 (compilation--make-cdrloc, compilation--loc->col)
1564 (compilation--loc->line, compilation--loc->file-struct)
1565 (compilation--loc->marker, compilation--loc->visited)
1566 (compilation--make-file-struct, compilation--file-struct->file-spec)
1567 (compilation--file-struct->formats)
1568 (compilation--file-struct->loc-tree): New macros. Use them.
1569 (compilation--message): New defstruct. Use them.
1570 (compilation-next-error-function): Don't mess with timestamps to try
1571 and guess when to reparse.
1572
1573 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1574
1575 * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
1576 (tex-old-error-file-name): New function,
1577 extracted from tex-compilation-parse-errors.
1578 (tex-compilation-parse-errors): Remove.
1579 (tex-error-regexp-alist): New var.
1580 (tex-shell): Use it to avoid compilation-parse-errors-function.
1581
1582 * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
1583 (grep-mode-font-lock-keywords): Remove regexp that seems like
1584 a left-over from before we used compile.el.
1585 (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
1586 modifying the buffer within with-silent-modifications.
1587
1588 * progmodes/compile.el: Cleanup text-properties namespace by using
1589 `compilation-message' instead of `message', `compilation-directory'
1590 instead of `directory', and `compilation-debug' instead of `debug'.
1591 (compilation-last-buffer, compilation-parsing-end)
1592 (compilation-error-list, compilation-old-error-list): Move to the
1593 compatibility part of the code.
1594 (compilation-error-properties): If `file' is a function, let it return
1595 a file name.
1596 (compilation-mode-font-lock-keywords): Be more conservative with the
1597 omake "^ *" pattern prefix, to try and minimize the risk of
1598 pathologically slow regexp matching.
1599 (compilation-start): Use inhibit-read-only.
1600 (compilation--unsetup): New function.
1601 (compilation-shell-minor-mode, compilation-minor-mode): Use it.
1602 (compilation-filter): Minor tweaks.
1603 (compilation-next-error-function): Try and avoid abusing variables.
1604 (compilation--flush-file-structure): New fun.
1605 (compilation-fake-loc): Use it to improve behavior when file is reused.
1606 (debug-ignored-errors): Add "Moved past last ...".
1607 (compilation--compat-error-properties)
1608 (compilation--compat-parse-errors): Rename by doubling the "-".
1609
1610 Port features from the previous prolog.el to the new one.
1611 * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
1612 (prolog-program-name, prolog-program-switches, prolog-consult-string)
1613 (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
1614 variable and use a function to compute the value dynamically.
1615 (prolog-prompt-regexp): Add regexp for GNU Prolog.
1616 (prolog-continued-prompt-regexp): Remove, unused.
1617 (prolog-find-value-by-system): Try and use the value of prolog-system
1618 in the *prolog* buffer if it helps.
1619 (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
1620 (prolog-zip-on): ..and check prolog-system and version here instead.
1621 (prolog-inferior-self-insert-command): New command.
1622 (prolog-inferior-mode-map): Use it.
1623 (prolog-inferior-error-regexp-alist): New var.
1624 (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
1625 (prolog-input-filter): Use derived-mode-p.
1626 (prolog-inferior-guess-flavor): New function.
1627 (prolog-ensure-process): Use it. Use make-comint-in-buffer rather than
1628 make-comint to avoid running comint-mode twice.
1629 (prolog-inferior-buffer): New fun.
1630 (prolog-old-process-region, prolog-old-process-file):
1631 Don't call prolog-bsts here...
1632 (prolog-build-prolog-command): ...do it here instead.
1633 (prolog-old-process-region, prolog-old-process-file):
1634 Use compilation-fake-loc and compilation-forget-errors.
1635 (prolog-consult-compile-region): Use bolp.
1636
1637 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
1638
1639 * image-mode.el (image-display-size): Doc fix (Bug#7820).
1640
1641 2011-01-27 Sam Steingold <sds@gnu.org>
1642
1643 * midnight.el (clean-buffer-list-kill-never-buffer-names):
1644 Remove "*server*" which is never created by emacs server.
1645
1646 2011-01-27 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1647
1648 * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
1649 there are some diff switches.
1650
1651 2011-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
1652
1653 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1654 Copy change made to ruby-font-lock-syntactic-keywords.
1655
1656 * htmlfontify.el: Make it obey the font-lock-face text property.
1657 Miscellaneous cleanup such as:
1658 - Don't hide expressions after a closing paren.
1659 - Move initial setq into let.
1660 - Hoist common parts out of ifs.
1661 (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
1662 (hfy-face-at): Use get-text-property instead.
1663 (hfy-prop-invisible-p): Use invisible-p if available.
1664 (htmlfontify-manual): Use \\[...].
1665 (hfy-html-quote-regex): Use [...].
1666 (hfy-combined-face-spec): Simplify.
1667 (hfy-compile-face-map): Don't presume point-min==1.
1668 (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
1669 match end of string.
1670 (hfy-text-p): η-reduce.
1671 (hfy-tags-for-file): Receive cache-hash directly.
1672 (hfy-mark-tag-names): Adjust call.
1673
1674 2011-01-27 Glenn Morris <rgm@gnu.org>
1675
1676 * msb.el (msb-after-load-hooks): Make it an obsolete alias.
1677 (msb-after-load-hook): Remove eval-after-load wackiness.
1678
1679 2011-01-25 Sam Steingold <sds@gnu.org>
1680
1681 * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
1682 literal "diff" (important for windows-nt).
1683
1684 2011-01-25 Glenn Morris <rgm@gnu.org>
1685
1686 * emacs-lisp/copyright.el (copyright-at-end-flag)
1687 (copyright-names-regexp): Add safety properties.
1688 (copyright-year-ranges): New option.
1689 (copyright-find-end): New function, split from copyright-update-year.
1690 (copyright-update-year): Use copyright-find-end.
1691 (copyright-fix-years): Optionally, convert years to ranges.
1692 Handle years continued over comment lines.
1693 Do not mess with the fill-prefix.
1694 Do not call copyright-update.
1695 (copyright-update-directory): Optionally, fix years rather than update.
1696 Skip directories. Find files with only safe local vars.
1697
1698 2011-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
1699
1700 * files.el (file-name-non-special): Only change buffer-file-name after
1701 insert-file-contents if it's `visit'ing the file (bug#7854).
1702
1703 2011-01-25 Chong Yidong <cyd@stupidchicken.com>
1704
1705 * dired.el (dired-revert): Doc fix (Bug#7758).
1706
1707 * simple.el (line-move-visual): Doc fix (Bug#7594).
1708
1709 2011-01-25 Nobuyoshi Nakada <nobu@ruby-lang.org>
1710
1711 * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
1712 here-doc which ends with an underscore.
1713 (ruby-mode-set-encoding): Skip shebang line always.
1714 (ruby-mode-map): Bind C-c C-c to comment-region.
1715 (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
1716 (ruby-forward-sexp): Stop after literal hash key labels.
1717 (ruby-font-lock-syntactic-keywords): Highlight regexp after open
1718 bracket.
1719
1720 2011-01-25 Keitaro Miyazaki <keitaro.miyazaki@gmail.com> (tiny change)
1721
1722 * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
1723 the correct buffer (Bug#7650).
1724
1725 2011-01-25 Glenn Morris <rgm@gnu.org>
1726
1727 * comint.el (comint-mode): Doc fix. (Bug#7897)
1728
1729 * simple.el (do-auto-fill): Give it a doc string.
1730
1731 * button.el (make-text-button): Doc fix. (See bug#7881)
1732
1733 2011-01-24 Stefan Monnier <monnier@iro.umontreal.ca>
1734
1735 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
1736 Don't move backward, so as not to fall in an inf-loop (bug#7736).
1737
1738 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
1739 Handle ?" and friends differently (e.g. don't use backrefs).
1740
1741 2011-01-24 Jay Belanger <jay.p.belanger@gmail.com>
1742
1743 * calc/calc.el (calc-default-power-reference-level)
1744 (calc-default-field-reference-level): New variables.
1745 * calc/calc-units.el (math-standard-units): Add dB and Np.
1746 (math-logunits): New variable.
1747 (math-extract-logunits, math-logcombine, calcFunc-luplus)
1748 (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
1749 (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
1750 New functions.
1751 (math-find-base-units-rec): Add entry for ln(10).
1752 * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
1753 (calc-ul-prefix-help): New function.
1754 * calc/calc-ext.el (calc-init-extensions): Autoload new units
1755 functions. Add keybindings for new units functions.
1756
1757 2011-01-22 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change)
1758
1759 * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
1760 rcirc buffers. (Bug#4940)
1761
1762 2011-01-22 Glenn Morris <rgm@gnu.org>
1763
1764 * emacs-lisp/copyright.el (copyright-find-copyright): New function,
1765 split out from copyright-update-year.
1766 (copyright-update): Don't mess with the GPL version if we don't own the
1767 copyright. Update license regexp, and remove no longer needed
1768 Esperanto stuff.
1769 (copyright-fix-years): Use copyright-find-copyright.
1770
1771 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
1772
1773 * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
1774
1775 2011-01-22 Jari Aalto <jari.aalto@cante.net>
1776
1777 * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
1778 (lm): Rename to landmark.
1779 (lm-test-run): Rename to landmark-test-run.
1780
1781 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
1782
1783 * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
1784 "Case sensitive" menu item.
1785
1786 2011-01-22 Roland McGrath <roland@frob.com>
1787
1788 * comint.el (comint-replace-by-expanded-history-before-point): Fix
1789 expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
1790
1791 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1792
1793 * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
1794
1795 2011-01-22 Jari Aalto <jari.aalto@cante.net>
1796
1797 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
1798 Assume foo(bar) is a manpage reference rather than some unquoted
1799 symbol (bug#7705).
1800
1801 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1802
1803 * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
1804 Suggested by Flo <sensorflo@gmail.com>.
1805
1806 2011-01-22 Glenn Morris <rgm@gnu.org>
1807
1808 * progmodes/compile.el (compilation-error-regexp-alist):
1809 Fix custom type. (Bug#7812)
1810
1811 2011-01-22 Ken Manheimer <ken.manheimer@gmail.com>
1812
1813 * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
1814 allout-number-siblings, in keeping with what obtained due to
1815 (now-defunct) allout-keybindings-list. Ditch repeat binding to
1816 (prefixed) ?i.
1817 (allout-before-change-handler): Better expose spots affected by
1818 undo.
1819
1820 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
1821
1822 * man.el (Man-highlight-references0): Use make-button (Bug#7881).
1823
1824 2011-01-22 Phil Hagelberg <phil@evri.com>
1825
1826 * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
1827 (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
1828 (pcmpl-ssh-config-hosts): New function.
1829 (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
1830 pcmpl-ssh-known-hosts.
1831
1832 2011-01-21 Jay Belanger <jay.p.belanger@gmail.com>
1833
1834 * calc/calc-undo.el (calc-undo): Autoload it.
1835 * calc/calc-ext.el (calc-init-extensions): Remove keybindings
1836 and autoload for `calc-undo'.
1837 * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
1838 * calc/calc-prog.el:
1839 * calc/calc-graph.el:
1840 * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
1841
1842 2011-01-21 Štěpán Němec <stepnem@gmail.com> (tiny change)
1843
1844 * calc/calc-ext.el (calc-init-extensions): Map all `undo'
1845 keybindings to `calc-undo'.
1846
1847 2011-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1848
1849 Don't mess with *temp*.
1850 * obsolete/spell.el: Move from textmodes/spell.el.
1851 (spell-string):
1852 * term.el (term-read-input-ring):
1853 * startup.el (display-startup-echo-area-message):
1854 * progmodes/antlr-mode.el (antlr-directory-dependencies):
1855 * comint.el (comint-read-input-ring): Use with-temp-buffer.
1856 * international/mule.el (ctext-pre-write-conversion): Don't hardcode
1857 point-min==1.
1858
1859 2011-01-20 Ken Manheimer <ken.manheimer@gmail.com>
1860
1861 * allout.el (allout-institute-keymap): Use fset instead of
1862 reapplying defalias.
1863
1864 (allout-hotspot-key-handler): Check for non-control-modified
1865 bindings for hotspot characters if there are no control-modified
1866 versions.
1867
1868 * allout.el: Summary - migrate to defining allout mode using
1869 define-minor-mode instead of defun. Significantly clean-up
1870 internal keymap provisions, refactoring and, in the process,
1871 removing a lot of accumulated cruft.
1872
1873 allout-mode-map is now a keymap by virtue of being a defalias to
1874 allout-mode-map-value, which contains the actual keymap structure.
1875
1876 (allout-mode): Use define-minor-mode rather than defun.
1877 Remove now-unnecessary minor-mode setup activities from the body.
1878 Specify :keymap as allout-mode-map so the minor-mode-map-alist
1879 entry will be '(allout-mode . allout-mode-map) - see
1880 allout-mode-map-value, below. Adjust docstring to track changes.
1881 (allout-minor-mode): Remove this defalias, now that we're using
1882 define-minor-mode.
1883 (allout-mode-map): Set value to be 'allout-mode-map. The actual
1884 keymap is allout-mode-map-value, via defalias.
1885 (allout-mode-map-value): The variable holding the actual mode
1886 keymap structure, by virtue of defalias from allout-mode-map.
1887 (allout-compose-and-institute-keymap): Rename from
1888 allout-bind-keys, and including the binding-composition
1889 functionality of the former produce-allout-mode-map and
1890 allout-setup-mode-map.
1891 (allout-institute-keymap): Take over the "setup" part of the former
1892 allout-setup-mode-map. Reassign allout-mode-map-value value and
1893 update the defalias.
1894 (allout-command-prefix, allout-prefixed-keybindings)
1895 (allout-unprefixed-keybindings):
1896 Use allout-compose-and-institute-keymap to process the bindings.
1897 (allout-unprefixed-keybindings): Remove extraneous '?' question marks.
1898 (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
1899 user can customize if they want to use that binding.
1900 Bind allout-copy-topic-as-kill to (prefixed) \M-k.
1901 Bind allout-up-current-level to (prefixed) \C-u. (I think i mistakenly
1902 elided that, previously, instead of the one for \C-h.)
1903 (allout-hotspot-key-handler): Remove attempt to resolve the key
1904 through the literal key-string lookup on allout-keybindings-list.
1905 That probably hasn't worked for a Long Time, and removal of
1906 allout-keybindings-list further simplifies the keybindings situation.
1907 (allout-pre-command-business): Use allout-mode-map-value instead
1908 of allout-mode-map.
1909 (allout-preempt-trailing-ctrl-h): Remove. The user can customize
1910 the bindings if they want to use a keybinding having a trailing
1911 \C-h. No deprecation needed since this feature was never in a release.
1912 (allout-keybindings-list): Remove. It's not been useful for a
1913 while. (See allout-hotspot-key-handler changes, above.)
1914 (produce-allout-mode-map): Remove. Consolidate into
1915 allout-compose-and-institute-keymap.
1916 (allout-mode-map-adjustments): Remove. No longer necessary with
1917 removal of allout-preempt-trailing-ctrl-h.
1918 (allout-setup-mode-map): Remove. Consolidate into
1919 allout-compose-and-institute-keymap and allout-institute-keymap.
1920
1921 2011-01-20 Glenn Morris <rgm@gnu.org>
1922
1923 * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
1924
1925 * simple.el (read-expression-history): Remove, it's in minibuf.c.
1926
1927 2011-01-20 Chong Yidong <cyd@stupidchicken.com>
1928
1929 * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
1930
1931 * files.el (find-alternate-file, basic-save-buffer)
1932 (basic-save-buffer-2, revert-buffer, recover-file)
1933 (kill-buffer-ask, abort-if-file-too-large)
1934 (set-visited-file-name, write-file, backup-buffer)
1935 (basic-save-buffer, save-some-buffers):
1936 * dired-aux.el (dired-compress-file): Callers changed.
1937
1938 2011-01-19 Glenn Morris <rgm@gnu.org>
1939
1940 * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
1941 Also check the property status. (Bug#7861)
1942
1943 2011-01-18 Michael Albinus <michael.albinus@gmx.de>
1944
1945 * net/tramp.el (tramp-debug-message): Extend function exclude
1946 list. Use `regexp-opt'.
1947
1948 2011-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
1949
1950 * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
1951 highlighting doesn't spill over subsequent lines.
1952
1953 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
1954 keymap expression. Improve docstring.
1955
1956 * electric.el (electric-indent-post-self-insert-function):
1957 Don't auto-indent for indent-to-left-margin, it's too often
1958 counter-productive.
1959
1960 2011-01-16 Tassilo Horn <tassilo@member.fsf.org>
1961
1962 * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
1963 spaces if the frame was resized, so that the full visible buffer
1964 serves as canvas for strokes.
1965
1966 2011-01-16 Glenn Morris <rgm@gnu.org>
1967
1968 * info-xref.el (info-xref-docstrings): Replace cl function.
1969 Also skip directories.
1970
1971 2011-01-16 Kevin Ryde <user42@zip.com.au>
1972
1973 * info-xref.el: Version 3.
1974 (info-xref-check, info-xref-check-all): Move commentary details
1975 into docstrings for better visibility.
1976 Use compilation-mode for the results buffer.
1977 (info-xref-output, info-xref-output-error, info-xref-with-output)
1978 (info-xref-filename, info-xref-in-progress):
1979 New internals for this.
1980 (info-xref-check-list, info-xref-check-buffer)
1981 (info-xref-check-all-custom): Use those.
1982 (info-xref-output-buffer): Rename from info-xref-results-buffer.
1983 (info-xref-output-heading): Rename from info-xref-filename-heading.
1984 (info-xref-good, info-xref-bad, info-xref-xfile-alist)
1985 (info-xref-filename-heading): Move to output managing section.
1986 (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
1987 (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
1988 (info-xref-subfile-p): Move to generic section with those two.
1989 (info-xref-check-node): New function split from
1990 info-xref-check-buffer, shared by info-xref-docstrings.
1991 (info-xref-goto-node-p): Move to a checking section with that func.
1992 (info-xref-unavail): New counter.
1993 (info-xref-check-node): Use it.
1994 (info-xref-with-output): Show count of unavailables at end of output.
1995 (info-xref-all-info-files): Exclude ".*" dotfiles. Ignore broken
1996 symlinks. Exclude .texi files. Exclude Emacs backup files.
1997 (info-xref-check-all-custom): Fix quietening viper-mode and
1998 gnus-registry-install -- use setq not let so as not to unbind
1999 after load.
2000
2001 2011-01-16 Juri Linkov <juri@jurta.org>
2002
2003 * isearch.el (isearch-abort): Don't quit if search has
2004 an incomplete regexp (isearch-error is non-nil). (Bug#7534)
2005
2006 2011-01-15 Mark Diekhans <markd@soe.ucsc.edu>
2007
2008 * files.el (backup-buffer): Make last-resort backup file in
2009 .emacs.d (Bug#6953).
2010
2011 * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
2012 make it with permission 700.
2013
2014 2011-01-15 Kenichi Handa <handa@m17n.org>
2015
2016 * mail/rmailmm.el (rmail-mime-insert-header):
2017 Set rmail-mime-coding-system to a cons whose car is the last coding
2018 system used to decode the header.
2019 (rmail-mime-find-header-encoding): New function.
2020 (rmail-mime-insert-decoded-text):
2021 Override rmail-mime-coding-system if it is a cons.
2022 (rmail-show-mime): If only a header part was decoded, find the
2023 coding system while ignoring mm-charset-override-alist.
2024
2025 2011-01-15 Chong Yidong <cyd@stupidchicken.com>
2026
2027 * subr.el (event-start, event-end): Doc fix (Bug#7826).
2028
2029 2011-01-15 Kenichi Handa <handa@m17n.org>
2030
2031 * mail/rmailmm.el (rmail-mime-next-item)
2032 (rmail-mime-previous-item): Delete them.
2033 (rmail-mime-shown-mode): Recursively call for children.
2034 (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
2035 Callers changed.
2036 (rmail-mime-raw-mode): Recursively call for children.
2037 (rmail-mode-map): Change mapping of tab and backtab to
2038 forward-button and backward-button respectively.
2039 (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
2040 button.
2041 (rmail-mime-update-tagline): New function.
2042 (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
2043 body display is changed.
2044 (rmail-mime-toggle-button): Rename from rmail-mime-image.
2045 (rmail-mime-image): Delete this button type.
2046 (rmail-mime-toggle): New button type.
2047 (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
2048 body display is changed. Change the save button label to "Save".
2049 Don't process show/hide button here.
2050 (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
2051 the body display is changed. Unconditionally call
2052 rmail-mime-insert for children.
2053 (rmail-mime-handle): Update `display' vector of the just inserted
2054 entity.
2055 (rmail-mime-process): If mail-header-parse-content-type returns
2056 nil, use "text/plain" as the fallback type.
2057 (rmail-mime-insert): For raw-mode, recursively call
2058 rmail-mim-insert for children.
2059 (rmail-mime): Handle the case that the current buffer is not rmail
2060 buffer (e.g. in summary buffer).
2061
2062 2011-01-15 Kenichi Handa <handa@m17n.org>
2063
2064 * mail/rmailmm.el (rmail-mime-next-item)
2065 (rmail-mime-previous-item): Skip the body of a non-multipart
2066 entity if a tagline is shown.
2067
2068 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2069
2070 * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
2071 (tmm-prompt): Simplify.
2072 (tmm-add-prompt): Remove unused var `win'.
2073
2074 * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
2075 to minor mode which used nil accidentally to mean "turn off".
2076
2077 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
2078
2079 * net/tramp-sh.el (tramp-find-inline-compress)
2080 (tramp-get-inline-coding): Quote command after pipe symbol for
2081 local calls under W32. (Bug#6784)
2082
2083 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
2084
2085 * net/tramp.el (tramp-default-method): Initialize with pscp/plink
2086 only when running under W32.
2087
2088 2011-01-15 Eli Zaretskii <eliz@gnu.org>
2089
2090 * progmodes/grep.el (grep-compute-defaults): Quote the program
2091 file name after the pipe symbol in Grep templates. (Bug#6784)
2092 * jka-compr.el (jka-compr-partial-uncompress): Likewise.
2093
2094 2011-01-15 Lennart Borgman <lennart.borgman@gmail.com>
2095
2096 * buff-menu.el (Buffer-menu-buffer-list): New var.
2097 (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
2098 restricted buffer list is not lost on revert (Bug#7749).
2099
2100 2011-01-15 Eric Hanchrow <eric.hanchrow@gmail.com>
2101
2102 * net/ldap.el (ldap-search-internal): Discard stderr output.
2103
2104 2011-01-15 Eli Zaretskii <eliz@gnu.org>
2105
2106 * files.el (directory-abbrev-alist): Doc fix. (Bug#7777)
2107
2108 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2109
2110 * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
2111
2112 2011-01-15 Kenichi Handa <handa@m17n.org>
2113
2114 * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
2115 part as a plain text.
2116 (rmail-mime-process-multipart): Set the default content-type to
2117 nil for unknown multipart subtypes (bug#7651).
2118
2119 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2120
2121 * hexl.el (hexl-mode-old-*): Remove.
2122 (hexl-mode--old-var-vals): New var to replace them.
2123 (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
2124 (hexl-mode, hexl-follow-line, hexl-activate-ruler):
2125 Use them to set local vars (bug#7846).
2126 (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
2127 (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
2128 (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
2129
2130 * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
2131 (smerge-resolve--normalize-re): New var.
2132 (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
2133 (smerge-resolve): Use them.
2134 * newcomment.el (comment-only-p): New function.
2135 (comment-or-uncomment-region): Use it.
2136
2137 2011-01-14 Brent Goodrick <bgoodr@gmail.com> (tiny change)
2138
2139 * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
2140 table, get the value before switching to the output buffer. (Bug#7733)
2141
2142 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2143
2144 * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
2145
2146 2011-01-14 Kim F. Storm <storm@cua.dk>
2147
2148 * emulation/cua-base.el (cua--init-keymaps):
2149 Remap exchange-point-and-mark in cua-global-keymap.
2150
2151 2011-01-14 Tassilo Horn <tassilo@member.fsf.org>
2152
2153 * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
2154 loop keyword.
2155
2156 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2157
2158 * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
2159 Require CL.
2160 (easy-menu-create-menu, easy-menu-convert-item-1):
2161 Use :label rather than nil for labels. Use `case'.
2162 Add :enable as alias for :active.
2163 (easy-menu-binding): Obey :label.
2164
2165 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2166
2167 Use run-mode-hooks for major mode hooks (bug#513).
2168 * textmodes/reftex-toc.el (reftex-toc-mode-map):
2169 Rename from reftex-toc-map.
2170 (reftex-toc-mode): Use define-derived-mode.
2171 * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
2172 (reftex-select-label-mode-map, reftex-select-bib-mode-map):
2173 Rename from reftex-select-(label|bib)-map. Move init into declaration.
2174 (reftex-select-label-mode, reftex-select-bib-mode):
2175 Use define-derived-mode.
2176 * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
2177 (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
2178 Move init into delcaration.
2179 (reftex-index-mode, reftex-index-phrases-mode):
2180 Use define-derived-mode.
2181 * speedbar.el (speedbar-mode-syntax-table): Renaqme from
2182 speedbar-syntax-table. Move init into declaration.
2183 (speedbar-mode-map): Rename from speedbar-key-map.
2184 Move init into declaration.
2185 (speedbar-file-key-map): Move init into declaration.
2186 (speedbar-mode): Use define-derived-mode.
2187 * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
2188 * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
2189 * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
2190 (chart-face-list): Move initialization into declaration.
2191 (chart-mode): Use define-derived-mode.
2192 * calculator.el (calculator-mode-map): Move init into declaration.
2193 (calculator-mode): Use define-derived-mode.
2194
2195 * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
2196 work for nested comments.
2197
2198 * progmodes/prolog.el: Use syntax-propertize. Further code cleanup.
2199 (prolog-use-prolog-tokenizer-flag): Change default when
2200 syntax-propertize can be used.
2201 (prolog-syntax-propertize-function): New var.
2202 (prolog-mode-variables): Move make-local-variable into `set'.
2203 Don't make comment-column local since we don't set it.
2204 Set comment-add (as it was in previous prolog.el). Use dolist.
2205 Set syntax-propertize-function.
2206 (prolog-mode, prolog-inferior-mode):
2207 Call prolog(-inferior)-menu directly, not through the mode-hook.
2208 (prolog-buffer-module, prolog-indent-level)
2209 (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
2210 (prolog-comment-limits, prolog-goto-comment-column):
2211 Use line-(end|beginning)-position.
2212 (prolog-build-prolog-command): Tighten up regexp.
2213 (prolog-consult-compile): Move make-local-variable into `set'.
2214 (prolog-consult-compile-filter, prolog-goto-next-paren)
2215 (prolog-help-on-predicate, prolog-clause-info)
2216 (prolog-mark-predicate): Don't let+setq.
2217 (prolog-indent-line): Use indent-line-to.
2218 Only call prolog-goto-comment-column if necessary.
2219 (prolog-indent-level): Use bobp.
2220 (prolog-first-pos-on-line): Remove, not used any more.
2221 (prolog-in-string-or-comment): Use syntax-ppss if available.
2222 (prolog-help-on-predicate): Use read-string.
2223 (prolog-goto-predicate-info): Simplify.
2224 (prolog-read-predicate): Use `default' rather than `initial'.
2225 (prolog-temporary-file): Use make-temp-file to close a security hole.
2226 (prolog-toggle-sicstus-sd): New command.
2227 (prolog-electric-underscore, prolog-variables-to-anonymous):
2228 Use dynamic-scoping as it was meant.
2229 (prolog-menu): Move menu definitions to top-level.
2230 Use a toggle-button for Sicstus's source debugger.
2231 Change "Code" to the more usual "Prolog", and hence change "Prolog"
2232 to "System".
2233 (prolog-inferior-menu): Reuse prolog-menu's help menu.
2234 Move other menu definition to top-level.
2235
2236 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
2237
2238 * doc-view.el (doc-view-open-text): Use meaningful text buffer
2239 name. Keep original document's directory as default-directory
2240 (bug#6446).
2241 (doc-view-initiate-display): Fall back to normal mode when
2242 doc-view-mode cannot be enabled, also when extracting the document
2243 text into a separate buffer (bug#6446).
2244
2245 * simple.el (shell-command): Don't error out if shell command
2246 buffer contains text with non-nil read-only property when erasing
2247 the buffer.
2248
2249 2011-01-13 Kim F. Storm <storm@cua.dk>
2250
2251 * ido.el (ido-may-cache-directory): Move "too-big" check later.
2252 (ido-next-match, ido-prev-match): Fix stray reordering of matching
2253 items when cycling through the matches.
2254
2255 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
2256
2257 * dired-x.el (dired-omit-verbose): New defcustom that allows
2258 disabling the omit messages.
2259 (dired-omit-expunge): Use it.
2260
2261 2011-01-13 Christian Ohler <ohler@gnu.org>
2262
2263 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
2264
2265 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
2266
2267 * font-lock.el (font-lock-verbose): Default to nil.
2268
2269 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
2270
2271 * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
2272 (compose-mail): New arg RETURN-ACTION.
2273 (compose-mail-other-window, compose-mail-other-frame): Likewise.
2274
2275 * mail/sendmail.el (mail-return-action): New var.
2276 (mail-mode): Make it buffer-local.
2277 (mail-bury): Obey it. Move special Rmail window handling to
2278 rmail-mail-return.
2279 (mail, mail-setup): New arg RETURN-ACTION.
2280 (sendmail-user-agent-compose): Move from simple.el.
2281
2282 * mail/rmail.el (rmail-mail-return): New function.
2283 (rmail-start-mail): Pass it to compose-mail.
2284
2285 2011-01-12 Chong Yidong <cyd@stupidchicken.com>
2286
2287 * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
2288 menus. Add menu item for customize-themes.
2289
2290 * cus-theme.el (customize-themes):
2291 * emacs-lisp/package.el (package--list-packages):
2292 Use switch-to-buffer.
2293
2294 2011-01-11 Johan Bockgård <bojohan@gnu.org>
2295
2296 * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
2297
2298 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
2299
2300 * progmodes/prolog.el: Fix up coding convention and such.
2301 (prolog-indent-width): Use the same default as in
2302 previous prolog.el rather than tab-width which depends on which buffer
2303 is current when the file is loaded.
2304 (prolog-electric-newline-flag): Only enable if electric-indent-mode
2305 is not available.
2306 (prolog-emacs): Remove. Use (featurep 'xemacs) instead.
2307 (prolog-known-systems): Remove.
2308 (prolog-mode-syntax-table, prolog-inferior-mode-map):
2309 Move initialization into declaration.
2310 (prolog-mode-map): Move initialization into declaration.
2311 Remove system-specific mode-map vars, since they referred to the same
2312 keymap anyway.
2313 (prolog-mode-variables): Obey the user's preference w.r.t
2314 adaptive-fill-mode. Prefer symbol-value to `eval'.
2315 (prolog-mode-keybindings-edit): Add compatibility bindings.
2316 (prolog-mode): Use define-derived-mode. Don't handle mercury here.
2317 (mercury-mode-map): New var.
2318 (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
2319 (prolog-ensure-process, prolog-process-insert-string)
2320 (prolog-consult-compile): Use with-current-buffer.
2321 (prolog-guess-fill-prefix): Simplify data flow.
2322 (prolog-replace-in-string): New function to use instead of
2323 replace-in-string.
2324 (prolog-enable-sicstus-sd): Don't abuse `eval'.
2325 (prolog-uncomment-region): Use `uncomment-region' when available.
2326 (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
2327 (prolog-int-to-char, prolog-char-to-int): New functions to use instead
2328 of int-to-char and char-to-int.
2329 (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
2330
2331 2011-01-11 Stefan Bruda <stefan@bruda.ca>
2332
2333 * progmodes/prolog.el: Replace by a whole new file.
2334
2335 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
2336
2337 * subr.el (eval-after-load): Fix timing for features (bug#7769).
2338 (declare-function, undefined, insert-for-yank)
2339 (replace-regexp-in-string): Follow checkdoc's recommendations.
2340
2341 2011-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2342
2343 * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
2344 refreshing the diary buffer.
2345
2346 2011-01-10 Ken Manheimer <ken.manheimer@gmail.com>
2347
2348 * allout.el: Add 2011 to the file copyright.
2349 (allout-encrypt-string): Prevent encryption from adding an extra
2350 newline at the end of the topic body.
2351 (allout-version): Increment to 2.3.
2352
2353 2011-01-10 Michael Albinus <michael.albinus@gmx.de>
2354
2355 * net/dbus.el (dbus-unregister-service): Complete doc.
2356 Fix call of dbus-error signal.
2357 (dbus-register-property): Use `dont-register' keyword.
2358
2359 2011-01-10 Jan Moringen <jan.moringen@uni-bielefeld.de>
2360
2361 * net/dbus.el (dbus-unregister-service): Translate returned
2362 integer into a symbol.
2363 (dbus-register-property): Use `dbus-register-service' to do the
2364 name registration.
2365
2366 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
2367
2368 * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
2369 Suggested by Joakim Verona.
2370
2371 * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
2372
2373 * wid-edit.el (visibility): Replace :on-image and :off-image
2374 widget properties with :on-glyph and :off-glyph, for consistency
2375 with the `visibility' widget.
2376 (widget-toggle-value-create, widget-visibility-value-create):
2377 Merge into a single function `widget-toggle-value-create'.
2378
2379 * cus-edit.el (custom-variable-value-create, custom-visibility)
2380 (custom-face-edit-value-create, custom-face-value-create):
2381 Replace :on-image and :off-image widget properties with :on-glyph and
2382 :off-glyph, for consistency with the `visibility' widget.
2383
2384 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
2385
2386 * net/ldap.el (ldap-search-internal): Don't use eval.
2387
2388 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
2389
2390 * subr.el (read-char-choice): Use read-key.
2391
2392 * custom.el (custom-safe-themes): Rename from
2393 custom-safe-theme-files. Add :risky tag.
2394 (load-theme, custom-theme-load-confirm): Save sha1 hashes to
2395 custom-safe-themes, not filenames. Suggested by Stefan Monnier.
2396
2397 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
2398
2399 * tool-bar.el (tool-bar-setup): Remove Help button. Remove label
2400 from Search and add a label to Undo.
2401
2402 * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
2403 inappropriate buttons and adding :vert-only tags.
2404
2405 * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
2406 removal of Help tool-bar button. Remove Undo button for space.
2407
2408 * info.el (info-tool-bar-map): Add :vert-only tags.
2409
2410 2011-01-08 Tassilo Horn <tassilo@member.fsf.org>
2411
2412 * doc-view.el (doc-view-mode-p): Check for png or imagemagick
2413 image backend support. Either of them is fine.
2414
2415 2011-01-08 Chong Yidong <cyd@stupidchicken.com>
2416
2417 * subr.el (y-or-n-p): Doc fix.
2418
2419 * custom.el (custom-safe-theme-files): New defcustom.
2420 (custom-theme-load-confirm): New function.
2421 (load-theme): Load theme using `load', confirming with
2422 custom-theme-load-confirm if necessary.
2423
2424 * subr.el (read-char-choice): New function, factored out from
2425 dired-query and hack-local-variables-confirm.
2426
2427 * dired-aux.el (dired-query):
2428 * files.el (hack-local-variables-confirm): Use it.
2429
2430 * dired-aux.el (dired-compress-file):
2431 * files.el (abort-if-file-too-large, find-alternate-file)
2432 (set-visited-file-name, write-file, backup-buffer)
2433 (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
2434 (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
2435 Use new format string args for y-or-n-p and yes-or-no-p.
2436
2437 2011-01-08 Andreas Schwab <schwab@linux-m68k.org>
2438
2439 * progmodes/compile.el (compilation-error-regexp-alist-alist)
2440 [gcc-include]: Tighten file name match, add match for column
2441 number. (Bug#7806)
2442 [gnu]: Remove unused group.
2443
2444 2011-01-08 Glenn Morris <rgm@gnu.org>
2445
2446 * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
2447
2448 * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
2449
2450 2011-01-07 Sam Steingold <sds@gnu.org>
2451
2452 * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
2453 the `explicit-shell-file-name' because that is the
2454 non-interactive shell.
2455
2456 2011-01-07 Chong Yidong <cyd@stupidchicken.com>
2457
2458 * subr.el (y-or-n-p): Accept format string args.
2459
2460 2011-01-07 Glenn Morris <rgm@gnu.org>
2461
2462 * Makefile.in (EMACSOPT): Add --no-site-lisp.
2463
2464 2011-01-06 Ken Manheimer <ken.manheimer@gmail.com>
2465
2466 * allout.el (allout-back-to-current-heading): Ensure return to
2467 the visible containing topic, rather than a collapsed one.
2468 (allout-view-change-hook): Remove hook that was deprecated long ago.
2469 (allout-exposure-change-hook): Remove documentation remarks
2470 concerning removed allout-view-change-hook.
2471 (allout-flag-region): Remove invocation of and documentation
2472 remarks concerning allout-view-change-hook.
2473
2474 2011-01-06 Glenn Morris <rgm@gnu.org>
2475
2476 * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
2477 (vc-bzr-annotate-extract-revision-at-line):
2478 Handle authors with embedded spaces. (Bug#7792)
2479
2480 2011-01-05 Tassilo Horn <tassilo@member.fsf.org>
2481
2482 * doc-view.el (doc-view-image-width): New variable.
2483 (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
2484 backend for PNG images, and do dynamic rescaling instead of
2485 reconverting the whole doc.
2486
2487 2011-01-05 Glenn Morris <rgm@gnu.org>
2488
2489 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
2490
2491 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
2492
2493 * allout.el: Reconcile with changes in line movement behavior for
2494 long text lines that cross more than a single physical window
2495 line, ie when truncate-lines is nil.
2496 (allout-next-visible-heading): Provide for change in line-move
2497 behavior on long lines when truncate-lines is nil. In that case,
2498 line-move can wind up on the same textual line when it moves to
2499 the next window line, and moving to the bullet position after the
2500 move yields zero advancement. Add logic to detect and compensate
2501 for the lack of progress.
2502 (allout-current-topic-collapsed-p): move-end-of-line respect for
2503 field boundaries is different when operating with body lines
2504 shorter than window width versus ones greater than window width,
2505 which can yield false negatives in this function. Avoid
2506 difference by applying move-end-of-line while field-text-motion is
2507 inhibited.
2508
2509 2011-01-04 Glenn Morris <rgm@gnu.org>
2510
2511 * textmodes/rst.el (rst-compile-toolsets):
2512 Add pdf and s5 to option alist.
2513
2514 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
2515
2516 * net/dbus.el (dbus-register-property): Add optional parameter
2517 dont-register-service. Updated docstring accordingly.
2518
2519 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
2520
2521 * textmodes/rst.el (rst-compile-pdf-preview)
2522 (rst-compile-slides-preview): Remove extra line.
2523
2524 2011-01-04 Glenn Morris <rgm@gnu.org>
2525
2526 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
2527 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
2528 default to `prog' without a .py extension.
2529 (rst-compile-pdf-preview, rst-compile-slides-preview):
2530 Use program names from rst-compile-toolsets, rather than hard-coding.
2531 (rst-portable-mark-active-p): Fix presumed typo.
2532
2533 2011-01-02 Eli Zaretskii <eliz@gnu.org>
2534
2535 * term/w32-win.el (dynamic-library-alist): Set up correctly for
2536 libpng versions both before and after 1.4.0. (Bug#7716)
2537
2538 2011-01-02 Eli Zaretskii <eliz@gnu.org>
2539
2540 * time.el (display-time-mode): Mention display-time-interval in
2541 the doc string. (Bug#7713)
2542
2543 2011-01-02 Kenichi Handa <handa@m17n.org>
2544
2545 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
2546 condition-case and return an error message string if something
2547 goes wrong.
2548 (rmail-show-mime): Adjust for the above change. Insert the
2549 header by rmail-mime-insert-header.
2550
2551 2011-01-02 Kenichi Handa <handa@m17n.org>
2552
2553 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
2554 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
2555 (rmail-mime-mbox-buffer)
2556 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
2557 (rmail-mime-entity): Argument changed. All codes handling an
2558 entity object are changed.
2559 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
2560 the above change.
2561 (rmail-mime-entity-children, rmail-mime-entity-handler)
2562 (rmail-mime-entity-tagline): New functions.
2563 (rmail-mime-message-p): New function.
2564 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
2565 (rmail-mime-entity-segment, rmail-mime-next-item)
2566 (rmail-mime-previous-item, rmail-mime-shown-mode)
2567 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
2568 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
2569 (rmail-mime-insert-tagline, rmail-mime-insert-header):
2570 New functions.
2571 (rmail-mime-text-handler): Call rmail-mime-insert-text.
2572 (rmail-mime-insert-decoded-text): New function.
2573 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
2574 (rmail-mime-insert-image): Argument changed. Caller changed.
2575 (rmail-mime-image): Call rmail-mime-toggle-hidden.
2576 (rmail-mime-set-bulk-data): New function.
2577 (rmail-mime-insert-bulk): Argument changed.
2578 (rmail-mime-multipart-handler): Return t.
2579 (rmail-mime-process-multipart): Argument changed.
2580 Handle "multipart/alternative" here.
2581 (rmail-mime-process): Argument changed.
2582 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
2583 (rmail-mime-insert): Argument changed. Handle raw display mode.
2584 (rmail-mime): Argument changed. Handle toggling of raw display
2585 mode.
2586 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
2587 rmail-mime-view-buffer.
2588 (rmail-insert-mime-forwarded-message): Likewise.
2589 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
2590
2591 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
2592 non-nil, handle the header in rmail-show-mime-function.
2593
2594 2011-01-02 Leo <sdl.web@gmail.com>
2595
2596 * help-fns.el (describe-variable): Fix previous change.
2597
2598 2011-01-02 Juri Linkov <juri@jurta.org>
2599
2600 * isearch.el (isearch-lazy-highlight-error): New variable.
2601 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
2602 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
2603 to the current value of `isearch-error' (Bug#7468).
2604
2605 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
2606
2607 * help-fns.el (describe-variable): Don't emit trailing whitespace
2608 (Bug#7511).
2609
2610 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
2611
2612 * textmodes/rst.el (rst-compile-pdf-preview)
2613 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
2614
2615 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
2616
2617 * emulation/edt-mapper.el: Override mapping of function keys so
2618 that the later call to read-key-sequence works.
2619
2620 2011-01-02 Eli Zaretskii <eliz@gnu.org>
2621
2622 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
2623 Unix EOLs. (Bug#7589)
2624
2625 2011-01-02 Leo <sdl.web@gmail.com>
2626
2627 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
2628 if point is not behind eshell-last-output-end (Bug#7585).
2629
2630 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
2631
2632 * files.el (file-local-variables-alist):
2633 Make permanent-local (bug#7767).
2634
2635 2011-01-02 Glenn Morris <rgm@gnu.org>
2636
2637 * version.el (emacs-copyright): Set short copyright year to 2011.
2638
2639 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
2640
2641 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
2642 an existing temp buffer. (Bug#7746)
2643
2644 2011-01-02 Glenn Morris <rgm@gnu.org>
2645
2646 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
2647 multiple addresses. (Bug#7760)
2648
2649 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
2650
2651 * allout.el (allout-auto-fill): Do not infinitely recurse - use
2652 do-auto-fill if everything points back to allout-auto-fill.
2653 (allout-mode-deactivate-hook): Declare obsolete, in favor of
2654 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
2655
2656 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
2657
2658 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
2659 and "scpx".
2660
2661 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2662
2663 * doc-view.el (doc-view-set-doc-type): New function refactored
2664 from doc-view-mode.
2665 (doc-view-fallback-mode): New function.
2666 (doc-view-mode): Use it.
2667 (doc-view-mode-maybe): New function that checks if doc-view-mode
2668 can be used and falls back to the next best mode otherwise.
2669
2670 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
2671 DVI, OpenDocument, and MS Office files.
2672
2673 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
2674
2675 * emacs-lisp/rx.el (rx-syntax): Fix typo.
2676
2677 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2678
2679 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
2680 on a copy of auto-mode-alist, because that deletes with side
2681 effects.
2682
2683 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2684
2685 * doc-view.el (doc-view-mode, doc-view-toggle-display):
2686 Use normal-mode without doc-view-mode bindings in auto-mode-alist as
2687 fallback instead of hard coding fundamental mode.
2688
2689 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2690
2691 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
2692 Office) files also for searching.
2693
2694 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2695
2696 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
2697 Office) files. Not yet enabled via auto-mode-list.
2698 (doc-view-unoconv-program): New custom variable.
2699 (doc-view-mode-p): Handle new odf document type.
2700 (doc-view-odf->pdf): New conversion function.
2701 (doc-view-convert-current-doc): Call it for odf files.
2702 (doc-view-mode): Recognize newly supported file extensions.
2703
2704 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
2705
2706 * net/tramp.el (tramp-default-method-alist)
2707 (tramp-default-user-alist)
2708 (tramp-local-host-regexp, tramp-prefix-domain-format)
2709 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
2710
2711 * net/tramp-ftp.el:
2712 * net/tramp-gvfs.el:
2713 * net/tramp-gw.el:
2714 * net/tramp-imap.el:
2715 * net/tramp-sh.el:
2716 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
2717 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
2718
2719 2010-12-29 Karl Fogel <kfogel@red-bean.com>
2720
2721 * saveplace.el (save-place-alist-to-file): Save list sorted and
2722 pretty-printed, so that it is mergeable by line-based text merging,
2723 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
2724
2725 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
2726
2727 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
2728 (allout-mode): Argument "toggle" => "force".
2729 Refine the docstring.
2730 Remove special provisions for reactivation, besides the 'force'
2731 argument.
2732 Consolidate layout provisions coce directly into the activation
2733 condition branch, now that we've removed those provisions.
2734 (allout-unload-function): Explicitly activate the mode before
2735 deactivating, if it's initially deactivated.
2736 (allout-set-buffer-multibyte): Properly prevent byte-compiler
2737 warnings for version of function used only where
2738 set-buffer-multibyte is unavailable.
2739
2740 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
2741
2742 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
2743 are handled by the menu-bar entries. As before, don't use
2744 :visibile to avoid changing the tool-bar.
2745
2746 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
2747
2748 * net/secrets.el (secrets-delete-alias): New defun.
2749
2750 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
2751
2752 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
2753 methods, otherwise ~/.ssh/config would be ignored.
2754
2755 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
2756
2757 * emacs-lisp/rx.el: Make it a superset of sregex.
2758 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
2759 of args, add `regex' alias.
2760 (rx-info): Add arg to distinguish head and standalone forms.
2761 (rx-check, rx-form): Pass the corresponding arg.
2762 (rx-**): Simplify.
2763 (rx-repeat): Make it work for any number of args.
2764 (rx-syntax): Make it accept syntax chars as is.
2765 * obsolete/sregex.el: Move from emacs-lisp/.
2766 * emacs-lisp/re-builder.el: Remove sregex support.
2767 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
2768
2769 2010-12-25 Eli Zaretskii <eliz@gnu.org>
2770
2771 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
2772 PRIMARY first, then the clipboard. (Bug#7699)
2773
2774 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
2775
2776 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
2777 print-number-table.
2778
2779 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
2780
2781 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
2782 .emacs.elc (Bug#7530).
2783
2784 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
2785 image spec (Bug#7480).
2786
2787 2010-12-21 Daiki Ueno <ueno@unixuser.org>
2788
2789 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
2790 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
2791 Move from lisp/.
2792
2793 2010-12-20 Leo <sdl.web@gmail.com>
2794
2795 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
2796 always be performed (Bug#7680).
2797
2798 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
2799
2800 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
2801 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
2802 mouse-region-match.
2803
2804 * color.el: Move from gnus/.
2805
2806 * vc/diff.el (diff-better-file-name): Function deleted.
2807 abbreviating file names causes problems with shell-quote-argument.
2808 (diff-no-select): Just use expand-file-name.
2809
2810 * tool-bar.el (tool-bar--image-expression): New function.
2811 (tool-bar-local-item, tool-bar--image-exp): Use it.
2812 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
2813 Use :enable instead of :visible to avoid changing the tool-bar
2814 configuration unnecessarily.
2815
2816 * info.el (info-tool-bar-map): Add separators.
2817
2818 2010-12-17 Ken Brown <kbrown@cornell.edu>
2819
2820 * loadup.el: Use version numbers in Cygwin build.
2821
2822 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
2823
2824 * ido.el (ido-file-internal): Ask for confirmation before
2825 overwriting an existing file (Bug#1238).
2826
2827 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
2828
2829 * tool-bar.el (tool-bar-setup): Add separators.
2830
2831 * menu-bar.el (featurep): Use menu-bar-separator.
2832
2833 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
2834
2835 Migrate allout encryption provisions from pgg to epg.
2836
2837 * allout.el (allout-toggle-current-subtree-encryption)
2838 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
2839 defaulting policy and other changes. Change fetch-pass to keymode-cue,
2840 for simpler universal argument interpretation.
2841 (allout-toggle-subtree-encryption): Adjust docstring to describe
2842 changed encryption provisions. Change fetch-pass to keymode-cue, for
2843 simpler universal argument interpretation. Remove provisions for
2844 handling key type and identity - they'll all be within
2845 allout-encrypt-string or epg/epg or even contained all the way in gpg.
2846 (allout-encrypt-string): Include keymode-cue, for optionally prompting
2847 for keypair recipients (universal argument > 1) and, in addition,
2848 associating the specified recipients with the outline (universal
2849 argument > 4) using a file local variable setting for
2850 'epa-file-encrypt-to'.
2851 Require epa, for recipients handling.
2852 Change how regexp filtering elements are named.
2853 Describe the problem with caching of incorrect symmetric-decryption
2854 keys.
2855 Use the epa-passphrase-callback-function, in case the user is using
2856 GnuPG v1.
2857 Support saving of the selected keypair recipients when invoked with a
2858 keymode-cue > 4.
2859 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
2860 Require 'epa.
2861 Establish epg-context with armoring and default epg-protocol.
2862 Remove all passphrase cache, verification, and hinting code.
2863 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
2864 No longer used, delete.
2865 (allout-mode): Adjust docstring to describe changed encryption
2866 provisions. Describe the problem with caching of incorrect
2867 symmetric-decryption keys.
2868 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
2869 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
2870 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
2871 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
2872 Obsolete, remove.
2873
2874 2010-12-16 Daiki Ueno <ueno@unixuser.org>
2875
2876 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
2877 key selection prompt; make 'silent as default (Bug#7487).
2878
2879 2010-12-16 Leo <sdl.web@gmail.com>
2880
2881 * eshell/eshell.el (eshell-directory-name):
2882 Use locate-user-emacs-file (Bug#7578).
2883
2884 2010-12-15 Glenn Morris <rgm@gnu.org>
2885
2886 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
2887
2888 2010-12-15 Jari Aalto <jari.aalto@cante.net>
2889 Scott Evans <gse@antisleep.com>
2890
2891 * rect.el (rectange--default-line-number-format)
2892 (rectangle-number-line-callback): New functions.
2893 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
2894
2895 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
2896
2897 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
2898 Delete unused variables.
2899 (move-to-column-force): Remove function obsolete since 21.2.
2900
2901 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
2902
2903 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
2904 (tramp-handle-insert-file-contents): Do not set permanent-local
2905 property.
2906
2907 * net/tramp-cache.el (tramp-persistency-file-name):
2908 Use `locate-user-emacs-file' if fboundp.
2909
2910 * net/tramp-sh.el (tramp-methods): Add "ksu".
2911 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
2912 method list.
2913
2914 2010-12-14 Glenn Morris <rgm@gnu.org>
2915
2916 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
2917 (find-tag-marker-ring): Declare.
2918 (js-find-symbol): Require etags.
2919
2920 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
2921 Require mail-utils.
2922 (mail-alias-file): Don't autoload. Doc fix.
2923 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
2924 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
2925 Mark as obsolete, and risky.
2926 (mail-setup): Simplify.
2927
2928 * mail/mailalias.el (build-mail-aliases): Make it interactive.
2929 * mail/sendmail.el (build-mail-aliases): Update autoload.
2930
2931 * dired.el (dired-trivial-filenames, dired-chown-program)
2932 (dired-auto-revert-buffer): Remove autoload cookies.
2933 * mail/sendmail.el (mail-recover-1): Require 'dired.
2934
2935 * dired.el (dired-subdir-switches, dired-chown-program)
2936 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
2937 Make into defcustoms.
2938 (dired-chown-program): Simplify initialization.
2939
2940 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
2941
2942 2010-12-13 Romain Francoise <romain@orebokech.com>
2943
2944 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
2945
2946 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2947
2948 * net/netrc.el (netrc-point-at-eol): Remove the unused
2949 netrc-point-at-old and netrc-bound-and-true-p bindings.
2950 (netrc-parse): Cache the netrc contents.
2951
2952 2010-12-13 Eli Zaretskii <eliz@gnu.org>
2953
2954 * subr.el (posn-col-row): Evaluate header-line-format in the
2955 context of the POSITION window's buffer.
2956
2957 2010-12-13 Glenn Morris <rgm@gnu.org>
2958
2959 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
2960 (with-silent-modifications): Doc fixes.
2961
2962 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
2963
2964 * net/tramp.el (tramp-action-password, tramp-process-actions):
2965 Revert previous from. Use `save-restriction'.
2966
2967 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
2968
2969 * calendar/diary-lib.el (diary-list-sexp-entries):
2970 Handle case of no newline at end of file. (Bug#7536)
2971
2972 2010-12-13 Glenn Morris <rgm@gnu.org>
2973
2974 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
2975
2976 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
2977
2978 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
2979 (tramp-process-actions): Do not widen.
2980
2981 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2982 Protect buffer-modified value. (Bug#7557)
2983
2984 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
2985
2986 * log-edit.el (log-edit-changelog-entries):
2987 Regexp quote filename. (Bug#7505)
2988
2989 2010-12-13 Tom Breton <tehom@panix.com>
2990
2991 * cus-edit.el (custom-save-all):
2992 Bind print-length and print-level to nil. (Bug#7581)
2993
2994 2010-12-13 Glenn Morris <rgm@gnu.org>
2995
2996 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
2997 Run hooks to update menu contents. (Bug#7586)
2998
2999 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
3000 file names, for the sake of MS Windows. (Bug#7588)
3001
3002 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3003
3004 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
3005 empty lines without a leading space.
3006
3007 2010-12-13 Leo <sdl.web@gmail.com>
3008
3009 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
3010 while mapping over marks (Bug#6810).
3011
3012 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
3013
3014 * image-dired.el (image-dired-db-file)
3015 (image-dired-temp-image-file, image-dired-gallery-dir)
3016 (image-dired-temp-rotate-image-file): Set default values relative
3017 to image-dired-dir (Bug#7518).
3018
3019 2010-12-13 Lawrence Mitchell <wence@gmx.li>
3020
3021 * format.el (format-decode-run-method): Pass args FROM and TO, not
3022 point-min and point-max, to shell-command-on-region (Bug#7488).
3023
3024 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
3025
3026 * frame.el (blink-cursor-mode): Make default t for ns.
3027
3028 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
3029
3030 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
3031
3032 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
3033
3034 * comint.el (comint-dynamic-list-input-ring)
3035 (comint-dynamic-complete-filename)
3036 (comint-replace-by-expanded-filename)
3037 (comint-dynamic-simple-complete)
3038 (comint-dynamic-list-filename-completions)
3039 (comint-dynamic-list-completions): Doc fix (Bug#7499).
3040
3041 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
3042 Doc fix (Bug#7471).
3043
3044 2010-12-13 Martin Rudalics <rudalics@gmx.at>
3045
3046 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
3047 (Bug#7533).
3048
3049 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
3050
3051 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
3052 (Bug#7491).
3053
3054 2010-12-13 Eli Zaretskii <eliz@gnu.org>
3055
3056 * files.el (file-relative-name): Handle UNC file names on
3057 DOS/Windows. (Bug#4674)
3058
3059 2010-12-13 Daiki Ueno <ueno@unixuser.org>
3060
3061 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
3062 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
3063 (epg-context-set-passphrase-callback): Mention that the callback
3064 is not called when used with GnuPG 2.x.
3065
3066 2010-12-13 Glenn Morris <rgm@gnu.org>
3067
3068 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
3069 Ensure ps-footer-font-size-internal is initialized.
3070 Call ps-get-page-dimensions before trying to use ps-font-for-text.
3071
3072 2010-12-13 Kenichi Handa <handa@m17n.org>
3073
3074 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
3075 within condition-case.
3076 (rmail-show-mime): Don't use condition-case.
3077 (rmail-search-mime-message): New function.
3078 (rmail-search-mime-message-function): Set to
3079 rmail-search-mime-message.
3080
3081 2010-12-13 Leo <sdl.web@gmail.com>
3082
3083 * ido.el (ido-common-initialization): New function. (bug#3274)
3084 (ido-mode): Use it.
3085 (ido-completing-read): Call it.
3086
3087 2010-12-12 Karl Fogel <kfogel@red-bean.com>
3088
3089 * bookmark.el (bookmark-name-from-full-record): Rename back to
3090 this original name from `bookmark-name-from-record' reverting part
3091 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
3092 As Drew Adams pointed out, there was no reason to cause churn for
3093 third-party callers. (Bug#7609)
3094
3095 2010-12-12 Alan Mackenzie <acm@muc.de>
3096
3097 * progmodes/cc-engine.el (c-forward-type): Before scanning a
3098 template arglist, check that the current language supports this.
3099
3100 2010-12-11 Glenn Morris <rgm@gnu.org>
3101
3102 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
3103 state of the file matches. (Bug#7544)
3104 (vc-bzr-register, vc-bzr-checkin)
3105 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
3106 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
3107
3108 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
3109
3110 2010-12-11 Karel Klíč <kklic@redhat.com>
3111
3112 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
3113
3114 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3115
3116 Derive from prog-mode, use derived-mode-p, and fix up various
3117 minor style issues in lisp/progmodes.
3118
3119 * progmodes/vhdl-mode.el (vhdl-mode):
3120 * progmodes/verilog-mode.el (verilog-mode):
3121 * progmodes/vera-mode.el (vera-mode):
3122 * progmodes/sql.el (sql-mode):
3123 * progmodes/scheme.el (scheme-mode):
3124 * progmodes/perl-mode.el (perl-mode):
3125 * progmodes/octave-inf.el (inferior-octave-mode):
3126 * progmodes/autoconf.el (autoconf-mode):
3127 * progmodes/m4-mode.el (m4-mode):
3128 * progmodes/inf-lisp.el (inferior-lisp-mode):
3129 * progmodes/idlwave.el (idlwave-mode):
3130 * progmodes/icon.el (icon-mode):
3131 * progmodes/idlw-help.el (idlwave-help-mode):
3132 * progmodes/dcl-mode.el (dcl-mode):
3133 * progmodes/idlw-shell.el (idlwave-shell-mode):
3134 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
3135 (ebrowse-member-mode, ebrowse-electric-position-mode):
3136 Use define-derived-mode.
3137
3138 * progmodes/xscheme.el (exit-scheme-interaction-mode)
3139 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
3140 (xscheme-debugger-mode-p, xscheme-send-string-1):
3141 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
3142 (tcl-load-file, tcl-restart-with-file):
3143 * progmodes/ps-mode.el (ps-run-running):
3144 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
3145 * progmodes/js.el (js--get-all-known-symbols):
3146 * progmodes/inf-lisp.el (inferior-lisp-proc):
3147 * progmodes/idlwave.el (idlwave-beginning-of-statement)
3148 (idlwave-template, idlwave-update-buffer-routine-info)
3149 (idlwave-update-current-buffer-info)
3150 (idlwave-get-routine-info-from-buffers, idlwave-choose)
3151 (idlwave-scan-class-info, idlwave-fix-keywords)
3152 (idlwave-list-buffer-load-path-shadows):
3153 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
3154 (idlwave-toolbar-remove):
3155 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
3156 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
3157 (idlwave-shell-menu-def):
3158 * progmodes/idlw-complete-structtag.el
3159 (idlwave-prepare-structure-tag-completion):
3160 * progmodes/gud.el (gud-set-buffer):
3161 * progmodes/f90.el (f90-backslash-not-special):
3162 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
3163
3164 * progmodes/xscheme.el (xscheme-start)
3165 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
3166 * progmodes/which-func.el (which-function):
3167 * progmodes/vhdl-mode.el (vhdl-set-style):
3168 * progmodes/verilog-mode.el (verilog-set-compile-command)
3169 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
3170 (verilog-set-define, verilog-auto-reeval-locals):
3171 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
3172 * progmodes/simula.el (simula-mode):
3173 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
3174 * progmodes/python.el (python-check, python-mode):
3175 * progmodes/prolog.el (prolog-mode-variables):
3176 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
3177 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
3178 * progmodes/delphi.el (delphi-mode):
3179 * progmodes/cc-styles.el (c-setup-paragraph-variables):
3180 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
3181 (c-font-lock-init): Move make-local-variable to their setq.
3182
3183 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
3184 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
3185 make-local-hook.
3186 * progmodes/sh-script.el (sh-require-final-newline): Remove.
3187 (sh-set-shell): Don't set require-final-newline since it's already done
3188 by prog-mode.
3189 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
3190 since we never set it.
3191 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
3192 Use read-string and standard prompt.
3193 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
3194 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
3195 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
3196 (meta-common-mode-map): Rename from meta-mode-map.
3197 Remove C-m binding, which is a user preference, not mode specific.
3198 (meta-common-mode): New major mode; replace meta-common-initialization.
3199 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
3200 around with font-lock.
3201 * progmodes/etags.el (select-tags-table-mode):
3202 Derive from special-mode.
3203 * progmodes/octave-mod.el (octave-mode):
3204 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
3205 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
3206 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
3207 Let define-derived-mode do its job.
3208 * progmodes/cpp.el (cpp-edit-mode-map):
3209 Move initialization into declaration.
3210 (cpp-edit-mode): Use define-derived-mode.
3211 (cpp-edit-load): Use derived-mode-p.
3212 * progmodes/mixal-mode.el (mixal-mode):
3213 * progmodes/f90.el (f90-mode):
3214 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
3215 require-final-newline since prog-mode does it already.
3216 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
3217 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
3218 * progmodes/antlr-mode.el: Require cc-mode upfront.
3219 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
3220 the declaration.
3221 (antlr-directory-dependencies, antlr-show-makefile-rules):
3222 Use derived-mode-p.
3223 (antlr-language-option): Don't assume point-min==1.
3224 (antlr-mode): Use define-derived-mode.
3225 * progmodes/ada-mode.el: Use derived-mode-p.
3226 (ada-mode): Use define-derived-mode.
3227 Use hack-local-variables-hook.
3228
3229 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3230
3231 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
3232 (texinfo-mode): Don't disable adaptive-fill-mode.
3233 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
3234 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
3235 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
3236 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
3237 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
3238 (texinfo-insert-@quotation, texinfo-insert-@samp)
3239 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
3240 (texinfo-insert-@uref): Use define-skeleton.
3241 (texinfo-insert-@-with-arg): Delete.
3242
3243 2010-12-10 Eli Zaretskii <eliz@gnu.org>
3244
3245 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
3246 nil, do quote archive member names. (Bug#6144)
3247
3248 2010-12-10 Glenn Morris <rgm@gnu.org>
3249
3250 * files.el (diff-no-select): Declare.
3251
3252 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
3253 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
3254
3255 * comint.el (comint-input-ring-file-name): Doc fix.
3256
3257 2010-12-09 Eli Zaretskii <eliz@gnu.org>
3258
3259 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
3260 New functions.
3261 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
3262 Use them instead of `nil' and `>', respectively.
3263 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
3264 instead of `nil'.
3265 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
3266 and menu-bar-positive-p instead of `nil' and `>', respectively.
3267 (Bug#1077)
3268
3269 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3270
3271 * whitespace.el (whitespace-newline-mode): Code fix.
3272
3273 2010-12-09 Glenn Morris <rgm@gnu.org>
3274
3275 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
3276 Rename functions without commas, update callers.
3277
3278 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
3279
3280 * whitespace.el (whitespace-cleanup-region):
3281 Clean up spaces before tabs. (Bug#7582)
3282
3283 2010-12-08 Karl Fogel <kfogel@red-bean.com>
3284
3285 * bookmark.el: Adjust parameter names and doc strings to resolve
3286 confusion over whether "bookmark" meant a bookmark name or a
3287 bookmark record. Along the way, shorten one function's name for
3288 similar reasons. (Issue #7548)
3289 (bookmark-name-from-record): New name for
3290 `bookmark-name-from-full-record'. All callers changed.
3291 (bookmark-get-bookmark, bookmark-get-bookmark-record)
3292 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
3293 (bookmark-get-annotation, bookmark-set-annotation)
3294 (bookmark-get-filename, bookmark-set-filename)
3295 (bookmark-get-position, bookmark-set-position)
3296 (bookmark-get-front-context-string, bookmark-set-front-context-string)
3297 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
3298 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
3299 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
3300 Rename `bookmark' parameter to `bookmark-name-or-record', to
3301 clearly show its role, and shorten or adjust doc strings accordingly.
3302 (bookmark-set-name): Same, and pass the parameter directly to
3303 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
3304 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
3305 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
3306 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
3307 and in some cases shorten doc string accordingly.
3308 (bookmark-rename): Change `old' and `new' parameters to `old-name'
3309 and `new-name', and adjust an internal variable to avoid confusion.
3310 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
3311 parameter in doc string.
3312
3313 2010-12-08 Glenn Morris <rgm@gnu.org>
3314
3315 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
3316 from gdb's history file. (Bug#7575)
3317
3318 * mail/emacsbug.el (report-emacs-bug):
3319 Try to handle some other mail clients.
3320
3321 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3322
3323 * files.el (dir-locals-collect-variables): Don't let errors stop us.
3324 Use string-prefix-p.
3325 (file-name-version-regexp): New var.
3326 (file-name-sans-versions):
3327 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
3328 (jka-compr-get-compression-info): Use dolist.
3329 (jka-compr-compression-info-list): Don't bother specifying
3330 version/backup regexps.
3331
3332 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
3333
3334 * simple.el (just-one-space): Make argument n default to 1 if
3335 omitted.
3336
3337 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3338
3339 * electric.el (electric-indent-post-self-insert-function):
3340 Delete trailing newlines even if we don't reindent.
3341
3342 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3343
3344 * minibuffer.el (completion-at-point): Remove the `arg'.
3345 * bindings.el (complete-symbol): Move back from minibuffer.el.
3346
3347 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3348
3349 * simple.el (just-one-space): Delete newlines for negative arg.
3350
3351 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3352
3353 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
3354 (ansi-color-filter-apply): Simplify.
3355 (ansi-color-apply): Use `font-lock-face' rather than `face'.
3356
3357 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
3358
3359 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
3360
3361 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
3362
3363 * dired.el (dired-use-ls-dired): Set default to a special
3364 "unspecified" value.
3365 (dired-insert-directory): When called the first time, check
3366 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
3367
3368 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
3369
3370 * replace.el: Add "collect" feature to occur.
3371 (occur-collect-regexp-history): New var.
3372 (occur-read-primary-args): Return a replace string for nlines,
3373 if needed.
3374 (occur): Extend the meaning of nlines.
3375
3376 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3377
3378 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
3379 (which-func-update-1): Distinguish symbols from strings.
3380 (which-function): Stay within 80 columns.
3381
3382 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
3383
3384 * subr.el (with-demoted-errors): Distinguish symbols from strings.
3385
3386 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
3387 Improve docstring.
3388 (comment-style): Use comment-styles's docs to describe values.
3389
3390 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
3391
3392 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
3393 and ns-show-prefs (Bug#7535).
3394
3395 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
3396 bindings (Bug#7535).
3397
3398 2010-12-03 Glenn Morris <rgm@gnu.org>
3399
3400 * nxml/nxml-mode.el: Require rng-nxml.
3401 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
3402 Remove declarations.
3403
3404 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
3405 * nxml/rng-nxml.el, nxml/rng-valid.el:
3406 Remove leading `*' from defcustom docs.
3407
3408 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
3409 (normal-top-level-add-to-load-path, tty-handle-args):
3410 Convert comments to basic doc-strings.
3411
3412 * net/browse-url.el (browse-url-url-at-point)
3413 (browse-url-default-browser): Remove autoload cookies.
3414
3415 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
3416 Remove more undefined cl functions.
3417
3418 * vc/diff.el (diff-sentinel): Make new arguments optional.
3419 * ibuf-ext.el (diff-sentinel): Update declaration.
3420
3421 2010-12-03 Daiki Ueno <ueno@unixuser.org>
3422
3423 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
3424 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
3425 (epg-context-set-passphrase-callback): Mention that the callback
3426 is not called when used with GnuPG 2.x.
3427
3428 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
3429
3430 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
3431 (tramp-file-name-port): Check also for `tramp-default-port'.
3432 (tramp-get-connection-name): New defun.
3433 (tramp-get-connection-process): Use it.
3434 (tramp-debug-message): Extend function exclude list.
3435 (tramp-drop-volume-letter): Fix doc string.
3436
3437 * net/tramp-cmds.el: Remove solved todo item.
3438
3439 * net/tramp-ftp.el:
3440 * net/tramp-gvfs.el:
3441 * net/tramp-gw.el:
3442 * net/tramp-imap.el:
3443 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
3444 and `tramp-default-user-alist', respectively.
3445
3446 * net/tramp-gw.el (tramp-gw-open-connection):
3447 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
3448
3449 * net/tramp-imap.el (tramp-imap-make-iht): Use just
3450 `tramp-file-name-port'.
3451
3452 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
3453 and "psftp". Exchange "%k" marker with options.
3454 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
3455 Compute size of link target.
3456 (tramp-do-copy-or-rename-file-out-of-band): Move setting of
3457 `tramp-current-*' up due to gateway methods. Optimize computing of
3458 copy arguments. Use `tramp-get-connection-name' and
3459 `tramp-get-connection-buffer'. Improve debug messages.
3460 (tramp-compute-multi-hops): Remove port determination.
3461 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
3462
3463 * net/trampver.el: Update release number.
3464
3465 2010-12-02 Glenn Morris <rgm@gnu.org>
3466
3467 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
3468 Avoid infinite loop over windows. (Bug#7492)
3469
3470 * progmodes/flymake.el (flymake-check-file-limit):
3471 Allow nil to mean "no limit".
3472 (flymake-check-patch-master-file-buffer): Update for above change.
3473 Allow a .tex file-name extension to be optional.
3474 (flymake-master-tex-init): Also match \include statements.
3475
3476 2010-11-30 Sam Steingold <sds@gnu.org>
3477
3478 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
3479 (nxml-parent-document-set): A function to set `nxml-parent-document'.
3480 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
3481 (nxml-mode-hook): Remove `defcustom' (auto-defined by
3482 define-derived-mode').
3483 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
3484 users who want to call `nxml-parent-document-set'.
3485
3486 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3487
3488 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
3489 stand-alone lines, since that is handled by log-edit-match-to-eoh
3490 (Bug#6465).
3491
3492 2010-11-27 Eduard Wiebe <usenet@pusto.de>
3493
3494 * dired.el (dired-get-filename): Replace backslashes with slashes
3495 in file names on MS-Windows, needed by `locate'. (Bug#7308)
3496 * locate.el (locate-default-make-command-line): Don't consider
3497 drive letter and root directory part of
3498 `directory-listing-before-filename-regexp'. (Bug#7308)
3499 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
3500
3501 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3502
3503 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
3504 of :smie-open/close-alist.
3505 (smie-next-sexp): Make it accept a "start token" as argument.
3506 (smie-indent-keyword): Be careful not to misidentify tokens that span
3507 more than one line, as empty lines. Add argument `token'.
3508
3509 2010-11-27 Kenichi Handa <handa@m17n.org>
3510
3511 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
3512 multipart subtypes, insert all as usual.
3513
3514 * mail/rmail.el: Require rfc2047.
3515
3516 2010-11-27 Kenichi Handa <handa@m17n.org>
3517
3518 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
3519 (rmail-mime-entity-disposition)
3520 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
3521 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
3522 (rmail-mime-save): Handle the case that the button's `data' is a
3523 MIME entity.
3524 (rmail-mime-insert-text): New function.
3525 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
3526 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
3527 (rmail-mime-insert-bulk): New function mostly copied from the old
3528 rmail-mime-bulk-handler.
3529 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
3530 (rmail-mime-process-multipart): New function mostly copied from
3531 the old rmail-mime-multipart-handler.
3532 (rmail-mime-show): Just call rmail-mime-process.
3533 (rmail-mime-process): New function mostly copied from the old
3534 rmail-mime-show.
3535 (rmail-mime-insert-multipart, rmail-mime-parse)
3536 (rmail-mime-insert, rmail-show-mime)
3537 (rmail-insert-mime-forwarded-message)
3538 (rmail-insert-mime-resent-message): New functions.
3539 (rmail-insert-mime-forwarded-message-function): Set to
3540 rmail-insert-mime-forwarded-message.
3541 (rmail-insert-mime-resent-message-function): Set to
3542 rmail-insert-mime-resent-message.
3543
3544 * mail/rmailsum.el: Require rfc2047.
3545 (rmail-header-summary): Handle multiline Subject: field.
3546 (rmail-summary-line-decoder): Change the default to
3547 rfc2047-decode-string.
3548
3549 * mail/rmail.el (rmail-enable-mime): Change the default to t.
3550 (rmail-mime-feature): Change the default to `rmailmm'.
3551 (rmail-quit): Delete the specifal code for rmail-enable-mime.
3552 (rmail-display-labels): Likewise.
3553 (rmail-show-message-1): Check rmail-enable-mime, and use
3554 rmail-show-mime-function for a MIME message. Decode the headers
3555 according to RFC2047.
3556
3557 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3558
3559 * progmodes/which-func.el (which-func-imenu-joiner-function):
3560 Return a string, as expected.
3561 (which-function-mode): Make sure we stop any previous timer before
3562 starting a new one.
3563
3564 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
3565
3566 * net/tramp.el (tramp-default-method-alist)
3567 (tramp-default-user-alist, tramp-default-proxies-alist):
3568 Adapt custom options type. (Bug#7445)
3569
3570 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3571
3572 * progmodes/python.el: Add Ipython support (Bug#5390).
3573 (python-shell-prompt-alist)
3574 (python-shell-continuation-prompt-alist): New options.
3575 (python--set-prompt-regexp): New function.
3576 (inferior-python-mode, run-python, python-shell):
3577 Require ansi-color. Use python--set-prompt-regexp to set the comint
3578 prompt based on the Python interpreter.
3579 (python--prompt-regexp): New var.
3580 (python-check-comint-prompt)
3581 (python-comint-output-filter-function): Use it.
3582 (run-python): Use a pipe (Bug#5694).
3583
3584 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3585
3586 * progmodes/python.el (run-python): Doc fix.
3587 (python-keep-current-directory-in-path): New var (Bug#7454).
3588
3589 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3590
3591 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
3592 Prompt user before actually printing.
3593
3594 2010-11-27 Glenn Morris <rgm@gnu.org>
3595
3596 * startup.el (package-enable-at-startup, package-initialize):
3597 Remove unnecessary declarations.
3598
3599 2010-11-27 Eli Zaretskii <eliz@gnu.org>
3600
3601 * international/characters.el (glyphless-char-display-control):
3602 Exclude newline and TAB from the c0-control group.
3603
3604 2010-11-27 Glenn Morris <rgm@gnu.org>
3605
3606 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
3607 (expand-mail-aliases): Remove unnecessary autoload.
3608
3609 * allout.el (allout-command-prefix, allout-mode-map): Declare.
3610
3611 * shell.el (shell-dir-cookie-re): Move definition before use.
3612
3613 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
3614 Replace undefined CL functions.
3615
3616 2010-11-26 Eli Zaretskii <eliz@gnu.org>
3617
3618 * simple.el (prog-mode): Set bidi-paragraph-direction to
3619 left-to-right.
3620
3621 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
3622
3623 2010-11-26 Glenn Morris <rgm@gnu.org>
3624
3625 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
3626 diary-outlook-formats can be sensitive to calendar-date-style.
3627 (diary-outlook-formats): Simplify the default setting.
3628 (diary-from-outlook-internal): Pass subject and body as arguments.
3629 Use dolist rather than dotimes. Don't save the diary buffer.
3630 (diary-from-outlook-gnus, diary-from-outlook-rmail):
3631 Pass subject and body as explicit arguments to the -internal function.
3632
3633 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
3634
3635 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
3636 parsing them. This makes mailto:...?subject=foo\nbar work.
3637
3638 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3639
3640 * vc/diff.el (diff): Fix last change.
3641
3642 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
3643
3644 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
3645 (pcase--dontcare-upats): New var.
3646 (pcase-let, pcase-let*): Generate better code.
3647 Accept the same bodies as `let'.
3648 (pcase-dolist): New macro.
3649 (pcase--trivial-upat-p): New helper function.
3650 (pcase--expand): Strip leading "(let nil" if any.
3651
3652 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
3653
3654 * mail/mailclient.el (browse-url): Require.
3655 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
3656 use the external browser function to send the mail (bug#7469).
3657
3658 * net/browse-url.el (browse-url-browser-function): Revert the
3659 default back to the previous value, since the new value broke
3660 mailclient.el.
3661 (browse-url-mailto-function): New variable for mailto: URLs.
3662 (browse-url): Use the new variable for mailto: URLs.
3663
3664 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
3665
3666 * eshell/esh-cmd.el (eshell-parse-command):
3667 * eshell/esh-arg.el (eshell-parse-arguments):
3668 * eshell/em-script.el (eshell-source-file):
3669 Use with-silent-modifications.
3670
3671 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
3672
3673 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
3674 for a merge location.
3675
3676 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
3677 (vc-bzr-merge-branch): Always prompt.
3678 (vc-bzr-async-command): Use the full branch filename.
3679
3680 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
3681
3682 * shell.el (shell): Use current-buffer by default if it's already
3683 a shell mode buffer and its process is dead.
3684 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
3685
3686 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
3687
3688 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
3689 Mention that the keywords should be comma separated.
3690
3691 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
3692
3693 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
3694 Accept optional prefix arg meaning to prompt for a command.
3695 (vc-update): Use vc-BACKEND-pull if available. Accept optional
3696 prefix arg meaning to prompt for a command.
3697 (vc-pull): Alias for vc-update.
3698
3699 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
3700 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
3701 (vc-bzr-merge-branch): New functions, implementing merge-branch
3702 and pull operations.
3703
3704 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
3705
3706 * Makefile.in: Fix up last merge.
3707
3708 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
3709 (diff-sentinel): Get them as arguments instead.
3710 (diff-old-file, diff-new-file, diff-extra-args): Remove.
3711 (diff-file-local-copy, diff-better-file-name): New funs.
3712 (diff-no-select): Rename from diff-into-buffer.
3713 Support buffers additionally to files. Move `buf' arg. Don't display buf.
3714 Prefer closures to buffer-local variables.
3715 (diff): Adjust accordingly.
3716 (diff-buffer-with-file): Move from files.el.
3717 * files.el (diff-buffer-with-file): Move to vc/diff.el.
3718 (diff-buffer-internal): Remove.
3719 (diff-buffer-buffer): Remove.
3720 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
3721 the buffer name used, and so as not to mess up windows and frames.
3722
3723 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
3724
3725 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
3726 (diff-buffer-internal): New function extracted from diff-buffer-with-file
3727 (diff-buffer-with-file): Use it.
3728 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
3729 (diff): Use it.
3730
3731 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
3732
3733 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
3734 \ref's or \pageref's value as default instead of initial input.
3735
3736 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
3737
3738 * files.el (backup-by-copying-when-mismatch): The default value is
3739 now t.
3740
3741 * startup.el (normal-top-level):
3742 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
3743 `backup-by-copying-when-mismatch'.
3744
3745 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
3746
3747 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
3748
3749 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3750
3751 * progmodes/python.el (python-font-lock-keywords):
3752 Highlight top-level augmented assignments (Bug#6445).
3753
3754 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
3755
3756 * term/ns-win.el (ns-right-control-modifier)
3757 (ns-right-command-modifier): Defvar them.
3758
3759 * cus-start.el (all): Add ns-right-control-modifier and
3760 ns-right-command-modifier (Bug#7458).
3761
3762 2010-11-20 Glenn Morris <rgm@gnu.org>
3763
3764 * emacs-lisp/authors.el (authors-ignored-files)
3765 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
3766
3767 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
3768
3769 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
3770 (report-emacs-bug-parse-query-results)
3771 (report-emacs-bug-create-existing-bugs-buffer): Pass through
3772 keywords used for querying the bug database to show them in the
3773 existing bugs buffer.
3774
3775 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
3776
3777 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
3778
3779 * info.el (info-tool-bar-map): Add some :vert-only keywords.
3780
3781 2010-11-20 Eli Zaretskii <eliz@gnu.org>
3782
3783 * international/characters.el (glyphless-char-display-control):
3784 Make it a defcustom, with update-glyphless-char-display as its
3785 :set attribute.
3786 (top level): Don't call update-glyphless-char-display.
3787
3788 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
3789
3790 Sync with Tramp 2.2.0.
3791
3792 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
3793 `file-remote-p' (due to compatibility).
3794
3795 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
3796 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
3797
3798 * net/trampver.el: Update release number.
3799
3800 2010-11-20 Eli Zaretskii <eliz@gnu.org>
3801
3802 * faces.el (glyphless-char): Define value for `pc'.
3803
3804 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
3805
3806 Implemented a bug querying mechanism.
3807 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
3808 (report-emacs-bug-create-existing-bugs-buffer)
3809 (report-emacs-bug-parse-query-results)
3810 (report-emacs-bug-query-existing-bugs): New functions.
3811
3812 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
3813
3814 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
3815 a \ref{} or \pageref{} macro, then use its value as initial input.
3816
3817 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
3818
3819 * calc/calc-units.el (math-build-units-table-buffer):
3820 calc/README: Mention that the TeX specific units won't use the
3821 `tex' prefix in TeX mode.
3822 calc/calc-lang.el (math-variable-table): Don't use the `tex'
3823 prefix for units in TeX mode.
3824
3825 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3826
3827 * simple.el (kill-new, kill-append, kill-region):
3828 * comint.el (comint-kill-region): Make the yank-handler argument
3829 obsolete.
3830
3831 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3832
3833 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
3834 that are both openers (resp. closers) and something else.
3835 (smie-grammar): Loosen definition of valid values.
3836 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
3837 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
3838 (smie-indent-after-keyword): Adjust users.
3839 (smie-indent-keyword): Don't indent empty lines.
3840
3841 * vc-hg.el (vc-hg-program): New var.
3842 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
3843 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
3844
3845 2010-11-18 Glenn Morris <rgm@gnu.org>
3846
3847 * emacs-lisp/autoload.el (autoload-find-destination): The function
3848 coding-system-eol-type may return non-numeric values. (Bug#7414)
3849
3850 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
3851
3852 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
3853
3854 2010-11-18 Eli Zaretskii <eliz@gnu.org>
3855
3856 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
3857
3858 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
3859
3860 * textmodes/picture.el (picture-mouse-set-point): Don't use
3861 posn-col-row; explicitly compute the motion based on the posn at
3862 the window-start (Bug#7390).
3863
3864 2010-11-18 Glenn Morris <rgm@gnu.org>
3865
3866 * novice.el (disabled-command-function):
3867 Fix 2009-11-15 change. (Bug#7384)
3868
3869 2010-11-18 Glenn Morris <rgm@gnu.org>
3870
3871 * calendar/calendar.el (diary-iso-date-forms): Make elements
3872 mutually exclusive. (Bug#7377)
3873
3874 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3875
3876 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
3877 when filling the remaining "unconstrained" values.
3878
3879 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3880
3881 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
3882 safety predicate.
3883
3884 * files.el (safe-local-variable-p): Gracefully handle errors.
3885
3886 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
3887 Use smie-indent-virtual when indenting relative to an opener.
3888 (smie-rule-separator): Use smie-rule-parent.
3889 (smie-indent-keyword): Consult rules, even for openers at bol.
3890 (smie-indent-comment-close): Try to align closer's content.
3891
3892 2010-11-18 Glenn Morris <rgm@gnu.org>
3893
3894 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
3895
3896 2010-11-18 Glenn Morris <rgm@gnu.org>
3897
3898 * printing.el (pr-menu-bind): Doc fix.
3899
3900 * speedbar.el (speedbar-toggle-images): Doc fix.
3901
3902 * progmodes/python.el (python-shell): Doc fix.
3903
3904 * wid-edit.el (widget-field-use-before-change)
3905 (widget-use-overlay-change): Doc fixes.
3906
3907 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3908
3909 Minor cleanup to improve style.
3910 * textmodes/rst.el (rst-update-section): Use point-marker.
3911 (rst-get-decoration): Eliminate unneeded assignment.
3912 (rst-promote-region, rst-straighten-decorations)
3913 (rst-section-tree, rst-adjust): Use point-marker.
3914 (rst-toc-mode-mouse-goto): Avoid setq.
3915 (rst-shift-region-guts, rst-shift-region-left)
3916 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
3917 (rst-convert-bullets-to-enumeration): Use copy-marker.
3918
3919 * minibuffer.el (completion-fail-discreetly): New var.
3920 (completion--do-completion): Use it.
3921
3922 * electric.el (electric-pair-pairs): New var.
3923 (electric-pair-post-self-insert-function): Use it.
3924 (electric-layout-post-self-insert-function): Don't insert a before
3925 newline unless it's actually needed.
3926
3927 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
3928
3929 * progmodes/python.el (run-python): Explain why we remove the current
3930 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
3931
3932 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
3933
3934 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3935
3936 * progmodes/octave-mod.el: Rely on elecric-*-modes.
3937 (octave-mode-map): Don't bind ;, SPC, and LF.
3938 (octave-auto-indent, octave-auto-newline): Remove.
3939 (electric-layout-rules): Declare.
3940 (octave-mode): Set electric-layout-rules.
3941 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
3942 (octave-reindent-then-newline-and-indent, octave-electric-semi)
3943 (octave-electric-space): Remove.
3944
3945 * electric.el (electric-layout-mode): New minor mode.
3946 (electric--after-char-pos): New function.
3947 (electric-indent-post-self-insert-function): Use it.
3948 (electric-layout-rules): New var.
3949 (electric-layout-post-self-insert-function): New function.
3950 (electric-indent-mode): Make them interact better.
3951
3952 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3953
3954 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
3955 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
3956 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
3957
3958 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
3959
3960 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
3961 Make sure to check inside the word (Bug#6761).
3962
3963 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
3964
3965 * startup.el (command-line): If the cursorColor resource is set,
3966 change the cursor face-spec (Bug#7392).
3967
3968 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
3969
3970 The main features of the following allout.el changes are:
3971 - implement user customization for the allout key bindings
3972 - add a customization control by which the user can inhibit use of
3973 a trailing Ctrl-H, so by default it's reserved for use with
3974 describe-prefix-bindings
3975 - adapt to new version of called-interactively-p, while
3976 maintaining backwards compatibility with old version
3977 - fix hotspot navigation so i works properly with meta-modified keys.
3978
3979 * allout.el (allout-keybindings, allout-bind-keys)
3980 (allout-keybindings-binding, allout-prefixed-keybindings)
3981 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
3982 (allout-keybindings-list, allout-mode-map-adjustments)
3983 (allout-setup-mode-map): Establish allout-mode keymaps as user
3984 customizable settings, and also establish a customizable setting which
3985 regulates whether or not a trailing control-h is reserved for use with
3986 describe-prefix-bindings - and inhibit it by default, so that control-h
3987 *is* reserved for describe-prefix-bindings unless the user changes it.
3988
3989 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
3990 and accurately between modified and unmodified events, and handle
3991 modified events more comprehensively.
3992
3993 * allout.el (allout-substring-no-properties):
3994 Alias to use or provide version of `substring-no-properties'.
3995 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
3996
3997 * allout.el (allout-next-single-char-property-change):
3998 Alias to use or provide version of `next-single-char-property-change'.
3999 (allout-annotate-hidden, allout-hide-by-annotation):
4000 Use `allout-next-single-char-property-change'.
4001
4002 * allout.el (allout-select-safe-coding-system):
4003 Alias to use or provide version of `select-safe-coding-system'.
4004 (allout-toggle-subtree-encryption):
4005 Use `allout-select-safe-coding-system'.
4006
4007 * allout.el (allout-set-buffer-multibyte):
4008 Alias to use or provide version of `set-buffer-multibyte'.
4009 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
4010
4011 * allout.el (allout-called-interactively-p): Macro for using the
4012 different versions of called-interactively-p identically, depending on
4013 the subroutine's argument signature.
4014 (allout-back-to-current-heading, allout-beginning-of-current-entry):
4015 Use `(interactive "p")' instead of `(called-interactively-p)'.
4016
4017 * allout.el (allout-init, allout-ascend, allout-end-of-level)
4018 (allout-previous-visible-heading, allout-forward-current-level)
4019 (allout-backward-current-level, allout-show-children):
4020 Use `allout-called-interactively-p' instead of `called-interactively-p'.
4021
4022 * allout.el (allout-before-change-handler):
4023 Exempt edits to the (overlaid) character after the allout outline
4024 bullet from edit confirmation prompt.
4025
4026 * allout.el (allout-add-resumptions):
4027 Ensure that it respects correct buffer for keybindings.
4028
4029 * allout.el (allout-beginning-of-line):
4030 Use `allout-previous-single-char-property-change' alias for the sake of
4031 diverse compatibility.
4032
4033 * allout.el (allout-end-of-line):
4034 Use `allout-mark-active-p' to encapsulate respect for mark activity.
4035
4036 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
4037
4038 * frame.el (frame-notice-user-settings): Don't clobber other
4039 user-set parameters when calling face-set-after-frame-default in
4040 response to background-color parameter (Bug#7373).
4041
4042 2010-11-13 Eli Zaretskii <eliz@gnu.org>
4043
4044 * international/characters.el (glyphless-char-display-control):
4045 Rename from glyphless-char-control; all users changed. Doc fix.
4046 Signal an error if display method is not one of the recognized
4047 symbols.
4048
4049 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
4050
4051 * net/tramp-compat.el (tramp-compat-line-beginning-position)
4052 (tramp-compat-line-end-position): Remove them.
4053
4054 * net/tramp.el (tramp-parse-rhosts-group)
4055 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
4056 (tramp-parse-hosts-group, tramp-parse-passwd-group)
4057 (tramp-parse-netrc-group, tramp-parse-putty-group)
4058 * net/tramp-cmds.el (tramp-append-tramp-buffers)
4059 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
4060 (tramp-sh-handle-file-selinux-context)
4061 (tramp-sh-handle-file-name-all-completions)
4062 (tramp-sh-handle-insert-directory)
4063 (tramp-sh-handle-expand-file-name, tramp-find-executable)
4064 (tramp-wait-for-output, tramp-send-command-and-read)
4065 * net/tramp-smb.el (tramp-smb-read-file-entry)
4066 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
4067
4068 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
4069 `point-at-bol'.
4070 (tramp-remote-coding-commands): Add an alternative using "base64
4071 -d -i". This is needed for older base64 versions from GNU
4072 coreutils. Reported by Klaus Reichl
4073 <Klaus.Reichl@thalesgroup.com>.
4074
4075 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
4076
4077 * simple.el (count-words-region): New function.
4078
4079 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4080
4081 * shell.el (shell-dir-cookie-re): New custom variable.
4082 (shell-dir-cookie-watcher): New function.
4083
4084 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
4085 and compilation-mode (bug#7350).
4086
4087 * vc/smerge-mode.el (smerge-refine): Choose better default part to
4088 highlight when one of them is empty.
4089
4090 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
4091 trailing space.
4092 (skeleton-newline): New function.
4093 (skeleton-internal-1): Use it.
4094
4095 * simple.el (open-line): `newline' may strip trailing space.
4096
4097 2010-11-12 Kevin Ryde <user42@zip.com.au>
4098
4099 * international/mule-cmds.el (princ-list): Use mapc.
4100
4101 2010-11-12 Glenn Morris <rgm@gnu.org>
4102
4103 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
4104 Use it to replace all instances of "*Compile-Log*".
4105
4106 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4107
4108 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
4109 indentation specs.
4110
4111 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4112
4113 * progmodes/modula2.el: Use SMIE and skeleton.
4114 (m2-mode-syntax-table): (*..*) can be nested.
4115 Add //...\n. Fix paren syntax.
4116 (m2-mode-map): Remove LF and TAB bindings.
4117 (m2-indent): Add safety property.
4118 (m2-smie-grammar): New var.
4119 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
4120 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
4121 (m2-mode): Use define-derived-mode.
4122 (m2-newline, m2-tab): Remove.
4123 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
4124 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
4125 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
4126 (m2-import): Use define-skeleton.
4127
4128 2010-11-11 Glenn Morris <rgm@gnu.org>
4129
4130 * obsolete/lucid.el: Don't warn about any CL functions in this file.
4131
4132 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
4133 (ls-lisp-verbosity): Add custom :set-after property.
4134 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
4135 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
4136 (ls-lisp-insert-directory): Update caller.
4137 (ls-lisp-set-options): New function.
4138 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
4139 Doc fix.
4140
4141 * play/landmark.el (lm-prompt-for-move):
4142 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
4143
4144 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
4145
4146 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
4147 (idlwave-study-twins): Prefix dynamic local variable `name'.
4148 (idlwave-routine-twin-compare): Update for above change.
4149
4150 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
4151 Prefix dynamic local variables `name', `kwd', and `link'.
4152 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
4153 * progmodes/idlw-complete-structtag.el
4154 (idlwave-complete-structure-tag-help):
4155 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
4156 (idlwave-complete-sysvar-tag-help)
4157 (idlwave-complete-class-structure-tag-help):
4158 Update for above name changes.
4159
4160 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4161
4162 * net/browse-url.el (browse-url-browser-function): Change the
4163 default to use `browse-url-mail' on mailto: URLs.
4164
4165 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
4166
4167 * emacs-lisp/package.el (package-read-all-archive-contents):
4168 Reset package-archive-contents to nil before re-reading.
4169
4170 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
4171
4172 * textmodes/flyspell.el (flyspell-word): Do not re-check words
4173 already found as misspellings by (flyspell-large-region), just
4174 do highlighting (bug#7322).
4175
4176 2010-11-10 Glenn Morris <rgm@gnu.org>
4177
4178 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
4179
4180 * emulation/edt.el (edt-with-position): New macro.
4181 (edt-find-forward, edt-find-backward, edt-find-next-forward)
4182 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
4183 (edt-paragraph-forward, edt-paragraph-backward): Use it.
4184
4185 * emulation/tpu-extras.el (tpu-with-position): New macro.
4186 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
4187
4188 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
4189
4190 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
4191 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
4192 (texinfo-master-menu, texinfo-insert-node-lines)
4193 (texinfo-multiple-files-update):
4194 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
4195 Use line-beginning-position.
4196
4197 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
4198 No recent Emacs supports system-type `emx'.
4199
4200 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
4201 (ada-command-separator, ada-default-prj-properties)
4202 (ada-find-any-references): Update for above name change.
4203
4204 * dirtrack.el (dirtrack-directory-function)
4205 (dirtrack-canonicalize-function):
4206 * filecache.el (file-cache-completion-ignore-case)
4207 (file-cache-case-fold-search, file-cache-ignore-case):
4208 * term.el (serial-port-is-file-p): Cosmetic change.
4209
4210 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
4211 Remove non-existent `windows-95' system-type.
4212 * dired.el (dired-chown-program): Remove non-existent `linux'
4213 system-type.
4214
4215 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
4216 (ping-program-options): Remove non-existent `linux' system-type.
4217
4218 * startup.el (package-initialize): Update declaration.
4219
4220 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
4221 (ls-lisp-handle-switches): Use time-less-p.
4222 (ls-lisp-format-time): Use float-time.
4223
4224 * textmodes/remember.el (remember-time-to-seconds): Remove.
4225 (remember-store-in-mailbox): Use float-time.
4226
4227 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
4228
4229 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
4230 never a real function.
4231 (with-no-warnings): Remove compat stub, now unused.
4232 (time-less-p): Doc fix.
4233 (time-to-number-of-days): Simplify.
4234
4235 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
4236 Remove.
4237 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
4238 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
4239 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
4240 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
4241 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
4242
4243 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
4244 (eshell-shuffle-files, eshell-shorthand-tar-command)
4245 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
4246 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
4247 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
4248 Prefix dynamic local variable `matches'.
4249
4250 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
4251 Prefix dynamic local variable `skeleton'.
4252
4253 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
4254
4255 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
4256 in mail buffer; make yank-action always a command that yanks original
4257 buffer.
4258
4259 2010-11-09 Glenn Morris <rgm@gnu.org>
4260
4261 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
4262
4263 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4264
4265 * minibuffer.el (minibuffer-completion-help): Specify the end of the
4266 completion field (bug#7211).
4267
4268 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
4269 Fix handling of backslash escapes.
4270 (python-quote-syntax): Adjust accordingly.
4271
4272 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
4273
4274 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
4275 (vc-mtn-workfile-branch): Adjust to new output format.
4276
4277 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4278
4279 * international/mule-cmds.el (princ-list): Mark as obsolete.
4280
4281 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4282
4283 * emacs-lisp/smie.el: New package.
4284
4285 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
4286
4287 * files.el (backup-by-copying-when-mismatch):
4288 Set `permanent-local' property.
4289
4290 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
4291 `permanent-local' property for `backup-by-copying-when-mismatch'.
4292
4293 2010-11-09 Eli Zaretskii <eliz@gnu.org>
4294
4295 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
4296
4297 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
4298
4299 * progmodes/verilog-mode.el (verilog-insert-one-definition)
4300 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
4301 AUTOINOUT for SV style multidimensional arrays, bug294.
4302 Reported by Eric Mastromarchi.
4303 (verilog-preprocess): Use with-current-buffer and
4304 font-lock-fontify-buffer to cleanup style issues.
4305
4306 2010-11-09 Glenn Morris <rgm@gnu.org>
4307
4308 * locate.el (locate, locate-mode): Doc fixes.
4309
4310 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
4311
4312 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
4313 user for confirmation.
4314 (server-force-stop): Use it.
4315 (server-start): Use server-force-stop for kill-emacs-hook, to
4316 avoid user interaction while killing Emacs.
4317
4318 2010-11-09 Glenn Morris <rgm@gnu.org>
4319
4320 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
4321 (meta-indent-line): Simplify.
4322
4323 * vc/emerge.el (emerge-line-number-in-buf):
4324 * textmodes/ispell.el (ispell-region):
4325 * textmodes/fill.el (current-fill-column):
4326 * progmodes/xscheme.el (xscheme-send-current-line):
4327 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
4328 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
4329 * progmodes/sh-script.el (sh-handle-prev-do):
4330 * progmodes/meta-mode.el (meta-indent-line):
4331 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
4332 (idlwave-in-quote):
4333 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
4334 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
4335 * progmodes/fortran.el (fortran-looking-at-if-then):
4336 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
4337 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
4338 (cperl-find-pods-heres):
4339 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
4340 * net/quickurl.el (quickurl-list-insert):
4341 * net/ldap.el (ldap-search-internal):
4342 * net/eudc.el (eudc-expand-inline):
4343 * mail/sendmail.el (sendmail-send-it):
4344 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
4345 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
4346 (viper-brac-function):
4347 * calc/calc-yank.el (calc-do-grab-region):
4348 * calc/calc-keypd.el (calc-keypad-press):
4349 * term.el (term-move-columns, term-insert-spaces):
4350 * speedbar.el (speedbar-highlight-one-tag-line):
4351 * simple.el (current-word):
4352 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
4353 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
4354 (Info-scroll-down):
4355 * hippie-exp.el (he-line-beg):
4356 * epa.el (epa--marked-keys):
4357 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
4358 (dired-update-file-line, dired-add-entry, dired-remove-entry)
4359 (dired-relist-entry):
4360 * buff-menu.el (Buffer-menu-buffer):
4361 * array.el (current-line):
4362 * allout.el (allout-resolve-xref)
4363 (allout-latex-verbatim-quote-curr-line):
4364 Replace yet more uses of end-of-line etc with line-end-position, etc.
4365
4366 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4367
4368 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
4369 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
4370 (checkdoc-syntax-table): Initialize in the declaration.
4371 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
4372 the mode on unconditionally.
4373
4374 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
4375 (extent-end-position, extent-start-position): Remove setf method for
4376 non-existing functions (bug#7319).
4377
4378 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4379
4380 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
4381 (smie-precs->prec2): Rename from smie-precs-precedence-table.
4382 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
4383 (smie-prec2->grammar): Rename from smie-prec2-levels.
4384 (smie-grammar): Rename from smie-op-levels.
4385 (smie-indent--hanging-p): Rename from smie-hanging-p.
4386 (smie-rule-hanging-p): New alias.
4387 (smie-indent--bolp): Rename from smie-bolp.
4388 (smie-indent--hanging-p): New alias.
4389 (smie--token): New dynamically bound variable.
4390 (smie-indent--parent): New function.
4391 (smie-rule-parent-p): Use it; rename from smie-parent-p.
4392 (smie-rule-next-p): Rename from smie-next-p.
4393 (smie-rule-prev-p): Rename from smie-prev-p.
4394 (smie-rule-sibling-p, smie-rule-parent)
4395 (smie-indent--separator-outdent, smie-rule-separator): New functions.
4396 (smie-rule-separator-outdent): New var.
4397 (smie-indent--rule): Merge with smie-indent--column.
4398 (smie-indent-forward-token, smie-indent-backward-token):
4399 Also recognize close parens.
4400 (smie-indent-keyword): Don't use smie-indent--column any more.
4401 (smie-indent-after-keyword): Ignore closers by default.
4402 (smie-indent-line): Use with-demoted-errors.
4403 * progmodes/octave-mod.el (octave-smie-grammar):
4404 Rename from octave-smie-op-levels.
4405 (octave-smie-rules): Adjust to new behavior.
4406 * progmodes/prolog.el (prolog-smie-grammar):
4407 Rename from prolog-smie-op-levels.
4408
4409 2010-11-07 Glenn Morris <rgm@gnu.org>
4410
4411 * eshell/esh-util.el (subst-char-in-string)
4412 (directory-files-and-attributes): These compatibility definitions are
4413 not needed on any version of Emacs since at least 21.4.
4414
4415 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
4416 (verilog-get-end-of-line): Remove.
4417 (verilog-within-string, verilog-re-search-forward-substr)
4418 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
4419 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
4420 Use point-at-bol, point-at-eol.
4421 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
4422 Remove.
4423 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
4424 (electric-pascal-terminate-line, pascal-set-auto-comments)
4425 (pascal-indent-paramlist, pascal-indent-declaration)
4426 (pascal-get-lineup-indent, pascal-func-completion)
4427 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
4428 Use point-at-bol, point-at-eol.
4429 * progmodes/flymake.el (flymake-line-beginning-position)
4430 (flymake-line-end-position): Remove.
4431 (flymake-highlight-line): Use point-at-bol, point-at-eol.
4432 * eshell/esh-util.el (line-end-position, line-beginning-position):
4433 Remove compat definitions.
4434
4435 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
4436 Use end-of-line N.
4437 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
4438 Use line-end-position.
4439
4440 * emacs-lisp/chart.el (chart-zap-chars):
4441 * play/decipher.el (decipher-set-map):
4442 * progmodes/ada-mode.el (ada-get-current-indent)
4443 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
4444 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
4445 * progmodes/ada-xref.el (ada-initialize-runtime-library)
4446 (ada-get-all-references):
4447 * progmodes/cperl-mode.el (cperl-electric-paren)
4448 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
4449 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
4450 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
4451 (cperl-word-at-point-hard):
4452 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
4453 (idlwave-shell-filename-string, idlwave-shell-batch-command)
4454 (idlwave-shell-display-line):
4455 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
4456 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
4457 * progmodes/js.el (js--re-search-forward-inner)
4458 (js--re-search-backward-inner):
4459 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
4460 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
4461 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
4462 * textmodes/flyspell.el (flyspell-process-localwords):
4463 * textmodes/ispell.el (ispell-buffer-local-parsing)
4464 (ispell-buffer-local-dict, ispell-buffer-local-words):
4465 Use point-at-bol and point-at-eol.
4466
4467 * speedbar.el (speedbar-generic-item-info)
4468 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
4469 (speedbar-add-indicator, speedbar-check-vc-this-line)
4470 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
4471 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
4472 Replace more uses of end-of-line etc with line-end-position.
4473
4474 2010-11-06 Glenn Morris <rgm@gnu.org>
4475
4476 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
4477 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
4478 (texinfo-delete-existing-pointers, texinfo-find-pointer)
4479 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
4480 (texinfo-multiple-files-update):
4481 * textmodes/table.el (table--probe-cell-left-up)
4482 (table--probe-cell-right-bottom):
4483 * textmodes/picture.el (picture-tab-search):
4484 * textmodes/page-ext.el (pages-copy-header-and-position)
4485 (pages-directory-for-addresses):
4486 * progmodes/vera-mode.el (vera-get-offset):
4487 * progmodes/simula.el (simula-calculate-indent):
4488 * progmodes/python.el (python-pdbtrack-overlay-arrow):
4489 * progmodes/prolog.el (end-of-prolog-clause):
4490 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
4491 * progmodes/icon.el (indent-icon-exp):
4492 * progmodes/etags.el (tag-re-match-p):
4493 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
4494 * progmodes/ebnf2ps.el (ebnf-begin-file):
4495 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
4496 (dcl-save-local-variable):
4497 * play/life.el (life-setup):
4498 * play/gametree.el (gametree-looking-at-ply):
4499 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
4500 * mail/sendmail.el (mail-mode-auto-fill):
4501 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
4502 * emacs-lisp/edebug.el (edebug-overlay-arrow):
4503 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
4504 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
4505 (woman-tab-to-tab-stop, WoMan-warn-ignored):
4506 * type-break.el (type-break-file-keystroke-count):
4507 * term.el (term-replace-by-expanded-history-before-point)
4508 (term-skip-prompt, term-extract-string):
4509 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
4510 (speedbar-contract-line, speedbar-toggle-line-expansion)
4511 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
4512 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
4513 * sort.el (sort-skip-fields):
4514 * skeleton.el (skeleton-internal-list):
4515 * simple.el (line-move-finish, line-move-to-column):
4516 * shell.el (shell-forward-command):
4517 * misc.el (copy-from-above-command):
4518 * makesum.el (double-column):
4519 * ebuff-menu.el (electric-buffer-update-highlight):
4520 * dired.el (dired-move-to-end-of-filename):
4521 * dframe.el (dframe-popup-kludge):
4522 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
4523 * arc-mode.el (archive-get-lineno):
4524 Use line-end-position and line-beginning-position.
4525
4526 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
4527 (idlwave-study-twins): Prefix dynamic local `class'.
4528 (idlwave-routine-twin-compare): Update for above name change.
4529
4530 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
4531 Use boundp tests to silence compiler. Update for changed name of
4532 bytecomp-filename variable.
4533
4534 * emulation/viper-cmd.el (viper-read-string-with-history):
4535 Prefix dynamic local `initial'.
4536 (viper-minibuffer-standard-hook): Update for above name change.
4537
4538 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
4539 (elint-init-form): Update for above name change.
4540
4541 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
4542 local variables `cbeg' and `cend' a prefix.
4543 (mail-extr-voodoo): Update for above name change.
4544
4545 * textmodes/reftex-toc.el (reftex-toc-do-promote)
4546 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
4547 (reftex-toc-promote-action): Doc fix.
4548
4549 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
4550 `prompt', `data' a prefix.
4551 (reftex-select-post-command-hook, reftex-select-callback)
4552 (reftex-select-mouse-accept, reftex-select-read-cite):
4553 Update for above name changes.
4554
4555 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
4556 `refstyle' to reftex-refstyle.
4557 (reftex-offer-label-menu): Update for above name change.
4558 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
4559 `refstyle' name change.
4560
4561 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
4562 with with-current-buffer.
4563 (diff, template): Give dynamic local variables a prefix.
4564 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
4565 (emerge-line-number-in-buf): Update for above name change.
4566 (emerge-combine-versions-internal): Rename local `template' to
4567 emerge-combine-template.
4568 (emerge-combine-versions-edit): Update for above name change.
4569
4570 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
4571
4572 * textmodes/reftex-cite.el
4573 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
4574 entries with whitespace after \bibitem.
4575 (reftex-create-bibtex-file): Match entries containing numbers and
4576 symbol constituents. Make sure that entries with whitespace at
4577 various places are found.
4578
4579 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
4580
4581 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
4582
4583 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
4584
4585 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
4586
4587 2010-11-05 Glenn Morris <rgm@gnu.org>
4588
4589 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
4590 (woman2-roff-buffer): Give local variable `request' a prefix.
4591 (woman0-macro): Rename argument `request' in the same way.
4592 (woman-request): New name for `request' dynamic variable.
4593 (woman-unquote, woman-forward-arg): Update for above name change.
4594 (woman1-roff-buffer): Give local variable `unquote' a prefix.
4595 (woman1-unquote): New name for `unquote' dynamic variable.
4596 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
4597 (woman-translations): Rename from `translations'. No longer global.
4598 (woman2-tr, woman-translate): Update for above name change.
4599 (woman-translate): Check for bound variable.
4600 (woman2-roff-buffer): Give local variable `translations' a prefix.
4601
4602 * play/doctor.el: Give all local variables a prefix. Update callers.
4603 (doc$, doctor-put-meaning): Use backquote.
4604
4605 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
4606 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
4607
4608 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
4609 variables bytes, ptr, op a prefix.
4610 (disassemble-offset): Update for above change.
4611
4612 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
4613
4614 * emacs-lisp/package.el (package-unpack): Remove no-op.
4615 (package--builtins, package--dir): Doc fix.
4616 (package-activate-1, package-activate, package-install)
4617 (package-compute-transaction): Fix error message.
4618 (package-delete): Use delete-directory. Omit system packages.
4619 (package-initialize): Set package-alist to nil first.
4620 (package-menu-mark-delete, package-menu-mark-install): Don't add
4621 symbols that are inconsistent with the package state.
4622 (package-menu-execute): Perform deletions and installations as
4623 single batch operations.
4624
4625 2010-11-03 Glenn Morris <rgm@gnu.org>
4626
4627 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
4628 (props): Remove unnecessary declaration.
4629
4630 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
4631 set-process-query-on-exit-flag.
4632
4633 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
4634 (reftex-toc-do-promote): Remove unused local `mpos'.
4635 (reftex-toc-restore-region): Make `mpos' local to this function.
4636
4637 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
4638
4639 * play/landmark.el (lm-losing-threshold): Correct spelling.
4640 (lm-human-plays): Use new name.
4641
4642 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
4643 (gomoku-human-plays): Use new name.
4644
4645 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
4646 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
4647 (gomoku-score-trans-table, gomoku-winning-threshold)
4648 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
4649
4650 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
4651
4652 * emacs-lisp/package.el: Don't put built-in packages in
4653 package-alist, to avoid loading inefficiencies.
4654 (package-built-in-p): Make VERSION optional, and treat it as a
4655 minimum acceptable version.
4656 (package-activate): Search separately for built-in packages.
4657 Emit a warning if a dependency fails.
4658 (define-package): Handle most common case, where there is no
4659 obsolete package, first.
4660 (package-compute-transaction): Print required version in error.
4661 (package--initialized): New variable.
4662 (list-packages): Use it.
4663 (package-initialize): Optional arg NO-ACTIVATE. Don't put
4664 built-in packages in packages-alist; keep it separate.
4665 Set package--initialized.
4666 (describe-package): Avoid activating packages as a side-effect.
4667 Search separately for built-in packages.
4668 (describe-package-1): Handle the case where an elpa package is
4669 simultaneously built-in and available/installed.
4670 (package-installed-p, package--generate-package-list):
4671 Search separately for built-in packages.
4672 (package-load-descriptor): Doc fix.
4673
4674 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
4675
4676 * progmodes/perl-mode.el (perl-syntax-propertize-function):
4677 Handle __DATA__ and __END__.
4678
4679 2010-11-02 Noah Friedman <friedman@splode.com>
4680
4681 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
4682 nil, do not ask to recompile files that are not already compiled,
4683 and do not recompile them.
4684
4685 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
4686
4687 * emacs-lisp/package.el (package-initialize): Ensure that
4688 obsoleted built-in packages are not in package-activated-list
4689 during activation.
4690 (describe-package-1): Make the "installed" status override
4691 "built-in".
4692
4693 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4694
4695 * subr.el (version-separator, version-regexp-alist): Remove '*'
4696 from docstring.
4697 (version-list-<=, version<=, version=): Doc fix.
4698
4699 2010-11-01 Kenichi Handa <handa@m17n.org>
4700
4701 * faces.el (glyphless-char): Inherit underline for tty.
4702
4703 2010-11-01 Kenichi Handa <handa@m17n.org>
4704
4705 Implement various display methods for glyphless characters.
4706
4707 * international/characters.el (char-acronym-table): New variable.
4708 (glyphless-char-control): New variable.
4709 (update-glyphless-char-display): New function.
4710
4711 * faces.el (glyphless-char): New face.
4712
4713 2010-11-01 Glenn Morris <rgm@gnu.org>
4714
4715 * calendar/holidays.el (general-holidays, oriental-holidays)
4716 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
4717 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
4718 the definitions of their targets.
4719
4720 * emacs-lisp/smie.el (smie): New custom group.
4721 (smie-blink-matching-inners, smie-indent-basic): Add :group.
4722
4723 * faces.el (xw-defined-colors, x-setup-function-keys):
4724 * mouse-sel.el (x-select-text):
4725 * term/w32console.el (x-setup-function-keys): Update declarations.
4726
4727 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
4728
4729 * textmodes/ispell.el (comment-add): Declare.
4730
4731 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
4732 Declare.
4733
4734 * info.el (finder-keywords-hash, package-alist): Declare.
4735
4736 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
4737
4738 * finder.el (finder-compile-keywords): Don't use intern-soft,
4739 since package names may not yet exist in the obarray.
4740
4741 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
4742
4743 * vc/vc-arch.el (vc-arch-checkin):
4744 * vc/vc-cvs.el (vc-cvs-checkin):
4745 * vc/vc-mtn.el (vc-mtn-checkin):
4746 * vc/vc-rcs.el (vc-rcs-checkin):
4747 * vc/vc-sccs.el (vc-sccs-checkin):
4748 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
4749 since 2010-04-21 commit by Stefan Monnier.
4750
4751 2010-11-01 Glenn Morris <rgm@gnu.org>
4752
4753 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
4754
4755 * startup.el (package-enable-at-startup, package-initialize):
4756 Silence compiler.
4757
4758 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
4759 Silence compiler.
4760
4761 2010-10-31 Julien Danjou <julien@danjou.info>
4762
4763 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
4764 (byte-recompile-directory):
4765 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
4766 Use `byte-recompile-file'.
4767
4768 2010-10-31 Glenn Morris <rgm@gnu.org>
4769
4770 * cus-start.el: Handle standard values via a keyword.
4771 Only set version property if specified.
4772 (cursor-in-non-selected-windows, menu-bar-mode)
4773 (tool-bar-mode, show-trailing-whitespace):
4774 Do not specify standard values.
4775 (transient-mark-mode, temporary-file-directory): Use :standard.
4776
4777 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
4778
4779 * term/x-win.el (x-get-selection-value): New function that gets
4780 PRIMARY with type as specified in x-select-request-type. (Bug#6802)
4781
4782 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
4783
4784 * net/tramp.el (tramp-handle-insert-file-contents): For root,
4785 preserve owner and group when editing files. (Bug#7289)
4786
4787 2010-10-31 Glenn Morris <rgm@gnu.org>
4788
4789 * speedbar.el (speedbar-mode):
4790 * play/fortune.el (fortune-in-buffer, fortune):
4791 * play/gomoku.el (gomoku-mode):
4792 * play/landmark.el (lm-mode):
4793 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
4794 Replace inappropriate uses of toggle-read-only. (Bug#7292)
4795
4796 * select.el (x-selection): Mark it as an obsolete alias.
4797
4798 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4799
4800 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
4801 major-mode (bug#7284).
4802
4803 2010-10-31 Glenn Morris <rgm@gnu.org>
4804
4805 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
4806 rather than just an unused variable that inherits from the real one.
4807
4808 2010-10-31 Alan Mackenzie <acm@muc.de>
4809
4810 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
4811 This fixes bug #7185.
4812
4813 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
4814
4815 * startup.el (command-line): Search for package directories, and
4816 don't load package.el if none are found.
4817
4818 * emacs-lisp/package.el (describe-package, list-packages):
4819 Call package-initialize if it has not been called yet.
4820
4821 2010-10-30 Alan Mackenzie <acm@muc.de>
4822
4823 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
4824 which fontifies the tail of an enum.
4825 (c-basic-matchers-after): Insert a call to the above new function.
4826 This fixes bug #7264.
4827
4828 2010-10-30 Glenn Morris <rgm@gnu.org>
4829
4830 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
4831 tool-bar-mode, transient-mark-mode. (Bug#7306)
4832 Include the :set property in the dumped Emacs.
4833
4834 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4835
4836 SMIE: change indent rules format, improve smie-setup.
4837 * emacs-lisp/smie.el (smie-precs-precedence-table)
4838 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
4839 Mark them pure so the tables gets built at compile time.
4840 (smie-bnf-precedence-table): Store the closer-alist in the table.
4841 (smie-prec2-levels): Preserve the closer-alist.
4842 (smie-blink-matching-open): Be more forgiving in case of indentation.
4843 (smie-hanging-p): Rename from smie-indent--hanging-p.
4844 (smie-bolp): Rename from smie-indent--bolp.
4845 (smie--parent, smie--after): New dynamic vars.
4846 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
4847 (smie-indent-rules): Remove.
4848 (smie-indent--offset-rule): Remove fun.
4849 (smie-rules-function): New var.
4850 (smie-indent--rule): New fun.
4851 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
4852 (smie-indent-exps): Use it.
4853 (smie-setup): Setup paren blinking; add keyword args for token
4854 functions; extract closer-alist from op-levels.
4855 (smie-indent-debug-log): Remove var.
4856 (smie-indent-debug): Remove fun.
4857 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
4858 (prolog-smie-rules): New fun to replace it.
4859 (prolog-mode-variables): Simplify.
4860 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
4861 it's setup automatically.
4862 (octave-smie-indent-rules): Remove.
4863 (octave-smie-rules): New fun to replace it.
4864 (octave-mode): Simplify.
4865
4866 2010-10-29 Glenn Morris <rgm@gnu.org>
4867
4868 * files.el (temporary-file-directory): Remove (already defined in C).
4869 * cus-start.el: Add temporary-file-directory.
4870
4871 * abbrev.el (abbrev-mode):
4872 * composite.el (auto-composition-mode):
4873 * menu-bar.el (menu-bar-mode):
4874 * simple.el (transient-mark-mode):
4875 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
4876 that they do not define the associated variables twice.
4877 * simple.el (transient-mark-mode): Remove defvar.
4878 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
4879 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
4880 Handle multiple groups, and also custom-delayed-init-variables.
4881 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
4882
4883 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4884
4885 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
4886 (pcase-if): Add one minor optimization.
4887 (pcase-split-equal): Rename from pcase-split-eq.
4888 (pcase-split-member): Rename from pcase-split-memq.
4889 (pcase-u1): Add strings to the member optimization.
4890 Add `guard' variant of predicates.
4891 (pcase-q1): Add string patterns.
4892
4893 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4894
4895 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
4896
4897 2010-10-28 Glenn Morris <rgm@gnu.org>
4898
4899 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
4900 Move menu-bar related settings to ../menu-bar.el.
4901 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
4902 Move ns-specific settings here from term/ns-win.el.
4903
4904 * simple.el (x-selection-owner-p): Remove unused declaration.
4905
4906 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4907
4908 * minibuffer.el (completion-cycling): New var (bug#7266).
4909 (minibuffer-complete, completion--do-completion):
4910 Use completion--flush-all-sorted-completions.
4911 (minibuffer-complete): Only cycle if completion-cycling is set.
4912 (completion--flush-all-sorted-completions): Unset completion-cycling.
4913 (minibuffer-force-complete): Set completion-cycling.
4914 (completion-all-sorted-completions): Move declaration before first use.
4915
4916 2010-10-28 Leo <sdl.web@gmail.com>
4917
4918 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
4919 which changes the order of matches seen by users (bug#7231).
4920
4921 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
4922
4923 * progmodes/compile.el (compilation-mode-font-lock-keywords):
4924 Don't confuse -omega as "-o mega".
4925
4926 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
4927
4928 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
4929 (log-edit-author): New dynamic var.
4930 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
4931 to return the author if different from committer.
4932 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
4933
4934 * play/landmark.el: Adjust commenting convention.
4935 (lm-nil-score): Rename from nil-score.
4936 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
4937 (OOOOscore): Move into a let in lm-score-trans-table.
4938 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
4939
4940 * electric.el (electric-indent-chars): Autoload.
4941 * progmodes/octave-mod.el (octave-mode):
4942 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
4943 (ruby-mode-abbrev-table): Merge initialization and declaration.
4944
4945 2010-10-27 Glenn Morris <rgm@gnu.org>
4946
4947 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
4948 variable.
4949
4950 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
4951
4952 * term/ns-win.el: Restore require of cl when compiling.
4953 (menu-bar-final-items): Remove non-existent `windows' menu.
4954 (ns-handle-nxopen): Optionally handle the temp-case.
4955 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
4956 (ns-insert-file, ns-find-file): Use `pop'.
4957
4958 2010-10-26 Glenn Morris <rgm@gnu.org>
4959
4960 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
4961
4962 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
4963
4964 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
4965 global map.
4966 * term/common-win.el (x-setup-function-keys): Remove most of the
4967 keymappings. Comment on the remaining ones.
4968
4969 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
4970
4971 * server.el (server-port): New option. (Bug#854)
4972 (server-start): Use server-port.
4973
4974 2010-10-26 Glenn Morris <rgm@gnu.org>
4975
4976 * term/ns-win.el (ns-version-string): Remove unused declaration.
4977 (ns-invocation-args): Change to x-invocation-args.
4978 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
4979 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
4980 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
4981 Use x-invocation-args instead of ns-invocation-args.
4982 (ns-initialize-window-system, handle-args-function-alist):
4983 Use x-handle-args instead of ns-handle-args.
4984 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
4985 * startup.el (command-line-ns-option-alist): Replace
4986 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
4987 ns-handle-iconic with the x- equivalents.
4988
4989 * term/common-win.el (x-select-enable-clipboard):
4990 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
4991
4992 * term/ns-win.el: No need to require cl when compiling.
4993 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
4994 (xw-defined-colors): Use the common-win definitions.
4995 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
4996 (ns-handle-iconic): Make it an alias for x-handle-iconic.
4997 * term/common-win.el (x-select-text, x-alternatives-map)
4998 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
4999 * loadup.el [ns]: Load common-win.
5000
5001 2010-10-26 Daiki Ueno <ueno@unixuser.org>
5002
5003 * epa-mail.el (epa-mail-encrypt): Handle local-part only
5004 recipients; expand mail aliases (Bug#7280).
5005
5006 2010-10-25 Glenn Morris <rgm@gnu.org>
5007
5008 * term/common-win.el (x-handle-switch): Simplify with pop.
5009 Optionally handle numeric switches.
5010 (x-handle-numeric-switch): Just call x-handle-switch.
5011 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
5012 (x-handle-name-switch, x-handle-display, x-handle-args):
5013 Simplify with pop.
5014
5015 * term/ns-win.el: Do not require easymenu.
5016 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
5017 <spell>: Move adjustments to menu-bar.el.
5018 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
5019 <separator-undo, spell>: Move ns-win's adjustments here.
5020 * loadup.el [ns]: Do not load easymenu.
5021
5022 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5023
5024 * image.el (image-checkbox-checked, image-checkbox-unchecked):
5025 Delete (Bug#7222).
5026
5027 * startup.el (fancy-startup-tail): Instead of using inline images,
5028 refer to image files from etc/.
5029
5030 * wid-edit.el (checkbox): Likewise.
5031 (widget-image-find): Center image specs.
5032
5033 2010-10-24 Glenn Morris <rgm@gnu.org>
5034
5035 * term/ns-win.el (x-select-text): Doc fix.
5036 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
5037 (x-select-text): Move to term/common-win.
5038 * term/w32-win.el (xw-defined-colors): Move to common-win.
5039 * term/x-win.el (xw-defined-colors, x-alternatives-map)
5040 (x-setup-function-keys, x-select-text): Move to common-win.
5041 * term/common-win.el (x-select-text, x-alternatives-map)
5042 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
5043 definitions here.
5044
5045 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
5046
5047 * net/mairix.el (mairix-searches-mode-map):
5048 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
5049
5050 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
5051
5052 * progmodes/verilog-mode.el (verilog-directive-re): Make this variable
5053 auto-built for efficiency of execution and updating.
5054 (verilog-extended-complete-re): Support 'pure' fucntion & task
5055 declarations (these have no bodies).
5056 (verilog-beg-of-statement): General cleanup to enable support of
5057 'pure' fucntion & task declarations (these have no bodies).
5058 These efforts together fix Verilog bug210 from veripool; which was also
5059 noticed by Steve Pearlmutter.
5060 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
5061 (verilog-directive-nest-re, verilog-set-auto-endcomments):
5062 Support `elsif. Reported by Shankar Giri.
5063 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
5064 attribute handling for lining up declarations and assignments.
5065 (verilog-beg-of-statement-1): Fix issue where continued declaration
5066 is indented differently if it is after a begin..end clock.
5067 (verilog-in-attribute-p, verilog-skip-backward-comments)
5068 (verilog-skip-forward-comment-p): Support proper treatment of
5069 attributes by indent code. Reported by Jeff Steele.
5070 (verilog-in-directive-p): Fix comment to correctly describe function.
5071 (verilog-backward-up-list, verilog-in-struct-region-p)
5072 (verilog-backward-token, verilog-in-struct-p)
5073 (verilog-in-coverage-p, verilog-do-indent)
5074 (verilog-pretty-declarations): Use verilog-backward-up-list as
5075 wrapper around backward-up-list inorder to properly skip comments.
5076 Reported by David Rogoff.
5077 (verilog-property-re, verilog-endcomment-reason-re)
5078 (verilog-beg-of-statement, verilog-set-auto-endcomments)
5079 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
5080 of if). Reported by Max Bjurling and
5081 (verilog-calc-1): Fix for clocking block in modport
5082 declaration. Reported by Brian Hunter.
5083
5084 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
5085
5086 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
5087 (verilog-gate-keywords, verilog-read-sub-decls)
5088 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
5089 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
5090 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
5091 (verilog-read-decls): Fix spaces in V2K module parameters causing
5092 mis-identification as interfaces, bug287.
5093 (verilog-read-decls): Fix not treating "parameter string" as a
5094 parameter in AUTOINSTPARAM.
5095 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
5096 treating `elsif similar to `endif inside AUTOSENSE.
5097 (verilog-do-indent): Implement correct automatic or static task or
5098 function end comment highlight. Reported by Steve Pearlmutter.
5099 (verilog-font-lock-keywords-2): Fix highlighting of single
5100 character pins, bug264. Reported by Michael Laajanen.
5101 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
5102 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
5103 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
5104 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
5105 (verilog-pretty-expr): Fix interactive arguments, bug272.
5106 Reported by Mark Johnson.
5107 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
5108 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
5109 bug269. Suggested by Gary Delp.
5110 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
5111 (verilog-preprocessor, verilog-set-compile-command):
5112 Create verilog-preprocess and verilog-preprocessor to show
5113 preprocessed output.
5114 (verilog-get-beg-of-line, verilog-get-end-of-line)
5115 (verilog-modi-file-or-buffer, verilog-modi-name)
5116 (verilog-modi-point, verilog-within-string): Move defmacro's
5117 before first use to avoid warning. Reported by Steve Pearlmutter.
5118 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
5119 (verilog-colorize-region, verilog-highlight-buffer)
5120 (verilog-highlight-includes, verilog-highlight-modules)
5121 (verilog-highlight-region, verilog-mode): Rename colorize to
5122 highlight to match other packages. Disable module highlighting,
5123 as received speed complaints, reenable for experimentation only
5124 using new verilog-highlight-modules.
5125 (verilog-read-decls): Fix regexp stack overflow in very large
5126 AUTO_TEMPLATEs, bug250.
5127 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
5128 (verilog-scan): Create verilog-save-buffer-state to standardize
5129 making insignificant changes that shouldn't call hooks.
5130 (verilog-save-no-change-functions, verilog-save-scan-cache)
5131 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
5132 Create verilog-save-no-change-functions to wrap verilog-scan
5133 preservation, and fix to work with nested preserved calls.
5134 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
5135 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
5136 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
5137 (verilog-submit-bug-report): Update variable list to be complete.
5138 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
5139 breaking on-the-fly font-locking.
5140 (verilog-colorize-buffer, verilog-colorize-include-files)
5141 (verilog-colorize-include-files-buffer, verilog-colorize-region)
5142 (verilog-load-file-at-mouse, verilog-load-file-at-point)
5143 (verilog-mode, verilog-read-inst-module-matcher): With point on a
5144 AUTOINST cell instance name, middle mouse button now finds-file on
5145 it. Suggested by Brad Dobbie.
5146 (verilog-alw-get-temps, verilog-auto-reset)
5147 (verilog-auto-sense-sigs, verilog-read-always-signals)
5148 (verilog-read-always-signals-recurse): Fix loop indexes being
5149 AUTORESET. AUTORESET now assumes any variables in the
5150 initialization section of a for() should be ignored.
5151 Reported by Dan Dever.
5152 (verilog-error-font-lock-keywords)
5153 (verilog-error-regexp-emacs-alist)
5154 (verilog-error-regexp-xemacs-alist): Fix error detection of
5155 Cadence HAL, reported by David Asher. Repair drift between the
5156 three similar error variables.
5157 (verilog-modi-lookup, verilog-modi-lookup-cache)
5158 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
5159 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
5160 Fix slow verilog-auto expansion on very large files.
5161 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
5162 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
5163 "{1*2{...". Broke in last revision.
5164 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
5165 submodule connections with replications "{#{a},#{b}}".
5166
5167 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
5168
5169 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
5170 Fix typo in docstring.
5171
5172 2010-10-24 Kenichi Handa <handa@m17n.org>
5173
5174 * face-remap.el (text-scale-adjust): Call read-event with a proper
5175 prompt.
5176
5177 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5178
5179 * emacs-lisp/unsafep.el: Don't mark functions that display
5180 messages as safe. Suggested by Johan Bockgård.
5181
5182 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5183
5184 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
5185 Turn comments into docstrings.
5186
5187 * minibuffer.el (completion--replace): Move point where it belongs
5188 when there's a common suffix (bug#7215).
5189
5190 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5191
5192 Merge read-color and facemenu-read-color (Bug#7242).
5193
5194 * faces.el (read-color): Use the completion code from
5195 facemenu-read-color. Require match in completion. Doc fix.
5196
5197 * facemenu.el (facemenu-read-color): Alias for read-color.
5198 (facemenu-set-foreground, facemenu-set-background):
5199 Use read-color.
5200
5201 * frame.el (set-background-color, set-foreground-color)
5202 (set-cursor-color, set-mouse-color, set-border-color):
5203 Use read-color.
5204
5205 2010-10-24 Leo <sdl.web@gmail.com>
5206
5207 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
5208 argument of delete-file and delete-directory (Bug#7011).
5209
5210 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5211
5212 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
5213 button-buffer-map.
5214
5215 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
5216
5217 * emacs-lisp/package.el (package--generate-package-list): Make the
5218 *Packages* buffer read-only.
5219
5220 2010-10-24 Alan Mackenzie <acm@muc.de>
5221
5222 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
5223 result of `c-beginning-of-decl-1' between invocations of a lambda
5224 function (Bug #7265).
5225
5226 2010-10-24 Daiki Ueno <ueno@unixuser.org>
5227
5228 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
5229 executable is not available on the system (Bug#7268).
5230
5231 2010-10-24 Glenn Morris <rgm@gnu.org>
5232
5233 * select.el (selection-coding-system, next-selection-coding-system):
5234 Sync doc with C versions.
5235
5236 * w32-vars.el (x-select-enable-clipboard):
5237 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
5238 * term/common-win.el (x-select-enable-clipboard): Move here.
5239
5240 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
5241 definition of C variable.
5242
5243 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
5244 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
5245 Don't redefine things that are defined in C.
5246 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
5247 (show-trailing-whitespace, auto-hscroll-mode)
5248 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
5249 Set up the appropriate custom properties.
5250
5251 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5252
5253 Bind "C-c ]" to ...
5254 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
5255 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
5256 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
5257 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
5258
5259 2010-10-23 Glenn Morris <rgm@gnu.org>
5260
5261 * textmodes/flyspell.el (flyspell-mode): If there was an error,
5262 say what it was.
5263
5264 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
5265 Sync docs with C version.
5266
5267 * term/ns-win.el (xw-defined-colors):
5268 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
5269
5270 * term/pc-win.el (x-select-enable-clipboard):
5271 * term/x-win.el (x-select-enable-clipboard):
5272 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
5273
5274 * comint.el (comint-password-prompt-regexp): Make it less vague.
5275 Bump version.
5276
5277 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
5278
5279 * help.el (finder-by-keyword): Remove unnecessary autoload.
5280
5281 2010-10-22 Glenn Morris <rgm@gnu.org>
5282
5283 * loadup.el: Unconditionally load float-sup.
5284 * paren.el (show-paren-delay):
5285 * emacs-lisp/float-sup.el:
5286 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
5287 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
5288 (lazy-lock-stealth-verbose): Assume float support.
5289 * ps-print.el: Assume float support on Emacs.
5290 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
5291 Remove non-float branch.
5292
5293 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
5294 src/Makefile no longer being pre-processed.
5295
5296 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5297
5298 * emacs-lisp/find-func.el (find-library): Use test-completion.
5299
5300 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5301
5302 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
5303
5304 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
5305
5306 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
5307 space in stat format string.
5308 (tramp-send-command): Unset $PS1 when using here documents, in
5309 order not to get several prompts.
5310 (tramp-get-inline-coding): Return `nil' in case of errors.
5311
5312 2010-10-21 Daiki Ueno <ueno@unixuser.org>
5313
5314 * hexl.el (hexl-mode, hexl-mode-exit):
5315 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
5316 (hexl-revert-buffer-function): New function.
5317 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
5318
5319 2010-10-19 Alan Mackenzie <acm@muc.de>
5320
5321 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
5322 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
5323 that these keywords aren't wrongly matched as identifiers.
5324
5325 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
5326 setting of c-new-BEG and c-new-END from c-before-change to
5327 c-after-change. (Bug#7181)
5328
5329 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
5330
5331 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
5332 Don't mark as safe.
5333
5334 * custom.el (custom-theme-set-variables): Likewise.
5335 (load-theme): Add custom-theme-set-faces and
5336 custom-theme-set-variables to safe-functions while loading.
5337 (custom-enabled-themes): Mark as risky.
5338
5339 2010-10-18 Julien Danjou <julien@danjou.info>
5340
5341 * bindings.el: Remove end dashes in default mode-line-format.
5342
5343 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
5344
5345 * bindings.el (global-map): Bind C-d to delete-char and deletechar
5346 to delete-forward-char.
5347
5348 * simple.el (normal-erase-is-backspace-mode): Remap delete to
5349 deletechar, and hence delete-forward-char.
5350
5351 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5352
5353 * repeat.el (repeat): Use read-key (bug#6256).
5354
5355 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
5356
5357 * emacs-lisp/unsafep.el: Don't mark functions that display
5358 messages as safe. Suggested by Johan Bockgård.
5359
5360 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5361
5362 * minibuffer.el (completion--replace): Move point where it belongs
5363 when there's a common suffix (bug#7215).
5364
5365 2010-10-19 Kenichi Handa <handa@m17n.org>
5366
5367 * international/characters.el: Add category '|' (word breakable)
5368 to fullwidth characters.
5369
5370 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
5371
5372 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
5373 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
5374 order to make stat results a float. Patch by Andreas Schwab
5375 <schwab@linux-m68k.org>.
5376
5377 2010-10-18 Julien Danjou <julien@danjou.info>
5378
5379 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
5380 hidden by `make-pointer-invisible'.
5381
5382 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5383
5384 * files.el (locate-file-completion-table): Strip non-matching elements
5385 before checking length of list (bug#7238).
5386
5387 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
5388
5389 * custom.el (custom-theme-set-variables): Mark as a safe function.
5390 (load-theme): Check forms using unsafep.
5391
5392 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
5393
5394 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
5395
5396 * textmodes/ispell.el (ispell-aspell-find-dictionary):
5397 Fix aspell data file searching (bug#7230).
5398
5399 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
5400
5401 * cus-theme.el (custom-theme--migrate-settings): New var.
5402 (customize-create-theme): Allow editing the `user' theme.
5403 (custom-theme-add-variable, custom-theme-add-var-1)
5404 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
5405 to the front of each variable or face widget.
5406 (custom-theme-write): Save theme settings in the correct order.
5407 Optionally, remove saved settings from user customizations.
5408 (custom-theme-write-variables, custom-theme-write-faces):
5409 Save only the checked widgets.
5410 (customize-themes): Add a link for migrating custom settings.
5411
5412 * custom.el (custom-declare-theme, provide-theme):
5413 Use custom-theme-name-valid-p.
5414 (custom-theme-name-valid-p): Remove checks that are now
5415 unnecessary since themes no longer obey load-path.
5416
5417 * cus-edit.el (custom-variable-value-create): For the simple
5418 style, hide documentation string when hidden.
5419
5420 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
5421
5422 * cus-edit.el (custom-variable, custom-face): Combine the
5423 :inhibit-magic and :display-style properties into a single
5424 :custom-style property.
5425 (custom-toggle-hide-variable, custom-toggle-hide-face):
5426 New functions. If hiding an edited value, save it to :shown-value.
5427 (custom-variable-value-create, custom-face-value-create): Use them.
5428 (custom-magic-reset): Allow magic property to be unset.
5429
5430 * custom.el: Custom themes no longer use load-path.
5431 (custom-theme-load-path): New option. Change built-in theme
5432 directory to etc/.
5433 (custom-enabled-themes): Add custom-theme-load-path dependency.
5434 (custom-theme--load-path): New function.
5435 (load-theme, custom-available-themes): Use it.
5436
5437 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
5438 (customize-themes): Link to custom-theme-load-path variable.
5439 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
5440 :custom-style property.
5441
5442 * themes/*.el: Moved to etc/.
5443
5444 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
5445
5446 * textmodes/reftex-cite.el
5447 (reftex-extract-bib-entries-from-thebibliography): Do not move
5448 point when searching for \bibitem entries. Match entries with
5449 spaces or tabs in front of arguments.
5450
5451 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
5452
5453 * cus-theme.el (customize-create-theme): Delete overlays after
5454 erasing. If given a THEME arg, display only the faces of that arg
5455 instead of custom-theme--listed-faces.
5456 (custom-theme-variable-menu, custom-theme-variable-action)
5457 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
5458 (custom-theme-add-variable, custom-theme-add-face): Apply value
5459 from the theme settings, instead of the current value.
5460 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
5461 (custom-theme-visit-theme): Allow calling outside theme buffers.
5462 (custom-theme-merge-theme): Don't enable the theme when merging.
5463 (custom-theme-write-variables, custom-theme-write-faces): Use the
5464 :shown-value properties to save buffer values, not global ones.
5465 (customize-themes): Display a warning about user customizations.
5466
5467 * cus-edit.el (custom-variable-value-create)
5468 (custom-face-value-create): Obey new special properties
5469 :shown-value and :inhibit-magic.
5470
5471 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
5472
5473 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
5474 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
5475 <dale@codefu.org>.
5476
5477 2010-10-14 Kenichi Handa <handa@m17n.org>
5478
5479 * mail/rmail.el (rmail-show-message-1): Catch an error of
5480 base64-decode-region and just show an error message (bug#7165).
5481
5482 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
5483 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
5484 a font-spec (bug#7197).
5485
5486 2010-10-14 Glenn Morris <rgm@gnu.org>
5487
5488 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
5489
5490 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
5491
5492 * international/mule.el (define-coding-system):
5493 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
5494 * composite.el (compose-region): Fix typo in docstring.
5495
5496 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
5497
5498 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
5499 only after checking the theme-face property.
5500
5501 * faces.el (face-spec-reset-face): Reset all attributes in one
5502 single call to set-face-attribute.
5503 (face-spec-match-p): Make it a defsubst.
5504 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
5505 (x-create-frame-with-faces, tty-create-frame-with-faces)
5506 (tty-set-up-initial-frame-faces): Don't recompute face specs in
5507 frame-set-background-mode, since they are recomputed immediately
5508 afterwards in face-set-after-frame-default.
5509 (face-set-after-frame-default): Minor optimization.
5510 (cursor): Provide non-trivial defface spec.
5511
5512 * custom.el (custom-theme-recalc-face): Simplify.
5513
5514 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
5515
5516 * calc/calc-alg.el (math-var): Rename from `var'.
5517 (math-is-polynomial, math-is-poly-rec): Replace `var'
5518 with `math-var'.
5519
5520 * calc/calcalg2.el (math-var): Rename from `var'.
5521 (calcFunc-table, math-scan-for-limits): Replace `var'
5522 with `math-var'.
5523
5524 2010-10-13 Glenn Morris <rgm@gnu.org>
5525
5526 * subr.el (last): Deal with dotted lists (reported in bug#7174).
5527
5528 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
5529
5530 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
5531
5532 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5533
5534 * net/tls.el (tls-program): Remove spurious %s from openssl.
5535 (tls-starttls-switches): Remove starttls hack.
5536 (open-tls-stream): Ditto.
5537 (tls-find-starttls-argument): Ditto.
5538
5539 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
5540
5541 * image.el (image-library-alist): Declare as obsolete alias.
5542 (image-type-available-p): Use `dynamic-library-alist'.
5543
5544 * term/w32-win.el (dynamic-library-alist):
5545 Use instead of `image-library-alist'.
5546
5547 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
5548
5549 * subr.el (last): Make it faster. (Bug#7174)
5550
5551 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
5552
5553 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
5554
5555 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
5556
5557 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
5558 (describe-theme-1): Extract doc from unloaded themes.
5559
5560 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
5561
5562 * themes/tango-theme.el:
5563 * themes/tango-dark-theme.el:
5564 * themes/wheatgrass-theme.el: New files.
5565
5566 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
5567
5568 * cus-theme.el (describe-theme, customize-themes)
5569 (custom-theme-save): New commands.
5570 (custom-new-theme-mode-map): Bind C-x C-s.
5571 (custom-new-theme-mode): Use custom--initialize-widget-variables.
5572 (customize-create-theme): New optional arg THEME.
5573 (custom-theme-revert): Use it.
5574 (custom-theme-visit-theme): Remove dead code.
5575 (custom-theme-merge-theme): Use custom-available-themes.
5576 (custom-theme-write): Make interactive.
5577 (custom-theme-write): Use custom-theme-name-valid-p.
5578 (describe-theme-1, custom-theme-choose-revert)
5579 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
5580 New funs.
5581 (custom-theme-allow-multiple-selections): New option.
5582 (custom-theme-choose-mode): New major mode.
5583
5584 * custom.el (custom-theme-set-variables): Remove dead code.
5585 Obey custom--inhibit-theme-enable.
5586 (custom--inhibit-theme-enable): New var.
5587 (provide-theme): Obey it.
5588 (load-theme): Replace load with manual read/eval, in order to
5589 check for correctness. Use custom-theme-name-valid-p.
5590 (custom-theme-name-valid-p): New function.
5591 (custom-available-themes): Use it.
5592
5593 * cus-edit.el (custom--initialize-widget-variables): New function.
5594 (Custom-mode): Use it.
5595
5596 * cus-face.el (custom-theme-set-faces): Remove dead code.
5597 Obey custom--inhibit-theme-enable.
5598
5599 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
5600
5601 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
5602
5603 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
5604
5605 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
5606
5607 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
5608 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
5609 (mac-right-option-modifier): New alias for ns-right-option-modifier.
5610
5611 * cus-start.el (all): ns-right-alternate-modifier is new.
5612
5613 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5614
5615 * emacs-lisp/lisp.el (lisp-completion-at-point):
5616 Use emacs-lisp-mode-syntax-table for the whole function.
5617
5618 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
5619
5620 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
5621 instead of font-lock-mode before adding keywords.
5622 Remove hi-lock-mode off code. Remove inhibit hack.
5623 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
5624 non-nil; removed hook inhibit hack.
5625
5626 2010-10-12 Glenn Morris <rgm@gnu.org>
5627
5628 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
5629 (load-path-shadows-find): ... to this.
5630 (list-load-path-shadows): Update for above change.
5631
5632 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
5633
5634 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
5635
5636 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
5637 Fix comment for declare-function.
5638
5639 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
5640
5641 * custom.el (custom-fix-face-spec): New function; code moved from
5642 custom-face-edit-fix-value.
5643 (custom-push-theme): Use it when checking if a face has been
5644 changed outside customize.
5645 (custom-available-themes): New function.
5646 (load-theme): Use it.
5647
5648 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
5649
5650 * custom.el (custom-push-theme): Cleanup (use cond).
5651 (disable-theme): Recompute the saved-face property.
5652 (custom-theme-recalc-face): Follow face alias before setting prop.
5653
5654 * image.el (image-checkbox-checked, image-checkbox-unchecked):
5655 New variables, containing checkbox images.
5656
5657 * startup.el (fancy-startup-tail):
5658 * wid-edit.el (checkbox): Use them.
5659
5660 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
5661
5662 * shell.el (shell-mode-map):
5663 * progmodes/modula2.el (m2-mode-map):
5664 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
5665 * play/mpuz.el (mpuz-mode-map):
5666 * play/landmark.el (lm-mode-map):
5667 * play/decipher.el (decipher-mode-map):
5668 * play/5x5.el (5x5-mode-map):
5669 * net/telnet.el (telnet-mode-map):
5670 * net/quickurl.el (quickurl-list-mode-map):
5671 * net/mairix.el (mairix-searches-mode-map):
5672 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
5673 * net/dig.el (dig-mode-map):
5674 * mail/mspools.el (mspools-mode-map):
5675 * hexl.el (hexl-mode-map):
5676 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
5677 (wordstar-C-o-map, wordstar-C-q-map):
5678 * emacs-lisp/edebug.el (edebug-eval-mode-map):
5679 * emacs-lisp/chart.el (chart-map):
5680 * edmacro.el (edmacro-mode-map):
5681 * erc/erc-list.el (erc-list-menu-mode-map):
5682 * array.el (array-mode-map): Declare and define in one step.
5683
5684 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
5685
5686 2010-10-10 Daiki Ueno <ueno@unixuser.org>
5687
5688 * epa.el (epa-passphrase-callback-function): Display filename
5689 passed as the 3rd arg.
5690 * epa-file.el (epa-file-passphrase-callback-function):
5691 Pass filename to epa-passphrase-callback-function.
5692
5693 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
5694
5695 * cus-edit.el (custom-face-widget-to-spec)
5696 (custom-face-get-current-spec, custom-face-state): New functions.
5697 (custom-face-set, custom-face-mark-to-save)
5698 (custom-face-value-create, custom-face-state-set): Use them.
5699
5700 * cus-theme.el (custom-theme--listed-faces): New var.
5701 (customize-create-theme): Use *Custom Theme* as the buffer name.
5702 Set revert-buffer-function. Optional arg BUFFER. Insert all
5703 faces listed in custom-theme--listed-faces.
5704 (custom-theme-revert): New function.
5705 (custom-theme-add-variable, custom-theme-add-face): Insert at the
5706 bottom of the list.
5707 (custom-theme-write): Prompt for theme name if empty.
5708 (custom-theme-write-variables): Use dolist.
5709 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
5710
5711 2010-10-09 Alan Mackenzie <acm@muc.de>
5712
5713 Enhance fontification of declarators to take account of the
5714 presence/absence of "typedef".
5715
5716 * cc-engine.el (c-forward-type): New &optional param
5717 "brace-block-too".
5718 (c-forward-decl-or-cast-1): cdr of return value now indicates the
5719 presence of either or both of a "struct"-like keyword and "typedef".
5720
5721 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
5722 fontification of declarators which follow a "}".
5723 (c-font-lock-declarations): Fontify declarators according to the
5724 presence/absence of "typedef".
5725
5726 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
5727 for "typedef".
5728 (c-typedef-decl-key): New lang variable built from
5729 c-typedef-decl-kwds.
5730
5731 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
5732
5733 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
5734 since that's too annoying. Move the filter groups commands to
5735 TAB/backtab.
5736
5737 * epa.el (epa-passphrase-callback-function): Say what we're
5738 querying the password for.
5739
5740 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
5741 behaviour, don't bury the ibuffer buffer when visiting other buffers.
5742
5743 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
5744
5745 * cus-edit.el (custom-commands, custom-buffer-create-internal)
5746 (custom-magic-value-create): Pad button tags with spaces.
5747 (custom-face-edit): New variable.
5748 (custom-face-value-create): Determine whether to use the usual
5749 face editor here, instead of using custom-face-selected.
5750 Pass face defaults to custom-face-edit widget.
5751 (custom-face-selected, custom-display-unselected): Delete widgets.
5752 (custom-display-unselected-match): Function removed.
5753 (custom-face-set, custom-face-mark-to-save):
5754 Accept custom-face-edit widgets as the direct widget child.
5755
5756 * wid-edit.el (widget--completing-widget): New var.
5757 (widget-default-complete): Bind it when doing completion.
5758 (widget-string-complete, widget-file-complete): Use it.
5759
5760 2010-10-09 Glenn Morris <rgm@gnu.org>
5761
5762 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
5763 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
5764 (holiday-hebrew-misc): Small simplifications.
5765
5766 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
5767
5768 * net/browse-url.el: Don't require thingatpt, term, dired,
5769 executable, or w3-auto when compiling.
5770 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
5771 Declare.
5772 (browse-url-text-emacs): Require term.
5773
5774 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
5775
5776 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
5777
5778 2010-10-08 Glenn Morris <rgm@gnu.org>
5779
5780 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
5781
5782 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
5783 (shadows-compare-text-p): Make it an obsolete alias for...
5784 (load-path-shadows-compare-text): ... new name.
5785 (find-emacs-lisp-shadows): Update for above name change.
5786 (load-path-shadows-same-file-or-nonexistent): New name for the old
5787 shadow-same-file-or-nonexistent.
5788
5789 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
5790
5791 * minibuffer.el (completion--some, completion--do-completion)
5792 (minibuffer-complete-and-exit, minibuffer-completion-help)
5793 (completion-basic-try-completion)
5794 (completion-basic-all-completions)
5795 (completion-pcm--find-all-completions): Use lexical-let to
5796 avoid some false matches in variable completion (Bug#7056)
5797
5798 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
5799
5800 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
5801
5802 2010-10-08 Leo <sdl.web@gmail.com>
5803
5804 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
5805 return non-nil if the file exists (Bug#7090).
5806
5807 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5808
5809 * minibuffer.el (completion--replace):
5810 Better preserve markers (bug#7138).
5811
5812 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
5813
5814 * server.el (server-process-filter): Doc fix.
5815
5816 2010-10-08 Drew Adams <drew.adams@oracle.com>
5817
5818 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
5819
5820 2010-10-08 Glenn Morris <rgm@gnu.org>
5821
5822 * vc/ediff-wind.el (ediff-setup-control-frame):
5823 * vc/ediff-ptch.el (ediff-default-backup-extension):
5824 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
5825 (ediff-exec-process): Remove system-types emx, windows-95.
5826
5827 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
5828
5829 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
5830
5831 * cus-edit.el (custom-variable, custom-face): Doc fix.
5832 (custom-face-edit): Add value-create attribute.
5833 (custom-face-edit-value-create)
5834 (custom-face-edit-value-visibility-action): New functions.
5835 Hide unused face attributes by default, and add a visibility toggle.
5836 (custom-face-edit-deactivate): Show empty values with shadow face.
5837 (custom-face-selected): Only use this for face specs with default
5838 attributes.
5839 (custom-face-value-create): Cleanup.
5840
5841 * wid-edit.el (widget-checklist-value-create): Use dolist.
5842 (widget-checklist-match-find): Make second arg optional.
5843
5844 2010-10-07 Glenn Morris <rgm@gnu.org>
5845
5846 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
5847 Prefix things.
5848
5849 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
5850 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
5851 load-path-shadows-mode, update references.
5852 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
5853 Rename variable and button.
5854 (list-load-path-shadows): Update button caller.
5855
5856 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5857
5858 * emacs-lisp/smie.el (smie-bnf-classify): New function.
5859 (smie-bnf-precedence-table): Use it to remember the closers/openers.
5860 (smie-merge-prec2s): Handle those new entries.
5861 (smie-prec2-levels): Only set precedence to nil for actual
5862 openers/closers.
5863 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
5864 that is now unnecessary.
5865
5866 2010-10-07 Miles Bader <miles@gnu.org>
5867
5868 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
5869
5870 2010-10-07 Glenn Morris <rgm@gnu.org>
5871
5872 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
5873 (mail-position-on-field): Remove declarations.
5874 (mail-position-on-field): Autoload it.
5875 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
5876 and mail-header-end. Don't require sendmail.
5877
5878 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
5879 (shadow-mode): New mode.
5880 (shadow-find-file): New button.
5881 (list-load-path-shadows): Use shadow-mode and buttons.
5882
5883 * iimage.el (iimage-version): Remove.
5884 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
5885 Turn into defcustoms.
5886 (iimage-mode-map): Give it a doc string.
5887
5888 * calendar/appt.el (appt-activate): Give a warning rather than an error
5889 if there is no diary-file.
5890
5891 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
5892
5893 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5894 Use `tramp-handle-find-backup-file-name'.
5895
5896 2010-10-06 Glenn Morris <rgm@gnu.org>
5897
5898 * font-core.el (font-lock-defaults-alist): Remove variable.
5899 (font-lock-mode): Doc fix.
5900 (font-lock-default-function): Do not consult font-lock-defaults-alist.
5901 * font-lock.el (font-lock-refresh-defaults): Doc fix.
5902 (font-lock-set-defaults): Doc fix.
5903 Do not consult font-lock-defaults-alist.
5904
5905 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
5906
5907 * emacs-lisp/cl.el: No longer provide cl-19.
5908
5909 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
5910
5911 * net/tramp.el (tramp-handle-directory-files-and-attributes)
5912 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
5913 New defuns, taken from tramp-smb.el.
5914 (tramp-coding-system-change-eol-conversion)
5915 (tramp-set-process-query-on-exit-flag): Remove.
5916
5917 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
5918 (tramp-compat-coding-system-change-eol-conversion)
5919 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
5920 from tramp.el.
5921
5922 * net/tramp-gvfs.el:
5923 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
5924 by `tramp-compat-set-process-query-on-exit-flag'.
5925
5926 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
5927 Use `tramp-handle-directory-files-and-attributes',
5928 `tramp-handle-file-exists-p' and
5929 `tramp-handle-file-newer-than-file-p'.
5930 (tramp-imap-handle-file-exists-p)
5931 (tramp-imap-handle-file-executable-p)
5932 (tramp-imap-handle-file-readable-p)
5933 (tramp-imap-handle-directory-files-and-attributes)
5934 (tramp-imap-handle-file-newer-than-file-p): Remove.
5935
5936 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
5937 by `tramp-compat-set-process-query-on-exit-flag' and
5938 `tramp-coding-system-change-eol-conversion' by
5939 `tramp-compat-coding-system-change-eol-conversion'.
5940
5941 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5942 Use `tramp-handle-directory-files-and-attributes',
5943 `tramp-handle-file-exists-p' and
5944 `tramp-handle-file-newer-than-file-p'.
5945 (tramp-smb-handle-directory-files-and-attributes)
5946 (tramp-smb-handle-file-exists-p)
5947 (tramp-smb-handle-file-newer-than-file-p): Remove.
5948 (tramp-smb-maybe-open-connection):
5949 Replace `tramp-set-process-query-on-exit-flag' by
5950 `tramp-compat-set-process-query-on-exit-flag'.
5951
5952 2010-10-05 Glenn Morris <rgm@gnu.org>
5953
5954 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
5955
5956 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
5957
5958 Continue reorganization of load dependencies. (Bug#7156)
5959
5960 * net/tramp.el (tramp-handle-file-local-copy-hook)
5961 (tramp-delete-temp-file-function): Move down.
5962 (tramp-exists-file-name-handler): Move up.
5963 (tramp-register-file-name-handlers): Simplify autoload.
5964 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
5965 (tramp-handle-directory-files, tramp-handle-dired-uncache)
5966 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
5967 (tramp-handle-file-name-completion)
5968 (tramp-handle-file-name-directory)
5969 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
5970 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
5971 (tramp-handle-find-backup-file-name)
5972 (tramp-handle-insert-file-contents, tramp-handle-load)
5973 (tramp-handle-substitute-in-file-name)
5974 (tramp-handle-unhandled-file-name-directory)
5975 (tramp-mode-string-to-int, tramp-local-host-p)
5976 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
5977
5978 * net/tramp-gvfs.el (top):
5979 * net/tramp-smb.el (top): Do not require 'tramp-sh.
5980
5981 * net/tramp-sh.el (all): Move several objects to tramp.el, see
5982 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
5983
5984 2010-10-04 Glenn Morris <rgm@gnu.org>
5985
5986 * calendar/appt.el (appt-add): Ensure reminders are enabled.
5987 (appt-activate): Give status messages.
5988
5989 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
5990
5991 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
5992 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
5993 `gnutls-negotiate' (formerly `starttls-negotiate').
5994 Remove trivial wrapper `starttls-open-stream'.
5995
5996 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
5997
5998 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
5999 log-outgoing commands.
6000 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
6001 to create a buffer local revert-buffer-function variable.
6002 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
6003 revert-buffer-function lambda.
6004
6005 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
6006
6007 * net/gnutls.el (starttls-negotiate): Use the plist interface to
6008 `gnutls-boot'. Make TYPE the only required parameter.
6009 Allow TRUSTFILES and KEYFILES to be lists.
6010 (open-ssl-stream): Use it.
6011
6012 2010-10-03 Glenn Morris <rgm@gnu.org>
6013
6014 * subr.el (directory-sep-char): Remove obsolete variable.
6015 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
6016 it is "necessary".
6017
6018 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
6019 * vc/vc.el (vc-static-header-alist): Doc fix.
6020 * vc/vc-cvs.el (vc-cvs-header):
6021 * vc/vc-rcs.el (vc-rcs-header):
6022 * vc/vc-sccs.el (vc-sccs-header):
6023 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
6024 * obsolete/vc-mcvs.el (vc-mcvs-header):
6025 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
6026 on XEmacs.
6027
6028 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
6029
6030 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
6031 Remove obsolete use of binary-overwrite-mode (Bug#7001).
6032
6033 2010-10-03 Glenn Morris <rgm@gnu.org>
6034
6035 * obsolete/x-menu.el: Remove file, obsolete since 21.1.
6036
6037 * textmodes/rst.el (rst-font-lock-keywords-function):
6038 Drop Emacs 20 code.
6039
6040 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
6041
6042 * printing.el: Drop Emacs 20 code.
6043
6044 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
6045 without having used appt.el already).
6046
6047 * subr.el (make-local-hook): Remove function obsolete since 21.1.
6048 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
6049 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
6050 XEmacs.
6051 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
6052 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
6053
6054 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
6055 (charset-width, find-charset-region, chars-in-region, forward-point)
6056 (encode-coding-string, coding-system-p, ccl-execute-on-string)
6057 (define-ccl-program, multibyte-string-p, string-make-multibyte):
6058 Remove compatibility cruft (none of these are used by ps*.el).
6059
6060 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
6061
6062 * subr.el (booleanp): Return t instead of a list (Bug#7086).
6063
6064 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
6065
6066 * server.el (server-process-filter, server-return-error):
6067 Give emacsclient time to shut down after receiving an error string.
6068
6069 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
6070
6071 * files.el (remote-file-name-inhibit-cache): New defcustom.
6072
6073 * time.el (display-time-file-nonempty-p):
6074 Use `remote-file-name-inhibit-cache'.
6075
6076 * net/tramp.el (tramp-completion-reread-directory-timeout):
6077 Fix docstring.
6078
6079 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
6080 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
6081 `remote-file-name-inhibit-cache'. Check also for an integer
6082 value. Add/increase counter when `tramp-verbose' >= 10.
6083 (tramp-set-file-property): Add/increase counter when
6084 `tramp-verbose' >= 10.
6085
6086 * net/tramp-cmds.el (tramp-cleanup-all-connections)
6087 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
6088 (tramp-bug): Set tramp-autoload cookie. Report all interned
6089 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
6090 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
6091 characters only in strings.
6092
6093 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
6094 to backward compatibility.
6095
6096 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
6097 (tramp-handle-file-name-all-completions)
6098 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
6099 (tramp-open-connection-setup-interactive-shell):
6100 Call `tramp-cleanup-connection' directly.
6101
6102 2010-10-02 Glenn Morris <rgm@gnu.org>
6103
6104 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
6105
6106 * subr.el (char-bytes): Remove obsolete function.
6107
6108 * isearch.el (isearch-return-char): Remove obsolete function.
6109
6110 * mouse.el: No longer provide mldrag.
6111 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
6112 Remove obsolete aliases.
6113
6114 * comint.el (comint-kill-output): Remove obsolete alias.
6115
6116 * composite.el (decompose-composite-char): Remove obsolete function.
6117 * ps-def.el (decompose-composite-char): Remove unused function.
6118
6119 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
6120
6121 * outline.el (outline-visible): Remove obsolete function.
6122
6123 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
6124 * faces.el (internal-find-face, internal-get-face)
6125 (frame-update-faces, frame-update-face-colors)
6126 (x-frob-font-weight, x-frob-font-slant)
6127 (internal-frob-font-weight, internal-frob-font-slant)
6128 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
6129 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
6130 (x-make-font-bold-italic): Remove functions and aliases, obsolete
6131 since Emacs 21.1.
6132 * emulation/viper-util.el (viper-get-face):
6133 * obsolete/lucid.el (find-face, get-face): Use facep.
6134 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
6135 Remove unused functions.
6136 * vc/ediff-util.el (ediff-submit-report): Doc fix.
6137
6138 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
6139 delete tempfile if interrupted during compilation.
6140
6141 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6142
6143 * net/tls.el (tls-starttls-switches): Give up on using starttls with
6144 gnutls-cli.
6145 (tls-program): Add --insecure to be consistent with the defaults from
6146 openssl s_client. Now all three commands are insecure.
6147
6148 2010-10-01 Eli Zaretskii <eliz@gnu.org>
6149
6150 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
6151 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
6152 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
6153
6154 2010-10-01 Glenn Morris <rgm@gnu.org>
6155
6156 * obsolete/sc.el: Remove file.
6157
6158 * files.el (temporary-file-directory): On darwin, also try
6159 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
6160
6161 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
6162
6163 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
6164 Let's not break compatibility gratuitously, shall we?
6165
6166 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6167
6168 * net/tls.el (tls-starttls-switches): New variable.
6169 (tls-find-starttls-argument): Use it.
6170 (open-tls-stream): Ditto.
6171
6172 * net/netrc.el (netrc-credentials): Return the value of the "default"
6173 entry.
6174 (netrc-machine): Ditto.
6175
6176 2010-09-30 Eli Zaretskii <eliz@gnu.org>
6177
6178 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
6179
6180 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
6181
6182 * server.el (server-start): Don't write pid to the authentication file.
6183 (server-create-tty-frame): Don't send pid.
6184 (server-process-filter): Send pid at the start of every connection.
6185
6186 2010-09-30 Glenn Morris <rgm@gnu.org>
6187
6188 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
6189 (show-all-diary-entries): Remove obsolete function aliases.
6190
6191 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
6192 Remove options, obsolete since 22.1.
6193 (appt-display-format, appt-display-message):
6194 Remove backwards-compatibility code.
6195 (appt-check): No longer check appt-issue-message.
6196 (appt-make-list): No longer autoload it. Doc fix. No longer
6197 activate the package.
6198
6199 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
6200
6201 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
6202 (starttls-negotiate): Just call boot, and let the handshake be
6203 triggered from the read loop.
6204
6205 2010-09-29 Glenn Morris <rgm@gnu.org>
6206
6207 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
6208 not displaying the diary.
6209 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
6210 * calendar/appt.el (appt-check): No longer need to kill diary.
6211
6212 * calendar/diary-lib.el (diary-list-entries): Move the
6213 "Preparing..." message entirely here.
6214 (diary-simple-display, diary-fancy-display): Move "Preparing..."
6215 messages to diary-list-entries.
6216 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
6217 diary-display-function.
6218
6219 * calendar/diary-lib.el (diary-include-other-diary-files):
6220 Trap some recursive includes.
6221
6222 * calendar/appt.el (appt-activate): Check diary file.
6223
6224 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
6225
6226 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
6227 construction.
6228
6229 * calendar/time-date.el: No need to require cl for Emacs 21.
6230
6231 2010-09-28 Glenn Morris <rgm@gnu.org>
6232
6233 * calendar/appt.el (appt-check): Minor simplification.
6234
6235 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
6236
6237 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
6238 citation prefix.
6239
6240 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
6241
6242 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
6243 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
6244
6245 2010-09-27 Kenichi Handa <handa@m17n.org>
6246
6247 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
6248 "ustar" format.
6249
6250 2010-09-27 Kenichi Handa <handa@m17n.org>
6251
6252 * international/mule.el (define-coding-system): Docstring fixed.
6253
6254 * international/mule-diag.el (describe-character-set): Use princ
6255 with proper print-length and print-level instead of insert.
6256
6257 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
6258
6259 * window.el (walk-windows): Doc fix (bug#7105).
6260
6261 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6262
6263 * emacs-lisp/float-sup.el (e): Remove.
6264
6265 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
6266
6267 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
6268 variable.
6269 (starttls-negotiate): Use it.
6270
6271 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6272
6273 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
6274 back.
6275
6276 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
6277
6278 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
6279
6280 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6281
6282 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
6283
6284 * net/netrc.el (netrc-store-data): New function.
6285
6286 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
6287
6288 * net/gnutls.el: GnuTLS glue code to set up a connection.
6289
6290 2010-09-25 Julien Danjou <julien@danjou.info>
6291
6292 * notifications.el: Call dbus-register-signal only if it is bound.
6293
6294 2010-09-25 Glenn Morris <rgm@gnu.org>
6295
6296 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6297 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
6298 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
6299 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
6300 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
6301 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
6302 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
6303 * eshell/esh-util.el, eshell/esh-var.el:
6304 Remove leading `*' from docs of faces and defcustoms.
6305
6306 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
6307
6308 * eshell/em-ls.el (eshell-ls-archive-regexp):
6309 * eshell/esh-util.el (eshell-tar-regexp):
6310 * ibuffer.el (ibuffer-compressed-file-name-regexp):
6311 * info.el (Info-suffix-list):
6312 * international/mule.el (auto-coding-alist):
6313 * woman.el (woman-file-regexp, woman-file-compression-regexp):
6314 * progmodes/etags.el (tags-compression-info-list):
6315 Support xz compression.
6316
6317 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
6318
6319 * files.el (get-free-disk-space): Don't assume the "df" output
6320 columns line up (Bug#6995).
6321
6322 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
6323
6324 * finder.el (finder-unknown-keywords):
6325 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
6326 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
6327
6328 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
6329
6330 * server.el (server-start): Revert part of 2010-08-08 change. Using
6331 address 127.0.0.1 for local host is now done in Fmake_network_process.
6332
6333 2010-09-24 Glenn Morris <rgm@gnu.org>
6334
6335 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
6336 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
6337 * textmodes/css-mode.el, textmodes/dns-mode.el:
6338 Move autoloaded auto-mode-alist entries to files.el.
6339 * files.el (auto-mode-alist): Move entries here.
6340
6341 2010-09-23 Glenn Morris <rgm@gnu.org>
6342
6343 * isearch.el (isearch-lazy-highlight-cleanup)
6344 (isearch-lazy-highlight-initial-delay)
6345 (isearch-lazy-highlight-interval)
6346 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
6347 * net/net-utils.el (ipconfig-program-options):
6348 Move aliases to options before the associated definitions.
6349
6350 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6351
6352 * newcomment.el (comment-normalize-vars): Better test validity of
6353 comment-end-skip.
6354
6355 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6356
6357 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
6358 (float-e): New name for `e'.
6359 (degrees-to-radians, radians-to-degrees):
6360 * calendar/solar.el (solar-longitude):
6361 * calculator.el (calculator-registers, calculator-funcall):
6362 * textmodes/artist.el (artist-spray-random-points):
6363 * play/bubbles.el (bubbles--initialize-images): Use new names.
6364
6365 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
6366
6367 Update to CEDET 1.0's version of EIEIO.
6368
6369 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
6370 New function.
6371 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
6372 (eieio-default-eval-maybe): Eval val instead of unquoting only.
6373 (class-precedence-list): If class is nil, return nil.
6374 (eieio-generic-call): If class of first input arg is nil, don't
6375 look up static methods, and do check for primary methods.
6376 (initialize-instance): See if the default needs to be evaluated
6377 during the constructor.
6378 (eieio-perform-slot-validation-for-default): Don't do the check
6379 for values that will eventually be evaluated.
6380 (eieio-eval-default-p): New function.
6381 (eieio-default-eval-maybe): Use it.
6382
6383 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
6384
6385 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
6386 method-invocation-order.
6387 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
6388 (eieio-class-precedence-dfs): Compute class precedence list using
6389 dfs algorithm.
6390 (eieio-class-precedence-bfs): Compute class precedence list using
6391 bfs algorithm.
6392 (eieio-class-precedence-c3): Compute class precedence list using
6393 c3 algorithm.
6394 (class-precedence-list): New function.
6395 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
6396 (inconsistent-class-hierarchy): New error symbol.
6397 (call-next-method): Stow the replacement argument list for future
6398 call-next-method invocations.
6399
6400 2010-09-23 Glenn Morris <rgm@gnu.org>
6401
6402 * calendar/appt.el (appt-check): If not displaying the diary,
6403 use (diary 1) to only get the entries we need.
6404 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
6405 that it is in day order. (Bug#7019)
6406
6407 * calendar/appt.el (appt-check): Rather than showing the diary,
6408 just turn off invisible display, and only if needed.
6409
6410 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
6411
6412 2010-09-23 Glenn Morris <rgm@gnu.org>
6413
6414 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6415 (byte-compile-defvar, byte-compile-cl-warn):
6416 Start warnings with lower-case, like the majority.
6417
6418 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
6419
6420 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
6421
6422 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
6423 * files.el (auto-mode-alist): Move ld-script entries here, further down
6424 the list.
6425
6426 * vc/add-log.el: Don't require timezone when compiling.
6427 (timezone-make-date-sortable): Autoload it.
6428 (change-log-sortable-date-at): Don't require timezone.
6429 Use `ignore-errors'.
6430
6431 * comint.el (comint-use-prompt-regexp-instead-of-fields):
6432 Move alias before definition, so it does not need autoloading.
6433
6434 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
6435 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
6436 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
6437 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
6438 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
6439 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
6440 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
6441 * textmodes/tex-mode.el, textmodes/two-column.el:
6442 Remove leading `*' from docs of defcustoms etc.
6443
6444 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
6445
6446 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
6447
6448 2010-09-22 Dan Christensen <jdc@uwo.ca>
6449
6450 * calendar/time-date.el (date-to-time): Try using parse-time-string
6451 first before using the slower timezone-make-date-arpa-standard.
6452
6453 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
6454
6455 * calendar/time-date.el (format-seconds): Comment fix.
6456
6457 2010-09-22 Glenn Morris <rgm@gnu.org>
6458
6459 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
6460 is not automatically buffer-local.
6461
6462 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
6463
6464 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
6465 (smie-indent-comment): Be more careful with comment-start-skip.
6466 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
6467 (smie-indent-functions): Use them.
6468
6469 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
6470
6471 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
6472
6473 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
6474
6475 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
6476 tool-bar-position. Don't modify frame parameters here.
6477 (menu-bar-options-save): Add tool-bar-position.
6478
6479 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
6480
6481 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6482
6483 * textmodes/reftex-parse.el (reftex-what-macro)
6484 (reftex-context-substring): Let-bind forward-sexp-function to nil
6485 since we don't need/want to treat \begin...\end as a block (bug#7053).
6486
6487 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
6488
6489 * simple.el (blink-matching-open): Use syntax-class.
6490
6491 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
6492 Set invisibility spec for pascal's outline mode.
6493 (pascal-outline-change): Clean up calling convention.
6494 (pascal-show-all, pascal-hide-other-defuns): Update callers.
6495
6496 * progmodes/prolog.el (prolog-smie-forward-token)
6497 (prolog-smie-backward-token): New functions.
6498 (prolog-mode-variables): Use them to parse "!," correctly.
6499 Set up smie-blink-matching for ".".
6500
6501 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
6502 and `end'.
6503 (ispell-region, ispell-process-line): Update users.
6504
6505 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
6506 point-min==1.
6507
6508 * textmodes/ispell.el: Fix commenting convention.
6509 (ispell-parse-output): Simplify, use push.
6510 (ispell-region): Use match-string-no-properties.
6511 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
6512 (ispell-minor-mode): Use define-minor-mode.
6513 (ispell-message): Remove unused var `skip-regexp'.
6514 (ispell-add-per-file-word-list): Use dynamic let-binding.
6515 Try and use the proper comment marker.
6516
6517 * mail/sendmail.el: Fix commenting convention.
6518 (sendmail-send-it): Use line-beginning-position.
6519
6520 * help-fns.el (describe-variable): Add original value, if applicable.
6521
6522 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
6523
6524 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
6525
6526 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
6527
6528 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6529
6530 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
6531 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
6532 (smie-prec2-levels): Use them to better diagnose precedence cycles.
6533 (smie-blink-matching-check): Don't signal a mismatch if car is t.
6534 (smie-blink-matching-open): Rewrite to remove assumptions, so that
6535 something like "." can also be a closer.
6536 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
6537 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
6538 Rename internal functions to use "--". Update callers.
6539
6540 * frame.el (make-frame-names-alist): Don't list frames on other displays.
6541
6542 * fringe.el (fringe-styles): New var.
6543 (fringe-mode, fringe-query-style): Use it.
6544
6545 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
6546
6547 * progmodes/sql.el: Version 2.8
6548 (sql-login-params): Update widget structure; changes still needed.
6549 (sql-product-alist): Add :list-all and :list-table features for
6550 SQLite, Postgres and MySQL products.
6551 (sql-redirect): Handle default value.
6552 (sql-execute, sql-execute-feature): New functions.
6553 (sql-read-table-name): New function.
6554 (sql-list-all, sql-list-table): New functions. User API.
6555 (sql-mode-map, sql-interactive-mode-map): Add key definitions
6556 for above functions.
6557 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
6558 for above functions.
6559 (sql-postgres-login-params): Add user and database defaults.
6560 (sql-buffer-live-p): Bug fix.
6561 (sql-product-history): New variable.
6562 (sql-read-product): New function. Use it.
6563 (sql-set-product, sql-product-interactive): Use it.
6564 (sql-connection-history): New variable.
6565 (sql-read-connection): New function. Use it.
6566 (sql-connect): New function.
6567 (sql-for-each-login): Redesign function interface.
6568 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
6569 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
6570 (sql-comint): Check for program. Existing live buffer.
6571 (sql-comint-postgres): Add port parameter.
6572
6573 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6574
6575 * emacs-lisp/warnings.el: Fix commenting convention.
6576 (display-warning): Use special mode and make the buffer read-only.
6577
6578 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
6579
6580 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
6581 empty string when it follows a repeated or optional pattern.
6582
6583 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
6584
6585 * indent.el (indent-according-to-mode): Apply syntax-propertize.
6586 (indent-region): Use indent-according-to-mode.
6587
6588 2010-09-18 Eli Zaretskii <eliz@gnu.org>
6589
6590 * fringe.el (fringe-mode): Doc fix.
6591
6592 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
6593
6594 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
6595 refreshing the preview buffer.
6596
6597 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
6598
6599 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
6600 (latex-syntax-propertize-rules): New consts; replace
6601 tex-font-lock-syntactic-keywords.
6602 (tex-env-mark, latex-env-before-change): New functions.
6603 (latex-electric-env-pair-mode): New minor mode.
6604 (tex-font-lock-verb): Change arguments; do move point.
6605 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
6606 representation as a form of comment.
6607 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
6608 (doctex-syntax-propertize-rules): New const; replaces
6609 doctex-font-lock-syntactic-keywords.
6610 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
6611
6612 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
6613 (fortran-make-syntax-propertize-function): New function; replaces
6614 fortran-font-lock-syntactic-keywords.
6615 (fortran-mode): Use it.
6616 (fortran-line-length): Use it. Improve interactive spec.
6617
6618 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
6619 (syntax-propertize-rules): Add var-ref case. Fix offset computation
6620 when adding surrounding \(..\).
6621
6622 * progmodes/js.el (js-mode): Fix last change (bug#7054).
6623
6624 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6625
6626 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
6627 Use with-current-buffer.
6628
6629 * isearch.el (isearch-face): Rename from `isearch'.
6630 (isearch-highlight): Use new name.
6631
6632 2010-09-17 Eli Zaretskii <eliz@gnu.org>
6633
6634 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
6635 5, for `half' width fringes. (Bug#6933)
6636
6637 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6638
6639 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
6640 (byte-compile-defvar): "foo/bar" does not lack a prefix.
6641
6642 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
6643
6644 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
6645
6646 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
6647 in calculating new frame position. Add more space between new and
6648 parent on the left (Bug#7048).
6649
6650 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
6651
6652 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
6653 defmacro.
6654
6655 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
6656
6657 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
6658
6659 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
6660 obsolete alias for x-selection-value.
6661
6662 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
6663
6664 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
6665
6666 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
6667 cookie.
6668
6669 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
6670
6671 * net/tramp-compat.el (tramp-compat-with-temp-message)
6672 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
6673 (tramp-compat-process-put): New defuns.
6674
6675 * net/tramp.el (top):
6676 * net/tramp-gvfs.el (top):
6677 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
6678
6679 * net/tramp.el (tramp-progress-reporter-update):
6680 Use `tramp-compat-funcall'.
6681
6682 * net/tramp.el (tramp-process-actions):
6683 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
6684 * net/tramp-sh.el (tramp-handle-vc-registered)
6685 (tramp-get-remote-stat, tramp-get-remote-readlink):
6686 Use `tramp-compat-with-temp-message'.
6687
6688 * net/tramp-sh.el (top): Require 'cl.
6689 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
6690 (tramp-open-connection-setup-interactive-shell):
6691 Use `tramp-compat-process-put'.
6692
6693 2010-09-15 Alan Mackenzie <acm@muc.de>
6694
6695 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
6696 indentation.
6697 (c-forward-<>-arglist-recur): Fix an infinite recursion.
6698
6699 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
6700
6701 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
6702 `lexical' for warnings related to lexical scoping.
6703 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
6704 global vars which don't have a prefix and could hence affect lexical
6705 scoping in unrelated files.
6706
6707 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6708
6709 * net/imap.el: Revert back to version
6710 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
6711 seem problematic.
6712
6713 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
6714
6715 * obsolete/old-whitespace.el (whitespace-unload-function):
6716 Explicitly pass `obarray' to `unintern' to avoid a warning.
6717
6718 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6719
6720 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
6721 Add `when' argument. Update callers.
6722
6723 * subr.el (unintern): Declare the obarray arg mandatory.
6724
6725 2010-09-14 Glenn Morris <rgm@gnu.org>
6726
6727 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
6728 Doc fixes.
6729
6730 * calendar/diary-lib.el (diary-included-files): New variable.
6731 (diary-list-entries): Maybe initialize diary-included-files.
6732 (diary-include-other-diary-files): Append to diary-included-files.
6733 * calendar/appt.el (appt-update-list): Also check the members of
6734 diary-included-files. (Bug#6999)
6735 (appt-check): Doc fix.
6736
6737 2010-09-14 David Reitter <david.reitter@gmail.com>
6738
6739 * simple.el (line-move-visual): Do not truncate goal column to
6740 integer size. (Bug#7020)
6741
6742 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6743
6744 * repeat.el (repeat): Allow repeating when the last event is a click.
6745 Suggested by Drew Adams (bug#6256).
6746
6747 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
6748
6749 * vc/vc-hg.el (vc-hg-state, vc-hg-working-revision):
6750 Replace setting HGRCPATH to "" by some less invasive --config options.
6751
6752 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6753
6754 * font-lock.el (font-lock-beginning-of-syntax-function):
6755 Mark as obsolete.
6756
6757 2010-09-14 Glenn Morris <rgm@gnu.org>
6758
6759 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
6760 and tool-bar modes. (Bug#6211)
6761 (menu-bar-mode): Move setting of standard-value after the
6762 minor-mode definition, otherwise it seems to have no effect.
6763
6764 2010-09-14 Masatake YAMATO <yamato@redhat.com>
6765
6766 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
6767 Fix typo. (Bug#6976)
6768
6769 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6770
6771 * whitespace.el: Allow cleaning up blanks without blank
6772 visualization (Bug#6651). Adjust help window for
6773 whitespace-toggle-options (Bug#6479). Allow to use fill-column
6774 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
6775 (whitespace-style): Add new value 'face. Adjust docstring.
6776 (whitespace-space, whitespace-hspace, whitespace-tab):
6777 Adjust foreground property face.
6778 (whitespace-line-column): Adjust docstring and type declaration.
6779 (whitespace-style-value-list, whitespace-toggle-option-alist)
6780 (whitespace-help-text): Adjust const initialization.
6781 (whitespace-toggle-options, global-whitespace-toggle-options):
6782 Adjust docstring.
6783 (whitespace-display-window, whitespace-interactive-char)
6784 (whitespace-style-face-p, whitespace-color-on): Adjust code.
6785 (whitespace-help-scroll): New fun.
6786
6787 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
6788
6789 * calendar/time-date.el (format-seconds): Comment fix.
6790
6791 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
6792
6793 * progmodes/sql.el: Version 2.7.
6794 (sql-buffer-live-p): Improve detection.
6795 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
6796 (sql-set-sqli-buffer): Use it.
6797 (sql-product-interactive): Run `sql-set-sqli-hook'.
6798 (sql-rename-buffer): Code cleanup.
6799 (sql-redirect, sql-redirect-value): New functions. More to come.
6800
6801 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
6802
6803 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.
6804 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
6805 (TRAMP_SRC): New macro.
6806 ($(lisp)/net/tramp-loaddefs.el): New target.
6807
6808 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
6809
6810 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
6811
6812 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
6813
6814 * net/tramp.el (top): Don't show loading message. Require just
6815 'tramp-compat, everything else is required there.
6816 Use `ignore-errors' where appropriate.
6817 (tramp-inline-compress-start-size, tramp-copy-size-limit)
6818 (tramp-terminal-type, tramp-end-of-output)
6819 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
6820 (tramp-completion-function-alist-ssh)
6821 (tramp-completion-function-alist-telnet)
6822 (tramp-completion-function-alist-su)
6823 (tramp-completion-function-alist-putty, tramp-remote-path)
6824 (tramp-remote-process-environment, tramp-sh-extra-args)
6825 (tramp-actions-before-shell, tramp-uudecode)
6826 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
6827 (tramp-perl-file-attributes)
6828 (tramp-perl-directory-files-and-attributes)
6829 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
6830 (tramp-perl-encode, tramp-perl-decode)
6831 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
6832 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
6833 (tramp-handle-make-symbolic-link, tramp-handle-load)
6834 (tramp-handle-file-name-as-directory)
6835 (tramp-handle-file-name-directory)
6836 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
6837 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
6838 (tramp-do-file-attributes-with-ls)
6839 (tramp-do-file-attributes-with-perl)
6840 (tramp-do-file-attributes-with-stat)
6841 (tramp-handle-set-visited-file-modtime)
6842 (tramp-handle-verify-visited-file-modtime)
6843 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
6844 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
6845 (tramp-handle-file-selinux-context)
6846 (tramp-handle-set-file-selinux-context)
6847 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
6848 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
6849 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
6850 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
6851 (tramp-handle-file-ownership-preserved-p)
6852 (tramp-handle-directory-file-name, tramp-handle-directory-files)
6853 (tramp-handle-directory-files-and-attributes)
6854 (tramp-do-directory-files-and-attributes-with-perl)
6855 (tramp-do-directory-files-and-attributes-with-stat)
6856 (tramp-handle-file-name-all-completions)
6857 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
6858 (tramp-handle-copy-file, tramp-handle-copy-directory)
6859 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
6860 (tramp-do-copy-or-rename-file-via-buffer)
6861 (tramp-do-copy-or-rename-file-directly)
6862 (tramp-do-copy-or-rename-file-out-of-band)
6863 (tramp-handle-make-directory, tramp-handle-delete-directory)
6864 (tramp-handle-delete-file)
6865 (tramp-handle-dired-recursive-delete-directory)
6866 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
6867 (tramp-handle-insert-directory)
6868 (tramp-handle-unhandled-file-name-directory)
6869 (tramp-handle-expand-file-name)
6870 (tramp-handle-substitute-in-file-name)
6871 (tramp-handle-executable-find, tramp-process-sentinel)
6872 (tramp-handle-start-file-process, tramp-handle-process-file)
6873 (tramp-handle-call-process-region, tramp-handle-shell-command)
6874 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
6875 (tramp-handle-insert-file-contents)
6876 (tramp-handle-insert-file-contents-literally)
6877 (tramp-handle-find-backup-file-name)
6878 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
6879 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
6880 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
6881 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
6882 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
6883 (tramp-find-file-exists-command, tramp-open-shell)
6884 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
6885 (tramp-open-connection-setup-interactive-shell)
6886 (tramp-local-coding-commands, tramp-remote-coding-commands)
6887 (tramp-find-inline-encoding, tramp-call-local-coding-command)
6888 (tramp-inline-compress-commands, tramp-find-inline-compress)
6889 (tramp-compute-multi-hops, tramp-maybe-open-connection)
6890 (tramp-send-command, tramp-wait-for-output)
6891 (tramp-send-command-and-check, tramp-barf-unless-okay)
6892 (tramp-send-command-and-read, tramp-mode-string-to-int)
6893 (tramp-convert-file-attributes, tramp-check-cached-permissions)
6894 (tramp-file-mode-from-int, tramp-file-mode-permissions)
6895 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
6896 (tramp-method-out-of-band-p, tramp-local-host-p)
6897 (tramp-get-remote-path, tramp-get-remote-tmpdir)
6898 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
6899 (tramp-get-test-command, tramp-get-test-nt-command)
6900 (tramp-get-file-exists-command, tramp-get-remote-ln)
6901 (tramp-get-remote-perl, tramp-get-remote-stat)
6902 (tramp-get-remote-readlink, tramp-get-remote-trash)
6903 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
6904 (tramp-get-local-uid, tramp-get-local-gid)
6905 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
6906 tramp-sh.el.
6907 (tramp-methods, tramp-default-method-alist)
6908 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
6909 Move initialization to tramp-sh.el.
6910 (tramp-temp-name-prefix): Make it a defconst.
6911 (tramp-dissect-file-name): Don't check anymore for multi-hop
6912 methods.
6913 (tramp-debug-outline-regexp): Add a docstring.
6914 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
6915 (tramp-get-debug-buffer): Use it.
6916
6917 * net/tramp-cache.el (top): Set tramp-autoload cookie for
6918 initialization forms.
6919 (tramp-set-connection-property): Don't protect `tramp-message'
6920 call, it isn't necessary any longer.
6921 (tramp-dump-connection-properties): Use `ignore-errors'.
6922
6923 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
6924 'password-cache and 'auth-source.
6925
6926 * net/tramp-gvfs.el (top):
6927 * net/tramp-smb.el (top): Require 'tramp-sh.
6928
6929 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
6930
6931 * net/tramp-sh.el: New file, derived from tramp.el.
6932 (top): Initialize `tramp-methods', `tramp-default-method-alist',
6933 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
6934 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
6935 Use `ignore-errors' where appropriate.
6936 (tramp-sh-file-name-handler-alist): Rename from
6937 `tramp-file-name-handler-alist'.
6938 (tramp-send-command-and-check): Return t or nil. Remove all
6939 `zerop' checks, where called.
6940 (tramp-handle-set-file-modes)
6941 (tramp-do-copy-or-rename-file-directly)
6942 (tramp-handle-delete-directory, tramp-handle-delete-file)
6943 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
6944 (tramp-sh-file-name-handler, tramp-send-command-and-check)
6945 (tramp-get-remote-ln): Set tramp-autoload cookie.
6946
6947 * net/tramp-fish.el: Remove file.
6948
6949 2010-09-13 Daiki Ueno <ueno@unixuser.org>
6950
6951 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
6952 buffer-file-name to avoid file-locking. (Bug#7026)
6953
6954 2010-09-13 Julien Danjou <julien@danjou.info>
6955
6956 * notifications.el (notifications-notify): Add support for
6957 image-path and sound-name.
6958 (notifications-specification-version): Add this variable.
6959
6960 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6961
6962 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
6963
6964 2010-09-12 Leo <sdl.web@gmail.com>
6965
6966 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
6967 (rcirc-completion-start): New variables.
6968 (rcirc-nick-completions): Rename to rcirc-completions.
6969 (rcirc-nick-completion-start-offset): Delete.
6970 (rcirc-completion-at-point): New function for constructing
6971 completion data for both nicks and irc commands. Add to
6972 completion-at-point-functions in rcirc mode.
6973 (rcirc-complete): Rename from rcirc-nick-complete; use
6974 rcirc-completion-at-point.
6975 (defun-rcirc-command): Update rcirc-client-commands.
6976
6977 2010-09-11 Glenn Morris <rgm@gnu.org>
6978
6979 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
6980 atomically, to avoid parallel build errors. (Bug#4196)
6981
6982 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
6983
6984 * progmodes/sql.el: Version 2.6
6985 (sql-dialect): Synonym for "sql-product".
6986 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
6987 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
6988 Set "sql-buffer" to buffer name not buffer object so multiple sql
6989 interactive buffers work properly. Reverts misguided changes in
6990 earlier work.
6991 (sql-comint): Make sure different buffer name is used if "*SQL*"
6992 buffer is for a different product.
6993 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
6994 login param.
6995 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
6996 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
6997 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
6998 Accept new buffer name or prompt for one.
6999 (sql-port): Default to zero.
7000 (sql-comint-mysql): Handle "sql-port" as a numeric.
7001 (sql-port-history): Delete unused variable.
7002 (sql-get-login): Default "sql-port" to a number.
7003 (sql-product-alist): Correct Postgres prompt and terminator regexp.
7004 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
7005 "sqlite3" executables.
7006 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
7007 (sql-buffer-live-p): New function.
7008 (sql-mode-menu, sql-send-string): Use it.
7009 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
7010 syntax pattern.
7011 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
7012 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
7013
7014 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7015
7016 * net/netrc.el (netrc-credentials): New convenience function.
7017
7018 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7019
7020 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
7021 to replace texinfo-font-lock-syntactic-keywords.
7022 (texinfo-mode): Use it.
7023
7024 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
7025 Use syntax-propertize-function.
7026
7027 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
7028 replace sgml-font-lock-syntactic-keywords.
7029 (sgml-mode): Use it.
7030
7031 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
7032 since we don't use it.
7033
7034 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
7035
7036 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
7037 if available.
7038 (vhdl-fontify-buffer): Adjust.
7039
7040 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
7041 replace tcl-font-lock-syntactic-keywords.
7042 (tcl-mode): Use it.
7043
7044 * progmodes/simula.el (simula-syntax-propertize-function): New var to
7045 replace simula-font-lock-syntactic-keywords.
7046 (simula-mode): Use it.
7047
7048 * progmodes/sh-script.el (sh-st-symbol): Remove.
7049 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
7050 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
7051 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
7052 (sh-font-lock-paren): Set syntax-multiline.
7053 (sh-font-lock-syntactic-keywords): Remove.
7054 (sh-syntax-propertize-function): New function to replace it.
7055 (sh-mode): Use it.
7056
7057 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
7058 Define while compiling.
7059 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7060 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
7061 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
7062 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7063 (ruby-here-doc-end-syntax): Only define when
7064 syntax-propertize is not available.
7065 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
7066 New functions.
7067 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
7068 (electric-indent-chars): Silence bytecompiler.
7069 (ruby-mode): Use prog-mode, syntax-propertize-function, and
7070 electric-indent-chars.
7071
7072 * progmodes/python.el (python-syntax-propertize-function): New var to
7073 replace python-font-lock-syntactic-keywords.
7074 (python-mode): Use it.
7075 (python-quote-syntax): Simplify and adjust to new use.
7076
7077 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
7078 replace perl-font-lock-syntactic-keywords.
7079 (perl-syntax-propertize-special-constructs): New fun to replace
7080 perl-font-lock-special-syntactic-constructs.
7081 (perl-font-lock-syntactic-face-function): New fun.
7082 (perl-mode): Use it.
7083
7084 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
7085 to replace octave-font-lock-close-quotes.
7086 (octave-syntax-propertize-function): New function to replace
7087 octave-font-lock-syntactic-keywords.
7088 (octave-mode): Use it.
7089
7090 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
7091 replaces mixal-font-lock-syntactic-keywords.
7092 (mixal-mode): Use it.
7093
7094 * progmodes/make-mode.el (makefile-syntax-propertize-function):
7095 New var; replaces makefile-font-lock-syntactic-keywords.
7096 (makefile-mode): Use it.
7097 (makefile-imake-mode): Adjust.
7098
7099 * progmodes/js.el (js--regexp-literal): Define while compiling.
7100 (js-syntax-propertize-function): New var; replaces
7101 js-font-lock-syntactic-keywords.
7102 (js-mode): Use it.
7103
7104 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
7105 replaces gdb-script-font-lock-syntactic-keywords.
7106 (gdb-script-mode): Use it.
7107
7108 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
7109 (fortran--font-lock-syntactic-keywords): New var.
7110 (fortran-line-length): Update syntax-propertize-function and
7111 fortran--font-lock-syntactic-keywords.
7112
7113 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
7114
7115 * progmodes/cfengine.el (cfengine-mode):
7116 Use syntax-propertize-function.
7117 (cfengine-font-lock-syntactic-keywords): Remove.
7118
7119 * progmodes/autoconf.el (autoconf-mode):
7120 Use syntax-propertize-function.
7121 (autoconf-font-lock-syntactic-keywords): Remove.
7122
7123 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
7124 (ada-after-change-function, ada-initialize-syntax-table-properties)
7125 (ada-handle-syntax-table-properties): Only define when
7126 syntax-propertize is not available.
7127 (ada-mode): Use syntax-propertize-function.
7128
7129 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
7130 (font-lock-fontify-syntactic-keywords-region): Move handling of
7131 font-lock-syntactically-fontified to...
7132 (font-lock-default-fontify-region): ...here.
7133 Let syntax-propertize-function take precedence.
7134 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
7135
7136 * emacs-lisp/syntax.el (syntax-propertize-function)
7137 (syntax-propertize-chunk-size, syntax-propertize--done)
7138 (syntax-propertize-extend-region-functions): New vars.
7139 (syntax-propertize-wholelines, syntax-propertize-multiline)
7140 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
7141 (syntax-propertize): New functions.
7142 (syntax-propertize-rules): New macro.
7143 (syntax-ppss-flush-cache): Set syntax-propertize--done.
7144 (syntax-ppss): Call syntax-propertize.
7145
7146 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
7147
7148 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
7149
7150 * textmodes/ispell.el (ispell-init-process): Improve comments.
7151 XEmacs compatibility changes regarding (add-hook) 'local option
7152 and (set-process-query-on-exit-flag).
7153
7154 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
7155
7156 * net/tramp-cache.el (tramp-parse-connection-properties):
7157 Set tramp-autoload cookie.
7158
7159 2010-09-09 Glenn Morris <rgm@gnu.org>
7160
7161 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
7162 (imagemagick-register-types): Doc fix.
7163
7164 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
7165
7166 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
7167
7168 * progmodes/js.el (require): Require is already "eval-and-compile".
7169 (js--re-search-forward): Avoid `eval'. Preserve the error data.
7170 (js--re-search-backward): Use js--re-search-forward.
7171
7172 * progmodes/fortran.el (fortran-line-length): Don't recompute
7173 syntactic keywords redundantly a second time.
7174
7175 * progmodes/ada-mode.el: Replace "(set '" with setq.
7176 (ada-mode): Simplify.
7177 (ada-create-case-exception, ada-adjust-case-interactive)
7178 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
7179 (ada-search-ignore-string-comment, ada-move-to-start)
7180 (ada-move-to-end): Use with-syntax-table.
7181
7182 * font-lock.el (save-buffer-state): Remove `varlist' arg.
7183 (font-lock-unfontify-region, font-lock-default-fontify-region):
7184 Update usage correspondingly.
7185 (font-lock-fontify-syntactic-keywords-region):
7186 Set parse-sexp-lookup-properties buffer-locally here.
7187 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
7188
7189 * simple.el (blink-matching-open): Don't burp if we can't find a match.
7190
7191 2010-09-08 Glenn Morris <rgm@gnu.org>
7192
7193 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
7194 Error if not compiled with -DBYTE_CODE_METER.
7195
7196 * emacs-lisp/bytecomp.el (byte-recompile-directory):
7197 Ignore dir-locals-file.
7198
7199 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
7200
7201 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7202 Not a const.
7203 (compilation-error-regexp-alist-alist): Rule out ": " in file names
7204 for the `gnu' messages.
7205 (compilation-set-skip-threshold): New command.
7206 (compilation-start): Use \' rather than $.
7207 (compilation-forget-errors): Use clrhash.
7208
7209 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
7210
7211 * textmodes/ispell.el (ispell-valid-dictionary-list):
7212 Simplify logic.
7213
7214 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
7215
7216 Migrate to Tramp 2.2. Rearrange load dependencies.
7217 (Bug#1529, Bug#5448, Bug#5705)
7218
7219 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
7220 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
7221 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
7222
7223 * net/tramp.el (top): Remove all other tramp-* loads except
7224 tramp-compat.el. Remove all changes to tramp-unload-hook for
7225 other tramp-* packages. Rearrange defun order. Change calls of
7226 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
7227 `tramp-compat-octal-to-decimal' to new function names.
7228 (tramp-terminal-type, tramp-initial-end-of-output)
7229 (tramp-methods, tramp-foreign-file-name-handler-alist)
7230 (tramp-tramp-file-p, tramp-completion-mode-p)
7231 (tramp-send-command-and-check, tramp-get-remote-path)
7232 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
7233 (tramp-shell-quote-argument): Set tramp-autoload cookie.
7234 (with-file-property, with-connection-property): Move to
7235 tramp-cache.el.
7236 (tramp-local-call-process, tramp-decimal-to-octal)
7237 (tramp-octal-to-decimal): Move to tramp-compat.el.
7238 (tramp-handle-shell-command): Do not require 'shell.
7239 (tramp-compute-multi-hops): No special handling for tramp-gw-*
7240 symbols.
7241 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
7242
7243 * net/tramp-cache.el (top): Require 'tramp. Add to
7244 `tramp-unload-hook'.
7245 (tramp-cache-data, tramp-get-file-property)
7246 (tramp-set-file-property, tramp-flush-file-property)
7247 (tramp-flush-directory-property, tramp-get-connection-property)
7248 (tramp-set-connection-property, tramp-flush-connection-property)
7249 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
7250 cookie.
7251 (with-file-property, with-connection-property): New defuns, moved
7252 from tramp.el.
7253 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
7254 macro.
7255
7256 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
7257 (tramp-version): Set tramp-autoload cookie.
7258
7259 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
7260 changes to tramp-unload-hook for other tramp-* packages. Add to
7261 `tramp-unload-hook'.
7262 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
7263 (tramp-compat-call-process): New defuns, moved from tramp.el.
7264
7265 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
7266 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7267 Add to `tramp-unload-hook'. Change call of
7268 `tramp-compat-decimal-to-octal' to new function name.
7269 (tramp-fish-method): Make it a defconst.
7270 (tramp-fish-file-name-p): Make it a defsubst.
7271 (tramp-fish-method, tramp-fish-file-name-handler)
7272 (tramp-fish-file-name-p): Set tramp-autoload cookie.
7273
7274 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
7275 `tramp-foreign-file-name-handler-alist'. Add to
7276 `tramp-unload-hook'.
7277 (tramp-ftp-method): Make it a defconst.
7278 (tramp-ftp-file-name-p): Make it a defsubst.
7279 (tramp-ftp-method, tramp-ftp-file-name-handler)
7280 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
7281
7282 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
7283 `tramp-foreign-file-name-handler-alist'. Add to
7284 `tramp-unload-hook'. Change checks, whether package can be
7285 loaded.
7286 (tramp-gvfs-file-name-p): Make it a defsubst.
7287 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
7288 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
7289 (tramp-gvfs-handle-file-directory-p): New defun.
7290 (tramp-gvfs-file-name-handler-alist): Use it.
7291
7292 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
7293 `tramp-foreign-file-name-handler-alist'. Add to
7294 `tramp-unload-hook'.
7295 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
7296 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
7297 defconst.
7298 (tramp-gw-tunnel-method, tramp-gw-socks-method)
7299 (tramp-gw-open-connection): Set tramp-autoload cookie.
7300
7301 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
7302 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7303 Add to `tramp-unload-hook'. Change checks, whether package can be
7304 loaded.
7305 (tramp-imap-file-name-p): Make it a defsubst.
7306 (tramp-imap-method, tramp-imaps-method)
7307 (tramp-imap-file-name-handler)
7308 (tramp-imap-file-name-p): Set tramp-autoload cookie.
7309
7310 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
7311 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7312 Add to `tramp-unload-hook'. Change checks, whether package can be
7313 loaded. Change call of `tramp-compat-decimal-to-octal' to new
7314 function name.
7315 (tramp-smb-tunnel-method): Make it a defconst.
7316 (tramp-smb-file-name-p): Make it a defsubst.
7317 (tramp-smb-method, tramp-smb-file-name-handler)
7318 (tramp-smb-file-name-p): Set tramp-autoload cookie.
7319
7320 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
7321 (tramp-uuencode-region): Set tramp-autoload cookie.
7322
7323 * net/trampver.el (top) Add to `tramp-unload-hook'.
7324 (tramp-version, tramp-bug-report-address): Set tramp-autoload
7325 cookie. Update release number.
7326
7327 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
7328
7329 * textmodes/ispell.el (ispell-start-process): Make sure original
7330 arg list is properly initialized (Bug#6993, Bug#6994).
7331
7332 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
7333
7334 * files.el (directory-abbrev-alist): Use \` as default regexp.
7335
7336 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
7337 chars like - or ] (bug#6984).
7338 (rx-any-condense-range): Explode 2-char ranges.
7339
7340 2010-09-06 Glenn Morris <rgm@gnu.org>
7341
7342 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
7343
7344 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7345
7346 * textmodes/bibtex.el:
7347 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
7348
7349 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7350
7351 * net/imap.el (imap-message-map): Remove optional buffer parameter,
7352 since no callers use it.
7353 (imap-message-get): Ditto.
7354 (imap-message-put): Ditto.
7355 (imap-mailbox-map): Ditto.
7356 (imap-mailbox-put): Ditto.
7357 (imap-mailbox-get): Ditto.
7358 (imap-mailbox-get): Revert last change for this function.
7359
7360 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7361
7362 * net/imap.el (imap-fetch-safe): Remove function, and alter all
7363 callers to use `imap-fetch' instead. According to the comments, this
7364 should be safe, since all other IMAP clients use the 1:* syntax.
7365 (imap-enable-exchange-bug-workaround): Remove.
7366 (imap-debug): Remove -- doesn't seem very useful.
7367
7368 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7369
7370 * net/imap.el (imap-log): New convenience function used throughout
7371 instead of repeating the same code all over the place.
7372
7373 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
7374
7375 * mouse.el (mouse-save-then-kill): Save region to kill-ring
7376 when mouse-drag-copy-region is non-nil (Bug#6956).
7377
7378 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
7379
7380 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
7381 Improve regexps (Bug#6987).
7382 (dired-sort-toggle): Search more robustly for -t flag.
7383
7384 * files.el (get-free-disk-space): Search more robustly for
7385 "available" column. Suggested by Ehud Karni
7386 <ehud@unix.mvs.co.il>.
7387
7388 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
7389
7390 * international/uni-bidi.el:
7391 * international/uni-category.el:
7392 * international/uni-combining.el:
7393 * international/uni-decimal.el:
7394 * international/uni-mirrored.el:
7395 * international/uni-name.el: Regenerate.
7396
7397 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7398
7399 * electric.el (electric-indent-post-self-insert-function):
7400 Don't reindent with a sloppy indentation function.
7401
7402 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
7403 border case in change-log-mode.
7404
7405 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
7406
7407 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7408 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
7409 Recognize leading tab in gcc-include regexp. Ignore names with
7410 leading "from" or "in" in gnu regexp (Bug#6937).
7411
7412 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7413
7414 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
7415 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
7416 (ispell-start-process): Avoid setq and simplify logic.
7417 (ispell-init-process): Setup kill-buffer-hook locally when needed.
7418 (kill-buffer-hook): Don't use it globally with code that uses
7419 expand-file-name since that may call kill-buffer via
7420 code_conversion_restore.
7421
7422 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
7423
7424 * emacs-lisp/package.el (package-directory-list): Only call
7425 file-name-nondirectory on a string.
7426
7427 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
7428
7429 * emacs-lisp/package.el (package--download-one-archive):
7430 Ensure that archive-contents is valid before saving it.
7431 (package-activate-1, package-mark-obsolete, define-package)
7432 (package-compute-transaction, package-list-maybe-add): Use push.
7433
7434 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7435
7436 Use SMIE's blink-paren for octave-mode.
7437 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
7438 Backslashes do not escape single-quotes, single-quotes do.
7439 (octave-block-else-regexp, octave-block-end-regexp)
7440 (octave-block-match-alist): Remove.
7441 (octave-smie-bnf-table): New var, with old content.
7442 (octave-smie-op-levels): Use it.
7443 (octave-smie-closer-alist): New var.
7444 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
7445 (octave-blink-matching-block-open): Remove.
7446 (octave-reindent-then-newline-and-indent, octave-electric-semi)
7447 (octave-electric-space): Let self-insert-command run expand-abbrev and
7448 blink parens.
7449
7450 * electric.el (electricity): New group.
7451 (electric-indent-chars): New var.
7452 (electric-indent-post-self-insert-function): New fun.
7453 (electric-indent-mode): New minor mode.
7454 (electric-pair-skip-self): New custom.
7455 (electric-pair-post-self-insert-function): New function.
7456 (electric-pair-mode): New minor mode.
7457
7458 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
7459 calcAlg-blink-matching-open.
7460 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
7461 (calc-do-alg-entry): Only touch the part of the keymap that varies.
7462 Use the new blink-matching-check-function.
7463
7464 Provide blink-matching support to SMIE.
7465 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
7466 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
7467 (smie-blink-matching-check, smie-blink-matching-open): New functions.
7468
7469 * simple.el (newline): Fix last change to properly remove itself from
7470 the hook.
7471
7472 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
7473
7474 * simple.el (newline): Eliminate optimization.
7475 Use post-self-insert-hook to set hard-newline and things before
7476 running post-self-insert-hook.
7477 (blink-matching-check-mismatch): New function.
7478 (blink-matching-check-function): New variable.
7479 (blink-matching-open): Use them.
7480 Skip back forward over prefix chars skipped by forward-sexp.
7481 Don't check if the parens are backslash escaped.
7482 (blink-paren-post-self-insert-function): Check backslash escaping here.
7483
7484 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
7485
7486 * emacs-lisp/package.el (package-menu-mode-map):
7487 Change package-menu-revert bindings to revert-buffer.
7488 (package-menu-mode): Set revert-buffer-function.
7489 (package-menu-revert): Doc fix.
7490
7491 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
7492
7493 * textmodes/ispell.el (ispell-init-process): Use "~/" as
7494 `default-directory' unless using Ispell per-directory personal
7495 dictionaries and not in a mini-buffer under XEmacs.
7496 (kill-buffer-hook): Do not kill ispell process on exit when
7497 `ispell-process-directory' is "~/". (Bug#6143)
7498
7499 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
7500
7501 * simple.el (kill-new): Call interprogram-cut-function with only
7502 one argument.
7503
7504 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
7505 Remove cut buffer from error message.
7506
7507 * term/x-win.el (x-select-text):
7508 * term/pc-win.el (x-selection-value):
7509 * term/ns-win.el (x-selection-value):
7510 * eshell/em-term.el:
7511 * w32-fns.el (x-get-selection-value):
7512 * mouse-sel.el (mouse-sel-set-selection-function):
7513 * frame.el (display-selections-p): Remove cut-buffer in documentation.
7514
7515 * term/x-win.el: Update documentation for x-last-selected-text-*.
7516 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
7517 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
7518 (x-select-text): Remove argument PUSH, update documentation.
7519 Remove cut-buffer code.
7520 (x-selection-value-internal): Was previously x-selection-value.
7521 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
7522 Update documentation, remove cut-buffer code.
7523 Call x-selection-value-internal.
7524 (x-clipboard-yank): Call x-selection-value-internal.
7525 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
7526
7527 * term/pc-win.el (x-last-selected-text):
7528 x-cut-buffer-or-selection-value renamed to x-selection-value
7529 (x-select-text): Remove argument PUSH, update documentation.
7530
7531 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
7532 x-cut-buffer-or-selection-value renamed to x-selection-value
7533 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
7534 (x-select-text): Remove argument PUSH, update documentation.
7535
7536 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
7537
7538 * w32-fns.el (x-last-selected-text):
7539 x-cut-buffer-or-selection-value renamed to x-selection-value.
7540 (x-cut-buffer-max): Remove.
7541 (x-select-text): Remove argument PUSH, update documentation.
7542
7543 * simple.el (interprogram-cut-function): Remove mention of PUSH.
7544
7545 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
7546
7547 * mouse-sel.el (mouse-sel-get-selection-function):
7548 x-cut-buffer-or-selection-value renamed to x-selection-value.
7549 (x-select-text): Remove optional push.
7550
7551 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
7552
7553 * simple.el (blink-paren-function): Move from C to here.
7554 (blink-paren-post-self-insert-function): New function.
7555 (post-self-insert-hook): Use it.
7556
7557 * emacs-lisp/pcase.el (pcase-split-memq):
7558 Fix overenthusiastic optimisation.
7559 (pcase-u1): Handle the case of a lambda pred.
7560
7561 2010-08-31 Kenichi Handa <handa@m17n.org>
7562
7563 * international/mule-cmds.el (standard-display-european-internal):
7564 Setup standard-display-table for 8-bit characters by storing 8-bit
7565 characters in the element vector.
7566
7567 * disp-table.el (standard-display-8bit):
7568 Setup standard-display-table for 8-bit characters by storing 8-bit
7569 characters in the element vector.
7570 (standard-display-european): Likewise.
7571
7572 2010-08-31 Masatake YAMATO <yamato@redhat.com>
7573
7574 * textmodes/nroff-mode.el (nroff-view): New command.
7575 (nroff-mode-map): Bind it to C-c C-c.
7576
7577 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
7578
7579 * emacs-lisp/smie.el (smie-down-list): New command.
7580
7581 Remove old indentation and navigation code on octave-mode.
7582 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
7583 smie-down-list rather than add a binding for octave-down-block.
7584 (octave-mark-block, octave-blink-matching-block-open):
7585 Rely on forward-sexp-function.
7586 (octave-fill-paragraph): Don't narrow, so you can use
7587 indent-according-to-mode.
7588 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
7589 (octave-in-block-p, octave-re-search-forward-kw)
7590 (octave-re-search-backward-kw, octave-indent-calculate)
7591 (octave-end-as-array-index-p, octave-block-end-offset)
7592 (octave-scan-blocks, octave-forward-block, octave-backward-block)
7593 (octave-down-block, octave-backward-up-block, octave-up-block)
7594 (octave-before-magic-comment-p, octave-indent-line): Remove.
7595
7596 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
7597
7598 * emacs-lisp/package.el (package--read-archive-file): Just use
7599 `read', to avoid copying an additional string.
7600 (package-menu-mode): Set header-line-format here.
7601 (package-menu-refresh, package-menu-revert): Signal an error if
7602 not in the Package Menu.
7603 (package-menu-package-list): New var.
7604 (package--generate-package-list): Operate on the current buffer;
7605 don't assume that it is *Packages*, since the user may rename it.
7606 Allow persistent package listings and sort keys using
7607 package-menu-package-list and package-menu-package-sort-key.
7608 (package-menu--version-predicate): Fix version calculation.
7609 (package-menu-sort-by-column): Don't select the window.
7610 (package--list-packages): Create the *Packages* buffer.
7611 Set package-menu-package-list-key.
7612 (list-packages): Sorting by status is now the default.
7613 (package-buffer-info): Use match-string-no-properties.
7614 (define-package): Add a &rest argument for future proofing, but
7615 don't use it yet.
7616 (package-install-from-buffer, package-install-buffer-internal):
7617 Merge into a single function, package-install-from-buffer.
7618 (package-install-file): Change caller.
7619
7620 * finder.el: Load finder-inf using `require'.
7621 (finder-list-matches): Sorting by status is now the default.
7622 (finder-compile-keywords): Simpify printing.
7623
7624 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7625
7626 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
7627 (octave-mode-map): Remove special bindings for forward/backward-block
7628 and octave-backward-up-block. Use smie-close-block.
7629 (octave-continuation-marker-regexp): New var.
7630 (octave-continuation-regexp): Use it.
7631 (octave-operator-table, octave-smie-op-levels)
7632 (octave-operator-regexp, octave-smie-indent-rules): New vars.
7633 (octave-smie-backward-token, octave-smie-forward-token): New funs.
7634 (octave-mode): Use SMIE.
7635 (octave-close-block): Delete.
7636
7637 2010-08-30 Eli Zaretskii <eliz@gnu.org>
7638
7639 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
7640 CLIPBOARD, not in PRIMARY. (Bug#6944)
7641
7642 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7643
7644 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
7645 a list of parents.
7646 (smie-indent-column): Allow indirection through variables.
7647
7648 * composite.el (save-buffer-state): Delete, unused.
7649 * font-lock.el (save-buffer-state): Use with-silent-modifications.
7650 (font-lock-default-fontify-region): Use with-syntax-table.
7651 * jit-lock.el (with-buffer-unmodified): Remove.
7652 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
7653
7654 Use `declare' in defmacros.
7655 * window.el (save-selected-window):
7656 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
7657 * progmodes/python.el (def-python-skeleton):
7658 * net/dbus.el (dbus-ignore-errors):
7659 * jka-cmpr-hook.el (with-auto-compression-mode):
7660 * international/mule.el (with-category-table):
7661 * emacs-lisp/timer.el (with-timeout):
7662 * emacs-lisp/lisp-mnt.el (lm-with-file):
7663 * emacs-lisp/eieio.el (with-slots):
7664 * emacs-lisp/easymenu.el (easy-menu-define):
7665 * emacs-lisp/debug.el (debugger-env-macro):
7666 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
7667 (Multiple-value-call, Multiple-value-prog1):
7668 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
7669 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
7670 edebug rule to definition.
7671 * emacs-lisp/lisp-mode.el (save-selected-window)
7672 (with-current-buffer, combine-after-change-calls)
7673 (with-output-to-string, with-temp-file, with-temp-buffer)
7674 (with-temp-message, with-syntax-table, read-if, eval-after-load)
7675 (dolist, dotimes, when, unless):
7676 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
7677
7678 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
7679
7680 * finder.el: Require `package'.
7681 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
7682 (finder-package-info): Var deleted.
7683 (finder-keywords-hash, finder--builtins-alist): New vars.
7684 (finder-compile-keywords): Compute package--builtins and
7685 finder-keywords-hash instead of finder-keywords-hash, respecting
7686 the "Package" header.
7687 (finder-unknown-keywords, finder-list-matches):
7688 Use finder-keywords-hash and package--list-packages.
7689 (finder-mode): Don't set font-lock-defaults.
7690 (finder-exit): We don't use "*Finder-package*" and "*Finder
7691 Category*" buffers anymore.
7692
7693 * emacs-lisp/package.el (package--builtins-base): Var deleted.
7694 (package--builtins): Set default value to nil.
7695 (package-initialize): Load precomputed value of package--builtins
7696 from finder-inf.el.
7697 (package-alist, package-compute-transaction)
7698 (package-download-transaction): Improve docstring.
7699 (package-read-all-archive-contents): Do not change
7700 package--builtins here.
7701 (list-packages): Make package-list-packages an alias for this.
7702 Sort by status by default.
7703 (package--list-packages): Add optional PACKAGES arg.
7704 (describe-package-1): Use font-lock-face property. For built-in
7705 packages, insert file commentary.
7706 (package--generate-package-list): Rename from
7707 package-list-packages-internal; all callers changed. Add optional
7708 PACKAGES arg. Add alphabetical sort fallbacks.
7709 (package-menu--version-predicate, package-menu--status-predicate)
7710 (package-menu--description-predicate)
7711 (package-menu--name-predicate): New functions.
7712
7713 * info.el (Info-finder-find-node): Search package-alist instead of
7714 finder-package-info.
7715
7716 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
7717
7718 * subr.el (version-regexp-alist): Don't use "a" and "b" for
7719 "alpha" and "beta".
7720 (version-to-list): Handle versions like "10.3d".
7721
7722 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7723
7724 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
7725 (macroexp-accumulate): Use `declare'.
7726
7727 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7728
7729 * whitespace.el (whitespace-style): Adjust type declaration.
7730
7731 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
7732
7733 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
7734
7735 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
7736
7737 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
7738 (Bug#6907).
7739
7740 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
7741
7742 * progmodes/js.el: Make indentation more customizable (Bug#6914).
7743 (js-paren-indent-offset, js-square-indent-offset)
7744 (js-curly-indent-offset): New options.
7745 (js--proper-indentation): Use them.
7746
7747 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
7748
7749 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
7750 instead of inspecting font-lock properties (Bug#6916).
7751
7752 2010-08-26 David Reitter <david.reitter@gmail.com>
7753
7754 * server.el (server-visit-files): Run pre-command-hook and
7755 post-command-hook for each buffer while it is current (Bug#6910).
7756 (server-execute): Do not run hooks here.
7757
7758 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
7759
7760 Sync with Tramp 2.1.19.
7761
7762 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Protect
7763 deleting tmpfile.
7764 (tramp-gvfs-maybe-open-connection): Use `tramp-compat-funcall'.
7765
7766 * net/tramp.el (tramp-handle-expand-file-name)
7767 (tramp-completion-handle-file-name-all-completions)
7768 (tramp-completion-handle-file-name-completion):
7769 Use `tramp-connectable-p'.
7770
7771 * net/trampver.el: Update release number.
7772
7773 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
7774
7775 * help.el (help-map): Bind `C-h P' to describe-package.
7776
7777 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
7778
7779 * emacs-lisp/package.el (package-refresh-contents): Catch errors
7780 when downloading archives.
7781 (describe-package-1): Add package commentary.
7782 (package-install-button-action): New function.
7783 (package-menu-mode-map): Bind ? to package-menu-describe-package.
7784 (package-menu-view-commentary): Function removed.
7785 (package-list-packages-internal): Hide the `package' package too.
7786
7787 2010-08-25 Kenichi Handa <handa@m17n.org>
7788
7789 * language/misc-lang.el ("Arabic"): New language environment.
7790 Setup composition-function-table for Arabic characters.
7791
7792 * international/fontset.el (setup-default-fontset): Fix typo for
7793 arabic OTF spec (fini->fina).
7794
7795 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
7796
7797 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
7798 on all frames.
7799
7800 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7801
7802 * whitespace.el: Allow cleaning up blanks without blank
7803 visualization (Bug#6651). Adjust help window for
7804 whitespace-toggle-options (Bug#6479). Allow to use fill-column
7805 instead of whitespace-line-column (from EmacsWiki). New version
7806 13.1.
7807 (whitespace-style): Add new value 'face. Adjust docstring.
7808 (whitespace-space, whitespace-hspace, whitespace-tab):
7809 Adjust foreground property face.
7810 (whitespace-line-column): Adjust docstring and type declaration.
7811 (whitespace-style-value-list, whitespace-toggle-option-alist)
7812 (whitespace-help-text): Adjust const initialization.
7813 (whitespace-toggle-options, global-whitespace-toggle-options):
7814 Adjust docstring.
7815 (whitespace-display-window, whitespace-interactive-char)
7816 (whitespace-style-face-p, whitespace-color-on): Adjust code.
7817 (whitespace-help-scroll): New fun.
7818
7819 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
7820
7821 * emacs-lisp/package.el (list-packages): Alias for
7822 package-list-packages.
7823
7824 2010-08-24 Kevin Ryde <user42@zip.com.au>
7825
7826 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
7827 (Bug#5651).
7828
7829 * progmodes/ruby-mode.el (ruby): Add defgroup.
7830
7831 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
7832
7833 * progmodes/python.el: Add Ipython support (Bug#5390).
7834 (python-shell-prompt-alist)
7835 (python-shell-continuation-prompt-alist): New options.
7836 (python--set-prompt-regexp): New function.
7837 (inferior-python-mode, run-python, python-shell):
7838 Require ansi-color. Use python--set-prompt-regexp to set the comint
7839 prompt based on the Python interpreter.
7840 (python--prompt-regexp): New var.
7841 (python-check-comint-prompt)
7842 (python-comint-output-filter-function): Use it.
7843 (run-python): Use a pipe (Bug#5694).
7844
7845 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
7846
7847 * progmodes/python.el (python-send-region): Send a different
7848 Python command if Ipython is in use.
7849 (python-check-version): Use a Python command to find the version.
7850
7851 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
7852
7853 * mouse.el (mouse-yank-primary): Avoid setting primary when
7854 deactivating the mark (Bug#6872).
7855
7856 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
7857
7858 * progmodes/python.el (python-block-pairs): Allow use of "finally"
7859 with "else" (Bug#3991).
7860
7861 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
7862
7863 * net/dbus.el: Accept UNIX domain sockets as bus address.
7864 (top): Don't initialize `dbus-registered-objects-table' anymore,
7865 this is done in dbusbind.c.
7866 (dbus-check-event): Adapt test for bus.
7867 (dbus-return-values-table, dbus-unregister-service)
7868 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
7869 Adapt doc string.
7870
7871 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
7872
7873 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
7874
7875 2010-08-22 Juri Linkov <juri@jurta.org>
7876
7877 * simple.el (read-extended-command): New function with the logic
7878 for `completing-read' moved to Elisp from `execute-extended-command'.
7879 Use `function-called-at-point' in `minibuffer-default-add-function'
7880 to get a command name for M-n (bug#5364, bug#5214).
7881
7882 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7883
7884 * startup.el (command-line-1): Issue warning for ignored arguments
7885 --unibyte, etc (Bug#6886).
7886
7887 2010-08-22 Leo <sdl.web@gmail.com>
7888
7889 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
7890 (ignore, bright, dim, keyword): Split list of nicknames before
7891 passing to rcirc-add-or-remove (Bug#6894).
7892
7893 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7894
7895 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
7896
7897 2010-08-22 Leo <sdl.web@gmail.com>
7898
7899 Fix buffer-list rename&refresh after killing a buffer in ido.
7900 * ido.el: Revert Óscar's.
7901 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
7902 Remember the buffers at head, rather than their name.
7903 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
7904
7905 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
7906 Stefan Monnier <monnier@iro.umontreal.ca>
7907
7908 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
7909 extra backslash added to each line (bug#6890).
7910
7911 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7912
7913 * subr.el (read-key): Don't echo keystrokes (bug#6883).
7914
7915 2010-08-22 Glenn Morris <rgm@gnu.org>
7916
7917 * menu-bar.el (menu-bar-games-menu): Add landmark.
7918
7919 2010-08-22 Glenn Morris <rgm@gnu.org>
7920
7921 * align.el (align-regexp): Make group and spacing arguments
7922 use the interactive defaults when non-interactive. (Bug#6698)
7923
7924 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
7925 expansion, so as not to need sendmail.
7926 (mail-text-start): Remove declaration.
7927 (rmail-retry-failure): Require sendmail.
7928
7929 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7930
7931 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
7932
7933 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
7934
7935 * progmodes/flymake.el (flymake-start-syntax-check-process):
7936 Use `start-file-process' in order to let it run also on remote hosts.
7937
7938 2010-08-22 Kenichi Handa <handa@m17n.org>
7939
7940 * files.el: Add `word-wrap' as safe local variable.
7941
7942 2010-08-22 Glenn Morris <rgm@gnu.org>
7943
7944 * woman.el (woman-translate): Case matters. (Bug#6849)
7945
7946 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7947
7948 * simple.el (kill-region): Doc fix (Bug#6787).
7949
7950 2010-08-22 Glenn Morris <rgm@gnu.org>
7951
7952 * calendar/diary-lib.el (diary-header-line-format):
7953 Fit it to the window, not the frame.
7954
7955 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
7956
7957 * subr.el (ignore-errors): Add debug declaration.
7958
7959 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
7960
7961 * whitespace.el (whitespace-color-off): Remove post-command-hook
7962 locally.
7963
7964 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
7965
7966 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
7967
7968 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
7969
7970 * cus-edit.el (custom-group-value-create): Add extra newline
7971 before end line (Bug#6876).
7972
7973 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
7974
7975 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
7976 when extending it. Before killing on the second click, check if
7977 the buffer is the correct one. Doc fix.
7978 (mouse-secondary-save-then-kill): Allow usage without first
7979 calling mouse-start-secondary, by defaulting to point. Don't save
7980 an empty secondary selection. Doc fix.
7981
7982 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7983
7984 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
7985 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
7986 New version 13.0.
7987 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
7988 Adjust initialization.
7989 (whitespace-bob-marker, whitespace-eob-marker)
7990 (whitespace-buffer-changed): New vars.
7991 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
7992 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
7993 (whitespace-post-command-hook, whitespace-display-char-on):
7994 Adjust code.
7995 (whitespace-looking-back, whitespace-buffer-changed): New funs.
7996 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
7997
7998 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
7999
8000 * files.el (locate-file-completion-table): Only list the .el and .elc
8001 extensions if there's no other choice (bug#5955).
8002
8003 * facemenu.el (facemenu-self-insert-data): New var.
8004 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
8005 New functions.
8006 (facemenu-add-face): Use them.
8007
8008 * simple.el (blink-matching-open): Obey forward-sexp-function.
8009
8010 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
8011
8012 * simple.el (prog-mode-map): New var.
8013 (prog-indent-sexp): New command.
8014
8015 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
8016
8017 * progmodes/prolog.el (smie): Require.
8018
8019 * emacs-lisp/smie.el (smie-default-backward-token)
8020 (smie-default-forward-token): Strip properties.
8021 (smie-next-sexp): Be more careful with associative operators.
8022 (smie-forward-sexp-command): Generalize.
8023 (smie-backward-sexp-command): Simplify.
8024 (smie-closer-alist): New var.
8025 (smie-close-block): New command.
8026 (smie-indent-debug-log): New var.
8027 (smie-indent-offset-rule): Add a few more cases.
8028 (smie-indent-column): New function.
8029 (smie-indent-after-keyword): Use it.
8030 (smie-indent-keyword): Use it.
8031 Fix up the opener code's point position.
8032 (smie-indent-comment): Only applies at BOL.
8033 (smie-indent-debug): New command.
8034
8035 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
8036 declarations that are useful before running the macro.
8037
8038 2010-08-18 Joakim Verona <joakim@verona.se>
8039
8040 * image.el (imagemagick-types-inhibit): New variable.
8041 (imagemagick-register-types): New function.
8042 * image-mode.el (image-transform-properties): New function.
8043 (image-transform-set-scale, image-transform-fit-to-height)
8044 (image-transform-set-rotation, image-transform-set-resize)
8045 (image-transform-fit-to-width, image-transform-fit-to-height):
8046 New functions.
8047 (image-toggle-display-image): Support image transforms.
8048
8049 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
8050
8051 * image.el (create-animated-image): Don't add heuristic mask to image
8052 (Bug#6839).
8053
8054 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
8055
8056 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
8057 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
8058
8059 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
8060
8061 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
8062
8063 Font-lock '...' strings, plus various simplifications and fixes.
8064 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
8065 (octave-font-lock-close-quotes): New function.
8066 (octave-font-lock-syntactic-keywords): New var.
8067 (octave-mode): Use it. Set beginning-of-defun-function.
8068 (octave-mode-map): Don't override the <foo>-defun commands.
8069 (octave-mode-menu): Pass it directly to easy-menu-define;
8070 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
8071 (octave-block-match-alist): Fix up last change so that
8072 octave-close-block uses the more specific keyword.
8073 (info-lookup-mode): Silence byte-compiler.
8074 (octave-beginning-of-defun): Not interactive any more.
8075 Optimize slightly.
8076 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
8077 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
8078 (octave-completion-at-point-function): Make sure point is within
8079 beg..end.
8080 (octave-reindent-then-newline-and-indent):
8081 Use reindent-then-newline-and-indent.
8082 (octave-add-octave-menu): Remove.
8083
8084 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
8085
8086 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
8087 (report-emacs-bug-can-use-xdg-email): New functions.
8088 (report-emacs-bug): Set can-xdg-email to result of
8089 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
8090 \C-cm to report-emacs-bug-insert-to-mailer and add help text
8091 about it.
8092
8093 * net/browse-url.el (browse-url-default-browser): Add cond
8094 for browse-url-xdg-open.
8095 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
8096
8097 2010-08-17 Glenn Morris <rgm@gnu.org>
8098
8099 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
8100 (c-fontify-recorded-types-and-refs): Define for compiler.
8101 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
8102 before use.
8103
8104 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
8105 Fix format call.
8106
8107 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
8108
8109 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
8110 properties.
8111 (tramp-handle-process-file): Call the program in a subshell, in
8112 order to preserve working directory.
8113 (tramp-action-password): Hide password prompt before next run.
8114 (tramp-process-actions): Widen connection buffer for the trace.
8115
8116 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8117
8118 * net/rcirc.el (rcirc-log-process-buffers): New option.
8119 (rcirc-print): Use it.
8120 (rcirc-generate-log-filename): New function.
8121 (rcirc-log-filename-function): Change default to
8122 rcirc-generate-log-filename (Bug#6828).
8123
8124 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
8125
8126 * simple.el (deactivate-mark): If select-active-regions is `only',
8127 only set selection for temporarily active regions.
8128
8129 * cus-start.el: Change defcustom for select-active-regions.
8130
8131 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
8132
8133 * mouse.el (mouse--drag-set-mark-and-point): New function.
8134 (mouse-drag-track): Use LOCATION arg to push-mark.
8135 Use mouse--drag-set-mark-and-point to take click-count into
8136 consideration when updating point and mark (Bug#6840).
8137
8138 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
8139
8140 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8141 Give the Ruby rule a lower priority than Gnu (Bug#6778).
8142
8143 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
8144
8145 * font-lock.el (lisp-font-lock-keywords-2):
8146 Add combine-after-change-calls, condition-case-no-debug,
8147 with-demoted-errors, and with-silent-modifications (Bug#6025).
8148
8149 2010-08-14 Kevin Ryde <user42@zip.com.au>
8150
8151 * emacs-lisp/copyright.el (copyright-update-year)
8152 (copyright-update): Temporary switch-to-buffer to ensure the
8153 buffer change being queried is visible (Bug#5394).
8154
8155 2010-08-14 Tom Tromey <tromey@redhat.com>
8156
8157 * progmodes/etags.el (tags-file-name): Mark safe if stringp
8158 (Bug#6733).
8159
8160 2010-08-14 Eli Zaretskii <eliz@gnu.org>
8161
8162 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
8163 MS-DOS. (Bug#6689)
8164
8165 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
8166
8167 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
8168 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
8169 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
8170 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
8171 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
8172 Call menu-bar-set-tool-bar-position.
8173
8174 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8175
8176 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
8177 comment style (bug#6834).
8178 * progmodes/scheme.el (scheme-mode-syntax-table):
8179 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
8180 "b" flag in "' 14b" syntax.
8181
8182 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
8183 for (un)commenting the region and performing completion.
8184 (octave-mode-menu): Use standard commands for help and completion.
8185 (octave-mode-syntax-table): Support %{..%} comments (sort of).
8186 (octave-mode): Use define-derived-mode.
8187 Set completion-at-point-functions and don't set columns.
8188 Don't disable adaptive-fill-regexp.
8189 (octave-describe-major-mode, octave-comment-region)
8190 (octave-uncomment-region, octave-comment-indent)
8191 (octave-indent-for-comment): Remove.
8192 (octave-indent-calculate): Rename from calculate-octave-indent.
8193 (octave-indent-line, octave-fill-paragraph): Update caller.
8194 (octave-initialize-completions): No need to make an alist.
8195 (octave-completion-at-point-function): New function.
8196 (octave-complete-symbol): Use it.
8197 (octave-insert-defun): Use define-skeleton.
8198
8199 * progmodes/octave-mod.el (octave-mode): Set comment-add.
8200 (octave-mode-map): Use comment-dwim (bug#6829).
8201
8202 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com>
8203
8204 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
8205 indentation of inserted comment.
8206
8207 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
8208
8209 * faces.el (region): Add type gtk that uses gtk colors.
8210
8211 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
8212 Handle theme-name change.
8213
8214 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
8215
8216 * progmodes/sql.el: Version 2.5
8217 (sql-product-alist): Add :prompt-cont-regexp property for several
8218 database products.
8219 (sql-prompt-cont-regexp): New variable.
8220 (sql-output-newline-count, sql-output-by-send):
8221 New variables. Record number of newlines in input text.
8222 (sql-send-string): Handle multiple filters and count newlines.
8223 (sql-send-magic-terminator): Count terminator newline.
8224 (sql-interactive-remove-continuation-prompt): Filters output to
8225 remove continuation prompts; one for each newline.
8226 (sql-interactive-mode): Set up new variables, prompt regexp and
8227 output filter.
8228 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
8229 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
8230
8231 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8232
8233 * emacs-lisp/pcase.el: New file.
8234
8235 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
8236
8237 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
8238 as here-document, otherwise the command could exceed maximum
8239 length of command line.
8240 (tramp-handle-vc-registered): Call script accordingly.
8241 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
8242
8243 2010-08-10 Kenichi Handa <handa@m17n.org>
8244
8245 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
8246 composable pattern.
8247
8248 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
8249
8250 * emacs-lisp/package.el (package-version-split)
8251 (package--version-first-nonzero, package-version-compare):
8252 Functions removed.
8253 (package-directory-list, package-load-all-descriptors)
8254 (package--built-in, package-activate, define-package)
8255 (package-installed-p, package-compute-transaction)
8256 (package-read-all-archive-contents)
8257 (package--add-to-archive-contents, package-buffer-info)
8258 (package-tar-file-info, package-list-packages-internal):
8259 Use version-to-list and version-list-*.
8260
8261 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8262 Use version-to-list.
8263 (package-upload-buffer-internal): Use version-list-<=.
8264
8265 2010-08-09 Kenichi Handa <handa@m17n.org>
8266
8267 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
8268 composable pattern.
8269
8270 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
8271
8272 * tutorial.el (tutorial--default-keys): C-d is now bound to
8273 delete-forward-char (Bug#6826).
8274
8275 * mouse.el (mouse-drag-track): Remove accidentally-removed check
8276 for `double' value of mouse-1-click-follows-link (Bug#6807).
8277
8278 2010-08-08 Johan Bockgård <bojohan@gnu.org>
8279
8280 * replace.el (replace-highlight): Bind isearch-forward and
8281 isearch-error, ensuring that highlighting is updated if the user
8282 switches the search direction (Bug#6808).
8283
8284 * isearch.el (isearch-lazy-highlight-forward): New var.
8285 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
8286 (isearch-lazy-highlight-update): Use it.
8287
8288 2010-08-08 Kenichi Handa <handa@m17n.org>
8289
8290 * international/mule.el (define-charset): Store NAME as :base property.
8291 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
8292 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
8293 current priority. Force using the designation of the specific
8294 charset by adding `charset' text property. Improve the whole algorithm.
8295
8296 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8297
8298 * emulation/pc-select.el (pc-selection-mode-hook)
8299 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
8300 (pc-selection-mode): Fix typos in docstrings.
8301
8302 2010-08-08 Kenichi Handa <handa@m17n.org>
8303
8304 * language/cyrillic.el: Don't add "microsoft-cp1251" to
8305 ctext-non-standard-encodings-alist here.
8306
8307 * international/mule.el (ctext-non-standard-encodings-alist):
8308 Add "koi8-r" and "microsoft-cp1251".
8309 (ctext-standard-encodings): New variable.
8310 (ctext-non-standard-encodings-table): List only elements for
8311 non-standard encodings.
8312 (ctext-pre-write-conversion): Adjust for the above change.
8313 Check ctext-standard-encodings.
8314
8315 * international/mule-conf.el (compound-text): Doc fix.
8316 (ctext-no-compositions): Doc fix.
8317 (compound-text-with-extensions): Doc fix.
8318
8319 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8320
8321 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
8322
8323 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8324
8325 * progmodes/which-func.el (which-func-format): Split help-echo text
8326 into lines, like other mode-line tooltips.
8327
8328 * server.el (server-start): When using TCP sockets, force IPv4
8329 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
8330
8331 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8332
8333 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
8334
8335 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8336
8337 * term.el (term-delimiter-argument-list): Reflow docstring.
8338 (term-read-input-ring, term-write-input-ring, term-send-input)
8339 (term-bol, term-erase-in-display, serial-supported-or-barf):
8340 Fix typos in docstrings.
8341
8342 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8343
8344 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
8345
8346 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8347
8348 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
8349
8350 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
8351
8352 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
8353 Fix typo in docstring (bug#6747).
8354
8355 2010-08-08 Leo <sdl.web@gmail.com>
8356
8357 * eshell/esh-io.el (eshell-get-target): Better detection of
8358 read-only file (Bug#6762).
8359
8360 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8361
8362 * align.el (align-default-spacing): Doc fix.
8363 (align-region-heuristic, align-regexp): Fix typos in docstrings.
8364
8365 2010-08-08 Stephen Peters <speters@itasoftware.com>
8366
8367 * calendar/icalendar.el
8368 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
8369 (icalendar--get-weekday-numbers): New.
8370 (icalendar--convert-recurring-to-diary): Handle multiple byday
8371 values in weekly rules. (Bug#6766)
8372
8373 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
8374
8375 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
8376 (icalendar--create-uid, icalendar-export-region)
8377 (icalendar--parse-summary-and-rest): Code formatting.
8378
8379 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
8380
8381 * calc/calc.el (calc-trail-mode, calc-refresh): Use `face' property
8382 to italicize headers.
8383 (calc-highlight-selections-with-faces): New variable.
8384 (calc-selected-face, calc-nonselected-face): New faces.
8385
8386 * calc/calccomp.el (math-comp-highlight-string): Use
8387 `calc-highlight-selections-with-faces' to determine how to highlight
8388 sub-formulas.
8389
8390 * calc/calc-sel.el (calc-show-selections): Change message to when
8391 using faces to highlight selections.
8392
8393 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
8394
8395 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
8396 Add SQLite 3 keywords, functions and datatypes.
8397 (sql-interactive-mode): Remove `comint-process-echoes' set to t
8398 (Bug#6686).
8399
8400 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
8401
8402 * simple.el (select-active-regions): Move to keyboard.c.
8403 (deactivate-mark): Used saved-region-selection.
8404 (select-active-region): Function removed.
8405 (activate-mark, set-mark, push-mark-command)
8406 (handle-shift-selection): Don't call it.
8407 (keyboard-quit): Avoid adding the region to the window selection.
8408
8409 * mouse.el (mouse-drag-track): Remove hacks to deal with old
8410 select-active-regions implementation.
8411 (mouse-yank-at-click): Doc fix.
8412
8413 * cus-start.el: Add custom declaration for select-active-regions.
8414
8415 2010-08-07 Eli Zaretskii <eliz@gnu.org>
8416
8417 * simple.el (delete-forward-char): Doc fix.
8418
8419 * tutorial.el (help-with-tutorial): Hack safe file-local variables
8420 after reading the tutorial.
8421
8422 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
8423
8424 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
8425 Fix for the case that a C style comment has its delimiters alone on
8426 their respective lines. (Bug#193)
8427
8428 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
8429
8430 * net/tramp.el (tramp-handle-start-file-process): Set connection
8431 property "vec".
8432 (tramp-process-sentinel): Use it for flushing the cache.
8433 We cannot do it via the process buffer, the buffer could be deleted
8434 already when running the sentinel.
8435
8436 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
8437
8438 * comint.el (comint-mode): Make directory tracking functions
8439 functional on remote files. (Bug#6764)
8440
8441 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
8442
8443 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
8444
8445 2010-08-05 Eli Zaretskii <eliz@gnu.org>
8446
8447 * emacs-lisp/find-gc.el (find-gc-source-files):
8448 Rename unexec.c => unexcoff.c.
8449
8450 * emacs-lisp/authors.el (authors-fixed-entries):
8451 Rename unexec.c => unexcoff.c.
8452
8453 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
8454
8455 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
8456 cache, not only file cache.
8457 (tramp-process-sentinel): New defun.
8458 (tramp-handle-start-file-process): Use it, in order to invalidate
8459 file caches.
8460
8461 2010-08-03 Leo <sdl.web@gmail.com>
8462
8463 * server.el (server-start): Simplify loop.
8464
8465 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
8466
8467 * frame.el (screen-height, screen-width, set-screen-width)
8468 (set-screen-height): Remove ancient compatibility aliases.
8469
8470 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
8471 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
8472
8473 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
8474 that change current buffer.
8475
8476 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8477
8478 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
8479 beginning of the string. Use `string-match-p'. (Bug#6765)
8480
8481 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
8482
8483 * cus-start.el (x-gtk-use-system-tooltips): New variable.
8484
8485 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
8486
8487 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
8488 (package--builtins): Tweak descriptions.
8489 (package-print-package): Upcase descriptions if necessary.
8490 Show all built-in packages in font-lock-builtin-face.
8491 (package-list-packages-internal): Omit "emacs" package.
8492 Show status of built-in packages as "built-in".
8493
8494 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
8495
8496 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
8497 before killing to preserve the primary selection (Bug#6701).
8498
8499 * term/x-win.el (x-select-text): Doc fix.
8500
8501 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
8502
8503 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
8504 (objc-font-lock-extra-types):
8505 * progmodes/cc-mode.el (c-basic-common-init):
8506 * progmodes/cc-langs.el (c-make-mode-syntax-table)
8507 (c++-make-template-syntax-table)
8508 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
8509 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
8510 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
8511 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
8512 * progmodes/cc-fonts.el (c-make-inverse-face)
8513 (c-basic-matchers-after):
8514 * progmodes/cc-engine.el (c-forward-keyword-clause)
8515 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
8516 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
8517 (c-guess-continued-construct, c-guess-basic-syntax):
8518 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
8519 The above functions were modified or created.
8520
8521 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
8522
8523 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
8524
8525 2010-07-31 Eli Zaretskii <eliz@gnu.org>
8526
8527 * files.el (bidi-paragraph-direction): Define safe local values.
8528
8529 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
8530 language-info-alist. Remove outdated FIXME in a comment.
8531
8532 2010-07-31 Alan Mackenzie <acm@muc.de>
8533
8534 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
8535 Auto-fill broken in C/C++ modes.
8536
8537 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
8538
8539 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
8540 (menu-bar-showhide-tool-bar-menu-customize-disable)
8541 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
8542 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
8543 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
8544 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
8545 make a menu for Options => toolbar that can move it.
8546
8547 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
8548
8549 * emacs-lisp/package-x.el (package--make-rss-entry):
8550 (package-maint-add-news-item, package--update-news)
8551 (package-upload-buffer-internal): New arg ARCHIVE-URL.
8552
8553 * emacs-lisp/package.el (package-archive-url): Rename from
8554 package-archive-id.
8555 (package-install): Doc fix.
8556 (package-download-single, package-download-tar, package-install)
8557 (package-menu-view-commentary): Callers changed.
8558
8559 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
8560
8561 * net/tramp.el (tramp-handle-start-file-process): Check only for
8562 `remote-tty' process property.
8563 (tramp-open-shell): Don't check for tty.
8564 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
8565 process property.
8566
8567 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
8568 host.
8569
8570 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
8571
8572 * emacs-lisp/package.el (package-load-list, package-archives)
8573 (package-archive-contents, package-user-dir)
8574 (package-directory-list, package--builtins, package-alist)
8575 (package-activated-list, package-obsolete-alist): Mark as risky.
8576
8577 2010-07-28 Phil Hagelberg <phil@evri.com>
8578
8579 Add support for non-default package repositories.
8580 * emacs-lisp/package.el (package-archive-base): Var deleted.
8581 (package-archives): New variable.
8582 (package-archive-contents): Doc fix.
8583 (package-load-descriptor): Do nothing if descriptor file is missing.
8584 (package--write-file-no-coding): New function.
8585 (package-unpack-single): Use it.
8586 (package-archive-id): New function.
8587 (package-download-single, package-download-tar)
8588 (package-menu-view-commentary): Use it.
8589 (package-installed-p): Make second argument optional.
8590 (package-read-all-archive-contents): New function.
8591 (package-initialize): Use it.
8592 (package-read-archive-contents): Add ARCHIVE argument.
8593 (package--add-to-archive-contents): New function.
8594 (package-install): Don't call package-read-archive-contents.
8595 (package--download-one-archive): Store archive file in a
8596 subdirectory of package-user-dir.
8597 (package-menu-execute): Remove spurious line movement.
8598
8599 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
8600
8601 * cus-start.el (tool-bar-style): Add text-image-horiz.
8602
8603 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
8604
8605 * progmodes/gud.el (gud-common-init): Check for remoteness of
8606 `file', and not of `default-directory'.
8607
8608 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
8609
8610 * net/tramp.el (tramp-methods): Move hostname to the end in all
8611 ssh `tramp-login-args'.
8612 (tramp-verbose): Describe verbose level 9.
8613 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
8614 (tramp-open-connection-setup-interactive-shell): Trace stty
8615 settings if `tramp-verbose' >= 9.
8616 (tramp-handle-start-file-process): Implement tty setting.
8617 (Bug#4604, Bug#6360)
8618
8619 * net/tramp-cmds.el (tramp-bug): Recommend setting of
8620 `tramp-verbose' to 9.
8621
8622 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
8623
8624 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
8625 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
8626 Remove references to package `lisp-re' (bug#4369).
8627
8628 2010-07-27 Tom Tromey <tromey@redhat.com>
8629
8630 * progmodes/js.el (js-mode):
8631 * progmodes/make-mode.el (makefile-mode):
8632 * progmodes/simula.el (simula-mode):
8633 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
8634
8635 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
8636
8637 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
8638
8639 * time.el (display-time-day-and-date): Remove spurious * in docstring.
8640 (display-time-world-buffer-name, display-time-world-mode-map):
8641 Fix typos in docstrings.
8642
8643 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
8644
8645 * image-mode.el (image-display-size): New function.
8646 (image-forward-hscroll, image-next-line, image-eol, image-eob)
8647 (image-mode-fit-frame): Use it (Bug#6639).
8648
8649 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
8650
8651 * dired.el (dired-buffers-for-dir): Handle list values of
8652 dired-directory (Bug#6636).
8653
8654 2010-07-26 Sam Steingold <sds@gnu.org>
8655
8656 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
8657 Do not call `x-get-selection' the second time, reuse the value.
8658
8659 2010-07-26 Daiki Ueno <ueno@unixuser.org>
8660
8661 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
8662 which consist of control chars only. Suggested by Richard Stallman.
8663
8664 2010-07-25 Daiki Ueno <ueno@unixuser.org>
8665
8666 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
8667 exists before passing an error to find-file-not-found-functions
8668 (bug#6723).
8669
8670 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
8671
8672 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
8673 Remove leading nil element, adjust values.
8674 (tetris-shapes, tetris-shape-scores):
8675 Change representation of shapes and remove some redundancy.
8676 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
8677 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
8678 Adjust for working with new representation of shapes.
8679 (tetris-shape-rotations): New function.
8680 (tetris-move-bottom, tetris-move-left, tetris-move-right)
8681 (tetris-rotate-prev, tetris-rotate-next):
8682 Adjust for working with the new version of tetris-test-shape.
8683
8684 2010-07-23 Markus Triska <markus.triska@gmx.at>
8685
8686 * progmodes/ps-mode.el: Use comint (bug#5954).
8687 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
8688 (ps-mode-other-newline): Simplify.
8689 (ps-run-mode): Derive from comint-mode instead of
8690 fundamental-mode, yielding input history etc.
8691 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
8692 (ps-run-send-string): Adapt for comint-mode.
8693 (ps-run-newline): Remove now unneeded function.
8694
8695 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
8696
8697 * net/tramp.el (tramp-methods): Move hostname to the end in all
8698 plink `tramp-login-args'.
8699
8700 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
8701
8702 * net/tramp.el (tramp-open-shell): New defun.
8703 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8704 Use it.
8705
8706 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
8707
8708 * net/tramp.el (tramp-file-name-regexp-unified)
8709 (tramp-completion-file-name-regexp-unified): On W32 systems, do
8710 not regard the volume letter as remote filename. (Bug#5447)
8711
8712 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
8713
8714 * custom.el (custom-declare-variable): Give a clearer error message
8715 when the docstring is missing (bug#6476).
8716
8717 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
8718
8719 * progmodes/sql.el: Version 2.4. Improved Login prompting.
8720 (sql-login-params): New widget definition.
8721 (sql-oracle-login-params, sql-mysql-login-params)
8722 (sql-solid-login-params, sql-sybase-login-params)
8723 (sql-informix-login-params, sql-ingres-login-params)
8724 (sql-ms-login-params, sql-postgres-login-params)
8725 (sql-interbase-login-params, sql-db2-login-params)
8726 (sql-linter-login-params): Use it.
8727 (sql-sqlite-login-params): Use it; Define "database" parameter as
8728 a file name.
8729 (sql-sqlite-program): Change to "sqlite3".
8730 (sql-comint-sqlite): Make sure database name is complete.
8731 (sql-for-each-login): New function.
8732 (sql-connect, sql-save-connection): Use it.
8733 (sql-get-login-ext): New function.
8734 (sql-get-login): Use it.
8735 (sql-make-alternate-buffer-name): Handle :file parameters.
8736
8737 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
8738
8739 * dired.el (dired-no-confirm): Document value t and fix defcustom to
8740 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
8741
8742 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
8743
8744 * dired.el (dired-mode-map): Use command remapping (bug#6632).
8745
8746 2010-07-22 Lawrence Mitchell <wence@gmx.li>
8747
8748 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
8749
8750 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
8751
8752 * net/tramp.el (tramp-get-ls-command)
8753 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
8754 instead of "/".
8755
8756 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
8757
8758 * progmodes/sql.el: Version 2.3.
8759 (sql-connection-alist): Change keys from symbols to strings;
8760 enhanced the widget definition.
8761 (sql-mode-menu): Add submenu to select connections.
8762 (sql-interactive-mode-menu): Add "Save Connection" item.
8763 (sql-add-product): Fix menu item.
8764 (sql-get-product-feature): Improved error handling.
8765 (sql--alt-buffer-part, sql--alt-if-not-empty): Remove.
8766 (sql-make-alternate-buffer-name): Simplified.
8767 (sql-product-interactive): Handle missing product.
8768 (sql-connect): Support string keys, minor improvements.
8769 (sql-save-connection): New function.
8770 (sql-connection-menu-filter): New function.
8771
8772 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
8773
8774 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
8775 (tramp-open-connection-setup-interactive-shell):
8776 Apply workaround for IRIX64 bug. Move argument of last
8777 `tramp-send-command' where it belongs to.
8778
8779 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
8780
8781 * net/tramp.el (tramp-perl-file-attributes)
8782 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
8783 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
8784 front of `login-args'.
8785
8786 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
8787
8788 * time.el (display-time-world-mode): Define with `define-derived-mode'.
8789 Set `show-trailing-whitespace' to nil.
8790 (display-time-world-display): Simplify.
8791
8792 2010-07-18 Alan Mackenzie <acm@muc.de>
8793
8794 Enhance `c-file-style' in file/directory local variables.
8795 * progmodes/cc-mode.el (c-count-cfss): New function.
8796 (c-before-hack-hook): Call `c-set-style' differently according to
8797 whether c-file-style was set in file or directory local
8798 variables.
8799
8800 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
8801
8802 * progmodes/sql.el: Version 2.2.
8803 (sql-product, sql-user, sql-database, sql-server, sql-port):
8804 Use defcustom :safe keyword rather than putting safe-local-variable
8805 property.
8806 (sql-password): Use defcustom :risky keyword rather than putting
8807 risky-local-variable property.
8808 (sql-oracle-login-params, sql-sqlite-login-params)
8809 (sql-solid-login-params, sql-sybase-login-params)
8810 (sql-informix-login-params, sql-ingres-login-params)
8811 (sql-ms-login-params, sql-postgres-login-params)
8812 (sql-interbase-login-params, sql-db2-login-params)
8813 (sql-linter-login-params): Add `port' option.
8814 (sql-get-product-feature): Add NO-INDIRECT parameter.
8815 (sql-comint-oracle, sql-comint-sybase)
8816 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
8817 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
8818 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
8819 (sql-comint-linter): Rename sql-connect-* functions to
8820 sql-comint-*.
8821 (sql-product-alist, sql-mode-menu): Rename as above and
8822 :sqli-connect-func to :sqli-comint-func.
8823 (sql-connection): New variable.
8824 (sql-interactive-mode): Set it.
8825 (sql-connection-alist): New variable.
8826 (sql-connect): New function.
8827 (sql--alt-buffer-part, sql--alt-if-not-empty)
8828 (sql-make-alternate-buffer-name): Improved alternative buffer name.
8829
8830 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8831
8832 * image-mode.el (image-bookmark-make-record): Do not set context
8833 in an image (Bug#6650).
8834
8835 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
8836
8837 * simple.el (select-active-region): New function.
8838 (push-mark-command, set-mark, activate-mark)
8839 (handle-shift-selection): Use it.
8840 (deactivate-mark): Don't check for size of region.
8841
8842 * mouse.el (mouse-drag-track): Use select-active-region.
8843
8844 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
8845
8846 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
8847 "--dired" stronger.
8848
8849 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
8850
8851 * term/x-win.el (x-select-enable-primary): Change default to nil.
8852 (x-select-enable-clipboard): Add :version keyword.
8853
8854 * mouse.el (mouse-drag-copy-region):
8855 * simple.el (select-active-regions): Likewise.
8856
8857 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
8858
8859 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
8860 (vc-coding-system-for-diff): Use it to decide whether to inherit
8861 from the file the EOL format for reading the diffs of that file.
8862 (Bug#4451)
8863
8864 2010-07-16 Eli Zaretskii <eliz@gnu.org>
8865
8866 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
8867 unibyte, so compressed attachments are not compressed again.
8868
8869 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
8870
8871 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
8872 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
8873 (tramp-find-shell): Simplify setting connection property.
8874 (tramp-get-ls-command): Make test for "--color=never" stronger.
8875
8876 2010-07-15 Simon South <ssouth@member.fsf.org>
8877
8878 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
8879 blocks within record declarations (i.e. variant parts) correctly.
8880
8881 2010-07-15 Simon South <ssouth@member.fsf.org>
8882
8883 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
8884 over literal tokens when parsing so newlines aren't "absorbed" by
8885 single-line comments. Corrects the indentation of case blocks
8886 that have a comment on the first line.
8887
8888 2010-07-14 Karl Fogel <kfogel@red-bean.com>
8889
8890 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
8891 by Drew Adams (Bug#5504).
8892
8893 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
8894
8895 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
8896 now that Unicode is used (Bug#6594).
8897
8898 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
8899
8900 * term/x-win.el (x-select-enable-clipboard): Default to t.
8901 (x-initialize-window-system): Don't overwrite Paste menu item.
8902
8903 * simple.el (select-active-regions): Default to t.
8904 (push-mark-command): Don't overwrite primary with empty string.
8905
8906 * mouse.el: Bind mouse-2 to mouse-yank-primary.
8907 (mouse-drag-copy-region): Default to nil.
8908
8909 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
8910 Cut/Copy/Paste menu bar items.
8911
8912 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8913
8914 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
8915 Patch applied by Karl Fogel.
8916
8917 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
8918 and `bookmark-current-buffer' if they have been already set in
8919 another buffer (e.g gnus-art).
8920
8921 2010-07-13 Karl Fogel <kfogel@red-bean.com>
8922 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8923
8924 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
8925
8926 * bookmark.el (bookmark-make-record-default): Allow unneeded
8927 information to be omitted from the record.
8928
8929 Adjust declarations and calls:
8930
8931 * info.el (bookmark-make-record-default): Adjust declaration.
8932 (Info-bookmark-make-record): Adjust call.
8933
8934 * woman.el (bookmark-make-record-default): Adjust declaration.
8935 (woman-bookmark-make-record): Adjust call.
8936
8937 * man.el (bookmark-make-record-default): Adjust declaration.
8938 (Man-bookmark-make-record): Adjust call.
8939
8940 * image-mode.el (bookmark-make-record-default): Adjust declaration.
8941
8942 * doc-view.el (bookmark-make-record-default): Adjust declaration.
8943
8944 2010-07-13 Karl Fogel <kfogel@red-bean.com>
8945
8946 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
8947 This is also from Thierry Volpiatto's patch in bug #6444. However,
8948 because it was extraneous to the functional change in that patch,
8949 and causes a re-indendation, I am committing it separately.
8950
8951 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8952
8953 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
8954 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
8955 Patch applied by Karl Fogel (Bug#6444).
8956
8957 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
8958
8959 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
8960
8961 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
8962
8963 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
8964 Dempsky; bug#5084). Remove incorrect binding for S-tab.
8965 (ns-alternatives-map): Change S-tab binding to backtab
8966 (bug#6616).
8967
8968 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
8969 under ns.
8970
8971 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
8972
8973 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
8974 (Bug#5806)
8975
8976 * language/tv-util.el (tai-viet-re): Remove format.
8977
8978 2010-07-12 Kenichi Handa <handa@m17n.org>
8979
8980 * language/hebrew.el: Remove no-byte-compile declaration.
8981 Change coding: tag to utf-8. Register hebrew-shape-gstring in
8982 composition-function-table for 3-character looking back.
8983 (hebrew-font-get-precomposed): New function.
8984 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
8985
8986 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
8987
8988 * mouse.el (mouse-drag-track): Handle select-active-regions
8989 (Bug#6612).
8990
8991 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
8992
8993 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
8994 empty argument to gvfs-copy.
8995
8996 2010-07-10 Glenn Morris <rgm@gnu.org>
8997
8998 * calendar/calendar.el (calendar-week-end-day): New function.
8999 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
9000 Respect calendar-week-start-day. (Bug#6606)
9001 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
9002 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
9003 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
9004 respect calendar-week-start-day.
9005
9006 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
9007
9008 * simple.el (use-region-p): Doc fix (Bug#6607).
9009
9010 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
9011
9012 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9013 Add regexps for cucumber and ruby.
9014
9015 2010-07-08 Daiki Ueno <ueno@unixuser.org>
9016
9017 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
9018 (epa-file-insert-file-contents): Hack to prevent
9019 find-file from opening empty buffer when decryption failed
9020 (bug#6568).
9021
9022 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
9023
9024 * textmodes/ispell.el (ispell-alternate-dictionary):
9025 Use file-readable-p.
9026 Return nil if no word-list is found at default locations.
9027 (ispell-complete-word-dict): Default to nil.
9028 (ispell-command-loop): Use 'word-list' when using lookup-words.
9029 (lookup-words): Use ispell-complete-word-dict or
9030 ispell-alternate-dictionary. Check for word-list availability
9031 and handle errors if needed with better messages (Bug#6539).
9032 (ispell-complete-word): Use ispell-complete-word-dict or
9033 ispell-alternate-dictionary.
9034
9035 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
9036
9037 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
9038 builtins (BufferError, BytesWarning, WindowsError; callables
9039 bin, bytearray, bytes, format, memoryview, next, print; __package__).
9040
9041 2010-07-07 Glenn Morris <rgm@gnu.org>
9042
9043 * play/zone.el (top-level): Do not require timer, tabify, or cl.
9044 (zone-shift-left): Ignore intangibility, and any errors from
9045 forward-char.
9046 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
9047 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
9048 deleting, and copying text properties.
9049 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
9050 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
9051 to point-max is hard.
9052 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
9053 (zone-fill-out-screen): Ignore intangibility.
9054
9055 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
9056
9057 * menu-bar.el (menu-bar-mode):
9058 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
9059 if it has been set.
9060
9061 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
9062 word/line selection (Bug#6565).
9063
9064 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
9065
9066 * net/dbus.el (dbus-send-signal): Declare function.
9067
9068 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
9069
9070 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
9071 (dbus-register-property): New optional argument EMITS-SIGNAL.
9072 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
9073
9074 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
9075
9076 * mouse.el (mouse-drag-overlay): Variable deleted.
9077 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
9078 (mouse--remap-link-click-p): New function.
9079 (mouse-drag-track): Handle dragging by using temporary Transient
9080 Mark mode, instead of a special overlay.
9081 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
9082 mouse-show-mark.
9083
9084 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
9085 deleted.
9086
9087 2010-07-02 Juri Linkov <juri@jurta.org>
9088
9089 * autoinsert.el (auto-insert-alist): Fix readability
9090 by using dotted pair notation for lambda.
9091
9092 2010-07-02 Juri Linkov <juri@jurta.org>
9093
9094 * faces.el (read-face-name): Rename arg `string-describing-default'
9095 to `default'. Doc fix. Display the default value in quotes
9096 in the prompt. With empty input, return the `default' arg,
9097 unless the default value is a string (in which case return nil).
9098 (describe-face): Replace the string `default' arg of `read-face-name'
9099 with the symbol `default'.
9100
9101 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
9102
9103 * emulation/viper-cmd.el (viper-delete-backward-char)
9104 (viper-del-backward-char-in-insert)
9105 (viper-del-backward-char-in-replace, viper-change)
9106 (viper-backward-indent): Replace delete-backward-char with
9107 delete-char (Bug#6552).
9108
9109 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
9110
9111 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
9112
9113 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
9114
9115 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
9116 argument passed to frame-creation-function (Bug#5378).
9117
9118 * faces.el (x-handle-named-frame-geometry)
9119 (x-handle-reverse-video, x-create-frame-with-faces)
9120 (face-set-after-frame-default, tty-create-frame-with-faces):
9121 Don't separately consult default-frame-alist. It is now passed as the
9122 PARAMETER argument.
9123
9124 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
9125
9126 * startup.el (command-line): Don't call tool-bar-setup in a
9127 tty-only build.
9128
9129 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
9130
9131 * ruler-mode.el (ruler--save-header-line-format): New fun.
9132 (ruler-mode): Use it as a setter function, so as not to overwrite
9133 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
9134
9135 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
9136
9137 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
9138 (vc-root-diff, vc-print-root-log, vc-log-incoming)
9139 (vc-log-outgoing): Use it.
9140 (vc-diff-internal): Set diff-vc-backend.
9141
9142 * vc/diff-mode.el (diff-vc-backend): New var.
9143
9144 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
9145
9146 * dynamic-setting.el (font-setting-change-default-font):
9147 Remove call to message.
9148
9149 2010-06-28 Kenichi Handa <handa@m17n.org>
9150
9151 * international/quail.el (quail-insert-kbd-layout): Fix the
9152 showing of untranslated characters.
9153
9154 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
9155
9156 * simple.el (delete-active-region): New option.
9157 (delete-backward-char): Implement in Lisp.
9158 (delete-forward-char): New command.
9159
9160 * mouse.el (mouse-region-delete-keys): Delete.
9161 (mouse-show-mark): Simplify.
9162
9163 * bindings.el (global-map): Bind delete and DEL, the former to
9164 delete-forward-char.
9165
9166 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
9167
9168 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
9169 (ruby-mode): Bind indent-line-function (Bug#5119).
9170
9171 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
9172
9173 * startup.el (command-line): Recognize "0" X resource value.
9174
9175 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
9176
9177 * startup.el (command-line): Use X resources to set the value of
9178 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
9179
9180 * menu-bar.el (menu-bar-mode):
9181 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
9182 Set init-value to t.
9183
9184 * frame.el (frame-notice-user-settings): Don't change
9185 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
9186 vice versa (Bug#2249).
9187
9188 2010-06-26 Eli Zaretskii <eliz@gnu.org>
9189
9190 * w32-fns.el (w32-convert-standard-filename): Doc fix.
9191
9192 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
9193
9194 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
9195 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
9196
9197 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
9198 default directories are expanded (Bug#6143).
9199
9200 2010-06-24 Juri Linkov <juri@jurta.org>
9201
9202 * minibuffer.el (completions-format): Change default from nil to
9203 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
9204
9205 2010-06-24 Juri Linkov <juri@jurta.org>
9206
9207 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
9208 buffer-locally to lambda that re-runs the vc diff command.
9209 (Bug#6447)
9210
9211 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
9212
9213 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
9214 echo area is in use (Bug#3412).
9215
9216 2010-06-22 Glenn Morris <rgm@gnu.org>
9217
9218 * textmodes/texinfmt.el (texinfo-format-region)
9219 (texinfo-raise-lower-sections, texinfo-format-separate-node)
9220 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
9221 (texinfo-format-option, texinfo-noindent):
9222 Use line-beginning-position and line-end-position.
9223
9224 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
9225 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
9226 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
9227 utf-8 characters.
9228
9229 2010-06-21 Karl Fogel <kfogel@red-bean.com>
9230
9231 * play/zone.el (zone-fall-through-ws): Fix next-line ->
9232 forward-line fallout.
9233
9234 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
9235
9236 * mouse.el (mouse-appearance-menu): Add docstring.
9237
9238 * help.el (describe-key): Print up-event using key-description.
9239
9240 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
9241
9242 * net/zeroconf.el (zeroconf-resolve-service)
9243 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
9244 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
9245
9246 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
9247
9248 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
9249
9250 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
9251
9252 Avoid displaying files with a nil state in vc-dir.
9253 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
9254 cases that cause insertion.
9255 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
9256 with a nil state.
9257
9258 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
9259
9260 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
9261
9262 2010-06-29 Leo <sdl.web@gmail.com>
9263
9264 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
9265
9266 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
9267
9268 * generic-x.el (bat-generic-mode): Fix regexp for command line
9269 switches (Bug#5719).
9270
9271 2010-06-27 Masatake YAMATO <yamato@redhat.com>
9272
9273 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
9274 of nconc to avoid pure storage error (Bug#6239).
9275
9276 2010-06-27 Christoph Scholtes <cschol2112@googlemail.com>
9277
9278 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
9279 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
9280 bindings of bookmark-automatically-show-annotations (Bug#6515).
9281
9282 2010-06-25 Eli Zaretskii <eliz@gnu.org>
9283
9284 * arc-mode.el (archive-zip-extract): Don't quote the file name on
9285 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
9286
9287 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
9288
9289 * comint.el (make-comint, make-comint-in-buffer): Mention return
9290 value in the docstrings. (Bug#6498)
9291
9292 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
9293
9294 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
9295 since it is not present when using some non-default switches.
9296
9297 2010-06-23 Karl Fogel <kfogel@red-bean.com>
9298
9299 * simple.el (compose-mail): Fix doc string to refer to
9300 `compose-mail-user-agent-warnings', instead of to the
9301 nonexistent `compose-mail-check-user-agent'.
9302
9303 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
9304
9305 Fix an indentation bug:
9306
9307 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
9308 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
9309 of existing values.
9310
9311 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
9312 (c-clear->-pair-props-if-match-before): now return t when they've
9313 cleared properties, nil otherwise.
9314 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
9315 by taking account of the existing value.
9316
9317 * progmodes/cc-defs.el
9318 (c-clear-char-property-with-value-function): Fix this to clear the
9319 property rather than overwriting it with nil.
9320
9321 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
9322
9323 * emacs-lisp/package.el (package-print-package): Add link to
9324 package description via describe-package.
9325 (describe-package-1): List package requirements. Add button to
9326 perform installation.
9327 (package-menu-describe-package): New command.
9328
9329 * help-mode.el (help-package): New button type.
9330
9331 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
9332
9333 * emacs-lisp/package.el: Move package-list-packages binding to
9334 menu-bar.el.
9335 (describe-package, describe-package-1, package--dir): New funs.
9336 (package-activate-1): Use package--dir.
9337
9338 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
9339
9340 * help-mode.el (help-package-def): New button type.
9341
9342 * menu-bar.el: Move package-list-packages binding here from
9343 package.el.
9344
9345 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
9346
9347 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
9348
9349 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9350
9351 * emacs-lisp/edebug.el (edebug-read-list):
9352 Phase out old-style backquotes.
9353
9354 2010-06-17 Juri Linkov <juri@jurta.org>
9355
9356 * help-mode.el (help-mode): Set buffer-local variable
9357 revert-buffer-function to help-mode-revert-buffer.
9358 (help-mode-revert-buffer): New function.
9359
9360 * info.el (Info-revert-find-node): Check for major-mode Info-mode
9361 before popping to "*info*" (like in other Info functions).
9362 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
9363 old-history-forward. Pop to old-buffer-name or "*info*" to
9364 recreate the killed buffer. Set Info-history-forward from
9365 old-history-forward.
9366 (Info-breadcrumbs-depth): Add :group and :version.
9367
9368 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
9369
9370 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
9371
9372 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
9373
9374 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
9375 for languages like Portuguese with pt_{BR,PT} and no plain pt.
9376
9377 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
9378
9379 * emacs-lisp/package.el (package-menu-mode-map):
9380 Move initialization into declaration.
9381
9382 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
9383
9384 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
9385
9386 * emacs-lisp/package.el (package-archive-base): Point to
9387 elpa.gnu.org.
9388 (package-enable, package-load-list): New defcustoms.
9389 (package-user-dir, package-directory-list): Turn into defcustoms.
9390 Don't include package-user-dir in package-directory-list.
9391 (package--builtins-base): Don't include Emacs as a "package".
9392 (package-subdirectory-regexp): New var.
9393 (package-load-all-descriptors, package-compute-transaction)
9394 (package-download-transaction): Obey package-load-list.
9395 (package-activate-1): Rename from package-do-activate.
9396 (package-list-packages-internal): Check package-load-list.
9397 (package-load-descriptor, package-generate-autoloads)
9398 (package-unpack, package-unpack-single)
9399 (package--read-archive-file, package-delete):
9400 Use expand-file-name.
9401
9402 * emacs-lisp/package-x.el: New file. Package uploading
9403 functionality split out from package.el.
9404
9405 * startup.el (command-line): Load packages after reading init file.
9406
9407 2010-06-17 Tom Tromey <tromey@redhat.com>
9408
9409 * emacs-lisp/package.el: New file.
9410
9411 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
9412
9413 Fix vc-annotate for renamed files when using Git.
9414 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
9415 ls-files. Doe not pass the object as a file name to cat-file, it
9416 is not a file name.
9417 (vc-git-annotate-command): Pass the file name using -- to avoid
9418 ambiguity with the revision.
9419 (vc-git-previous-revision): Pass a relative file name.
9420
9421 2010-06-22 Glenn Morris <rgm@gnu.org>
9422
9423 * progmodes/js.el (js-mode-map): Use standard capitalization and
9424 ellipses for menu entries.
9425
9426 * wid-edit.el (widget-complete): Doc fix.
9427
9428 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
9429
9430 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
9431
9432 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
9433
9434 Fix annotating other revisions for renamed files in vc-annotate.
9435 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
9436 VC backend. Use it when non-nil.
9437 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
9438 (Bug#6487).
9439
9440 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
9441 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
9442 Do not pass the file name to the 'previous-revision call when we
9443 don't want a file diff. (Bug#6489)
9444
9445 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
9446
9447 Fix finding revisions for renamed files in vc-annotate.
9448 * vc/vc.el (vc-find-revision): Add an optional argument for
9449 the VC backend. Use it when non-nil.
9450 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
9451 backend to vc-find-revision. (Bug#6487)
9452
9453 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
9454
9455 Fix reading file names in Git annotate buffers.
9456 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
9457 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
9458
9459 2010-06-20 Alan Mackenzie <acm@muc.de>
9460
9461 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
9462 in file local variables, set it first.
9463
9464 2010-06-19 Glenn Morris <rgm@gnu.org>
9465
9466 * descr-text.el (describe-char-unicode-data): Insert separating
9467 space when needed. (Bug#6422)
9468
9469 * progmodes/idlwave.el (idlwave-action-and-binding):
9470 Fix typo in 2009-12-03 change. (Bug#6450)
9471
9472 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9473
9474 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
9475 handling for `lambda' (misunderstanding).
9476
9477 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
9478
9479 * calc/calc-poly.el (math-accum-factors): Make sure that
9480 constants aren't distributed after they are factored out.
9481
9482 2010-06-16 Juri Linkov <juri@jurta.org>
9483
9484 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
9485 `list-colors-print'. (Bug#6332)
9486
9487 * subr.el (read-quoted-char): Fix up last change (bug#6290).
9488
9489 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
9490
9491 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
9492 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
9493
9494 * font-lock.el (font-lock-major-mode): Rename from
9495 font-lock-mode-major-mode to distinguish it from
9496 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
9497 (font-lock-set-defaults):
9498 * font-core.el (font-lock-default-function): Adjust users.
9499 (font-lock-mode): Don't set it at all.
9500
9501 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
9502
9503 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
9504
9505 2010-06-16 Glenn Morris <rgm@gnu.org>
9506
9507 * calendar/appt.el (appt-time-msg-list): Doc fix.
9508 (appt-check): Let-bind appt-warn-time.
9509 (appt-add): Make the 3rd argument optional.
9510 Simplify argument names. Doc fix. Check for integer WARNTIME.
9511 Only add WARNTIME to the output list if non-nil.
9512
9513 2010-06-16 Ivan Kanis <apple@kanis.eu>
9514
9515 * calendar/appt.el (appt-check): Let the 3rd element of
9516 appt-time-msg-list specify the warning time.
9517 (appt-add): Add new argument with the warning time. (Bug#5176)
9518
9519 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
9520
9521 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
9522 older than version 1.6. (Bug#6361)
9523
9524 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
9525
9526 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
9527 used by cl-do-arglist. (Bug#6408)
9528
9529 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
9530
9531 * textmodes/ispell.el (ispell-dictionary-base-alist):
9532 Fix portuguese casechars/not-casechars for missing 'çÇ'.
9533 Suggested by Rolando Pereira (bug#6434).
9534
9535 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
9536
9537 * facemenu.el (list-colors-sort): Doc fix.
9538
9539 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
9540
9541 * progmodes/sql.el (sql-connect-mysql): Fix typo.
9542
9543 2010-06-14 Juri Linkov <juri@jurta.org>
9544
9545 Add sort option `list-colors-sort'. (Bug#6332)
9546 * facemenu.el (color-rgb-to-hsv): New function.
9547 (list-colors-sort): New defcustom.
9548 (list-colors-sort-key): New function.
9549 (list-colors-display): Doc fix. Sort list according to the option
9550 `list-colors-sort'.
9551 (list-colors-print): Add HSV values to `help-echo' property of
9552 RGB strings.
9553
9554 2010-06-14 Juri Linkov <juri@jurta.org>
9555
9556 * compare-w.el: Move to the "vc" subdirectory.
9557
9558 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9559
9560 * image-mode.el (image-mode-map): Remap left-char and right-char.
9561
9562 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
9563
9564 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
9565
9566 * term/common-win.el (x-colors): Add all the color names defined
9567 in rgb.txt (Bug#6332).
9568
9569 * facemenu.el (list-colors-print): Don't print extra names if it
9570 will overflow the window width.
9571
9572 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
9573 change (Bug#6343).
9574
9575 2010-06-12 Eli Zaretskii <eliz@gnu.org>
9576
9577 * files.el (make-directory): Doc fix (bug#6396).
9578
9579 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
9580
9581 * net/tramp.el (tramp-remote-process-environment): Protect version
9582 string by apostroph.
9583 (tramp-shell-prompt-pattern): Do not use a shy group in case of
9584 XEmacs.
9585 (tramp-file-name-for-operation): Add `call-process-region'.
9586 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
9587
9588 * net/tramp-compat.el (top): Do not autoload
9589 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
9590 only when `start-file-process' is not bound.
9591 (tramp-advice-file-expand-wildcards): Do not use
9592 `tramp-handle-file-remote-p'.
9593 (tramp-compat-make-temp-file): Handle the case, that
9594 `make-temp-file' has no third argument EXTENSION.
9595
9596 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
9597
9598 * makefile.w32-in (WINS_BASIC): Include new directory vc.
9599
9600 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
9601
9602 2010-06-11 Juri Linkov <juri@jurta.org>
9603
9604 * finder.el (finder-known-keywords): Add keyword "vc"
9605 for version control.
9606
9607 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
9608 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
9609 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
9610 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
9611
9612 2010-06-11 Juri Linkov <juri@jurta.org>
9613
9614 Move version control related files to the "vc" subdirectory.
9615 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
9616 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
9617 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
9618 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
9619 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
9620 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
9621 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
9622 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
9623 Move files to the "vc" subdirectory.
9624
9625 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
9626
9627 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
9628 (Bug#6367).
9629
9630 2010-06-11 Stephen Eglen <stephen@gnu.org>
9631
9632 * shell.el: Bind `shell-resync-dirs' to M-RET.
9633
9634 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
9635
9636 * notifications.el: Move file from lisp/net, because it is
9637 supposed to talk locally to the user.
9638
9639 2010-06-10 Julien Danjou <julien@danjou.info>
9640
9641 * net/notifications.el (notifications-on-action-signal)
9642 (notifications-on-closed-signal): Pass notification id as first
9643 argument to the callback functions. Add docstrings.
9644 (notifications-notify): Fix docstring.
9645
9646 2010-06-10 Glenn Morris <rgm@gnu.org>
9647
9648 * emacs-lisp/authors.el (authors-ignored-files)
9649 (authors-valid-file-names): Add some files.
9650
9651 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
9652
9653 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
9654 merge conflict, giving preference to the emacs-23 version of the code.
9655
9656 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
9657
9658 * emacs-lisp/advice.el (ad-compile-function):
9659 Define warning-suppress-types before we let-bind it (bug#6275).
9660
9661 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
9662 declare it, make it buffer-local and permanent-local (bug#6324).
9663 (vc-resynch-window): Adjust name.
9664 * vc-hooks.el (vc-find-file-hook): Adjust name.
9665
9666 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
9667
9668 * net/notifications.el (notifications-notify): Fix docstring.
9669
9670 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
9671
9672 Update to Unicode 6.0.0 beta.
9673 * international/charprop.el: Update copyright.
9674 * international/mule-cmds.el (ucs-names): Update character ranges.
9675 * international/uni-bidi.el:
9676 * international/uni-category.el:
9677 * international/uni-combining.el:
9678 * international/uni-comment.el:
9679 * international/uni-decimal.el:
9680 * international/uni-decomposition.el:
9681 * international/uni-digit.el:
9682 * international/uni-lowercase.el:
9683 * international/uni-mirrored.el:
9684 * international/uni-name.el:
9685 * international/uni-numeric.el:
9686 * international/uni-old-name.el:
9687 * international/uni-titlecase.el:
9688 * international/uni-uppercase.el: Regenerate.
9689
9690 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
9691
9692 * emacs-lisp/smie.el (comment-string-strip): Declare function.
9693 (smie-precs-precedence-table): Fix typo in docstring.
9694
9695 * vc-mtn.el (log-edit-extract-headers): Declare function.
9696
9697 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
9698
9699 * net/notifications.el (dbus-register-signal): Declare function.
9700 (notifications-notify): Fix typos and reflow docstring.
9701
9702 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
9703
9704 Improve VC create/retrieve tag/branch.
9705 * vc.el (vc-create-tag): Do not read the directory name for VCs
9706 with repository revision granularity. Adjust the tag/branch
9707 prompt. Reset VC properties.
9708 (vc-retrieve-tag): Do not read the directory name for VCs
9709 with repository revision granularity. Reset VC properties.
9710
9711 2010-06-09 Julien Danjou <julien@danjou.info>
9712
9713 * net/notifications.el: New file.
9714
9715 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
9716
9717 Add optional support for resetting VC properties.
9718 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
9719 call vc-file-clearprops when true.
9720 (vc-resynch-buffer): Add new optional argument, pass it down.
9721 (vc-resynch-buffers-in-directory): Likewise.
9722
9723 Improve support for special markup in the VC commit message.
9724 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
9725 * vc-hg.el (vc-hg-checkin): Add support for Date:.
9726 * vc-git.el (vc-git-checkin):
9727 * vc-bzr.el (vc-bzr-checkin): Likewise.
9728
9729 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
9730
9731 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
9732 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
9733
9734 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
9735
9736 * iimage.el: Remove images as soon as the underlying text is modified.
9737 (iimage-modification-hook): New function.
9738 (iimage-mode-buffer): Use it.
9739
9740 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9741
9742 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
9743 smie-indent-offset-after. Add :prev case. Make a bit more generic.
9744 (smie-indent-virtual): Remove `virtual' arg. Update callers.
9745 (smie-indent-keyword): Add handling of open-paren keywords.
9746 (smie-indent-comment-continue): Don't assume comment-continue.
9747
9748 2010-06-07 Martin Rudalics <rudalics@gmx.at>
9749
9750 * window.el (pop-to-buffer): Remove the conditional that
9751 compares new-window and old-window, so it will reselect
9752 the selected window unconditionally.
9753 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
9754
9755 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9756
9757 * emacs-lisp/smie.el (smie-indent-offset-after)
9758 (smie-indent-forward-token, smie-indent-backward-token): New functions.
9759 (smie-indent-after-keyword): Use them.
9760 (smie-indent-fixindent): Only applies to the indentation of the BOL.
9761 (smie-indent-keyword): Tweak the black magic.
9762 (smie-indent-comment-continue): Strip comment-continue before use.
9763 (smie-indent-functions): Indent comments before keywords.
9764
9765 2010-06-06 Juri Linkov <juri@jurta.org>
9766
9767 * isearch.el (isearch-lazy-highlight-search): Fix looping
9768 by checking for empty match. This syncs this loop with the
9769 similar loop in `isearch-search'. (Bug#6362)
9770
9771 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
9772
9773 * net/dbus.el (dbus-register-method): Declare function.
9774 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
9775 (dbus-introspect): Doc fix.
9776 (dbus-event-bus-name, dbus-introspect-get-interface)
9777 (dbus-introspect-get-argument): Reflow docstrings.
9778
9779 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
9780
9781 vc-log-incoming/vc-log-outgoing fixes for Git.
9782 * vc-git.el (vc-git-log-view-mode): Fix font lock for
9783 incoming/outgoing logs.
9784 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
9785 instead of vc-git-compute-remote.
9786 (vc-git-compute-remote): Remove.
9787
9788 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
9789
9790 * term/common-win.el (x-colors): Add "dark green" and "dark
9791 turquoise" (Bug#6332).
9792
9793 2010-06-04 Juri Linkov <juri@jurta.org>
9794
9795 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
9796 Instead of setting `replace' to t and replacing the same string
9797 with itself, don't do certain actions when
9798 kill-do-not-save-duplicates is non-nil and string is equal to car
9799 of kill-ring: don't call menu-bar-update-yank-menu, don't push
9800 interprogram-paste strings to kill-ring, and don't push the input
9801 argument `string' to kill-ring.
9802 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
9803
9804 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
9805
9806 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
9807
9808 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
9809
9810 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
9811 (tramp-gvfs-handler-mounted-unmounted)
9812 (tramp-gvfs-connection-mounted-p): Handle default-location.
9813
9814 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
9815 move files to trash.
9816
9817 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
9818
9819 * international/mule-cmds.el (nonascii-insert-offset)
9820 (nonascii-translation-table): Add obsolescence information.
9821
9822 * international/mule.el (make-translation-table-from-vector): Doc fix.
9823
9824 2010-06-03 Glenn Morris <rgm@gnu.org>
9825
9826 * desktop.el (desktop-clear-preserve-buffers):
9827 Add "*Warnings*" buffer. (Bug#6336)
9828
9829 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
9830
9831 vc-log-incoming/vc-log-outgoing improvements for Git.
9832 * vc-git.el (vc-git-log-outgoing): Use the same format as the
9833 short log.
9834 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
9835
9836 Add bindings for vc-log-incoming and vc-log-outgoing.
9837 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
9838 and vc-log-outgoing.
9839 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
9840 and vc-log-outgoing.
9841
9842 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
9843
9844 * net/rcirc.el (rcirc-sort-nicknames): Remove.
9845 (rcirc-handler-366): Always sort nicknames.
9846
9847 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
9848
9849 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
9850
9851 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
9852
9853 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
9854
9855 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9856
9857 * net/rcirc.el (rcirc-sort-nicknames): Change default.
9858 (rcirc-sort-nicknames-join): Avoid setq.
9859
9860 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
9861
9862 * net/rcirc.el (rcirc-sort-nicknames): New custom.
9863 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
9864 (rcirc-handler-366): Use them.
9865
9866 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9867
9868 Split smie-indent-calculate into more manageable chunks.
9869 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
9870 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
9871 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
9872 (smie-indent-exps): Extract from smie-indent-calculate.
9873 (smie-indent-functions): New var.
9874 (smie-indent-functions): Use them.
9875
9876 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9877
9878 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
9879 (smie-indent-calculate): Simplify and cleanup.
9880
9881 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
9882
9883 * net/tramp-gvfs.el (top): Require url-util.
9884 (tramp-gvfs-mount-point): Remove.
9885 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
9886 New defuns.
9887 (with-tramp-dbus-call-method): Format trace message.
9888 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
9889 Implement backup call, when operation on local files fails.
9890 Use progress reporter. Flush properties of changed files.
9891 (tramp-gvfs-handle-make-directory): Make more traces.
9892 (tramp-gvfs-url-file-name): Hexify file name in url.
9893 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
9894 into account for the resulting file name.
9895 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
9896 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
9897 (tramp-gvfs-handler-mounted-unmounted)
9898 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
9899 attribute "default_location". Set "prefix" property.
9900 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
9901 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
9902 exists. Raise an error, if not (due to a corresponding answer
9903 "no" in interactive questions, for example).
9904
9905 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
9906
9907 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
9908
9909 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
9910
9911 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
9912 right-*. (Bug#6265)
9913
9914 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
9915
9916 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
9917 * vc-git.el (vc-git-compute-remote): New function.
9918 (vc-git-log-outgoing): Use it instead of hard coding a value.
9919 (vc-git-log-incoming): New function.
9920
9921 Improve state updating for VC tag commands.
9922 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
9923 to update the state of all buffers in the directory.
9924
9925 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
9926
9927 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9928
9929 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
9930 `file-directory-p' to the filename part rather than to the whole text.
9931
9932 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9933
9934 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
9935
9936 2010-05-31 Drew Adams <drew.adams@oracle.com>
9937
9938 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
9939
9940 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
9941
9942 * subr.el (momentary-string-display): Just use read-event to read
9943 the exit event (Bug#6238).
9944
9945 2010-05-30 Eli Zaretskii <eliz@gnu.org>
9946
9947 * international/mule.el (define-coding-system): Doc fix (bug#6313).
9948
9949 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
9950
9951 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
9952 Suggested by Eli Zaretskii <eliz@gnu.org>.
9953
9954 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9955
9956 * minibuffer.el (completion-file-name-table): Don't return a boundary
9957 past the end of `string' (bug#6299).
9958 (completion--file-name-table): Delegate to completion-file-name-table
9959 for the `boundaries' case.
9960
9961 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
9962
9963 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
9964 movement commands.
9965
9966 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
9967 `path-separator', but maintain compatibility with Emacs 20.2.
9968
9969 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
9970
9971 * server.el (server-process-filter): Receive parent-id argument
9972 from emacsclient.
9973 (server-create-window-system-frame): New arg. Pass parent-id as
9974 frame parameter.
9975
9976 2010-05-29 Eli Zaretskii <eliz@gnu.org>
9977
9978 Bidi-sensitive word movement with arrow keys.
9979 * subr.el (right-arrow-command, left-arrow-command): Move to
9980 bindings.el.
9981
9982 * bindings.el (right-char, left-char): Move from subr.el and
9983 rename from right-arrow-command and left-arrow-command.
9984 (right-word, left-word): New functions.
9985 (global-map) <right>: Bind to right-char.
9986 (global-map) <left>: Bind to left-char.
9987 (global-map) <C-right>: Bind to right-word.
9988 (global-map) <C-left>: Bind to left-word.
9989
9990 * ls-lisp.el (ls-lisp-classify-file): New function.
9991 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
9992 (ls-lisp-classify): Call ls-lisp-classify-file.
9993 (insert-directory): Remove blanks from switches.
9994
9995 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
9996
9997 * ansi-color.el: Delete unused escape sequences (Bug#6085).
9998 (ansi-color-drop-regexp): New constant.
9999 (ansi-color-apply, ansi-color-filter-region)
10000 (ansi-color-apply-on-region): Delete unrecognized control sequences.
10001 (ansi-color-apply): Build string list before calling concat.
10002
10003 2010-05-28 Juri Linkov <juri@jurta.org>
10004
10005 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10006 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
10007 (Bug#5270)
10008
10009 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
10010
10011 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
10012 to ignored backtrace functions.
10013 (with-progress-reporter): Expand docstring.
10014 (tramp-handle-delete-file): Implement TRASH argument.
10015 (tramp-get-remote-trash): New defun.
10016
10017 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
10018
10019 * net/tramp-compat.el (tramp-compat-delete-file):
10020 Use `symbol-value' for backward compatibility.
10021
10022 * net/tramp.el (tramp-handle-make-symbolic-link)
10023 (tramp-handle-load)
10024 (tramp-do-copy-or-rename-file-via-buffer)
10025 (tramp-do-copy-or-rename-file-directly)
10026 (tramp-do-copy-or-rename-file-out-of-band)
10027 (tramp-handle-process-file, tramp-handle-call-process-region)
10028 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10029 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10030 (tramp-delete-temp-file-function): Use `delete-file' instead
10031 of `tramp-compat-delete-file'.
10032
10033 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
10034 (tramp-fish-handle-make-symbolic-link)
10035 (tramp-fish-handle-process-file): Use `delete-file' instead
10036 of `tramp-compat-delete-file'.
10037
10038 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
10039 Use `delete-file' instead of `tramp-compat-delete-file'.
10040
10041 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Use
10042 `delete-file' instead of `tramp-compat-delete-file'.
10043
10044 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
10045 Use `delete-file' instead of `tramp-compat-delete-file'.
10046
10047 * net/tramp-smb.el (tramp-smb-handle-copy-file)
10048 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10049 (tramp-smb-handle-write-region): Use `delete-file' instead of
10050 `tramp-compat-delete-file'.
10051 (tramp-smb-handle-delete-directory): Use 'trash as arg.
10052
10053 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
10054
10055 * dired.el (dired-delete-file): New arg TRASH.
10056 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
10057 (dired-do-flagged-delete, dired-do-delete): Use trash.
10058
10059 * speedbar.el (speedbar-item-delete): Allow trashing.
10060
10061 * files.el (delete-directory): New arg TRASH.
10062
10063 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
10064 (ange-ftp-rename-remote-to-remote)
10065 (ange-ftp-rename-local-to-remote)
10066 (ange-ftp-rename-remote-to-local, ange-ftp-load)
10067 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
10068 `delete-file'.
10069 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
10070 allow trashing.
10071
10072 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
10073 handle new TRASH arg of `delete-file'.
10074
10075 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
10076 (tramp-handle-make-symbolic-link, tramp-handle-load)
10077 (tramp-do-copy-or-rename-file-via-buffer)
10078 (tramp-do-copy-or-rename-file-directly)
10079 (tramp-do-copy-or-rename-file-out-of-band)
10080 (tramp-handle-process-file, tramp-handle-call-process-region)
10081 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10082 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10083 (tramp-delete-temp-file-function): Use null TRASH arg in
10084 tramp-compat-delete-file call.
10085
10086 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
10087 (tramp-fish-handle-delete-file)
10088 (tramp-fish-handle-make-symbolic-link)
10089 (tramp-fish-handle-process-file): Use null TRASH arg in
10090 `tramp-compat-delete-file' call.
10091
10092 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
10093 arg in `tramp-compat-delete-file' call.
10094
10095 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
10096 (tramp-gvfs-handle-write-region): Use null TRASH arg in
10097 `tramp-compat-delete-file' call.
10098
10099 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
10100 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
10101 `tramp-compat-delete-file' call.
10102
10103 * net/tramp-smb.el (tramp-smb-handle-copy-file)
10104 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10105 (tramp-smb-handle-write-region): Use null TRASH arg in
10106 tramp-compat-delete-file call.
10107 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
10108 (tramp-smb-handle-delete-file): Rename arg.
10109
10110 * diff.el (diff-sentinel):
10111 * epg.el (epg--make-temp-file, epg-decrypt-string)
10112 (epg-verify-string, epg-sign-string, epg-encrypt-string):
10113 * jka-compr.el (jka-compr-partial-uncompress)
10114 (jka-compr-call-process, jka-compr-write-region):
10115 * server.el (server-sentinel): Remove optional arg from
10116 delete-file, reverting 2010-05-03 change.
10117
10118 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
10119
10120 * progmodes/verilog-mode.el (verilog-type-font-keywords):
10121 Use font-lock-constant-face, not obsolete font-lock-reference-face.
10122
10123 2010-05-27 Kenichi Handa <handa@m17n.org>
10124
10125 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
10126 element of GSTRING is nil.
10127
10128 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10129
10130 * emacs-lisp/smie.el (smie-forward-token-function)
10131 (smie-backward-token-function): New vars.
10132 (smie-backward-sexp, smie-forward-sexp)
10133 (smie-indent-hanging-p, smie-indent-calculate): Use them.
10134 (smie-default-backward-token): Rename from smie-backward-token and
10135 skip comments.
10136 (smie-default-forward-token): Rename from smie-forward-token and
10137 skip comments.
10138 (smie-next-sexp): Handle nil results from next-token.
10139 (smie-indent-calculate): Add a new case for special `fixindent' comments.
10140
10141 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
10142
10143 * progmodes/verilog-mode.el (verilog-type-font-keywords):
10144 Use font-lock-constant-face, not obsolete font-lock-reference-face.
10145
10146 2010-05-27 Masatake YAMATO <yamato@redhat.com>
10147
10148 * htmlfontify.el (hfy-face-resolve-face): New function.
10149 (hfy-face-to-style): Use it (Bug#6279).
10150
10151 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
10152
10153 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
10154 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
10155
10156 2010-05-26 Glenn Morris <rgm@gnu.org>
10157
10158 * emulation/edt.el (edt-load-keys): Use locate-library.
10159
10160 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
10161
10162 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
10163 (log-edit-changelog-entries): Doc fix.
10164 (log-edit-changelog-insert-entries): Args changed.
10165 Rename relative filenames in ChangeLog entries. Delete tabs.
10166 (log-edit-insert-changelog-entries): Reorganize return value of
10167 `log-edit-changelog-entries' to pass filenames to
10168 log-edit-changelog-insert-entries.
10169
10170 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10171
10172 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
10173 `image-dired-dired-insert-marked-thumbs' to
10174 `image-dired-dired-toggle-marked-thumbs'.
10175
10176 * image-dired.el: Require cl when compiling.
10177 (image-dired-dired-toggle-marked-thumbs): Rename from
10178 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
10179 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
10180 to 'no-dir. Skip files whose names don't match
10181 `image-file-name-regexp'. When file has a thumbnail overlay,
10182 delete it. (Bug#5270)
10183
10184 2010-05-25 Juri Linkov <juri@jurta.org>
10185
10186 * image-mode.el (image-mode): Add image-after-revert-hook to
10187 after-revert-hook.
10188 (image-after-revert-hook): New function. (Bug#5669)
10189
10190 2010-05-25 Juri Linkov <juri@jurta.org>
10191
10192 * image.el (image-animated-p): When delay between animated images
10193 is 0, set it to 10 (0.1 sec). (Bug#6258)
10194
10195 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
10196
10197 * net/tramp.el (tramp-handle-insert-directory): Don't use
10198 `forward-word', its default syntax could be changed.
10199
10200 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
10201
10202 * net/tramp.el (tramp-progress-reporter-update): New defun.
10203 (with-progress-reporter): Use it.
10204 (tramp-process-actions):
10205 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
10206 Preserve current message, in order to let progress reporter continue
10207 afterwards. (Bug#6257)
10208
10209 2010-05-25 Glenn Morris <rgm@gnu.org>
10210
10211 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
10212 Add :version.
10213
10214 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
10215
10216 * net/rcirc.el (rcirc-default-user-name): Change to "user".
10217 (rcirc-default-full-name): Change to "unknown".
10218 (rcirc-user-name-history): Add variable.
10219
10220 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
10221 Jonathan Rockway <jon@jrock.us>
10222
10223 * net/rcirc.el (rcirc-server-alist): Add :pass.
10224 (rcirc): When prompting for connection parameters, also prompt for
10225 username and password.
10226 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
10227 value to server when connecting.
10228
10229 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10230
10231 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
10232 (smie-merge-prec2s): Pass the tables as separate args.
10233 (smie-bnf-precedence-table): Adjust call accordingly.
10234 (smie-prec2-levels): Set levels at the end.
10235
10236 Replace Lisp calls to delete-backward-char by delete-char.
10237 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
10238 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
10239 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
10240 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
10241 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
10242 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
10243 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
10244 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
10245 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
10246 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
10247 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
10248 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
10249 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
10250 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
10251 delete-backward-char by calls to delete-char.
10252
10253 2010-05-25 Kenichi Handa <handa@m17n.org>
10254
10255 * language/hebrew.el (hebrew-shape-gstring): New function.
10256 Register it in composition-function-table for all Hebrew combining
10257 characters.
10258
10259 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10260
10261 * epa.el (epa--select-keys): Don't explicitly delete the window since
10262 that can fail (e.g. sole window in frame). Use dedication instead.
10263
10264 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
10265
10266 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
10267
10268 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
10269
10270 * image.el (image-refresh): Define as an alias for image-flush.
10271
10272 * image-mode.el (image-toggle-display-image): Caller changed.
10273
10274 2010-05-21 Juri Linkov <juri@jurta.org>
10275
10276 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
10277 Remove "all" from grep-files-aliases. Split grep-files-aliases by
10278 whitespace, call wildcard-to-regexp on substrings and concat them
10279 with "\\|". (Bug#6114)
10280
10281 2010-05-21 Alan Mackenzie <acm@muc.de>
10282
10283 * progmodes/cc-engine.el (c-parse-state-get-strategy):
10284 Replace parameter `here' with `here-' and `here-plus', which sandwich
10285 any pertinent CPP construct.
10286 (c-remove-stale-state-cache-backwards): Fix a bug which happens
10287 when doing (c-parse-state) in a CPP construct: Exclude any "new"
10288 CPP construct from taking part in the scanning.
10289
10290 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
10291
10292 * net/tramp.el (tramp-do-copy-or-rename-file)
10293 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
10294 Tune `with-progress-reporter' messages.
10295 (tramp-handle-vc-registered):
10296 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
10297 (tramp-fish-handle-insert-file-contents)
10298 (tramp-fish-maybe-open-connection):
10299 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10300 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
10301 (tramp-imap-handle-insert-file-contents)
10302 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
10303
10304 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
10305
10306 * add-log.el (change-log-font-lock-keywords):
10307 Highlight all authors in multi-author entries.
10308
10309 * smerge-mode.el (smerge-refine-ignore-whitespace)
10310 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
10311 Fix typos in docstrings.
10312 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
10313
10314 2010-05-21 Glenn Morris <rgm@gnu.org>
10315
10316 * progmodes/fortran.el (fortran-mode):
10317 * progmodes/f90.el (f90-mode): Derive from prog-mode.
10318
10319 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
10320 having a relative path in src/Makefile.in.
10321
10322 2010-05-20 Kevin Ryde <user42@zip.com.au>
10323
10324 * help-mode.el (help-make-xrefs): For Info node links turn
10325 newlines into spaces. Link node names with newlines are matched
10326 by help-xref-info-regexp and buttonized, this change ensures they
10327 can be followed successfully with RET. (Bug#6206)
10328
10329 2010-05-20 Juri Linkov <juri@jurta.org>
10330
10331 * locate.el (locate): Use pop-to-buffer instead of
10332 switch-to-buffer-other-window. (Bug#6204)
10333
10334 2010-05-20 Juri Linkov <juri@jurta.org>
10335
10336 * replace.el (replace-highlight): Fix lazy-highlighting
10337 for `M-s w str M-% str RET'.
10338
10339 2009-12-15 Masatake YAMATO <yamato@redhat.com>
10340
10341 * isearch.el (isearch-yank-word-or-char): Pull next subword
10342 when `subword-mode' is activated. (Bug#6220)
10343
10344 2010-05-20 Mark A. Hershberger <mah@everybody.org>
10345
10346 * isearch.el (isearch-update-post-hook): New hook.
10347 (isearch-update): Use the new hook. (Bug#6225)
10348
10349 2010-05-20 Juri Linkov <juri@jurta.org>
10350
10351 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
10352 [f1], [help], and (char-to-string help-char) instead of "\C-h".
10353 (Bug#6222)
10354
10355 2010-05-20 Juri Linkov <juri@jurta.org>
10356
10357 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
10358 (Bug#6223)
10359
10360 2010-05-20 Juri Linkov <juri@jurta.org>
10361
10362 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
10363 FILE-NAME to read from the minibuffer when called interactively
10364 with prefix argument instead of using buffer-file-name.
10365 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
10366
10367 * dired.el: Update autoloads.
10368
10369 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
10370
10371 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
10372 nxml-finish-element, for consistency with SGML mode.
10373
10374 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
10375 octave-close-block.
10376
10377 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
10378
10379 * composite.el: Require cl when compiling.
10380 (reference-point-alist, compose-gstring-for-graphic)
10381 (compose-gstring-for-terminal): Fix typos in docstrings.
10382
10383 2010-05-19 Juri Linkov <juri@jurta.org>
10384
10385 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
10386 set-window-parameter.
10387
10388 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
10389
10390 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
10391 where appropriate.
10392 (tramp-maybe-open-connection): Use it.
10393
10394 2010-05-19 Eli Zaretskii <eliz@gnu.org>
10395
10396 * simple.el (move-end-of-line): Make sure we are at line beginning
10397 before backing up to end of previous line.
10398
10399 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
10400
10401 * password-cache.el (password-cache-remove): Fix docstring.
10402
10403 * net/secrets.el: Autoload the widget functions.
10404 (secrets-search-items, secrets-create-item)
10405 (secrets-get-attributes, secrets-expand-item): Attributes will be
10406 stored on the password database without leading ":", as all other
10407 clients do as well.
10408 (secrets-mode): Fix docstring.
10409 (secrets-show-secrets): Provide it as autoloaded command only when
10410 D-Bus support is available. Check existence of Secret Service API.
10411
10412 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
10413
10414 * indent.el (indent-region): Deactivate region (bug#6200).
10415
10416 2010-05-19 Glenn Morris <rgm@gnu.org>
10417
10418 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
10419
10420 2010-05-19 Kenichi Handa <handa@m17n.org>
10421
10422 * composite.el: Register compose-gstring-for-graphic in
10423 composition-function-table only for combining characters (Mn, Mc, Me).
10424
10425 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
10426
10427 * calc/calc-trail.el (calc-trail-isearch-forward)
10428 (calc-trail-isearch-backward): Ensure that the new window
10429 point is set correctly.
10430
10431 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10432
10433 * subr.el (read-quoted-char): Resolve modifiers after key
10434 remapping (bug#6212).
10435
10436 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
10437
10438 Add visualization code for secrets.
10439 * net/secrets.el (secrets-mode): New major mode.
10440 (secrets-show-secrets, secrets-show-collections)
10441 (secrets-expand-collection, secrets-expand-item)
10442 (secrets-tree-widget-after-toggle-function)
10443 (secrets-tree-widget-show-password): New defuns.
10444
10445 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10446
10447 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
10448 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
10449 handled in smie-next-sexp.
10450 (smie-indent-calculate): Provide a starting indentation (so the
10451 recursion is well-founded ;-).
10452
10453 Fix handling of non-associative equal levels.
10454 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
10455 when it's not needed.
10456 (smie-op-left, smie-op-right): New functions.
10457 (smie-next-sexp): New function, extracted from smie-backward-sexp.
10458 Better handle equal levels to distinguish the associative case from
10459 the "multi-keyword construct" case.
10460 (smie-backward-sexp, smie-forward-sexp): Use it.
10461
10462 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
10463
10464 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
10465
10466 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
10467 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
10468
10469 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10470
10471 Provide a simple generic indentation engine and use it for Prolog.
10472 * emacs-lisp/smie.el: New file.
10473 * progmodes/prolog.el (prolog-smie-op-levels)
10474 (prolog-smie-indent-rules): New var.
10475 (prolog-mode-variables): Use them to configure SMIE.
10476 (prolog-indent-line, prolog-indent-level): Remove.
10477
10478 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10479
10480 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
10481 order before computing the averages.
10482
10483 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
10484
10485 * calc/calc-vec.el (calc-histogram):
10486 (calcFunc-histogram): Allow vectors as inputs.
10487 (math-vector-avg): New function.
10488
10489 * calc/calc-ext.el (math-group-float): Have the number of digits
10490 being grouped depend on the radix (Bug#6189).
10491
10492 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
10493
10494 * version.el (emacs-copyright, emacs-version): Don't define here,
10495 now that emacs.c defines it.
10496
10497 2010-05-15 Eli Zaretskii <eliz@gnu.org>
10498
10499 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
10500 "Describe Language Environment" menu item.
10501
10502 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
10503
10504 Bidi-sensitive movement with arrow keys.
10505 * subr.el (right-arrow-command, left-arrow-command): New functions.
10506
10507 * bindings.el (global-map): Bind them to right and left arrow keys.
10508
10509 Don't override standard definition of convert-standard-filename.
10510 * files.el (convert-standard-filename):
10511 Call w32-convert-standard-filename and dos-convert-standard-filename on
10512 the corresponding systems.
10513
10514 * w32-fns.el (w32-convert-standard-filename): Rename from
10515 convert-standard-filename. Doc fix.
10516
10517 * dos-fns.el (dos-convert-standard-filename): Doc fix.
10518 (convert-standard-filename): Don't defalias.
10519 (register-name-alist, make-register, register-value)
10520 (set-register-value, intdos): Obsolete aliases for the
10521 corresponding dos-* functions and variables.
10522 (dos-intdos): Add a doc string.
10523
10524 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
10525
10526 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
10527 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
10528 (math-compose-tex-func):
10529 * calc/calccomp.el (math-compose-expr):
10530 * calc/calc-ext.el (math-format-flat-expr-fancy):
10531 * calc/calc-store.el (calc-read-var-name):
10532 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
10533
10534 * calc/calc.el (var-π, var-φ, var-γ): New variables.
10535 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
10536 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
10537 (math-standard-units): Add units.
10538
10539 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10540
10541 * progmodes/asm-mode.el (asm-mode):
10542 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
10543
10544 * pcomplete.el (pcomplete-completions-at-point): New function,
10545 extracted from pcomplete-std-complete.
10546 (pcomplete-std-complete): Use it.
10547
10548 2010-05-15 Glenn Morris <rgm@gnu.org>
10549
10550 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10551 Remove references to CVS, RCS and Old directories.
10552
10553 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
10554
10555 * calc/calc-bin.el (math-format-twos-complement): Group digits when
10556 appropriate.
10557
10558 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
10559
10560 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
10561 (sh-mode-syntax-table): Give it a default value instead.
10562 (sh-header-marker): Make buffer-local.
10563 (sh-mode): Move make-local-variable to the corresponding setq.
10564 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
10565 Use complete-with-action.
10566
10567 * simple.el (prog-mode): New (abstract) major mode.
10568 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
10569 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
10570
10571 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
10572
10573 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
10574 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
10575 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
10576 (sql-make-alternate-buffer-name, sql-placeholders-filter)
10577 (sql-escape-newlines-filter, sql-input-sender)
10578 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
10579
10580 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
10581
10582 Add TeX open-block and close-block keybindings to SGML, and vice versa.
10583
10584 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
10585 latex-open-block and C-c / to latex-close-block.
10586
10587 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
10588 and C-c C-e to sgml-close-tag.
10589
10590 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
10591
10592 * net/tramp.el (with-progress-reporter): Create reporter object
10593 only when the message would be displayed. Handle nested calls.
10594 (tramp-handle-load, tramp-handle-file-local-copy)
10595 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10596 (tramp-maybe-send-script, tramp-find-shell):
10597 Use `with-progress-reporter'.
10598 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
10599 Fix message text.
10600
10601 * net/tramp-smb.el (tramp-smb-handle-copy-file)
10602 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10603 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
10604 Use `with-progress-reporter'.
10605
10606 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
10607
10608 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
10609 process everytime when spellchecking from the minibuffer (bug#6143).
10610
10611 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10612
10613 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
10614
10615 * dos-fns.el: Add "dos-" prefix for namespace control.
10616 (convert-standard-filename): Define as alias for
10617 dos-convert-standard-filename but only if applicable.
10618
10619 2010-05-12 Alan Mackenzie <acm@muc.de>
10620
10621 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
10622 Push the mark at the start of these functions when appropriate.
10623
10624 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10625
10626 * minibuffer.el (completion-cycle-threshold): New custom var.
10627 (completion--do-completion): Use it.
10628 (minibuffer-complete): Use cycling if appropriate.
10629
10630 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
10631
10632 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
10633 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
10634
10635 2010-05-11 Juri Linkov <juri@jurta.org>
10636
10637 * scroll-all.el (scroll-all-check-to-scroll):
10638 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
10639
10640 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
10641
10642 * iimage.el (iimage-mode-map): Move initialization into declaration.
10643 (iimage-mode-buffer): Use with-silent-modifications.
10644 Simplify calling convention. Adjust callers.
10645 (iimage-mode): Don't run hook redundantly.
10646
10647 * minibuffer.el (completion-pcm--pattern->regex):
10648 Fix last change (bug#6160).
10649
10650 2010-05-10 Juri Linkov <juri@jurta.org>
10651
10652 Remove nodes visited during Isearch from the Info history.
10653 * info.el (Info-isearch-initial-history)
10654 (Info-isearch-initial-history-list): New variables.
10655 (Info-isearch-start): Record initial values of
10656 Info-isearch-initial-history and Info-isearch-initial-history-list.
10657 Add Info-isearch-end to isearch-mode-end-hook.
10658 (Info-isearch-end): New function.
10659
10660 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
10661
10662 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
10663 format string, in order to work around a bug in pdksh.
10664 Reported by Gilles Pion <gpion@lfdj.com>.
10665 (tramp-handle-verify-visited-file-modtime): Do not send a command
10666 when the connection is not established.
10667 (tramp-handle-set-file-times): Simplify the check for utc.
10668
10669 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
10670
10671 Fix use of `filter-buffer-substring' (rework previous change).
10672 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
10673 (cua-repeat-replace-region):
10674 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
10675 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
10676 (cua-cut-region-to-global-mark): Use it.
10677
10678 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
10679
10680 * progmodes/sql.el: Version 2.1.
10681 (sql-product-alist): Redesign structure of product info.
10682 (sql-product, sql-user, sql-server, sql-database): Safe variables.
10683 (sql-port, sql-port-history): New variables.
10684 (sql-interactive-product): New variable.
10685 (sql-send-terminator): New variable.
10686 (sql-imenu-generic-expression): Add "Types" imenu entry.
10687 (sql-oracle-login-params, sql-sqlite-login-params)
10688 (sql-mysql-login-params, sql-solid-login-params)
10689 (sql-sybase-login-params, sql-informix-login-params)
10690 (sql-ingres-login-params, sql-ms-login-params)
10691 (sql-postgres-login-params, sql-interbase-login-params)
10692 (sql-db2-login-params, sql-linter-login-params)
10693 (sql-oracle-scan-on): New variables.
10694 (sql-mode-map): Add C-c C-i to start interactive mode.
10695 (sql-mode-menu): Update existing menu entries.
10696 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
10697 (sql-mode-oracle-font-lock-keywords)
10698 (sql-mode-postgres-font-lock-keywords)
10699 (sql-mode-ms-font-lock-keywords)
10700 (sql-mode-sybase-font-lock-keywords)
10701 (sql-mode-informix-font-lock-keywords)
10702 (sql-mode-interbase-font-lock-keywords)
10703 (sql-mode-ingres-font-lock-keywords)
10704 (sql-mode-solid-font-lock-keywords)
10705 (sql-mode-mysql-font-lock-keywords)
10706 (sql-mode-sqlite-font-lock-keywords)
10707 (sql-mode-db2-font-lock-keywords)
10708 (sql-mode-linter-font-lock-keywords): Update initialization to
10709 reduce run-time complexity.
10710 (sql-add-product, sql-del-product): New functions.
10711 (sql-set-product-feature, sql-get-product-feature): New functions.
10712 (sql-product-font-lock): Update product API.
10713 (sql-add-product-keywords): New function.
10714 (sql-highlight-product): Update product API.
10715 (sql-help-list-products): New function.
10716 (sql-help): Dynamically lists free and non-free products.
10717 (sql-get-login): Correct bug in handling history and added
10718 prompt for port.
10719 (sql-copy-column): Copy without properties.
10720 (sqli-input-sender): Apply filters to SQLi input.
10721 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
10722 Implement as a filter.
10723 (sql-escape-newlines-filter): Implement as a filter.
10724 (sql-remove-tabs-filter): New function.
10725 (sql-send-magic-terminator): New function.
10726 (sql-send-string): Implement magic terminator.
10727 (sql-send-region): Use `sql-send-string'.
10728 (sql-interactive-mode): Use product API.
10729 (sql-product-interactive): Use product API.
10730 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
10731 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
10732 (sql-db2, sql-linter): Use `sql-product-interactive'.
10733 (sql-connect): New function.
10734 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
10735 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
10736 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
10737 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
10738 Use `sql-connect'.
10739
10740 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10741
10742 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
10743 New custom variable.
10744 (completion-pcm--string->pattern): Use it.
10745 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
10746 Make it handle any symbol as `any'.
10747 (completion-pcm--merge-completions): Extract common suffix for the new
10748 `prefix' symbol as well.
10749 (completion-substring--all-completions): Use the new `prefix' symbol.
10750
10751 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
10752
10753 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
10754 not bound.
10755 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
10756 (tramp-compat-funcall): New defmacro.
10757 (tramp-compat-line-beginning-position)
10758 (tramp-compat-line-end-position)
10759 (tramp-compat-temporary-file-directory)
10760 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
10761 (tramp-compat-copy-file, tramp-compat-copy-directory)
10762 (tramp-compat-delete-file, tramp-compat-delete-directory)
10763 (tramp-compat-number-sequence, tramp-compat-process-running-p)
10764 * net/tramp.el (top, with-progress-reporter)
10765 (tramp-rfn-eshadow-setup-minibuffer)
10766 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
10767 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
10768 (tramp-completion-mode-p, tramp-check-for-regexp)
10769 (tramp-open-connection-setup-interactive-shell)
10770 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
10771 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
10772 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
10773 * net/tramp-cmds.el (tramp-cleanup-all-connections)
10774 (tramp-reporter-dump-variable, tramp-load-report-modules)
10775 (tramp-append-tramp-buffers)
10776 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
10777
10778 * net/tramp-imap.el (top): Autoload `epg-make-context'.
10779
10780 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10781
10782 * progmodes/compile.el (compilation-buffer-modtime): Rename from
10783 buffer-modtime. Adjust users.
10784
10785 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
10786
10787 * international/mule.el (auto-coding-alist): Only purecopy
10788 car of each item, not the whole list (Bug#6083).
10789
10790 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
10791
10792 * progmodes/js.el (js-mode): Make paragraph variables local before
10793 calling c-setup-paragraph-variables (Bug#6071).
10794
10795 2010-05-08 Eli Zaretskii <eliz@gnu.org>
10796
10797 * composite.el (compose-region, reference-point-alist): Fix typos
10798 in the doc strings.
10799
10800 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
10801
10802 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
10803 gnuplot's "set" command.
10804
10805 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
10806
10807 * abbrev.el (last-abbrev-text): Doc fix.
10808 (abbrev-prefix-mark): Don't escape parenthesis.
10809
10810 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
10811
10812 * composite.el (find-composition): Doc fix.
10813
10814 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
10815
10816 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
10817 (sql-oracle-program, sql-sqlite-options)
10818 (sql-query-placeholders-and-send): Doc fixes.
10819 (sql-set-product, sql-interactive-mode): Reflow docstrings.
10820 (sql-imenu-generic-expression, sql-buffer)
10821 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
10822 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
10823 (sql-mode-sybase-font-lock-keywords)
10824 (sql-mode-informix-font-lock-keywords)
10825 (sql-mode-interbase-font-lock-keywords)
10826 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
10827 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
10828 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
10829 (sql-product-feature, sql-highlight-product)
10830 (comint-line-beginning-position, sql-rename-buffer)
10831 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
10832 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
10833 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
10834 Fix typos in docstrings.
10835
10836 2010-05-08 Juri Linkov <juri@jurta.org>
10837
10838 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
10839 property instead of `invisible' and `after-string' (bug#5998).
10840
10841 2010-05-08 Juri Linkov <juri@jurta.org>
10842
10843 * image-mode.el (image-mode-as-text): Fix typo in docstring.
10844
10845 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
10846
10847 * filecache.el (file-cache-add-directory-list)
10848 (file-cache-add-directory-recursively): Fix typos in docstrings.
10849
10850 2010-05-08 Kenichi Handa <handa@m17n.org>
10851
10852 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
10853 (gujarati-composable-pattern): Fix typo.
10854
10855 2010-05-08 Kenichi Handa <handa@m17n.org>
10856
10857 * language/indian.el (oriya-composable-pattern)
10858 (tamil-composable-pattern, malayalam-composable-pattern):
10859 Add two-part vowels to "v" (vowel sign).
10860
10861 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
10862
10863 * files.el (copy-directory): Handle symlinks (Bug#5982).
10864
10865 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
10866
10867 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
10868 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
10869 (Bug#5846).
10870
10871 2010-05-08 Glenn Morris <rgm@gnu.org>
10872
10873 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
10874
10875 * minibuffer.el (completion-at-point): Doc fix.
10876
10877 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10878
10879 * electric.el (Electric-command-loop): Minor tweak.
10880
10881 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
10882 better with dedicated windows.
10883
10884 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
10885
10886 * Version 23.2 released.
10887
10888 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
10889 Stefan Monnier <monnier@iro.umontreal.ca>
10890
10891 Highlight vendor specific properties.
10892 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
10893 (css-proprietary-property): New face.
10894 (css-font-lock-keywords): Use them.
10895
10896 2010-05-07 Eli Zaretskii <eliz@gnu.org>
10897
10898 * cus-start.el (all): Add native condition for tool-bar-* symbols.
10899
10900 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10901
10902 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
10903 * files.el (auto-mode-alist): Remove redundant entries.
10904
10905 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
10906 * simple.el (auto-save-mode): Move from files.el.
10907 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
10908
10909 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
10910
10911 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
10912
10913 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
10914
10915 * mail/binhex.el (binhex-decode-region-internal)
10916 * mail/uudecode.el (uudecode-decode-region-internal)
10917 * net/dns.el (dns-read-string-name, dns-write, dns-read)
10918 (dns-read-type, dns-query)
10919 * pgg-parse.el (pgg-parse-armor)
10920 * pgg.el (pgg-verify-region)
10921 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
10922 XEmacs.
10923
10924 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
10925
10926 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
10927
10928 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
10929
10930 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
10931 * emulation/cua-base.el (cua-repeat-replace-region):
10932 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
10933 (cua-cut-region-to-global-mark):
10934 Remove text properties with `set-text-properties'.
10935
10936 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
10937
10938 * net/tramp.el (top, with-progress-reporter):
10939 Use `symbol-function' inside `funcall'.
10940
10941 * net/tramp-compat.el (tramp-compat-file-attributes)
10942 (tramp-compat-delete-file, tramp-compat-delete-directory):
10943 Handle only `wrong-number-of-arguments' error.
10944
10945 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
10946 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
10947 inside `funcall'.
10948
10949 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10950
10951 * minibuffer.el (completion--sreverse, completion--common-suffix):
10952 New functions.
10953 (completion-pcm--merge-completions): Extract common suffix when safe.
10954
10955 * emacs-lisp/easy-mmode.el (define-minor-mode):
10956 Make :variable more flexible.
10957 * files.el (auto-save-mode): Use it to define using define-minor-mode.
10958
10959 2010-05-05 Juri Linkov <juri@jurta.org>
10960
10961 Add `slow' and `history' tags to the desktop data.
10962
10963 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
10964 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
10965 (Info-finder-find-node): Require `finder.el' to be able
10966 to restore node from the desktop.
10967 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
10968 data `Info-history' and `slow' tag in the assoc list.
10969 (Info-restore-desktop-buffer): Don't restore nodes with the
10970 `slow' tag. Restore `Info-history'.
10971
10972 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
10973
10974 Add FORCE argument to `delete-file'.
10975
10976 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
10977 forcing to delete the temporary file.
10978 (ange-ftp-delete-file): Add FORCE arg.
10979 (ange-ftp-rename-remote-to-remote)
10980 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
10981 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
10982 Force file deletion.
10983
10984 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
10985
10986 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
10987 (tramp-handle-make-symbolic-link, tramp-handle-load)
10988 (tramp-do-copy-or-rename-file-via-buffer)
10989 (tramp-do-copy-or-rename-file-directly)
10990 (tramp-do-copy-or-rename-file-out-of-band)
10991 (tramp-handle-process-file, tramp-handle-call-process-region)
10992 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10993 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10994 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
10995
10996 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
10997 (tramp-fish-handle-make-symbolic-link)
10998 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
10999
11000 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
11001 Use `tramp-compat-delete-file'.
11002
11003 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
11004 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
11005
11006 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
11007 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
11008
11009 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
11010 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
11011 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
11012 Use `tramp-compat-delete-file'.
11013
11014 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11015
11016 Minor cleanups.
11017 * subr.el (add-minor-mode): Use push.
11018 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
11019 * emulation/edt.el (edt-select-mode): Simplify.
11020
11021 Use define-minor-mode in more cases.
11022 * term/tvi970.el (tvi970-set-keypad-mode):
11023 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
11024 (normal-erase-is-backspace-mode):
11025 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
11026 (set-scroll-bar-mode-1): (Re)move to its sole caller.
11027 (get-scroll-bar-mode): New function.
11028 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
11029
11030 Use define-minor-mode for less obvious cases.
11031 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
11032 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
11033 * international/iso-ascii.el (iso-ascii-mode):
11034 * frame.el (auto-raise-mode, auto-lower-mode):
11035 * composite.el (global-auto-composition-mode): Use define-minor-mode.
11036
11037 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
11038
11039 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
11040 in order to see error messages for failed logins.
11041
11042 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
11043
11044 * diff.el (diff-sentinel):
11045
11046 * epg.el (epg--make-temp-file, epg-decrypt-string)
11047 (epg-verify-string, epg-sign-string, epg-encrypt-string):
11048
11049 * jka-compr.el (jka-compr-partial-uncompress)
11050 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
11051
11052 * server.el (server-sentinel): Use delete-file's new FORCE arg
11053 (Bug#6070).
11054
11055 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11056
11057 Use define-minor-mode where applicable.
11058 * view.el (view-mode):
11059 * type-break.el (type-break-query-mode)
11060 (type-break-mode-line-message-mode):
11061 * textmodes/reftex.el (reftex-mode):
11062 * term/vt100.el (vt100-wide-mode):
11063 * tar-mode.el (tar-subfile-mode):
11064 * savehist.el (savehist-mode):
11065 * ibuf-ext.el (ibuffer-auto-mode):
11066 * composite.el (auto-composition-mode):
11067 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11068 Use define-minor-mode.
11069 (vhdl-mode): Use static mode-line format.
11070 (vhdl-mode-line-update): Delete.
11071 (vhdl-create-mode-menu, vhdl-activate-customizations)
11072 (vhdl-hs-minor-mode): Don't bother calling it.
11073
11074 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
11075
11076 * simple.el (with-wrapper-hook): Move.
11077 (buffer-substring-filters): Mark obsolete.
11078 (filter-buffer-substring-functions): New variable.
11079 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
11080
11081 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
11082 Michael Albinus <michael.albinus@gmx.de>
11083
11084 Implement compression for inline methods.
11085
11086 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
11087 (tramp-copy-size-limit): Allow also nil.
11088 (tramp-inline-compress-commands): New defconst.
11089 (tramp-find-inline-compress, tramp-get-inline-compress)
11090 (tramp-get-inline-coding): New defuns.
11091 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
11092 replaced by `tramp-get-inline-coding'.
11093 (tramp-handle-file-local-copy, tramp-handle-write-region)
11094 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
11095
11096 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
11097
11098 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
11099 Remove unused functions.
11100
11101 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
11102 Set find-tag-default-function as a variable rather than a property.
11103
11104 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
11105 * progmodes/etags.el (tags-completion-at-point-function):
11106 Remove left over interactive spec. Add autoloading stub.
11107 (complete-tag): Use tags-completion-at-point-function.
11108
11109 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
11110
11111 * minibuffer.el (tags-completion-at-point-function): Fix return value.
11112
11113 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
11114
11115 * ido.el (ido-init-completion-maps): Remove C-v binding.
11116 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
11117
11118 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
11119
11120 * minibuffer.el (tags-completion-at-point-function): New function.
11121 (completion-at-point-functions): Use it.
11122
11123 * progmodes/etags.el (complete-tag): Revert last change.
11124
11125 2010-04-29 Alan Mackenzie <acm@muc.de>
11126
11127 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
11128 off-by-one error (in end of macro position).
11129
11130 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
11131
11132 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
11133 firefox is absent. Don't autoload.
11134 (browse-url-galeon-program): Don't autoload.
11135
11136 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
11137
11138 * bindings.el (complete-symbol): Move into minibuffer.el.
11139
11140 * minibuffer.el (complete-tag): Move from etags.el. If tags
11141 completion cannot be performed, return nil instead of signalling
11142 an error.
11143 (completion-at-point): Make it an alias for complete-symbol.
11144 (complete-symbol): Move from bindings.el, and replace with the
11145 body of completion-at-point.
11146
11147 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
11148
11149 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
11150
11151 * net/tramp.el (tramp-remote-selinux-p): New defun.
11152 (tramp-handle-file-selinux-context)
11153 (tramp-handle-set-file-selinux-context): Use it.
11154
11155 2010-04-28 Sam Steingold <sds@gnu.org>
11156
11157 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
11158 `safe-local-variable' if the value is a string or a symbol with
11159 the property `bug-reference-url-format'.
11160
11161 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
11162
11163 * progmodes/bug-reference.el (bug-reference-url-format):
11164 Revert 2010-04-27 change due to security risk.
11165
11166 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11167
11168 Make it possible to locally disable a globally enabled mode.
11169 * simple.el (fundamental-mode): Run fundamental-mode-hook.
11170 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
11171 rather than kill-all-local-variables so it runs fundamental-mode-hook.
11172 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11173 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
11174 that subsequent hooks get a chance to disable it.
11175
11176 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11177
11178 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11179 Avoid re-enabling a minor mode after the user turned the minor mode
11180 off if MODE-enable-in-buffers is run twice (typically once from
11181 fundamental-mode's after-change-major-mode-hook and a second time from
11182 run-mode-hook's own after-change-major-mode-hook).
11183
11184 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
11185
11186 2010-04-27 Sam Steingold <sds@gnu.org>
11187
11188 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
11189 `safe-local-variable' if the value is a string or a function, as
11190 documented and implemented on 2010-04-02.
11191
11192 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
11193
11194 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
11195 when method is 'kill.
11196
11197 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
11198
11199 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
11200 condition in default directory check.
11201 (ispell-init-process, ispell-kill-ispell, kill-buffer-hook):
11202 Kill ispell process when killing its associated buffer.
11203
11204 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
11205
11206 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
11207 but we aren't using it.
11208
11209 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
11210
11211 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
11212 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
11213
11214 2010-04-24 Glenn Morris <rgm@gnu.org>
11215
11216 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
11217 Ignore VCS-ignore files, and deleted nextstep preferences files.
11218 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
11219 (authors-ambiguous-files): New list.
11220 (authors-valid-file-names): Add some deleted files.
11221 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
11222 (authors-disambiguate-file-name): New function. (Bug#5501)
11223 (authors-canonical-file-name): Doc fix.
11224 Don't warn about obsolete files.
11225 (authors-canonical-file-name, authors-scan-el):
11226 Use authors-disambiguate-file-name.
11227
11228 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
11229 Add autoload cookies.
11230 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
11231 (generated-autoload-file): Set file-local value to "htmlfontify.el".
11232 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
11233 They have definitions / compiler macros in cl.el.
11234 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
11235 Replace manual autoloads with generated ones.
11236 (htmlfontify-unload-rgb-file): Remove autoload.
11237 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
11238
11239 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11240
11241 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
11242 (byte-compile-setq-default): Optimize for the
11243 single-var case and don't call byte-compile-form in this case to avoid
11244 inf-loop with byte-compile-set-default.
11245
11246 * progmodes/compile.el (compilation-start): Abbreviate default directory.
11247
11248 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
11249
11250 Implement SELINUX backends.
11251
11252 * net/tramp.el (tramp-file-name-handler-alist):
11253 Add `file-selinux-context' and `set-file-selinux-context'.
11254 (tramp-handle-file-selinux-context)
11255 (tramp-handle-set-file-selinux-context): New defuns.
11256 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
11257 Handle PRESERVE-SELINUX-CONTEXT.
11258
11259 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11260 Add `file-selinux-context' and `set-file-selinux-context'.
11261 (tramp-gvfs-handle-file-selinux-context)
11262 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
11263 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
11264
11265 * net/ange-ftp.el (ange-ftp-copy-file):
11266 * net/tramp-fish.el (tramp-fish-handle-copy-file):
11267 * net/tramp-imap.el (tramp-imap-handle-copy-file):
11268 * net/tramp-smb.el (tramp-smb-handle-copy-file):
11269 Add PRESERVE-SELINUX-CONTEXT.
11270
11271 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11272
11273 Synchronize with Tramp repository.
11274
11275 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
11276 (tramp-action-process-alive, tramp-action-out-of-band)
11277 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
11278 (tramp-exists-file-name-handler): Fix docstring.
11279 (with-progress-reporter): New defmacro.
11280 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
11281 (tramp-maybe-open-connection): Use it.
11282
11283 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
11284
11285 Detect ssh 'ControlMaster' argument automatically in some cases.
11286
11287 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
11288 (tramp-default-method): Use it.
11289
11290 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11291
11292 * net/tramp.el (tramp-handle-copy-file): Add new optional
11293 parameter `preserve-selinux-context'.
11294 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
11295
11296 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11297
11298 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
11299 Ensure, that non remote files are still checked. Oops.
11300
11301 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
11302
11303 Fix Bug#5840.
11304
11305 * icomplete.el (icomplete-completions): Use `non-essential'.
11306
11307 * net/tramp.el (tramp-connectable-p): New defun.
11308 (tramp-handle-expand-file-name)
11309 (tramp-completion-handle-file-name-all-completions)
11310 (tramp-completion-handle-file-name-completion): Use it.
11311
11312 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
11313
11314 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
11315
11316 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
11317
11318 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
11319
11320 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
11321
11322 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
11323 is present.
11324
11325 * info.el (info-tool-bar-map): Add labels.
11326
11327 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
11328
11329 * cus-edit.el (custom-commands): Add labels for tool bar.
11330 (custom-buffer-create-internal, Custom-mode): Adjust for
11331 labels in custom-commands.
11332
11333 * dynamic-setting.el: Renamed from font-setting.el.
11334
11335 2010-04-21 John Wiegley <jwiegley@gmail.com>
11336
11337 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
11338 toggles the use of virtual buffers.
11339 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
11340 (ido-toggle-virtual-buffers): New function.
11341
11342 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
11343
11344 Use `define-derived-mode'; fix window selection; doc fixes.
11345 * play/tetris.el (tetris, tetris-update-speed-function)
11346 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
11347 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
11348 (tetris-rotate-next, tetris-end-game, tetris-start-game)
11349 (tetris-pause-game): Fix typos in docstrings.
11350 (tetris-mode-map, tetris-null-map):
11351 Move initialization into declaration.
11352 (tetris-mode): Define with `define-derived-mode';
11353 set show-trailing-whitespace to nil.
11354 (tetris): Prefer window already displaying the "*Tetris*" buffer.
11355
11356 2010-04-21 Karel Klíč <kklic@redhat.com>
11357
11358 * files.el (backup-buffer): Handle SELinux context, and return it
11359 if a backup was made by renaming.
11360 (backup-buffer-copy): Set SELinux context to the target file.
11361 (basic-save-buffer): Set SELinux context of the newly written file.
11362 (basic-save-buffer-1): Now it also returns any SELinux context.
11363 (basic-save-buffer-2): Set SELinux context of the newly created file,
11364 and return it.
11365 * net/tramp.el (tramp-file-name-for-operation):
11366 Add file-selinux-context.
11367
11368 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
11369
11370 Make the log-edit comments use RFC822 format throughout.
11371
11372 * vc.el (vc-checkin, vc-modify-change-comment):
11373 Adjust to new vc-start/finish-logentry.
11374 (vc-find-conflicted-file): New command.
11375 (vc-transfer-file): Adjust to new vc-checkin.
11376 (vc-next-action): Improve scoping.
11377
11378 * vc-hg.el (vc-hg-log-edit-mode): Remove.
11379 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
11380
11381 * vc-git.el (vc-git-log-edit-mode): Remove.
11382 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
11383 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
11384
11385 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
11386 (vc-start-logentry): Remove argument `extra'.
11387 (vc-finish-logentry): Remove extra args.
11388
11389 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
11390 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
11391 (vc-bzr-conflicted-files): New function.
11392
11393 * log-edit.el (log-edit-extra-flags)
11394 (log-edit-before-checkin-process): Remove.
11395 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
11396 (log-edit-headers-alist): New var.
11397 (log-edit-header-contents-regexp): New const.
11398 (log-edit-match-to-eoh): New function.
11399 (log-edit-font-lock-keywords): Use them.
11400 (log-edit): Insert a "Summary:" header as default.
11401 (log-edit-mode): Mark font-lock rules as case-insensitive.
11402 (log-edit-done): Cleanup headers.
11403 (log-view-process-buffer): Remove.
11404 (log-edit-extract-headers): New function to replace it.
11405
11406 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
11407
11408 * subr.el (default-direction-reversed): Remove obsolescence info.
11409
11410 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11411
11412 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
11413 windows/frames.
11414
11415 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
11416 I.e. include text after point in the completion region.
11417 Also, return nil when we're not after/in a symbol.
11418
11419 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
11420 default enable-multibyte-characters.
11421
11422 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11423
11424 * international/mule.el: Help the user choose a valid coding-system.
11425 (read-buffer-file-coding-system): New function.
11426 (set-buffer-file-coding-system): Use it. Prompt the user if the
11427 coding-system cannot encode all the chars.
11428
11429 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
11430 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
11431 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
11432 Don't use *vc-bzr-shelve*.
11433
11434 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
11435
11436 Fix the version number for added files.
11437 * vc-hg.el (vc-hg-working-revision): Check if the file is
11438 registered after hg parent fails (Bug#5961).
11439
11440 2010-04-19 Glenn Morris <rgm@gnu.org>
11441
11442 * htmlfontify.el (htmlfontify-buffer)
11443 (htmlfontify-copy-and-link-dir): Autoload entry points.
11444
11445 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
11446
11447 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
11448 name relative to the project root (Bug#5960).
11449
11450 2010-04-19 Glenn Morris <rgm@gnu.org>
11451
11452 * vc-git.el (vc-git-print-log): Doc fix.
11453
11454 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
11455
11456 * ido.el (ido-file-internal): Fix 2009-12-02 change.
11457
11458 2010-04-19 Christoph Scholtes <cschol2112@googlemail.com>
11459
11460 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
11461 default settings (Bug#5928).
11462
11463 2010-04-19 Glenn Morris <rgm@gnu.org>
11464
11465 * progmodes/fortran.el (fortran-match-and-skip-declaration):
11466 New function.
11467 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
11468
11469 2010-04-19 Kenichi Handa <handa@m17n.org>
11470
11471 * language/indian.el (malayalam-composable-pattern): Fix previous
11472 change (add U+0D4D "SIGN VIRAMA").
11473 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
11474 (tamil-composable-pattern): Fix typo in the regexp.
11475 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
11476 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
11477 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
11478
11479 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
11480
11481 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
11482 paragraph-separate (Bug#5821).
11483
11484 2010-04-19 Juri Linkov <juri@jurta.org>
11485
11486 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
11487
11488 * info.el (Info-find-node-2): Comment out code that skips
11489 breadcrumbs line.
11490 (Info-mouse-follow-link): New command.
11491 (Info-link-keymap): New keymap.
11492 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
11493 Return a string with links instead of inserting breadcrumbs
11494 to the Info buffer.
11495 (Info-fontify-node): Comment out code that inserts breadcrumbs.
11496 Instead of putting the `invisible' text property over the Info
11497 header, make an overlay over the Info header with the `invisible'
11498 property and `after-string' set to the string returned by
11499 `Info-breadcrumbs'.
11500
11501 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
11502
11503 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
11504 Reported by monkey@sandpframing.com.
11505
11506 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11507
11508 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
11509 (tmm-get-keymap): Add key-binding shortcuts now that they're not
11510 available in the "keyseq cache" any more.
11511
11512 * custom.el (defcustom): Add edebug spec.
11513
11514 2010-04-18 Juri Linkov <juri@jurta.org>
11515
11516 Test for special mode-class in view-buffer instead of view-file (bug#5513).
11517
11518 * view.el (view-file, view-buffer): Move test for special mode-class
11519 from view-file to view-buffer.
11520
11521 * tar-mode.el (tar-extract): Turn if's into one cond
11522 like in arc-mode.el.
11523
11524 2010-04-18 Juri Linkov <juri@jurta.org>
11525
11526 Add 7z archive format support (bug#5475).
11527
11528 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
11529 (archive-7z-extract): New defcustom.
11530 (archive-find-type): Add magic string for 7z.
11531 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
11532 If `stderr-file' is non-nil, use `(t stderr-file)' for the
11533 `buffer' arg of `call-process'.
11534 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
11535 call the function `archive-7z-extract' with the variable
11536 `archive-7z-extract' let-bound to `archive-zip-extract'.
11537 (archive-7z-summarize, archive-7z-extract): New functions.
11538
11539 * international/mule.el (auto-coding-alist):
11540 * files.el (auto-mode-alist): Add 7z file extension.
11541
11542 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11543
11544 * loadup.el: Setup hash-cons for pure data.
11545
11546 Fix duplicate entries in cedet's loaddefs.el files.
11547 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
11548 Should make most file-local generated-autoload-file unnecessary.
11549 (print-readably): Silence warnings.
11550 (autoload-find-destination): Take load-name as an arg to make sure
11551 it's the same as the one that will be in the file.
11552 (autoload-generate-file-autoloads): Adjust to above changes.
11553 Try to make the dataflow a bit simpler.
11554
11555 * cvs-status.el (cvs-refontify): Remove unused.
11556
11557 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
11558
11559 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
11560
11561 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
11562 twos-complement mode.
11563
11564 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
11565
11566 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
11567 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
11568 (calc-inverse): Add "Option" to message, as appropriate.
11569 (calc-hyperbolic): Add "Option" to message, as appropriate.
11570 (calc-option, calc-is-option): New functions.
11571
11572 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
11573 (calc-option-prefix-help): New function.
11574
11575 * calc/calc-misc.el (calc-help): Add "Option" entry.
11576
11577 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
11578 (calc-option-flag): New variable.
11579 (calc-do): Set `calc-option-flag to nil.
11580 (calc-set-mode-line): Add "Opt " as appropriate.
11581
11582 2010-04-16 Juri Linkov <juri@jurta.org>
11583
11584 Move scrolling commands from simple.el to window.el
11585 because their primitives are implemented in window.c.
11586
11587 * simple.el (scroll-error-top-bottom)
11588 (scroll-up-command, scroll-down-command, scroll-up-line)
11589 (scroll-down-line, scroll-other-window-down)
11590 (beginning-of-buffer-other-window, end-of-buffer-other-window):
11591 * window.el (scroll-error-top-bottom)
11592 (scroll-up-command, scroll-down-command, scroll-up-line)
11593 (scroll-down-line, scroll-other-window-down)
11594 (beginning-of-buffer-other-window, end-of-buffer-other-window):
11595 Move from simple.el to window.el because their primitives are
11596 implemented in window.c.
11597
11598 2010-04-16 Juri Linkov <juri@jurta.org>
11599
11600 * isearch.el (isearch-lookup-scroll-key): Check both
11601 `isearch-scroll' and `scroll-command' properties.
11602 (scroll-up, scroll-down): Remove `isearch-scroll' property.
11603
11604 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
11605
11606 * simple.el (scroll-up-command, scroll-down-command)
11607 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
11608
11609 2010-04-15 Juri Linkov <juri@jurta.org>
11610
11611 * simple.el (scroll-up-command, scroll-down-command)
11612 (scroll-up-line, scroll-down-line): Put `scroll-command'
11613 property on the these symbols. Remove them from
11614 `scroll-preserve-screen-position-commands'.
11615
11616 * mwheel.el (mwheel-scroll): Put `scroll-command' and
11617 `isearch-scroll' properties on the `mwheel-scroll' symbol.
11618 Remove it from `scroll-preserve-screen-position-commands'.
11619
11620 * isearch.el (isearch-allow-scroll): Doc fix.
11621
11622 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
11623
11624 * net/tramp.el (tramp-error-with-buffer): Don't show the
11625 connection buffer when we are in completion mode.
11626 (tramp-file-name-handler): Catch the error for some operations
11627 when we are in completion mode. This gives the user the chance to
11628 correct the file name in the minibuffer.
11629
11630 2010-04-15 Glenn Morris <rgm@gnu.org>
11631
11632 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
11633
11634 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
11635
11636 Simplify by using `define-derived-mode'.
11637 * info.el (Info-mode):
11638 * calendar/todo-mode.el (todo-mode):
11639 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
11640 (gomoku-mode-map): Move initialization into declaration.
11641
11642 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
11643
11644 Fix Bug#5840.
11645 * ido.el (ido-file-name-all-completions-1):
11646 * minibuffer.el (minibuffer-completion-help):
11647 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
11648
11649 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11650
11651 * simple.el (non-essential): New var.
11652
11653 Add a new field `location' to bookmarks for non-file bookmarks.
11654 * bookmark.el (bookmark-location): Use the new field, if present.
11655 (bookmark-insert-location): Undo last change, not needed any more.
11656 * man.el (Man-bookmark-make-record):
11657 * woman.el (woman-bookmark-make-record): Add `location' field.
11658
11659 2010-04-14 Juri Linkov <juri@jurta.org>
11660
11661 * simple.el (scroll-error-top-bottom): New defcustom.
11662 (scroll-up-command, scroll-down-command): Use it. Doc fix.
11663
11664 * emulation/pc-select.el (pc-select-override-scroll-error):
11665 Obsolete in favor of `scroll-error-top-bottom'.
11666
11667 2010-04-14 Juri Linkov <juri@jurta.org>
11668
11669 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
11670 `scroll-up-command' and `M-v' to `scroll-down-command'.
11671
11672 * emulation/cua-rect.el (cua--init-rectangles):
11673 * forms.el (forms--change-commands):
11674 * image-mode.el (image-mode-map):
11675 Remap scroll-down-command and scroll-up-command
11676 in addition to scroll-down and scroll-up.
11677
11678 2010-04-14 Juri Linkov <juri@jurta.org>
11679
11680 * mwheel.el (scroll-preserve-screen-position-commands):
11681 Add mwheel-scroll to this list of commands.
11682
11683 * simple.el (scroll-preserve-screen-position-commands):
11684 Add scroll-up-command, scroll-down-command, scroll-up-line,
11685 scroll-down-line to this list of commands.
11686
11687 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
11688
11689 * obsolete/complete.el: Move from lisp/complete.el.
11690
11691 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
11692
11693 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
11694 to the minor mode function now turns the mode ON unconditionally.
11695
11696 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
11697
11698 * vc-dir.el (vc-dir-kill-line): New command.
11699 (vc-dir-mode-map): Bind it to C-k.
11700
11701 * bookmark.el (bookmark-insert-location): Handle a nil filename.
11702
11703 * woman.el: Add bookmark declarations to silence the compiler.
11704 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
11705 step to compatibility between man and woman bookmarks.
11706 Adjust for Man-default-bookmark-title renaming.
11707 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
11708
11709 * man.el: Add bookmark declarations to silence the compiler.
11710 (Man-name-local-regexp): Make it match NAME as well.
11711 (Man-getpage-in-background): Return the buffer.
11712 (Man-notify-when-ready): Use `case'.
11713 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
11714 Don't hardcode "NAME". Simplify.
11715 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
11716 Rename from Man-bookmark-make-record.
11717 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
11718 we have the actual man-args. Use Man-getpage-in-background rather
11719 than `man' since the arg is already processed. Let bookmark.el do the
11720 window handling. Only wait for the relevant process.
11721 Don't forget to autoload.
11722
11723 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
11724
11725 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11726
11727 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
11728 New functions.
11729 (woman-mode): Setup bookmark support.
11730
11731 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
11732 (man-bookmark-jump): New functions.
11733 (Man-mode): Setup bookmark support.
11734
11735 2010-04-10 Jari Aalto <jari.aalto@cante.net>
11736
11737 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
11738 recognize ssh-keygen prompt (Bug#2817).
11739
11740 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
11741
11742 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
11743
11744 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
11745
11746 Synchronize with Tramp repository.
11747
11748 * net/tramp.el (tramp-completion-function-alist)
11749 (tramp-file-name-regexp, tramp-chunksize)
11750 (tramp-local-coding-commands, tramp-remote-coding-commands):
11751 Fix docstring.
11752 (tramp-remote-process-environment): Use `format' instead of `concat'.
11753 (tramp-handle-directory-files-and-attributes)
11754 (tramp-get-remote-path): Use `copy-tree'.
11755 (tramp-handle-file-name-all-completions): Backward/ XEmacs
11756 compatibility: Use `completion-ignore-case' if
11757 `read-file-name-completion-ignore-case' does not exist.
11758 (tramp-do-copy-or-rename-file-directly): Do not use
11759 `tramp-handle-file-remote-p'.
11760 (tramp-do-copy-or-rename-file-out-of-band):
11761 Use `tramp-compat-delete-directory'.
11762 (tramp-do-copy-or-rename-file-out-of-band)
11763 (tramp-compute-multi-hops, tramp-maybe-open-connection):
11764 Use `format-spec-make'.
11765 (tramp-find-foreign-file-name-handler)
11766 (tramp-advice-make-auto-save-file-name)
11767 (tramp-set-auto-save-file-modes): Remove superfluous check for
11768 `stringp'. This is done inside `tramp-tramp-file-p'.
11769 (tramp-debug-outline-regexp): New defconst.
11770 (tramp-get-debug-buffer): Use it.
11771 (tramp-check-for-regexp): Use (forward-line 1).
11772 (tramp-set-auto-save-file-modes): Adapt version check.
11773
11774 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
11775 Wrap call of `featurep' for 2nd argument.
11776 (tramp-compat-make-temp-file): Simplify fallback implementation.
11777 (tramp-compat-copy-tree): Remove function.
11778 (tramp-compat-delete-directory): Provide implementation for older
11779 Emacsen.
11780
11781 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
11782 Do not use `tramp-fish-handle-file-attributes.
11783
11784 * net/trampver.el: Update release number.
11785
11786 2010-04-10 Glenn Morris <rgm@gnu.org>
11787
11788 * progmodes/compile.el (compilation-save-buffers-predicate):
11789 Add missing :version tag.
11790
11791 2010-04-09 Sam Steingold <sds@gnu.org>
11792
11793 * progmodes/compile.el (compilation-save-buffers-predicate):
11794 Remove the "autoload" cookie.
11795
11796 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
11797 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
11798 and `bug-reference-prog-mode' can be used in hooks directly.
11799
11800 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
11801
11802 Add --author support to git commit.
11803 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
11804 (vc-git-log-edit-mode): New minor mode.
11805 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
11806 New declarations.
11807
11808 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
11809
11810 * vc-hooks.el, vc-git.el: Improve documentation comments.
11811
11812 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11813
11814 Fix some of the problems in defsubst* (bug#5728).
11815 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
11816 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
11817
11818 2010-04-07 Sam Steingold <sds@gnu.org>
11819
11820 * progmodes/compile.el (compilation-save-buffers-predicate):
11821 New custom variable.
11822 (compile, recompile): Pass it to `save-some-buffers'.
11823
11824 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
11825
11826 * wid-edit.el (widget-choose): Move cursor to the second line of
11827 the buffer (Bug#5695).
11828
11829 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
11830
11831 Add new VC methods: vc-log-incoming and vc-log-outgoing.
11832 * vc.el (vc-print-log-setup-buttons): New function split out from
11833 vc-print-log-internal.
11834 (vc-log-internal-common): New function, a parametrized version of
11835 vc-print-log-internal.
11836 (vc-print-log-internal): Just call vc-log-internal-common with the
11837 right arguments.
11838 (vc-incoming-outgoing-internal):
11839 (vc-log-incoming, vc-log-outgoing): New functions.
11840 (vc-log-view-type): New permanent local variable.
11841
11842 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
11843
11844 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
11845 of the dynamic bound vc-short-log.
11846 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
11847
11848 * vc-git.el (vc-git-log-outgoing): New function.
11849 (vc-git-log-view-mode): Use vc-log-view-type instead
11850 of the dynamic bound vc-short-log.
11851
11852 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
11853 of the dynamic bound vc-short-log. Highlight the tag.
11854 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
11855 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
11856 (vc-hg-incoming-mode): Remove.
11857 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
11858
11859 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
11860
11861 Fix default-directory for vc-root-diff.
11862 * vc.el (vc-root-diff): Bind default-directory to the root
11863 directory for the diff command.
11864
11865 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
11866
11867 * progmodes/verilog-mode.el (verilog-forward-sexp):
11868 (verilog-calc-1): Support "disable fork" and "fork wait" multi
11869 word keywords, suggested by Steve Pearlmutter.
11870 (verilog-pretty-declarations): Support lineup of declarations in
11871 port lists.
11872 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
11873 fix bug for /* / comments.
11874 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
11875 Speed up and simplfy as this is never called with a bound.
11876 (verilog-pretty-declarations): Enhance to line up declarations
11877 inside a parameter list, suggested by Alan Morgan.
11878 (verilog-pretty-expr): Tune assignment regular expression match
11879 string for corner cases; also use markers instead of character
11880 number as indent changes the later.
11881
11882 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
11883
11884 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
11885 as missing keyword.
11886 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
11887 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
11888 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
11889 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
11890 Tennant.
11891 (verilog-keywords):
11892 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
11893 1800-2009 keywords, including "global.".
11894
11895 2010-04-06 John Wiegley <jwiegley@gmail.com>
11896
11897 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
11898 appearing in buffer list (if a live buffer name matched a recentf
11899 file basename). Should use uniquify to offer a real solution.
11900
11901 2010-04-06 John Wiegley <jwiegley@gmail.com>
11902
11903 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
11904 comment to code, and add a :version tag.
11905 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
11906
11907 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
11908
11909 Enable recentf-mode if using virtual buffers.
11910 * ido.el (recentf-list): Declare for byte-compiler.
11911 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
11912 (ido-make-buffer-list): Simplify.
11913 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
11914
11915 2010-04-05 Juri Linkov <juri@jurta.org>
11916
11917 Scrolling commands which scroll a line instead of full screen.
11918 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
11919
11920 * simple.el (scroll-up-line, scroll-down-line): New commands.
11921 Put property isearch-scroll=t on them.
11922
11923 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
11924 Remove commands.
11925
11926 2010-04-05 Juri Linkov <juri@jurta.org>
11927
11928 Scrolling commands which do not signal errors at top/bottom.
11929 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
11930
11931 * simple.el (scroll-up-command, scroll-down-command): New commands.
11932 Put property isearch-scroll=t on them.
11933
11934 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
11935 `scroll-down-command' and [next] from `scroll-up' to
11936 `scroll-up-command'.
11937
11938 * emulation/cua-base.el: Put property CUA=move on
11939 `scroll-up-command' and `scroll-down-command'.
11940 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
11941 and `scroll-down-command' to `cua-scroll-down'.
11942
11943 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
11944
11945 * help.el (describe-mode): Return nil.
11946
11947 2010-04-04 John Wiegley <jwiegley@gmail.com>
11948
11949 * ido.el (ido-use-virtual-buffers): New variable to indicate
11950 whether "virtual buffer" support is enabled for IDO.
11951 (ido-virtual): Face used to indicate virtual buffers in the list.
11952 (ido-buffer-internal): If a buffer is chosen, and no such buffer
11953 exists, but a virtual buffer of that name does (which would be why
11954 it was in the list), recreate the buffer by reopening the file.
11955 (ido-make-buffer-list): If virtual buffers are being used, call
11956 `ido-add-virtual-buffers-to-list' before the make list hook.
11957 (ido-virtual-buffers): New variable which contains a copy of the
11958 current contents of the `recentf-list', albeit pared down for the
11959 sake of speed, and with proper faces applied.
11960 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
11961 create a list of "virtual buffers" to present to the user in
11962 addition to the currently open set. Note that this logic could
11963 get rather slow if that list is too large. With the default
11964 `recentf-max-saved-items' of 200, there is little speed penalty.
11965
11966 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
11967
11968 * font-lock.el: Require CL when compiling.
11969 (font-lock-turn-on-thing-lock): Use `case'.
11970
11971 2010-04-03 Eli Zaretskii <eliz@gnu.org>
11972
11973 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
11974 Zaretskii.
11975
11976 2010-04-02 Juri Linkov <juri@jurta.org>
11977
11978 * ehelp.el (electric-help-orig-major-mode):
11979 New buffer-local variable.
11980 (electric-help-mode): Set it to original major-mode. Doc fix.
11981 (with-electric-help): Use `electric-help-orig-major-mode' instead
11982 of (default-value 'major-mode). Doc fix.
11983 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
11984
11985 2010-04-02 Sam Steingold <sds@gnu.org>
11986
11987 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
11988 `vc-hg-command' with a list of flags.
11989
11990 * progmodes/bug-reference.el (bug-reference-bug-regexp):
11991 Also accept "patch" and "RFE".
11992 (bug-reference-fontify): `bug-reference-url-format' can also be a
11993 function to be able to handle the bug kind.
11994 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
11995
11996 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
11997
11998 * tmm.el (tmm-get-keymap): Check with symbolp before passing
11999 value to fboundp, it may not be a symbol.
12000
12001 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12002
12003 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
12004
12005 2010-03-31 Juri Linkov <juri@jurta.org>
12006
12007 * simple.el (next-line, previous-line): Re-throw a signal
12008 with `signal' instead of using `ding'.
12009 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
12010
12011 2010-03-31 Juri Linkov <juri@jurta.org>
12012
12013 * simple.el (keyboard-escape-quit): Raise deselecting the active
12014 region higher than exiting the minibuffer.
12015 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
12016
12017 2010-03-31 Juri Linkov <juri@jurta.org>
12018
12019 * image.el (image-animated-p): Use `image-metadata' instead of
12020 `image-extension-data'. Get GIF extenstion data from metadata
12021 property `extension-data'.
12022
12023 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12024
12025 * simple.el (append-to-buffer): Simplify.
12026
12027 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
12028
12029 * textmodes/artist.el (artist-mode): Fix typo in docstring.
12030 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
12031
12032 2010-03-31 Kenichi Handa <handa@m17n.org>
12033
12034 * language/sinhala.el (composition-function-table): Fix regexp for
12035 the new Unicode specification.
12036
12037 * language/indian.el (devanagari-composable-pattern)
12038 (tamil-composable-pattern, kannada-composable-pattern)
12039 (malayalam-composable-pattern): Adjust for the new Unicode
12040 specification.
12041 (bengali-composable-pattern, gurmukhi-composable-pattern)
12042 (gujarati-composable-pattern, oriya-composable-pattern)
12043 (telugu-composable-pattern): New variables to cope with the new
12044 Unicode specification. Use them in composition-function-table.
12045
12046 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12047
12048 Make tmm-menubar work for the Buffers menu again (bug#5726).
12049 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
12050 vectors rather than cons cells, as used in menu-bar-update-buffers.
12051
12052 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12053
12054 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
12055 (js-insert-and-indent): Revert 2009-08-15 change, restoring
12056 electric punctuation for "{}();,:" (Bug#5586).
12057
12058 * mail/sendmail.el (mail-default-directory): Doc fix.
12059
12060 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12061
12062 * mail/sendmail.el (mail-default-directory): Doc fix.
12063
12064 2010-03-31 Eli Zaretskii <eliz@gnu.org>
12065
12066 * subr.el (version-regexp-alist, version-to-list)
12067 (version-list-<, version-list-=, version-list-<=)
12068 (version-list-not-zero, version<, version<=, version=): Doc fix.
12069 (Bug#5744).
12070
12071 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
12072
12073 * vc.el (vc-root-diff): Doc fix.
12074
12075 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12076
12077 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
12078
12079 * simple.el (append-to-buffer): Fix last change.
12080
12081 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12082
12083 * simple.el (append-to-buffer): Ensure that point is preserved if
12084 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
12085 (Bug#5749)
12086
12087 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12088
12089 * files.el (auto-mode-case-fold): Change default to t.
12090
12091 2010-03-30 Juri Linkov <juri@jurta.org>
12092
12093 * dired-x.el (dired-omit-mode): Doc fix.
12094
12095 2010-03-30 Juri Linkov <juri@jurta.org>
12096
12097 * replace.el (occur-accumulate-lines): Move occur-engine related
12098 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
12099 to be located after `occur-engine'.
12100
12101 2010-03-30 Juri Linkov <juri@jurta.org>
12102
12103 Make occur handle multi-line matches cleanly with context.
12104 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
12105
12106 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
12107 (occur-engine): Add local variables `ret', `prev-after-lines',
12108 `prev-lines'. Use more arguments for `occur-context-lines'.
12109 Set first elem of its returned list to `data', and the second elem
12110 to `prev-after-lines'. Don't print the separator line.
12111 In the end, print remaining context after-lines.
12112 (occur-context-lines): Add new arguments `begpt', `endpt',
12113 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
12114 after-lines of the previous match with before-lines of the
12115 current match and not overlap them. Return a list with two
12116 values: the output line and the list of context after-lines.
12117
12118 2010-03-30 Juri Linkov <juri@jurta.org>
12119
12120 * replace.el (occur-accumulate-lines): Fix a bug where the first
12121 context line at the beginning of the buffer was missing.
12122
12123 2010-03-30 Eli Zaretskii <eliz@gnu.org>
12124
12125 * files.el: Make bidi-display-reordering safe variable for boolean
12126 values.
12127
12128 2010-03-29 Phil Hagelberg <phil@evri.com>
12129 Chong Yidong <cyd@stupidchicken.com>
12130
12131 * subr.el: Extend progress reporters to perform "spinning".
12132 (progress-reporter-update, progress-reporter-do-update):
12133 Handle non-numeric value arguments.
12134 (progress-reporter--pulse-characters): New var.
12135
12136 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
12137
12138 * progmodes/compile.el (compilation-start): Fix regexp detection
12139 of initial cd command (Bug#5771).
12140
12141 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
12142
12143 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
12144
12145 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
12146
12147 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
12148 * progmodes/gdb-mi.el: Restore.
12149 * progmodes/gdb-ui.el: Remove.
12150 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
12151
12152 2010-03-25 Glenn Morris <rgm@gnu.org>
12153
12154 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
12155 all dired buffers, even tramp ones. (Bug#5755)
12156
12157 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12158
12159 Add "union tags" in mpc.el.
12160 * mpc.el: Remove backward compatibility code.
12161 (mpc-browser-tags): Change default.
12162 (mpc--find-memoize-union-tags): New var.
12163 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
12164 (mpc-cmd-find): Handle the case where the playlist does not exist.
12165 Handle union-tags.
12166 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
12167 (mpc-cmd-add): Use mpc-cmd-flush.
12168 (mpc-tagbrowser-tag-name): New fun.
12169 (mpc-tagbrowser-buf): Use it.
12170 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
12171
12172 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12173
12174 Misc cleanup.
12175 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
12176 Use replace-regexp-in-string.
12177 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
12178 (makefile-imake-mode-syntax-table): Move init into defvar.
12179 (makefile-mode): Use define-derived-mode.
12180
12181 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
12182 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
12183 not be present any more.
12184
12185 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12186
12187 * faces.el (set-face-attribute): Fix typo in docstring.
12188 (face-valid-attribute-values): Reflow docstring.
12189
12190 2010-03-24 Glenn Morris <rgm@gnu.org>
12191
12192 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
12193
12194 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
12195
12196 * indent.el (indent-for-tab-command): Doc fix.
12197
12198 2010-03-24 Alan Mackenzie <acm@muc.de>
12199
12200 * progmodes/cc-engine.el (c-remove-stale-state-cache):
12201 Fix off-by-one error. Fixes bug #5747.
12202
12203 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12204
12205 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
12206 (image-dired-read-comment): Doc fix.
12207
12208 * json.el (json-object-type, json-array-type, json-key-type)
12209 (json-false, json-null, json-read-number):
12210 * minibuffer.el (completion-in-region-functions):
12211 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
12212 (cal-tex-cursor-week):
12213 * emacs-lisp/trace.el (trace-function):
12214 * eshell/em-basic.el (eshell/printnl):
12215 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
12216 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
12217 * obsolete/levents.el (allocate-event, event-key, event-object)
12218 (event-point, event-process, event-timestamp, event-to-character)
12219 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
12220 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
12221 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
12222 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
12223 (reftex-highlight-selection): Fix typos in docstrings.
12224
12225 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12226
12227 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
12228
12229 2010-03-24 Glenn Morris <rgm@gnu.org>
12230
12231 * mail/rmail.el (rmail-highlight-face): Restore option deleted
12232 2008-02-13 without comment; mark it obsolete.
12233 (rmail-highlight-headers): Use rmail-highlight-face once more.
12234
12235 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
12236
12237 * woman.el (woman2-process-escapes): Only consume the newline if
12238 the filler character is on a line by itself (Bug#5729).
12239
12240 2010-03-24 Kenichi Handa <handa@m17n.org>
12241
12242 * language/indian.el (devanagari-composable-pattern): Add more
12243 consonants.
12244
12245 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
12246
12247 * net/trampver.el: Update release number.
12248
12249 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
12250
12251 * net/tramp.el (tramp-find-executable):
12252 Use `tramp-get-connection-buffer'. Make the regexp for checking
12253 output of "wc -l" more robust.
12254 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
12255 (tramp-open-connection-setup-interactive-shell): Remove workaround
12256 for OpenSolaris bug, it is not needed anymore.
12257
12258 2010-03-24 Glenn Morris <rgm@gnu.org>
12259
12260 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
12261
12262 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
12263
12264 * files.el (auto-mode-alist): Accept more verilog file patterns.
12265
12266 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12267
12268 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
12269
12270 2010-03-24 Glenn Morris <rgm@gnu.org>
12271
12272 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
12273 log-edit-before-checkin-process.
12274
12275 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
12276
12277 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
12278
12279 * vc-dispatcher.el (vc-start-logentry): Doc fix.
12280 (log-view-process-buffer, log-edit-extra-flags): Declare.
12281
12282 * log-edit.el (log-edit-before-checkin-process): Doc fix.
12283
12284 2010-03-23 Sam Steingold <sds@gnu.org>
12285
12286 Fix bug#5620: recalculate all markers on compilation buffer
12287 modifications, not on file modifications.
12288 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
12289 variable: the buffer modification time, for buffers not associated with
12290 files.
12291 (compilation-mode): Create it.
12292 (compilation-filter): Update it.
12293 (compilation-next-error-function): Use it instead of
12294 `visited-file-modtime' for timestamp.
12295
12296 2010-03-23 Juri Linkov <juri@jurta.org>
12297
12298 Implement Occur multi-line matches.
12299 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
12300
12301 * replace.el (occur): Doc fix.
12302 (occur-engine): Set `begpt' to the beginning of the first line.
12303 Set `endpt' to the end of the last match line. At first, count
12304 line numbers between `origpt' and `begpt'. Split out code from
12305 `out-line' variable to new let-bindings `match-prefix' and
12306 `match-str'. In `out-line' add non-numeric prefix to all
12307 non-first lines of multi-line matches. Finally, count lines
12308 between `begpt' and `endpt' and add to `lines'.
12309
12310 2010-03-23 Juri Linkov <juri@jurta.org>
12311
12312 * replace.el (occur-accumulate-lines, occur-engine):
12313 Use `occur-engine-line' instead of duplicate code.
12314 (occur-engine-line): New function created from duplicate code
12315 in `occur-accumulate-lines' and `occur-engine'.
12316
12317 * replace.el (occur-engine-line): Add optional arg `keep-props'.
12318 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
12319
12320 2010-03-23 Juri Linkov <juri@jurta.org>
12321
12322 * finder.el: Remove TODO tasks.
12323
12324 * info.el (Info-finder-find-node): Add node "all"
12325 with all package info. Handle a list of multiple keywords
12326 separated by comma.
12327 (info-finder): In interactive use with a prefix argument,
12328 use `completing-read-multiple' to read a list of keywords
12329 separated by comma.
12330
12331 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
12332
12333 Add a new completion style `substring'.
12334 * minibuffer.el (completion-basic--pattern): New function.
12335 (completion-basic-try-completion, completion-basic-all-completions):
12336 Use it.
12337 (completion-substring--all-completions)
12338 (completion-substring-try-completion)
12339 (completion-substring-all-completions): New functions.
12340 (completion-styles-alist): New style `substring'.
12341
12342 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
12343
12344 Get rid of .elc files after removal of the corresponding .el.
12345 * Makefile.in (compile-clean): New target.
12346 (compile-main): Use it.
12347
12348 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
12349
12350 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
12351 don't do make there. When compiling with separate object dir, there
12352 is no Makefile there.
12353
12354 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
12355
12356 Get rid of the ELCFILES abomination, again.
12357 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
12358 (all, compile): Don't call compile-last.
12359 (compile-main): Build the "elcfiles" list dynamically.
12360 (compile-targets): New (internal) target.
12361
12362 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
12363
12364 * Makefile.in (top_srcdir): Define.
12365 (abs_top_builddir): Define.
12366 (srcdir): Don't append `/..'.
12367 (EMACS): Use ${abs_top_builddir}.
12368 (all, compile, compile-always, compile-last): Don't set emacswd.
12369 (update-subdirs, update-authors): Use $(top_srcdir) instead of
12370 $(srcdir).
12371 (lisp): Use $(srcdir) instead of @srcdir@.
12372
12373 2010-03-21 Juri Linkov <juri@jurta.org>
12374
12375 Fix message of multi-line occur regexps and multi-buffer header lines.
12376 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
12377
12378 * replace.el (occur-1): Don't display regexp if it is longer
12379 than window-width. Use `query-replace-descr' to display regexp.
12380 (occur-engine): Don't display regexp in the buffer header for
12381 multi-buffer occur. Display a separate header line with total
12382 match count and regexp for multi-buffer occur.
12383 Use `query-replace-descr' to display regexp.
12384
12385 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
12386
12387 * net/secrets.el: Fix parenthesis.
12388 (secrets-enabled): Fix parenthesis.
12389
12390 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12391
12392 Use more relative file and directory names.
12393 * Makefile.in (EMACS): Arrange for it to work when we chdir.
12394 (setwins, setwins_almost, setwins_for_subdirs):
12395 Don't `cd'; output relative names.
12396 (all, compile, compile-always, compile-last): Set emacswd.
12397 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
12398 Just cd to the lisp source dir so we can use relative file names.
12399
12400 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
12401
12402 2010-03-20 Glenn Morris <rgm@gnu.org>
12403
12404 * textmodes/rst.el: Use faces for font-lock customization, and make the
12405 old -face variables obsolete.
12406 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
12407 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
12408 (rst-block-face, rst-external-face, rst-definition-face)
12409 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
12410 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
12411 Make obsolete.
12412 (rst-font-lock-keywords-function): Update for above changes.
12413
12414 2010-03-20 Juri Linkov <juri@jurta.org>
12415
12416 * s-region.el:
12417 * obsolete/s-region.el: Move to obsolete.
12418
12419 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
12420
12421 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
12422
12423 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
12424
12425 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
12426
12427 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
12428
12429 Add special markup processing for commit logs.
12430 * log-edit.el (log-edit-extra-flags): New variable.
12431 (log-edit): Add new argument MODE. Use that mode when non-nil
12432 instead of the log-view-mode.
12433 (log-view-process-buffer): New function.
12434
12435 * vc.el: Document that the checkin method takes optional
12436 arguments. Document new backend specific method: log-view-mode.
12437 (vc-default-log-edit-mode): New function.
12438 (vc-checkin): Use a backend specific log-view-mode.
12439 Pass extra arguments to the checkin method.
12440 (vc-modify-change-comment): Pass a dummy extra argument.
12441
12442 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
12443 log-edit.
12444 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
12445 (vc-finish-logentry): Process the log buffer before passing it
12446 down. Pass log-edit-extra-flags.
12447
12448 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
12449 command.
12450 (log-edit-extra-flags, log-edit-before-checkin-process):
12451 New declarations.
12452
12453 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
12454 command.
12455 (log-edit-extra-flags, log-edit-before-checkin-process):
12456 New declarations.
12457 (vc-hg-log-edit-mode): New derived mode.
12458
12459 * vc-arch.el (vc-arch-checkin):
12460 * vc-cvs.el (vc-cvs-checkin):
12461 * vc-git.el (vc-git-checkin):
12462 * vc-mtn.el (vc-mtn-checkin):
12463 * vc-rcs.el (vc-rcs-checkin):
12464 * vc-sccs.el (vc-sccs-checkin):
12465 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
12466
12467 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12468
12469 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
12470 parent typo).
12471
12472 2010-03-19 Glenn Morris <rgm@gnu.org>
12473
12474 * password-cache.el (password-cache, password-cache-expiry): Autoload.
12475
12476 2010-03-18 Glenn Morris <rgm@gnu.org>
12477
12478 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
12479
12480 * replace.el (query-replace-history): Give it a doc string.
12481 (map-query-replace-regexp): Use query-replace-from-history-variable
12482 and query-replace-to-history-variable.
12483
12484 * mail/hashcash.el (declare-function): Remove duplicate definition.
12485
12486 * mail/emacsbug.el (report-emacs-bug-pretest-address):
12487 Make it an obsolete alias for report-emacs-bug-address.
12488 (message-strip-special-text-properties): Declare.
12489 (report-emacs-bug): Remove test for a pretest bug address.
12490 Combine message-mode-specific code.
12491
12492 * mail/supercite.el: Don't require sendmail.
12493 (mh-in-header-p): Declare rather than using with-no-warnings.
12494 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
12495 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
12496
12497 * calendar/cal-french.el: Convert to utf-8.
12498
12499 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
12500 Emacs scripts.
12501
12502 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
12503
12504 * net/secrets.el (secrets-enabled): New variable. Use it instead
12505 of a subfeature.
12506
12507 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
12508
12509 * net/secrets.el (top): Register the D-Bus signals only when the
12510 service "org.freedesktop.secrets" can be pinged.
12511 Provide subfeature `enabled'.
12512
12513 2010-03-14 Juri Linkov <juri@jurta.org>
12514
12515 Add finder unknown keywords.
12516
12517 * finder.el (finder-unknown-keywords): New function.
12518
12519 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
12520 to create a Finder node with unknown keywords.
12521
12522 2010-03-14 Juri Linkov <juri@jurta.org>
12523
12524 * finder.el (finder-compile-keywords): Replace `princ' with
12525 `prin1' on a list of symbols interned from keyword strings.
12526
12527 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
12528 a comma, then split keywords using a comma and optional whitespace.
12529 Otherwise, split by whitespace.
12530
12531 * complete.el:
12532 * face-remap.el:
12533 * log-view.el:
12534 * net/hmac-def.el:
12535 * net/hmac-md5.el:
12536 * net/netrc.el:
12537 * progmodes/mixal-mode.el: Fix keywords.
12538
12539 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
12540
12541 * Makefile.in (ELCFILES): Add net/secrets.elc.
12542
12543 * net/secrets.el: New file.
12544
12545 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
12546
12547 * facemenu.el (list-colors-display, list-colors-print): New arg
12548 callback. Use it to allow selecting colors.
12549
12550 * wid-edit.el (widget-image-insert): Insert image prop even if the
12551 current display is non-graphic.
12552 (widget-field-value-set): New fun.
12553 (editable-field): Use it.
12554 (widget-field-value-get): Clean up unused var.
12555 (widget-color-value-create, widget-color--choose-action):
12556 New funs. Allow using list-colors-display to choose color.
12557
12558 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
12559
12560 * cus-edit.el: Resort topmost custom groups.
12561 (custom-buffer-sort-alphabetically): Default to t.
12562 (customize-apropos): Use apropos-parse-pattern.
12563 (custom-search-field): New var.
12564 (custom-buffer-create-internal): Add custom-apropos search field.
12565 (custom-add-parent-links): Don't display parent doc.
12566 (custom-group-value-create): Don't sort top-level custom group.
12567 (custom-magic-value-create): Show visibility button before option name.
12568
12569 (custom-variable-state): New fun, from custom-variable-state-set.
12570 (custom-variable-state-set): Use it.
12571 (custom-group-value-create): Hide options with standard values
12572 using the :hidden-states property. Use progress reporter.
12573
12574 (custom-show): Simplify.
12575 (custom-visibility): Disable images by default.
12576 (custom-variable): New property :hidden-states.
12577 (custom-variable-value-create): Enable images for
12578 custom-visibility widgets. Use :hidden-states property to
12579 determine initial visibility.
12580
12581 * wid-edit.el (widget-image-find): Give images center ascent.
12582 (visibility): Add :on-image and :off-image properties.
12583 (widget-visibility-value-create): Use them.
12584
12585 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
12586
12587 * cus-edit.el (processes): Remove from development group.
12588 (oop, hypermedia): Delete group.
12589 (comm): Promote to top-level group.
12590
12591 * net/browse-url.el (browse-url):
12592 * net/xesam.el (xesam):
12593 * net/tramp.el (tramp):
12594 * net/goto-addr.el (goto-address):
12595 * net/ange-ftp.el (ange-ftp): Put in comm group.
12596
12597 * view.el (view): Remove from editing group.
12598
12599 * uniquify.el (uniquify): Put in files group.
12600
12601 * net/browse-url.el (browse-url):
12602 * ps-print.el (postscript): Put in external group.
12603
12604 * cus-edit.el (outlines):
12605 * textmodes/text-mode.el (text-mode-hook):
12606 * textmodes/table.el (table):
12607 * textmodes/picture.el (picture):
12608 * outline.el (outlines): Put in wp group.
12609
12610 * nxml/nxml-mode.el (nxml): Remove from wp group.
12611
12612 * net/tramp-imap.el (tramp-imap): Put in tramp group.
12613
12614 * mail/metamail.el (metamail): Remove from hypermedia group.
12615
12616 * cus-edit.el (abbrev):
12617 * whitespace.el (whitespace):
12618 * vcursor.el (vcursor):
12619 * reveal.el (reveal):
12620 * hl-line.el (hl-line): Put in convenience group.
12621
12622 * epg-config.el (epg): Put in data group.
12623
12624 * emulation/pc-select.el (pc-select): Put in emulations group.
12625
12626 * calculator.el (calculator): Put in applications group.
12627
12628 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
12629
12630 Add .dir-locals.el support for file-less buffers.
12631 * files.el (hack-local-variables): Split out code to apply local
12632 variable settings ...
12633 (hack-local-variables-apply): ... here. New function.
12634 (hack-dir-local-variables): Use the default directory for when the
12635 buffer does not have an associated file.
12636 (hack-dir-local-variables-non-file-buffer): New function.
12637 * diff-mode.el (diff-mode):
12638 * vc-annotate.el (vc-annotate-mode):
12639 * vc-dir.el (vc-dir-mode):
12640 * log-edit.el (log-edit-mode):
12641 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
12642
12643 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
12644
12645 Add support for shelving snapshots and for showing shelves.
12646 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
12647 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
12648 New functions.
12649 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
12650 (vc-bzr-extra-menu-map): Map them.
12651
12652 2010-03-11 Glenn Morris <rgm@gnu.org>
12653
12654 * cus-edit.el (customize-changed-options-previous-release):
12655 Bump to 23.1.
12656
12657 * image.el (image-animate-max-time): Fix :version tag.
12658
12659 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
12660
12661 * Branch for 23.2.
12662
12663 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
12664
12665 * vc-git.el (vc-git-revision-table): Include remote branches.
12666
12667 2010-03-10 Kim F. Storm <storm@cua.dk>
12668
12669 Animated image API.
12670 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
12671
12672 * image.el (image-animate-max-time): New defcustom.
12673 (image-animated-types): New defconst.
12674 (create-animated-image, image-animate-timer)
12675 (image-animate-start, image-animate-stop, image-animate-timeout)
12676 (image-animated-p): New functions.
12677
12678 * image-mode.el (image-toggle-display-image):
12679 Replace `create-image' with `create-animated-image'.
12680
12681 2010-03-09 Miles Bader <miles@gnu.org>
12682
12683 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
12684 instead of "format:"; this ensures that the output is
12685 newline-terminated.
12686
12687 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
12688
12689 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
12690 that all errors are caught, and that the return value is always a
12691 list (Bug#5692).
12692
12693 2010-03-08 Kenichi Handa <handa@m17n.org>
12694
12695 * language/misc-lang.el (windows-1256): New coding system.
12696 (cp1256): New alias of windows-1256 (bug#5690).
12697
12698 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
12699
12700 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
12701 call to rfc822-bad-address. (Bug#5692)
12702
12703 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
12704
12705 * vc-git.el (vc-git-annotate-extract-revision-at-line):
12706 Use vc-git-root as default directory for revision path (Bug#5657).
12707
12708 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
12709
12710 * calculator.el (calculator): Don't bind split-window-keep-point
12711 (Bug#5674).
12712
12713 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
12714
12715 * vc-git.el: Re-flow to fit into 80 columns.
12716 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
12717 Remove spurious `quote' element in each case alternative.
12718 (vc-git-show-log-entry): Use prog1.
12719 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
12720
12721 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
12722
12723 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
12724
12725 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
12726
12727 * macros.el (insert-kbd-macro): Look up keyboard macro using the
12728 definition, not the name (Bug#5481).
12729
12730 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
12731
12732 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
12733 argument with a local variable. (Bug#5670)
12734
12735 2010-03-02 Juri Linkov <juri@jurta.org>
12736
12737 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
12738
12739 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
12740
12741 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
12742 error when FILENAME and NEWNAME are existing remote directories.
12743
12744 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
12745 parameter DIR-FLAG.
12746
12747 2010-03-02 Glenn Morris <rgm@gnu.org>
12748
12749 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
12750 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
12751
12752 2010-03-01 Kenichi Handa <handa@m17n.org>
12753
12754 * language/burmese.el (burmese-composable-pattern): Rename from
12755 myanmar-composable-pattern.
12756
12757 * international/characters.el (script-list):
12758 * international/fontset.el (script-representative-chars):
12759 Change myanmar to burmese.
12760 (otf-script-alist): Likewise.
12761 (setup-default-fontset): Likewise. Re-fix :otf spec.
12762
12763 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
12764
12765 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
12766
12767 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
12768
12769 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
12770
12771 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
12772
12773 * net/tramp.el (tramp-handle-write-region): START can be a string.
12774 Take care in the checks. Reported by Dan Davison
12775 <davison@stats.ox.ac.uk>.
12776
12777 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
12778
12779 * net/dbus.el (dbus-introspect, dbus-get-property)
12780 (dbus-set-property, dbus-get-all-properties):
12781 Use `dbus-call-method' when noninteractive. (Bug#5645)
12782
12783 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
12784
12785 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
12786 * emacs-lisp/elint.el (elint-add-required-env):
12787 * calendar/icalendar.el (icalendar--add-diary-entry):
12788 * calc/calcalg2.el (math-tracing-integral):
12789 * files.el (recover-session-finish): Use with-current-buffer
12790 instead of save-excursion.
12791
12792 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
12793
12794 Fix in-buffer completion when after-change-functions modify the buffer.
12795 * minibuffer.el (completion--replace): New function.
12796 (completion--do-completion): Use it and use relative movement.
12797
12798 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
12799
12800 * international/fontset.el (setup-default-fontset): Fix :otf spec.
12801
12802 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
12803
12804 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
12805 Allow the characters _<> in the stack entry (Bug#5653).
12806
12807 2010-02-26 Kenichi Handa <handa@m17n.org>
12808
12809 * language/burmese.el: Fix entries in composition-function-table.
12810 (myanmar-composable-pattern): New variable.
12811
12812 * international/fontset.el (setup-default-fontset): Add an entry
12813 for myanmar.
12814
12815 * international/characters.el (script-list): Add Myanmar
12816 Extended-A.
12817
12818 2010-02-26 Glenn Morris <rgm@gnu.org>
12819
12820 * custom.el (custom-initialize-delay): Doc fix.
12821
12822 * mail/sendmail.el (send-mail-function): Autoload the call
12823 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
12824
12825 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
12826
12827 * files.el (hack-local-variables-filter): For eval forms, also
12828 check safe-local-variable-p (Bug#5636).
12829
12830 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
12831
12832 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
12833 setting the modes by `ignore-errors'. It might fail, for example
12834 if the file is not owned by the user but the group.
12835 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
12836
12837 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
12838
12839 * files.el (directory-listing-before-filename-regexp):
12840 Use stricter matching for iso-style dates, to avoid false matches with
12841 date-like filenames (Bug#5597).
12842
12843 * htmlfontify.el (htmlfontify): Doc fix.
12844
12845 * eshell/eshell.el (eshell): Doc fix.
12846
12847 * startup.el (fancy-about-screen): In mode-line, apply
12848 mode-line-buffer-id face only to the buffer name (Bug#5613).
12849
12850 2010-02-20 Kevin Ryde <user42@zip.com.au>
12851
12852 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12853 In `watcom' anchor regexp to start of line, to avoid slowness
12854 (Bug#5599).
12855
12856 2010-02-20 Eli Zaretskii <eliz@gnu.org>
12857
12858 * subr.el (remove-yank-excluded-properties): Explain in a comment
12859 why `category' property is removed.
12860
12861 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
12862
12863 * isearch.el (isearch-update-post-hook, isearch-update):
12864 Revert 2010-02-17 change.
12865
12866 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
12867
12868 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
12869 (icalendar--convert-weekly-to-ical)
12870 (icalendar--convert-yearly-to-ical)
12871 (icalendar--convert-block-to-ical)
12872 (icalendar--convert-cyclic-to-ical)
12873 (icalendar--convert-anniversary-to-ical): Take care of time
12874 specifications where hour has 1-digit only (Bug#5549).
12875
12876 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
12877
12878 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
12879 of disassemble output in GDB 7.1.
12880
12881 2010-02-19 Glenn Morris <rgm@gnu.org>
12882
12883 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
12884 property. (Bug#5593)
12885
12886 2010-02-18 Sam Steingold <sds@gnu.org>
12887
12888 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
12889
12890 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
12891
12892 Use abbreviated file names in bookmarks (bug#5591).
12893 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
12894 calls to expand-file-name.
12895 (bookmark-relocate): Use abbreviated file names in bookmarks.
12896 (bookmark-load): Use abbreviated file names in messages.
12897
12898 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
12899
12900 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
12901 expand "." and "..". Reported by Thierry Volpiatto
12902 <thierry.volpiatto@gmail.com>.
12903
12904 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
12905
12906 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
12907 permissions of the temporary file to "0600". In case the remote
12908 file has no read permissions for the owner, there might be
12909 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
12910
12911 22010-02-18 Glenn Morris <rgm@gnu.org>
12912
12913 * emacs-lisp/authors.el (authors-renamed-files-alist):
12914 Add entries for INSTALL.CVS.
12915
12916 2010-02-17 Mark A. Hershberger <mah@everybody.org>
12917
12918 * vc-bzr.el: Fix typo in Known Bugs section.
12919
12920 * isearch.el (isearch-update-post-hook): New hook.
12921 (isearch-update): Use the new hook.
12922
12923 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
12924
12925 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
12926 Fix errors in copying directories.
12927 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
12928 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
12929 (tramp-handle-delete-file)
12930 (tramp-handle-dired-recursive-delete-directory)
12931 (tramp-handle-write-region): Flush also the cache for the upper
12932 directory.
12933
12934 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
12935
12936 * simple.el (save-interprogram-paste-before-kill): Doc fix.
12937
12938 * cus-edit.el (hardware): Doc fix.
12939
12940 * man.el (man): Add to external custom group.
12941
12942 * delim-col.el (columns): Move to wp custom group.
12943
12944 * doc-view.el (doc-view): Add to data custom group.
12945
12946 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
12947
12948 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
12949 by ispell-parse-output (Bug#5575).
12950
12951 2010-02-16 Kenichi Handa <handa@m17n.org>
12952
12953 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
12954 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
12955 (skkdic-convert): Use `euc-japan' coding system for writing.
12956
12957 2010-02-16 Glenn Morris <rgm@gnu.org>
12958
12959 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
12960 tex-main-file before using it. (Bug#5562)
12961
12962 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
12963
12964 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
12965 warnings, since it is annoying for the user to see them each time he
12966 runs the code.
12967
12968 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
12969
12970 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
12971 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
12972 instead of PROC for caching "first-password-request". Otherwise,
12973 new processes would not profit from passwords already entered.
12974
12975 * net/tramp-cache.el (tramp-dump-connection-properties):
12976 Don't save "first-password-request" property.
12977
12978 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
12979
12980 * outline.el (outline-head-from-level):
12981 * simple.el (with-wrapper-hook):
12982 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
12983 (elint-defun, elint-buffer-env, elint-top-form-logged)
12984 (elint-unbound-variable):
12985 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
12986 Fix typos in docstrings.
12987
12988 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
12989
12990 * files.el (insert-directory): When WILDCARD-REGEXP and
12991 FULL-DIRECTORY-P are nil, insert the file entry instead of the
12992 whole directory. (Bug#5551)
12993
12994 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
12995 dired's alignment sanity. (Bug#5516)
12996
12997 2010-02-14 Juri Linkov <juri@jurta.org>
12998
12999 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
13000 Remove remaining ^H with their preceding chars. (Bug#5566)
13001
13002 2010-02-13 Glenn Morris <rgm@gnu.org>
13003
13004 * simple.el (transpose-subr): Give it a doc-string.
13005
13006 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
13007 Doc fixes.
13008
13009 2010-02-12 Juri Linkov <juri@jurta.org>
13010
13011 * arc-mode.el (archive-unique-fname): Make directories for nested
13012 archives. (Bug#5540)
13013
13014 2010-02-12 Juri Linkov <juri@jurta.org>
13015
13016 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
13017
13018 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
13019
13020 * subr.el (copy-overlay): Handle deleted overlays.
13021
13022 * man.el (Man-completion-table): Don't signal an error if we can't run
13023 manual-program (bug#4056).
13024
13025 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
13026
13027 * textmodes/artist.el (artist-mt): Fix typos in docstring.
13028
13029 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13030
13031 * info.el (Info-bookmark-jump): Simplify.
13032
13033 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
13034 (bookmark-default-handler): Accept new bookmark field `buffer'.
13035
13036 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
13037
13038 * iswitchb.el (iswitchb-completions): Revert last change.
13039
13040 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
13041
13042 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
13043 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
13044 This prevents file names like "~/" being listed literally.
13045
13046 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
13047
13048 * term/xterm.el (xterm-maybe-set-dark-background-mode):
13049 Remove dead code. (Bug#5546)
13050
13051 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
13052
13053 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
13054 correctly (Bug#5548).
13055
13056 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
13057
13058 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
13059 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
13060
13061 2010-02-08 Kenichi Handa <handa@m17n.org>
13062
13063 * international/mule-util.el (with-coding-priority): Add autoload
13064 cookie for putting `lisp-indent-function'.
13065
13066 2010-02-07 Glenn Morris <rgm@gnu.org>
13067
13068 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
13069 Move F2003 named interfaces from keywords-2 to keywords-1, and
13070 use function-name-face rather than constant-face.
13071 Simplify "abstract interface" regexp.
13072
13073 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
13074
13075 * eshell/esh-util.el (eshell-file-attributes): New optional arg
13076 ID-FORMAT. Pass it to `file-attributes'.
13077
13078 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
13079
13080 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
13081
13082 * faces.el (set-face-attribute): Allow calling
13083 internal-set-lisp-face-attribute with 'unspecified family and
13084 foundry argument (Bug#5536).
13085
13086 2010-02-07 Glenn Morris <rgm@gnu.org>
13087
13088 * progmodes/f90.el (f90-font-lock-keywords-2)
13089 (f90-looking-at-type-like, f90-looking-at-program-block-end):
13090 Handle F2003 named interfaces.
13091
13092 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
13093
13094 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
13095 beg and end before calling c-get-state-before-change-functions.
13096
13097 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
13098
13099 * vc-bzr.el (vc-bzr-dir-extra-headers):
13100 Disable the pending merges header.
13101
13102 2010-02-05 Juri Linkov <juri@jurta.org>
13103
13104 * doc-view.el (doc-view-mode):
13105 * image-mode.el (image-mode): Put property mode-class=special.
13106 (Bug#4896)
13107
13108 2010-02-05 Mark A. Hershberger <mah@everybody.org>
13109
13110 * vc-svn.el (vc-svn-revision-table): New function.
13111
13112 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
13113
13114 * net/ange-ftp.el (ange-ftp-insert-directory):
13115 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
13116 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
13117 Handle also directories. (Bug#5478)
13118
13119 2010-02-05 Glenn Morris <rgm@gnu.org>
13120
13121 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
13122
13123 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
13124
13125 * startup.el (command-line-1): Convert options beginning with a
13126 single dash as well (Bug#5519).
13127
13128 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
13129
13130 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
13131 * minibuffer.el (completion-initials-expand): Only check the presence
13132 of delims *within* the boundaries, since otherwise the / delim is
13133 always found for files.
13134
13135 Fix up various corner case problems.
13136 * doc-view.el (doc-view-last-page-number): New function.
13137 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
13138 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
13139 (doc-view-kill-proc): Avoid inf-loop in freak cases.
13140 (doc-view-reconvert-doc): Use the new recursive delete-directory.
13141 (doc-view-convert-current-doc): Don't create the resolution.el file
13142 here any more.
13143 (doc-view-pdf/ps->png): Do it here instead.
13144 (doc-view-already-converted-p): Check that resolution.el is present.
13145 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
13146 windows that are not yet showing images.
13147
13148 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
13149
13150 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
13151 `dired-uncache' for every elemnt which is an absolute file name.
13152
13153 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
13154 directory, handle its directory component.
13155 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
13156 function is called permanently and creates noise, otherwise.
13157
13158 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
13159 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
13160 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
13161
13162 2010-02-04 David Burger <dburger@google.com> (tiny change)
13163
13164 * macros.el (apply-macro-to-region-lines):
13165 Minor simplification. (Bug#5485)
13166
13167 2010-02-04 Glenn Morris <rgm@gnu.org>
13168
13169 * mail/rmail.el (rmail-show-message-1): Handle malformed
13170 quoted-printable text. (Bug#5441)
13171
13172 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
13173
13174 * simple.el (visual-line-mode): Capitalize lighter.
13175
13176 2010-02-03 John Wiegley <jwiegley@gmail.com>
13177
13178 * iswitchb.el (iswitchb-completions): Add bookmark files to the
13179 list of files considered for "virtual buffer" completions.
13180
13181 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
13182
13183 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
13184 also in case of (and (not full) (not wildcard)). This is needed
13185 when dired is called with a list of files, which are not in
13186 `default-directory'. (Bug#5478)
13187
13188 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
13189
13190 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
13191
13192 2010-02-02 Juri Linkov <juri@jurta.org>
13193
13194 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
13195 from unidiff to allow function-line after @@.
13196
13197 2010-02-02 Juri Linkov <juri@jurta.org>
13198
13199 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
13200 '(RCS SCCS) with inverted condition.
13201
13202 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
13203
13204 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
13205 messages.
13206
13207 2010-02-01 Juri Linkov <juri@jurta.org>
13208
13209 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
13210 compare with "pkunzip" and "pkzip" instead of only "pkzip".
13211 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
13212 only when (car archive-zip-extract) is "unzip". (Bug#5475)
13213
13214 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
13215
13216 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
13217 (doc-view-revert-buffer): New command.
13218 (doc-view-mode-map): Use it.
13219
13220 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
13221
13222 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
13223 pending merge is detected.
13224
13225 2010-01-31 Juri Linkov <juri@jurta.org>
13226
13227 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
13228 beginning of interactive spec like all other grep commands do.
13229 Put "all" in front of "gz". (Bug#5260)
13230
13231 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
13232
13233 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
13234
13235 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
13236
13237 * dirtrack.el (dirtrack): Warn instead of signalling error if the
13238 regexp is incorrect (Bug#5476).
13239
13240 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
13241
13242 * net/tramp.el (tramp-handle-insert-directory): Handle also
13243 symlinks, when FILENAME is not in `default-directory'.
13244
13245 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
13246
13247 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
13248 FILE is not in `default-directory'. (Bug#5478)
13249
13250 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
13251 of SWITCHES. Handle the case, FILENAME is not in
13252 `default-directory'. (Bug#5478)
13253 (tramp-register-file-name-handlers): Add safe-magic property.
13254
13255 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
13256
13257 * arc-mode.el (archive-zip-extract): Quote the argument passed to
13258 unzip (Bug#5475).
13259
13260 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
13261
13262 * progmodes/flymake.el (flymake-allowed-file-name-masks)
13263 (flymake-master-make-header-init): Add other C++ filename masks.
13264 (flymake-find-possible-master-files)
13265 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
13266
13267 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
13268
13269 Fix some busybox annoyances.
13270
13271 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
13272 not responding." string.
13273 (tramp-open-connection-setup-interactive-shell): Dump stty
13274 settings. Enable "neveropen" arg for all `tramp-send-command'
13275 calls. Handle "=" in variable values properly.
13276 (tramp-find-inline-encoding): Raise an error, when no encoding is
13277 found.
13278 (tramp-wait-for-output): Check, whether PROC buffer is available.
13279 Remove spurious " ^H" sequences, sent by busybox.
13280 (tramp-get-ls-command): Suppress coloring, if possible.
13281
13282 2010-01-28 Glenn Morris <rgm@gnu.org>
13283
13284 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
13285
13286 * log-edit.el (log-edit-strip-single-file-name): Add missing
13287 :safe, :group, and :version tags.
13288
13289 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
13290
13291 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
13292 buffers. (Bug#5477)
13293
13294 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
13295
13296 * files.el (delete-directory): Handle moving to trash without
13297 first doing recursion (Bug#5436).
13298
13299 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
13300
13301 * vc-hooks.el (vc-path): Mark as obsolete.
13302
13303 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
13304
13305 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
13306 names too.
13307
13308 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
13309 for the short log.
13310 (vc-bzr-log-view-mode): Adjust regexp for the above change.
13311
13312 2010-01-25 Mark A. Hershberger <mah@everybody.org>
13313
13314 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
13315
13316 * vc-bzr.el (vc-bzr-revision-table): New function.
13317
13318 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
13319
13320 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
13321 diff-index command. This requires at least git-1.5.5. (Bug#1589).
13322
13323 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
13324
13325 Remove support for adding --signoff on commit.
13326 Future support will use an incompatible generic mechanism.
13327 * vc-git.el (vc-git-add-signoff): Remove variable.
13328 (vc-git-toggle-signoff): Remove function.
13329 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
13330
13331 * term/xterm.el (xterm-maybe-set-dark-background-mode):
13332 Rename from xterm-set-background-mode. Return t if the background mode
13333 was set.
13334 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
13335 earlier, call it again in case the background mode has changed.
13336
13337 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
13338
13339 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
13340 (Bug#3541).
13341
13342 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
13343
13344 * emacs-lisp/assoc.el (aelement): Doc fix.
13345 (aput, adelete, amake): Use lexical-let (Bug#5450).
13346
13347 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
13348
13349 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
13350 is the same as subprogram call, not declaration. (Bug#5435).
13351
13352 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
13353
13354 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
13355 (tramp-smb-maybe-open-connection): Use it.
13356
13357 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
13358
13359 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
13360
13361 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
13362
13363 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
13364 just because we see "encoding: 8bit".
13365 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
13366
13367 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
13368
13369 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
13370
13371 2010-01-22 Eli Zaretskii <eliz@gnu.org>
13372
13373 * jka-compr.el (jka-compr-load): If load-file is not in
13374 load-history, try its file-truename version. (bug#5447)
13375
13376 2010-01-21 Alan Mackenzie <acm@muc.de>
13377
13378 Fix a situation where deletion of a cpp construct throws an error.
13379 * progmodes/cc-engine.el (c-invalidate-state-cache):
13380 Before invoking c-with-all-but-one-cpps-commented-out, check that the
13381 special cpp construct is still in the buffer.
13382 (c-parse-state): Record the special cpp with markers, not numbers.
13383
13384 2010-01-21 Kenichi Handa <handa@m17n.org>
13385
13386 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
13387 process last-command-event, as it is now decoded first (Bug#5380).
13388
13389 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
13390
13391 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
13392
13393 2010-01-20 Glenn Morris <rgm@gnu.org>
13394
13395 * indent.el (tab-always-indent): Fix custom-type.
13396
13397 2010-01-19 Alan Mackenzie <acm@muc.de>
13398
13399 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
13400 buffer throws "args out of range".
13401 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
13402 playing the role of delimiter.
13403
13404 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
13405
13406 * progmodes/ada-mode.el: Fix bug#5400.
13407 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
13408 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
13409 changed. Delete RECURSIVE parameter; never used. Improve doc string.
13410 Improve comments in "is" portion. Handle null procedure declaration.
13411 (ada-move-to-end): Improve doc string.
13412
13413 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
13414
13415 * ido.el (ido-cur-list): Initialize to nil.
13416 Remove obsolete information from commentary.
13417 (ido-choice-list): Initialize to nil.
13418 (ido-get-bufname): Reject minibuffers.
13419 (ido-make-buffer-list): If "default" is a nonexistent
13420 buffer, ignore it, as per the function's comment.
13421 (ido-kill-buffer-internal): New function.
13422 (ido-kill-buffer-at-head): Use it.
13423 (ido-visit-buffer): Likewise.
13424
13425 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
13426
13427 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
13428
13429 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
13430
13431 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
13432 Fix typos in chart titles.
13433
13434 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
13435 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
13436 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
13437 (describe-class, eieio-describe-generic, describe-generic):
13438 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
13439 (eieio-speedbar-expand):
13440 * emulation/viper-cmd.el (viper-exec-form-in-vi)
13441 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
13442 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
13443 (viper-del-backward-char-in-replace, viper-backward-indent)
13444 (viper-brac-function, viper-register-to-point, viper-submit-report):
13445 * net/tramp.el (tramp-remote-coding-commands):
13446 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
13447 Fix typos in docstrings.
13448
13449 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
13450
13451 * mail/sendmail.el (mail-yank-original): Set the mark if the
13452 specified function for yanking does not do it.
13453
13454 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
13455
13456 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
13457
13458 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
13459 resyncing a directory.
13460
13461 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
13462
13463 * progmodes/ada-mode.el: Fix bug#1920.
13464 (ada-ident-re): Delete ., allow multibyte characters.
13465 (ada-goto-label-re): New; matches goto labels.
13466 (ada-block-label-re): New; matches block labels.
13467 (ada-label-re): New; matches both.
13468 (ada-named-block-re): Delete; callers changed to use
13469 `ada-block-label-re' instead.
13470 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
13471 Use `ada-block-label-re'.
13472 (ada-indent-on-previous-lines): Improve handling of goto labels.
13473 (ada-get-indent-block-start): Special-case block label.
13474 (ada-get-indent-label): Split into `ada-indent-block-label' and
13475 `ada-indent-goto-label'.
13476 (ada-goto-stmt-start, ada-goto-next-non-ws):
13477 Optionally ignore goto labels.
13478 (ada-goto-next-word): Simplify.
13479 (ada-indent-newline-indent-conditional): Insert newline before
13480 trying to fix indentation; doc fix.
13481
13482 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
13483
13484 * calc/calc.el (calc-command-flags): Give it an initial value.
13485
13486 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
13487
13488 * files.el (minibuffer-with-setup-hook):
13489 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
13490 (artist-key-draw-continously, artist-key-do-continously-continously)
13491 (artist-key-set-point-continously, artist-mouse-draw-continously):
13492 Fix typos in docstrings.
13493
13494 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
13495
13496 * nxml/nxml-mode.el (nxml-extend-after-change-region):
13497 Never return t (Bug#3898).
13498
13499 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
13500
13501 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
13502 can parse the output of the external commands (Bug#5279).
13503
13504 2010-01-16 Jari Aalto <jari.aalto@cante.net>
13505
13506 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
13507
13508 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
13509
13510 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
13511
13512 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
13513
13514 * startup.el (command-line): Remove unused --icon-type arg.
13515 Handle --display arg, passing it to command-line-1 (Bug#5392).
13516
13517 2010-01-16 Mario Lang <mlang@delysid.org>
13518
13519 * emacs-lisp/chart.el (chart-translate-namezone):
13520 * textmodes/artist.el (artist-compute-popup-menu-table):
13521 Remove duplicated words in doc-strings.
13522
13523 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
13524
13525 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
13526 to mairix-search to suppress threading (Bug#5342).
13527
13528 2010-01-15 Kenichi Handa <handa@m17n.org>
13529
13530 * international/mule-cmds.el (canonicalize-coding-system-name):
13531 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
13532
13533 2010-01-15 Glenn Morris <rgm@gnu.org>
13534
13535 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
13536
13537 * wid-edit.el (widget-keymap): Doc fix.
13538
13539 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
13540 former seems to be more widely accepted by various svn versions.
13541
13542 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
13543
13544 * find-cmd.el (find-constituents):
13545 * vc-arch.el (vc-arch-root):
13546 * window.el (window-body-height, pop-up-frames):
13547 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
13548 * progmodes/ada-stmt.el (ada-if):
13549 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
13550 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
13551 (ispell-encoding8-command, ispell-aspell-supports-utf8)
13552 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
13553
13554 * progmodes/flymake.el (flymake-post-syntax-check):
13555 Fix typo in error message.
13556
13557 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
13558
13559 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
13560 which is always a string. (Bug#5313)
13561
13562 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
13563
13564 * progmodes/ada-xref.el (ada-default-prj-properties):
13565 Simplify previous change.
13566
13567 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
13568
13569 * progmodes/ada-xref.el (ada-default-prj-properties):
13570 Default ada_project_path to $ADA_PROJECT_PATH.
13571
13572 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
13573
13574 * progmodes/ada-mode.el (ada-create-keymap):
13575 Override `narrow-to-defun' with `ada-narrow-to-defun'.
13576
13577 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
13578
13579 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
13580 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
13581 (ada-get-current-indent, ada-imenu-generic-expression)
13582 (ada-which-function): Check for it.
13583
13584 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
13585
13586 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
13587 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
13588
13589 2010-01-14 Glenn Morris <rgm@gnu.org>
13590
13591 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
13592
13593 2010-01-14 Kenichi Handa <handa@m17n.org>
13594
13595 * composite.el (auto-composition-mode): Make it a buffer local
13596 variable (permanent-local).
13597 (auto-composition-function): Set the default value to
13598 auto-compose-chars.
13599 (auto-composition-mode): Make it a simple function, not a minor mode.
13600 (global-auto-composition-mode): Likewise.
13601 (turn-on-auto-composition-if-enabled): Delete it.
13602
13603 2010-01-13 Karl Fogel <kfogel@red-bean.com>
13604
13605 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
13606
13607 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
13608
13609 * files.el (copy-directory): Compute target for recursive
13610 directories with identical names. (Bug#5343)
13611
13612 2010-01-12 Glenn Morris <rgm@gnu.org>
13613
13614 * mail/emacsbug.el (report-emacs-bug-pretest-address):
13615 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
13616
13617 2010-01-11 Sam Steingold <sds@gnu.org>
13618
13619 * imenu.el (imenu-default-create-index-function): Detect infinite
13620 loops caused by imenu-prev-index-position-function.
13621
13622 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
13623
13624 * htmlfontify.el (htmlfontify-load-rgb-file)
13625 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
13626 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
13627 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
13628 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
13629 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
13630 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
13631 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
13632 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
13633 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
13634 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
13635 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
13636 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
13637 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
13638 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
13639 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
13640 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
13641 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
13642 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
13643 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
13644 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
13645 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
13646 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
13647 backslash-quoting from parentheses, etc.
13648
13649 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
13650
13651 * progmodes/js.el: Autoload javascript-mode alias.
13652
13653 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
13654
13655 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
13656 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
13657 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
13658 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
13659 Fix typos in docstrings.
13660 (ffap-url-regexp): Doc fix.
13661 (ffap-at-mouse): Fix typo in message.
13662
13663 2010-01-11 Glenn Morris <rgm@gnu.org>
13664
13665 * version.el (emacs-copyright): Set copyright year to 2010.
13666
13667 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
13668
13669 * format.el (format-annotate-function): Only set
13670 write-region-post-annotation-function after running to-fn so as not to
13671 affect nested write-region calls (bug#5273).
13672
13673 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
13674
13675 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
13676 wisent/python.el.
13677
13678 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
13679
13680 * man.el (Man-goto-section): Signal error if the section is not
13681 found (Bug#5317).
13682
13683 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
13684
13685 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
13686 URLs with a leading triple slash in the file: scheme. (Bug#5345)
13687
13688 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
13689
13690 * progmodes/compile.el: Don't treat compile-command as safe if
13691 compilation-read-command might be nil (Bug#4218).
13692
13693 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
13694
13695 * startup.el (command-line-1): Use orig-argi to check for ignored X and
13696 NS options.
13697
13698 2010-01-08 Kenichi Handa <handa@m17n.org>
13699
13700 * international/fontset.el (build-default-fontset-data):
13701 Exclude characters in scripts kana, hangul, han, or cjk-misc.
13702
13703 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
13704
13705 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
13706 to `create-file-buffer' as it expects, not just a buffer name.
13707 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
13708 to help uniquify. (Bug#3224)
13709
13710 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
13711
13712 * font-setting.el (font-setting-change-default-font): Use user-spec
13713 instead of name.
13714
13715 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
13716
13717 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
13718
13719 2010-01-05 Tom Tromey <tromey@redhat.com>
13720
13721 * progmodes/python.el (python-font-lock-keywords):
13722 Handle qualified decorators (Bug#881).
13723
13724 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
13725
13726 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
13727 in a lightweight checkout.
13728
13729 2010-01-05 Kenichi Handa <handa@m17n.org>
13730
13731 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
13732
13733 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
13734
13735 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
13736
13737 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
13738
13739 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
13740 checkouts. (Bug#618)
13741 (vc-bzr-log-view-mode): Also highlight the author.
13742 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
13743 (vc-bzr-shelve-menu-map):
13744 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
13745 (vc-bzr-shelve-apply): Make prompt more explicit.
13746
13747 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
13748
13749 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
13750 They are valid characters in URL paths (rfc3986), and at least
13751 Firefox does not understand the encoded version (Bug#3166).
13752
13753 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
13754
13755 * progmodes/octave-mod.el (octave-end-keywords)
13756 (octave-block-begin-or-end-regexp, octave-block-match-alist):
13757 Add "end" keyword (Bug#3061).
13758 (octave-end-as-array-index-p): New function.
13759 (calculate-octave-indent): Use it.
13760
13761 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13762
13763 * bookmark.el: Consistently put the text property on the bookmark name.
13764 (bookmark-bmenu-marks-width): Bump back to 2, to include
13765 annotation marks.
13766 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
13767 property on the bookmark name, instead of not putting it at all.
13768 (bookmark-bmenu-list): Fix where we put the text property.
13769
13770 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13771
13772 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
13773 for showing buffer modified state (as added in the previous change).
13774
13775 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13776
13777 * bookmark.el: Show modified state of bookmark buffer more accurately.
13778 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
13779 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
13780 (with-buffer-modified-unmodified): New macro.
13781 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
13782 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
13783 Use new macro to preserve the buffer modified state.
13784
13785 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13786
13787 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
13788 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
13789 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
13790 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
13791 (bookmark-bmenu-rename, bookmark-bmenu-locate)
13792 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
13793 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
13794
13795 2010-01-02 Eli Zaretskii <eliz@gnu.org>
13796
13797 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13798 Make the lines in the generated doc string shorter. (Bug#4668)
13799
13800 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
13801
13802 * net/rcirc.el: Add follow-link binding (Bug#4738).
13803
13804 2010-01-02 Eli Zaretskii <eliz@gnu.org>
13805
13806 * Makefile.in (bzr-update): Rename from cvs-update.
13807 (cvs-update): New target for backward compatibility.
13808
13809 * makefile.w32-in (bzr-update): Rename from cvs-update.
13810 (cvs-update): New target for backward compatibility.
13811
13812 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13813
13814 * bookmark.el: Remove gratuitous gratitude.
13815
13816 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13817
13818 * bookmark.el (bookmark-bmenu-any-marks): New function.
13819 (bookmark-bmenu-save): Clear buffer modification if no marks.
13820
13821 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13822
13823 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
13824 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
13825 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
13826 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
13827
13828 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
13829 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
13830 To: emacs-devel {_AT_} gnu.org
13831 Subject: bookmark.el bug report
13832 Date: Mon, 28 Dec 2009 14:19:16 +0800
13833 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
13834
13835 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13836
13837 * bookmark.el: Improvements suggested by Drew Adams:
13838 (bookmark-bmenu-ensure-position): New name for
13839 `bookmark-bmenu-check-position'. Just ensure the position,
13840 don't return any meaningful value.
13841 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
13842 New constants.
13843
13844 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
13845
13846 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
13847 (bookmark-yank-point, bookmark-bmenu-check-position):
13848 Fix typos in docstrings.
13849 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
13850 (bookmark-name-from-full-record, bookmark-get-position)
13851 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
13852 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
13853 Remove useless quoting of parenthesis, etc. in docstrings.
13854
13855 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
13856 (ediff-append-custom-diff): Fix typo in error message.
13857 (ediff-meta-mark-equal-files): Fix typos in messages.
13858
13859 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
13860
13861 * net/imap-hash.el (imap-hash-make): Doc fix.
13862 (imap-hash-test): Fix typo in error message; reflow docstring.
13863 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
13864 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
13865 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
13866 Fix typos in docstrings.
13867 (imap-hash-open-connection): Fix typo in error message.
13868
13869 * play/gomoku.el (gomoku): Fix typos in docstring.
13870
13871 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
13872 (gdb-jsonify-buffer): Fix typos in docstring.
13873 (gdb-goto-breakpoint): Fix typo in error message.
13874 ("Display Other Windows"): Fix typo in help message.
13875 (gdb-speedbar-expand-node): Fix typo in question.
13876
13877 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
13878 (idlwave-html-system-help-location, idlwave-html-help-location)
13879 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
13880 (idlwave-help-browser-generic-args, idlwave-help-directory)
13881 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
13882 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
13883 (idlwave-online-help, idlwave-help-html-link)
13884 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
13885 Fix typos in docstrings.
13886 (idlwave-help-with-source, idlwave-help-find-routine-definition):
13887 Reflow docstrings.
13888 (idlwave-help-assistant-start): Fix typo in error message.
13889
13890 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
13891 (octave-electric-space): Fix typos in docstrings.
13892
13893 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
13894
13895 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
13896
13897 2010-01-01 Juri Linkov <juri@jurta.org>
13898
13899 * comint.el (comint-input-ring-size): Make it a defcustom and
13900 increase the default to 500 (Bug#5148).
13901
13902 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
13903
13904 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
13905 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
13906 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
13907
13908 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
13909
13910 Show working revision correctly for mercurial.
13911 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
13912 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
13913
13914 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
13915
13916 Declare some functions for the byte-compiler.
13917 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
13918 (speedbar-timer-fn, speedbar-change-expand-button-char)
13919 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
13920
13921 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
13922
13923 This changeset reverts GDB Graphical Interface to use annotations.
13924 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
13925
13926 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
13927
13928 Make vc-dir work on subdirectories of the bzr root.
13929 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
13930 Return file names relative to it.
13931 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
13932 relative directory to vc-bzr-after-dir-status.
13933
13934 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
13935
13936 * font-lock.el (font-lock-refresh-defaults): New function, which
13937 can be used to let font-lock react to external changes in
13938 variables like font-lock-defaults and keywords.
13939 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
13940
13941 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
13942
13943 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
13944
13945 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
13946
13947 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
13948
13949 Supersede color.diff settings in git log (bug#5211).
13950
13951 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
13952 escape chars in its output when the user has color.diff set to `always'.
13953 This fix works on git 1.4.2 and newer (released on 2006-08-13).
13954
13955 2009-12-26 Kevin Ryde <user42@zip.com.au>
13956
13957 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
13958 node. Keep previous "Index" name to work with past coreutils too.
13959
13960 * man.el (man): Revise docstring a bit to show -a and -l as
13961 examples. Add -k description since support for it has otherwise
13962 been a secret. (Further to bug#3717.)
13963 (Man-bgproc-sentinel): When "-k foo" produces no output show error
13964 "no matches" rather than "Can't find manpage", as the latter reads
13965 like -k was interpreted as a page name, which is not so. (Bug#5431)
13966
13967 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
13968
13969 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
13970 switches. Check also for //SUBDIRED// line.
13971
13972 2009-12-25 Kenichi Handa <handa@m17n.org>
13973
13974 * language/indian.el (devanagari-composable-pattern): Fix to
13975 handle ZWNJ and ZWJ. Use it in composition-function-table for
13976 Devanagari.
13977 (malayalam-composable-pattern): Fix previous change.
13978
13979 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13980
13981 * ps-print.el (ps-face-attributes): It was not returning the
13982 attribute face for faces specified as string. Reported by harven
13983 <harven@free.fr>. (Bug#5254)
13984 (ps-print-version): New version 7.3.5.
13985
13986 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
13987
13988 * calendar/icalendar.el (icalendar--convert-tz-offset):
13989 Fix timezone names.
13990 (icalendar--convert-tz-offset): Fix the "last-day-problem".
13991 (icalendar--add-diary-entry): Remove the trailing blank that
13992 diary-make-entry inserts.
13993
13994 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
13995
13996 Make `file-expand-wildcards' work for remote files.
13997
13998 * files.el (file-expand-wildcards): In case of remote files, check
13999 only local file name part for wildcards. Provide feature 'files
14000 and subfeature 'remote-wildcards. (Bug#5198)
14001
14002 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
14003 if there is already an established connection.
14004 (tramp-advice-file-expand-wildcards): Remove it.
14005
14006 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
14007 (tramp-advice-file-expand-wildcards): Move from tramp.el.
14008 Activate advice for older GNU Emacs versions. (Bug#5237)
14009
14010 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
14011
14012 Some doc fixes (more needed).
14013
14014 * find-cmd.el (find-constituents): Reflow docstring.
14015 (find-cmd, find-prune, find-command): Fix typos in docstrings.
14016 (find-generic): Doc fix.
14017
14018 2009-12-17 Juri Linkov <juri@jurta.org>
14019
14020 Fix regression from 23.1 to allow multiple modes in Local Variables.
14021
14022 * files.el (hack-local-variables-filter): While ignoring duplicates,
14023 don't take `mode' into account.
14024 (hack-local-variables-filter, hack-dir-local-variables):
14025 Don't remove duplicate `mode' from local-variables-alist (like `eval').
14026
14027 2009-12-17 Juri Linkov <juri@jurta.org>
14028
14029 Make `dired-diff' safer. (Bug#5225)
14030
14031 * dired-aux.el (dired-diff): Signal an error when `file' equals to
14032 `current' or when `file' is a directory of the `current' file.
14033
14034 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
14035
14036 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
14037 unconditionally preloaded files.
14038
14039 2009-12-16 Juri Linkov <juri@jurta.org>
14040
14041 Revert to old 23.1 logic of using the file at the mark as default.
14042 * dired-aux.el (dired-diff): Use the file at the mark as default
14043 if it's not the same as the current file, and the target dir is
14044 the current dir or the mark is active. Add the current file
14045 as the arg of `dired-dwim-target-defaults'. Use the default file
14046 in the prompt. (Bug#5225)
14047
14048 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
14049
14050 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
14051 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
14052 (tramp-check-for-regexp): Check also, when an echoing shell stops
14053 to echo sent commands.
14054
14055 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
14056
14057 * Makefile.in: Revert last change (Bug#5191).
14058
14059 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
14060
14061 * vc-hg.el (vc-hg-print-log): Fix argument order.
14062 (vc-hg-working-revision): Make sure the command is executed in a
14063 known environment so that we can parse the output. (Bug#4417)
14064
14065 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
14066
14067 * progmodes/python.el (python-symbol-completions): Remove text
14068 properties from symbol string before calling python-send-receive.
14069
14070 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
14071
14072 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
14073 when there are values for both file and line. (Bug#5060)
14074
14075 2009-12-14 Juri Linkov <juri@jurta.org>
14076
14077 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
14078 whitespace after the file name of the first line of unified format,
14079 because git-diff doesn't output whitespace and file modification time
14080 after the file name.
14081
14082 2009-12-14 David Kastrup <dak@gnu.org>
14083
14084 * info.el (Info-hide-cookies-node): Before hiding a cookie,
14085 check if it already has the `display' property added by
14086 `Info-display-images-node', and not put the `invisible' property
14087 in this case.
14088
14089 2009-12-13 Glenn Morris <rgm@gnu.org>
14090
14091 * mail/emacsbug.el (message-sort-headers): Define for compiler.
14092 (report-emacs-bug): In message-mode, sort manually before storing
14093 original report text. (Bug#5178)
14094 Remove superfluous save-excursion.
14095
14096 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
14097
14098 * net/dbus.el (dbus-property-handler): Filter lambda forms out
14099 when responding to "GetAll" properties.
14100
14101 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
14102
14103 * simple.el (compose-mail): Remove mail-setup-with-from from
14104 customization checks.
14105
14106 2009-12-12 Eli Zaretskii <eliz@gnu.org>
14107
14108 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
14109 RAR archives created on Unix systems.
14110
14111 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
14112
14113 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
14114 the varalias that was accidentally removed by the 2009-11-19 change
14115 (bug#5186).
14116
14117 2009-12-12 Kenichi Handa <handa@m17n.org>
14118
14119 * language/indian.el (indian-compose-regexp): New function.
14120 (malayalam-composable-pattern): Fix the pattern.
14121 (composition-function-table): Set malayalam-composable-pattern for
14122 Malayalam characters.
14123
14124 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
14125
14126 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
14127 rather than down-mouse-1, based on follow-link conventions.
14128
14129 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
14130 are compiled.
14131
14132 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
14133
14134 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
14135 (verilog-vmm-statement-re, verilog-ovm-statement-re)
14136 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
14137 (verilog-leap-to-head, verilog-backward-token):
14138 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
14139
14140 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
14141
14142 * progmodes/verilog-mode.el (verilog-auto-lineup)
14143 (verilog-nameable-item-re): Cleanup user-visible spelling and
14144 documentation errors. One reported by Gary Delp.
14145 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
14146 (verilog-read-decls): Fix AUTOWIRE with types declared in a
14147 package, bug195. Reported by Pierre-David Pfister.
14148
14149 2009-12-11 Glenn Morris <rgm@gnu.org>
14150
14151 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
14152
14153 * mail/emacsbug.el: No longer require sendmail.
14154 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
14155 (report-emacs-bug-orig-text): Doc fix.
14156 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
14157 New local variables, to adapt to different mail-user-agents.
14158 (report-emacs-bug): Fix test for a gnu.org address.
14159 Use overlays for emphasis, since font-lock defeats 'face property.
14160 Pretest bugs also end up at the newsgroup these days.
14161 Stop message-mode stripping text properties.
14162 Set and use the new buffer-local variables.
14163 (report-emacs-bug-hook): Add doc-string.
14164 Remove some unnecessary save-excursions and simplify.
14165 Use the appropriate hook and send-command.
14166
14167 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
14168 capitalization of some menu entries.
14169
14170 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14171
14172 * whitespace.el (whitespace-display-char-on):
14173 Ensure `buffer-display-table' is unique when two or more windows are
14174 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
14175 New version 12.1.
14176
14177 2009-12-10 Eli Zaretskii <eliz@gnu.org>
14178
14179 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
14180 characters in the Attribute field.
14181
14182 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
14183
14184 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
14185
14186 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
14187
14188 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
14189 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14190 Disregard autoload-excludes.
14191 (update-directory-autoloads): Obey autoload-excludes here instead.
14192 But don't store its contents in no-autoloads and remove entries that
14193 refer to excludes files.
14194
14195 2009-12-10 Glenn Morris <rgm@gnu.org>
14196
14197 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
14198 (expand-mail-aliases): Define for compiler.
14199
14200 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
14201 Define for compiler.
14202
14203 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
14204 appropriate for the mail-user-agent in use.
14205
14206 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
14207
14208 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
14209
14210 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
14211
14212 Fix short log parsing and fontification.
14213 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
14214 Fix fontification for the [merge] label.
14215
14216 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
14217
14218 Drop some properties to avoid surprises (bug#5002).
14219 * htmlfontify.el (hfy-ignored-properties): New defcustom.
14220 (hfy-fontify-buffer): Use it.
14221
14222 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
14223
14224 Minor cleanup.
14225 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
14226 Adjust all callers.
14227 (ffap-locate-file): Remove unused arg `dir-ok' and make other
14228 args compulsory. Adjust callers.
14229 (ffap-gopher-at-point): Remove unused var `name'.
14230
14231 Get rid of the ELCFILES abomination.
14232 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
14233 (compile-elcfiles): New phony target.
14234 (compile-main): Compute ELCFILES dynamically.
14235 (compile-clean): New target to remove left-over elc files.
14236 (compile, all): Use it.
14237
14238 2009-12-09 Kenichi Handa <handa@etlken>
14239
14240 * international/mule-diag.el: Require help-mode instead of help-fns.
14241
14242 2009-12-09 Kenichi Handa <handa@m17n.org>
14243
14244 * international/mule-cmds.el (ucs-names): Supply sufficiently
14245 fine ranges instead of pre-calculating accurate ranges.
14246 Iterate with bigger gc-cons-threshold.
14247
14248 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
14249
14250 Add support for stashing a snapshot of the current tree.
14251 * vc-git.el (vc-git-stash-snapshot): New function.
14252 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
14253
14254 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
14255
14256 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
14257 instead of `(beginning|end)-of-line'.
14258
14259 2009-12-08 Glenn Morris <rgm@gnu.org>
14260
14261 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
14262
14263 * Makefile.in (ELCFILES): Regenerate.
14264
14265 2009-12-07 Juri Linkov <juri@jurta.org>
14266
14267 Don't lazy-highlight the comint output in history Isearch mode.
14268
14269 * comint.el (comint-history-isearch-search): Instead of
14270 `comint-line-beginning-position', use `comint-after-pmark-p'
14271 to check if point if before the process mark, and go to
14272 `process-mark' in this case.
14273
14274 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14275
14276 * textmodes/tex-mode.el (latex-complete)
14277 (latex-indent-or-complete): Remove.
14278 (latex-mode): Set completion-at-point-functions instead.
14279
14280 Provide a standard completion command and hook it into TAB.
14281 * minibuffer.el (completion-at-point-functions): New var.
14282 (completion-at-point): New command.
14283 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
14284 * progmodes/python.el (python-mode-map): Use completion-at-point.
14285 (python-completion-at-point): Rename from python-partial-symbol and
14286 adjust for use in completion-at-point-functions.
14287 (python-mode): Setup completion-at-point for Python completion.
14288 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
14289 extracted from lisp-complete-symbol.
14290 (lisp-complete-symbol): Use it.
14291 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
14292 setup completion-at-point for Elisp completion.
14293 (emacs-lisp-mode-map, lisp-interaction-mode-map):
14294 Use completion-at-point.
14295 * ielm.el (ielm-map): Use completion-at-point.
14296 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
14297 * progmodes/sym-comp.el: Move to...
14298 * obsolete/sym-comp.el: Move from progmodes.
14299
14300 2009-12-07 Eli Zaretskii <eliz@gnu.org>
14301
14302 Prevent save-buffer in Rmail buffers from using the coding-system
14303 of the current message, and from clobbering the encoding mnemonics
14304 in the mode line (Bug#4623).
14305
14306 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
14307 flag, too.
14308 (rmail-message-encoding): New variable.
14309 (rmail-write-region-annotate): Record the encoding of the current
14310 message in rmail-message-encoding.
14311 (rmail-after-save-hook): New function, restores the encoding of
14312 the current message after the message collection is saved.
14313
14314 2009-12-07 Juri Linkov <juri@jurta.org>
14315
14316 * progmodes/grep.el (grep-read-files): Use `completing-read'
14317 instead of `read-string'. Set its `collection' arg to
14318 `read-file-name-internal'. (Bug#4301)
14319
14320 2009-12-07 Juri Linkov <juri@jurta.org>
14321
14322 Correctly restore original Isearch point. (Bug#4994)
14323
14324 * isearch.el (isearch-mode): Move `isearch-push-state' after
14325 `(run-hooks 'isearch-mode-hook)'.
14326 (isearch-cancel): When `isearch-push-state-function' is defined,
14327 let-bind `isearch-cmds' to the first state (the last element of
14328 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
14329 function and restores the original point). Otherwise, move point
14330 to `isearch-opoint'.
14331
14332 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14333
14334 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
14335 chars that don't have names, so the table can be built much faster at
14336 run-time.
14337
14338 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
14339
14340 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
14341 change. Suggested by David Kastrup.
14342
14343 * simple.el (compose-mail): Check for incompatibilities and warn.
14344 (compose-mail-user-agent-warnings): New option.
14345
14346 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14347
14348 Support showing a single log entry from vc-annotate.
14349 * vc.el (print-log): Add a new argument: START-REVISION.
14350 (vc-print-log-internal): Add a new optional argument and
14351 pass it to the backend.
14352 (vc-print-log, vc-print-root-log): Adjust callers.
14353 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
14354 buffer already displays the requested log entry, use it.
14355 Otherwise display only the log entry in question.
14356 * vc-svn.el (vc-svn-print-log):
14357 * vc-mtn.el (vc-mtn-print-log):
14358 * vc-hg.el (vc-hg-state):
14359 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
14360 (vc-git-show-log-entry): Return t on success.
14361 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
14362 (vc-bzr-show-log-entry): Return t on success.
14363 * vc-rcs.el (vc-rcs-print-log):
14364 * vc-sccs.el (vc-sccs-print-log):
14365 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
14366
14367 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14368
14369 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
14370 Add menus to the meta mode. (Bug#5043)
14371
14372 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
14373
14374 * ediff-init.el (ediff-event-key): Use event-to-character instead of
14375 event-key.
14376
14377 * ediff.el (ediff-buffers-internal): Add unwind-protect.
14378
14379 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
14380
14381 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
14382 Berbain <raphael.berbain@gmail.com>.
14383
14384 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
14385 characters.
14386 (tramp-initial-end-of-output): New defconst.
14387 (tramp-methods, tramp-find-shell)
14388 (tramp-open-connection-setup-interactive-shell)
14389 (tramp-maybe-open-connection): Use it.
14390 (tramp-shell-prompt-pattern, tramp-wait-for-output):
14391 Handle existence of `#' and `$'.
14392
14393 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
14394 Use `tramp-initial-end-of-output'.
14395
14396 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14397
14398 Get the background mode from the terminal for xterm, and set
14399 faces accordingly.
14400 * term/xterm.el (xterm-set-background-mode): New function.
14401 (terminal-init-xterm): Use it in case xterm supports background
14402 color queries. Recompute faces after getting the background
14403 color.
14404
14405 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
14406
14407 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
14408 number comment back on its own line, for easier parsing.
14409
14410 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14411
14412 Make it work for non-file buffers (bug#5102).
14413 * doc-view.el (doc-view-current-cache-dir):
14414 Use doc-view-buffer-file-name rather than buffer-file-name.
14415 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
14416
14417 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
14418
14419 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
14420 author field is too short.
14421
14422 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
14423
14424 * vc-git.el (vc-git-print-log): Handle a limit argument.
14425 Display the short log in graph form and with labels.
14426 (vc-git-log-view-mode): Handle labels.
14427
14428 Make vc-revert change VC state from 'added to 'unregistered.
14429 * vc-git.el (vc-git-revert): Call git reset first.
14430
14431 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
14432
14433 * net/newst-backend.el, net/newst-plainview.el:
14434 * net/newst-reader.el, net/newst-ticker.el:
14435 * net/newst-treeview.el, net/newsticker.el:
14436 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
14437
14438 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
14439
14440 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
14441
14442 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
14443 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
14444 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
14445 Update annotation regexp.
14446
14447 * simple.el (beginning-of-visual-line): Constrain to field
14448 boundaries (Bug#5106).
14449
14450 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
14451
14452 * xml.el (xml-substitute-numeric-entities):
14453 Move newsticker--decode-numeric-entities in newst-backend.el to
14454 xml-substitute-numeric-entities in xml.el. (Bug#5008)
14455 * net/newst-backend.el (newsticker--parse-generic-feed)
14456 (newsticker--parse-generic-items)
14457 (newsticker--decode-numeric-entities):
14458 Move newsticker--decode-numeric-entities in newst-backend.el to
14459 xml-substitute-numeric-entities in xml.el. (Bug#5008)
14460
14461 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
14462
14463 * progmodes/js.el (js--js-not): Add null to the list of values.
14464
14465 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
14466
14467 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
14468
14469 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
14470
14471 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
14472 delimiter if it is at the end of the current line.
14473 (bibtex-generate-url-list): Fix docstring.
14474
14475 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
14476
14477 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
14478 minibuffer's content with itself.
14479 Fold the confirm-after-completion case into the `confirm' case.
14480 (completion-pcm-word-delimiters): Add : and / to the delimiters.
14481
14482 2009-12-06 Kevin Ryde <user42@zip.com.au>
14483
14484 * ffap.el (ffap-rfc-path): Make this a defcustom since
14485 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
14486
14487 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
14488 manuals, similar to existing setup for help-mode. (Bug#3913.)
14489
14490 2009-12-05 Juri Linkov <juri@jurta.org>
14491
14492 Save and restore dired buffer's point positions too. (Bug#4880)
14493
14494 * dired.el (dired-save-positions): Return in the first element
14495 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
14496 Doc fix.
14497 (dired-restore-positions): First restore buffer's position.
14498 While restoring window's positions, check if window still displays
14499 the original buffer.
14500
14501 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
14502
14503 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
14504 if possible.
14505
14506 * shell.el (shell): Require ansi-color (Bug#5113).
14507
14508 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
14509
14510 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
14511
14512 2009-12-05 Alan Mackenzie <acm@muc.de>
14513
14514 * progmodes/cc-mode.el (c-before-hack-hook)
14515 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
14516 `c-file-style' to work again. This reversion restores the current
14517 software to its state in Emacs 23.1. (Bug#4146)
14518
14519 2009-12-05 Kevin Ryde <user42@zip.com.au>
14520
14521 * textmodes/sgml-mode.el (sgml-lexical-context):
14522 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
14523
14524 2009-12-05 Juri Linkov <juri@jurta.org>
14525
14526 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
14527 for virtual nodes. (Bug#4147)
14528 (Info-find-node-2): Set `Info-current-node-virtual' to nil
14529 when moving from a virtual node.
14530 (Info-mode-menu): Add `Info-virtual-index' to the menu.
14531 (Info-mode): Add `Info-virtual-index' to the docstring.
14532
14533 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
14534
14535 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
14536 track of the buffer position of the end of a BibTeX entry as this
14537 position may change during reformatting.
14538 (bibtex-format-entry): Remove whitespace before processing
14539 numerical fields so that we recognize the latter properly.
14540 (bibtex-reformat): Do not use push which changes the global value
14541 of bibtex-entry-format.
14542 (bibtex-field-braces-alist, bibtex-field-strings-alist)
14543 (bibtex-field-re-init): Replace only space characters by regexp
14544 for whitespace.
14545 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
14546 (bibtex-initialize): Also update bibtex-strings.
14547 (bibtex-kill-field): Preserve white space at end of entry.
14548 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
14549 Update bibtex-reference-keys.
14550
14551 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
14552
14553 * minibuffer.el (completion-pcm--merge-try): Also consider placing
14554 point after a star, if that's the only place where modifications can
14555 make progress.
14556
14557 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
14558
14559 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
14560 in docstrings.
14561
14562 2009-12-04 Juri Linkov <juri@jurta.org>
14563
14564 * proced.el (proced): Call `(proced-update t)' to update process
14565 information instead of only running proced-post-display-hook.
14566 (proced-send-signal): Add a leading space to the buffer name
14567 " *Marked Processes*" to make this buffer ephemeral.
14568
14569 2009-12-04 Juri Linkov <juri@jurta.org>
14570
14571 * dired.el (dired-auto-revert-buffer): New defcustom.
14572 (dired-internal-noselect): Use it.
14573
14574 2009-12-04 Juri Linkov <juri@jurta.org>
14575
14576 Change roles of modes and functions in image-mode.el (Bug#5062).
14577
14578 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
14579 in `auto-mode-alist'.
14580 (image-mode-previous-major-mode): New variable.
14581 (image-minor-mode-map): Rename from `image-mode-text-map'.
14582 (image-mode): Move graceful error-handling code from
14583 `image-minor-mode' to here. On errors call `image-mode-as-text'.
14584 (image-minor-mode): Remove all image-handling code.
14585 Replace `image-mode-text-map' with `image-minor-mode-map'.
14586 Check for `image-type' in mode-line format string.
14587 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
14588 (image-mode-as-text): New function with most code from
14589 `image-mode-maybe'.
14590 (image-toggle-display-text): Move code that removes image
14591 properties from `image-toggle-display' to here.
14592 (image-toggle-display-image): New function with code that adds
14593 image properties copied from `image-toggle-display'.
14594 (image-toggle-display): Remove most code with leaving only code
14595 that toggles between `image-mode-as-text' and `image-mode'.
14596
14597 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
14598
14599 * net/newst-treeview.el
14600 (newsticker--treeview-list-highlight-start): Restored call to
14601 save-excursion: Selected item was stuck.
14602 (newsticker--treeview-list-select): New.
14603 (newsticker--treeview-item-show-text)
14604 (newsticker--treeview-item-show)
14605 (newsticker--treeview-item-update): Use new
14606 newsticker-treeview-item-mode.
14607 (newsticker-treeview-update): Keep current item.
14608 (newsticker-treeview-next-new-or-immortal-item): Doc change.
14609 (newsticker--treeview-first-feed): Doc change.
14610 (newsticker-treeview-list-menu)
14611 (newsticker-treeview-item-menu): Add menu entries.
14612 (newsticker-treeview-item-mode): New.
14613
14614 * net/newst-backend.el (newsticker-customize): Delete other
14615 windows.
14616
14617 2009-12-04 Sam Steingold <sds@gnu.org>
14618
14619 * log-view.el (log-view-mode-map): "q" calls quit-window,
14620 like in all the other non-self-insert buffers.
14621
14622 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
14623
14624 Minor cleanup.
14625 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
14626 key decoding rather than do it manually via last-input-event +
14627 ascii-character.
14628 (term-exec): Use delete-and-extract-region.
14629 (term-handle-ansi-terminal-messages): Remove unused var `end'.
14630 (term-process-pager): Remove unused var `i'.
14631 (term-dynamic-simple-complete): Make obsolete.
14632 (serial-update-config-menu): Remove unused vars `y' and `str'.
14633 (term-update-mode-line): Remove unused var `temp'.
14634
14635 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
14636
14637 Limit the number of log entries displayed by default.
14638 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
14639 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
14640 using a prefix argument.
14641
14642 2009-12-03 Glenn Morris <rgm@gnu.org>
14643
14644 * progmodes/idlwave.el (class): Restore still useful declaration.
14645
14646 2009-12-03 Alan Mackenzie <acm@muc.de>
14647
14648 Enhance `c-parse-state' to run efficiently in "brace deserts".
14649
14650 * progmodes/cc-mode.el (c-basic-common-init):
14651 Call c-state-cache-init.
14652 (c-neutralize-syntax-in-and-mark-CPP): Rename from
14653 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
14654 placing `category' properties value 'c-cpp-delimiter at its boundaries.
14655
14656 * progmodes/cc-langs.el (c-before-font-lock-function):
14657 c-extend-and-neutralize-syntax-in-CPP has been renamed
14658 c-neutralize-syntax-in-and-mark-CPP.
14659
14660 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
14661 with `category' properties now, not `syntax-table' ones.
14662
14663 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
14664 enhanced (but slower) version of c-end-of-macro that won't land
14665 inside a literal or on another awkward character.
14666 (c-state-cache-too-far, c-state-cache-start)
14667 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
14668 (c-state-nonlit-pos-cache-limit, c-state-point-min)
14669 (c-state-point-min-lit-type, c-state-point-min-lit-start)
14670 (c-state-min-scan-pos, c-state-brace-pair-desert)
14671 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
14672 buffer local variables.
14673 (c-state-literal-at, c-state-lit-beg)
14674 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
14675 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
14676 (c-state-cache-top-paren, c-state-cache-after-top-paren)
14677 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
14678 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
14679 (c-renarrow-state-cache)
14680 (c-append-lower-brace-pair-to-state-cache)
14681 (c-state-push-any-brace-pair, c-append-to-state-cache)
14682 (c-remove-stale-state-cache)
14683 (c-remove-stale-state-cache-backwards, c-state-cache-init)
14684 (c-invalidate-state-cache-1, c-parse-state-1)
14685 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
14686 (c-parse-state): Enhance and refactor.
14687 (c-debug-parse-state): Amend to deal with all the new variables.
14688
14689 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
14690 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
14691 modify to use category text properties rather than syntax-table ones.
14692 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
14693 to switch off/on the syntactic paren property of C++ template
14694 delimiters using the category property.
14695 (c-with-<->-as-parens-suppressed): Macro to invoke code with
14696 template delims suppressed.
14697 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
14698 New constant/macros which apply category properties to the start
14699 and end of preprocessor constructs.
14700 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
14701 "comment out" the syntactic value of characters in preprocessor
14702 constructs.
14703 (c-with-cpps-commented-out)
14704 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
14705 with characters in all or all but one preprocessor constructs
14706 "commented out".
14707
14708 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
14709
14710 * proced.el (proced-filter-alist): Use regexp-quote.
14711
14712 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
14713
14714 Cleanup.
14715 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
14716 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
14717 arguments. Expand `default-directory'.
14718
14719 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
14720 the benefit of returning an expanded localname.
14721 (tramp-tramp-file-p): Handle the case NAME is not a string.
14722
14723 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
14724
14725 Add support for bzr shelve/unshelve.
14726 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
14727 (vc-bzr-extra-menu-map): New variables.
14728 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
14729 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
14730 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
14731 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
14732 (vc-bzr-dir-extra-headers): Display shelves.
14733
14734 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
14735
14736 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14737
14738 * textmodes/bibtex.el (bibtex-complete-internal):
14739 Use completion-in-region.
14740 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
14741
14742 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
14743
14744 Support applying stashes. Improve UI.
14745 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
14746 (vc-git-stash-apply, vc-git-stash-pop)
14747 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
14748 (vc-git-stash-menu): New functions.
14749 (vc-git-stash-menu-map): New variable.
14750 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
14751
14752 2009-12-03 Glenn Morris <rgm@gnu.org>
14753
14754 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
14755 (vc-print-log-internal): Fix previous change.
14756 (vc-revert): Correct pluralization.
14757
14758 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14759
14760 * progmodes/make-mode.el (makefile-special-targets-list): No need for
14761 it to be an alist any more.
14762 (makefile-complete): Use completion-in-region.
14763
14764 * progmodes/octave-mod.el (octave-complete-symbol):
14765 Use completion-in-region.
14766
14767 Misc cleanup.
14768 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
14769 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
14770 (idlwave-complete-class): Don't quote lambda.
14771 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
14772 (idlwave-mode-map): Move initialization into declaration.
14773 (idlwave-action-and-binding): Use backquotes.
14774 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
14775 Simplify.
14776 (idlwave-is-pointer-dereference): Remove unused var `pos'.
14777 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
14778 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
14779 `parts', and `all-parts'.
14780 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
14781 (idlwave-convert-xml-system-routine-info): Remove unused string
14782 `version-string'.
14783 (idlwave-display-user-catalog-widget): Use dolist.
14784 (idlwave-scanning-lib): Declare dynamically-scoped var.
14785 (idlwave-scan-library-catalogs): Remove unused var `flags'.
14786 (completion-highlight-first-word-only): Declare to silence bytecomp.
14787 (idlwave-popup-select): Tighten scope of `resp'.
14788 (idlwave-find-struct-tag): Remove unused var `beg'.
14789 (idlwave-after-load-rinfo-hook): Declare.
14790 (idlwave-sintern-class-info): Remove unused var `taglist'.
14791 (idlwave-find-class-definition): Remove unused var `list'.
14792 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
14793 (idlwave-what-module-find-class): Remove unused var `classes'.
14794
14795 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
14796
14797 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
14798
14799 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14800
14801 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
14802 buffers visited. Remove redundant current-buffer-saving.
14803
14804 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
14805
14806 Use completion-in-buffer and remove uses of dynamic scoping.
14807 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
14808 (pascal-buffer-to-use, pascal-flag): Don't declare.
14809 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
14810 (pascal-get-completion-decl, pascal-keyword-completion):
14811 Add `pascal-str' argument, save-excursion,
14812 return the found completions, and don't filter with pascal-pred.
14813 (pascal-completion-cache): New var.
14814 (pascal-completion): Don't switch buffer any more (it was never
14815 necessary). Don't save-excursion any more (it's done by the called
14816 subroutines). Use a cache to avoid redundant computations.
14817 Use complete-with-action rather than pascal-completion-response and
14818 let it apply the predicate as well.
14819 (pascal-complete-word): Use completion-in-buffer when
14820 pascal-toggle-completions is nil.
14821 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
14822 not used any more.
14823 (pascal-comp-defun): Don't change buffer any more.
14824 Use complete-with-action rather than pascal-completion-response and
14825 let it apply the predicate as well.
14826 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
14827 when neded.
14828
14829 2009-12-02 Kenichi Handa <handa@m17n.org>
14830
14831 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
14832 shape for all Indic scripts.
14833
14834 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
14835
14836 Use completion-in-buffer.
14837 * wid-edit.el (widget-field-text-end): New function.
14838 (widget-field-value-get): Use it.
14839 (widget-string-complete, widget-file-complete)
14840 (widget-color-complete): Use it and completion-in-region.
14841 (widget-complete): Don't narrow the buffer.
14842
14843 2009-12-02 Glenn Morris <rgm@gnu.org>
14844
14845 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
14846 (rmail-select-summary): Use rmail-pop-to-buffer.
14847 * mail/rmailsum.el: Replace all pop-to-buffer calls with
14848 rmail-pop-to-buffer, to prevent horizontal splits.
14849
14850 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
14851 save-excursion with save-current-buffer.
14852 Widen before searching. (Bug#5093)
14853 (diary-list-sexp-entries): Remove superfluous save-excursion.
14854
14855 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
14856
14857 * woman.el (woman-make-bufname): Handle man-pages with "." in the
14858 name. (Bug#5038)
14859
14860 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
14861
14862 * ido.el (ido-file-internal): Handle filenames at point that do
14863 not have a directory part. (Bug#5049)
14864
14865 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
14866
14867 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
14868 (mpc-songs-jump-to, mpc-resume): Doc fixes.
14869
14870 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
14871
14872 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
14873 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
14874 any more.
14875
14876 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
14877
14878 * comint.el (comint-insert-input): Ignore clicks to the right of
14879 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
14880
14881 * vc.el (vc-print-log-internal): Don't wait for the process to
14882 terminate before setting up the major mode.
14883
14884 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
14885 in case.
14886
14887 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
14888 the last element.
14889
14890 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
14891
14892 2009-12-01 Glenn Morris <rgm@gnu.org>
14893
14894 * window.el (window--display-buffer-2): Fix previous changes.
14895
14896 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
14897
14898 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
14899
14900 2009-12-01 Glenn Morris <rgm@gnu.org>
14901
14902 * Makefile.in (ELCFILES): Add mpc.elc.
14903
14904 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
14905
14906 * mpc.el: New file.
14907
14908 2009-12-01 Glenn Morris <rgm@gnu.org>
14909
14910 * window.el (window-to-use): Define for compiler.
14911
14912 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
14913 consistent with others (no final period).
14914
14915 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
14916 (rmail-mime-show): Downcase the encoding. (Bug#5070)
14917
14918 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
14919
14920 Make vc-print-log buttons work.
14921 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
14922
14923 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
14924
14925 * savehist.el (savehist-autosave-interval): Allow setting to nil
14926 through customize. (Bug#5056)
14927
14928 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
14929
14930 Fix references to jit-lock properties.
14931 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
14932 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
14933 (perl-font-lock-special-syntactic-constructs):
14934 Quote jit-lock-defer-multiline property.
14935
14936 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
14937
14938 * vc-git.el (vc-git-registered): Call vc-git-root only once.
14939
14940 2009-11-30 Juri Linkov <juri@jurta.org>
14941
14942 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
14943 value `buffer' of `multi-isearch-next-buffer-current-function'.
14944 Use `(current-buffer)' when `buffer' is nil.
14945 (multi-isearch-next-buffer-from-list): Don't fallback to
14946 `(current-buffer)' when `buffer' is nil. (Bug#4947)
14947
14948 2009-11-30 Juri Linkov <juri@jurta.org>
14949
14950 * misearch.el (multi-isearch-read-buffers): Move canonicalization
14951 of buffers with `get-buffer' to `multi-isearch-buffers'.
14952 (multi-isearch-buffers, multi-isearch-buffers-regexp):
14953 Canonicalize BUFFERS with `get-buffer'. Doc fix.
14954 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
14955 FILES with `expand-file-name' converting relative file names
14956 to absolute. Doc fix. (Bug#4727)
14957
14958 2009-11-30 Juri Linkov <juri@jurta.org>
14959
14960 * misearch.el (multi-isearch-read-buffers)
14961 (multi-isearch-read-matching-buffers): New functions.
14962 (multi-isearch-buffers, multi-isearch-buffers-regexp):
14963 Use them in the `interactive' spec. Doc fix.
14964 (multi-isearch-read-files, multi-isearch-read-matching-files):
14965 New functions.
14966 (multi-isearch-files, multi-isearch-files-regexp):
14967 Use them in the `interactive' spec. Doc fix. (Bug#4725)
14968
14969 2009-11-30 Juri Linkov <juri@jurta.org>
14970
14971 * doc-view.el (doc-view-continuous):
14972 Rename from `doc-view-continuous-mode'.
14973 (doc-view-menu): Move "Toggle display" to the top.
14974 Add submenu "Continuous" with radio buttons "Off"/"On"
14975 and "Save as Default".
14976 (doc-view-scroll-up-or-next-page)
14977 (doc-view-scroll-down-or-previous-page)
14978 (doc-view-next-line-or-next-page)
14979 (doc-view-previous-line-or-previous-page):
14980 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
14981
14982 2009-11-30 Juri Linkov <juri@jurta.org>
14983
14984 * comint.el (comint-mode-map): Rebind `M-r' from
14985 `comint-previous-matching-input' to
14986 `comint-history-isearch-backward-regexp'.
14987 Unbind `M-s' to allow global key binding `M-s'.
14988 Add menu items for `comint-history-isearch-backward' and
14989 `comint-history-isearch-backward-regexp'. (Bug#3746)
14990
14991 2009-11-30 Juri Linkov <juri@jurta.org>
14992
14993 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
14994 For def=recenter, replace `recenter' with `recenter-top-bottom'
14995 that is called with `this-command' and `last-command' let-bound
14996 to `recenter-top-bottom'. When the last `def' was not `recenter',
14997 set `recenter-last-op' to nil. (Bug#4981)
14998
14999 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
15000
15001 Minor cleanup and simplification.
15002 * filecache.el (file-cache-add-directory)
15003 (file-cache-add-directory-recursively)
15004 (file-cache-add-from-file-cache-buffer)
15005 (file-cache-delete-file-regexp, file-cache-delete-directory)
15006 (file-cache-files-matching-internal, file-cache-display): Use dolist.
15007 (file-cache-temp-minibuffer-message): Delete function.
15008 (file-cache-minibuffer-complete): Use minibuffer-message instead.
15009
15010 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
15011 Don't signal an error when bumping into EOB in tr, s, or y.
15012
15013 2009-11-29 Juri Linkov <juri@jurta.org>
15014
15015 * startup.el (fancy-about-text): Fix wording of Guided Tour.
15016 (Bug#4960)
15017
15018 * descr-text.el (describe-char-unidata-list): Use lowercase name
15019 for "Unicode name" like in other tags.
15020
15021 2009-11-29 Juri Linkov <juri@jurta.org>
15022
15023 * ediff-util.el (ediff-minibuffer-with-setup-hook):
15024 New compatibility macro.
15025 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
15026
15027 2009-11-29 Juri Linkov <juri@jurta.org>
15028
15029 Add defcustom to define the cycling order of `recenter-top-bottom'.
15030 (Bug#4981)
15031
15032 * window.el (recenter-last-op): Doc fix.
15033 (recenter-positions): New defcustom.
15034 (recenter-top-bottom): Rewrite to use `recenter-positions'.
15035 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
15036
15037 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
15038
15039 Improve integration of Tramp and ange-ftp in eshell.
15040
15041 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
15042 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
15043 (eshell/sudo): Flatten args. Let-bind `default-directory'.
15044
15045 * eshell/esh-util.el (top): Require also Tramp when compiling.
15046 (eshell-directory-files-and-attributes): Check for FTP remote
15047 connection.
15048 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
15049 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
15050 (eshell-file-attributes): Handle ".". Return `entry'.
15051
15052 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
15053 (ange-ftp-directory-files-and-attributes)
15054 (ange-ftp-real-directory-files-and-attributes): New defuns.
15055
15056 * net/tramp.el (tramp-maybe-open-connection): Open the remote
15057 shell with "exec" when possible. This prevents trailing prompts
15058 in `start-file-process'.
15059
15060 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
15061
15062 Try and remove assumptions about point-min==1.
15063 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
15064 (rng-compute-mode-line-string): Show the validation percentage in
15065 terms of the narrowed text, not the widened text.
15066 (rng-do-some-validation): Don't catch internal errors when debugging.
15067 (rng-first-error): Simplify.
15068 (rng-after-change-function): Remove work around. AFAIK the bug has
15069 been fixed a while ago.
15070
15071 * image-mode.el (image-minor-mode): Exit more gracefully when the image
15072 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
15073
15074 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
15075
15076 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
15077 `cd' doesn't always do it for us (bug#5067).
15078
15079 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
15080 on 2009-10-25 as part of some other change (bug#5067).
15081
15082 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
15083
15084 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
15085 `suspicious'.
15086 (byte-compile-warnings): Use byte-compile-warning-types.
15087 (byte-compile-save-excursion): Warn about use of set-buffer right
15088 after save-excursion.
15089
15090 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
15091 the excursion as well.
15092
15093 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
15094
15095 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
15096 providing a Tramp related implementation of "su" and "sudo".
15097 (eshell-unix-initialize): Add "su" and "sudo".
15098
15099 2009-11-27 Daiki Ueno <ueno@unixuser.org>
15100
15101 * net/socks.el (socks-send-command): Convert binary request to
15102 unibyte before sending. This fixes mishandling of some port
15103 numbers such as 129.
15104
15105 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
15106
15107 * help.el (describe-bindings-internal): Remove `interactive'.
15108
15109 * man.el (Man-completion-table): Trim a terminating "(".
15110 Remove the space between name page a section.
15111 Add the command's description on the `help-echo' property.
15112 Remove `process-connection-type' binding since it's unused by
15113 call-process.
15114 Provide completion for the "<section> <name>" format as well.
15115 (Man-default-man-entry): Remove spurious var shadowing the argument.
15116
15117 2009-11-26 Kevin Ryde <user42@zip.com.au>
15118
15119 * log-view.el: Add "Keywords: tools", since its other keywords
15120 aren't in finder-known-keywords, and following vc.el.
15121
15122 * sha1.el (sha1-string-external): default-directory "/" in case
15123 otherwise non-existent. process-connection-type pipe for touch of
15124 efficiency recommended by elisp manual. (An aside in Bug#3911.)
15125
15126 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
15127
15128 Misc coding convention cleanups.
15129 * htmlfontify.el (hfy-init-kludge-hook): Rename from
15130 hfy-init-kludge-hooks.
15131 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
15132 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
15133 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
15134 and push.
15135 (hfy-slant, hfy-weight): Use tables rather than code.
15136 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
15137 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
15138 (hfy-face-attr-for-class): Initialize `face-spec' directly.
15139 (hfy-face-to-css): Remove `nconc' with single arg.
15140 (hfy-p-to-face-lennart): Use `or'.
15141 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
15142 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
15143 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
15144 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
15145 (hfy-force-fontification): Use run-hooks.
15146
15147 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
15148
15149 Various minor fixes.
15150 * htmlfontify.el (hfy-default-header): Add toggle_invis since
15151 Javascript belongs in the header, not the body.
15152 (hfy-javascript): Remove.
15153 (hfy-fontify-buffer): Don't insert it any more.
15154 (hfy-face-at): Handle (face0 face1 face2) style face properties.
15155 Fix bug in invis handling when there were no invis props in a chunk.
15156
15157 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
15158
15159 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
15160
15161 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
15162
15163 * finder.el (finder-mode-map): Add a menu.
15164
15165 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
15166
15167 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
15168 "unsigned" structs.
15169
15170 (verilog-leap-to-head, verilog-backward-token): Handle "disable
15171 fork" statement better.
15172
15173 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
15174
15175 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
15176 (verilog-delete-auto, verilog-delete-empty-auto-pair)
15177 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
15178 Reported by Clay Douglass.
15179
15180 (verilog-auto-inst, verilog-auto-star-safe)
15181 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
15182 Fix removing "// Interfaces" when saving .* expansions.
15183 Reported by Pierre-David Pfister.
15184
15185 2009-11-26 Glenn Morris <rgm@gnu.org>
15186
15187 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
15188 the scope.
15189
15190 2009-11-25 Johan Bockgård <bojohan@gnu.org>
15191
15192 * vc-annotate.el (vc-annotate-revision-previous-to-line):
15193 Really use previous revision.
15194
15195 2009-11-25 Kevin Ryde <user42@zip.com.au>
15196
15197 * man.el (Man-completion-table): default-directory "/" in case
15198 doesn't otherwise exist. process-environment COLUMNS=999 so as
15199 not to truncate long names. process-connection-type pipe to avoid
15200 any chance of hitting the pseudo-tty TIOCGWINSZ.
15201 (man): completion-ignore-case t for friendliness and since man
15202 itself is case-insensitive on the command line.
15203 Further to Bug#3717.
15204
15205 * arc-mode.el: Add "Keywords: files", so the details in its
15206 commentary can be reached from finder-by-keyword.
15207 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
15208 editing mode, but it's comms related and sgml-mode.el has "comm"
15209 on that basis too.
15210 * textmodes/bibtex-style.el: Add "Keywords: tex".
15211 * international/isearch-x.el, international/ja-dic-cnv.el:
15212 * international/ja-dic-utl.el, international/kkc.el:
15213 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
15214
15215 2009-11-25 Juri Linkov <juri@jurta.org>
15216
15217 * man.el (Man-completion-table): Modify regexp to include
15218 section names to completion strings. (Bug#3717)
15219
15220 2009-11-25 Juri Linkov <juri@jurta.org>
15221
15222 Search recursively in gzipped files. (Bug#4982)
15223
15224 * progmodes/grep.el (grep-highlight-matches): Add new options
15225 `always' and `auto'. Doc fix.
15226 (grep-process-setup): Check `grep-highlight-matches' for
15227 `auto-detect' to determine the need to compute grep defaults.
15228 Move Windows/DOS specific --colors settings handling
15229 to `grep-compute-defaults'. Check `grep-highlight-matches'
15230 to get the value of "--color=".
15231 (grep-compute-defaults): Compute `grep-highlight-matches' when it
15232 has the value `auto-detect'. Move Windows/DOS specific settings
15233 from `grep-process-setup'.
15234 (zrgrep): New command with alias `rzgrep'.
15235
15236 2009-11-25 Juri Linkov <juri@jurta.org>
15237
15238 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
15239 to nil instead of switching off view-mode. (Bug#4896)
15240
15241 2009-11-25 Juri Linkov <juri@jurta.org>
15242
15243 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
15244
15245 * mwheel.el (mwheel-scroll-up-function)
15246 (mwheel-scroll-down-function): New defvars.
15247 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
15248 `scroll-up', and `mwheel-scroll-down-function' instead of
15249 `scroll-down'.
15250
15251 * doc-view.el (doc-view-scroll-up-or-next-page)
15252 (doc-view-scroll-down-or-previous-page): Add optional ARG.
15253 Use this ARG in the call to image-scroll-up/image-scroll-down.
15254 Change `interactive' spec to "P". Goto next/previous page only
15255 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
15256 SPC/DEL case). Doc fix.
15257 (doc-view-next-line-or-next-page)
15258 (doc-view-previous-line-or-previous-page): Rename arg to ARG
15259 for consistency.
15260 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
15261 `doc-view-scroll-up-or-next-page', and buffer-local
15262 `mwheel-scroll-down-function' to
15263 `doc-view-scroll-down-or-previous-page'.
15264
15265 2009-11-25 Juri Linkov <juri@jurta.org>
15266
15267 Provide additional default values (directories at other Dired
15268 windows) via M-n in the minibuffer of some Dired commands.
15269
15270 * dired-aux.el (dired-diff, dired-compare-directories)
15271 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
15272 `minibuffer-default' in `minibuffer-with-setup-hook'.
15273 (dired-dwim-target-directory): Find a window that displays Dired
15274 buffer instead of failing when the next window is not Dired.
15275 Use `get-window-with-predicate' to find for the next Dired window.
15276 (dired-dwim-target-defaults): New function.
15277
15278 * ediff-util.el (ediff-read-file-name):
15279 Use `dired-dwim-target-defaults' to set `minibuffer-default'
15280 in `minibuffer-with-setup-hook'.
15281
15282 2009-11-25 Juri Linkov <juri@jurta.org>
15283
15284 Provide additional default values (file name at point or at the
15285 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
15286
15287 * minibuffer.el (read-file-name-defaults): New function.
15288 (read-file-name): Reset `minibuffer-default' to nil when
15289 it duplicates initial input `insdef'.
15290 Bind `minibuffer-default-add-function' to lambda that
15291 calls `read-file-name-defaults' in `minibuffer-selected-window'.
15292 (minibuffer-insert-file-name-at-point): New command.
15293
15294 * files.el (file-name-at-point-functions): New defcustom.
15295 (find-file-default): Remove defvar.
15296 (find-file-read-args): Don't use `find-file-default'.
15297 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15298 to `read-file-name'.
15299 (find-file-literally): Use `read-file-name' with
15300 `confirm-nonexistent-file-or-buffer'.
15301
15302 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
15303
15304 * dired.el (dired-read-dir-and-switches):
15305 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15306 to `read-file-name'.
15307 (dired-file-name-at-point): New function.
15308 (dired-mode): Add hook `dired-file-name-at-point' to
15309 `file-name-at-point-functions'.
15310
15311 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15312
15313 Really make the *Completions* window soft-dedicated (bug#5030).
15314 * window.el (window--display-buffer-2): Add `dedicated' argument.
15315 (display-buffer): Pass it when needed so the dedicated flag is set
15316 after calling set-window-buffer, which would otherwise reset it.
15317
15318 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15319
15320 * progmodes/meta-mode.el (meta-complete-symbol):
15321 * progmodes/etags.el (complete-tag):
15322 * mail/mailabbrev.el (mail-abbrev-complete-alias):
15323 Use completion-in-region.
15324
15325 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
15326 (dabbrev-completion): Use completion-in-region.
15327 (dabbrev--abbrev-at-point): Simplify regexp.
15328
15329 * abbrev.el (abbrev--before-point): Use word-motion functions
15330 if :regexp is not specified (bug#5031).
15331
15332 * subr.el (string-prefix-p): New function.
15333
15334 * man.el (Man-completion-cache): New var.
15335 (Man-completion-table): Use it.
15336
15337 * vc.el (vc-print-log-internal): Make `limit' optional for better
15338 compatibility (e.g. with vc-annotate.el).
15339
15340 2009-11-24 Kevin Ryde <user42@zip.com.au>
15341
15342 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
15343 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
15344
15345 * emacs-lisp/elint.el (elint-add-required-env): Better error message
15346 when .el source file not found or other error.
15347
15348 2009-11-24 Markus Triska <markus.triska@gmx.at>
15349
15350 * linum.el (linum-update-window): Ignore intangible (bug#4996).
15351
15352 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
15353
15354 Handle the [back] button properly (bug#4979).
15355 * descr-text.el (describe-text-properties): Add a `buffer' argument.
15356 Use help-setup-xref, help-buffer, and with-help-window.
15357 (describe-char): Add `buffer' argument.
15358 Pass proper command to help-setup-xref. Don't meddle with
15359 help-xref-stack-item directly.
15360 (describe-text-category): Use with-help-window and help-buffer.
15361
15362 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
15363 for the displayed buffer (bug#4887).
15364
15365 * man.el (Man-completion-table): New function.
15366 (man): Use it.
15367
15368 2009-11-24 David Reitter <david.reitter@gmail.com>
15369
15370 * vc-git.el (vc-git-registered): Use checkout directory (where
15371 .git is) rather than the file's directory and a relative path spec
15372 to work around a bug in git.
15373
15374 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
15375
15376 Improve handling of processes on remote hosts.
15377
15378 * eshell/esh-util.el (eshell-path-env): New defvar.
15379 (eshell-parse-colon-path): New defun.
15380 (eshell-file-attributes): Use `eshell-parse-colon-path'.
15381
15382 * eshell/esh-ext.el (eshell-search-path):
15383 Use `eshell-parse-colon-path'.
15384 (eshell-remote-command): Remove argument HANDLER.
15385 (eshell-external-command): Check for FTP remote connection.
15386
15387 * eshell/esh-proc.el (eshell-gather-process-output):
15388 Use `file-truename', in order to start also symlinked files.
15389 Apply `start-file-process' instead of `start-process'.
15390 Shorten `command' to the local file name part.
15391
15392 * eshell/em-cmpl.el (eshell-complete-commands-list):
15393 Use `eshell-parse-colon-path'.
15394
15395 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
15396
15397 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
15398 to `eshell-directory-change-hook'.
15399
15400 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
15401
15402 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
15403 because it could be enabled automatically if view-read-only is non-nil.
15404
15405 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
15406
15407 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
15408 made on 2009-11-22.
15409
15410 2009-11-24 Glenn Morris <rgm@gnu.org>
15411
15412 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
15413 deleted variable bookmark-bmenu-bookmark-column.
15414
15415 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
15416
15417 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
15418
15419 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
15420
15421 * net/browse-url.el (browse-url-filename-alist): On Windows, add
15422 two slashes to the "file:" prefix.
15423 (browse-url-file-url): De-munge Cygwin filenames before passing
15424 them to Windows browser.
15425 (browse-url-default-windows-browser): Use call-process.
15426
15427 2009-11-23 Juri Linkov <juri@jurta.org>
15428
15429 Implement DocView Continuous mode. (Bug#4896)
15430 * doc-view.el (doc-view-continuous-mode): New defcustom.
15431 (doc-view-mode-map): Bind C-n/<down> to
15432 `doc-view-next-line-or-next-page', C-p/<up> to
15433 `doc-view-previous-line-or-previous-page'.
15434 (doc-view-next-line-or-next-page)
15435 (doc-view-previous-line-or-previous-page): New commands.
15436
15437 2009-11-23 Juri Linkov <juri@jurta.org>
15438
15439 Implement Isearch in comint input history. (Bug#3746)
15440 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
15441 `isearch-mode-hook'.
15442 (comint-history-isearch): New defcustom.
15443 (comint-history-isearch-backward)
15444 (comint-history-isearch-backward-regexp): New commands.
15445 (comint-history-isearch-message-overlay): New buffer-local variable.
15446 (comint-history-isearch-setup, comint-history-isearch-end)
15447 (comint-goto-input, comint-history-isearch-search)
15448 (comint-history-isearch-message, comint-history-isearch-wrap)
15449 (comint-history-isearch-push-state)
15450 (comint-history-isearch-pop-state): New functions.
15451
15452 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
15453
15454 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
15455 return.
15456 (tramp-handle-make-symbolic-link)
15457 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
15458 Quote file names.
15459 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
15460 (tramp-handle-process-file): Use it.
15461
15462 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
15463
15464 * window.el (move-to-window-line-last-op): Remove.
15465 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
15466
15467 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
15468
15469 Make M-r mirror the new cycling behavior of C-l.
15470 * window.el (move-to-window-line-last-op): New var.
15471 (move-to-window-line-top-bottom): New command.
15472 (global-map): Bind M-r move-to-window-line-top-bottom.
15473
15474 2009-11-23 Sven Joachim <svenjoac@gmx.de>
15475
15476 * dired-x.el (dired-guess-shell-alist-default):
15477 Support xz format. (Bug#4953)
15478
15479 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
15480
15481 * emulation/viper-cmd.el: Use viper-last-command-char instead of
15482 last-command-char/last-command-event.
15483 (viper-prefix-arg-value): Do correct conversion of event-char for
15484 XEmacs.
15485
15486 * emulation/viper-util.el, emulation/viper.el:
15487 Use viper-last-command-char instead of
15488 last-command-char/last-command-event.
15489
15490 * ediff-init.el, ediff-mult.el, ediff-util.el:
15491 Replace last-command-char and last-command-event
15492 with (ediff-last-command-char) everywhere.
15493
15494 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
15495 created in fundamental mode.
15496
15497 * ediff.el (ediff-version): Revert the change of interactive-p to
15498 called-interactively-p.
15499
15500 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
15501
15502 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
15503 generation from word-movement command names.
15504
15505 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
15506
15507 * cus-start.el (all): Add native condition for font-use-system-font.
15508
15509 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
15510
15511 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
15512 Correct the patch from 2009-11-18. (Bug#3910)
15513
15514 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
15515
15516 * progmodes/subword.el: Rename from lisp/subword.el.
15517
15518 * subword.el: Rename to progmodes/subword.el.
15519
15520 * Makefile.in (ELCFILES): Adapt to subword.el move.
15521
15522 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15523 Stefan Monnier <monnier@iro.umontreal.ca>
15524
15525 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
15526 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
15527 (bookmark-bmenu-show-filenames): Use push.
15528 (bookmark-bmenu-hide-filenames): Use local var instead of
15529 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
15530 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
15531 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
15532 filenames now that the bookmark names are always available.
15533
15534 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
15535
15536 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
15537 (bookmark-search-pattern): Move and leave unbound.
15538 (bookmark-bmenu-mode-map): Change binding.
15539 (bookmark-read-search-input): Simplify.
15540 Don't use text-char-description. Don't error on non-char events.
15541 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
15542 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
15543 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
15544 Use a local var for the timer.
15545 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
15546 (i.e. bookmark-bmenu-search).
15547
15548 2009-11-21 Glenn Morris <rgm@gnu.org>
15549
15550 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
15551
15552 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
15553
15554 * net/browse-url.el (browse-url-default-windows-browser):
15555 Use cygstart for cygwin.
15556
15557 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
15558
15559 * bookmark.el: Formatting and doc fixes only:
15560 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
15561 (bookmark-bmenu-search): Wrap to fit within 80 columns.
15562 Minor grammar and punctuation fixes in doc string.
15563 (bookmark-read-search-input): Adjust to fit within 80 columns.
15564
15565 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
15566
15567 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
15568 (c-backward-into-nomenclature): Adapt to subword renaming.
15569
15570 * subword.el (subword-forward, subword-backward, subword-mark)
15571 (subword-kill, subword-backward-kill, subword-transpose)
15572 (subword-downcase, subword-upcase, subword-capitalize)
15573 (subword-forward-internal, subword-backward-internal):
15574 Rename from forward-subword, backward-subword, mark-subword,
15575 kill-subword, backward-kill-subword, transpose-subwords,
15576 downcase-subword, upcase-subword, capitalize-subword,
15577 forward-subword-internal, backward-subword-internal.
15578
15579 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15580
15581 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
15582 New options.
15583 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
15584 New vars.
15585 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
15586 (bookmark-bmenu-filter-alist-by-regexp)
15587 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
15588 (bookmark-bmenu-search): New command.
15589 (bookmark-bmenu-mode-map): Bind it.
15590
15591 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
15592
15593 * progmodes/cc-cmds.el: declare-functioned forward-subword and
15594 backward-subword to quit the byte-compiler.
15595
15596 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
15597
15598 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
15599
15600 * progmodes/cc-cmds.el (c-update-modeline)
15601 (c-forward-into-nomenclature, c-backward-into-nomenclature):
15602 Refer to subword.el functions instead of cc-subword.el.
15603
15604 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
15605 subword.el functions instead of cc-subword.el.
15606
15607 * progmodes/cc-subword.el: Rename to subword.el.
15608 * subword.el: Rename from progmodes/cc-subword.el.
15609 (subword-mode-map): Rename from c-subword-mode-map.
15610 (subword-mode): Rename from c-subword-mode.
15611 (global-subword-mode): New global minor mode.
15612 (forward-subword): Rename from c-forward-subword.
15613 (backward-subword): Rename from c-backward-subword.
15614 (mark-subword): Rename from c-mark-subword.
15615 (kill-subword): Rename from c-kill-subword.
15616 (backward-kill-subword): Rename from c-backward-kill-subword.
15617 (transpose-subwords): Rename from c-tranpose-subword.
15618 (downcase-subword): Rename from c-downcase-subword.
15619 (capitalize-subword): Rename from c-capitalize-subword.
15620 (forward-subword-internal): Rename from c-forward-subword-internal.
15621 (backward-subword-internal): Rename from c-backward-subword-internal.
15622
15623 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
15624
15625 * vc.el (vc-deduce-fileset): Allow non-state changing operations
15626 from a dired buffer.
15627 (vc-dired-deduce-fileset): New function.
15628 (vc-root-diff, vc-print-root-log): Use it.
15629
15630 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
15631 nil LIMIT argument to vc-print-log-internal.
15632
15633 2009-11-20 Glenn Morris <rgm@gnu.org>
15634
15635 * Makefile.in (ELCFILES): Regenerate.
15636
15637 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
15638
15639 * calc/calc.el (calc-set-mode-line):
15640 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15641 (math-format-number): Rename `math-format-complement-signed' to
15642 `math-format-twos-complement'.
15643
15644 * calc/calc-bin.el (math-format-twos-complement): Rename from
15645 math-format-complement-signed.
15646 (calc-radix): Rename `calc-complement-signed-mode' to
15647 `calc-twos-complement-mode'.
15648 (calc-octal-radix, calc-hex-radix): Add an argument for
15649 two's complement.
15650
15651 * calc/calc-embed.el (calc-embedded-mode-vars):
15652 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15653
15654 * calc/calc-ext.el (calc-init-extensions):
15655 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15656 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
15657
15658 * calc/calc-units.el (math-build-units-table-buffer):
15659 Let `calc-twos-complement-mode' be nil.
15660
15661 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
15662 entries.
15663
15664 * calc/calc-vec.el (calcFunc-vunpack):
15665 * calc/calc-aent.el (calc-do-calc-eval):
15666 * calc/calc-forms.el (math-format-date):
15667 * calc/calc-graph.el (calc-graph-plot):
15668 * calc/calc-math.el (math-use-emacs-fn):
15669 * calc/calccomp.el (math-compose-expr):
15670 Let `calc-twos-complement-mode' be nil.
15671
15672 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
15673
15674 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
15675 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
15676 * minibuffer.el (completion-in-region-functions): New hook.
15677 (completion-in-region): New function.
15678 * emacs-lisp/lisp.el (lisp-complete-symbol):
15679 * pcomplete.el (pcomplete-std-complete): Use it.
15680
15681 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
15682
15683 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
15684 (latex-complete-alist): New vars.
15685 (latex-string-prefix-p, latex-complete-bibtex-keys)
15686 (latex-complete-envnames, latex-complete-refkeys)
15687 (latex-complete-data): New functions.
15688 (latex-complete, latex-indent-or-complete): New commands.
15689
15690 * window.el (display-buffer-mark-dedicated): New var.
15691 (display-buffer): Obey it.
15692 * minibuffer.el (minibuffer-completion-help): Use it.
15693
15694 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
15695
15696 * filecache.el (file-cache-add-file): Use push and cons.
15697 (file-cache-delete-file-regexp): Use push.
15698 (file-cache-complete): Use completion-in-region.
15699
15700 * simple.el (with-wrapper-hook): Fix thinko.
15701
15702 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
15703 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
15704 Use with-current-buffer and string-to-number.
15705 (hfy-fallback-colour-values): Use assoc-string.
15706 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
15707 (hfy-face-at): Remove unused var `found-face'.
15708 (hfy-compile-stylesheet): Remove unused var `css'.
15709 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
15710 and `orig-buffer'.
15711 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
15712 Use with-current-buffer.
15713 (hfy-text-p): Use expand-file-name and fewer setq.
15714
15715 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
15716
15717 * htmlfontify.el, hfy-cmap.el: New files.
15718
15719 2009-11-19 Juri Linkov <juri@jurta.org>
15720
15721 * minibuffer.el (completions-format): New defcustom.
15722 (completion--insert-strings): Implement vertical format.
15723
15724 * simple.el (switch-to-completions): Move point to the first
15725 completion when point was at the beginning of the buffer.
15726
15727 2009-11-19 Juri Linkov <juri@jurta.org>
15728
15729 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
15730
15731 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
15732
15733 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
15734
15735 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
15736 (mail-signature): Change default to t.
15737 (mail-from-style): Deprecate `system-default' value.
15738 (mail-insert-from-field): For default value of mail-from-style,
15739 default to `angles' unless `angles' needs quoting and `parens'
15740 does not.
15741 (mail-citation-prefix-regexp): Use citation regexp from
15742 message-mode.
15743
15744 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
15745
15746 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
15747 Set variables for computing the prompt for reading password.
15748
15749 2009-11-19 Glenn Morris <rgm@gnu.org>
15750
15751 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
15752
15753 * textmodes/flyspell.el (sgml-lexical-context): Declare.
15754
15755 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
15756 (newsticker-treeview-listwindow-height): Fix custom type.
15757
15758 2009-11-19 Kenichi Handa <handa@m17n.org>
15759
15760 * descr-text.el (describe-char-padded-string): Compose with TAB
15761 only if there's a font for CH.
15762 (describe-char): Fix the condition for detecting a trivial composition.
15763
15764 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
15765
15766 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
15767 more accurate version of the regexp. (Bug#3910)
15768
15769 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
15770
15771 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
15772
15773 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
15774
15775 * font-setting.el (font-use-system-font): Declare for byte-compiler.
15776 (font-setting-change-default-font): Fix typo in docstring.
15777
15778 2009-11-18 Alan Mackenzie <acm@muc.de>
15779
15780 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
15781
15782 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
15783
15784 * font-setting.el (font-use-system-font): Move ...
15785
15786 * cus-start.el (all): ... to here.
15787
15788 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
15789
15790 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
15791 Don't set `ad-return-value' if `ad-do-it' doesn't.
15792
15793 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
15794 modification time.
15795
15796 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
15797
15798 * menu-bar.el: Put "Use system font" in Option-menu.
15799 (menu-bar-options-save): Add font-use-system-font.
15800
15801 * loadup.el: If feature system-font-setting or font-render-setting is
15802 there, load font-setting.
15803
15804 * Makefile.in (ELCFILES): Add font-settings.el.
15805 * font-setting.el: New file.
15806
15807 2009-11-17 Glenn Morris <rgm@gnu.org>
15808
15809 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
15810
15811 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
15812 Preserve point in the list buffer. (Bug#4939)
15813 Use point-at-eol.
15814 (newsticker--treeview-list-update-highlight)
15815 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
15816
15817 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
15818
15819 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
15820 Remove.
15821
15822 * calc/calc-ext.el (calc-init-extensions): Remove references to
15823 symclip.
15824
15825 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
15826
15827 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
15828 * calc/calc-help.el (calc-b-prefix-help): Remove references to
15829 `calc-symclip'.
15830
15831 2009-11-16 Kevin Ryde <user42@zip.com.au>
15832
15833 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
15834 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
15835
15836 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
15837 (lm-keywords-list): Allow comma-only separator like "foo,bar".
15838 Ignore trailing spaces by omit-nulls to split-string (fixing
15839 regression from Emacs 21 due to the incompatible split-string
15840 change). (Bug #4928.)
15841
15842 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
15843
15844 * vc.el (vc-log-show-limit): Default to 2000.
15845 (vc-print-log-internal): Insert buttons to request more entries
15846 when limiting the output.
15847
15848 * vc-sccs.el (vc-sccs-print-log):
15849 * vc-rcs.el (vc-rcs-print-log):
15850 * vc-cvs.el (vc-cvs-print-log):
15851 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
15852 LIMIT is non-nil.
15853
15854 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
15855
15856 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
15857 error when `tramp-gvfs-dbus-event-vector' is set.
15858 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
15859
15860 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
15861
15862 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
15863
15864 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
15865
15866 * net/dbus.el (dbus-unregister-service): New defun.
15867 (dbus-register-property): Register the handlers of
15868 "org.freedesktop.DBus.Properties" for SERVICE.
15869 (dbus-property-handler): Fix docstring.
15870
15871 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
15872
15873 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
15874 Quote doc string reference in defvaralias as it is not in special form.
15875 (byte-compile-output-docform): Doc fix.
15876
15877 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
15878
15879 * calc/calc.el (math-2-word-size, math-half-2-word-size)
15880 (calc-complement-signed-mode): New variables.
15881 (calc-set-mode-line): Add indicator for twos-complements.
15882 (math-format-number): Format twos-complement notation.
15883
15884 * calc/calc-bin.el (calc-word-size): Reset the variables
15885 `math-2-word-size' and `math-half-2-word-size'.
15886 (math-format-complement-signed, math-symclip, calcFunc-symclip)
15887 (calc-symclip): New functions.
15888
15889 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
15890
15891 * calc/calc-embed.el (calc-embedded-mode-vars):
15892 Add `calc-complement-signed-mode' to the list of modes.
15893
15894 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
15895 (calc-b-oper-keys): Add `calc-symclip' to list.
15896
15897 * calc/calc-ext.el (math-read-number-fancy): Read complement
15898 signed numbers.
15899 (calc-init-extensions): Add binding for `calc-symclip'.
15900 Add autoload for `calcFunc-symclip' and `calc-symclip'.
15901
15902 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
15903 `calc-symclip'.
15904 (calc-modes-menu): Add item for twos complement mode.
15905
15906 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
15907
15908 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
15909
15910 * register.el (jump-to-register, insert-register): Handle Semantic
15911 tags. From commented-out advice in semantic/senator.el.
15912
15913 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
15914
15915 * vc.el (vc-log-show-limit): New variable.
15916 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
15917 when using a prefix argument.
15918 (vc-print-log-internal): Add new argument LIMIT.
15919
15920 * vc-svn.el (vc-svn-print-log):
15921 * vc-mtn.el (vc-mtn-print-log):
15922 * vc-hg.el (vc-hg-print-log):
15923 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
15924 pass it to the log command when set. Make the BUFFER argument
15925 non-optional.
15926
15927 * vc-sccs.el (vc-sccs-print-log):
15928 * vc-rcs.el (vc-rcs-print-log):
15929 * vc-git.el (vc-git-print-log):
15930 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
15931 ignore it. Make the BUFFER argument non-optional.
15932
15933 * bindings.el (mode-line-buffer-identification): Do not purecopy.
15934
15935 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
15936
15937 * dired.el (dired-mode-map): Move encryption items to "Operate"
15938 menu (Bug#4703).
15939
15940 * strokes.el (strokes-update-window-configuration): Make strokes
15941 buffer current before erasing (Bug#4906).
15942
15943 2009-11-15 Juri Linkov <juri@jurta.org>
15944
15945 * simple.el (set-mark-default-inactive): Add :type, :group
15946 and :version. (Bug#4876)
15947
15948 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
15949
15950 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
15951 (archive-unique-fname): ... here. (Bug#4929)
15952
15953 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
15954
15955 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
15956 with a real fix.
15957
15958 * novice.el (disabled-command-function): Add useful args.
15959 Setup the help buffer so that [back] works.
15960 Remove redundant call to help-mode.
15961 (disabled-command-function): Use `case'.
15962 (en/disable-command): New function extracted from enable-command.
15963 (enable-command, disable-command): Use it.
15964
15965 2009-11-14 Glenn Morris <rgm@gnu.org>
15966
15967 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
15968 constants. (Bug#4913)
15969
15970 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
15971
15972 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
15973
15974 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
15975 defined in C that have no doc-strings. (Bug#1063)
15976
15977 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
15978
15979 * cus-edit.el (data, files):
15980 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
15981
15982 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
15983
15984 * simple.el (shell-command): Doc fix (Bug#4891).
15985
15986 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
15987
15988 2009-11-14 Glenn Morris <rgm@gnu.org>
15989
15990 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
15991 statements for vc-diff, emerge-quit, and rmail-cease-edit.
15992 If they are already loaded, eval-after-load will do the right thing.
15993
15994 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
15995 compiling.
15996
15997 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
15998
15999 * simple.el (x-selection-owner-p): Declare.
16000 (read-mail-command): Use custom radio type rather than choice.
16001 (completion-no-auto-exit): Doc fix.
16002
16003 * custom.el (defgroup):
16004 * epg-config.el (epg): Doc fixes.
16005
16006 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
16007
16008 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
16009 * international/ccl.el (define-ccl-program): Do not purecopy the
16010 docstring, defconst does it anyway.
16011
16012 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
16013
16014 * add-log.el (add-change-log-entry): Avoid displaying the changelog
16015 a second time.
16016
16017 * x-dnd.el (x-dnd-maybe-call-test-function):
16018 * window.el (split-window-vertically):
16019 * whitespace.el (whitespace-help-on):
16020 * vc-rcs.el (vc-rcs-consult-headers):
16021 * userlock.el (ask-user-about-lock-help)
16022 (ask-user-about-supersession-help):
16023 * type-break.el (type-break-force-mode-line-update):
16024 * time-stamp.el (time-stamp-conv-warn):
16025 * terminal.el (te-set-output-log, te-more-break, te-filter)
16026 (te-sentinel, terminal-emulator):
16027 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
16028 (term-write-input-ring, term-check-source, term-start-output-log):
16029 (term-display-buffer-line, term-dynamic-list-completions):
16030 (term-ansi-make-term, serial-term):
16031 * subr.el (selective-display):
16032 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
16033 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
16034 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
16035 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
16036 (speedbar-remove-localized-speedbar-support)
16037 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
16038 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
16039 (speedbar-buffers-line-directory):
16040 * simple.el (shell-command-on-region, append-to-buffer)
16041 (prepend-to-buffer):
16042 * shadowfile.el (shadow-save-todo-file):
16043 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
16044 (scroll-bar-maybe-set-window-start):
16045 * sb-image.el (speedbar-image-dump):
16046 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
16047 (load-save-place-alist-from-file):
16048 * ps-samp.el (ps-print-message-from-summary):
16049 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
16050 (ps-background-image, ps-begin-job, ps-do-despool):
16051 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
16052 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
16053 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
16054 (pr-call-process, pr-file-list, pr-interface-save):
16055 * novice.el (disabled-command-function)
16056 (enable-command, disable-command):
16057 * mouse.el (mouse-buffer-menu-alist):
16058 * mouse-copy.el (mouse-kill-preserving-secondary):
16059 * macros.el (kbd-macro-query):
16060 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
16061 * informat.el (batch-info-validate):
16062 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
16063 * hippie-exp.el (try-expand-dabbrev-visible):
16064 * help-mode.el (help-make-xrefs):
16065 * help-fns.el (describe-variable):
16066 * generic-x.el (bat-generic-mode-run-as-comint):
16067 * finder.el (finder-mouse-select):
16068 * find-dired.el (find-dired-sentinel):
16069 * filesets.el (filesets-file-close):
16070 * files.el (list-directory):
16071 * faces.el (list-faces-display, describe-face):
16072 * facemenu.el (list-colors-display):
16073 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
16074 * epg.el (epg--process-filter, epg-cancel):
16075 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
16076 (epa--read-signature-type):
16077 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
16078 (emerge-file-names):
16079 * ehelp.el (electric-helpify):
16080 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
16081 * ediff-vers.el (rcs-ediff-view-revision):
16082 * ediff-util.el (ediff-setup):
16083 * ediff-mult.el (ediff-append-custom-diff):
16084 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
16085 (ediff-wordify):
16086 * echistory.el (Electric-command-history-redo-expression):
16087 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
16088 * disp-table.el (describe-display-table):
16089 * dired.el (dired-find-buffer-nocreate):
16090 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
16091 * dabbrev.el (dabbrev--same-major-mode-p):
16092 * chistory.el (list-command-history):
16093 * apropos.el (apropos-documentation):
16094 * allout.el (allout-obtain-passphrase):
16095 (allout-copy-exposed-to-buffer):
16096 (allout-verify-passphrase): Use with-current-buffer.
16097
16098 2009-11-13 Glenn Morris <rgm@gnu.org>
16099
16100 * Makefile.in (ELCFILES): Regenerate.
16101
16102 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
16103
16104 * net/dbus.el (dbus-registered-objects-table): Rename from
16105 `dbus-registered-functions-table', because it contains also properties.
16106 (dbus-unregister-object): Unregister also properties.
16107 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
16108 Use a timeout of 500 msec, in order to not block.
16109 (dbus-register-property, dbus-property-handler): New defuns.
16110
16111 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
16112
16113 * simple.el (minibuffer-default-add-completions): Drop deprecated
16114 4th arg.
16115
16116 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
16117
16118 * textmodes/artist.el (artist-mouse-choose-operation):
16119 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
16120 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
16121 (artist-compute-up-event-key): New function.
16122 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
16123
16124 2009-11-13 Kenichi Handa <handa@m17n.org>
16125
16126 * language/japan-util.el: Make sure that the value of jisx0208
16127 property is jisx0208 character.
16128
16129 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
16130
16131 * international/mule.el (auto-coding-regexp-alist): Only purecopy
16132 car or each item, not the whole list.
16133
16134 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
16135
16136 * minibuffer.el (minibuffer-completion-help):
16137 Use minibuffer-hide-completions.
16138
16139 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
16140
16141 * dired.el (dired-save-positions, dired-restore-positions): New funs.
16142 (dired-revert): Use them (bug#4880).
16143
16144 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
16145
16146 * tooltip.el (tooltip-frame-parameters): Undo previous change.
16147
16148 2009-11-12 Juri Linkov <juri@jurta.org>
16149
16150 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
16151 New functions.
16152 (find-file-literally-at-point): Alias of `ffap-literally'.
16153
16154 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
16155
16156 * textmodes/ispell.el (ispell-skip-region-alist):
16157 * textmodes/css-mode.el (auto-mode-alist):
16158 * progmodes/compile.el (auto-mode-alist):
16159 * international/mule.el (ctext-non-standard-encodings-alist)
16160 (ctext-non-standard-encodings-regexp):
16161 * simple.el (shell-command-switch, text-read-only):
16162 * replace.el (occur-mode-map):
16163 * paths.el (rmail-file-name):
16164 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
16165 * find-file.el (ff-special-constructs):
16166 * files.el (file-name-handler-alist):
16167 * composite.el: Purecopy strings.
16168
16169 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
16170
16171 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
16172
16173 * widget.el (define-widget): Purecopy the docstring.
16174 * international/mule-cmds.el (charset): Do not purecopy the
16175 docstring here, define-widget does it.
16176
16177 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
16178 * textmodes/bibtex-style.el (auto-mode-alist):
16179 * progmodes/inf-lisp.el (inferior-lisp-prompt):
16180 * progmodes/compile.el (compile-command):
16181 * language/korea-util.el (default-korean-keyboard):
16182 * international/mule-conf.el (file-coding-system-alist):
16183 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
16184 * tooltip.el (tooltip-frame-parameters):
16185 * newcomment.el (comment-end, comment-padding):
16186 * dired.el (dired-trivial-filenames):
16187 * comint.el (comint-file-name-prefix): Purecopy initial values.
16188
16189 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
16190
16191 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
16192 (tramp-advice-minibuffer-electric-tilde): Unload advices via
16193 `tramp-unload'.
16194 (tramp-advice-make-auto-save-file-name)
16195 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
16196 after removing the advice.
16197
16198 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
16199
16200 * progmodes/grep.el (grep-regexp-alist):
16201 * international/mule-cmds.el (iso-2022-control-alist):
16202 * emacs-lisp/timer.el (timer-duration-words):
16203 * subr.el (version-separator, version-regexp-alist):
16204 * minibuffer.el (completion-styles-alist):
16205 * faces.el (face-attribute-name-alist, list-faces-sample-text):
16206 Change defvars to defconsts.
16207
16208 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
16209 * loadup.el ("international/mule-conf"): Load the byte compiled version.
16210 * international/mule-conf.el: Allow to be byte compiled.
16211
16212 * international/mule.el (define-charset): Purecopy props.
16213 (load-with-code-conversion): Purecopy doc string and file name.
16214 (put-charset-property): Purecopy strings.
16215 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
16216
16217 * international/mule-cmds.el (register-input-method): Purecopy arguments.
16218 (define-char-code-property): Correctly purecopy the table.
16219
16220 * international/ccl.el (define-ccl-program): Purecopy the docstring.
16221
16222 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
16223
16224 * subr.el (add-hook): Purecopy strings.
16225 (eval-after-load): Purecopy load-history-regexp and the form.
16226
16227 * custom.el (custom-declare-group): Purecopy load-file-name.
16228
16229 * subr.el (menu-bar-separator): New defconst.
16230 * net/eudc.el (eudc-tools-menu):
16231 * international/mule-cmds.el (set-coding-system-map)
16232 (mule-menu-keymap):
16233 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
16234 * vc-hooks.el (vc-menu-map):
16235 * replace.el (occur-mode-map):
16236 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
16237 (menu-bar-edit-menu, menu-bar-goto-menu)
16238 (menu-bar-custom-menu, menu-bar-showhide-menu)
16239 (menu-bar-options-menu, menu-bar-tools-menu)
16240 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
16241 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
16242 (menu-bar-help-menu):
16243 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
16244 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
16245
16246 * term/x-win.el (x-gtk-stock-map):
16247 * progmodes/vera-mode.el (auto-mode-alist):
16248 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
16249 (inferior-lisp-program, inferior-lisp-load-command):
16250 * progmodes/hideshow.el (hs-special-modes-alist):
16251 * progmodes/gud.el (same-window-regexps):
16252 * progmodes/grep.el (grep-program, find-program, xargs-program):
16253 * net/telnet.el (same-window-regexps):
16254 * net/rlogin.el (same-window-regexps):
16255 * language/ethiopic.el (font-ccl-encoder-alist):
16256 * vc-sccs.el (vc-sccs-master-templates):
16257 * vc-rcs.el (vc-rcs-master-templates):
16258 * subr.el (cl-assertion-failed):
16259 * simple.el (next-error-overlay-arrow-position):
16260 * lpr.el (lpr-command):
16261 * locate.el (locate-ls-subdir-switches):
16262 * info.el (same-window-regexps, info)
16263 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
16264 * image-mode.el (image-mode, auto-mode-alist):
16265 * hippie-exp.el (hippie-expand-ignore-buffers):
16266 * format.el (format-alist):
16267 * find-dired.el (find-ls-subdir-switches, find-grep-options)
16268 (find-name-arg):
16269 * facemenu.el (facemenu-keybindings):
16270 * dired.el (dired-listing-switches, dired-chown-program):
16271 * diff.el (diff-switches, diff-command):
16272 * cus-edit.el (same-window-regexps):
16273 * bindings.el (mode-line-mule-info)
16274 (mode-line-buffer-identification): Purecopy strings.
16275
16276 2009-11-11 Juri Linkov <juri@jurta.org>
16277
16278 * simple.el (dired-get-filename) <declare-function>:
16279 Tell the byte-compiler about dired-get-filename.
16280 (shell-command): In Dired mode, get filename from the current line
16281 as the default value.
16282
16283 2009-11-10 Glenn Morris <rgm@gnu.org>
16284
16285 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
16286 * calendar/holidays.el, progmodes/cperl-mode.el:
16287 Update x-popup-menu declarations.
16288
16289 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
16290 (list-load-path-shadows): Use dolist.
16291 (list-load-path-shadows): Use with-current-buffer.
16292
16293 2009-11-10 Juri Linkov <juri@jurta.org>
16294
16295 * minibuffer.el (read-file-name): Support a list of default values
16296 in `default-filename'. Use the first file name where only one
16297 element is required. Doc fix.
16298
16299 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
16300
16301 * net/dbus.el (dbus-unregister-object): Release service, if no
16302 other method is registered for it.
16303
16304 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
16305
16306 * bookmark.el (bookmark-completing-read): Sort bookmark names if
16307 bookmark-sort-flag is non-nil (Bug#4653).
16308
16309 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
16310
16311 * emulation/cua-base.el: Add CUA property to some CC mode commands
16312 (Bug#4100).
16313
16314 2009-11-08 Kevin Ryde <user42@zip.com.au>
16315
16316 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
16317 at end of sentence (Bug#4818).
16318
16319 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
16320
16321 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16322 Handle "see declaration of" MSFT statements (Bug#4100).
16323
16324 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
16325
16326 * net/tramp.el (tramp-advice-make-auto-save-file-name)
16327 (tramp-advice-file-expand-wildcards): Unload via
16328 `ad-remove-advice'.
16329
16330 * net/trampver.el: Update release number.
16331
16332 2009-11-08 Kevin Ryde <user42@zip.com.au>
16333
16334 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
16335 `ad-do-it'.
16336
16337 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
16338
16339 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
16340 in order to keep context in SELinux.
16341
16342 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
16343
16344 * dired-aux.el (dired-query): Place cursor in echo area and allow
16345 C-g.
16346
16347 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
16348 menu item if not on a directory (Bug#4701).
16349
16350 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
16351
16352 Sync with Tramp 2.1.17.
16353
16354 * net/tramp.el (tramp-handle-copy-directory): Don't use
16355 `file-remote-p' (due to compatibility).
16356
16357 * net/tramp-compat.el (tramp-compat-copy-directory)
16358 (tramp-compat-delete-directory): New defuns.
16359
16360 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
16361 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
16362 Use `tramp-compat-delete-directory'.
16363
16364 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
16365 (tramp-smb-handle-delete-directory):
16366 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
16367
16368 * net/trampver.el: Update release number.
16369
16370 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
16371
16372 * tar-mode.el (tar-copy): Call write-region on the right buffer
16373 (Bug#4857).
16374
16375 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
16376 by hand, if necessary (Bug#4878).
16377
16378 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
16379
16380 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
16381 align size column (Bug#4839).
16382
16383 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
16384 statement.
16385
16386 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
16387
16388 * progmodes/ld-script.el (auto-mode-alist):
16389 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
16390
16391 * cus-face.el (custom-declare-face): Purecopy face spec.
16392
16393 2009-11-06 Kenichi Handa <handa@m17n.org>
16394
16395 * international/uni-bidi.el: Re-generated.
16396 * international/uni-category.el: Re-generated.
16397 * international/uni-combining.el: Re-generated.
16398 * international/uni-mirrored.el: Re-generated.
16399
16400 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
16401
16402 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
16403 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
16404 (tex-start-options, slitex-run-command, latex-run-command)
16405 (tex-run-command, tex-directory):
16406 * textmodes/ispell.el (ispell-html-skip-alists)
16407 (ispell-tex-skip-alists, ispell-tex-skip-alists):
16408 * textmodes/fill.el (adaptive-fill-first-line-regexp):
16409 (adaptive-fill-regexp):
16410 * textmodes/dns-mode.el (auto-mode-alist):
16411 * progmodes/python.el (interpreter-mode-alist):
16412 * progmodes/etags.el (tags-compression-info-list):
16413 * progmodes/etags.el (tags-file-name):
16414 * net/browse-url.el (browse-url-galeon-program)
16415 (browse-url-firefox-program):
16416 * mail/sendmail.el (mail-signature-file)
16417 (mail-citation-prefix-regexp):
16418 * international/mule-conf.el (eight-bit):
16419 * international/latexenc.el (latex-inputenc-coding-alist):
16420 * international/fontset.el (x-pixel-size-width-font-regexp):
16421 * emacs-lisp/warnings.el (warning-type-format):
16422 * emacs-lisp/trace.el (trace-buffer):
16423 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
16424 (emacs-lisp-mode-map):
16425 * calendar/holidays.el (holiday-solar-holidays)
16426 (holiday-bahai-holidays, holiday-islamic-holidays)
16427 (holiday-christian-holidays, holiday-hebrew-holidays)
16428 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
16429 (hebrew-holidays-1, holiday-oriental-holidays)
16430 (holiday-general-holidays):
16431 * x-dnd.el (x-dnd-known-types):
16432 * tool-bar.el (tool-bar):
16433 * startup.el (site-run-file):
16434 * shell.el (shell-dumb-shell-regexp):
16435 * rfn-eshadow.el (file-name-shadow-tty-properties)
16436 (file-name-shadow-properties):
16437 * paths.el (remote-shell-program, news-directory):
16438 * mouse.el ([C-down-mouse-3]):
16439 * menu-bar.el (menu-bar-tools-menu):
16440 * jka-cmpr-hook.el (jka-compr-load-suffixes)
16441 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
16442 (jka-compr-compression-info-list):
16443 * isearch.el (search-whitespace-regexp):
16444 * image-file.el (image-file-name-extensions):
16445 * find-dired.el (find-ls-option):
16446 * files.el (directory-listing-before-filename-regexp)
16447 (directory-free-space-args, insert-directory-program)
16448 (list-directory-brief-switches, magic-fallback-mode-alist)
16449 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
16450 (automount-dir-prefix):
16451 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
16452 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
16453 (face-font-registry-alternatives, face-font-registry-alternatives)
16454 (face-font-family-alternatives):
16455 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
16456 (facemenu-foreground-menu, facemenu-face-menu):
16457 * epa-hook.el (epa-file-name-regexp):
16458 * dnd.el (dnd-protocol-alist):
16459 * textmodes/rst.el (auto-mode-alist):
16460 * button.el (default-button): Purecopy strings.
16461
16462 2009-11-06 Glenn Morris <rgm@gnu.org>
16463
16464 * Makefile.in (ELCFILES): Update.
16465
16466 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
16467
16468 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
16469 * emacs-lisp/levents.el: Move to obsolete/levents.el.
16470
16471 * nxml/xsd-regexp.el (xsdre-gen-categories):
16472 * nxml/xmltok.el (xmltok-parse-entity):
16473 * nxml/rng-parse.el (rng-parse-validate-file):
16474 * nxml/rng-maint.el (rng-format-manual)
16475 (rng-manual-output-force-new-line):
16476 * nxml/rng-loc.el (rng-save-schema-location-1):
16477 * nxml/rng-cmpct.el (rng-c-parse-file):
16478 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
16479 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
16480
16481 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
16482
16483 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
16484 Remove extra save-excursions and make-variable-buffer-local's.
16485 Suggested by Stefan Monnier.
16486
16487 (verilog-getopt-file, verilog-module-inside-filename-p)
16488 (verilog-set-define): Merge GNU 1.35 and repair changes from
16489 switching to using with-current-buffer.
16490
16491 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
16492 being treated as a number and confusing AUTORESET.
16493 Reported by Dan Dever.
16494
16495 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
16496 Add verilog-auto-ignore-concat to fix backward compatibility with
16497 older verilog-modes. Reported by Dan Katz.
16498
16499 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
16500 containing closing anchors "...$".
16501
16502 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
16503 Reported by Wade Smith.
16504
16505 (verilog-batch-execute-func): Comment on function usage.
16506
16507 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
16508
16509 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
16510 for labels.
16511
16512 (verilog-label-re, verilog-calc-1): Support proper indent of named
16513 asserts.
16514
16515 (verilog-backward-token, verilog-basic-complete-re)
16516 (verilog-beg-of-statement, verilog-indent-re): Support proper
16517 indent of the assert statement at the beginning of a block of text.
16518
16519 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
16520 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
16521 tokens as begins.
16522
16523 2009-11-05 Glenn Morris <rgm@gnu.org>
16524
16525 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
16526 Emacs 19. (Bug#1531)
16527 (byte-compile-fix-header): Update for the above change.
16528 Drop test for epoch::version.
16529
16530 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
16531 * cus-dep.el (custom-make-dependencies):
16532 * finder.el (finder-compile-keywords):
16533 Use autoload-rubric's feature argument.
16534
16535 * calendar/diary-lib.el (top-level): Make load behave more like require.
16536
16537 * vc-git.el (vc-git-stash-map): Move definition before use.
16538
16539 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
16540
16541 * custom.el (custom-declare-group): Purecopy standard-value.
16542 (custom-declare-group): Purecopy custom-prefix.
16543
16544 * international/mule.el (load-with-code-conversion):
16545 Call do-after-load-evaluation unconditionally.
16546
16547 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
16548
16549 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
16550
16551 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
16552
16553 2009-11-04 Glenn Morris <rgm@gnu.org>
16554
16555 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
16556 (byte-compile-compatibility): Remove option.
16557 (byte-compile-close-variables, byte-compile-fix-header)
16558 (byte-compile-insert-header, byte-compile-output-docform)
16559 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
16560 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
16561 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
16562 (byte-compile-insert, byte-compile-defun):
16563 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
16564 (byte-defop-compiler19): Remove.
16565 Without byte-compile-compatibility, the 'emacs19-opcode property is not
16566 used by anything. Replace all calls with byte-defop-compiler.
16567
16568 2009-11-04 Juri Linkov <juri@jurta.org>
16569
16570 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
16571 (menu-bar-options-menu): Don't quote the `prop' arg of
16572 `menu-bar-make-mm-toggle'.
16573
16574 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
16575
16576 * calendar/calendar.el (cal-loaddefs):
16577 * calendar/diary-lib.el (diary-loaddefs):
16578 * calendar/holidays.el (hol-loaddefs):
16579 * eshell/esh-module.el (esh-groups): Load rather than require.
16580
16581 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
16582
16583 * calendar/todo-mode.el (todo-add-category): Don't hardcode
16584 point-min==1.
16585 (todo-top-priorities): Only display-buffer when called interactively.
16586 (todo-item-start): Don't save excursion point.
16587 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
16588 (todo-insert-item-here, todo-file-item, todo-remove-item):
16589 Adjust uses of todo-item-start and todo-item-end.
16590
16591 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
16592 (autoload-rubric): Don't use any more.
16593
16594 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
16595 and only put a prop if it is non-nil.
16596
16597 2009-11-03 Juri Linkov <juri@jurta.org>
16598
16599 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
16600 (menu-bar-options-menu): Fix list quoting (Bug#4429).
16601
16602 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
16603 and "Menu" to make top-level menu item visually one unit (like
16604 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
16605 multi-word menu items). Fix :help string for quit-window.
16606
16607 2009-11-03 Glenn Morris <rgm@gnu.org>
16608
16609 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
16610 (byte-compile-file-form-define-abbrev-table)
16611 (byte-compile-file-form-custom-declare-variable)
16612 (byte-compile-variable-ref, byte-compile-defvar):
16613 Whether or not a warning is enabled should only affect whether we issue
16614 the warning, not whether or not we collect the relevant data.
16615 Eg warnings can be turned on and off throughout the course of a file.
16616
16617 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
16618 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
16619
16620 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
16621
16622 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
16623 * play/mpuz.el (mpuz-create-buffer):
16624 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
16625 (lm-print-y,s,noise, lm-print-w0, lm-init):
16626 * play/gomoku.el (gomoku-prompt-for-move):
16627 * play/fortune.el (fortune-in-buffer):
16628 * play/dissociate.el (dissociated-press):
16629 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
16630 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
16631 * mail/supercite.el (sc-eref-show):
16632 * mail/smtpmail.el (smtpmail-send-it):
16633 * mail/rmailsum.el (rmail-summary-next-labeled-message)
16634 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
16635 (rmail-summary-undelete-many, rmail-summary-rmail-update)
16636 (rmail-summary-goto-msg, rmail-summary-expunge)
16637 (rmail-summary-get-new-mail, rmail-summary-search-backward)
16638 (rmail-summary-add-label, rmail-summary-output-menu)
16639 (rmail-summary-output-body):
16640 * mail/rfc822.el (rfc822-addresses):
16641 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
16642 * mail/mailpost.el (post-mail-send-it):
16643 * mail/hashcash.el (hashcash-generate-payment):
16644 * mail/feedmail.el (feedmail-run-the-queue)
16645 (feedmail-queue-send-edit-prompt-help-first)
16646 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
16647 (feedmail-deduce-address-list):
16648 * eshell/esh-ext.el (eshell-remote-command):
16649 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
16650 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
16651 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
16652 (viper-save-string-in-file, viper-valid-marker):
16653 * emulation/viper-keym.el (viper-toggle-key):
16654 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
16655 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
16656 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
16657 * emulation/viper-cmd.el (viper-exec-form-in-vi)
16658 (viper-exec-form-in-emacs, viper-brac-function):
16659 * emulation/viper.el (viper-delocalize-var):
16660 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
16661 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
16662 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
16663 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
16664 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
16665 * emulation/edt.el (edt-electric-helpify):
16666 * emulation/cua-rect.el (cua--rectangle-aux-replace):
16667 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
16668 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
16669 (cua-indent-to-global-mark-column):
16670 * calendar/diary-lib.el (calendar-mark-1):
16671 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
16672 Use with-current-buffer.
16673 * emulation/viper.el (viper-delocalize-var): Use dolist.
16674
16675 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
16676
16677 * comint.el (comint-replace-by-expanded-history-before-point):
16678 Replace !! with the previous input string literally (Bug#1795).
16679
16680 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
16681
16682 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
16683 to be made up of whitespace.
16684
16685 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
16686
16687 * minibuffer.el (read-file-name): Don't use file dialogs for
16688 remote directories (Bug#99).
16689
16690 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
16691
16692 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
16693
16694 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
16695
16696 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
16697 instead of deleting the window or frame.
16698
16699 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
16700
16701 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
16702 Support face colors.
16703
16704 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
16705 New function. Support face colors (Bug#1168).
16706 (tex-common-initialization): Use it.
16707
16708 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
16709 mode allows it (Bug#1168).
16710
16711 2009-10-31 Juri Linkov <juri@jurta.org>
16712
16713 * facemenu.el (list-colors-display): Don't mark buffer as
16714 modified (Bug#3948).
16715
16716 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
16717
16718 * international/mule-diag.el (list-character-sets-1):
16719 Minor message fix (Bug#3526).
16720
16721 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
16722 Fix face property (Bug#4834).
16723 (etags-list-tags, etags-tags-apropos-additional)
16724 (etags-tags-apropos, tags-select-tags-table): Add follow-link
16725 property.
16726
16727 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
16728 items.
16729
16730 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
16731
16732 * textmodes/two-column.el (2C-split):
16733 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
16734 * textmodes/tex-mode.el (tex-set-buffer-directory):
16735 * textmodes/spell.el (spell-region, spell-string):
16736 * textmodes/reftex.el (reftex-erase-buffer):
16737 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
16738 * textmodes/reftex-toc.el (reftex-toc-promote-action):
16739 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
16740 (reftex-select-item):
16741 * textmodes/reftex-ref.el (reftex-label-info-update)
16742 (reftex-offer-label-menu):
16743 * textmodes/reftex-index.el (reftex-index-change-entry)
16744 (reftex-index-phrases-info):
16745 * textmodes/reftex-global.el (reftex-create-tags-file)
16746 (reftex-save-all-document-buffers, reftex-ensure-write-access):
16747 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
16748 (reftex-view-crossref-from-bibtex):
16749 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
16750 (reftex-extract-bib-entries-from-thebibliography)
16751 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
16752 * textmodes/refbib.el (r2b-capitalize-title):
16753 (r2b-convert-buffer, r2b-help):
16754 * textmodes/page-ext.el (pages-directory)
16755 (pages-directory-goto-with-mouse):
16756 * textmodes/bibtex.el (bibtex-validate-globally):
16757 * textmodes/bib-mode.el (bib-capitalize-title):
16758 * textmodes/artist.el (artist-clear-buffer, artist-system):
16759 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
16760 (local-set-scheme-interaction-buffer, xscheme-process-filter)
16761 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
16762 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
16763 (xscheme-send-control-g-interrupt, xscheme-start-process)
16764 (xscheme-process-sentinel, xscheme-cd):
16765 * progmodes/verilog-mode.el (verilog-read-always-signals)
16766 (verilog-set-define, verilog-getopt-file)
16767 (verilog-module-inside-filename-p):
16768 * progmodes/sh-script.el:
16769 * progmodes/python.el (python-pdbtrack-get-source-buffer)
16770 (python-pdbtrack-grub-for-buffer, python-execute-file):
16771 * progmodes/octave-inf.el (inferior-octave):
16772 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
16773 (idlwave-shell-compile-helper-routines, idlwave-set-local)
16774 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
16775 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
16776 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
16777 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
16778 (idlwave-shell-filter, idlwave-shell-examine-highlight)
16779 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
16780 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
16781 (idlwave-shell-examine-display, idlwave-shell-run-region)
16782 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
16783 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
16784 * progmodes/idlw-help.el (idlwave-help-get-special-help)
16785 (idlwave-help-get-help-buffer):
16786 * progmodes/gud.el (gud-basic-call, gud-find-class)
16787 (gud-tooltip-activate-mouse-motions-if-enabled):
16788 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
16789 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
16790 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
16791 (ebrowse-tags-next-file):
16792 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
16793 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
16794 (ebnf-eps-finish-and-write):
16795 * progmodes/cpp.el (cpp-edit-save):
16796 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
16797 * progmodes/cc-defs.el (c-emacs-features):
16798 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
16799 (antlr-directory-dependencies):
16800 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
16801 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
16802 (ada-find-any-references, ada-make-filename-from-adaname)
16803 (ada-make-body-gnatstub):
16804 * obsolete/rnews.el (news-list-news-groups):
16805 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
16806 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
16807 * net/rcirc.el (rcirc-debug):
16808 * net/newst-treeview.el (newsticker--treeview-list-add-item)
16809 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
16810 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
16811 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
16812 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
16813 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
16814 (newsticker--treeview-list-clear-highlight)
16815 (newsticker--treeview-list-update-highlight)
16816 (newsticker--treeview-list-highlight-start)
16817 (newsticker--treeview-tree-update-highlight)
16818 (newsticker--treeview-get-selected-item)
16819 (newsticker-treeview-mark-list-items-old)
16820 (newsticker--treeview-set-current-node):
16821 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
16822 * net/newst-backend.el (newsticker--get-news-by-funcall)
16823 (newsticker--get-news-by-wget, newsticker--image-get)
16824 (newsticker--image-sentinel):
16825 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
16826 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
16827 (eudc-ph-close-session):
16828 * net/eudc.el (eudc-save-options):
16829 * language/thai-word.el (thai-update-word-table):
16830 * language/japan-util.el (japanese-string-conversion):
16831 * international/titdic-cnv.el (tsang-quick-converter)
16832 (ziranma-converter, ctlau-converter):
16833 * international/mule-cmds.el (describe-language-environment):
16834 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
16835 (skkdic-convert-postfix, skkdic-convert-prefix):
16836 (skkdic-convert-okuri-nasi, skkdic-convert):
16837 * emacs-lisp/re-builder.el (reb-update-overlays):
16838 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
16839 * emacs-lisp/gulp.el (gulp-send-requests):
16840 * emacs-lisp/find-gc.el (trace-call-tree):
16841 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
16842 (eieio-describe-generic):
16843 * emacs-lisp/eieio-base.el (eieio-persistent-read):
16844 * emacs-lisp/edebug.el (edebug-outside-excursion):
16845 * emacs-lisp/debug.el (debugger-make-xrefs):
16846 * emacs-lisp/cust-print.el (custom-prin1-to-string):
16847 * emacs-lisp/chart.el (chart-new-buffer):
16848 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
16849 Use with-current-buffer.
16850 * textmodes/artist.el (artist-system): Don't call
16851 copy-sequence on a fresh string.
16852 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
16853
16854 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
16855
16856 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
16857 is no item to edit. (Bug#4820)
16858 (todo-top-priorities): Restore point and restore narrowing in Todo
16859 buffer. (Bug#4820)
16860
16861 2009-10-31 Glenn Morris <rgm@gnu.org>
16862
16863 * net/ange-ftp.el (top-level): Don't require dired when compiling.
16864 (comint-last-output-start, comint-last-input-start)
16865 (comint-last-input-end): Don't defvar when compiling.
16866 (ange-ftp-process-file): Use bound-and-true-p.
16867
16868 * pcmpl-rpm.el (top-level): Move provide statement to end.
16869 (pcmpl-rpm): Remove unused custom group.
16870
16871 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
16872
16873 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
16874
16875 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
16876 (byte-compile-warnings): Add `constants' as an option.
16877 (byte-compile-callargs-warn, byte-compile-arglist-warn)
16878 (display-call-tree): Update for byte-compile-fdefinition possibly
16879 returning `(macro lambda ...)'. (Bug#4778)
16880 (byte-compile-variable-ref, byte-compile-setq-default):
16881 Respect `constants' member of byte-compile-warnings.
16882
16883 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
16884
16885 * vc-bzr.el (vc-bzr-revision-keywords): New var.
16886 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
16887 to "submit:".
16888
16889 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
16890
16891 * textmodes/ispell.el (ispell-skip-region-alist):
16892 * international/mule-conf.el (eight-bit):
16893 * international/fontset.el (font-encoding-alist):
16894 * startup.el (pure-space-overflow-message):
16895 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
16896 * paths.el (gnus-nntp-service, rmail-spool-directory)
16897 (term-file-prefix):
16898 * files.el (save-some-buffers-action-alist):
16899 * cmuscheme.el (same-window-buffer-names):
16900 * ielm.el (same-window-buffer-names):
16901 * shell.el (same-window-buffer-names):
16902 * mail/sendmail.el (same-window-buffer-names):
16903 * progmodes/inf-lisp.el (same-window-buffer-names):
16904 * bindings.el (mode-line-client)
16905 (mode-line-column-line-number-mode-map):
16906 * language/tibetan.el (tibetan-precomposition-rule-regexp)
16907 (tibetan-precomposed-regexp): Purecopy string arguments.
16908
16909 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16910
16911 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
16912 (calcDigit-nondigit):
16913 * calc/calc-yank.el (calc-copy-to-buffer):
16914 * calc/calc-units.el (calc-invalidate-units-table):
16915 * calc/calc-trail.el (calc-trail-yank):
16916 * calc/calc-store.el (calc-insert-variables):
16917 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
16918 * calc/calc-prog.el (calc-read-parse-table):
16919 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
16920 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
16921 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
16922 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
16923 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
16924 (calc-graph-name, calc-graph-find-command, calc-graph-view)
16925 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
16926 * calc/calc-ext.el (calc-realign):
16927 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
16928 (calc-embedded-finish-edit, calc-embedded-make-info)
16929 (calc-embedded-finish-command, calc-embedded-stack-change):
16930 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
16931
16932 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
16933 shell-dynamic-complete-filename in preference to
16934 comint-dynamic-complete-filename.
16935
16936 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
16937 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
16938 Don't consider whether the display supports colors.
16939 (bookmark-import-new-list): Use dolist.
16940 (bookmark-bmenu-mode-map): Move initialization into declaration.
16941 (bookmark-bmenu-list): Use dolist, simplify.
16942 (bookmark-show-all-annotations): Use save-selected-window and dolist.
16943 (menu-bar-final-items): Use push.
16944
16945 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
16946
16947 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
16948 it works on remote files.
16949 (vc-hg-diff): Don't pass any `--cwd' argument.
16950
16951 2009-10-27 Kevin Ryde <user42@zip.com.au>
16952
16953 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
16954 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
16955 (Further to Bug#3921).
16956
16957 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
16958
16959 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
16960 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
16961 calling `tramp-imap-put-file'. Add file size to the call.
16962 (tramp-imap-get-file-entries): Compute also user name, file size,
16963 and date.
16964 (tramp-imap-handle-insert-directory): Insert uid and gid.
16965 (tramp-imap-handle-file-attributes): Transform uid and gid
16966 according to `id-format'.
16967 (tramp-imap-put-file): New optional parameter SIZE. Encode file
16968 size in header X-Size.
16969
16970 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
16971
16972 * simple.el (transpose-subr): Give clearer error when the mark
16973 is not set. (Bug#4807)
16974
16975 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
16976
16977 * net/tramp.el (tramp-perl-file-truename): New defconst.
16978 Perl code contributed by yary <not.com@gmail.com> (tiny change).
16979 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
16980 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
16981 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
16982
16983 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
16984 Ignore `dired-call-process'.
16985 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
16986
16987 2009-10-26 Julian Scheid <julians37@gmail.com>
16988
16989 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
16990 (tramp-get-remote-readlink): New defun.
16991 (tramp-handle-file-truename): Use it.
16992 (tramp-handle-file-exists-p): Check file-attributes cache, assume
16993 file exists if cache value present.
16994 (tramp-check-cached-permissions): New defun.
16995 (tramp-handle-file-readable-p): Use it.
16996 (tramp-handle-file-writable-p): Likewise.
16997 (tramp-handle-file-executable-p): Likewise.
16998 (tramp-handle-file-name-all-completions): Try using Perl to get
16999 partial completions. When perl not available, combine `cd' and
17000 `ls' into single remote operation and use shell expansion to get
17001 partial remote directory contents. Set `file-exists-p' cache for
17002 directory and any files returned by ls. Change cache handling to
17003 support partial directory contents. Use error message emitted by
17004 remote `cd' or Perl code for local tramp-error.
17005 (tramp-do-copy-or-rename-file-directly): Avoid separate
17006 tramp-send-command-and-check call.
17007 (tramp-handle-process-file): Merge three remote ops into one.
17008 Do not flush all caches when `process-file-side-effects' is set.
17009 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
17010 file-attributes shows uid/gid to be set already.
17011
17012 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
17013
17014 * textmodes/tex-mode.el (tex-dvi-view-command)
17015 (tex-show-queue-command, tex-open-quote):
17016 * progmodes/ruby-mode.el (auto-mode-alist)
17017 (interpreter-mode-alist): Purecopy strings.
17018
17019 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
17020
17021 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
17022 string for the hook, keymap and abbrev table.
17023
17024 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
17025
17026 * x-dnd.el (x-dnd-xdnd-to-action):
17027 * startup.el (fancy-startup-text, fancy-about-text): Change to
17028 defconst from defvar.
17029
17030 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
17031
17032 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
17033 Purecopy initialization strings.
17034
17035 * mail/sendmail.el (mail-header-separator)
17036 (mail-personal-alias-file):
17037 * mail/rmail.el (rmail-default-dont-reply-to-names)
17038 (rmail-ignored-headers, rmail-retry-ignored-headers)
17039 (rmail-highlighted-headers, rmail-secondary-file-directory)
17040 (rmail-secondary-file-regexp):
17041 * files.el (null-device, file-name-invalid-regexp)
17042 (locate-dominating-stop-dir-regexp)
17043 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
17044 (interpreter-mode-alist): Use mapcar instead of mapc.
17045
17046 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
17047
17048 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
17049 (completion-ignored-extensions):
17050 (debug-ignored-errors): Purecopy strings.
17051
17052 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
17053
17054 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
17055 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
17056 (pcomplete--here): Use push.
17057
17058 * subr.el (all-completions): Declare the 4th arg obsolete.
17059
17060 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
17061
17062 * pcomplete.el (pcomplete-unquote-argument-function): New var.
17063 (pcomplete-unquote-argument): New function.
17064 (pcomplete--common-suffix): Always pay attention to case.
17065 (pcomplete--table-subvert): Quote and unquote the text.
17066 (pcomplete--common-quoted-suffix): New function.
17067 (pcomplete-std-complete): Use it and pcomplete-begin.
17068
17069 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
17070 we're inside a dedicated or minibuffer window.
17071
17072 2009-10-24 Karl Fogel <kfogel@red-bean.com>
17073
17074 * bookmark.el: Update documentation, especially documentation
17075 of `bookmark-alist' and of the bookmark file format.
17076 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
17077
17078 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
17079
17080 * mail/emacsbug.el (report-emacs-bug): Clarify that the
17081 keybindings apply to the mail buffer (Bug#4003). Shrink help
17082 window to buffer.
17083
17084 * whitespace.el (whitespace-mode, whitespace-newline-mode)
17085 (global-whitespace-mode, global-whitespace-newline-mode)
17086 (whitespace-toggle-options, global-whitespace-toggle-options):
17087 Doc fix (Bug#3660).
17088
17089 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
17090 of xmltok-start before the end tag was inserted (Bug#2840).
17091
17092 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
17093 patterns that are preceded by an open-paren (Bug#1320).
17094
17095 2009-10-24 Sven Joachim <svenjoac@gmx.de>
17096
17097 * files.el (delete-directory): Delete symlinks to directories with
17098 delete-file (Bug#4739).
17099
17100 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
17101
17102 * vc.el (vc-backend-for-registration): Rename from
17103 vc-get-backend-for-registration. Update callers.
17104
17105 * international/mule-cmds.el (set-language-info-alist):
17106 Purecopy lang-env.
17107 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
17108 (charset): Purecopy the name.
17109 (define-char-code-property): Purecopy string arguments.
17110
17111 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17112 Purecopy string arguments.
17113
17114 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
17115 * ediff-hook.el (menu-bar-ediff-menu):
17116 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
17117 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
17118
17119 2009-10-24 Glenn Morris <rgm@gnu.org>
17120
17121 * comint.el (comint-dynamic-list-completions):
17122 * term.el (term-dynamic-list-completions): Use choose-completion rather
17123 than obsolete alias mouse-choose-completion.
17124
17125 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
17126 file-cache-choose-completion.
17127 (file-cache-choose-completion): Handle an optional event argument.
17128 (file-cache-mouse-choose-completion): Make it an obsolete alias.
17129
17130 * progmodes/octave-mod.el (octave-complete-symbol):
17131 Use choose-completion if mouse-choose-completion is ever removed.
17132
17133 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
17134 use.
17135
17136 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
17137 compiler.
17138
17139 * vc-hooks.el (vc-responsible-backend): Fix declaration.
17140
17141 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
17142
17143 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
17144 Ignore `pred' now that we receive one.
17145 Handle test-completion specially.
17146
17147 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
17148
17149 * vc.el (vc-responsible-backend): Throw an error if not backend is
17150 found. Remove the REGISTER argument. Move the code dealing with
17151 REGISTER ...
17152 (vc-get-backend-for-registration): ... here. New function.
17153 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
17154 of vc-responsible-backend, pass the file name instead of the
17155 directory name.
17156
17157 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
17158
17159 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
17160 New funs.
17161 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
17162 (pcomplete-comint-setup): Don't modify a global var via
17163 accidental side-effects.
17164 (pcomplete-shell-setup): Adjust call accordingly.
17165 (pcomplete-parse-comint-arguments): Use push.
17166
17167 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
17168
17169 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
17170 Allow uncapitalized info node names (Bug#3921).
17171
17172 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
17173 to the DEBUG file (Bug#3781).
17174
17175 2009-10-23 Jari Aalto <jari.aalto@cante.net>
17176
17177 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
17178 dictionary entry (Bug#4579).
17179
17180 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
17181
17182 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
17183 from `rfn-eshadow-update-overlay-hook' when unloading.
17184 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
17185 "rsyncc". Adjust doc string.
17186 (tramp-temp-buffer-file-name): New buffer-local defvar.
17187 (tramp-handle-insert-file-contents, tramp-handle-write-region):
17188 Keep temporary file when indicated by method ("rsync" and
17189 "rsyncc").
17190 (tramp-handle-write-region): Handle APPEND.
17191 (tramp-delete-temp-file-function): New defun. Added to
17192 `kill-buffer-hook'.
17193
17194 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
17195
17196 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
17197
17198 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
17199
17200 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
17201 (color-name-rgb-alist, tty-standard-colors)
17202 (tty-color-mode-alist): Change to defconst.
17203
17204 * simple.el (mark-inactive): Purecopy message.
17205
17206 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
17207 (global-map, yank-menu):
17208 * textmodes/ispell.el (ispell-menu-map):
17209 * net/eudc.el (eudc-tools-menu):
17210 * international/mule-cmds.el (describe-language-environment-map)
17211 (setup-language-environment-map, set-coding-system-map)
17212 (mule-menu-keymap):
17213 * vc-hooks.el (vc-menu-entry, vc-menu-map):
17214 * replace.el (occur-mode-map):
17215 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
17216
17217 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
17218
17219 * calc/calc.el (math-read-number, math-read-number-simple):
17220 Use `save-match-data'.
17221
17222 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
17223
17224 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
17225 rather than fiddling with global-map bindings, since it should only
17226 affect per-terminal settings.
17227 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
17228
17229 * minibuffer.el (completion-table-with-terminator): Allow to specify
17230 the terminator-regexp.
17231
17232 * simple.el (switch-to-completions): Look for *Completions* in other
17233 frames as well.
17234
17235 * pcomplete.el: Allow the use of completion-tables.
17236 (pcomplete-std-complete): New command.
17237 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
17238 (pcomplete--here): Use a function for `form' rather than an expression,
17239 so it can be byte-compiled.
17240 (pcomplete-here, pcomplete-here*): Adjust accordingly.
17241 Add edebug declaration.
17242 (pcomplete-show-completions): Remove unused var `curbuf'.
17243 (pcomplete-do-complete, pcomplete-stub):
17244 Don't assume `completions' is a list of strings any more.
17245
17246 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
17247
17248 * find-dired.el (find-name-arg): Fix typo in docstring.
17249
17250 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
17251
17252 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
17253 (pcmpl-linux-fs-types): Same, and update to new modules layout.
17254
17255 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
17256 pcomplete-entries.
17257
17258 * comint.el (comint-read-input-ring, comint-write-input-ring)
17259 (comint-substitute-in-file-name)
17260 (comint-dynamic-complete-as-filename)
17261 (comint-dynamic-simple-complete)
17262 (comint-dynamic-list-filename-completions)
17263 (comint-dynamic-list-completions)
17264 (comint-redirect-results-list-from-process): Minor simplifications.
17265
17266 2009-10-21 Kevin Ryde <user42@zip.com.au>
17267
17268 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
17269 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
17270 the first form. And insert a blank line after ";;; Code" since
17271 that's usual style. (Bug#4612)
17272
17273 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
17274
17275 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
17276
17277 * minibuffer.el (completion-table-with-terminator): Properly implement
17278 boundaries, in case `terminator' appears in the suffix.
17279 (completion--embedded-envvar-table): Don't return boundaries if
17280 there's no valid completion. Simplify.
17281 (completion-file-name-table): New completion table extracted from
17282 completion--file-name-table.
17283 (completion--file-name-table): Use it.
17284 (read-file-name-predicate): Declare obsolete.
17285 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
17286 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
17287 completion-file-name-table, and use the `pred' argument.
17288 * files.el (locate-file-completion-table): Use the `pred' arg rather
17289 than read-file-name-predicate.
17290 (abbreviate-file-name): Use \` rather than ^ for BOS.
17291
17292 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
17293
17294 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
17295 vc-responsible-backend to register, it causes problems.
17296
17297 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
17298
17299 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
17300
17301 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
17302
17303 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
17304 (tramp-smb-handle-file-attributes): Use it.
17305 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
17306 (tramp-smb-handle-insert-directory): Use `mapc' rather than
17307 `mapcar'. Use `tramp-smb-get-stat-capability'.
17308 Add `dired-filename' text properties.
17309 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
17310 (tramp-smb-maybe-open-connection): Simplify check for smbclient
17311 version.
17312
17313 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
17314
17315 * subr.el (read-key-delay): Reduce to 0.01.
17316 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
17317 (bug#4751).
17318
17319 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
17320
17321 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
17322
17323 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
17324 (Info-menu): Remove unused vars `last' and `completions'.
17325 (Info-index-nodes): Remove unused var `node'.
17326
17327 * info.el (Info-complete-menu-item): Use complete-with-action.
17328
17329 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
17330
17331 Make vc-annotate work through copies and renames.
17332 * vc-annotate.el (vc-annotate-extract-revision-at-line):
17333 Return the file name too.
17334 (vc-annotate-revision-at-line)
17335 (vc-annotate-find-revision-at-line)
17336 (vc-annotate-revision-previous-to-line)
17337 (vc-annotate-show-log-revision-at-line): Update to get the file
17338 name from vc-annotate-extract-revision-at-line.
17339 (vc-annotate-show-diff-revision-at-line-internal): Change the
17340 argument to mean whether to show a file diff or not. Get the file
17341 name from vc-annotate-extract-revision-at-line.
17342 (vc-annotate-show-diff-revision-at-line):
17343 Update vc-annotate-show-diff-revision-at-line call.
17344 (vc-annotate-warp-revision): Add an optional file argument.
17345
17346 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
17347 (vc-git-annotate-extract-revision-at-line): Also return the file
17348 name if found.
17349
17350 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
17351 command. Remove unused code.
17352 (vc-hg-annotate-re): Update to match --follow output.
17353 (vc-hg-annotate-extract-revision-at-line): Also return the file
17354 name if found.
17355
17356 * vc.el: Update annotate-extract-revision-at-line documentation.
17357
17358 2009-10-18 Kevin Ryde <user42@zip.com.au>
17359
17360 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
17361 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
17362
17363 * net/browse-url.el (browse-url): Identify alist with "consp and
17364 not functionp" and let all other things go down the `apply' leg,
17365 as suggested by Stefan. (Further to bug#4531.)
17366
17367 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
17368
17369 * minibuffer.el (read-file-name): Check for repeat before putting
17370 a default argument in file-name-history (Bug#4657).
17371
17372 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
17373 read syntax (Bug#4737).
17374
17375 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
17376
17377 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
17378
17379 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
17380 (html-tag-alist, html-tag-help): Add descriptions for undocumented
17381 entries and make note of obsolete tags.
17382
17383 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
17384
17385 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
17386
17387 2009-10-18 Glenn Morris <rgm@gnu.org>
17388
17389 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
17390 grep, so that binary files (eg international/uni-bidi.el) can match.
17391 Remove test for "UnicodeData" files, since it is hopefully unnecessary
17392 now, and in any case the file header format has changed.
17393
17394 2009-10-17 Glenn Morris <rgm@gnu.org>
17395
17396 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
17397 (flyspell-get-word, flyspell-large-region)
17398 (flyspell-auto-correct-previous-word): Doc/error message fixes.
17399
17400 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
17401
17402 * Makefile.in (ELCFILES): Add ede/shell.
17403
17404 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
17405
17406 * term/common-win.el (x-colors): Purecopy it.
17407
17408 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17409
17410 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
17411 permissive for when the buffer is empty.
17412 (tar-header-block-tokenize): Decode the username and groupname.
17413 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
17414
17415 2009-10-17 Eric Ludlam <zappo@gnu.org>
17416
17417 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
17418 contains multibyte characters, choose first applicable coding
17419 system automatically.
17420
17421 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17422
17423 * international/mule-cmds.el (select-safe-coding-system): If the file
17424 has a coding cookie, use it regardless of any other setting (bug#4712).
17425
17426 2009-10-17 Glenn Morris <rgm@gnu.org>
17427
17428 * foldout.el (foldout-mouse-swallow-events):
17429 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
17430
17431 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
17432 (dired-keep-marker-copy, dired-keep-marker-hardlink)
17433 (dired-keep-marker-symlink, dired-dwim-target)
17434 (dired-copy-preserve-time): Do not autoload these defcustoms.
17435
17436 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
17437 messages from messing up the file coding. (Bug#4623)
17438
17439 2009-10-17 Jari Aalto <jari.aalto@cante.net>
17440
17441 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
17442 if no match is found for the current dictionary. (Bug#4578)
17443
17444 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
17445 optional, since that is how it is documented, and this is often called
17446 with a nil argument. (Bug#4577)
17447 (flyspell-external-point-words, flyspell-auto-correct-word)
17448 (flyspell-correct-word-before-point, flyspell-word-search-forward)
17449 (flyspell-word-search-backward): Remove nil argument in calls to
17450 flyspell-get-word, since it is not needed now.
17451
17452 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
17453
17454 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
17455
17456 2009-10-16 Glenn Morris <rgm@gnu.org>
17457
17458 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
17459
17460 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
17461
17462 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
17463 (ange-ftp-file-size): New function.
17464 (ange-ftp-file-attributes): Use it.
17465
17466 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
17467
17468 * net/tramp-smb.el (tramp-smb-version): New defvar.
17469 (tramp-smb-maybe-open-connection): Use it, in order to avoid
17470 repeated checks.
17471
17472 2009-10-16 Glenn Morris <rgm@gnu.org>
17473
17474 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
17475 Maybe copy some custom properties from old to new name. (Bug#4706)
17476
17477 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
17478
17479 * subr.el (error, sit-for, start-process-shell-command)
17480 (start-file-process-shell-command): Set the calling convention
17481 after the function definition.
17482
17483 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
17484
17485 * subr.el (error, sit-for, start-process-shell-command)
17486 (start-file-process-shell-command): Use the new
17487 set-advertised-calling-convention feature.
17488
17489 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
17490
17491 * international/ucs-normalize.el (ucs-normalize-version):
17492 Change to 1.2.
17493 (check-range): Adjust for Unicode 5.2.
17494
17495 2009-10-15 Juri Linkov <juri@jurta.org>
17496
17497 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
17498 to the `menu-item' format.
17499
17500 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
17501
17502 * net/tramp.el (tramp-replace-environment-variables): Do not fail
17503 if the environment variable does not exist.
17504
17505 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17506 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
17507 parameter.
17508 (tramp-smb-handle-add-name-to-file)
17509 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
17510 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
17511 (tramp-smb-handle-file-attributes)
17512 (tramp-smb-do-file-attributes-with-stat)
17513 (tramp-smb-handle-file-local-copy)
17514 (tramp-smb-handle-insert-directory)
17515 (tramp-smb-handle-make-directory)
17516 (tramp-smb-handle-make-directory-internal)
17517 (tramp-smb-handle-make-symbolic-link)
17518 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
17519 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
17520 (tramp-smb-maybe-open-connection): Apply the changed parameters.
17521 (tramp-smb-read-file-entry): Read Disk names in compressed format.
17522 Handle long file names.
17523 (tramp-smb-get-cifs-capabilities): Check, whether the connection
17524 process is running.
17525 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
17526 Read share names with "-g" option.
17527
17528 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
17529
17530 * net/rcirc.el (rcirc-view-log-file): New command.
17531 (rcirc-track-minor-mode-map): Remove C-c ` binding.
17532 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
17533 specified.
17534
17535 2009-10-15 Glenn Morris <rgm@gnu.org>
17536
17537 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
17538 from the second command-line argument.
17539 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
17540 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
17541 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
17542 w32-batch-update-autoloads.
17543 * emacs-lisp/autoload.el (autoload-make-program): New variable.
17544 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
17545
17546 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
17547 the headers cannot be located. Simplify, subtracting superflous
17548 save-excursions.
17549
17550 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
17551
17552 Replace completion-base-size by completion-base-position to fix bugs
17553 such as (bug#4699).
17554 * simple.el (completion-base-position): New var.
17555 (completion-base-size): Mark as obsolete.
17556 (choose-completion): Make it work for mouse events as well.
17557 Pass the new base-position to choose-completion-string.
17558 (choose-completion-guess-base-position): New function, extracted from
17559 choose-completion-delete-max-match.
17560 (choose-completion-delete-max-match): Use it. Make obsolete.
17561 (choose-completion-string): Use the new base-position info.
17562 (completion-root-regexp): Delete.
17563 (completion-setup-function): Preserve completion-base-position.
17564 Eliminate obsolete base-size manipulation.
17565 * minibuffer.el (display-completion-list): Don't mess with base-size.
17566 (minibuffer-completion-help): Set completion-base-position instead.
17567 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
17568 choose-completion.
17569 * textmodes/bibtex.el (bibtex-complete):
17570 * emacs-lisp/crm.el (crm--choose-completion-string):
17571 Adjust to new calling convention.
17572 * complete.el (partial-completion-mode): Use minibufferp to avoid
17573 bumping into incompatible change to choose-completion-string-functions.
17574 * ido.el (ido-choose-completion-string): Make its calling convention
17575 more permissive.
17576 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
17577 base-size manipulation.
17578 (comint-dynamic-list-input-ring): Use dotimes and push.
17579 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
17580 fundamental-mode. Use `or'.
17581
17582 2009-10-14 Juri Linkov <juri@jurta.org>
17583
17584 * misearch.el (multi-isearch-next-buffer-from-list)
17585 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
17586
17587 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
17588
17589 * Makefile.in (compile-onefile): Load `bytecomp' rather than
17590 `bytecomp.el'.
17591
17592 * minibuffer.el (completion-pcm--merge-completions): Make sure the
17593 string we return is all made up of text from the completions rather
17594 than part from the completions and part from the input (bug#4219).
17595
17596 * ido.el (ido-everywhere): Use define-minor-mode.
17597
17598 * buff-menu.el (list-buffers, ctl-x-map):
17599 Mark the entry points with ;;;###autoload cookies.
17600
17601 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
17602
17603 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
17604 correctly in the detached head case.
17605 (vc-git-print-log): Remove unused binding.
17606
17607 * vc.el (vc-responsible-backend): When a directory is passed for
17608 for registration create a VC repository if no backend is
17609 responsible for the directory argument.
17610 (vc-deduce-fileset): Tell vc-responsible-backend to register.
17611
17612 * vc.el: Move comments about RCS and SCCS ...
17613 * vc-rcs.el:
17614 * vc-sccs.el: ... here, respectively.
17615
17616 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
17617
17618 * minibuffer.el (completion--file-name-table): Return nil if there's
17619 no file completion, even if substitute-in-file-name changed
17620 the string (bug#4708).
17621
17622 2009-10-13 Juri Linkov <juri@jurta.org>
17623
17624 * files-x.el (read-file-local-variable-value): Don't filter out
17625 minor modes from mode name completion (bug#4664).
17626
17627 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
17628
17629 * international/mule-cmds.el (ucs-names): Remove exclusion of
17630 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
17631
17632 2009-10-13 Kenichi Handa <handa@m17n.org>
17633
17634 * international/uni-name.el: Regenerated.
17635
17636 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
17637
17638 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
17639 should be automatically buffer-local, but isn't.)
17640
17641 2009-10-12 Sam Steingold <sds@gnu.org>
17642
17643 * progmodes/compile.el (compilation-next-error-function): Fix the
17644 timestamps if the buffer has been visited before.
17645 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
17646 non-anchored patterns, like the perl one (bug#3928).
17647
17648 2009-10-12 Glenn Morris <rgm@gnu.org>
17649
17650 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
17651 Let-bind `size'.
17652
17653 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
17654
17655 * proced.el (proced-unload-function): New function.
17656
17657 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
17658 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
17659 Doc fix.
17660
17661 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
17662
17663 2009-10-11 Juri Linkov <juri@jurta.org>
17664
17665 * files-x.el (read-file-local-variable-value):
17666 Provide default value only for bound variables (bug#4664).
17667
17668 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
17669
17670 * net/tramp.el (tramp-local-host-p): Function shall return nil for
17671 connection methods like smb.
17672
17673 * net/tramp-cache.el (tramp-flush-connection-property): The hash
17674 can be empty.
17675
17676 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17677 (tramp-smb-file-name-handler-alist): Add handlers for
17678 `add-name-to-file', `make-symbolic-link'.
17679 (tramp-smb-handle-add-name-to-file)
17680 (tramp-smb-do-file-attributes-with-stat)
17681 (tramp-smb-handle-make-symbolic-link)
17682 (tramp-smb-get-cifs-capabilities): New defuns.
17683 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
17684 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
17685 (tramp-smb-handle-file-local-copy)
17686 (tramp-smb-handle-make-directory-internal)
17687 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
17688 The file name syntax depends on cifs capabilities.
17689 (tramp-smb-handle-file-attributes):
17690 Call `tramp-smb-do-file-attributes-with-stat' if possible.
17691 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
17692 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
17693
17694 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
17695
17696 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
17697 (eieio-defclass): Apply deftype handler and setf-method properties
17698 directly.
17699 (eieio-add-new-slot): Avoid union function from cl library.
17700 (eieio--typep): New function.
17701 (eieio-perform-slot-validation): Use it.
17702
17703 2009-10-10 Karl Fogel <kfogel@red-bean.com>
17704
17705 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
17706 Update documentation to refer to the variables documented in r1.135.
17707 (Bug#4188)
17708
17709 2009-10-10 Karl Fogel <kfogel@red-bean.com>
17710
17711 * bookmark.el (Info-suffix-list): Remove this unused variable.
17712 (bookmark-current-point): Remove this obsolete variable.
17713 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
17714 Adjust for removal of bookmark-current-point.
17715
17716 (bookmarks-already-loaded, bookmark-current-buffer)
17717 (bookmark-yank-point): Document. (Bug#4188)
17718
17719 2009-10-10 Glenn Morris <rgm@gnu.org>
17720
17721 * frame.el (frame-height): Doc fix.
17722
17723 * calendar/calendar.el (calendar-split-width-threshold): New option.
17724 (calendar-basic-setup): Use calendar-split-width-threshold.
17725
17726 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
17727
17728 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
17729 Ideographic Supplement" range (U+1F200..U+1F2FF).
17730
17731 2009-10-09 Karl Fogel <kfogel@red-bean.com>
17732
17733 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
17734 since the list will have been rebuilt anyway. (Bug#4349)
17735
17736 2009-10-09 Karl Fogel <kfogel@red-bean.com>
17737
17738 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
17739 (bookmark-bmenu-execute-deletions): Don't save here, as
17740 bookmark-delete will now do so if necessary.
17741 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
17742 (Bug#4348)
17743
17744 2009-10-09 Glenn Morris <rgm@gnu.org>
17745
17746 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
17747
17748 2009-10-09 Karl Fogel <kfogel@red-bean.com>
17749
17750 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
17751 (bookmark-jump-other-window): Just invoke bookmark-jump with new
17752 argument now, so the two function's behaviors will match. (Bug#3645)
17753
17754 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
17755
17756 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
17757 (tramp-file-name-real-host, tramp-file-name-port):
17758 Apply `save-match-data'.
17759
17760 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
17761 case both directories are remote.
17762 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
17763 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
17764
17765 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
17766
17767 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
17768
17769 2009-10-07 Glenn Morris <rgm@gnu.org>
17770
17771 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
17772 of concat.
17773
17774 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
17775
17776 * files-x.el (read-file-local-variable): Include some
17777 non-user-variables in the completion table (bug#4664).
17778
17779 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
17780
17781 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
17782 message.
17783
17784 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17785 (tramp-smb-file-name-handler-alist): Add handler for
17786 `copy-directory', `expand-file-name', `set-file-modes'.
17787 (tramp-smb-handle-copy-directory)
17788 (tramp-smb-handle-expand-file-name)
17789 (tramp-smb-handle-set-file-modes): New defuns.
17790 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
17791 (tramp-smb-handle-file-attributes): Simplify check for retrieving
17792 entry.
17793 (tramp-smb-handle-insert-directory): Don't flush the cache.
17794 (tramp-smb-maybe-open-connection): Check for samba client and
17795 server versions.
17796
17797 2009-10-07 Eli Zaretskii <eliz@gnu.org>
17798
17799 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
17800 to not error out of search for "^lisp=" fails.
17801
17802 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
17803
17804 * makefile.w32-in (WINS_UPDATES): New macro.
17805 (custom-deps, finder-data, autoloads): Use it.
17806
17807 2009-10-07 Glenn Morris <rgm@gnu.org>
17808
17809 * Makefile.in (autoloads): Revert previous change.
17810 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
17811 the list of preloaded files passed on the command-line, get
17812 it from src/Makefile.
17813
17814 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
17815 show the original buffer rather than a random one.
17816
17817 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
17818
17819 * help.el (describe-no-warranty): Place point in a slightly better
17820 position in the GPLv3 text.
17821
17822 2009-10-06 Sam Steingold <sds@gnu.org>
17823
17824 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
17825 the comm attribute is present before calling regexp-quote.
17826
17827 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
17828
17829 * play/animate.el (animate-string): For good effect, make sure
17830 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
17831
17832 * play/animate.el (animate-sequence, animate-birthday-present):
17833 * misc.el (butterfly): Don't set `indent-tabs-mode'.
17834
17835 2009-10-06 Glenn Morris <rgm@gnu.org>
17836
17837 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
17838
17839 * emacs-lisp/autoload.el (autoload-excludes): New variable.
17840 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
17841 (batch-update-autoloads): Process a string value of autoload-excludes,
17842 set during the build process.
17843 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
17844
17845 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
17846 inside with-parsed... macro so that `v' is defined.
17847
17848 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
17849 * progmodes/fortran.el (fortran-end-of-block)
17850 (fortran-beginning-of-block):
17851 Also push mark in the macro case.
17852
17853 * emerge.el (emerge-show-file-name):
17854 * calc/calc.el (calc-quit):
17855 * calc/calc-misc.el (calc-big-or-small):
17856 * calc/calc-graph.el (calc-graph-view):
17857 * calc/calc-ext.el (calc-reset):
17858 * calendar/calendar.el (calendar-basic-setup):
17859 Use window-full-height-p.
17860
17861 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
17862 header we don't understand, don't insert another. (Bug#4624)
17863 If changing mime charset, insert the new one in the right place.
17864
17865 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
17866
17867 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
17868 (cal-tex-cursor-month): Correctly increment the end date for diary and
17869 holiday listing. (Bug#4626)
17870
17871 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17872
17873 * help-fns.el (describe-function-1): Don't burp if the function is not
17874 a symbol.
17875
17876 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
17877
17878 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
17879 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
17880 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
17881 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
17882
17883 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
17884 (eieio-default-superclass): Reflow docstrings.
17885 (this, class-option-assoc, defclass, eieio-class-un-autoload)
17886 (eieio-unbind-method-implementations, defmethod)
17887 (eieio-validate-slot-value, eieio-validate-class-slot-value)
17888 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
17889 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
17890 (eieio-slot-originating-class-p, eieio-slot-name-index)
17891 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
17892 (constructor, initialize-instance, no-next-method, object-print)
17893 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
17894 Fix typos in docstrings.
17895 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
17896 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
17897 (next-method-p): Doc fixes.
17898 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
17899 Fix typos in error messages.
17900 (eieio-defmethod): Fix typo in description of generic method.
17901
17902 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
17903 (eieio-persistent-save-interactive, slot-missing):
17904 Fix typos in docstrings.
17905 (eieio-instance-inheritor-slot-boundp): Doc fix.
17906
17907 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
17908 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
17909
17910 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
17911 (eieio-custom-object-apply-reset):
17912 Fix typos in docstrings and error messages.
17913
17914 * emacs-lisp/eieio-datadebug.el (data-debug-show):
17915 Fix typo in docstring.
17916
17917 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
17918 (eieio-browse-tree): Doc fix.
17919 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
17920 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
17921 Fix typos in docstrings.
17922
17923 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
17924 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
17925 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
17926 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
17927 Reflow docstrings.
17928
17929 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
17930
17931 * vc-hg.el (log-view-vc-backend): Declare for compiler.
17932 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
17933 Set log-view-vc-backend so that diff can work.
17934
17935 * log-view.el (log-view-diff): Use vc-diff-internal instead of
17936 vc-version-diff.
17937 (vc-diff-internal): Autoload this instead of vc-version-diff.
17938
17939 2009-10-05 Eli Zaretskii <eliz@gnu.org>
17940
17941 * simple.el (eval-expression): Doc fix.
17942
17943 * progmodes/cwarn.el (cwarn-mode): Doc fix.
17944
17945 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
17946
17947 * files.el (directory-files-no-dot-files-regexp): New defconst.
17948 (delete-directory): Use it.
17949 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
17950
17951 * net/tramp.el (tramp-verbose): Fix docstring.
17952 (tramp-methods): Add recursive option to `tramp-copy-args'.
17953 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
17954 "scp1_old", "scp2_old", "rsync", "rsyncc".
17955 (tramp-default-method): Check also for `auth-source-user-or-password'.
17956 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
17957 Add handler for `copy-directory'.
17958 (tramp-handle-copy-directory): New defun.
17959 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
17960 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
17961 Optimize sent command.
17962
17963 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17964
17965 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
17966 window if necessary.
17967
17968 * calendar/calendar.el (calendar-basic-setup): Don't call
17969 switch-to-buffer in a dedicated window.
17970
17971 2009-10-05 Karl Fogel <kfogel@red-bean.com>
17972
17973 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
17974 don't do anything related to relocating, just return nil.
17975 (bookmark-error-no-filename): New error.
17976 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
17977 bookmark has no file. Don't even attempt to handle things that
17978 are not files; the whole point of custom handlers is to keep that
17979 knowledge elsewhere anyway. Tighten some comments.
17980 (bookmark-file-or-variation-thereof): Remove now-unused function.
17981 (bookmark-location): Doc string fix.
17982 (Bug#4250)
17983
17984 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17985
17986 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
17987 don't use a file dialog, because they usually don't know how to read
17988 a directory target from the user. (Bug#4230)
17989 Also, make sure the prompt can display directories as well as files.
17990
17991 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17992
17993 * bookmark.el (bookmark-set, bookmark-buffer-name):
17994 Improve doc strings. (Bug#1193)
17995
17996 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17997
17998 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
17999 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
18000 (bookmark-get-annotation, bookmark-set-annotation)
18001 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
18002 (bookmark-set-position, bookmark-get-front-context-string)
18003 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
18004 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
18005 (bookmark-jump-other-window, bookmark-handle-bookmark)
18006 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
18007 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
18008 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
18009 Improve doc strings to say whether bookmark can be a string or
18010 a record or both, and make other consistency and clarity fixes.
18011 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
18012 (bookmark-default-annotation-text, bookmark-yank-word)
18013 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
18014 (bookmark-import-new-list, bookmark-maybe-rename)
18015 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
18016 (bookmark-bmenu-bookmark): Give these doc strings.
18017 (bookmark-bmenu-check-position): Give this a doc string, but also
18018 add a FIXME comment about how the function may be pointless.
18019 (bookmark-default-handler): Rework doc string and change a
18020 parameter name, to clarify that this takes a bookmark record
18021 not a bookmark name.
18022 (bookmark-set): Change a parameter name to indicate its meaning,
18023 and improve the doc string a bit.
18024 (Bug#4188)
18025
18026 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18027
18028 * bookmark.el (bookmark-alist): Document the new `handler' element
18029 in the param alist.
18030 (bookmark-make-record-function): Adjust documentation for above.
18031 (Bug#4193)
18032
18033 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18034
18035 * info.el (Info-bookmark-make-record): Document this function.
18036 (Info-bookmark-jump): Document with a doc string, not just a comment.
18037 (Bug#4203)
18038
18039 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
18040
18041 * files.el (copy-directory): New defun.
18042
18043 * dired-aux.el (dired-copy-file-recursive): Use it.
18044
18045 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
18046
18047 * files-x.el (modify-dir-local-variable)
18048 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
18049 docstrings.
18050
18051 * recentf.el (recentf-unload-function): New function.
18052
18053 2009-10-04 Glenn Morris <rgm@gnu.org>
18054
18055 * window.el (window-full-height-p): Add doc string.
18056
18057 2009-10-04 Martin Rudalics <rudalics@gmx.at>
18058
18059 * window.el (window-full-height-p): New function. (Bug#4543)
18060
18061 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
18062
18063 * vc.el: Remove commented out code.
18064 (vc-derived-from-dir-mode): Remove, unused.
18065 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
18066
18067 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
18068
18069 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
18070 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
18071 there could be recursive loading when `default-directory' is a
18072 remote file name. (Bug#4614)
18073
18074 2009-10-03 Glenn Morris <rgm@gnu.org>
18075
18076 * calendar/calendar.el (calendar-basic-setup): Handle the case where
18077 the frame is wide.
18078 (calendar-generate-window): Test for shrinkability rather than width.
18079
18080 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
18081 reusing existing buffers, in case we happen to visit two files with the
18082 same basename. (Bug#4593)
18083
18084 2009-10-02 Eli Zaretskii <eliz@gnu.org>
18085
18086 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
18087 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
18088 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
18089 subdirs of cedet as well.
18090 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
18091
18092 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
18093
18094 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
18095 Obey advertised-signature-table.
18096
18097 * help-fns.el (help-function-arglist): Don't check
18098 advertised-signature-table.
18099 (describe-function-1): Do it here instead so it also applies to subrs.
18100
18101 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
18102
18103 * simple.el (start-file-process): Say in the doc-string, that file
18104 handlers might not support pty association, if PROGRAM is nil.
18105
18106 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
18107 HOST and USER are strings. They are nil, when there are
18108 incomplete entries in ~/.netrc, for example.
18109 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
18110 root directory ("device busy" error otherwise).
18111
18112 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
18113 Flush file properties of created directory.
18114
18115 2009-10-02 Eli Zaretskii <eliz@gnu.org>
18116
18117 * makefile.w32-in (WINS_BASIC): Remove cedet.
18118 (WINS_CEDET): Add cedet.
18119 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
18120
18121 2009-10-02 Kevin Ryde <user42@zip.com.au>
18122
18123 * net/browse-url.el (browse-url): Pass any symbol in
18124 browse-url-browser-function to `apply', since if you've mistakenly put
18125 an unbound symbol then the error is clearer. (Bug#4531)
18126
18127 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
18128
18129 * allout.el (allout-init, allout-back-to-current-heading)
18130 (allout-beginning-of-current-entry, allout-ascend-to-depth)
18131 (allout-ascend, allout-up-current-level, allout-end-of-level)
18132 (allout-previous-visible-heading, allout-forward-current-level)
18133 (allout-backward-current-level, allout-show-children):
18134 * apropos.el (apropos-describe-plist):
18135 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
18136 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
18137 * completion.el (add-completion, add-permanent-completion):
18138 * descr-text.el (describe-text-category, describe-char):
18139 * desktop.el (desktop-lazy-abort):
18140 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
18141 * dired.el (dired-build-subdir-alist):
18142 * ediff.el (ediff-version):
18143 * elide-head.el (elide-head, elide-head-show):
18144 * emerge.el (emerge-version):
18145 * env.el (getenv):
18146 * face-remap.el (variable-pitch-mode):
18147 * faces.el (describe-face):
18148 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
18149 (dired-at-point):
18150 * files.el (find-file-existing, auto-save-mode):
18151 * font-lock.el (font-lock-fontify-buffer):
18152 * help-fns.el (describe-function, describe-variable)
18153 (describe-syntax, describe-categories):
18154 * help.el (view-lossage, describe-bindings, describe-key)
18155 (describe-mode):
18156 * hexl.el (hexl-current-address):
18157 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
18158 * info.el (Info-goto-emacs-key-command-node):
18159 * log-edit.el (log-edit-insert-cvs-template)
18160 (log-edit-insert-cvs-rcstemplate):
18161 * menu-bar.el (menu-bar-mode):
18162 * mouse.el (mouse-appearance-menu):
18163 * newcomment.el (comment-indent-new-line):
18164 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
18165 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
18166 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
18167 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
18168 * recentf.el (recentf-mode):
18169 * savehist.el (savehist-mode, savehist-save):
18170 * shadowfile.el (shadow-copy-files):
18171 * simple.el (kill-ring-save, next-line, previous-line)
18172 (normal-erase-is-backspace-mode):
18173 * strokes.el (strokes-update-window-configuration)
18174 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
18175 (strokes-xpm-for-stroke):
18176 * time.el (emacs-uptime, emacs-init-time):
18177 * tutorial.el (tutorial--describe-nonstandard-key)
18178 (tutorial--detailed-help):
18179 * type-break.el (type-break-mode)
18180 (type-break-mode-line-message-mode, type-break-query-mode)
18181 (type-break-guesstimate-keystroke-threshold):
18182 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
18183 * version.el (emacs-version):
18184 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
18185 * winner.el (winner-mode):
18186 * calendar/timeclock.el (timeclock-in, timeclock-out)
18187 (timeclock-status-string, timeclock-change)
18188 (timeclock-workday-remaining-string)
18189 (timeclock-workday-elapsed-string)
18190 (timeclock-when-to-leave-string):
18191 * calendar/todo-mode.el (todo-add-category):
18192 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
18193 * emacs-lisp/autoload.el (update-file-autoloads):
18194 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
18195 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
18196 (checkdoc-message-text, checkdoc-defun):
18197 * emacs-lisp/debug.el (debugger-list-functions):
18198 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
18199 * emacs-lisp/eieio-opt.el (eieio-describe-class)
18200 (eieio-describe-generic):
18201 * emacs-lisp/lisp-mnt.el (lm-synopsis):
18202 * emacs-lisp/shadow.el (list-load-path-shadows):
18203 * emulation/cua-base.el (cua-mode):
18204 * emulation/edt.el (edt-set-scroll-margins):
18205 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
18206 (tpu-toggle-regexp, tpu-toggle-search-direction)
18207 (tpu-toggle-rectangle, tpu-toggle-control-keys):
18208 * emulation/tpu-extras.el (tpu-set-scroll-margins):
18209 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
18210 (viper-set-parsing-style-toggling-macro)
18211 (viper-set-emacs-state-searchstyle-macros):
18212 * emulation/viper.el (viper-set-hooks):
18213 * eshell/esh-mode.el (eshell-truncate-buffer):
18214 * international/mule-cmds.el (prefer-coding-system)
18215 (describe-input-method, describe-language-environment):
18216 * international/mule-diag.el (list-character-sets)
18217 (describe-character-set, describe-coding-system)
18218 (describe-fontset, list-fontsets, list-input-methods):
18219 * mail/sendmail.el (mail-signature):
18220 * net/ange-ftp.el (ange-ftp-copy-file):
18221 * net/browse-url.el (browse-url):
18222 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
18223 * net/quickurl.el (quickurl-add-url):
18224 * net/rcirc.el (names, topic):
18225 * net/xesam.el (xesam-mode):
18226 * play/5x5.el (5x5-new-game):
18227 * play/yow.el (apropos-zippy):
18228 * progmodes/ada-mode.el (ada-mode-version):
18229 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
18230 (f90-end-of-block)
18231 (f90-beginning-of-block):
18232 * progmodes/fortran.el (fortran-end-of-block)
18233 (fortran-beginning-of-block):
18234 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
18235 * progmodes/python.el (python-describe-symbol, python-shell):
18236 * term/ns-win.el (ns-print-buffer):
18237 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
18238 * textmodes/flyspell.el (flyspell-mode-on):
18239 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
18240 (pages-directory-for-addresses):
18241 * textmodes/table.el (table-recognize-cell)
18242 (table-query-dimension, table-generate-source)
18243 (table-insert-sequence, table--warn-incompatibility):
18244 * textmodes/tex-mode.el (tex-validate-buffer):
18245 * textmodes/texinfmt.el (texinfmt-version)
18246 (texinfo-format-buffer):
18247 Use `called-interactively-p' instead of `interactive-p'.
18248
18249 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
18250
18251 * image-mode.el (image-toggle-display):
18252 * emacs-lisp/elp.el (elp-instrument-function):
18253 * emacs-lisp/advice.el (ad-make-advised-definition):
18254 * emacs-lisp/easy-mmode.el (define-minor-mode):
18255 * net/browse-url.el (browse-url-maybe-new-window):
18256 * progmodes/sh-script.el (sh-learn-buffer-indent):
18257 Pass new argument 'any to `called-interactively-p'.
18258
18259 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
18260
18261 * international/uni-bidi.el:
18262 * international/uni-category.el:
18263 * international/uni-combining.el:
18264 * international/uni-comment.el:
18265 * international/uni-decimal.el:
18266 * international/uni-decomposition.el:
18267 * international/uni-digit.el:
18268 * international/uni-lowercase.el:
18269 * international/uni-mirrored.el:
18270 * international/uni-name.el:
18271 * international/uni-numeric.el:
18272 * international/uni-old-name.el:
18273 * international/uni-titlecase.el:
18274 * international/uni-uppercase.el:
18275 Regenerate from Unicode 5.2.0 data.
18276
18277 2009-10-01 Glenn Morris <rgm@gnu.org>
18278
18279 * Makefile.in (ELCFILES): Regenerate.
18280
18281 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
18282
18283 * subr.el (interactive-p): Mark obsolete.
18284 (called-interactively-p): Make the optional-ness of `kind' obsolete.
18285 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
18286 advertised-signature-table for subroutines as well.
18287
18288 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
18289 (set-advertised-calling-convention): New function.
18290 (make-obsolete, define-obsolete-function-alias)
18291 (make-obsolete-variable, define-obsolete-variable-alias):
18292 Make the optional-ness of `when' obsolete.
18293 (define-obsolete-face-alias): Make `when' non-optional.
18294 * help-fns.el (help-function-arglist):
18295 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
18296 Use advertised-signature-table.
18297
18298 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
18299
18300 * files.el (delete-directory): New defun. The original function
18301 in fileio.c has been renamed to `delete-directory-internal'.
18302
18303 * dired.el (dired-delete-file): Call `delete-directory' with
18304 RECURSIVE parameter.
18305
18306 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
18307 parameter RECURSIVE. Implementation is missing.
18308
18309 * net/tramp.el (tramp-handle-make-directory): Flush upper
18310 directory's file properties.
18311 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
18312 (tramp-handle-dired-recursive-delete-directory): Flush directory
18313 properties after the remove command only.
18314
18315 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
18316 Handle optional parameter RECURSIVE.
18317
18318 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
18319 Handle optional parameter RECURSIVE.
18320
18321 * net/tramp-smb.el (tramp-smb-errors): Add error message for
18322 connection timeout.
18323 (tramp-smb-handle-delete-directory): Handle optional parameter
18324 RECURSIVE.
18325
18326 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
18327
18328 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
18329 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
18330 (byte-compile-defmacro): Use backquotes.
18331
18332 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
18333
18334 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
18335 has no associated file.
18336 (vc-resynch-buffer): Use vc-dir-buffers.
18337
18338 2009-10-01 Glenn Morris <rgm@gnu.org>
18339
18340 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
18341 (chart-file-count):
18342 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
18343 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
18344 * emacs-lisp/eieio-opt.el (eieio-describe-class):
18345 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
18346 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
18347 (eieio-copy-parents-into-subclass, make-instance, class-children)
18348 (eieio-generic-form):
18349
18350 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
18351 match-data. (Bug#4555).
18352
18353 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
18354 rather than parsing it as a regexp. This relaxes the layout
18355 requirements and makes errors easier to detect.
18356 (check-declare-verify): Check file is regular.
18357 (check-declare-directory): Doc fix.
18358 * subr.el (declare-function): Doc fix.
18359
18360 * ibuffer.el (ibuffer-format-qualifier):
18361 * isearch.el (hi-lock-regexp-okay):
18362 * calc/calc.el (math-zerop):
18363 * mail/uce.el (rmail-msgbeg, rmail-msgend):
18364 * term/w32-win.el (setup-default-fontset, set-fontset-font):
18365 Remove unused declarations.
18366
18367 2009-09-30 Eric Ludlam <zappo@gnu.org>
18368
18369 * emacs-lisp/eieio.el (boolean-p): Delete.
18370
18371 2009-09-30 Glenn Morris <rgm@gnu.org>
18372
18373 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
18374
18375 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
18376 filename is not a string.
18377
18378 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
18379
18380 * files.el (safe-local-eval-forms): Fix typo.
18381
18382 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
18383
18384 * vc-hooks.el (vc-dir-buffers): New var.
18385 (vc-state-refresh): New function.
18386 (vc-state): Use it.
18387 (vc-after-save): Always ask the backend to recompute the new state.
18388 Always call vc-dir if necessary, using vc-dir-buffers.
18389 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
18390 Use vc-dir-buffers.
18391 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
18392 (vc-dir-prepare-status-buffer, vc-dir-update)
18393 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
18394 Don't call expand-file-name on default-directory.
18395
18396 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
18397
18398 * speedbar.el (speedbar-item-delete):
18399 * calc/calc-prog.el (calc-kbd-if):
18400 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
18401
18402 * epa.el (epa-key-list-mode-map):
18403 * hi-lock.el (hi-lock-menu): Fix typos in menus.
18404
18405 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
18406 (hs-show-hook): Fix typo in docstring.
18407
18408 2009-09-29 Glenn Morris <rgm@gnu.org>
18409
18410 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
18411 file-name-nondirectory call preventing location of cedet files.
18412 (check-declare-verify): Use literal search rather than re-search.
18413 Add basic defmethod and defclass, and define-overloadable-function.
18414
18415 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18416 Use tramp-compat-file-attributes rather than nonexistent
18417 tramp-compat-handle-file-attributes.
18418
18419 * Makefile.in (lisptagsfiles4): New.
18420 (AUTOGENEL): Add cedet loaddefs files.
18421 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
18422 (update-elclist, compile-always, backup-compiled-files)
18423 (bootstrap-clean): Add yet another directory level.
18424 (update-elclist): Use LC_COLLATE rather than COLLATE.
18425 (ELCFILES): Update, via `make update-elclist'.
18426
18427 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
18428
18429 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
18430 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
18431 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
18432
18433 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
18434
18435 * Makefile.in (lisptagsfiles3): Define.
18436 (TAGS, TAGS-LISP): Use it.
18437 (update-elclist): Add third directory level to look for elc files.
18438 (compile-always): Likewise.
18439 (backup-compiled-files): Likewise.
18440 (bootstrap-clean): Likewise.
18441 (ELCFILES): Update.
18442
18443 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
18444
18445 * Makefile.in (ELCFILES): Add CEDET files.
18446
18447 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
18448
18449 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
18450
18451 * net/tramp.el (top): Require tramp-imap.
18452
18453 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18454 Use `tramp-compat-handle-file-attributes'.
18455
18456 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
18457
18458 * net/tramp-imap.el: New package.
18459
18460 2009-09-28 Eric Ludlam <zappo@gnu.org>
18461
18462 * emacs-lisp/chart.el:
18463 * emacs-lisp/eieio-base.el:
18464 * emacs-lisp/eieio-comp.el:
18465 * emacs-lisp/eieio-custom.el:
18466 * emacs-lisp/eieio-datadebug.el:
18467 * emacs-lisp/eieio-opt.el:
18468 * emacs-lisp/eieio-speedbar.el:
18469 * emacs-lisp/eieio.el: New files.
18470
18471 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18472
18473 * whitespace.el (whitespace-trailing-regexp)
18474 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
18475 Fix doc string.
18476
18477 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
18478
18479 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
18480 menu.
18481
18482 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
18483 menu-bar-ediff-menu.
18484
18485 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
18486 define-overloadable-function.
18487
18488 * progmodes/autoconf.el: Provide autoconf as well, so that this
18489 file can be `require'd.
18490
18491 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
18492
18493 * emacs-lisp/autoload.el (generated-autoload-feature)
18494 (generated-autoload-load-name): New vars.
18495 (autoload-rubric, autoload-generate-file-autoloads): Use them.
18496 (make-autoload): Recognize define-overloadable-function and
18497 defclass forms (for EIEIO).
18498
18499 * Makefile.in (update-subdirs): Exclude cedet directory.
18500
18501 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
18502
18503 * term/ns-win.el: Don't set the region face background. (Bug#4381)
18504
18505 * faces.el: Default light-background background for region face to
18506 ns_selection_color under NS.
18507
18508 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
18509
18510 * net/imap-hash.el: New library, see NEWS.
18511
18512 * Makefile.in (ELCFILES): Add imap-hash.el.
18513
18514 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
18515
18516 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
18517 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
18518 * help-macro.el (make-help-screen): Avoid using an ambiguous function
18519 definition where the docstring could be taken for the return value.
18520
18521 2009-09-26 Glenn Morris <rgm@gnu.org>
18522
18523 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
18524 Add option to only show images below a certain size.
18525 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
18526 save-excursion calls.
18527
18528 2009-09-26 Eli Zaretskii <eliz@gnu.org>
18529
18530 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
18531 subdirectories) and eieio.
18532
18533 2009-09-26 Alan Mackenzie <acm@muc.de>
18534
18535 * progmodes/cc-engine.el (c-beginning-of-statement-1):
18536 Correct buggy bracketing. (Bug#4289)
18537
18538 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
18539 character constants (as case labels). (Bug#4289)
18540
18541 2009-09-25 Juri Linkov <juri@jurta.org>
18542
18543 * files.el (safe-local-eval-forms): Allow time-stamp in
18544 before-save-hook (Bug#4554).
18545
18546 2009-09-25 Drew Adams <drew.adams@oracle.com>
18547
18548 * menu-bar.el (list-buffers-directory): Doc fix.
18549
18550 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
18551
18552 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
18553 Try and avoid copying twice the same paragraph.
18554 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
18555 Remove save-excursion.
18556 (log-edit-changelog-entry): Do it here instead.
18557
18558 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
18559
18560 * bs.el (bs--get-file-name): Use `list-buffers-directory'
18561 when available, instead of hardcoding mode names. Doc fix.
18562
18563 * menu-bar.el (list-buffers-directory): Add docstring.
18564 Make automatically buffer-local.
18565
18566 * dired.el (dired-mode):
18567 * files.el (cd-absolute):
18568 * pcvs.el (cvs-temp-buffer):
18569 * pcvs-util.el (cvs-get-buffer-create):
18570 * shell.el (shell-mode):
18571 * vc-dir.el (vc-dir-mode):
18572 Don't make `list-buffers-directory' buffer local.
18573
18574 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
18575
18576 * comint.el (comint-exec, comint-run, make-comint):
18577 Doc fixes (Bug#4542).
18578
18579 2009-09-25 Glenn Morris <rgm@gnu.org>
18580
18581 * mail/rmailmm.el (rmail-mime): New custom group.
18582 Move all defcustoms in this file into this group.
18583 (rmail-mime-media-type-handlers-alist): Revert previous change.
18584 (rmail-mime-show-images): New option.
18585 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
18586 references to it, since it wasn't actually used for anything.
18587 (rmail-mime-insert-image): New function.
18588 (rmail-mime-image): Use rmail-mime-insert-image.
18589 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
18590 obey the value of `rmail-mime-show-images' option. Print the size of
18591 attachments.
18592
18593 2009-09-25 David Engster <deng@randomsample.de>
18594
18595 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
18596
18597 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18598
18599 * whitespace.el: Does not highlight trailing spaces While point is
18600 at end of line. Does not highligt spaces at beginning of buffer
18601 while point is at beginning of buffer. Does not highlight spaces
18602 at end of buffer while point is at end of buffer. (Bug#4177)
18603 New version 12.0.
18604 (whitespace-display-mappings): Adjust initialization.
18605 (whitespace-point, whitespace-font-lock-refontify): New vars.
18606 (whitespace-color-on, whitespace-color-off): Adjust code.
18607 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
18608 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
18609 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
18610
18611 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
18612
18613 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
18614
18615 * textmodes/sgml-mode.el: Remove xml-mode alias.
18616
18617 * files.el (auto-mode-alist, conf-mode-maybe)
18618 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
18619
18620 2009-09-24 Alan Mackenzie <acm@muc.de>
18621
18622 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
18623 c-forward-conditionals, but it doesn't move point and doesn't set
18624 the mark.
18625 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
18626 (c-down-conditional-with-else, c-backward-conditional)
18627 (c-forward-conditional): Refactor to use c-scan-conditionals.
18628
18629 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
18630
18631 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
18632 (help-default-arg-highlight): Remove.
18633 (help-highlight-arg): New function.
18634 (help-do-arg-highlight): Use it.
18635 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
18636
18637 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
18638
18639 * term.el (term-set-scroll-region, term-handle-ansi-escape):
18640 Undo last change, which didn't fix the problem and introduced others.
18641
18642 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
18643
18644 * progmodes/gdb-mi.el: Don't require speedbar.
18645 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
18646
18647 2009-09-24 Glenn Morris <rgm@gnu.org>
18648
18649 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
18650
18651 * term/ns-win.el (ns-reg-to-script): Define for compiler.
18652
18653 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
18654 there is no newline after the final mime boundary. (Bug#4539)
18655 Move markers on insertion so that any buttons inserted don't end up in
18656 the next part of a multipart message.
18657 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
18658 (rmail-mime-bulk-handler): Optionally handle images.
18659 (rmail-mime-image): New button action.
18660 (rmail-mime-image-handler): New function.
18661 (rmail-mime-mode): New mode.
18662 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
18663
18664 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
18665
18666 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
18667 than just dropping elements from it (bug#4504).
18668
18669 * term.el (term-set-scroll-region): Don't move cursor any more.
18670 (term-handle-ansi-escape): Call term-goto here instead.
18671 Suggested by Ivan Kanis <apple@kanis.eu>.
18672
18673 * term.el: Require CL.
18674 (term-ansi-reset): New function.
18675 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
18676 (term-handle-colors-array): Simplify.
18677
18678 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
18679
18680 * allout.el (allout-overlay-interior-modification-handler)
18681 (allout-obtain-passphrase):
18682 * epa-file.el (epa-file-write-region):
18683 * ps-print.el (ps-begin-job):
18684 * vc-hooks.el (vc-toggle-read-only):
18685 * vc-rcs.el (vc-rcs-rollback):
18686 * vc-sccs.el (vc-sccs-rollback):
18687 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
18688 (vc-version-diff, vc-revert, vc-rollback):
18689 * wdired.el (wdired-check-kill-buffer):
18690 * emacs-lisp/authors.el (authors):
18691 * net/socks.el (socks-open-connection):
18692 * net/zeroconf.el (zeroconf-service-add-hook):
18693 * obsolete/vc-mcvs.el (vc-mcvs-register):
18694 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
18695 (gdb-select-frame):
18696 * progmodes/grep.el (lgrep, rgrep):
18697 * progmodes/idlw-help.el (idlwave-help-check-locations)
18698 (idlwave-help-html-link, idlwave-help-assistant-open-link):
18699 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
18700 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
18701 (reftex-toc-rename-label): Fix typos in error messages.
18702
18703 * dired-aux.el (dired-do-shell-command): Reflow docstring.
18704 (dired-copy-how-to-fn): Doc fix.
18705 (dired-files-attributes, dired-read-shell-command):
18706 Fix typos in docstrings.
18707
18708 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
18709 (dired-x-find-file-other-window): Reflow docstrings.
18710 (dired-omit-marker-char, dired-read-shell-command)
18711 (dired-x-submit-report): Fix typos in docstrings.
18712
18713 * shell.el (shell-mode-hook):
18714 * view.el (View-scroll-line-forward):
18715 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
18716 Fix typos in docstrings.
18717
18718 * net/dig.el (dig-invoke): Fix typo in docstring.
18719 (query-dig): Reflow docstring.
18720
18721 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
18722 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
18723 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
18724 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
18725 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
18726 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
18727 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
18728 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
18729 (idlwave-completion-map, idlwave-current-indent)
18730 (idlwave-custom-ampersand-surround, idlwave-customize)
18731 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
18732 (idlwave-define-abbrev, idlwave-determine-class-special)
18733 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
18734 (idlwave-end-block-reg, idlwave-end-of-statement)
18735 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
18736 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
18737 (idlwave-explicit-class-listed, idlwave-file-header)
18738 (idlwave-fill-paragraph, idlwave-find-class-definition)
18739 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
18740 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
18741 (idlwave-in-quote, idlwave-indent-action-table)
18742 (idlwave-indent-expand-table, idlwave-indent-line)
18743 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
18744 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
18745 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
18746 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
18747 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
18748 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
18749 (idlwave-outlawed-buffers, idlwave-popup-select)
18750 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
18751 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
18752 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
18753 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
18754 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
18755 (idlwave-statement-type, idlwave-struct-skip)
18756 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
18757 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
18758 (idlwave-what-module-find-class): Fix typos in docstrings.
18759 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
18760 (idlwave-calculate-cont-indent, idlwave-expand-equal)
18761 (idlwave-find-module, idlwave-find-structure-definition)
18762 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
18763 (idlwave-list-load-path-shadows, idlwave-next-statement)
18764 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
18765 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
18766 (idlwave-template): Reflow docstrings.
18767
18768 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
18769 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
18770 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
18771 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
18772 (idlwave-shell-display-line, idlwave-shell-display-wframe)
18773 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
18774 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
18775 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
18776 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
18777 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
18778 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
18779 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
18780 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
18781 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
18782 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
18783 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
18784 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
18785 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
18786 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
18787 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
18788 Fix typos in docstrings.
18789 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
18790 (idlwave-shell-hide-output, idlwave-shell-mode)
18791 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
18792 Reflow docstrings.
18793
18794 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
18795
18796 2009-09-24 Ivan Kanis <apple@kanis.eu>
18797
18798 * term.el (term-bold-attribute): New var.
18799 (term-handle-colors-array): Use it.
18800
18801 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
18802
18803 * progmodes/gdb-mi.el (gdb-version): New variable.
18804 (gdb-non-stop-handler): Set gdb-version.
18805 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
18806 Condition "--thread" option on gdb-version.
18807 (gdb-invalidate-threads): Remove unused argument.
18808
18809 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18810
18811 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
18812 to looking-back to avoid ridiculous slow down in large files (bug#4511).
18813
18814 2009-09-23 Glenn Morris <rgm@gnu.org>
18815
18816 * mail/rmail.el (rmail-reply): Don't try to add a References header when
18817 replying to mail without References or Message-Id. (Bug#4525)
18818
18819 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
18820
18821 * term/ns-win.el (ns-reg-to-script): New variable.
18822
18823 2009-09-23 Daiki Ueno <ueno@unixuser.org>
18824
18825 * epg.el (epg-wait-for-status): Preserve existing 'error results.
18826
18827 2009-09-22 Sam Steingold <sds@gnu.org>
18828
18829 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
18830 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
18831 to 1 because hg returns status 1 when nothing is found.
18832 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
18833
18834 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
18835
18836 * textmodes/fill.el: Convert to utf-8 encoding.
18837 (fill-french-nobreak-p): Remove redundant » and « inherited from our
18838 pre-Unicode days.
18839
18840 * add-log.el (change-log-fill-forward-paragraph): New function.
18841 (change-log-mode): Use it so fill-region DTRT.
18842 Set fill-indent-according-to-mode here rather than in
18843 change-log-fill-paragraph.
18844 (change-log-fill-paragraph): Remove.
18845
18846 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
18847
18848 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
18849 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
18850
18851 2009-09-22 Glenn Morris <rgm@gnu.org>
18852
18853 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
18854 the scroll-bar scroll the calendar window rather than the buffer.
18855
18856 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
18857 commands that move point (as opposed to scrolling).
18858
18859 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
18860
18861 * emacs-lisp/elint.el (elint): New custom group.
18862 (elint-log-buffer): Make it a defcustom.
18863 (elint-scan-preloaded, elint-ignored-warnings)
18864 (elint-directory-skip-re): New options.
18865 (elint-builtin-variables): Doc fix.
18866 (elint-preloaded-env): New variable.
18867 (elint-unknown-builtin-args): Add an entry for encode-time.
18868 (elint-extra-errors): Make it a variable rather than a constant.
18869 (elint-preloaded-skip-re): New constant.
18870 (elint-directory): Skip files matching elint-directory-skip-re.
18871 (elint-features): New variable, local to linted buffers.
18872 (elint-update-env): Initialize elint-features. Possibly add
18873 elint-preloaded-env to the buffer's environment.
18874 (elint-get-top-forms): Bind elint-current-pos, for log messages.
18875 Skip quoted forms.
18876 (elint-init-form): New function, extracted from elint-init-env.
18877 Make non-list forms a warning rather than an error.
18878 Add the mode-map for define-derived-mode. Handle define-minor-mode,
18879 easy-menu-define, put that adds an error-condition, and provide.
18880 When requiring cl, also require cl-macs. Really require cl, to handle
18881 some cl macros. Store required libraries in the list elint-features,
18882 so as not to re-load them. Treat cc-require like require.
18883 (elint-init-env): Call elint-init-form to do the work.
18884 Handle eval-and-compile and such like.
18885 (elint-add-required-env): Do not clear messages.
18886 (elint-special-forms): Add handlers for function, defalias, if, when,
18887 unless, and, or.
18888 (elint-form): Add optional argument to ignore elint-special-forms,
18889 useful to prevent recursive calls from handlers. Doc fix.
18890 Respect elint-ignored-warnings.
18891 (elint-form): Respect elint-ignored-warnings.
18892 (elint-bound-variable, elint-bound-function): New variables.
18893 (elint-unbound-variable): Respect elint-bound-variable.
18894 (elint-get-args): Respect elint-bound-function.
18895 (elint-check-cond-form): Add some simple handling for (f)boundp and
18896 featurep tests.
18897 (elint-check-defalias-form): New handler.
18898 (elint-check-let-form): Make an empty let a warning rather than an
18899 error.
18900 (elint-check-setq-form): Make an empty setq a warning rather than an
18901 error. Respect elint-ignored-warnings.
18902 (elint-check-defvar-form): Accept null doc-strings.
18903 (elint-check-conditional-form): New handler. Does some simple-minded
18904 checking of featurep and (f)boundp tests.
18905 (elint-put-function-args): New function.
18906 (elint-initialize): Use elint-scan-doc-file rather than
18907 elint-find-builtin-variables. Use elint-put-function-args.
18908 Possibly scan preloaded-file-list.
18909 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
18910 extend to handle functions as well.
18911
18912 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
18913
18914 * linum.el (linum-delete-overlays, linum-update-window):
18915 Do not modify the right margin. (Bug#3971)
18916
18917 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
18918
18919 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
18920 Use nxml-mode instead of xml-mode.
18921
18922 2009-09-21 Kevin Ryde <user42@zip.com.au>
18923
18924 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
18925
18926 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
18927
18928 * net/dig.el (dig-mode): Use define-derived-mode.
18929
18930 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
18931
18932 * vc-dispatcher.el (vc-do-command): Return the process object in
18933 the asynchronous case. Use when instead of if. Do not run
18934 vc-exec-after to display a message if not enabled. (Bug#4463)
18935
18936 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
18937 properties to the stash strings.
18938 (vc-git-stash-list): Return a list of strings.
18939 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
18940 (vc-git-stash-show-at-point): New functions.
18941 (vc-git-stash-map): New keymap.
18942
18943 * register.el (ctl-x-r-map): Define the keys here instead of
18944 using autoload.
18945
18946 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
18947
18948 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
18949 list, to workaround performance problem (bug#4485).
18950
18951 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
18952
18953 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
18954
18955 2009-09-20 Daiki Ueno <ueno@unixuser.org>
18956
18957 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
18958 Document that this option is not recommended to use.
18959
18960 2009-09-19 Glenn Morris <rgm@gnu.org>
18961
18962 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
18963 variable `var'.
18964
18965 * calc/calc-alg.el (var):
18966 * calc/calcalg2.el (var): Define for compiler.
18967
18968 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
18969
18970 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
18971 Doc fix (Bug#3932).
18972
18973 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
18974
18975 * time-stamp.el (time-stamp-month-dd-yyyy)
18976 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
18977 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
18978 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
18979 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
18980 Remove functions that have been obsolete since 1995 (Bug#4436).
18981
18982 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
18983 indent buffer only if called interactively (Bug#4452).
18984
18985 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
18986 Eli Zaretskii <eliz@gnu.org>
18987
18988 This fixes bug#4197 (merged to bug#865, though not identical).
18989 * server.el (server-auth-dir): Add docstring note about FAT32.
18990 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
18991 but warn against using them.
18992
18993 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
18994
18995 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
18996 older GDB where there is no has_more field.
18997
18998 2009-09-19 Glenn Morris <rgm@gnu.org>
18999
19000 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
19001
19002 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
19003
19004 * files.el (auto-mode-alist): Change default for XML files to nXML
19005 mode (Bug#4169).
19006
19007 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
19008
19009 * server.el (server-ensure-safe-dir): Pass 'integer
19010 to `file-attributes', as suggested.
19011
19012 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
19013
19014 * dired-aux.el (dired-query-alist): Remove spurious backslash.
19015 (dired-query): Use read-key.
19016
19017 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
19018
19019 * cus-start.el (ns-use-qd-smoothing): Remove.
19020
19021 2009-09-18 Glenn Morris <rgm@gnu.org>
19022
19023 * allout.el (top-level): Remove unnecessary progn.
19024
19025 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
19026
19027 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
19028 definition of abbrev table.
19029
19030 * speedbar.el (speedbar-track-mouse):
19031 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
19032 * net/eudc.el (eudc-expand-inline):
19033 * net/newst-backend.el (newsticker--cache-read-feed):
19034 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
19035 condition-case handlers.
19036
19037 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
19038
19039 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
19040 (gdb-var-list): Add an element for has_more field.
19041 (gdb-non-stop-handler): Enable pretty printing for STL containers.
19042 (gdb-var-create-handler, gdb-var-list-children-handler-1)
19043 (gdb-var-update-handler-1): Parse output of dynamic variable
19044 objects (STL containers).
19045 (gdb-var-delete-1): Pass var1 as an explicit second argument.
19046 (gdb-get-field): Delete alias. Use bindat-get-field directly.
19047
19048 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
19049 gdb-var-list.
19050 (gud-speedbar-buttons): Make node expandable if expression "has more"
19051 children.
19052
19053 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
19054
19055 * startup.el (emacs-quick-startup): Remove variable and all uses.
19056 (command-line): Set `inhibit-x-resources' instead.
19057 (command-line-1): Use `inhibit-x-resources' instead.
19058
19059 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
19060
19061 * subr.el: Fix last change to avoid using the `unless' macro,
19062 which breaks bootstrapping.
19063
19064 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
19065
19066 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
19067 extended definitions, in case we reload subr.el after having
19068 loaded CL.
19069 (eval-next-after-load): Mark as obsolete.
19070
19071 2009-09-17 Juri Linkov <juri@jurta.org>
19072
19073 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
19074 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
19075 (menu-bar-showhide-menu, menu-bar-tools-menu)
19076 (menu-bar-describe-menu, menu-bar-help-menu)
19077 (minibuffer-local-completion-map, minibuffer-local-map):
19078 Fix list quoting.
19079
19080 2009-09-17 Glenn Morris <rgm@gnu.org>
19081
19082 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
19083 arguments, whether or not it has a handler.
19084
19085 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
19086
19087 * simple.el (hard-newline): Give it a doc-string.
19088
19089 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
19090 (lisp-mode-syntax-table): Give them doc-strings.
19091
19092 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
19093
19094 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
19095 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
19096 (menu-bar-options-menu, menu-bar-showhide-menu)
19097 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
19098 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
19099 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
19100 (menu-bar-options-menu, menu-bar-tools-menu)
19101 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
19102 (menu-bar-help-menu):
19103 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
19104 string arguments.
19105
19106 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
19107 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
19108 calls for the menu names and :help.
19109
19110 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
19111
19112 * mouse.el (minor-mode-menu-from-indicator): Pay attention
19113 to :minor-mode-function (bug#4455).
19114
19115 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
19116
19117 * startup.el (command-line): Initialize the window-system after
19118 processing the command-line.
19119
19120 * textmodes/page.el (what-page): Make sure we don't inf-loop if
19121 page-delimiter matches the empty string.
19122
19123 2009-09-16 Glenn Morris <rgm@gnu.org>
19124
19125 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
19126 byte-compile-not-obsolete-var. It's a list now.
19127 (byte-compile-not-obsolete-funcs): New variable.
19128 (byte-compile-warn-obsolete): Don't warn about functions if they are in
19129 byte-compile-not-obsolete-funcs.
19130 (byte-compile-variable-ref, byte-compile-defvar): Update for
19131 byte-compile-not-obsolete-vars name-change and list nature.
19132 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
19133 and variables behind (f)boundp tests.
19134 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
19135
19136 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
19137
19138 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
19139
19140 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
19141
19142 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
19143 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
19144 Don't autoload.
19145
19146 2009-09-15 Stephen Eglen <stephen@gnu.org>
19147
19148 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
19149 the virtual-buffers, use the name of the buffer specified by
19150 find-file-noselect, as the match may be a symlink. (This was a
19151 problem if the target and the symlink had different names.)
19152
19153 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
19154
19155 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
19156
19157 * desktop.el (desktop-path): Check user-emacs-directory.
19158
19159 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
19160
19161 * loadup.el: Use after-load-functions to GC after loading each file.
19162 Remove the explicit GC calls that used to be sprinkled around.
19163
19164 * subr.el (after-load-functions): New hook.
19165 (do-after-load-evaluation): Run it. Use string-match-p to detect
19166 `obsolete' packages, rather than painfully extracting the relevant
19167 directory name.
19168
19169 2009-09-15 Glenn Morris <rgm@gnu.org>
19170
19171 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
19172 free variable `doc'.
19173
19174 * dired.el (dired-mode-map): Add menu entry for async shell command.
19175
19176 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
19177 variables, also consider the .elc files, since the .el files are
19178 normally gzipped (subsequent code locates the .el.gz from the .elc).
19179
19180 * calc/calc-prog.el (arglist): Define for compiler.
19181
19182 * calendar/diary-lib.el (diary-display-function): Change the default to
19183 fancy display.
19184 (body): Define for compiler.
19185
19186 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
19187 (byte-compile-file-form, byte-compile-lambda)
19188 (byte-compile-top-level-body, byte-compile-form)
19189 (byte-compile-variable-ref, byte-compile-setq)
19190 (byte-compile-setq-default, byte-compile-body)
19191 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
19192 (batch-byte-compile): Give some more local variables with common names
19193 a "bytecomp-" prefix to avoid masking warnings about free variables.
19194
19195 * startup.el (command-line-1): Give local variables with common names a
19196 distinguishing prefix, so as not to hide free variable warnings during
19197 bootstrap.
19198
19199 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
19200 clever and add a suffix to make a unique name, just let the user decide
19201 whether or not to overwrite it. If the input is a directory, write the
19202 default filename to that directory. (Bug#4388)
19203 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
19204 is a filename-as-a-directory.
19205
19206 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
19207
19208 * textmodes/page.el (what-page): Don't move to beginning of line.
19209 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
19210
19211 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
19212
19213 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
19214
19215 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
19216
19217 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
19218 * help.el (help-for-help-internal): Add purecopy calls for text.
19219
19220 * vc.el (top): print-log method now takes an optional SHORTLOG
19221 argument. Add a new method: root.
19222 (vc-root-diff, vc-print-root-log): New functions.
19223 (vc-log-short-style): New variable.
19224 (vc-print-log-internal): Add support for showing short logs.
19225
19226 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
19227 vc-print-root-log and vc-print-root-diff.
19228
19229 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
19230 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
19231 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
19232 short logs.
19233
19234 * vc-cvs.el (vc-cvs-print-log):
19235 * vc-mtn.el (vc-mtn-print-log):
19236 * vc-rcs.el (vc-rcs-print-log):
19237 * vc-sccs.el (vc-sccs-print-log):
19238 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
19239 that is ignored for now.
19240
19241 * vc-mtn.el (vc-mtn-annotate-command):
19242 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
19243
19244 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
19245
19246 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
19247 to function-key-map, and give them ascii-character property.
19248 * term/x-win.el (x-alternatives-map):
19249 * term/ns-win.el (ns-alternatives-map):
19250 * term/internal.el (msdos-key-remapping-map):
19251 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
19252
19253 2009-09-14 Glenn Morris <rgm@gnu.org>
19254
19255 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
19256 temp-buffers (2009-09-12).
19257
19258 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
19259
19260 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
19261 the new read-key function.
19262
19263 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
19264
19265 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
19266 is defined (Bug#4405).
19267
19268 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
19269
19270 * recentf.el (recentf-cleanup): Use a hash table to find
19271 duplicates (Bug#4407).
19272
19273 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
19274
19275 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
19276 kp-0 to ascii equivalents (Bug#4325).
19277
19278 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
19279
19280 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
19281
19282 * eshell/em-hist.el:
19283 * eshell/em-dirs.el (eshell-complete-user-reference):
19284 Declare pcomplete functions and variables to avoid compiler warnings.
19285
19286 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
19287
19288 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
19289 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
19290 * eshell/em-alias.el (eshell-aliases-file):
19291 * eshell/em-hist.el (eshell-history-file-name):
19292 Use expand-file-name instead of concat to make file names (Bug#4308).
19293
19294 2009-09-13 Glenn Morris <rgm@gnu.org>
19295
19296 * ediff-merg.el (ediff-do-merge):
19297 * filesets.el (filesets-run-cmd):
19298 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
19299 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
19300 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
19301 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
19302 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
19303 Replace empty `let's with `progn'.
19304
19305 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
19306
19307 * mail/sendmail.el (send-mail-function):
19308 * tooltip.el (tooltip-mode):
19309 * simple.el (transient-mark-mode):
19310 * rfn-eshadow.el (file-name-shadow-mode):
19311 * frame.el (blink-cursor-mode):
19312 * font-core.el (global-font-lock-mode):
19313 * files.el (temporary-file-directory)
19314 (small-temporary-file-directory, auto-save-file-name-transforms):
19315 * epa-hook.el (auto-encryption-mode):
19316 * composite.el (global-auto-composition-mode):
19317 Use custom-initialize-delay.
19318 * startup.el (command-line): Don't explicitly call
19319 custom-reevaluate-setting for all the above vars.
19320 * custom.el (custom-initialize-safe-set)
19321 (custom-initialize-safe-default): Delete.
19322
19323 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
19324
19325 * term/x-win.el (x-initialize-window-system):
19326 * term/w32-win.el (w32-initialize-window-system):
19327 * term/ns-win.el (ns-initialize-window-system): Don't call
19328 mouse-wheel-mode since it's enabled globally by default already.
19329
19330 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
19331 actually define the variable, but only silences the byte-compiler.
19332 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
19333 before looking it up.
19334 (mouse-wheel-scroll-amount): Also reset the bindings if this value
19335 is changed.
19336
19337 2009-09-12 Glenn Morris <rgm@gnu.org>
19338
19339 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
19340 1000.
19341 (elint-add-required-env): Don't beep on error.
19342 (elint-forms): In case of error, return ENV unchanged.
19343 (elint-init-env): Skip non-list forms.
19344 (elint-log): Handle unknown file positions.
19345
19346 2009-09-12 Daiki Ueno <ueno@unixuser.org>
19347
19348 * epg.el (epg-make-context): Add autoload cookie.
19349 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
19350 (epg-decrypt-string, epg-start-verify, epg-verify-file)
19351 (epg-verify-string, epg-start-sign, epg-sign-file)
19352 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
19353 (epg-encrypt-string, epg-start-export-keys)
19354 (epg-export-keys-to-file, epg-export-keys-to-string)
19355 (epg-start-import-keys, epg-import-keys-from-file)
19356 (epg-import-keys-from-string, epg-start-receive-keys)
19357 (epg-receive-keys, epg-import-keys-from-server)
19358 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
19359 (epg-sign-keys, epg-start-generate-key)
19360 (epg-generate-key-from-file, epg-generate-key-from-string):
19361 Remove autoload cookie.
19362
19363 2009-09-12 Eli Zaretskii <eliz@gnu.org>
19364
19365 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
19366 reevaluation of trash-directory.
19367
19368 * mwheel.el: Fix last change.
19369 (mouse-wheel-mode): New defvar.
19370 (mouse-wheel-mode): Remove autoload cookie.
19371
19372 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
19373
19374 * mwheel.el (mwheel-installed-bindings): New var.
19375 (mouse-wheel-mode): Use it, so as to make sure we really remove all
19376 the bindings we set last time. Use custom-initialize-delay.
19377 * loadup.el: Load mwheel after term/*-win.el.
19378 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
19379 and mouse-wheel-up-event now that their first evaluation is done
19380 sufficiently late to be correct.
19381
19382 * startup.el (tutorial-directory): Make it a defcustom.
19383 Use custom-initialize-delay rather than eval-at-startup to set it.
19384 * image.el (image-load-path): Make it a defcustom.
19385 Use custom-initialize-delay rather than eval-at-startup to set it.
19386 * subr.el (eval-at-startup): Remove.
19387 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
19388
19389 * subr.el (do-after-load-evaluation): Warn the user after loading an
19390 obsolete package.
19391
19392 2009-09-12 Glenn Morris <rgm@gnu.org>
19393
19394 * proced.el (proced-mark-alt): Remove alias.
19395 (proced-mode-map): Remove proced-mark-alt.
19396
19397 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
19398 Elint file and directory. Remove initialization entry.
19399
19400 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
19401 commands.
19402 (elint-current-buffer): Set mode-line-process.
19403 (elint-init-env): Handle define-derived-mode.
19404 Fix declare-function with unspecified arglist. Guard against odd
19405 defalias statements (eg iso-insert's 8859-1-map).
19406 (elint-add-required-env): Use a temp buffer.
19407 (elint-form): Just print the function/macro name, not the whole form.
19408 Return env unchanged if we fail to parse a macro.
19409 (elint-forms): Guard against parse errors.
19410 (elint-output): New function, to handle batch mode.
19411 (elint-log-message): Add optional argument. Use elint-output.
19412 (elint-set-mode-line): New function.
19413
19414 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
19415
19416 * emacs-lisp/elp.el (elp-not-profilable): Add more
19417 functions (Bug#4233).
19418
19419 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
19420
19421 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
19422 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
19423
19424 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
19425
19426 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
19427 (gdb-var-list-children): Use json parsing.
19428
19429 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
19430
19431 * progmodes/js.el (js--proper-indentation): Handle the case where
19432 char-before is null. Reported by Deniz Dogan.
19433
19434 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
19435
19436 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
19437
19438 2009-09-11 Daiki Ueno <ueno@unixuser.org>
19439
19440 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
19441 (epg-digest-algorithm-alist): Add SHA224.
19442 (epg-context-set-passphrase-callback)
19443 (epg-context-set-progress-callback): Add description about
19444 callback function.
19445
19446 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19447
19448 * custom.el (custom-delayed-init-variables): New var.
19449 (custom-initialize-delay): New function.
19450 * startup.el (command-line): "Re"evaluate all vars in
19451 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
19452 explicitly any more.
19453 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
19454 to avoid creating a ~/.emacs.d at build-time (bug#4347).
19455
19456 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
19457
19458 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
19459
19460 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
19461 (gdb-var-update-handler): Use json parsing.
19462
19463 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
19464
19465 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
19466 decode annotated text, regardless of language environment. (Bug#2741)
19467
19468 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19469
19470 * Makefile.in (autoloads): Make rmail.el writable as well.
19471
19472 2009-09-11 Glenn Morris <rgm@gnu.org>
19473
19474 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
19475 loaddefs.el.
19476 * dired.el: Regenerate with extracted autoloads.
19477 * Makefile.in (autoloads): Make dired.el writable.
19478
19479 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
19480 * ibuffer.el: Regenerate with extracted autoloads.
19481 * Makefile.in (autoloads): Make ibuffer.el writable.
19482
19483 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
19484 * version.el (emacs-copyright, emacs-major-version)
19485 (emacs-minor-version): Reformat doc-strings for make-docfile.
19486
19487 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
19488 functions and variables, since they must be stuff specific to some other
19489 platform.
19490 (apropos-print): Make mouse-click message less specific about button.
19491
19492 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
19493 that records where a macro was defined.
19494 * help-fns.el (describe-function-1): Mention if a function has a
19495 compiler-macro.
19496 * help-mode.el (help-function-cmacro): New button.
19497
19498 * locate.el (top-level): Always require dired.
19499 (locate-mode-map): Initialize inside the defvar.
19500
19501 * net/ange-ftp.el (dired-compress-file): Declare.
19502 (ange-ftp-dired-compress-file): Add doc string.
19503
19504 * term/ns-win.el (x-display-name, x-setup-function-keys):
19505 Unify doc-strings with X versions.
19506
19507 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19508
19509 * emulation/crisp.el (crisp-mode-map): Move initialization
19510 into declaration.
19511 (crisp-mode): Use define-minor-mode.
19512
19513 * progmodes/xscheme.el (xscheme-evaluation-commands):
19514 Put a :advertised-binding property rather than using
19515 advertised-xscheme-send-previous-expression.
19516 (advertised-xscheme-send-previous-expression): Declare obsolete.
19517 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
19518 `advertised-undo'.
19519 (crisp-mode): Add corresponding bindings to
19520 undo's :advertised-binding instead.
19521 * dired.el (dired-mode-map): Put a :advertised-binding property rather
19522 than using dired-advertised-find-file.
19523 (dired-advertised-find-file):
19524 * simple.el (advertised-undo):
19525 * wid-edit.el (advertised-widget-backward): Declare obsolete.
19526 (widget-keymap): Put a :advertised-binding property rather
19527 than using advertised-widget-backward.
19528 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
19529 than using advertised-undo.
19530 * tutorial.el (tutorial--default-keys): Adjust accordingly.
19531
19532 2009-09-10 Simon South <ssouth@slowcomputing.org>
19533
19534 * progmodes/delphi.el (delphi-tab): Indent region when Transient
19535 Mark mode is enabled and region is active; otherwise indent or
19536 insert TAB as usual.
19537 (delphi-mode): Update description of TAB-key binding.
19538
19539 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
19540
19541 * subr.el (define-key-rebound-commands): Mark obsolete.
19542 * startup.el (precompute-menubar-bindings): Remove.
19543 (normal-top-level): Remove obsolete code that tried to precompute
19544 menubar bindings.
19545 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
19546 define-key-rebound-commands and precompute-menubar-bindings.
19547
19548 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
19549
19550 * net/imap.el (imap-interactive-login): Better messages.
19551 (imap-open): Fix bug with renamed buffer on reconnect.
19552 (imap-authenticate): Add buffer-local imap-last-authenticator variable
19553 for easier debugging and cleaner code. On successful (guessed based on
19554 server capabilities) secondary authentication, set imap-state
19555 correctly.
19556 (imap-last-authenticator): Define imap-last-authenticator as a variable
19557 to avoid warnings.
19558
19559 2009-09-10 Glenn Morris <rgm@gnu.org>
19560
19561 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
19562
19563 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
19564 (byte-compile-file-form-autoload): Don't warn about unknown functions
19565 where the autoload statement comes after the use.
19566 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
19567 that any handlers inside the body (eg require) are in turn respected.
19568
19569 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
19570 effects.
19571
19572 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
19573 and syntax and abbrev tables basic docs, if they don't have any.
19574
19575 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
19576
19577 * international/mule-cmds.el (top-level): Require cl when compiling.
19578 (view-hello-file): Use default-value rather than
19579 default-enable-multibyte-characters.
19580
19581 * progmodes/fortran.el: Move all safe and risky properties into the
19582 defcustoms.
19583
19584 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
19585 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
19586 * mail/undigest.el:
19587 Put autoloads in rmail.el rather than loaddefs.el.
19588 * mail/rmail.el: Regenerate with extracted autoloads.
19589
19590 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
19591 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
19592
19593 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
19594
19595 Reported in thread for Bug#4375.
19596 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
19597 "-data-evaluate-expression" instead of print.
19598 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
19599 (gdb-tooltip-print): Parse output from above MI command.
19600 (gdb): Revert 2009-08-11 change. User should detach inferior
19601 manually.
19602
19603 Remove the word "separate" from IO functions as inferior
19604 output is now never displayed in the GUD buffer.
19605
19606 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
19607
19608 * startup.el (command-line-normalize-file-name): On Windows and
19609 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
19610
19611 2009-09-10 Juri Linkov <juri@jurta.org>
19612
19613 * isearch.el (isearch-text-char-description): Propertize escape
19614 character sequences with the `escape-glyph' face. (Bug#4344)
19615
19616 * simple.el (shell-command): Set asynchronous process filter to
19617 `comint-output-filter'. (Bug#4343)
19618
19619 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
19620 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
19621 the list. Move "asm" to the bottom.
19622 (grep-find-ignored-directories): Add `choice' with nil value
19623 to empty the list easily.
19624 (grep-find-ignored-files): New option.
19625 (grep-files-history): Set to nil by default instead of '("ch" "el").
19626 (grep-compute-defaults): Add "<X>" to `grep-template'.
19627 (grep-read-files): Bind new local variables `default-alias' and
19628 `default-extension'. Use a list of default values for the file prompt.
19629 (lgrep): Add `--exclude=' command line options composed from
19630 `grep-find-ignored-files'.
19631 (rgrep): Add `-name' command line options composed from
19632 `grep-find-ignored-files'. (Bug#4301)
19633
19634 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
19635
19636 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
19637 (bug#4368).
19638
19639 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
19640
19641 * calendar/time-date.el (autoload):
19642 Expand define-obsolete-function-alias into defalias and make-obsolete
19643 for old Emacsen that Gnus supports.
19644 (with-no-warnings): Define it for old Emacsen.
19645 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
19646 is available.
19647 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
19648 float-time is available; suppress compile warning for time-to-seconds.
19649
19650 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
19651
19652 * net/imap.el (imap-message-map): Docstring fix.
19653
19654 2009-09-09 Glenn Morris <rgm@gnu.org>
19655
19656 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
19657 line numbers too. (Bug#4374)
19658
19659 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
19660
19661 * smerge-mode.el (smerge-remove-props, smerge-refine):
19662 Use with-silent-modifications (bug#4342).
19663
19664 * subr.el (with-silent-modifications): New macro.
19665
19666 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
19667
19668 * files.el (top-level): Require `cl' when compiling.
19669
19670 2009-09-07 Glenn Morris <rgm@gnu.org>
19671
19672 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
19673
19674 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
19675 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
19676
19677 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
19678
19679 * vc-git.el (vc-git-annotate-command): Use separator to parse
19680 arguments correctly.
19681
19682 2009-09-06 Eli Zaretskii <eliz@gnu.org>
19683
19684 * proced.el (proced-mode): Doc fix.
19685
19686 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
19687
19688 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
19689 lstat fails.
19690 (tramp-do-file-attributes-with-ls): Check for file existence at
19691 remote end.
19692 (tramp-do-file-attributes-with-stat): Likewise.
19693 (tramp-convert-file-attributes): Return nil when attr is nil.
19694
19695 2009-09-05 Glenn Morris <rgm@gnu.org>
19696
19697 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
19698 properties to this button.
19699 (diary-fancy-display): Don't extend the button to the final newline.
19700 (diary-fancy-display-mode): Continue to define "q" as a local key.
19701
19702 * calendar/cal-china.el (holiday-chinese): Make it slightly more
19703 efficient.
19704
19705 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
19706
19707 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
19708 (byte-compile-dest-file-function): New option.
19709 (byte-compile-dest-file): Doc fix.
19710 Obey byte-compile-dest-file-function.
19711 (byte-compile-cl-file-p): New function.
19712 (byte-compile-eval): Only suppress noruntime warnings about cl functions
19713 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
19714 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
19715 than for file being previously loaded.
19716 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
19717 (byte-compile-file-form-require): Handle the case where requiring a file
19718 indirectly causes CL to be loaded.
19719
19720 2009-09-05 Karl Fogel <kfogel@red-bean.com>
19721
19722 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
19723 before killing the old buffer, since by the time `kill-buffer' is
19724 run so many buffer variables have been set to nil that it may not
19725 behave as expected. (Bug#4061)
19726
19727 2009-09-05 Karl Fogel <kfogel@red-bean.com>
19728
19729 * files.el (find-alternate-file): If the old buffer is modified
19730 and visiting a file, behave similarly to `kill-buffer' when
19731 killing it, thus reverting to the pre-1.878 behavior; see
19732 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
19733 for discussion. Also, consult `buffer-file-name' as a variable
19734 not as a function, for consistency with the rest of the code.
19735
19736 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
19737
19738 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
19739 also when adding a new directory.
19740
19741 * net/tramp-compat.el (tramp-compat-line-beginning-position):
19742 New defun.
19743
19744 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
19745
19746 * files.el (locate-file-completion-table): Make it provide boundary
19747 information, so partial-completion works better.
19748
19749 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
19750
19751 * mail/footnote.el (Footnote-text-under-cursor):
19752 Check footnote-text-marker-alist before using it (bug#4324).
19753
19754 2009-09-04 Glenn Morris <rgm@gnu.org>
19755
19756 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
19757 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
19758 * play/solitaire.el, play/tetris.el:
19759 Remove leading * from defcustom and defface docs.
19760
19761 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
19762 necessary.
19763 (diary-fancy-overriding-map): New variable.
19764 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
19765 Use view-mode.
19766
19767 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
19768 goto-line.
19769
19770 2009-09-03 Glenn Morris <rgm@gnu.org>
19771
19772 * arc-mode.el (archive-mode):
19773 * dos-fns.el (set-default-process-coding-system):
19774 * man.el (Man-getpage-in-background):
19775 * menu-bar.el (menu-bar-describe-menu):
19776 * server.el (server-process-filter):
19777 * startup.el (command-line):
19778 * tar-mode.el (tar-header-block-tokenize, tar-extract):
19779 * w32-fns.el (set-default-process-coding-system):
19780 * x-dnd.el (x-dnd-handle-file-name):
19781 * international/mule-cmds.el (mule-menu-keymap)
19782 (set-default-coding-systems, language-info-alist, set-language-info)
19783 (set-language-environment, standard-display-european-internal)
19784 (set-locale-environment):
19785 * international/mule-diag.el (mule-diag):
19786 * mail/emacsbug.el (report-emacs-bug):
19787 * mail/rmail.el (rmail-mode):
19788 * mail/sendmail.el (mail-setup):
19789 Use default-value rather than default-enable-multibyte-characters.
19790
19791 * progmodes/f90.el: Move all safe properties into the defcustoms.
19792 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
19793
19794 * calendar/appt.el (appt-check):
19795 * calendar/diary-lib.el (diary-set-header, diary-live-p)
19796 (diary-check-diary-file, diary-list-entries)
19797 (diary-include-other-diary-files, diary-simple-display)
19798 (diary-fancy-display, diary-print-entries)
19799 (diary-mark-included-diary-files, diary-make-entry):
19800 Don't call substitute-in-file-name on diary-file.
19801
19802 2009-09-03 Eduard Wiebe <usenet@pusto.de>
19803 Stefan Monnier <monnier@iro.umontreal.ca>
19804
19805 * mail/footnote.el (footnote-prefix): Make it a defcustom.
19806 (footnote-mode-map): Move initialization into the declaration.
19807 (footnote-minor-mode-map): Define it rather than changing global-map.
19808 (footnote-mode): Use define-minor-mode.
19809
19810 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
19811
19812 * net/tramp.el (tramp-handle-file-attributes-with-ls)
19813 (tramp-do-file-attributes-with-perl)
19814 (tramp-do-file-attributes-with-stat): Rename from
19815 `tramp-handle-file-attributes-with-*'.
19816 (tramp-handle-file-attributes): Use them.
19817 (tramp-do-directory-files-and-attributes-with-perl)
19818 (tramp-do-directory-files-and-attributes-with-stat): Rename from
19819 `tramp-handle-directory-files-and-attributes-with-*'.
19820 (tramp-handle-directory-files-and-attributes): Use them.
19821 (tramp-method-out-of-band-p): Additional parameter SIZE.
19822 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
19823 (tramp-handle-write-region): Use it.
19824 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
19825 (tramp-handle-vc-registered): Check, whether the first run did
19826 return files to be tested.
19827 (tramp-advice-make-auto-save-file-name): Do not call directly
19828 `tramp-handle-make-auto-save-file-name', because this would bypass
19829 the locking mechanism.
19830
19831 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
19832 (file-remote-p, process-file, start-file-process, set-file-times)
19833 (tramp-compat-file-attributes): Compatibility functions shall not
19834 call directly `tramp-handle-*', because this would bypass the
19835 locking mechanism.
19836 (tramp-compat-number-sequence): New defun.
19837
19838 2009-09-02 Glenn Morris <rgm@gnu.org>
19839
19840 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
19841 alias for float-time.
19842 (time-to-number-of-days): In Emacs, use float-time.
19843 * net/newst-backend.el (time-add): Suppress warnings from compat
19844 function.
19845 * time.el (emacs-uptime, emacs-init-time):
19846 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
19847 Use float-time rather than time-to-seconds.
19848
19849 * minibuffer.el (completion-initials-expand): Fix typo.
19850
19851 * faces.el (modeline, modeline-inactive, modeline-highlight)
19852 (modeline-buffer-id):
19853 * info.el (info-menu-5): Mark these face aliases as obsolete.
19854
19855 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
19856
19857 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
19858 space ...
19859 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
19860 no "--thread" option.
19861 (gdb-stopped): Don't print "Switched to thread" message when it is
19862 unchanged.
19863
19864 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
19865
19866 * minibuffer.el (completion-try-completion)
19867 (completion-all-completions): Remove ill-defined (and
19868 mistakenly installed and luckily never used nor documented)
19869 `completion-styles' property.
19870 (completion-initials-expand, completion-initials-all-completions)
19871 (completion-initials-try-completion): New functions.
19872 (completion-styles-alist): Add doc to each entry.
19873 Add new `initials' entry.
19874
19875 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
19876
19877 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
19878 MI command -var-evaluate-expression.
19879 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
19880 and tweak for case of string child.
19881 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
19882
19883 2009-09-01 Glenn Morris <rgm@gnu.org>
19884
19885 * add-log.el (change-log-date-face, change-log-name-face)
19886 (change-log-email-face, change-log-file-face, change-log-list-face)
19887 (change-log-conditionals-face, change-log-function-face)
19888 (change-log-acknowledgement-face):
19889 * cus-edit.el (custom-invalid-face, custom-rogue-face)
19890 (custom-modified-face, custom-set-face, custom-changed-face)
19891 (custom-saved-face, custom-button-face, custom-button-pressed-face)
19892 (custom-documentation-face, custom-state-face, custom-comment-face)
19893 (custom-comment-tag-face, custom-variable-tag-face)
19894 (custom-variable-button-face, custom-face-tag-face)
19895 (custom-group-tag-face-1, custom-group-tag-face):
19896 * diff-mode.el (diff-header-face, diff-file-header-face)
19897 (diff-index-face, diff-hunk-header-face, diff-removed-face)
19898 (diff-added-face, diff-changed-face, diff-function-face)
19899 (diff-context-face, diff-nonexistent-face):
19900 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
19901 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
19902 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
19903 (Info-title-4-face):
19904 * isearch.el (isearch-lazy-highlight-face):
19905 * log-view.el (log-view-file-face, log-view-message-face):
19906 * paren.el (show-paren-match-face, show-paren-mismatch-face):
19907 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
19908 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
19909 (cvs-msg-face):
19910 * smerge-mode.el (smerge-mine-face, smerge-other-face)
19911 (smerge-base-face, smerge-markers-face):
19912 * wid-edit.el (widget-documentation-face, widget-button-face)
19913 (widget-field-face, widget-single-line-field-face)
19914 (widget-inactive-face, widget-button-pressed-face):
19915 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
19916 (woman-addition-face):
19917 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
19918 (eshell-ls-executable-face, eshell-ls-readonly-face)
19919 (eshell-ls-unreadable-face, eshell-ls-special-face)
19920 (eshell-ls-missing-face, eshell-ls-archive-face)
19921 (eshell-ls-backup-face, eshell-ls-product-face)
19922 (eshell-ls-clutter-face):
19923 * eshell/em-prompt.el (eshell-prompt-face):
19924 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
19925 * obsolete/old-whitespace.el (whitespace-highlight-face):
19926 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
19927 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
19928 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
19929 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
19930 (antlr-font-lock-literal-face):
19931 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
19932 (ebrowse-root-class-face, ebrowse-file-name-face)
19933 (ebrowse-default-face, ebrowse-member-attribute-face)
19934 (ebrowse-member-class-face, ebrowse-progress-face):
19935 * progmodes/make-mode.el (makefile-space-face):
19936 * progmodes/sh-script.el (sh-heredoc-face):
19937 * textmodes/flyspell.el (flyspell-incorrect-face)
19938 (flyspell-duplicate-face):
19939 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
19940 * textmodes/texinfo.el (texinfo-heading-face):
19941 Mark face aliases with "-face" suffix as obsolete.
19942
19943 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
19944 compiler.
19945
19946 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
19947 (eudc-bob-sound-menu): Use defvar rather than defconst, since
19948 easy-menu-define wants to modify these.
19949
19950 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
19951
19952 * net/browse-url.el (browse-url-file-url):
19953 * term/internal.el (dos-codepage-setup):
19954 Use default-value rather than default-enable-multibyte-characters.
19955
19956 * progmodes/etags.el (etags-goto-tag-location):
19957 * progmodes/flymake.el (flymake-highlight-line)
19958 (flymake-goto-file-and-line, flymake-goto-line):
19959 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
19960 (gdb-goto-breakpoint):
19961 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
19962 * progmodes/python.el (python-find-function)
19963 (python-pdbtrack-track-stack-file):
19964 * progmodes/verilog-mode.el (verilog-surelint-off):
19965 * term/ns-win.el (ns-open-file-select-line):
19966 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
19967 Use forward-line rather than goto-line.
19968
19969 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
19970 * textmodes/reftex-index.el (reftex-display-index):
19971 * textmodes/reftex-ref.el (reftex-offer-label-menu):
19972 * textmodes/reftex-toc.el (reftex-toc):
19973 Remove unnecessary bindings of default-major-mode (all are followed by
19974 major-mode check and possible mode switch).
19975
19976 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
19977
19978 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
19979 Handle watchpoints (bug#4282).
19980 (def-gdb-thread-buffer-command): Enable thread to be selected by
19981 clicking without selecting threads buffer first.
19982 (gdb-current-context-command): Use selected frame so that "up",
19983 "down" etc work in the GUD buffer.
19984 (gdb-update): Find selected frame before rendering stack buffer.
19985 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
19986
19987 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
19988
19989 * progmodes/sym-comp.el (displayed-completions): Remove.
19990 (symbol-complete): Use minibuffer-complete.
19991
19992 2009-08-31 Glenn Morris <rgm@gnu.org>
19993
19994 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
19995
19996 * apropos.el (apropos-symbols-internal):
19997 Handle (obsolete) face aliases.
19998
19999 * faces.el (describe-face): Adjust the output format to be more like
20000 describe-variable, and to mention (obsolete) face aliases.
20001 Adjust the whitespace so that help-setup-xref works.
20002
20003 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
20004 * calendar/diary-lib.el (diary-button-face):
20005 Mark these face aliases as obsolete.
20006
20007 * calendar/calendar.el (calendar-today): Doc fix.
20008
20009 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
20010
20011 * progmodes/gdb-mi.el (gdb-control-all-threads)
20012 (gdb-control-current-thread): Force tool bar update.
20013 (gdb-non-stop-handler): New function.
20014 (gdb-init-1): Use it to test if non-stop mode is supported.
20015 Remove unused gdbmi buffer type.
20016
20017 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
20018
20019 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
20020 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
20021
20022 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
20023
20024 * comint.el (comint-exec-1): Check command is non-null first.
20025 Part of gdb-mi.el change (2009-08-28).
20026
20027 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
20028
20029 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
20030
20031 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
20032
20033 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
20034 instead of `dolist' to avoid a recursive require when bootstrapping.
20035
20036 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
20037
20038 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
20039
20040 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
20041
20042 * net/imap.el (imap-send-command): Simplify.
20043 (imap-wait-for-tag): point-max -> buffer-size.
20044
20045 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
20046
20047 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
20048 with constant argument.
20049
20050 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
20051
20052 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
20053
20054 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
20055 Change default, since most of our files don't have a history.
20056 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
20057 the user.
20058
20059 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20060 Add comint-run.
20061
20062 * calc/calc.el: Improve commenting convention.
20063 (calc-digit-map, toplevel): Simplify.
20064
20065 * comint.el (comint-insert-input): Be careful to only set point if we
20066 don't delegate to some other command.
20067
20068 * proced.el (proced-signal-list): Make it an alist.
20069 (proced-grammar-alist): Capitalize names.
20070 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
20071 Disable undo manually and make it read-only.
20072 Use completion-annotate-function.
20073
20074 * minibuffer.el (minibuffer-message): If the current buffer is not
20075 a minibuffer, insert the message in the echo area rather than at the
20076 end of the buffer.
20077 (completion-annotate-function): New variable.
20078 (minibuffer-completion-help): Use it.
20079 (completion--embedded-envvar-table): Environment vars are
20080 always case-sensitive.
20081
20082 2009-08-30 Glenn Morris <rgm@gnu.org>
20083
20084 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
20085 from fortran-current-defun.
20086 (fortran-beginning-of-subprogram): Be more precise about finding the
20087 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
20088 (fortran-end-of-subprogram): Simplify.
20089 (fortran-current-defun): Use fortran-start-prog-re.
20090
20091 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
20092
20093 * subr.el (do-after-load-evaluation): Simplify.
20094
20095 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
20096
20097 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
20098
20099 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
20100 (vc-rcs-print-log): Use it.
20101
20102 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
20103
20104 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
20105
20106 * paths.el (abbrev-file-name): Move to abbrev.el.
20107 * abbrev.el (abbrev-file-name): Move from paths.el.
20108 Obey user-emacs-directory.
20109 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
20110 user-emacs-directory.
20111 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
20112 abbrev-file-name and calc-settings-file any more.
20113 * startup.el (command-line): Recompute abbrev-file-name and
20114 abbreviated-home-dir.
20115 (normal-no-mouse-startup-screen): Improve the generic code and get rid
20116 of the special code for when C-h bindings haven't been changed.
20117 (display-startup-echo-area-message): Use with-current-buffer.
20118 (command-line-1): Use a list of strings, rather than a list of lists
20119 of strings for longopts.
20120
20121 * files.el (get-free-disk-space): Use / for default-directory.
20122
20123 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
20124 Use with-current-buffer.
20125
20126 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
20127 Recognize immutable variables like most-positive-fixnum.
20128 (byte-compile-setq-default): Check and warn if trying to assign
20129 to an immutable variable, or a non-variable.
20130
20131 * progmodes/cc-vars.el (c-comment-continuation-stars):
20132 * progmodes/cc-engine.el (c-looking-at-bos):
20133 * progmodes/cc-cmds.el (c-toggle-auto-state)
20134 (c-forward-into-nomenclature, c-backward-into-nomenclature)
20135 (c-comment-line-break-function): Add version of obsolescence.
20136
20137 2009-08-28 Juri Linkov <juri@jurta.org>
20138
20139 * files.el (magic-fallback-mode-alist): Add ZIP magic number
20140 associated with `archive-mode'.
20141
20142 * image.el (image-type-header-regexps): Use only JPEG magic number
20143 to determine JPEG images, and don't use `image-jpeg-p' because
20144 Emacs can display non-JFIF non-Exif JPEG images.
20145
20146 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
20147
20148 * arc-mode.el (archive-mode):
20149 * emacs-lisp/re-builder.el (re-builder-unload-function):
20150 Protect against the default value of `major-mode' being nil.
20151
20152 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
20153
20154 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
20155 Fix typos in docstrings.
20156
20157 * progmodes/js.el (js--macro-decl-re): Doc fix.
20158 (js--plain-method-re, js--split-name): Refloc docstring.
20159 (js--class-styles, js--make-merged-item, js--splice-into-items):
20160 Fix typos in docstrings; reflow docstrings.
20161 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
20162 (js--variable-decl-matcher, js--inside-pitem-p)
20163 (js--parse-state-at-point, js--get-all-known-symbols)
20164 (js--symbol-history, js-find-symbol, js--js-references)
20165 (js--moz-interactor, js--js-encode-value, js--read-tab):
20166 Fix typos in docstrings.
20167
20168 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20169
20170 * textmodes/reftex.el (reftex-get-file-buffer-force):
20171 * progmodes/verilog-mode.el (verilog-batch-execute-func):
20172 * emulation/viper.el (viper-go-away, viper-set-hooks):
20173 * emacs-lisp/re-builder.el (re-builder-unload-function):
20174 * emacs-lisp/bytecomp.el (byte-compile-file):
20175 * ses.el (ses-unload-function):
20176 * hexl.el (hexl-find-file):
20177 * files.el (normal-mode):
20178 * ehelp.el (with-electric-help):
20179 * autoinsert.el (auto-insert-alist):
20180 * arc-mode.el (archive-mode):
20181 Use (default-value 'major-mode) instead of default-major-mode.
20182
20183 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
20184 * international/mule.el (load-with-code-conversion):
20185 * emacs-lisp/debug.el (debug):
20186 * ediff-vers.el (ediff-rcs-get-output-buffer):
20187 * dired.el (dired-internal-noselect): Don't let-bind
20188 default-major-mode around code that doesn't use it.
20189 E.g. buffer creation via get-buffer-create doesn't use it.
20190
20191 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
20192
20193 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
20194 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
20195 when writing the temp file. Otherwise, epa-file gets confused.
20196 (tramp-register-file-name-handlers): Make it a defun. Move also
20197 `epa-file-handler' to the front of `file-name-handler-alist'.
20198
20199 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20200
20201 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
20202 start right after a ^M.
20203 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
20204 (tramp-completion-file-name-regexp-separate)
20205 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
20206 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
20207 Don't modify last-coding-system-used by accident.
20208 (tramp-completion-file-name-handler): Apply the checks here,
20209 instead during registration.
20210 (tramp-register-file-name-handlers): Rename from
20211 `tramp-register-file-name-handler'. Register both
20212 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
20213 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
20214
20215 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
20216
20217 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
20218 Remove variable ...
20219 (gdb-init-1, gdb-display-separate-io-buffer)
20220 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
20221 references to it.
20222 (gdb-inferior-io-mode): Use make-comint-in-buffer.
20223 (gdb-inferior-filter): Use comint-output-filter to stop
20224 echoing and remove ^M characters.
20225
20226 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20227
20228 * emulation/viper-init.el (viper-restore-cursor-type):
20229 * emulation/cua-base.el (cua--update-indications):
20230 Replace default-cursor-type with (default-value 'cursor-type).
20231
20232 * mail/sendmail.el (mail-recover-1):
20233 * international/mule-diag.el (describe-current-coding-system-briefly)
20234 (describe-current-coding-system):
20235 * international/mule-cmds.el (select-safe-coding-system)
20236 (select-message-coding-system)
20237 (set-language-environment-coding-systems, set-locale-environment):
20238 * hexl.el (hexl-insert-multibyte-char):
20239 * dos-w32.el (find-buffer-file-type-coding-system):
20240 * simple.el (what-cursor-position):
20241 Replace uses of default-buffer-file-coding-system
20242 with (default-value 'buffer-file-coding-system).
20243
20244 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
20245 Replace uses of default-cursor-in-non-selected-windows
20246 with (default-value 'cursor-in-non-selected-windows).
20247 Use with-current-buffer.
20248
20249 * mail/feedmail.el: Use CL macros.
20250 (feedmail-run-the-queue, feedmail-send-it-immediately):
20251 * dos-w32.el (find-buffer-file-type): Replace uses of
20252 default-buffer-file-type with (default-value 'buffer-file-type).
20253
20254 2009-08-28 Glenn Morris <rgm@gnu.org>
20255
20256 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
20257 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
20258 Use default-value of major-mode rather than default-major-mode.
20259
20260 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
20261
20262 * Makefile.in (update-elcfiles): Report left over elc files.
20263
20264 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
20265 expand-file-name and with-current-buffer.
20266 (mail-get-names, mail-directory): Use with-current-buffer.
20267
20268 * vc.el (vc-read-revision): New function.
20269 (vc-version-diff, vc-merge): Use it.
20270
20271 2009-08-27 Sam Steingold <sds@gnu.org>
20272
20273 * simple.el (kill-do-not-save-duplicates): New user option.
20274 (kill-new): When it is non-nil, and the new string is the same as
20275 the latest kill, set replace to t to avoid duplicates in kill-ring.
20276
20277 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
20278
20279 * net/tramp.el (tramp-handle-process-file): Do not flush all
20280 caches when `process-file-side-effects' is set.
20281 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
20282 instead of `tramp-find-file-exists-command'.
20283 Unset `process-file-side-effects'.
20284
20285 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
20286
20287 * net/tramp.el (tramp-methods): New method "rsyncc".
20288 (top): Add completion function for "rsyncc".
20289 (tramp-message-show-message): New defvar.
20290 (tramp-message, tramp-error): Use it.
20291 (tramp-do-copy-or-rename-file-directly): Extend check for direct
20292 remote copying.
20293 (tramp-do-copy-or-rename-file-out-of-band): Handle new
20294 `tramp-methods' entry `copy-env' of "rsyncc".
20295 (tramp-vc-registered-read-file-names): New defconst.
20296 (tramp-vc-registered-file-names): New defvar.
20297 (tramp-handle-vc-registered): Implement optimization strategy.
20298 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
20299 (tramp-vc-file-name-handler): New defun.
20300 (tramp-get-ls-command, tramp-get-test-command)
20301 (tramp-get-file-exists-command, tramp-get-remote-ln)
20302 (tramp-get-remote-perl, tramp-get-remote-stat)
20303 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
20304
20305 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
20306 (tramp-cache-inhibit-cache): Extend doc string. It allows also
20307 timestamps.
20308 (tramp-get-file-property): Check for timestamps in
20309 `tramp-cache-inhibit-cache'.
20310 (tramp-set-file-property): Write timestamp.
20311
20312 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
20313
20314 * language/japan-util.el (japanese-symbol-table): Add entries for
20315 cp932-2-byte.
20316
20317 * international/characters.el: Add category `j' to cp932-2-byte.
20318
20319 2009-08-27 Kenichi Handa <handa@m17n.org>
20320
20321 * international/fontset.el (build-default-fontset-data): New macro.
20322 (setup-default-fontset): Use build-default-fontset-data for CJK,
20323 tibetan, ethiopic, and ipa.
20324
20325 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
20326
20327 * cus-start.el (default-major-mode): Customize `major-mode' instead.
20328 (enable-multibyte-characters): Not customizable any more.
20329
20330 * subr.el (default-mode-line-format, default-header-line-format)
20331 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
20332 (default-direction-reversed, default-truncate-lines)
20333 (default-left-margin, default-tab-width, default-case-fold-search)
20334 (default-left-margin-width, default-right-margin-width)
20335 (default-left-fringe-width, default-right-fringe-width)
20336 (default-fringes-outside-margins, default-scroll-bar-width)
20337 (default-vertical-scroll-bar, default-indicate-empty-lines)
20338 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
20339 (default-fringe-cursor-alist, default-scroll-up-aggressively)
20340 (default-scroll-down-aggressively, default-fill-column)
20341 (default-cursor-type, default-buffer-file-type)
20342 (default-cursor-in-non-selected-windows)
20343 (default-buffer-file-coding-system, default-major-mode)
20344 (default-enable-multibyte-characters): Mark as obsolete.
20345
20346 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
20347
20348 * vc-dir.el (vc-dir-update): Remove debug helper.
20349
20350 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
20351
20352 2009-08-26 Sam Steingold <sds@gnu.org>
20353
20354 * simple.el (save-interprogram-paste-before-kill): New user option.
20355 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
20356 save the interprogram-paste into kill-ring before overriding it
20357 with the Emacs kill.
20358
20359 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
20360
20361 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
20362 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
20363 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
20364 and move to vc-rcs.el.
20365 (vc-default-next-revision): Rename to vc-rcs-next-revision and
20366 move to vc-rcs.el.
20367 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
20368 (vc-rcs-update-changelog): Remove.
20369 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
20370 and move to vc-rcs.el.
20371
20372 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
20373 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
20374 renaming.
20375 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
20376 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
20377 vc.el, renamed to be RCS specific.
20378
20379 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
20380 New functions.
20381 (vc-cvs-update-changelog): Move here from vc.el.
20382
20383 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
20384 New functions.
20385
20386 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
20387
20388 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
20389
20390 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
20391
20392 * vc-git.el (vc-git-register): Use "git add" for directories.
20393 (vc-git-stash, vc-git-stash-show): New functions.
20394 (vc-git-extra-menu-map): Bind them.
20395
20396 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
20397 directory correctly in case the item is a directory itself.
20398
20399 * vc.el: Document the desired behavior for reverted files in the
20400 `added' state.
20401 (vc-default-prettify-state-info): Remove function, unused.
20402
20403 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
20404
20405 2009-08-26 Glenn Morris <rgm@gnu.org>
20406
20407 * bindings.el (standard-mode-line-format): Reposition dashes in
20408 which-func entry. (Bug#4217)
20409
20410 * files.el (enable-local-variables, enable-local-eval)
20411 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
20412 the defcustoms.
20413 (auto-mode-alist, ignored-local-variables)
20414 (save-some-buffers-action-alist): Move risky declarations to the
20415 definitions.
20416 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
20417 (font-lock-defaults, format-alist, imenu--index-alist)
20418 (imenu-generic-expression, input-method-alist, minor-mode-alist)
20419 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
20420 (mode-line-modified, mode-line-mule-info, mode-line-position)
20421 (mode-line-process, mode-line-remote, outline-level)
20422 (parse-time-rules, rmail-output-file-alist)
20423 (special-display-buffer-names, vc-mode):
20424 Move risky declarations to the relevant files.
20425 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
20426 (mode-line-modified, mode-line-process, mode-line-position)
20427 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
20428 * font-core.el (font-lock-defaults):
20429 * format.el (format-alist):
20430 * vc-hooks.el (vc-mode):
20431 * window.el (special-display-buffer-names):
20432 * international/mule-cmds.el (input-method-alist):
20433 Define riskiness here (dumped file) rather than in files.el.
20434 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
20435 * imenu.el (imenu-generic-expression, imenu--index-alist):
20436 * outline.el (outline-level):
20437 * time.el (display-time-string):
20438 * calendar/parse-time.el (parse-time-rules):
20439 * mail/rmailout.el (rmail-output-file-alist):
20440 Autoload riskiness here, rather than placing in files.el.
20441
20442 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
20443
20444 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
20445
20446 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
20447
20448 * simple.el (process-file-side-effects): New defvar.
20449
20450 * dired-aux.el (dired-show-file-type):
20451 * vc.el (vc-diff-internal):
20452 * vc-arch.el (vc-arch-diff):
20453 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
20454 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
20455 * vc-git.el (vc-git-registered, vc-git-working-revision)
20456 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
20457 (vc-git--empty-db-p):
20458 * vc-hooks.el (vc-user-login-name):
20459 * vc-svn.el (vc-svn-registered, vc-svn-state)
20460 (vc-svn-dir-extra-headers, vc-svn-find-revision):
20461 * progmodes/grep.el (grep-probe): Let-bind
20462 `process-file-side-effects' with nil.
20463
20464 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
20465
20466 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
20467 daemon. Replace ping by checking for running service for bluez
20468 and zeroconf. (Bug#4239)
20469
20470 2009-08-25 Kevin Ryde <user42@zip.com.au>
20471
20472 * net/dig.el (dig): Add autoload cookie.
20473
20474 2009-08-25 Glenn Morris <rgm@gnu.org>
20475
20476 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
20477 load-history for absolute file-names.
20478 (byte-compile-file-form-require): Warn about use of the cl package.
20479
20480 * format.el (format-alist): Doc fix.
20481
20482 * play/bubbles.el (top-level): Don't require cl at run-time.
20483
20484 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
20485 run-time cl).
20486
20487 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
20488
20489 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
20490 from cl package.
20491 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
20492
20493 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
20494
20495 * calc/calc-alg.el (math-trig-rewrite)
20496 (math-hyperbolic-trig-rewrite): New functions.
20497 (calc-simplify): Simplify trig functions when asked.
20498
20499 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
20500
20501 * diff-mode.el (diff-find-source-location): Avoid goto-line.
20502
20503 2009-08-24 Kenichi Handa <handa@m17n.org>
20504
20505 * language/ind-util.el (mapthread): Delete it.
20506 (combinatorial): New function.
20507 (indian--puthash-cv): Use combinatorial instead of mapthread.
20508
20509 2009-08-22 Kevin Ryde <user42@zip.com.au>
20510
20511 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
20512 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
20513 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
20514 Clarify docstring that the value is strings not symbols.
20515 (checkdoc-list-of-strings-p): New function.
20516
20517 2009-08-22 Glenn Morris <rgm@gnu.org>
20518
20519 * files.el (auto-mode-alist):
20520 * hippie-exp.el (he-concat-directory-file-name):
20521 * lpr.el (lpr-windows-system, printer-name):
20522 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
20523 * ps-print.el (ps-windows-system):
20524 * startup.el (command-line):
20525 * emulation/viper-ex.el (viper-glob-function):
20526 * international/mule-cmds.el (set-language-environment-coding-systems):
20527 * net/ange-ftp.el (ange-ftp-write-region):
20528 * obsolete/fast-lock.el (fast-lock-cache-name):
20529 Remove code for defunct system-types emx, macos, mswindows, next-mach,
20530 unisoft-unix, vax-vms, win32, w32.
20531
20532 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
20533 given name if the pattern is not more specific.
20534
20535 * calendar/lunar.el (lunar-phase-names): New option.
20536 (lunar-phase): Doc fix.
20537 (lunar-cycles-per-year): New constant.
20538 (lunar-index): New function.
20539 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
20540 (lunar-phase-name): Use lunar-phase-names.
20541 (calendar-lunar-phases): Use format.
20542 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
20543
20544 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
20545 Copy imenu-example--name-and-position function here for own use.
20546 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
20547
20548 * bs.el (bs--redisplay):
20549 * cus-edit.el (custom-redraw):
20550 * ibuffer.el (ibuffer-bury-buffer):
20551 * server.el (server-goto-line-column):
20552 * startup.el (command-line-1):
20553 * strokes.el (strokes-xpm-for-stroke):
20554 * term.el (term-display-buffer-line):
20555 * view.el (View-goto-line):
20556 * calc/calc.el (calc-do, calc-trail-buffer):
20557 * play/gamegrid.el (gamegrid-add-score-insecure):
20558 * progmodes/ada-mode.el (ada-compile-goto-error):
20559 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
20560 (ebrowse-select-1st-to-9nth):
20561 * progmodes/cperl-mode.el (cperl-time-fontification):
20562 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
20563 * progmodes/gud.el (gud-display-line):
20564 (idlwave-shell-display-line):
20565 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
20566 * progmodes/make-mode.el (makefile-browser-toggle):
20567 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
20568 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
20569 * textmodes/picture.el (picture-draw-rectangle):
20570 * textmodes/reftex-index.el (reftex-index-goto-letter):
20571 (reftex-select-jump-to-previous):
20572 * textmodes/reftex-sel.el (reftex-find-start-point)
20573 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
20574 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
20575 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
20576 * textmodes/tex-mode.el (tex-compilation-parse-errors):
20577 * textmodes/two-column.el (2C-associated-buffer):
20578 Use forward-line rather than goto-line.
20579
20580 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
20581 goto-line.
20582
20583 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
20584 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
20585 (quick-check-list-to-regexp): Declare.
20586
20587 * progmodes/make-mode.el (makefile-browser-insert-selection):
20588 Use goto-char rather than goto-line.
20589
20590 * progmodes/prolog.el (compilation-error-regexp-alist)
20591 (compilation-forget-errors): Declare.
20592
20593 2009-08-22 Juri Linkov <juri@jurta.org>
20594
20595 * progmodes/grep.el (lgrep, rgrep): At the beginning
20596 set `dir' to `default-directory' unless `dir' is a non-nil
20597 readable directory. (Bug#4052)
20598 (lgrep, rgrep): Change a weird way to report an error
20599 from using `read-string' to using `error'.
20600 Instead of using interactive arguments in the function body,
20601 add new argument `confirm'.
20602
20603 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
20604
20605 * textmodes/remember.el (remember-buffer):
20606 * progmodes/cperl-mode.el (cperl-vc-header-alist):
20607 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
20608 (icalendar-extract-ical-from-buffer):
20609 * net/newst-treeview.el (newsticker-groups-filename):
20610 * net/newst-backend.el (newsticker-cache-filename):
20611 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
20612 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
20613 (speedbar-add-ignored-path-regexp, speedbar-line-path)
20614 (speedbar-buffers-line-path, speedbar-path-line)
20615 (speedbar-buffers-line-path):
20616 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
20617 (epg-sign-keys):
20618 * epa.el (epa-display-verify-result):
20619 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
20620
20621 2009-08-21 Glenn Morris <rgm@gnu.org>
20622
20623 * progmodes/js.el (inferior-moz-process): Fix declaration.
20624
20625 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
20626
20627 * obsolete/rnewspost.el (news-mail-reply):
20628 Use goto-char rather than goto-line.
20629
20630 * term/ns-win.el (ns-open-file-select-line):
20631 Use line-beginning-position rather than goto-line.
20632
20633 * apropos.el (apropos-command):
20634 * ehelp.el (electric-helpify):
20635 * printing.el (pr-show-setup):
20636 * strokes.el (strokes-help):
20637 * tutorial.el (tutorial--describe-nonstandard-key)
20638 (tutorial--detailed-help):
20639 * woman.el (woman-mini-help, woman-display-extended-fonts):
20640 * calc/calc-help.el (calc-describe-key):
20641 * emulation/edt.el (edt-electric-helpify):
20642 * international/mule-diag.el (mule-diag):
20643 * play/yow.el (apropos-zippy):
20644 * progmodes/python.el (python-describe-symbol):
20645 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
20646 * textmodes/table.el (*table--cell-describe-mode)
20647 (*table--cell-describe-bindings):
20648 Use help-print-return-message rather than the now obsolete alias.
20649
20650 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
20651 (calendar-cursor-to-visible-date):
20652 * play/5x5.el (5x5-position-cursor):
20653 * play/decipher.el (decipher):
20654 * play/gomoku.el (gomoku-goto-xy):
20655 * play/landmark.el (lm-goto-xy):
20656 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
20657 (mpuz-paint-digit):
20658 Use forward-line, not goto-line.
20659
20660 * mail/rmail.el (rmail-obsolete): Delete custom group.
20661 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
20662 (rmail-remote-password, rmail-remote-password-required):
20663 Remove unneeded :set-after and :set properties.
20664
20665 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
20666
20667 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
20668
20669 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
20670
20671 * loadup.el: Remove leftover macos code.
20672
20673 * vc-git.el (vc-git-annotate-command): Run asynchronously.
20674 Explicitly pass the date format to git blame so that user local
20675 so that the output format can be parsed.
20676
20677 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
20678
20679 * net/dbus.el (top): Don't check for (getenv
20680 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
20681
20682 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
20683
20684 * log-edit.el (log-edit-strip-single-file-name): New var.
20685 (log-edit-insert-changelog): Use it. Bug#3571.
20686
20687 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
20688
20689 * subr.el (read-passwd): Use read-key so keypad keys work as well.
20690 Bug#3287.
20691
20692 * help.el (help-print-return-message): Rename from
20693 print-help-return-message.
20694
20695 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
20696 cvs-mode-map parent hack.
20697 (log-view-mode): Derive from special-mode.
20698
20699 * linum.el (linum-mode): window-size-change-functions is redundant.
20700 Adapt to new window-configuration-change-hook behavior.
20701 (linum-after-size, linum-after-config): Remove.
20702
20703 * imenu.el (imenu-example--name-and-position)
20704 (imenu-example--lisp-extract-index-name)
20705 (imenu-example--create-lisp-index, imenu-example--create-c-index):
20706 Mark as obsolete.
20707
20708 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
20709 (inferior-prolog-mode): Use it.
20710 (inferior-prolog-load-file): Reset list of errors.
20711
20712 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
20713
20714 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
20715
20716 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
20717
20718 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
20719
20720 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
20721 is running already.
20722
20723 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
20724
20725 * subr.el (listify-key-sequence-1): Use normal syntax since those
20726 integers are nowadays always represented by the same (positive) number
20727 on all platforms.
20728 (read-key-empty-map): New const.
20729 (read-key-delay): New var.
20730 (read-key): New function.
20731 (force-mode-line-update): Use with-current-buffer.
20732 (locate-user-emacs-file): Don't forget to abbreviate the file name.
20733 (start-process-shell-command, start-file-process-shell-command):
20734 Discourage the use of command-args.
20735
20736 2009-08-19 Glenn Morris <rgm@gnu.org>
20737
20738 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
20739
20740 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
20741
20742 * simple.el (choose-completion-string): Don't rely on
20743 minibuffer-completing-file-name and ad-hoc checks to decide whether
20744 to continue completion or not.
20745
20746 * minibuffer.el (minibuffer-hide-completions): New function.
20747 (completion--do-completion): Use it.
20748 (completions-annotations): New face.
20749 (completion--insert-strings): Use it.
20750 (completion-pcm--delim-wild-regex): Add docstring.
20751 (completion-pcm--string->pattern): Add support for 0-width delimiters
20752 in completion-pcm--delim-wild-regex.
20753
20754 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
20755
20756 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
20757 Remove unused var `buffer-modified-p'.
20758
20759 * minibuffer.el (completion--do-completion): Move point for the #b001
20760 case as well (bug#4176).
20761 (minibuffer-complete, minibuffer-complete-word): Don't move point.
20762
20763 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
20764
20765 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
20766 and :session buses.
20767
20768 2009-08-18 Kenichi Handa <handa@m17n.org>
20769
20770 * international/ucs-normalize.el (ucs-normalize-version):
20771 Change to 1.1.
20772 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
20773 (utf-8-hfs): Make it perform normalization on encoding too.
20774
20775 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
20776 (sentence-end-without-space): Delete duplicated chars.
20777 (sentence-end-base): Likewise.
20778
20779 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
20780 (html-mode): Delete duplicated chars from sentence-end-base.
20781
20782 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
20783 (texinfo-mode): Delete duplicated chars from sentence-end-base.
20784
20785 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
20786
20787 * files.el (hack-one-local-variable): If the mode function is for
20788 a minor mode, pass it an argument (Bug#4148).
20789
20790 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
20791
20792 * net/tramp.el (tramp-register-completion-file-name-handler):
20793 Check also for (member 'partial-completion completion-styles).
20794
20795 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
20796
20797 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
20798 abbrev (Bug#3943).
20799
20800 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
20801
20802 * progmodes/cperl-mode.el: Merge upstream 6.2.
20803 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
20804 (cperl-forward-re): Check cperl-brace-recursing.
20805 (cperl-highlight-charclass): New function.
20806 (cperl-find-pods-heres): Use it.
20807 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
20808 (cperl-beautify-regexp-piece): Fix column calculation.
20809 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
20810 (cperl-beautify-level): Don't process entire regexp.
20811 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
20812 calling man.
20813 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
20814 (cperl-init-faces): Build a list in the normal way.
20815
20816 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
20817
20818 * calendar/parse-time.el (parse-time-string-chars): Save match
20819 data.
20820
20821 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
20822
20823 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
20824 (sql-product): Use it.
20825 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
20826 (sql-set-product): Add completion.
20827 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
20828 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
20829 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
20830 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
20831 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
20832 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
20833 (sql-highlight-db2-keywords): Remove.
20834 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
20835 (sql-highlight-product): Use derived-mode-p.
20836 (sql-set-sqli-buffer): Use with-current-buffer.
20837 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
20838 Simplify.
20839
20840 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
20841
20842 * term.el: Fix commenting convention, turn comments into docstrings.
20843
20844 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
20845
20846 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
20847
20848 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
20849
20850 * calendar/parse-time.el (parse-time-string-chars): Compute using
20851 character classes, to handle non-ascii characters (Bug#3190).
20852
20853 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
20854
20855 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
20856 another heredoc if the user adds another < (Bug#3226).
20857
20858 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
20859 Don't initialize based on window-system (Bug#4124).
20860
20861 * facemenu.el (facemenu-read-color): Use a completion function
20862 that accepts any defined color, such as RGB triplets (Bug#3677).
20863
20864 * files.el (get-free-disk-space): Change fallback default
20865 directory to /. Expand DIR argument before switching to fallback.
20866 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
20867
20868 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
20869
20870 * files.el (load-library): Doc fix.
20871
20872 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
20873
20874 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
20875 (viper-if-string): Redefine C-s in the minibuffer to insert the last
20876 incremental search string.
20877
20878 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
20879 XEmacs.
20880
20881 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
20882 (ediff-merge-region-is-non-clash)
20883 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
20884 Also check if the job is really a merge job.
20885
20886 * ediff.el (ediff-current-file): New function.
20887
20888 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
20889
20890 * progmodes/js.el: Edit docstrings throughout to follow Emacs
20891 conventions.
20892 (js-insert-and-indent): Delete function.
20893 (js-mode-map): Don't bind keys to js-insert-and-indent.
20894 (js-beginning-of-defun): Rename from js--beginning-of-defun.
20895 (js-end-of-defun): Rename from js--end-of-defun.
20896 (js-auto-indent-flag): Delete variable.
20897
20898 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
20899
20900 * progmodes/js.el: Remove proclaim statement.
20901 Defvar which-func-imenu-joiner-function to silence compiler.
20902
20903 * files.el (auto-mode-alist): Use js-mode for .js files.
20904
20905 * progmodes/js2-mode.el: Remove file.
20906
20907 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
20908
20909 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
20910
20911 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
20912
20913 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
20914 Karl Landstrom <karl.landstrom@brgeight.se>
20915
20916 * progmodes/js.el: New file.
20917
20918 2009-08-14 Mark A. Hershberger <mah@everybody.org>
20919
20920 * timezone.el (timezone-parse-date): Add ability to understand ISO
20921 basic format (minimal separators) dates in addition to the
20922 already-supported extended format dates.
20923
20924 2009-08-14 Eli Zaretskii <eliz@gnu.org>
20925
20926 * international/ucs-normalize.el: Add a `coding' file variable.
20927
20928 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
20929
20930 2009-08-14 Sam Steingold <sds@gnu.org>
20931
20932 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
20933
20934 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
20935
20936 * faces.el (help-argument-name): Define it here instead of
20937 help-fns.el, because in daemon mode help-fns.el may be loaded when
20938 faces are still uninitialized (Bug#1078).
20939
20940 * help-fns.el (help-argument-name): Move defface to faces.el.
20941
20942 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
20943
20944 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
20945 create buffer with a pty but no process so that GDB can make the
20946 inferior the controlling process.
20947
20948 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
20949
20950 * international/ucs-normalize.el: New file.
20951
20952 2009-08-13 Richard Stallman <rms@gnu.org>
20953
20954 * mail/rmail.el (rmail-get-attr-names):
20955 Accept an attribute header that is too short.
20956
20957 * mail/rmail.el (rmail-forget-messages):
20958 Ignore nil elt in rmail-message-vector. Use dotimes.
20959
20960 * progmodes/compile.el (compilation-goto-locus):
20961 Use next-error-move-function.
20962
20963 * simple.el (next-error-move-function): New variable.
20964
20965 2009-08-12 Juri Linkov <juri@jurta.org>
20966
20967 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
20968 always non-nil. (Bug#4052)
20969
20970 * replace.el (read-regexp): Return empty string when
20971 `default-value' is nil.
20972 (keep-lines-read-args): Don't use empty string as the
20973 default value for `read-regexp'. (Bug#2495)
20974
20975 2009-08-12 Juri Linkov <juri@jurta.org>
20976
20977 * international/mule-cmds.el (ucs-insert): Change arguments
20978 from `arg' to `character', `count', `inherit' to be the same
20979 as in `insert-char'. Doc fix. (Bug#4039)
20980
20981 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
20982
20983 2009-08-12 Juri Linkov <juri@jurta.org>
20984
20985 * files-x.el: New file.
20986
20987 * files.el: Move code that deals with adding/deleting
20988 file/directory-local variables to files-x.el.
20989
20990 * Makefile.in (ELCFILES): Add files-x.elc.
20991
20992 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
20993
20994 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
20995 to use `goto-line'.
20996 (gdb-place-breakpoints, gdb-get-location): Rewritten without
20997 `goto-line'.
20998 (gdb-invalidate-disassembly): Do not refresh upon receiving
20999 'update signal. Instead, update all disassembly buffers only after
21000 threads list.
21001 (gdb): Send -target-detach when buffer is killed (Bug#3794).
21002 (gdb-starting): Move -data-list-register-names...
21003 (gdb-stopped): ...here so it's sent when first thread stops.
21004 (gdb-registers-handler-custom): Do nothing if register names are
21005 unknown yet.
21006
21007 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
21008 from `gdb-mi.el' to avoid extra tangling.
21009
21010 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
21011 change which breaks `gud-def' definitions used in `gdb'.
21012 (gdb-update-gud-running): No extra fuss for updating frame number.
21013
21014 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
21015
21016 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
21017 (describe-language-environment-map, setup-language-environment-map)
21018 (set-coding-system-map): Move initialization into declaration.
21019 (set-language-info-alist): Last arg to define-key-after can be skipped.
21020
21021 * international/quail.el (quail-completion-1): Simplify.
21022 (quail-define-rules): Use slightly more compact code.
21023 (quail-insert-decode-map): Propertize keys, compact columns.
21024
21025 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21026 Add goto-line.
21027
21028 2009-08-10 Miles Bader <miles@gnu.org>
21029
21030 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
21031 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
21032 (js2-instance-member, js2-private-member, js2-private-function-call)
21033 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
21034 (js2-magic-paren, js2-external-variable):
21035 Remove "-face" suffix from face names.
21036 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
21037 (js2-highlight-undeclared-vars, js2-peek-token)
21038 (js2-parse-function-params, js2-mode-show-errors)
21039 (js2-mode-show-warnings, js2-make-magic-delimiter)
21040 (js2-mode-highlight-magic-parens): Update to use new face names.
21041
21042 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
21043
21044 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
21045 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
21046
21047 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
21048
21049 * subr.el: Provide hashtable-print-readable.
21050
21051 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
21052 hs-c-like-adjust-block-beginning.
21053 (hs-hide-block-at-point): Stop hiding at the beginning of
21054 hs-block-end-regexp (Bug#700).
21055
21056 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
21057
21058 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
21059 a macro.
21060 (gdb-registers-handler-custom): Do not fail when register names
21061 are unavailable.
21062
21063 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
21064
21065 * progmodes/gdb-mi.el (gdb-control-all-threads)
21066 (gdb-control-current-thread): Interactive setters for
21067 `gdb-gud-control-all-threads' to use in menu.
21068 (gdb-show-run-p): Show «Go» when process is not active.
21069 (gud-tool-bar-map): Add non-stop/A,T indicator.
21070 Uses gud/thread.xpm and gud/all.xpm.
21071
21072 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
21073
21074 * net/net-utils.el (net-utils-font-lock-keywords): New var.
21075 (nslookup-font-lock-keywords): Make it a variable.
21076 (net-utils-mode): New mode for viewing diagnostic network output.
21077 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
21078 (net-utils-run-simple): New function.
21079 (ifconfig, iwconfig, netstat, arp, route): Use it.
21080
21081 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
21082
21083 * progmodes/gdb-mi.el (gdb-read-memory-custom)
21084 (gdb-memory-set-address, def-gdb-set-positive-number)
21085 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
21086 after changing settings.
21087 (gdb-invalidate-disassembly): Update when first shown.
21088 (gdb-edit-locals-value): Fix.
21089 (gdb-registers-handler-custom): Print registers in right order and
21090 allow changing register values (only for current thread yet).
21091 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
21092 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
21093 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
21094 (gdb-locals-handler-custom, gdb-registers-handler-custom):
21095 Thread info in mode name.
21096 (gdb-registers-mode-map): TAB to switch to locals.
21097
21098 2009-08-08 Eli Zaretskii <eliz@gnu.org>
21099
21100 * mail/rmail.el (rmail-add-mbox-headers)
21101 (rmail-set-message-counters-counter): Search for
21102 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
21103
21104 2009-08-08 Glenn Morris <rgm@gnu.org>
21105
21106 * Makefile.in (ELCFILES): Update.
21107
21108 2009-08-07 Eli Zaretskii <eliz@gnu.org>
21109
21110 * mail/sendmail.el (mail-yank-original):
21111 Set buffer-file-coding-system from the one used by the message whose
21112 text is yanked.
21113
21114 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
21115 to "windows" when "pgnuplot" is used.
21116 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
21117 Don't call accept-process-output if "pgnuplot" is used.
21118 (calc-graph-init): Don't send -display and -geometry to
21119 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
21120 running "pgnuplot -V" with shell-command-to-string.
21121
21122 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
21123 the default.
21124
21125 2009-08-07 Eli Zaretskii <eliz@gnu.org>
21126
21127 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
21128 org/org-latex.elc.
21129
21130 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
21131
21132 * vc-dispatcher.el (vc-resynch-window): Update comment.
21133
21134 * term.el (term-handle-ansi-escape): Add comments with the
21135 terminfo capabilities implemented.
21136
21137 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
21138
21139 * progmodes/gdb-mi.el (gdb-var-create-regexp): Remove.
21140 (gdb-var-create-handler): Rewritten using JSON parser.
21141 (gdb-propertize-header): Move earlier.
21142 (gdb-set-header): Remove to avoid duplication.
21143 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
21144 Refresh disassembly buffers only after threads list have been
21145 update.
21146 (gdb-threads-header, gdb-registers-header): Per-buffer header line
21147 variables.
21148
21149 2009-08-04 Juri Linkov <juri@jurta.org>
21150
21151 * files.el: Commands to add/delete file/directory-local variables.
21152 (read-file-local-variable, read-file-local-variable-value)
21153 (read-file-local-variable-mode, modify-file-local-variable)
21154 (modify-file-local-variable-prop-line)
21155 (modify-dir-local-variable): New functions.
21156 (add-file-local-variable, delete-file-local-variable)
21157 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
21158 (add-dir-local-variable, delete-dir-local-variable)
21159 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
21160 (copy-dir-locals-to-file-locals-prop-line): New commands.
21161
21162 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
21163
21164 * abbrev.el (insert-abbrev-table-description): Prettify output.
21165 Suggested by Karl Chen.
21166
21167 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
21168
21169 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
21170 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
21171 (gdb-overlay-arrow-position, gdb-thread-position)
21172 (gdb-disassembly-position): Declare variables.
21173 (gdb-wait-for-pending): Function now.
21174 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
21175 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
21176 compilation goes smoothly.
21177 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
21178 (gdb-non-stop-setting): New customization setting which replaces
21179 `gdb-non-stop' so changing it doesn't break active GDB session.
21180 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
21181 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
21182 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
21183 (gdb-show-threads-by-default): New customization options.
21184 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
21185 routines.
21186 (gdb-get-buffer-create): Send buffers update signal when they are
21187 created.
21188 (gdb-invalidate-locals, gdb-invalidate-registers)
21189 (gdb-invalidate-breakpoints)
21190 (gdb-invalidate-threads, gdb-invalidate-disassembly)
21191 (gdb-invalidate-memory): Accept update signal.
21192 (gdb-current-context-command): Use --frame option.
21193 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
21194 Implement `gdb-frame-number' selection logic.
21195 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
21196 whether to show GUD toolbar buttons.
21197 (gdb-thread-exited): Unselect current thread when it exits.
21198 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
21199 (gdb-mark-line): Routine which sets overlay arrow or inverses
21200 video on fringeless displays.
21201 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
21202 to build aligned columns of data in GDB buffers and set text
21203 properties line-by-line.
21204 (gdb-invalidate-breakpoints)
21205 (gdb-breakpoints-list-handler-custom)
21206 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
21207 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
21208 (gdb-registers-handler-custom): Align data columns.
21209 (gdb-locals-handler-custom): Now prints data like in variable
21210 declarations.
21211 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
21212 Remove confusing buttons.
21213 (gdb-invalidate-threads): Append --frame.
21214 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
21215 between breakpoints/threads buffers.
21216 (gdb-set-window-buffer): Now can ignore dedicated windows.
21217 (gdb-propertize-header): Use `gdb-set-window-buffer'.
21218 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
21219 (def-gdb-thread-buffer-gud-command): Replaces
21220 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
21221 for fine thread control.
21222 (gdb-preempt-existing-or-display-buffer): New function used to
21223 display bound buffers without breaking window layout.
21224 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
21225 (gdb-select-frame): New version of `gdb-frames-select' which now
21226 sets `gdb-frame-number' so commands may use --frame option instead
21227 of inner debugger state.
21228 (gdb-frame-handler): Do not set `gdb-frame-number'.
21229 (gdb-threads-mode-map): Select threads with mouse.
21230
21231 * progmodes/gud.el (gdb-gud-context-call): Declare function to
21232 avoid compilation warning.
21233 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
21234 `gdb-show-stop-p`.
21235
21236 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
21237 Argument `key' renamed to `buffer-type'.
21238 (gdb-current-context-buffer-name): Do not add thread info to
21239 buffer name when no thread is selected.
21240 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
21241 command (bug 3794).
21242 (gdb-thread-selected): Handle `=thread-selected' notification.
21243 (gdb-wait-for-pending): New macro to deal with congestion problems.
21244 (gdb-breakpoints-list-handler-custom): Don't fail on pending
21245 breakpoints.
21246 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
21247 This fixes problem similar to one described in bug 3947.
21248 (gud-menu-map): More menu items.
21249 (gdb-init-1): Reset `gdb-thread-number' to nil.
21250
21251 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
21252 non-stop settings.
21253
21254 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
21255 (gdb-current-context-command): Do not append --thread if
21256 `gdb-thread-number' is nil.
21257 (gdb-running-threads-count, gdb-stopped-threads-count):
21258 New variables.
21259 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
21260 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
21261 New customization options.
21262 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
21263 GUD commands.
21264 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
21265 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
21266 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
21267 set `gdb-thread-number' and update `gud-running' properly.
21268 (gdb-running): Update threads list when new threads appear.
21269 (gdb-stopped): Support non-stop operation and new thread switching
21270 logic.
21271 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
21272 (gdb-json-partial-output): New set of JSON routines.
21273 (def-gdb-auto-update-trigger): New `signal-list' optional
21274 argument.
21275 (gdb-thread-list-handler-custom): Update `gud-running',
21276 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
21277 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
21278 (gdb-continue-thread, gdb-step-thread): New commands for fine
21279 thread execution control.
21280 (gud-menu-map): New menu items to switch non-stop options.
21281 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
21282 (gdb-send): Mimic RET properly (bug 3794).
21283
21284 * progmodes/gdb-mi.el (gdb-rules-name-maker)
21285 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
21286 gdb-buffer-rules.
21287 (def-gdb-auto-update-handler): New nopreserve optional argument.
21288 (gdb-stack-list-frames-custom): Print stack from top to bottom.
21289
21290 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
21291 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
21292 (gdb-parent-mode): New mode to derive other GDB modes from.
21293 (gdb-display-disassembly-for-thread)
21294 (gdb-frame-disassembly-for-thread): New commands for threads
21295 buffer.
21296
21297 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
21298 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
21299 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
21300 (gdb-update): We now store all GDB buffers in a list so that they
21301 can be updated by traversing a list instead of calling invalidate
21302 triggers explicitly.
21303 (def-gdb-trigger-and-handler): New macro to define trigger-handler
21304 pair for GDB buffer.
21305 (gdb-stack-buffer-name): Add thread information.
21306 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
21307 handle pending triggers.
21308 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
21309 (def-gdb-thread-buffer-simple-command)
21310 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
21311 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
21312 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
21313 New commands which show buffers bound to thread.
21314 (gdb-stack-list-locals-regexp): Remove unused regexp.
21315
21316 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
21317 (gdb-locals-buffer-name, gdb-registers-buffer-name)
21318 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
21319 to (gud-comint-buffer) in *-buffer-name functions
21320 because (gdb-get-target-string) already does that.
21321 (gdb-locals-handler-custom, gdb-registers-handler-custom)
21322 (gdb-changed-registers-handler): Rewritten without regexps.
21323
21324 * progmodes/gdb-mi.el: Basic thread selection support.
21325 (gdb-thread-number): New variable.
21326 (gdb-current-context-command): New macro which adds --thread
21327 option to command.
21328 (gdb-threads-mode-map): Select thread with SPC.
21329 (gdb-thread-list-handler-custom): Mark current thread with overlay
21330 arrow. Synchronize GDB thread and Emacs thread.
21331 (gdb-select-thread): New command which selects current thread.
21332 (gdb-invalidate-frames, gdb-invalidate-locals)
21333 (gdb-invalidate-registers): Use --thread option.
21334
21335 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
21336
21337 * net/tramp.el (top): Make check for tramp-gvfs loading more
21338 robust. (Bug#3977)
21339 (tramp-handle-insert-file-contents): `unwind-protect' must be
21340 inside `with-parsed-tramp-file-name'.
21341
21342 * net/tramp-gvfs.el (top): Remove superfluous message when loading
21343 fails.
21344
21345 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
21346
21347 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
21348 directory if CLASSPATH is not set.
21349
21350 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
21351
21352 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
21353 New defconst.
21354 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
21355
21356 2009-08-02 Kevin Ryde <user42@zip.com.au>
21357
21358 * net/newst-backend.el (newsticker--raw-url-list-defaults):
21359 Update freshmeat link. Delete newsforge.com as it seems gone.
21360
21361 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
21362
21363 * select.el (x-set-selection): Doc fix (Bug#4021).
21364
21365 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
21366
21367 * help-fns.el (describe-variable): Treat list return values from
21368 dir-locals-find-file properly (Bug#4005).
21369
21370 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
21371
21372 * net/tramp.el (tramp-debug-message): Print also microseconds.
21373
21374 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
21375
21376 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
21377 or END is non-nil.
21378 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
21379 (tramp-get-debug-buffer): Change `outline-regexp' according to new
21380 format.
21381
21382 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
21383 (tramp-get-file-property): Use it.
21384
21385 * autorevert.el (auto-revert-handler):
21386 Allow `auto-revert-tail-mode' for remote files.
21387
21388 2009-08-02 Jason Rumney <jasonr@gnu.org>
21389
21390 * minibuffer.el (read-file-name): Treat confirm options to
21391 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
21392
21393 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
21394
21395 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
21396 (font-lock-variable-name-face, font-lock-constant-face):
21397 Darken the colors for light backgrounds.
21398
21399 2009-08-01 Eli Zaretskii <eliz@gnu.org>
21400
21401 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
21402 month names. (Bug#3987)
21403
21404 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
21405
21406 * simple.el (line-move-finish): Pass whole number to
21407 line-move-to-column.
21408 (line-move-visual): Perform hscroll to the recorded position.
21409
21410 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
21411
21412 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
21413
21414 2009-07-29 Alan Mackenzie <acm@muc.de>
21415
21416 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
21417
21418 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
21419
21420 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
21421 (gdb-place-breakpoints): Use full path when setting breakpoints.
21422
21423 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
21424
21425 * calc/calc.el (calc-mode-map): Add keybinding for
21426 `calc-transpose-lines'.
21427
21428 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
21429
21430 * calc/calc-misc.el (calc-transpose-lines): New function.
21431
21432 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
21433
21434 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
21435 Simplify check for out-of-band methods.
21436 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
21437 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
21438
21439 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
21440
21441 * vc-git.el (vc-git-checkin): Fix typo.
21442
21443 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
21444
21445 * progmodes/js2-mode.el: New file.
21446
21447 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
21448
21449 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
21450 (gud-menu-map): Adjust tooltip accordingly.
21451
21452 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
21453
21454 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
21455 (vc-bzr-log-view-mode): Adjust log-view-file-re.
21456
21457 * add-log.el (change-log-mode-map): Add a menu.
21458
21459 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
21460
21461 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
21462 function returns nil.
21463 (dbus-handle-event): Handle special return value :ignore.
21464 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
21465
21466 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
21467
21468 * view.el (view-mode-enable): Don't define Helper-return-blurb if
21469 it's not needed.
21470
21471 2009-07-25 Eli Zaretskii <eliz@gnu.org>
21472
21473 Fix Bug#3888:
21474
21475 * w32-vars.el (x-select-enable-clipboard): Doc fix.
21476
21477 * term/pc-win.el (x-display-name, x-colors)
21478 (x-select-enable-clipboard, x-select-text): Doc fix.
21479
21480 * term/common-win.el (x-display-name, x-colors): Doc fix.
21481
21482 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
21483 (xw-defined-colors): Doc fix.
21484
21485 * w32-fns.el (x-select-text, x-setup-function-keys)
21486 (x-get-selection, x-set-selection): Doc fix.
21487
21488 * term/x-win.el (x-select-text, x-setup-function-keys)
21489 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
21490
21491 * select.el (x-set-selection): Doc fix.
21492
21493 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
21494
21495 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
21496 instead of "IsNSSSupportAvailable". Avahi ought to work also when
21497 "IsNSSSupportAvailable" method is not available.
21498 Reported by Steve Youngs <steve@sxemacs.org>.
21499
21500 2009-07-24 Kenichi Handa <handa@m17n.org>
21501
21502 * international/characters.el: Fix setting of category ?C, ?|, ?K,
21503 and ?H. Fix setting of case for Latin Extended and Greek Extended.
21504 (build-unicode-category-table): Fix range checks.
21505
21506 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
21507
21508 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
21509 the buffer we try to sync is current when calling
21510 vc-resynch-buffer.
21511
21512 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
21513 not show up to date files.
21514
21515 2009-07-24 Glenn Morris <rgm@gnu.org>
21516
21517 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
21518 Add autoload cookies. If necessary, initialize.
21519 (elint-log): Handle non-file buffers.
21520 (elint-initialize): Add optional argument to reinitialize.
21521 (elint-find-builtin-variables): Save excursion.
21522
21523 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
21524
21525 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
21526 for Lint.
21527
21528 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
21529
21530 * vc.el (vc-print-log-internal): New function, split out from ...
21531 (vc-print-log): ... here.
21532 (vc-dir-move-to-goal-column): Declare.
21533
21534 * vc-git.el (vc-git-add-signoff): New variable.
21535 (vc-git-checkin): Use it.
21536 (vc-git-toggle-signoff): New function.
21537 (vc-git-extra-menu-map): Bind it to menu.
21538 (vc-git--run-command-string): Accept a nil FILE argument.
21539 (vc-git-stash-list): New function.
21540 (vc-git-dir-extra-headers): Use it.
21541
21542 2009-07-23 Glenn Morris <rgm@gnu.org>
21543
21544 * help-fns.el (describe-variable): Describe ignored and risky local
21545 variables in a similar way to that in which we describe safe ones.
21546
21547 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
21548 (byte-compile-output-file-form, byte-compile-output-docform)
21549 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
21550 Give some more local variables with common names a "bytecomp-" prefix,
21551 so as not to shadow things during compilation.
21552 * emacs-lisp/cl-macs.el (load-time-value)
21553 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
21554 `outbuffer' to `bytecomp-outbuffer'.
21555
21556 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
21557 since the next two variables cover them automatically now.
21558 (elint-builtin-variables, elint-autoloaded-variables): New.
21559 (elint-unknown-builtin-args): Remove all members, since they can be
21560 parsed automatically now.
21561 (elint-extra-errors): New.
21562 (elint-env-add-env, elint-env-add-macro): Use cadr.
21563 (elint-current-buffer): Use or. Change final message.
21564 (elint-get-top-forms): Use line-end-position.
21565 (elint-init-env): Use cadr. Handle autoload, declare-function,
21566 and defalias.
21567 (elint-add-required-env): Doc fix. Use or. Standardize error.
21568 (regexp-assoc): Remove unused function.
21569 (elint-top-form): Set elint-current-pos, to record the start of the
21570 top-level form, for compilation-mode.
21571 (elint-form): Trap errors in macro expansion. Use dolist.
21572 (elint-unbound-variable): Use elint-builtin-variables and
21573 elint-autoloaded-variables.
21574 (elint-get-args): Use cadr, or.
21575 (elint-check-cond-form): Use dolist, cadr.
21576 (elint-check-condition-case-form): Doc fix. Use cadr.
21577 Use elint-extra-errors.
21578 (elint-log): New function.
21579 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
21580 Distinguish errors and warnings.
21581 (elint-log-message): Use with-current-buffer. Inhibit read-only.
21582 Use a bytecomp-style format.
21583 (elint-clear-log): Preserve default-directory. Inhibit read-only.
21584 (elint-get-log-buffer): Use compilation mode. Disable undo.
21585 Don't truncate lines.
21586 (elint-initialize): Set builtin and autoloaded variable lists.
21587 Only process elint-unknown-builtin-args if non-nil.
21588 (elint-find-builtin-variables, elint-find-autoloaded-variables):
21589 New functions.
21590 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
21591
21592 2009-07-22 Kevin Ryde <user42@zip.com.au>
21593
21594 * net/newst-backend.el (newsticker--parse-atom-1.0)
21595 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
21596 (newsticker--parse-rss-1.0):
21597 * progmodes/idlwave.el (idlwave-mode):
21598 * progmodes/idlw-shell.el (idlwave-shell-mode):
21599 * progmodes/vera-mode.el (vera-mode):
21600 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
21601 * progmodes/vhdl-mode.el (vhdl-mode):
21602 * textmodes/table.el (table-generate-source)
21603 (table--warn-incompatibility):
21604 Hyperlink urls in docstrings with URL `...'.
21605
21606 2009-07-22 Glenn Morris <rgm@gnu.org>
21607
21608 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
21609 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
21610 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
21611 Remove leading * from defcustom docs.
21612
21613 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
21614
21615 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
21616 defcustom doc.
21617 (list-load-path-shadows): Optionally, just return shadows as a string.
21618
21619 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
21620
21621 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
21622
21623 * mail/rmailedit.el (rmail-edit-mode):
21624 Use auto-save-include-big-deletions.
21625
21626 * mail/rmail.el (rmail-variables):
21627 Use auto-save-include-big-deletions.
21628
21629 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
21630 changes.
21631
21632 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
21633
21634 * calc/calc.el (calc-undo-length): New variable.
21635 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
21636
21637 2009-07-21 Richard Stallman <rms@gnu.org>
21638
21639 * files.el (auto-save-mode): Handle buffer-save-size = -2
21640 for toggling mode.
21641
21642 2009-07-21 Glenn Morris <rgm@gnu.org>
21643
21644 * textmodes/ispell.el (ispell-looking-back): Update declaration.
21645
21646 * calendar/todo-mode.el (calendar-current-date): Update declaration.
21647
21648 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
21649 silence compiler. Instead...
21650 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
21651 (ps-print-ensure-fontified): Update for above function name changes.
21652
21653 * printing.el (pr-mh-get-msg-num, pr-mh-show)
21654 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
21655 silence compiler. Instead...
21656 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
21657 (mh-show-buffer): Only define for compiler.
21658 (pr-mh-current-message): Update for above function name changes.
21659
21660 * files.el (abort-if-file-too-large): Explicitly pass `filename'
21661 as an argument.
21662 (find-file-noselect, insert-file-1): Update for above change.
21663
21664 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
21665
21666 * mail/mailclient.el (mailclient-send-it): Fix message.
21667
21668 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
21669 (edebug-eval): Check cl-debug-env is bound.
21670 (print-level, print-circle): Don't redefine built-in variables.
21671
21672 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
21673 (custom-print-vectors): Remove old comments from doc.
21674
21675 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
21676 (emerge-version): Make the variable an obsolete alias for the
21677 emacs-version variable. Make the function obsolete.
21678 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
21679 Emerge options, rather than merging in into the main Options menu.
21680 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
21681 and auto advance modes. Disable edit/fast items when not relevant.
21682
21683 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
21684
21685 * term/vt420.el (terminal-init-vt420): Fix typo.
21686
21687 2009-07-20 Sam Steingold <sds@gnu.org>
21688
21689 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
21690 variable (removed from compile.el on 2004-03-11).
21691
21692 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
21693
21694 * files.el (hack-local-variables-filter): Fix last change.
21695
21696 2009-07-19 Juri Linkov <juri@jurta.org>
21697
21698 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
21699 (dir-local-variables-alist): New buffer-local variable.
21700 (hack-local-variables-filter): If variable is not dir-local,
21701 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
21702 because file-local overrides dir-local.
21703 (c-postprocess-file-styles) <declare-function>:
21704 Remove obsolete declaration.
21705 (hack-dir-local-variables): Add dir-local variable/value pair to
21706 `dir-local-variables-alist' and remove duplicates. Doc fix.
21707
21708 * help-fns.el (describe-variable): Add information about
21709 file-local and dir-local variables.
21710
21711 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
21712
21713 * files.el (hack-local-variables-filter): Rewrite.
21714
21715 2009-07-19 Glenn Morris <rgm@gnu.org>
21716
21717 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
21718 Silence compiler by only defining on XEmacs.
21719
21720 * international/mule.el (auto-coding-regexp-alist): Only match
21721 BABYL... at the start of buffer, not of lines. (Bug#3790)
21722
21723 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
21724 non-calendar buffers (Bug#3862). Restore "not on a date" message.
21725 (cal-menu-context-mouse-menu): Doc fix.
21726
21727 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
21728
21729 * simple.el (mail-user-agent): Doc fix. Set :version tag.
21730
21731 2009-07-18 Juri Linkov <juri@jurta.org>
21732
21733 * info.el: Virtual Info keyword finder.
21734 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
21735 (Info-finder-file): New variable.
21736 (Info-finder-find-file): New function.
21737 (finder-known-keywords, finder-package-info)
21738 (find-library-name, lm-commentary): Use defvar and
21739 declare-function to silence compiler warnings.
21740 (Info-finder-find-node): New function.
21741 (info-finder): New command.
21742
21743 * subr.el (process-kill-buffer-query-function): New function.
21744 (add-hook)<kill-buffer-query-functions>: Add hook
21745 `process-kill-buffer-query-function'.
21746
21747 2009-07-18 Alan Mackenzie <acm@muc.de>
21748
21749 * progmodes/cc-mode.el (c-before-hack-hook)
21750 (c-postprocess-file-styles): Give invocation of `c-set-style'
21751 DONT-OVERRIDE parameter of t. Already set style variables will
21752 thus not be overridden by style settings given by `c-file-syle'.
21753
21754 * files.el (hack-local-variables-filter): Remove entries with
21755 duplicate keys from `file-local-variables-alist'.
21756
21757 2009-07-18 Eli Zaretskii <eliz@gnu.org>
21758
21759 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
21760 x-set-selection if display-selections-p returns nil for the
21761 current frame.
21762
21763 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
21764
21765 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
21766
21767 2009-07-18 Eli Zaretskii <eliz@gnu.org>
21768
21769 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
21770 Accept nil in addition to a regexp.
21771 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
21772 Accept nil in addition to a regexp.
21773 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
21774 buffers that have an associated file. Handle nil values of
21775 desktop-buffers-not-to-save and desktop-files-not-to-save.
21776 (Bug#3833)
21777
21778 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
21779 (x-disown-selection-internal): New functions.
21780
21781 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
21782
21783 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
21784 warning.
21785 (gdb-breakpoints-header): Move forward to avoid compiler warning.
21786 (gdb-make-header-line-mouse-map): Remove duplicate definition.
21787
21788 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
21789
21790 * simple.el (set-mark): Revert last change.
21791
21792 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
21793
21794 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
21795 rendering of pngs is not possible instead of messaging a long
21796 description.
21797
21798 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
21799
21800 * w32-fns.el (x-selection-owner-p): New function.
21801
21802 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
21803 (mouse-yank-at-click, mouse-yank-primary):
21804 If select-active-regions is non-nil, deactivate the mark before
21805 insertion.
21806
21807 * simple.el (deactivate-mark, set-mark): Only save selection if we
21808 own it.
21809
21810 2009-07-17 Kenichi Handa <handa@m17n.org>
21811
21812 * case-table.el (describe-buffer-case-table): Fix for the case
21813 that KEY is a cons.
21814
21815 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
21816
21817 * vc-rcs.el (vc-rcs-find-file-hook):
21818 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
21819
21820 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
21821
21822 * net/tramp.el (tramp-wait-for-output): Handle the case when
21823 commands do not return a newline but a null byte before the shell
21824 prompt. (Bug#3858)
21825
21826 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
21827
21828 * term/ns-win.el (ns-set-alpha): Don't declare.
21829 (ns-set-background-alpha): Remove function.
21830
21831 2009-07-16 Kevin Ryde <user42@zip.com.au>
21832
21833 * emacs-lisp/copyright.el (copyright-update): Save match-data across
21834 y-or-n-p, for safety.
21835
21836 2009-07-16 Richard Stallman <rms@gnu.org>
21837
21838 * files.el (auto-save-mode): If buffer-saved-size is -2,
21839 don't clobber it.
21840
21841 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
21842 (rmail-retry-ignored-headers): Add more uninteresting fields.
21843
21844 2009-07-15 Jari Aalto <jari.aalto@cante.net>
21845
21846 * net/rcirc.el (rcirc): Use history variables.
21847 (rcirc-server-name-history, rcirc-nick-name-history)
21848 (rcirc-server-port-history): New variables.
21849
21850 2009-07-15 Kenichi Handa <handa@m17n.org>
21851
21852 * international/mule-cmds.el (set-language-environment-charset):
21853 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
21854 ignore them.
21855
21856 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
21857 Delete unibyte-display.
21858
21859 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
21860
21861 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
21862
21863 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
21864
21865 * simple.el (deactivate-mark): Optional argument FORCE.
21866 (set-mark): Use deactivate-mark.
21867
21868 * info.el (Info-search): No need to check transient-mark-mode
21869 before calling deactivate-mark.
21870
21871 * select.el (x-set-selection): Doc fix.
21872 (x-valid-simple-selection-p): Allow buffer values.
21873 (xselect--selection-bounds): Handle buffer values.
21874 Suggested by David De La Harpe Golden.
21875
21876 * mouse.el (mouse-set-region, mouse-drag-track):
21877 Call copy-region-as-kill before setting the mark, to let
21878 select-active-regions work.
21879
21880 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
21881
21882 * simple.el (deactivate-mark): If select-active-regions is
21883 non-nil, copy the selection data into a string.
21884 (activate-mark): If select-active-regions is non-nil, set the
21885 selection to the current buffer.
21886 (set-mark): Update selection if select-active-regions is non-nil.
21887
21888 * select.el (x-valid-simple-selection-p): Allow buffer values.
21889
21890 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
21891
21892 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
21893 and more featureful message-mode.
21894
21895 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
21896
21897 * select.el (x-set-selection): Doc fix.
21898 (x-valid-simple-selection-p): Disallow selection data consisting
21899 of a list or cons of integers, since that is not used.
21900 (xselect--selection-bounds, xselect--int-to-cons): New functions.
21901 (xselect-convert-to-string, xselect-convert-to-length)
21902 (xselect-convert-to-filename, xselect-convert-to-charpos)
21903 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
21904
21905 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
21906
21907 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
21908 output in -break-info command (Emacs bug #3794).
21909
21910 2009-07-14 Glenn Morris <rgm@gnu.org>
21911
21912 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
21913 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
21914 (edebug-print-length, edebug-print-level, edebug-print-circle)
21915 (edebug-sit-for-seconds, edebug-view-outside)
21916 (edebug-bounce-point, edebug-set-global-break-condition)
21917 (edebug-Go-nonstop-mode, edebug-trace-mode)
21918 (edebug-Trace-fast-mode, edebug-continue-mode)
21919 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
21920 (edebug-visit-eval-list): Doc fixes.
21921
21922 * subr.el (def-edebug-spec): Doc fix.
21923
21924 2009-07-14 Kenichi Handa <handa@m17n.org>
21925
21926 * international/characters.el: Fix setting of category ?C.
21927
21928 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
21929
21930 * term/ns-win.el (x-select-font): defalias x-select-font to
21931 ns-popup-font-panel instead of generate-fontset-menu.
21932
21933 2009-07-12 Eli Zaretskii <eliz@gnu.org>
21934
21935 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
21936
21937 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
21938
21939 * arc-mode.el (archive-find-type): Allow for a PK00 string before
21940 the PK\003\004 header (Bug#3770).
21941
21942 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
21943
21944 * pcomplete.el (pcomplete-comint-setup): Check for
21945 shell-dynamic-complete-filename too.
21946
21947 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
21948
21949 * simple.el (temporary-goal-column): Change the value for
21950 line-move-visual to a cons cell.
21951 (line-move-visual): Record or set the window hscroll, if
21952 necessary (Bug#3494).
21953 (line-move-1): Handle cons value of temporary-goal-column.
21954
21955 2009-07-11 Kenichi Handa <handa@m17n.org>
21956
21957 * international/mule-diag.el (describe-character-set): Don't show
21958 width.
21959
21960 2009-07-10 Sam Steingold <sds@gnu.org>
21961
21962 * progmodes/compile.el (compilation-mode-font-lock-keywords):
21963 Omake sometimes indents the errors it prints, so allow all
21964 regexps to start with spaces.
21965
21966 2009-07-10 Eli Zaretskii <eliz@gnu.org>
21967
21968 * cus-edit.el (customize-changed-options-previous-release):
21969 Bump value to 22.1. (Bug#3804)
21970
21971 2009-07-08 Sam Steingold <sds@gnu.org>
21972
21973 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
21974 to be a cons cell (test . ignored-directory) to selectively ignore
21975 some directories depending on the location of the search.
21976
21977 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
21978
21979 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
21980 remote user is root, on the local host.
21981 (tramp-local-host-p): Either the local user or the remote user
21982 must be root. (Bug#3771)
21983
21984 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
21985
21986 * progmodes/gdb-mi.el (gdb): Remove description of
21987 gdb-use-separate-io-buffer.
21988 (menu): Don't allow toggling of or enable
21989 gdb-use-separate-io-buffer from menubar.
21990
21991 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
21992
21993 * mail/unrmail.el (unrmail): Make sure the message ends with two
21994 newlines (Bug#3769).
21995
21996 2009-07-08 Glenn Morris <rgm@gnu.org>
21997
21998 * calendar/calendar.el (calendar-current-date): Rework previous change.
21999
22000 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
22001
22002 * calendar/calendar.el (calendar-current-date):
22003 Add an optional argument giving an offset from today.
22004
22005 2009-07-08 Glenn Morris <rgm@gnu.org>
22006
22007 * tutorial.el (tutorial--describe-nonstandard-key):
22008 Adjust the message for when a key has been unbound.
22009 (help-with-tutorial): Hide the arch-tag.
22010
22011 2009-07-08 Kenichi Handa <handa@m17n.org>
22012
22013 * international/fontset.el (setup-default-fontset): For each
22014 script, append (not set) font-specs.
22015
22016 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
22017 docstring.
22018
22019 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
22020
22021 * progmodes/gdb-mi.el (gdb-init-1): Move sending
22022 -data-list-register-names to ...
22023 (gdb-starting): ... here because GDB 7.0 requires execution to
22024 have started when using this MI command.
22025 (gdb-set-header): New function to distinguish select and
22026 unselected tabs in gdb buffers.
22027 (gdb-propertize-header): New macro that uses gdb-set-header.
22028 (gdb-breakpoints-header, gdb-locals-header): Use it.
22029 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
22030
22031 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
22032
22033 * Makefile.in (ELCFILES): Remove fadr.elc.
22034
22035 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
22036
22037 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
22038 may contain frame information, so `string-match' should be used.
22039 (gdb-update): Disassembly is invalidated through
22040 `gdb-get-selected-frame'.
22041 (gdb-pad-string): New function to pad string with spaces.
22042 (gdb-invalidate-disassembly): Invalidate only if the buffer
22043 exists.
22044 (gdb-disassembly-handler-custom): Column alignment.
22045 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
22046 placing new ones.
22047 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
22048 end of line, too.
22049 (gdb-frame-handler): Match convention to for disassembly buffer
22050 mode name.
22051 (gdb-stack-list-frames-handler): Rewritten without regexps.
22052 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
22053 not highlight breakpoints without line information.
22054 (gdb-input): Add trailing newline to command.
22055
22056 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
22057 buffer properly.
22058 (gdb-breakpoints-list-handler-custom): Replacement for
22059 `gdb-break-list-handler'. Using real parser instead of regexps
22060 now.
22061 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
22062 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
22063 to place breakpoints.
22064 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
22065 functions.
22066 (gdb-disassembly-handler-custom): Show overlay arrow.
22067 (gdb-disassembly-place-breakpoints): Show breakpoints in
22068 disassembly buffer.
22069 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
22070 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
22071 instead of parsing breakpoints buffer. Fixed old menu references
22072 in `gud-menu-map'.
22073
22074 * fadr.el: Remove.
22075
22076 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
22077 (gdb-memory-address): New variable which holds top address of
22078 memory page shown in memory buffer.
22079 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
22080 New customization variables.
22081 New functions:
22082 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
22083 display the memory buffer.
22084 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
22085 buffer display parameters.
22086 (def-gdb-memory-format, gdb-memory-format-binary)
22087 (gdb-memory-format-octal, gdb-memory-format-unsigned)
22088 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
22089 Functions for setting memory buffer format.
22090 (gdb-memory-unit-word, gdb-memory-unit-halfword)
22091 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
22092 unit size used in memory buffer.
22093 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
22094 Switch to next/previous page of memory buffer.
22095 Now using (bindat-get-field) instead of fadr functions.
22096
22097 2009-07-07 Sam Steingold <sds@gnu.org>
22098
22099 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
22100 non-top-level files.
22101
22102 2009-07-07 Kenichi Handa <handa@m17n.org>
22103
22104 * international/mule-cmds.el (reset-language-environment):
22105 Put the highset priority to the charset iso-8859-1.
22106
22107 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
22108
22109 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
22110 to the end of the line when locating the block (Bug#700).
22111
22112 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
22113
22114 * net/tramp.el (tramp-handle-write-region): Flush file properties
22115 in case of short track.
22116
22117 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
22118
22119 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
22120 Coded custom representation of verilog error regular expressions
22121 to work with Emacs-22's new format.
22122 (verilog-error-regexp-xemacs-alist): Coded custom representation
22123 of verilog error regular expressions to work with XEmacs format.
22124 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
22125 error recognition into XEmacs.
22126 (verilog-error-regexp-add-emacs): Hook routine to install verilog
22127 error recognition into Emacs-22.
22128
22129 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
22130
22131 * woman.el: Remove stand-alone closing parentheses.
22132 (woman-file-name, woman2-format-paragraphs)
22133 (woman-leave-blank-lines): Code cleanup.
22134 (woman-use-own-frame): Change default to nil.
22135 (woman-italic, woman-bold, woman-unknown, woman-addition):
22136 Change defaults to inherit from default faces.
22137 (woman2-process-escapes): Consume the newline after a stand-alone
22138 filler character (Bug#3651).
22139
22140 2009-07-06 Glenn Morris <rgm@gnu.org>
22141
22142 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
22143 (top-level): Move provide to the end.
22144 (ffap): Remove defunct URL from custom group.
22145
22146 * subr.el (eval-after-load): Doc fix.
22147
22148 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
22149
22150 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
22151 `calc-embedded-word' is called twice.
22152
22153 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22154
22155 * files.el (find-alternate-file-other-window, find-alternate-file):
22156 Obey confirm-nonexistent-file-or-buffer.
22157
22158 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
22159
22160 * dired-aux.el (dired-show-file-type): Handle remote files.
22161
22162 2009-07-05 Jari Aalto <jari.aalto@cante.net>
22163
22164 * desktop.el (desktop-globals-to-save):
22165 Add file-name-history (Bug#2750).
22166
22167 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
22168
22169 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
22170
22171 2009-07-04 Johan Bockgård <bojohan@gnu.org>
22172
22173 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
22174 property on entire argument since this is what eshell-lisp-command
22175 expects.
22176
22177 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
22178
22179 * net/tramp-gvfs.el (tramp-gvfs-methods)
22180 (tramp-gvfs-zeroconf-domain)
22181 (tramp-bluez-discover-devices-timeout): Add version flag.
22182 (tramp-gvfs-handler-mounted-unmounted)
22183 (tramp-gvfs-connection-mounted-p): Polish handling of
22184 incompatibilities between GVFS 0.2 and 1.0.
22185
22186 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
22187
22188 * cus-start.el (all): Add make-pointer-invisible.
22189
22190 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
22191
22192 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
22193 formatted correctly.
22194
22195 2009-07-02 Juri Linkov <juri@jurta.org>
22196
22197 * info.el: Virtual Info files and nodes.
22198 (Info-virtual-files, Info-virtual-nodes): New variables.
22199 (Info-current-node-virtual): New variable.
22200 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
22201 New functions.
22202 (Info-file-supports-index-cookies): Use Info-virtual-file-p
22203 to check for a virtual file instead of checking a fixed list
22204 of node names.
22205 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
22206 instead of ad-hoc processing of "dir" and (apropos history toc).
22207 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
22208 instead of ad-hoc processing of "dir" and (apropos history toc).
22209 Reread a file when moving from a virtual node.
22210 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
22211 (Info-directory-toc-nodes, Info-directory-find-file)
22212 (Info-directory-find-node): New functions.
22213 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
22214 (Info-history): Move part of code to
22215 `Info-history-find-node'.
22216 (Info-history-toc-nodes, Info-history-find-file)
22217 (Info-history-find-node): New functions.
22218 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
22219 (Info-toc): Move part of code to `Info-toc-find-node'.
22220 (Info-toc-find-node): New function.
22221 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
22222 the current Info file name to references because now the node
22223 "*TOC*" belongs to the same Info manual.
22224 (Info-toc-build): Rename from `Info-build-toc'.
22225 (Info-toc-nodes): Rename input argument `file' to `filename'.
22226 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
22227 instead of ad-hoc processing of ("dir" apropos history toc).
22228 (Info-index-nodes): Use Info-virtual-file-p
22229 to check for a virtual file instead of checking a fixed list
22230 of node names.
22231 (Info-index-node): Add check for `Info-current-node-virtual'.
22232 Raise `save-match-data' higher up the tree to contain
22233 `search-forward' too (bug fix).
22234 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
22235 (Info-virtual-index-nodes): New variable.
22236 (Info-virtual-index-find-node, Info-virtual-index): New functions.
22237 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
22238 (Info-apropos-file, Info-apropos-nodes): New variables.
22239 (Info-apropos-toc-nodes, Info-apropos-find-file)
22240 (Info-apropos-find-node, Info-apropos-matches): New functions.
22241 (info-apropos): Move part of code to `Info-apropos-find-node' and
22242 `Info-apropos-matches'.
22243 (Info-mode-map): Bind "I" to `Info-virtual-index'.
22244 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
22245 for a virtual file instead of checking a fixed list of node names.
22246
22247 * simple.el (async-shell-command): New command.
22248
22249 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
22250
22251 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
22252 instead of `mount-info'.
22253
22254 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
22255
22256 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
22257 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
22258
22259 2009-07-02 Kenichi Handa <handa@m17n.org>
22260
22261 * international/mule.el (set-keyboard-coding-system): Force *-unix
22262 coding-system to avoid eol conversion.
22263
22264 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
22265
22266 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
22267 Add handler for `process-file', `shell-command' and
22268 `start-file-process'.
22269 (tramp-gvfs-handle-shell-command)
22270 (tramp-gvfs-handle-start-file-process)
22271 (tramp-gvfs-handle-process-file): New defuns.
22272 (tramp-synce-list-devices): Simplify check for existence of property.
22273
22274 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
22275
22276 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
22277
22278 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
22279
22280 * language/korean.el (set-language-info-alist): Add korean-cp949,
22281 cp949 to spec.
22282
22283 2009-07-01 Kenichi Handa <handa@m17n.org>
22284
22285 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
22286
22287 * international/encoded-kb.el: Deleted.
22288
22289 * international/mule.el (set-keyboard-coding-system): Perform the
22290 necessary setup here instead of calling encoded-kbd-setup-display.
22291
22292 2009-07-01 Glenn Morris <rgm@gnu.org>
22293
22294 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
22295
22296 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
22297
22298 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
22299
22300 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
22301
22302 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
22303 Handle also the 'rename case, when setting file modes. (Bug#3712)
22304 (tramp-default-file-modes): Remove execute permissions.
22305
22306 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
22307 (top): Add a default for "synce" in `tramp-default-user-alist'.
22308 Add completion function for "synce" method.
22309 (tramp-hal-service, tramp-hal-path-manager)
22310 (tramp-hal-interface-manager, tramp-hal-interface-device):
22311 New defconst.
22312 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
22313 (tramp-synce-list-devices, tramp-synce-parse-device-names):
22314 New defuns.
22315
22316 * net/trampver.el: Update release number.
22317
22318 2009-06-30 Kenichi Handa <handa@m17n.org>
22319
22320 * international/fontset.el (setup-default-fontset): Add CJK fonts
22321 for symbols and the other miscellaneous characters.
22322
22323 * language/korea-util.el (setup-korean-environment-internal):
22324 Make char-width-table suitable for Korean environments.
22325 (exit-korean-environment): Cancel above.
22326
22327 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
22328 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
22329 setup-function to make char-width-table suitable for respective
22330 environments, and an exit-function to cancel that.
22331
22332 * language/japan-util.el (setup-japanese-environment-internal):
22333 Call use-cjk-char-width-table with arg `ja_JP'.
22334
22335 * international/characters.el (cjk-char-width-table): Delete it.
22336 (cjk-char-width-table-list): New variable.
22337 (use-cjk-char-width-table): New arg local-name.
22338 (use-default-char-width-table): Fix for the case that Emacs is
22339 already using the default char-width-table.
22340
22341 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
22342
22343 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
22344 modes mandatory. (Bug#3712)
22345
22346 2009-06-29 Alan Mackenzie <acm@muc.de>
22347
22348 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
22349 correction between the visible width of TABs and their number of bytes.
22350
22351 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
22352
22353 * server.el (server-buffer-done): Prevent kill-buffer from
22354 prompting by clearing the buffer modification flag (Bug#3696).
22355
22356 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
22357
22358 * progmodes/verilog-mode.el (verilog-beg-of-statement)
22359 (verilog-endcomment-reason-re): Support unique case and priority case.
22360 (verilog-basic-complete-re): Support localparam lineup.
22361 (verilog-beg-of-statement-1): Fix for robustness, unique case.
22362 (verilog-set-auto-endcomments): Fix for unique case, always_comb
22363 commenting.
22364 (verilog-leap-to-case-head): Now support *nested* unique &
22365 priority case statements.
22366 (verilog-auto-lineup): Make just declarations the default (as it
22367 had been).
22368 (verilog-leap-to-case-head): Support priority/unique case statements.
22369 (verilog-auto-lineup): Rework to give users radio buttons to
22370 select the various styles of automatic lineup.
22371 (verilog-error-regexp-alist): Rework to support the XEmacs style
22372 of error regular expressions from compilers, lint tools &
22373 simulators. Note that GNU Emacs has made it impossible for a mode
22374 to load such things.
22375 (electric-verilog-terminate-line, verilog-indent-declaration)
22376 (verilog-auto-wiure): Rework for radio button selection of
22377 auto-lineup selection of specification of auto lineup.
22378 (verilog-beg-of-statement-1): Redesign to support proper operation
22379 in additional code, based on testing with auto-lineup.
22380 (verilog-calculate-indent, assignments & declarations)
22381 (verilog-backward-token): Enhance to support auto-lineup of
22382 assignments & declarations.
22383 (verilog-in-directive-p, verilog-at-struct-p): New function for
22384 easy test of whether we are.
22385 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
22386 to support safe execution at almost anyline.
22387 (verilog-calc-1): Properly support indenting deep inside generate
22388 blocks.
22389 (verilog-init-font): Remove definition & use of verilog-init-font,
22390 as it is redundant with font-lock-defaults.
22391 (verilog-mode): Alter the definition of verilog-font-lock-defaults
22392 to avoid circular calls if syntax-ppss is a function (as is the
22393 case now in 22.x GNU Emacs) as that function would sometimes call
22394 itself, leading to (nearly) infinite recursion.
22395 (verilog-ovm-begin-re, verilog-ovm-end-re)
22396 (verilog-ovm-statement-re, verilog-leap-to-head)
22397 (verilog-backward-token): Add support for OVM macros. Some are
22398 complete statements, and others open and close scopes like begin
22399 and end.
22400 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
22401 (verilog-defun-level-generate-only-re): Really fix the defun-list
22402 compilation issue.
22403 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
22404 coverpoint, constraint and cross statements.
22405 (verilog-defun-level-list, verilog-generate-defun-level-list)
22406 (verilog-all-defun-level-list): Redo these specifications - it is
22407 too hard to support eval-when compile aggregation of lists also
22408 built at when-compile time.
22409 (verilog-defun-level-list): Place defconsts of variables used in
22410 building regular expressions which are built in eval-when-compile
22411 bodies in the same eval-when-compile body to facilitate compile
22412 without load.
22413 (verilog-beg-block-re-ordered): Support indenting
22414 virtual/protected tasks and functions.
22415 (verilog-defun-level-list, verilog-in-generate-region-p)
22416 (verilog-backward-ws&directives, verilog-calc-1): Speed up
22417 indentation of some module items (generate items).
22418 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
22419 across virtual/protected tasks and functions.
22420
22421 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
22422
22423 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
22424 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
22425 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
22426 in concatenations. Reported by Yishay Belkind.
22427 (verilog-auto-ascii-enum): Support one-hot state machines in
22428 AUTOASCIIENUM. Suggested by Lloyd Gomez.
22429 (verilog-auto-inst, verilog-auto-inst-port): Include interface
22430 modport in AUTOINST and add vl-modport for users.
22431 Reported by David Rogoff.
22432 (verilog-auto-inout-module, verilog-auto-inst)
22433 (verilog-decls-get-interfaces, verilog-insert-definition)
22434 (verilog-insert-one-definition, verilog-read-decls)
22435 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
22436 (verilog-sig-modport, verilog-signals-combine-bus)
22437 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
22438 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
22439 Suggested by David Rogoff.
22440 (verilog-repair-open-comma): Fix non-insertion of comma when
22441 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
22442 (verilog-make-width-expression): Simplify [A-1:0] expression
22443 widths to just {A{1'b0}}.
22444 (verilog-mode): Cleanup checkdoc warnings.
22445 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
22446 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
22447 inputs/outputs or data type. Suggested by Vasu Kandadi.
22448 (next-error-last-buffer): Fix byte-compiler warning.
22449 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
22450 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
22451 or shell command text during AUTO expansion. Suggested by Tad Truex.
22452 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
22453 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
22454 Fix dotted nets {a.b,c.d} and escaped identifiers being mis-included
22455 in AUTOINOUT. Reported by Matthew Lovell.
22456 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
22457 causing use of <= assignments. Reported by Alex Reed.
22458 (verilog-read-decls): Fix triand, trior, wand, wor to be
22459 recognized by AUTOWIRE. Reported by Spencer Isaacson.
22460 (verilog-extended-complete-re): Support import "DPI-C" functions.
22461 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
22462 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
22463 (verilog-insert-date, verilog-insert-year)
22464 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
22465 Windows systems. Reported by Michael Potts.
22466 (verilog-read-module-name): Fix AUTOINST when the child module
22467 declaration's name is a tick define. Reported by Elliot Mednick.
22468 (verilog-read-decls): Fix V2K parameter bit subscripts getting
22469 passed to next parameter's definition. Reported by Bruce T.
22470 (verilog-read-decls): Fix detecting "parameter int" when using
22471 AUTOINSTPARAM. Reported by Bruce T.
22472 (verilog-goto-defun): Fix goto not finding modules unless first
22473 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
22474 (verilog-mode): Expand -f flag arguments on entry to mode so
22475 verilog-goto-defun will work. Reported by Lawrence Butcher.
22476 (verilog-getopt): Expand environment variables in -f file
22477 arguments. Suggested by Lawrence Butcher.
22478 (verilog-set-define): Fix "Symbol's value as variable is void"
22479 when reading enumerations.
22480 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
22481 Suggested by Stephen Peltan.
22482 (verilog-read-defines): Fix reading of enumerations in include
22483 files. Reported by Steve Peltan.
22484
22485 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
22486
22487 * files.el (trash-directory): Fix defcustom type.
22488
22489 2009-06-28 Juri Linkov <juri@jurta.org>
22490
22491 * help-fns.el (describe-function-1): Correctly locate adviced
22492 functions in hyperlink (Bug#2438).
22493
22494 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
22495
22496 * files.el (trash-directory): Change default to nil.
22497 (move-file-to-trash): If trash-directory is nil and
22498 system-move-file-to-trash is unbound, perform freedesktop-style
22499 trashing.
22500
22501 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
22502
22503 * files.el (move-file-to-trash): Add freedesktop trash
22504 support (Bug#973).
22505
22506 2009-06-28 Glenn Morris <rgm@gnu.org>
22507
22508 * autorevert.el (global-auto-revert-non-file-buffers)
22509 (global-auto-revert-mode): Doc fixes.
22510
22511 2009-06-27 Johan Bockgård <bojohan@gnu.org>
22512
22513 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
22514
22515 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
22516
22517 * faces.el (x-handle-named-frame-geometry): Ensure that we have
22518 opened an X connection before calling x-get-resource (Bug#3194).
22519
22520 * play/doctor.el: Remove reference to obsolete website.
22521 (make-doctor-variables): Correct grammar mistake (Bug#2633).
22522
22523 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
22524
22525 Remove find-file-not-found-hook VC method. (Bug#2757)
22526 * vc-hooks.el (vc-file-not-found-hook)
22527 (vc-default-find-file-not-found-hook): Remove functions.
22528 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
22529 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
22530 * vc.el:
22531 * vc-hg.el:
22532 * vc-git.el: Do not mention find-file-not-found-hook VC method.
22533
22534 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
22535
22536 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
22537 compatibility function for `looking-back'.
22538
22539 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
22540 Use `ispell-looking-back'.
22541
22542 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
22543
22544 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
22545 rather than `filename'.
22546
22547 2009-06-23 Miles Bader <miles@gnu.org>
22548
22549 * face-remap.el (text-scale-set): New function.
22550
22551 2009-06-23 Glenn Morris <rgm@gnu.org>
22552
22553 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
22554
22555 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
22556
22557 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
22558
22559 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
22560
22561 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
22562 Simplify Persian conditionals.
22563
22564 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
22565 variable `filename'.
22566
22567 * comint.el (comint-insert-input): Doc fix.
22568
22569 * Makefile.in (ELCFILES): Fix typo in previous change.
22570
22571 2009-06-23 Miles Bader <miles@gnu.org>
22572
22573 * cus-start.el: Add entry for `recenter-redisplay'.
22574
22575 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
22576
22577 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
22578 Add an optional argument for the backend, use it instead of
22579 calling vc-backend.
22580 (vc-mode-line): Add an optional argument for the backend.
22581 Pass the backend to vc-state and vc-working-revision. Move code for
22582 special handling for vc-state being a buffer to ...
22583
22584 * vc-rcs.el (vc-rcs-find-file-hook):
22585 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
22586
22587 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
22588 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
22589 vc-stay-local-p and vc-mode-line calls.
22590
22591 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
22592 (vc-cvs-diff, vc-cvs-annotate-command)
22593 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
22594 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
22595 vc-mode-line calls.
22596
22597 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
22598 direct comparison.
22599 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
22600 backend when calling vc-mode-line.
22601 (vc-register): Do not create a closure for calling the vc register
22602 function, call it directly.
22603
22604 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
22605
22606 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
22607 to make it obvious item can be clicked.
22608
22609 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
22610
22611 2009-06-23 Kenichi Handa <handa@m17n.org>
22612
22613 * language/korea-util.el (korean-key-bindings): Change the binding
22614 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
22615 same command.
22616
22617 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
22618
22619 Sync with Tramp 2.1.16.
22620
22621 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
22622
22623 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
22624 when a loading of a package fails. Completion function for rsync
22625 is `tramp-completion-function-alist-ssh'.
22626 (all): Replace all calls of `split-string' and
22627 `tramp-split-string' by `tramp-compat-split-string'.
22628 (tramp-default-method): Use `tramp-compat-process-running-p'.
22629 (tramp-default-proxies-alist): Allow also Lisp forms.
22630 (tramp-remote-path): Add choice "Private Directories".
22631 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
22632 (tramp-domain-regexp): Allow also "-", "_" and ".".
22633 (tramp-end-of-output): Remove newlines, and add "$" at the end.
22634 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
22635 (tramp-debug-message): Insert header line in debug buffer.
22636 (tramp-handle-directory-files-and-attributes-with-stat):
22637 Care about filenames with spaces, or starting with "-".
22638 (tramp-handle-dired-uncache): New defun.
22639 (tramp-handle-insert-directory): Don't flush the directory from
22640 cache, this is handled by `dired-uncache' now.
22641 (tramp-handle-insert-file-contents): Improve error handling.
22642 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
22643 Quote `tramp-end-of-output'.
22644 (tramp-action-password): Improve trace message.
22645 (tramp-check-for-regexp): Both echoes must be present, before removing.
22646 (tramp-open-connection-setup-interactive-shell): Trace coding system.
22647 (tramp-compute-multi-hops): Eval cons cells of
22648 `tramp-default-proxies-alist'.
22649 (tramp-maybe-open-connection): Use the same command pattern for
22650 first hop and further hops.
22651 (tramp-wait-for-output): Remove handling of newlines.
22652 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
22653 (tramp-split-string): Remove function. It is handled in
22654 tramp-compat now.
22655
22656 * net/tramp-cmds.el (tramp-bug):
22657 Recommend `tramp-cleanup-all-connections' in the bug mail.
22658
22659 * net/tramp-compat.el (tramp-compat-split-string)
22660 (tramp-compat-process-running-p): New defuns.
22661
22662 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
22663 for `dired-uncache'.
22664
22665 * net/tramp-gvfs.el: New package.
22666
22667 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
22668 Add handler for `dired-uncache'.
22669 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
22670
22671 * net/trampver.el: Update release number. Make version check fit
22672 for SXEmacs 22.
22673
22674 2009-06-22 Jim Meyering <meyering@redhat.com>
22675
22676 Automatically handle .xz suffix (XZ-compressed files), too.
22677 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
22678 XZ is the successor to LZMA: <http://tukaani.org/xz/>
22679
22680 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
22681 Nick Roberts <nickrob@snap.net.nz>
22682
22683 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
22684 repository (http://sphinx.net.ru/hg/gdb-mi/).
22685
22686 2009-06-22 Glenn Morris <rgm@gnu.org>
22687
22688 * files.el (dir-locals-collect-mode-variables): Allow for any number of
22689 `mode' and `eval' entries. (Bug#3430)
22690
22691 * Makefile.in (ELCFILES): Add fadr.elc.
22692
22693 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
22694 differing behavior of \n and ^ in strings. (Bug#3385)
22695
22696 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
22697
22698 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
22699 property.
22700 (lisp-indent-function): Make it a defcustom.
22701
22702 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
22703
22704 * progmodes/gdb-ui.el: Replace with ...
22705 * progmodes/gdb-mi.el: ... this file.
22706 * progmodes/gud.el: Modify for gdb-mi.el.
22707
22708 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
22709
22710 * fadr.el: New file.
22711
22712 See ChangeLog.14 for earlier changes.
22713
22714 ;; Local Variables:
22715 ;; coding: utf-8
22716 ;; End:
22717
22718 Copyright (C) 2009-2011 Free Software Foundation, Inc.
22719
22720 This file is part of GNU Emacs.
22721
22722 GNU Emacs is free software: you can redistribute it and/or modify
22723 it under the terms of the GNU General Public License as published by
22724 the Free Software Foundation, either version 3 of the License, or
22725 (at your option) any later version.
22726
22727 GNU Emacs is distributed in the hope that it will be useful,
22728 but WITHOUT ANY WARRANTY; without even the implied warranty of
22729 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22730 GNU General Public License for more details.
22731
22732 You should have received a copy of the GNU General Public License
22733 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.