]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
Merge: gnulib: allow multiple gnulib generated replacements to coexist
[gnu-emacs] / lisp / ChangeLog
1 2011-02-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2
3 * net/rcirc.el (rcirc-handler-317): New function (Bug#6507).
4
5 2011-02-06 Jay Belanger <jay.p.belanger@gmail.com>
6
7 * calc/calc.el (calc-logunits-field-reference) Renamed from
8 `calc-default-field-reference-level'.
9 (calc-logunits-power-reference): Renamed from
10 `calc-default-power-reference-level'
11
12 * calc/calc-units.el (math-logunits-quant): Renamed from
13 `math-logunits-level'
14 (math-logunits-plus): Renamed from math-logcombine.
15 (calcFunc-luplus, calcFunc-luminus calc-luplus, calc-luminus): Remove.
16 (calcFunc-lufieldadd, calcFunc-lupoweradd, calcFunc-lufieldsub)
17 (calcFunc-lufieldsub,calc-logunits-add calc-logunits-sub):
18 New functions.
19 (calcFunc-fieldquant): Renamed from `calcFunc-fieldlevel'.
20 (calcFunc-powerquant): Renamed from `calcFunc-powerlevel'.
21 (calc-logunits-quantity): Renamed from `calc-level'.
22 (calcFunc-dbfieldlevel, calcFunc-dbpowerlevel, calcFunc-npfieldlevel)
23 (calcFunc-nppowerlevel,calc-logunits-dblevel, calc-logunits-nplevel)
24 (math-logunits-mul, calcFunc-lufieldmul, calcFunc-lupowermul)
25 (calc-logunits-mul, math-logunits-divide, calcFunc-lufielddiv)
26 (calcFunc-lupowerdiv,calc-logunits-divide,math-logunits-level):
27 New functions.
28
29 * calc/calc-help.el (calc-u-prefix-help): Removed "L" reference.
30 (calc-ul-prefix-help): Remove.
31 (calc-l-prefix-help): New function.
32 (calc-full-help): Add reference to `calc-l-prefix-help'.
33
34 * calc/calc-ext.el (calc-init-extensions): Update autoloads.
35
36 * calc/README: Mention logarithmic units.
37
38 2011-02-06 Chong Yidong <cyd@stupidchicken.com>
39
40 * mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
41 non-ASCII characters (Bug#7925).
42
43 2011-02-05 Glenn Morris <rgm@gnu.org>
44
45 * emacs-lisp/cl-macs.el (return-from): Fix doc typo.
46
47 * calendar/diary-lib.el (diary-font-lock-keywords):
48 Tweak diary-time-regexp match. (Bug#7891)
49
50 * progmodes/f90.el (f90-find-tag-default): New function. (Bug#7919)
51 (f90-mode): Use it for mode's `find-tag-default-function' property.
52
53 * ibuf-ext.el (ibuffer-filter-disable): Make it work. (Bug#7969)
54
55 * faces.el (set-face-attribute): Doc fix. (Bug#2659)
56
57 2011-02-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
58
59 * net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
60 (Bug#6386).
61
62 2011-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
63
64 * progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the
65 font-lock-syntax-table remappings.
66 (sh-here-doc-markers, sh-here-doc-re): Remove.
67 (sh-font-lock-close-heredoc): Remove.
68 (sh-syntax-propertize-here-doc): New function.
69 (sh-font-lock-open-heredoc): Set the sh-here-doc-marker property
70 instead of the sh-here-doc-re.
71 (sh-font-lock-paren): Don't do anything in comments or strings.
72 Handle line continuations. Accept a few more chars.
73 Don't rely on the font-lock-syntax-table remappings.
74 `esac' is not a valid pattern.
75 (sh-syntax-propertize-function): Handle here-docs differently, so we
76 don't bother syntax-propertizing the insides.
77
78 * progmodes/sh-script.el (sh-font-lock-paren, sh-kw, sh-prev-thing):
79 Handle new bashisms ";&" and ";;&" (bug#7947).
80
81 2011-02-05 Michael Albinus <michael.albinus@gmx.de>
82
83 * net/tramp-smb.el (tramp-smb-errors): Use `regexp-opt'.
84 Add "NT_STATUS_IO_TIMEOUT" and "NT_STATUS_NO_SUCH_USER".
85
86 2011-02-05 Era Eriksson <era+tramp@iki.fi> (tiny change)
87
88 * net/tramp.el (tramp-postfix-method-format)
89 (tramp-postfix-method-regexp, tramp-prefix-domain-format)
90 (tramp-prefix-domain-regexp, tramp-postfix-user-format)
91 (tramp-postfix-user-regexp, tramp-prefix-port-format)
92 (tramp-prefix-port-regexp, tramp-postfix-host-format)
93 (tramp-postfix-host-regexp, tramp-handle-substitute-in-file-name):
94 Doc fix.
95
96 2011-02-04 Sam Steingold <sds@gnu.org>
97
98 * mouse.el (mouse-buffer-menu-mode-groups): Add a "GDB" group.
99
100 2011-02-04 Andreas Schwab <schwab@linux-m68k.org>
101
102 * international/mule-util.el (with-coding-priority): Doc fix.
103
104 2011-02-04 Eli Zaretskii <eliz@gnu.org>
105
106 * arc-mode.el (archive-mode-map): Fix a typo in last change.
107
108 2011-02-03 Sam Steingold <sds@gnu.org>
109
110 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
111 Do not error out when `func' is nil.
112
113 2011-02-03 Michael Albinus <michael.albinus@gmx.de>
114
115 * net/tramp-sh.el (tramp-remote-path): Add default settings for
116 `tramp-default-remote-path' to the docstring.
117 (tramp-get-remote-path): Suppress error message when `getconf
118 PATH' fails.
119
120 * net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL".
121
122 2011-02-03 Glenn Morris <rgm@gnu.org>
123
124 * vc/vc-hg.el (vc-hg-command): Doc fix.
125
126 * term/w32-win.el (libpng-version): Declare for compiler.
127
128 * msb.el: No need to load dired while compiling.
129
130 * emacs-lisp/elint.el (elint-standard-variables):
131 Remove a couple of built-ins that now have doc-strings.
132
133 * hi-lock.el, ps-bdf.el, ps-mule.el, ps-print.el, ps-samp.el:
134 `require' is automatically `eval-and-compile'd.
135
136 * net/rcirc.el (rcirc-nick-completion-format): Add :version tag.
137 (rcirc-log-directory, rcirc-log-flag): Move definitions before use.
138
139 * strokes.el (strokes-fill-current-buffer-with-whitespace):
140 Move definition before use.
141 (strokes-report-bug): Make it obsolete.
142
143 2011-02-02 Sam Steingold <sds@gnu.org>
144
145 * apropos.el (apropos-print): Now that `apropos-mode' inherits
146 from `special-mode', entering it makes the buffer read-only, so
147 call it only when everything has been already inserted.
148 * emacs-lisp/ert.el (ert--setup-results-buffer)
149 (ert-results-pop-to-backtrace-for-test-at-point)
150 (ert-results-pop-to-messages-for-test-at-point)
151 (ert-results-pop-to-timings): Ditto.
152 * emacs-lisp/package.el (package--list-packages): Ditto.
153 * play/solitaire.el (solitaire): Ditto.
154
155 2011-02-02 Chong Yidong <cyd@stupidchicken.com>
156
157 * progmodes/compile.el: Make all faces inherit.
158 (compilation-warning): Inherit from font-lock-variable-name-face.
159 (compilation-info): Inherit from font-lock-type-face.
160 (compilation-line-number): Reassign to font-lock-keyword-face.
161 (compilation-column-number): Reassign to font-lock-doc-face.
162 (compilation-leave-directory-face): Reassign to
163 font-lock-builtin-face.
164
165 2011-02-02 Eli Zaretskii <eliz@gnu.org>
166
167 * dired.el (dired-insert-directory): Don't invoke `ls' when
168 ls-lisp.el is used to emulate it.
169
170 2011-02-01 Julien Danjou <julien@danjou.info>
171
172 * color.el (color-gradient): Add a color-gradient function.
173
174 2011-02-01 Sam Steingold <sds@gnu.org>
175
176 * simple.el (special-mode-map): Bind "h" to `describe-mode';
177 bind "z" to `kill-this-buffer'.
178 (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
179 * apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
180 (apropos-mode): Inherit from `special-mode'.
181 * arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
182 * bookmark.el (bookmark-bmenu-mode): Define using
183 `define-derived-mode' inheriting from `special-mode'.
184 * dired.el (dired-mode-map): Inherit from `special-mode-map'.
185 * image-mode.el (image-mode-map): Ditto.
186 * replace.el (occur-mode): Define using
187 `define-derived-mode' inheriting from `special-mode'.
188 * tar-mode.el (tar-mode): Inherit from `special-mode'.
189 * calendar/diary-lib.el (diary-fancy-display-mode):
190 Inherit from `special-mode-map'.
191 * emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
192 Inherit from `special-mode'.
193 * emacs-lisp/package.el (package-menu-mode-map): Copy from
194 `special-mode-map'.
195 (package-menu-mode): Define using `define-derived-mode'
196 inheriting from `special-mode'.
197 * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
198 * net/xesam.el (xesam-mode): Inherit from `special-mode'.
199 (xesam-mode-map): Define separately.
200 * play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
201 * progmodes/compile.el (compilation-minor-mode-map)
202 (compilation-mode-map): Inherit from `special-mode-map'.
203 * vc/diff-mode.el (diff-mode-shared-map):
204 Inherit from `special-mode-map'.
205 * vc/log-view.el (log-view-mode-map): Add a comment.
206
207 2011-02-01 Chong Yidong <cyd@stupidchicken.com>
208
209 * custom.el (load-theme): Define return value. Drop use of
210 unsafep; call custom-theme-load-confirm for non-known-safe themes.
211 (custom-theme-load-confirm): Scroll in the correct window.
212 (custom-enabled-themes): Add custom-safe-themes to :set-after.
213
214 * cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
215 checkbox if load-theme fails.
216
217 2011-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
218
219 * progmodes/compile.el (compilation-next-error): Check there's
220 a message before using it (bug#7941).
221
222 2011-02-01 Jay Belanger <jay.p.belanger@gmail.com>
223
224 * calc/calc-mtx.el (math-lud-pivot-check): New function.
225 (math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
226 of potential pivots.
227
228 2011-01-31 Alan Mackenzie <acm@muc.de>
229
230 * progmodes/cc-cmds.el (c-forward-over-illiterals):
231 Continue parsing if we encounter a naked # (Bug#7595).
232 (c-beginning-of-statement): Avoid loop in locating the beginning
233 of a macro.
234
235 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
236
237 * files.el (copy-directory): Fix arguments to recursive call.
238
239 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
240
241 * files.el (copy-directory): If destination is an existing
242 directory, copy into a subdirectory there.
243
244 2011-01-31 Andreas Schwab <schwab@linux-m68k.org>
245
246 * emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
247 files.
248
249 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
250
251 * image-dired.el (image-dired-mouse-display-image): No-op if no
252 file is found (Bug#7817).
253
254 * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
255
256 2011-01-31 Kenichi Handa <handa@m17n.org>
257
258 * international/quail.el (quail-keyboard-layout-alist):
259 Remove superfluous SPC for "pc105-uk" (bug#7927).
260
261 2011-01-31 Glenn Morris <rgm@gnu.org>
262
263 * msb.el (msb-menu-bar-update-buffers): Update for changed
264 argument handling of menu-bar-select-frame. (Bug#7902)
265
266 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
267
268 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
269 to the recursion depth (Bug#7722).
270
271 2011-01-31 Roy Liu <carsomyr@gmail.com> (tiny change)
272
273 * term/ns-win.el (ns-find-file): Expand ns-input-file with
274 command-line-default-directory (Bug#7872).
275
276 2011-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
277
278 * progmodes/compile.el (compilation--flush-directory-cache):
279 New function, extracted from compilation--remove-properties.
280 (compilation--remove-properties, compilation--parse-region): Use it.
281 (compilation--previous-directory): Handle one more case.
282 (compilation-enable-debug-messages): Remove.
283 (compilation-parse-errors, compilation--flush-parse): Just remove the
284 left over debug messages.
285
286 2011-01-31 Sam Steingold <sds@gnu.org>
287
288 * progmodes/compile.el (compilation-enable-debug-messages):
289 Add a variable to make the parsing messages introduced in
290 2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
291 (compilation-parse-errors, compilation--flush-parse): Use it.
292
293 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
294
295 * net/rcirc.el: New customizable nick completion format. (Bug#6314)
296 (rcirc-nick-completion-format): New defcustom.
297 (rcirc-complete): Use it.
298
299 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
300
301 * net/rcirc.el: Clean log filenames (Bug#7933).
302 (rcirc-log-write): Use convert-standard-filename.
303 (rcirc-log-filename-function): Documentation updates.
304
305 2011-01-30 Jan Djärv <jan.h.d@swipnet.se>
306
307 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
308 Check report-emacs-bug-can-use-osx-open and use that if t.
309 (report-emacs-bug-can-use-osx-open): New function.
310 (report-emacs-bug): Rename can-xdg-email to can-insert-mail.
311 Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
312
313 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
314
315 * vc/vc-dispatcher.el (vc-set-async-update): New function for
316 updating Dired or VC-dir buffers after async command completes.
317
318 * vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
319 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
320
321 * vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
322 completions if it exists. Use vc-set-async-update.
323 (vc-git-pull): Use vc-set-async-update.
324
325 * vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
326 read-shell-command. Use vc-set-async-update.
327 (vc-hg-merge-branch): Use vc-set-async-update.
328
329 2011-01-29 Daiki Ueno <ueno@unixuser.org>
330
331 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
332 Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
333 (Bug#7931).
334
335 2011-01-29 Stefan Monnier <monnier@iro.umontreal.ca>
336
337 * progmodes/compile.el: Avoid an N² behavior in grep.
338 (compilation--previous-directory): New fun.
339 (compilation--previous-directory-cache): New var.
340 (compilation--remove-properties): Flush it.
341 (compilation-directory-properties, compilation-error-properties):
342 Use the new fun to speed up looking for the current directory.
343
344 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
345
346 * vc/vc-hg.el (vc-hg-history): New var.
347 (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
348 (vc-hg-merge-branch): New function.
349
350 * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
351 the other way around.
352
353 * vc/vc-git.el (vc-git-branches, vc-git-pull)
354 (vc-git-merge-branch): New functions.
355 (vc-git-history): New var.
356
357 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
358
359 * vc/vc-dispatcher.el (vc-do-async-command): New function.
360
361 * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
362 vc-do-async-command.
363
364 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
365 Callers changed.
366
367 2011-01-28 Leo <sdl.web@gmail.com>
368
369 * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
370 highlighting to the "this function is advised" message.
371
372 * help-mode.el (help-mode-finish): Apply highlighting here, to
373 avoid clobbering by substitute-command-keys (Bug#6304).
374
375 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
376
377 * woman.el (woman0-roff-buffer): Process roff escape sequences
378 occurring prior to the first request (Bug#7843).
379
380 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
381
382 * progmodes/compile.el: Don't use font-lock any more.
383 (compilation-error-regexp-alist-alist): Change handling of makepp
384 so it preserves the warning/error distinction on subsequent files.
385 Simplify various rules.
386 (compilation-directory-properties): Use font-lock-face.
387 Add a compilation-message property.
388 (compilation-internal-error-properties): Use font-lock-face.
389 Don't set the compilation-debug property here.
390 (compilation--put-prop, compilation--remove-properties)
391 (compilation--parse-region, compilation--ensure-parse)
392 (compilation--ensure-parse): New functions.
393 (compilation-parse-errors): New function, largely inspired of
394 compilation-mode-font-lock-keywords. Set compilation-debug here.
395 (compilation--parsed): New var.
396 (compilation--flush-parse): Use compilation--ensure-parse.
397 (compilation-start): Don't call font-lock.
398 (compilation-turn-on-font-lock): Remove.
399 (compilation-setup): Don't set font-lock-extra-managed-props not change
400 other font-lock settings, other than keywords.
401 Don't activate font-lock-mode.
402 Set change-major-mode-hook and before-change-functions.
403 (compilation--unsetup): Remove properties and hooks.
404 (compilation-next-single-property-change): New function.
405 (compilation-next-error): Use it to parse when needed.
406 (compile-goto-error): Parse buffer as needed.
407 (compilation--compat-error-properties): Don't need a dummy `face'
408 property any more.
409
410 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
411
412 * progmodes/compile.el: Use accessors for clarity and fix omake hack.
413 (compilation-process-setup-function): Fix docstring's false promises.
414 (compilation-error-regexp-alist-alist): Catch omake's continuous
415 recompilation message and avoid reuse of old markers.
416 (compilation-parse-errors-function): Declare obsolete.
417 (compilation-buffer-modtime): Remove.
418 (compilation--make-cdrloc, compilation--loc->col)
419 (compilation--loc->line, compilation--loc->file-struct)
420 (compilation--loc->marker, compilation--loc->visited)
421 (compilation--make-file-struct, compilation--file-struct->file-spec)
422 (compilation--file-struct->formats)
423 (compilation--file-struct->loc-tree): New macros. Use them.
424 (compilation--message): New defstruct. Use them.
425 (compilation-next-error-function): Don't mess with timestamps to try
426 and guess when to reparse.
427
428 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
429
430 * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
431 (tex-old-error-file-name): New function,
432 extracted from tex-compilation-parse-errors.
433 (tex-compilation-parse-errors): Remove.
434 (tex-error-regexp-alist): New var.
435 (tex-shell): Use it to avoid compilation-parse-errors-function.
436
437 * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
438 (grep-mode-font-lock-keywords): Remove regexp that seems like
439 a left-over from before we used compile.el.
440 (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
441 modifying the buffer within with-silent-modifications.
442
443 * progmodes/compile.el: Cleanup text-properties namespace by using
444 `compilation-message' instead of `message', `compilation-directory'
445 instead of `directory', and `compilation-debug' instead of `debug'.
446 (compilation-last-buffer, compilation-parsing-end)
447 (compilation-error-list, compilation-old-error-list): Move to the
448 compatibility part of the code.
449 (compilation-error-properties): If `file' is a function, let it return
450 a file name.
451 (compilation-mode-font-lock-keywords): Be more conservative with the
452 omake "^ *" pattern prefix, to try and minimize the risk of
453 pathologically slow regexp matching.
454 (compilation-start): Use inhibit-read-only.
455 (compilation--unsetup): New function.
456 (compilation-shell-minor-mode, compilation-minor-mode): Use it.
457 (compilation-filter): Minor tweaks.
458 (compilation-next-error-function): Try and avoid abusing variables.
459 (compilation--flush-file-structure): New fun.
460 (compilation-fake-loc): Use it to improve behavior when file is reused.
461 (debug-ignored-errors): Add "Moved past last ...".
462 (compilation--compat-error-properties)
463 (compilation--compat-parse-errors): Rename by doubling the "-".
464
465 Port features from the previous prolog.el to the new one.
466 * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
467 (prolog-program-name, prolog-program-switches, prolog-consult-string)
468 (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
469 variable and use a function to compute the value dynamically.
470 (prolog-prompt-regexp): Add regexp for GNU Prolog.
471 (prolog-continued-prompt-regexp): Remove, unused.
472 (prolog-find-value-by-system): Try and use the value of prolog-system
473 in the *prolog* buffer if it helps.
474 (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
475 (prolog-zip-on): ..and check prolog-system and version here instead.
476 (prolog-inferior-self-insert-command): New command.
477 (prolog-inferior-mode-map): Use it.
478 (prolog-inferior-error-regexp-alist): New var.
479 (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
480 (prolog-input-filter): Use derived-mode-p.
481 (prolog-inferior-guess-flavor): New function.
482 (prolog-ensure-process): Use it. Use make-comint-in-buffer rather than
483 make-comint to avoid running comint-mode twice.
484 (prolog-inferior-buffer): New fun.
485 (prolog-old-process-region, prolog-old-process-file):
486 Don't call prolog-bsts here...
487 (prolog-build-prolog-command): ...do it here instead.
488 (prolog-old-process-region, prolog-old-process-file):
489 Use compilation-fake-loc and compilation-forget-errors.
490 (prolog-consult-compile-region): Use bolp.
491
492 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
493
494 * image-mode.el (image-display-size): Doc fix (Bug#7820).
495
496 2011-01-27 Sam Steingold <sds@gnu.org>
497
498 * midnight.el (clean-buffer-list-kill-never-buffer-names):
499 Remove "*server*" which is never created by emacs server.
500
501 2011-01-27 Deniz Dogan <deniz.a.m.dogan@gmail.com>
502
503 * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
504 there are some diff switches.
505
506 2011-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
507
508 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
509 Copy change made to ruby-font-lock-syntactic-keywords.
510
511 * htmlfontify.el: Make it obey the font-lock-face text property.
512 Miscellaneous cleanup such as:
513 - Don't hide expressions after a closing paren.
514 - Move initial setq into let.
515 - Hoist common parts out of ifs.
516 (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
517 (hfy-face-at): Use get-text-property instead.
518 (hfy-prop-invisible-p): Use invisible-p if available.
519 (htmlfontify-manual): Use \\[...].
520 (hfy-html-quote-regex): Use [...].
521 (hfy-combined-face-spec): Simplify.
522 (hfy-compile-face-map): Don't presume point-min==1.
523 (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
524 match end of string.
525 (hfy-text-p): η-reduce.
526 (hfy-tags-for-file): Receive cache-hash directly.
527 (hfy-mark-tag-names): Adjust call.
528
529 2011-01-27 Glenn Morris <rgm@gnu.org>
530
531 * msb.el (msb-after-load-hooks): Make it an obsolete alias.
532 (msb-after-load-hook): Remove eval-after-load wackiness.
533
534 2011-01-25 Sam Steingold <sds@gnu.org>
535
536 * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
537 literal "diff" (important for windows-nt).
538
539 2011-01-25 Glenn Morris <rgm@gnu.org>
540
541 * emacs-lisp/copyright.el (copyright-at-end-flag)
542 (copyright-names-regexp): Add safety properties.
543 (copyright-year-ranges): New option.
544 (copyright-find-end): New function, split from copyright-update-year.
545 (copyright-update-year): Use copyright-find-end.
546 (copyright-fix-years): Optionally, convert years to ranges.
547 Handle years continued over comment lines.
548 Do not mess with the fill-prefix.
549 Do not call copyright-update.
550 (copyright-update-directory): Optionally, fix years rather than update.
551 Skip directories. Find files with only safe local vars.
552
553 2011-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
554
555 * files.el (file-name-non-special): Only change buffer-file-name after
556 insert-file-contents if it's `visit'ing the file (bug#7854).
557
558 2011-01-25 Chong Yidong <cyd@stupidchicken.com>
559
560 * dired.el (dired-revert): Doc fix (Bug#7758).
561
562 * simple.el (line-move-visual): Doc fix (Bug#7594).
563
564 2011-01-25 Nobuyoshi Nakada <nobu@ruby-lang.org>
565
566 * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
567 here-doc which ends with an underscore.
568 (ruby-mode-set-encoding): Skip shebang line always.
569 (ruby-mode-map): Bind C-c C-c to comment-region.
570 (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
571 (ruby-forward-sexp): Stop after literal hash key labels.
572 (ruby-font-lock-syntactic-keywords): Highlight regexp after open
573 bracket.
574
575 2011-01-25 Keitaro Miyazaki <keitaro.miyazaki@gmail.com> (tiny change)
576
577 * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
578 the correct buffer (Bug#7650).
579
580 2011-01-25 Glenn Morris <rgm@gnu.org>
581
582 * comint.el (comint-mode): Doc fix. (Bug#7897)
583
584 * simple.el (do-auto-fill): Give it a doc string.
585
586 * button.el (make-text-button): Doc fix. (See bug#7881)
587
588 2011-01-24 Stefan Monnier <monnier@iro.umontreal.ca>
589
590 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
591 Don't move backward, so as not to fall in an inf-loop (bug#7736).
592
593 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
594 Handle ?" and friends differently (e.g. don't use backrefs).
595
596 2011-01-24 Jay Belanger <jay.p.belanger@gmail.com>
597
598 * calc/calc.el (calc-default-power-reference-level)
599 (calc-default-field-reference-level): New variables.
600 * calc/calc-units.el (math-standard-units): Add dB and Np.
601 (math-logunits): New variable.
602 (math-extract-logunits, math-logcombine, calcFunc-luplus)
603 (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
604 (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
605 New functions.
606 (math-find-base-units-rec): Add entry for ln(10).
607 * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
608 (calc-ul-prefix-help): New function.
609 * calc/calc-ext.el (calc-init-extensions): Autoload new units
610 functions. Add keybindings for new units functions.
611
612 2011-01-22 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change)
613
614 * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
615 rcirc buffers. (Bug#4940)
616
617 2011-01-22 Glenn Morris <rgm@gnu.org>
618
619 * emacs-lisp/copyright.el (copyright-find-copyright): New function,
620 split out from copyright-update-year.
621 (copyright-update): Don't mess with the GPL version if we don't own the
622 copyright. Update license regexp, and remove no longer needed
623 Esperanto stuff.
624 (copyright-fix-years): Use copyright-find-copyright.
625
626 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
627
628 * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
629
630 2011-01-22 Jari Aalto <jari.aalto@cante.net>
631
632 * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
633 (lm): Rename to landmark.
634 (lm-test-run): Rename to landmark-test-run.
635
636 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
637
638 * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
639 "Case sensitive" menu item.
640
641 2011-01-22 Roland McGrath <roland@frob.com>
642
643 * comint.el (comint-replace-by-expanded-history-before-point): Fix
644 expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
645
646 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
647
648 * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
649
650 2011-01-22 Jari Aalto <jari.aalto@cante.net>
651
652 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
653 Assume foo(bar) is a manpage reference rather than some unquoted
654 symbol (bug#7705).
655
656 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
657
658 * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
659 Suggested by Flo <sensorflo@gmail.com>.
660
661 2011-01-22 Glenn Morris <rgm@gnu.org>
662
663 * progmodes/compile.el (compilation-error-regexp-alist):
664 Fix custom type. (Bug#7812)
665
666 2011-01-22 Ken Manheimer <ken.manheimer@gmail.com>
667
668 * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
669 allout-number-siblings, in keeping with what obtained due to
670 (now-defunct) allout-keybindings-list. Ditch repeat binding to
671 (prefixed) ?i.
672 (allout-before-change-handler): Better expose spots affected by
673 undo.
674
675 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
676
677 * man.el (Man-highlight-references0): Use make-button (Bug#7881).
678
679 2011-01-22 Phil Hagelberg <phil@evri.com>
680
681 * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
682 (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
683 (pcmpl-ssh-config-hosts): New function.
684 (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
685 pcmpl-ssh-known-hosts.
686
687 2011-01-21 Jay Belanger <jay.p.belanger@gmail.com>
688
689 * calc/calc-undo.el (calc-undo): Autoload it.
690 * calc/calc-ext.el (calc-init-extensions): Remove keybindings
691 and autoload for `calc-undo'.
692 * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
693 * calc/calc-prog.el:
694 * calc/calc-graph.el:
695 * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
696
697 2011-01-21 Štěpán Němec <stepnem@gmail.com> (tiny change)
698
699 * calc/calc-ext.el (calc-init-extensions): Map all `undo'
700 keybindings to `calc-undo'.
701
702 2011-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
703
704 Don't mess with *temp*.
705 * obsolete/spell.el: Move from textmodes/spell.el.
706 (spell-string):
707 * term.el (term-read-input-ring):
708 * startup.el (display-startup-echo-area-message):
709 * progmodes/antlr-mode.el (antlr-directory-dependencies):
710 * comint.el (comint-read-input-ring): Use with-temp-buffer.
711 * international/mule.el (ctext-pre-write-conversion): Don't hardcode
712 point-min==1.
713
714 2011-01-20 Ken Manheimer <ken.manheimer@gmail.com>
715
716 * allout.el: (allout-institute-keymap): Use fset instead of
717 reapplying defalias.
718
719 (allout-hotspot-key-handler): Check for non-control-modified
720 bindings for hotspot characters if there are no control-modified
721 versions.
722
723 * allout.el: Summary - migrate to defining allout mode using
724 define-minor-mode instead of defun. Significantly clean-up
725 internal keymap provisions, refactoring and, in the process,
726 removing a lot of accumulated cruft.
727
728 allout-mode-map is now a keymap by virtue of being a defalias to
729 allout-mode-map-value, which contains the actual keymap structure.
730
731 (allout-mode): Use define-minor-mode rather than defun.
732 Remove now-unnecessary minor-mode setup activities from the body.
733 Specify :keymap as allout-mode-map so the minor-mode-map-alist
734 entry will be '(allout-mode . allout-mode-map) - see
735 allout-mode-map-value, below. Adjust docstring to track changes.
736 (allout-minor-mode): Remove this defalias, now that we're using
737 define-minor-mode.
738 (allout-mode-map): Set value to be 'allout-mode-map. The actual
739 keymap is allout-mode-map-value, via defalias.
740 (allout-mode-map-value): The variable holding the actual mode
741 keymap structure, by virtue of defalias from allout-mode-map.
742 (allout-compose-and-institute-keymap): Rename from
743 allout-bind-keys, and including the binding-composition
744 functionality of the former produce-allout-mode-map and
745 allout-setup-mode-map.
746 (allout-institute-keymap): Take over the "setup" part of the former
747 allout-setup-mode-map. Reassign allout-mode-map-value value and
748 update the defalias.
749 (allout-command-prefix) (allout-prefixed-keybindings)
750 (allout-unprefixed-keybindings):
751 Use allout-compose-and-institute-keymap to process the bindings.
752 (allout-unprefixed-keybindings): Remove extraneous '?' question
753 marks.
754 (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
755 user can customize if they want to use that binding.
756 Bind allout-copy-topic-as-kill to (prefixed) \M-k.
757 Bind allout-up-current-level to (prefixed) \C-u. (I think i mistakenly
758 elided that, previously, instead of the one for \C-h.)
759 (allout-hotspot-key-handler): Remove attempt to resolve the key
760 through the literal key-string lookup on allout-keybindings-list.
761 That probably hasn't worked for a Long Time, and removal of
762 allout-keybindings-list further simplifies the keybindings
763 situation.
764 (allout-pre-command-business): Use allout-mode-map-value instead
765 of allout-mode-map.
766 (allout-preempt-trailing-ctrl-h): Remove. The user can customize
767 the bindings if they want to use a keybinding having a trailing
768 \C-h. No deprecation needed since this feature was never in a
769 release.
770 (allout-keybindings-list): Remove. It's not been useful for a
771 while. (See allout-hotspot-key-handler changes, above.)
772 (produce-allout-mode-map): Remove. Consolidate into
773 allout-compose-and-institute-keymap.
774 (allout-mode-map-adjustments): Remove. No longer necessary with
775 removal of allout-preempt-trailing-ctrl-h.
776 (allout-setup-mode-map): Remove. Consolidate into
777 allout-compose-and-institute-keymap and allout-institute-keymap.
778
779 2011-01-20 Glenn Morris <rgm@gnu.org>
780
781 * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
782
783 * simple.el (read-expression-history): Remove, it's in minibuf.c.
784
785 2011-01-20 Chong Yidong <cyd@stupidchicken.com>
786
787 * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
788
789 * files.el (find-alternate-file, basic-save-buffer)
790 (basic-save-buffer-2, revert-buffer, recover-file)
791 (kill-buffer-ask, abort-if-file-too-large)
792 (set-visited-file-name, write-file, backup-buffer)
793 (basic-save-buffer, save-some-buffers):
794 * dired-aux.el (dired-compress-file): Callers changed.
795
796 2011-01-19 Glenn Morris <rgm@gnu.org>
797
798 * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
799 Also check the property status. (Bug#7861)
800
801 2011-01-18 Michael Albinus <michael.albinus@gmx.de>
802
803 * net/tramp.el (tramp-debug-message): Extend function exclude
804 list. Use `regexp-opt'.
805
806 2011-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
807
808 * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
809 highlighting doesn't spill over subsequent lines.
810
811 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
812 keymap expression. Improve docstring.
813
814 * electric.el (electric-indent-post-self-insert-function):
815 Don't auto-indent for indent-to-left-margin, it's too often
816 counter-productive.
817
818 2011-01-16 Tassilo Horn <tassilo@member.fsf.org>
819
820 * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
821 spaces if the frame was resized, so that the full visible buffer
822 serves as canvas for strokes.
823
824 2011-01-16 Glenn Morris <rgm@gnu.org>
825
826 * info-xref.el (info-xref-docstrings): Replace cl function.
827 Also skip directories.
828
829 2011-01-16 Kevin Ryde <user42@zip.com.au>
830
831 * info-xref.el: Version 3.
832 (info-xref-check, info-xref-check-all): Move commentary details
833 into docstrings for better visibility.
834 Use compilation-mode for the results buffer.
835 (info-xref-output, info-xref-output-error, info-xref-with-output)
836 (info-xref-filename, info-xref-in-progress):
837 New internals for this.
838 (info-xref-check-list, info-xref-check-buffer)
839 (info-xref-check-all-custom): Use those.
840 (info-xref-output-buffer): Rename from info-xref-results-buffer.
841 (info-xref-output-heading): Rename from info-xref-filename-heading.
842 (info-xref-good, info-xref-bad, info-xref-xfile-alist)
843 (info-xref-filename-heading): Move to output managing section.
844 (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
845 (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
846 (info-xref-subfile-p): Move to generic section with those two.
847 (info-xref-check-node): New function split from
848 info-xref-check-buffer, shared by info-xref-docstrings.
849 (info-xref-goto-node-p): Move to a checking section with that func.
850 (info-xref-unavail): New counter.
851 (info-xref-check-node): Use it.
852 (info-xref-with-output): Show count of unavailables at end of output.
853 (info-xref-all-info-files): Exclude ".*" dotfiles. Ignore broken
854 symlinks. Exclude .texi files. Exclude Emacs backup files.
855 (info-xref-check-all-custom): Fix quietening viper-mode and
856 gnus-registry-install -- use setq not let so as not to unbind
857 after load.
858
859 2011-01-16 Juri Linkov <juri@jurta.org>
860
861 * isearch.el (isearch-abort): Don't quit if search has
862 an incomplete regexp (isearch-error is non-nil). (Bug#7534)
863
864 2011-01-15 Mark Diekhans <markd@soe.ucsc.edu>
865
866 * files.el (backup-buffer): Make last-resort backup file in
867 .emacs.d (Bug#6953).
868
869 * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
870 make it with permission 700.
871
872 2011-01-15 Kenichi Handa <handa@m17n.org>
873
874 * mail/rmailmm.el (rmail-mime-insert-header):
875 Set rmail-mime-coding-system to a cons whose car is the last coding
876 system used to decode the header.
877 (rmail-mime-find-header-encoding): New function.
878 (rmail-mime-insert-decoded-text):
879 Override rmail-mime-coding-system if it is a cons.
880 (rmail-show-mime): If only a header part was decoded, find the
881 coding system while ignoring mm-charset-override-alist.
882
883 2011-01-15 Chong Yidong <cyd@stupidchicken.com>
884
885 * subr.el (event-start, event-end): Doc fix (Bug#7826).
886
887 2011-01-15 Kenichi Handa <handa@m17n.org>
888
889 * mail/rmailmm.el (rmail-mime-next-item)
890 (rmail-mime-previous-item): Delete them.
891 (rmail-mime-shown-mode): Recursively call for children.
892 (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
893 Callers changed.
894 (rmail-mime-raw-mode): Recursively call for children.
895 (rmail-mode-map): Change mapping of tab and backtab to
896 forward-button and backward-button respectively.
897 (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
898 button.
899 (rmail-mime-update-tagline): New function.
900 (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
901 body display is changed.
902 (rmail-mime-toggle-button): Rename from rmail-mime-image.
903 (rmail-mime-image): Delete this button type.
904 (rmail-mime-toggle): New button type.
905 (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
906 body display is changed. Change the save button label to "Save".
907 Don't process show/hide button here.
908 (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
909 the body display is changed. Unconditionally call
910 rmail-mime-insert for children.
911 (rmail-mime-handle): Update `display' vector of the just inserted
912 entity.
913 (rmail-mime-process): If mail-header-parse-content-type returns
914 nil, use "text/plain" as the fallback type.
915 (rmail-mime-insert): For raw-mode, recursively call
916 rmail-mim-insert for children.
917 (rmail-mime): Handle the case that the current buffer is not rmail
918 buffer (e.g. in summary buffer).
919
920 2011-01-15 Kenichi Handa <handa@m17n.org>
921
922 * mail/rmailmm.el (rmail-mime-next-item)
923 (rmail-mime-previous-item): Skip the body of a non-multipart
924 entity if a tagline is shown.
925
926 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
927
928 * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
929 (tmm-prompt): Simplify.
930 (tmm-add-prompt): Remove unused var `win'.
931
932 * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
933 to minor mode which used nil accidentally to mean "turn off".
934
935 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
936
937 * net/tramp-sh.el (tramp-find-inline-compress)
938 (tramp-get-inline-coding): Quote command after pipe symbol for
939 local calls under W32. (Bug#6784)
940
941 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
942
943 * net/tramp.el (tramp-default-method): Initialize with pscp/plink
944 only when running under W32.
945
946 2011-01-15 Eli Zaretskii <eliz@gnu.org>
947
948 * progmodes/grep.el (grep-compute-defaults): Quote the program
949 file name after the pipe symbol in Grep templates. (Bug#6784)
950 * jka-compr.el (jka-compr-partial-uncompress): Likewise.
951
952 2011-01-15 Lennart Borgman <lennart.borgman@gmail.com>
953
954 * buff-menu.el (Buffer-menu-buffer-list): New var.
955 (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
956 restricted buffer list is not lost on revert (Bug#7749).
957
958 2011-01-15 Eric Hanchrow <eric.hanchrow@gmail.com>
959
960 * net/ldap.el (ldap-search-internal): Discard stderr output.
961
962 2011-01-15 Eli Zaretskii <eliz@gnu.org>
963
964 * files.el (directory-abbrev-alist): Doc fix. (Bug#7777)
965
966 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
967
968 * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
969
970 2011-01-15 Kenichi Handa <handa@m17n.org>
971
972 * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
973 part as a plain text.
974 (rmail-mime-process-multipart): Set the default content-type to
975 nil for unknown multipart subtypes (bug#7651).
976
977 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
978
979 * hexl.el (hexl-mode-old-*): Remove.
980 (hexl-mode--old-var-vals): New var to replace them.
981 (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
982 (hexl-mode, hexl-follow-line, hexl-activate-ruler):
983 Use them to set local vars (bug#7846).
984 (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
985 (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
986 (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
987
988 * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
989 (smerge-resolve--normalize-re): New var.
990 (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
991 (smerge-resolve): Use them.
992 * newcomment.el (comment-only-p): New function.
993 (comment-or-uncomment-region): Use it.
994
995 2011-01-14 Brent Goodrick <bgoodr@gmail.com> (tiny change)
996
997 * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
998 table, get the value before switching to the output buffer. (Bug#7733)
999
1000 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1001
1002 * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
1003
1004 2011-01-14 Kim F. Storm <storm@cua.dk>
1005
1006 * emulation/cua-base.el (cua--init-keymaps):
1007 Remap exchange-point-and-mark in cua-global-keymap.
1008
1009 2011-01-14 Tassilo Horn <tassilo@member.fsf.org>
1010
1011 * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
1012 loop keyword.
1013
1014 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1015
1016 * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
1017 Require CL.
1018 (easy-menu-create-menu, easy-menu-convert-item-1):
1019 Use :label rather than nil for labels. Use `case'.
1020 Add :enable as alias for :active.
1021 (easy-menu-binding): Obey :label.
1022
1023 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1024
1025 Use run-mode-hooks for major mode hooks (bug#513).
1026 * textmodes/reftex-toc.el (reftex-toc-mode-map):
1027 Rename from reftex-toc-map.
1028 (reftex-toc-mode): Use define-derived-mode.
1029 * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
1030 (reftex-select-label-mode-map, reftex-select-bib-mode-map):
1031 Rename from reftex-select-(label|bib)-map. Move init into declaration.
1032 (reftex-select-label-mode, reftex-select-bib-mode):
1033 Use define-derived-mode.
1034 * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
1035 (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
1036 Move init into delcaration.
1037 (reftex-index-mode, reftex-index-phrases-mode):
1038 Use define-derived-mode.
1039 * speedbar.el (speedbar-mode-syntax-table): Renaqme from
1040 speedbar-syntax-table. Move init into declaration.
1041 (speedbar-mode-map): Rename from speedbar-key-map.
1042 Move init into declaration.
1043 (speedbar-file-key-map): Move init into declaration.
1044 (speedbar-mode): Use define-derived-mode.
1045 * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
1046 * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
1047 * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
1048 (chart-face-list): Move initialization into declaration.
1049 (chart-mode): Use define-derived-mode.
1050 * calculator.el (calculator-mode-map): Move init into declaration.
1051 (calculator-mode): Use define-derived-mode.
1052
1053 * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
1054 work for nested comments.
1055
1056 * progmodes/prolog.el: Use syntax-propertize. Further code cleanup.
1057 (prolog-use-prolog-tokenizer-flag): Change default when
1058 syntax-propertize can be used.
1059 (prolog-syntax-propertize-function): New var.
1060 (prolog-mode-variables): Move make-local-variable into `set'.
1061 Don't make comment-column local since we don't set it.
1062 Set comment-add (as it was in previous prolog.el). Use dolist.
1063 Set syntax-propertize-function.
1064 (prolog-mode, prolog-inferior-mode):
1065 Call prolog(-inferior)-menu directly, not through the mode-hook.
1066 (prolog-buffer-module, prolog-indent-level)
1067 (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
1068 (prolog-comment-limits, prolog-goto-comment-column):
1069 Use line-(end|beginning)-position.
1070 (prolog-build-prolog-command): Tighten up regexp.
1071 (prolog-consult-compile): Move make-local-variable into `set'.
1072 (prolog-consult-compile-filter, prolog-goto-next-paren)
1073 (prolog-help-on-predicate, prolog-clause-info)
1074 (prolog-mark-predicate): Don't let+setq.
1075 (prolog-indent-line): Use indent-line-to.
1076 Only call prolog-goto-comment-column if necessary.
1077 (prolog-indent-level): Use bobp.
1078 (prolog-first-pos-on-line): Remove, not used any more.
1079 (prolog-in-string-or-comment): Use syntax-ppss if available.
1080 (prolog-help-on-predicate): Use read-string.
1081 (prolog-goto-predicate-info): Simplify.
1082 (prolog-read-predicate): Use `default' rather than `initial'.
1083 (prolog-temporary-file): Use make-temp-file to close a security hole.
1084 (prolog-toggle-sicstus-sd): New command.
1085 (prolog-electric-underscore, prolog-variables-to-anonymous):
1086 Use dynamic-scoping as it was meant.
1087 (prolog-menu): Move menu definitions to top-level.
1088 Use a toggle-button for Sicstus's source debugger.
1089 Change "Code" to the more usual "Prolog", and hence change "Prolog"
1090 to "System".
1091 (prolog-inferior-menu): Reuse prolog-menu's help menu.
1092 Move other menu definition to top-level.
1093
1094 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
1095
1096 * doc-view.el (doc-view-open-text): Use meaningful text buffer
1097 name. Keep original document's directory as default-directory
1098 (bug#6446).
1099 (doc-view-initiate-display): Fall back to normal mode when
1100 doc-view-mode cannot be enabled, also when extracting the document
1101 text into a separate buffer (bug#6446).
1102
1103 * simple.el (shell-command): Don't error out if shell command
1104 buffer contains text with non-nil read-only property when erasing
1105 the buffer.
1106
1107 2011-01-13 Kim F. Storm <storm@cua.dk>
1108
1109 * ido.el (ido-may-cache-directory): Move "too-big" check later.
1110 (ido-next-match, ido-prev-match): Fix stray reordering of matching
1111 items when cycling through the matches.
1112
1113 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
1114
1115 * dired-x.el (dired-omit-verbose): New defcustom that allows
1116 disabling the omit messages.
1117 (dired-omit-expunge): Use it.
1118
1119 2011-01-13 Christian Ohler <ohler@gnu.org>
1120
1121 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
1122
1123 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
1124
1125 * font-lock.el (font-lock-verbose): Default to nil.
1126
1127 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
1128
1129 * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
1130 (compose-mail): New arg RETURN-ACTION.
1131 (compose-mail-other-window, compose-mail-other-frame): Likewise.
1132
1133 * mail/sendmail.el (mail-return-action): New var.
1134 (mail-mode): Make it buffer-local.
1135 (mail-bury): Obey it. Move special Rmail window handling to
1136 rmail-mail-return.
1137 (mail, mail-setup): New arg RETURN-ACTION.
1138 (sendmail-user-agent-compose): Move from simple.el.
1139
1140 * mail/rmail.el (rmail-mail-return): New function.
1141 (rmail-start-mail): Pass it to compose-mail.
1142
1143 2011-01-12 Chong Yidong <cyd@stupidchicken.com>
1144
1145 * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
1146 menus. Add menu item for customize-themes.
1147
1148 * cus-theme.el (customize-themes):
1149 * emacs-lisp/package.el (package--list-packages):
1150 Use switch-to-buffer.
1151
1152 2011-01-11 Johan Bockgård <bojohan@gnu.org>
1153
1154 * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
1155
1156 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
1157
1158 * progmodes/prolog.el: Fix up coding convention and such.
1159 (prolog-indent-width): Use the same default as in
1160 previous prolog.el rather than tab-width which depends on which buffer
1161 is current when the file is loaded.
1162 (prolog-electric-newline-flag): Only enable if electric-indent-mode
1163 is not available.
1164 (prolog-emacs): Remove. Use (featurep 'xemacs) instead.
1165 (prolog-known-systems): Remove.
1166 (prolog-mode-syntax-table, prolog-inferior-mode-map):
1167 Move initialization into declaration.
1168 (prolog-mode-map): Move initialization into declaration.
1169 Remove system-specific mode-map vars, since they referred to the same
1170 keymap anyway.
1171 (prolog-mode-variables): Obey the user's preference w.r.t
1172 adaptive-fill-mode. Prefer symbol-value to `eval'.
1173 (prolog-mode-keybindings-edit): Add compatibility bindings.
1174 (prolog-mode): Use define-derived-mode. Don't handle mercury here.
1175 (mercury-mode-map): New var.
1176 (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
1177 (prolog-ensure-process, prolog-process-insert-string)
1178 (prolog-consult-compile): Use with-current-buffer.
1179 (prolog-guess-fill-prefix): Simplify data flow.
1180 (prolog-replace-in-string): New function to use instead of
1181 replace-in-string.
1182 (prolog-enable-sicstus-sd): Don't abuse `eval'.
1183 (prolog-uncomment-region): Use `uncomment-region' when available.
1184 (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
1185 (prolog-int-to-char, prolog-char-to-int): New functions to use instead
1186 of int-to-char and char-to-int.
1187 (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
1188
1189 2011-01-11 Stefan Bruda <stefan@bruda.ca>
1190
1191 * progmodes/prolog.el: Replace by a whole new file.
1192
1193 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
1194
1195 * subr.el (eval-after-load): Fix timing for features (bug#7769).
1196 (declare-function, undefined, insert-for-yank)
1197 (replace-regexp-in-string): Follow checkdoc's recommendations.
1198
1199 2011-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1200
1201 * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
1202 refreshing the diary buffer.
1203
1204 2011-01-10 Ken Manheimer <ken.manheimer@gmail.com>
1205
1206 * allout.el: Add 2011 to the file copyright.
1207 (allout-encrypt-string): Prevent encryption from adding an extra
1208 newline at the end of the topic body.
1209 (allout-version): Increment to 2.3.
1210
1211 2011-01-10 Michael Albinus <michael.albinus@gmx.de>
1212
1213 * net/dbus.el (dbus-unregister-service): Complete doc.
1214 Fix call of dbus-error signal.
1215 (dbus-register-property): Use `dont-register' keyword.
1216
1217 2011-01-10 Jan Moringen <jan.moringen@uni-bielefeld.de>
1218
1219 * net/dbus.el (dbus-unregister-service): Translate returned
1220 integer into a symbol.
1221 (dbus-register-property): Use `dbus-register-service' to do the
1222 name registration.
1223
1224 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
1225
1226 * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
1227 Suggested by Joakim Verona.
1228
1229 * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
1230
1231 * wid-edit.el (visibility): Replace :on-image and :off-image
1232 widget properties with :on-glyph and :off-glyph, for consistency
1233 with the `visibility' widget.
1234 (widget-toggle-value-create, widget-visibility-value-create):
1235 Merge into a single function `widget-toggle-value-create'.
1236
1237 * cus-edit.el (custom-variable-value-create, custom-visibility)
1238 (custom-face-edit-value-create, custom-face-value-create):
1239 Replace :on-image and :off-image widget properties with :on-glyph and
1240 :off-glyph, for consistency with the `visibility' widget.
1241
1242 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
1243
1244 * net/ldap.el (ldap-search-internal): Don't use eval.
1245
1246 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
1247
1248 * subr.el (read-char-choice): Use read-key.
1249
1250 * custom.el (custom-safe-themes): Rename from
1251 custom-safe-theme-files. Add :risky tag.
1252 (load-theme, custom-theme-load-confirm): Save sha1 hashes to
1253 custom-safe-themes, not filenames. Suggested by Stefan Monnier.
1254
1255 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
1256
1257 * tool-bar.el (tool-bar-setup): Remove Help button. Remove label
1258 from Search and add a label to Undo.
1259
1260 * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
1261 inappropriate buttons and adding :vert-only tags.
1262
1263 * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
1264 removal of Help tool-bar button. Remove Undo button for space.
1265
1266 * info.el (info-tool-bar-map): Add :vert-only tags.
1267
1268 2011-01-08 Tassilo Horn <tassilo@member.fsf.org>
1269
1270 * doc-view.el (doc-view-mode-p): Check for png or imagemagick
1271 image backend support. Either of them is fine.
1272
1273 2011-01-08 Chong Yidong <cyd@stupidchicken.com>
1274
1275 * subr.el (y-or-n-p): Doc fix.
1276
1277 * custom.el (custom-safe-theme-files): New defcustom.
1278 (custom-theme-load-confirm): New function.
1279 (load-theme): Load theme using `load', confirming with
1280 custom-theme-load-confirm if necessary.
1281
1282 * subr.el (read-char-choice): New function, factored out from
1283 dired-query and hack-local-variables-confirm.
1284
1285 * dired-aux.el (dired-query):
1286 * files.el (hack-local-variables-confirm): Use it.
1287
1288 * dired-aux.el (dired-compress-file):
1289 * files.el (abort-if-file-too-large, find-alternate-file)
1290 (set-visited-file-name, write-file, backup-buffer)
1291 (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
1292 (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
1293 Use new format string args for y-or-n-p and yes-or-no-p.
1294
1295 2011-01-08 Andreas Schwab <schwab@linux-m68k.org>
1296
1297 * progmodes/compile.el (compilation-error-regexp-alist-alist)
1298 [gcc-include]: Tighten file name match, add match for column
1299 number. (Bug#7806)
1300 [gnu]: Remove unused group.
1301
1302 2011-01-08 Glenn Morris <rgm@gnu.org>
1303
1304 * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
1305
1306 * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
1307
1308 2011-01-07 Sam Steingold <sds@gnu.org>
1309
1310 * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
1311 the `explicit-shell-file-name' because that is the
1312 non-interactive shell.
1313
1314 2011-01-07 Chong Yidong <cyd@stupidchicken.com>
1315
1316 * subr.el (y-or-n-p): Accept format string args.
1317
1318 2011-01-07 Glenn Morris <rgm@gnu.org>
1319
1320 * Makefile.in (EMACSOPT): Add --no-site-lisp.
1321
1322 2011-01-06 Ken Manheimer <ken.manheimer@gmail.com>
1323
1324 * allout.el (allout-back-to-current-heading): Ensure return to
1325 the visible containing topic, rather than a collapsed one.
1326 (allout-view-change-hook): Remove hook that was deprecated long ago.
1327 (allout-exposure-change-hook): Remove documentation remarks
1328 concerning removed allout-view-change-hook.
1329 (allout-flag-region): Remove invocation of and documentation
1330 remarks concerning allout-view-change-hook.
1331
1332 2011-01-06 Glenn Morris <rgm@gnu.org>
1333
1334 * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
1335 (vc-bzr-annotate-extract-revision-at-line):
1336 Handle authors with embedded spaces. (Bug#7792)
1337
1338 2011-01-05 Tassilo Horn <tassilo@member.fsf.org>
1339
1340 * doc-view.el (doc-view-image-width): New variable.
1341 (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
1342 backend for PNG images, and do dynamic rescaling instead of
1343 reconverting the whole doc.
1344
1345 2011-01-05 Glenn Morris <rgm@gnu.org>
1346
1347 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
1348
1349 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
1350
1351 * allout.el: Reconcile with changes in line movement behavior for
1352 long text lines that cross more than a single physical window
1353 line, ie when truncate-lines is nil.
1354 (allout-next-visible-heading): Provide for change in line-move
1355 behavior on long lines when truncate-lines is nil. In that case,
1356 line-move can wind up on the same textual line when it moves to
1357 the next window line, and moving to the bullet position after the
1358 move yields zero advancement. Add logic to detect and compensate
1359 for the lack of progress.
1360 (allout-current-topic-collapsed-p): move-end-of-line respect for
1361 field boundaries is different when operating with body lines
1362 shorter than window width versus ones greater than window width,
1363 which can yield false negatives in this function. Avoid
1364 difference by applying move-end-of-line while field-text-motion is
1365 inhibited.
1366
1367 2011-01-04 Glenn Morris <rgm@gnu.org>
1368
1369 * textmodes/rst.el (rst-compile-toolsets):
1370 Add pdf and s5 to option alist.
1371
1372 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
1373
1374 * net/dbus.el (dbus-register-property): Add optional parameter
1375 dont-register-service. Updated docstring accordingly.
1376
1377 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
1378
1379 * textmodes/rst.el (rst-compile-pdf-preview)
1380 (rst-compile-slides-preview): Remove extra line.
1381
1382 2011-01-04 Glenn Morris <rgm@gnu.org>
1383
1384 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
1385 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
1386 default to `prog' without a .py extension.
1387 (rst-compile-pdf-preview, rst-compile-slides-preview):
1388 Use program names from rst-compile-toolsets, rather than hard-coding.
1389 (rst-portable-mark-active-p): Fix presumed typo.
1390
1391 2011-01-02 Eli Zaretskii <eliz@gnu.org>
1392
1393 * term/w32-win.el (dynamic-library-alist): Set up correctly for
1394 libpng versions both before and after 1.4.0. (Bug#7716)
1395
1396 2011-01-02 Eli Zaretskii <eliz@gnu.org>
1397
1398 * time.el (display-time-mode): Mention display-time-interval in
1399 the doc string. (Bug#7713)
1400
1401 2011-01-02 Kenichi Handa <handa@m17n.org>
1402
1403 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
1404 condition-case and return an error message string if something
1405 goes wrong.
1406 (rmail-show-mime): Adjust for the above change. Insert the
1407 header by rmail-mime-insert-header.
1408
1409 2011-01-02 Kenichi Handa <handa@m17n.org>
1410
1411 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
1412 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
1413 (rmail-mime-mbox-buffer)
1414 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
1415 (rmail-mime-entity): Argument changed. All codes handling an
1416 entity object are changed.
1417 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
1418 the above change.
1419 (rmail-mime-entity-children, rmail-mime-entity-handler)
1420 (rmail-mime-entity-tagline): New functions.
1421 (rmail-mime-message-p): New function.
1422 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
1423 (rmail-mime-entity-segment, rmail-mime-next-item)
1424 (rmail-mime-previous-item, rmail-mime-shown-mode)
1425 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
1426 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
1427 (rmail-mime-insert-tagline, rmail-mime-insert-header):
1428 New functions.
1429 (rmail-mime-text-handler): Call rmail-mime-insert-text.
1430 (rmail-mime-insert-decoded-text): New function.
1431 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
1432 (rmail-mime-insert-image): Argument changed. Caller changed.
1433 (rmail-mime-image): Call rmail-mime-toggle-hidden.
1434 (rmail-mime-set-bulk-data): New funciton.
1435 (rmail-mime-insert-bulk): Argument changed.
1436 (rmail-mime-multipart-handler): Return t.
1437 (rmail-mime-process-multipart): Argument changed.
1438 Handle "multipart/alternative" here.
1439 (rmail-mime-process): Argument changed.
1440 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
1441 (rmail-mime-insert): Argument changed. Handle raw display mode.
1442 (rmail-mime): Argument changed. Handle toggling of raw display
1443 mode.
1444 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
1445 rmail-mime-view-buffer.
1446 (rmail-insert-mime-forwarded-message): Likewise.
1447 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
1448
1449 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
1450 non-nil, handle the header in rmail-show-mime-function.
1451
1452 2011-01-02 Leo <sdl.web@gmail.com>
1453
1454 * help-fns.el (describe-variable): Fix previous change.
1455
1456 2011-01-02 Juri Linkov <juri@jurta.org>
1457
1458 * isearch.el (isearch-lazy-highlight-error): New variable.
1459 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
1460 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
1461 to the current value of `isearch-error' (Bug#7468).
1462
1463 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
1464
1465 * help-fns.el (describe-variable): Don't emit trailing whitespace
1466 (Bug#7511).
1467
1468 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
1469
1470 * textmodes/rst.el (rst-compile-pdf-preview)
1471 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
1472
1473 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
1474
1475 * emulation/edt-mapper.el: Override mapping of function keys so
1476 that the later call to read-key-sequence works.
1477
1478 2011-01-02 Eli Zaretskii <eliz@gnu.org>
1479
1480 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
1481 Unix EOLs. (Bug#7589)
1482
1483 2011-01-02 Leo <sdl.web@gmail.com>
1484
1485 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
1486 if point is not behind eshell-last-output-end (Bug#7585).
1487
1488 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
1489
1490 * files.el (file-local-variables-alist):
1491 Make permanent-local (bug#7767).
1492
1493 2011-01-02 Glenn Morris <rgm@gnu.org>
1494
1495 * version.el (emacs-copyright): Set short copyright year to 2011.
1496
1497 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
1498
1499 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
1500 an existing temp buffer. (Bug#7746)
1501
1502 2011-01-02 Glenn Morris <rgm@gnu.org>
1503
1504 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
1505 multiple addresses. (Bug#7760)
1506
1507 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
1508
1509 * allout.el (allout-auto-fill): Do not infinitely recurse - use
1510 do-auto-fill if everything points back to allout-auto-fill.
1511 (allout-mode-deactivate-hook): Declare obsolete, in favor of
1512 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
1513
1514 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
1515
1516 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
1517 and "scpx".
1518
1519 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1520
1521 * doc-view.el (doc-view-set-doc-type): New function refactored
1522 from doc-view-mode.
1523 (doc-view-fallback-mode): New function.
1524 (doc-view-mode): Use it.
1525 (doc-view-mode-maybe): New function that checks if doc-view-mode
1526 can be used and falls back to the next best mode otherwise.
1527
1528 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
1529 DVI, OpenDocument, and MS Office files.
1530
1531 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
1532
1533 * emacs-lisp/rx.el (rx-syntax): Fix typo.
1534
1535 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1536
1537 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
1538 on a copy of auto-mode-alist, because that deletes with side
1539 effects.
1540
1541 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1542
1543 * doc-view.el (doc-view-mode, doc-view-toggle-display):
1544 Use normal-mode without doc-view-mode bindings in auto-mode-alist as
1545 fallback instead of hard coding fundamental mode.
1546
1547 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1548
1549 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
1550 Office) files also for searching.
1551
1552 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1553
1554 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
1555 Office) files. Not yet enabled via auto-mode-list.
1556 (doc-view-unoconv-program): New custom variable.
1557 (doc-view-mode-p): Handle new odf document type.
1558 (doc-view-odf->pdf): New conversion function.
1559 (doc-view-convert-current-doc): Call it for odf files.
1560 (doc-view-mode): Recognize newly supported file extensions.
1561
1562 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
1563
1564 * net/tramp.el (tramp-default-method-alist)
1565 (tramp-default-user-alist)
1566 (tramp-local-host-regexp, tramp-prefix-domain-format)
1567 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
1568
1569 * net/tramp-ftp.el:
1570 * net/tramp-gvfs.el:
1571 * net/tramp-gw.el:
1572 * net/tramp-imap.el:
1573 * net/tramp-sh.el:
1574 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
1575 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
1576
1577 2010-12-29 Karl Fogel <kfogel@red-bean.com>
1578
1579 * saveplace.el (save-place-alist-to-file): Save list sorted and
1580 pretty-printed, so that it is mergeable by line-based text merging,
1581 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
1582
1583 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
1584
1585 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
1586 (allout-mode): Argument "toggle" => "force".
1587 Refine the docstring.
1588 Remove special provisions for reactivation, besides the 'force'
1589 argument.
1590 Consolidate layout provisions coce directly into the activation
1591 condition branch, now that we've removed those provisions.
1592 (allout-unload-function): Explicitly activate the mode before
1593 deactivating, if it's initially deactivated.
1594 (allout-set-buffer-multibyte): Properly prevent byte-compiler
1595 warnings for version of function used only where
1596 set-buffer-multibyte is unavailable.
1597
1598 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
1599
1600 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
1601 are handled by the menu-bar entries. As before, don't use
1602 :visibile to avoid changing the tool-bar.
1603
1604 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
1605
1606 * net/secrets.el (secrets-delete-alias): New defun.
1607
1608 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
1609
1610 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
1611 methods, otherwise ~/.ssh/config would be ignored.
1612
1613 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
1614
1615 * emacs-lisp/rx.el: Make it a superset of sregex.
1616 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
1617 of args, add `regex' alias.
1618 (rx-info): Add arg to distinguish head and standalone forms.
1619 (rx-check, rx-form): Pass the corresponding arg.
1620 (rx-**): Simplify.
1621 (rx-repeat): Make it work for any number of args.
1622 (rx-syntax): Make it accept syntax chars as is.
1623 * obsolete/sregex.el: Move from emacs-lisp/.
1624 * emacs-lisp/re-builder.el: Remove sregex support.
1625 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
1626
1627 2010-12-25 Eli Zaretskii <eliz@gnu.org>
1628
1629 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
1630 PRIMARY first, then the clipboard. (Bug#7699)
1631
1632 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
1633
1634 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
1635 print-number-table.
1636
1637 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
1638
1639 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
1640 .emacs.elc (Bug#7530).
1641
1642 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
1643 image spec (Bug#7480).
1644
1645 2010-12-21 Daiki Ueno <ueno@unixuser.org>
1646
1647 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
1648 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
1649 Move from lisp/.
1650
1651 2010-12-20 Leo <sdl.web@gmail.com>
1652
1653 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
1654 always be performed (Bug#7680).
1655
1656 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
1657
1658 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
1659 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
1660 mouse-region-match.
1661
1662 * color.el: Move from gnus/.
1663
1664 * vc/diff.el (diff-better-file-name): Function deleted.
1665 abbreviating file names causes problems with shell-quote-argument.
1666 (diff-no-select): Just use expand-file-name.
1667
1668 * tool-bar.el (tool-bar--image-expression): New function.
1669 (tool-bar-local-item, tool-bar--image-exp): Use it.
1670 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
1671 Use :enable instead of :visible to avoid changing the tool-bar
1672 configuration unnecessarily.
1673
1674 * info.el (info-tool-bar-map): Add separators.
1675
1676 2010-12-17 Ken Brown <kbrown@cornell.edu>
1677
1678 * loadup.el: Use version numbers in Cygwin build.
1679
1680 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
1681
1682 * ido.el (ido-file-internal): Ask for confirmation before
1683 overwriting an existing file (Bug#1238).
1684
1685 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
1686
1687 * tool-bar.el (tool-bar-setup): Add separators.
1688
1689 * menu-bar.el (featurep): Use menu-bar-separator.
1690
1691 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
1692
1693 Migrate allout encryption provisions from pgg to epg.
1694
1695 * allout.el (allout-toggle-current-subtree-encryption)
1696 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
1697 defaulting policy and other changes. Change fetch-pass to keymode-cue,
1698 for simpler universal argument interpretation.
1699 (allout-toggle-subtree-encryption): Adjust docstring to describe
1700 changed encryption provisions. Change fetch-pass to keymode-cue, for
1701 simpler universal argument interpretation. Remove provisions for
1702 handling key type and identity - they'll all be within
1703 allout-encrypt-string or epg/epg or even contained all the way in gpg.
1704 (allout-encrypt-string): Include keymode-cue, for optionally prompting
1705 for keypair recipients (universal argument > 1) and, in addition,
1706 associating the specified recipients with the outline (universal
1707 argument > 4) using a file local variable setting for
1708 'epa-file-encrypt-to'.
1709 Require epa, for recipients handling.
1710 Change how regexp filtering elements are named.
1711 Describe the problem with caching of incorrect symmetric-decryption
1712 keys.
1713 Use the epa-passphrase-callback-function, in case the user is using
1714 GnuPG v1.
1715 Support saving of the selected keypair recipients when invoked with a
1716 keymode-cue > 4.
1717 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
1718 Require 'epa.
1719 Establish epg-context with armoring and default epg-protocol.
1720 Remove all passphrase cache, verification, and hinting code.
1721 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
1722 No longer used, delete.
1723 (allout-mode): Adjust docstring to describe changed encryption
1724 provisions. Describe the problem with caching of incorrect
1725 symmetric-decryption keys.
1726 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
1727 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
1728 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
1729 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
1730 Obsolete, remove.
1731
1732 2010-12-16 Daiki Ueno <ueno@unixuser.org>
1733
1734 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
1735 key selection prompt; make 'silent as default (Bug#7487).
1736
1737 2010-12-16 Leo <sdl.web@gmail.com>
1738
1739 * eshell/eshell.el (eshell-directory-name):
1740 Use locate-user-emacs-file (Bug#7578).
1741
1742 2010-12-15 Glenn Morris <rgm@gnu.org>
1743
1744 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
1745
1746 2010-12-15 Jari Aalto <jari.aalto@cante.net>
1747 Scott Evans <gse@antisleep.com>
1748
1749 * rect.el (rectange--default-line-number-format)
1750 (rectangle-number-line-callback): New functions.
1751 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
1752
1753 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
1754
1755 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
1756 Delete unused variables.
1757 (move-to-column-force): Remove function obsolete since 21.2.
1758
1759 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
1760
1761 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
1762 (tramp-handle-insert-file-contents): Do not set permanent-local
1763 property.
1764
1765 * net/tramp-cache.el (tramp-persistency-file-name):
1766 Use `locate-user-emacs-file' if fboundp.
1767
1768 * net/tramp-sh.el (tramp-methods): Add "ksu".
1769 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
1770 method list.
1771
1772 2010-12-14 Glenn Morris <rgm@gnu.org>
1773
1774 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
1775 (find-tag-marker-ring): Declare.
1776 (js-find-symbol): Require etags.
1777
1778 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
1779 Require mail-utils.
1780 (mail-alias-file): Don't autoload. Doc fix.
1781 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
1782 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
1783 Mark as obsolete, and risky.
1784 (mail-setup): Simplify.
1785
1786 * mail/mailalias.el (build-mail-aliases): Make it interactive.
1787 * mail/sendmail.el (build-mail-aliases): Update autoload.
1788
1789 * dired.el (dired-trivial-filenames, dired-chown-program)
1790 (dired-auto-revert-buffer): Remove autoload cookies.
1791 * mail/sendmail.el (mail-recover-1): Require 'dired.
1792
1793 * dired.el (dired-subdir-switches, dired-chown-program)
1794 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
1795 Make into defcustoms.
1796 (dired-chown-program): Simplify initialization.
1797
1798 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
1799
1800 2010-12-13 Romain Francoise <romain@orebokech.com>
1801
1802 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
1803
1804 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
1805
1806 * net/netrc.el (netrc-point-at-eol): Remove the unused
1807 netrc-point-at-old and netrc-bound-and-true-p bindings.
1808 (netrc-parse): Cache the netrc contents.
1809
1810 2010-12-13 Eli Zaretskii <eliz@gnu.org>
1811
1812 * subr.el (posn-col-row): Evaluate header-line-format in the
1813 context of the POSITION window's buffer.
1814
1815 2010-12-13 Glenn Morris <rgm@gnu.org>
1816
1817 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
1818 (with-silent-modifications): Doc fixes.
1819
1820 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
1821
1822 * net/tramp.el (tramp-action-password, tramp-process-actions):
1823 Revert previous from. Use `save-restriction'.
1824
1825 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
1826
1827 * calendar/diary-lib.el (diary-list-sexp-entries):
1828 Handle case of no newline at end of file. (Bug#7536)
1829
1830 2010-12-13 Glenn Morris <rgm@gnu.org>
1831
1832 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
1833
1834 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
1835
1836 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
1837 (tramp-process-actions): Do not widen.
1838
1839 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1840 Protect buffer-modified value. (Bug#7557)
1841
1842 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
1843
1844 * log-edit.el (log-edit-changelog-entries):
1845 Regexp quote filename. (Bug#7505)
1846
1847 2010-12-13 Tom Breton <tehom@panix.com>
1848
1849 * cus-edit.el (custom-save-all):
1850 Bind print-length and print-level to nil. (Bug#7581)
1851
1852 2010-12-13 Glenn Morris <rgm@gnu.org>
1853
1854 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
1855 Run hooks to update menu contents. (Bug#7586)
1856
1857 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
1858 file names, for the sake of MS Windows. (Bug#7588)
1859
1860 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
1861
1862 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
1863 empty lines without a leading space.
1864
1865 2010-12-13 Leo <sdl.web@gmail.com>
1866
1867 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
1868 while mapping over marks (Bug#6810).
1869
1870 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
1871
1872 * image-dired.el (image-dired-db-file)
1873 (image-dired-temp-image-file, image-dired-gallery-dir)
1874 (image-dired-temp-rotate-image-file): Set default values relative
1875 to image-dired-dir (Bug#7518).
1876
1877 2010-12-13 Lawrence Mitchell <wence@gmx.li>
1878
1879 * format.el (format-decode-run-method): Pass args FROM and TO, not
1880 point-min and point-max, to shell-command-on-region (Bug#7488).
1881
1882 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
1883
1884 * frame.el (blink-cursor-mode): Make default t for ns.
1885
1886 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
1887
1888 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
1889
1890 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
1891
1892 * comint.el (comint-dynamic-list-input-ring)
1893 (comint-dynamic-complete-filename)
1894 (comint-replace-by-expanded-filename)
1895 (comint-dynamic-simple-complete)
1896 (comint-dynamic-list-filename-completions)
1897 (comint-dynamic-list-completions): Doc fix (Bug#7499).
1898
1899 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
1900 Doc fix (Bug#7471).
1901
1902 2010-12-13 Martin Rudalics <rudalics@gmx.at>
1903
1904 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
1905 (Bug#7533).
1906
1907 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
1908
1909 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
1910 (Bug#7491).
1911
1912 2010-12-13 Eli Zaretskii <eliz@gnu.org>
1913
1914 * files.el (file-relative-name): Handle UNC file names on
1915 DOS/Windows. (Bug#4674)
1916
1917 2010-12-13 Daiki Ueno <ueno@unixuser.org>
1918
1919 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
1920 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
1921 (epg-context-set-passphrase-callback): Mention that the callback
1922 is not called when used with GnuPG 2.x.
1923
1924 2010-12-13 Glenn Morris <rgm@gnu.org>
1925
1926 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
1927 Ensure ps-footer-font-size-internal is initialized.
1928 Call ps-get-page-dimensions before trying to use ps-font-for-text.
1929
1930 2010-12-13 Kenichi Handa <handa@m17n.org>
1931
1932 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
1933 within condition-case.
1934 (rmail-show-mime): Don't use condition-case.
1935 (rmail-search-mime-message): New function.
1936 (rmail-search-mime-message-function): Set to
1937 rmail-search-mime-message.
1938
1939 2010-12-13 Leo <sdl.web@gmail.com>
1940
1941 * ido.el (ido-common-initialization): New function. (bug#3274)
1942 (ido-mode): Use it.
1943 (ido-completing-read): Call it.
1944
1945 2010-12-12 Karl Fogel <kfogel@red-bean.com>
1946
1947 * bookmark.el (bookmark-name-from-full-record): Rename back to
1948 this original name from `bookmark-name-from-record' reverting part
1949 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
1950 As Drew Adams pointed out, there was no reason to cause churn for
1951 third-party callers.
1952
1953 2010-12-12 Alan Mackenzie <acm@muc.de>
1954
1955 * progmodes/cc-engine.el (c-forward-type): Before scanning a
1956 template arglist, check that the current language supports this.
1957
1958 2010-12-11 Glenn Morris <rgm@gnu.org>
1959
1960 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
1961 state of the file matches. (Bug#7544)
1962 (vc-bzr-register, vc-bzr-checkin)
1963 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
1964 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
1965
1966 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
1967
1968 2010-12-11 Karel Klíč <kklic@redhat.com>
1969
1970 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
1971
1972 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1973
1974 Derive from prog-mode, use derived-mode-p, and fix up various
1975 minor style issues in lisp/progmodes.
1976
1977 * progmodes/vhdl-mode.el (vhdl-mode):
1978 * progmodes/verilog-mode.el (verilog-mode):
1979 * progmodes/vera-mode.el (vera-mode):
1980 * progmodes/sql.el (sql-mode):
1981 * progmodes/scheme.el (scheme-mode):
1982 * progmodes/perl-mode.el (perl-mode):
1983 * progmodes/octave-inf.el (inferior-octave-mode):
1984 * progmodes/autoconf.el (autoconf-mode):
1985 * progmodes/m4-mode.el (m4-mode):
1986 * progmodes/inf-lisp.el (inferior-lisp-mode):
1987 * progmodes/idlwave.el (idlwave-mode):
1988 * progmodes/icon.el (icon-mode):
1989 * progmodes/idlw-help.el (idlwave-help-mode):
1990 * progmodes/dcl-mode.el (dcl-mode):
1991 * progmodes/idlw-shell.el (idlwave-shell-mode):
1992 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
1993 (ebrowse-member-mode, ebrowse-electric-position-mode):
1994 Use define-derived-mode.
1995
1996 * progmodes/xscheme.el (exit-scheme-interaction-mode)
1997 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
1998 (xscheme-debugger-mode-p, xscheme-send-string-1):
1999 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
2000 (tcl-load-file, tcl-restart-with-file):
2001 * progmodes/ps-mode.el (ps-run-running):
2002 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
2003 * progmodes/js.el (js--get-all-known-symbols):
2004 * progmodes/inf-lisp.el (inferior-lisp-proc):
2005 * progmodes/idlwave.el (idlwave-beginning-of-statement)
2006 (idlwave-template, idlwave-update-buffer-routine-info)
2007 (idlwave-update-current-buffer-info)
2008 (idlwave-get-routine-info-from-buffers, idlwave-choose)
2009 (idlwave-scan-class-info, idlwave-fix-keywords)
2010 (idlwave-list-buffer-load-path-shadows):
2011 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
2012 (idlwave-toolbar-remove):
2013 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
2014 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
2015 (idlwave-shell-menu-def):
2016 * progmodes/idlw-complete-structtag.el
2017 (idlwave-prepare-structure-tag-completion):
2018 * progmodes/gud.el (gud-set-buffer):
2019 * progmodes/f90.el (f90-backslash-not-special):
2020 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
2021
2022 * progmodes/xscheme.el (xscheme-start)
2023 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
2024 * progmodes/which-func.el (which-function):
2025 * progmodes/vhdl-mode.el (vhdl-set-style):
2026 * progmodes/verilog-mode.el (verilog-set-compile-command)
2027 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
2028 (verilog-set-define, verilog-auto-reeval-locals):
2029 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
2030 * progmodes/simula.el (simula-mode):
2031 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
2032 * progmodes/python.el (python-check, python-mode):
2033 * progmodes/prolog.el (prolog-mode-variables):
2034 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
2035 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
2036 * progmodes/delphi.el (delphi-mode):
2037 * progmodes/cc-styles.el (c-setup-paragraph-variables):
2038 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
2039 (c-font-lock-init): Move make-local-variable to their setq.
2040
2041 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
2042 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
2043 make-local-hook.
2044 * progmodes/sh-script.el (sh-require-final-newline): Remove.
2045 (sh-set-shell): Don't set require-final-newline since it's already done
2046 by prog-mode.
2047 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
2048 since we never set it.
2049 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
2050 Use read-string and standard prompt.
2051 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
2052 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
2053 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
2054 (meta-common-mode-map): Rename from meta-mode-map.
2055 Remove C-m binding, which is a user preference, not mode specific.
2056 (meta-common-mode): New major mode; replace meta-common-initialization.
2057 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
2058 around with font-lock.
2059 * progmodes/etags.el (select-tags-table-mode):
2060 Derive from special-mode.
2061 * progmodes/octave-mod.el (octave-mode):
2062 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
2063 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
2064 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
2065 Let define-derived-mode do its job.
2066 * progmodes/cpp.el (cpp-edit-mode-map):
2067 Move initialization into declaration.
2068 (cpp-edit-mode): Use define-derived-mode.
2069 (cpp-edit-load): Use derived-mode-p.
2070 * progmodes/mixal-mode.el (mixal-mode):
2071 * progmodes/f90.el (f90-mode):
2072 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
2073 require-final-newline since prog-mode does it already.
2074 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
2075 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
2076 * progmodes/antlr-mode.el: Require cc-mode upfront.
2077 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
2078 the declaration.
2079 (antlr-directory-dependencies, antlr-show-makefile-rules):
2080 Use derived-mode-p.
2081 (antlr-language-option): Don't assume point-min==1.
2082 (antlr-mode): Use define-derived-mode.
2083 * progmodes/ada-mode.el: Use derived-mode-p.
2084 (ada-mode): Use define-derived-mode.
2085 Use hack-local-variables-hook.
2086
2087 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2088
2089 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
2090 (texinfo-mode): Don't disable adaptive-fill-mode.
2091 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
2092 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
2093 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
2094 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
2095 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
2096 (texinfo-insert-@quotation, texinfo-insert-@samp)
2097 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
2098 (texinfo-insert-@uref): Use define-skeleton.
2099 (texinfo-insert-@-with-arg): Delete.
2100
2101 2010-12-10 Eli Zaretskii <eliz@gnu.org>
2102
2103 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
2104 nil, do quote archive member names. (Bug#6144)
2105
2106 2010-12-10 Glenn Morris <rgm@gnu.org>
2107
2108 * files.el (diff-no-select): Declare.
2109
2110 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
2111 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
2112
2113 * comint.el (comint-input-ring-file-name): Doc fix.
2114
2115 2010-12-09 Eli Zaretskii <eliz@gnu.org>
2116
2117 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
2118 New functions.
2119 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
2120 Use them instead of `nil' and `>', respectively.
2121 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
2122 instead of `nil'.
2123 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
2124 and menu-bar-positive-p instead of `nil' and `>', respectively.
2125 (Bug#1077)
2126
2127 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2128
2129 * whitespace.el (whitespace-newline-mode): Code fix.
2130
2131 2010-12-09 Glenn Morris <rgm@gnu.org>
2132
2133 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
2134 Rename functions without commas, update callers.
2135
2136 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
2137
2138 * whitespace.el (whitespace-cleanup-region):
2139 Clean up spaces before tabs. (Bug#7582)
2140
2141 2010-12-08 Karl Fogel <kfogel@red-bean.com>
2142
2143 * bookmark.el: Adjust parameter names and doc strings to resolve
2144 confusion over whether "bookmark" meant a bookmark name or a
2145 bookmark record. Along the way, shorten one function's name for
2146 similar reasons. (Issue #7548)
2147 (bookmark-name-from-record): New name for
2148 `bookmark-name-from-full-record'. All callers changed.
2149 (bookmark-get-bookmark, bookmark-get-bookmark-record)
2150 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
2151 (bookmark-get-annotation, bookmark-set-annotation)
2152 (bookmark-get-filename, bookmark-set-filename)
2153 (bookmark-get-position, bookmark-set-position)
2154 (bookmark-get-front-context-string, bookmark-set-front-context-string)
2155 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
2156 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
2157 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
2158 Rename `bookmark' parameter to `bookmark-name-or-record', to
2159 clearly show its role, and shorten or adjust doc strings accordingly.
2160 (bookmark-set-name): Same, and pass the parameter directly to
2161 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
2162 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
2163 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
2164 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
2165 and in some cases shorten doc string accordingly.
2166 (bookmark-rename): Change `old' and `new' parameters to `old-name'
2167 and `new-name', and adjust an internal variable to avoid confusion.
2168 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
2169 parameter in doc string.
2170
2171 2010-12-08 Glenn Morris <rgm@gnu.org>
2172
2173 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
2174 from gdb's history file. (Bug#7575)
2175
2176 * mail/emacsbug.el (report-emacs-bug):
2177 Try to handle some other mail clients.
2178
2179 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2180
2181 * files.el (dir-locals-collect-variables): Don't let errors stop us.
2182 Use string-prefix-p.
2183 (file-name-version-regexp): New var.
2184 (file-name-sans-versions):
2185 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
2186 (jka-compr-get-compression-info): Use dolist.
2187 (jka-compr-compression-info-list): Don't bother specifying
2188 version/backup regexps.
2189
2190 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
2191
2192 * simple.el (just-one-space): Make argument n default to 1 if
2193 omitted.
2194
2195 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2196
2197 * electric.el (electric-indent-post-self-insert-function):
2198 Delete trailing newlines even if we don't reindent.
2199
2200 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2201
2202 * minibuffer.el (completion-at-point): Remove the `arg'.
2203 * bindings.el (complete-symbol): Move back from minibuffer.el.
2204
2205 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2206
2207 * simple.el (just-one-space): Delete newlines for negative arg.
2208
2209 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2210
2211 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
2212 (ansi-color-filter-apply): Simplify.
2213 (ansi-color-apply): Use `font-lock-face' rather than `face'.
2214
2215 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
2216
2217 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
2218
2219 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
2220
2221 * dired.el (dired-use-ls-dired): Set default to a special
2222 "unspecified" value.
2223 (dired-insert-directory): When called the first time, check
2224 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
2225
2226 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
2227
2228 * replace.el: Add "collect" feature to occur.
2229 (occur-collect-regexp-history): New var.
2230 (occur-read-primary-args): Return a replace string for nlines,
2231 if needed.
2232 (occur): Extend the meaning of nlines.
2233
2234 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2235
2236 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
2237 (which-func-update-1): Distinguish symbols from strings.
2238 (which-function): Stay within 80 columns.
2239
2240 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
2241
2242 * subr.el (with-demoted-errors): Distinguish symbols from strings.
2243
2244 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
2245 Improve docstring.
2246 (comment-style): Use comment-styles's docs to describe values.
2247
2248 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
2249
2250 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
2251 and ns-show-prefs (Bug#7535).
2252
2253 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
2254 bindings (Bug#7535).
2255
2256 2010-12-03 Glenn Morris <rgm@gnu.org>
2257
2258 * nxml/nxml-mode.el: Require rng-nxml.
2259 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
2260 Remove declarations.
2261
2262 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
2263 * nxml/rng-nxml.el, nxml/rng-valid.el:
2264 Remove leading `*' from defcustom docs.
2265
2266 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
2267 (normal-top-level-add-to-load-path, tty-handle-args):
2268 Convert comments to basic doc-strings.
2269
2270 * net/browse-url.el (browse-url-url-at-point)
2271 (browse-url-default-browser): Remove autoload cookies.
2272
2273 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
2274 Remove more undefined cl functions.
2275
2276 * vc/diff.el (diff-sentinel): Make new arguments optional.
2277 * ibuf-ext.el (diff-sentinel): Update declaration.
2278
2279 2010-12-03 Daiki Ueno <ueno@unixuser.org>
2280
2281 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
2282 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
2283 (epg-context-set-passphrase-callback): Mention that the callback
2284 is not called when used with GnuPG 2.x.
2285
2286 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
2287
2288 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
2289 (tramp-file-name-port): Check also for `tramp-default-port'.
2290 (tramp-get-connection-name): New defun.
2291 (tramp-get-connection-process): Use it.
2292 (tramp-debug-message): Extend function exclude list.
2293 (tramp-drop-volume-letter): Fix doc string.
2294
2295 * net/tramp-cmds.el: Remove solved todo item.
2296
2297 * net/tramp-efs.el:
2298 * net/tramp-ftp.el:
2299 * net/tramp-gvfs.el:
2300 * net/tramp-gw.el:
2301 * net/tramp-imap.el:
2302 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
2303 and `tramp-default-user-alist', respectively.
2304
2305 * net/tramp-gw.el (tramp-gw-open-connection):
2306 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
2307
2308 * net/tramp-imap.el (tramp-imap-make-iht): Use just
2309 `tramp-file-name-port'.
2310
2311 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
2312 and "psftp". Exchange "%k" marker with options.
2313 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
2314 Compute size of link target.
2315 (tramp-do-copy-or-rename-file-out-of-band). Move setting of
2316 `tramp-current-*' up due to gateway methods. Optimze computing of
2317 copy arguments. Use `tramp-get-connection-name' and
2318 `tramp-get-connection-buffer'. Improve debug messages.
2319 (tramp-compute-multi-hops): Remove port determination.
2320 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
2321
2322 * net/trampver.el: Update release number.
2323
2324 2010-12-02 Glenn Morris <rgm@gnu.org>
2325
2326 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
2327 Avoid infinite loop over windows. (Bug#7492)
2328
2329 * progmodes/flymake.el (flymake-check-file-limit):
2330 Allow nil to mean "no limit".
2331 (flymake-check-patch-master-file-buffer): Update for above change.
2332 Allow a .tex file-name extension to be optional.
2333 (flymake-master-tex-init): Also match \include statements.
2334
2335 2010-11-30 Sam Steingold <sds@gnu.org>
2336
2337 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
2338 (nxml-parent-document-set): A function to set `nxml-parent-document'.
2339 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
2340 (nxml-mode-hook): Remove `defcustom' (auto-defined by
2341 define-derived-mode').
2342 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
2343 users who want to call `nxml-parent-document-set'.
2344
2345 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
2346
2347 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
2348 stand-alone lines, since that is handled by log-edit-match-to-eoh
2349 (Bug#6465).
2350
2351 2010-11-27 Eduard Wiebe <usenet@pusto.de>
2352
2353 * dired.el (dired-get-filename): Replace backslashes with slashes
2354 in file names on MS-Windows, needed by `locate'. (Bug#7308)
2355 * locate.el (locate-default-make-command-line): Don't consider
2356 drive letter and root directory part of
2357 `directory-listing-before-filename-regexp'. (Bug#7308)
2358 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
2359
2360 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2361
2362 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
2363 of :smie-open/close-alist.
2364 (smie-next-sexp): Make it accept a "start token" as argument.
2365 (smie-indent-keyword): Be careful not to misidentify tokens that span
2366 more than one line, as empty lines. Add argument `token'.
2367
2368 2010-11-27 Kenichi Handa <handa@m17n.org>
2369
2370 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
2371 multipart subtypes, insert all as usual.
2372
2373 * mail/rmail.el: Require rfc2047.
2374
2375 2010-11-27 Kenichi Handa <handa@m17n.org>
2376
2377 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
2378 (rmail-mime-entity-disposition)
2379 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
2380 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
2381 (rmail-mime-save): Handle the case that the button's `data' is a
2382 MIME entity.
2383 (rmail-mime-insert-text): New function.
2384 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
2385 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
2386 (rmail-mime-insert-bulk): New function mostly copied from the old
2387 rmail-mime-bulk-handler.
2388 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
2389 (rmail-mime-process-multipart): New function mostly copied from
2390 the old rmail-mime-multipart-handler.
2391 (rmail-mime-show): Just call rmail-mime-process.
2392 (rmail-mime-process): New function mostly copied from the old
2393 rmail-mime-show.
2394 (rmail-mime-insert-multipart, rmail-mime-parse)
2395 (rmail-mime-insert, rmail-show-mime)
2396 (rmail-insert-mime-forwarded-message)
2397 (rmail-insert-mime-resent-message): New functions.
2398 (rmail-insert-mime-forwarded-message-function): Set to
2399 rmail-insert-mime-forwarded-message.
2400 (rmail-insert-mime-resent-message-function): Set to
2401 rmail-insert-mime-resent-message.
2402
2403 * mail/rmailsum.el: Require rfc2047.
2404 (rmail-header-summary): Handle multiline Subject: field.
2405 (rmail-summary-line-decoder): Change the default to
2406 rfc2047-decode-string.
2407
2408 * mail/rmail.el (rmail-enable-mime): Change the default to t.
2409 (rmail-mime-feature): Change the default to `rmailmm'.
2410 (rmail-quit): Delete the specifal code for rmail-enable-mime.
2411 (rmail-display-labels): Likewise.
2412 (rmail-show-message-1): Check rmail-enable-mime, and use
2413 rmail-show-mime-function for a MIME message. Decode the headers
2414 according to RFC2047.
2415
2416 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2417
2418 * progmodes/which-func.el (which-func-imenu-joiner-function):
2419 Return a string, as expected.
2420 (which-function-mode): Make sure we stop any previous timer before
2421 starting a new one.
2422
2423 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
2424
2425 * net/tramp.el (tramp-default-method-alist)
2426 (tramp-default-user-alist, tramp-default-proxies-alist):
2427 Adapt custom options type. (Bug#7445)
2428
2429 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
2430
2431 * progmodes/python.el: Add Ipython support (Bug#5390).
2432 (python-shell-prompt-alist)
2433 (python-shell-continuation-prompt-alist): New options.
2434 (python--set-prompt-regexp): New function.
2435 (inferior-python-mode, run-python, python-shell):
2436 Require ansi-color. Use python--set-prompt-regexp to set the comint
2437 prompt based on the Python interpreter.
2438 (python--prompt-regexp): New var.
2439 (python-check-comint-prompt)
2440 (python-comint-output-filter-function): Use it.
2441 (run-python): Use a pipe (Bug#5694).
2442
2443 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
2444
2445 * progmodes/python.el (run-python): Doc fix.
2446 (python-keep-current-directory-in-path): New var (Bug#7454).
2447
2448 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
2449
2450 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
2451 Prompt user before actually printing.
2452
2453 2010-11-27 Glenn Morris <rgm@gnu.org>
2454
2455 * startup.el (package-enable-at-startup, package-initialize):
2456 Remove unnecessary declarations.
2457
2458 2010-11-27 Eli Zaretskii <eliz@gnu.org>
2459
2460 * international/characters.el (glyphless-char-display-control):
2461 Exclude newline and TAB from the c0-control group.
2462
2463 2010-11-27 Glenn Morris <rgm@gnu.org>
2464
2465 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
2466 (expand-mail-aliases): Remove unnecessary autoload.
2467
2468 * allout.el (allout-command-prefix, allout-mode-map): Declare.
2469
2470 * shell.el (shell-dir-cookie-re): Move definition before use.
2471
2472 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
2473 Replace undefined CL functions.
2474
2475 2010-11-26 Eli Zaretskii <eliz@gnu.org>
2476
2477 * simple.el (prog-mode): Set bidi-paragraph-direction to
2478 left-to-right.
2479
2480 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
2481
2482 2010-11-26 Glenn Morris <rgm@gnu.org>
2483
2484 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
2485 diary-outlook-formats can be sensitive to calendar-date-style.
2486 (diary-outlook-formats): Simplify the default setting.
2487 (diary-from-outlook-internal): Pass subject and body as arguments.
2488 Use dolist rather than dotimes. Don't save the diary buffer.
2489 (diary-from-outlook-gnus, diary-from-outlook-rmail):
2490 Pass subject and body as explicit arguments to the -internal function.
2491
2492 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
2493
2494 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
2495 parsing them. This makes mailto:...?subject=foo\nbar work.
2496
2497 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2498
2499 * vc/diff.el (diff): Fix last change.
2500
2501 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
2502
2503 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
2504 (pcase--dontcare-upats): New var.
2505 (pcase-let, pcase-let*): Generate better code.
2506 Accept the same bodies as `let'.
2507 (pcase-dolist): New macro.
2508 (pcase--trivial-upat-p): New helper function.
2509 (pcase--expand): Strip leading "(let nil" if any.
2510
2511 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
2512
2513 * mail/mailclient.el (browse-url): Require.
2514 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
2515 use the external browser function to send the mail (bug#7469).
2516
2517 * net/browse-url.el (browse-url-browser-function): Revert the
2518 default back to the previous value, since the new value broke
2519 mailclient.el.
2520 (browse-url-mailto-function): New variable for mailto: URLs.
2521 (browse-url): Use the new variable for mailto: URLs.
2522
2523 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
2524
2525 * eshell/esh-cmd.el (eshell-parse-command):
2526 * eshell/esh-arg.el (eshell-parse-arguments):
2527 * eshell/em-script.el (eshell-source-file):
2528 Use with-silent-modifications.
2529
2530 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
2531
2532 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
2533 for a merge location.
2534
2535 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
2536 (vc-bzr-merge-branch): Always prompt.
2537 (vc-bzr-async-command): Use the full branch filename.
2538
2539 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
2540
2541 * shell.el (shell): Use current-buffer by default if it's already
2542 a shell mode buffer and its process is dead.
2543 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
2544
2545 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
2546
2547 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
2548 Mention that the keywords should be comma separated.
2549
2550 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
2551
2552 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
2553 Accept optional prefix arg meaning to prompt for a command.
2554 (vc-update): Use vc-BACKEND-pull if available. Accept optional
2555 prefix arg meaning to prompt for a command.
2556 (vc-pull): Alias for vc-update.
2557
2558 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
2559 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
2560 (vc-bzr-merge-branch): New functions, implementing merge-branch
2561 and pull operations.
2562
2563 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
2564
2565 * Makefile.in: Fix up last merge.
2566
2567 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
2568 (diff-sentinel): Get them as arguments instead.
2569 (diff-old-file, diff-new-file, diff-extra-args): Remove.
2570 (diff-file-local-copy, diff-better-file-name): New funs.
2571 (diff-no-select): Rename from diff-into-buffer.
2572 Support buffers additionally to files. Move `buf' arg. Don't display buf.
2573 Prefer closures to buffer-local variables.
2574 (diff): Adjust accordingly.
2575 (diff-buffer-with-file): Move from files.el.
2576 * files.el (diff-buffer-with-file): Move to vc/diff.el.
2577 (diff-buffer-internal): Remove.
2578 (diff-buffer-buffer): Remove.
2579 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
2580 the buffer name used, and so as not to mess up windows and frames.
2581
2582 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
2583
2584 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
2585 (diff-buffer-internal): New function extracted from diff-buffer-with-file
2586 (diff-buffer-with-file): Use it.
2587 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
2588 (diff): Use it.
2589
2590 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
2591
2592 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
2593 \ref's or \pageref's value as default instead of initial input.
2594
2595 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
2596
2597 * files.el (backup-by-copying-when-mismatch): The default value is
2598 now t.
2599
2600 * startup.el (normal-top-level):
2601 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
2602 `backup-by-copying-when-mismatch'.
2603
2604 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
2605
2606 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
2607
2608 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2609
2610 * progmodes/python.el (python-font-lock-keywords):
2611 Highlight top-level augmented assignments (Bug#6445).
2612
2613 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
2614
2615 * term/ns-win.el (ns-right-control-modifier)
2616 (ns-right-command-modifier): Defvar them.
2617
2618 * cus-start.el (all): Add ns-right-control-modifier and
2619 ns-right-command-modifier (Bug#7458).
2620
2621 2010-11-20 Glenn Morris <rgm@gnu.org>
2622
2623 * emacs-lisp/authors.el (authors-ignored-files)
2624 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
2625
2626 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
2627
2628 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
2629 (report-emacs-bug-parse-query-results)
2630 (report-emacs-bug-create-existing-bugs-buffer): Pass through
2631 keywords used for querying the bug database to show them in the
2632 existing bugs buffer.
2633
2634 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
2635
2636 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
2637
2638 * info.el (info-tool-bar-map): Add some :vert-only keywords.
2639
2640 2010-11-20 Eli Zaretskii <eliz@gnu.org>
2641
2642 * international/characters.el (glyphless-char-display-control):
2643 Make it a defcustom, with update-glyphless-char-display as its
2644 :set attribute.
2645 (top level): Don't call update-glyphless-char-display.
2646
2647 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
2648
2649 Sync with Tramp 2.2.0.
2650
2651 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
2652 `file-remote-p' (due to compatibility).
2653
2654 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
2655 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
2656
2657 * net/trampver.el: Update release number.
2658
2659 2010-11-20 Eli Zaretskii <eliz@gnu.org>
2660
2661 * faces.el (glyphless-char): Define value for `pc'.
2662
2663 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
2664
2665 Implemented a bug querying mechanism.
2666 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
2667 (report-emacs-bug-create-existing-bugs-buffer)
2668 (report-emacs-bug-parse-query-results)
2669 (report-emacs-bug-query-existing-bugs): New functions.
2670
2671 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
2672
2673 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
2674 a \ref{} or \pageref{} macro, then use its value as initial input.
2675
2676 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
2677
2678 * calc/calc-units.el (math-build-units-table-buffer):
2679 calc/README: Mention that the TeX specific units won't use the
2680 `tex' prefix in TeX mode.
2681 calc/calc-lang.el (math-variable-table): Don't use the `tex'
2682 prefix for units in TeX mode.
2683
2684 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2685
2686 * simple.el (kill-new, kill-append, kill-region):
2687 * comint.el (comint-kill-region): Make the yank-handler argument
2688 obsolete.
2689
2690 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2691
2692 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
2693 that are both openers (resp. closers) and something else.
2694 (smie-grammar): Loosen definition of valid values.
2695 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
2696 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
2697 (smie-indent-after-keyword): Adjust users.
2698 (smie-indent-keyword): Don't indent empty lines.
2699
2700 * vc-hg.el (vc-hg-program): New var.
2701 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
2702 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
2703
2704 2010-11-18 Glenn Morris <rgm@gnu.org>
2705
2706 * emacs-lisp/autoload.el (autoload-find-destination): The function
2707 coding-system-eol-type may return non-numeric values. (Bug#7414)
2708
2709 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
2710
2711 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
2712
2713 2010-11-18 Eli Zaretskii <eliz@gnu.org>
2714
2715 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
2716
2717 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
2718
2719 * textmodes/picture.el (picture-mouse-set-point): Don't use
2720 posn-col-row; explicitly compute the motion based on the posn at
2721 the window-start (Bug#7390).
2722
2723 2010-11-18 Glenn Morris <rgm@gnu.org>
2724
2725 * novice.el (disabled-command-function):
2726 Fix 2009-11-15 change. (Bug#7384)
2727
2728 2010-11-18 Glenn Morris <rgm@gnu.org>
2729
2730 * calendar/calendar.el (diary-iso-date-forms): Make elements
2731 mutually exclusive. (Bug#7377)
2732
2733 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2734
2735 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
2736 when filling the remaining "unconstrained" values.
2737
2738 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2739
2740 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
2741 safety predicate.
2742
2743 * files.el (safe-local-variable-p): Gracefully handle errors.
2744
2745 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
2746 Use smie-indent-virtual when indenting relative to an opener.
2747 (smie-rule-separator): Use smie-rule-parent.
2748 (smie-indent-keyword): Consult rules, even for openers at bol.
2749 (smie-indent-comment-close): Try to align closer's content.
2750
2751 2010-11-18 Glenn Morris <rgm@gnu.org>
2752
2753 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
2754
2755 2010-11-18 Glenn Morris <rgm@gnu.org>
2756
2757 * printing.el (pr-menu-bind): Doc fix.
2758
2759 * speedbar.el (speedbar-toggle-images): Doc fix.
2760
2761 * progmodes/python.el (python-shell): Doc fix.
2762
2763 * wid-edit.el (widget-field-use-before-change)
2764 (widget-use-overlay-change): Doc fixes.
2765
2766 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2767
2768 Minor cleanup to improve style.
2769 * textmodes/rst.el (rst-update-section): Use point-marker.
2770 (rst-get-decoration): Eliminate unneeded assignment.
2771 (rst-promote-region, rst-straighten-decorations)
2772 (rst-section-tree, rst-adjust): Use point-marker.
2773 (rst-toc-mode-mouse-goto): Avoid setq.
2774 (rst-shift-region-guts, rst-shift-region-left)
2775 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
2776 (rst-convert-bullets-to-enumeration): Use copy-marker.
2777
2778 * minibuffer.el (completion-fail-discreetly): New var.
2779 (completion--do-completion): Use it.
2780
2781 * electric.el (electric-pair-pairs): New var.
2782 (electric-pair-post-self-insert-function): Use it.
2783 (electric-layout-post-self-insert-function): Don't insert a before
2784 newline unless it's actually needed.
2785
2786 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2787
2788 * progmodes/python.el (run-python): Explain why we remove the current
2789 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
2790
2791 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
2792
2793 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
2794
2795 * progmodes/octave-mod.el: Rely on elecric-*-modes.
2796 (octave-mode-map): Don't bind ;, SPC, and LF.
2797 (octave-auto-indent, octave-auto-newline): Remove.
2798 (electric-layout-rules): Declare.
2799 (octave-mode): Set electric-layout-rules.
2800 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
2801 (octave-reindent-then-newline-and-indent, octave-electric-semi)
2802 (octave-electric-space): Remove.
2803
2804 * electric.el (electric-layout-mode): New minor mode.
2805 (electric--after-char-pos): New function.
2806 (electric-indent-post-self-insert-function): Use it.
2807 (electric-layout-rules): New var.
2808 (electric-layout-post-self-insert-function): New function.
2809 (electric-indent-mode): Make them interact better.
2810
2811 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2812
2813 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
2814 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
2815 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
2816
2817 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
2818
2819 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
2820 Make sure to check inside the word (Bug#6761).
2821
2822 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
2823
2824 * startup.el (command-line): If the cursorColor resource is set,
2825 change the cursor face-spec (Bug#7392).
2826
2827 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
2828
2829 The main features of the following allout.el changes are:
2830 - implement user customization for the allout key bindings
2831 - add a customization control by which the user can inhibit use of
2832 a trailing Ctrl-H, so by default it's reserved for use with
2833 describe-prefix-bindings
2834 - adapt to new version of called-interactively-p, while
2835 maintaining backwards compatibility with old version
2836 - fix hotspot navigation so i works properly with meta-modified keys
2837
2838 * allout.el (allout-keybindings, allout-bind-keys)
2839 (allout-keybindings-binding, allout-prefixed-keybindings)
2840 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
2841 (allout-keybindings-list, allout-mode-map-adjustments)
2842 (allout-setup-mode-map): Establish allout-mode keymaps as user
2843 customizable settings, and also establish a customizable setting which
2844 regulates whether or not a trailing control-h is reserved for use with
2845 describe-prefix-bindings - and inhibit it by default, so that control-h
2846 *is* reserved for describe-prefix-bindings unless the user changes it.
2847
2848 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
2849 and accurately between modified and unmodified events, and handle
2850 modified events more comprehensively.
2851
2852 * allout.el (allout-substring-no-properties):
2853 Alias to use or provide version of `substring-no-properties'.
2854 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
2855
2856 * allout.el (allout-next-single-char-property-change):
2857 Alias to use or provide version of `next-single-char-property-change'.
2858 (allout-annotate-hidden, allout-hide-by-annotation):
2859 Use `allout-next-single-char-property-change'.
2860
2861 * allout.el (allout-select-safe-coding-system):
2862 Alias to use or provide version of `select-safe-coding-system'.
2863 (allout-toggle-subtree-encryption):
2864 Use `allout-select-safe-coding-system'.
2865
2866 * allout.el (allout-set-buffer-multibyte):
2867 Alias to use or provide version of `set-buffer-multibyte'.
2868 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
2869
2870 * allout.el (allout-called-interactively-p): Macro for using the
2871 different versions of called-interactively-p identically, depending on
2872 the subroutine's argument signature.
2873 (allout-back-to-current-heading, allout-beginning-of-current-entry):
2874 Use `(interactive "p")' instead of `(called-interactively-p)'.
2875
2876 * allout.el (allout-init, allout-ascend, allout-end-of-level)
2877 (allout-previous-visible-heading, allout-forward-current-level)
2878 (allout-backward-current-level, allout-show-children):
2879 Use `allout-called-interactively-p' instead of `called-interactively-p'.
2880
2881 * allout.el (allout-before-change-handler):
2882 Exempt edits to the (overlaid) character after the allout outline
2883 bullet from edit confirmation prompt.
2884
2885 * allout.el (allout-add-resumptions):
2886 Ensure that it respects correct buffer for keybindings.
2887
2888 * allout.el (allout-beginning-of-line):
2889 Use `allout-previous-single-char-property-change' alias for the sake of
2890 diverse compatibility.
2891
2892 * allout.el (allout-end-of-line):
2893 Use `allout-mark-active-p' to encapsulate respect for mark activity.
2894
2895 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
2896
2897 * frame.el (frame-notice-user-settings): Don't clobber other
2898 user-set parameters when calling face-set-after-frame-default in
2899 response to background-color parameter (Bug#7373).
2900
2901 2010-11-13 Eli Zaretskii <eliz@gnu.org>
2902
2903 * international/characters.el (glyphless-char-display-control):
2904 Rename from glyphless-char-control; all users changed. Doc fix.
2905 Signal an error if display method is not one of the recognized
2906 symbols.
2907
2908 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
2909
2910 * net/tramp-compat.el (tramp-compat-line-beginning-position)
2911 (tramp-compat-line-end-position): Remove them.
2912
2913 * net/tramp.el (tramp-parse-rhosts-group)
2914 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
2915 (tramp-parse-hosts-group, tramp-parse-passwd-group)
2916 (tramp-parse-netrc-group, tramp-parse-putty-group)
2917 * net/tramp-cmds.el (tramp-append-tramp-buffers)
2918 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
2919 (tramp-sh-handle-file-selinux-context)
2920 (tramp-sh-handle-file-name-all-completions)
2921 (tramp-sh-handle-insert-directory)
2922 (tramp-sh-handle-expand-file-name, tramp-find-executable)
2923 (tramp-wait-for-output, tramp-send-command-and-read)
2924 * net/tramp-smb.el (tramp-smb-read-file-entry)
2925 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
2926
2927 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
2928 `point-at-bol'.
2929 (tramp-remote-coding-commands): Add an alternative using "base64
2930 -d -i". This is needed for older base64 versions from GNU
2931 coreutils. Reported by Klaus Reichl
2932 <Klaus.Reichl@thalesgroup.com>.
2933
2934 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
2935
2936 * simple.el (count-words-region): New function.
2937
2938 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
2939
2940 * shell.el (shell-dir-cookie-re): New custom variable.
2941 (shell-dir-cookie-watcher): New function.
2942
2943 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
2944 and compilation-mode (bug#7350).
2945
2946 * vc/smerge-mode.el (smerge-refine): Choose better default part to
2947 highlight when one of them is empty.
2948
2949 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
2950 trailing space.
2951 (skeleton-newline): New function.
2952 (skeleton-internal-1): Use it.
2953
2954 * simple.el (open-line): `newline' may strip trailing space.
2955
2956 2010-11-12 Kevin Ryde <user42@zip.com.au>
2957
2958 * international/mule-cmds.el (princ-list): Use mapc.
2959
2960 2010-11-12 Glenn Morris <rgm@gnu.org>
2961
2962 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
2963 Use it to replace all instances of "*Compile-Log*"
2964
2965 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
2966
2967 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
2968 indentation specs.
2969
2970 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2971
2972 * progmodes/modula2.el: Use SMIE and skeleton.
2973 (m2-mode-syntax-table): (*..*) can be nested.
2974 Add //...\n. Fix paren syntax.
2975 (m2-mode-map): Remove LF and TAB bindings.
2976 (m2-indent): Add safety property.
2977 (m2-smie-grammar): New var.
2978 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
2979 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
2980 (m2-mode): Use define-derived-mode.
2981 (m2-newline, m2-tab): Remove.
2982 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
2983 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
2984 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
2985 (m2-import): Use define-skeleton.
2986
2987 2010-11-11 Glenn Morris <rgm@gnu.org>
2988
2989 * obsolete/lucid.el: Don't warn about any CL functions in this file.
2990
2991 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
2992 (ls-lisp-verbosity): Add custom :set-after property.
2993 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
2994 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
2995 (ls-lisp-insert-directory): Update caller.
2996 (ls-lisp-set-options): New function.
2997 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
2998 Doc fix.
2999
3000 * play/landmark.el (lm-prompt-for-move):
3001 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
3002
3003 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
3004
3005 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
3006 (idlwave-study-twins): Prefix dynamic local variable `name'.
3007 (idlwave-routine-twin-compare): Update for above change.
3008
3009 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
3010 Prefix dynamic local variables `name', `kwd', and `link'.
3011 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
3012 * progmodes/idlw-complete-structtag.el
3013 (idlwave-complete-structure-tag-help):
3014 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
3015 (idlwave-complete-sysvar-tag-help)
3016 (idlwave-complete-class-structure-tag-help):
3017 Update for above name changes.
3018
3019 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3020
3021 * net/browse-url.el (browse-url-browser-function): Change the
3022 default to use `browse-url-mail' on mailto: URLs.
3023
3024 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
3025
3026 * emacs-lisp/package.el (package-read-all-archive-contents):
3027 Reset package-archive-contents to nil before re-reading.
3028
3029 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
3030
3031 * textmodes/flyspell.el (flyspell-word): Do not re-check words
3032 already found as misspellings by (flyspell-large-region), just
3033 do highlighting (bug#7322).
3034
3035 2010-11-10 Glenn Morris <rgm@gnu.org>
3036
3037 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
3038
3039 * emulation/edt.el (edt-with-position): New macro.
3040 (edt-find-forward, edt-find-backward, edt-find-next-forward)
3041 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
3042 (edt-paragraph-forward, edt-paragraph-backward): Use it.
3043
3044 * emulation/tpu-extras.el (tpu-with-position): New macro.
3045 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
3046
3047 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
3048
3049 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
3050 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
3051 (texinfo-master-menu, texinfo-insert-node-lines)
3052 (texinfo-multiple-files-update):
3053 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
3054 Use line-beginning-position.
3055
3056 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
3057 No recent Emacs supports system-type `emx'.
3058
3059 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
3060 (ada-command-separator, ada-default-prj-properties)
3061 (ada-find-any-references): Update for above name change.
3062
3063 * dirtrack.el (dirtrack-directory-function)
3064 (dirtrack-canonicalize-function):
3065 * filecache.el (file-cache-completion-ignore-case)
3066 (file-cache-case-fold-search, file-cache-ignore-case):
3067 * term.el (serial-port-is-file-p): Cosmetic change.
3068
3069 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
3070 Remove non-existent `windows-95' system-type.
3071 * dired.el (dired-chown-program): Remove non-existent `linux'
3072 system-type.
3073
3074 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
3075 (ping-program-options): Remove non-existent `linux' system-type.
3076
3077 * startup.el (package-initialize): Update declaration.
3078
3079 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
3080 (ls-lisp-handle-switches): Use time-less-p.
3081 (ls-lisp-format-time): Use float-time.
3082
3083 * textmodes/remember.el (remember-time-to-seconds): Remove.
3084 (remember-store-in-mailbox): Use float-time.
3085
3086 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
3087
3088 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
3089 never a real function.
3090 (with-no-warnings): Remove compat stub, now unused.
3091 (time-less-p): Doc fix.
3092 (time-to-number-of-days): Simplify.
3093
3094 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
3095 Remove.
3096 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
3097 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
3098 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
3099 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
3100 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
3101
3102 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
3103 (eshell-shuffle-files, eshell-shorthand-tar-command)
3104 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
3105 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
3106 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
3107 Prefix dynamic local variable `matches'.
3108
3109 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
3110 Prefix dynamic local variable `skeleton'.
3111
3112 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
3113
3114 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
3115 in mail buffer; make yank-action always a command that yanks original
3116 buffer.
3117
3118 2010-11-09 Glenn Morris <rgm@gnu.org>
3119
3120 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
3121
3122 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3123
3124 * minibuffer.el (minibuffer-completion-help): Specify the end of the
3125 completion field (bug#7211).
3126
3127 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
3128 Fix handling of backslash escapes.
3129 (python-quote-syntax): Adjust accordingly.
3130
3131 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
3132
3133 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
3134 (vc-mtn-workfile-branch): Adjust to new output format.
3135
3136 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3137
3138 * international/mule-cmds.el (princ-list): Mark as obsolete.
3139
3140 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3141
3142 * emacs-lisp/smie.el: New package.
3143
3144 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
3145
3146 * files.el (backup-by-copying-when-mismatch):
3147 Set `permanent-local' property.
3148
3149 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
3150 `permanent-local' property for `backup-by-copying-when-mismatch'.
3151
3152 2010-11-09 Eli Zaretskii <eliz@gnu.org>
3153
3154 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
3155
3156 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
3157
3158 * progmodes/verilog-mode.el (verilog-insert-one-definition)
3159 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
3160 AUTOINOUT for SV style multidimensional arrays, bug294.
3161 Reported by Eric Mastromarchi.
3162 (verilog-preprocess): Use with-current-buffer and
3163 font-lock-fontify-buffer to cleanup style issues.
3164
3165 2010-11-09 Glenn Morris <rgm@gnu.org>
3166
3167 * locate.el (locate, locate-mode): Doc fixes.
3168
3169 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
3170
3171 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
3172 user for confirmation.
3173 (server-force-stop): Use it.
3174 (server-start): Use server-force-stop for kill-emacs-hook, to
3175 avoid user interaction while killing Emacs.
3176
3177 2010-11-09 Glenn Morris <rgm@gnu.org>
3178
3179 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
3180 (meta-indent-line): Simplify.
3181
3182 * vc/emerge.el (emerge-line-number-in-buf):
3183 * textmodes/ispell.el (ispell-region):
3184 * textmodes/fill.el (current-fill-column):
3185 * progmodes/xscheme.el (xscheme-send-current-line):
3186 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
3187 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
3188 * progmodes/sh-script.el (sh-handle-prev-do):
3189 * progmodes/meta-mode.el (meta-indent-line):
3190 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
3191 (idlwave-in-quote):
3192 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
3193 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
3194 * progmodes/fortran.el (fortran-looking-at-if-then):
3195 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
3196 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
3197 (cperl-find-pods-heres):
3198 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
3199 * net/quickurl.el (quickurl-list-insert):
3200 * net/ldap.el (ldap-search-internal):
3201 * net/eudc.el (eudc-expand-inline):
3202 * mail/sendmail.el (sendmail-send-it):
3203 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
3204 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
3205 (viper-brac-function):
3206 * calc/calc-yank.el (calc-do-grab-region):
3207 * calc/calc-keypd.el (calc-keypad-press):
3208 * term.el (term-move-columns, term-insert-spaces):
3209 * speedbar.el (speedbar-highlight-one-tag-line):
3210 * simple.el (current-word):
3211 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
3212 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
3213 (Info-scroll-down):
3214 * hippie-exp.el (he-line-beg):
3215 * epa.el (epa--marked-keys):
3216 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
3217 (dired-update-file-line, dired-add-entry, dired-remove-entry)
3218 (dired-relist-entry):
3219 * buff-menu.el (Buffer-menu-buffer):
3220 * array.el (current-line):
3221 * allout.el (allout-resolve-xref)
3222 (allout-latex-verbatim-quote-curr-line):
3223 Replace yet more uses of end-of-line etc with line-end-position, etc.
3224
3225 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3226
3227 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
3228 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
3229 (checkdoc-syntax-table): Initialize in the declaration.
3230 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
3231 the mode on unconditionally.
3232
3233 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
3234 (extent-end-position, extent-start-position): Remove setf method for
3235 non-existing functions (bug#7319).
3236
3237 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3238
3239 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
3240 (smie-precs->prec2): Rename from smie-precs-precedence-table.
3241 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
3242 (smie-prec2->grammar): Rename from smie-prec2-levels.
3243 (smie-grammar): Rename from smie-op-levels.
3244 (smie-indent--hanging-p): Rename from smie-hanging-p.
3245 (smie-rule-hanging-p): New alias.
3246 (smie-indent--bolp): Rename from smie-bolp.
3247 (smie-indent--hanging-p): New alias.
3248 (smie--token): New dynamically bound variable.
3249 (smie-indent--parent): New function.
3250 (smie-rule-parent-p): Use it; rename from smie-parent-p.
3251 (smie-rule-next-p): Rename from smie-next-p.
3252 (smie-rule-prev-p): Rename from smie-prev-p.
3253 (smie-rule-sibling-p, smie-rule-parent)
3254 (smie-indent--separator-outdent, smie-rule-separator): New functions.
3255 (smie-rule-separator-outdent): New var.
3256 (smie-indent--rule): Merge with smie-indent--column.
3257 (smie-indent-forward-token, smie-indent-backward-token):
3258 Also recognize close parens.
3259 (smie-indent-keyword): Don't use smie-indent--column any more.
3260 (smie-indent-after-keyword): Ignore closers by default.
3261 (smie-indent-line): Use with-demoted-errors.
3262 * progmodes/octave-mod.el (octave-smie-grammar):
3263 Rename from octave-smie-op-levels.
3264 (octave-smie-rules): Adjust to new behavior.
3265 * progmodes/prolog.el (prolog-smie-grammar):
3266 Rename from prolog-smie-op-levels.
3267
3268 2010-11-07 Glenn Morris <rgm@gnu.org>
3269
3270 * eshell/esh-util.el (subst-char-in-string)
3271 (directory-files-and-attributes): These compatibility definitions are
3272 not needed on any version of Emacs since at least 21.4.
3273
3274 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
3275 (verilog-get-end-of-line): Remove.
3276 (verilog-within-string, verilog-re-search-forward-substr)
3277 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
3278 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
3279 Use point-at-bol, point-at-eol.
3280 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
3281 Remove.
3282 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
3283 (electric-pascal-terminate-line, pascal-set-auto-comments)
3284 (pascal-indent-paramlist, pascal-indent-declaration)
3285 (pascal-get-lineup-indent, pascal-func-completion)
3286 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
3287 Use point-at-bol, point-at-eol.
3288 * progmodes/flymake.el (flymake-line-beginning-position)
3289 (flymake-line-end-position): Remove.
3290 (flymake-highlight-line): Use point-at-bol, point-at-eol.
3291 * eshell/esh-util.el (line-end-position, line-beginning-position):
3292 Remove compat definitions.
3293
3294 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
3295 Use end-of-line N.
3296 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
3297 Use line-end-position.
3298
3299 * emacs-lisp/chart.el (chart-zap-chars):
3300 * play/decipher.el (decipher-set-map):
3301 * progmodes/ada-mode.el (ada-get-current-indent)
3302 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
3303 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
3304 * progmodes/ada-xref.el (ada-initialize-runtime-library)
3305 (ada-get-all-references):
3306 * progmodes/cperl-mode.el (cperl-electric-paren)
3307 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
3308 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
3309 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
3310 (cperl-word-at-point-hard):
3311 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
3312 (idlwave-shell-filename-string, idlwave-shell-batch-command)
3313 (idlwave-shell-display-line):
3314 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
3315 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
3316 * progmodes/js.el (js--re-search-forward-inner)
3317 (js--re-search-backward-inner):
3318 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
3319 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
3320 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
3321 * textmodes/flyspell.el (flyspell-process-localwords):
3322 * textmodes/ispell.el (ispell-buffer-local-parsing)
3323 (ispell-buffer-local-dict, ispell-buffer-local-words):
3324 Use point-at-bol and point-at-eol.
3325
3326 * speedbar.el (speedbar-generic-item-info)
3327 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
3328 (speedbar-add-indicator, speedbar-check-vc-this-line)
3329 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
3330 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
3331 Replace more uses of end-of-line etc with line-end-position.
3332
3333 2010-11-06 Glenn Morris <rgm@gnu.org>
3334
3335 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
3336 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
3337 (texinfo-delete-existing-pointers, texinfo-find-pointer)
3338 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
3339 (texinfo-multiple-files-update):
3340 * textmodes/table.el (table--probe-cell-left-up)
3341 (table--probe-cell-right-bottom):
3342 * textmodes/picture.el (picture-tab-search):
3343 * textmodes/page-ext.el (pages-copy-header-and-position)
3344 (pages-directory-for-addresses):
3345 * progmodes/vera-mode.el (vera-get-offset):
3346 * progmodes/simula.el (simula-calculate-indent):
3347 * progmodes/python.el (python-pdbtrack-overlay-arrow):
3348 * progmodes/prolog.el (end-of-prolog-clause):
3349 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
3350 * progmodes/icon.el (indent-icon-exp):
3351 * progmodes/etags.el (tag-re-match-p):
3352 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
3353 * progmodes/ebnf2ps.el (ebnf-begin-file):
3354 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
3355 (dcl-save-local-variable):
3356 * play/life.el (life-setup):
3357 * play/gametree.el (gametree-looking-at-ply):
3358 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
3359 * mail/sendmail.el (mail-mode-auto-fill):
3360 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
3361 * emacs-lisp/edebug.el (edebug-overlay-arrow):
3362 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
3363 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
3364 (woman-tab-to-tab-stop, WoMan-warn-ignored):
3365 * type-break.el (type-break-file-keystroke-count):
3366 * term.el (term-replace-by-expanded-history-before-point)
3367 (term-skip-prompt, term-extract-string):
3368 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
3369 (speedbar-contract-line, speedbar-toggle-line-expansion)
3370 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
3371 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
3372 * sort.el (sort-skip-fields):
3373 * skeleton.el (skeleton-internal-list):
3374 * simple.el (line-move-finish, line-move-to-column):
3375 * shell.el (shell-forward-command):
3376 * misc.el (copy-from-above-command):
3377 * makesum.el (double-column):
3378 * ebuff-menu.el (electric-buffer-update-highlight):
3379 * dired.el (dired-move-to-end-of-filename):
3380 * dframe.el (dframe-popup-kludge):
3381 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
3382 * arc-mode.el (archive-get-lineno):
3383 Use line-end-position and line-beginning-position.
3384
3385 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
3386 (idlwave-study-twins): Prefix dynamic local `class'.
3387 (idlwave-routine-twin-compare): Update for above name change.
3388
3389 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
3390 Use boundp tests to silence compiler. Update for changed name of
3391 bytecomp-filename variable.
3392
3393 * emulation/viper-cmd.el (viper-read-string-with-history):
3394 Prefix dynamic local `initial'.
3395 (viper-minibuffer-standard-hook): Update for above name change.
3396
3397 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
3398 (elint-init-form): Update for above name change.
3399
3400 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
3401 local variables `cbeg' and `cend' a prefix.
3402 (mail-extr-voodoo): Update for above name change.
3403
3404 * textmodes/reftex-toc.el (reftex-toc-do-promote)
3405 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
3406 (reftex-toc-promote-action): Doc fix.
3407
3408 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
3409 `prompt', `data' a prefix.
3410 (reftex-select-post-command-hook, reftex-select-callback)
3411 (reftex-select-mouse-accept, reftex-select-read-cite):
3412 Update for above name changes.
3413
3414 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
3415 `refstyle' to reftex-refstyle.
3416 (reftex-offer-label-menu): Update for above name change.
3417 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
3418 `refstyle' name change.
3419
3420 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
3421 with with-current-buffer.
3422 (diff, template): Give dynamic local variables a prefix.
3423 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
3424 (emerge-line-number-in-buf): Update for above name change.
3425 (emerge-combine-versions-internal): Rename local `template' to
3426 emerge-combine-template.
3427 (emerge-combine-versions-edit): Update for above name change.
3428
3429 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
3430
3431 * textmodes/reftex-cite.el
3432 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
3433 entries with whitespace after \bibitem.
3434 (reftex-create-bibtex-file): Match entries containing numbers and
3435 symbol constituents. Make sure that entries with whitespace at
3436 various places are found.
3437
3438 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
3439
3440 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
3441
3442 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
3443
3444 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
3445
3446 2010-11-05 Glenn Morris <rgm@gnu.org>
3447
3448 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
3449 (woman2-roff-buffer): Give local variable `request' a prefix.
3450 (woman0-macro): Rename argument `request' in the same way.
3451 (woman-request): New name for `request' dynamic variable.
3452 (woman-unquote, woman-forward-arg): Update for above name change.
3453 (woman1-roff-buffer): Give local variable `unquote' a prefix.
3454 (woman1-unquote): New name for `unquote' dynamic variable.
3455 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
3456 (woman-translations): Rename from `translations'. No longer global.
3457 (woman2-tr, woman-translate): Update for above name change.
3458 (woman-translate): Check for bound variable.
3459 (woman2-roff-buffer): Give local variable `translations' a prefix.
3460
3461 * play/doctor.el: Give all local variables a prefix. Update callers.
3462 (doc$, doctor-put-meaning): Use backquote.
3463
3464 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
3465 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
3466
3467 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
3468 variables bytes, ptr, op a prefix.
3469 (disassemble-offset): Update for above change.
3470
3471 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
3472
3473 * emacs-lisp/package.el (package-unpack): Remove no-op.
3474 (package--builtins, package--dir): Doc fix.
3475 (package-activate-1, package-activate, package-install)
3476 (package-compute-transaction): Fix error message.
3477 (package-delete): Use delete-directory. Omit system packages.
3478 (package-initialize): Set package-alist to nil first.
3479 (package-menu-mark-delete, package-menu-mark-install): Don't add
3480 symbols that are inconsistent with the package state.
3481 (package-menu-execute): Perform deletions and installations as
3482 single batch operations.
3483
3484 2010-11-03 Glenn Morris <rgm@gnu.org>
3485
3486 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
3487 (props): Remove unnecessary declaration.
3488
3489 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
3490 set-process-query-on-exit-flag.
3491
3492 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
3493 (reftex-toc-do-promote): Remove unused local `mpos'.
3494 (reftex-toc-restore-region): Make `mpos' local to this function.
3495
3496 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
3497
3498 * play/landmark.el (lm-losing-threshold): Correct spelling.
3499 (lm-human-plays): Use new name.
3500
3501 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
3502 (gomoku-human-plays): Use new name.
3503
3504 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
3505 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
3506 (gomoku-score-trans-table, gomoku-winning-threshold)
3507 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
3508
3509 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
3510
3511 * emacs-lisp/package.el: Don't put built-in packages in
3512 package-alist, to avoid loading inefficiencies.
3513 (package-built-in-p): Make VERSION optional, and treat it as a
3514 minimum acceptable version.
3515 (package-activate): Search separately for built-in packages.
3516 Emit a warning if a dependency fails.
3517 (define-package): Handle most common case, where there is no
3518 obsolete package, first.
3519 (package-compute-transaction): Print required version in error.
3520 (package--initialized): New variable.
3521 (list-packages): Use it.
3522 (package-initialize): Optional arg NO-ACTIVATE. Don't put
3523 built-in packages in packages-alist; keep it separate.
3524 Set package--initialized.
3525 (describe-package): Avoid activating packages as a side-effect.
3526 Search separately for built-in packages.
3527 (describe-package-1): Handle the case where an elpa package is
3528 simultaneously built-in and available/installed.
3529 (package-installed-p, package--generate-package-list):
3530 Search separately for built-in packages.
3531 (package-load-descriptor): Doc fix.
3532
3533 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3534
3535 * progmodes/perl-mode.el (perl-syntax-propertize-function):
3536 Handle __DATA__ and __END__.
3537
3538 2010-11-02 Noah Friedman <friedman@splode.com>
3539
3540 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
3541 nil, do not ask to recompile files that are not already compiled,
3542 and do not recompile them.
3543
3544 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
3545
3546 * emacs-lisp/package.el (package-initialize): Ensure that
3547 obsoleted built-in packages are not in package-activated-list
3548 during activation.
3549 (describe-package-1): Make the "installed" status override
3550 "built-in".
3551
3552 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3553
3554 * subr.el (version-separator, version-regexp-alist): Remove '*'
3555 from docstring.
3556 (version-list-<=, version<=, version=): Doc fix.
3557
3558 2010-11-01 Kenichi Handa <handa@m17n.org>
3559
3560 * faces.el (glyphless-char): Inherit underline for tty.
3561
3562 2010-11-01 Kenichi Handa <handa@m17n.org>
3563
3564 Implement various display methods for glyphless characters.
3565
3566 * international/characters.el (char-acronym-table): New variable.
3567 (glyphless-char-control): New variable.
3568 (update-glyphless-char-display): New funciton.
3569
3570 * faces.el (glyphless-char): New face.
3571
3572 2010-11-01 Glenn Morris <rgm@gnu.org>
3573
3574 * calendar/holidays.el (general-holidays, oriental-holidays)
3575 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
3576 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
3577 the definitions of their targets.
3578
3579 * emacs-lisp/smie.el (smie): New custom group.
3580 (smie-blink-matching-inners, smie-indent-basic): Add :group.
3581
3582 * faces.el (xw-defined-colors, x-setup-function-keys):
3583 * mouse-sel.el (x-select-text):
3584 * term/w32console.el (x-setup-function-keys): Update declarations.
3585
3586 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
3587
3588 * textmodes/ispell.el (comment-add): Declare.
3589
3590 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
3591 Declare.
3592
3593 * info.el (finder-keywords-hash, package-alist): Declare.
3594
3595 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
3596
3597 * finder.el (finder-compile-keywords): Don't use intern-soft,
3598 since package names may not yet exist in the obarray.
3599
3600 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
3601
3602 * vc/vc-arch.el (vc-arch-checkin):
3603 * vc/vc-cvs.el (vc-cvs-checkin):
3604 * vc/vc-mtn.el (vc-mtn-checkin):
3605 * vc/vc-rcs.el (vc-rcs-checkin):
3606 * vc/vc-sccs.el (vc-sccs-checkin):
3607 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
3608 since 2010-04-21 commit by Stefan Monnier.
3609
3610 2010-11-01 Glenn Morris <rgm@gnu.org>
3611
3612 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
3613
3614 * startup.el (package-enable-at-startup, package-initialize):
3615 Silence compiler.
3616
3617 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
3618 Silence compiler.
3619
3620 2010-10-31 Julien Danjou <julien@danjou.info>
3621
3622 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
3623 (byte-recompile-directory):
3624 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
3625 Use `byte-recompile-file'.
3626
3627 2010-10-31 Glenn Morris <rgm@gnu.org>
3628
3629 * cus-start.el: Handle standard values via a keyword.
3630 Only set version property if specified.
3631 (cursor-in-non-selected-windows, menu-bar-mode)
3632 (tool-bar-mode, show-trailing-whitespace):
3633 Do not specify standard values.
3634 (transient-mark-mode, temporary-file-directory): Use :standard.
3635
3636 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
3637
3638 * term/x-win.el (x-get-selection-value): New function that gets
3639 PRIMARY with type as specified in x-select-request-type. (Bug#6802).
3640
3641 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
3642
3643 * net/tramp.el (tramp-handle-insert-file-contents): For root,
3644 preserve owner and group when editing files. (Bug#7289)
3645
3646 2010-10-31 Glenn Morris <rgm@gnu.org>
3647
3648 * speedbar.el (speedbar-mode):
3649 * play/fortune.el (fortune-in-buffer, fortune):
3650 * play/gomoku.el (gomoku-mode):
3651 * play/landmark.el (lm-mode):
3652 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
3653 Replace inappropriate uses of toggle-read-only. (Bug#7292)
3654
3655 * select.el (x-selection): Mark it as an obsolete alias.
3656
3657 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3658
3659 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
3660 major-mode (bug#7284).
3661
3662 2010-10-31 Glenn Morris <rgm@gnu.org>
3663
3664 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
3665 rather than just an unused variable that inherits from the real one.
3666
3667 2010-10-31 Alan Mackenzie <acm@muc.de>
3668
3669 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
3670 This fixes bug #7185.
3671
3672 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
3673
3674 * startup.el (command-line): Search for package directories, and
3675 don't load package.el if none are found.
3676
3677 * emacs-lisp/package.el (describe-package, list-packages):
3678 Call package-initialize if it has not been called yet.
3679
3680 2010-10-30 Alan Mackenzie <acm@muc.de>
3681
3682 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
3683 which fontifies the tail of an enum.
3684 (c-basic-matchers-after): Insert a call to the above new function.
3685 This fixes bug #7264.
3686
3687 2010-10-30 Glenn Morris <rgm@gnu.org>
3688
3689 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
3690 tool-bar-mode, transient-mark-mode. (Bug#7306)
3691 Include the :set property in the dumped Emacs.
3692
3693 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3694
3695 SMIE: change indent rules format, improve smie-setup.
3696 * emacs-lisp/smie.el (smie-precs-precedence-table)
3697 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
3698 Mark them pure so the tables gets built at compile time.
3699 (smie-bnf-precedence-table): Store the closer-alist in the table.
3700 (smie-prec2-levels): Preserve the closer-alist.
3701 (smie-blink-matching-open): Be more forgiving in case of indentation.
3702 (smie-hanging-p): Rename from smie-indent--hanging-p.
3703 (smie-bolp): Rename from smie-indent--bolp.
3704 (smie--parent, smie--after): New dynamic vars.
3705 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
3706 (smie-indent-rules): Remove.
3707 (smie-indent--offset-rule): Remove fun.
3708 (smie-rules-function): New var.
3709 (smie-indent--rule): New fun.
3710 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
3711 (smie-indent-exps): Use it.
3712 (smie-setup): Setup paren blinking; add keyword args for token
3713 functions; extract closer-alist from op-levels.
3714 (smie-indent-debug-log): Remove var.
3715 (smie-indent-debug): Remove fun.
3716 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
3717 (prolog-smie-rules): New fun to replace it.
3718 (prolog-mode-variables): Simplify.
3719 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
3720 it's setup automatically.
3721 (octave-smie-indent-rules): Remove.
3722 (octave-smie-rules): New fun to replace it.
3723 (octave-mode): Simplify.
3724
3725 2010-10-29 Glenn Morris <rgm@gnu.org>
3726
3727 * files.el (temporary-file-directory): Remove (already defined in C).
3728 * cus-start.el: Add temporary-file-directory.
3729
3730 * abbrev.el (abbrev-mode):
3731 * composite.el (auto-composition-mode):
3732 * menu-bar.el (menu-bar-mode):
3733 * simple.el (transient-mark-mode):
3734 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
3735 that they do not define the associated variables twice.
3736 * simple.el (transient-mark-mode): Remove defvar.
3737 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
3738 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
3739 Handle multiple groups, and also custom-delayed-init-variables.
3740 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
3741
3742 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3743
3744 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
3745 (pcase-if): Add one minor optimization.
3746 (pcase-split-equal): Rename from pcase-split-eq.
3747 (pcase-split-member): Rename from pcase-split-memq.
3748 (pcase-u1): Add strings to the member optimization.
3749 Add `guard' variant of predicates.
3750 (pcase-q1): Add string patterns.
3751
3752 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3753
3754 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
3755
3756 2010-10-28 Glenn Morris <rgm@gnu.org>
3757
3758 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
3759 Move menu-bar related settings to ../menu-bar.el.
3760 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
3761 Move ns-specific settings here from term/ns-win.el.
3762
3763 * simple.el (x-selection-owner-p): Remove unused declaration.
3764
3765 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3766
3767 * minibuffer.el (completion-cycling): New var (bug#7266).
3768 (minibuffer-complete, completion--do-completion):
3769 Use completion--flush-all-sorted-completions.
3770 (minibuffer-complete): Only cycle if completion-cycling is set.
3771 (completion--flush-all-sorted-completions): Unset completion-cycling.
3772 (minibuffer-force-complete): Set completion-cycling.
3773 (completion-all-sorted-completions): Move declaration before first use.
3774
3775 2010-10-28 Leo <sdl.web@gmail.com>
3776
3777 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
3778 which changes the order of matches seen by users (bug#7231).
3779
3780 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
3781
3782 * progmodes/compile.el (compilation-mode-font-lock-keywords):
3783 Don't confuse -omega as "-o mega".
3784
3785 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
3786
3787 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
3788 (log-edit-author): New dynamic var.
3789 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
3790 to return the author if different from committer.
3791 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
3792
3793 * play/landmark.el: Adjust commenting convention.
3794 (lm-nil-score): Rename from nil-score.
3795 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
3796 (OOOOscore): Move into a let in lm-score-trans-table.
3797 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
3798
3799 * electric.el (electric-indent-chars): Autoload.
3800 * progmodes/octave-mod.el (octave-mode):
3801 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
3802 (ruby-mode-abbrev-table): Merge initialization and declaration.
3803
3804 2010-10-27 Glenn Morris <rgm@gnu.org>
3805
3806 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
3807 variable.
3808
3809 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
3810
3811 * term/ns-win.el: Restore require of cl when compiling.
3812 (menu-bar-final-items): Remove non-existent `windows' menu.
3813 (ns-handle-nxopen): Optionally handle the temp-case.
3814 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
3815 (ns-insert-file, ns-find-file): Use `pop'.
3816
3817 2010-10-26 Glenn Morris <rgm@gnu.org>
3818
3819 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
3820
3821 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
3822
3823 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
3824 global map.
3825 * term/common-win.el (x-setup-function-keys): Remove most of the
3826 keymappings. Comment on the remaining ones.
3827
3828 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
3829
3830 * server.el (server-port): New option. (Bug#854)
3831 (server-start): Use server-port.
3832
3833 2010-10-26 Glenn Morris <rgm@gnu.org>
3834
3835 * term/ns-win.el (ns-version-string): Remove unused declaration.
3836 (ns-invocation-args): Change to x-invocation-args.
3837 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
3838 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
3839 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
3840 Use x-invocation-args instead of ns-invocation-args.
3841 (ns-initialize-window-system, handle-args-function-alist):
3842 Use x-handle-args instead of ns-handle-args.
3843 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
3844 * startup.el (command-line-ns-option-alist): Replace
3845 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
3846 ns-handle-iconic with the x- equivalents.
3847
3848 * term/common-win.el (x-select-enable-clipboard):
3849 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
3850
3851 * term/ns-win.el: No need to require cl when compiling.
3852 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
3853 (xw-defined-colors): Use the common-win definitions.
3854 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
3855 (ns-handle-iconic): Make it an alias for x-handle-iconic.
3856 * term/common-win.el (x-select-text, x-alternatives-map)
3857 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
3858 * loadup.el [ns]: Load common-win.
3859
3860 2010-10-26 Daiki Ueno <ueno@unixuser.org>
3861
3862 * epa-mail.el (epa-mail-encrypt): Handle local-part only
3863 recipients; expand mail aliases (Bug#7280).
3864
3865 2010-10-25 Glenn Morris <rgm@gnu.org>
3866
3867 * term/common-win.el (x-handle-switch): Simplify with pop.
3868 Optionally handle numeric switches.
3869 (x-handle-numeric-switch): Just call x-handle-switch.
3870 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
3871 (x-handle-name-switch, x-handle-display, x-handle-args):
3872 Simplify with pop.
3873
3874 * term/ns-win.el: Do not require easymenu.
3875 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
3876 <spell>: Move adjustments to menu-bar.el.
3877 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
3878 <separator-undo, spell>: Move ns-win's adjustments here.
3879 * loadup.el [ns]: Do not load easymenu.
3880
3881 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3882
3883 * image.el (image-checkbox-checked, image-checkbox-unchecked):
3884 Delete (Bug#7222).
3885
3886 * startup.el (fancy-startup-tail): Instead of using inline images,
3887 refer to image files from etc/.
3888
3889 * wid-edit.el (checkbox): Likewise.
3890 (widget-image-find): Center image specs.
3891
3892 2010-10-24 Glenn Morris <rgm@gnu.org>
3893
3894 * term/ns-win.el (x-select-text): Doc fix.
3895 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
3896 (x-select-text): Move to term/common-win.
3897 * term/w32-win.el (xw-defined-colors): Move to common-win.
3898 * term/x-win.el (xw-defined-colors, x-alternatives-map)
3899 (x-setup-function-keys, x-select-text): Move to common-win.
3900 * term/common-win.el (x-select-text, x-alternatives-map)
3901 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
3902 definitions here.
3903
3904 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
3905
3906 * net/mairix.el (mairix-searches-mode-map):
3907 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
3908
3909 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
3910
3911 * verilog-mode.el (verilog-directive-re): Make this variable
3912 auto-built for efficiency of execution and updating.
3913 (verilog-extended-complete-re): Support 'pure' fucntion & task
3914 declarations (these have no bodies).
3915 (verilog-beg-of-statement): General cleanup to enable support of
3916 'pure' fucntion & task declarations (these have no bodies).
3917 These efforts together fix Verilog bug210 from veripool; which was also
3918 noticed by Steve Pearlmutter.
3919 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
3920 (verilog-directive-nest-re, verilog-set-auto-endcomments):
3921 Support `elsif. Reported by Shankar Giri.
3922 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
3923 attribute handling for lining up declarations and assignments.
3924 (verilog-beg-of-statement-1): Fix issue where continued declaration
3925 is indented differently if it is after a begin..end clock.
3926 (verilog-in-attribute-p, verilog-skip-backward-comments)
3927 (verilog-skip-forward-comment-p): Support proper treatment of
3928 attributes by indent code. Reported by Jeff Steele.
3929 (verilog-in-directive-p): Fix comment to correctly describe function.
3930 (verilog-backward-up-list, verilog-in-struct-region-p)
3931 (verilog-backward-token, verilog-in-struct-p)
3932 (verilog-in-coverage-p, verilog-do-indent)
3933 (verilog-pretty-declarations): Use verilog-backward-up-list as
3934 wrapper around backward-up-list inorder to properly skip comments.
3935 Reported by David Rogoff.
3936 (verilog-property-re, verilog-endcomment-reason-re)
3937 (verilog-beg-of-statement, verilog-set-auto-endcomments)
3938 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
3939 of if). Reported by Max Bjurling and
3940 (verilog-calc-1): Fix for clocking block in modport
3941 declaration. Reported by Brian Hunter.
3942
3943 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
3944
3945 * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
3946 (verilog-gate-keywords, verilog-read-sub-decls)
3947 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
3948 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
3949 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
3950 (verilog-read-decls): Fix spaces in V2K module parameters causing
3951 mis-identification as interfaces, bug287.
3952 (verilog-read-decls): Fix not treating "parameter string" as a
3953 parameter in AUTOINSTPARAM.
3954 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
3955 treating `elsif similar to `endif inside AUTOSENSE.
3956 (verilog-do-indent): Implement correct automatic or static task or
3957 function end comment highlight. Reported by Steve Pearlmutter.
3958 (verilog-font-lock-keywords-2): Fix highlighting of single
3959 character pins, bug264. Reported by Michael Laajanen.
3960 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
3961 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
3962 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
3963 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
3964 (verilog-pretty-expr): Fix interactive arguments, bug272.
3965 Reported by Mark Johnson.
3966 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
3967 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
3968 bug269. Suggested by Gary Delp.
3969 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
3970 (verilog-preprocessor, verilog-set-compile-command):
3971 Create verilog-preprocess and verilog-preprocessor to show
3972 preprocessed output.
3973 (verilog-get-beg-of-line, verilog-get-end-of-line)
3974 (verilog-modi-file-or-buffer, verilog-modi-name)
3975 (verilog-modi-point, verilog-within-string): Move defmacro's
3976 before first use to avoid warning. Reported by Steve Pearlmutter.
3977 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
3978 (verilog-colorize-region, verilog-highlight-buffer)
3979 (verilog-highlight-includes, verilog-highlight-modules)
3980 (verilog-highlight-region, verilog-mode): Rename colorize to
3981 highlight to match other packages. Disable module highlighting,
3982 as received speed complaints, reenable for experimentation only
3983 using new verilog-highlight-modules.
3984 (verilog-read-decls): Fix regexp stack overflow in very large
3985 AUTO_TEMPLATEs, bug250.
3986 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
3987 (verilog-scan): Create verilog-save-buffer-state to standardize
3988 making insignificant changes that shouldn't call hooks.
3989 (verilog-save-no-change-functions, verilog-save-scan-cache)
3990 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
3991 Create verilog-save-no-change-functions to wrap verilog-scan
3992 preservation, and fix to work with nested preserved calls.
3993 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
3994 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
3995 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
3996 (verilog-submit-bug-report): Update variable list to be complete.
3997 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
3998 breaking on-the-fly font-locking.
3999 (verilog-colorize-buffer, verilog-colorize-include-files)
4000 (verilog-colorize-include-files-buffer, verilog-colorize-region)
4001 (verilog-load-file-at-mouse, verilog-load-file-at-point)
4002 (verilog-mode, verilog-read-inst-module-matcher): With point on a
4003 AUTOINST cell instance name, middle mouse button now finds-file on
4004 it. Suggested by Brad Dobbie.
4005 (verilog-alw-get-temps, verilog-auto-reset)
4006 (verilog-auto-sense-sigs, verilog-read-always-signals)
4007 (verilog-read-always-signals-recurse): Fix loop indexes being
4008 AUTORESET. AUTORESET now assumes any variables in the
4009 initialization section of a for() should be ignored.
4010 Reported by Dan Dever.
4011 (verilog-error-font-lock-keywords)
4012 (verilog-error-regexp-emacs-alist)
4013 (verilog-error-regexp-xemacs-alist): Fix error detection of
4014 Cadence HAL, reported by David Asher. Repair drift between the
4015 three similar error variables.
4016 (verilog-modi-lookup, verilog-modi-lookup-cache)
4017 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
4018 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
4019 Fix slow verilog-auto expansion on very large files.
4020 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
4021 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
4022 "{1*2{...". Broke in last revision.
4023 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
4024 submodule connections with replications "{#{a},#{b}}".
4025
4026 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
4027
4028 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
4029 Fix typo in docstring.
4030
4031 2010-10-24 Kenichi Handa <handa@m17n.org>
4032
4033 * face-remap.el (text-scale-adjust): Call read-event with a proper
4034 prompt.
4035
4036 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4037
4038 * emacs-lisp/unsafep.el: Don't mark functions that display
4039 messages as safe. Suggested by Johan Bockgård.
4040
4041 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4042
4043 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
4044 Turn comments into docstrings.
4045
4046 * minibuffer.el (completion--replace): Move point where it belongs
4047 when there's a common suffix (bug#7215).
4048
4049 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4050
4051 Merge read-color and facemenu-read-color (Bug#7242).
4052
4053 * faces.el (read-color): Use the completion code from
4054 facemenu-read-color. Require match in completion. Doc fix.
4055
4056 * facemenu.el (facemenu-read-color): Alias for read-color.
4057 (facemenu-set-foreground, facemenu-set-background):
4058 Use read-color.
4059
4060 * frame.el (set-background-color, set-foreground-color)
4061 (set-cursor-color, set-mouse-color, set-border-color):
4062 Use read-color.
4063
4064 2010-10-24 Leo <sdl.web@gmail.com>
4065
4066 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
4067 argument of delete-file and delete-directory (Bug#7011).
4068
4069 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4070
4071 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
4072 button-buffer-map.
4073
4074 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
4075
4076 * emacs-lisp/package.el (package--generate-package-list): Make the
4077 *Packages* buffer read-only.
4078
4079 2010-10-24 Alan Mackenzie <acm@muc.de>
4080
4081 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
4082 result of `c-beginning-of-decl-1' between invocations of a lambda
4083 function (Bug #7265).
4084
4085 2010-10-24 Daiki Ueno <ueno@unixuser.org>
4086
4087 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
4088 executable is not available on the system (Bug#7268).
4089
4090 2010-10-24 Glenn Morris <rgm@gnu.org>
4091
4092 * select.el (selection-coding-system, next-selection-coding-system):
4093 Sync doc with C versions.
4094
4095 * w32-vars.el (x-select-enable-clipboard):
4096 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
4097 * term/common-win.el (x-select-enable-clipboard): Move here.
4098
4099 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
4100 definition of C variable.
4101
4102 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
4103 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
4104 Don't redefine things that are defined in C.
4105 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
4106 (show-trailing-whitespace, auto-hscroll-mode)
4107 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
4108 Set up the appropriate custom properties.
4109
4110 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4111
4112 Bind "C-c ]" to ...
4113 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
4114 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
4115 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
4116 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
4117
4118 2010-10-23 Glenn Morris <rgm@gnu.org>
4119
4120 * textmodes/flyspell.el (flyspell-mode): If there was an error,
4121 say what it was.
4122
4123 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
4124 Sync docs with C version.
4125
4126 * term/ns-win.el (xw-defined-colors):
4127 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
4128
4129 * term/pc-win.el (x-select-enable-clipboard):
4130 * term/x-win.el (x-select-enable-clipboard):
4131 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
4132
4133 * comint.el (comint-password-prompt-regexp): Make it less vague.
4134 Bump version.
4135
4136 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
4137
4138 * help.el (finder-by-keyword): Remove unnecessary autoload.
4139
4140 2010-10-22 Glenn Morris <rgm@gnu.org>
4141
4142 * loadup.el: Unconditionally load float-sup.
4143 * paren.el (show-paren-delay):
4144 * emacs-lisp/float-sup.el:
4145 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
4146 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
4147 (lazy-lock-stealth-verbose): Assume float support.
4148 * ps-print.el: Assume float support on Emacs.
4149 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
4150 Remove non-float branch.
4151
4152 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
4153 src/Makefile no longer being pre-processed.
4154
4155 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4156
4157 * emacs-lisp/find-func.el (find-library): Use test-completion.
4158
4159 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4160
4161 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
4162
4163 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
4164
4165 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
4166 space in stat format string.
4167 (tramp-send-command): Unset $PS1 when using here documents, in
4168 order not to get several prompts.
4169 (tramp-get-inline-coding): Return `nil' in case of errors.
4170
4171 2010-10-21 Daiki Ueno <ueno@unixuser.org>
4172
4173 * hexl.el (hexl-mode, hexl-mode-exit):
4174 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
4175 (hexl-revert-buffer-function): New function.
4176 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
4177
4178 2010-10-19 Alan Mackenzie <acm@muc.de>
4179
4180 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
4181 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
4182 that these keywords aren't wrongly matched as identifiers.
4183
4184 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
4185 setting of c-new-BEG and c-new-END from c-before-change to
4186 c-after-change. (Bug#7181)
4187
4188 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
4189
4190 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
4191 Don't mark as safe.
4192
4193 * custom.el (custom-theme-set-variables): Likewise.
4194 (load-theme): Add custom-theme-set-faces and
4195 custom-theme-set-variables to safe-functions while loading.
4196 (custom-enabled-themes): Mark as risky.
4197
4198 2010-10-18 Julien Danjou <julien@danjou.info>
4199
4200 * bindings.el: Remove end dashes in default mode-line-format.
4201
4202 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
4203
4204 * bindings.el (global-map): Bind C-d to delete-char and deletechar
4205 to delete-forward-char.
4206
4207 * simple.el (normal-erase-is-backspace-mode): Remap delete to
4208 deletechar, and hence delete-forward-char.
4209
4210 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4211
4212 * repeat.el (repeat): Use read-key (bug#6256).
4213
4214 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
4215
4216 * emacs-lisp/unsafep.el: Don't mark functions that display
4217 messages as safe. Suggested by Johan Bockgård.
4218
4219 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4220
4221 * minibuffer.el (completion--replace): Move point where it belongs
4222 when there's a common suffix (bug#7215).
4223
4224 2010-10-19 Kenichi Handa <handa@m17n.org>
4225
4226 * international/characters.el: Add category '|' (word breakable)
4227 to fullwidth characters.
4228
4229 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
4230
4231 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
4232 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
4233 order to make stat results a float. Patch by Andreas Schwab
4234 <schwab@linux-m68k.org>.
4235
4236 2010-10-18 Julien Danjou <julien@danjou.info>
4237
4238 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
4239 hidden by `make-pointer-invisible'.
4240
4241 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4242
4243 * files.el (locate-file-completion-table): Strip non-matching elements
4244 before checking length of list (bug#7238).
4245
4246 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
4247
4248 * custom.el (custom-theme-set-variables): Mark as a safe function.
4249 (load-theme): Check forms using unsafep.
4250
4251 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
4252
4253 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
4254
4255 * textmodes/ispell.el (ispell-aspell-find-dictionary):
4256 Fix aspell data file searching (bug#7230).
4257
4258 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
4259
4260 * cus-theme.el (custom-theme--migrate-settings): New var.
4261 (customize-create-theme): Allow editing the `user' theme.
4262 (custom-theme-add-variable, custom-theme-add-var-1)
4263 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
4264 to the front of each variable or face widget.
4265 (custom-theme-write): Save theme settings in the correct order.
4266 Optionally, remove saved settings from user customizations.
4267 (custom-theme-write-variables, custom-theme-write-faces):
4268 Save only the checked widgets.
4269 (customize-themes): Add a link for migrating custom settings.
4270
4271 * custom.el (custom-declare-theme, provide-theme):
4272 Use custom-theme-name-valid-p.
4273 (custom-theme-name-valid-p): Remove checks that are now
4274 unnecessary since themes no longer obey load-path.
4275
4276 * cus-edit.el (custom-variable-value-create): For the simple
4277 style, hide documentation string when hidden.
4278
4279 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
4280
4281 * cus-edit.el (custom-variable, custom-face): Combine the
4282 :inhibit-magic and :display-style properties into a single
4283 :custom-style property.
4284 (custom-toggle-hide-variable, custom-toggle-hide-face):
4285 New functions. If hiding an edited value, save it to :shown-value.
4286 (custom-variable-value-create, custom-face-value-create): Use them.
4287 (custom-magic-reset): Allow magic property to be unset.
4288
4289 * custom.el: Custom themes no longer use load-path.
4290 (custom-theme-load-path): New option. Change built-in theme
4291 directory to etc/.
4292 (custom-enabled-themes): Add custom-theme-load-path dependency.
4293 (custom-theme--load-path): New function.
4294 (load-theme, custom-available-themes): Use it.
4295
4296 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
4297 (customize-themes): Link to custom-theme-load-path variable.
4298 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
4299 :custom-style property.
4300
4301 * themes/*.el: Moved to etc/.
4302
4303 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
4304
4305 * textmodes/reftex-cite.el
4306 (reftex-extract-bib-entries-from-thebibliography): Do not move
4307 point when searching for \bibitem entries. Match entries with
4308 spaces or tabs in front of arguments.
4309
4310 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
4311
4312 * cus-theme.el (customize-create-theme): Delete overlays after
4313 erasing. If given a THEME arg, display only the faces of that arg
4314 instead of custom-theme--listed-faces.
4315 (custom-theme-variable-menu, custom-theme-variable-action)
4316 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
4317 (custom-theme-add-variable, custom-theme-add-face): Apply value
4318 from the theme settings, instead of the current value.
4319 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
4320 (custom-theme-visit-theme): Allow calling outside theme buffers.
4321 (custom-theme-merge-theme): Don't enable the theme when merging.
4322 (custom-theme-write-variables, custom-theme-write-faces): Use the
4323 :shown-value properties to save buffer values, not global ones.
4324 (customize-themes): Display a warning about user customizations.
4325
4326 * cus-edit.el (custom-variable-value-create)
4327 (custom-face-value-create): Obey new special properties
4328 :shown-value and :inhibit-magic.
4329
4330 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
4331
4332 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
4333 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
4334 <dale@codefu.org>.
4335
4336 2010-10-14 Kenichi Handa <handa@m17n.org>
4337
4338 * mail/rmail.el (rmail-show-message-1): Catch an error of
4339 base64-decode-region and just show an error message (bug#7165).
4340
4341 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
4342 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
4343 a font-spec (bug#7197).
4344
4345 2010-10-14 Glenn Morris <rgm@gnu.org>
4346
4347 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
4348
4349 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
4350
4351 * international/mule.el (define-coding-system):
4352 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
4353 * composite.el (compose-region): Fix typo in docstring.
4354
4355 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
4356
4357 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
4358 only after checking the theme-face property.
4359
4360 * faces.el (face-spec-reset-face): Reset all attributes in one
4361 single call to set-face-attribute.
4362 (face-spec-match-p): Make it a defsubst.
4363 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
4364 (x-create-frame-with-faces, tty-create-frame-with-faces)
4365 (tty-set-up-initial-frame-faces): Don't recompute face specs in
4366 frame-set-background-mode, since they are recomputed immediately
4367 afterwards in face-set-after-frame-default.
4368 (face-set-after-frame-default): Minor optimization.
4369 (cursor): Provide non-trivial defface spec.
4370
4371 * custom.el (custom-theme-recalc-face): Simplify.
4372
4373 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
4374
4375 * calc/calc-alg.el (math-var): Rename from `var'.
4376 (math-is-polynomial, math-is-poly-rec): Replace `var'
4377 with `math-var'.
4378
4379 * calc/calcalg2.el (math-var): Rename from `var'.
4380 (calcFunc-table, math-scan-for-limits): Replace `var'
4381 with `math-var'.
4382
4383 2010-10-13 Glenn Morris <rgm@gnu.org>
4384
4385 * subr.el (last): Deal with dotted lists (reported in bug#7174).
4386
4387 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
4388
4389 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
4390
4391 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4392
4393 * net/tls.el (tls-program): Remove spurious %s from openssl.
4394 (tls-starttls-switches): Remove starttls hack.
4395 (open-tls-stream): Ditto.
4396 (tls-find-starttls-argument): Ditto.
4397
4398 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
4399
4400 * image.el (image-library-alist): Declare as obsolete alias.
4401 (image-type-available-p): Use `dynamic-library-alist'.
4402
4403 * term/w32-win.el (dynamic-library-alist):
4404 Use instead of `image-library-alist'.
4405
4406 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
4407
4408 * subr.el (last): Make it faster. (Bug#7174)
4409
4410 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
4411
4412 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
4413
4414 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
4415
4416 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
4417 (describe-theme-1): Extract doc from unloaded themes.
4418
4419 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
4420
4421 * themes/tango-theme.el:
4422 * themes/tango-dark-theme.el:
4423 * themes/wheatgrass-theme.el: New files.
4424
4425 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
4426
4427 * cus-theme.el (describe-theme, customize-themes)
4428 (custom-theme-save): New commands.
4429 (custom-new-theme-mode-map): Bind C-x C-s.
4430 (custom-new-theme-mode): Use custom--initialize-widget-variables.
4431 (customize-create-theme): New optional arg THEME.
4432 (custom-theme-revert): Use it.
4433 (custom-theme-visit-theme): Remove dead code.
4434 (custom-theme-merge-theme): Use custom-available-themes.
4435 (custom-theme-write): Make interactive.
4436 (custom-theme-write): Use custom-theme-name-valid-p.
4437 (describe-theme-1, custom-theme-choose-revert)
4438 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
4439 New funs.
4440 (custom-theme-allow-multiple-selections): New option.
4441 (custom-theme-choose-mode): New major mode.
4442
4443 * custom.el (custom-theme-set-variables): Remove dead code.
4444 Obey custom--inhibit-theme-enable.
4445 (custom--inhibit-theme-enable): New var.
4446 (provide-theme): Obey it.
4447 (load-theme): Replace load with manual read/eval, in order to
4448 check for correctness. Use custom-theme-name-valid-p.
4449 (custom-theme-name-valid-p): New function.
4450 (custom-available-themes): Use it.
4451
4452 * cus-edit.el (custom--initialize-widget-variables): New function.
4453 (Custom-mode): Use it.
4454
4455 * cus-face.el (custom-theme-set-faces): Remove dead code.
4456 Obey custom--inhibit-theme-enable.
4457
4458 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
4459
4460 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
4461
4462 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
4463
4464 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
4465
4466 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
4467 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
4468 (mac-right-option-modifier): New alias for ns-right-option-modifier.
4469
4470 * cus-start.el (all): ns-right-alternate-modifier is new.
4471
4472 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4473
4474 * emacs-lisp/lisp.el (lisp-completion-at-point):
4475 Use emacs-lisp-mode-syntax-table for the whole function.
4476
4477 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
4478
4479 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
4480 instead of font-lock-mode before adding keywords.
4481 Remove hi-lock-mode off code. Remove inhibit hack.
4482 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
4483 non-nil; removed hook inhibit hack.
4484
4485 2010-10-12 Glenn Morris <rgm@gnu.org>
4486
4487 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
4488 (load-path-shadows-find): ... to this.
4489 (list-load-path-shadows): Update for above change.
4490
4491 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
4492
4493 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
4494
4495 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
4496 Fix comment for declare-function.
4497
4498 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
4499
4500 * custom.el (custom-fix-face-spec): New function; code moved from
4501 custom-face-edit-fix-value.
4502 (custom-push-theme): Use it when checking if a face has been
4503 changed outside customize.
4504 (custom-available-themes): New function.
4505 (load-theme): Use it.
4506
4507 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
4508
4509 * custom.el (custom-push-theme): Cleanup (use cond).
4510 (disable-theme): Recompute the saved-face property.
4511 (custom-theme-recalc-face): Follow face alias before setting prop.
4512
4513 * image.el (image-checkbox-checked, image-checkbox-unchecked):
4514 New variables, containing checkbox images.
4515
4516 * startup.el (fancy-startup-tail):
4517 * wid-edit.el (checkbox): Use them.
4518
4519 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
4520
4521 * shell.el (shell-mode-map):
4522 * progmodes/modula2.el (m2-mode-map):
4523 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
4524 * play/mpuz.el (mpuz-mode-map):
4525 * play/landmark.el (lm-mode-map):
4526 * play/decipher.el (decipher-mode-map):
4527 * play/5x5.el (5x5-mode-map):
4528 * net/telnet.el (telnet-mode-map):
4529 * net/quickurl.el (quickurl-list-mode-map):
4530 * net/mairix.el (mairix-searches-mode-map):
4531 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
4532 * net/dig.el (dig-mode-map):
4533 * mail/mspools.el (mspools-mode-map):
4534 * hexl.el (hexl-mode-map):
4535 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
4536 (wordstar-C-o-map, wordstar-C-q-map):
4537 * emacs-lisp/edebug.el (edebug-eval-mode-map):
4538 * emacs-lisp/chart.el (chart-map):
4539 * edmacro.el (edmacro-mode-map):
4540 * erc/erc-list.el (erc-list-menu-mode-map):
4541 * array.el (array-mode-map): Declare and define in one step.
4542
4543 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
4544
4545 2010-10-10 Daiki Ueno <ueno@unixuser.org>
4546
4547 * epa.el (epa-passphrase-callback-function): Display filename
4548 passed as the 3rd arg.
4549 * epa-file.el (epa-file-passphrase-callback-function):
4550 Pass filename to epa-passphrase-callback-function.
4551
4552 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
4553
4554 * cus-edit.el (custom-face-widget-to-spec)
4555 (custom-face-get-current-spec, custom-face-state): New functions.
4556 (custom-face-set, custom-face-mark-to-save)
4557 (custom-face-value-create, custom-face-state-set): Use them.
4558
4559 * cus-theme.el (custom-theme--listed-faces): New var.
4560 (customize-create-theme): Use *Custom Theme* as the buffer name.
4561 Set revert-buffer-function. Optional arg BUFFER. Insert all
4562 faces listed in custom-theme--listed-faces.
4563 (custom-theme-revert): New function.
4564 (custom-theme-add-variable, custom-theme-add-face): Insert at the
4565 bottom of the list.
4566 (custom-theme-write): Prompt for theme name if empty.
4567 (custom-theme-write-variables): Use dolist.
4568 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
4569
4570 2010-10-09 Alan Mackenzie <acm@muc.de>
4571
4572 Enhance fontification of declarators to take account of the
4573 presence/absence of "typedef".
4574
4575 * cc-engine.el (c-forward-type): New &optional param
4576 "brace-block-too".
4577 (c-forward-decl-or-cast-1): cdr of return value now indicates the
4578 presence of either or both of a "struct"-like keyword and "typedef".
4579
4580 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
4581 fontification of declarators which follow a "}".
4582 (c-font-lock-declarations): Fontify declarators according to the
4583 presence/absence of "typedef".
4584
4585 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
4586 for "typedef".
4587 (c-typedef-decl-key): New lang variable built from
4588 c-typedef-decl-kwds.
4589
4590 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
4591
4592 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
4593 since that's too annoying. Move the filter groups commands to
4594 TAB/backtab.
4595
4596 * epa.el (epa-passphrase-callback-function): Say what we're
4597 querying the password for.
4598
4599 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
4600 behaviour, don't bury the ibuffer buffer when visiting other buffers.
4601
4602 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
4603
4604 * cus-edit.el (custom-commands, custom-buffer-create-internal)
4605 (custom-magic-value-create): Pad button tags with spaces.
4606 (custom-face-edit): New variable.
4607 (custom-face-value-create): Determine whether to use the usual
4608 face editor here, instead of using custom-face-selected.
4609 Pass face defaults to custom-face-edit widget.
4610 (custom-face-selected, custom-display-unselected): Delete widgets.
4611 (custom-display-unselected-match): Function removed.
4612 (custom-face-set, custom-face-mark-to-save):
4613 Accept custom-face-edit widgets as the direct widget child.
4614
4615 * wid-edit.el (widget--completing-widget): New var.
4616 (widget-default-complete): Bind it when doing completion.
4617 (widget-string-complete, widget-file-complete): Use it.
4618
4619 2010-10-09 Glenn Morris <rgm@gnu.org>
4620
4621 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
4622 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
4623 (holiday-hebrew-misc): Small simplifications.
4624
4625 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
4626
4627 * net/browse-url.el: Don't require thingatpt, term, dired,
4628 executable, or w3-auto when compiling.
4629 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
4630 Declare.
4631 (browse-url-text-emacs): Require term.
4632
4633 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
4634
4635 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
4636
4637 2010-10-08 Glenn Morris <rgm@gnu.org>
4638
4639 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
4640
4641 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
4642 (shadows-compare-text-p): Make it an obsolete alias for...
4643 (load-path-shadows-compare-text): ... new name.
4644 (find-emacs-lisp-shadows): Update for above name change.
4645 (load-path-shadows-same-file-or-nonexistent): New name for the old
4646 shadow-same-file-or-nonexistent.
4647
4648 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
4649
4650 * minibuffer.el (completion--some, completion--do-completion)
4651 (minibuffer-complete-and-exit, minibuffer-completion-help)
4652 (completion-basic-try-completion)
4653 (completion-basic-all-completions)
4654 (completion-pcm--find-all-completions): Use lexical-let to
4655 avoid some false matches in variable completion (Bug#7056)
4656
4657 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
4658
4659 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
4660
4661 2010-10-08 Leo <sdl.web@gmail.com>
4662
4663 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
4664 return non-nil if the file exists (Bug#7090).
4665
4666 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4667
4668 * minibuffer.el (completion--replace):
4669 Better preserve markers (bug#7138).
4670
4671 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
4672
4673 * server.el (server-process-filter): Doc fix.
4674
4675 2010-10-08 Drew Adams <drew.adams@oracle.com>
4676
4677 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
4678
4679 2010-10-08 Glenn Morris <rgm@gnu.org>
4680
4681 * vc/ediff-wind.el (ediff-setup-control-frame):
4682 * vc/ediff-ptch.el (ediff-default-backup-extension):
4683 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
4684 (ediff-exec-process): Remove system-types emx, windows-95.
4685
4686 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
4687
4688 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
4689
4690 * cus-edit.el (custom-variable, custom-face): Doc fix.
4691 (custom-face-edit): Add value-create attribute.
4692 (custom-face-edit-value-create)
4693 (custom-face-edit-value-visibility-action): New functions.
4694 Hide unused face attributes by default, and add a visibility toggle.
4695 (custom-face-edit-deactivate): Show empty values with shadow face.
4696 (custom-face-selected): Only use this for face specs with default
4697 attributes.
4698 (custom-face-value-create): Cleanup.
4699
4700 * wid-edit.el (widget-checklist-value-create): Use dolist.
4701 (widget-checklist-match-find): Make second arg optional.
4702
4703 2010-10-07 Glenn Morris <rgm@gnu.org>
4704
4705 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
4706 Prefix things.
4707
4708 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
4709 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
4710 load-path-shadows-mode, update references.
4711 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
4712 Rename variable and button.
4713 (list-load-path-shadows): Update button caller.
4714
4715 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4716
4717 * emacs-lisp/smie.el (smie-bnf-classify): New function.
4718 (smie-bnf-precedence-table): Use it to remember the closers/openers.
4719 (smie-merge-prec2s): Handle those new entries.
4720 (smie-prec2-levels): Only set precedence to nil for actual
4721 openers/closers.
4722 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
4723 that is now unnecessary.
4724
4725 2010-10-07 Miles Bader <miles@gnu.org>
4726
4727 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
4728
4729 2010-10-07 Glenn Morris <rgm@gnu.org>
4730
4731 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
4732 (mail-position-on-field): Remove declarations.
4733 (mail-position-on-field): Autoload it.
4734 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
4735 and mail-header-end. Don't require sendmail.
4736
4737 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
4738 (shadow-mode): New mode.
4739 (shadow-find-file): New button.
4740 (list-load-path-shadows): Use shadow-mode and buttons.
4741
4742 * iimage.el (iimage-version): Remove.
4743 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
4744 Turn into defcustoms.
4745 (iimage-mode-map): Give it a doc string.
4746
4747 * calendar/appt.el (appt-activate): Give a warning rather than an error
4748 if there is no diary-file.
4749
4750 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
4751
4752 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4753 Use `tramp-handle-find-backup-file-name'.
4754
4755 2010-10-06 Glenn Morris <rgm@gnu.org>
4756
4757 * font-core.el (font-lock-defaults-alist): Remove variable.
4758 (font-lock-mode): Doc fix.
4759 (font-lock-default-function): Do not consult font-lock-defaults-alist.
4760 * font-lock.el (font-lock-refresh-defaults): Doc fix.
4761 (font-lock-set-defaults): Doc fix.
4762 Do not consult font-lock-defaults-alist.
4763
4764 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
4765
4766 * emacs-lisp/cl.el: No longer provide cl-19.
4767
4768 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
4769
4770 * net/tramp.el (tramp-handle-directory-files-and-attributes)
4771 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
4772 New defuns, taken from tramp-smb.el.
4773 (tramp-coding-system-change-eol-conversion)
4774 (tramp-set-process-query-on-exit-flag): Remove.
4775
4776 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
4777 (tramp-compat-coding-system-change-eol-conversion)
4778 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
4779 from tramp.el.
4780
4781 * net/tramp-gvfs.el:
4782 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
4783 by `tramp-compat-set-process-query-on-exit-flag'.
4784
4785 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
4786 Use `tramp-handle-directory-files-and-attributes',
4787 `tramp-handle-file-exists-p' and
4788 `tramp-handle-file-newer-than-file-p'.
4789 (tramp-imap-handle-file-exists-p)
4790 (tramp-imap-handle-file-executable-p)
4791 (tramp-imap-handle-file-readable-p)
4792 (tramp-imap-handle-directory-files-and-attributes)
4793 (tramp-imap-handle-file-newer-than-file-p): Remove.
4794
4795 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
4796 by `tramp-compat-set-process-query-on-exit-flag' and
4797 `tramp-coding-system-change-eol-conversion' by
4798 `tramp-compat-coding-system-change-eol-conversion'.
4799
4800 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4801 Use `tramp-handle-directory-files-and-attributes',
4802 `tramp-handle-file-exists-p' and
4803 `tramp-handle-file-newer-than-file-p'.
4804 (tramp-smb-handle-directory-files-and-attributes)
4805 (tramp-smb-handle-file-exists-p)
4806 (tramp-smb-handle-file-newer-than-file-p): Remove.
4807 (tramp-smb-maybe-open-connection):
4808 Replace `tramp-set-process-query-on-exit-flag' by
4809 `tramp-compat-set-process-query-on-exit-flag'.
4810
4811 2010-10-05 Glenn Morris <rgm@gnu.org>
4812
4813 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
4814
4815 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
4816
4817 Continue reorganization of load dependencies. (Bug#7156)
4818
4819 * net/tramp.el (tramp-handle-file-local-copy-hook)
4820 (tramp-delete-temp-file-function): Move down.
4821 (tramp-exists-file-name-handler): Move up.
4822 (tramp-register-file-name-handlers): Simplify autoload.
4823 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
4824 (tramp-handle-directory-files, tramp-handle-dired-uncache)
4825 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
4826 (tramp-handle-file-name-completion)
4827 (tramp-handle-file-name-directory)
4828 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
4829 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
4830 (tramp-handle-find-backup-file-name)
4831 (tramp-handle-insert-file-contents, tramp-handle-load)
4832 (tramp-handle-substitute-in-file-name)
4833 (tramp-handle-unhandled-file-name-directory)
4834 (tramp-mode-string-to-int, tramp-local-host-p)
4835 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
4836
4837 * net/tramp-gvfs.el (top):
4838 * net/tramp-smb.el (top): Do not require 'tramp-sh.
4839
4840 * net/tramp-sh.el (all): Move several objects to tramp.el, see
4841 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
4842
4843 2010-10-04 Glenn Morris <rgm@gnu.org>
4844
4845 * calendar/appt.el (appt-add): Ensure reminders are enabled.
4846 (appt-activate): Give status messages.
4847
4848 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
4849
4850 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
4851 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
4852 `gnutls-negotiate' (formerly `starttls-negotiate').
4853 Remove trivial wrapper `starttls-open-stream'.
4854
4855 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
4856
4857 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
4858 log-outgoing commands.
4859 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
4860 to create a buffer local revert-buffer-function variable.
4861 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
4862 revert-buffer-function lambda.
4863
4864 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
4865
4866 * net/gnutls.el (starttls-negotiate): Use the plist interface to
4867 `gnutls-boot'. Make TYPE the only required parameter.
4868 Allow TRUSTFILES and KEYFILES to be lists.
4869 (open-ssl-stream): Use it.
4870
4871 2010-10-03 Glenn Morris <rgm@gnu.org>
4872
4873 * subr.el (directory-sep-char): Remove obsolete variable.
4874 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
4875 it is "necessary".
4876
4877 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
4878 * vc/vc.el (vc-static-header-alist): Doc fix.
4879 * vc/vc-cvs.el (vc-cvs-header):
4880 * vc/vc-rcs.el (vc-rcs-header):
4881 * vc/vc-sccs.el (vc-sccs-header):
4882 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
4883 * obsolete/vc-mcvs.el (vc-mcvs-header):
4884 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
4885 on XEmacs.
4886
4887 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
4888
4889 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
4890 Remove obsolete use of binary-overwrite-mode (Bug#7001).
4891
4892 2010-10-03 Glenn Morris <rgm@gnu.org>
4893
4894 * obsolete/x-menu.el: Remove file, obsolete since 21.1
4895
4896 * textmodes/rst.el (rst-font-lock-keywords-function):
4897 Drop Emacs 20 code.
4898
4899 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
4900
4901 * printing.el: Drop Emacs 20 code.
4902
4903 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
4904 without having used appt.el already).
4905
4906 * subr.el (make-local-hook): Remove function obsolete since 21.1.
4907 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
4908 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
4909 XEmacs.
4910 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
4911 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
4912
4913 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
4914 (charset-width, find-charset-region, chars-in-region, forward-point)
4915 (encode-coding-string, coding-system-p, ccl-execute-on-string)
4916 (define-ccl-program, multibyte-string-p, string-make-multibyte):
4917 Remove compatibility cruft (none of these are used by ps*.el).
4918
4919 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4920
4921 * subr.el (booleanp): Return t instead of a list (Bug#7086).
4922
4923 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
4924
4925 * server.el (server-process-filter, server-return-error):
4926 Give emacsclient time to shut down after receiving an error string.
4927
4928 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
4929
4930 * files.el (remote-file-name-inhibit-cache): New defcustom.
4931
4932 * time.el (display-time-file-nonempty-p):
4933 Use `remote-file-name-inhibit-cache'.
4934
4935 * net/tramp.el (tramp-completion-reread-directory-timeout):
4936 Fix docstring.
4937
4938 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
4939 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
4940 `remote-file-name-inhibit-cache'. Check also for an integer
4941 value. Add/increase counter when `tramp-verbose' >= 10.
4942 (tramp-set-file-property): Add/increase counter when
4943 `tramp-verbose' >= 10.
4944
4945 * net/tramp-cmds.el (tramp-cleanup-all-connections)
4946 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
4947 (tramp-bug): Set tramp-autoload cookie. Report all interned
4948 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
4949 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
4950 characters only in strings.
4951
4952 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
4953 to backward compatibility.
4954
4955 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
4956 (tramp-handle-file-name-all-completions)
4957 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
4958 (tramp-open-connection-setup-interactive-shell):
4959 Call `tramp-cleanup-connection' directly.
4960
4961 2010-10-02 Glenn Morris <rgm@gnu.org>
4962
4963 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
4964
4965 * subr.el (char-bytes): Remove obsolete function.
4966
4967 * isearch.el (isearch-return-char): Remove obsolete function.
4968
4969 * mouse.el: No longer provide mldrag.
4970 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
4971 Remove obsolete aliases.
4972
4973 * comint.el (comint-kill-output): Remove obsolete alias.
4974
4975 * composite.el (decompose-composite-char): Remove obsolete function.
4976 * ps-def.el (decompose-composite-char): Remove unused function.
4977
4978 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
4979
4980 * outline.el (outline-visible): Remove obsolete function.
4981
4982 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
4983 * faces.el (internal-find-face, internal-get-face)
4984 (frame-update-faces, frame-update-face-colors)
4985 (x-frob-font-weight, x-frob-font-slant)
4986 (internal-frob-font-weight, internal-frob-font-slant)
4987 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
4988 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
4989 (x-make-font-bold-italic): Remove functions and aliases, obsolete
4990 since Emacs 21.1.
4991 * emulation/viper-util.el (viper-get-face):
4992 * obsolete/lucid.el (find-face, get-face): Use facep.
4993 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
4994 Remove unused functions.
4995 * vc/ediff-util.el (ediff-submit-report): Doc fix.
4996
4997 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
4998 delete tempfile if interrupted during compilation.
4999
5000 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5001
5002 * net/tls.el (tls-starttls-switches): Give up on using starttls with
5003 gnutls-cli.
5004 (tls-program): Add --insecure to be consistent with the defaults from
5005 openssl s_client. Now all three commands are insecure.
5006
5007 2010-10-01 Eli Zaretskii <eliz@gnu.org>
5008
5009 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
5010 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
5011 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
5012
5013 2010-10-01 Glenn Morris <rgm@gnu.org>
5014
5015 * obsolete/sc.el: Remove file.
5016
5017 * files.el (temporary-file-directory): On darwin, also try
5018 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
5019
5020 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
5021
5022 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
5023 Let's not break compatibility gratuitously, shall we?
5024
5025 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5026
5027 * net/tls.el (tls-starttls-switches): New variable.
5028 (tls-find-starttls-argument): Use it.
5029 (open-tls-stream): Ditto.
5030
5031 * net/netrc.el (netrc-credentials): Return the value of the "default"
5032 entry.
5033 (netrc-machine): Ditto.
5034
5035 2010-09-30 Eli Zaretskii <eliz@gnu.org>
5036
5037 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
5038
5039 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
5040
5041 * server.el (server-start): Don't write pid to the authentication file.
5042 (server-create-tty-frame): Don't send pid.
5043 (server-process-filter): Send pid at the start of every connection.
5044
5045 2010-09-30 Glenn Morris <rgm@gnu.org>
5046
5047 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
5048 (show-all-diary-entries): Remove obsolete function aliases.
5049
5050 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
5051 Remove options, obsolete since 22.1.
5052 (appt-display-format, appt-display-message):
5053 Remove backwards-compatibility code.
5054 (appt-check): No longer check appt-issue-message.
5055 (appt-make-list): No longer autoload it. Doc fix. No longer
5056 activate the package.
5057
5058 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
5059
5060 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
5061 (starttls-negotiate): Just call boot, and let the handshake be
5062 triggered from the read loop.
5063
5064 2010-09-29 Glenn Morris <rgm@gnu.org>
5065
5066 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
5067 not displaying the diary.
5068 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
5069 * calendar/appt.el (appt-check): No longer need to kill diary.
5070
5071 * calendar/diary-lib.el (diary-list-entries): Move the
5072 "Preparing..." message entirely here.
5073 (diary-simple-display, diary-fancy-display): Move "Preparing..."
5074 messages to diary-list-entries.
5075 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
5076 diary-display-function.
5077
5078 * calendar/diary-lib.el (diary-include-other-diary-files):
5079 Trap some recursive includes.
5080
5081 * calendar/appt.el (appt-activate): Check diary file.
5082
5083 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
5084
5085 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
5086 construction.
5087
5088 * calendar/time-date.el: No need to require cl for Emacs 21.
5089
5090 2010-09-28 Glenn Morris <rgm@gnu.org>
5091
5092 * calendar/appt.el (appt-check): Minor simplification.
5093
5094 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
5095
5096 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
5097 citation prefix.
5098
5099 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
5100
5101 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
5102 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
5103
5104 2010-09-27 Kenichi Handa <handa@m17n.org>
5105
5106 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
5107 "ustar" format.
5108
5109 2010-09-27 Kenichi Handa <handa@m17n.org>
5110
5111 * international/mule.el (define-coding-system): Docstring fixed.
5112
5113 * international/mule-diag.el (describe-character-set): Use princ
5114 with proper print-length and print-level instead of insert.
5115
5116 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
5117
5118 * window.el (walk-windows): Doc fix (bug#7105).
5119
5120 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5121
5122 * emacs-lisp/float-sup.el (e): Remove.
5123
5124 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
5125
5126 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
5127 variable.
5128 (starttls-negotiate): Use it.
5129
5130 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5131
5132 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
5133 back.
5134
5135 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
5136
5137 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
5138
5139 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5140
5141 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
5142
5143 * net/netrc.el (netrc-store-data): New function.
5144
5145 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
5146
5147 * net/gnutls.el: GnuTLS glue code to set up a connection.
5148
5149 2010-09-25 Julien Danjou <julien@danjou.info>
5150
5151 * notifications.el: Call dbus-register-signal only if it is bound.
5152
5153 2010-09-25 Glenn Morris <rgm@gnu.org>
5154
5155 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
5156 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
5157 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
5158 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
5159 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
5160 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
5161 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
5162 * eshell/esh-util.el, eshell/esh-var.el:
5163 Remove leading `*' from docs of faces and defcustoms.
5164
5165 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
5166
5167 * eshell/em-ls.el (eshell-ls-archive-regexp):
5168 * eshell/esh-util.el (eshell-tar-regexp):
5169 * ibuffer.el (ibuffer-compressed-file-name-regexp):
5170 * info.el (Info-suffix-list):
5171 * international/mule.el (auto-coding-alist):
5172 * woman.el (woman-file-regexp, woman-file-compression-regexp):
5173 * progmodes/etags.el (tags-compression-info-list):
5174 Support xz compression.
5175
5176 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
5177
5178 * files.el (get-free-disk-space): Don't assume the "df" output
5179 columns line up (Bug#6995).
5180
5181 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
5182
5183 * finder.el (finder-unknown-keywords):
5184 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
5185 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
5186
5187 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
5188
5189 * server.el (server-start): Revert part of 2010-08-08 change. Using
5190 address 127.0.0.1 for local host is now done in Fmake_network_process.
5191
5192 2010-09-24 Glenn Morris <rgm@gnu.org>
5193
5194 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
5195 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
5196 * textmodes/css-mode.el, textmodes/dns-mode.el:
5197 Move autoloaded auto-mode-alist entries to files.el.
5198 * files.el (auto-mode-alist): Move entries here.
5199
5200 2010-09-23 Glenn Morris <rgm@gnu.org>
5201
5202 * isearch.el (isearch-lazy-highlight-cleanup)
5203 (isearch-lazy-highlight-initial-delay)
5204 (isearch-lazy-highlight-interval)
5205 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
5206 * net/net-utils.el (ipconfig-program-options):
5207 Move aliases to options before the associated definitions.
5208
5209 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5210
5211 * newcomment.el (comment-normalize-vars): Better test validity of
5212 comment-end-skip.
5213
5214 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5215
5216 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
5217 (float-e): New name for `e'.
5218 (degrees-to-radians, radians-to-degrees):
5219 * calendar/solar.el (solar-longitude):
5220 * calculator.el (calculator-registers, calculator-funcall):
5221 * textmodes/artist.el (artist-spray-random-points):
5222 * play/bubbles.el (bubbles--initialize-images): Use new names.
5223
5224 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
5225
5226 Update to CEDET 1.0's version of EIEIO.
5227
5228 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
5229 New function.
5230 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
5231 (eieio-default-eval-maybe): Eval val instead of unquoting only.
5232 (class-precedence-list): If class is nil, return nil.
5233 (eieio-generic-call): If class of first input arg is nil, don't
5234 look up static methods, and do check for primary methods.
5235 (initialize-instance): See if the default needs to be evaluated
5236 during the constructor.
5237 (eieio-perform-slot-validation-for-default): Don't do the check
5238 for values that will eventually be evaluated.
5239 (eieio-eval-default-p): New function.
5240 (eieio-default-eval-maybe): Use it.
5241
5242 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
5243
5244 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
5245 method-invocation-order.
5246 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
5247 (eieio-class-precedence-dfs): Compute class precedence list using
5248 dfs algorithm.
5249 (eieio-class-precedence-bfs): Compute class precedence list using
5250 bfs algorithm.
5251 (eieio-class-precedence-c3): Compute class precedence list using
5252 c3 algorithm.
5253 (class-precedence-list): New function.
5254 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
5255 (inconsistent-class-hierarchy): New error symbol.
5256 (call-next-method): Stow the replacement argument list for future
5257 call-next-method invocations.
5258
5259 2010-09-23 Glenn Morris <rgm@gnu.org>
5260
5261 * calendar/appt.el (appt-check): If not displaying the diary,
5262 use (diary 1) to only get the entries we need.
5263 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
5264 that it is in day order. (Bug#7019)
5265
5266 * calendar/appt.el (appt-check): Rather than showing the diary,
5267 just turn off invisible display, and only if needed.
5268
5269 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
5270
5271 2010-09-23 Glenn Morris <rgm@gnu.org>
5272
5273 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
5274 (byte-compile-defvar, byte-compile-cl-warn):
5275 Start warnings with lower-case, like the majority.
5276
5277 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
5278
5279 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
5280
5281 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
5282 * files.el (auto-mode-alist): Move ld-script entries here, further down
5283 the list.
5284
5285 * vc/add-log.el: Don't require timezone when compiling.
5286 (timezone-make-date-sortable): Autoload it.
5287 (change-log-sortable-date-at): Don't require timezone.
5288 Use `ignore-errors'.
5289
5290 * comint.el (comint-use-prompt-regexp-instead-of-fields):
5291 Move alias before definition, so it does not need autoloading.
5292
5293 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
5294 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
5295 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
5296 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
5297 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
5298 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
5299 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
5300 * textmodes/tex-mode.el, textmodes/two-column.el:
5301 Remove leading `*' from docs of defcustoms etc.
5302
5303 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
5304
5305 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
5306
5307 2010-09-22 Dan Christensen <jdc@uwo.ca>
5308
5309 * calendar/time-date.el (date-to-time): Try using parse-time-string
5310 first before using the slower timezone-make-date-arpa-standard.
5311
5312 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
5313
5314 * calendar/time-date.el (format-seconds): Comment fix.
5315
5316 2010-09-22 Glenn Morris <rgm@gnu.org>
5317
5318 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
5319 is not automatically buffer-local.
5320
5321 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
5322
5323 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
5324 (smie-indent-comment): Be more careful with comment-start-skip.
5325 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
5326 (smie-indent-functions): Use them.
5327
5328 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
5329
5330 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
5331
5332 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
5333
5334 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
5335 tool-bar-position. Don't modify frame parameters here.
5336 (menu-bar-options-save): Add tool-bar-position.
5337
5338 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
5339
5340 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5341
5342 * textmodes/reftex-parse.el (reftex-what-macro)
5343 (reftex-context-substring): Let-bind forward-sexp-function to nil
5344 since we don't need/want to treat \begin...\end as a block (bug#7053).
5345
5346 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
5347
5348 * simple.el (blink-matching-open): Use syntax-class.
5349
5350 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
5351 Set invisibility spec for pascal's outline mode.
5352 (pascal-outline-change): Clean up calling convention.
5353 (pascal-show-all, pascal-hide-other-defuns): Update callers.
5354
5355 * progmodes/prolog.el (prolog-smie-forward-token)
5356 (prolog-smie-backward-token): New functions.
5357 (prolog-mode-variables): Use them to parse "!," correctly.
5358 Set up smie-blink-matching for ".".
5359
5360 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
5361 and `end'.
5362 (ispell-region, ispell-process-line): Update users.
5363
5364 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
5365 point-min==1.
5366
5367 * textmodes/ispell.el: Fix commenting convention.
5368 (ispell-parse-output): Simplify, use push.
5369 (ispell-region): Use match-string-no-properties.
5370 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
5371 (ispell-minor-mode): Use define-minor-mode.
5372 (ispell-message): Remove unused var `skip-regexp'.
5373 (ispell-add-per-file-word-list): Use dynamic let-binding.
5374 Try and use the proper comment marker.
5375
5376 * mail/sendmail.el: Fix commenting convention.
5377 (sendmail-send-it): Use line-beginning-position.
5378
5379 * help-fns.el (describe-variable): Add original value, if applicable.
5380
5381 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
5382
5383 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
5384
5385 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
5386
5387 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5388
5389 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
5390 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
5391 (smie-prec2-levels): Use them to better diagnose precedence cycles.
5392 (smie-blink-matching-check): Don't signal a mismatch if car is t.
5393 (smie-blink-matching-open): Rewrite to remove assumptions, so that
5394 something like "." can also be a closer.
5395 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
5396 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
5397 Rename internal functions to use "--". Update callers.
5398
5399 * frame.el (make-frame-names-alist): Don't list frames on other displays.
5400
5401 * fringe.el (fringe-styles): New var.
5402 (fringe-mode, fringe-query-style): Use it.
5403
5404 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
5405
5406 * progmodes/sql.el: Version 2.8
5407 (sql-login-params): Update widget structure; changes still needed.
5408 (sql-product-alist): Add :list-all and :list-table features for
5409 SQLite, Postgres and MySQL products.
5410 (sql-redirect): Handle default value.
5411 (sql-execute, sql-execute-feature): New functions.
5412 (sql-read-table-name): New function.
5413 (sql-list-all, sql-list-table): New functions. User API.
5414 (sql-mode-map, sql-interactive-mode-map): Add key definitions
5415 for above functions.
5416 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
5417 for above functions.
5418 (sql-postgres-login-params): Add user and database defaults.
5419 (sql-buffer-live-p): Bug fix.
5420 (sql-product-history): New variable.
5421 (sql-read-product): New function. Use it.
5422 (sql-set-product, sql-product-interactive): Use it.
5423 (sql-connection-history): New variable.
5424 (sql-read-connection): New function. Use it.
5425 (sql-connect): New function.
5426 (sql-for-each-login): Redesign function interface.
5427 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
5428 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
5429 (sql-comint): Check for program. Existing live buffer.
5430 (sql-comint-postgres): Add port parameter.
5431
5432 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5433
5434 * emacs-lisp/warnings.el: Fix commenting convention.
5435 (display-warning): Use special mode and make the buffer read-only.
5436
5437 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
5438
5439 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
5440 empty string when it follows a repeated or optional pattern.
5441
5442 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
5443
5444 * indent.el (indent-according-to-mode): Apply syntax-propertize.
5445 (indent-region): Use indent-according-to-mode.
5446
5447 2010-09-18 Eli Zaretskii <eliz@gnu.org>
5448
5449 * fringe.el (fringe-mode): Doc fix.
5450
5451 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
5452
5453 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
5454 refreshing the preview buffer.
5455
5456 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
5457
5458 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
5459 (latex-syntax-propertize-rules): New consts; replace
5460 tex-font-lock-syntactic-keywords.
5461 (tex-env-mark, latex-env-before-change): New functions.
5462 (latex-electric-env-pair-mode): New minor mode.
5463 (tex-font-lock-verb): Change arguments; do move point.
5464 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
5465 representation as a form of comment.
5466 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
5467 (doctex-syntax-propertize-rules): New const; replaces
5468 doctex-font-lock-syntactic-keywords.
5469 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
5470
5471 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
5472 (fortran-make-syntax-propertize-function): New function; replaces
5473 fortran-font-lock-syntactic-keywords.
5474 (fortran-mode): Use it.
5475 (fortran-line-length): Use it. Improve interactive spec.
5476
5477 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
5478 (syntax-propertize-rules): Add var-ref case. Fix offset computation
5479 when adding surrounding \(..\).
5480
5481 * progmodes/js.el (js-mode): Fix last change (bug#7054).
5482
5483 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5484
5485 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
5486 Use with-current-buffer.
5487
5488 * isearch.el (isearch-face): Rename from `isearch'.
5489 (isearch-highlight): Use new name.
5490
5491 2010-09-17 Eli Zaretskii <eliz@gnu.org>
5492
5493 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
5494 5, for `half' width fringes. (Bug#6933)
5495
5496 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5497
5498 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
5499 (byte-compile-defvar): "foo/bar" does not lack a prefix.
5500
5501 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
5502
5503 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
5504
5505 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
5506 in calculating new frame position. Add more space between new and
5507 parent on the left (Bug#7048).
5508
5509 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
5510
5511 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
5512 defmacro.
5513
5514 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
5515
5516 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
5517
5518 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
5519 obsolete alias for x-selection-value.
5520
5521 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
5522
5523 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
5524
5525 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
5526 cookie.
5527
5528 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
5529
5530 * net/tramp-compat.el (tramp-compat-with-temp-message)
5531 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
5532 (tramp-compat-process-put): New defuns.
5533
5534 * net/tramp.el (top):
5535 * net/tramp-gvfs.el (top):
5536 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
5537
5538 * net/tramp.el (tramp-progress-reporter-update):
5539 Use `tramp-compat-funcall'.
5540
5541 * net/tramp.el (tramp-process-actions):
5542 * net/tramp-gvfs.el (tramp-handle-vc-registered):
5543 * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
5544 (tramp-get-remote-stat, tramp-get-remote-readlink):
5545 Use `tramp-compat-with-temp-message'.
5546
5547 * net/tramp-sh.el (top): Require 'cl.
5548 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
5549 (tramp-open-connection-setup-interactive-shell):
5550 Use `tramp-compat-process-put'.
5551
5552 2010-09-15 Alan Mackenzie <acm@muc.de>
5553
5554 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
5555 indentation.
5556 (c-forward-<>-arglist-recur): Fix an infinite recursion.
5557
5558 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
5559
5560 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
5561 `lexical' for warnings related to lexical scoping.
5562 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
5563 global vars which don't have a prefix and could hence affect lexical
5564 scoping in unrelated files.
5565
5566 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5567
5568 * net/imap.el: Revert back to version
5569 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
5570 seem problematic.
5571
5572 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
5573
5574 * obsolete/old-whitespace.el (whitespace-unload-function):
5575 Explicitly pass `obarray' to `unintern' to avoid a warning.
5576
5577 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5578
5579 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
5580 Add `when' argument. Update callers.
5581
5582 * subr.el (unintern): Declare the obarray arg mandatory.
5583
5584 2010-09-14 Glenn Morris <rgm@gnu.org>
5585
5586 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
5587 Doc fixes.
5588
5589 * calendar/diary-lib.el (diary-included-files): New variable.
5590 (diary-list-entries): Maybe initialize diary-included-files.
5591 (diary-include-other-diary-files): Append to diary-included-files.
5592 * calendar/appt.el (appt-update-list): Also check the members of
5593 diary-included-files. (Bug#6999)
5594 (appt-check): Doc fix.
5595
5596 2010-09-14 David Reitter <david.reitter@gmail.com>
5597
5598 * simple.el (line-move-visual): Do not truncate goal column to
5599 integer size. (Bug#7020)
5600
5601 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5602
5603 * repeat.el (repeat): Allow repeating when the last event is a click.
5604 Suggested by Drew Adams (bug#6256).
5605
5606 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
5607
5608 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
5609 Replace setting HGRCPATH to "" by some less invasive --config options.
5610
5611 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5612
5613 * font-lock.el (font-lock-beginning-of-syntax-function):
5614 Mark as obsolete.
5615
5616 2010-09-14 Glenn Morris <rgm@gnu.org>
5617
5618 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
5619 and tool-bar modes. (Bug#6211)
5620 (menu-bar-mode): Move setting of standard-value after the
5621 minor-mode definition, otherwise it seems to have no effect.
5622
5623 2010-09-14 Masatake YAMATO <yamato@redhat.com>
5624
5625 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
5626 Fix typo. (Bug#6976)
5627
5628 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5629
5630 * whitespace.el: Allow cleaning up blanks without blank
5631 visualization (Bug#6651). Adjust help window for
5632 whitespace-toggle-options (Bug#6479). Allow to use fill-column
5633 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
5634 (whitespace-style): Add new value 'face. Adjust docstring.
5635 (whitespace-space, whitespace-hspace, whitespace-tab):
5636 Adjust foreground property face.
5637 (whitespace-line-column): Adjust docstring and type declaration.
5638 (whitespace-style-value-list, whitespace-toggle-option-alist)
5639 (whitespace-help-text): Adjust const initialization.
5640 (whitespace-toggle-options, global-whitespace-toggle-options):
5641 Adjust docstring.
5642 (whitespace-display-window, whitespace-interactive-char)
5643 (whitespace-style-face-p, whitespace-color-on): Adjust code.
5644 (whitespace-help-scroll): New fun.
5645
5646 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
5647
5648 * calendar/time-date.el (format-seconds): Comment fix.
5649
5650 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
5651
5652 * progmodes/sql.el: Version 2.7.
5653 (sql-buffer-live-p): Improve detection.
5654 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
5655 (sql-set-sqli-buffer): Use it.
5656 (sql-product-interactive): Run `sql-set-sqli-hook'.
5657 (sql-rename-buffer): Code cleanup.
5658 (sql-redirect, sql-redirect-value): New functions. More to come.
5659
5660 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
5661
5662 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.
5663 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
5664 (TRAMP_SRC): New macro.
5665 ($(lisp)/net/tramp-loaddefs.el): New target.
5666
5667 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
5668
5669 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
5670
5671 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
5672
5673 * net/tramp.el (top): Don't show loading message. Require just
5674 'tramp-compat, everything else is required there.
5675 Use `ignore-errors' where appropriate.
5676 (tramp-inline-compress-start-size, tramp-copy-size-limit)
5677 (tramp-terminal-type, tramp-end-of-output)
5678 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
5679 (tramp-completion-function-alist-ssh)
5680 (tramp-completion-function-alist-telnet)
5681 (tramp-completion-function-alist-su)
5682 (tramp-completion-function-alist-putty, tramp-remote-path)
5683 (tramp-remote-process-environment, tramp-sh-extra-args)
5684 (tramp-actions-before-shell, tramp-uudecode)
5685 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
5686 (tramp-perl-file-attributes)
5687 (tramp-perl-directory-files-and-attributes)
5688 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
5689 (tramp-perl-encode, tramp-perl-decode)
5690 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
5691 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
5692 (tramp-handle-make-symbolic-link, tramp-handle-load)
5693 (tramp-handle-file-name-as-directory)
5694 (tramp-handle-file-name-directory)
5695 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
5696 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
5697 (tramp-do-file-attributes-with-ls)
5698 (tramp-do-file-attributes-with-perl)
5699 (tramp-do-file-attributes-with-stat)
5700 (tramp-handle-set-visited-file-modtime)
5701 (tramp-handle-verify-visited-file-modtime)
5702 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
5703 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
5704 (tramp-handle-file-selinux-context)
5705 (tramp-handle-set-file-selinux-context)
5706 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
5707 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
5708 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
5709 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
5710 (tramp-handle-file-ownership-preserved-p)
5711 (tramp-handle-directory-file-name, tramp-handle-directory-files)
5712 (tramp-handle-directory-files-and-attributes)
5713 (tramp-do-directory-files-and-attributes-with-perl)
5714 (tramp-do-directory-files-and-attributes-with-stat)
5715 (tramp-handle-file-name-all-completions)
5716 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
5717 (tramp-handle-copy-file, tramp-handle-copy-directory)
5718 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
5719 (tramp-do-copy-or-rename-file-via-buffer)
5720 (tramp-do-copy-or-rename-file-directly)
5721 (tramp-do-copy-or-rename-file-out-of-band)
5722 (tramp-handle-make-directory, tramp-handle-delete-directory)
5723 (tramp-handle-delete-file)
5724 (tramp-handle-dired-recursive-delete-directory)
5725 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
5726 (tramp-handle-insert-directory)
5727 (tramp-handle-unhandled-file-name-directory)
5728 (tramp-handle-expand-file-name)
5729 (tramp-handle-substitute-in-file-name)
5730 (tramp-handle-executable-find, tramp-process-sentinel)
5731 (tramp-handle-start-file-process, tramp-handle-process-file)
5732 (tramp-handle-call-process-region, tramp-handle-shell-command)
5733 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
5734 (tramp-handle-insert-file-contents)
5735 (tramp-handle-insert-file-contents-literally)
5736 (tramp-handle-find-backup-file-name)
5737 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
5738 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
5739 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
5740 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
5741 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
5742 (tramp-find-file-exists-command, tramp-open-shell)
5743 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
5744 (tramp-open-connection-setup-interactive-shell)
5745 (tramp-local-coding-commands, tramp-remote-coding-commands)
5746 (tramp-find-inline-encoding, tramp-call-local-coding-command)
5747 (tramp-inline-compress-commands, tramp-find-inline-compress)
5748 (tramp-compute-multi-hops, tramp-maybe-open-connection)
5749 (tramp-send-command, tramp-wait-for-output)
5750 (tramp-send-command-and-check, tramp-barf-unless-okay)
5751 (tramp-send-command-and-read, tramp-mode-string-to-int)
5752 (tramp-convert-file-attributes, tramp-check-cached-permissions)
5753 (tramp-file-mode-from-int, tramp-file-mode-permissions)
5754 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
5755 (tramp-method-out-of-band-p, tramp-local-host-p)
5756 (tramp-get-remote-path, tramp-get-remote-tmpdir)
5757 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
5758 (tramp-get-test-command, tramp-get-test-nt-command)
5759 (tramp-get-file-exists-command, tramp-get-remote-ln)
5760 (tramp-get-remote-perl, tramp-get-remote-stat)
5761 (tramp-get-remote-readlink, tramp-get-remote-trash)
5762 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
5763 (tramp-get-local-uid, tramp-get-local-gid)
5764 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
5765 tramp-sh.el.
5766 (tramp-methods, tramp-default-method-alist)
5767 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
5768 Move initialization to tramp-sh.el.
5769 (tramp-temp-name-prefix): Make it a defconst.
5770 (tramp-dissect-file-name): Don't check anymore for multi-hop
5771 methods.
5772 (tramp-debug-outline-regexp): Add a docstring.
5773 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
5774 (tramp-get-debug-buffer): Use it.
5775
5776 * net/tramp-cache.el (top): Set tramp-autoload cookie for
5777 initialization forms.
5778 (tramp-set-connection-property): Don't protect `tramp-message'
5779 call, it isn't necessary any longer.
5780 (tramp-dump-connection-properties): Use `ignore-errors'.
5781
5782 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
5783 'password-cache and 'auth-source.
5784
5785 * net/tramp-gvfs.el (top):
5786 * net/tramp-smb.el (top): Require 'tramp-sh.
5787
5788 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
5789
5790 * net/tramp-sh.el: New file, derived from tramp.el.
5791 (top): Initialize `tramp-methods', `tramp-default-method-alist',
5792 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
5793 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
5794 Use `ignore-errors' where appropriate.
5795 (tramp-sh-file-name-handler-alist): Rename from
5796 `tramp-file-name-handler-alist'.
5797 (tramp-send-command-and-check): Return t or nil. Remove all
5798 `zerop' checks, where called.
5799 (tramp-handle-set-file-modes)
5800 (tramp-do-copy-or-rename-file-directly)
5801 (tramp-handle-delete-directory, tramp-handle-delete-file)
5802 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
5803 (tramp-sh-file-name-handler, tramp-send-command-and-check)
5804 (tramp-get-remote-ln): Set tramp-autoload cookie.
5805
5806 * net/tramp-fish.el: Remove file.
5807
5808 2010-09-13 Daiki Ueno <ueno@unixuser.org>
5809
5810 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
5811 buffer-file-name to avoid file-locking. (Bug#7026)
5812
5813 2010-09-13 Julien Danjou <julien@danjou.info>
5814
5815 * notifications.el (notifications-notify): Add support for
5816 image-path and sound-name.
5817 (notifications-specification-version): Add this variable.
5818
5819 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5820
5821 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
5822
5823 2010-09-12 Leo <sdl.web@gmail.com>
5824
5825 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
5826 (rcirc-completion-start): New variables.
5827 (rcirc-nick-completions): Rename to rcirc-completions.
5828 (rcirc-nick-completion-start-offset): Delete.
5829 (rcirc-completion-at-point): New function for constructing
5830 completion data for both nicks and irc commands. Add to
5831 completion-at-point-functions in rcirc mode.
5832 (rcirc-complete): Rename from rcirc-nick-complete; use
5833 rcirc-completion-at-point.
5834 (defun-rcirc-command): Update rcirc-client-commands.
5835
5836 2010-09-11 Glenn Morris <rgm@gnu.org>
5837
5838 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
5839 atomically, to avoid parallel build errors. (Bug#4196)
5840
5841 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
5842
5843 * progmodes/sql.el: Version 2.6
5844 (sql-dialect): Synonym for "sql-product".
5845 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
5846 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
5847 Set "sql-buffer" to buffer name not buffer object so multiple sql
5848 interactive buffers work properly. Reverts misguided changes in
5849 earlier work.
5850 (sql-comint): Make sure different buffer name is used if "*SQL*"
5851 buffer is for a different product.
5852 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
5853 login param.
5854 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
5855 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
5856 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
5857 Accept new buffer name or prompt for one.
5858 (sql-port): Default to zero.
5859 (sql-comint-mysql): Handle "sql-port" as a numeric.
5860 (sql-port-history): Delete unused variable.
5861 (sql-get-login): Default "sql-port" to a number.
5862 (sql-product-alist): Correct Postgres prompt and terminator regexp.
5863 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
5864 "sqlite3" executables.
5865 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
5866 (sql-buffer-live-p): New function.
5867 (sql-mode-menu, sql-send-string): Use it.
5868 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
5869 syntax pattern.
5870 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
5871 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
5872
5873 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5874
5875 * net/netrc.el (netrc-credentials): New convenience function.
5876
5877 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5878
5879 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
5880 to replace texinfo-font-lock-syntactic-keywords.
5881 (texinfo-mode): Use it.
5882
5883 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
5884 Use syntax-propertize-function.
5885
5886 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
5887 replace sgml-font-lock-syntactic-keywords.
5888 (sgml-mode): Use it.
5889
5890 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
5891 since we don't use it.
5892
5893 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
5894
5895 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
5896 if available.
5897 (vhdl-fontify-buffer): Adjust.
5898
5899 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
5900 replace tcl-font-lock-syntactic-keywords.
5901 (tcl-mode): Use it.
5902
5903 * progmodes/simula.el (simula-syntax-propertize-function): New var to
5904 replace simula-font-lock-syntactic-keywords.
5905 (simula-mode): Use it.
5906
5907 * progmodes/sh-script.el (sh-st-symbol): Remove.
5908 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
5909 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
5910 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
5911 (sh-font-lock-paren): Set syntax-multiline.
5912 (sh-font-lock-syntactic-keywords): Remove.
5913 (sh-syntax-propertize-function): New function to replace it.
5914 (sh-mode): Use it.
5915
5916 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
5917 Define while compiling.
5918 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
5919 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
5920 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
5921 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
5922 (ruby-here-doc-end-syntax): Only define when
5923 syntax-propertize is not available.
5924 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
5925 New functions.
5926 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
5927 (electric-indent-chars): Silence bytecompiler.
5928 (ruby-mode): Use prog-mode, syntax-propertize-function, and
5929 electric-indent-chars.
5930
5931 * progmodes/python.el (python-syntax-propertize-function): New var to
5932 replace python-font-lock-syntactic-keywords.
5933 (python-mode): Use it.
5934 (python-quote-syntax): Simplify and adjust to new use.
5935
5936 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
5937 replace perl-font-lock-syntactic-keywords.
5938 (perl-syntax-propertize-special-constructs): New fun to replace
5939 perl-font-lock-special-syntactic-constructs.
5940 (perl-font-lock-syntactic-face-function): New fun.
5941 (perl-mode): Use it.
5942
5943 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
5944 to replace octave-font-lock-close-quotes.
5945 (octave-syntax-propertize-function): New function to replace
5946 octave-font-lock-syntactic-keywords.
5947 (octave-mode): Use it.
5948
5949 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
5950 replaces mixal-font-lock-syntactic-keywords.
5951 (mixal-mode): Use it.
5952
5953 * progmodes/make-mode.el (makefile-syntax-propertize-function):
5954 New var; replaces makefile-font-lock-syntactic-keywords.
5955 (makefile-mode): Use it.
5956 (makefile-imake-mode): Adjust.
5957
5958 * progmodes/js.el (js--regexp-literal): Define while compiling.
5959 (js-syntax-propertize-function): New var; replaces
5960 js-font-lock-syntactic-keywords.
5961 (js-mode): Use it.
5962
5963 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
5964 replaces gdb-script-font-lock-syntactic-keywords.
5965 (gdb-script-mode): Use it.
5966
5967 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
5968 (fortran--font-lock-syntactic-keywords): New var.
5969 (fortran-line-length): Update syntax-propertize-function and
5970 fortran--font-lock-syntactic-keywords.
5971
5972 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
5973
5974 * progmodes/cfengine.el (cfengine-mode):
5975 Use syntax-propertize-function.
5976 (cfengine-font-lock-syntactic-keywords): Remove.
5977
5978 * progmodes/autoconf.el (autoconf-mode):
5979 Use syntax-propertize-function.
5980 (autoconf-font-lock-syntactic-keywords): Remove.
5981
5982 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
5983 (ada-after-change-function, ada-initialize-syntax-table-properties)
5984 (ada-handle-syntax-table-properties): Only define when
5985 syntax-propertize is not available.
5986 (ada-mode): Use syntax-propertize-function.
5987
5988 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
5989 (font-lock-fontify-syntactic-keywords-region): Move handling of
5990 font-lock-syntactically-fontified to...
5991 (font-lock-default-fontify-region): ...here.
5992 Let syntax-propertize-function take precedence.
5993 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
5994
5995 * emacs-lisp/syntax.el (syntax-propertize-function)
5996 (syntax-propertize-chunk-size, syntax-propertize--done)
5997 (syntax-propertize-extend-region-functions): New vars.
5998 (syntax-propertize-wholelines, syntax-propertize-multiline)
5999 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
6000 (syntax-propertize): New functions.
6001 (syntax-propertize-rules): New macro.
6002 (syntax-ppss-flush-cache): Set syntax-propertize--done.
6003 (syntax-ppss): Call syntax-propertize.
6004
6005 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
6006
6007 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
6008
6009 * textmodes/ispell.el (ispell-init-process): Improve comments.
6010 XEmacs compatibility changes regarding (add-hook) 'local option
6011 and (set-process-query-on-exit-flag).
6012
6013 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
6014
6015 * net/tramp-cache.el (tramp-parse-connection-properties):
6016 Set tramp-autoload cookie.
6017
6018 2010-09-09 Glenn Morris <rgm@gnu.org>
6019
6020 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
6021 (imagemagick-register-types): Doc fix.
6022
6023 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
6024
6025 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
6026
6027 * progmodes/js.el (require): Require is already "eval-and-compile".
6028 (js--re-search-forward): Avoid `eval'. Preserve the error data.
6029 (js--re-search-backward): Use js--re-search-forward.
6030
6031 * progmodes/fortran.el (fortran-line-length): Don't recompute
6032 syntactic keywords redundantly a second time.
6033
6034 * progmodes/ada-mode.el: Replace "(set '" with setq.
6035 (ada-mode): Simplify.
6036 (ada-create-case-exception, ada-adjust-case-interactive)
6037 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
6038 (ada-search-ignore-string-comment, ada-move-to-start)
6039 (ada-move-to-end): Use with-syntax-table.
6040
6041 * font-lock.el (save-buffer-state): Remove `varlist' arg.
6042 (font-lock-unfontify-region, font-lock-default-fontify-region):
6043 Update usage correspondingly.
6044 (font-lock-fontify-syntactic-keywords-region):
6045 Set parse-sexp-lookup-properties buffer-locally here.
6046 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
6047
6048 * simple.el (blink-matching-open): Don't burp if we can't find a match.
6049
6050 2010-09-08 Glenn Morris <rgm@gnu.org>
6051
6052 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
6053 Error if not compiled with -DBYTE_CODE_METER.
6054
6055 * emacs-lisp/bytecomp.el (byte-recompile-directory):
6056 Ignore dir-locals-file.
6057
6058 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
6059
6060 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6061 Not a const.
6062 (compilation-error-regexp-alist-alist): Rule out ": " in file names
6063 for the `gnu' messages.
6064 (compilation-set-skip-threshold): New command.
6065 (compilation-start): Use \' rather than $.
6066 (compilation-forget-errors): Use clrhash.
6067
6068 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
6069
6070 * textmodes/ispell.el (ispell-valid-dictionary-list):
6071 Simplify logic.
6072
6073 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
6074
6075 Migrate to Tramp 2.2. Rearrange load dependencies.
6076 (Bug#1529, Bug#5448, Bug#5705)
6077
6078 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
6079 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
6080 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
6081
6082 * net/tramp.el (top): Remove all other tramp-* loads except
6083 tramp-compat.el. Remove all changes to tramp-unload-hook for
6084 other tramp-* packages. Rearrange defun order. Change calls of
6085 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
6086 `tramp-compat-octal-to-decimal' to new function names.
6087 (tramp-terminal-type, tramp-initial-end-of-output)
6088 (tramp-methods, tramp-foreign-file-name-handler-alist)
6089 (tramp-tramp-file-p, tramp-completion-mode-p)
6090 (tramp-send-command-and-check, tramp-get-remote-path)
6091 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
6092 (tramp-shell-quote-argument): Set tramp-autoload cookie.
6093 (with-file-property, with-connection-property): Move to
6094 tramp-cache.el.
6095 (tramp-local-call-process, tramp-decimal-to-octal)
6096 (tramp-octal-to-decimal): Move to tramp-compat.el.
6097 (tramp-handle-shell-command): Do not require 'shell.
6098 (tramp-compute-multi-hops): No special handling for tramp-gw-*
6099 symbols.
6100 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
6101
6102 * net/tramp-cache.el (top): Require 'tramp. Add to
6103 `tramp-unload-hook'.
6104 (tramp-cache-data, tramp-get-file-property)
6105 (tramp-set-file-property, tramp-flush-file-property)
6106 (tramp-flush-directory-property, tramp-get-connection-property)
6107 (tramp-set-connection-property, tramp-flush-connection-property)
6108 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
6109 cookie.
6110 (with-file-property, with-connection-property): New defuns, moved
6111 from tramp.el.
6112 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
6113 macro.
6114
6115 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
6116 (tramp-version): Set tramp-autoload cookie.
6117
6118 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
6119 changes to tramp-unload-hook for other tramp-* packages. Add to
6120 `tramp-unload-hook'.
6121 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
6122 (tramp-compat-call-process): New defuns, moved from tramp.el.
6123
6124 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
6125 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
6126 Add to `tramp-unload-hook'. Change call of
6127 `tramp-compat-decimal-to-octal' to new function name.
6128 (tramp-fish-method): Make it a defconst.
6129 (tramp-fish-file-name-p): Make it a defsubst.
6130 (tramp-fish-method, tramp-fish-file-name-handler)
6131 (tramp-fish-file-name-p): Set tramp-autoload cookie.
6132
6133 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
6134 `tramp-foreign-file-name-handler-alist'. Add to
6135 `tramp-unload-hook'.
6136 (tramp-ftp-method): Make it a defconst.
6137 (tramp-ftp-file-name-p): Make it a defsubst.
6138 (tramp-ftp-method, tramp-ftp-file-name-handler)
6139 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
6140
6141 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
6142 `tramp-foreign-file-name-handler-alist'. Add to
6143 `tramp-unload-hook'. Change checks, whether package can be
6144 loaded.
6145 (tramp-gvfs-file-name-p): Make it a defsubst.
6146 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
6147 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
6148 (tramp-gvfs-handle-file-directory-p): New defun.
6149 (tramp-gvfs-file-name-handler-alist): Use it.
6150
6151 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
6152 `tramp-foreign-file-name-handler-alist'. Add to
6153 `tramp-unload-hook'.
6154 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
6155 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
6156 defconst.
6157 (tramp-gw-tunnel-method, tramp-gw-socks-method)
6158 (tramp-gw-open-connection): Set tramp-autoload cookie.
6159
6160 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
6161 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
6162 Add to `tramp-unload-hook'. Change checks, whether package can be
6163 loaded.
6164 (tramp-imap-file-name-p): Make it a defsubst.
6165 (tramp-imap-method, tramp-imaps-method)
6166 (tramp-imap-file-name-handler)
6167 (tramp-imap-file-name-p): Set tramp-autoload cookie.
6168
6169 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
6170 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
6171 Add to `tramp-unload-hook'. Change checks, whether package can be
6172 loaded. Change call of `tramp-compat-decimal-to-octal' to new
6173 function name.
6174 (tramp-smb-tunnel-method): Make it a defconst.
6175 (tramp-smb-file-name-p): Make it a defsubst.
6176 (tramp-smb-method, tramp-smb-file-name-handler)
6177 (tramp-smb-file-name-p): Set tramp-autoload cookie.
6178
6179 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
6180 (tramp-uuencode-region): Set tramp-autoload cookie.
6181
6182 * net/trampver.el (top) Add to `tramp-unload-hook'.
6183 (tramp-version, tramp-bug-report-address): Set tramp-autoload
6184 cookie. Update release number.
6185
6186 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
6187
6188 * textmodes/ispell.el (ispell-start-process): Make sure original
6189 arg list is properly initialized (Bug#6993, Bug#6994).
6190
6191 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
6192
6193 * files.el (directory-abbrev-alist): Use \` as default regexp.
6194
6195 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
6196 chars like - or ] (bug#6984).
6197 (rx-any-condense-range): Explode 2-char ranges.
6198
6199 2010-09-06 Glenn Morris <rgm@gnu.org>
6200
6201 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
6202
6203 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6204
6205 * textmodes/bibtex.el:
6206 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
6207
6208 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6209
6210 * net/imap.el (imap-message-map): Remove optional buffer parameter,
6211 since no callers use it.
6212 (imap-message-get): Ditto.
6213 (imap-message-put): Ditto.
6214 (imap-mailbox-map): Ditto.
6215 (imap-mailbox-put): Ditto.
6216 (imap-mailbox-get): Ditto.
6217 (imap-mailbox-get): Revert last change for this function.
6218
6219 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6220
6221 * net/imap.el (imap-fetch-safe): Remove function, and alter all
6222 callers to use `imap-fetch' instead. According to the comments, this
6223 should be safe, since all other IMAP clients use the 1:* syntax.
6224 (imap-enable-exchange-bug-workaround): Remove.
6225 (imap-debug): Remove -- doesn't seem very useful.
6226
6227 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6228
6229 * net/imap.el (imap-log): New convenience function used throughout
6230 instead of repeating the same code all over the place.
6231
6232 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
6233
6234 * mouse.el (mouse-save-then-kill): Save region to kill-ring
6235 when mouse-drag-copy-region is non-nil (Bug#6956).
6236
6237 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
6238
6239 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
6240 Improve regexps (Bug#6987).
6241 (dired-sort-toggle): Search more robustly for -t flag.
6242
6243 * files.el (get-free-disk-space): Search more robustly for
6244 "available" column. Suggested by Ehud Karni
6245 <ehud@unix.mvs.co.il>.
6246
6247 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
6248
6249 * international/uni-bidi.el:
6250 * international/uni-category.el:
6251 * international/uni-combining.el:
6252 * international/uni-decimal.el:
6253 * international/uni-mirrored.el:
6254 * international/uni-name.el: Regenerate.
6255
6256 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6257
6258 * electric.el (electric-indent-post-self-insert-function):
6259 Don't reindent with a sloppy indentation function.
6260
6261 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
6262 border case in change-log-mode.
6263
6264 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
6265
6266 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6267 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
6268 Recognize leading tab in gcc-include regexp. Ignore names with
6269 leading "from" or "in" in gnu regexp (Bug#6937).
6270
6271 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6272
6273 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
6274 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
6275 (ispell-start-process): Avoid setq and simplify logic.
6276 (ispell-init-process): Setup kill-buffer-hook locally when needed.
6277 (kill-buffer-hook): Don't use it globally with code that uses
6278 expand-file-name since that may call kill-buffer via
6279 code_conversion_restore.
6280
6281 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
6282
6283 * emacs-lisp/package.el (package-directory-list): Only call
6284 file-name-nondirectory on a string.
6285
6286 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
6287
6288 * emacs-lisp/package.el (package--download-one-archive):
6289 Ensure that archive-contents is valid before saving it.
6290 (package-activate-1, package-mark-obsolete, define-package)
6291 (package-compute-transaction, package-list-maybe-add): Use push.
6292
6293 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
6294
6295 Use SMIE's blink-paren for octave-mode.
6296 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
6297 Backslashes do not escape single-quotes, single-quotes do.
6298 (octave-block-else-regexp, octave-block-end-regexp)
6299 (octave-block-match-alist): Remove.
6300 (octave-smie-bnf-table): New var, with old content.
6301 (octave-smie-op-levels): Use it.
6302 (octave-smie-closer-alist): New var.
6303 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
6304 (octave-blink-matching-block-open): Remove.
6305 (octave-reindent-then-newline-and-indent, octave-electric-semi)
6306 (octave-electric-space): Let self-insert-command run expand-abbrev and
6307 blink parens.
6308
6309 * electric.el (electricity): New group.
6310 (electric-indent-chars): New var.
6311 (electric-indent-post-self-insert-function): New fun.
6312 (electric-indent-mode): New minor mode.
6313 (electric-pair-skip-self): New custom.
6314 (electric-pair-post-self-insert-function): New function.
6315 (electric-pair-mode): New minor mode.
6316
6317 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
6318 calcAlg-blink-matching-open.
6319 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
6320 (calc-do-alg-entry): Only touch the part of the keymap that varies.
6321 Use the new blink-matching-check-function.
6322
6323 Provide blink-matching support to SMIE.
6324 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
6325 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
6326 (smie-blink-matching-check, smie-blink-matching-open): New functions.
6327
6328 * simple.el (newline): Fix last change to properly remove itself from
6329 the hook.
6330
6331 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
6332
6333 * simple.el (newline): Eliminate optimization.
6334 Use post-self-insert-hook to set hard-newline and things before
6335 running post-self-insert-hook.
6336 (blink-matching-check-mismatch): New function.
6337 (blink-matching-check-function): New variable.
6338 (blink-matching-open): Use them.
6339 Skip back forward over prefix chars skipped by forward-sexp.
6340 Don't check if the parens are backslash escaped.
6341 (blink-paren-post-self-insert-function): Check backslash escaping here.
6342
6343 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
6344
6345 * emacs-lisp/package.el (package-menu-mode-map):
6346 Change package-menu-revert bindings to revert-buffer.
6347 (package-menu-mode): Set revert-buffer-function.
6348 (package-menu-revert): Doc fix.
6349
6350 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
6351
6352 * textmodes/ispell.el (ispell-init-process): Use "~/" as
6353 `default-directory' unless using Ispell per-directory personal
6354 dictionaries and not in a mini-buffer under XEmacs.
6355 (kill-buffer-hook): Do not kill ispell process on exit when
6356 `ispell-process-directory' is "~/". (Bug#6143)
6357
6358 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
6359
6360 * simple.el (kill-new): Call interprogram-cut-function with only
6361 one argument.
6362
6363 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
6364 Remove cut buffer from error message.
6365
6366 * term/x-win.el (x-select-text):
6367 * term/pc-win.el (x-selection-value):
6368 * term/ns-win.el (x-selection-value):
6369 * eshell/em-term.el:
6370 * w32-fns.el (x-get-selection-value):
6371 * mouse-sel.el (mouse-sel-set-selection-function):
6372 * frame.el (display-selections-p): Remove cut-buffer in documentation.
6373
6374 * term/x-win.el: Update documentation for x-last-selected-text-*.
6375 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
6376 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
6377 (x-select-text): Remove argument PUSH, update documentation.
6378 Remove cut-buffer code.
6379 (x-selection-value-internal): Was previously x-selection-value.
6380 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
6381 Update documentation, remove cut-buffer code.
6382 Call x-selection-value-internal.
6383 (x-clipboard-yank): Call x-selection-value-internal.
6384 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
6385
6386 * term/pc-win.el (x-last-selected-text):
6387 x-cut-buffer-or-selection-value renamed to x-selection-value
6388 (x-select-text): Remove argument PUSH, update documentation.
6389
6390 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
6391 x-cut-buffer-or-selection-value renamed to x-selection-value
6392 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
6393 (x-select-text): Remove argument PUSH, update documentation.
6394
6395 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
6396
6397 * w32-fns.el (x-last-selected-text):
6398 x-cut-buffer-or-selection-value renamed to x-selection-value.
6399 (x-cut-buffer-max): Remove.
6400 (x-select-text): Remove argument PUSH, update documentation.
6401
6402 * simple.el (interprogram-cut-function): Remove mention of PUSH.
6403
6404 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
6405
6406 * mouse-sel.el (mouse-sel-get-selection-function):
6407 x-cut-buffer-or-selection-value renamed to x-selection-value.
6408 (x-select-text): Remove optional push.
6409
6410 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
6411
6412 * simple.el (blink-paren-function): Move from C to here.
6413 (blink-paren-post-self-insert-function): New function.
6414 (post-self-insert-hook): Use it.
6415
6416 * emacs-lisp/pcase.el (pcase-split-memq):
6417 Fix overenthusiastic optimisation.
6418 (pcase-u1): Handle the case of a lambda pred.
6419
6420 2010-08-31 Kenichi Handa <handa@m17n.org>
6421
6422 * international/mule-cmds.el (standard-display-european-internal):
6423 Setup standard-display-table for 8-bit characters by storing 8-bit
6424 characters in the element vector.
6425
6426 * disp-table.el (standard-display-8bit):
6427 Setup standard-display-table for 8-bit characters by storing 8-bit
6428 characters in the element vector.
6429 (standard-display-european): Likewise.
6430
6431 2010-08-31 Masatake YAMATO <yamato@redhat.com>
6432
6433 * textmodes/nroff-mode.el (nroff-view): New command.
6434 (nroff-mode-map): Bind it to C-c C-c.
6435
6436 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
6437
6438 * emacs-lisp/smie.el (smie-down-list): New command.
6439
6440 Remove old indentation and navigation code on octave-mode.
6441 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
6442 smie-down-list rather than add a binding for octave-down-block.
6443 (octave-mark-block, octave-blink-matching-block-open):
6444 Rely on forward-sexp-function.
6445 (octave-fill-paragraph): Don't narrow, so you can use
6446 indent-according-to-mode.
6447 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
6448 (octave-in-block-p, octave-re-search-forward-kw)
6449 (octave-re-search-backward-kw, octave-indent-calculate)
6450 (octave-end-as-array-index-p, octave-block-end-offset)
6451 (octave-scan-blocks, octave-forward-block, octave-backward-block)
6452 (octave-down-block, octave-backward-up-block, octave-up-block)
6453 (octave-before-magic-comment-p, octave-indent-line): Remove.
6454
6455 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
6456
6457 * emacs-lisp/package.el (package--read-archive-file): Just use
6458 `read', to avoid copying an additional string.
6459 (package-menu-mode): Set header-line-format here.
6460 (package-menu-refresh, package-menu-revert): Signal an error if
6461 not in the Package Menu.
6462 (package-menu-package-list): New var.
6463 (package--generate-package-list): Operate on the current buffer;
6464 don't assume that it is *Packages*, since the user may rename it.
6465 Allow persistent package listings and sort keys using
6466 package-menu-package-list and package-menu-package-sort-key.
6467 (package-menu--version-predicate): Fix version calculation.
6468 (package-menu-sort-by-column): Don't select the window.
6469 (package--list-packages): Create the *Packages* buffer.
6470 Set package-menu-package-list-key.
6471 (list-packages): Sorting by status is now the default.
6472 (package-buffer-info): Use match-string-no-properties.
6473 (define-package): Add a &rest argument for future proofing, but
6474 don't use it yet.
6475 (package-install-from-buffer, package-install-buffer-internal):
6476 Merge into a single function, package-install-from-buffer.
6477 (package-install-file): Change caller.
6478
6479 * finder.el: Load finder-inf using `require'.
6480 (finder-list-matches): Sorting by status is now the default.
6481 (finder-compile-keywords): Simpify printing.
6482
6483 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6484
6485 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
6486 (octave-mode-map): Remove special bindings for forward/backward-block
6487 and octave-backward-up-block. Use smie-close-block.
6488 (octave-continuation-marker-regexp): New var.
6489 (octave-continuation-regexp): Use it.
6490 (octave-operator-table, octave-smie-op-levels)
6491 (octave-operator-regexp, octave-smie-indent-rules): New vars.
6492 (octave-smie-backward-token, octave-smie-forward-token): New funs.
6493 (octave-mode): Use SMIE.
6494 (octave-close-block): Delete.
6495
6496 2010-08-30 Eli Zaretskii <eliz@gnu.org>
6497
6498 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
6499 CLIPBOARD, not in PRIMARY. (Bug#6944)
6500
6501 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6502
6503 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
6504 a list of parents.
6505 (smie-indent-column): Allow indirection through variables.
6506
6507 * composite.el (save-buffer-state): Delete, unused.
6508 * font-lock.el (save-buffer-state): Use with-silent-modifications.
6509 (font-lock-default-fontify-region): Use with-syntax-table.
6510 * jit-lock.el (with-buffer-unmodified): Remove.
6511 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
6512
6513 Use `declare' in defmacros.
6514 * window.el (save-selected-window):
6515 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
6516 * progmodes/python.el (def-python-skeleton):
6517 * net/dbus.el (dbus-ignore-errors):
6518 * jka-cmpr-hook.el (with-auto-compression-mode):
6519 * international/mule.el (with-category-table):
6520 * emacs-lisp/timer.el (with-timeout):
6521 * emacs-lisp/lisp-mnt.el (lm-with-file):
6522 * emacs-lisp/eieio.el (with-slots):
6523 * emacs-lisp/easymenu.el (easy-menu-define):
6524 * emacs-lisp/debug.el (debugger-env-macro):
6525 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
6526 (Multiple-value-call, Multiple-value-prog1):
6527 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
6528 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
6529 edebug rule to definition.
6530 * emacs-lisp/lisp-mode.el (save-selected-window)
6531 (with-current-buffer, combine-after-change-calls)
6532 (with-output-to-string, with-temp-file, with-temp-buffer)
6533 (with-temp-message, with-syntax-table, read-if, eval-after-load)
6534 (dolist, dotimes, when, unless):
6535 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
6536
6537 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
6538
6539 * finder.el: Require `package'.
6540 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
6541 (finder-package-info): Var deleted.
6542 (finder-keywords-hash, finder--builtins-alist): New vars.
6543 (finder-compile-keywords): Compute package--builtins and
6544 finder-keywords-hash instead of finder-keywords-hash, respecting
6545 the "Package" header.
6546 (finder-unknown-keywords, finder-list-matches):
6547 Use finder-keywords-hash and package--list-packages.
6548 (finder-mode): Don't set font-lock-defaults.
6549 (finder-exit): We don't use "*Finder-package*" and "*Finder
6550 Category*" buffers anymore.
6551
6552 * emacs-lisp/package.el (package--builtins-base): Var deleted.
6553 (package--builtins): Set default value to nil.
6554 (package-initialize): Load precomputed value of package--builtins
6555 from finder-inf.el.
6556 (package-alist, package-compute-transaction)
6557 (package-download-transaction): Improve docstring.
6558 (package-read-all-archive-contents): Do not change
6559 package--builtins here.
6560 (list-packages): Make package-list-packages an alias for this.
6561 Sort by status by default.
6562 (package--list-packages): Add optional PACKAGES arg.
6563 (describe-package-1): Use font-lock-face property. For built-in
6564 packages, insert file commentary.
6565 (package--generate-package-list): Rename from
6566 package-list-packages-internal; all callers changed. Add optional
6567 PACKAGES arg. Add alphabetical sort fallbacks.
6568 (package-menu--version-predicate, package-menu--status-predicate)
6569 (package-menu--description-predicate)
6570 (package-menu--name-predicate): New functions.
6571
6572 * info.el (Info-finder-find-node): Search package-alist instead of
6573 finder-package-info.
6574
6575 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
6576
6577 * subr.el (version-regexp-alist): Don't use "a" and "b" for
6578 "alpha" and "beta".
6579 (version-to-list): Handle versions like "10.3d".
6580
6581 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6582
6583 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
6584 (macroexp-accumulate): Use `declare'.
6585
6586 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6587
6588 * whitespace.el (whitespace-style): Adjust type declaration.
6589
6590 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
6591
6592 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
6593 empty argument to gvfs-copy.
6594
6595 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
6596
6597 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
6598 handle new TRASH arg of `delete-file'.
6599
6600 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
6601
6602 * net/tramp.el (tramp-handle-insert-directory): Don't use
6603 `forward-word', its default syntax could be changed.
6604
6605 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
6606 Michael Albinus <michael.albinus@gmx.de>
6607
6608 Implement compression for inline methods.
6609
6610 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
6611 (tramp-copy-size-limit): Allow also nil.
6612 (tramp-inline-compress-commands): New defconst.
6613 (tramp-find-inline-compress, tramp-get-inline-compress)
6614 (tramp-get-inline-coding): New defuns.
6615 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
6616 replaced by `tramp-get-inline-coding'.
6617 (tramp-handle-file-local-copy, tramp-handle-write-region)
6618 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
6619
6620 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
6621
6622 Detect ssh 'ControlMaster' argument automatically in some cases.
6623
6624 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
6625 (tramp-default-method): Use it.
6626
6627 2010-08-26 Karel Klíč <kklic@redhat.com>
6628
6629 * net/tramp.el (tramp-file-name-for-operation):
6630 Add file-selinux-context.
6631
6632 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
6633
6634 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
6635
6636 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
6637
6638 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
6639 (Bug#6907).
6640
6641 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
6642
6643 * progmodes/js.el: Make indentation more customizable (Bug#6914).
6644 (js-paren-indent-offset, js-square-indent-offset)
6645 (js-curly-indent-offset): New options.
6646 (js--proper-indentation): Use them.
6647
6648 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
6649
6650 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
6651 instead of inspecting font-lock properties (Bug#6916).
6652
6653 2010-08-26 David Reitter <david.reitter@gmail.com>
6654
6655 * server.el (server-visit-files): Run pre-command-hook and
6656 post-command-hook for each buffer while it is current (Bug#6910).
6657 (server-execute): Do not run hooks here.
6658
6659 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
6660
6661 Sync with Tramp 2.1.19.
6662
6663 * net/tramp-cmds.el (tramp-cleanup-all-connections)
6664 (tramp-reporter-dump-variable, tramp-load-report-modules)
6665 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
6666 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
6667
6668 * net/tramp-compat.el (top): Do not autoload
6669 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
6670 only when `start-file-process' is not bound.
6671 (byte-compile-not-obsolete-vars): Define if not bound.
6672 (tramp-compat-funcall): New defmacro.
6673 (tramp-compat-line-beginning-position)
6674 (tramp-compat-line-end-position)
6675 (tramp-compat-temporary-file-directory)
6676 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
6677 (tramp-compat-copy-file, tramp-compat-copy-directory)
6678 (tramp-compat-delete-file, tramp-compat-delete-directory)
6679 (tramp-compat-number-sequence, tramp-compat-process-running-p):
6680 Use it.
6681 (tramp-advice-file-expand-wildcards): Do not use
6682 `tramp-handle-file-remote-p'.
6683 (tramp-compat-make-temp-file): Simplify fallback implementation.
6684 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
6685 (tramp-compat-copy-tree): Remove function.
6686 (tramp-compat-delete-file): New defun.
6687 (tramp-compat-delete-directory): Provide implementation for older
6688 Emacsen.
6689 (tramp-compat-file-attributes): Handle only
6690 `wrong-number-of-arguments' error.
6691
6692 * net/tramp-fish.el (tramp-fish-handle-copy-file):
6693 Add PRESERVE_SELINUX_CONTEXT.
6694 (tramp-fish-handle-delete-file): Add TRASH arg.
6695 (tramp-fish-handle-directory-files-and-attributes):
6696 Do not use `tramp-fish-handle-file-attributes.
6697 (tramp-fish-handle-file-local-copy)
6698 (tramp-fish-handle-insert-file-contents)
6699 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
6700
6701 * net/tramp-gvfs.el (top): Require url-util.
6702 (tramp-gvfs-mount-point): Remove.
6703 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
6704 and `set-file-selinux-context'.
6705 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
6706 (tramp-gvfs-handle-file-selinux-context)
6707 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
6708 (with-tramp-dbus-call-method): Format trace message.
6709 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
6710 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
6711 Implement backup call, when operation on local files fails.
6712 Use progress reporter. Flush properties of changed files.
6713 (tramp-gvfs-handle-delete-file): Add TRASH arg.
6714 Use `tramp-compat-delete-file'.
6715 (tramp-gvfs-handle-expand-file-name): Expand "~/".
6716 (tramp-gvfs-handle-make-directory): Make more traces.
6717 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
6718 (tramp-gvfs-url-file-name): Hexify file name in url.
6719 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
6720 into account for the resulting file name.
6721 (tramp-gvfs-handler-askquestion): Preserve current message, in
6722 order to let progress reporter continue afterwards. (Bug#6257)
6723 Return dummy mountpoint, when the answer is "no".
6724 See `tramp-gvfs-maybe-open-connection'.
6725 (tramp-gvfs-handler-mounted-unmounted)
6726 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
6727 attribute "default_location". Set "prefix" property.
6728 Handle default-location.
6729 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
6730 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
6731 exists. Raise an error, if not (due to a corresponding answer
6732 "no" in interactive questions, for example).
6733 Use `tramp-compat-funcall'.
6734
6735 * net/tramp-imap.el (top): Autoload `epg-make-context'.
6736 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
6737 (tramp-imap-do-copy-or-rename-file)
6738 (tramp-imap-handle-insert-file-contents)
6739 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
6740 (tramp-imap-handle-delete-file): Add TRASH arg.
6741
6742 * net/tramp-smb.el (tramp-smb-handle-copy-file):
6743 Add PRESERVE-SELINUX-CONTEXT.
6744 (tramp-smb-handle-copy-file)
6745 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
6746 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
6747 Use `with-progress-reporter'.
6748 (tramp-smb-handle-delete-file): Add TRASH arg.
6749
6750 * net/tramp.el (tramp-methods): Move hostname to the end in all
6751 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
6752 appropriate.
6753 (tramp-verbose): Describe verbose level 9.
6754 (tramp-completion-function-alist)
6755 (tramp-file-name-regexp, tramp-chunksize)
6756 (tramp-local-coding-commands, tramp-remote-coding-commands)
6757 (with-connection-property, tramp-completion-mode-p)
6758 (tramp-action-process-alive, tramp-action-out-of-band)
6759 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
6760 (tramp-exists-file-name-handler): Fix docstring.
6761 (tramp-remote-process-environment): Use `format' instead of
6762 `concat'. Protect version string by apostroph.
6763 (tramp-shell-prompt-pattern): Do not use a shy group in case of
6764 XEmacs.
6765 (tramp-file-name-regexp-unified)
6766 (tramp-completion-file-name-regexp-unified): On W32 systems, do
6767 not regard the volume letter as remote filename. (Bug#5447)
6768 (tramp-perl-file-attributes)
6769 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
6770 (tramp-vc-registered-read-file-names): Read input as
6771 here-document, otherwise the command could exceed maximum length
6772 of command line.
6773 (tramp-file-name-handler-alist): Add `file-selinux-context' and
6774 `set-file-selinux-context'.
6775 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
6776 backtrace functions.
6777 (tramp-error-with-buffer): Don't show the connection buffer when
6778 we are in completion mode.
6779 (tramp-progress-reporter-update, tramp-remote-selinux-p)
6780 (tramp-handle-file-selinux-context)
6781 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
6782 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
6783 New defuns.
6784 (with-progress-reporter): New defmacro.
6785 (tramp-debug-outline-regexp): New defconst.
6786 (top, tramp-rfn-eshadow-setup-minibuffer)
6787 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
6788 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
6789 (tramp-completion-mode-p, tramp-check-for-regexp)
6790 (tramp-open-connection-setup-interactive-shell)
6791 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
6792 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
6793 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
6794 Use `tramp-compat-funcall'.
6795 (tramp-handle-make-symbolic-link): Flush file properties.
6796 (tramp-handle-load, tramp-handle-file-local-copy)
6797 (tramp-handle-insert-file-contents, tramp-handle-write-region)
6798 (tramp-handle-vc-registered, tramp-maybe-send-script)
6799 (tramp-find-shell): Use `with-progress-reporter'.
6800 (tramp-do-file-attributes-with-stat): Add space in format string,
6801 in order to work around a bug in pdksh. Reported by Gilles Pion
6802 <gpion@lfdj.com>.
6803 (tramp-handle-verify-visited-file-modtime): Do not send a command
6804 when the connection is not established.
6805 (tramp-handle-set-file-times): Simplify the check for utc.
6806 (tramp-handle-directory-files-and-attributes)
6807 (tramp-get-remote-path): Use `copy-tree'.
6808 (tramp-completion-handle-file-name-all-completions): Ensure, that
6809 non remote files are still checked. Oops.
6810 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
6811 Handle PRESERVE-SELINUX-CONTEXT.
6812 (tramp-do-copy-or-rename-file): Add progress reporter.
6813 (tramp-do-copy-or-rename-file-directly): Do not use
6814 `tramp-handle-file-remote-p'.
6815 (tramp-do-copy-or-rename-file-out-of-band):
6816 Use `tramp-compat-delete-directory'.
6817 (tramp-do-copy-or-rename-file-out-of-band)
6818 (tramp-compute-multi-hops, tramp-maybe-open-connection):
6819 Use `format-spec-make'.
6820 (tramp-handle-delete-file): Add TRASH arg.
6821 (tramp-handle-dired-uncache): Flush directory cache, not only file
6822 cache.
6823 (tramp-handle-expand-file-name)
6824 (tramp-completion-handle-file-name-all-completions)
6825 (tramp-completion-handle-file-name-completion):
6826 Use `tramp-connectable-p'.
6827 (tramp-handle-start-file-process): Set connection property "vec".
6828 Use it, in order to invalidate file caches. Check only for
6829 `remote-tty' process property.
6830 Implement tty setting. (Bug#4604, Bug#6360)
6831 (tramp-file-name-for-operation): Add `call-process-region' and
6832 `set-file-selinux-context'.
6833 (tramp-find-foreign-file-name-handler)
6834 (tramp-advice-make-auto-save-file-name)
6835 (tramp-set-auto-save-file-modes): Remove superfluous check for
6836 `stringp'. This is done inside `tramp-tramp-file-p'.
6837 (tramp-file-name-handler): Trace 'quit. Catch the error for some
6838 operations when we are in completion mode. This gives the user
6839 the chance to correct the file name in the minibuffer.
6840 (tramp-completion-mode-p): Use `non-essential'.
6841 (tramp-handle-file-name-all-completions): Backward/ XEmacs
6842 compatibility: Use `completion-ignore-case' if
6843 `read-file-name-completion-ignore-case' does not exist.
6844 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
6845 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6846 `tramp-open-shell'.
6847 (tramp-action-password): Hide password prompt before next run.
6848 (tramp-process-actions): Widen connection buffer for the trace.
6849 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
6850 process property. Trace stty settings if `tramp-verbose' >= 9.
6851 Apply workaround for IRIX64 bug. Move argument of last
6852 `tramp-send-command' where it belongs to.
6853 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
6854 front of `login-args'.
6855 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
6856 on "/dev/null" instead of "/".
6857 (tramp-get-ls-command-with-dired): Make test for "--dired"
6858 stronger.
6859 (tramp-set-auto-save-file-modes): Adapt version check.
6860 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
6861 (tramp-handle-process-file): Call the program in a subshell, in
6862 order to preserve working directory.
6863 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
6864 `tramp-remote-sh' from `tramp-methods'.
6865 (tramp-get-ls-command): Make test for "--color=never" stronger.
6866 (tramp-check-for-regexp): Use (forward-line 1).
6867
6868 * net/trampver.el: Update release number.
6869
6870 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
6871
6872 * help.el (help-map): Bind `C-h P' to describe-package.
6873
6874 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
6875
6876 * emacs-lisp/package.el (package-refresh-contents): Catch errors
6877 when downloading archives.
6878 (describe-package-1): Add package commentary.
6879 (package-install-button-action): New function.
6880 (package-menu-mode-map): Bind ? to package-menu-describe-package.
6881 (package-menu-view-commentary): Function removed.
6882 (package-list-packages-internal): Hide the `package' package too.
6883
6884 2010-08-25 Kenichi Handa <handa@m17n.org>
6885
6886 * language/misc-lang.el ("Arabic"): New language environment.
6887 Setup composition-function-table for Arabic characters.
6888
6889 * international/fontset.el (setup-default-fontset): Fix typo for
6890 arabic OTF spec (fini->fina).
6891
6892 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
6893
6894 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
6895 on all frames.
6896
6897 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6898
6899 * whitespace.el: Allow cleaning up blanks without blank
6900 visualization (Bug#6651). Adjust help window for
6901 whitespace-toggle-options (Bug#6479). Allow to use fill-column
6902 instead of whitespace-line-column (from EmacsWiki). New version
6903 13.1.
6904 (whitespace-style): Add new value 'face. Adjust docstring.
6905 (whitespace-space, whitespace-hspace, whitespace-tab):
6906 Adjust foreground property face.
6907 (whitespace-line-column): Adjust docstring and type declaration.
6908 (whitespace-style-value-list, whitespace-toggle-option-alist)
6909 (whitespace-help-text): Adjust const initialization.
6910 (whitespace-toggle-options, global-whitespace-toggle-options):
6911 Adjust docstring.
6912 (whitespace-display-window, whitespace-interactive-char)
6913 (whitespace-style-face-p, whitespace-color-on): Adjust code.
6914 (whitespace-help-scroll): New fun.
6915
6916 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
6917
6918 * emacs-lisp/package.el (list-packages): Alias for
6919 package-list-packages.
6920
6921 2010-08-24 Kevin Ryde <user42@zip.com.au>
6922
6923 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
6924 (Bug#5651).
6925
6926 * progmodes/ruby-mode.el (ruby): Add defgroup.
6927
6928 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
6929
6930 * progmodes/python.el: Add Ipython support (Bug#5390).
6931 (python-shell-prompt-alist)
6932 (python-shell-continuation-prompt-alist): New options.
6933 (python--set-prompt-regexp): New function.
6934 (inferior-python-mode, run-python, python-shell):
6935 Require ansi-color. Use python--set-prompt-regexp to set the comint
6936 prompt based on the Python interpreter.
6937 (python--prompt-regexp): New var.
6938 (python-check-comint-prompt)
6939 (python-comint-output-filter-function): Use it.
6940 (run-python): Use a pipe (Bug#5694).
6941
6942 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
6943
6944 * progmodes/python.el (python-send-region): Send a different
6945 Python command if Ipython is in use.
6946 (python-check-version): Use a Python command to find the version.
6947
6948 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
6949
6950 * mouse.el (mouse-yank-primary): Avoid setting primary when
6951 deactivating the mark (Bug#6872).
6952
6953 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
6954
6955 * progmodes/python.el (python-block-pairs): Allow use of "finally"
6956 with "else" (Bug#3991).
6957
6958 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
6959
6960 * net/dbus.el: Accept UNIX domain sockets as bus address.
6961 (top): Don't initialize `dbus-registered-objects-table' anymore,
6962 this is done in dbusbind,c.
6963 (dbus-check-event): Adapt test for bus.
6964 (dbus-return-values-table, dbus-unregister-service)
6965 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
6966 Adapt doc string.
6967
6968 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
6969
6970 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
6971
6972 2010-08-22 Juri Linkov <juri@jurta.org>
6973
6974 * simple.el (read-extended-command): New function with the logic
6975 for `completing-read' moved to Elisp from `execute-extended-command'.
6976 Use `function-called-at-point' in `minibuffer-default-add-function'
6977 to get a command name for M-n (bug#5364, bug#5214).
6978
6979 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
6980
6981 * startup.el (command-line-1): Issue warning for ignored arguments
6982 --unibyte, etc (Bug#6886).
6983
6984 2010-08-22 Leo <sdl.web@gmail.com>
6985
6986 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
6987 (ignore, bright, dim, keyword): Split list of nicknames before
6988 passing to rcirc-add-or-remove (Bug#6894).
6989
6990 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
6991
6992 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
6993
6994 2010-08-22 Leo <sdl.web@gmail.com>
6995
6996 Fix buffer-list rename&refresh after killing a buffer in ido.
6997 * ido.el: Revert Óscar's.
6998 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
6999 Remember the buffers at head, rather than their name.
7000 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
7001
7002 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
7003 Stefan Monnier <monnier@iro.umontreal.ca>
7004
7005 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
7006 extra backslash added to each line (bug#6890).
7007
7008 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7009
7010 * subr.el (read-key): Don't echo keystrokes (bug#6883).
7011
7012 2010-08-22 Glenn Morris <rgm@gnu.org>
7013
7014 * menu-bar.el (menu-bar-games-menu): Add landmark.
7015
7016 2010-08-22 Glenn Morris <rgm@gnu.org>
7017
7018 * align.el (align-regexp): Make group and spacing arguments
7019 use the interactive defaults when non-interactive. (Bug#6698)
7020
7021 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
7022 expansion, so as not to need sendmail.
7023 (mail-text-start): Remove declaration.
7024 (rmail-retry-failure): Require sendmail.
7025
7026 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7027
7028 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
7029
7030 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
7031
7032 * progmodes/flymake.el (flymake-start-syntax-check-process):
7033 Use `start-file-process' in order to let it run also on remote hosts.
7034
7035 2010-08-22 Kenichi Handa <handa@m17n.org>
7036
7037 * files.el: Add `word-wrap' as safe local variable.
7038
7039 2010-08-22 Glenn Morris <rgm@gnu.org>
7040
7041 * woman.el (woman-translate): Case matters. (Bug#6849)
7042
7043 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7044
7045 * simple.el (kill-region): Doc fix (Bug#6787).
7046
7047 2010-08-22 Glenn Morris <rgm@gnu.org>
7048
7049 * calendar/diary-lib.el (diary-header-line-format):
7050 Fit it to the window, not the frame.
7051
7052 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
7053
7054 * subr.el (ignore-errors): Add debug declaration.
7055
7056 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
7057
7058 * whitespace.el (whitespace-color-off): Remove post-command-hook
7059 locally.
7060
7061 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
7062
7063 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
7064
7065 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
7066
7067 * cus-edit.el (custom-group-value-create): Add extra newline
7068 before end line (Bug#6876).
7069
7070 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
7071
7072 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
7073 when extending it. Before killing on the second click, check if
7074 the buffer is the correct one. Doc fix.
7075 (mouse-secondary-save-then-kill): Allow usage without first
7076 calling mouse-start-secondary, by defaulting to point. Don't save
7077 an empty secondary selection. Doc fix.
7078
7079 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7080
7081 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
7082 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
7083 New version 13.0.
7084 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
7085 Adjust initialization.
7086 (whitespace-bob-marker, whitespace-eob-marker)
7087 (whitespace-buffer-changed): New vars.
7088 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
7089 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
7090 (whitespace-post-command-hook, whitespace-display-char-on):
7091 Adjust code.
7092 (whitespace-looking-back, whitespace-buffer-changed): New funs.
7093 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
7094
7095 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
7096
7097 * files.el (locate-file-completion-table): Only list the .el and .elc
7098 extensions if there's no other choice (bug#5955).
7099
7100 * facemenu.el (facemenu-self-insert-data): New var.
7101 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
7102 New functions.
7103 (facemenu-add-face): Use them.
7104
7105 * simple.el (blink-matching-open): Obey forward-sexp-function.
7106
7107 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
7108
7109 * simple.el (prog-mode-map): New var.
7110 (prog-indent-sexp): New command.
7111
7112 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
7113
7114 * progmodes/prolog.el (smie): Require.
7115
7116 * emacs-lisp/smie.el (smie-default-backward-token)
7117 (smie-default-forward-token): Strip properties.
7118 (smie-next-sexp): Be more careful with associative operators.
7119 (smie-forward-sexp-command): Generalize.
7120 (smie-backward-sexp-command): Simplify.
7121 (smie-closer-alist): New var.
7122 (smie-close-block): New command.
7123 (smie-indent-debug-log): New var.
7124 (smie-indent-offset-rule): Add a few more cases.
7125 (smie-indent-column): New function.
7126 (smie-indent-after-keyword): Use it.
7127 (smie-indent-keyword): Use it.
7128 Fix up the opener code's point position.
7129 (smie-indent-comment): Only applies at BOL.
7130 (smie-indent-debug): New command.
7131
7132 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
7133 declarations that are useful before running the macro.
7134
7135 2010-08-18 Joakim Verona <joakim@verona.se>
7136
7137 * image.el (imagemagick-types-inhibit): New variable.
7138 (imagemagick-register-types): New function.
7139 * image-mode.el (image-transform-properties): New function.
7140 (image-transform-set-scale, image-transform-fit-to-height)
7141 (image-transform-set-rotation, image-transform-set-resize)
7142 (image-transform-fit-to-width, image-transform-fit-to-height):
7143 New functions.
7144 (image-toggle-display-image): Support image transforms.
7145
7146 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
7147
7148 * image.el (create-animated-image): Don't add heuristic mask to image
7149 (Bug#6839).
7150
7151 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
7152
7153 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
7154 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
7155
7156 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
7157
7158 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
7159
7160 Font-lock '...' strings, plus various simplifications and fixes.
7161 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
7162 (octave-font-lock-close-quotes): New function.
7163 (octave-font-lock-syntactic-keywords): New var.
7164 (octave-mode): Use it. Set beginning-of-defun-function.
7165 (octave-mode-map): Don't override the <foo>-defun commands.
7166 (octave-mode-menu): Pass it directly to easy-menu-define;
7167 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
7168 (octave-block-match-alist): Fix up last change so that
7169 octave-close-block uses the more specific keyword.
7170 (info-lookup-mode): Silence byte-compiler.
7171 (octave-beginning-of-defun): Not interactive any more.
7172 Optimize slightly.
7173 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
7174 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
7175 (octave-completion-at-point-function): Make sure point is within
7176 beg..end.
7177 (octave-reindent-then-newline-and-indent):
7178 Use reindent-then-newline-and-indent.
7179 (octave-add-octave-menu): Remove.
7180
7181 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
7182
7183 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
7184 (report-emacs-bug-can-use-xdg-email): New functions.
7185 (report-emacs-bug): Set can-xdg-email to result of
7186 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
7187 \C-cm to report-emacs-bug-insert-to-mailer and add help text
7188 about it.
7189
7190 * net/browse-url.el (browse-url-default-browser): Add cond
7191 for browse-url-xdg-open.
7192 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
7193
7194 2010-08-17 Glenn Morris <rgm@gnu.org>
7195
7196 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
7197 (c-fontify-recorded-types-and-refs): Define for compiler.
7198 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
7199 before use.
7200
7201 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
7202 Fix format call.
7203
7204 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
7205
7206 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
7207 properties.
7208 (tramp-handle-process-file): Call the program in a subshell, in
7209 order to preserve working directory.
7210 (tramp-action-password): Hide password prompt before next run.
7211 (tramp-process-actions): Widen connection buffer for the trace.
7212
7213 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
7214
7215 * net/rcirc.el (rcirc-log-process-buffers): New option.
7216 (rcirc-print): Use it.
7217 (rcirc-generate-log-filename): New function.
7218 (rcirc-log-filename-function): Change default to
7219 rcirc-generate-log-filename (Bug#6828).
7220
7221 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
7222
7223 * simple.el (deactivate-mark): If select-active-regions is `only',
7224 only set selection for temporarily active regions.
7225
7226 * cus-start.el: Change defcustom for select-active-regions.
7227
7228 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
7229
7230 * mouse.el (mouse--drag-set-mark-and-point): New function.
7231 (mouse-drag-track): Use LOCATION arg to push-mark.
7232 Use mouse--drag-set-mark-and-point to take click-count into
7233 consideration when updating point and mark (Bug#6840).
7234
7235 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
7236
7237 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7238 Give the Ruby rule a lower priority than Gnu (Bug#6778).
7239
7240 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
7241
7242 * font-lock.el (lisp-font-lock-keywords-2):
7243 Add combine-after-change-calls, condition-case-no-debug,
7244 with-demoted-errors, and with-silent-modifications (Bug#6025).
7245
7246 2010-08-14 Kevin Ryde <user42@zip.com.au>
7247
7248 * emacs-lisp/copyright.el (copyright-update-year)
7249 (copyright-update): Temporary switch-to-buffer to ensure the
7250 buffer change being queried is visible (Bug#5394).
7251
7252 2010-08-14 Tom Tromey <tromey@redhat.com>
7253
7254 * progmodes/etags.el (tags-file-name): Mark safe if stringp
7255 (Bug#6733).
7256
7257 2010-08-14 Eli Zaretskii <eliz@gnu.org>
7258
7259 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
7260 MS-DOS. (Bug#6689)
7261
7262 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
7263
7264 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
7265 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
7266 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
7267 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
7268 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
7269 Call menu-bar-set-tool-bar-position.
7270
7271 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7272
7273 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
7274 comment style (bug#6834).
7275 * progmodes/scheme.el (scheme-mode-syntax-table):
7276 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
7277 "b" flag in "' 14b" syntax.
7278
7279 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
7280 for (un)commenting the region and performing completion.
7281 (octave-mode-menu): Use standard commands for help and completion.
7282 (octave-mode-syntax-table): Support %{..%} comments (sort of).
7283 (octave-mode): Use define-derived-mode.
7284 Set completion-at-point-functions and don't set columns.
7285 Don't disable adaptive-fill-regexp.
7286 (octave-describe-major-mode, octave-comment-region)
7287 (octave-uncomment-region, octave-comment-indent)
7288 (octave-indent-for-comment): Remove.
7289 (octave-indent-calculate): Rename from calculate-octave-indent.
7290 (octave-indent-line, octave-fill-paragraph): Update caller.
7291 (octave-initialize-completions): No need to make an alist.
7292 (octave-completion-at-point-function): New function.
7293 (octave-complete-symbol): Use it.
7294 (octave-insert-defun): Use define-skeleton.
7295
7296 * progmodes/octave-mod.el (octave-mode): Set comment-add.
7297 (octave-mode-map): Use comment-dwim (bug#6829).
7298
7299 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
7300
7301 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
7302 indentation of inserted comment.
7303
7304 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
7305
7306 * faces.el (region): Add type gtk that uses gtk colors.
7307
7308 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
7309 Handle theme-name change.
7310
7311 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
7312
7313 * progmodes/sql.el: Version 2.5
7314 (sql-product-alist): Add :prompt-cont-regexp property for several
7315 database products.
7316 (sql-prompt-cont-regexp): New variable.
7317 (sql-output-newline-count, sql-output-by-send):
7318 New variables. Record number of newlines in input text.
7319 (sql-send-string): Handle multiple filters and count newlines.
7320 (sql-send-magic-terminator): Count terminator newline.
7321 (sql-interactive-remove-continuation-prompt): Filters output to
7322 remove continuation prompts; one for each newline.
7323 (sql-interactive-mode): Set up new variables, prompt regexp and
7324 output filter.
7325 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
7326 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
7327
7328 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7329
7330 * emacs-lisp/pcase.el: New file.
7331
7332 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
7333
7334 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
7335 as here-document, otherwise the command could exceed maximum
7336 length of command line.
7337 (tramp-handle-vc-registered): Call script accordingly.
7338 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
7339
7340 2010-08-10 Kenichi Handa <handa@m17n.org>
7341
7342 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
7343 composable pattern.
7344
7345 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
7346
7347 * emacs-lisp/package.el (package-version-split)
7348 (package--version-first-nonzero, package-version-compare):
7349 Functions removed.
7350 (package-directory-list, package-load-all-descriptors)
7351 (package--built-in, package-activate, define-package)
7352 (package-installed-p, package-compute-transaction)
7353 (package-read-all-archive-contents)
7354 (package--add-to-archive-contents, package-buffer-info)
7355 (package-tar-file-info, package-list-packages-internal):
7356 Use version-to-list and version-list-*.
7357
7358 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7359 Use version-to-list.
7360 (package-upload-buffer-internal): Use version-list-<=.
7361
7362 2010-08-09 Kenichi Handa <handa@m17n.org>
7363
7364 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
7365 composable pattern.
7366
7367 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
7368
7369 * tutorial.el (tutorial--default-keys): C-d is now bound to
7370 delete-forward-char (Bug#6826).
7371
7372 * mouse.el (mouse-drag-track): Remove accidentally-removed check
7373 for `double' value of mouse-1-click-follows-link (Bug#6807).
7374
7375 2010-08-08 Johan Bockgård <bojohan@gnu.org>
7376
7377 * replace.el (replace-highlight): Bind isearch-forward and
7378 isearch-error, ensuring that highlighting is updated if the user
7379 switches the search direction (Bug#6808).
7380
7381 * isearch.el (isearch-lazy-highlight-forward): New var.
7382 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
7383 (isearch-lazy-highlight-update): Use it.
7384
7385 2010-08-08 Kenichi Handa <handa@m17n.org>
7386
7387 * international/mule.el (define-charset): Store NAME as :base property.
7388 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
7389 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
7390 current priority. Force using the designation of the specific
7391 charset by adding `charset' text property. Improve the whole algorithm.
7392
7393 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7394
7395 * emulation/pc-select.el (pc-selection-mode-hook)
7396 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
7397 (pc-selection-mode): Fix typos in docstrings.
7398
7399 2010-08-08 Kenichi Handa <handa@m17n.org>
7400
7401 * language/cyrillic.el: Don't add "microsoft-cp1251" to
7402 ctext-non-standard-encodings-alist here.
7403
7404 * international/mule.el (ctext-non-standard-encodings-alist):
7405 Add "koi8-r" and "microsoft-cp1251".
7406 (ctext-standard-encodings): New variable.
7407 (ctext-non-standard-encodings-table): List only elements for
7408 non-standard encodings.
7409 (ctext-pre-write-conversion): Adjust for the above change.
7410 Check ctext-standard-encodings.
7411
7412 * international/mule-conf.el (compound-text): Doc fix.
7413 (ctext-no-compositions): Doc fix.
7414 (compound-text-with-extensions): Doc fix.
7415
7416 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7417
7418 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
7419
7420 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7421
7422 * progmodes/which-func.el (which-func-format): Split help-echo text
7423 into lines, like other mode-line tooltips.
7424
7425 * server.el (server-start): When using TCP sockets, force IPv4
7426 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
7427
7428 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7429
7430 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
7431
7432 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7433
7434 * term.el (term-delimiter-argument-list): Reflow docstring.
7435 (term-read-input-ring, term-write-input-ring, term-send-input)
7436 (term-bol, term-erase-in-display, serial-supported-or-barf):
7437 Fix typos in docstrings.
7438
7439 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7440
7441 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
7442
7443 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7444
7445 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
7446
7447 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
7448
7449 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
7450 Fix typo in docstring (bug#6747).
7451
7452 2010-08-08 Leo <sdl.web@gmail.com>
7453
7454 * eshell/esh-io.el (eshell-get-target): Better detection of
7455 read-only file (Bug#6762).
7456
7457 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7458
7459 * align.el (align-default-spacing): Doc fix.
7460 (align-region-heuristic, align-regexp): Fix typos in docstrings.
7461
7462 2010-08-08 Stephen Peters <speters@itasoftware.com>
7463
7464 * calendar/icalendar.el
7465 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
7466 (icalendar--get-weekday-numbers): New.
7467 (icalendar--convert-recurring-to-diary): Handle multiple byday
7468 values in weekly rules. (Bug#6766)
7469
7470 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
7471
7472 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
7473 (icalendar--create-uid, icalendar-export-region)
7474 (icalendar--parse-summary-and-rest): Code formatting.
7475
7476 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
7477
7478 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
7479 to italicize headers.
7480 (calc-highlight-selections-with-faces): New variable.
7481 (calc-selected-face, calc-nonselected-face): New faces.
7482
7483 * calc/calccomp.el (math-comp-highlight-string): Use
7484 `calc-highlight-selections-with-faces' to determine how to highlight
7485 sub-formulas.
7486
7487 * calc/calc-sel.el (calc-show-selections): Change message to when
7488 using faces to highlight selections.
7489
7490 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
7491
7492 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
7493 Add SQLite 3 keywords, functions and datatypes.
7494 (sql-interactive-mode): Remove `comint-process-echoes' set to t
7495 (Bug#6686).
7496
7497 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
7498
7499 * simple.el (select-active-regions): Move to keyboard.c.
7500 (deactivate-mark): Used saved-region-selection.
7501 (select-active-region): Function removed.
7502 (activate-mark, set-mark, push-mark-command)
7503 (handle-shift-selection): Don't call it.
7504 (keyboard-quit): Avoid adding the region to the window selection.
7505
7506 * mouse.el (mouse-drag-track): Remove hacks to deal with old
7507 select-active-regions implementation.
7508 (mouse-yank-at-click): Doc fix.
7509
7510 * cus-start.el: Add custom declaration for select-active-regions.
7511
7512 2010-08-07 Eli Zaretskii <eliz@gnu.org>
7513
7514 * simple.el (delete-forward-char): Doc fix.
7515
7516 * tutorial.el (help-with-tutorial): Hack safe file-local variables
7517 after reading the tutorial.
7518
7519 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
7520
7521 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
7522 Fix for the case that a C style comment has its delimiters alone on
7523 their respective lines.
7524
7525 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
7526
7527 * net/tramp.el (tramp-handle-start-file-process): Set connection
7528 property "vec".
7529 (tramp-process-sentinel): Use it for flushing the cache.
7530 We cannot do it via the process buffer, the buffer could be deleted
7531 already when running the sentinel.
7532
7533 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
7534
7535 * comint.el (comint-mode): Make directory tracking functions
7536 functional on remote files. (Bug#6764)
7537
7538 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
7539
7540 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
7541
7542 2010-08-05 Eli Zaretskii <eliz@gnu.org>
7543
7544 * emacs-lisp/find-gc.el (find-gc-source-files):
7545 Rename unexec.c => unexcoff.c.
7546
7547 * emacs-lisp/authors.el (authors-fixed-entries):
7548 Rename unexec.c => unexcoff.c.
7549
7550 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
7551
7552 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
7553 cache, not only file cache.
7554 (tramp-process-sentinel): New defun.
7555 (tramp-handle-start-file-process): Use it, in order to invalidate
7556 file caches.
7557
7558 2010-08-03 Leo <sdl.web@gmail.com>
7559
7560 * server.el (server-start): Simplify loop.
7561
7562 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
7563
7564 * frame.el (screen-height, screen-width, set-screen-width)
7565 (set-screen-height): Remove ancient compatibility aliases.
7566
7567 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
7568 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
7569
7570 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
7571 that change current buffer.
7572
7573 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7574
7575 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
7576 beginning of the string. Use `string-match-p'. (Bug#6765)
7577
7578 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
7579
7580 * cus-start.el (x-gtk-use-system-tooltips): New variable.
7581
7582 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
7583
7584 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
7585 (package--builtins): Tweak descriptions.
7586 (package-print-package): Upcase descriptions if necessary.
7587 Show all built-in packages in font-lock-builtin-face.
7588 (package-list-packages-internal): Omit "emacs" package.
7589 Show status of built-in packages as "built-in".
7590
7591 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
7592
7593 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
7594 before killing to preserve the primary selection (Bug#6701).
7595
7596 * term/x-win.el (x-select-text): Doc fix.
7597
7598 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
7599
7600 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
7601 (objc-font-lock-extra-types):
7602 * progmodes/cc-mode.el (c-basic-common-init):
7603 * progmodes/cc-langs.el (c-make-mode-syntax-table)
7604 (c++-make-template-syntax-table)
7605 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
7606 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
7607 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
7608 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
7609 * progmodes/cc-fonts.el (c-make-inverse-face)
7610 (c-basic-matchers-after):
7611 * progmodes/cc-engine.el (c-forward-keyword-clause)
7612 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
7613 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
7614 (c-guess-continued-construct, c-guess-basic-syntax):
7615 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
7616 The above functions were modified or created.
7617
7618 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
7619
7620 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
7621
7622 2010-07-31 Eli Zaretskii <eliz@gnu.org>
7623
7624 * files.el (bidi-paragraph-direction): Define safe local values.
7625
7626 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
7627 language-info-alist. Remove outdated FIXME in a comment.
7628
7629 2010-07-31 Alan Mackenzie <acm@muc.de>
7630
7631 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
7632 Auto-fill broken in C/C++ modes.
7633
7634 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
7635
7636 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
7637 (menu-bar-showhide-tool-bar-menu-customize-disable)
7638 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
7639 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
7640 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
7641 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
7642 make a menu for Options => toolbar that can move it.
7643
7644 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
7645
7646 * emacs-lisp/package-x.el (package--make-rss-entry):
7647 (package-maint-add-news-item, package--update-news)
7648 (package-upload-buffer-internal): New arg ARCHIVE-URL.
7649
7650 * emacs-lisp/package.el (package-archive-url): Rename from
7651 package-archive-id.
7652 (package-install): Doc fix.
7653 (package-download-single, package-download-tar, package-install)
7654 (package-menu-view-commentary): Callers changed.
7655
7656 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
7657
7658 * net/tramp.el (tramp-handle-start-file-process): Check only for
7659 `remote-tty' process property.
7660 (tramp-open-shell): Don't check for tty.
7661 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
7662 process property.
7663
7664 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
7665 host.
7666
7667 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
7668
7669 * emacs-lisp/package.el (package-load-list, package-archives)
7670 (package-archive-contents, package-user-dir)
7671 (package-directory-list, package--builtins, package-alist)
7672 (package-activated-list, package-obsolete-alist): Mark as risky.
7673
7674 2010-07-28 Phil Hagelberg <phil@evri.com>
7675
7676 Add support for non-default package repositories.
7677 * emacs-lisp/package.el (package-archive-base): Var deleted.
7678 (package-archives): New variable.
7679 (package-archive-contents): Doc fix.
7680 (package-load-descriptor): Do nothing if descriptor file is missing.
7681 (package--write-file-no-coding): New function.
7682 (package-unpack-single): Use it.
7683 (package-archive-id): New function.
7684 (package-download-single, package-download-tar)
7685 (package-menu-view-commentary): Use it.
7686 (package-installed-p): Make second argument optional.
7687 (package-read-all-archive-contents): New function.
7688 (package-initialize): Use it.
7689 (package-read-archive-contents): Add ARCHIVE argument.
7690 (package--add-to-archive-contents): New function.
7691 (package-install): Don't call package-read-archive-contents.
7692 (package--download-one-archive): Store archive file in a
7693 subdirectory of package-user-dir.
7694 (package-menu-execute): Remove spurious line movement.
7695
7696 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
7697
7698 * cus-start.el (tool-bar-style): Add text-image-horiz.
7699
7700 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
7701
7702 * progmodes/gud.el (gud-common-init): Check for remoteness of
7703 `file', and not of `default-directory'.
7704
7705 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
7706
7707 * net/tramp.el (tramp-methods): Move hostname to the end in all
7708 ssh `tramp-login-args'.
7709 (tramp-verbose): Describe verbose level 9.
7710 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
7711 (tramp-open-connection-setup-interactive-shell): Trace stty
7712 settings if `tramp-verbose' >= 9.
7713 (tramp-handle-start-file-process): Implement tty setting.
7714 (Bug#4604, Bug#6360)
7715
7716 * net/tramp-cmds.el (tramp-bug): Recommend setting of
7717 `tramp-verbose' to 9.
7718
7719 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
7720
7721 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
7722 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
7723 Remove references to package `lisp-re' (bug#4369).
7724
7725 2010-07-27 Tom Tromey <tromey@redhat.com>
7726
7727 * progmodes/js.el (js-mode):
7728 * progmodes/make-mode.el (makefile-mode):
7729 * progmodes/simula.el (simula-mode):
7730 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
7731
7732 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
7733
7734 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
7735
7736 * time.el (display-time-day-and-date): Remove spurious * in docstring.
7737 (display-time-world-buffer-name, display-time-world-mode-map):
7738 Fix typos in docstrings.
7739
7740 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
7741
7742 * image-mode.el (image-display-size): New function.
7743 (image-forward-hscroll, image-next-line, image-eol, image-eob)
7744 (image-mode-fit-frame): Use it (Bug#6639).
7745
7746 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
7747
7748 * dired.el (dired-buffers-for-dir): Handle list values of
7749 dired-directory (Bug#6636).
7750
7751 2010-07-26 Sam Steingold <sds@gnu.org>
7752
7753 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
7754 Do not call `x-get-selection' the second time, reuse the value.
7755
7756 2010-07-26 Daiki Ueno <ueno@unixuser.org>
7757
7758 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
7759 which consist of control chars only. Suggested by Richard Stallman.
7760
7761 2010-07-25 Daiki Ueno <ueno@unixuser.org>
7762
7763 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
7764 exists before passing an error to find-file-not-found-functions
7765 (bug#6723).
7766
7767 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
7768
7769 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
7770 Remove leading nil element, adjust values.
7771 (tetris-shapes, tetris-shape-scores):
7772 Change representation of shapes and remove some redundancy.
7773 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
7774 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
7775 Adjust for working with new representation of shapes.
7776 (tetris-shape-rotations): New function.
7777 (tetris-move-bottom, tetris-move-left, tetris-move-right)
7778 (tetris-rotate-prev, tetris-rotate-next):
7779 Adjust for working with the new version of tetris-test-shape.
7780
7781 2010-07-23 Markus Triska <markus.triska@gmx.at>
7782
7783 * progmodes/ps-mode.el: Use comint (bug#5954).
7784 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
7785 (ps-mode-other-newline): Simplify.
7786 (ps-run-mode): Derive from comint-mode instead of
7787 fundamental-mode, yielding input history etc.
7788 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
7789 (ps-run-send-string): Adapt for comint-mode.
7790 (ps-run-newline): Remove now unneeded function.
7791
7792 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
7793
7794 * net/tramp.el (tramp-methods): Move hostname to the end in all
7795 plink `tramp-login-args'.
7796
7797 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
7798
7799 * net/tramp.el (tramp-open-shell): New defun.
7800 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7801 Use it.
7802
7803 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
7804
7805 * net/tramp.el (tramp-file-name-regexp-unified)
7806 (tramp-completion-file-name-regexp-unified): On W32 systems, do
7807 not regard the volume letter as remote filename. (Bug#5447)
7808
7809 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
7810
7811 * custom.el (custom-declare-variable): Give a clearer error message
7812 when the docstring is missing (bug#6476).
7813
7814 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
7815
7816 * progmodes/sql.el: Version 2.4. Improved Login prompting.
7817 (sql-login-params): New widget definition.
7818 (sql-oracle-login-params, sql-mysql-login-params)
7819 (sql-solid-login-params, sql-sybase-login-params)
7820 (sql-informix-login-params, sql-ingres-login-params)
7821 (sql-ms-login-params, sql-postgres-login-params)
7822 (sql-interbase-login-params, sql-db2-login-params)
7823 (sql-linter-login-params): Use it.
7824 (sql-sqlite-login-params): Use it; Define "database" parameter as
7825 a file name.
7826 (sql-sqlite-program): Change to "sqlite3".
7827 (sql-comint-sqlite): Make sure database name is complete.
7828 (sql-for-each-login): New function.
7829 (sql-connect, sql-save-connection): Use it.
7830 (sql-get-login-ext): New function.
7831 (sql-get-login): Use it.
7832 (sql-make-alternate-buffer-name): Handle :file parameters.
7833
7834 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
7835
7836 * dired.el (dired-no-confirm): Document value t and fix defcustom to
7837 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
7838
7839 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
7840
7841 * dired.el (dired-mode-map): Use command remapping (bug#6632).
7842
7843 2010-07-22 Lawrence Mitchell <wence@gmx.li>
7844
7845 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
7846
7847 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
7848
7849 * net/tramp.el (tramp-get-ls-command)
7850 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
7851 instead of "/".
7852
7853 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
7854
7855 * progmodes/sql.el: Version 2.3.
7856 (sql-connection-alist): Change keys from symbols to strings;
7857 enhanced the widget definition.
7858 (sql-mode-menu): Add submenu to select connections.
7859 (sql-interactive-mode-menu): Add "Save Connection" item.
7860 (sql-add-product): Fix menu item.
7861 (sql-get-product-feature): Improved error handling.
7862 (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
7863 (sql-make-alternate-buffer-name): Simplified.
7864 (sql-product-interactive): Handle missing product.
7865 (sql-connect): Support string keys, minor improvements.
7866 (sql-save-connection): New function.
7867 (sql-connection-menu-filter): New function.
7868
7869 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
7870
7871 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
7872 (tramp-open-connection-setup-interactive-shell):
7873 Apply workaround for IRIX64 bug. Move argument of last
7874 `tramp-send-command' where it belongs to.
7875
7876 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
7877
7878 * net/tramp.el (tramp-perl-file-attributes)
7879 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
7880 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
7881 front of `login-args'.
7882
7883 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
7884
7885 * time.el (display-time-world-mode): Define with `define-derived-mode'.
7886 Set `show-trailing-whitespace' to nil.
7887 (display-time-world-display): Simplify.
7888
7889 2010-07-18 Alan Mackenzie <acm@muc.de>
7890
7891 Enhance `c-file-style' in file/directory local variables.
7892 * progmodes/cc-mode.el (c-count-cfss): New function.
7893 (c-before-hack-hook): Call `c-set-style' differently according to
7894 whether c-file-style was set in file or directory local
7895 variables.
7896
7897 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
7898
7899 * progmodes/sql.el: Version 2.2.
7900 (sql-product, sql-user, sql-database, sql-server, sql-port):
7901 Use defcustom :safe keyword rather than putting safe-local-variable
7902 property.
7903 (sql-password): Use defcustom :risky keyword rather than putting
7904 risky-local-variable property.
7905 (sql-oracle-login-params, sql-sqlite-login-params)
7906 (sql-solid-login-params, sql-sybase-login-params)
7907 (sql-informix-login-params, sql-ingres-login-params)
7908 (sql-ms-login-params, sql-postgres-login-params)
7909 (sql-interbase-login-params, sql-db2-login-params)
7910 (sql-linter-login-params): Add `port' option.
7911 (sql-get-product-feature): Add NO-INDIRECT parameter.
7912 (sql-comint-oracle, sql-comint-sybase)
7913 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
7914 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
7915 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
7916 (sql-comint-linter): Rename sql-connect-* functions to
7917 sql-comint-*.
7918 (sql-product-alist, sql-mode-menu): Rename as above and
7919 :sqli-connect-func to :sqli-comint-func.
7920 (sql-connection): New variable.
7921 (sql-interactive-mode): Set it.
7922 (sql-connection-alist): New variable.
7923 (sql-connect): New function.
7924 (sql--alt-buffer-part, sql--alt-if-not-empty)
7925 (sql-make-alternate-buffer-name): Improved alternative buffer name.
7926
7927 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7928
7929 * image-mode.el (image-bookmark-make-record): Do not set context
7930 in an image (Bug#6650).
7931
7932 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
7933
7934 * simple.el (select-active-region): New function.
7935 (push-mark-command, set-mark, activate-mark)
7936 (handle-shift-selection): Use it.
7937 (deactivate-mark): Don't check for size of region.
7938
7939 * mouse.el (mouse-drag-track): Use select-active-region.
7940
7941 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
7942
7943 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
7944 "--dired" stronger.
7945
7946 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
7947
7948 * term/x-win.el (x-select-enable-primary): Change default to nil.
7949 (x-select-enable-clipboard): Add :version keyword.
7950
7951 * mouse.el (mouse-drag-copy-region):
7952 * simple.el (select-active-regions): Likewise.
7953
7954 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
7955
7956 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
7957 (vc-coding-system-for-diff): Use it to decide whether to inherit
7958 from the file the EOL format for reading the diffs of that file.
7959 (Bug#4451)
7960
7961 2010-07-16 Eli Zaretskii <eliz@gnu.org>
7962
7963 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
7964 unibyte, so compressed attachments are not compressed again.
7965
7966 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
7967
7968 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
7969 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
7970 (tramp-find-shell): Simplify setting connection property.
7971 (tramp-get-ls-command): Make test for "--color=never" stronger.
7972
7973 2010-07-15 Simon South <ssouth@member.fsf.org>
7974
7975 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
7976 blocks within record declarations (i.e. variant parts) correctly.
7977
7978 2010-07-15 Simon South <ssouth@member.fsf.org>
7979
7980 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
7981 over literal tokens when parsing so newlines aren't "absorbed" by
7982 single-line comments. Corrects the indentation of case blocks
7983 that have a comment on the first line.
7984
7985 2010-07-14 Karl Fogel <kfogel@red-bean.com>
7986
7987 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
7988 by Drew Adams (Bug#5504).
7989
7990 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
7991
7992 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
7993 now that Unicode is used (Bug#6594).
7994
7995 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
7996
7997 * term/x-win.el (x-select-enable-clipboard): Default to t.
7998 (x-initialize-window-system): Don't overwrite Paste menu item.
7999
8000 * simple.el (select-active-regions): Default to t.
8001 (push-mark-command): Don't overwrite primary with empty string.
8002
8003 * mouse.el: Bind mouse-2 to mouse-yank-primary.
8004 (mouse-drag-copy-region): Default to nil.
8005
8006 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
8007 Cut/Copy/Paste menu bar items.
8008
8009 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8010
8011 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
8012 Patch applied by Karl Fogel.
8013
8014 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
8015 and `bookmark-current-buffer' if they have been already set in
8016 another buffer (e.g gnus-art).
8017
8018 2010-07-13 Karl Fogel <kfogel@red-bean.com>
8019 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8020
8021 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
8022
8023 * bookmark.el (bookmark-make-record-default): Allow unneeded
8024 information to be omitted from the record.
8025
8026 Adjust declarations and calls:
8027
8028 * info.el (bookmark-make-record-default): Adjust declaration.
8029 (Info-bookmark-make-record): Adjust call.
8030
8031 * woman.el (bookmark-make-record-default): Adjust declaration.
8032 (woman-bookmark-make-record): Adjust call.
8033
8034 * man.el (bookmark-make-record-default): Adjust declaration.
8035 (Man-bookmark-make-record): Adjust call.
8036
8037 * image-mode.el (bookmark-make-record-default): Adjust declaration.
8038
8039 * doc-view.el (bookmark-make-record-default): Adjust declaration.
8040
8041 2010-07-13 Karl Fogel <kfogel@red-bean.com>
8042
8043 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
8044 This is also from Thierry Volpiatto's patch in bug #6444. However,
8045 because it was extraneous to the functional change in that patch,
8046 and causes a re-indendation, I am committing it separately.
8047
8048 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8049
8050 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
8051 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
8052 Patch applied by Karl Fogel (Bug#6444).
8053
8054 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
8055
8056 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
8057
8058 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
8059
8060 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
8061 Dempsky; bug#5084). Remove incorrect binding for S-tab.
8062 (ns-alternatives-map): Change S-tab binding to backtab
8063 (bug#6616).
8064
8065 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
8066 under ns.
8067
8068 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
8069
8070 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
8071 (Bug#5806)
8072
8073 * language/tv-util.el (tai-viet-re): Remove format.
8074
8075 2010-07-12 Kenichi Handa <handa@m17n.org>
8076
8077 * language/hebrew.el: Remove no-byte-compile declaration.
8078 Change coding: tag to utf-8. Register hebrew-shape-gstring in
8079 composition-function-table for 3-character looking back.
8080 (hebrew-font-get-precomposed): New function.
8081 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
8082
8083 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
8084
8085 * mouse.el (mouse-drag-track): Handle select-active-regions
8086 (Bug#6612).
8087
8088 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
8089
8090 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
8091 empty argument to gvfs-copy.
8092
8093 2010-07-10 Glenn Morris <rgm@gnu.org>
8094
8095 * calendar/calendar.el (calendar-week-end-day): New function.
8096 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
8097 Respect calendar-week-start-day. (Bug#6606)
8098 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
8099 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
8100 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
8101 respect calendar-week-start-day.
8102
8103 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
8104
8105 * simple.el (use-region-p): Doc fix (Bug#6607).
8106
8107 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
8108
8109 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8110 Add regexps for cucumber and ruby.
8111
8112 2010-07-08 Daiki Ueno <ueno@unixuser.org>
8113
8114 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
8115 (epa-file-insert-file-contents): Hack to prevent
8116 find-file from opening empty buffer when decryption failed
8117 (bug#6568).
8118
8119 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
8120
8121 * textmodes/ispell.el (ispell-alternate-dictionary):
8122 Use file-readable-p.
8123 Return nil if no word-list is found at default locations.
8124 (ispell-complete-word-dict): Default to nil.
8125 (ispell-command-loop): Use 'word-list' when using lookup-words.
8126 (lookup-words): Use ispell-complete-word-dict or
8127 ispell-alternate-dictionary. Check for word-list availability
8128 and handle errors if needed with better messages (Bug#6539).
8129 (ispell-complete-word): Use ispell-complete-word-dict or
8130 ispell-alternate-dictionary.
8131
8132 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
8133
8134 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
8135 builtins (BufferError, BytesWarning, WindowsError; callables
8136 bin, bytearray, bytes, format, memoryview, next, print; __package__).
8137
8138 2010-07-07 Glenn Morris <rgm@gnu.org>
8139
8140 * play/zone.el (top-level): Do not require timer, tabify, or cl.
8141 (zone-shift-left): Ignore intangibility, and any errors from
8142 forward-char.
8143 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
8144 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
8145 deleting, and copying text properties.
8146 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
8147 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
8148 to point-max is hard.
8149 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
8150 (zone-fill-out-screen): Ignore intangibility.
8151
8152 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
8153
8154 * menu-bar.el (menu-bar-mode):
8155 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
8156 if it has been set.
8157
8158 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
8159 word/line selection (Bug#6565).
8160
8161 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
8162
8163 * net/dbus.el (dbus-send-signal): Declare function.
8164
8165 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
8166
8167 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
8168 (dbus-register-property): New optional argument EMITS-SIGNAL.
8169 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
8170
8171 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
8172
8173 * mouse.el (mouse-drag-overlay): Variable deleted.
8174 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
8175 (mouse--remap-link-click-p): New function.
8176 (mouse-drag-track): Handle dragging by using temporary Transient
8177 Mark mode, instead of a special overlay.
8178 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
8179 mouse-show-mark.
8180
8181 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
8182 deleted.
8183
8184 2010-07-02 Juri Linkov <juri@jurta.org>
8185
8186 * autoinsert.el (auto-insert-alist): Fix readability
8187 by using dotted pair notation for lambda.
8188
8189 2010-07-02 Juri Linkov <juri@jurta.org>
8190
8191 * faces.el (read-face-name): Rename arg `string-describing-default'
8192 to `default'. Doc fix. Display the default value in quotes
8193 in the prompt. With empty input, return the `default' arg,
8194 unless the default value is a string (in which case return nil).
8195 (describe-face): Replace the string `default' arg of `read-face-name'
8196 with the symbol `default'.
8197
8198 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
8199
8200 * emulation/viper-cmd.el (viper-delete-backward-char)
8201 (viper-del-backward-char-in-insert)
8202 (viper-del-backward-char-in-replace, viper-change)
8203 (viper-backward-indent): Replace delete-backward-char with
8204 delete-char (Bug#6552).
8205
8206 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
8207
8208 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
8209
8210 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
8211
8212 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
8213 argument passed to frame-creation-function (Bug#5378).
8214
8215 * faces.el (x-handle-named-frame-geometry)
8216 (x-handle-reverse-video, x-create-frame-with-faces)
8217 (face-set-after-frame-default, tty-create-frame-with-faces):
8218 Don't separately consult default-frame-alist. It is now passed as the
8219 PARAMETER argument.
8220
8221 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
8222
8223 * startup.el (command-line): Don't call tool-bar-setup in a
8224 tty-only build.
8225
8226 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
8227
8228 * ruler-mode.el (ruler--save-header-line-format): New fun.
8229 (ruler-mode): Use it as a setter function, so as not to overwrite
8230 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
8231
8232 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
8233
8234 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
8235 (vc-root-diff, vc-print-root-log, vc-log-incoming)
8236 (vc-log-outgoing): Use it.
8237 (vc-diff-internal): Set diff-vc-backend.
8238
8239 * vc/diff-mode.el (diff-vc-backend): New var.
8240
8241 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
8242
8243 * dynamic-setting.el (font-setting-change-default-font):
8244 Remove call to message.
8245
8246 2010-06-28 Kenichi Handa <handa@m17n.org>
8247
8248 * international/quail.el (quail-insert-kbd-layout): Fix the
8249 showing of untranslated characters.
8250
8251 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
8252
8253 * simple.el (delete-active-region): New option.
8254 (delete-backward-char): Implement in Lisp.
8255 (delete-forward-char): New command.
8256
8257 * mouse.el (mouse-region-delete-keys): Deleted.
8258 (mouse-show-mark): Simplify.
8259
8260 * bindings.el (global-map): Bind delete and DEL, the former to
8261 delete-forward-char.
8262
8263 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
8264
8265 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
8266 (ruby-mode): Bind indent-line-function (Bug#5119).
8267
8268 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
8269
8270 * startup.el (command-line): Recognize "0" X resource value.
8271
8272 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
8273
8274 * startup.el (command-line): Use X resources to set the value of
8275 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
8276
8277 * menu-bar.el (menu-bar-mode):
8278 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
8279 Set init-value to t.
8280
8281 * frame.el (frame-notice-user-settings): Don't change
8282 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
8283 vice versa (Bug#2249).
8284
8285 2010-06-26 Eli Zaretskii <eliz@gnu.org>
8286
8287 * w32-fns.el (w32-convert-standard-filename): Doc fix.
8288
8289 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
8290
8291 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
8292 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
8293
8294 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
8295 default directories are expanded (Bug#6143).
8296
8297 2010-06-24 Juri Linkov <juri@jurta.org>
8298
8299 * minibuffer.el (completions-format): Change default from nil to
8300 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
8301
8302 2010-06-24 Juri Linkov <juri@jurta.org>
8303
8304 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
8305 buffer-locally to lambda that re-runs the vc diff command.
8306 (Bug#6447)
8307
8308 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
8309
8310 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
8311 echo area is in use (Bug#3412).
8312
8313 2010-06-22 Glenn Morris <rgm@gnu.org>
8314
8315 * textmodes/texinfmt.el (texinfo-format-region)
8316 (texinfo-raise-lower-sections, texinfo-format-separate-node)
8317 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
8318 (texinfo-format-option, texinfo-noindent):
8319 Use line-beginning-position and line-end-position.
8320
8321 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
8322 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
8323 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
8324 utf-8 characters.
8325
8326 2010-06-21 Karl Fogel <kfogel@red-bean.com>
8327
8328 * play/zone.el (zone-fall-through-ws): Fix next-line ->
8329 forward-line fallout.
8330
8331 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
8332
8333 * mouse.el (mouse-appearance-menu): Add docstring.
8334
8335 * help.el (describe-key): Print up-event using key-description.
8336
8337 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
8338
8339 * net/zeroconf.el (zeroconf-resolve-service)
8340 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
8341 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
8342
8343 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
8344
8345 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
8346
8347 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
8348
8349 Avoid displaying files with a nil state in vc-dir.
8350 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
8351 cases that cause insertion.
8352 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
8353 with a nil state.
8354
8355 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
8356
8357 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
8358
8359 2010-06-29 Leo <sdl.web@gmail.com>
8360
8361 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
8362
8363 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
8364
8365 * generic-x.el (bat-generic-mode): Fix regexp for command line
8366 switches (Bug#5719).
8367
8368 2010-06-27 Masatake YAMATO <yamato@redhat.com>
8369
8370 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
8371 of nconc to avoid pure storage error (Bug#6239).
8372
8373 2010-06-27 Christoph <cschol2112@googlemail.com> (tiny change)
8374
8375 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
8376 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
8377 bindings of bookmark-automatically-show-annotations (Bug#6515).
8378
8379 2010-06-25 Eli Zaretskii <eliz@gnu.org>
8380
8381 * arc-mode.el (archive-zip-extract): Don't quote the file name on
8382 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
8383
8384 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
8385
8386 * comint.el (make-comint, make-comint-in-buffer): Mention return
8387 value in the docstrings. (Bug#6498)
8388
8389 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
8390
8391 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
8392 since it is not present when using some non-default switches.
8393
8394 2010-06-23 Karl Fogel <kfogel@red-bean.com>
8395
8396 * simple.el (compose-mail): Fix doc string to refer to
8397 `compose-mail-user-agent-warnings', instead of to the
8398 nonexistent `compose-mail-check-user-agent'.
8399
8400 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
8401
8402 Fix an indentation bug:
8403
8404 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
8405 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
8406 of existing values.
8407
8408 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
8409 (c-clear->-pair-props-if-match-before): now return t when they've
8410 cleared properties, nil otherwise.
8411 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
8412 by taking account of the existing value.
8413
8414 * progmodes/cc-defs.el
8415 (c-clear-char-property-with-value-function): Fix this to clear the
8416 property rather than overwriting it with nil.
8417
8418 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
8419
8420 * emacs-lisp/package.el (package-print-package): Add link to
8421 package description via describe-package.
8422 (describe-package-1): List package requirements. Add button to
8423 perform installation.
8424 (package-menu-describe-package): New command.
8425
8426 * help-mode.el (help-package): New button type.
8427
8428 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
8429
8430 * emacs-lisp/package.el: Move package-list-packages binding to
8431 menu-bar.el.
8432 (describe-package, describe-package-1, package--dir): New funs.
8433 (package-activate-1): Use package--dir.
8434
8435 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
8436
8437 * help-mode.el (help-package-def): New button type.
8438
8439 * menu-bar.el: Move package-list-packages binding here from
8440 package.el.
8441
8442 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
8443
8444 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
8445
8446 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8447
8448 * emacs-lisp/edebug.el (edebug-read-list):
8449 Phase out old-style backquotes.
8450
8451 2010-06-17 Juri Linkov <juri@jurta.org>
8452
8453 * help-mode.el (help-mode): Set buffer-local variable
8454 revert-buffer-function to help-mode-revert-buffer.
8455 (help-mode-revert-buffer): New function.
8456
8457 * info.el (Info-revert-find-node): Check for major-mode Info-mode
8458 before popping to "*info*" (like in other Info functions).
8459 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
8460 old-history-forward. Pop to old-buffer-name or "*info*" to
8461 recreate the killed buffer. Set Info-history-forward from
8462 old-history-forward.
8463 (Info-breadcrumbs-depth): Add :group and :version.
8464
8465 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
8466
8467 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
8468
8469 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
8470
8471 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
8472 for languages like Portuguese with pt_{BR,PT} and no plain pt.
8473
8474 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
8475
8476 * emacs-lisp/package.el (package-menu-mode-map):
8477 Move initialization into declaration.
8478
8479 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
8480
8481 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
8482
8483 * emacs-lisp/package.el (package-archive-base): Point to
8484 elpa.gnu.org.
8485 (package-enable, package-load-list): New defcustoms.
8486 (package-user-dir, package-directory-list): Turn into defcustoms.
8487 Don't include package-user-dir in package-directory-list.
8488 (package--builtins-base): Don't include Emacs as a "package".
8489 (package-subdirectory-regexp): New var.
8490 (package-load-all-descriptors, package-compute-transaction)
8491 (package-download-transaction): Obey package-load-list.
8492 (package-activate-1): Rename from package-do-activate.
8493 (package-list-packages-internal): Check package-load-list.
8494 (package-load-descriptor, package-generate-autoloads)
8495 (package-unpack, package-unpack-single)
8496 (package--read-archive-file, package-delete):
8497 Use expand-file-name.
8498
8499 * emacs-lisp/package-x.el: New file. Package uploading
8500 functionality split out from package.el.
8501
8502 * startup.el (command-line): Load packages after reading init file.
8503
8504 2010-06-17 Tom Tromey <tromey@redhat.com>
8505
8506 * emacs-lisp/package.el: New file.
8507
8508 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
8509
8510 Fix vc-annotate for renamed files when using Git.
8511 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
8512 ls-files. Doe not pass the object as a file name to cat-file, it
8513 is not a file name.
8514 (vc-git-annotate-command): Pass the file name using -- to avoid
8515 ambiguity with the revision.
8516 (vc-git-previous-revision): Pass a relative file name.
8517
8518 2010-06-22 Glenn Morris <rgm@gnu.org>
8519
8520 * progmodes/js.el (js-mode-map): Use standard capitalization and
8521 ellipses for menu entries.
8522
8523 * wid-edit.el (widget-complete): Doc fix.
8524
8525 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
8526
8527 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
8528
8529 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
8530
8531 Fix annotating other revisions for renamed files in vc-annotate.
8532 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
8533 VC backend. Use it when non-nil.
8534 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
8535 (Bug#6487).
8536
8537 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
8538 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8539 Do not pass the file name to the 'previous-revision call when we
8540 don't want a file diff. (Bug#6489)
8541
8542 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
8543
8544 Fix finding revisions for renamed files in vc-annotate.
8545 * vc/vc.el (vc-find-revision): Add an optional argument for
8546 the VC backend. Use it when non-nil.
8547 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
8548 backend to vc-find-revision. (Bug#6487)
8549
8550 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
8551
8552 Fix reading file names in Git annotate buffers.
8553 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
8554 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
8555
8556 2010-06-20 Alan Mackenzie <acm@muc.de>
8557
8558 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
8559 in file local variables, set it first.
8560
8561 2010-06-19 Glenn Morris <rgm@gnu.org>
8562
8563 * descr-text.el (describe-char-unicode-data): Insert separating
8564 space when needed. (Bug#6422)
8565
8566 * progmodes/idlwave.el (idlwave-action-and-binding):
8567 Fix typo in 2009-12-03 change. (Bug#6450)
8568
8569 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8570
8571 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
8572 handling for `lambda' (misunderstanding).
8573
8574 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
8575
8576 * calc/calc-poly.el (math-accum-factors): Make sure that
8577 constants aren't distributed after they are factored out.
8578
8579 2010-06-16 Juri Linkov <juri@jurta.org>
8580
8581 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
8582 `list-colors-print'. (Bug#6332)
8583
8584 * subr.el (read-quoted-char): Fix up last change (bug#6290).
8585
8586 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
8587
8588 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
8589 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
8590
8591 * font-lock.el (font-lock-major-mode): Rename from
8592 font-lock-mode-major-mode to distinguish it from
8593 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
8594 (font-lock-set-defaults):
8595 * font-core.el (font-lock-default-function): Adjust users.
8596 (font-lock-mode): Don't set it at all.
8597
8598 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
8599
8600 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
8601
8602 2010-06-16 Glenn Morris <rgm@gnu.org>
8603
8604 * calendar/appt.el (appt-time-msg-list): Doc fix.
8605 (appt-check): Let-bind appt-warn-time.
8606 (appt-add): Make the 3rd argument optional.
8607 Simplify argument names. Doc fix. Check for integer WARNTIME.
8608 Only add WARNTIME to the output list if non-nil.
8609
8610 2010-06-16 Ivan Kanis <apple@kanis.eu>
8611
8612 * calendar/appt.el (appt-check): Let the 3rd element of
8613 appt-time-msg-list specify the warning time.
8614 (appt-add): Add new argument with the warning time. (Bug#5176)
8615
8616 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
8617
8618 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
8619 older than version 1.6. (Bug#6361)
8620
8621 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
8622
8623 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
8624 used by cl-do-arglist. (Bug#6408)
8625
8626 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
8627
8628 * textmodes/ispell.el (ispell-dictionary-base-alist):
8629 Fix portuguese casechars/not-casechars for missing 'çÇ'.
8630 Suggested by Rolando Pereira (bug#6434).
8631
8632 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
8633
8634 * facemenu.el (list-colors-sort): Doc fix.
8635
8636 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
8637
8638 * progmodes/sql.el (sql-connect-mysql): Fix typo.
8639
8640 2010-06-14 Juri Linkov <juri@jurta.org>
8641
8642 Add sort option `list-colors-sort'. (Bug#6332)
8643 * facemenu.el (color-rgb-to-hsv): New function.
8644 (list-colors-sort): New defcustom.
8645 (list-colors-sort-key): New function.
8646 (list-colors-display): Doc fix. Sort list according to the option
8647 `list-colors-sort'.
8648 (list-colors-print): Add HSV values to `help-echo' property of
8649 RGB strings.
8650
8651 2010-06-14 Juri Linkov <juri@jurta.org>
8652
8653 * compare-w.el: Move to the "vc" subdirectory.
8654
8655 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8656
8657 * image-mode.el (image-mode-map): Remap left-char and right-char.
8658
8659 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
8660
8661 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
8662
8663 * term/common-win.el (x-colors): Add all the color names defined
8664 in rgb.txt (Bug#6332).
8665
8666 * facemenu.el (list-colors-print): Don't print extra names if it
8667 will overflow the window width.
8668
8669 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
8670 change (Bug#6343).
8671
8672 2010-06-12 Eli Zaretskii <eliz@gnu.org>
8673
8674 * files.el (make-directory): Doc fix (bug#6396).
8675
8676 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
8677
8678 * net/tramp.el (tramp-remote-process-environment): Protect version
8679 string by apostroph.
8680 (tramp-shell-prompt-pattern): Do not use a shy group in case of
8681 XEmacs.
8682 (tramp-file-name-for-operation): Add `call-process-region'.
8683 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
8684
8685 * net/tramp-compat.el (top): Do not autoload
8686 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
8687 only when `start-file-process' is not bound.
8688 (tramp-advice-file-expand-wildcards): Do not use
8689 `tramp-handle-file-remote-p'.
8690 (tramp-compat-make-temp-file): Handle the case, that
8691 `make-temp-file' has no third argument EXTENSION.
8692
8693 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
8694
8695 * makefile.w32-in (WINS_BASIC): Include new directory vc.
8696
8697 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
8698
8699 2010-06-11 Juri Linkov <juri@jurta.org>
8700
8701 * finder.el (finder-known-keywords): Add keyword "vc"
8702 for version control.
8703
8704 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
8705 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
8706 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
8707 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
8708
8709 2010-06-11 Juri Linkov <juri@jurta.org>
8710
8711 Move version control related files to the "vc" subdirectory.
8712 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
8713 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
8714 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
8715 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
8716 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
8717 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
8718 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
8719 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
8720 Move files to the "vc" subdirectory.
8721
8722 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
8723
8724 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
8725 (Bug#6367).
8726
8727 2010-06-11 Stephen Eglen <stephen@gnu.org>
8728
8729 * shell.el: Bind `shell-resync-dirs' to M-RET.
8730
8731 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
8732
8733 * notifications.el: Move file from lisp/net, because it is
8734 supposed to talk locally to the user.
8735
8736 2010-06-10 Julien Danjou <julien@danjou.info>
8737
8738 * net/notifications.el (notifications-on-action-signal)
8739 (notifications-on-closed-signal): Pass notification id as first
8740 argument to the callback functions. Add docstrings.
8741 (notifications-notify): Fix docstring.
8742
8743 2010-06-10 Glenn Morris <rgm@gnu.org>
8744
8745 * emacs-lisp/authors.el (authors-ignored-files)
8746 (authors-valid-file-names): Add some files.
8747
8748 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
8749
8750 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
8751 merge conflict, giving preference to the emacs-23 version of the code.
8752
8753 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
8754
8755 * emacs-lisp/advice.el (ad-compile-function):
8756 Define warning-suppress-types before we let-bind it (bug#6275).
8757
8758 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
8759 declare it, make it buffer-local and permanent-local (bug#6324).
8760 (vc-resynch-window): Adjust name.
8761 * vc-hooks.el (vc-find-file-hook): Adjust name.
8762
8763 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
8764
8765 * net/notifications.el (notifications-notify): Fix docstring.
8766
8767 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
8768
8769 Update to Unicode 6.0.0 beta.
8770 * international/charprop.el: Update copyright.
8771 * international/mule-cmds.el (ucs-names): Update character ranges.
8772 * international/uni-bidi.el:
8773 * international/uni-category.el:
8774 * international/uni-combining.el:
8775 * international/uni-comment.el:
8776 * international/uni-decimal.el:
8777 * international/uni-decomposition.el:
8778 * international/uni-digit.el:
8779 * international/uni-lowercase.el:
8780 * international/uni-mirrored.el:
8781 * international/uni-name.el:
8782 * international/uni-numeric.el:
8783 * international/uni-old-name.el:
8784 * international/uni-titlecase.el:
8785 * international/uni-uppercase.el: Regenerate.
8786
8787 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
8788
8789 * emacs-lisp/smie.el (comment-string-strip): Declare function.
8790 (smie-precs-precedence-table): Fix typo in docstring.
8791
8792 * vc-mtn.el (log-edit-extract-headers): Declare function.
8793
8794 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
8795
8796 * net/notifications.el (dbus-register-signal): Declare function.
8797 (notifications-notify): Fix typos and reflow docstring.
8798
8799 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
8800
8801 Improve VC create/retrieve tag/branch.
8802 * vc.el (vc-create-tag): Do not read the directory name for VCs
8803 with repository revision granularity. Adjust the tag/branch
8804 prompt. Reset VC properties.
8805 (vc-retrieve-tag): Do not read the directory name for VCs
8806 with repository revision granularity. Reset VC properties.
8807
8808 2010-06-09 Julien Danjou <julien@danjou.info>
8809
8810 * net/notifications.el: New file.
8811
8812 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
8813
8814 Add optional support for resetting VC properties.
8815 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
8816 call vc-file-clearprops when true.
8817 (vc-resynch-buffer): Add new optional argument, pass it down.
8818 (vc-resynch-buffers-in-directory): Likewise.
8819
8820 Improve support for special markup in the VC commit message.
8821 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
8822 * vc-hg.el (vc-hg-checkin): Add support for Date:.
8823 * vc-git.el (vc-git-checkin):
8824 * vc-bzr.el (vc-bzr-checkin): Likewise.
8825
8826 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
8827
8828 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
8829 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
8830
8831 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
8832
8833 * iimage.el: Remove images as soon as the underlying text is modified.
8834 (iimage-modification-hook): New function.
8835 (iimage-mode-buffer): Use it.
8836
8837 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8838
8839 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
8840 smie-indent-offset-after. Add :prev case. Make a bit more generic.
8841 (smie-indent-virtual): Remove `virtual' arg. Update callers.
8842 (smie-indent-keyword): Add handling of open-paren keywords.
8843 (smie-indent-comment-continue): Don't assume comment-continue.
8844
8845 2010-06-07 Martin Rudalics <rudalics@gmx.at>
8846
8847 * window.el (pop-to-buffer): Remove the conditional that
8848 compares new-window and old-window, so it will reselect
8849 the selected window unconditionally.
8850 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
8851
8852 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8853
8854 * emacs-lisp/smie.el (smie-indent-offset-after)
8855 (smie-indent-forward-token, smie-indent-backward-token): New functions.
8856 (smie-indent-after-keyword): Use them.
8857 (smie-indent-fixindent): Only applies to the indentation of the BOL.
8858 (smie-indent-keyword): Tweak the black magic.
8859 (smie-indent-comment-continue): Strip comment-continue before use.
8860 (smie-indent-functions): Indent comments before keywords.
8861
8862 2010-06-06 Juri Linkov <juri@jurta.org>
8863
8864 * isearch.el (isearch-lazy-highlight-search): Fix looping
8865 by checking for empty match. This syncs this loop with the
8866 similar loop in `isearch-search'. (Bug#6362)
8867
8868 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
8869
8870 * net/dbus.el (dbus-register-method): Declare function.
8871 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
8872 (dbus-introspect): Doc fix.
8873 (dbus-event-bus-name, dbus-introspect-get-interface)
8874 (dbus-introspect-get-argument): Reflow docstrings.
8875
8876 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
8877
8878 vc-log-incoming/vc-log-outgoing fixes for Git.
8879 * vc-git.el (vc-git-log-view-mode): Fix font lock for
8880 incoming/outgoing logs.
8881 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
8882 instead of vc-git-compute-remote.
8883 (vc-git-compute-remote): Remove.
8884
8885 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
8886
8887 * term/common-win.el (x-colors): Add "dark green" and "dark
8888 turquoise" (Bug#6332).
8889
8890 2010-06-04 Juri Linkov <juri@jurta.org>
8891
8892 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
8893 Instead of setting `replace' to t and replacing the same string
8894 with itself, don't do certain actions when
8895 kill-do-not-save-duplicates is non-nil and string is equal to car
8896 of kill-ring: don't call menu-bar-update-yank-menu, don't push
8897 interprogram-paste strings to kill-ring, and don't push the input
8898 argument `string' to kill-ring.
8899 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
8900
8901 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
8902
8903 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
8904
8905 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
8906
8907 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
8908 (tramp-gvfs-handler-mounted-unmounted)
8909 (tramp-gvfs-connection-mounted-p): Handle default-location.
8910
8911 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
8912 move files to trash.
8913
8914 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
8915
8916 * international/mule-cmds.el (nonascii-insert-offset)
8917 (nonascii-translation-table): Add obsolescence information.
8918
8919 * international/mule.el (make-translation-table-from-vector): Doc fix.
8920
8921 2010-06-03 Glenn Morris <rgm@gnu.org>
8922
8923 * desktop.el (desktop-clear-preserve-buffers):
8924 Add "*Warnings*" buffer. (Bug#6336)
8925
8926 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
8927
8928 vc-log-incoming/vc-log-outgoing improvements for Git.
8929 * vc-git.el (vc-git-log-outgoing): Use the same format as the
8930 short log.
8931 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
8932
8933 Add bindings for vc-log-incoming and vc-log-outgoing.
8934 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
8935 and vc-log-outgoing.
8936 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
8937 and vc-log-outgoing.
8938
8939 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
8940
8941 * net/rcirc.el (rcirc-sort-nicknames): Remove.
8942 (rcirc-handler-366): Always sort nicknames.
8943
8944 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
8945
8946 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
8947
8948 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
8949
8950 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
8951
8952 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8953
8954 * net/rcirc.el (rcirc-sort-nicknames): Change default.
8955 (rcirc-sort-nicknames-join): Avoid setq.
8956
8957 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8958
8959 * net/rcirc.el (rcirc-sort-nicknames): New custom.
8960 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
8961 (rcirc-handler-366): Use them.
8962
8963 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8964
8965 Split smie-indent-calculate into more manageable chunks.
8966 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
8967 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
8968 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
8969 (smie-indent-exps): Extract from smie-indent-calculate.
8970 (smie-indent-functions): New var.
8971 (smie-indent-functions): Use them.
8972
8973 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8974
8975 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
8976 (smie-indent-calculate): Simplify and cleanup.
8977
8978 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
8979
8980 * net/tramp-gvfs.el (top): Require url-util.
8981 (tramp-gvfs-mount-point): Remove.
8982 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
8983 New defuns.
8984 (with-tramp-dbus-call-method): Format trace message.
8985 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
8986 Implement backup call, when operation on local files fails.
8987 Use progress reporter. Flush properties of changed files.
8988 (tramp-gvfs-handle-make-directory): Make more traces.
8989 (tramp-gvfs-url-file-name): Hexify file name in url.
8990 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
8991 into account for the resulting file name.
8992 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
8993 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
8994 (tramp-gvfs-handler-mounted-unmounted)
8995 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
8996 attribute "default_location". Set "prefix" property.
8997 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
8998 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
8999 exists. Raise an error, if not (due to a corresponding answer
9000 "no" in interactive questions, for example).
9001
9002 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
9003
9004 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
9005
9006 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
9007
9008 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
9009 right-*. (Bug#6265)
9010
9011 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
9012
9013 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
9014 * vc-git.el (vc-git-compute-remote): New function.
9015 (vc-git-log-outgoing): Use it instead of hard coding a value.
9016 (vc-git-log-incoming): New function.
9017
9018 Improve state updating for VC tag commands.
9019 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
9020 to update the state of all buffers in the directory.
9021
9022 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
9023
9024 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9025
9026 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
9027 `file-directory-p' to the filename part rather than to the whole text.
9028
9029 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9030
9031 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
9032
9033 2010-05-31 Drew Adams <drew.adams@oracle.com>
9034
9035 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
9036
9037 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
9038
9039 * subr.el (momentary-string-display): Just use read-event to read
9040 the exit event (Bug#6238).
9041
9042 2010-05-30 Eli Zaretskii <eliz@gnu.org>
9043
9044 * international/mule.el (define-coding-system): Doc fix (bug#6313).
9045
9046 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
9047
9048 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
9049 Suggested by Eli Zaretskii <eliz@gnu.org>.
9050
9051 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9052
9053 * minibuffer.el (completion-file-name-table): Don't return a boundary
9054 past the end of `string' (bug#6299).
9055 (completion--file-name-table): Delegate to completion-file-name-table
9056 for the `boundaries' case.
9057
9058 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
9059
9060 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
9061 movement commands.
9062
9063 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
9064 `path-separator', but maintain compatibility with Emacs 20.2.
9065
9066 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
9067
9068 * server.el (server-process-filter): Receive parent-id argument
9069 from emacsclient.
9070 (server-create-window-system-frame): New arg. Pass parent-id as
9071 frame parameter.
9072
9073 2010-05-29 Eli Zaretskii <eliz@gnu.org>
9074
9075 Bidi-sensitive word movement with arrow keys.
9076 * subr.el (right-arrow-command, left-arrow-command): Move to
9077 bindings.el.
9078
9079 * bindings.el (right-char, left-char): Move from subr.el and
9080 rename from right-arrow-command and left-arrow-command.
9081 (right-word, left-word): New functions.
9082 (global-map) <right>: Bind to right-char.
9083 (global-map) <left>: Bind to left-char.
9084 (global-map) <C-right>: Bind to right-word.
9085 (global-map) <C-left>: Bind to left-word.
9086
9087 * ls-lisp.el (ls-lisp-classify-file): New function.
9088 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
9089 (ls-lisp-classify): Call ls-lisp-classify-file.
9090 (insert-directory): Remove blanks from switches.
9091
9092 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
9093
9094 * ansi-color.el: Delete unused escape sequences (Bug#6085).
9095 (ansi-color-drop-regexp): New constant.
9096 (ansi-color-apply, ansi-color-filter-region)
9097 (ansi-color-apply-on-region): Delete unrecognized control sequences.
9098 (ansi-color-apply): Build string list before calling concat.
9099
9100 2010-05-28 Juri Linkov <juri@jurta.org>
9101
9102 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9103 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
9104 (Bug#5270)
9105
9106 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
9107
9108 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
9109 to ignored backtrace functions.
9110 (with-progress-reporter): Expand docstring.
9111 (tramp-handle-delete-file): Implement TRASH argument.
9112 (tramp-get-remote-trash): New defun.
9113
9114 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
9115
9116 * net/tramp-compat.el (tramp-compat-delete-file):
9117 Use `symbol-value' for backward compatibility.
9118
9119 * net/tramp.el (tramp-handle-make-symbolic-link)
9120 (tramp-handle-load)
9121 (tramp-do-copy-or-rename-file-via-buffer)
9122 (tramp-do-copy-or-rename-file-directly)
9123 (tramp-do-copy-or-rename-file-out-of-band)
9124 (tramp-handle-process-file, tramp-handle-call-process-region)
9125 (tramp-handle-shell-command, tramp-handle-file-local-copy)
9126 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9127 (tramp-delete-temp-file-function): Use `delete-file' instead
9128 of `tramp-compat-delete-file'.
9129
9130 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
9131 (tramp-fish-handle-make-symbolic-link)
9132 (tramp-fish-handle-process-file): Use `delete-file' instead
9133 of `tramp-compat-delete-file'.
9134
9135 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
9136 Use `delete-file' instead of `tramp-compat-delete-file'.
9137
9138 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
9139 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
9140 `tramp-compat-delete-file'.
9141
9142 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
9143 Use `delete-file' instead of `tramp-compat-delete-file'.
9144
9145 * net/tramp-smb.el (tramp-smb-handle-copy-file)
9146 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9147 (tramp-smb-handle-write-region): Use `delete-file' instead of
9148 `tramp-compat-delete-file'.
9149 (tramp-smb-handle-delete-directory): Use 'trash as arg.
9150
9151 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
9152
9153 * dired.el (dired-delete-file): New arg TRASH.
9154 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
9155 (dired-do-flagged-delete, dired-do-delete): Use trash.
9156
9157 * speedbar.el (speedbar-item-delete): Allow trashing.
9158
9159 * files.el (delete-directory): New arg TRASH.
9160
9161 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
9162 (ange-ftp-rename-remote-to-remote)
9163 (ange-ftp-rename-local-to-remote)
9164 (ange-ftp-rename-remote-to-local, ange-ftp-load)
9165 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
9166 `delete-file'.
9167 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
9168 allow trashing.
9169
9170 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
9171 handle new TRASH arg of `delete-file'.
9172
9173 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
9174 (tramp-handle-make-symbolic-link, tramp-handle-load)
9175 (tramp-do-copy-or-rename-file-via-buffer)
9176 (tramp-do-copy-or-rename-file-directly)
9177 (tramp-do-copy-or-rename-file-out-of-band)
9178 (tramp-handle-process-file, tramp-handle-call-process-region)
9179 (tramp-handle-shell-command, tramp-handle-file-local-copy)
9180 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9181 (tramp-delete-temp-file-function): Use null TRASH arg in
9182 tramp-compat-delete-file call.
9183
9184 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
9185 (tramp-fish-handle-delete-file)
9186 (tramp-fish-handle-make-symbolic-link)
9187 (tramp-fish-handle-process-file): Use null TRASH arg in
9188 `tramp-compat-delete-file' call.
9189
9190 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
9191 arg in `tramp-compat-delete-file' call.
9192
9193 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
9194 (tramp-gvfs-handle-write-region): Use null TRASH arg in
9195 `tramp-compat-delete-file' call.
9196
9197 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
9198 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
9199 `tramp-compat-delete-file' call.
9200
9201 * net/tramp-smb.el (tramp-smb-handle-copy-file)
9202 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9203 (tramp-smb-handle-write-region): Use null TRASH arg in
9204 tramp-compat-delete-file call.
9205 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
9206 (tramp-smb-handle-delete-file): Rename arg.
9207
9208 * diff.el (diff-sentinel):
9209 * epg.el (epg--make-temp-file, epg-decrypt-string)
9210 (epg-verify-string, epg-sign-string, epg-encrypt-string):
9211 * jka-compr.el (jka-compr-partial-uncompress)
9212 (jka-compr-call-process, jka-compr-write-region):
9213 * server.el (server-sentinel): Remove optional arg from
9214 delete-file, reverting 2010-05-03 change.
9215
9216 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
9217
9218 * progmodes/verilog-mode.el (verilog-type-font-keywords):
9219 Use font-lock-constant-face, not obsolete font-lock-reference-face.
9220
9221 2010-05-27 Kenichi Handa <handa@m17n.org>
9222
9223 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
9224 element of GSTRING is nil.
9225
9226 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9227
9228 * emacs-lisp/smie.el (smie-forward-token-function)
9229 (smie-backward-token-function): New vars.
9230 (smie-backward-sexp, smie-forward-sexp)
9231 (smie-indent-hanging-p, smie-indent-calculate): Use them.
9232 (smie-default-backward-token): Rename from smie-backward-token and
9233 skip comments.
9234 (smie-default-forward-token): Rename from smie-forward-token and
9235 skip comments.
9236 (smie-next-sexp): Handle nil results from next-token.
9237 (smie-indent-calculate): Add a new case for special `fixindent' comments.
9238
9239 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
9240
9241 * progmodes/verilog-mode.el (verilog-type-font-keywords):
9242 Use font-lock-constant-face, not obsolete font-lock-reference-face.
9243
9244 2010-05-27 Masatake YAMATO <yamato@redhat.com>
9245
9246 * htmlfontify.el (hfy-face-resolve-face): New function.
9247 (hfy-face-to-style): Use it (Bug#6279).
9248
9249 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
9250
9251 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
9252 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
9253
9254 2010-05-26 Glenn Morris <rgm@gnu.org>
9255
9256 * emulation/edt.el (edt-load-keys): Use locate-library.
9257
9258 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
9259
9260 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
9261 (log-edit-changelog-entries): Doc fix.
9262 (log-edit-changelog-insert-entries): Args changed.
9263 Rename relative filenames in ChangeLog entries. Delete tabs.
9264 (log-edit-insert-changelog-entries): Reorganize return value of
9265 `log-edit-changelog-entries' to pass filenames to
9266 log-edit-changelog-insert-entries.
9267
9268 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9269
9270 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
9271 `image-dired-dired-insert-marked-thumbs' to
9272 `image-dired-dired-toggle-marked-thumbs'.
9273
9274 * image-dired.el: Require cl when compiling.
9275 (image-dired-dired-toggle-marked-thumbs): Rename from
9276 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
9277 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
9278 to 'no-dir. Skip files whose names don't match
9279 `image-file-name-regexp'. When file has a thumbnail overlay,
9280 delete it. (Bug#5270)
9281
9282 2010-05-25 Juri Linkov <juri@jurta.org>
9283
9284 * image-mode.el (image-mode): Add image-after-revert-hook to
9285 after-revert-hook.
9286 (image-after-revert-hook): New function. (Bug#5669)
9287
9288 2010-05-25 Juri Linkov <juri@jurta.org>
9289
9290 * image.el (image-animated-p): When delay between animated images
9291 is 0, set it to 10 (0.1 sec). (Bug#6258)
9292
9293 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
9294
9295 * net/tramp.el (tramp-handle-insert-directory): Don't use
9296 `forward-word', its default syntax could be changed.
9297
9298 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
9299
9300 * net/tramp.el (tramp-progress-reporter-update): New defun.
9301 (with-progress-reporter): Use it.
9302 (tramp-process-actions):
9303 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
9304 Preserve current message, in order to let progress reporter continue
9305 afterwards. (Bug#6257)
9306
9307 2010-05-25 Glenn Morris <rgm@gnu.org>
9308
9309 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
9310 Add :version.
9311
9312 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
9313
9314 * net/rcirc.el (rcirc-default-user-name): Change to "user".
9315 (rcirc-default-full-name): Change to "unknown".
9316 (rcirc-user-name-history): Add variable.
9317
9318 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
9319 Jonathan Rockway <jon@jrock.us>
9320
9321 * net/rcirc.el (rcirc-server-alist): Add :pass.
9322 (rcirc): When prompting for connection parameters, also prompt for
9323 username and password.
9324 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
9325 value to server when connecting.
9326
9327 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9328
9329 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
9330 (smie-merge-prec2s): Pass the tables as separate args.
9331 (smie-bnf-precedence-table): Adjust call accordingly.
9332 (smie-prec2-levels): Set levels at the end.
9333
9334 Replace Lisp calls to delete-backward-char by delete-char.
9335 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
9336 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
9337 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
9338 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
9339 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
9340 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
9341 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
9342 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
9343 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
9344 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
9345 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
9346 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
9347 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
9348 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
9349 delete-backward-char by calls to delete-char.
9350
9351 2010-05-25 Kenichi Handa <handa@m17n.org>
9352
9353 * language/hebrew.el (hebrew-shape-gstring): New function.
9354 Register it in composition-function-table for all Hebrew combining
9355 characters.
9356
9357 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9358
9359 * epa.el (epa--select-keys): Don't explicitly delete the window since
9360 that can fail (e.g. sole window in frame). Use dedication instead.
9361
9362 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
9363
9364 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
9365
9366 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
9367
9368 * image.el (image-refresh): Define as an alias for image-flush.
9369
9370 * image-mode.el (image-toggle-display-image): Caller changed.
9371
9372 2010-05-21 Juri Linkov <juri@jurta.org>
9373
9374 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
9375 Remove "all" from grep-files-aliases. Split grep-files-aliases by
9376 whitespace, call wildcard-to-regexp on substrings and concat them
9377 with "\\|". (Bug#6114)
9378
9379 2010-05-21 Alan Mackenzie <acm@muc.de>
9380
9381 * progmodes/cc-engine.el (c-parse-state-get-strategy):
9382 Replace parameter `here' with `here-' and `here-plus', which sandwich
9383 any pertinent CPP construct.
9384 (c-remove-stale-state-cache-backwards): Fix a bug which happens
9385 when doing (c-parse-state) in a CPP construct: Exclude any "new"
9386 CPP construct from taking part in the scanning.
9387
9388 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
9389
9390 * net/tramp.el (tramp-do-copy-or-rename-file)
9391 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
9392 Tune `with-progress-reporter' messages.
9393 (tramp-handle-vc-registered):
9394 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
9395 (tramp-fish-handle-insert-file-contents)
9396 (tramp-fish-maybe-open-connection):
9397 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9398 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
9399 (tramp-imap-handle-insert-file-contents)
9400 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
9401
9402 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
9403
9404 * add-log.el (change-log-font-lock-keywords):
9405 Highlight all authors in multi-author entries.
9406
9407 * smerge-mode.el (smerge-refine-ignore-whitespace)
9408 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
9409 Fix typos in docstrings.
9410 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
9411
9412 2010-05-21 Glenn Morris <rgm@gnu.org>
9413
9414 * progmodes/fortran.el (fortran-mode):
9415 * progmodes/f90.el (f90-mode): Derive from prog-mode.
9416
9417 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
9418 having a relative path in src/Makefile.in.
9419
9420 2010-05-20 Kevin Ryde <user42@zip.com.au>
9421
9422 * help-mode.el (help-make-xrefs): For Info node links turn
9423 newlines into spaces. Link node names with newlines are matched
9424 by help-xref-info-regexp and buttonized, this change ensures they
9425 can be followed successfully with RET. (Bug#6206)
9426
9427 2010-05-20 Juri Linkov <juri@jurta.org>
9428
9429 * locate.el (locate): Use pop-to-buffer instead of
9430 switch-to-buffer-other-window. (Bug#6204)
9431
9432 2010-05-20 Juri Linkov <juri@jurta.org>
9433
9434 * replace.el (replace-highlight): Fix lazy-highlighting
9435 for `M-s w str M-% str RET'.
9436
9437 2009-12-15 Masatake YAMATO <yamato@redhat.com>
9438
9439 * isearch.el (isearch-yank-word-or-char): Pull next subword
9440 when `subword-mode' is activated. (Bug#6220)
9441
9442 2010-05-20 Mark A. Hershberger <mah@everybody.org>
9443
9444 * isearch.el (isearch-update-post-hook): New hook.
9445 (isearch-update): Use the new hook. (Bug#6225)
9446
9447 2010-05-20 Juri Linkov <juri@jurta.org>
9448
9449 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
9450 [f1], [help], and (char-to-string help-char) instead of "\C-h".
9451 (Bug#6222)
9452
9453 2010-05-20 Juri Linkov <juri@jurta.org>
9454
9455 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
9456 (Bug#6223)
9457
9458 2010-05-20 Juri Linkov <juri@jurta.org>
9459
9460 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
9461 FILE-NAME to read from the minibuffer when called interactively
9462 with prefix argument instead of using buffer-file-name.
9463 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
9464
9465 * dired.el: Update autoloads.
9466
9467 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
9468
9469 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
9470 nxml-finish-element, for consistency with SGML mode.
9471
9472 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
9473 octave-close-block.
9474
9475 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
9476
9477 * composite.el: Require cl when compiling.
9478 (reference-point-alist, compose-gstring-for-graphic)
9479 (compose-gstring-for-terminal): Fix typos in docstrings.
9480
9481 2010-05-19 Juri Linkov <juri@jurta.org>
9482
9483 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
9484 set-window-parameter.
9485
9486 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
9487
9488 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
9489 where appropriate.
9490 (tramp-maybe-open-connection): Use it.
9491
9492 2010-05-19 Eli Zaretskii <eliz@gnu.org>
9493
9494 * simple.el (move-end-of-line): Make sure we are at line beginning
9495 before backing up to end of previous line.
9496
9497 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
9498
9499 * password-cache.el (password-cache-remove): Fix docstring.
9500
9501 * net/secrets.el: Autoload the widget functions.
9502 (secrets-search-items, secrets-create-item)
9503 (secrets-get-attributes, secrets-expand-item): Attributes will be
9504 stored on the password database without leading ":", as all other
9505 clients do as well.
9506 (secrets-mode): Fix docstring.
9507 (secrets-show-secrets): Provide it as autoloaded command only when
9508 D-Bus support is available. Check existence of Secret Service API.
9509
9510 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
9511
9512 * indent.el (indent-region): Deactivate region (bug#6200).
9513
9514 2010-05-19 Glenn Morris <rgm@gnu.org>
9515
9516 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
9517
9518 2010-05-19 Kenichi Handa <handa@m17n.org>
9519
9520 * composite.el: Register compose-gstring-for-graphic in
9521 composition-function-table only for combining characters (Mn, Mc, Me).
9522
9523 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
9524
9525 * calc/calc-trail.el (calc-trail-isearch-forward)
9526 (calc-trail-isearch-backward): Ensure that the new window
9527 point is set correctly.
9528
9529 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
9530
9531 * subr.el (read-quoted-char): Resolve modifiers after key
9532 remapping (bug#6212).
9533
9534 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
9535
9536 Add visualization code for secrets.
9537 * net/secrets.el (secrets-mode): New major mode.
9538 (secrets-show-secrets, secrets-show-collections)
9539 (secrets-expand-collection, secrets-expand-item)
9540 (secrets-tree-widget-after-toggle-function)
9541 (secrets-tree-widget-show-password): New defuns.
9542
9543 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
9544
9545 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
9546 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
9547 handled in smie-next-sexp.
9548 (smie-indent-calculate): Provide a starting indentation (so the
9549 recursion is well-founded ;-).
9550
9551 Fix handling of non-associative equal levels.
9552 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
9553 when it's not needed.
9554 (smie-op-left, smie-op-right): New functions.
9555 (smie-next-sexp): New function, extracted from smie-backward-sexp.
9556 Better handle equal levels to distinguish the associative case from
9557 the "multi-keyword construct" case.
9558 (smie-backward-sexp, smie-forward-sexp): Use it.
9559
9560 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
9561
9562 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
9563
9564 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
9565 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
9566
9567 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9568
9569 Provide a simple generic indentation engine and use it for Prolog.
9570 * emacs-lisp/smie.el: New file.
9571 * progmodes/prolog.el (prolog-smie-op-levels)
9572 (prolog-smie-indent-rules): New var.
9573 (prolog-mode-variables): Use them to configure SMIE.
9574 (prolog-indent-line, prolog-indent-level): Remove.
9575
9576 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9577
9578 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
9579 order before computing the averages.
9580
9581 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
9582
9583 * calc/calc-vec.el (calc-histogram):
9584 (calcFunc-histogram): Allow vectors as inputs.
9585 (math-vector-avg): New function.
9586
9587 * calc/calc-ext.el (math-group-float): Have the number of digits
9588 being grouped depend on the radix (Bug#6189).
9589
9590 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
9591
9592 * version.el (emacs-copyright, emacs-version): Don't define here,
9593 now that emacs.c defines it.
9594
9595 2010-05-15 Eli Zaretskii <eliz@gnu.org>
9596
9597 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
9598 "Describe Language Environment" menu item.
9599
9600 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
9601
9602 Bidi-sensitive movement with arrow keys.
9603 * subr.el (right-arrow-command, left-arrow-command): New functions.
9604
9605 * bindings.el (global-map): Bind them to right and left arrow keys.
9606
9607 Don't override standard definition of convert-standard-filename.
9608 * files.el (convert-standard-filename):
9609 Call w32-convert-standard-filename and dos-convert-standard-filename on
9610 the corresponding systems.
9611
9612 * w32-fns.el (w32-convert-standard-filename): Rename from
9613 convert-standard-filename. Doc fix.
9614
9615 * dos-fns.el (dos-convert-standard-filename): Doc fix.
9616 (convert-standard-filename): Don't defalias.
9617 (register-name-alist, make-register, register-value)
9618 (set-register-value, intdos): Obsolete aliases for the
9619 corresponding dos-* functions and variables.
9620 (dos-intdos): Add a doc string.
9621
9622 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
9623
9624 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
9625 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
9626 (math-compose-tex-func):
9627 * calc/calccomp.el (math-compose-expr):
9628 * calc/calc-ext.el (math-format-flat-expr-fancy):
9629 * calc/calc-store.el (calc-read-var-name):
9630 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
9631
9632 * calc/calc.el (var-π, var-φ, var-γ): New variables.
9633 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
9634 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
9635 (math-standard-units): Add units.
9636
9637 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9638
9639 * progmodes/asm-mode.el (asm-mode):
9640 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
9641
9642 * pcomplete.el (pcomplete-completions-at-point): New function,
9643 extracted from pcomplete-std-complete.
9644 (pcomplete-std-complete): Use it.
9645
9646 2010-05-15 Glenn Morris <rgm@gnu.org>
9647
9648 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9649 Remove references to CVS, RCS and Old directories.
9650
9651 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
9652
9653 * calc/calc-bin.el (math-format-twos-complement): Group digits when
9654 appropriate.
9655
9656 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
9657
9658 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
9659 (sh-mode-syntax-table): Give it a default value instead.
9660 (sh-header-marker): Make buffer-local.
9661 (sh-mode): Move make-local-variable to the corresponding setq.
9662 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
9663 Use complete-with-action.
9664
9665 * simple.el (prog-mode): New (abstract) major mode.
9666 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
9667 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
9668
9669 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
9670
9671 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
9672 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
9673 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
9674 (sql-make-alternate-buffer-name, sql-placeholders-filter)
9675 (sql-escape-newlines-filter, sql-input-sender)
9676 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
9677
9678 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
9679
9680 Add TeX open-block and close-block keybindings to SGML, and vice versa.
9681
9682 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
9683 latex-open-block and C-c / to latex-close-block.
9684
9685 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
9686 and C-c C-e to sgml-close-tag.
9687
9688 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
9689
9690 * net/tramp.el (with-progress-reporter): Create reporter object
9691 only when the message would be displayed. Handle nested calls.
9692 (tramp-handle-load, tramp-handle-file-local-copy)
9693 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9694 (tramp-maybe-send-script, tramp-find-shell):
9695 Use `with-progress-reporter'.
9696 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
9697 Fix message text.
9698
9699 * net/tramp-smb.el (tramp-smb-handle-copy-file)
9700 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9701 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
9702 Use `with-progress-reporter'.
9703
9704 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
9705
9706 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
9707 process everytime when spellchecking from the minibuffer (bug#6143).
9708
9709 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9710
9711 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
9712
9713 * dos-fns.el: Add "dos-" prefix for namespace control.
9714 (convert-standard-filename): Define as alias for
9715 dos-convert-standard-filename but only if applicable.
9716
9717 2010-05-12 Alan Mackenzie <acm@muc.de>
9718
9719 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
9720 Push the mark at the start of these functions when appropriate.
9721
9722 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9723
9724 * minibuffer.el (completion-cycle-threshold): New custom var.
9725 (completion--do-completion): Use it.
9726 (minibuffer-complete): Use cycling if appropriate.
9727
9728 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
9729
9730 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
9731 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
9732
9733 2010-05-11 Juri Linkov <juri@jurta.org>
9734
9735 * scroll-all.el (scroll-all-check-to-scroll):
9736 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
9737
9738 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
9739
9740 * iimage.el (iimage-mode-map): Move initialization into declaration.
9741 (iimage-mode-buffer): Use with-silent-modifications.
9742 Simplify calling convention. Adjust callers.
9743 (iimage-mode): Don't run hook redundantly.
9744
9745 * minibuffer.el (completion-pcm--pattern->regex):
9746 Fix last change (bug#6160).
9747
9748 2010-05-10 Juri Linkov <juri@jurta.org>
9749
9750 Remove nodes visited during Isearch from the Info history.
9751 * info.el (Info-isearch-initial-history)
9752 (Info-isearch-initial-history-list): New variables.
9753 (Info-isearch-start): Record initial values of
9754 Info-isearch-initial-history and Info-isearch-initial-history-list.
9755 Add Info-isearch-end to isearch-mode-end-hook.
9756 (Info-isearch-end): New function.
9757
9758 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
9759
9760 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
9761 format string, in order to work around a bug in pdksh.
9762 Reported by Gilles Pion <gpion@lfdj.com>.
9763 (tramp-handle-verify-visited-file-modtime): Do not send a command
9764 when the connection is not established.
9765 (tramp-handle-set-file-times): Simplify the check for utc.
9766
9767 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
9768
9769 Fix use of `filter-buffer-substring' (rework previous change).
9770 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
9771 (cua-repeat-replace-region):
9772 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
9773 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
9774 (cua-cut-region-to-global-mark): Use it.
9775
9776 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
9777
9778 * progmodes/sql.el: Version 2.1.
9779 (sql-product-alist): Redesign structure of product info.
9780 (sql-product, sql-user, sql-server, sql-database): Safe variables.
9781 (sql-port, sql-port-history): New variables.
9782 (sql-interactive-product): New variable.
9783 (sql-send-terminator): New variable.
9784 (sql-imenu-generic-expression): Add "Types" imenu entry.
9785 (sql-oracle-login-params, sql-sqlite-login-params)
9786 (sql-mysql-login-params, sql-solid-login-params)
9787 (sql-sybase-login-params, sql-informix-login-params)
9788 (sql-ingres-login-params, sql-ms-login-params)
9789 (sql-postgres-login-params, sql-interbase-login-params)
9790 (sql-db2-login-params, sql-linter-login-params)
9791 (sql-oracle-scan-on): New variables.
9792 (sql-mode-map): Add C-c C-i to start interactive mode.
9793 (sql-mode-menu): Update existing menu entries.
9794 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
9795 (sql-mode-oracle-font-lock-keywords)
9796 (sql-mode-postgres-font-lock-keywords)
9797 (sql-mode-ms-font-lock-keywords)
9798 (sql-mode-sybase-font-lock-keywords)
9799 (sql-mode-informix-font-lock-keywords)
9800 (sql-mode-interbase-font-lock-keywords)
9801 (sql-mode-ingres-font-lock-keywords)
9802 (sql-mode-solid-font-lock-keywords)
9803 (sql-mode-mysql-font-lock-keywords)
9804 (sql-mode-sqlite-font-lock-keywords)
9805 (sql-mode-db2-font-lock-keywords)
9806 (sql-mode-linter-font-lock-keywords): Update initialization to
9807 reduce run-time complexity.
9808 (sql-add-product, sql-del-product): New functions.
9809 (sql-set-product-feature, sql-get-product-feature): New functions.
9810 (sql-product-font-lock): Update product API.
9811 (sql-add-product-keywords): New function.
9812 (sql-highlight-product): Update product API.
9813 (sql-help-list-products): New function.
9814 (sql-help): Dynamically lists free and non-free products.
9815 (sql-get-login): Correct bug in handling history and added
9816 prompt for port.
9817 (sql-copy-column): Copy without properties.
9818 (sqli-input-sender): Apply filters to SQLi input.
9819 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
9820 Implement as a filter.
9821 (sql-escape-newlines-filter): Implement as a filter.
9822 (sql-remove-tabs-filter): New function.
9823 (sql-send-magic-terminator): New function.
9824 (sql-send-string): Implement magic terminator.
9825 (sql-send-region): Use `sql-send-string'.
9826 (sql-interactive-mode): Use product API.
9827 (sql-product-interactive): Use product API.
9828 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
9829 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
9830 (sql-db2, sql-linter): Use `sql-product-interactive'.
9831 (sql-connect): New function.
9832 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
9833 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
9834 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
9835 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
9836 Use `sql-connect'.
9837
9838 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9839
9840 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
9841 New custom variable.
9842 (completion-pcm--string->pattern): Use it.
9843 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
9844 Make it handle any symbol as `any'.
9845 (completion-pcm--merge-completions): Extract common suffix for the new
9846 `prefix' symbol as well.
9847 (completion-substring--all-completions): Use the new `prefix' symbol.
9848
9849 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
9850
9851 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
9852 not bound.
9853 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
9854 (tramp-compat-funcall): New defmacro.
9855 (tramp-compat-line-beginning-position)
9856 (tramp-compat-line-end-position)
9857 (tramp-compat-temporary-file-directory)
9858 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
9859 (tramp-compat-copy-file, tramp-compat-copy-directory)
9860 (tramp-compat-delete-file, tramp-compat-delete-directory)
9861 (tramp-compat-number-sequence, tramp-compat-process-running-p)
9862 * net/tramp.el (top, with-progress-reporter)
9863 (tramp-rfn-eshadow-setup-minibuffer)
9864 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
9865 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
9866 (tramp-completion-mode-p, tramp-check-for-regexp)
9867 (tramp-open-connection-setup-interactive-shell)
9868 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
9869 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
9870 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
9871 * net/tramp-cmds.el (tramp-cleanup-all-connections)
9872 (tramp-reporter-dump-variable, tramp-load-report-modules)
9873 (tramp-append-tramp-buffers)
9874 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
9875
9876 * net/tramp-imap.el (top): Autoload `epg-make-context'.
9877
9878 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9879
9880 * progmodes/compile.el (compilation-buffer-modtime): Rename from
9881 buffer-modtime. Adjust users.
9882
9883 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
9884
9885 * international/mule.el (auto-coding-alist): Only purecopy
9886 car of each item, not the whole list (Bug#6083).
9887
9888 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
9889
9890 * progmodes/js.el (js-mode): Make paragraph variables local before
9891 calling c-setup-paragraph-variables (Bug#6071).
9892
9893 2010-05-08 Eli Zaretskii <eliz@gnu.org>
9894
9895 * composite.el (compose-region, reference-point-alist): Fix typos
9896 in the doc strings.
9897
9898 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
9899
9900 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
9901 gnuplot's "set" command.
9902
9903 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
9904
9905 * abbrev.el (last-abbrev-text): Doc fix.
9906 (abbrev-prefix-mark): Don't escape parenthesis.
9907
9908 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
9909
9910 * composite.el (find-composition): Doc fix.
9911
9912 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
9913
9914 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
9915 (sql-oracle-program, sql-sqlite-options)
9916 (sql-query-placeholders-and-send): Doc fixes.
9917 (sql-set-product, sql-interactive-mode): Reflow docstrings.
9918 (sql-imenu-generic-expression, sql-buffer)
9919 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
9920 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
9921 (sql-mode-sybase-font-lock-keywords)
9922 (sql-mode-informix-font-lock-keywords)
9923 (sql-mode-interbase-font-lock-keywords)
9924 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
9925 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
9926 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
9927 (sql-product-feature, sql-highlight-product)
9928 (comint-line-beginning-position, sql-rename-buffer)
9929 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
9930 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
9931 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
9932 Fix typos in docstrings.
9933
9934 2010-05-08 Juri Linkov <juri@jurta.org>
9935
9936 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
9937 property instead of `invisible' and `after-string' (bug#5998).
9938
9939 2010-05-08 Juri Linkov <juri@jurta.org>
9940
9941 * image-mode.el (image-mode-as-text): Fix typo in docstring.
9942
9943 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
9944
9945 * filecache.el (file-cache-add-directory-list)
9946 (file-cache-add-directory-recursively): Fix typos in docstrings.
9947
9948 2010-05-08 Kenichi Handa <handa@m17n.org>
9949
9950 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
9951 (gujarati-composable-pattern): Fix typo.
9952
9953 2010-05-08 Kenichi Handa <handa@m17n.org>
9954
9955 * language/indian.el (oriya-composable-pattern)
9956 (tamil-composable-pattern, malayalam-composable-pattern):
9957 Add two-part vowels to "v" (vowel sign).
9958
9959 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
9960
9961 * files.el (copy-directory): Handle symlinks (Bug#5982).
9962
9963 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
9964
9965 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
9966 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
9967 (Bug#5846).
9968
9969 2010-05-08 Glenn Morris <rgm@gnu.org>
9970
9971 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
9972
9973 * minibuffer.el (completion-at-point): Doc fix.
9974
9975 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9976
9977 * electric.el (Electric-command-loop): Minor tweak.
9978
9979 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
9980 better with dedicated windows.
9981
9982 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
9983
9984 * Version 23.2 released.
9985
9986 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
9987 Stefan Monnier <monnier@iro.umontreal.ca>
9988
9989 Highlight vendor specific properties.
9990 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
9991 (css-proprietary-property): New face.
9992 (css-font-lock-keywords): Use them.
9993
9994 2010-05-07 Eli Zaretskii <eliz@gnu.org>
9995
9996 * cus-start.el (all): Add native condition for tool-bar-* symbols.
9997
9998 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9999
10000 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
10001 * files.el (auto-mode-alist): Remove redundant entries.
10002
10003 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
10004 * simple.el (auto-save-mode): Move from files.el.
10005 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
10006
10007 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
10008
10009 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
10010
10011 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
10012
10013 * mail/binhex.el (binhex-decode-region-internal)
10014 * mail/uudecode.el (uudecode-decode-region-internal)
10015 * net/dns.el (dns-read-string-name, dns-write, dns-read)
10016 (dns-read-type, dns-query)
10017 * pgg-parse.el (pgg-parse-armor)
10018 * pgg.el (pgg-verify-region)
10019 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
10020 XEmacs.
10021
10022 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
10023
10024 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
10025
10026 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
10027
10028 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
10029 * emulation/cua-base.el (cua-repeat-replace-region):
10030 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
10031 (cua-cut-region-to-global-mark):
10032 Remove text properties with `set-text-properties'.
10033
10034 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
10035
10036 * net/tramp.el (top, with-progress-reporter):
10037 Use `symbol-function' inside `funcall'.
10038
10039 * net/tramp-compat.el (tramp-compat-file-attributes)
10040 (tramp-compat-delete-file, tramp-compat-delete-directory):
10041 Handle only `wrong-number-of-arguments' error.
10042
10043 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
10044 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
10045 inside `funcall'.
10046
10047 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10048
10049 * minibuffer.el (completion--sreverse, completion--common-suffix):
10050 New functions.
10051 (completion-pcm--merge-completions): Extract common suffix when safe.
10052
10053 * emacs-lisp/easy-mmode.el (define-minor-mode):
10054 Make :variable more flexible.
10055 * files.el (auto-save-mode): Use it to define using define-minor-mode.
10056
10057 2010-05-05 Juri Linkov <juri@jurta.org>
10058
10059 Add `slow' and `history' tags to the desktop data.
10060
10061 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
10062 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
10063 (Info-finder-find-node): Require `finder.el' to be able
10064 to restore node from the desktop.
10065 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
10066 data `Info-history' and `slow' tag in the assoc list.
10067 (Info-restore-desktop-buffer): Don't restore nodes with the
10068 `slow' tag. Restore `Info-history'.
10069
10070 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
10071
10072 Add FORCE argument to `delete-file'.
10073
10074 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
10075 forcing to delete the temporary file.
10076 (ange-ftp-delete-file): Add FORCE arg.
10077 (ange-ftp-rename-remote-to-remote)
10078 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
10079 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
10080 Force file deletion.
10081
10082 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
10083
10084 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
10085 (tramp-handle-make-symbolic-link, tramp-handle-load)
10086 (tramp-do-copy-or-rename-file-via-buffer)
10087 (tramp-do-copy-or-rename-file-directly)
10088 (tramp-do-copy-or-rename-file-out-of-band)
10089 (tramp-handle-process-file, tramp-handle-call-process-region)
10090 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10091 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10092 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
10093
10094 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
10095 (tramp-fish-handle-make-symbolic-link)
10096 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
10097
10098 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
10099 Use `tramp-compat-delete-file'.
10100
10101 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
10102 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
10103
10104 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
10105 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
10106
10107 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
10108 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
10109 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
10110 Use `tramp-compat-delete-file'.
10111
10112 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10113
10114 Minor cleanups.
10115 * subr.el (add-minor-mode): Use push.
10116 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
10117 * emulation/edt.el (edt-select-mode): Simplify.
10118
10119 Use define-minor-mode in more cases.
10120 * term/tvi970.el (tvi970-set-keypad-mode):
10121 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
10122 (normal-erase-is-backspace-mode):
10123 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
10124 (set-scroll-bar-mode-1): (Re)move to its sole caller.
10125 (get-scroll-bar-mode): New function.
10126 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
10127
10128 Use define-minor-mode for less obvious cases.
10129 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
10130 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
10131 * international/iso-ascii.el (iso-ascii-mode):
10132 * frame.el (auto-raise-mode, auto-lower-mode):
10133 * composite.el (global-auto-composition-mode): Use define-minor-mode.
10134
10135 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
10136
10137 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
10138 in order to see error messages for failed logins.
10139
10140 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
10141
10142 * diff.el (diff-sentinel):
10143
10144 * epg.el (epg--make-temp-file, epg-decrypt-string)
10145 (epg-verify-string, epg-sign-string, epg-encrypt-string):
10146
10147 * jka-compr.el (jka-compr-partial-uncompress)
10148 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
10149
10150 * server.el (server-sentinel): Use delete-file's new FORCE arg
10151 (Bug#6070).
10152
10153 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10154
10155 Use define-minor-mode where applicable.
10156 * view.el (view-mode):
10157 * type-break.el (type-break-query-mode)
10158 (type-break-mode-line-message-mode):
10159 * textmodes/reftex.el (reftex-mode):
10160 * term/vt100.el (vt100-wide-mode):
10161 * tar-mode.el (tar-subfile-mode):
10162 * savehist.el (savehist-mode):
10163 * ibuf-ext.el (ibuffer-auto-mode):
10164 * composite.el (auto-composition-mode):
10165 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10166 Use define-minor-mode.
10167 (vhdl-mode): Use static mode-line format.
10168 (vhdl-mode-line-update): Delete.
10169 (vhdl-create-mode-menu, vhdl-activate-customizations)
10170 (vhdl-hs-minor-mode): Don't bother calling it.
10171
10172 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
10173
10174 * simple.el (with-wrapper-hook): Move.
10175 (buffer-substring-filters): Mark obsolete.
10176 (filter-buffer-substring-functions): New variable.
10177 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
10178
10179 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
10180 Michael Albinus <michael.albinus@gmx.de>
10181
10182 Implement compression for inline methods.
10183
10184 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
10185 (tramp-copy-size-limit): Allow also nil.
10186 (tramp-inline-compress-commands): New defconst.
10187 (tramp-find-inline-compress, tramp-get-inline-compress)
10188 (tramp-get-inline-coding): New defuns.
10189 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
10190 replaced by `tramp-get-inline-coding'.
10191 (tramp-handle-file-local-copy, tramp-handle-write-region)
10192 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
10193
10194 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
10195
10196 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
10197 Remove unused functions.
10198
10199 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
10200 Set find-tag-default-function as a variable rather than a property.
10201
10202 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
10203 * progmodes/etags.el (tags-completion-at-point-function):
10204 Remove left over interactive spec. Add autoloading stub.
10205 (complete-tag): Use tags-completion-at-point-function.
10206
10207 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
10208
10209 * minibuffer.el (tags-completion-at-point-function): Fix return value.
10210
10211 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
10212
10213 * ido.el (ido-init-completion-maps): Remove C-v binding.
10214 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
10215
10216 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
10217
10218 * minibuffer.el (tags-completion-at-point-function): New function.
10219 (completion-at-point-functions): Use it.
10220
10221 * progmodes/etags.el (complete-tag): Revert last change.
10222
10223 2010-04-29 Alan Mackenzie <acm@muc.de>
10224
10225 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
10226 off-by-one error (in end of macro position).
10227
10228 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
10229
10230 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
10231 firefox is absent. Don't autoload.
10232 (browse-url-galeon-program): Don't autoload.
10233
10234 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
10235
10236 * bindings.el (complete-symbol): Move into minibuffer.el.
10237
10238 * minibuffer.el (complete-tag): Move from etags.el. If tags
10239 completion cannot be performed, return nil instead of signalling
10240 an error.
10241 (completion-at-point): Make it an alias for complete-symbol.
10242 (complete-symbol): Move from bindings.el, and replace with the
10243 body of completion-at-point.
10244
10245 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
10246
10247 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
10248
10249 * net/tramp.el (tramp-remote-selinux-p): New defun.
10250 (tramp-handle-file-selinux-context)
10251 (tramp-handle-set-file-selinux-context): Use it.
10252
10253 2010-04-28 Sam Steingold <sds@gnu.org>
10254
10255 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
10256 `safe-local-variable' if the value is a string or a symbol with
10257 the property `bug-reference-url-format'.
10258
10259 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
10260
10261 * progmodes/bug-reference.el (bug-reference-url-format):
10262 Revert 2010-04-27 change due to security risk.
10263
10264 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10265
10266 Make it possible to locally disable a globally enabled mode.
10267 * simple.el (fundamental-mode): Run fundamental-mode-hook.
10268 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
10269 rather than kill-all-local-variables so it runs fundamental-mode-hook.
10270 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10271 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
10272 that subsequent hooks get a chance to disable it.
10273
10274 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10275
10276 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10277 Avoid re-enabling a minor mode after the user turned the minor mode
10278 off if MODE-enable-in-buffers is run twice (typically once from
10279 fundamental-mode's after-change-major-mode-hook and a second time from
10280 run-mode-hook's own after-change-major-mode-hook).
10281
10282 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
10283
10284 2010-04-27 Sam Steingold <sds@gnu.org>
10285
10286 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
10287 `safe-local-variable' if the value is a string or a function, as
10288 documented and implemented on 2010-04-02.
10289
10290 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
10291
10292 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
10293 when method is 'kill.
10294
10295 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
10296
10297 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
10298 condition in default directory check.
10299 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
10300 Kill ispell process when killing its associated buffer.
10301
10302 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
10303
10304 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
10305 but we aren't using it.
10306
10307 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
10308
10309 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
10310 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
10311
10312 2010-04-24 Glenn Morris <rgm@gnu.org>
10313
10314 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
10315 Ignore VCS-ignore files, and deleted nextstep preferences files.
10316 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
10317 (authors-ambiguous-files): New list.
10318 (authors-valid-file-names): Add some deleted files.
10319 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
10320 (authors-disambiguate-file-name): New function. (Bug#5501)
10321 (authors-canonical-file-name): Doc fix.
10322 Don't warn about obsolete files.
10323 (authors-canonical-file-name, authors-scan-el):
10324 Use authors-disambiguate-file-name.
10325
10326 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
10327 Add autoload cookies.
10328 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
10329 (generated-autoload-file): Set file-local value to "htmlfontify.el".
10330 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
10331 They have definitions / compiler macros in cl.el.
10332 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
10333 Replace manual autoloads with generated ones.
10334 (htmlfontify-unload-rgb-file): Remove autoload.
10335 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
10336
10337 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10338
10339 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
10340 (byte-compile-setq-default): Optimize for the
10341 single-var case and don't call byte-compile-form in this case to avoid
10342 inf-loop with byte-compile-set-default.
10343
10344 * progmodes/compile.el (compilation-start): Abbreviate default directory.
10345
10346 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
10347
10348 Implement SELINUX backends.
10349
10350 * net/tramp.el (tramp-file-name-handler-alist):
10351 Add `file-selinux-context' and `set-file-selinux-context'.
10352 (tramp-handle-file-selinux-context)
10353 (tramp-handle-set-file-selinux-context): New defuns.
10354 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
10355 Handle PRESERVE-SELINUX-CONTEXT.
10356
10357 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10358 Add `file-selinux-context' and `set-file-selinux-context'.
10359 (tramp-gvfs-handle-file-selinux-context)
10360 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
10361 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
10362
10363 * net/ange-ftp.el (ange-ftp-copy-file):
10364 * net/tramp-fish.el (tramp-fish-handle-copy-file):
10365 * net/tramp-imap.el (tramp-imap-handle-copy-file):
10366 * net/tramp-smb.el (tramp-smb-handle-copy-file):
10367 Add PRESERVE-SELINUX-CONTEXT.
10368
10369 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
10370
10371 Synchronize with Tramp repository.
10372
10373 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
10374 (tramp-action-process-alive, tramp-action-out-of-band)
10375 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
10376 (tramp-exists-file-name-handler): Fix docstring.
10377 (with-progress-reporter): New defmacro.
10378 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
10379 (tramp-maybe-open-connection): Use it.
10380
10381 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
10382
10383 Detect ssh 'ControlMaster' argument automatically in some cases.
10384
10385 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
10386 (tramp-default-method): Use it.
10387
10388 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
10389
10390 * net/tramp.el (tramp-handle-copy-file): Add new optional
10391 parameter `preserve-selinux-context'.
10392 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
10393
10394 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
10395
10396 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
10397 Ensure, that non remote files are still checked. Oops.
10398
10399 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
10400
10401 Fix Bug#5840.
10402
10403 * icomplete.el (icomplete-completions): Use `non-essential'.
10404
10405 * net/tramp.el (tramp-connectable-p): New defun.
10406 (tramp-handle-expand-file-name)
10407 (tramp-completion-handle-file-name-all-completions)
10408 (tramp-completion-handle-file-name-completion): Use it.
10409
10410 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
10411
10412 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
10413
10414 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
10415
10416 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
10417
10418 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
10419
10420 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
10421 is present.
10422
10423 * info.el (info-tool-bar-map): Add labels.
10424
10425 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
10426
10427 * cus-edit.el (custom-commands): Add labels for tool bar.
10428 (custom-buffer-create-internal, Custom-mode): Adjust for
10429 labels in custom-commands.
10430
10431 * dynamic-setting.el: Renamed from font-setting.el.
10432
10433 2010-04-21 John Wiegley <jwiegley@gmail.com>
10434
10435 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
10436 toggles the use of virtual buffers.
10437 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
10438 (ido-toggle-virtual-buffers): New function.
10439
10440 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
10441
10442 Use `define-derived-mode'; fix window selection; doc fixes.
10443 * play/tetris.el (tetris, tetris-update-speed-function)
10444 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
10445 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
10446 (tetris-rotate-next, tetris-end-game, tetris-start-game)
10447 (tetris-pause-game): Fix typos in docstrings.
10448 (tetris-mode-map, tetris-null-map):
10449 Move initialization into declaration.
10450 (tetris-mode): Define with `define-derived-mode';
10451 set show-trailing-whitespace to nil.
10452 (tetris): Prefer window already displaying the "*Tetris*" buffer.
10453
10454 2010-04-21 Karel Klíč <kklic@redhat.com>
10455
10456 * files.el (backup-buffer): Handle SELinux context, and return it
10457 if a backup was made by renaming.
10458 (backup-buffer-copy): Set SELinux context to the target file.
10459 (basic-save-buffer): Set SELinux context of the newly written file.
10460 (basic-save-buffer-1): Now it also returns any SELinux context.
10461 (basic-save-buffer-2): Set SELinux context of the newly created file,
10462 and return it.
10463 * net/tramp.el (tramp-file-name-for-operation):
10464 Add file-selinux-context.
10465
10466 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
10467
10468 Make the log-edit comments use RFC822 format throughout.
10469
10470 * vc.el (vc-checkin, vc-modify-change-comment):
10471 Adjust to new vc-start/finish-logentry.
10472 (vc-find-conflicted-file): New command.
10473 (vc-transfer-file): Adjust to new vc-checkin.
10474 (vc-next-action): Improve scoping.
10475
10476 * vc-hg.el (vc-hg-log-edit-mode): Remove.
10477 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
10478
10479 * vc-git.el (vc-git-log-edit-mode): Remove.
10480 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
10481 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
10482
10483 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
10484 (vc-start-logentry): Remove argument `extra'.
10485 (vc-finish-logentry): Remove extra args.
10486
10487 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
10488 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
10489 (vc-bzr-conflicted-files): New function.
10490
10491 * log-edit.el (log-edit-extra-flags)
10492 (log-edit-before-checkin-process): Remove.
10493 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
10494 (log-edit-headers-alist): New var.
10495 (log-edit-header-contents-regexp): New const.
10496 (log-edit-match-to-eoh): New function.
10497 (log-edit-font-lock-keywords): Use them.
10498 (log-edit): Insert a "Summary:" header as default.
10499 (log-edit-mode): Mark font-lock rules as case-insensitive.
10500 (log-edit-done): Cleanup headers.
10501 (log-view-process-buffer): Remove.
10502 (log-edit-extract-headers): New function to replace it.
10503
10504 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
10505
10506 * subr.el (default-direction-reversed): Remove obsolescence info.
10507
10508 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10509
10510 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
10511 windows/frames.
10512
10513 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
10514 I.e. include text after point in the completion region.
10515 Also, return nil when we're not after/in a symbol.
10516
10517 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
10518 default enable-multibyte-characters.
10519
10520 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10521
10522 * international/mule.el: Help the user choose a valid coding-system.
10523 (read-buffer-file-coding-system): New function.
10524 (set-buffer-file-coding-system): Use it. Prompt the user if the
10525 coding-system cannot encode all the chars.
10526
10527 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
10528 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
10529 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
10530 Don't use *vc-bzr-shelve*.
10531
10532 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
10533
10534 Fix the version number for added files.
10535 * vc-hg.el (vc-hg-working-revision): Check if the file is
10536 registered after hg parent fails (Bug#5961).
10537
10538 2010-04-19 Glenn Morris <rgm@gnu.org>
10539
10540 * htmlfontify.el (htmlfontify-buffer)
10541 (htmlfontify-copy-and-link-dir): Autoload entry points.
10542
10543 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
10544
10545 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
10546 name relative to the project root (Bug#5960).
10547
10548 2010-04-19 Glenn Morris <rgm@gnu.org>
10549
10550 * vc-git.el (vc-git-print-log): Doc fix.
10551
10552 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
10553
10554 * ido.el (ido-file-internal): Fix 2009-12-02 change.
10555
10556 2010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
10557
10558 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
10559 default settings (Bug#5928).
10560
10561 2010-04-19 Glenn Morris <rgm@gnu.org>
10562
10563 * progmodes/fortran.el (fortran-match-and-skip-declaration):
10564 New function.
10565 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
10566
10567 2010-04-19 Kenichi Handa <handa@m17n.org>
10568
10569 * language/indian.el (malayalam-composable-pattern): Fix previous
10570 change (add U+0D4D "SIGN VIRAMA").
10571 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
10572 (tamil-composable-pattern): Fix typo in the regexp.
10573 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
10574 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
10575 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
10576
10577 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
10578
10579 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
10580 paragraph-separate (Bug#5821).
10581
10582 2010-04-19 Juri Linkov <juri@jurta.org>
10583
10584 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
10585
10586 * info.el (Info-find-node-2): Comment out code that skips
10587 breadcrumbs line.
10588 (Info-mouse-follow-link): New command.
10589 (Info-link-keymap): New keymap.
10590 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
10591 Return a string with links instead of inserting breadcrumbs
10592 to the Info buffer.
10593 (Info-fontify-node): Comment out code that inserts breadcrumbs.
10594 Instead of putting the `invisible' text property over the Info
10595 header, make an overlay over the Info header with the `invisible'
10596 property and `after-string' set to the string returned by
10597 `Info-breadcrumbs'.
10598
10599 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
10600
10601 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
10602 Reported by monkey@sandpframing.com.
10603
10604 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10605
10606 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
10607 (tmm-get-keymap): Add key-binding shortcuts now that they're not
10608 available in the "keyseq cache" any more.
10609
10610 * custom.el (defcustom): Add edebug spec.
10611
10612 2010-04-18 Juri Linkov <juri@jurta.org>
10613
10614 Test for special mode-class in view-buffer instead of view-file (bug#5513).
10615
10616 * view.el (view-file, view-buffer): Move test for special mode-class
10617 from view-file to view-buffer.
10618
10619 * tar-mode.el (tar-extract): Turn if's into one cond
10620 like in arc-mode.el.
10621
10622 2010-04-18 Juri Linkov <juri@jurta.org>
10623
10624 Add 7z archive format support (bug#5475).
10625
10626 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
10627 (archive-7z-extract): New defcustom.
10628 (archive-find-type): Add magic string for 7z.
10629 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
10630 If `stderr-file' is non-nil, use `(t stderr-file)' for the
10631 `buffer' arg of `call-process'.
10632 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
10633 call the function `archive-7z-extract' with the variable
10634 `archive-7z-extract' let-bound to `archive-zip-extract'.
10635 (archive-7z-summarize, archive-7z-extract): New functions.
10636
10637 * international/mule.el (auto-coding-alist):
10638 * files.el (auto-mode-alist): Add 7z file extension.
10639
10640 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10641
10642 * loadup.el: Setup hash-cons for pure data.
10643
10644 Fix duplicate entries in cedet's loaddefs.el files.
10645 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
10646 Should make most file-local generated-autoload-file unnecessary.
10647 (print-readably): Silence warnings.
10648 (autoload-find-destination): Take load-name as an arg to make sure
10649 it's the same as the one that will be in the file.
10650 (autoload-generate-file-autoloads): Adjust to above changes.
10651 Try to make the dataflow a bit simpler.
10652
10653 * cvs-status.el (cvs-refontify): Remove unused.
10654
10655 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
10656
10657 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
10658
10659 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
10660 twos-complement mode.
10661
10662 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
10663
10664 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
10665 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
10666 (calc-inverse): Add "Option" to message, as appropriate.
10667 (calc-hyperbolic): Add "Option" to message, as appropriate.
10668 (calc-option, calc-is-option): New functions.
10669
10670 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
10671 (calc-option-prefix-help): New function.
10672
10673 * calc/calc-misc.el (calc-help): Add "Option" entry.
10674
10675 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
10676 (calc-option-flag): New variable.
10677 (calc-do): Set `calc-option-flag to nil.
10678 (calc-set-mode-line): Add "Opt " as appropriate.
10679
10680 2010-04-16 Juri Linkov <juri@jurta.org>
10681
10682 Move scrolling commands from simple.el to window.el
10683 because their primitives are implemented in window.c.
10684
10685 * simple.el (scroll-error-top-bottom)
10686 (scroll-up-command, scroll-down-command, scroll-up-line)
10687 (scroll-down-line, scroll-other-window-down)
10688 (beginning-of-buffer-other-window, end-of-buffer-other-window):
10689 * window.el (scroll-error-top-bottom)
10690 (scroll-up-command, scroll-down-command, scroll-up-line)
10691 (scroll-down-line, scroll-other-window-down)
10692 (beginning-of-buffer-other-window, end-of-buffer-other-window):
10693 Move from simple.el to window.el because their primitives are
10694 implemented in window.c.
10695
10696 2010-04-16 Juri Linkov <juri@jurta.org>
10697
10698 * isearch.el (isearch-lookup-scroll-key): Check both
10699 `isearch-scroll' and `scroll-command' properties.
10700 (scroll-up, scroll-down): Remove `isearch-scroll' property.
10701
10702 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
10703
10704 * simple.el (scroll-up-command, scroll-down-command)
10705 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
10706
10707 2010-04-15 Juri Linkov <juri@jurta.org>
10708
10709 * simple.el (scroll-up-command, scroll-down-command)
10710 (scroll-up-line, scroll-down-line): Put `scroll-command'
10711 property on the these symbols. Remove them from
10712 `scroll-preserve-screen-position-commands'.
10713
10714 * mwheel.el (mwheel-scroll): Put `scroll-command' and
10715 `isearch-scroll' properties on the `mwheel-scroll' symbol.
10716 Remove it from `scroll-preserve-screen-position-commands'.
10717
10718 * isearch.el (isearch-allow-scroll): Doc fix.
10719
10720 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
10721
10722 * net/tramp.el (tramp-error-with-buffer): Don't show the
10723 connection buffer when we are in completion mode.
10724 (tramp-file-name-handler): Catch the error for some operations
10725 when we are in completion mode. This gives the user the chance to
10726 correct the file name in the minibuffer.
10727
10728 2010-04-15 Glenn Morris <rgm@gnu.org>
10729
10730 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
10731
10732 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
10733
10734 Simplify by using `define-derived-mode'.
10735 * info.el (Info-mode):
10736 * calendar/todo-mode.el (todo-mode):
10737 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
10738 (gomoku-mode-map): Move initialization into declaration.
10739
10740 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
10741
10742 Fix Bug#5840.
10743 * ido.el (ido-file-name-all-completions-1):
10744 * minibuffer.el (minibuffer-completion-help):
10745 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
10746
10747 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10748
10749 * simple.el (non-essential): New var.
10750
10751 Add a new field `location' to bookmarks for non-file bookmarks.
10752 * bookmark.el (bookmark-location): Use the new field, if present.
10753 (bookmark-insert-location): Undo last change, not needed any more.
10754 * man.el (Man-bookmark-make-record):
10755 * woman.el (woman-bookmark-make-record): Add `location' field.
10756
10757 2010-04-14 Juri Linkov <juri@jurta.org>
10758
10759 * simple.el (scroll-error-top-bottom): New defcustom.
10760 (scroll-up-command, scroll-down-command): Use it. Doc fix.
10761
10762 * emulation/pc-select.el (pc-select-override-scroll-error):
10763 Obsolete in favor of `scroll-error-top-bottom'.
10764
10765 2010-04-14 Juri Linkov <juri@jurta.org>
10766
10767 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
10768 `scroll-up-command' and `M-v' to `scroll-down-command'.
10769
10770 * emulation/cua-rect.el (cua--init-rectangles):
10771 * forms.el (forms--change-commands):
10772 * image-mode.el (image-mode-map):
10773 Remap scroll-down-command and scroll-up-command
10774 in addition to scroll-down and scroll-up.
10775
10776 2010-04-14 Juri Linkov <juri@jurta.org>
10777
10778 * mwheel.el (scroll-preserve-screen-position-commands):
10779 Add mwheel-scroll to this list of commands.
10780
10781 * simple.el (scroll-preserve-screen-position-commands):
10782 Add scroll-up-command, scroll-down-command, scroll-up-line,
10783 scroll-down-line to this list of commands.
10784
10785 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
10786
10787 * obsolete/complete.el: Move from lisp/complete.el.
10788
10789 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
10790
10791 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
10792 to the minor mode function now turns the mode ON unconditionally.
10793
10794 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
10795
10796 * vc-dir.el (vc-dir-kill-line): New command.
10797 (vc-dir-mode-map): Bind it to C-k.
10798
10799 * bookmark.el (bookmark-insert-location): Handle a nil filename.
10800
10801 * woman.el: Add bookmark declarations to silence the compiler.
10802 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
10803 step to compatibility between man and woman bookmarks.
10804 Adjust for Man-default-bookmark-title renaming.
10805 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
10806
10807 * man.el: Add bookmark declarations to silence the compiler.
10808 (Man-name-local-regexp): Make it match NAME as well.
10809 (Man-getpage-in-background): Return the buffer.
10810 (Man-notify-when-ready): Use `case'.
10811 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
10812 Don't hardcode "NAME". Simplify.
10813 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
10814 Rename from Man-bookmark-make-record.
10815 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
10816 we have the actual man-args. Use Man-getpage-in-background rather
10817 than `man' since the arg is already processed. Let bookmark.el do the
10818 window handling. Only wait for the relevant process.
10819 Don't forget to autoload.
10820
10821 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
10822
10823 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10824
10825 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
10826 New functions.
10827 (woman-mode): Setup bookmark support.
10828
10829 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
10830 (man-bookmark-jump): New functions.
10831 (Man-mode): Setup bookmark support.
10832
10833 2010-04-10 Jari Aalto <jari.aalto@cante.net>
10834
10835 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
10836 recognize ssh-keygen prompt (Bug#2817).
10837
10838 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
10839
10840 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
10841
10842 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
10843
10844 Synchronize with Tramp repository.
10845
10846 * net/tramp.el (tramp-completion-function-alist)
10847 (tramp-file-name-regexp, tramp-chunksize)
10848 (tramp-local-coding-commands, tramp-remote-coding-commands):
10849 Fix docstring.
10850 (tramp-remote-process-environment): Use `format' instead of `concat'.
10851 (tramp-handle-directory-files-and-attributes)
10852 (tramp-get-remote-path): Use `copy-tree'.
10853 (tramp-handle-file-name-all-completions): Backward/ XEmacs
10854 compatibility: Use `completion-ignore-case' if
10855 `read-file-name-completion-ignore-case' does not exist.
10856 (tramp-do-copy-or-rename-file-directly): Do not use
10857 `tramp-handle-file-remote-p'.
10858 (tramp-do-copy-or-rename-file-out-of-band):
10859 Use `tramp-compat-delete-directory'.
10860 (tramp-do-copy-or-rename-file-out-of-band)
10861 (tramp-compute-multi-hops, tramp-maybe-open-connection):
10862 Use `format-spec-make'.
10863 (tramp-find-foreign-file-name-handler)
10864 (tramp-advice-make-auto-save-file-name)
10865 (tramp-set-auto-save-file-modes): Remove superfluous check for
10866 `stringp'. This is done inside `tramp-tramp-file-p'.
10867 (tramp-debug-outline-regexp): New defconst.
10868 (tramp-get-debug-buffer): Use it.
10869 (tramp-check-for-regexp): Use (forward-line 1).
10870 (tramp-set-auto-save-file-modes): Adapt version check.
10871
10872 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
10873 Wrap call of `featurep' for 2nd argument.
10874 (tramp-compat-make-temp-file): Simplify fallback implementation.
10875 (tramp-compat-copy-tree): Remove function.
10876 (tramp-compat-delete-directory): Provide implementation for older
10877 Emacsen.
10878
10879 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
10880 Do not use `tramp-fish-handle-file-attributes.
10881
10882 * net/trampver.el: Update release number.
10883
10884 2010-04-10 Glenn Morris <rgm@gnu.org>
10885
10886 * progmodes/compile.el (compilation-save-buffers-predicate):
10887 Add missing :version tag.
10888
10889 2010-04-09 Sam Steingold <sds@gnu.org>
10890
10891 * progmodes/compile.el (compilation-save-buffers-predicate):
10892 Remove the "autoload" cookie.
10893
10894 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
10895 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
10896 and `bug-reference-prog-mode' can be used in hooks directly.
10897
10898 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
10899
10900 Add --author support to git commit.
10901 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
10902 (vc-git-log-edit-mode): New minor mode.
10903 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
10904 New declarations.
10905
10906 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
10907
10908 * vc-hooks.el, vc-git.el: Improve documentation comments.
10909
10910 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10911
10912 Fix some of the problems in defsubst* (bug#5728).
10913 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
10914 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
10915
10916 2010-04-07 Sam Steingold <sds@gnu.org>
10917
10918 * progmodes/compile.el (compilation-save-buffers-predicate):
10919 New custom variable.
10920 (compile, recompile): Pass it to `save-some-buffers'.
10921
10922 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
10923
10924 * wid-edit.el (widget-choose): Move cursor to the second line of
10925 the buffer (Bug#5695).
10926
10927 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
10928
10929 Add new VC methods: vc-log-incoming and vc-log-outgoing.
10930 * vc.el (vc-print-log-setup-buttons): New function split out from
10931 vc-print-log-internal.
10932 (vc-log-internal-common): New function, a parametrized version of
10933 vc-print-log-internal.
10934 (vc-print-log-internal): Just call vc-log-internal-common with the
10935 right arguments.
10936 (vc-incoming-outgoing-internal):
10937 (vc-log-incoming, vc-log-outgoing): New functions.
10938 (vc-log-view-type): New permanent local variable.
10939
10940 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
10941
10942 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
10943 of the dynamic bound vc-short-log.
10944 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
10945
10946 * vc-git.el (vc-git-log-outgoing): New function.
10947 (vc-git-log-view-mode): Use vc-log-view-type instead
10948 of the dynamic bound vc-short-log.
10949
10950 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
10951 of the dynamic bound vc-short-log. Highlight the tag.
10952 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
10953 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
10954 (vc-hg-incoming-mode): Remove.
10955 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
10956
10957 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
10958
10959 Fix default-directory for vc-root-diff.
10960 * vc.el (vc-root-diff): Bind default-directory to the root
10961 directory for the diff command.
10962
10963 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
10964
10965 * progmodes/verilog-mode.el (verilog-forward-sexp):
10966 (verilog-calc-1): Support "disable fork" and "fork wait" multi
10967 word keywords, suggested by Steve Pearlmutter.
10968 (verilog-pretty-declarations): Support lineup of declarations in
10969 port lists.
10970 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
10971 fix bug for /* / comments.
10972 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
10973 Speed up and simplfy as this is never called with a bound.
10974 (verilog-pretty-declarations): Enhance to line up declarations
10975 inside a parameter list, suggested by Alan Morgan.
10976 (verilog-pretty-expr): Tune assignment regular expression match
10977 string for corner cases; also use markers instead of character
10978 number as indent changes the later.
10979
10980 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
10981
10982 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
10983 as missing keyword.
10984 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
10985 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
10986 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
10987 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
10988 Tennant.
10989 (verilog-keywords):
10990 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
10991 1800-2009 keywords, including "global.".
10992
10993 2010-04-06 John Wiegley <jwiegley@gmail.com>
10994
10995 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
10996 appearing in buffer list (if a live buffer name matched a recentf
10997 file basename). Should use uniquify to offer a real solution.
10998
10999 2010-04-06 John Wiegley <jwiegley@gmail.com>
11000
11001 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
11002 comment to code, and add a :version tag.
11003 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
11004
11005 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
11006
11007 Enable recentf-mode if using virtual buffers.
11008 * ido.el (recentf-list): Declare for byte-compiler.
11009 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
11010 (ido-make-buffer-list): Simplify.
11011 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
11012
11013 2010-04-05 Juri Linkov <juri@jurta.org>
11014
11015 Scrolling commands which scroll a line instead of full screen.
11016 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
11017
11018 * simple.el (scroll-up-line, scroll-down-line): New commands.
11019 Put property isearch-scroll=t on them.
11020
11021 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
11022 Remove commands.
11023
11024 2010-04-05 Juri Linkov <juri@jurta.org>
11025
11026 Scrolling commands which do not signal errors at top/bottom.
11027 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
11028
11029 * simple.el (scroll-up-command, scroll-down-command): New commands.
11030 Put property isearch-scroll=t on them.
11031
11032 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
11033 `scroll-down-command' and [next] from `scroll-up' to
11034 `scroll-up-command'.
11035
11036 * emulation/cua-base.el: Put property CUA=move on
11037 `scroll-up-command' and `scroll-down-command'.
11038 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
11039 and `scroll-down-command' to `cua-scroll-down'.
11040
11041 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
11042
11043 * help.el (describe-mode): Return nil.
11044
11045 2010-04-04 John Wiegley <jwiegley@gmail.com>
11046
11047 * ido.el (ido-use-virtual-buffers): New variable to indicate
11048 whether "virtual buffer" support is enabled for IDO.
11049 (ido-virtual): Face used to indicate virtual buffers in the list.
11050 (ido-buffer-internal): If a buffer is chosen, and no such buffer
11051 exists, but a virtual buffer of that name does (which would be why
11052 it was in the list), recreate the buffer by reopening the file.
11053 (ido-make-buffer-list): If virtual buffers are being used, call
11054 `ido-add-virtual-buffers-to-list' before the make list hook.
11055 (ido-virtual-buffers): New variable which contains a copy of the
11056 current contents of the `recentf-list', albeit pared down for the
11057 sake of speed, and with proper faces applied.
11058 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
11059 create a list of "virtual buffers" to present to the user in
11060 addition to the currently open set. Note that this logic could
11061 get rather slow if that list is too large. With the default
11062 `recentf-max-saved-items' of 200, there is little speed penalty.
11063
11064 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
11065
11066 * font-lock.el: Require CL when compiling.
11067 (font-lock-turn-on-thing-lock): Use `case'.
11068
11069 2010-04-03 Eli Zaretskii <eliz@gnu.org>
11070
11071 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
11072 Zaretskii.
11073
11074 2010-04-02 Juri Linkov <juri@jurta.org>
11075
11076 * ehelp.el (electric-help-orig-major-mode):
11077 New buffer-local variable.
11078 (electric-help-mode): Set it to original major-mode. Doc fix.
11079 (with-electric-help): Use `electric-help-orig-major-mode' instead
11080 of (default-value 'major-mode). Doc fix.
11081 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
11082
11083 2010-04-02 Sam Steingold <sds@gnu.org>
11084
11085 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
11086 `vc-hg-command' with a list of flags.
11087
11088 * progmodes/bug-reference.el (bug-reference-bug-regexp):
11089 Also accept "patch" and "RFE".
11090 (bug-reference-fontify): `bug-reference-url-format' can also be a
11091 function to be able to handle the bug kind.
11092 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
11093
11094 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
11095
11096 * tmm.el (tmm-get-keymap): Check with symbolp before passing
11097 value to fboundp, it may not be a symbol.
11098
11099 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11100
11101 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
11102
11103 2010-03-31 Juri Linkov <juri@jurta.org>
11104
11105 * simple.el (next-line, previous-line): Re-throw a signal
11106 with `signal' instead of using `ding'.
11107 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
11108
11109 2010-03-31 Juri Linkov <juri@jurta.org>
11110
11111 * simple.el (keyboard-escape-quit): Raise deselecting the active
11112 region higher than exiting the minibuffer.
11113 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
11114
11115 2010-03-31 Juri Linkov <juri@jurta.org>
11116
11117 * image.el (image-animated-p): Use `image-metadata' instead of
11118 `image-extension-data'. Get GIF extenstion data from metadata
11119 property `extension-data'.
11120
11121 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11122
11123 * simple.el (append-to-buffer): Simplify.
11124
11125 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
11126
11127 * textmodes/artist.el (artist-mode): Fix typo in docstring.
11128 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
11129
11130 2010-03-31 Kenichi Handa <handa@m17n.org>
11131
11132 * language/sinhala.el (composition-function-table): Fix regexp for
11133 the new Unicode specification.
11134
11135 * language/indian.el (devanagari-composable-pattern)
11136 (tamil-composable-pattern, kannada-composable-pattern)
11137 (malayalam-composable-pattern): Adjust for the new Unicode
11138 specification.
11139 (bengali-composable-pattern, gurmukhi-composable-pattern)
11140 (gujarati-composable-pattern, oriya-composable-pattern)
11141 (telugu-composable-pattern): New variables to cope with the new
11142 Unicode specification. Use them in composition-function-table.
11143
11144 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11145
11146 Make tmm-menubar work for the Buffers menu again (bug#5726).
11147 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
11148 vectors rather than cons cells, as used in menu-bar-update-buffers.
11149
11150 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11151
11152 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
11153 (js-insert-and-indent): Revert 2009-08-15 change, restoring
11154 electric punctuation for "{}();,:" (Bug#5586).
11155
11156 * mail/sendmail.el (mail-default-directory): Doc fix.
11157
11158 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11159
11160 * mail/sendmail.el (mail-default-directory): Doc fix.
11161
11162 2010-03-31 Eli Zaretskii <eliz@gnu.org>
11163
11164 * subr.el (version-regexp-alist, version-to-list)
11165 (version-list-<, version-list-=, version-list-<=)
11166 (version-list-not-zero, version<, version<=, version=): Doc fix.
11167 (Bug#5744).
11168
11169 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
11170
11171 * vc.el (vc-root-diff): Doc fix.
11172
11173 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11174
11175 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
11176
11177 * simple.el (append-to-buffer): Fix last change.
11178
11179 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11180
11181 * simple.el (append-to-buffer): Ensure that point is preserved if
11182 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
11183 (Bug#5749)
11184
11185 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11186
11187 * files.el (auto-mode-case-fold): Change default to t.
11188
11189 2010-03-30 Juri Linkov <juri@jurta.org>
11190
11191 * dired-x.el (dired-omit-mode): Doc fix.
11192
11193 2010-03-30 Juri Linkov <juri@jurta.org>
11194
11195 * replace.el (occur-accumulate-lines): Move occur-engine related
11196 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
11197 to be located after `occur-engine'.
11198
11199 2010-03-30 Juri Linkov <juri@jurta.org>
11200
11201 Make occur handle multi-line matches cleanly with context.
11202 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
11203
11204 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
11205 (occur-engine): Add local variables `ret', `prev-after-lines',
11206 `prev-lines'. Use more arguments for `occur-context-lines'.
11207 Set first elem of its returned list to `data', and the second elem
11208 to `prev-after-lines'. Don't print the separator line.
11209 In the end, print remaining context after-lines.
11210 (occur-context-lines): Add new arguments `begpt', `endpt',
11211 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
11212 after-lines of the previous match with before-lines of the
11213 current match and not overlap them. Return a list with two
11214 values: the output line and the list of context after-lines.
11215
11216 2010-03-30 Juri Linkov <juri@jurta.org>
11217
11218 * replace.el (occur-accumulate-lines): Fix a bug where the first
11219 context line at the beginning of the buffer was missing.
11220
11221 2010-03-30 Eli Zaretskii <eliz@gnu.org>
11222
11223 * files.el: Make bidi-display-reordering safe variable for boolean
11224 values.
11225
11226 2010-03-29 Phil Hagelberg <phil@evri.com>
11227 Chong Yidong <cyd@stupidchicken.com>
11228
11229 * subr.el: Extend progress reporters to perform "spinning".
11230 (progress-reporter-update, progress-reporter-do-update):
11231 Handle non-numeric value arguments.
11232 (progress-reporter--pulse-characters): New var.
11233
11234 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
11235
11236 * progmodes/compile.el (compilation-start): Fix regexp detection
11237 of initial cd command (Bug#5771).
11238
11239 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
11240
11241 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
11242
11243 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
11244
11245 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
11246 * progmodes/gdb-mi.el: Restore.
11247 * progmodes/gdb-ui.el: Remove.
11248 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
11249
11250 2010-03-25 Glenn Morris <rgm@gnu.org>
11251
11252 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
11253 all dired buffers, even tramp ones. (Bug#5755)
11254
11255 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11256
11257 Add "union tags" in mpc.el.
11258 * mpc.el: Remove backward compatibility code.
11259 (mpc-browser-tags): Change default.
11260 (mpc--find-memoize-union-tags): New var.
11261 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
11262 (mpc-cmd-find): Handle the case where the playlist does not exist.
11263 Handle union-tags.
11264 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
11265 (mpc-cmd-add): Use mpc-cmd-flush.
11266 (mpc-tagbrowser-tag-name): New fun.
11267 (mpc-tagbrowser-buf): Use it.
11268 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
11269
11270 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11271
11272 Misc cleanup.
11273 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
11274 Use replace-regexp-in-string.
11275 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
11276 (makefile-imake-mode-syntax-table): Move init into defvar.
11277 (makefile-mode): Use define-derived-mode.
11278
11279 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
11280 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
11281 not be present any more.
11282
11283 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
11284
11285 * faces.el (set-face-attribute): Fix typo in docstring.
11286 (face-valid-attribute-values): Reflow docstring.
11287
11288 2010-03-24 Glenn Morris <rgm@gnu.org>
11289
11290 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
11291
11292 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
11293
11294 * indent.el (indent-for-tab-command): Doc fix.
11295
11296 2010-03-24 Alan Mackenzie <acm@muc.de>
11297
11298 * progmodes/cc-engine.el (c-remove-stale-state-cache):
11299 Fix off-by-one error. Fixes bug #5747.
11300
11301 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
11302
11303 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
11304 (image-dired-read-comment): Doc fix.
11305
11306 * json.el (json-object-type, json-array-type, json-key-type)
11307 (json-false, json-null, json-read-number):
11308 * minibuffer.el (completion-in-region-functions):
11309 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
11310 (cal-tex-cursor-week):
11311 * emacs-lisp/trace.el (trace-function):
11312 * eshell/em-basic.el (eshell/printnl):
11313 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
11314 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
11315 * obsolete/levents.el (allocate-event, event-key, event-object)
11316 (event-point, event-process, event-timestamp, event-to-character)
11317 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
11318 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
11319 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
11320 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
11321 (reftex-highlight-selection): Fix typos in docstrings.
11322
11323 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
11324
11325 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
11326
11327 2010-03-24 Glenn Morris <rgm@gnu.org>
11328
11329 * mail/rmail.el (rmail-highlight-face): Restore option deleted
11330 2008-02-13 without comment; mark it obsolete.
11331 (rmail-highlight-headers): Use rmail-highlight-face once more.
11332
11333 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
11334
11335 * woman.el (woman2-process-escapes): Only consume the newline if
11336 the filler character is on a line by itself (Bug#5729).
11337
11338 2010-03-24 Kenichi Handa <handa@m17n.org>
11339
11340 * language/indian.el (devanagari-composable-pattern): Add more
11341 consonants.
11342
11343 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
11344
11345 * net/trampver.el: Update release number.
11346
11347 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
11348
11349 * net/tramp.el (tramp-find-executable):
11350 Use `tramp-get-connection-buffer'. Make the regexp for checking
11351 output of "wc -l" more robust.
11352 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
11353 (tramp-open-connection-setup-interactive-shell): Remove workaround
11354 for OpenSolaris bug, it is not needed anymore.
11355
11356 2010-03-24 Glenn Morris <rgm@gnu.org>
11357
11358 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
11359
11360 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
11361
11362 * files.el (auto-mode-alist): Accept more verilog file patterns.
11363
11364 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11365
11366 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
11367
11368 2010-03-24 Glenn Morris <rgm@gnu.org>
11369
11370 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
11371 log-edit-before-checkin-process.
11372
11373 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
11374
11375 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
11376
11377 * vc-dispatcher.el (vc-start-logentry): Doc fix.
11378 (log-view-process-buffer, log-edit-extra-flags): Declare.
11379
11380 * log-edit.el (log-edit-before-checkin-process): Doc fix.
11381
11382 2010-03-23 Sam Steingold <sds@gnu.org>
11383
11384 Fix bug#5620: recalculate all markers on compilation buffer
11385 modifications, not on file modifications.
11386 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
11387 variable: the buffer modification time, for buffers not associated with
11388 files.
11389 (compilation-mode): Create it.
11390 (compilation-filter): Update it.
11391 (compilation-next-error-function): Use it instead of
11392 `visited-file-modtime' for timestamp.
11393
11394 2010-03-23 Juri Linkov <juri@jurta.org>
11395
11396 Implement Occur multi-line matches.
11397 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
11398
11399 * replace.el (occur): Doc fix.
11400 (occur-engine): Set `begpt' to the beginning of the first line.
11401 Set `endpt' to the end of the last match line. At first, count
11402 line numbers between `origpt' and `begpt'. Split out code from
11403 `out-line' variable to new let-bindings `match-prefix' and
11404 `match-str'. In `out-line' add non-numeric prefix to all
11405 non-first lines of multi-line matches. Finally, count lines
11406 between `begpt' and `endpt' and add to `lines'.
11407
11408 2010-03-23 Juri Linkov <juri@jurta.org>
11409
11410 * replace.el (occur-accumulate-lines, occur-engine):
11411 Use `occur-engine-line' instead of duplicate code.
11412 (occur-engine-line): New function created from duplicate code
11413 in `occur-accumulate-lines' and `occur-engine'.
11414
11415 * replace.el (occur-engine-line): Add optional arg `keep-props'.
11416 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
11417
11418 2010-03-23 Juri Linkov <juri@jurta.org>
11419
11420 * finder.el: Remove TODO tasks.
11421
11422 * info.el (Info-finder-find-node): Add node "all"
11423 with all package info. Handle a list of multiple keywords
11424 separated by comma.
11425 (info-finder): In interactive use with a prefix argument,
11426 use `completing-read-multiple' to read a list of keywords
11427 separated by comma.
11428
11429 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
11430
11431 Add a new completion style `substring'.
11432 * minibuffer.el (completion-basic--pattern): New function.
11433 (completion-basic-try-completion, completion-basic-all-completions):
11434 Use it.
11435 (completion-substring--all-completions)
11436 (completion-substring-try-completion)
11437 (completion-substring-all-completions): New functions.
11438 (completion-styles-alist): New style `substring'.
11439
11440 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
11441
11442 Get rid of .elc files after removal of the corresponding .el.
11443 * Makefile.in (compile-clean): New target.
11444 (compile-main): Use it.
11445
11446 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
11447
11448 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
11449 don't do make there. When compiling with separate object dir, there
11450 is no Makefile there.
11451
11452 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
11453
11454 Get rid of the ELCFILES abomination, again.
11455 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
11456 (all, compile): Don't call compile-last.
11457 (compile-main): Build the "elcfiles" list dynamically.
11458 (compile-targets): New (internal) target.
11459
11460 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
11461
11462 * Makefile.in (top_srcdir): Define.
11463 (abs_top_builddir): Define.
11464 (srcdir): Don't append `/..'.
11465 (EMACS): Use ${abs_top_builddir}.
11466 (all, compile, compile-always, compile-last): Don't set emacswd.
11467 (update-subdirs, update-authors): Use $(top_srcdir) instead of
11468 $(srcdir).
11469 (lisp): Use $(srcdir) instead of @srcdir@.
11470
11471 2010-03-21 Juri Linkov <juri@jurta.org>
11472
11473 Fix message of multi-line occur regexps and multi-buffer header lines.
11474 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
11475
11476 * replace.el (occur-1): Don't display regexp if it is longer
11477 than window-width. Use `query-replace-descr' to display regexp.
11478 (occur-engine): Don't display regexp in the buffer header for
11479 multi-buffer occur. Display a separate header line with total
11480 match count and regexp for multi-buffer occur.
11481 Use `query-replace-descr' to display regexp.
11482
11483 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
11484
11485 * net/secrets.el: Fix parenthesis.
11486 (secrets-enabled): Fix parenthesis.
11487
11488 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11489
11490 Use more relative file and directory names.
11491 * Makefile.in (EMACS): Arrange for it to work when we chdir.
11492 (setwins, setwins_almost, setwins_for_subdirs):
11493 Don't `cd'; output relative names.
11494 (all, compile, compile-always, compile-last): Set emacswd.
11495 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
11496 Just cd to the lisp source dir so we can use relative file names.
11497
11498 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
11499
11500 2010-03-20 Glenn Morris <rgm@gnu.org>
11501
11502 * textmodes/rst.el: Use faces for font-lock customization, and make the
11503 old -face variables obsolete.
11504 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
11505 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
11506 (rst-block-face, rst-external-face, rst-definition-face)
11507 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
11508 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
11509 Make obsolete.
11510 (rst-font-lock-keywords-function): Update for above changes.
11511
11512 2010-03-20 Juri Linkov <juri@jurta.org>
11513
11514 * s-region.el:
11515 * obsolete/s-region.el: Move to obsolete.
11516
11517 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
11518
11519 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
11520
11521 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
11522
11523 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
11524
11525 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
11526
11527 Add special markup processing for commit logs.
11528 * log-edit.el (log-edit-extra-flags): New variable.
11529 (log-edit): Add new argument MODE. Use that mode when non-nil
11530 instead of the log-view-mode.
11531 (log-view-process-buffer): New function.
11532
11533 * vc.el: Document that the checkin method takes optional
11534 arguments. Document new backend specific method: log-view-mode.
11535 (vc-default-log-edit-mode): New function.
11536 (vc-checkin): Use a backend specific log-view-mode.
11537 Pass extra arguments to the checkin method.
11538 (vc-modify-change-comment): Pass a dummy extra argument.
11539
11540 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
11541 log-edit.
11542 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
11543 (vc-finish-logentry): Process the log buffer before passing it
11544 down. Pass log-edit-extra-flags.
11545
11546 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
11547 command.
11548 (log-edit-extra-flags, log-edit-before-checkin-process):
11549 New declarations.
11550
11551 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
11552 command.
11553 (log-edit-extra-flags, log-edit-before-checkin-process):
11554 New declarations.
11555 (vc-hg-log-edit-mode): New derived mode.
11556
11557 * vc-arch.el (vc-arch-checkin):
11558 * vc-cvs.el (vc-cvs-checkin):
11559 * vc-git.el (vc-git-checkin):
11560 * vc-mtn.el (vc-mtn-checkin):
11561 * vc-rcs.el (vc-rcs-checkin):
11562 * vc-sccs.el (vc-sccs-checkin):
11563 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
11564
11565 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11566
11567 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
11568 parent typo).
11569
11570 2010-03-19 Glenn Morris <rgm@gnu.org>
11571
11572 * password-cache.el (password-cache, password-cache-expiry): Autoload.
11573
11574 2010-03-18 Glenn Morris <rgm@gnu.org>
11575
11576 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
11577
11578 * replace.el (query-replace-history): Give it a doc string.
11579 (map-query-replace-regexp): Use query-replace-from-history-variable
11580 and query-replace-to-history-variable.
11581
11582 * mail/hashcash.el (declare-function): Remove duplicate definition.
11583
11584 * mail/emacsbug.el (report-emacs-bug-pretest-address):
11585 Make it an obsolete alias for report-emacs-bug-address.
11586 (message-strip-special-text-properties): Declare.
11587 (report-emacs-bug): Remove test for a pretest bug address.
11588 Combine message-mode-specific code.
11589
11590 * mail/supercite.el: Don't require sendmail.
11591 (mh-in-header-p): Declare rather than using with-no-warnings.
11592 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
11593 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
11594
11595 * calendar/cal-french.el: Convert to utf-8.
11596
11597 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
11598 Emacs scripts.
11599
11600 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
11601
11602 * net/secrets.el (secrets-enabled): New variable. Use it instead
11603 of a subfeature.
11604
11605 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
11606
11607 * net/secrets.el (top): Register the D-Bus signals only when the
11608 service "org.freedesktop.secrets" can be pinged.
11609 Provide subfeature `enabled'.
11610
11611 2010-03-14 Juri Linkov <juri@jurta.org>
11612
11613 Add finder unknown keywords.
11614
11615 * finder.el (finder-unknown-keywords): New function.
11616
11617 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
11618 to create a Finder node with unknown keywords.
11619
11620 2010-03-14 Juri Linkov <juri@jurta.org>
11621
11622 * finder.el (finder-compile-keywords): Replace `princ' with
11623 `prin1' on a list of symbols interned from keyword strings.
11624
11625 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
11626 a comma, then split keywords using a comma and optional whitespace.
11627 Otherwise, split by whitespace.
11628
11629 * complete.el:
11630 * face-remap.el:
11631 * log-view.el:
11632 * net/hmac-def.el:
11633 * net/hmac-md5.el:
11634 * net/netrc.el:
11635 * progmodes/mixal-mode.el: Fix keywords.
11636
11637 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
11638
11639 * Makefile.in (ELCFILES): Add net/secrets.elc.
11640
11641 * net/secrets.el: New file.
11642
11643 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
11644
11645 * facemenu.el (list-colors-display, list-colors-print): New arg
11646 callback. Use it to allow selecting colors.
11647
11648 * wid-edit.el (widget-image-insert): Insert image prop even if the
11649 current display is non-graphic.
11650 (widget-field-value-set): New fun.
11651 (editable-field): Use it.
11652 (widget-field-value-get): Clean up unused var.
11653 (widget-color-value-create, widget-color--choose-action):
11654 New funs. Allow using list-colors-display to choose color.
11655
11656 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
11657
11658 * cus-edit.el: Resort topmost custom groups.
11659 (custom-buffer-sort-alphabetically): Default to t.
11660 (customize-apropos): Use apropos-parse-pattern.
11661 (custom-search-field): New var.
11662 (custom-buffer-create-internal): Add custom-apropos search field.
11663 (custom-add-parent-links): Don't display parent doc.
11664 (custom-group-value-create): Don't sort top-level custom group.
11665 (custom-magic-value-create): Show visibility button before option name.
11666
11667 (custom-variable-state): New fun, from custom-variable-state-set.
11668 (custom-variable-state-set): Use it.
11669 (custom-group-value-create): Hide options with standard values
11670 using the :hidden-states property. Use progress reporter.
11671
11672 (custom-show): Simplify.
11673 (custom-visibility): Disable images by default.
11674 (custom-variable): New property :hidden-states.
11675 (custom-variable-value-create): Enable images for
11676 custom-visibility widgets. Use :hidden-states property to
11677 determine initial visibility.
11678
11679 * wid-edit.el (widget-image-find): Give images center ascent.
11680 (visibility): Add :on-image and :off-image properties.
11681 (widget-visibility-value-create): Use them.
11682
11683 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
11684
11685 * cus-edit.el (processes): Remove from development group.
11686 (oop, hypermedia): Delete group.
11687 (comm): Promote to top-level group.
11688
11689 * net/browse-url.el (browse-url):
11690 * net/xesam.el (xesam):
11691 * net/tramp.el (tramp):
11692 * net/goto-addr.el (goto-address):
11693 * net/ange-ftp.el (ange-ftp): Put in comm group.
11694
11695 * view.el (view): Remove from editing group.
11696
11697 * uniquify.el (uniquify): Put in files group.
11698
11699 * net/browse-url.el (browse-url):
11700 * ps-print.el (postscript): Put in external group.
11701
11702 * cus-edit.el (outlines):
11703 * textmodes/text-mode.el (text-mode-hook):
11704 * textmodes/table.el (table):
11705 * textmodes/picture.el (picture):
11706 * outline.el (outlines): Put in wp group.
11707
11708 * nxml/nxml-mode.el (nxml): Remove from wp group.
11709
11710 * net/tramp-imap.el (tramp-imap): Put in tramp group.
11711
11712 * mail/metamail.el (metamail): Remove from hypermedia group.
11713
11714 * cus-edit.el (abbrev):
11715 * whitespace.el (whitespace):
11716 * vcursor.el (vcursor):
11717 * reveal.el (reveal):
11718 * hl-line.el (hl-line): Put in convenience group.
11719
11720 * epg-config.el (epg): Put in data group.
11721
11722 * emulation/pc-select.el (pc-select): Put in emulations group.
11723
11724 * calculator.el (calculator): Put in applications group.
11725
11726 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
11727
11728 Add .dir-locals.el support for file-less buffers.
11729 * files.el (hack-local-variables): Split out code to apply local
11730 variable settings ...
11731 (hack-local-variables-apply): ... here. New function.
11732 (hack-dir-local-variables): Use the default directory for when the
11733 buffer does not have an associated file.
11734 (hack-dir-local-variables-non-file-buffer): New function.
11735 * diff-mode.el (diff-mode):
11736 * vc-annotate.el (vc-annotate-mode):
11737 * vc-dir.el (vc-dir-mode):
11738 * log-edit.el (log-edit-mode):
11739 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
11740
11741 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
11742
11743 Add support for shelving snapshots and for showing shelves.
11744 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
11745 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
11746 New functions.
11747 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
11748 (vc-bzr-extra-menu-map): Map them.
11749
11750 2010-03-11 Glenn Morris <rgm@gnu.org>
11751
11752 * cus-edit.el (customize-changed-options-previous-release):
11753 Bump to 23.1.
11754
11755 * image.el (image-animate-max-time): Fix :version tag.
11756
11757 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
11758
11759 * Branch for 23.2.
11760
11761 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
11762
11763 * vc-git.el (vc-git-revision-table): Include remote branches.
11764
11765 2010-03-10 Kim F. Storm <storm@cua.dk>
11766
11767 Animated image API.
11768 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
11769
11770 * image.el (image-animate-max-time): New defcustom.
11771 (image-animated-types): New defconst.
11772 (create-animated-image, image-animate-timer)
11773 (image-animate-start, image-animate-stop, image-animate-timeout)
11774 (image-animated-p): New functions.
11775
11776 * image-mode.el (image-toggle-display-image):
11777 Replace `create-image' with `create-animated-image'.
11778
11779 2010-03-09 Miles Bader <miles@gnu.org>
11780
11781 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
11782 instead of "format:"; this ensures that the output is
11783 newline-terminated.
11784
11785 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
11786
11787 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
11788 that all errors are caught, and that the return value is always a
11789 list (Bug#5692).
11790
11791 2010-03-08 Kenichi Handa <handa@m17n.org>
11792
11793 * language/misc-lang.el (windows-1256): New coding system.
11794 (cp1256): New alias of windows-1256 (bug#5690).
11795
11796 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
11797
11798 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
11799 call to rfc822-bad-address. (Bug#5692)
11800
11801 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
11802
11803 * vc-git.el (vc-git-annotate-extract-revision-at-line):
11804 Use vc-git-root as default directory for revision path (Bug#5657).
11805
11806 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
11807
11808 * calculator.el (calculator): Don't bind split-window-keep-point
11809 (Bug#5674).
11810
11811 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
11812
11813 * vc-git.el: Re-flow to fit into 80 columns.
11814 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
11815 Remove spurious `quote' element in each case alternative.
11816 (vc-git-show-log-entry): Use prog1.
11817 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
11818
11819 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
11820
11821 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
11822
11823 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
11824
11825 * macros.el (insert-kbd-macro): Look up keyboard macro using the
11826 definition, not the name (Bug#5481).
11827
11828 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
11829
11830 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
11831 argument with a local variable. (Bug#5670)
11832
11833 2010-03-02 Juri Linkov <juri@jurta.org>
11834
11835 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
11836
11837 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
11838
11839 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
11840 error when FILENAME and NEWNAME are existing remote directories.
11841
11842 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
11843 parameter DIR-FLAG.
11844
11845 2010-03-02 Glenn Morris <rgm@gnu.org>
11846
11847 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
11848 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
11849
11850 2010-03-01 Kenichi Handa <handa@m17n.org>
11851
11852 * language/burmese.el (burmese-composable-pattern): Rename from
11853 myanmar-composable-pattern.
11854
11855 * international/characters.el (script-list):
11856 * international/fontset.el (script-representative-chars):
11857 Change myanmar to burmese.
11858 (otf-script-alist): Likewise.
11859 (setup-default-fontset): Likewise. Re-fix :otf spec.
11860
11861 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
11862
11863 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
11864
11865 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
11866
11867 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
11868
11869 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
11870
11871 * net/tramp.el (tramp-handle-write-region): START can be a string.
11872 Take care in the checks. Reported by Dan Davison
11873 <davison@stats.ox.ac.uk>.
11874
11875 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
11876
11877 * net/dbus.el (dbus-introspect, dbus-get-property)
11878 (dbus-set-property, dbus-get-all-properties):
11879 Use `dbus-call-method' when noninteractive. (Bug#5645)
11880
11881 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
11882
11883 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
11884 * emacs-lisp/elint.el (elint-add-required-env):
11885 * calendar/icalendar.el (icalendar--add-diary-entry):
11886 * calc/calcalg2.el (math-tracing-integral):
11887 * files.el (recover-session-finish): Use with-current-buffer
11888 instead of save-excursion.
11889
11890 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
11891
11892 Fix in-buffer completion when after-change-functions modify the buffer.
11893 * minibuffer.el (completion--replace): New function.
11894 (completion--do-completion): Use it and use relative movement.
11895
11896 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
11897
11898 * international/fontset.el (setup-default-fontset): Fix :otf spec.
11899
11900 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
11901
11902 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
11903 Allow the characters _<> in the stack entry (Bug#5653).
11904
11905 2010-02-26 Kenichi Handa <handa@m17n.org>
11906
11907 * language/burmese.el: Fix entries in composition-function-table.
11908 (myanmar-composable-pattern): New variable.
11909
11910 * international/fontset.el (setup-default-fontset): Add an entry
11911 for myanmar.
11912
11913 * international/characters.el (script-list): Add Myanmar
11914 Extended-A.
11915
11916 2010-02-26 Glenn Morris <rgm@gnu.org>
11917
11918 * custom.el (custom-initialize-delay): Doc fix.
11919
11920 * mail/sendmail.el (send-mail-function): Autoload the call
11921 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
11922
11923 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
11924
11925 * files.el (hack-local-variables-filter): For eval forms, also
11926 check safe-local-variable-p (Bug#5636).
11927
11928 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
11929
11930 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
11931 setting the modes by `ignore-errors'. It might fail, for example
11932 if the file is not owned by the user but the group.
11933 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
11934
11935 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
11936
11937 * files.el (directory-listing-before-filename-regexp):
11938 Use stricter matching for iso-style dates, to avoid false matches with
11939 date-like filenames (Bug#5597).
11940
11941 * htmlfontify.el (htmlfontify): Doc fix.
11942
11943 * eshell/eshell.el (eshell): Doc fix.
11944
11945 * startup.el (fancy-about-screen): In mode-line, apply
11946 mode-line-buffer-id face only to the buffer name (Bug#5613).
11947
11948 2010-02-20 Kevin Ryde <user42@zip.com.au>
11949
11950 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11951 In `watcom' anchor regexp to start of line, to avoid slowness
11952 (Bug#5599).
11953
11954 2010-02-20 Eli Zaretskii <eliz@gnu.org>
11955
11956 * subr.el (remove-yank-excluded-properties): Explain in a comment
11957 why `category' property is removed.
11958
11959 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
11960
11961 * isearch.el (isearch-update-post-hook, isearch-update):
11962 Revert 2010-02-17 change.
11963
11964 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
11965
11966 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
11967 (icalendar--convert-weekly-to-ical)
11968 (icalendar--convert-yearly-to-ical)
11969 (icalendar--convert-block-to-ical)
11970 (icalendar--convert-cyclic-to-ical)
11971 (icalendar--convert-anniversary-to-ical): Take care of time
11972 specifications where hour has 1-digit only (Bug#5549).
11973
11974 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
11975
11976 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
11977 of disassemble output in GDB 7.1.
11978
11979 2010-02-19 Glenn Morris <rgm@gnu.org>
11980
11981 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
11982 property. (Bug#5593)
11983
11984 2010-02-18 Sam Steingold <sds@gnu.org>
11985
11986 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
11987
11988 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
11989
11990 Use abbreviated file names in bookmarks (bug#5591).
11991 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
11992 calls to expand-file-name.
11993 (bookmark-relocate): Use abbreviated file names in bookmarks.
11994 (bookmark-load): Use abbreviated file names in messages.
11995
11996 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
11997
11998 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
11999 expand "." and "..". Reported by Thierry Volpiatto
12000 <thierry.volpiatto@gmail.com>.
12001
12002 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
12003
12004 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
12005 permissions of the temporary file to "0600". In case the remote
12006 file has no read permissions for the owner, there might be
12007 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
12008
12009 22010-02-18 Glenn Morris <rgm@gnu.org>
12010
12011 * emacs-lisp/authors.el (authors-renamed-files-alist):
12012 Add entries for INSTALL.CVS.
12013
12014 2010-02-17 Mark A. Hershberger <mah@everybody.org>
12015
12016 * vc-bzr.el: Fix typo in Known Bugs section.
12017
12018 * isearch.el (isearch-update-post-hook): New hook.
12019 (isearch-update): Use the new hook.
12020
12021 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
12022
12023 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
12024 Fix errors in copying directories.
12025 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
12026 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
12027 (tramp-handle-delete-file)
12028 (tramp-handle-dired-recursive-delete-directory)
12029 (tramp-handle-write-region): Flush also the cache for the upper
12030 directory.
12031
12032 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
12033
12034 * simple.el (save-interprogram-paste-before-kill): Doc fix.
12035
12036 * cus-edit.el (hardware): Doc fix.
12037
12038 * man.el (man): Add to external custom group.
12039
12040 * delim-col.el (columns): Move to wp custom group.
12041
12042 * doc-view.el (doc-view): Add to data custom group.
12043
12044 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
12045
12046 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
12047 by ispell-parse-output (Bug#5575).
12048
12049 2010-02-16 Kenichi Handa <handa@m17n.org>
12050
12051 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
12052 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
12053 (skkdic-convert): Use `euc-japan' coding system for writing.
12054
12055 2010-02-16 Glenn Morris <rgm@gnu.org>
12056
12057 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
12058 tex-main-file before using it. (Bug#5562)
12059
12060 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
12061
12062 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
12063 warnings, since it is annoying for the user to see them each time he
12064 runs the code.
12065
12066 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
12067
12068 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
12069 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
12070 instead of PROC for caching "first-password-request". Otherwise,
12071 new processes would not profit from passwords already entered.
12072
12073 * net/tramp-cache.el (tramp-dump-connection-properties):
12074 Don't save "first-password-request" property.
12075
12076 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
12077
12078 * outline.el (outline-head-from-level):
12079 * simple.el (with-wrapper-hook):
12080 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
12081 (elint-defun, elint-buffer-env, elint-top-form-logged)
12082 (elint-unbound-variable):
12083 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
12084 Fix typos in docstrings.
12085
12086 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
12087
12088 * files.el (insert-directory): When WILDCARD-REGEXP and
12089 FULL-DIRECTORY-P are nil, insert the file entry instead of the
12090 whole directory. (Bug#5551)
12091
12092 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
12093 dired's alignment sanity. (Bug#5516)
12094
12095 2010-02-14 Juri Linkov <juri@jurta.org>
12096
12097 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
12098 Remove remaining ^H with their preceding chars. (Bug#5566)
12099
12100 2010-02-13 Glenn Morris <rgm@gnu.org>
12101
12102 * simple.el (transpose-subr): Give it a doc-string.
12103
12104 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
12105 Doc fixes.
12106
12107 2010-02-12 Juri Linkov <juri@jurta.org>
12108
12109 * arc-mode.el (archive-unique-fname): Make directories for nested
12110 archives. (Bug#5540)
12111
12112 2010-02-12 Juri Linkov <juri@jurta.org>
12113
12114 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
12115
12116 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
12117
12118 * subr.el (copy-overlay): Handle deleted overlays.
12119
12120 * man.el (Man-completion-table): Don't signal an error if we can't run
12121 manual-program (bug#4056).
12122
12123 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
12124
12125 * textmodes/artist.el (artist-mt): Fix typos in docstring.
12126
12127 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12128
12129 * info.el (Info-bookmark-jump): Simplify.
12130
12131 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
12132 (bookmark-default-handler): Accept new bookmark field `buffer'.
12133
12134 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
12135
12136 * iswitchb.el (iswitchb-completions): Revert last change.
12137
12138 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
12139
12140 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
12141 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
12142 This prevents file names like "~/" being listed literally.
12143
12144 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
12145
12146 * term/xterm.el (xterm-maybe-set-dark-background-mode):
12147 Remove dead code. (Bug#5546)
12148
12149 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
12150
12151 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
12152 correctly (Bug#5548).
12153
12154 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
12155
12156 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
12157 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
12158
12159 2010-02-08 Kenichi Handa <handa@m17n.org>
12160
12161 * international/mule-util.el (with-coding-priority): Add autoload
12162 cookie for putting `lisp-indent-function'.
12163
12164 2010-02-07 Glenn Morris <rgm@gnu.org>
12165
12166 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
12167 Move F2003 named interfaces from keywords-2 to keywords-1, and
12168 use function-name-face rather than constant-face.
12169 Simplify "abstract interface" regexp.
12170
12171 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
12172
12173 * eshell/esh-util.el (eshell-file-attributes): New optional arg
12174 ID-FORMAT. Pass it to `file-attributes'.
12175
12176 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
12177
12178 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
12179
12180 * faces.el (set-face-attribute): Allow calling
12181 internal-set-lisp-face-attribute with 'unspecified family and
12182 foundry argument (Bug#5536).
12183
12184 2010-02-07 Glenn Morris <rgm@gnu.org>
12185
12186 * progmodes/f90.el (f90-font-lock-keywords-2)
12187 (f90-looking-at-type-like, f90-looking-at-program-block-end):
12188 Handle F2003 named interfaces.
12189
12190 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
12191
12192 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
12193 beg and end before calling c-get-state-before-change-functions.
12194
12195 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
12196
12197 * vc-bzr.el (vc-bzr-dir-extra-headers):
12198 Disable the pending merges header.
12199
12200 2010-02-05 Juri Linkov <juri@jurta.org>
12201
12202 * doc-view.el (doc-view-mode):
12203 * image-mode.el (image-mode): Put property mode-class=special.
12204 (Bug#4896)
12205
12206 2010-02-05 Mark A. Hershberger <mah@everybody.org>
12207
12208 * vc-svn.el (vc-svn-revision-table): New function.
12209
12210 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
12211
12212 * net/ange-ftp.el (ange-ftp-insert-directory):
12213 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
12214 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
12215 Handle also directories. (Bug#5478)
12216
12217 2010-02-05 Glenn Morris <rgm@gnu.org>
12218
12219 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
12220
12221 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
12222
12223 * startup.el (command-line-1): Convert options beginning with a
12224 single dash as well (Bug#5519).
12225
12226 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
12227
12228 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
12229 * minibuffer.el (completion-initials-expand): Only check the presence
12230 of delims *within* the boundaries, since otherwise the / delim is
12231 always found for files.
12232
12233 Fix up various corner case problems.
12234 * doc-view.el (doc-view-last-page-number): New function.
12235 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
12236 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
12237 (doc-view-kill-proc): Avoid inf-loop in freak cases.
12238 (doc-view-reconvert-doc): Use the new recursive delete-directory.
12239 (doc-view-convert-current-doc): Don't create the resolution.el file
12240 here any more.
12241 (doc-view-pdf/ps->png): Do it here instead.
12242 (doc-view-already-converted-p): Check that resolution.el is present.
12243 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
12244 windows that are not yet showing images.
12245
12246 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
12247
12248 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
12249 `dired-uncache' for every elemnt which is an absolute file name.
12250
12251 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
12252 directory, handle its directory component.
12253 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
12254 function is called permanently and creates noise, otherwise.
12255
12256 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
12257 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
12258 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
12259
12260 2010-02-04 David Burger <dburger@google.com> (tiny change)
12261
12262 * macros.el (apply-macro-to-region-lines):
12263 Minor simplification. (Bug#5485)
12264
12265 2010-02-04 Glenn Morris <rgm@gnu.org>
12266
12267 * mail/rmail.el (rmail-show-message-1): Handle malformed
12268 quoted-printable text. (Bug#5441)
12269
12270 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
12271
12272 * simple.el (visual-line-mode): Capitalize lighter.
12273
12274 2010-02-03 John Wiegley <jwiegley@gmail.com>
12275
12276 * iswitchb.el (iswitchb-completions): Add bookmark files to the
12277 list of files considered for "virtual buffer" completions.
12278
12279 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
12280
12281 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
12282 also in case of (and (not full) (not wildcard)). This is needed
12283 when dired is called with a list of files, which are not in
12284 `default-directory'. (Bug#5478)
12285
12286 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
12287
12288 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
12289
12290 2010-02-02 Juri Linkov <juri@jurta.org>
12291
12292 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
12293 from unidiff to allow function-line after @@.
12294
12295 2010-02-02 Juri Linkov <juri@jurta.org>
12296
12297 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
12298 '(RCS SCCS) with inverted condition.
12299
12300 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
12301
12302 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
12303 messages.
12304
12305 2010-02-01 Juri Linkov <juri@jurta.org>
12306
12307 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
12308 compare with "pkunzip" and "pkzip" instead of only "pkzip".
12309 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
12310 only when (car archive-zip-extract) is "unzip". (Bug#5475)
12311
12312 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
12313
12314 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
12315 (doc-view-revert-buffer): New command.
12316 (doc-view-mode-map): Use it.
12317
12318 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
12319
12320 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
12321 pending merge is detected.
12322
12323 2010-01-31 Juri Linkov <juri@jurta.org>
12324
12325 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
12326 beginning of interactive spec like all other grep commands do.
12327 Put "all" in front of "gz". (Bug#5260)
12328
12329 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
12330
12331 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
12332
12333 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
12334
12335 * dirtrack.el (dirtrack): Warn instead of signalling error if the
12336 regexp is incorrect (Bug#5476).
12337
12338 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
12339
12340 * net/tramp.el (tramp-handle-insert-directory): Handle also
12341 symlinks, when FILENAME is not in `default-directory'.
12342
12343 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
12344
12345 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
12346 FILE is not in `default-directory'. (Bug#5478)
12347
12348 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
12349 of SWITCHES. Handle the case, FILENAME is not in
12350 `default-directory'. (Bug#5478)
12351 (tramp-register-file-name-handlers): Add safe-magic property.
12352
12353 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
12354
12355 * arc-mode.el (archive-zip-extract): Quote the argument passed to
12356 unzip (Bug#5475).
12357
12358 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
12359
12360 * progmodes/flymake.el (flymake-allowed-file-name-masks)
12361 (flymake-master-make-header-init): Add other C++ filename masks.
12362 (flymake-find-possible-master-files)
12363 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
12364
12365 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
12366
12367 Fix some busybox annoyances.
12368
12369 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
12370 not responding." string.
12371 (tramp-open-connection-setup-interactive-shell): Dump stty
12372 settings. Enable "neveropen" arg for all `tramp-send-command'
12373 calls. Handle "=" in variable values properly.
12374 (tramp-find-inline-encoding): Raise an error, when no encoding is
12375 found.
12376 (tramp-wait-for-output): Check, whether PROC buffer is available.
12377 Remove spurious " ^H" sequences, sent by busybox.
12378 (tramp-get-ls-command): Suppress coloring, if possible.
12379
12380 2010-01-28 Glenn Morris <rgm@gnu.org>
12381
12382 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
12383
12384 * log-edit.el (log-edit-strip-single-file-name): Add missing
12385 :safe, :group, and :version tags.
12386
12387 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
12388
12389 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
12390 buffers. (Bug#5477)
12391
12392 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
12393
12394 * files.el (delete-directory): Handle moving to trash without
12395 first doing recursion (Bug#5436).
12396
12397 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
12398
12399 * vc-hooks.el (vc-path): Mark as obsolete.
12400
12401 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
12402
12403 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
12404 names too.
12405
12406 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
12407 for the short log.
12408 (vc-bzr-log-view-mode): Adjust regexp for the above change.
12409
12410 2010-01-25 Mark A. Hershberger <mah@everybody.org>
12411
12412 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
12413
12414 * vc-bzr.el (vc-bzr-revision-table): New function.
12415
12416 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
12417
12418 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
12419 diff-index command. This requires at least git-1.5.5. (Bug#1589).
12420
12421 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
12422
12423 Remove support for adding --signoff on commit.
12424 Future support will use an incompatible generic mechanism.
12425 * vc-git.el (vc-git-add-signoff): Remove variable.
12426 (vc-git-toggle-signoff): Remove function.
12427 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
12428
12429 * term/xterm.el (xterm-maybe-set-dark-background-mode):
12430 Rename from xterm-set-background-mode. Return t if the background mode
12431 was set.
12432 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
12433 earlier, call it again in case the background mode has changed.
12434
12435 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
12436
12437 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
12438 (Bug#3541).
12439
12440 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
12441
12442 * emacs-lisp/assoc.el (aelement): Doc fix.
12443 (aput, adelete, amake): Use lexical-let (Bug#5450).
12444
12445 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
12446
12447 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
12448 is the same as subprogram call, not declaration. (Bug#5435).
12449
12450 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
12451
12452 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
12453 (tramp-smb-maybe-open-connection): Use it.
12454
12455 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
12456
12457 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
12458
12459 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
12460
12461 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
12462 just because we see "encoding: 8bit".
12463 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
12464
12465 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
12466
12467 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
12468
12469 2010-01-22 Eli Zaretskii <eliz@gnu.org>
12470
12471 * jka-compr.el (jka-compr-load): If load-file is not in
12472 load-history, try its file-truename version. (bug#5447)
12473
12474 2010-01-21 Alan Mackenzie <acm@muc.de>
12475
12476 Fix a situation where deletion of a cpp construct throws an error.
12477 * progmodes/cc-engine.el (c-invalidate-state-cache):
12478 Before invoking c-with-all-but-one-cpps-commented-out, check that the
12479 special cpp construct is still in the buffer.
12480 (c-parse-state): Record the special cpp with markers, not numbers.
12481
12482 2010-01-21 Kenichi Handa <handa@m17n.org>
12483
12484 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
12485 process last-command-event, as it is now decoded first (Bug#5380).
12486
12487 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
12488
12489 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
12490
12491 2010-01-20 Glenn Morris <rgm@gnu.org>
12492
12493 * indent.el (tab-always-indent): Fix custom-type.
12494
12495 2010-01-19 Alan Mackenzie <acm@muc.de>
12496
12497 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
12498 buffer throws "args out of range".
12499 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
12500 playing the role of delimiter.
12501
12502 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
12503
12504 * progmodes/ada-mode.el: Fix bug#5400.
12505 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
12506 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
12507 changed. Delete RECURSIVE parameter; never used. Improve doc string.
12508 Improve comments in "is" portion. Handle null procedure declaration.
12509 (ada-move-to-end): Improve doc string.
12510
12511 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
12512
12513 * ido.el (ido-cur-list): Initialize to nil.
12514 Remove obsolete information from commentary.
12515 (ido-choice-list): Initialize to nil.
12516 (ido-get-bufname): Reject minibuffers.
12517 (ido-make-buffer-list): If "default" is a nonexistent
12518 buffer, ignore it, as per the function's comment.
12519 (ido-kill-buffer-internal): New function.
12520 (ido-kill-buffer-at-head): Use it.
12521 (ido-visit-buffer): Likewise.
12522
12523 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
12524
12525 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
12526
12527 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
12528
12529 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
12530 Fix typos in chart titles.
12531
12532 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
12533 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
12534 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
12535 (describe-class, eieio-describe-generic, describe-generic):
12536 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
12537 (eieio-speedbar-expand):
12538 * emulation/viper-cmd.el (viper-exec-form-in-vi)
12539 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
12540 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
12541 (viper-del-backward-char-in-replace, viper-backward-indent)
12542 (viper-brac-function, viper-register-to-point, viper-submit-report):
12543 * net/tramp.el (tramp-remote-coding-commands):
12544 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
12545 Fix typos in docstrings.
12546
12547 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
12548
12549 * mail/sendmail.el (mail-yank-original): Set the mark if the
12550 specified function for yanking does not do it.
12551
12552 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
12553
12554 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
12555
12556 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
12557 resyncing a directory.
12558
12559 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
12560
12561 * progmodes/ada-mode.el: Fix bug#1920.
12562 (ada-ident-re): Delete ., allow multibyte characters.
12563 (ada-goto-label-re): New; matches goto labels.
12564 (ada-block-label-re): New; matches block labels.
12565 (ada-label-re): New; matches both.
12566 (ada-named-block-re): Deleted; callers changed to use
12567 `ada-block-label-re' instead.
12568 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
12569 Use `ada-block-label-re'.
12570 (ada-indent-on-previous-lines): Improve handling of goto labels.
12571 (ada-get-indent-block-start): Special-case block label.
12572 (ada-get-indent-label): Split into `ada-indent-block-label' and
12573 `ada-indent-goto-label'.
12574 (ada-goto-stmt-start, ada-goto-next-non-ws):
12575 Optionally ignore goto labels.
12576 (ada-goto-next-word): Simplify.
12577 (ada-indent-newline-indent-conditional): Insert newline before
12578 trying to fix indentation; doc fix.
12579
12580 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
12581
12582 * calc/calc.el (calc-command-flags): Give it an initial value.
12583
12584 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
12585
12586 * files.el (minibuffer-with-setup-hook):
12587 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
12588 (artist-key-draw-continously, artist-key-do-continously-continously)
12589 (artist-key-set-point-continously, artist-mouse-draw-continously):
12590 Fix typos in docstrings.
12591
12592 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
12593
12594 * nxml/nxml-mode.el (nxml-extend-after-change-region):
12595 Never return t (Bug#3898).
12596
12597 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
12598
12599 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
12600 can parse the output of the external commands (Bug#5279).
12601
12602 2010-01-16 Jari Aalto <jari.aalto@cante.net>
12603
12604 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
12605
12606 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
12607
12608 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
12609
12610 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
12611
12612 * startup.el (command-line): Remove unused --icon-type arg.
12613 Handle --display arg, passing it to command-line-1 (Bug#5392).
12614
12615 2010-01-16 Mario Lang <mlang@delysid.org>
12616
12617 * emacs-lisp/chart.el (chart-translate-namezone):
12618 * textmodes/artist.el (artist-compute-popup-menu-table):
12619 Remove duplicated words in doc-strings.
12620
12621 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
12622
12623 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
12624 to mairix-search to suppress threading (Bug#5342).
12625
12626 2010-01-15 Kenichi Handa <handa@m17n.org>
12627
12628 * international/mule-cmds.el (canonicalize-coding-system-name):
12629 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
12630
12631 2010-01-15 Glenn Morris <rgm@gnu.org>
12632
12633 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
12634
12635 * wid-edit.el (widget-keymap): Doc fix.
12636
12637 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
12638 former seems to be more widely accepted by various svn versions.
12639
12640 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
12641
12642 * find-cmd.el (find-constituents):
12643 * vc-arch.el (vc-arch-root):
12644 * window.el (window-body-height, pop-up-frames):
12645 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
12646 * progmodes/ada-stmt.el (ada-if):
12647 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
12648 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
12649 (ispell-encoding8-command, ispell-aspell-supports-utf8)
12650 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
12651
12652 * progmodes/flymake.el (flymake-post-syntax-check):
12653 Fix typo in error message.
12654
12655 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
12656
12657 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
12658 which is always a string. (Bug#5313)
12659
12660 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
12661
12662 * progmodes/ada-xref.el (ada-default-prj-properties):
12663 Simplify previous change.
12664
12665 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12666
12667 * progmodes/ada-xref.el (ada-default-prj-properties):
12668 Default ada_project_path to $ADA_PROJECT_PATH.
12669
12670 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12671
12672 * progmodes/ada-mode.el (ada-create-keymap):
12673 Override `narrow-to-defun' with `ada-narrow-to-defun'.
12674
12675 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12676
12677 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
12678 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
12679 (ada-get-current-indent, ada-imenu-generic-expression)
12680 (ada-which-function): Check for it.
12681
12682 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12683
12684 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
12685 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
12686
12687 2010-01-14 Glenn Morris <rgm@gnu.org>
12688
12689 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
12690
12691 2010-01-14 Kenichi Handa <handa@m17n.org>
12692
12693 * composite.el (auto-composition-mode): Make it a buffer local
12694 variable (permanent-local).
12695 (auto-composition-function): Set the default value to
12696 auto-compose-chars.
12697 (auto-composition-mode): Make it a simple function, not a minor mode.
12698 (global-auto-composition-mode): Likewise.
12699 (turn-on-auto-composition-if-enabled): Delete it.
12700
12701 2010-01-13 Karl Fogel <kfogel@red-bean.com>
12702
12703 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
12704
12705 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
12706
12707 * files.el (copy-directory): Compute target for recursive
12708 directories with identical names. (Bug#5343)
12709
12710 2010-01-12 Glenn Morris <rgm@gnu.org>
12711
12712 * mail/emacsbug.el (report-emacs-bug-pretest-address):
12713 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
12714
12715 2010-01-11 Sam Steingold <sds@gnu.org>
12716
12717 * imenu.el (imenu-default-create-index-function): Detect infinite
12718 loops caused by imenu-prev-index-position-function.
12719
12720 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
12721
12722 * htmlfontify.el (htmlfontify-load-rgb-file)
12723 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
12724 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
12725 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
12726 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
12727 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
12728 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
12729 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
12730 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
12731 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
12732 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
12733 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
12734 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
12735 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
12736 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
12737 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
12738 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
12739 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
12740 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
12741 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
12742 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
12743 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
12744 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
12745 backslash-quoting from parentheses, etc.
12746
12747 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
12748
12749 * progmodes/js.el: Autoload javascript-mode alias.
12750
12751 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
12752
12753 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
12754 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
12755 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
12756 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
12757 Fix typos in docstrings.
12758 (ffap-url-regexp): Doc fix.
12759 (ffap-at-mouse): Fix typo in message.
12760
12761 2010-01-11 Glenn Morris <rgm@gnu.org>
12762
12763 * version.el (emacs-copyright): Set copyright year to 2010.
12764
12765 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
12766
12767 * format.el (format-annotate-function): Only set
12768 write-region-post-annotation-function after running to-fn so as not to
12769 affect nested write-region calls (bug#5273).
12770
12771 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
12772
12773 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
12774 wisent/python.el.
12775
12776 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
12777
12778 * man.el (Man-goto-section): Signal error if the section is not
12779 found (Bug#5317).
12780
12781 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
12782
12783 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
12784 URLs with a leading triple slash in the file: scheme. (Bug#5345)
12785
12786 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
12787
12788 * progmodes/compile.el: Don't treat compile-command as safe if
12789 compilation-read-command might be nil (Bug#4218).
12790
12791 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
12792
12793 * startup.el (command-line-1): Use orig-argi to check for ignored X and
12794 NS options.
12795
12796 2010-01-08 Kenichi Handa <handa@m17n.org>
12797
12798 * international/fontset.el (build-default-fontset-data):
12799 Exclude characters in scripts kana, hangul, han, or cjk-misc.
12800
12801 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
12802
12803 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
12804 to `create-file-buffer' as it expects, not just a buffer name.
12805 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
12806 to help uniquify. (Bug#3224)
12807
12808 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
12809
12810 * font-setting.el (font-setting-change-default-font): Use user-spec
12811 instead of name.
12812
12813 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
12814
12815 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
12816
12817 2010-01-05 Tom Tromey <tromey@redhat.com>
12818
12819 * progmodes/python.el (python-font-lock-keywords):
12820 Handle qualified decorators (Bug#881).
12821
12822 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
12823
12824 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
12825 in a lightweight checkout.
12826
12827 2010-01-05 Kenichi Handa <handa@m17n.org>
12828
12829 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
12830
12831 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
12832
12833 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
12834
12835 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
12836
12837 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
12838 checkouts. (Bug#618)
12839 (vc-bzr-log-view-mode): Also highlight the author.
12840 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
12841 (vc-bzr-shelve-menu-map):
12842 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
12843 (vc-bzr-shelve-apply): Make prompt more explicit.
12844
12845 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
12846
12847 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
12848 They are valid characters in URL paths (rfc3986), and at least
12849 Firefox does not understand the encoded version (Bug#3166).
12850
12851 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
12852
12853 * progmodes/octave-mod.el (octave-end-keywords)
12854 (octave-block-begin-or-end-regexp, octave-block-match-alist):
12855 Add "end" keyword (Bug#3061).
12856 (octave-end-as-array-index-p): New function.
12857 (calculate-octave-indent): Use it.
12858
12859 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12860
12861 * bookmark.el: Consistently put the text property on the bookmark name.
12862 (bookmark-bmenu-marks-width): Bump back to 2, to include
12863 annotation marks.
12864 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
12865 property on the bookmark name, instead of not putting it at all.
12866 (bookmark-bmenu-list): Fix where we put the text property.
12867
12868 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12869
12870 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
12871 for showing buffer modified state (as added in the previous change).
12872
12873 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12874
12875 * bookmark.el: Show modified state of bookmark buffer more accurately.
12876 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
12877 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
12878 (with-buffer-modified-unmodified): New macro.
12879 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
12880 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
12881 Use new macro to preserve the buffer modified state.
12882
12883 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12884
12885 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
12886 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
12887 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
12888 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
12889 (bookmark-bmenu-rename, bookmark-bmenu-locate)
12890 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
12891 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
12892
12893 2010-01-02 Eli Zaretskii <eliz@gnu.org>
12894
12895 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12896 Make the lines in the generated doc string shorter. (Bug#4668)
12897
12898 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
12899
12900 * net/rcirc.el: Add follow-link binding (Bug#4738).
12901
12902 2010-01-02 Eli Zaretskii <eliz@gnu.org>
12903
12904 * Makefile.in (bzr-update): Rename from cvs-update.
12905 (cvs-update): New target for backward compatibility.
12906
12907 * makefile.w32-in (bzr-update): Rename from cvs-update.
12908 (cvs-update): New target for backward compatibility.
12909
12910 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12911
12912 * bookmark.el: Remove gratuitous gratitude.
12913
12914 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12915
12916 * bookmark.el (bookmark-bmenu-any-marks): New function.
12917 (bookmark-bmenu-save): Clear buffer modification if no marks.
12918
12919 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12920
12921 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
12922 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
12923 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
12924 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
12925
12926 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
12927 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
12928 To: emacs-devel {_AT_} gnu.org
12929 Subject: bookmark.el bug report
12930 Date: Mon, 28 Dec 2009 14:19:16 +0800
12931 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
12932
12933 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12934
12935 * bookmark.el: Improvements suggested by Drew Adams:
12936 (bookmark-bmenu-ensure-position): New name for
12937 `bookmark-bmenu-check-position'. Just ensure the position,
12938 don't return any meaningful value.
12939 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
12940 New constants.
12941
12942 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
12943
12944 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
12945 (bookmark-yank-point, bookmark-bmenu-check-position):
12946 Fix typos in docstrings.
12947 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
12948 (bookmark-name-from-full-record, bookmark-get-position)
12949 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
12950 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
12951 Remove useless quoting of parenthesis, etc. in docstrings.
12952
12953 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
12954 (ediff-append-custom-diff): Fix typo in error message.
12955 (ediff-meta-mark-equal-files): Fix typos in messages.
12956
12957 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
12958
12959 * net/imap-hash.el (imap-hash-make): Doc fix.
12960 (imap-hash-test): Fix typo in error message; reflow docstring.
12961 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
12962 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
12963 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
12964 Fix typos in docstrings.
12965 (imap-hash-open-connection): Fix typo in error message.
12966
12967 * play/gomoku.el (gomoku): Fix typos in docstring.
12968
12969 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
12970 (gdb-jsonify-buffer): Fix typos in docstring.
12971 (gdb-goto-breakpoint): Fix typo in error message.
12972 ("Display Other Windows"): Fix typo in help message.
12973 (gdb-speedbar-expand-node): Fix typo in question.
12974
12975 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
12976 (idlwave-html-system-help-location, idlwave-html-help-location)
12977 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
12978 (idlwave-help-browser-generic-args, idlwave-help-directory)
12979 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
12980 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
12981 (idlwave-online-help, idlwave-help-html-link)
12982 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
12983 Fix typos in docstrings.
12984 (idlwave-help-with-source, idlwave-help-find-routine-definition):
12985 Reflow docstrings.
12986 (idlwave-help-assistant-start): Fix typo in error message.
12987
12988 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
12989 (octave-electric-space): Fix typos in docstrings.
12990
12991 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
12992
12993 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
12994
12995 2010-01-01 Juri Linkov <juri@jurta.org>
12996
12997 * comint.el (comint-input-ring-size): Make it a defcustom and
12998 increase the default to 500 (Bug#5148).
12999
13000 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
13001
13002 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
13003 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
13004 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
13005
13006 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
13007
13008 Show working revision correctly for mercurial.
13009 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
13010 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
13011
13012 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
13013
13014 Declare some functions for the byte-compiler.
13015 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
13016 (speedbar-timer-fn, speedbar-change-expand-button-char)
13017 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
13018
13019 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
13020
13021 This changeset reverts GDB Graphical Interface to use annotations.
13022 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
13023
13024 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
13025
13026 Make vc-dir work on subdirectories of the bzr root.
13027 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
13028 Return file names relative to it.
13029 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
13030 relative directory to vc-bzr-after-dir-status.
13031
13032 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
13033
13034 * font-lock.el (font-lock-refresh-defaults): New function, which
13035 can be used to let font-lock react to external changes in
13036 variables like font-lock-defaults and keywords.
13037 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
13038
13039 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
13040
13041 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
13042
13043 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
13044
13045 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
13046
13047 Supersede color.diff settings in git log (bug#5211).
13048
13049 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
13050 escape chars in its output when the user has color.diff set to `always'.
13051 This fix works on git 1.4.2 and newer (released on 2006-08-13).
13052
13053 2009-12-26 Kevin Ryde <user42@zip.com.au>
13054
13055 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
13056 node. Keep previous "Index" name to work with past coreutils too.
13057
13058 * man.el (man): Revise docstring a bit to show -a and -l as
13059 examples. Add -k description since support for it has otherwise
13060 been a secret. (Further to bug#3717.)
13061 (Man-bgproc-sentinel): When "-k foo" produces no output show error
13062 "no matches" rather than "Can't find manpage", as the latter reads
13063 like -k was interpreted as a page name, which is not so. (Bug#5431)
13064
13065 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
13066
13067 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
13068 switches. Check also for //SUBDIRED// line.
13069
13070 2009-12-25 Kenichi Handa <handa@m17n.org>
13071
13072 * language/indian.el (devanagari-composable-pattern): Fix to
13073 handle ZWNJ and ZWJ. Use it in composition-function-table for
13074 Devanagari.
13075 (malayalam-composable-pattern): Fix previous change.
13076
13077 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13078
13079 * ps-print.el (ps-face-attributes): It was not returning the
13080 attribute face for faces specified as string. Reported by harven
13081 <harven@free.fr>. (Bug#5254)
13082 (ps-print-version): New version 7.3.5.
13083
13084 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
13085
13086 * calendar/icalendar.el (icalendar--convert-tz-offset):
13087 Fix timezone names.
13088 (icalendar--convert-tz-offset): Fix the "last-day-problem".
13089 (icalendar--add-diary-entry): Remove the trailing blank that
13090 diary-make-entry inserts.
13091
13092 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
13093
13094 Make `file-expand-wildcards' work for remote files.
13095
13096 * files.el (file-expand-wildcards): In case of remote files, check
13097 only local file name part for wildcards. Provide feature 'files
13098 and subfeature 'remote-wildcards. (Bug#5198)
13099
13100 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
13101 if there is already an established connection.
13102 (tramp-advice-file-expand-wildcards): Remove it.
13103
13104 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
13105 (tramp-advice-file-expand-wildcards): Move from tramp.el.
13106 Activate advice for older GNU Emacs versions. (Bug#5237)
13107
13108 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
13109
13110 Some doc fixes (more needed).
13111
13112 * find-cmd.el (find-constituents): Reflow docstring.
13113 (find-cmd, find-prune, find-command): Fix typos in docstrings.
13114 (find-generic): Doc fix.
13115
13116 2009-12-17 Juri Linkov <juri@jurta.org>
13117
13118 Fix regression from 23.1 to allow multiple modes in Local Variables.
13119
13120 * files.el (hack-local-variables-filter): While ignoring duplicates,
13121 don't take `mode' into account.
13122 (hack-local-variables-filter, hack-dir-local-variables):
13123 Don't remove duplicate `mode' from local-variables-alist (like `eval').
13124
13125 2009-12-17 Juri Linkov <juri@jurta.org>
13126
13127 Make `dired-diff' safer. (Bug#5225)
13128
13129 * dired-aux.el (dired-diff): Signal an error when `file' equals to
13130 `current' or when `file' is a directory of the `current' file.
13131
13132 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
13133
13134 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
13135 unconditionally preloaded files.
13136
13137 2009-12-16 Juri Linkov <juri@jurta.org>
13138
13139 Revert to old 23.1 logic of using the file at the mark as default.
13140 * dired-aux.el (dired-diff): Use the file at the mark as default
13141 if it's not the same as the current file, and the target dir is
13142 the current dir or the mark is active. Add the current file
13143 as the arg of `dired-dwim-target-defaults'. Use the default file
13144 in the prompt. (Bug#5225)
13145
13146 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
13147
13148 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
13149 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
13150 (tramp-check-for-regexp): Check also, when an echoing shell stops
13151 to echo sent commands.
13152
13153 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
13154
13155 * Makefile.in: Revert last change (Bug#5191).
13156
13157 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
13158
13159 * vc-hg.el (vc-hg-print-log): Fix argument order.
13160 (vc-hg-working-revision): Make sure the command is executed in a
13161 known environment so that we can parse the output. (Bug#4417)
13162
13163 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
13164
13165 * progmodes/python.el (python-symbol-completions): Remove text
13166 properties from symbol string before calling python-send-receive.
13167
13168 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
13169
13170 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
13171 when there are values for both file and line. (Bug#5060)
13172
13173 2009-12-14 Juri Linkov <juri@jurta.org>
13174
13175 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
13176 whitespace after the file name of the first line of unified format,
13177 because git-diff doesn't output whitespace and file modification time
13178 after the file name.
13179
13180 2009-12-14 David Kastrup <dak@gnu.org>
13181
13182 * info.el (Info-hide-cookies-node): Before hiding a cookie,
13183 check if it already has the `display' property added by
13184 `Info-display-images-node', and not put the `invisible' property
13185 in this case.
13186
13187 2009-12-13 Glenn Morris <rgm@gnu.org>
13188
13189 * mail/emacsbug.el (message-sort-headers): Define for compiler.
13190 (report-emacs-bug): In message-mode, sort manually before storing
13191 original report text. (Bug#5178)
13192 Remove superfluous save-excursion.
13193
13194 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
13195
13196 * net/dbus.el (dbus-property-handler): Filter lambda forms out
13197 when responding to "GetAll" properties.
13198
13199 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
13200
13201 * simple.el (compose-mail): Remove mail-setup-with-from from
13202 customization checks.
13203
13204 2009-12-12 Eli Zaretskii <eliz@gnu.org>
13205
13206 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
13207 RAR archives created on Unix systems.
13208
13209 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
13210
13211 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
13212 the varalias that was accidentally removed by the 2009-11-19 change
13213 (bug#5186).
13214
13215 2009-12-12 Kenichi Handa <handa@m17n.org>
13216
13217 * language/indian.el (indian-compose-regexp): New function.
13218 (malayalam-composable-pattern): Fix the pattern.
13219 (composition-function-table): Set malayalam-composable-pattern for
13220 Malayalam characters.
13221
13222 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
13223
13224 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
13225 rather than down-mouse-1, based on follow-link conventions.
13226
13227 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
13228 are compiled.
13229
13230 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
13231
13232 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
13233 (verilog-vmm-statement-re, verilog-ovm-statement-re)
13234 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
13235 (verilog-leap-to-head, verilog-backward-token):
13236 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
13237
13238 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
13239
13240 * progmodes/verilog-mode.el (verilog-auto-lineup)
13241 (verilog-nameable-item-re): Cleanup user-visible spelling and
13242 documentation errors. One reported by Gary Delp.
13243 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
13244 (verilog-read-decls): Fix AUTOWIRE with types declared in a
13245 package, bug195. Reported by Pierre-David Pfister.
13246
13247 2009-12-11 Glenn Morris <rgm@gnu.org>
13248
13249 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
13250
13251 * mail/emacsbug.el: No longer require sendmail.
13252 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
13253 (report-emacs-bug-orig-text): Doc fix.
13254 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
13255 New local variables, to adapt to different mail-user-agents.
13256 (report-emacs-bug): Fix test for a gnu.org address.
13257 Use overlays for emphasis, since font-lock defeats 'face property.
13258 Pretest bugs also end up at the newsgroup these days.
13259 Stop message-mode stripping text properties.
13260 Set and use the new buffer-local variables.
13261 (report-emacs-bug-hook): Add doc-string.
13262 Remove some unnecessary save-excursions and simplify.
13263 Use the appropriate hook and send-command.
13264
13265 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
13266 capitalization of some menu entries.
13267
13268 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13269
13270 * whitespace.el (whitespace-display-char-on):
13271 Ensure `buffer-display-table' is unique when two or more windows are
13272 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
13273 New version 12.1.
13274
13275 2009-12-10 Eli Zaretskii <eliz@gnu.org>
13276
13277 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
13278 characters in the Attribute field.
13279
13280 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
13281
13282 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
13283
13284 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
13285
13286 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
13287 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13288 Disregard autoload-excludes.
13289 (update-directory-autoloads): Obey autoload-excludes here instead.
13290 But don't store its contents in no-autoloads and remove entries that
13291 refer to excludes files.
13292
13293 2009-12-10 Glenn Morris <rgm@gnu.org>
13294
13295 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
13296 (expand-mail-aliases): Define for compiler.
13297
13298 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
13299 Define for compiler.
13300
13301 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
13302 appropriate for the mail-user-agent in use.
13303
13304 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
13305
13306 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
13307
13308 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
13309
13310 Fix short log parsing and fontification.
13311 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
13312 Fix fontification for the [merge] label.
13313
13314 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
13315
13316 Drop some properties to avoid surprises (bug#5002).
13317 * htmlfontify.el (hfy-ignored-properties): New defcustom.
13318 (hfy-fontify-buffer): Use it.
13319
13320 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
13321
13322 Minor cleanup.
13323 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
13324 Adjust all callers.
13325 (ffap-locate-file): Remove unused arg `dir-ok' and make other
13326 args compulsory. Adjust callers.
13327 (ffap-gopher-at-point): Remove unused var `name'.
13328
13329 Get rid of the ELCFILES abomination.
13330 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
13331 (compile-elcfiles): New phony target.
13332 (compile-main): Compute ELCFILES dynamically.
13333 (compile-clean): New target to remove left-over elc files.
13334 (compile, all): Use it.
13335
13336 2009-12-09 Kenichi Handa <handa@etlken>
13337
13338 * international/mule-diag.el: Require help-mode instead of help-fns.
13339
13340 2009-12-09 Kenichi Handa <handa@m17n.org>
13341
13342 * international/mule-cmds.el (ucs-names): Supply sufficiently
13343 fine ranges instead of pre-calculating accurate ranges.
13344 Iterate with bigger gc-cons-threshold.
13345
13346 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
13347
13348 Add support for stashing a snapshot of the current tree.
13349 * vc-git.el (vc-git-stash-snapshot): New function.
13350 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
13351
13352 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
13353
13354 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
13355 instead of `(beginning|end)-of-line'.
13356
13357 2009-12-08 Glenn Morris <rgm@gnu.org>
13358
13359 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
13360
13361 * Makefile.in (ELCFILES): Regenerate.
13362
13363 2009-12-07 Juri Linkov <juri@jurta.org>
13364
13365 Don't lazy-highlight the comint output in history Isearch mode.
13366
13367 * comint.el (comint-history-isearch-search): Instead of
13368 `comint-line-beginning-position', use `comint-after-pmark-p'
13369 to check if point if before the process mark, and go to
13370 `process-mark' in this case.
13371
13372 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
13373
13374 * textmodes/tex-mode.el (latex-complete)
13375 (latex-indent-or-complete): Remove.
13376 (latex-mode): Set completion-at-point-functions instead.
13377
13378 Provide a standard completion command and hook it into TAB.
13379 * minibuffer.el (completion-at-point-functions): New var.
13380 (completion-at-point): New command.
13381 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
13382 * progmodes/python.el (python-mode-map): Use completion-at-point.
13383 (python-completion-at-point): Rename from python-partial-symbol and
13384 adjust for use in completion-at-point-functions.
13385 (python-mode): Setup completion-at-point for Python completion.
13386 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
13387 extracted from lisp-complete-symbol.
13388 (lisp-complete-symbol): Use it.
13389 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
13390 setup completion-at-point for Elisp completion.
13391 (emacs-lisp-mode-map, lisp-interaction-mode-map):
13392 Use completion-at-point.
13393 * ielm.el (ielm-map): Use completion-at-point.
13394 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
13395 * progmodes/sym-comp.el: Move to...
13396 * obsolete/sym-comp.el: Move from progmodes.
13397
13398 2009-12-07 Eli Zaretskii <eliz@gnu.org>
13399
13400 Prevent save-buffer in Rmail buffers from using the coding-system
13401 of the current message, and from clobbering the encoding mnemonics
13402 in the mode line (Bug#4623).
13403
13404 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
13405 flag, too.
13406 (rmail-message-encoding): New variable.
13407 (rmail-write-region-annotate): Record the encoding of the current
13408 message in rmail-message-encoding.
13409 (rmail-after-save-hook): New function, restores the encoding of
13410 the current message after the message collection is saved.
13411
13412 2009-12-07 Juri Linkov <juri@jurta.org>
13413
13414 * progmodes/grep.el (grep-read-files): Use `completing-read'
13415 instead of `read-string'. Set its `collection' arg to
13416 `read-file-name-internal'. (Bug#4301)
13417
13418 2009-12-07 Juri Linkov <juri@jurta.org>
13419
13420 Correctly restore original Isearch point. (Bug#4994)
13421
13422 * isearch.el (isearch-mode): Move `isearch-push-state' after
13423 `(run-hooks 'isearch-mode-hook)'.
13424 (isearch-cancel): When `isearch-push-state-function' is defined,
13425 let-bind `isearch-cmds' to the first state (the last element of
13426 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
13427 function and restores the original point). Otherwise, move point
13428 to `isearch-opoint'.
13429
13430 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
13431
13432 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
13433 chars that don't have names, so the table can be built much faster at
13434 run-time.
13435
13436 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
13437
13438 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
13439 change. Suggested by David Kastrup.
13440
13441 * simple.el (compose-mail): Check for incompatibilities and warn.
13442 (compose-mail-user-agent-warnings): New option.
13443
13444 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
13445
13446 Support showing a single log entry from vc-annotate.
13447 * vc.el (print-log): Add a new argument: START-REVISION.
13448 (vc-print-log-internal): Add a new optional argument and
13449 pass it to the backend.
13450 (vc-print-log, vc-print-root-log): Adjust callers.
13451 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
13452 buffer already displays the requested log entry, use it.
13453 Otherwise display only the log entry in question.
13454 * vc-svn.el (vc-svn-print-log):
13455 * vc-mtn.el (vc-mtn-print-log):
13456 * vc-hg.el (vc-hg-state):
13457 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
13458 (vc-git-show-log-entry): Return t on success.
13459 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
13460 (vc-bzr-show-log-entry): Return t on success.
13461 * vc-rcs.el (vc-rcs-print-log):
13462 * vc-sccs.el (vc-sccs-print-log):
13463 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
13464
13465 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
13466
13467 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
13468 Add menus to the meta mode. (Bug#5043)
13469
13470 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
13471
13472 * ediff-init.el (ediff-event-key): Use event-to-character instead of
13473 event-key.
13474
13475 * ediff.el (ediff-buffers-internal): Add unwind-protect.
13476
13477 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
13478
13479 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
13480 Berbain <raphael.berbain@gmail.com>.
13481
13482 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
13483 characters.
13484 (tramp-initial-end-of-output): New defconst.
13485 (tramp-methods, tramp-find-shell)
13486 (tramp-open-connection-setup-interactive-shell)
13487 (tramp-maybe-open-connection): Use it.
13488 (tramp-shell-prompt-pattern, tramp-wait-for-output):
13489 Handle existence of `#' and `$'.
13490
13491 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
13492 Use `tramp-initial-end-of-output'.
13493
13494 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
13495
13496 Get the background mode from the terminal for xterm, and set
13497 faces accordingly.
13498 * term/xterm.el (xterm-set-background-mode): New function.
13499 (terminal-init-xterm): Use it in case xterm supports background
13500 color queries. Recompute faces after getting the background
13501 color.
13502
13503 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
13504
13505 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
13506 number comment back on its own line, for easier parsing.
13507
13508 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
13509
13510 Make it work for non-file buffers (bug#5102).
13511 * doc-view.el (doc-view-current-cache-dir):
13512 Use doc-view-buffer-file-name rather than buffer-file-name.
13513 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
13514
13515 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
13516
13517 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
13518 author field is too short.
13519
13520 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
13521
13522 * vc-git.el (vc-git-print-log): Handle a limit argument.
13523 Display the short log in graph form and with labels.
13524 (vc-git-log-view-mode): Handle labels.
13525
13526 Make vc-revert change VC state from 'added to 'unregistered.
13527 * vc-git.el (vc-git-revert): Call git reset first.
13528
13529 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
13530
13531 * net/newst-backend.el, net/newst-plainview.el:
13532 * net/newst-reader.el, net/newst-ticker.el:
13533 * net/newst-treeview.el, net/newsticker.el:
13534 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
13535
13536 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
13537
13538 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
13539
13540 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
13541 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
13542 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
13543 Update annotation regexp.
13544
13545 * simple.el (beginning-of-visual-line): Constrain to field
13546 boundaries (Bug#5106).
13547
13548 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
13549
13550 * xml.el (xml-substitute-numeric-entities):
13551 Move newsticker--decode-numeric-entities in newst-backend.el to
13552 xml-substitute-numeric-entities in xml.el. (Bug#5008)
13553 * net/newst-backend.el (newsticker--parse-generic-feed)
13554 (newsticker--parse-generic-items)
13555 (newsticker--decode-numeric-entities):
13556 Move newsticker--decode-numeric-entities in newst-backend.el to
13557 xml-substitute-numeric-entities in xml.el. (Bug#5008)
13558
13559 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
13560
13561 * progmodes/js.el (js--js-not): Add null to the list of values.
13562
13563 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
13564
13565 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
13566
13567 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
13568
13569 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
13570 delimiter if it is at the end of the current line.
13571 (bibtex-generate-url-list): Fix docstring.
13572
13573 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
13574
13575 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
13576 minibuffer's content with itself.
13577 Fold the confirm-after-completion case into the `confirm' case.
13578 (completion-pcm-word-delimiters): Add : and / to the delimiters.
13579
13580 2009-12-06 Kevin Ryde <user42@zip.com.au>
13581
13582 * ffap.el (ffap-rfc-path): Make this a defcustom since
13583 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
13584
13585 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
13586 manuals, similar to existing setup for help-mode. (Bug#3913.)
13587
13588 2009-12-05 Juri Linkov <juri@jurta.org>
13589
13590 Save and restore dired buffer's point positions too. (Bug#4880)
13591
13592 * dired.el (dired-save-positions): Return in the first element
13593 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
13594 Doc fix.
13595 (dired-restore-positions): First restore buffer's position.
13596 While restoring window's positions, check if window still displays
13597 the original buffer.
13598
13599 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
13600
13601 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
13602 if possible.
13603
13604 * shell.el (shell): Require ansi-color (Bug#5113).
13605
13606 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
13607
13608 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
13609
13610 2009-12-05 Alan Mackenzie <acm@muc.de>
13611
13612 * progmodes/cc-mode.el (c-before-hack-hook)
13613 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
13614 `c-file-style' to work again. This reversion restores the current
13615 software to its state in Emacs 23.1. (Bug#4146)
13616
13617 2009-12-05 Kevin Ryde <user42@zip.com.au>
13618
13619 * textmodes/sgml-mode.el (sgml-lexical-context):
13620 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
13621
13622 2009-12-05 Juri Linkov <juri@jurta.org>
13623
13624 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
13625 for virtual nodes. (Bug#4147)
13626 (Info-find-node-2): Set `Info-current-node-virtual' to nil
13627 when moving from a virtual node.
13628 (Info-mode-menu): Add `Info-virtual-index' to the menu.
13629 (Info-mode): Add `Info-virtual-index' to the docstring.
13630
13631 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
13632
13633 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
13634 track of the buffer position of the end of a BibTeX entry as this
13635 position may change during reformatting.
13636 (bibtex-format-entry): Remove whitespace before processing
13637 numerical fields so that we recognize the latter properly.
13638 (bibtex-reformat): Do not use push which changes the global value
13639 of bibtex-entry-format.
13640 (bibtex-field-braces-alist, bibtex-field-strings-alist)
13641 (bibtex-field-re-init): Replace only space characters by regexp
13642 for whitespace.
13643 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
13644 (bibtex-initialize): Also update bibtex-strings.
13645 (bibtex-kill-field): Preserve white space at end of entry.
13646 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
13647 Update bibtex-reference-keys.
13648
13649 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
13650
13651 * minibuffer.el (completion-pcm--merge-try): Also consider placing
13652 point after a star, if that's the only place where modifications can
13653 make progress.
13654
13655 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
13656
13657 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
13658 in docstrings.
13659
13660 2009-12-04 Juri Linkov <juri@jurta.org>
13661
13662 * proced.el (proced): Call `(proced-update t)' to update process
13663 information instead of only running proced-post-display-hook.
13664 (proced-send-signal): Add a leading space to the buffer name
13665 " *Marked Processes*" to make this buffer ephemeral.
13666
13667 2009-12-04 Juri Linkov <juri@jurta.org>
13668
13669 * dired.el (dired-auto-revert-buffer): New defcustom.
13670 (dired-internal-noselect): Use it.
13671
13672 2009-12-04 Juri Linkov <juri@jurta.org>
13673
13674 Change roles of modes and functions in image-mode.el (Bug#5062).
13675
13676 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
13677 in `auto-mode-alist'.
13678 (image-mode-previous-major-mode): New variable.
13679 (image-minor-mode-map): Rename from `image-mode-text-map'.
13680 (image-mode): Move graceful error-handling code from
13681 `image-minor-mode' to here. On errors call `image-mode-as-text'.
13682 (image-minor-mode): Remove all image-handling code.
13683 Replace `image-mode-text-map' with `image-minor-mode-map'.
13684 Check for `image-type' in mode-line format string.
13685 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
13686 (image-mode-as-text): New function with most code from
13687 `image-mode-maybe'.
13688 (image-toggle-display-text): Move code that removes image
13689 properties from `image-toggle-display' to here.
13690 (image-toggle-display-image): New function with code that adds
13691 image properties copied from `image-toggle-display'.
13692 (image-toggle-display): Remove most code with leaving only code
13693 that toggles between `image-mode-as-text' and `image-mode'.
13694
13695 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
13696
13697 * net/newst-treeview.el
13698 (newsticker--treeview-list-highlight-start): Restored call to
13699 save-excursion: Selected item was stuck.
13700 (newsticker--treeview-list-select): New.
13701 (newsticker--treeview-item-show-text)
13702 (newsticker--treeview-item-show)
13703 (newsticker--treeview-item-update): Use new
13704 newsticker-treeview-item-mode.
13705 (newsticker-treeview-update): Keep current item.
13706 (newsticker-treeview-next-new-or-immortal-item): Doc change.
13707 (newsticker--treeview-first-feed): Doc change.
13708 (newsticker-treeview-list-menu)
13709 (newsticker-treeview-item-menu): Add menu entries.
13710 (newsticker-treeview-item-mode): New.
13711
13712 * net/newst-backend.el (newsticker-customize): Delete other
13713 windows.
13714
13715 2009-12-04 Sam Steingold <sds@gnu.org>
13716
13717 * log-view.el (log-view-mode-map): "q" calls quit-window,
13718 like in all the other non-self-insert buffers.
13719
13720 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
13721
13722 Minor cleanup.
13723 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
13724 key decoding rather than do it manually via last-input-event +
13725 ascii-character.
13726 (term-exec): Use delete-and-extract-region.
13727 (term-handle-ansi-terminal-messages): Remove unused var `end'.
13728 (term-process-pager): Remove unused var `i'.
13729 (term-dynamic-simple-complete): Make obsolete.
13730 (serial-update-config-menu): Remove unused vars `y' and `str'.
13731 (term-update-mode-line): Remove unused var `temp'.
13732
13733 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
13734
13735 Limit the number of log entries displayed by default.
13736 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
13737 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
13738 using a prefix argument.
13739
13740 2009-12-03 Glenn Morris <rgm@gnu.org>
13741
13742 * progmodes/idlwave.el (class): Restore still useful declaration.
13743
13744 2009-12-03 Alan Mackenzie <acm@muc.de>
13745
13746 Enhance `c-parse-state' to run efficiently in "brace deserts".
13747
13748 * progmodes/cc-mode.el (c-basic-common-init):
13749 Call c-state-cache-init.
13750 (c-neutralize-syntax-in-and-mark-CPP): Rename from
13751 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
13752 placing `category' properties value 'c-cpp-delimiter at its boundaries.
13753
13754 * progmodes/cc-langs.el (c-before-font-lock-function):
13755 c-extend-and-neutralize-syntax-in-CPP has been renamed
13756 c-neutralize-syntax-in-and-mark-CPP.
13757
13758 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
13759 with `category' properties now, not `syntax-table' ones.
13760
13761 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
13762 enhanced (but slower) version of c-end-of-macro that won't land
13763 inside a literal or on another awkward character.
13764 (c-state-cache-too-far, c-state-cache-start)
13765 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
13766 (c-state-nonlit-pos-cache-limit, c-state-point-min)
13767 (c-state-point-min-lit-type, c-state-point-min-lit-start)
13768 (c-state-min-scan-pos, c-state-brace-pair-desert)
13769 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
13770 buffer local variables.
13771 (c-state-literal-at, c-state-lit-beg)
13772 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
13773 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
13774 (c-state-cache-top-paren, c-state-cache-after-top-paren)
13775 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
13776 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
13777 (c-renarrow-state-cache)
13778 (c-append-lower-brace-pair-to-state-cache)
13779 (c-state-push-any-brace-pair, c-append-to-state-cache)
13780 (c-remove-stale-state-cache)
13781 (c-remove-stale-state-cache-backwards, c-state-cache-init)
13782 (c-invalidate-state-cache-1, c-parse-state-1)
13783 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
13784 (c-parse-state): Enhance and refactor.
13785 (c-debug-parse-state): Amend to deal with all the new variables.
13786
13787 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
13788 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
13789 modify to use category text properties rather than syntax-table ones.
13790 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
13791 to switch off/on the syntactic paren property of C++ template
13792 delimiters using the category property.
13793 (c-with-<->-as-parens-suppressed): Macro to invoke code with
13794 template delims suppressed.
13795 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
13796 New constant/macros which apply category properties to the start
13797 and end of preprocessor constructs.
13798 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
13799 "comment out" the syntactic value of characters in preprocessor
13800 constructs.
13801 (c-with-cpps-commented-out)
13802 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
13803 with characters in all or all but one preprocessor constructs
13804 "commented out".
13805
13806 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
13807
13808 * proced.el (proced-filter-alist): Use regexp-quote.
13809
13810 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
13811
13812 Cleanup.
13813 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
13814 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
13815 arguments. Expand `default-directory'.
13816
13817 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
13818 the benefit of returning an expanded localname.
13819 (tramp-tramp-file-p): Handle the case NAME is not a string.
13820
13821 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
13822
13823 Add support for bzr shelve/unshelve.
13824 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
13825 (vc-bzr-extra-menu-map): New variables.
13826 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
13827 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
13828 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
13829 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
13830 (vc-bzr-dir-extra-headers): Display shelves.
13831
13832 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
13833
13834 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13835
13836 * textmodes/bibtex.el (bibtex-complete-internal):
13837 Use completion-in-region.
13838 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
13839
13840 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
13841
13842 Support applying stashes. Improve UI.
13843 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
13844 (vc-git-stash-apply, vc-git-stash-pop)
13845 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
13846 (vc-git-stash-menu): New functions.
13847 (vc-git-stash-menu-map): New variable.
13848 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
13849
13850 2009-12-03 Glenn Morris <rgm@gnu.org>
13851
13852 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
13853 (vc-print-log-internal): Fix previous change.
13854 (vc-revert): Correct pluralization.
13855
13856 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13857
13858 * progmodes/make-mode.el (makefile-special-targets-list): No need for
13859 it to be an alist any more.
13860 (makefile-complete): Use completion-in-region.
13861
13862 * progmodes/octave-mod.el (octave-complete-symbol):
13863 Use completion-in-region.
13864
13865 Misc cleanup.
13866 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
13867 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
13868 (idlwave-complete-class): Don't quote lambda.
13869 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
13870 (idlwave-mode-map): Move initialization into declaration.
13871 (idlwave-action-and-binding): Use backquotes.
13872 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
13873 Simplify.
13874 (idlwave-is-pointer-dereference): Remove unused var `pos'.
13875 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
13876 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
13877 `parts', and `all-parts'.
13878 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
13879 (idlwave-convert-xml-system-routine-info): Remove unused string
13880 `version-string'.
13881 (idlwave-display-user-catalog-widget): Use dolist.
13882 (idlwave-scanning-lib): Declare dynamically-scoped var.
13883 (idlwave-scan-library-catalogs): Remove unused var `flags'.
13884 (completion-highlight-first-word-only): Declare to silence bytecomp.
13885 (idlwave-popup-select): Tighten scope of `resp'.
13886 (idlwave-find-struct-tag): Remove unused var `beg'.
13887 (idlwave-after-load-rinfo-hook): Declare.
13888 (idlwave-sintern-class-info): Remove unused var `taglist'.
13889 (idlwave-find-class-definition): Remove unused var `list'.
13890 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
13891 (idlwave-what-module-find-class): Remove unused var `classes'.
13892
13893 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
13894
13895 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
13896
13897 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13898
13899 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
13900 buffers visited. Remove redundant current-buffer-saving.
13901
13902 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
13903
13904 Use completion-in-buffer and remove uses of dynamic scoping.
13905 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
13906 (pascal-buffer-to-use, pascal-flag): Don't declare.
13907 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
13908 (pascal-get-completion-decl, pascal-keyword-completion):
13909 Add `pascal-str' argument, save-excursion,
13910 return the found completions, and don't filter with pascal-pred.
13911 (pascal-completion-cache): New var.
13912 (pascal-completion): Don't switch buffer any more (it was never
13913 necessary). Don't save-excursion any more (it's done by the called
13914 subroutines). Use a cache to avoid redundant computations.
13915 Use complete-with-action rather than pascal-completion-response and
13916 let it apply the predicate as well.
13917 (pascal-complete-word): Use completion-in-buffer when
13918 pascal-toggle-completions is nil.
13919 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
13920 not used any more.
13921 (pascal-comp-defun): Don't change buffer any more.
13922 Use complete-with-action rather than pascal-completion-response and
13923 let it apply the predicate as well.
13924 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
13925 when neded.
13926
13927 2009-12-02 Kenichi Handa <handa@m17n.org>
13928
13929 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
13930 shape for all Indic scripts.
13931
13932 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
13933
13934 Use completion-in-buffer.
13935 * wid-edit.el (widget-field-text-end): New function.
13936 (widget-field-value-get): Use it.
13937 (widget-string-complete, widget-file-complete)
13938 (widget-color-complete): Use it and completion-in-region.
13939 (widget-complete): Don't narrow the buffer.
13940
13941 2009-12-02 Glenn Morris <rgm@gnu.org>
13942
13943 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
13944 (rmail-select-summary): Use rmail-pop-to-buffer.
13945 * mail/rmailsum.el: Replace all pop-to-buffer calls with
13946 rmail-pop-to-buffer, to prevent horizontal splits.
13947
13948 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
13949 save-excursion with save-current-buffer.
13950 Widen before searching. (Bug#5093)
13951 (diary-list-sexp-entries): Remove superfluous save-excursion.
13952
13953 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
13954
13955 * woman.el (woman-make-bufname): Handle man-pages with "." in the
13956 name. (Bug#5038)
13957
13958 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
13959
13960 * ido.el (ido-file-internal): Handle filenames at point that do
13961 not have a directory part. (Bug#5049)
13962
13963 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
13964
13965 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
13966 (mpc-songs-jump-to, mpc-resume): Doc fixes.
13967
13968 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
13969
13970 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
13971 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
13972 any more.
13973
13974 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
13975
13976 * comint.el (comint-insert-input): Ignore clicks to the right of
13977 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
13978
13979 * vc.el (vc-print-log-internal): Don't wait for the process to
13980 terminate before setting up the major mode.
13981
13982 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
13983 in case.
13984
13985 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
13986 the last element.
13987
13988 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
13989
13990 2009-12-01 Glenn Morris <rgm@gnu.org>
13991
13992 * window.el (window--display-buffer-2): Fix previous changes.
13993
13994 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
13995
13996 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
13997
13998 2009-12-01 Glenn Morris <rgm@gnu.org>
13999
14000 * Makefile.in (ELCFILES): Add mpc.elc.
14001
14002 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
14003
14004 * mpc.el: New file.
14005
14006 2009-12-01 Glenn Morris <rgm@gnu.org>
14007
14008 * window.el (window-to-use): Define for compiler.
14009
14010 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
14011 consistent with others (no final period).
14012
14013 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
14014 (rmail-mime-show): Downcase the encoding. (Bug#5070)
14015
14016 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
14017
14018 Make vc-print-log buttons work.
14019 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
14020
14021 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
14022
14023 * savehist.el (savehist-autosave-interval): Allow setting to nil
14024 through customize. (Bug#5056)
14025
14026 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
14027
14028 Fix references to jit-lock properties.
14029 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
14030 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
14031 (perl-font-lock-special-syntactic-constructs):
14032 Quote jit-lock-defer-multiline property.
14033
14034 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
14035
14036 * vc-git.el (vc-git-registered): Call vc-git-root only once.
14037
14038 2009-11-30 Juri Linkov <juri@jurta.org>
14039
14040 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
14041 value `buffer' of `multi-isearch-next-buffer-current-function'.
14042 Use `(current-buffer)' when `buffer' is nil.
14043 (multi-isearch-next-buffer-from-list): Don't fallback to
14044 `(current-buffer)' when `buffer' is nil. (Bug#4947)
14045
14046 2009-11-30 Juri Linkov <juri@jurta.org>
14047
14048 * misearch.el (multi-isearch-read-buffers): Move canonicalization
14049 of buffers with `get-buffer' to `multi-isearch-buffers'.
14050 (multi-isearch-buffers, multi-isearch-buffers-regexp):
14051 Canonicalize BUFFERS with `get-buffer'. Doc fix.
14052 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
14053 FILES with `expand-file-name' converting relative file names
14054 to absolute. Doc fix. (Bug#4727)
14055
14056 2009-11-30 Juri Linkov <juri@jurta.org>
14057
14058 * misearch.el (multi-isearch-read-buffers)
14059 (multi-isearch-read-matching-buffers): New functions.
14060 (multi-isearch-buffers, multi-isearch-buffers-regexp):
14061 Use them in the `interactive' spec. Doc fix.
14062 (multi-isearch-read-files, multi-isearch-read-matching-files):
14063 New functions.
14064 (multi-isearch-files, multi-isearch-files-regexp):
14065 Use them in the `interactive' spec. Doc fix. (Bug#4725)
14066
14067 2009-11-30 Juri Linkov <juri@jurta.org>
14068
14069 * doc-view.el (doc-view-continuous):
14070 Rename from `doc-view-continuous-mode'.
14071 (doc-view-menu): Move "Toggle display" to the top.
14072 Add submenu "Continuous" with radio buttons "Off"/"On"
14073 and "Save as Default".
14074 (doc-view-scroll-up-or-next-page)
14075 (doc-view-scroll-down-or-previous-page)
14076 (doc-view-next-line-or-next-page)
14077 (doc-view-previous-line-or-previous-page):
14078 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
14079
14080 2009-11-30 Juri Linkov <juri@jurta.org>
14081
14082 * comint.el (comint-mode-map): Rebind `M-r' from
14083 `comint-previous-matching-input' to
14084 `comint-history-isearch-backward-regexp'.
14085 Unbind `M-s' to allow global key binding `M-s'.
14086 Add menu items for `comint-history-isearch-backward' and
14087 `comint-history-isearch-backward-regexp'. (Bug#3746)
14088
14089 2009-11-30 Juri Linkov <juri@jurta.org>
14090
14091 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
14092 For def=recenter, replace `recenter' with `recenter-top-bottom'
14093 that is called with `this-command' and `last-command' let-bound
14094 to `recenter-top-bottom'. When the last `def' was not `recenter',
14095 set `recenter-last-op' to nil. (Bug#4981)
14096
14097 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
14098
14099 Minor cleanup and simplification.
14100 * filecache.el (file-cache-add-directory)
14101 (file-cache-add-directory-recursively)
14102 (file-cache-add-from-file-cache-buffer)
14103 (file-cache-delete-file-regexp, file-cache-delete-directory)
14104 (file-cache-files-matching-internal, file-cache-display): Use dolist.
14105 (file-cache-temp-minibuffer-message): Delete function.
14106 (file-cache-minibuffer-complete): Use minibuffer-message instead.
14107
14108 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
14109 Don't signal an error when bumping into EOB in tr, s, or y.
14110
14111 2009-11-29 Juri Linkov <juri@jurta.org>
14112
14113 * startup.el (fancy-about-text): Fix wording of Guided Tour.
14114 (Bug#4960)
14115
14116 * descr-text.el (describe-char-unidata-list): Use lowercase name
14117 for "Unicode name" like in other tags.
14118
14119 2009-11-29 Juri Linkov <juri@jurta.org>
14120
14121 * ediff-util.el (ediff-minibuffer-with-setup-hook):
14122 New compatibility macro.
14123 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
14124
14125 2009-11-29 Juri Linkov <juri@jurta.org>
14126
14127 Add defcustom to define the cycling order of `recenter-top-bottom'.
14128 (Bug#4981)
14129
14130 * window.el (recenter-last-op): Doc fix.
14131 (recenter-positions): New defcustom.
14132 (recenter-top-bottom): Rewrite to use `recenter-positions'.
14133 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
14134
14135 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
14136
14137 Improve integration of Tramp and ange-ftp in eshell.
14138
14139 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
14140 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
14141 (eshell/sudo): Flatten args. Let-bind `default-directory'.
14142
14143 * eshell/esh-util.el (top): Require also Tramp when compiling.
14144 (eshell-directory-files-and-attributes): Check for FTP remote
14145 connection.
14146 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
14147 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
14148 (eshell-file-attributes): Handle ".". Return `entry'.
14149
14150 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
14151 (ange-ftp-directory-files-and-attributes)
14152 (ange-ftp-real-directory-files-and-attributes): New defuns.
14153
14154 * net/tramp.el (tramp-maybe-open-connection): Open the remote
14155 shell with "exec" when possible. This prevents trailing prompts
14156 in `start-file-process'.
14157
14158 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
14159
14160 Try and remove assumptions about point-min==1.
14161 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
14162 (rng-compute-mode-line-string): Show the validation percentage in
14163 terms of the narrowed text, not the widened text.
14164 (rng-do-some-validation): Don't catch internal errors when debugging.
14165 (rng-first-error): Simplify.
14166 (rng-after-change-function): Remove work around. AFAIK the bug has
14167 been fixed a while ago.
14168
14169 * image-mode.el (image-minor-mode): Exit more gracefully when the image
14170 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
14171
14172 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
14173
14174 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
14175 `cd' doesn't always do it for us (bug#5067).
14176
14177 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
14178 on 2009-10-25 as part of some other change (bug#5067).
14179
14180 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
14181
14182 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
14183 `suspicious'.
14184 (byte-compile-warnings): Use byte-compile-warning-types.
14185 (byte-compile-save-excursion): Warn about use of set-buffer right
14186 after save-excursion.
14187
14188 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
14189 the excursion as well.
14190
14191 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
14192
14193 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
14194 providing a Tramp related implementation of "su" and "sudo".
14195 (eshell-unix-initialize): Add "su" and "sudo".
14196
14197 2009-11-27 Daiki Ueno <ueno@unixuser.org>
14198
14199 * net/socks.el (socks-send-command): Convert binary request to
14200 unibyte before sending. This fixes mishandling of some port
14201 numbers such as 129.
14202
14203 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
14204
14205 * help.el (describe-bindings-internal): Remove `interactive'.
14206
14207 * man.el (Man-completion-table): Trim a terminating "(".
14208 Remove the space between name page a section.
14209 Add the command's description on the `help-echo' property.
14210 Remove `process-connection-type' binding since it's unused by
14211 call-process.
14212 Provide completion for the "<section> <name>" format as well.
14213 (Man-default-man-entry): Remove spurious var shadowing the argument.
14214
14215 2009-11-26 Kevin Ryde <user42@zip.com.au>
14216
14217 * log-view.el: Add "Keywords: tools", since its other keywords
14218 aren't in finder-known-keywords, and following vc.el.
14219
14220 * sha1.el (sha1-string-external): default-directory "/" in case
14221 otherwise non-existent. process-connection-type pipe for touch of
14222 efficiency recommended by elisp manual. (An aside in Bug#3911.)
14223
14224 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
14225
14226 Misc coding convention cleanups.
14227 * htmlfontify.el (hfy-init-kludge-hook): Rename from
14228 hfy-init-kludge-hooks.
14229 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
14230 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
14231 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
14232 and push.
14233 (hfy-slant, hfy-weight): Use tables rather than code.
14234 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
14235 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
14236 (hfy-face-attr-for-class): Initialize `face-spec' directly.
14237 (hfy-face-to-css): Remove `nconc' with single arg.
14238 (hfy-p-to-face-lennart): Use `or'.
14239 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
14240 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
14241 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
14242 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
14243 (hfy-force-fontification): Use run-hooks.
14244
14245 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
14246
14247 Various minor fixes.
14248 * htmlfontify.el (hfy-default-header): Add toggle_invis since
14249 Javascript belongs in the header, not the body.
14250 (hfy-javascript): Remove.
14251 (hfy-fontify-buffer): Don't insert it any more.
14252 (hfy-face-at): Handle (face0 face1 face2) style face properties.
14253 Fix bug in invis handling when there were no invis props in a chunk.
14254
14255 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
14256
14257 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
14258
14259 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
14260
14261 * finder.el (finder-mode-map): Add a menu.
14262
14263 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
14264
14265 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
14266 "unsigned" structs.
14267
14268 (verilog-leap-to-head, verilog-backward-token): Handle "disable
14269 fork" statement better.
14270
14271 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
14272
14273 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
14274 (verilog-delete-auto, verilog-delete-empty-auto-pair)
14275 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
14276 Reported by Clay Douglass.
14277
14278 (verilog-auto-inst, verilog-auto-star-safe)
14279 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
14280 Fix removing "// Interfaces" when saving .* expansions.
14281 Reported by Pierre-David Pfister.
14282
14283 2009-11-26 Glenn Morris <rgm@gnu.org>
14284
14285 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
14286 the scope.
14287
14288 2009-11-25 Johan Bockgård <bojohan@gnu.org>
14289
14290 * vc-annotate.el (vc-annotate-revision-previous-to-line):
14291 Really use previous revision.
14292
14293 2009-11-25 Kevin Ryde <user42@zip.com.au>
14294
14295 * man.el (Man-completion-table): default-directory "/" in case
14296 doesn't otherwise exist. process-environment COLUMNS=999 so as
14297 not to truncate long names. process-connection-type pipe to avoid
14298 any chance of hitting the pseudo-tty TIOCGWINSZ.
14299 (man): completion-ignore-case t for friendliness and since man
14300 itself is case-insensitive on the command line.
14301 Further to Bug#3717.
14302
14303 * arc-mode.el: Add "Keywords: files", so the details in its
14304 commentary can be reached from finder-by-keyword.
14305 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
14306 editing mode, but it's comms related and sgml-mode.el has "comm"
14307 on that basis too.
14308 * textmodes/bibtex-style.el: Add "Keywords: tex".
14309 * international/isearch-x.el, international/ja-dic-cnv.el:
14310 * international/ja-dic-utl.el, international/kkc.el:
14311 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
14312
14313 2009-11-25 Juri Linkov <juri@jurta.org>
14314
14315 * man.el (Man-completion-table): Modify regexp to include
14316 section names to completion strings. (Bug#3717)
14317
14318 2009-11-25 Juri Linkov <juri@jurta.org>
14319
14320 Search recursively in gzipped files. (Bug#4982)
14321
14322 * progmodes/grep.el (grep-highlight-matches): Add new options
14323 `always' and `auto'. Doc fix.
14324 (grep-process-setup): Check `grep-highlight-matches' for
14325 `auto-detect' to determine the need to compute grep defaults.
14326 Move Windows/DOS specific --colors settings handling
14327 to `grep-compute-defaults'. Check `grep-highlight-matches'
14328 to get the value of "--color=".
14329 (grep-compute-defaults): Compute `grep-highlight-matches' when it
14330 has the value `auto-detect'. Move Windows/DOS specific settings
14331 from `grep-process-setup'.
14332 (zrgrep): New command with alias `rzgrep'.
14333
14334 2009-11-25 Juri Linkov <juri@jurta.org>
14335
14336 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
14337 to nil instead of switching off view-mode. (Bug#4896)
14338
14339 2009-11-25 Juri Linkov <juri@jurta.org>
14340
14341 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
14342
14343 * mwheel.el (mwheel-scroll-up-function)
14344 (mwheel-scroll-down-function): New defvars.
14345 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
14346 `scroll-up', and `mwheel-scroll-down-function' instead of
14347 `scroll-down'.
14348
14349 * doc-view.el (doc-view-scroll-up-or-next-page)
14350 (doc-view-scroll-down-or-previous-page): Add optional ARG.
14351 Use this ARG in the call to image-scroll-up/image-scroll-down.
14352 Change `interactive' spec to "P". Goto next/previous page only
14353 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
14354 SPC/DEL case). Doc fix.
14355 (doc-view-next-line-or-next-page)
14356 (doc-view-previous-line-or-previous-page): Rename arg to ARG
14357 for consistency.
14358 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
14359 `doc-view-scroll-up-or-next-page', and buffer-local
14360 `mwheel-scroll-down-function' to
14361 `doc-view-scroll-down-or-previous-page'.
14362
14363 2009-11-25 Juri Linkov <juri@jurta.org>
14364
14365 Provide additional default values (directories at other Dired
14366 windows) via M-n in the minibuffer of some Dired commands.
14367
14368 * dired-aux.el (dired-diff, dired-compare-directories)
14369 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
14370 `minibuffer-default' in `minibuffer-with-setup-hook'.
14371 (dired-dwim-target-directory): Find a window that displays Dired
14372 buffer instead of failing when the next window is not Dired.
14373 Use `get-window-with-predicate' to find for the next Dired window.
14374 (dired-dwim-target-defaults): New function.
14375
14376 * ediff-util.el (ediff-read-file-name):
14377 Use `dired-dwim-target-defaults' to set `minibuffer-default'
14378 in `minibuffer-with-setup-hook'.
14379
14380 2009-11-25 Juri Linkov <juri@jurta.org>
14381
14382 Provide additional default values (file name at point or at the
14383 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
14384
14385 * minibuffer.el (read-file-name-defaults): New function.
14386 (read-file-name): Reset `minibuffer-default' to nil when
14387 it duplicates initial input `insdef'.
14388 Bind `minibuffer-default-add-function' to lambda that
14389 calls `read-file-name-defaults' in `minibuffer-selected-window'.
14390 (minibuffer-insert-file-name-at-point): New command.
14391
14392 * files.el (file-name-at-point-functions): New defcustom.
14393 (find-file-default): Remove defvar.
14394 (find-file-read-args): Don't use `find-file-default'.
14395 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
14396 to `read-file-name'.
14397 (find-file-literally): Use `read-file-name' with
14398 `confirm-nonexistent-file-or-buffer'.
14399
14400 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
14401
14402 * dired.el (dired-read-dir-and-switches):
14403 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
14404 to `read-file-name'.
14405 (dired-file-name-at-point): New function.
14406 (dired-mode): Add hook `dired-file-name-at-point' to
14407 `file-name-at-point-functions'.
14408
14409 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
14410
14411 Really make the *Completions* window soft-dedicated (bug#5030).
14412 * window.el (window--display-buffer-2): Add `dedicated' argument.
14413 (display-buffer): Pass it when needed so the dedicated flag is set
14414 after calling set-window-buffer, which would otherwise reset it.
14415
14416 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
14417
14418 * progmodes/meta-mode.el (meta-complete-symbol):
14419 * progmodes/etags.el (complete-tag):
14420 * mail/mailabbrev.el (mail-abbrev-complete-alias):
14421 Use completion-in-region.
14422
14423 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
14424 (dabbrev-completion): Use completion-in-region.
14425 (dabbrev--abbrev-at-point): Simplify regexp.
14426
14427 * abbrev.el (abbrev--before-point): Use word-motion functions
14428 if :regexp is not specified (bug#5031).
14429
14430 * subr.el (string-prefix-p): New function.
14431
14432 * man.el (Man-completion-cache): New var.
14433 (Man-completion-table): Use it.
14434
14435 * vc.el (vc-print-log-internal): Make `limit' optional for better
14436 compatibility (e.g. with vc-annotate.el).
14437
14438 2009-11-24 Kevin Ryde <user42@zip.com.au>
14439
14440 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
14441 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
14442
14443 * emacs-lisp/elint.el (elint-add-required-env): Better error message
14444 when .el source file not found or other error.
14445
14446 2009-11-24 Markus Triska <markus.triska@gmx.at>
14447
14448 * linum.el (linum-update-window): Ignore intangible (bug#4996).
14449
14450 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
14451
14452 Handle the [back] button properly (bug#4979).
14453 * descr-text.el (describe-text-properties): Add a `buffer' argument.
14454 Use help-setup-xref, help-buffer, and with-help-window.
14455 (describe-char): Add `buffer' argument.
14456 Pass proper command to help-setup-xref. Don't meddle with
14457 help-xref-stack-item directly.
14458 (describe-text-category): Use with-help-window and help-buffer.
14459
14460 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
14461 for the displayed buffer (bug#4887).
14462
14463 * man.el (Man-completion-table): New function.
14464 (man): Use it.
14465
14466 2009-11-24 David Reitter <david.reitter@gmail.com>
14467
14468 * vc-git.el (vc-git-registered): Use checkout directory (where
14469 .git is) rather than the file's directory and a relative path spec
14470 to work around a bug in git.
14471
14472 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
14473
14474 Improve handling of processes on remote hosts.
14475
14476 * eshell/esh-util.el (eshell-path-env): New defvar.
14477 (eshell-parse-colon-path): New defun.
14478 (eshell-file-attributes): Use `eshell-parse-colon-path'.
14479
14480 * eshell/esh-ext.el (eshell-search-path):
14481 Use `eshell-parse-colon-path'.
14482 (eshell-remote-command): Remove argument HANDLER.
14483 (eshell-external-command): Check for FTP remote connection.
14484
14485 * eshell/esh-proc.el (eshell-gather-process-output):
14486 Use `file-truename', in order to start also symlinked files.
14487 Apply `start-file-process' instead of `start-process'.
14488 Shorten `command' to the local file name part.
14489
14490 * eshell/em-cmpl.el (eshell-complete-commands-list):
14491 Use `eshell-parse-colon-path'.
14492
14493 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
14494
14495 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
14496 to `eshell-directory-change-hook'.
14497
14498 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
14499
14500 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
14501 because it could be enabled automatically if view-read-only is non-nil.
14502
14503 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
14504
14505 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
14506 made on 2009-11-22.
14507
14508 2009-11-24 Glenn Morris <rgm@gnu.org>
14509
14510 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
14511 deleted variable bookmark-bmenu-bookmark-column.
14512
14513 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
14514
14515 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
14516
14517 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
14518
14519 * net/browse-url.el (browse-url-filename-alist): On Windows, add
14520 two slashes to the "file:" prefix.
14521 (browse-url-file-url): De-munge Cygwin filenames before passing
14522 them to Windows browser.
14523 (browse-url-default-windows-browser): Use call-process.
14524
14525 2009-11-23 Juri Linkov <juri@jurta.org>
14526
14527 Implement DocView Continuous mode. (Bug#4896)
14528 * doc-view.el (doc-view-continuous-mode): New defcustom.
14529 (doc-view-mode-map): Bind C-n/<down> to
14530 `doc-view-next-line-or-next-page', C-p/<up> to
14531 `doc-view-previous-line-or-previous-page'.
14532 (doc-view-next-line-or-next-page)
14533 (doc-view-previous-line-or-previous-page): New commands.
14534
14535 2009-11-23 Juri Linkov <juri@jurta.org>
14536
14537 Implement Isearch in comint input history. (Bug#3746)
14538 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
14539 `isearch-mode-hook'.
14540 (comint-history-isearch): New defcustom.
14541 (comint-history-isearch-backward)
14542 (comint-history-isearch-backward-regexp): New commands.
14543 (comint-history-isearch-message-overlay): New buffer-local variable.
14544 (comint-history-isearch-setup, comint-history-isearch-end)
14545 (comint-goto-input, comint-history-isearch-search)
14546 (comint-history-isearch-message, comint-history-isearch-wrap)
14547 (comint-history-isearch-push-state)
14548 (comint-history-isearch-pop-state): New functions.
14549
14550 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
14551
14552 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
14553 return.
14554 (tramp-handle-make-symbolic-link)
14555 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
14556 Quote file names.
14557 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
14558 (tramp-handle-process-file): Use it.
14559
14560 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
14561
14562 * window.el (move-to-window-line-last-op): Remove.
14563 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
14564
14565 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
14566
14567 Make M-r mirror the new cycling behavior of C-l.
14568 * window.el (move-to-window-line-last-op): New var.
14569 (move-to-window-line-top-bottom): New command.
14570 (global-map): Bind M-r move-to-window-line-top-bottom.
14571
14572 2009-11-23 Sven Joachim <svenjoac@gmx.de>
14573
14574 * dired-x.el (dired-guess-shell-alist-default):
14575 Support xz format. (Bug#4953)
14576
14577 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
14578
14579 * emulation/viper-cmd.el: Use viper-last-command-char instead of
14580 last-command-char/last-command-event.
14581 (viper-prefix-arg-value): Do correct conversion of event-char for
14582 XEmacs.
14583
14584 * emulation/viper-util.el, emulation/viper.el:
14585 Use viper-last-command-char instead of
14586 last-command-char/last-command-event.
14587
14588 * ediff-init.el, ediff-mult.el, ediff-util.el:
14589 Replace last-command-char and last-command-event
14590 with (ediff-last-command-char) everywhere.
14591
14592 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
14593 created in fundamental mode.
14594
14595 * ediff.el (ediff-version): Revert the change of interactive-p to
14596 called-interactively-p.
14597
14598 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
14599
14600 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
14601 generation from word-movement command names.
14602
14603 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
14604
14605 * cus-start.el (all): Add native condition for font-use-system-font.
14606
14607 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
14608
14609 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
14610 Correct the patch from 2009-11-18. (Bug#3910)
14611
14612 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
14613
14614 * progmodes/subword.el: Rename from lisp/subword.el.
14615
14616 * subword.el: Rename to progmodes/subword.el.
14617
14618 * Makefile.in (ELCFILES): Adapt to subword.el move.
14619
14620 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14621 Stefan Monnier <monnier@iro.umontreal.ca>
14622
14623 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
14624 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
14625 (bookmark-bmenu-show-filenames): Use push.
14626 (bookmark-bmenu-hide-filenames): Use local var instead of
14627 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
14628 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
14629 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
14630 filenames now that the bookmark names are always available.
14631
14632 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
14633
14634 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
14635 (bookmark-search-pattern): Move and leave unbound.
14636 (bookmark-bmenu-mode-map): Change binding.
14637 (bookmark-read-search-input): Simplify.
14638 Don't use text-char-description. Don't error on non-char events.
14639 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
14640 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
14641 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
14642 Use a local var for the timer.
14643 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
14644 (i.e. bookmark-bmenu-search).
14645
14646 2009-11-21 Glenn Morris <rgm@gnu.org>
14647
14648 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
14649
14650 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
14651
14652 * net/browse-url.el (browse-url-default-windows-browser):
14653 Use cygstart for cygwin.
14654
14655 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
14656
14657 * bookmark.el: Formatting and doc fixes only:
14658 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
14659 (bookmark-bmenu-search): Wrap to fit within 80 columns.
14660 Minor grammar and punctuation fixes in doc string.
14661 (bookmark-read-search-input): Adjust to fit within 80 columns.
14662
14663 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
14664
14665 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
14666 (c-backward-into-nomenclature): Adapt to subword renaming.
14667
14668 * subword.el (subword-forward, subword-backward, subword-mark)
14669 (subword-kill, subword-backward-kill, subword-transpose)
14670 (subword-downcase, subword-upcase, subword-capitalize)
14671 (subword-forward-internal, subword-backward-internal):
14672 Rename from forward-subword, backward-subword, mark-subword,
14673 kill-subword, backward-kill-subword, transpose-subwords,
14674 downcase-subword, upcase-subword, capitalize-subword,
14675 forward-subword-internal, backward-subword-internal.
14676
14677 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14678
14679 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
14680 New options.
14681 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
14682 New vars.
14683 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
14684 (bookmark-bmenu-filter-alist-by-regexp)
14685 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
14686 (bookmark-bmenu-search): New command.
14687 (bookmark-bmenu-mode-map): Bind it.
14688
14689 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
14690
14691 * progmodes/cc-cmds.el: declare-functioned forward-subword and
14692 backward-subword to quit the byte-compiler.
14693
14694 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
14695
14696 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
14697
14698 * progmodes/cc-cmds.el (c-update-modeline)
14699 (c-forward-into-nomenclature, c-backward-into-nomenclature):
14700 Refer to subword.el functions instead of cc-subword.el.
14701
14702 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
14703 subword.el functions instead of cc-subword.el.
14704
14705 * progmodes/cc-subword.el: Rename to subword.el.
14706 * subword.el: Rename from progmodes/cc-subword.el.
14707 (subword-mode-map): Rename from c-subword-mode-map.
14708 (subword-mode): Rename from c-subword-mode.
14709 (global-subword-mode): New global minor mode.
14710 (forward-subword): Rename from c-forward-subword.
14711 (backward-subword): Rename from c-backward-subword.
14712 (mark-subword): Rename from c-mark-subword.
14713 (kill-subword): Rename from c-kill-subword.
14714 (backward-kill-subword): Rename from c-backward-kill-subword.
14715 (transpose-subwords): Rename from c-tranpose-subword.
14716 (downcase-subword): Rename from c-downcase-subword.
14717 (capitalize-subword): Rename from c-capitalize-subword.
14718 (forward-subword-internal): Rename from c-forward-subword-internal.
14719 (backward-subword-internal): Rename from c-backward-subword-internal.
14720
14721 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
14722
14723 * vc.el (vc-deduce-fileset): Allow non-state changing operations
14724 from a dired buffer.
14725 (vc-dired-deduce-fileset): New function.
14726 (vc-root-diff, vc-print-root-log): Use it.
14727
14728 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
14729 nil LIMIT argument to vc-print-log-internal.
14730
14731 2009-11-20 Glenn Morris <rgm@gnu.org>
14732
14733 * Makefile.in (ELCFILES): Regenerate.
14734
14735 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
14736
14737 * calc/calc.el (calc-set-mode-line):
14738 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14739 (math-format-number): Rename `math-format-complement-signed' to
14740 `math-format-twos-complement'.
14741
14742 * calc/calc-bin.el (math-format-twos-complement): Rename from
14743 math-format-complement-signed.
14744 (calc-radix): Rename `calc-complement-signed-mode' to
14745 `calc-twos-complement-mode'.
14746 (calc-octal-radix, calc-hex-radix): Add an argument for
14747 two's complement.
14748
14749 * calc/calc-embed.el (calc-embedded-mode-vars):
14750 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14751
14752 * calc/calc-ext.el (calc-init-extensions):
14753 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14754 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
14755
14756 * calc/calc-units.el (math-build-units-table-buffer):
14757 Let `calc-twos-complement-mode' be nil.
14758
14759 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
14760 entries.
14761
14762 * calc/calc-vec.el (calcFunc-vunpack):
14763 * calc/calc-aent.el (calc-do-calc-eval):
14764 * calc/calc-forms.el (math-format-date):
14765 * calc/calc-graph.el (calc-graph-plot):
14766 * calc/calc-math.el (math-use-emacs-fn):
14767 * calc/calccomp.el (math-compose-expr):
14768 Let `calc-twos-complement-mode' be nil.
14769
14770 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
14771
14772 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
14773 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
14774 * minibuffer.el (completion-in-region-functions): New hook.
14775 (completion-in-region): New function.
14776 * emacs-lisp/lisp.el (lisp-complete-symbol):
14777 * pcomplete.el (pcomplete-std-complete): Use it.
14778
14779 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
14780
14781 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
14782 (latex-complete-alist): New vars.
14783 (latex-string-prefix-p, latex-complete-bibtex-keys)
14784 (latex-complete-envnames, latex-complete-refkeys)
14785 (latex-complete-data): New functions.
14786 (latex-complete, latex-indent-or-complete): New commands.
14787
14788 * window.el (display-buffer-mark-dedicated): New var.
14789 (display-buffer): Obey it.
14790 * minibuffer.el (minibuffer-completion-help): Use it.
14791
14792 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
14793
14794 * filecache.el (file-cache-add-file): Use push and cons.
14795 (file-cache-delete-file-regexp): Use push.
14796 (file-cache-complete): Use completion-in-region.
14797
14798 * simple.el (with-wrapper-hook): Fix thinko.
14799
14800 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
14801 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
14802 Use with-current-buffer and string-to-number.
14803 (hfy-fallback-colour-values): Use assoc-string.
14804 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
14805 (hfy-face-at): Remove unused var `found-face'.
14806 (hfy-compile-stylesheet): Remove unused var `css'.
14807 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
14808 and `orig-buffer'.
14809 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
14810 Use with-current-buffer.
14811 (hfy-text-p): Use expand-file-name and fewer setq.
14812
14813 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
14814
14815 * htmlfontify.el, hfy-cmap.el: New files.
14816
14817 2009-11-19 Juri Linkov <juri@jurta.org>
14818
14819 * minibuffer.el (completions-format): New defcustom.
14820 (completion--insert-strings): Implement vertical format.
14821
14822 * simple.el (switch-to-completions): Move point to the first
14823 completion when point was at the beginning of the buffer.
14824
14825 2009-11-19 Juri Linkov <juri@jurta.org>
14826
14827 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
14828
14829 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
14830
14831 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
14832
14833 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
14834 (mail-signature): Change default to t.
14835 (mail-from-style): Deprecate `system-default' value.
14836 (mail-insert-from-field): For default value of mail-from-style,
14837 default to `angles' unless `angles' needs quoting and `parens'
14838 does not.
14839 (mail-citation-prefix-regexp): Use citation regexp from
14840 message-mode.
14841
14842 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
14843
14844 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
14845 Set variables for computing the prompt for reading password.
14846
14847 2009-11-19 Glenn Morris <rgm@gnu.org>
14848
14849 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
14850
14851 * textmodes/flyspell.el (sgml-lexical-context): Declare.
14852
14853 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
14854 (newsticker-treeview-listwindow-height): Fix custom type.
14855
14856 2009-11-19 Kenichi Handa <handa@m17n.org>
14857
14858 * descr-text.el (describe-char-padded-string): Compose with TAB
14859 only if there's a font for CH.
14860 (describe-char): Fix the condition for detecting a trivial composition.
14861
14862 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
14863
14864 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
14865 more accurate version of the regexp. (Bug#3910)
14866
14867 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
14868
14869 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
14870
14871 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
14872
14873 * font-setting.el (font-use-system-font): Declare for byte-compiler.
14874 (font-setting-change-default-font): Fix typo in docstring.
14875
14876 2009-11-18 Alan Mackenzie <acm@muc.de>
14877
14878 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
14879
14880 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
14881
14882 * font-setting.el (font-use-system-font): Move ...
14883
14884 * cus-start.el (all): ... to here.
14885
14886 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
14887
14888 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
14889 Don't set `ad-return-value' if `ad-do-it' doesn't.
14890
14891 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
14892 modification time.
14893
14894 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
14895
14896 * menu-bar.el: Put "Use system font" in Option-menu.
14897 (menu-bar-options-save): Add font-use-system-font.
14898
14899 * loadup.el: If feature system-font-setting or font-render-setting is
14900 there, load font-setting.
14901
14902 * Makefile.in (ELCFILES): Add font-settings.el.
14903 * font-setting.el: New file.
14904
14905 2009-11-17 Glenn Morris <rgm@gnu.org>
14906
14907 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
14908
14909 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
14910 Preserve point in the list buffer. (Bug#4939)
14911 Use point-at-eol.
14912 (newsticker--treeview-list-update-highlight)
14913 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
14914
14915 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
14916
14917 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
14918 Remove.
14919
14920 * calc/calc-ext.el (calc-init-extensions): Remove references to
14921 symclip.
14922
14923 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
14924
14925 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
14926 * calc/calc-help.el (calc-b-prefix-help): Remove references to
14927 `calc-symclip'.
14928
14929 2009-11-16 Kevin Ryde <user42@zip.com.au>
14930
14931 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
14932 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
14933
14934 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
14935 (lm-keywords-list): Allow comma-only separator like "foo,bar".
14936 Ignore trailing spaces by omit-nulls to split-string (fixing
14937 regression from Emacs 21 due to the incompatible split-string
14938 change). (Bug #4928.)
14939
14940 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
14941
14942 * vc.el (vc-log-show-limit): Default to 2000.
14943 (vc-print-log-internal): Insert buttons to request more entries
14944 when limiting the output.
14945
14946 * vc-sccs.el (vc-sccs-print-log):
14947 * vc-rcs.el (vc-rcs-print-log):
14948 * vc-cvs.el (vc-cvs-print-log):
14949 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
14950 LIMIT is non-nil.
14951
14952 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
14953
14954 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
14955 error when `tramp-gvfs-dbus-event-vector' is set.
14956 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
14957
14958 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
14959
14960 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
14961
14962 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
14963
14964 * net/dbus.el (dbus-unregister-service): New defun.
14965 (dbus-register-property): Register the handlers of
14966 "org.freedesktop.DBus.Properties" for SERVICE.
14967 (dbus-property-handler): Fix docstring.
14968
14969 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
14970
14971 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
14972 Quote doc string reference in defvaralias as it is not in special form.
14973 (byte-compile-output-docform): Doc fix.
14974
14975 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
14976
14977 * calc/calc.el (math-2-word-size, math-half-2-word-size)
14978 (calc-complement-signed-mode): New variables.
14979 (calc-set-mode-line): Add indicator for twos-complements.
14980 (math-format-number): Format twos-complement notation.
14981
14982 * calc/calc-bin.el (calc-word-size): Reset the variables
14983 `math-2-word-size' and `math-half-2-word-size'.
14984 (math-format-complement-signed, math-symclip, calcFunc-symclip)
14985 (calc-symclip): New functions.
14986
14987 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
14988
14989 * calc/calc-embed.el (calc-embedded-mode-vars):
14990 Add `calc-complement-signed-mode' to the list of modes.
14991
14992 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
14993 (calc-b-oper-keys): Add `calc-symclip' to list.
14994
14995 * calc/calc-ext.el (math-read-number-fancy): Read complement
14996 signed numbers.
14997 (calc-init-extensions): Add binding for `calc-symclip'.
14998 Add autoload for `calcFunc-symclip' and `calc-symclip'.
14999
15000 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
15001 `calc-symclip'.
15002 (calc-modes-menu): Add item for twos complement mode.
15003
15004 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
15005
15006 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
15007
15008 * register.el (jump-to-register, insert-register): Handle Semantic
15009 tags. From commented-out advice in semantic/senator.el.
15010
15011 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
15012
15013 * vc.el (vc-log-show-limit): New variable.
15014 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
15015 when using a prefix argument.
15016 (vc-print-log-internal): Add new argument LIMIT.
15017
15018 * vc-svn.el (vc-svn-print-log):
15019 * vc-mtn.el (vc-mtn-print-log):
15020 * vc-hg.el (vc-hg-print-log):
15021 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
15022 pass it to the log command when set. Make the BUFFER argument
15023 non-optional.
15024
15025 * vc-sccs.el (vc-sccs-print-log):
15026 * vc-rcs.el (vc-rcs-print-log):
15027 * vc-git.el (vc-git-print-log):
15028 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
15029 ignore it. Make the BUFFER argument non-optional
15030
15031 * bindings.el (mode-line-buffer-identification): Do not purecopy.
15032
15033 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
15034
15035 * dired.el (dired-mode-map): Move encryption items to "Operate"
15036 menu (Bug#4703).
15037
15038 * strokes.el (strokes-update-window-configuration): Make strokes
15039 buffer current before erasing (Bug#4906).
15040
15041 2009-11-15 Juri Linkov <juri@jurta.org>
15042
15043 * simple.el (set-mark-default-inactive): Add :type, :group
15044 and :version. (Bug#4876)
15045
15046 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
15047
15048 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
15049 (archive-unique-fname): ... here. (Bug#4929)
15050
15051 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
15052
15053 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
15054 with a real fix.
15055
15056 * novice.el (disabled-command-function): Add useful args.
15057 Setup the help buffer so that [back] works.
15058 Remove redundant call to help-mode.
15059 (disabled-command-function): Use `case'.
15060 (en/disable-command): New function extracted from enable-command.
15061 (enable-command, disable-command): Use it.
15062
15063 2009-11-14 Glenn Morris <rgm@gnu.org>
15064
15065 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
15066 constants. (Bug#4913)
15067
15068 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
15069
15070 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
15071
15072 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
15073 defined in C that have no doc-strings. (Bug#1063)
15074
15075 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
15076
15077 * cus-edit.el (data, files):
15078 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
15079
15080 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
15081
15082 * simple.el (shell-command): Doc fix (Bug#4891).
15083
15084 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
15085
15086 2009-11-14 Glenn Morris <rgm@gnu.org>
15087
15088 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
15089 statements for vc-diff, emerge-quit, and rmail-cease-edit.
15090 If they are already loaded, eval-after-load will do the right thing.
15091
15092 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
15093 compiling.
15094
15095 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
15096
15097 * simple.el (x-selection-owner-p): Declare.
15098 (read-mail-command): Use custom radio type rather than choice.
15099 (completion-no-auto-exit): Doc fix.
15100
15101 * custom.el (defgroup):
15102 * epg-config.el (epg): Doc fixes.
15103
15104 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
15105
15106 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
15107 * international/ccl.el (define-ccl-program): Do not purecopy the
15108 docstring, defconst does it anyway.
15109
15110 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
15111
15112 * add-log.el (add-change-log-entry): Avoid displaying the changelog
15113 a second time.
15114
15115 * x-dnd.el (x-dnd-maybe-call-test-function):
15116 * window.el (split-window-vertically):
15117 * whitespace.el (whitespace-help-on):
15118 * vc-rcs.el (vc-rcs-consult-headers):
15119 * userlock.el (ask-user-about-lock-help)
15120 (ask-user-about-supersession-help):
15121 * type-break.el (type-break-force-mode-line-update):
15122 * time-stamp.el (time-stamp-conv-warn):
15123 * terminal.el (te-set-output-log, te-more-break, te-filter)
15124 (te-sentinel, terminal-emulator):
15125 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
15126 (term-write-input-ring, term-check-source, term-start-output-log):
15127 (term-display-buffer-line, term-dynamic-list-completions):
15128 (term-ansi-make-term, serial-term):
15129 * subr.el (selective-display):
15130 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
15131 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
15132 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
15133 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
15134 (speedbar-remove-localized-speedbar-support)
15135 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
15136 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
15137 (speedbar-buffers-line-directory):
15138 * simple.el (shell-command-on-region, append-to-buffer)
15139 (prepend-to-buffer):
15140 * shadowfile.el (shadow-save-todo-file):
15141 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
15142 (scroll-bar-maybe-set-window-start):
15143 * sb-image.el (speedbar-image-dump):
15144 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
15145 (load-save-place-alist-from-file):
15146 * ps-samp.el (ps-print-message-from-summary):
15147 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
15148 (ps-background-image, ps-begin-job, ps-do-despool):
15149 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
15150 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
15151 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
15152 (pr-call-process, pr-file-list, pr-interface-save):
15153 * novice.el (disabled-command-function)
15154 (enable-command, disable-command):
15155 * mouse.el (mouse-buffer-menu-alist):
15156 * mouse-copy.el (mouse-kill-preserving-secondary):
15157 * macros.el (kbd-macro-query):
15158 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
15159 * informat.el (batch-info-validate):
15160 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
15161 * hippie-exp.el (try-expand-dabbrev-visible):
15162 * help-mode.el (help-make-xrefs):
15163 * help-fns.el (describe-variable):
15164 * generic-x.el (bat-generic-mode-run-as-comint):
15165 * finder.el (finder-mouse-select):
15166 * find-dired.el (find-dired-sentinel):
15167 * filesets.el (filesets-file-close):
15168 * files.el (list-directory):
15169 * faces.el (list-faces-display, describe-face):
15170 * facemenu.el (list-colors-display):
15171 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
15172 * epg.el (epg--process-filter, epg-cancel):
15173 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
15174 (epa--read-signature-type):
15175 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
15176 (emerge-file-names):
15177 * ehelp.el (electric-helpify):
15178 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
15179 * ediff-vers.el (rcs-ediff-view-revision):
15180 * ediff-util.el (ediff-setup):
15181 * ediff-mult.el (ediff-append-custom-diff):
15182 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
15183 (ediff-wordify):
15184 * echistory.el (Electric-command-history-redo-expression):
15185 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
15186 * disp-table.el (describe-display-table):
15187 * dired.el (dired-find-buffer-nocreate):
15188 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
15189 * dabbrev.el (dabbrev--same-major-mode-p):
15190 * chistory.el (list-command-history):
15191 * apropos.el (apropos-documentation):
15192 * allout.el (allout-obtain-passphrase):
15193 (allout-copy-exposed-to-buffer):
15194 (allout-verify-passphrase): Use with-current-buffer.
15195
15196 2009-11-13 Glenn Morris <rgm@gnu.org>
15197
15198 * Makefile.in (ELCFILES): Regenerate.
15199
15200 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
15201
15202 * net/dbus.el (dbus-registered-objects-table): Rename from
15203 `dbus-registered-functions-table', because it contains also properties.
15204 (dbus-unregister-object): Unregister also properties.
15205 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
15206 Use a timeout of 500 msec, in order to not block.
15207 (dbus-register-property, dbus-property-handler): New defuns.
15208
15209 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
15210
15211 * simple.el (minibuffer-default-add-completions): Drop deprecated
15212 4th arg.
15213
15214 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
15215
15216 * textmodes/artist.el (artist-mouse-choose-operation):
15217 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
15218 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
15219 (artist-compute-up-event-key): New function.
15220 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
15221
15222 2009-11-13 Kenichi Handa <handa@m17n.org>
15223
15224 * language/japan-util.el: Make sure that the value of jisx0208
15225 property is jisx0208 character.
15226
15227 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
15228
15229 * international/mule.el (auto-coding-regexp-alist): Only purecopy
15230 car or each item, not the whole list.
15231
15232 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
15233
15234 * minibuffer.el (minibuffer-completion-help):
15235 Use minibuffer-hide-completions.
15236
15237 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
15238
15239 * dired.el (dired-save-positions, dired-restore-positions): New funs.
15240 (dired-revert): Use them (bug#4880).
15241
15242 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
15243
15244 * tooltip.el (tooltip-frame-parameters): Undo previous change.
15245
15246 2009-11-12 Juri Linkov <juri@jurta.org>
15247
15248 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
15249 New functions.
15250 (find-file-literally-at-point): Alias of `ffap-literally'.
15251
15252 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
15253
15254 * textmodes/ispell.el (ispell-skip-region-alist):
15255 * textmodes/css-mode.el (auto-mode-alist):
15256 * progmodes/compile.el (auto-mode-alist):
15257 * international/mule.el (ctext-non-standard-encodings-alist)
15258 (ctext-non-standard-encodings-regexp):
15259 * simple.el (shell-command-switch, text-read-only):
15260 * replace.el (occur-mode-map):
15261 * paths.el (rmail-file-name):
15262 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
15263 * find-file.el (ff-special-constructs):
15264 * files.el (file-name-handler-alist):
15265 * composite.el: Purecopy strings.
15266
15267 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
15268
15269 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
15270
15271 * widget.el (define-widget): Purecopy the docstring.
15272 * international/mule-cmds.el (charset): Do not purecopy the
15273 docstring here, define-widget does it.
15274
15275 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
15276 * textmodes/bibtex-style.el (auto-mode-alist):
15277 * progmodes/inf-lisp.el (inferior-lisp-prompt):
15278 * progmodes/compile.el (compile-command):
15279 * language/korea-util.el (default-korean-keyboard):
15280 * international/mule-conf.el (file-coding-system-alist):
15281 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
15282 * tooltip.el (tooltip-frame-parameters):
15283 * newcomment.el (comment-end, comment-padding):
15284 * dired.el (dired-trivial-filenames):
15285 * comint.el (comint-file-name-prefix): Purecopy initial values.
15286
15287 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
15288
15289 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
15290 (tramp-advice-minibuffer-electric-tilde): Unload advices via
15291 `tramp-unload'.
15292 (tramp-advice-make-auto-save-file-name)
15293 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
15294 after removing the advice.
15295
15296 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
15297
15298 * progmodes/grep.el (grep-regexp-alist):
15299 * international/mule-cmds.el (iso-2022-control-alist):
15300 * emacs-lisp/timer.el (timer-duration-words):
15301 * subr.el (version-separator, version-regexp-alist):
15302 * minibuffer.el (completion-styles-alist):
15303 * faces.el (face-attribute-name-alist, list-faces-sample-text):
15304 Change defvars to defconsts.
15305
15306 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
15307 * loadup.el ("international/mule-conf"): Load the byte compiled version.
15308 * international/mule-conf.el: Allow to be byte compiled.
15309
15310 * international/mule.el (define-charset): Purecopy props.
15311 (load-with-code-conversion): Purecopy doc string and file name.
15312 (put-charset-property): Purecopy strings.
15313 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
15314
15315 * international/mule-cmds.el (register-input-method): Purecopy arguments.
15316 (define-char-code-property): Correctly purecopy the table.
15317
15318 * international/ccl.el (define-ccl-program): Purecopy the docstring.
15319
15320 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
15321
15322 * subr.el (add-hook): Purecopy strings.
15323 (eval-after-load): Purecopy load-history-regexp and the form.
15324
15325 * custom.el (custom-declare-group): Purecopy load-file-name.
15326
15327 * subr.el (menu-bar-separator): New defconst.
15328 * net/eudc.el (eudc-tools-menu):
15329 * international/mule-cmds.el (set-coding-system-map)
15330 (mule-menu-keymap):
15331 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
15332 * vc-hooks.el (vc-menu-map):
15333 * replace.el (occur-mode-map):
15334 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
15335 (menu-bar-edit-menu, menu-bar-goto-menu)
15336 (menu-bar-custom-menu, menu-bar-showhide-menu)
15337 (menu-bar-options-menu, menu-bar-tools-menu)
15338 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
15339 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
15340 (menu-bar-help-menu):
15341 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
15342 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
15343
15344 * term/x-win.el (x-gtk-stock-map):
15345 * progmodes/vera-mode.el (auto-mode-alist):
15346 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
15347 (inferior-lisp-program, inferior-lisp-load-command):
15348 * progmodes/hideshow.el (hs-special-modes-alist):
15349 * progmodes/gud.el (same-window-regexps):
15350 * progmodes/grep.el (grep-program, find-program, xargs-program):
15351 * net/telnet.el (same-window-regexps):
15352 * net/rlogin.el (same-window-regexps):
15353 * language/ethiopic.el (font-ccl-encoder-alist):
15354 * vc-sccs.el (vc-sccs-master-templates):
15355 * vc-rcs.el (vc-rcs-master-templates):
15356 * subr.el (cl-assertion-failed):
15357 * simple.el (next-error-overlay-arrow-position):
15358 * lpr.el (lpr-command):
15359 * locate.el (locate-ls-subdir-switches):
15360 * info.el (same-window-regexps, info)
15361 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
15362 * image-mode.el (image-mode, auto-mode-alist):
15363 * hippie-exp.el (hippie-expand-ignore-buffers):
15364 * format.el (format-alist):
15365 * find-dired.el (find-ls-subdir-switches, find-grep-options)
15366 (find-name-arg):
15367 * facemenu.el (facemenu-keybindings):
15368 * dired.el (dired-listing-switches, dired-chown-program):
15369 * diff.el (diff-switches, diff-command):
15370 * cus-edit.el (same-window-regexps):
15371 * bindings.el (mode-line-mule-info)
15372 (mode-line-buffer-identification): Purecopy strings.
15373
15374 2009-11-11 Juri Linkov <juri@jurta.org>
15375
15376 * simple.el (dired-get-filename) <declare-function>:
15377 Tell the byte-compiler about dired-get-filename.
15378 (shell-command): In Dired mode, get filename from the current line
15379 as the default value.
15380
15381 2009-11-10 Glenn Morris <rgm@gnu.org>
15382
15383 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
15384 * calendar/holidays.el, progmodes/cperl-mode.el:
15385 Update x-popup-menu declarations.
15386
15387 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
15388 (list-load-path-shadows): Use dolist.
15389 (list-load-path-shadows): Use with-current-buffer.
15390
15391 2009-11-10 Juri Linkov <juri@jurta.org>
15392
15393 * minibuffer.el (read-file-name): Support a list of default values
15394 in `default-filename'. Use the first file name where only one
15395 element is required. Doc fix.
15396
15397 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
15398
15399 * net/dbus.el (dbus-unregister-object): Release service, if no
15400 other method is registered for it.
15401
15402 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
15403
15404 * bookmark.el (bookmark-completing-read): Sort bookmark names if
15405 bookmark-sort-flag is non-nil (Bug#4653).
15406
15407 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
15408
15409 * emulation/cua-base.el: Add CUA property to some CC mode commands
15410 (Bug#4100).
15411
15412 2009-11-08 Kevin Ryde <user42@zip.com.au>
15413
15414 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
15415 at end of sentence (Bug#4818).
15416
15417 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
15418
15419 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15420 Handle "see declaration of" MSFT statements (Bug#4100).
15421
15422 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
15423
15424 * net/tramp.el (tramp-advice-make-auto-save-file-name)
15425 (tramp-advice-file-expand-wildcards): Unload via
15426 `ad-remove-advice'.
15427
15428 * net/trampver.el: Update release number.
15429
15430 2009-11-08 Kevin Ryde <user42@zip.com.au>
15431
15432 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
15433 `ad-do-it'.
15434
15435 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
15436
15437 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
15438 in order to keep context in SELinux.
15439
15440 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
15441
15442 * dired-aux.el (dired-query): Place cursor in echo area and allow
15443 C-g.
15444
15445 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
15446 menu item if not on a directory (Bug#4701).
15447
15448 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
15449
15450 Sync with Tramp 2.1.17.
15451
15452 * net/tramp.el (tramp-handle-copy-directory): Don't use
15453 `file-remote-p' (due to compatibility).
15454
15455 * net/tramp-compat.el (tramp-compat-copy-directory)
15456 (tramp-compat-delete-directory): New defuns.
15457
15458 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
15459 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
15460 Use `tramp-compat-delete-directory'.
15461
15462 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
15463 (tramp-smb-handle-delete-directory):
15464 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
15465
15466 * net/trampver.el: Update release number.
15467
15468 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
15469
15470 * tar-mode.el (tar-copy): Call write-region on the right buffer
15471 (Bug#4857).
15472
15473 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
15474 by hand, if necessary (Bug#4878).
15475
15476 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
15477
15478 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
15479 align size column (Bug#4839).
15480
15481 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
15482 statement.
15483
15484 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
15485
15486 * progmodes/ld-script.el (auto-mode-alist):
15487 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
15488
15489 * cus-face.el (custom-declare-face): Purecopy face spec.
15490
15491 2009-11-06 Kenichi Handa <handa@m17n.org>
15492
15493 * international/uni-bidi.el: Re-generated.
15494 * international/uni-category.el: Re-generated.
15495 * international/uni-combining.el: Re-generated.
15496 * international/uni-mirrored.el: Re-generated.
15497
15498 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
15499
15500 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
15501 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
15502 (tex-start-options, slitex-run-command, latex-run-command)
15503 (tex-run-command, tex-directory):
15504 * textmodes/ispell.el (ispell-html-skip-alists)
15505 (ispell-tex-skip-alists, ispell-tex-skip-alists):
15506 * textmodes/fill.el (adaptive-fill-first-line-regexp):
15507 (adaptive-fill-regexp):
15508 * textmodes/dns-mode.el (auto-mode-alist):
15509 * progmodes/python.el (interpreter-mode-alist):
15510 * progmodes/etags.el (tags-compression-info-list):
15511 * progmodes/etags.el (tags-file-name):
15512 * net/browse-url.el (browse-url-galeon-program)
15513 (browse-url-firefox-program):
15514 * mail/sendmail.el (mail-signature-file)
15515 (mail-citation-prefix-regexp):
15516 * international/mule-conf.el (eight-bit):
15517 * international/latexenc.el (latex-inputenc-coding-alist):
15518 * international/fontset.el (x-pixel-size-width-font-regexp):
15519 * emacs-lisp/warnings.el (warning-type-format):
15520 * emacs-lisp/trace.el (trace-buffer):
15521 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
15522 (emacs-lisp-mode-map):
15523 * calendar/holidays.el (holiday-solar-holidays)
15524 (holiday-bahai-holidays, holiday-islamic-holidays)
15525 (holiday-christian-holidays, holiday-hebrew-holidays)
15526 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
15527 (hebrew-holidays-1, holiday-oriental-holidays)
15528 (holiday-general-holidays):
15529 * x-dnd.el (x-dnd-known-types):
15530 * tool-bar.el (tool-bar):
15531 * startup.el (site-run-file):
15532 * shell.el (shell-dumb-shell-regexp):
15533 * rfn-eshadow.el (file-name-shadow-tty-properties)
15534 (file-name-shadow-properties):
15535 * paths.el (remote-shell-program, news-directory):
15536 * mouse.el ([C-down-mouse-3]):
15537 * menu-bar.el (menu-bar-tools-menu):
15538 * jka-cmpr-hook.el (jka-compr-load-suffixes)
15539 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
15540 (jka-compr-compression-info-list):
15541 * isearch.el (search-whitespace-regexp):
15542 * image-file.el (image-file-name-extensions):
15543 * find-dired.el (find-ls-option):
15544 * files.el (directory-listing-before-filename-regexp)
15545 (directory-free-space-args, insert-directory-program)
15546 (list-directory-brief-switches, magic-fallback-mode-alist)
15547 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
15548 (automount-dir-prefix):
15549 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
15550 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
15551 (face-font-registry-alternatives, face-font-registry-alternatives)
15552 (face-font-family-alternatives):
15553 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
15554 (facemenu-foreground-menu, facemenu-face-menu):
15555 * epa-hook.el (epa-file-name-regexp):
15556 * dnd.el (dnd-protocol-alist):
15557 * textmodes/rst.el (auto-mode-alist):
15558 * button.el (default-button): Purecopy strings.
15559
15560 2009-11-06 Glenn Morris <rgm@gnu.org>
15561
15562 * Makefile.in (ELCFILES): Update.
15563
15564 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
15565
15566 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
15567 * emacs-lisp/levents.el: Move to obsolete/levents.el.
15568
15569 * nxml/xsd-regexp.el (xsdre-gen-categories):
15570 * nxml/xmltok.el (xmltok-parse-entity):
15571 * nxml/rng-parse.el (rng-parse-validate-file):
15572 * nxml/rng-maint.el (rng-format-manual)
15573 (rng-manual-output-force-new-line):
15574 * nxml/rng-loc.el (rng-save-schema-location-1):
15575 * nxml/rng-cmpct.el (rng-c-parse-file):
15576 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
15577 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
15578
15579 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
15580
15581 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
15582 Remove extra save-excursions and make-variable-buffer-local's.
15583 Suggested by Stefan Monnier.
15584
15585 (verilog-getopt-file, verilog-module-inside-filename-p)
15586 (verilog-set-define): Merge GNU 1.35 and repair changes from
15587 switching to using with-current-buffer.
15588
15589 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
15590 being treated as a number and confusing AUTORESET.
15591 Reported by Dan Dever.
15592
15593 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
15594 Add verilog-auto-ignore-concat to fix backward compatibility with
15595 older verilog-modes. Reported by Dan Katz.
15596
15597 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
15598 containing closing anchors "...$".
15599
15600 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
15601 Reported by Wade Smith.
15602
15603 (verilog-batch-execute-func): Comment on function usage.
15604
15605 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
15606
15607 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
15608 for labels.
15609
15610 (verilog-label-re, verilog-calc-1): Support proper indent of named
15611 asserts.
15612
15613 (verilog-backward-token, verilog-basic-complete-re)
15614 (verilog-beg-of-statement, verilog-indent-re): Support proper
15615 indent of the assert statement at the beginning of a block of text.
15616
15617 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
15618 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
15619 tokens as begins.
15620
15621 2009-11-05 Glenn Morris <rgm@gnu.org>
15622
15623 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
15624 Emacs 19. (Bug#1531)
15625 (byte-compile-fix-header): Update for the above change.
15626 Drop test for epoch::version.
15627
15628 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
15629 * cus-dep.el (custom-make-dependencies):
15630 * finder.el (finder-compile-keywords):
15631 Use autoload-rubric's feature argument.
15632
15633 * calendar/diary-lib.el (top-level): Make load behave more like require.
15634
15635 * vc-git.el (vc-git-stash-map): Move definition before use.
15636
15637 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
15638
15639 * custom.el (custom-declare-group): Purecopy standard-value.
15640 (custom-declare-group): Purecopy custom-prefix.
15641
15642 * international/mule.el (load-with-code-conversion):
15643 Call do-after-load-evaluation unconditionally.
15644
15645 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
15646
15647 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
15648
15649 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
15650
15651 2009-11-04 Glenn Morris <rgm@gnu.org>
15652
15653 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
15654 (byte-compile-compatibility): Remove option.
15655 (byte-compile-close-variables, byte-compile-fix-header)
15656 (byte-compile-insert-header, byte-compile-output-docform)
15657 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
15658 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
15659 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
15660 (byte-compile-insert, byte-compile-defun):
15661 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
15662 (byte-defop-compiler19): Remove.
15663 Without byte-compile-compatibility, the 'emacs19-opcode property is not
15664 used by anything. Replace all calls with byte-defop-compiler.
15665
15666 2009-11-04 Juri Linkov <juri@jurta.org>
15667
15668 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
15669 (menu-bar-options-menu): Don't quote the `prop' arg of
15670 `menu-bar-make-mm-toggle'.
15671
15672 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
15673
15674 * calendar/calendar.el (cal-loaddefs):
15675 * calendar/diary-lib.el (diary-loaddefs):
15676 * calendar/holidays.el (hol-loaddefs):
15677 * eshell/esh-module.el (esh-groups): Load rather than require.
15678
15679 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
15680
15681 * calendar/todo-mode.el (todo-add-category): Don't hardcode
15682 point-min==1.
15683 (todo-top-priorities): Only display-buffer when called interactively.
15684 (todo-item-start): Don't save excursion point.
15685 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
15686 (todo-insert-item-here, todo-file-item, todo-remove-item):
15687 Adjust uses of todo-item-start and todo-item-end.
15688
15689 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
15690 (autoload-rubric): Don't use any more.
15691
15692 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
15693 and only put a prop if it is non-nil.
15694
15695 2009-11-03 Juri Linkov <juri@jurta.org>
15696
15697 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
15698 (menu-bar-options-menu): Fix list quoting (Bug#4429).
15699
15700 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
15701 and "Menu" to make top-level menu item visually one unit (like
15702 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
15703 multi-word menu items). Fix :help string for quit-window.
15704
15705 2009-11-03 Glenn Morris <rgm@gnu.org>
15706
15707 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
15708 (byte-compile-file-form-define-abbrev-table)
15709 (byte-compile-file-form-custom-declare-variable)
15710 (byte-compile-variable-ref, byte-compile-defvar):
15711 Whether or not a warning is enabled should only affect whether we issue
15712 the warning, not whether or not we collect the relevant data.
15713 Eg warnings can be turned on and off throughout the course of a file.
15714
15715 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
15716 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
15717
15718 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
15719
15720 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
15721 * play/mpuz.el (mpuz-create-buffer):
15722 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
15723 (lm-print-y,s,noise, lm-print-w0, lm-init):
15724 * play/gomoku.el (gomoku-prompt-for-move):
15725 * play/fortune.el (fortune-in-buffer):
15726 * play/dissociate.el (dissociated-press):
15727 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
15728 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
15729 * mail/supercite.el (sc-eref-show):
15730 * mail/smtpmail.el (smtpmail-send-it):
15731 * mail/rmailsum.el (rmail-summary-next-labeled-message)
15732 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
15733 (rmail-summary-undelete-many, rmail-summary-rmail-update)
15734 (rmail-summary-goto-msg, rmail-summary-expunge)
15735 (rmail-summary-get-new-mail, rmail-summary-search-backward)
15736 (rmail-summary-add-label, rmail-summary-output-menu)
15737 (rmail-summary-output-body):
15738 * mail/rfc822.el (rfc822-addresses):
15739 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
15740 * mail/mailpost.el (post-mail-send-it):
15741 * mail/hashcash.el (hashcash-generate-payment):
15742 * mail/feedmail.el (feedmail-run-the-queue)
15743 (feedmail-queue-send-edit-prompt-help-first)
15744 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
15745 (feedmail-deduce-address-list):
15746 * eshell/esh-ext.el (eshell-remote-command):
15747 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
15748 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
15749 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
15750 (viper-save-string-in-file, viper-valid-marker):
15751 * emulation/viper-keym.el (viper-toggle-key):
15752 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
15753 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
15754 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
15755 * emulation/viper-cmd.el (viper-exec-form-in-vi)
15756 (viper-exec-form-in-emacs, viper-brac-function):
15757 * emulation/viper.el (viper-delocalize-var):
15758 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
15759 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
15760 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
15761 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
15762 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
15763 * emulation/edt.el (edt-electric-helpify):
15764 * emulation/cua-rect.el (cua--rectangle-aux-replace):
15765 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
15766 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
15767 (cua-indent-to-global-mark-column):
15768 * calendar/diary-lib.el (calendar-mark-1):
15769 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
15770 Use with-current-buffer.
15771 * emulation/viper.el (viper-delocalize-var): Use dolist.
15772
15773 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
15774
15775 * comint.el (comint-replace-by-expanded-history-before-point):
15776 Replace !! with the previous input string literally (Bug#1795).
15777
15778 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
15779
15780 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
15781 to be made up of whitespace.
15782
15783 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
15784
15785 * minibuffer.el (read-file-name): Don't use file dialogs for
15786 remote directories (Bug#99).
15787
15788 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
15789
15790 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
15791
15792 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
15793
15794 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
15795 instead of deleting the window or frame.
15796
15797 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
15798
15799 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
15800 Support face colors.
15801
15802 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
15803 New function. Support face colors (Bug#1168).
15804 (tex-common-initialization): Use it.
15805
15806 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
15807 mode allows it (Bug#1168).
15808
15809 2009-10-31 Juri Linkov <juri@jurta.org>
15810
15811 * facemenu.el (list-colors-display): Don't mark buffer as
15812 modified (Bug#3948).
15813
15814 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
15815
15816 * international/mule-diag.el (list-character-sets-1):
15817 Minor message fix (Bug#3526).
15818
15819 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
15820 Fix face property (Bug#4834).
15821 (etags-list-tags, etags-tags-apropos-additional)
15822 (etags-tags-apropos, tags-select-tags-table): Add follow-link
15823 property.
15824
15825 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
15826 items.
15827
15828 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
15829
15830 * textmodes/two-column.el (2C-split):
15831 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
15832 * textmodes/tex-mode.el (tex-set-buffer-directory):
15833 * textmodes/spell.el (spell-region, spell-string):
15834 * textmodes/reftex.el (reftex-erase-buffer):
15835 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
15836 * textmodes/reftex-toc.el (reftex-toc-promote-action):
15837 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
15838 (reftex-select-item):
15839 * textmodes/reftex-ref.el (reftex-label-info-update)
15840 (reftex-offer-label-menu):
15841 * textmodes/reftex-index.el (reftex-index-change-entry)
15842 (reftex-index-phrases-info):
15843 * textmodes/reftex-global.el (reftex-create-tags-file)
15844 (reftex-save-all-document-buffers, reftex-ensure-write-access):
15845 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
15846 (reftex-view-crossref-from-bibtex):
15847 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
15848 (reftex-extract-bib-entries-from-thebibliography)
15849 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
15850 * textmodes/refbib.el (r2b-capitalize-title):
15851 (r2b-convert-buffer, r2b-help):
15852 * textmodes/page-ext.el (pages-directory)
15853 (pages-directory-goto-with-mouse):
15854 * textmodes/bibtex.el (bibtex-validate-globally):
15855 * textmodes/bib-mode.el (bib-capitalize-title):
15856 * textmodes/artist.el (artist-clear-buffer, artist-system):
15857 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
15858 (local-set-scheme-interaction-buffer, xscheme-process-filter)
15859 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
15860 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
15861 (xscheme-send-control-g-interrupt, xscheme-start-process)
15862 (xscheme-process-sentinel, xscheme-cd):
15863 * progmodes/verilog-mode.el (verilog-read-always-signals)
15864 (verilog-set-define, verilog-getopt-file)
15865 (verilog-module-inside-filename-p):
15866 * progmodes/sh-script.el:
15867 * progmodes/python.el (python-pdbtrack-get-source-buffer)
15868 (python-pdbtrack-grub-for-buffer, python-execute-file):
15869 * progmodes/octave-inf.el (inferior-octave):
15870 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
15871 (idlwave-shell-compile-helper-routines, idlwave-set-local)
15872 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
15873 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
15874 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
15875 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
15876 (idlwave-shell-filter, idlwave-shell-examine-highlight)
15877 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
15878 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
15879 (idlwave-shell-examine-display, idlwave-shell-run-region)
15880 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
15881 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
15882 * progmodes/idlw-help.el (idlwave-help-get-special-help)
15883 (idlwave-help-get-help-buffer):
15884 * progmodes/gud.el (gud-basic-call, gud-find-class)
15885 (gud-tooltip-activate-mouse-motions-if-enabled):
15886 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
15887 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
15888 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
15889 (ebrowse-tags-next-file):
15890 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
15891 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
15892 (ebnf-eps-finish-and-write):
15893 * progmodes/cpp.el (cpp-edit-save):
15894 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
15895 * progmodes/cc-defs.el (c-emacs-features):
15896 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
15897 (antlr-directory-dependencies):
15898 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
15899 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
15900 (ada-find-any-references, ada-make-filename-from-adaname)
15901 (ada-make-body-gnatstub):
15902 * obsolete/rnews.el (news-list-news-groups):
15903 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
15904 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
15905 * net/rcirc.el (rcirc-debug):
15906 * net/newst-treeview.el (newsticker--treeview-list-add-item)
15907 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
15908 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
15909 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
15910 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
15911 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
15912 (newsticker--treeview-list-clear-highlight)
15913 (newsticker--treeview-list-update-highlight)
15914 (newsticker--treeview-list-highlight-start)
15915 (newsticker--treeview-tree-update-highlight)
15916 (newsticker--treeview-get-selected-item)
15917 (newsticker-treeview-mark-list-items-old)
15918 (newsticker--treeview-set-current-node):
15919 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
15920 * net/newst-backend.el (newsticker--get-news-by-funcall)
15921 (newsticker--get-news-by-wget, newsticker--image-get)
15922 (newsticker--image-sentinel):
15923 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
15924 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
15925 (eudc-ph-close-session):
15926 * net/eudc.el (eudc-save-options):
15927 * language/thai-word.el (thai-update-word-table):
15928 * language/japan-util.el (japanese-string-conversion):
15929 * international/titdic-cnv.el (tsang-quick-converter)
15930 (ziranma-converter, ctlau-converter):
15931 * international/mule-cmds.el (describe-language-environment):
15932 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
15933 (skkdic-convert-postfix, skkdic-convert-prefix):
15934 (skkdic-convert-okuri-nasi, skkdic-convert):
15935 * emacs-lisp/re-builder.el (reb-update-overlays):
15936 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
15937 * emacs-lisp/gulp.el (gulp-send-requests):
15938 * emacs-lisp/find-gc.el (trace-call-tree):
15939 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
15940 (eieio-describe-generic):
15941 * emacs-lisp/eieio-base.el (eieio-persistent-read):
15942 * emacs-lisp/edebug.el (edebug-outside-excursion):
15943 * emacs-lisp/debug.el (debugger-make-xrefs):
15944 * emacs-lisp/cust-print.el (custom-prin1-to-string):
15945 * emacs-lisp/chart.el (chart-new-buffer):
15946 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
15947 Use with-current-buffer.
15948 * textmodes/artist.el (artist-system): Don't call
15949 copy-sequence on a fresh string.
15950 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
15951
15952 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
15953
15954 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
15955 is no item to edit. (Bug#4820)
15956 (todo-top-priorities): Restore point and restore narrowing in Todo
15957 buffer. (Bug#4820)
15958
15959 2009-10-31 Glenn Morris <rgm@gnu.org>
15960
15961 * net/ange-ftp.el (top-level): Don't require dired when compiling.
15962 (comint-last-output-start, comint-last-input-start)
15963 (comint-last-input-end): Don't defvar when compiling.
15964 (ange-ftp-process-file): Use bound-and-true-p.
15965
15966 * pcmpl-rpm.el (top-level): Move provide statement to end.
15967 (pcmpl-rpm): Remove unused custom group.
15968
15969 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
15970
15971 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
15972
15973 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
15974 (byte-compile-warnings): Add `constants' as an option.
15975 (byte-compile-callargs-warn, byte-compile-arglist-warn)
15976 (display-call-tree): Update for byte-compile-fdefinition possibly
15977 returning `(macro lambda ...)'. (Bug#4778)
15978 (byte-compile-variable-ref, byte-compile-setq-default):
15979 Respect `constants' member of byte-compile-warnings.
15980
15981 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
15982
15983 * vc-bzr.el (vc-bzr-revision-keywords): New var.
15984 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
15985 to "submit:".
15986
15987 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
15988
15989 * textmodes/ispell.el (ispell-skip-region-alist):
15990 * international/mule-conf.el (eight-bit):
15991 * international/fontset.el (font-encoding-alist):
15992 * startup.el (pure-space-overflow-message):
15993 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
15994 * paths.el (gnus-nntp-service, rmail-spool-directory)
15995 (term-file-prefix):
15996 * files.el (save-some-buffers-action-alist):
15997 * cmuscheme.el (same-window-buffer-names):
15998 * ielm.el (same-window-buffer-names):
15999 * shell.el (same-window-buffer-names):
16000 * mail/sendmail.el (same-window-buffer-names):
16001 * progmodes/inf-lisp.el (same-window-buffer-names):
16002 * bindings.el (mode-line-client)
16003 (mode-line-column-line-number-mode-map):
16004 * language/tibetan.el (tibetan-precomposition-rule-regexp)
16005 (tibetan-precomposed-regexp): Purecopy string arguments.
16006
16007 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16008
16009 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
16010 (calcDigit-nondigit):
16011 * calc/calc-yank.el (calc-copy-to-buffer):
16012 * calc/calc-units.el (calc-invalidate-units-table):
16013 * calc/calc-trail.el (calc-trail-yank):
16014 * calc/calc-store.el (calc-insert-variables):
16015 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
16016 * calc/calc-prog.el (calc-read-parse-table):
16017 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
16018 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
16019 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
16020 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
16021 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
16022 (calc-graph-name, calc-graph-find-command, calc-graph-view)
16023 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
16024 * calc/calc-ext.el (calc-realign):
16025 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
16026 (calc-embedded-finish-edit, calc-embedded-make-info)
16027 (calc-embedded-finish-command, calc-embedded-stack-change):
16028 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
16029
16030 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
16031 shell-dynamic-complete-filename in preference to
16032 comint-dynamic-complete-filename.
16033
16034 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
16035 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
16036 Don't consider whether the display supports colors.
16037 (bookmark-import-new-list): Use dolist.
16038 (bookmark-bmenu-mode-map): Move initialization into declaration.
16039 (bookmark-bmenu-list): Use dolist, simplify.
16040 (bookmark-show-all-annotations): Use save-selected-window and dolist.
16041 (menu-bar-final-items): Use push.
16042
16043 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
16044
16045 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
16046 it works on remote files.
16047 (vc-hg-diff): Don't pass any `--cwd' argument.
16048
16049 2009-10-27 Kevin Ryde <user42@zip.com.au>
16050
16051 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
16052 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
16053 (Further to Bug#3921).
16054
16055 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
16056
16057 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
16058 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
16059 calling `tramp-imap-put-file'. Add file size to the call.
16060 (tramp-imap-get-file-entries): Compute also user name, file size,
16061 and date.
16062 (tramp-imap-handle-insert-directory): Insert uid and gid.
16063 (tramp-imap-handle-file-attributes): Transform uid and gid
16064 according to `id-format'.
16065 (tramp-imap-put-file): New optional parameter SIZE. Encode file
16066 size in header X-Size.
16067
16068 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
16069
16070 * simple.el (transpose-subr): Give clearer error when the mark
16071 is not set. (Bug#4807)
16072
16073 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
16074
16075 * net/tramp.el (tramp-perl-file-truename): New defconst.
16076 Perl code contributed by yary <not.com@gmail.com> (tiny change).
16077 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
16078 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
16079 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
16080
16081 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
16082 Ignore `dired-call-process'.
16083 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
16084
16085 2009-10-26 Julian Scheid <julians37@gmail.com>
16086
16087 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
16088 (tramp-get-remote-readlink): New defun.
16089 (tramp-handle-file-truename): Use it.
16090 (tramp-handle-file-exists-p): Check file-attributes cache, assume
16091 file exists if cache value present.
16092 (tramp-check-cached-permissions): New defun.
16093 (tramp-handle-file-readable-p): Use it.
16094 (tramp-handle-file-writable-p): Likewise.
16095 (tramp-handle-file-executable-p): Likewise.
16096 (tramp-handle-file-name-all-completions): Try using Perl to get
16097 partial completions. When perl not available, combine `cd' and
16098 `ls' into single remote operation and use shell expansion to get
16099 partial remote directory contents. Set `file-exists-p' cache for
16100 directory and any files returned by ls. Change cache handling to
16101 support partial directory contents. Use error message emitted by
16102 remote `cd' or Perl code for local tramp-error.
16103 (tramp-do-copy-or-rename-file-directly): Avoid separate
16104 tramp-send-command-and-check call.
16105 (tramp-handle-process-file): Merge three remote ops into one.
16106 Do not flush all caches when `process-file-side-effects' is set.
16107 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
16108 file-attributes shows uid/gid to be set already.
16109
16110 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
16111
16112 * textmodes/tex-mode.el (tex-dvi-view-command)
16113 (tex-show-queue-command, tex-open-quote):
16114 * progmodes/ruby-mode.el (auto-mode-alist)
16115 (interpreter-mode-alist): Purecopy strings.
16116
16117 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
16118
16119 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
16120 string for the hook, keymap and abbrev table.
16121
16122 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
16123
16124 * x-dnd.el (x-dnd-xdnd-to-action):
16125 * startup.el (fancy-startup-text, fancy-about-text): Change to
16126 defconst from defvar.
16127
16128 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
16129
16130 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
16131 Purecopy initialization strings.
16132
16133 * mail/sendmail.el (mail-header-separator)
16134 (mail-personal-alias-file):
16135 * mail/rmail.el (rmail-default-dont-reply-to-names)
16136 (rmail-ignored-headers, rmail-retry-ignored-headers)
16137 (rmail-highlighted-headers, rmail-secondary-file-directory)
16138 (rmail-secondary-file-regexp):
16139 * files.el (null-device, file-name-invalid-regexp)
16140 (locate-dominating-stop-dir-regexp)
16141 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
16142 (interpreter-mode-alist): Use mapcar instead of mapc.
16143
16144 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
16145
16146 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
16147 (completion-ignored-extensions):
16148 (debug-ignored-errors): Purecopy strings.
16149
16150 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
16151
16152 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
16153 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
16154 (pcomplete--here): Use push.
16155
16156 * subr.el (all-completions): Declare the 4th arg obsolete.
16157
16158 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
16159
16160 * pcomplete.el (pcomplete-unquote-argument-function): New var.
16161 (pcomplete-unquote-argument): New function.
16162 (pcomplete--common-suffix): Always pay attention to case.
16163 (pcomplete--table-subvert): Quote and unquote the text.
16164 (pcomplete--common-quoted-suffix): New function.
16165 (pcomplete-std-complete): Use it and pcomplete-begin.
16166
16167 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
16168 we're inside a dedicated or minibuffer window.
16169
16170 2009-10-24 Karl Fogel <kfogel@red-bean.com>
16171
16172 * bookmark.el: Update documentation, especially documentation
16173 of `bookmark-alist' and of the bookmark file format.
16174 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
16175
16176 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
16177
16178 * mail/emacsbug.el (report-emacs-bug): Clarify that the
16179 keybindings apply to the mail buffer (Bug#4003). Shrink help
16180 window to buffer.
16181
16182 * whitespace.el (whitespace-mode, whitespace-newline-mode)
16183 (global-whitespace-mode, global-whitespace-newline-mode)
16184 (whitespace-toggle-options, global-whitespace-toggle-options):
16185 Doc fix (Bug#3660).
16186
16187 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
16188 of xmltok-start before the end tag was inserted (Bug#2840).
16189
16190 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
16191 patterns that are preceded by an open-paren (Bug#1320).
16192
16193 2009-10-24 Sven Joachim <svenjoac@gmx.de>
16194
16195 * files.el (delete-directory): Delete symlinks to directories with
16196 delete-file (Bug#4739).
16197
16198 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
16199
16200 * vc.el (vc-backend-for-registration): Rename from
16201 vc-get-backend-for-registration. Update callers.
16202
16203 * international/mule-cmds.el (set-language-info-alist):
16204 Purecopy lang-env.
16205 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
16206 (charset): Purecopy the name.
16207 (define-char-code-property): Purecopy string arguments.
16208
16209 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
16210 Purecopy string arguments.
16211
16212 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
16213 * ediff-hook.el (menu-bar-ediff-menu):
16214 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
16215 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
16216
16217 2009-10-24 Glenn Morris <rgm@gnu.org>
16218
16219 * comint.el (comint-dynamic-list-completions):
16220 * term.el (term-dynamic-list-completions): Use choose-completion rather
16221 than obsolete alias mouse-choose-completion.
16222
16223 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
16224 file-cache-choose-completion.
16225 (file-cache-choose-completion): Handle an optional event argument.
16226 (file-cache-mouse-choose-completion): Make it an obsolete alias.
16227
16228 * progmodes/octave-mod.el (octave-complete-symbol):
16229 Use choose-completion if mouse-choose-completion is ever removed.
16230
16231 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
16232 use.
16233
16234 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
16235 compiler.
16236
16237 * vc-hooks.el (vc-responsible-backend): Fix declaration.
16238
16239 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
16240
16241 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
16242 Ignore `pred' now that we receive one.
16243 Handle test-completion specially.
16244
16245 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
16246
16247 * vc.el (vc-responsible-backend): Throw an error if not backend is
16248 found. Remove the REGISTER argument. Move the code dealing with
16249 REGISTER ...
16250 (vc-get-backend-for-registration): ... here. New function.
16251 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
16252 of vc-responsible-backend, pass the file name instead of the
16253 directory name.
16254
16255 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
16256
16257 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
16258 New funs.
16259 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
16260 (pcomplete-comint-setup): Don't modify a global var via
16261 accidental side-effects.
16262 (pcomplete-shell-setup): Adjust call accordingly.
16263 (pcomplete-parse-comint-arguments): Use push.
16264
16265 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
16266
16267 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
16268 Allow uncapitalized info node names (Bug#3921).
16269
16270 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
16271 to the DEBUG file (Bug#3781).
16272
16273 2009-10-23 Jari Aalto <jari.aalto@cante.net>
16274
16275 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
16276 dictionary entry (Bug#4579).
16277
16278 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
16279
16280 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
16281 from `rfn-eshadow-update-overlay-hook' when unloading.
16282 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
16283 "rsyncc". Adjust doc string.
16284 (tramp-temp-buffer-file-name): New buffer-local defvar.
16285 (tramp-handle-insert-file-contents, tramp-handle-write-region):
16286 Keep temporary file when indicated by method ("rsync" and
16287 "rsyncc").
16288 (tramp-handle-write-region): Handle APPEND.
16289 (tramp-delete-temp-file-function): New defun. Added to
16290 `kill-buffer-hook'.
16291
16292 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
16293
16294 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
16295
16296 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
16297
16298 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
16299 (color-name-rgb-alist, tty-standard-colors)
16300 (tty-color-mode-alist): Change to defconst.
16301
16302 * simple.el (mark-inactive): Purecopy message.
16303
16304 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
16305 (global-map, yank-menu):
16306 * textmodes/ispell.el (ispell-menu-map):
16307 * net/eudc.el (eudc-tools-menu):
16308 * international/mule-cmds.el (describe-language-environment-map)
16309 (setup-language-environment-map, set-coding-system-map)
16310 (mule-menu-keymap):
16311 * vc-hooks.el (vc-menu-entry, vc-menu-map):
16312 * replace.el (occur-mode-map):
16313 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
16314
16315 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
16316
16317 * calc/calc.el (math-read-number, math-read-number-simple):
16318 Use `save-match-data'.
16319
16320 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
16321
16322 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
16323 rather than fiddling with global-map bindings, since it should only
16324 affect per-terminal settings.
16325 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
16326
16327 * minibuffer.el (completion-table-with-terminator): Allow to specify
16328 the terminator-regexp.
16329
16330 * simple.el (switch-to-completions): Look for *Completions* in other
16331 frames as well.
16332
16333 * pcomplete.el: Allow the use of completion-tables.
16334 (pcomplete-std-complete): New command.
16335 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
16336 (pcomplete--here): Use a function for `form' rather than an expression,
16337 so it can be byte-compiled.
16338 (pcomplete-here, pcomplete-here*): Adjust accordingly.
16339 Add edebug declaration.
16340 (pcomplete-show-completions): Remove unused var `curbuf'.
16341 (pcomplete-do-complete, pcomplete-stub):
16342 Don't assume `completions' is a list of strings any more.
16343
16344 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
16345
16346 * find-dired.el (find-name-arg): Fix typo in docstring.
16347
16348 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
16349
16350 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
16351 (pcmpl-linux-fs-types): Same, and update to new modules layout.
16352
16353 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
16354 pcomplete-entries.
16355
16356 * comint.el (comint-read-input-ring, comint-write-input-ring)
16357 (comint-substitute-in-file-name)
16358 (comint-dynamic-complete-as-filename)
16359 (comint-dynamic-simple-complete)
16360 (comint-dynamic-list-filename-completions)
16361 (comint-dynamic-list-completions)
16362 (comint-redirect-results-list-from-process): Minor simplifications.
16363
16364 2009-10-21 Kevin Ryde <user42@zip.com.au>
16365
16366 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
16367 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
16368 the first form. And insert a blank line after ";;; Code" since
16369 that's usual style. (Bug#4612)
16370
16371 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
16372
16373 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
16374
16375 * minibuffer.el (completion-table-with-terminator): Properly implement
16376 boundaries, in case `terminator' appears in the suffix.
16377 (completion--embedded-envvar-table): Don't return boundaries if
16378 there's no valid completion. Simplify.
16379 (completion-file-name-table): New completion table extracted from
16380 completion--file-name-table.
16381 (completion--file-name-table): Use it.
16382 (read-file-name-predicate): Declare obsolete.
16383 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
16384 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
16385 completion-file-name-table, and use the `pred' argument.
16386 * files.el (locate-file-completion-table): Use the `pred' arg rather
16387 than read-file-name-predicate.
16388 (abbreviate-file-name): Use \` rather than ^ for BOS.
16389
16390 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
16391
16392 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
16393 vc-responsible-backend to register, it causes problems.
16394
16395 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
16396
16397 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
16398
16399 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
16400
16401 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
16402 (tramp-smb-handle-file-attributes): Use it.
16403 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
16404 (tramp-smb-handle-insert-directory): Use `mapc' rather than
16405 `mapcar'. Use `tramp-smb-get-stat-capability'.
16406 Add `dired-filename' text properties.
16407 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
16408 (tramp-smb-maybe-open-connection): Simplify check for smbclient
16409 version.
16410
16411 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
16412
16413 * subr.el (read-key-delay): Reduce to 0.01.
16414 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
16415 (bug#4751).
16416
16417 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
16418
16419 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
16420
16421 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
16422 (Info-menu): Remove unused vars `last' and `completions'.
16423 (Info-index-nodes): Remove unused var `node'.
16424
16425 * info.el (Info-complete-menu-item): Use complete-with-action.
16426
16427 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
16428
16429 Make vc-annotate work through copies and renames.
16430 * vc-annotate.el (vc-annotate-extract-revision-at-line):
16431 Return the file name too.
16432 (vc-annotate-revision-at-line)
16433 (vc-annotate-find-revision-at-line)
16434 (vc-annotate-revision-previous-to-line)
16435 (vc-annotate-show-log-revision-at-line): Update to get the file
16436 name from vc-annotate-extract-revision-at-line.
16437 (vc-annotate-show-diff-revision-at-line-internal): Change the
16438 argument to mean whether to show a file diff or not. Get the file
16439 name from vc-annotate-extract-revision-at-line.
16440 (vc-annotate-show-diff-revision-at-line):
16441 Update vc-annotate-show-diff-revision-at-line call.
16442 (vc-annotate-warp-revision): Add an optional file argument.
16443
16444 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
16445 (vc-git-annotate-extract-revision-at-line): Also return the file
16446 name if found.
16447
16448 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
16449 command. Remove unused code.
16450 (vc-hg-annotate-re): Update to match --follow output.
16451 (vc-hg-annotate-extract-revision-at-line): Also return the file
16452 name if found.
16453
16454 * vc.el: Update annotate-extract-revision-at-line documentation.
16455
16456 2009-10-18 Kevin Ryde <user42@zip.com.au>
16457
16458 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
16459 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
16460
16461 * net/browse-url.el (browse-url): Identify alist with "consp and
16462 not functionp" and let all other things go down the `apply' leg,
16463 as suggested by Stefan. (Further to bug#4531.)
16464
16465 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
16466
16467 * minibuffer.el (read-file-name): Check for repeat before putting
16468 a default argument in file-name-history (Bug#4657).
16469
16470 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
16471 read syntax (Bug#4737).
16472
16473 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
16474
16475 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
16476
16477 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
16478 (html-tag-alist, html-tag-help): Add descriptions for undocumented
16479 entries and make note of obsolete tags.
16480
16481 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
16482
16483 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
16484
16485 2009-10-18 Glenn Morris <rgm@gnu.org>
16486
16487 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
16488 grep, so that binary files (eg international/uni-bidi.el) can match.
16489 Remove test for "UnicodeData" files, since it is hopefully unnecessary
16490 now, and in any case the file header format has changed.
16491
16492 2009-10-17 Glenn Morris <rgm@gnu.org>
16493
16494 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
16495 (flyspell-get-word, flyspell-large-region)
16496 (flyspell-auto-correct-previous-word): Doc/error message fixes.
16497
16498 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
16499
16500 * Makefile.in (ELCFILES): Add ede/shell.
16501
16502 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
16503
16504 * term/common-win.el (x-colors): Purecopy it.
16505
16506 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
16507
16508 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
16509 permissive for when the buffer is empty.
16510 (tar-header-block-tokenize): Decode the username and groupname.
16511 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
16512
16513 2009-10-17 Eric Ludlam <zappo@gnu.org>
16514
16515 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
16516 contains multibyte characters, choose first applicable coding
16517 system automatically.
16518
16519 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
16520
16521 * international/mule-cmds.el (select-safe-coding-system): If the file
16522 has a coding cookie, use it regardless of any other setting (bug#4712).
16523
16524 2009-10-17 Glenn Morris <rgm@gnu.org>
16525
16526 * foldout.el (foldout-mouse-swallow-events):
16527 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
16528
16529 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
16530 (dired-keep-marker-copy, dired-keep-marker-hardlink)
16531 (dired-keep-marker-symlink, dired-dwim-target)
16532 (dired-copy-preserve-time): Do not autoload these defcustoms.
16533
16534 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
16535 messages from messing up the file coding. (Bug#4623)
16536
16537 2009-10-17 Jari Aalto <jari.aalto@cante.net>
16538
16539 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
16540 if no match is found for the current dictionary. (Bug#4578)
16541
16542 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
16543 optional, since that is how it is documented, and this is often called
16544 with a nil argument. (Bug#4577)
16545 (flyspell-external-point-words, flyspell-auto-correct-word)
16546 (flyspell-correct-word-before-point, flyspell-word-search-forward)
16547 (flyspell-word-search-backward): Remove nil argument in calls to
16548 flyspell-get-word, since it is not needed now.
16549
16550 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
16551
16552 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
16553
16554 2009-10-16 Glenn Morris <rgm@gnu.org>
16555
16556 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
16557
16558 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
16559
16560 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
16561 (ange-ftp-file-size): New function.
16562 (ange-ftp-file-attributes): Use it.
16563
16564 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
16565
16566 * net/tramp-smb.el (tramp-smb-version): New defvar.
16567 (tramp-smb-maybe-open-connection): Use it, in order to avoid
16568 repeated checks.
16569
16570 2009-10-16 Glenn Morris <rgm@gnu.org>
16571
16572 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
16573 Maybe copy some custom properties from old to new name. (Bug#4706)
16574
16575 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
16576
16577 * subr.el (error, sit-for, start-process-shell-command)
16578 (start-file-process-shell-command): Set the calling convention
16579 after the function definition.
16580
16581 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
16582
16583 * subr.el (error, sit-for, start-process-shell-command)
16584 (start-file-process-shell-command): Use the new
16585 set-advertised-calling-convention feature.
16586
16587 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
16588
16589 * international/ucs-normalize.el (ucs-normalize-version):
16590 Change to 1.2.
16591 (check-range): Adjust for Unicode 5.2.
16592
16593 2009-10-15 Juri Linkov <juri@jurta.org>
16594
16595 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
16596 to the `menu-item' format.
16597
16598 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
16599
16600 * net/tramp.el (tramp-replace-environment-variables): Do not fail
16601 if the environment variable does not exist.
16602
16603 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16604 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
16605 parameter.
16606 (tramp-smb-handle-add-name-to-file)
16607 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
16608 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
16609 (tramp-smb-handle-file-attributes)
16610 (tramp-smb-do-file-attributes-with-stat)
16611 (tramp-smb-handle-file-local-copy)
16612 (tramp-smb-handle-insert-directory)
16613 (tramp-smb-handle-make-directory)
16614 (tramp-smb-handle-make-directory-internal)
16615 (tramp-smb-handle-make-symbolic-link)
16616 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
16617 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
16618 (tramp-smb-maybe-open-connection): Apply the changed parameters.
16619 (tramp-smb-read-file-entry): Read Disk names in compressed format.
16620 Handle long file names.
16621 (tramp-smb-get-cifs-capabilities): Check, whether the connection
16622 process is running.
16623 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
16624 Read share names with "-g" option.
16625
16626 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
16627
16628 * net/rcirc.el (rcirc-view-log-file): New command.
16629 (rcirc-track-minor-mode-map): Remove C-c ` binding.
16630 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
16631 specified.
16632
16633 2009-10-15 Glenn Morris <rgm@gnu.org>
16634
16635 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
16636 from the second command-line argument.
16637 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
16638 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
16639 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
16640 w32-batch-update-autoloads.
16641 * emacs-lisp/autoload.el (autoload-make-program): New variable.
16642 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
16643
16644 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
16645 the headers cannot be located. Simplify, subtracting superflous
16646 save-excursions.
16647
16648 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
16649
16650 Replace completion-base-size by completion-base-position to fix bugs
16651 such as (bug#4699).
16652 * simple.el (completion-base-position): New var.
16653 (completion-base-size): Mark as obsolete.
16654 (choose-completion): Make it work for mouse events as well.
16655 Pass the new base-position to choose-completion-string.
16656 (choose-completion-guess-base-position): New function, extracted from
16657 choose-completion-delete-max-match.
16658 (choose-completion-delete-max-match): Use it. Make obsolete.
16659 (choose-completion-string): Use the new base-position info.
16660 (completion-root-regexp): Delete.
16661 (completion-setup-function): Preserve completion-base-position.
16662 Eliminate obsolete base-size manipulation.
16663 * minibuffer.el (display-completion-list): Don't mess with base-size.
16664 (minibuffer-completion-help): Set completion-base-position instead.
16665 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
16666 choose-completion.
16667 * textmodes/bibtex.el (bibtex-complete):
16668 * emacs-lisp/crm.el (crm--choose-completion-string):
16669 Adjust to new calling convention.
16670 * complete.el (partial-completion-mode): Use minibufferp to avoid
16671 bumping into incompatible change to choose-completion-string-functions.
16672 * ido.el (ido-choose-completion-string): Make its calling convention
16673 more permissive.
16674 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
16675 base-size manipulation.
16676 (comint-dynamic-list-input-ring): Use dotimes and push.
16677 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
16678 fundamental-mode. Use `or'.
16679
16680 2009-10-14 Juri Linkov <juri@jurta.org>
16681
16682 * misearch.el (multi-isearch-next-buffer-from-list)
16683 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
16684
16685 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
16686
16687 * Makefile.in (compile-onefile): Load `bytecomp' rather than
16688 `bytecomp.el'.
16689
16690 * minibuffer.el (completion-pcm--merge-completions): Make sure the
16691 string we return is all made up of text from the completions rather
16692 than part from the completions and part from the input (bug#4219).
16693
16694 * ido.el (ido-everywhere): Use define-minor-mode.
16695
16696 * buff-menu.el (list-buffers, ctl-x-map):
16697 Mark the entry points with ;;;###autoload cookies.
16698
16699 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
16700
16701 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
16702 correctly in the detached head case.
16703 (vc-git-print-log): Remove unused binding.
16704
16705 * vc.el (vc-responsible-backend): When a directory is passed for
16706 for registration create a VC repository if no backend is
16707 responsible for the directory argument.
16708 (vc-deduce-fileset): Tell vc-responsible-backend to register.
16709
16710 * vc.el: Move comments about RCS and SCCS ...
16711 * vc-rcs.el:
16712 * vc-sccs.el: ... here, respectively.
16713
16714 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
16715
16716 * minibuffer.el (completion--file-name-table): Return nil if there's
16717 no file completion, even if substitute-in-file-name changed
16718 the string (bug#4708).
16719
16720 2009-10-13 Juri Linkov <juri@jurta.org>
16721
16722 * files-x.el (read-file-local-variable-value): Don't filter out
16723 minor modes from mode name completion (bug#4664).
16724
16725 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
16726
16727 * international/mule-cmds.el (ucs-names): Remove exclusion of
16728 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
16729
16730 2009-10-13 Kenichi Handa <handa@m17n.org>
16731
16732 * international/uni-name.el: Regenerated.
16733
16734 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
16735
16736 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
16737 should be automatically buffer-local, but isn't.)
16738
16739 2009-10-12 Sam Steingold <sds@gnu.org>
16740
16741 * progmodes/compile.el (compilation-next-error-function): Fix the
16742 timestamps if the buffer has been visited before.
16743 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
16744 non-anchored patterns, like the perl one (bug#3928).
16745
16746 2009-10-12 Glenn Morris <rgm@gnu.org>
16747
16748 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
16749 Let-bind `size'.
16750
16751 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
16752
16753 * proced.el (proced-unload-function): New function.
16754
16755 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
16756 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
16757 Doc fix.
16758
16759 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
16760
16761 2009-10-11 Juri Linkov <juri@jurta.org>
16762
16763 * files-x.el (read-file-local-variable-value):
16764 Provide default value only for bound variables (bug#4664).
16765
16766 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
16767
16768 * net/tramp.el (tramp-local-host-p): Function shall return nil for
16769 connection methods like smb.
16770
16771 * net/tramp-cache.el (tramp-flush-connection-property): The hash
16772 can be empty.
16773
16774 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16775 (tramp-smb-file-name-handler-alist): Add handlers for
16776 `add-name-to-file', `make-symbolic-link'.
16777 (tramp-smb-handle-add-name-to-file)
16778 (tramp-smb-do-file-attributes-with-stat)
16779 (tramp-smb-handle-make-symbolic-link)
16780 (tramp-smb-get-cifs-capabilities): New defuns.
16781 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
16782 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
16783 (tramp-smb-handle-file-local-copy)
16784 (tramp-smb-handle-make-directory-internal)
16785 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
16786 The file name syntax depends on cifs capabilities.
16787 (tramp-smb-handle-file-attributes):
16788 Call `tramp-smb-do-file-attributes-with-stat' if possible.
16789 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
16790 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
16791
16792 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
16793
16794 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
16795 (eieio-defclass): Apply deftype handler and setf-method properties
16796 directly.
16797 (eieio-add-new-slot): Avoid union function from cl library.
16798 (eieio--typep): New function.
16799 (eieio-perform-slot-validation): Use it.
16800
16801 2009-10-10 Karl Fogel <kfogel@red-bean.com>
16802
16803 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
16804 Update documentation to refer to the variables documented in r1.135.
16805 (Bug#4188)
16806
16807 2009-10-10 Karl Fogel <kfogel@red-bean.com>
16808
16809 * bookmark.el (Info-suffix-list): Remove this unused variable.
16810 (bookmark-current-point): Remove this obsolete variable.
16811 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
16812 Adjust for removal of bookmark-current-point.
16813
16814 (bookmarks-already-loaded, bookmark-current-buffer)
16815 (bookmark-yank-point): Document. (Bug#4188)
16816
16817 2009-10-10 Glenn Morris <rgm@gnu.org>
16818
16819 * frame.el (frame-height): Doc fix.
16820
16821 * calendar/calendar.el (calendar-split-width-threshold): New option.
16822 (calendar-basic-setup): Use calendar-split-width-threshold.
16823
16824 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
16825
16826 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
16827 Ideographic Supplement" range (U+1F200..U+1F2FF).
16828
16829 2009-10-09 Karl Fogel <kfogel@red-bean.com>
16830
16831 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
16832 since the list will have been rebuilt anyway. (Bug#4349)
16833
16834 2009-10-09 Karl Fogel <kfogel@red-bean.com>
16835
16836 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
16837 (bookmark-bmenu-execute-deletions): Don't save here, as
16838 bookmark-delete will now do so if necessary.
16839 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
16840 (Bug#4348)
16841
16842 2009-10-09 Glenn Morris <rgm@gnu.org>
16843
16844 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
16845
16846 2009-10-09 Karl Fogel <kfogel@red-bean.com>
16847
16848 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
16849 (bookmark-jump-other-window): Just invoke bookmark-jump with new
16850 argument now, so the two function's behaviors will match. (Bug#3645)
16851
16852 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
16853
16854 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
16855 (tramp-file-name-real-host, tramp-file-name-port):
16856 Apply `save-match-data'.
16857
16858 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
16859 case both directories are remote.
16860 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
16861 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
16862
16863 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
16864
16865 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
16866
16867 2009-10-07 Glenn Morris <rgm@gnu.org>
16868
16869 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
16870 of concat.
16871
16872 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
16873
16874 * files-x.el (read-file-local-variable): Include some
16875 non-user-variables in the completion table (bug#4664).
16876
16877 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
16878
16879 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
16880 message.
16881
16882 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16883 (tramp-smb-file-name-handler-alist): Add handler for
16884 `copy-directory', `expand-file-name', `set-file-modes'.
16885 (tramp-smb-handle-copy-directory)
16886 (tramp-smb-handle-expand-file-name)
16887 (tramp-smb-handle-set-file-modes): New defuns.
16888 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
16889 (tramp-smb-handle-file-attributes): Simplify check for retrieving
16890 entry.
16891 (tramp-smb-handle-insert-directory): Don't flush the cache.
16892 (tramp-smb-maybe-open-connection): Check for samba client and
16893 server versions.
16894
16895 2009-10-07 Eli Zaretskii <eliz@gnu.org>
16896
16897 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
16898 to not error out of search for "^lisp=" fails.
16899
16900 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
16901
16902 * makefile.w32-in (WINS_UPDATES): New macro.
16903 (custom-deps, finder-data, autoloads): Use it.
16904
16905 2009-10-07 Glenn Morris <rgm@gnu.org>
16906
16907 * Makefile.in (autoloads): Revert previous change.
16908 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
16909 the list of preloaded files passed on the command-line, get
16910 it from src/Makefile.
16911
16912 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
16913 show the original buffer rather than a random one.
16914
16915 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
16916
16917 * help.el (describe-no-warranty): Place point in a slightly better
16918 position in the GPLv3 text.
16919
16920 2009-10-06 Sam Steingold <sds@gnu.org>
16921
16922 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
16923 the comm attribute is present before calling regexp-quote.
16924
16925 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
16926
16927 * play/animate.el (animate-string): For good effect, make sure
16928 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
16929
16930 * play/animate.el (animate-sequence, animate-birthday-present):
16931 * misc.el (butterfly): Don't set `indent-tabs-mode'.
16932
16933 2009-10-06 Glenn Morris <rgm@gnu.org>
16934
16935 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
16936
16937 * emacs-lisp/autoload.el (autoload-excludes): New variable.
16938 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
16939 (batch-update-autoloads): Process a string value of autoload-excludes,
16940 set during the build process.
16941 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
16942
16943 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
16944 inside with-parsed... macro so that `v' is defined.
16945
16946 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
16947 * progmodes/fortran.el (fortran-end-of-block)
16948 (fortran-beginning-of-block):
16949 Also push mark in the macro case.
16950
16951 * emerge.el (emerge-show-file-name):
16952 * calc/calc.el (calc-quit):
16953 * calc/calc-misc.el (calc-big-or-small):
16954 * calc/calc-graph.el (calc-graph-view):
16955 * calc/calc-ext.el (calc-reset):
16956 * calendar/calendar.el (calendar-basic-setup):
16957 Use window-full-height-p.
16958
16959 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
16960 header we don't understand, don't insert another. (Bug#4624)
16961 If changing mime charset, insert the new one in the right place.
16962
16963 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
16964
16965 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
16966 (cal-tex-cursor-month): Correctly increment the end date for diary and
16967 holiday listing. (Bug#4626)
16968
16969 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16970
16971 * help-fns.el (describe-function-1): Don't burp if the function is not
16972 a symbol.
16973
16974 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
16975
16976 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
16977 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
16978 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
16979 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
16980
16981 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
16982 (eieio-default-superclass): Reflow docstrings.
16983 (this, class-option-assoc, defclass, eieio-class-un-autoload)
16984 (eieio-unbind-method-implementations, defmethod)
16985 (eieio-validate-slot-value, eieio-validate-class-slot-value)
16986 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
16987 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
16988 (eieio-slot-originating-class-p, eieio-slot-name-index)
16989 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
16990 (constructor, initialize-instance, no-next-method, object-print)
16991 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
16992 Fix typos in docstrings.
16993 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
16994 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
16995 (next-method-p): Doc fixes.
16996 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
16997 Fix typos in error messages.
16998 (eieio-defmethod): Fix typo in description of generic method.
16999
17000 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
17001 (eieio-persistent-save-interactive, slot-missing):
17002 Fix typos in docstrings.
17003 (eieio-instance-inheritor-slot-boundp): Doc fix.
17004
17005 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
17006 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
17007
17008 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
17009 (eieio-custom-object-apply-reset):
17010 Fix typos in docstrings and error messages.
17011
17012 * emacs-lisp/eieio-datadebug.el (data-debug-show):
17013 Fix typo in docstring.
17014
17015 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
17016 (eieio-browse-tree): Doc fix.
17017 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
17018 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
17019 Fix typos in docstrings.
17020
17021 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
17022 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
17023 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
17024 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
17025 Reflow docstrings.
17026
17027 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
17028
17029 * vc-hg.el (log-view-vc-backend): Declare for compiler.
17030 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
17031 Set log-view-vc-backend so that diff can work.
17032
17033 * log-view.el (log-view-diff): Use vc-diff-internal instead of
17034 vc-version-diff.
17035 (vc-diff-internal): Autoload this instead of vc-version-diff.
17036
17037 2009-10-05 Eli Zaretskii <eliz@gnu.org>
17038
17039 * simple.el (eval-expression): Doc fix.
17040
17041 * progmodes/cwarn.el (cwarn-mode): Doc fix.
17042
17043 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
17044
17045 * files.el (directory-files-no-dot-files-regexp): New defconst.
17046 (delete-directory): Use it.
17047 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
17048
17049 * net/tramp.el (tramp-verbose): Fix docstring.
17050 (tramp-methods): Add recursive option to `tramp-copy-args'.
17051 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
17052 "scp1_old", "scp2_old", "rsync", "rsyncc".
17053 (tramp-default-method): Check also for `auth-source-user-or-password'.
17054 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
17055 Add handler for `copy-directory'.
17056 (tramp-handle-copy-directory): New defun.
17057 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
17058 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
17059 Optimize sent command.
17060
17061 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17062
17063 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
17064 window if necessary.
17065
17066 * calendar/calendar.el (calendar-basic-setup): Don't call
17067 switch-to-buffer in a dedicated window.
17068
17069 2009-10-05 Karl Fogel <kfogel@red-bean.com>
17070
17071 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
17072 don't do anything related to relocating, just return nil.
17073 (bookmark-error-no-filename): New error.
17074 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
17075 bookmark has no file. Don't even attempt to handle things that
17076 are not files; the whole point of custom handlers is to keep that
17077 knowledge elsewhere anyway. Tighten some comments.
17078 (bookmark-file-or-variation-thereof): Remove now-unused function.
17079 (bookmark-location): Doc string fix.
17080 (Bug#4250)
17081
17082 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17083
17084 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
17085 don't use a file dialog, because they usually don't know how to read
17086 a directory target from the user. (Bug#4230)
17087 Also, make sure the prompt can display directories as well as files.
17088
17089 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17090
17091 * bookmark.el (bookmark-set, bookmark-buffer-name):
17092 Improve doc strings. (Bug#1193)
17093
17094 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17095
17096 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
17097 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
17098 (bookmark-get-annotation, bookmark-set-annotation)
17099 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
17100 (bookmark-set-position, bookmark-get-front-context-string)
17101 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
17102 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
17103 (bookmark-jump-other-window, bookmark-handle-bookmark)
17104 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
17105 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
17106 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
17107 Improve doc strings to say whether bookmark can be a string or
17108 a record or both, and make other consistency and clarity fixes.
17109 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
17110 (bookmark-default-annotation-text, bookmark-yank-word)
17111 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
17112 (bookmark-import-new-list, bookmark-maybe-rename)
17113 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
17114 (bookmark-bmenu-bookmark): Give these doc strings.
17115 (bookmark-bmenu-check-position): Give this a doc string, but also
17116 add a FIXME comment about how the function may be pointless.
17117 (bookmark-default-handler): Rework doc string and change a
17118 parameter name, to clarify that this takes a bookmark record
17119 not a bookmark name.
17120 (bookmark-set): Change a parameter name to indicate its meaning,
17121 and improve the doc string a bit.
17122 (Bug#4188)
17123
17124 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17125
17126 * bookmark.el (bookmark-alist): Document the new `handler' element
17127 in the param alist.
17128 (bookmark-make-record-function): Adjust documentation for above.
17129 (Bug#4193)
17130
17131 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17132
17133 * info.el (Info-bookmark-make-record): Document this function.
17134 (Info-bookmark-jump): Document with a doc string, not just a comment.
17135 (Bug#4203)
17136
17137 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
17138
17139 * files.el (copy-directory): New defun.
17140
17141 * dired-aux.el (dired-copy-file-recursive): Use it.
17142
17143 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
17144
17145 * files-x.el (modify-dir-local-variable)
17146 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
17147 docstrings.
17148
17149 * recentf.el (recentf-unload-function): New function.
17150
17151 2009-10-04 Glenn Morris <rgm@gnu.org>
17152
17153 * window.el (window-full-height-p): Add doc string.
17154
17155 2009-10-04 Martin Rudalics <rudalics@gmx.at>
17156
17157 * window.el (window-full-height-p): New function. (Bug#4543)
17158
17159 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
17160
17161 * vc.el: Remove commented out code.
17162 (vc-derived-from-dir-mode): Remove, unused.
17163 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
17164
17165 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
17166
17167 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
17168 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
17169 there could be recursive loading when `default-directory' is a
17170 remote file name. (Bug#4614)
17171
17172 2009-10-03 Glenn Morris <rgm@gnu.org>
17173
17174 * calendar/calendar.el (calendar-basic-setup): Handle the case where
17175 the frame is wide.
17176 (calendar-generate-window): Test for shrinkability rather than width.
17177
17178 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
17179 reusing existing buffers, in case we happen to visit two files with the
17180 same basename. (Bug#4593)
17181
17182 2009-10-02 Eli Zaretskii <eliz@gnu.org>
17183
17184 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
17185 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
17186 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
17187 subdirs of cedet as well.
17188 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
17189
17190 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
17191
17192 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
17193 Obey advertised-signature-table.
17194
17195 * help-fns.el (help-function-arglist): Don't check
17196 advertised-signature-table.
17197 (describe-function-1): Do it here instead so it also applies to subrs.
17198
17199 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
17200
17201 * simple.el (start-file-process): Say in the doc-string, that file
17202 handlers might not support pty association, if PROGRAM is nil.
17203
17204 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
17205 HOST and USER are strings. They are nil, when there are
17206 incomplete entries in ~/.netrc, for example.
17207 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
17208 root directory ("device busy" error otherwise).
17209
17210 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
17211 Flush file properties of created directory.
17212
17213 2009-10-02 Eli Zaretskii <eliz@gnu.org>
17214
17215 * makefile.w32-in (WINS_BASIC): Remove cedet.
17216 (WINS_CEDET): Add cedet.
17217 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
17218
17219 2009-10-02 Kevin Ryde <user42@zip.com.au>
17220
17221 * net/browse-url.el (browse-url): Pass any symbol in
17222 browse-url-browser-function to `apply', since if you've mistakenly put
17223 an unbound symbol then the error is clearer. (Bug#4531)
17224
17225 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
17226
17227 * allout.el (allout-init, allout-back-to-current-heading)
17228 (allout-beginning-of-current-entry, allout-ascend-to-depth)
17229 (allout-ascend, allout-up-current-level, allout-end-of-level)
17230 (allout-previous-visible-heading, allout-forward-current-level)
17231 (allout-backward-current-level, allout-show-children):
17232 * apropos.el (apropos-describe-plist):
17233 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
17234 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
17235 * completion.el (add-completion, add-permanent-completion):
17236 * descr-text.el (describe-text-category, describe-char):
17237 * desktop.el (desktop-lazy-abort):
17238 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
17239 * dired.el (dired-build-subdir-alist):
17240 * ediff.el (ediff-version):
17241 * elide-head.el (elide-head, elide-head-show):
17242 * emerge.el (emerge-version):
17243 * env.el (getenv):
17244 * face-remap.el (variable-pitch-mode):
17245 * faces.el (describe-face):
17246 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
17247 (dired-at-point):
17248 * files.el (find-file-existing, auto-save-mode):
17249 * font-lock.el (font-lock-fontify-buffer):
17250 * help-fns.el (describe-function, describe-variable)
17251 (describe-syntax, describe-categories):
17252 * help.el (view-lossage, describe-bindings, describe-key)
17253 (describe-mode):
17254 * hexl.el (hexl-current-address):
17255 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
17256 * info.el (Info-goto-emacs-key-command-node):
17257 * log-edit.el (log-edit-insert-cvs-template)
17258 (log-edit-insert-cvs-rcstemplate):
17259 * menu-bar.el (menu-bar-mode):
17260 * mouse.el (mouse-appearance-menu):
17261 * newcomment.el (comment-indent-new-line):
17262 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
17263 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
17264 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
17265 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
17266 * recentf.el (recentf-mode):
17267 * savehist.el (savehist-mode, savehist-save):
17268 * shadowfile.el (shadow-copy-files):
17269 * simple.el (kill-ring-save, next-line, previous-line)
17270 (normal-erase-is-backspace-mode):
17271 * strokes.el (strokes-update-window-configuration)
17272 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
17273 (strokes-xpm-for-stroke):
17274 * time.el (emacs-uptime, emacs-init-time):
17275 * tutorial.el (tutorial--describe-nonstandard-key)
17276 (tutorial--detailed-help):
17277 * type-break.el (type-break-mode)
17278 (type-break-mode-line-message-mode, type-break-query-mode)
17279 (type-break-guesstimate-keystroke-threshold):
17280 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
17281 * version.el (emacs-version):
17282 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
17283 * winner.el (winner-mode):
17284 * calendar/timeclock.el (timeclock-in, timeclock-out)
17285 (timeclock-status-string, timeclock-change)
17286 (timeclock-workday-remaining-string)
17287 (timeclock-workday-elapsed-string)
17288 (timeclock-when-to-leave-string):
17289 * calendar/todo-mode.el (todo-add-category):
17290 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
17291 * emacs-lisp/autoload.el (update-file-autoloads):
17292 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
17293 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
17294 (checkdoc-message-text, checkdoc-defun):
17295 * emacs-lisp/debug.el (debugger-list-functions):
17296 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
17297 * emacs-lisp/eieio-opt.el (eieio-describe-class)
17298 (eieio-describe-generic):
17299 * emacs-lisp/lisp-mnt.el (lm-synopsis):
17300 * emacs-lisp/shadow.el (list-load-path-shadows):
17301 * emulation/cua-base.el (cua-mode):
17302 * emulation/edt.el (edt-set-scroll-margins):
17303 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
17304 (tpu-toggle-regexp, tpu-toggle-search-direction)
17305 (tpu-toggle-rectangle, tpu-toggle-control-keys):
17306 * emulation/tpu-extras.el (tpu-set-scroll-margins):
17307 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
17308 (viper-set-parsing-style-toggling-macro)
17309 (viper-set-emacs-state-searchstyle-macros):
17310 * emulation/viper.el (viper-set-hooks):
17311 * eshell/esh-mode.el (eshell-truncate-buffer):
17312 * international/mule-cmds.el (prefer-coding-system)
17313 (describe-input-method, describe-language-environment):
17314 * international/mule-diag.el (list-character-sets)
17315 (describe-character-set, describe-coding-system)
17316 (describe-fontset, list-fontsets, list-input-methods):
17317 * mail/sendmail.el (mail-signature):
17318 * net/ange-ftp.el (ange-ftp-copy-file):
17319 * net/browse-url.el (browse-url):
17320 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
17321 * net/quickurl.el (quickurl-add-url):
17322 * net/rcirc.el (names, topic):
17323 * net/xesam.el (xesam-mode):
17324 * play/5x5.el (5x5-new-game):
17325 * play/yow.el (apropos-zippy):
17326 * progmodes/ada-mode.el (ada-mode-version):
17327 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
17328 (f90-end-of-block)
17329 (f90-beginning-of-block):
17330 * progmodes/fortran.el (fortran-end-of-block)
17331 (fortran-beginning-of-block):
17332 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
17333 * progmodes/python.el (python-describe-symbol, python-shell):
17334 * term/ns-win.el (ns-print-buffer):
17335 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
17336 * textmodes/flyspell.el (flyspell-mode-on):
17337 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
17338 (pages-directory-for-addresses):
17339 * textmodes/table.el (table-recognize-cell)
17340 (table-query-dimension, table-generate-source)
17341 (table-insert-sequence, table--warn-incompatibility):
17342 * textmodes/tex-mode.el (tex-validate-buffer):
17343 * textmodes/texinfmt.el (texinfmt-version)
17344 (texinfo-format-buffer):
17345 Use `called-interactively-p' instead of `interactive-p'.
17346
17347 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
17348
17349 * image-mode.el (image-toggle-display):
17350 * emacs-lisp/elp.el (elp-instrument-function):
17351 * emacs-lisp/advice.el (ad-make-advised-definition):
17352 * emacs-lisp/easy-mmode.el (define-minor-mode):
17353 * net/browse-url.el (browse-url-maybe-new-window):
17354 * progmodes/sh-script.el (sh-learn-buffer-indent):
17355 Pass new argument 'any to `called-interactively-p'.
17356
17357 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
17358
17359 * international/uni-bidi.el:
17360 * international/uni-category.el:
17361 * international/uni-combining.el:
17362 * international/uni-comment.el:
17363 * international/uni-decimal.el:
17364 * international/uni-decomposition.el:
17365 * international/uni-digit.el:
17366 * international/uni-lowercase.el:
17367 * international/uni-mirrored.el:
17368 * international/uni-name.el:
17369 * international/uni-numeric.el:
17370 * international/uni-old-name.el:
17371 * international/uni-titlecase.el:
17372 * international/uni-uppercase.el:
17373 Regenerate from Unicode 5.2.0 data.
17374
17375 2009-10-01 Glenn Morris <rgm@gnu.org>
17376
17377 * Makefile.in (ELCFILES): Regenerate.
17378
17379 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
17380
17381 * subr.el (interactive-p): Mark obsolete.
17382 (called-interactively-p): Make the optional-ness of `kind' obsolete.
17383 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
17384 advertised-signature-table for subroutines as well.
17385
17386 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
17387 (set-advertised-calling-convention): New function.
17388 (make-obsolete, define-obsolete-function-alias)
17389 (make-obsolete-variable, define-obsolete-variable-alias):
17390 Make the optional-ness of `when' obsolete.
17391 (define-obsolete-face-alias): Make `when' non-optional.
17392 * help-fns.el (help-function-arglist):
17393 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
17394 Use advertised-signature-table.
17395
17396 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
17397
17398 * files.el (delete-directory): New defun. The original function
17399 in fileio.c has been renamed to `delete-directory-internal'.
17400
17401 * dired.el (dired-delete-file): Call `delete-directory' with
17402 RECURSIVE parameter.
17403
17404 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
17405 parameter RECURSIVE. Implementation is missing.
17406
17407 * net/tramp.el (tramp-handle-make-directory): Flush upper
17408 directory's file properties.
17409 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
17410 (tramp-handle-dired-recursive-delete-directory): Flush directory
17411 properties after the remove command only.
17412
17413 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
17414 Handle optional parameter RECURSIVE.
17415
17416 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
17417 Handle optional parameter RECURSIVE.
17418
17419 * net/tramp-smb.el (tramp-smb-errors): Add error message for
17420 connection timeout.
17421 (tramp-smb-handle-delete-directory): Handle optional parameter
17422 RECURSIVE.
17423
17424 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
17425
17426 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
17427 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
17428 (byte-compile-defmacro): Use backquotes.
17429
17430 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
17431
17432 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
17433 has no associated file.
17434 (vc-resynch-buffer): Use vc-dir-buffers.
17435
17436 2009-10-01 Glenn Morris <rgm@gnu.org>
17437
17438 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
17439 (chart-file-count):
17440 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
17441 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
17442 * emacs-lisp/eieio-opt.el (eieio-describe-class):
17443 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
17444 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
17445 (eieio-copy-parents-into-subclass, make-instance, class-children)
17446 (eieio-generic-form):
17447
17448 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
17449 match-data. (Bug#4555).
17450
17451 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
17452 rather than parsing it as a regexp. This relaxes the layout
17453 requirements and makes errors easier to detect.
17454 (check-declare-verify): Check file is regular.
17455 (check-declare-directory): Doc fix.
17456 * subr.el (declare-function): Doc fix.
17457
17458 * ibuffer.el (ibuffer-format-qualifier):
17459 * isearch.el (hi-lock-regexp-okay):
17460 * calc/calc.el (math-zerop):
17461 * mail/uce.el (rmail-msgbeg, rmail-msgend):
17462 * term/w32-win.el (setup-default-fontset, set-fontset-font):
17463 Remove unused declarations.
17464
17465 2009-09-30 Eric Ludlam <zappo@gnu.org>
17466
17467 * emacs-lisp/eieio.el (boolean-p): Delete.
17468
17469 2009-09-30 Glenn Morris <rgm@gnu.org>
17470
17471 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
17472
17473 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
17474 filename is not a string.
17475
17476 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
17477
17478 * files.el (safe-local-eval-forms): Fix typo.
17479
17480 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
17481
17482 * vc-hooks.el (vc-dir-buffers): New var.
17483 (vc-state-refresh): New function.
17484 (vc-state): Use it.
17485 (vc-after-save): Always ask the backend to recompute the new state.
17486 Always call vc-dir if necessary, using vc-dir-buffers.
17487 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
17488 Use vc-dir-buffers.
17489 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
17490 (vc-dir-prepare-status-buffer, vc-dir-update)
17491 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
17492 Don't call expand-file-name on default-directory.
17493
17494 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
17495
17496 * speedbar.el (speedbar-item-delete):
17497 * calc/calc-prog.el (calc-kbd-if):
17498 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
17499
17500 * epa.el (epa-key-list-mode-map):
17501 * hi-lock.el (hi-lock-menu): Fix typos in menus.
17502
17503 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
17504 (hs-show-hook): Fix typo in docstring.
17505
17506 2009-09-29 Glenn Morris <rgm@gnu.org>
17507
17508 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
17509 file-name-nondirectory call preventing location of cedet files.
17510 (check-declare-verify): Use literal search rather than re-search.
17511 Add basic defmethod and defclass, and define-overloadable-function.
17512
17513 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
17514 Use tramp-compat-file-attributes rather than nonexistent
17515 tramp-compat-handle-file-attributes.
17516
17517 * Makefile.in (lisptagsfiles4): New.
17518 (AUTOGENEL): Add cedet loaddefs files.
17519 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
17520 (update-elclist, compile-always, backup-compiled-files)
17521 (bootstrap-clean): Add yet another directory level.
17522 (update-elclist): Use LC_COLLATE rather than COLLATE.
17523 (ELCFILES): Update, via `make update-elclist'.
17524
17525 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
17526
17527 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
17528 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
17529 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
17530
17531 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
17532
17533 * Makefile.in (lisptagsfiles3): Define.
17534 (TAGS, TAGS-LISP): Use it.
17535 (update-elclist): Add third directory level to look for elc files.
17536 (compile-always): Likewise.
17537 (backup-compiled-files): Likewise.
17538 (bootstrap-clean): Likewise.
17539 (ELCFILES): Update.
17540
17541 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
17542
17543 * Makefile.in (ELCFILES): Add CEDET files.
17544
17545 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
17546
17547 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
17548
17549 * net/tramp.el (top): Require tramp-imap.
17550
17551 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
17552 Use `tramp-compat-handle-file-attributes'.
17553
17554 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
17555
17556 * net/tramp-imap.el: New package.
17557
17558 2009-09-28 Eric Ludlam <zappo@gnu.org>
17559
17560 * emacs-lisp/chart.el:
17561 * emacs-lisp/eieio-base.el:
17562 * emacs-lisp/eieio-comp.el:
17563 * emacs-lisp/eieio-custom.el:
17564 * emacs-lisp/eieio-datadebug.el:
17565 * emacs-lisp/eieio-opt.el:
17566 * emacs-lisp/eieio-speedbar.el:
17567 * emacs-lisp/eieio.el: New files.
17568
17569 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17570
17571 * whitespace.el (whitespace-trailing-regexp)
17572 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
17573 Fix doc string.
17574
17575 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
17576
17577 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
17578 menu.
17579
17580 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
17581 menu-bar-ediff-menu.
17582
17583 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
17584 define-overloadable-function.
17585
17586 * progmodes/autoconf.el: Provide autoconf as well, so that this
17587 file can be `require'd.
17588
17589 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
17590
17591 * emacs-lisp/autoload.el (generated-autoload-feature)
17592 (generated-autoload-load-name): New vars.
17593 (autoload-rubric, autoload-generate-file-autoloads): Use them.
17594 (make-autoload): Recognize define-overloadable-function and
17595 defclass forms (for EIEIO).
17596
17597 * Makefile.in (update-subdirs): Exclude cedet directory.
17598
17599 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
17600
17601 * term/ns-win.el: Don't set the region face background. (Bug#4381)
17602
17603 * faces.el: Default light-background background for region face to
17604 ns_selection_color under NS.
17605
17606 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
17607
17608 * net/imap-hash.el: New library, see NEWS.
17609
17610 * Makefile.in (ELCFILES): Add imap-hash.el.
17611
17612 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
17613
17614 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
17615 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
17616 * help-macro.el (make-help-screen): Avoid using an ambiguous function
17617 definition where the docstring could be taken for the return value.
17618
17619 2009-09-26 Glenn Morris <rgm@gnu.org>
17620
17621 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
17622 Add option to only show images below a certain size.
17623 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
17624 save-excursion calls.
17625
17626 2009-09-26 Eli Zaretskii <eliz@gnu.org>
17627
17628 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
17629 subdirectories) and eieio.
17630
17631 2009-09-26 Alan Mackenzie <acm@muc.de>
17632
17633 * progmodes/cc-engine.el (c-beginning-of-statement-1):
17634 Correct buggy bracketing. (Bug#4289)
17635
17636 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
17637 character constants (as case labels). (Bug#4289)
17638
17639 2009-09-25 Juri Linkov <juri@jurta.org>
17640
17641 * files.el (safe-local-eval-forms): Allow time-stamp in
17642 before-save-hook (Bug#4554).
17643
17644 2009-09-25 Drew Adams <drew.adams@oracle.com>
17645
17646 * menu-bar.el (list-buffers-directory): Doc fix.
17647
17648 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
17649
17650 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
17651 Try and avoid copying twice the same paragraph.
17652 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
17653 Remove save-excursion.
17654 (log-edit-changelog-entry): Do it here instead.
17655
17656 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
17657
17658 * bs.el (bs--get-file-name): Use `list-buffers-directory'
17659 when available, instead of hardcoding mode names. Doc fix.
17660
17661 * menu-bar.el (list-buffers-directory): Add docstring.
17662 Make automatically buffer-local.
17663
17664 * dired.el (dired-mode):
17665 * files.el (cd-absolute):
17666 * pcvs.el (cvs-temp-buffer):
17667 * pcvs-util.el (cvs-get-buffer-create):
17668 * shell.el (shell-mode):
17669 * vc-dir.el (vc-dir-mode):
17670 Don't make `list-buffers-directory' buffer local.
17671
17672 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
17673
17674 * comint.el (comint-exec, comint-run, make-comint):
17675 Doc fixes (Bug#4542).
17676
17677 2009-09-25 Glenn Morris <rgm@gnu.org>
17678
17679 * mail/rmailmm.el (rmail-mime): New custom group.
17680 Move all defcustoms in this file into this group.
17681 (rmail-mime-media-type-handlers-alist): Revert previous change.
17682 (rmail-mime-show-images): New option.
17683 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
17684 references to it, since it wasn't actually used for anything.
17685 (rmail-mime-insert-image): New function.
17686 (rmail-mime-image): Use rmail-mime-insert-image.
17687 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
17688 obey the value of `rmail-mime-show-images' option. Print the size of
17689 attachments.
17690
17691 2009-09-25 David Engster <deng@randomsample.de>
17692
17693 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
17694
17695 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17696
17697 * whitespace.el: Does not highlight trailing spaces While point is
17698 at end of line. Does not highligt spaces at beginning of buffer
17699 while point is at beginning of buffer. Does not highlight spaces
17700 at end of buffer while point is at end of buffer. (Bug#4177)
17701 New version 12.0.
17702 (whitespace-display-mappings): Adjust initialization.
17703 (whitespace-point, whitespace-font-lock-refontify): New vars.
17704 (whitespace-color-on, whitespace-color-off): Adjust code.
17705 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
17706 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
17707 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
17708
17709 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
17710
17711 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
17712
17713 * textmodes/sgml-mode.el: Remove xml-mode alias.
17714
17715 * files.el (auto-mode-alist, conf-mode-maybe)
17716 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
17717
17718 2009-09-24 Alan Mackenzie <acm@muc.de>
17719
17720 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
17721 c-forward-conditionals, but it doesn't move point and doesn't set
17722 the mark.
17723 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
17724 (c-down-conditional-with-else, c-backward-conditional)
17725 (c-forward-conditional): Refactor to use c-scan-conditionals.
17726
17727 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
17728
17729 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
17730 (help-default-arg-highlight): Remove.
17731 (help-highlight-arg): New function.
17732 (help-do-arg-highlight): Use it.
17733 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
17734
17735 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
17736
17737 * term.el (term-set-scroll-region, term-handle-ansi-escape):
17738 Undo last change, which didn't fix the problem and introduced others.
17739
17740 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
17741
17742 * progmodes/gdb-mi.el: Don't require speedbar.
17743 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
17744
17745 2009-09-24 Glenn Morris <rgm@gnu.org>
17746
17747 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
17748
17749 * term/ns-win.el (ns-reg-to-script): Define for compiler.
17750
17751 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
17752 there is no newline after the final mime boundary. (Bug#4539)
17753 Move markers on insertion so that any buttons inserted don't end up in
17754 the next part of a multipart message.
17755 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
17756 (rmail-mime-bulk-handler): Optionally handle images.
17757 (rmail-mime-image): New button action.
17758 (rmail-mime-image-handler): New function.
17759 (rmail-mime-mode): New mode.
17760 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
17761
17762 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
17763
17764 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
17765 than just dropping elements from it (bug#4504).
17766
17767 * term.el (term-set-scroll-region): Don't move cursor any more.
17768 (term-handle-ansi-escape): Call term-goto here instead.
17769 Suggested by Ivan Kanis <apple@kanis.eu>.
17770
17771 * term.el: Require CL.
17772 (term-ansi-reset): New function.
17773 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
17774 (term-handle-colors-array): Simplify.
17775
17776 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
17777
17778 * allout.el (allout-overlay-interior-modification-handler)
17779 (allout-obtain-passphrase):
17780 * epa-file.el (epa-file-write-region):
17781 * ps-print.el (ps-begin-job):
17782 * vc-hooks.el (vc-toggle-read-only):
17783 * vc-rcs.el (vc-rcs-rollback):
17784 * vc-sccs.el (vc-sccs-rollback):
17785 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
17786 (vc-version-diff, vc-revert, vc-rollback):
17787 * wdired.el (wdired-check-kill-buffer):
17788 * emacs-lisp/authors.el (authors):
17789 * net/socks.el (socks-open-connection):
17790 * net/zeroconf.el (zeroconf-service-add-hook):
17791 * obsolete/vc-mcvs.el (vc-mcvs-register):
17792 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
17793 (gdb-select-frame):
17794 * progmodes/grep.el (lgrep, rgrep):
17795 * progmodes/idlw-help.el (idlwave-help-check-locations)
17796 (idlwave-help-html-link, idlwave-help-assistant-open-link):
17797 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
17798 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
17799 (reftex-toc-rename-label): Fix typos in error messages.
17800
17801 * dired-aux.el (dired-do-shell-command): Reflow docstring.
17802 (dired-copy-how-to-fn): Doc fix.
17803 (dired-files-attributes, dired-read-shell-command):
17804 Fix typos in docstrings.
17805
17806 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
17807 (dired-x-find-file-other-window): Reflow docstrings.
17808 (dired-omit-marker-char, dired-read-shell-command)
17809 (dired-x-submit-report): Fix typos in docstrings.
17810
17811 * shell.el (shell-mode-hook):
17812 * view.el (View-scroll-line-forward):
17813 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
17814 Fix typos in docstrings.
17815
17816 * net/dig.el (dig-invoke): Fix typo in docstring.
17817 (query-dig): Reflow docstring.
17818
17819 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
17820 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
17821 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
17822 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
17823 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
17824 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
17825 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
17826 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
17827 (idlwave-completion-map, idlwave-current-indent)
17828 (idlwave-custom-ampersand-surround, idlwave-customize)
17829 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
17830 (idlwave-define-abbrev, idlwave-determine-class-special)
17831 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
17832 (idlwave-end-block-reg, idlwave-end-of-statement)
17833 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
17834 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
17835 (idlwave-explicit-class-listed, idlwave-file-header)
17836 (idlwave-fill-paragraph, idlwave-find-class-definition)
17837 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
17838 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
17839 (idlwave-in-quote, idlwave-indent-action-table)
17840 (idlwave-indent-expand-table, idlwave-indent-line)
17841 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
17842 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
17843 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
17844 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
17845 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
17846 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
17847 (idlwave-outlawed-buffers, idlwave-popup-select)
17848 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
17849 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
17850 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
17851 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
17852 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
17853 (idlwave-statement-type, idlwave-struct-skip)
17854 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
17855 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
17856 (idlwave-what-module-find-class): Fix typos in docstrings.
17857 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
17858 (idlwave-calculate-cont-indent, idlwave-expand-equal)
17859 (idlwave-find-module, idlwave-find-structure-definition)
17860 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
17861 (idlwave-list-load-path-shadows, idlwave-next-statement)
17862 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
17863 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
17864 (idlwave-template): Reflow docstrings.
17865
17866 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
17867 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
17868 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
17869 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
17870 (idlwave-shell-display-line, idlwave-shell-display-wframe)
17871 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
17872 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
17873 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
17874 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
17875 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
17876 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
17877 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
17878 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
17879 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
17880 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
17881 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
17882 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
17883 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
17884 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
17885 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
17886 Fix typos in docstrings.
17887 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
17888 (idlwave-shell-hide-output, idlwave-shell-mode)
17889 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
17890 Reflow docstrings.
17891
17892 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
17893
17894 2009-09-24 Ivan Kanis <apple@kanis.eu>
17895
17896 * term.el (term-bold-attribute): New var.
17897 (term-handle-colors-array): Use it.
17898
17899 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
17900
17901 * progmodes/gdb-mi.el (gdb-version): New variable.
17902 (gdb-non-stop-handler): Set gdb-version.
17903 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
17904 Condition "--thread" option on gdb-version.
17905 (gdb-invalidate-threads): Remove unused argument.
17906
17907 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17908
17909 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
17910 to looking-back to avoid ridiculous slow down in large files (bug#4511).
17911
17912 2009-09-23 Glenn Morris <rgm@gnu.org>
17913
17914 * mail/rmail.el (rmail-reply): Don't try to add a References header when
17915 replying to mail without References or Message-Id. (Bug#4525)
17916
17917 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
17918
17919 * term/ns-win.el (ns-reg-to-script): New variable.
17920
17921 2009-09-23 Daiki Ueno <ueno@unixuser.org>
17922
17923 * epg.el (epg-wait-for-status): Preserve existing 'error results.
17924
17925 2009-09-22 Sam Steingold <sds@gnu.org>
17926
17927 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
17928 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
17929 to 1 because hg returns status 1 when nothing is found.
17930 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
17931
17932 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
17933
17934 * textmodes/fill.el: Convert to utf-8 encoding.
17935 (fill-french-nobreak-p): Remove redundant » and « inherited from our
17936 pre-Unicode days.
17937
17938 * add-log.el (change-log-fill-forward-paragraph): New function.
17939 (change-log-mode): Use it so fill-region DTRT.
17940 Set fill-indent-according-to-mode here rather than in
17941 change-log-fill-paragraph.
17942 (change-log-fill-paragraph): Remove.
17943
17944 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
17945
17946 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
17947 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
17948
17949 2009-09-22 Glenn Morris <rgm@gnu.org>
17950
17951 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
17952 the scroll-bar scroll the calendar window rather than the buffer.
17953
17954 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
17955 commands that move point (as opposed to scrolling).
17956
17957 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
17958
17959 * emacs-lisp/elint.el (elint): New custom group.
17960 (elint-log-buffer): Make it a defcustom.
17961 (elint-scan-preloaded, elint-ignored-warnings)
17962 (elint-directory-skip-re): New options.
17963 (elint-builtin-variables): Doc fix.
17964 (elint-preloaded-env): New variable.
17965 (elint-unknown-builtin-args): Add an entry for encode-time.
17966 (elint-extra-errors): Make it a variable rather than a constant.
17967 (elint-preloaded-skip-re): New constant.
17968 (elint-directory): Skip files matching elint-directory-skip-re.
17969 (elint-features): New variable, local to linted buffers.
17970 (elint-update-env): Initialize elint-features. Possibly add
17971 elint-preloaded-env to the buffer's environment.
17972 (elint-get-top-forms): Bind elint-current-pos, for log messages.
17973 Skip quoted forms.
17974 (elint-init-form): New function, extracted from elint-init-env.
17975 Make non-list forms a warning rather than an error.
17976 Add the mode-map for define-derived-mode. Handle define-minor-mode,
17977 easy-menu-define, put that adds an error-condition, and provide.
17978 When requiring cl, also require cl-macs. Really require cl, to handle
17979 some cl macros. Store required libraries in the list elint-features,
17980 so as not to re-load them. Treat cc-require like require.
17981 (elint-init-env): Call elint-init-form to do the work.
17982 Handle eval-and-compile and such like.
17983 (elint-add-required-env): Do not clear messages.
17984 (elint-special-forms): Add handlers for function, defalias, if, when,
17985 unless, and, or.
17986 (elint-form): Add optional argument to ignore elint-special-forms,
17987 useful to prevent recursive calls from handlers. Doc fix.
17988 Respect elint-ignored-warnings.
17989 (elint-form): Respect elint-ignored-warnings.
17990 (elint-bound-variable, elint-bound-function): New variables.
17991 (elint-unbound-variable): Respect elint-bound-variable.
17992 (elint-get-args): Respect elint-bound-function.
17993 (elint-check-cond-form): Add some simple handling for (f)boundp and
17994 featurep tests.
17995 (elint-check-defalias-form): New handler.
17996 (elint-check-let-form): Make an empty let a warning rather than an
17997 error.
17998 (elint-check-setq-form): Make an empty setq a warning rather than an
17999 error. Respect elint-ignored-warnings.
18000 (elint-check-defvar-form): Accept null doc-strings.
18001 (elint-check-conditional-form): New handler. Does some simple-minded
18002 checking of featurep and (f)boundp tests.
18003 (elint-put-function-args): New function.
18004 (elint-initialize): Use elint-scan-doc-file rather than
18005 elint-find-builtin-variables. Use elint-put-function-args.
18006 Possibly scan preloaded-file-list.
18007 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
18008 extend to handle functions as well.
18009
18010 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
18011
18012 * linum.el (linum-delete-overlays, linum-update-window):
18013 Do not modify the right margin. (Bug#3971)
18014
18015 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
18016
18017 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
18018 Use nxml-mode instead of xml-mode.
18019
18020 2009-09-21 Kevin Ryde <user42@zip.com.au>
18021
18022 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
18023
18024 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
18025
18026 * net/dig.el (dig-mode): Use define-derived-mode.
18027
18028 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
18029
18030 * vc-dispatcher.el (vc-do-command): Return the process object in
18031 the asynchronous case. Use when instead of if. Do not run
18032 vc-exec-after to display a message if not enabled. (Bug#4463)
18033
18034 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
18035 properties to the stash strings.
18036 (vc-git-stash-list): Return a list of strings.
18037 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
18038 (vc-git-stash-show-at-point): New functions.
18039 (vc-git-stash-map): New keymap.
18040
18041 * register.el (ctl-x-r-map): Define the keys here instead of
18042 using autoload.
18043
18044 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
18045
18046 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
18047 list, to workaround performance problem (bug#4485).
18048
18049 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
18050
18051 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
18052
18053 2009-09-20 Daiki Ueno <ueno@unixuser.org>
18054
18055 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
18056 Document that this option is not recommended to use.
18057
18058 2009-09-19 Glenn Morris <rgm@gnu.org>
18059
18060 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
18061 variable `var'.
18062
18063 * calc/calc-alg.el (var):
18064 * calc/calcalg2.el (var): Define for compiler.
18065
18066 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
18067
18068 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
18069 Doc fix (Bug#3932).
18070
18071 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
18072
18073 * time-stamp.el (time-stamp-month-dd-yyyy)
18074 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
18075 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
18076 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
18077 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
18078 Remove functions that have been obsolete since 1995 (Bug#4436).
18079
18080 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
18081 indent buffer only if called interactively (Bug#4452).
18082
18083 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
18084 Eli Zaretskii <eliz@gnu.org>
18085
18086 This fixes bug#4197 (merged to bug#865, though not identical).
18087 * server.el (server-auth-dir): Add docstring note about FAT32.
18088 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
18089 but warn against using them.
18090
18091 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
18092
18093 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
18094 older GDB where there is no has_more field.
18095
18096 2009-09-19 Glenn Morris <rgm@gnu.org>
18097
18098 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
18099
18100 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
18101
18102 * files.el (auto-mode-alist): Change default for XML files to nXML
18103 mode (Bug#4169).
18104
18105 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
18106
18107 * server.el (server-ensure-safe-dir): Pass 'integer
18108 to `file-attributes', as suggested.
18109
18110 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
18111
18112 * dired-aux.el (dired-query-alist): Remove spurious backslash.
18113 (dired-query): Use read-key.
18114
18115 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
18116
18117 * cus-start.el (ns-use-qd-smoothing): Remove.
18118
18119 2009-09-18 Glenn Morris <rgm@gnu.org>
18120
18121 * allout.el (top-level): Remove unnecessary progn.
18122
18123 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
18124
18125 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
18126 definition of abbrev table.
18127
18128 * speedbar.el (speedbar-track-mouse):
18129 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
18130 * net/eudc.el (eudc-expand-inline):
18131 * net/newst-backend.el (newsticker--cache-read-feed):
18132 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
18133 condition-case handlers.
18134
18135 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
18136
18137 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
18138 (gdb-var-list): Add an element for has_more field.
18139 (gdb-non-stop-handler): Enable pretty printing for STL containers.
18140 (gdb-var-create-handler, gdb-var-list-children-handler-1)
18141 (gdb-var-update-handler-1): Parse output of dynamic variable
18142 objects (STL containers).
18143 (gdb-var-delete-1): Pass var1 as an explicit second argument.
18144 (gdb-get-field): Delete alias. Use bindat-get-field directly.
18145
18146 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
18147 gdb-var-list.
18148 (gud-speedbar-buttons): Make node expandable if expression "has more"
18149 children.
18150
18151 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
18152
18153 * startup.el (emacs-quick-startup): Remove variable and all uses.
18154 (command-line): Set `inhibit-x-resources' instead.
18155 (command-line-1): Use `inhibit-x-resources' instead.
18156
18157 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
18158
18159 * subr.el: Fix last change to avoid using the `unless' macro,
18160 which breaks bootstrapping.
18161
18162 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
18163
18164 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
18165 extended definitions, in case we reload subr.el after having
18166 loaded CL.
18167 (eval-next-after-load): Mark as obsolete.
18168
18169 2009-09-17 Juri Linkov <juri@jurta.org>
18170
18171 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
18172 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
18173 (menu-bar-showhide-menu, menu-bar-tools-menu)
18174 (menu-bar-describe-menu, menu-bar-help-menu)
18175 (minibuffer-local-completion-map, minibuffer-local-map):
18176 Fix list quoting.
18177
18178 2009-09-17 Glenn Morris <rgm@gnu.org>
18179
18180 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
18181 arguments, whether or not it has a handler.
18182
18183 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
18184
18185 * simple.el (hard-newline): Give it a doc-string.
18186
18187 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
18188 (lisp-mode-syntax-table): Give them doc-strings.
18189
18190 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
18191
18192 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
18193 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
18194 (menu-bar-options-menu, menu-bar-showhide-menu)
18195 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
18196 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
18197 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
18198 (menu-bar-options-menu, menu-bar-tools-menu)
18199 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
18200 (menu-bar-help-menu):
18201 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
18202 string arguments.
18203
18204 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
18205 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
18206 calls for the menu names and :help.
18207
18208 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
18209
18210 * mouse.el (minor-mode-menu-from-indicator): Pay attention
18211 to :minor-mode-function (bug#4455).
18212
18213 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
18214
18215 * startup.el (command-line): Initialize the window-system after
18216 processing the command-line.
18217
18218 * textmodes/page.el (what-page): Make sure we don't inf-loop if
18219 page-delimiter matches the empty string.
18220
18221 2009-09-16 Glenn Morris <rgm@gnu.org>
18222
18223 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
18224 byte-compile-not-obsolete-var. It's a list now.
18225 (byte-compile-not-obsolete-funcs): New variable.
18226 (byte-compile-warn-obsolete): Don't warn about functions if they are in
18227 byte-compile-not-obsolete-funcs.
18228 (byte-compile-variable-ref, byte-compile-defvar): Update for
18229 byte-compile-not-obsolete-vars name-change and list nature.
18230 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
18231 and variables behind (f)boundp tests.
18232 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
18233
18234 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
18235
18236 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
18237
18238 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
18239
18240 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
18241 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
18242 Don't autoload.
18243
18244 2009-09-15 Stephen Eglen <stephen@gnu.org>
18245
18246 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
18247 the virtual-buffers, use the name of the buffer specified by
18248 find-file-noselect, as the match may be a symlink. (This was a
18249 problem if the target and the symlink had different names.)
18250
18251 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
18252
18253 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
18254
18255 * desktop.el (desktop-path): Check user-emacs-directory.
18256
18257 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
18258
18259 * loadup.el: Use after-load-functions to GC after loading each file.
18260 Remove the explicit GC calls that used to be sprinkled around.
18261
18262 * subr.el (after-load-functions): New hook.
18263 (do-after-load-evaluation): Run it. Use string-match-p to detect
18264 `obsolete' packages, rather than painfully extracting the relevant
18265 directory name.
18266
18267 2009-09-15 Glenn Morris <rgm@gnu.org>
18268
18269 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
18270 free variable `doc'.
18271
18272 * dired.el (dired-mode-map): Add menu entry for async shell command.
18273
18274 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
18275 variables, also consider the .elc files, since the .el files are
18276 normally gzipped (subsequent code locates the .el.gz from the .elc).
18277
18278 * calc/calc-prog.el (arglist): Define for compiler.
18279
18280 * calendar/diary-lib.el (diary-display-function): Change the default to
18281 fancy display.
18282 (body): Define for compiler.
18283
18284 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
18285 (byte-compile-file-form, byte-compile-lambda)
18286 (byte-compile-top-level-body, byte-compile-form)
18287 (byte-compile-variable-ref, byte-compile-setq)
18288 (byte-compile-setq-default, byte-compile-body)
18289 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
18290 (batch-byte-compile): Give some more local variables with common names
18291 a "bytecomp-" prefix to avoid masking warnings about free variables.
18292
18293 * startup.el (command-line-1): Give local variables with common names a
18294 distinguishing prefix, so as not to hide free variable warnings during
18295 bootstrap.
18296
18297 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
18298 clever and add a suffix to make a unique name, just let the user decide
18299 whether or not to overwrite it. If the input is a directory, write the
18300 default filename to that directory. (Bug#4388)
18301 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
18302 is a filename-as-a-directory.
18303
18304 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
18305
18306 * textmodes/page.el (what-page): Don't move to beginning of line.
18307 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
18308
18309 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
18310
18311 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
18312
18313 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
18314
18315 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
18316 * help.el (help-for-help-internal): Add purecopy calls for text.
18317
18318 * vc.el (top): print-log method now takes an optional SHORTLOG
18319 argument. Add a new method: root.
18320 (vc-root-diff, vc-print-root-log): New functions.
18321 (vc-log-short-style): New variable.
18322 (vc-print-log-internal): Add support for showing short logs.
18323
18324 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
18325 vc-print-root-log and vc-print-root-diff.
18326
18327 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
18328 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
18329 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
18330 short logs.
18331
18332 * vc-cvs.el (vc-cvs-print-log):
18333 * vc-mtn.el (vc-mtn-print-log):
18334 * vc-rcs.el (vc-rcs-print-log):
18335 * vc-sccs.el (vc-sccs-print-log):
18336 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
18337 that is ignored for now.
18338
18339 * vc-mtn.el (vc-mtn-annotate-command):
18340 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
18341
18342 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
18343
18344 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
18345 to function-key-map, and give them ascii-character property.
18346 * term/x-win.el (x-alternatives-map):
18347 * term/ns-win.el (ns-alternatives-map):
18348 * term/internal.el (msdos-key-remapping-map):
18349 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
18350
18351 2009-09-14 Glenn Morris <rgm@gnu.org>
18352
18353 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
18354 temp-buffers (2009-09-12).
18355
18356 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
18357
18358 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
18359 the new read-key function.
18360
18361 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
18362
18363 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
18364 is defined (Bug#4405).
18365
18366 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
18367
18368 * recentf.el (recentf-cleanup): Use a hash table to find
18369 duplicates (Bug#4407).
18370
18371 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
18372
18373 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
18374 kp-0 to ascii equivalents (Bug#4325).
18375
18376 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
18377
18378 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
18379
18380 * eshell/em-hist.el:
18381 * eshell/em-dirs.el (eshell-complete-user-reference):
18382 Declare pcomplete functions and variables to avoid compiler warnings.
18383
18384 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
18385
18386 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
18387 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
18388 * eshell/em-alias.el (eshell-aliases-file):
18389 * eshell/em-hist.el (eshell-history-file-name):
18390 Use expand-file-name instead of concat to make file names (Bug#4308).
18391
18392 2009-09-13 Glenn Morris <rgm@gnu.org>
18393
18394 * ediff-merg.el (ediff-do-merge):
18395 * filesets.el (filesets-run-cmd):
18396 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
18397 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
18398 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
18399 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
18400 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
18401 Replace empty `let's with `progn'.
18402
18403 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
18404
18405 * mail/sendmail.el (send-mail-function):
18406 * tooltip.el (tooltip-mode):
18407 * simple.el (transient-mark-mode):
18408 * rfn-eshadow.el (file-name-shadow-mode):
18409 * frame.el (blink-cursor-mode):
18410 * font-core.el (global-font-lock-mode):
18411 * files.el (temporary-file-directory)
18412 (small-temporary-file-directory, auto-save-file-name-transforms):
18413 * epa-hook.el (auto-encryption-mode):
18414 * composite.el (global-auto-composition-mode):
18415 Use custom-initialize-delay.
18416 * startup.el (command-line): Don't explicitly call
18417 custom-reevaluate-setting for all the above vars.
18418 * custom.el (custom-initialize-safe-set)
18419 (custom-initialize-safe-default): Delete.
18420
18421 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18422
18423 * term/x-win.el (x-initialize-window-system):
18424 * term/w32-win.el (w32-initialize-window-system):
18425 * term/ns-win.el (ns-initialize-window-system): Don't call
18426 mouse-wheel-mode since it's enabled globally by default already.
18427
18428 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
18429 actually define the variable, but only silences the byte-compiler.
18430 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
18431 before looking it up.
18432 (mouse-wheel-scroll-amount): Also reset the bindings if this value
18433 is changed.
18434
18435 2009-09-12 Glenn Morris <rgm@gnu.org>
18436
18437 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
18438 1000.
18439 (elint-add-required-env): Don't beep on error.
18440 (elint-forms): In case of error, return ENV unchanged.
18441 (elint-init-env): Skip non-list forms.
18442 (elint-log): Handle unknown file positions.
18443
18444 2009-09-12 Daiki Ueno <ueno@unixuser.org>
18445
18446 * epg.el (epg-make-context): Add autoload cookie.
18447 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
18448 (epg-decrypt-string, epg-start-verify, epg-verify-file)
18449 (epg-verify-string, epg-start-sign, epg-sign-file)
18450 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
18451 (epg-encrypt-string, epg-start-export-keys)
18452 (epg-export-keys-to-file, epg-export-keys-to-string)
18453 (epg-start-import-keys, epg-import-keys-from-file)
18454 (epg-import-keys-from-string, epg-start-receive-keys)
18455 (epg-receive-keys, epg-import-keys-from-server)
18456 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
18457 (epg-sign-keys, epg-start-generate-key)
18458 (epg-generate-key-from-file, epg-generate-key-from-string):
18459 Remove autoload cookie.
18460
18461 2009-09-12 Eli Zaretskii <eliz@gnu.org>
18462
18463 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
18464 reevaluation of trash-directory.
18465
18466 * mwheel.el: Fix last change.
18467 (mouse-wheel-mode): New defvar.
18468 (mouse-wheel-mode): Remove autoload cookie.
18469
18470 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18471
18472 * mwheel.el (mwheel-installed-bindings): New var.
18473 (mouse-wheel-mode): Use it, so as to make sure we really remove all
18474 the bindings we set last time. Use custom-initialize-delay.
18475 * loadup.el: Load mwheel after term/*-win.el.
18476 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
18477 and mouse-wheel-up-event now that their first evaluation is done
18478 sufficiently late to be correct.
18479
18480 * startup.el (tutorial-directory): Make it a defcustom.
18481 Use custom-initialize-delay rather than eval-at-startup to set it.
18482 * image.el (image-load-path): Make it a defcustom.
18483 Use custom-initialize-delay rather than eval-at-startup to set it.
18484 * subr.el (eval-at-startup): Remove.
18485 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
18486
18487 * subr.el (do-after-load-evaluation): Warn the user after loading an
18488 obsolete package.
18489
18490 2009-09-12 Glenn Morris <rgm@gnu.org>
18491
18492 * proced.el (proced-mark-alt): Remove alias.
18493 (proced-mode-map): Remove proced-mark-alt.
18494
18495 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
18496 Elint file and directory. Remove initialization entry.
18497
18498 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
18499 commands.
18500 (elint-current-buffer): Set mode-line-process.
18501 (elint-init-env): Handle define-derived-mode.
18502 Fix declare-function with unspecified arglist. Guard against odd
18503 defalias statements (eg iso-insert's 8859-1-map).
18504 (elint-add-required-env): Use a temp buffer.
18505 (elint-form): Just print the function/macro name, not the whole form.
18506 Return env unchanged if we fail to parse a macro.
18507 (elint-forms): Guard against parse errors.
18508 (elint-output): New function, to handle batch mode.
18509 (elint-log-message): Add optional argument. Use elint-output.
18510 (elint-set-mode-line): New function.
18511
18512 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
18513
18514 * emacs-lisp/elp.el (elp-not-profilable): Add more
18515 functions (Bug#4233).
18516
18517 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
18518
18519 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
18520 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
18521
18522 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
18523
18524 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
18525 (gdb-var-list-children): Use json parsing.
18526
18527 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
18528
18529 * progmodes/js.el (js--proper-indentation): Handle the case where
18530 char-before is null. Reported by Deniz Dogan.
18531
18532 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
18533
18534 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
18535
18536 2009-09-11 Daiki Ueno <ueno@unixuser.org>
18537
18538 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
18539 (epg-digest-algorithm-alist): Add SHA224.
18540 (epg-context-set-passphrase-callback)
18541 (epg-context-set-progress-callback): Add description about
18542 callback function.
18543
18544 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18545
18546 * custom.el (custom-delayed-init-variables): New var.
18547 (custom-initialize-delay): New function.
18548 * startup.el (command-line): "Re"evaluate all vars in
18549 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
18550 explicitly any more.
18551 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
18552 to avoid creating a ~/.emacs.d at build-time (bug#4347).
18553
18554 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
18555
18556 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
18557
18558 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
18559 (gdb-var-update-handler): Use json parsing.
18560
18561 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
18562
18563 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
18564 decode annotated text, regardless of language environment. (Bug#2741)
18565
18566 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18567
18568 * Makefile.in (autoloads): Make rmail.el writable as well.
18569
18570 2009-09-11 Glenn Morris <rgm@gnu.org>
18571
18572 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
18573 loaddefs.el.
18574 * dired.el: Regenerate with extracted autoloads.
18575 * Makefile.in (autoloads): Make dired.el writable.
18576
18577 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
18578 * ibuffer.el: Regenerate with extracted autoloads.
18579 * Makefile.in (autoloads): Make ibuffer.el writable.
18580
18581 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
18582 * version.el (emacs-copyright, emacs-major-version)
18583 (emacs-minor-version): Reformat doc-strings for make-docfile.
18584
18585 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
18586 functions and variables, since they must be stuff specific to some other
18587 platform.
18588 (apropos-print): Make mouse-click message less specific about button.
18589
18590 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
18591 that records where a macro was defined.
18592 * help-fns.el (describe-function-1): Mention if a function has a
18593 compiler-macro.
18594 * help-mode.el (help-function-cmacro): New button.
18595
18596 * locate.el (top-level): Always require dired.
18597 (locate-mode-map): Initialize inside the defvar.
18598
18599 * net/ange-ftp.el (dired-compress-file): Declare.
18600 (ange-ftp-dired-compress-file): Add doc string.
18601
18602 * term/ns-win.el (x-display-name, x-setup-function-keys):
18603 Unify doc-strings with X versions.
18604
18605 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18606
18607 * emulation/crisp.el (crisp-mode-map): Move initialization
18608 into declaration.
18609 (crisp-mode): Use define-minor-mode.
18610
18611 * progmodes/xscheme.el (xscheme-evaluation-commands):
18612 Put a :advertised-binding property rather than using
18613 advertised-xscheme-send-previous-expression.
18614 (advertised-xscheme-send-previous-expression): Declare obsolete.
18615 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
18616 `advertised-undo'.
18617 (crisp-mode): Add corresponding bindings to
18618 undo's :advertised-binding instead.
18619 * dired.el (dired-mode-map): Put a :advertised-binding property rather
18620 than using dired-advertised-find-file.
18621 (dired-advertised-find-file):
18622 * simple.el (advertised-undo):
18623 * wid-edit.el (advertised-widget-backward): Declare obsolete.
18624 (widget-keymap): Put a :advertised-binding property rather
18625 than using advertised-widget-backward.
18626 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
18627 than using advertised-undo.
18628 * tutorial.el (tutorial--default-keys): Adjust accordingly.
18629
18630 2009-09-10 Simon South <ssouth@slowcomputing.org>
18631
18632 * progmodes/delphi.el (delphi-tab): Indent region when Transient
18633 Mark mode is enabled and region is active; otherwise indent or
18634 insert TAB as usual.
18635 (delphi-mode): Update description of TAB-key binding.
18636
18637 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
18638
18639 * subr.el (define-key-rebound-commands): Mark obsolete.
18640 * startup.el (precompute-menubar-bindings): Remove.
18641 (normal-top-level): Remove obsolete code that tried to precompute
18642 menubar bindings.
18643 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
18644 define-key-rebound-commands and precompute-menubar-bindings.
18645
18646 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
18647
18648 * net/imap.el (imap-interactive-login): Better messages.
18649 (imap-open): Fix bug with renamed buffer on reconnect.
18650 (imap-authenticate): Add buffer-local imap-last-authenticator variable
18651 for easier debugging and cleaner code. On successful (guessed based on
18652 server capabilities) secondary authentication, set imap-state
18653 correctly.
18654 (imap-last-authenticator): Define imap-last-authenticator as a variable
18655 to avoid warnings.
18656
18657 2009-09-10 Glenn Morris <rgm@gnu.org>
18658
18659 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
18660
18661 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
18662 (byte-compile-file-form-autoload): Don't warn about unknown functions
18663 where the autoload statement comes after the use.
18664 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
18665 that any handlers inside the body (eg require) are in turn respected.
18666
18667 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
18668 effects.
18669
18670 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
18671 and syntax and abbrev tables basic docs, if they don't have any.
18672
18673 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
18674
18675 * international/mule-cmds.el (top-level): Require cl when compiling.
18676 (view-hello-file): Use default-value rather than
18677 default-enable-multibyte-characters.
18678
18679 * progmodes/fortran.el: Move all safe and risky properties into the
18680 defcustoms.
18681
18682 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
18683 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
18684 * mail/undigest.el:
18685 Put autoloads in rmail.el rather than loaddefs.el.
18686 * mail/rmail.el: Regenerate with extracted autoloads.
18687
18688 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
18689 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
18690
18691 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
18692
18693 Reported in thread for Bug#4375.
18694 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
18695 "-data-evaluate-expression" instead of print.
18696 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
18697 (gdb-tooltip-print): Parse output from above MI command.
18698 (gdb): Revert 2009-08-11 change. User should detach inferior
18699 manually.
18700
18701 Remove the word "separate" from IO functions as inferior
18702 output is now never displayed in the GUD buffer.
18703
18704 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
18705
18706 * startup.el (command-line-normalize-file-name): On Windows and
18707 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
18708
18709 2009-09-10 Juri Linkov <juri@jurta.org>
18710
18711 * isearch.el (isearch-text-char-description): Propertize escape
18712 character sequences with the `escape-glyph' face. (Bug#4344)
18713
18714 * simple.el (shell-command): Set asynchronous process filter to
18715 `comint-output-filter'. (Bug#4343)
18716
18717 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
18718 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
18719 the list. Move "asm" to the bottom.
18720 (grep-find-ignored-directories): Add `choice' with nil value
18721 to empty the list easily.
18722 (grep-find-ignored-files): New option.
18723 (grep-files-history): Set to nil by default instead of '("ch" "el").
18724 (grep-compute-defaults): Add "<X>" to `grep-template'.
18725 (grep-read-files): Bind new local variables `default-alias' and
18726 `default-extension'. Use a list of default values for the file prompt.
18727 (lgrep): Add `--exclude=' command line options composed from
18728 `grep-find-ignored-files'.
18729 (rgrep): Add `-name' command line options composed from
18730 `grep-find-ignored-files'. (Bug#4301)
18731
18732 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
18733
18734 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
18735 (bug#4368).
18736
18737 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
18738
18739 * calendar/time-date.el (autoload):
18740 Expand define-obsolete-function-alias into defalias and make-obsolete
18741 for old Emacsen that Gnus supports.
18742 (with-no-warnings): Define it for old Emacsen.
18743 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
18744 is available.
18745 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
18746 float-time is available; suppress compile warning for time-to-seconds.
18747
18748 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
18749
18750 * net/imap.el (imap-message-map): Docstring fix.
18751
18752 2009-09-09 Glenn Morris <rgm@gnu.org>
18753
18754 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
18755 line numbers too. (Bug#4374)
18756
18757 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
18758
18759 * smerge-mode.el (smerge-remove-props, smerge-refine):
18760 Use with-silent-modifications (bug#4342).
18761
18762 * subr.el (with-silent-modifications): New macro.
18763
18764 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
18765
18766 * files.el (top-level): Require `cl' when compiling.
18767
18768 2009-09-07 Glenn Morris <rgm@gnu.org>
18769
18770 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
18771
18772 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
18773 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
18774
18775 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
18776
18777 * vc-git.el (vc-git-annotate-command): Use separator to parse
18778 arguments correctly.
18779
18780 2009-09-06 Eli Zaretskii <eliz@gnu.org>
18781
18782 * proced.el (proced-mode): Doc fix.
18783
18784 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
18785
18786 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
18787 lstat fails.
18788 (tramp-do-file-attributes-with-ls): Check for file existence at
18789 remote end.
18790 (tramp-do-file-attributes-with-stat): Likewise.
18791 (tramp-convert-file-attributes): Return nil when attr is nil.
18792
18793 2009-09-05 Glenn Morris <rgm@gnu.org>
18794
18795 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
18796 properties to this button.
18797 (diary-fancy-display): Don't extend the button to the final newline.
18798 (diary-fancy-display-mode): Continue to define "q" as a local key.
18799
18800 * calendar/cal-china.el (holiday-chinese): Make it slightly more
18801 efficient.
18802
18803 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
18804
18805 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
18806 (byte-compile-dest-file-function): New option.
18807 (byte-compile-dest-file): Doc fix.
18808 Obey byte-compile-dest-file-function.
18809 (byte-compile-cl-file-p): New function.
18810 (byte-compile-eval): Only suppress noruntime warnings about cl functions
18811 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
18812 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
18813 than for file being previously loaded.
18814 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
18815 (byte-compile-file-form-require): Handle the case where requiring a file
18816 indirectly causes CL to be loaded.
18817
18818 2009-09-05 Karl Fogel <kfogel@red-bean.com>
18819
18820 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
18821 before killing the old buffer, since by the time `kill-buffer' is
18822 run so many buffer variables have been set to nil that it may not
18823 behave as expected. (Bug#4061)
18824
18825 2009-09-05 Karl Fogel <kfogel@red-bean.com>
18826
18827 * files.el (find-alternate-file): If the old buffer is modified
18828 and visiting a file, behave similarly to `kill-buffer' when
18829 killing it, thus reverting to the pre-1.878 behavior; see
18830 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
18831 for discussion. Also, consult `buffer-file-name' as a variable
18832 not as a function, for consistency with the rest of the code.
18833
18834 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
18835
18836 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
18837 also when adding a new directory.
18838
18839 * net/tramp-compat.el (tramp-compat-line-beginning-position):
18840 New defun.
18841
18842 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
18843
18844 * files.el (locate-file-completion-table): Make it provide boundary
18845 information, so partial-completion works better.
18846
18847 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
18848
18849 * mail/footnote.el (Footnote-text-under-cursor):
18850 Check footnote-text-marker-alist before using it (bug#4324).
18851
18852 2009-09-04 Glenn Morris <rgm@gnu.org>
18853
18854 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
18855 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
18856 * play/solitaire.el, play/tetris.el:
18857 Remove leading * from defcustom and defface docs.
18858
18859 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
18860 necessary.
18861 (diary-fancy-overriding-map): New variable.
18862 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
18863 Use view-mode.
18864
18865 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
18866 goto-line.
18867
18868 2009-09-03 Glenn Morris <rgm@gnu.org>
18869
18870 * arc-mode.el (archive-mode):
18871 * dos-fns.el (set-default-process-coding-system):
18872 * man.el (Man-getpage-in-background):
18873 * menu-bar.el (menu-bar-describe-menu):
18874 * server.el (server-process-filter):
18875 * startup.el (command-line):
18876 * tar-mode.el (tar-header-block-tokenize, tar-extract):
18877 * w32-fns.el (set-default-process-coding-system):
18878 * x-dnd.el (x-dnd-handle-file-name):
18879 * international/mule-cmds.el (mule-menu-keymap)
18880 (set-default-coding-systems, language-info-alist, set-language-info)
18881 (set-language-environment, standard-display-european-internal)
18882 (set-locale-environment):
18883 * international/mule-diag.el (mule-diag):
18884 * mail/emacsbug.el (report-emacs-bug):
18885 * mail/rmail.el (rmail-mode):
18886 * mail/sendmail.el (mail-setup):
18887 Use default-value rather than default-enable-multibyte-characters.
18888
18889 * progmodes/f90.el: Move all safe properties into the defcustoms.
18890 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
18891
18892 * calendar/appt.el (appt-check):
18893 * calendar/diary-lib.el (diary-set-header, diary-live-p)
18894 (diary-check-diary-file, diary-list-entries)
18895 (diary-include-other-diary-files, diary-simple-display)
18896 (diary-fancy-display, diary-print-entries)
18897 (diary-mark-included-diary-files, diary-make-entry):
18898 Don't call substitute-in-file-name on diary-file.
18899
18900 2009-09-03 Eduard Wiebe <usenet@pusto.de>
18901 Stefan Monnier <monnier@iro.umontreal.ca>
18902
18903 * mail/footnote.el (footnote-prefix): Make it a defcustom.
18904 (footnote-mode-map): Move initialization into the declaration.
18905 (footnote-minor-mode-map): Define it rather than changing global-map.
18906 (footnote-mode): Use define-minor-mode.
18907
18908 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
18909
18910 * net/tramp.el (tramp-handle-file-attributes-with-ls)
18911 (tramp-do-file-attributes-with-perl)
18912 (tramp-do-file-attributes-with-stat): Rename from
18913 `tramp-handle-file-attributes-with-*'.
18914 (tramp-handle-file-attributes): Use them.
18915 (tramp-do-directory-files-and-attributes-with-perl)
18916 (tramp-do-directory-files-and-attributes-with-stat): Rename from
18917 `tramp-handle-directory-files-and-attributes-with-*'.
18918 (tramp-handle-directory-files-and-attributes): Use them.
18919 (tramp-method-out-of-band-p): Additional parameter SIZE.
18920 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
18921 (tramp-handle-write-region): Use it.
18922 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
18923 (tramp-handle-vc-registered): Check, whether the first run did
18924 return files to be tested.
18925 (tramp-advice-make-auto-save-file-name): Do not call directly
18926 `tramp-handle-make-auto-save-file-name', because this would bypass
18927 the locking mechanism.
18928
18929 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
18930 (file-remote-p, process-file, start-file-process, set-file-times)
18931 (tramp-compat-file-attributes): Compatibility functions shall not
18932 call directly `tramp-handle-*', because this would bypass the
18933 locking mechanism.
18934 (tramp-compat-number-sequence): New defun.
18935
18936 2009-09-02 Glenn Morris <rgm@gnu.org>
18937
18938 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
18939 alias for float-time.
18940 (time-to-number-of-days): In Emacs, use float-time.
18941 * net/newst-backend.el (time-add): Suppress warnings from compat
18942 function.
18943 * time.el (emacs-uptime, emacs-init-time):
18944 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
18945 Use float-time rather than time-to-seconds.
18946
18947 * minibuffer.el (completion-initials-expand): Fix typo.
18948
18949 * faces.el (modeline, modeline-inactive, modeline-highlight)
18950 (modeline-buffer-id):
18951 * info.el (info-menu-5): Mark these face aliases as obsolete.
18952
18953 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
18954
18955 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
18956 space ...
18957 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
18958 no "--thread" option.
18959 (gdb-stopped): Don't print "Switched to thread" message when it is
18960 unchanged.
18961
18962 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
18963
18964 * minibuffer.el (completion-try-completion)
18965 (completion-all-completions): Remove ill-defined (and
18966 mistakenly installed and luckily never used nor documented)
18967 `completion-styles' property.
18968 (completion-initials-expand, completion-initials-all-completions)
18969 (completion-initials-try-completion): New functions.
18970 (completion-styles-alist): Add doc to each entry.
18971 Add new `initials' entry.
18972
18973 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
18974
18975 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
18976 MI command -var-evaluate-expression.
18977 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
18978 and tweak for case of string child.
18979 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
18980
18981 2009-09-01 Glenn Morris <rgm@gnu.org>
18982
18983 * add-log.el (change-log-date-face, change-log-name-face)
18984 (change-log-email-face, change-log-file-face, change-log-list-face)
18985 (change-log-conditionals-face, change-log-function-face)
18986 (change-log-acknowledgement-face):
18987 * cus-edit.el (custom-invalid-face, custom-rogue-face)
18988 (custom-modified-face, custom-set-face, custom-changed-face)
18989 (custom-saved-face, custom-button-face, custom-button-pressed-face)
18990 (custom-documentation-face, custom-state-face, custom-comment-face)
18991 (custom-comment-tag-face, custom-variable-tag-face)
18992 (custom-variable-button-face, custom-face-tag-face)
18993 (custom-group-tag-face-1, custom-group-tag-face):
18994 * diff-mode.el (diff-header-face, diff-file-header-face)
18995 (diff-index-face, diff-hunk-header-face, diff-removed-face)
18996 (diff-added-face, diff-changed-face, diff-function-face)
18997 (diff-context-face, diff-nonexistent-face):
18998 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
18999 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
19000 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
19001 (Info-title-4-face):
19002 * isearch.el (isearch-lazy-highlight-face):
19003 * log-view.el (log-view-file-face, log-view-message-face):
19004 * paren.el (show-paren-match-face, show-paren-mismatch-face):
19005 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
19006 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
19007 (cvs-msg-face):
19008 * smerge-mode.el (smerge-mine-face, smerge-other-face)
19009 (smerge-base-face, smerge-markers-face):
19010 * wid-edit.el (widget-documentation-face, widget-button-face)
19011 (widget-field-face, widget-single-line-field-face)
19012 (widget-inactive-face, widget-button-pressed-face):
19013 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
19014 (woman-addition-face):
19015 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
19016 (eshell-ls-executable-face, eshell-ls-readonly-face)
19017 (eshell-ls-unreadable-face, eshell-ls-special-face)
19018 (eshell-ls-missing-face, eshell-ls-archive-face)
19019 (eshell-ls-backup-face, eshell-ls-product-face)
19020 (eshell-ls-clutter-face):
19021 * eshell/em-prompt.el (eshell-prompt-face):
19022 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
19023 * obsolete/old-whitespace.el (whitespace-highlight-face):
19024 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
19025 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
19026 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
19027 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
19028 (antlr-font-lock-literal-face):
19029 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
19030 (ebrowse-root-class-face, ebrowse-file-name-face)
19031 (ebrowse-default-face, ebrowse-member-attribute-face)
19032 (ebrowse-member-class-face, ebrowse-progress-face):
19033 * progmodes/make-mode.el (makefile-space-face):
19034 * progmodes/sh-script.el (sh-heredoc-face):
19035 * textmodes/flyspell.el (flyspell-incorrect-face)
19036 (flyspell-duplicate-face):
19037 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
19038 * textmodes/texinfo.el (texinfo-heading-face):
19039 Mark face aliases with "-face" suffix as obsolete.
19040
19041 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
19042 compiler.
19043
19044 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
19045 (eudc-bob-sound-menu): Use defvar rather than defconst, since
19046 easy-menu-define wants to modify these.
19047
19048 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
19049
19050 * net/browse-url.el (browse-url-file-url):
19051 * term/internal.el (dos-codepage-setup):
19052 Use default-value rather than default-enable-multibyte-characters.
19053
19054 * progmodes/etags.el (etags-goto-tag-location):
19055 * progmodes/flymake.el (flymake-highlight-line)
19056 (flymake-goto-file-and-line, flymake-goto-line):
19057 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
19058 (gdb-goto-breakpoint):
19059 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
19060 * progmodes/python.el (python-find-function)
19061 (python-pdbtrack-track-stack-file):
19062 * progmodes/verilog-mode.el (verilog-surelint-off):
19063 * term/ns-win.el (ns-open-file-select-line):
19064 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
19065 Use forward-line rather than goto-line.
19066
19067 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
19068 * textmodes/reftex-index.el (reftex-display-index):
19069 * textmodes/reftex-ref.el (reftex-offer-label-menu):
19070 * textmodes/reftex-toc.el (reftex-toc):
19071 Remove unnecessary bindings of default-major-mode (all are followed by
19072 major-mode check and possible mode switch).
19073
19074 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
19075
19076 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
19077 Handle watchpoints (bug#4282).
19078 (def-gdb-thread-buffer-command): Enable thread to be selected by
19079 clicking without selecting threads buffer first.
19080 (gdb-current-context-command): Use selected frame so that "up",
19081 "down" etc work in the GUD buffer.
19082 (gdb-update): Find selected frame before rendering stack buffer.
19083 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
19084
19085 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
19086
19087 * progmodes/sym-comp.el (displayed-completions): Remove.
19088 (symbol-complete): Use minibuffer-complete.
19089
19090 2009-08-31 Glenn Morris <rgm@gnu.org>
19091
19092 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
19093
19094 * apropos.el (apropos-symbols-internal):
19095 Handle (obsolete) face aliases.
19096
19097 * faces.el (describe-face): Adjust the output format to be more like
19098 describe-variable, and to mention (obsolete) face aliases.
19099 Adjust the whitespace so that help-setup-xref works.
19100
19101 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
19102 * calendar/diary-lib.el (diary-button-face):
19103 Mark these face aliases as obsolete.
19104
19105 * calendar/calendar.el (calendar-today): Doc fix.
19106
19107 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
19108
19109 * progmodes/gdb-mi.el (gdb-control-all-threads)
19110 (gdb-control-current-thread): Force tool bar update.
19111 (gdb-non-stop-handler): New function.
19112 (gdb-init-1): Use it to test if non-stop mode is supported.
19113 Remove unused gdbmi buffer type.
19114
19115 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
19116
19117 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
19118 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
19119
19120 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
19121
19122 * comint.el (comint-exec-1): Check command is non-null first.
19123 Part of gdb-mi.el change (2009-08-28).
19124
19125 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19126
19127 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
19128
19129 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
19130
19131 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
19132 instead of `dolist' to avoid a recursive require when bootstrapping.
19133
19134 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19135
19136 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
19137
19138 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
19139
19140 * net/imap.el (imap-send-command): Simplify.
19141 (imap-wait-for-tag): point-max -> buffer-size.
19142
19143 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
19144
19145 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
19146 with constant argument.
19147
19148 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
19149
19150 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
19151
19152 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
19153 Change default, since most of our files don't have a history.
19154 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
19155 the user.
19156
19157 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19158 Add comint-run.
19159
19160 * calc/calc.el: Improve commenting convention.
19161 (calc-digit-map, toplevel): Simplify.
19162
19163 * comint.el (comint-insert-input): Be careful to only set point if we
19164 don't delegate to some other command.
19165
19166 * proced.el (proced-signal-list): Make it an alist.
19167 (proced-grammar-alist): Capitalize names.
19168 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
19169 Disable undo manually and make it read-only.
19170 Use completion-annotate-function.
19171
19172 * minibuffer.el (minibuffer-message): If the current buffer is not
19173 a minibuffer, insert the message in the echo area rather than at the
19174 end of the buffer.
19175 (completion-annotate-function): New variable.
19176 (minibuffer-completion-help): Use it.
19177 (completion--embedded-envvar-table): Environment vars are
19178 always case-sensitive.
19179
19180 2009-08-30 Glenn Morris <rgm@gnu.org>
19181
19182 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
19183 from fortran-current-defun.
19184 (fortran-beginning-of-subprogram): Be more precise about finding the
19185 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
19186 (fortran-end-of-subprogram): Simplify.
19187 (fortran-current-defun): Use fortran-start-prog-re.
19188
19189 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
19190
19191 * subr.el (do-after-load-evaluation): Simplify.
19192
19193 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
19194
19195 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
19196
19197 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
19198 (vc-rcs-print-log): Use it.
19199
19200 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
19201
19202 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
19203
19204 * paths.el (abbrev-file-name): Move to abbrev.el.
19205 * abbrev.el (abbrev-file-name): Move from paths.el.
19206 Obey user-emacs-directory.
19207 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
19208 user-emacs-directory.
19209 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
19210 abbrev-file-name and calc-settings-file any more.
19211 * startup.el (command-line): Recompute abbrev-file-name and
19212 abbreviated-home-dir.
19213 (normal-no-mouse-startup-screen): Improve the generic code and get rid
19214 of the special code for when C-h bindings haven't been changed.
19215 (display-startup-echo-area-message): Use with-current-buffer.
19216 (command-line-1): Use a list of strings, rather than a list of lists
19217 of strings for longopts.
19218
19219 * files.el (get-free-disk-space): Use / for default-directory.
19220
19221 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
19222 Use with-current-buffer.
19223
19224 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
19225 Recognize immutable variables like most-positive-fixnum.
19226 (byte-compile-setq-default): Check and warn if trying to assign
19227 to an immutable variable, or a non-variable.
19228
19229 * progmodes/cc-vars.el (c-comment-continuation-stars):
19230 * progmodes/cc-engine.el (c-looking-at-bos):
19231 * progmodes/cc-cmds.el (c-toggle-auto-state)
19232 (c-forward-into-nomenclature, c-backward-into-nomenclature)
19233 (c-comment-line-break-function): Add version of obsolescence.
19234
19235 2009-08-28 Juri Linkov <juri@jurta.org>
19236
19237 * files.el (magic-fallback-mode-alist): Add ZIP magic number
19238 associated with `archive-mode'.
19239
19240 * image.el (image-type-header-regexps): Use only JPEG magic number
19241 to determine JPEG images, and don't use `image-jpeg-p' because
19242 Emacs can display non-JFIF non-Exif JPEG images.
19243
19244 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
19245
19246 * arc-mode.el (archive-mode):
19247 * emacs-lisp/re-builder.el (re-builder-unload-function):
19248 Protect against the default value of `major-mode' being nil.
19249
19250 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
19251
19252 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
19253 Fix typos in docstrings.
19254
19255 * progmodes/js.el (js--macro-decl-re): Doc fix.
19256 (js--plain-method-re, js--split-name): Refloc docstring.
19257 (js--class-styles, js--make-merged-item, js--splice-into-items):
19258 Fix typos in docstrings; reflow docstrings.
19259 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
19260 (js--variable-decl-matcher, js--inside-pitem-p)
19261 (js--parse-state-at-point, js--get-all-known-symbols)
19262 (js--symbol-history, js-find-symbol, js--js-references)
19263 (js--moz-interactor, js--js-encode-value, js--read-tab):
19264 Fix typos in docstrings.
19265
19266 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19267
19268 * textmodes/reftex.el (reftex-get-file-buffer-force):
19269 * progmodes/verilog-mode.el (verilog-batch-execute-func):
19270 * emulation/viper.el (viper-go-away, viper-set-hooks):
19271 * emacs-lisp/re-builder.el (re-builder-unload-function):
19272 * emacs-lisp/bytecomp.el (byte-compile-file):
19273 * ses.el (ses-unload-function):
19274 * hexl.el (hexl-find-file):
19275 * files.el (normal-mode):
19276 * ehelp.el (with-electric-help):
19277 * autoinsert.el (auto-insert-alist):
19278 * arc-mode.el (archive-mode):
19279 Use (default-value 'major-mode) instead of default-major-mode.
19280
19281 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
19282 * international/mule.el (load-with-code-conversion):
19283 * emacs-lisp/debug.el (debug):
19284 * ediff-vers.el (ediff-rcs-get-output-buffer):
19285 * dired.el (dired-internal-noselect): Don't let-bind
19286 default-major-mode around code that doesn't use it.
19287 E.g. buffer creation via get-buffer-create doesn't use it.
19288
19289 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
19290
19291 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
19292 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
19293 when writing the temp file. Otherwise, epa-file gets confused.
19294 (tramp-register-file-name-handlers): Make it a defun. Move also
19295 `epa-file-handler' to the front of `file-name-handler-alist'.
19296
19297 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19298
19299 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
19300 start right after a ^M.
19301 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
19302 (tramp-completion-file-name-regexp-separate)
19303 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
19304 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
19305 Don't modify last-coding-system-used by accident.
19306 (tramp-completion-file-name-handler): Apply the checks here,
19307 instead during registration.
19308 (tramp-register-file-name-handlers): Rename from
19309 `tramp-register-file-name-handler'. Register both
19310 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
19311 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
19312
19313 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
19314
19315 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
19316 Remove variable ...
19317 (gdb-init-1, gdb-display-separate-io-buffer)
19318 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
19319 references to it.
19320 (gdb-inferior-io-mode): Use make-comint-in-buffer.
19321 (gdb-inferior-filter): Use comint-output-filter to stop
19322 echoing and remove ^M characters.
19323
19324 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19325
19326 * emulation/viper-init.el (viper-restore-cursor-type):
19327 * emulation/cua-base.el (cua--update-indications):
19328 Replace default-cursor-type with (default-value 'cursor-type).
19329
19330 * mail/sendmail.el (mail-recover-1):
19331 * international/mule-diag.el (describe-current-coding-system-briefly)
19332 (describe-current-coding-system):
19333 * international/mule-cmds.el (select-safe-coding-system)
19334 (select-message-coding-system)
19335 (set-language-environment-coding-systems, set-locale-environment):
19336 * hexl.el (hexl-insert-multibyte-char):
19337 * dos-w32.el (find-buffer-file-type-coding-system):
19338 * simple.el (what-cursor-position):
19339 Replace uses of default-buffer-file-coding-system
19340 with (default-value 'buffer-file-coding-system).
19341
19342 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
19343 Replace uses of default-cursor-in-non-selected-windows
19344 with (default-value 'cursor-in-non-selected-windows).
19345 Use with-current-buffer.
19346
19347 * mail/feedmail.el: Use CL macros.
19348 (feedmail-run-the-queue, feedmail-send-it-immediately):
19349 * dos-w32.el (find-buffer-file-type): Replace uses of
19350 default-buffer-file-type with (default-value 'buffer-file-type).
19351
19352 2009-08-28 Glenn Morris <rgm@gnu.org>
19353
19354 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
19355 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
19356 Use default-value of major-mode rather than default-major-mode.
19357
19358 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
19359
19360 * Makefile.in (update-elcfiles): Report left over elc files.
19361
19362 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
19363 expand-file-name and with-current-buffer.
19364 (mail-get-names, mail-directory): Use with-current-buffer.
19365
19366 * vc.el (vc-read-revision): New function.
19367 (vc-version-diff, vc-merge): Use it.
19368
19369 2009-08-27 Sam Steingold <sds@gnu.org>
19370
19371 * simple.el (kill-do-not-save-duplicates): New user option.
19372 (kill-new): When it is non-nil, and the new string is the same as
19373 the latest kill, set replace to t to avoid duplicates in kill-ring.
19374
19375 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
19376
19377 * net/tramp.el (tramp-handle-process-file): Do not flush all
19378 caches when `process-file-side-effects' is set.
19379 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
19380 instead of `tramp-find-file-exists-command'.
19381 Unset `process-file-side-effects'.
19382
19383 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
19384
19385 * net/tramp.el (tramp-methods): New method "rsyncc".
19386 (top): Add completion function for "rsyncc".
19387 (tramp-message-show-message): New defvar.
19388 (tramp-message, tramp-error): Use it.
19389 (tramp-do-copy-or-rename-file-directly): Extend check for direct
19390 remote copying.
19391 (tramp-do-copy-or-rename-file-out-of-band): Handle new
19392 `tramp-methods' entry `copy-env' of "rsyncc".
19393 (tramp-vc-registered-read-file-names): New defconst.
19394 (tramp-vc-registered-file-names): New defvar.
19395 (tramp-handle-vc-registered): Implement optimization strategy.
19396 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
19397 (tramp-vc-file-name-handler): New defun.
19398 (tramp-get-ls-command, tramp-get-test-command)
19399 (tramp-get-file-exists-command, tramp-get-remote-ln)
19400 (tramp-get-remote-perl, tramp-get-remote-stat)
19401 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
19402
19403 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
19404 (tramp-cache-inhibit-cache): Extend doc string. It allows also
19405 timestamps.
19406 (tramp-get-file-property): Check for timestamps in
19407 `tramp-cache-inhibit-cache'.
19408 (tramp-set-file-property): Write timestamp.
19409
19410 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
19411
19412 * language/japan-util.el (japanese-symbol-table): Add entries for
19413 cp932-2-byte.
19414
19415 * international/characters.el: Add category `j' to cp932-2-byte.
19416
19417 2009-08-27 Kenichi Handa <handa@m17n.org>
19418
19419 * international/fontset.el (build-default-fontset-data): New macro.
19420 (setup-default-fontset): Use build-default-fontset-data for CJK,
19421 tibetan, ethiopic, and ipa.
19422
19423 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
19424
19425 * cus-start.el (default-major-mode): Customize `major-mode' instead.
19426 (enable-multibyte-characters): Not customizable any more.
19427
19428 * subr.el (default-mode-line-format, default-header-line-format)
19429 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
19430 (default-direction-reversed, default-truncate-lines)
19431 (default-left-margin, default-tab-width, default-case-fold-search)
19432 (default-left-margin-width, default-right-margin-width)
19433 (default-left-fringe-width, default-right-fringe-width)
19434 (default-fringes-outside-margins, default-scroll-bar-width)
19435 (default-vertical-scroll-bar, default-indicate-empty-lines)
19436 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
19437 (default-fringe-cursor-alist, default-scroll-up-aggressively)
19438 (default-scroll-down-aggressively, default-fill-column)
19439 (default-cursor-type, default-buffer-file-type)
19440 (default-cursor-in-non-selected-windows)
19441 (default-buffer-file-coding-system, default-major-mode)
19442 (default-enable-multibyte-characters): Mark as obsolete.
19443
19444 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
19445
19446 * vc-dir.el (vc-dir-update): Remove debug helper.
19447
19448 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
19449
19450 2009-08-26 Sam Steingold <sds@gnu.org>
19451
19452 * simple.el (save-interprogram-paste-before-kill): New user option.
19453 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
19454 save the interprogram-paste into kill-ring before overriding it
19455 with the Emacs kill.
19456
19457 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
19458
19459 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
19460 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
19461 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
19462 and move to vc-rcs.el.
19463 (vc-default-next-revision): Rename to vc-rcs-next-revision and
19464 move to vc-rcs.el.
19465 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
19466 (vc-rcs-update-changelog): Remove.
19467 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
19468 and move to vc-rcs.el.
19469
19470 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
19471 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
19472 renaming.
19473 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
19474 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
19475 vc.el, renamed to be RCS specific.
19476
19477 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
19478 New functions.
19479 (vc-cvs-update-changelog): Move here from vc.el.
19480
19481 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
19482 New functions.
19483
19484 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
19485
19486 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
19487
19488 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
19489
19490 * vc-git.el (vc-git-register): Use "git add" for directories.
19491 (vc-git-stash, vc-git-stash-show): New functions.
19492 (vc-git-extra-menu-map): Bind them.
19493
19494 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
19495 directory correctly in case the item is a directory itself.
19496
19497 * vc.el: Document the desired behavior for reverted files in the
19498 `added' state.
19499 (vc-default-prettify-state-info): Remove function, unused.
19500
19501 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
19502
19503 2009-08-26 Glenn Morris <rgm@gnu.org>
19504
19505 * bindings.el (standard-mode-line-format): Reposition dashes in
19506 which-func entry. (Bug#4217)
19507
19508 * files.el (enable-local-variables, enable-local-eval)
19509 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
19510 the defcustoms.
19511 (auto-mode-alist, ignored-local-variables)
19512 (save-some-buffers-action-alist): Move risky declarations to the
19513 definitions.
19514 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
19515 (font-lock-defaults, format-alist, imenu--index-alist)
19516 (imenu-generic-expression, input-method-alist, minor-mode-alist)
19517 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
19518 (mode-line-modified, mode-line-mule-info, mode-line-position)
19519 (mode-line-process, mode-line-remote, outline-level)
19520 (parse-time-rules, rmail-output-file-alist)
19521 (special-display-buffer-names, vc-mode):
19522 Move risky declarations to the relevant files.
19523 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
19524 (mode-line-modified, mode-line-process, mode-line-position)
19525 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
19526 * font-core.el (font-lock-defaults):
19527 * format.el (format-alist):
19528 * vc-hooks.el (vc-mode):
19529 * window.el (special-display-buffer-names):
19530 * international/mule-cmds.el (input-method-alist):
19531 Define riskiness here (dumped file) rather than in files.el.
19532 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
19533 * imenu.el (imenu-generic-expression, imenu--index-alist):
19534 * outline.el (outline-level):
19535 * time.el (display-time-string):
19536 * calendar/parse-time.el (parse-time-rules):
19537 * mail/rmailout.el (rmail-output-file-alist):
19538 Autoload riskiness here, rather than placing in files.el.
19539
19540 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
19541
19542 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
19543
19544 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
19545
19546 * simple.el (process-file-side-effects): New defvar.
19547
19548 * dired-aux.el (dired-show-file-type):
19549 * vc.el (vc-diff-internal):
19550 * vc-arch.el (vc-arch-diff):
19551 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
19552 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
19553 * vc-git.el (vc-git-registered, vc-git-working-revision)
19554 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
19555 (vc-git--empty-db-p):
19556 * vc-hooks.el (vc-user-login-name):
19557 * vc-svn.el (vc-svn-registered, vc-svn-state)
19558 (vc-svn-dir-extra-headers, vc-svn-find-revision):
19559 * progmodes/grep.el (grep-probe): Let-bind
19560 `process-file-side-effects' with nil.
19561
19562 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
19563
19564 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
19565 daemon. Replace ping by checking for running service for bluez
19566 and zeroconf. (Bug#4239)
19567
19568 2009-08-25 Kevin Ryde <user42@zip.com.au>
19569
19570 * net/dig.el (dig): Add autoload cookie.
19571
19572 2009-08-25 Glenn Morris <rgm@gnu.org>
19573
19574 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
19575 load-history for absolute file-names.
19576 (byte-compile-file-form-require): Warn about use of the cl package.
19577
19578 * format.el (format-alist): Doc fix.
19579
19580 * play/bubbles.el (top-level): Don't require cl at run-time.
19581
19582 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
19583 run-time cl).
19584
19585 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
19586
19587 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
19588 from cl package.
19589 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
19590
19591 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
19592
19593 * calc/calc-alg.el (math-trig-rewrite)
19594 (math-hyperbolic-trig-rewrite): New functions.
19595 (calc-simplify): Simplify trig functions when asked.
19596
19597 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
19598
19599 * diff-mode.el (diff-find-source-location): Avoid goto-line.
19600
19601 2009-08-24 Kenichi Handa <handa@m17n.org>
19602
19603 * language/ind-util.el (mapthread): Delete it.
19604 (combinatorial): New function.
19605 (indian--puthash-cv): Use combinatorial instead of mapthread.
19606
19607 2009-08-22 Kevin Ryde <user42@zip.com.au>
19608
19609 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
19610 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
19611 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
19612 Clarify docstring that the value is strings not symbols.
19613 (checkdoc-list-of-strings-p): New function.
19614
19615 2009-08-22 Glenn Morris <rgm@gnu.org>
19616
19617 * files.el (auto-mode-alist):
19618 * hippie-exp.el (he-concat-directory-file-name):
19619 * lpr.el (lpr-windows-system, printer-name):
19620 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
19621 * ps-print.el (ps-windows-system):
19622 * startup.el (command-line):
19623 * emulation/viper-ex.el (viper-glob-function):
19624 * international/mule-cmds.el (set-language-environment-coding-systems):
19625 * net/ange-ftp.el (ange-ftp-write-region):
19626 * obsolete/fast-lock.el (fast-lock-cache-name):
19627 Remove code for defunct system-types emx, macos, mswindows, next-mach,
19628 unisoft-unix, vax-vms, win32, w32.
19629
19630 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
19631 given name if the pattern is not more specific.
19632
19633 * calendar/lunar.el (lunar-phase-names): New option.
19634 (lunar-phase): Doc fix.
19635 (lunar-cycles-per-year): New constant.
19636 (lunar-index): New function.
19637 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
19638 (lunar-phase-name): Use lunar-phase-names.
19639 (calendar-lunar-phases): Use format.
19640 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
19641
19642 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
19643 Copy imenu-example--name-and-position function here for own use.
19644 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
19645
19646 * bs.el (bs--redisplay):
19647 * cus-edit.el (custom-redraw):
19648 * ibuffer.el (ibuffer-bury-buffer):
19649 * server.el (server-goto-line-column):
19650 * startup.el (command-line-1):
19651 * strokes.el (strokes-xpm-for-stroke):
19652 * term.el (term-display-buffer-line):
19653 * view.el (View-goto-line):
19654 * calc/calc.el (calc-do, calc-trail-buffer):
19655 * play/gamegrid.el (gamegrid-add-score-insecure):
19656 * progmodes/ada-mode.el (ada-compile-goto-error):
19657 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
19658 (ebrowse-select-1st-to-9nth):
19659 * progmodes/cperl-mode.el (cperl-time-fontification):
19660 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
19661 * progmodes/gud.el (gud-display-line):
19662 (idlwave-shell-display-line):
19663 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
19664 * progmodes/make-mode.el (makefile-browser-toggle):
19665 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
19666 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
19667 * textmodes/picture.el (picture-draw-rectangle):
19668 * textmodes/reftex-index.el (reftex-index-goto-letter):
19669 (reftex-select-jump-to-previous):
19670 * textmodes/reftex-sel.el (reftex-find-start-point)
19671 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
19672 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
19673 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
19674 * textmodes/tex-mode.el (tex-compilation-parse-errors):
19675 * textmodes/two-column.el (2C-associated-buffer):
19676 Use forward-line rather than goto-line.
19677
19678 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
19679 goto-line.
19680
19681 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
19682 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
19683 (quick-check-list-to-regexp): Declare.
19684
19685 * progmodes/make-mode.el (makefile-browser-insert-selection):
19686 Use goto-char rather than goto-line.
19687
19688 * progmodes/prolog.el (compilation-error-regexp-alist)
19689 (compilation-forget-errors): Declare.
19690
19691 2009-08-22 Juri Linkov <juri@jurta.org>
19692
19693 * progmodes/grep.el (lgrep, rgrep): At the beginning
19694 set `dir' to `default-directory' unless `dir' is a non-nil
19695 readable directory. (Bug#4052)
19696 (lgrep, rgrep): Change a weird way to report an error
19697 from using `read-string' to using `error'.
19698 Instead of using interactive arguments in the function body,
19699 add new argument `confirm'.
19700
19701 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
19702
19703 * textmodes/remember.el (remember-buffer):
19704 * progmodes/cperl-mode.el (cperl-vc-header-alist):
19705 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
19706 (icalendar-extract-ical-from-buffer):
19707 * net/newst-treeview.el (newsticker-groups-filename):
19708 * net/newst-backend.el (newsticker-cache-filename):
19709 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
19710 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
19711 (speedbar-add-ignored-path-regexp, speedbar-line-path)
19712 (speedbar-buffers-line-path, speedbar-path-line)
19713 (speedbar-buffers-line-path):
19714 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
19715 (epg-sign-keys):
19716 * epa.el (epa-display-verify-result):
19717 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
19718
19719 2009-08-21 Glenn Morris <rgm@gnu.org>
19720
19721 * progmodes/js.el (inferior-moz-process): Fix declaration.
19722
19723 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
19724
19725 * obsolete/rnewspost.el (news-mail-reply):
19726 Use goto-char rather than goto-line.
19727
19728 * term/ns-win.el (ns-open-file-select-line):
19729 Use line-beginning-position rather than goto-line.
19730
19731 * apropos.el (apropos-command):
19732 * ehelp.el (electric-helpify):
19733 * printing.el (pr-show-setup):
19734 * strokes.el (strokes-help):
19735 * tutorial.el (tutorial--describe-nonstandard-key)
19736 (tutorial--detailed-help):
19737 * woman.el (woman-mini-help, woman-display-extended-fonts):
19738 * calc/calc-help.el (calc-describe-key):
19739 * emulation/edt.el (edt-electric-helpify):
19740 * international/mule-diag.el (mule-diag):
19741 * play/yow.el (apropos-zippy):
19742 * progmodes/python.el (python-describe-symbol):
19743 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
19744 * textmodes/table.el (*table--cell-describe-mode)
19745 (*table--cell-describe-bindings):
19746 Use help-print-return-message rather than the now obsolete alias.
19747
19748 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
19749 (calendar-cursor-to-visible-date):
19750 * play/5x5.el (5x5-position-cursor):
19751 * play/decipher.el (decipher):
19752 * play/gomoku.el (gomoku-goto-xy):
19753 * play/landmark.el (lm-goto-xy):
19754 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
19755 (mpuz-paint-digit):
19756 Use forward-line, not goto-line.
19757
19758 * mail/rmail.el (rmail-obsolete): Delete custom group.
19759 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
19760 (rmail-remote-password, rmail-remote-password-required):
19761 Remove unneeded :set-after and :set properties.
19762
19763 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
19764
19765 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
19766
19767 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
19768
19769 * loadup.el: Remove leftover macos code.
19770
19771 * vc-git.el (vc-git-annotate-command): Run asynchronously.
19772 Explicitly pass the date format to git blame so that user local
19773 so that the output format can be parsed.
19774
19775 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
19776
19777 * net/dbus.el (top): Don't check for (getenv
19778 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
19779
19780 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
19781
19782 * log-edit.el (log-edit-strip-single-file-name): New var.
19783 (log-edit-insert-changelog): Use it. Bug#3571
19784
19785 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
19786
19787 * subr.el (read-passwd): Use read-key so keypad keys work as well.
19788 Bug#3287
19789
19790 * help.el (help-print-return-message): Rename from
19791 print-help-return-message.
19792
19793 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
19794 cvs-mode-map parent hack.
19795 (log-view-mode): Derive from special-mode.
19796
19797 * linum.el (linum-mode): window-size-change-functions is redundant.
19798 Adapt to new window-configuration-change-hook behavior.
19799 (linum-after-size, linum-after-config): Remove.
19800
19801 * imenu.el (imenu-example--name-and-position)
19802 (imenu-example--lisp-extract-index-name)
19803 (imenu-example--create-lisp-index, imenu-example--create-c-index):
19804 Mark as obsolete.
19805
19806 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
19807 (inferior-prolog-mode): Use it.
19808 (inferior-prolog-load-file): Reset list of errors.
19809
19810 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
19811
19812 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
19813
19814 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
19815
19816 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
19817
19818 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
19819 is running already.
19820
19821 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
19822
19823 * subr.el (listify-key-sequence-1): Use normal syntax since those
19824 integers are nowadays always represented by the same (positive) number
19825 on all platforms.
19826 (read-key-empty-map): New const.
19827 (read-key-delay): New var.
19828 (read-key): New function.
19829 (force-mode-line-update): Use with-current-buffer.
19830 (locate-user-emacs-file): Don't forget to abbreviate the file name.
19831 (start-process-shell-command, start-file-process-shell-command):
19832 Discourage the use of command-args.
19833
19834 2009-08-19 Glenn Morris <rgm@gnu.org>
19835
19836 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
19837
19838 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
19839
19840 * simple.el (choose-completion-string): Don't rely on
19841 minibuffer-completing-file-name and ad-hoc checks to decide whether
19842 to continue completion or not.
19843
19844 * minibuffer.el (minibuffer-hide-completions): New function.
19845 (completion--do-completion): Use it.
19846 (completions-annotations): New face.
19847 (completion--insert-strings): Use it.
19848 (completion-pcm--delim-wild-regex): Add docstring.
19849 (completion-pcm--string->pattern): Add support for 0-width delimiters
19850 in completion-pcm--delim-wild-regex.
19851
19852 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
19853
19854 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
19855 Remove unused var `buffer-modified-p'.
19856
19857 * minibuffer.el (completion--do-completion): Move point for the #b001
19858 case as well (bug#4176).
19859 (minibuffer-complete, minibuffer-complete-word): Don't move point.
19860
19861 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
19862
19863 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
19864 and :session buses.
19865
19866 2009-08-18 Kenichi Handa <handa@m17n.org>
19867
19868 * international/ucs-normalize.el (ucs-normalize-version):
19869 Change to 1.1.
19870 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
19871 (utf-8-hfs): Make it perform normalization on encoding too.
19872
19873 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
19874 (sentence-end-without-space): Delete duplicated chars.
19875 (sentence-end-base): Likewise.
19876
19877 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
19878 (html-mode): Delete duplicated chars from sentence-end-base.
19879
19880 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
19881 (texinfo-mode): Delete duplicated chars from sentence-end-base.
19882
19883 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
19884
19885 * files.el (hack-one-local-variable): If the mode function is for
19886 a minor mode, pass it an argument (Bug#4148).
19887
19888 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
19889
19890 * net/tramp.el (tramp-register-completion-file-name-handler):
19891 Check also for (member 'partial-completion completion-styles).
19892
19893 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
19894
19895 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
19896 abbrev (Bug#3943).
19897
19898 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
19899
19900 * progmodes/cperl-mode.el: Merge upstream 6.2.
19901 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
19902 (cperl-forward-re): Check cperl-brace-recursing.
19903 (cperl-highlight-charclass): New function.
19904 (cperl-find-pods-heres): Use it.
19905 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
19906 (cperl-beautify-regexp-piece): Fix column calculation.
19907 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
19908 (cperl-beautify-level): Don't process entire regexp.
19909 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
19910 calling man.
19911 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
19912 (cperl-init-faces): Build a list in the normal way.
19913
19914 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
19915
19916 * calendar/parse-time.el (parse-time-string-chars): Save match
19917 data.
19918
19919 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
19920
19921 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
19922 (sql-product): Use it.
19923 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
19924 (sql-set-product): Add completion.
19925 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
19926 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
19927 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
19928 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
19929 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
19930 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
19931 (sql-highlight-db2-keywords): Remove.
19932 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
19933 (sql-highlight-product): Use derived-mode-p.
19934 (sql-set-sqli-buffer): Use with-current-buffer.
19935 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
19936 Simplify.
19937
19938 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
19939
19940 * term.el: Fix commenting convention, turn comments into docstrings.
19941
19942 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
19943
19944 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
19945
19946 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
19947
19948 * calendar/parse-time.el (parse-time-string-chars): Compute using
19949 character classes, to handle non-ascii characters (Bug#3190).
19950
19951 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
19952
19953 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
19954 another heredoc if the user adds another < (Bug#3226).
19955
19956 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
19957 Don't initialize based on window-system (Bug#4124).
19958
19959 * facemenu.el (facemenu-read-color): Use a completion function
19960 that accepts any defined color, such as RGB triplets (Bug#3677).
19961
19962 * files.el (get-free-disk-space): Change fallback default
19963 directory to /. Expand DIR argument before switching to fallback.
19964 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
19965
19966 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
19967
19968 * files.el (load-library): Doc fix.
19969
19970 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
19971
19972 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
19973 (viper-if-string): Redefine C-s in the minibuffer to insert the last
19974 incremental search string.
19975
19976 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
19977 XEmacs.
19978
19979 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
19980 (ediff-merge-region-is-non-clash)
19981 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
19982 Also check if the job is really a merge job.
19983
19984 * ediff.el (ediff-current-file): New function.
19985
19986 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
19987
19988 * progmodes/js.el: Edit docstrings throughout to follow Emacs
19989 conventions.
19990 (js-insert-and-indent): Delete function.
19991 (js-mode-map): Don't bind keys to js-insert-and-indent.
19992 (js-beginning-of-defun): Rename from js--beginning-of-defun.
19993 (js-end-of-defun): Rename from js--end-of-defun.
19994 (js-auto-indent-flag): Delete variable.
19995
19996 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
19997
19998 * progmodes/js.el: Remove proclaim statement.
19999 Defvar which-func-imenu-joiner-function to silence compiler.
20000
20001 * files.el (auto-mode-alist): Use js-mode for .js files.
20002
20003 * progmodes/js2-mode.el: Remove file.
20004
20005 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
20006
20007 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
20008
20009 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
20010
20011 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
20012 Karl Landstrom <karl.landstrom@brgeight.se>
20013
20014 * progmodes/js.el: New file.
20015
20016 2009-08-14 Mark A. Hershberger <mah@everybody.org>
20017
20018 * timezone.el (timezone-parse-date): Add ability to understand ISO
20019 basic format (minimal separators) dates in addition to the
20020 already-supported extended format dates.
20021
20022 2009-08-14 Eli Zaretskii <eliz@gnu.org>
20023
20024 * international/ucs-normalize.el: Add a `coding' file variable.
20025
20026 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
20027
20028 2009-08-14 Sam Steingold <sds@gnu.org>
20029
20030 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
20031
20032 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
20033
20034 * faces.el (help-argument-name): Define it here instead of
20035 help-fns.el, because in daemon mode help-fns.el may be loaded when
20036 faces are still uninitialized (Bug#1078).
20037
20038 * help-fns.el (help-argument-name): Move defface to faces.el.
20039
20040 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
20041
20042 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
20043 create buffer with a pty but no process so that GDB can make the
20044 inferior the controlling process.
20045
20046 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
20047
20048 * international/ucs-normalize.el: New file.
20049
20050 2009-08-13 Richard Stallman <rms@gnu.org>
20051
20052 * mail/rmail.el (rmail-get-attr-names):
20053 Accept an attribute header that is too short.
20054
20055 * mail/rmail.el (rmail-forget-messages):
20056 Ignore nil elt in rmail-message-vector. Use dotimes.
20057
20058 * progmodes/compile.el (compilation-goto-locus):
20059 Use next-error-move-function.
20060
20061 * simple.el (next-error-move-function): New variable.
20062
20063 2009-08-12 Juri Linkov <juri@jurta.org>
20064
20065 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
20066 always non-nil. (Bug#4052)
20067
20068 * replace.el (read-regexp): Return empty string when
20069 `default-value' is nil.
20070 (keep-lines-read-args): Don't use empty string as the
20071 default value for `read-regexp'. (Bug#2495)
20072
20073 2009-08-12 Juri Linkov <juri@jurta.org>
20074
20075 * international/mule-cmds.el (ucs-insert): Change arguments
20076 from `arg' to `character', `count', `inherit' to be the same
20077 as in `insert-char'. Doc fix. (Bug#4039)
20078
20079 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
20080
20081 2009-08-12 Juri Linkov <juri@jurta.org>
20082
20083 * files-x.el: New file.
20084
20085 * files.el: Move code that deals with adding/deleting
20086 file/directory-local variables to files-x.el.
20087
20088 * Makefile.in (ELCFILES): Add files-x.elc.
20089
20090 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
20091
20092 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
20093 to use `goto-line'.
20094 (gdb-place-breakpoints, gdb-get-location): Rewritten without
20095 `goto-line'.
20096 (gdb-invalidate-disassembly): Do not refresh upon receiving
20097 'update signal. Instead, update all disassembly buffers only after
20098 threads list.
20099 (gdb): Send -target-detach when buffer is killed (Bug#3794).
20100 (gdb-starting): Move -data-list-register-names...
20101 (gdb-stopped): ...here so it's sent when first thread stops.
20102 (gdb-registers-handler-custom): Do nothing if register names are
20103 unknown yet.
20104
20105 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
20106 from `gdb-mi.el' to avoid extra tangling.
20107
20108 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
20109 change which breaks `gud-def' definitions used in `gdb'.
20110 (gdb-update-gud-running): No extra fuss for updating frame number.
20111
20112 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
20113
20114 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
20115 (describe-language-environment-map, setup-language-environment-map)
20116 (set-coding-system-map): Move initialization into declaration.
20117 (set-language-info-alist): Last arg to define-key-after can be skipped.
20118
20119 * international/quail.el (quail-completion-1): Simplify.
20120 (quail-define-rules): Use slightly more compact code.
20121 (quail-insert-decode-map): Propertize keys, compact columns.
20122
20123 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20124 Add goto-line.
20125
20126 2009-08-10 Miles Bader <miles@gnu.org>
20127
20128 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
20129 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
20130 (js2-instance-member, js2-private-member, js2-private-function-call)
20131 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
20132 (js2-magic-paren, js2-external-variable):
20133 Remove "-face" suffix from face names.
20134 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
20135 (js2-highlight-undeclared-vars, js2-peek-token)
20136 (js2-parse-function-params, js2-mode-show-errors)
20137 (js2-mode-show-warnings, js2-make-magic-delimiter)
20138 (js2-mode-highlight-magic-parens): Update to use new face names.
20139
20140 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
20141
20142 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
20143 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
20144
20145 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
20146
20147 * subr.el: Provide hashtable-print-readable.
20148
20149 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
20150 hs-c-like-adjust-block-beginning.
20151 (hs-hide-block-at-point): Stop hiding at the beginning of
20152 hs-block-end-regexp (Bug#700).
20153
20154 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
20155
20156 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
20157 a macro.
20158 (gdb-registers-handler-custom): Do not fail when register names
20159 are unavailable.
20160
20161 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
20162
20163 * progmodes/gdb-mi.el (gdb-control-all-threads)
20164 (gdb-control-current-thread): Interactive setters for
20165 `gdb-gud-control-all-threads' to use in menu.
20166 (gdb-show-run-p): Show «Go» when process is not active.
20167 (gud-tool-bar-map): Add non-stop/A,T indicator.
20168 Uses gud/thread.xpm and gud/all.xpm.
20169
20170 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
20171
20172 * net/net-utils.el (net-utils-font-lock-keywords): New var.
20173 (nslookup-font-lock-keywords): Make it a variable.
20174 (net-utils-mode): New mode for viewing diagnostic network output.
20175 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
20176 (net-utils-run-simple): New function.
20177 (ifconfig, iwconfig, netstat, arp, route): Use it.
20178
20179 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
20180
20181 * progmodes/gdb-mi.el (gdb-read-memory-custom)
20182 (gdb-memory-set-address, def-gdb-set-positive-number)
20183 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
20184 after changing settings.
20185 (gdb-invalidate-disassembly): Update when first shown.
20186 (gdb-edit-locals-value): Fixed.
20187 (gdb-registers-handler-custom): Print registers in right order and
20188 allow changing register values (only for current thread yet).
20189 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
20190 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
20191 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
20192 (gdb-locals-handler-custom, gdb-registers-handler-custom):
20193 Thread info in mode name.
20194 (gdb-registers-mode-map): TAB to switch to locals.
20195
20196 2009-08-08 Eli Zaretskii <eliz@gnu.org>
20197
20198 * mail/rmail.el (rmail-add-mbox-headers)
20199 (rmail-set-message-counters-counter): Search for
20200 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
20201
20202 2009-08-08 Glenn Morris <rgm@gnu.org>
20203
20204 * Makefile.in (ELCFILES): Update.
20205
20206 2009-08-07 Eli Zaretskii <eliz@gnu.org>
20207
20208 * mail/sendmail.el (mail-yank-original):
20209 Set buffer-file-coding-system from the one used by the message whose
20210 text is yanked.
20211
20212 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
20213 to "windows" when "pgnuplot" is used.
20214 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
20215 Don't call accept-process-output if "pgnuplot" is used.
20216 (calc-graph-init): Don't send -display and -geometry to
20217 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
20218 running "pgnuplot -V" with shell-command-to-string.
20219
20220 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
20221 the default.
20222
20223 2009-08-07 Eli Zaretskii <eliz@gnu.org>
20224
20225 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
20226 org/org-latex.elc.
20227
20228 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
20229
20230 * vc-dispatcher.el (vc-resynch-window): Update comment.
20231
20232 * term.el (term-handle-ansi-escape): Add comments with the
20233 terminfo capabilities implemented.
20234
20235 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
20236
20237 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
20238 (gdb-var-create-handler): Rewritten using JSON parser.
20239 (gdb-propertize-header): Move earlier.
20240 (gdb-set-header): Remove to avoid duplication.
20241 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
20242 Refresh disassembly buffers only after threads list have been
20243 update.
20244 (gdb-threads-header, gdb-registers-header): Per-buffer header line
20245 variables.
20246
20247 2009-08-04 Juri Linkov <juri@jurta.org>
20248
20249 * files.el: Commands to add/delete file/directory-local variables.
20250 (read-file-local-variable, read-file-local-variable-value)
20251 (read-file-local-variable-mode, modify-file-local-variable)
20252 (modify-file-local-variable-prop-line)
20253 (modify-dir-local-variable): New functions.
20254 (add-file-local-variable, delete-file-local-variable)
20255 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
20256 (add-dir-local-variable, delete-dir-local-variable)
20257 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
20258 (copy-dir-locals-to-file-locals-prop-line): New commands.
20259
20260 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
20261
20262 * abbrev.el (insert-abbrev-table-description): Prettify output.
20263 Suggested by Karl Chen.
20264
20265 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
20266
20267 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
20268 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
20269 (gdb-overlay-arrow-position, gdb-thread-position)
20270 (gdb-disassembly-position): Declare variables.
20271 (gdb-wait-for-pending): Function now.
20272 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
20273 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
20274 compilation goes smoothly.
20275 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
20276 (gdb-non-stop-setting): New customization setting which replaces
20277 `gdb-non-stop' so changing it doesn't break active GDB session.
20278 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
20279 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
20280 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
20281 (gdb-show-threads-by-default): New customization options.
20282 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
20283 routines.
20284 (gdb-get-buffer-create): Send buffers update signal when they are
20285 created.
20286 (gdb-invalidate-locals, gdb-invalidate-registers)
20287 (gdb-invalidate-breakpoints)
20288 (gdb-invalidate-threads, gdb-invalidate-disassembly)
20289 (gdb-invalidate-memory): Accept update signal.
20290 (gdb-current-context-command): Use --frame option.
20291 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
20292 Implement `gdb-frame-number' selection logic.
20293 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
20294 whether to show GUD toolbar buttons.
20295 (gdb-thread-exited): Unselect current thread when it exits.
20296 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
20297 (gdb-mark-line): Routine which sets overlay arrow or inverses
20298 video on fringeless displays.
20299 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
20300 to build aligned columns of data in GDB buffers and set text
20301 properties line-by-line.
20302 (gdb-invalidate-breakpoints)
20303 (gdb-breakpoints-list-handler-custom)
20304 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
20305 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
20306 (gdb-registers-handler-custom): Align data columns.
20307 (gdb-locals-handler-custom): Now prints data like in variable
20308 declarations.
20309 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
20310 Remove confusing buttons.
20311 (gdb-invalidate-threads): Append --frame.
20312 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
20313 between breakpoints/threads buffers.
20314 (gdb-set-window-buffer): Now can ignore dedicated windows.
20315 (gdb-propertize-header): Use `gdb-set-window-buffer'.
20316 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
20317 (def-gdb-thread-buffer-gud-command): Replaces
20318 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
20319 for fine thread control.
20320 (gdb-preempt-existing-or-display-buffer): New function used to
20321 display bound buffers without breaking window layout.
20322 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
20323 (gdb-select-frame): New version of `gdb-frames-select' which now
20324 sets `gdb-frame-number' so commands may use --frame option instead
20325 of inner debugger state.
20326 (gdb-frame-handler): Do not set `gdb-frame-number'.
20327 (gdb-threads-mode-map): Select threads with mouse.
20328
20329 * progmodes/gud.el (gdb-gud-context-call): Declare function to
20330 avoid compilation warning.
20331 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
20332 `gdb-show-stop-p`.
20333
20334 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
20335 Argument `key' renamed to `buffer-type'.
20336 (gdb-current-context-buffer-name): Do not add thread info to
20337 buffer name when no thread is selected.
20338 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
20339 command (bug 3794).
20340 (gdb-thread-selected): Handle `=thread-selected' notification.
20341 (gdb-wait-for-pending): New macro to deal with congestion problems.
20342 (gdb-breakpoints-list-handler-custom): Don't fail on pending
20343 breakpoints.
20344 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
20345 This fixes problem similar to one described in bug 3947.
20346 (gud-menu-map): More menu items.
20347 (gdb-init-1): Reset `gdb-thread-number' to nil.
20348
20349 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
20350 non-stop settings.
20351
20352 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
20353 (gdb-current-context-command): Do not append --thread if
20354 `gdb-thread-number' is nil.
20355 (gdb-running-threads-count, gdb-stopped-threads-count):
20356 New variables.
20357 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
20358 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
20359 New customization options.
20360 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
20361 GUD commands.
20362 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
20363 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
20364 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
20365 set `gdb-thread-number' and update `gud-running' properly.
20366 (gdb-running): Update threads list when new threads appear.
20367 (gdb-stopped): Support non-stop operation and new thread switching
20368 logic.
20369 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
20370 (gdb-json-partial-output): New set of JSON routines.
20371 (def-gdb-auto-update-trigger): New `signal-list' optional
20372 argument.
20373 (gdb-thread-list-handler-custom): Update `gud-running',
20374 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
20375 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
20376 (gdb-continue-thread, gdb-step-thread): New commands for fine
20377 thread execution control.
20378 (gud-menu-map): New menu items to switch non-stop options.
20379 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
20380 (gdb-send): Mimic RET properly (bug 3794).
20381
20382 * progmodes/gdb-mi.el (gdb-rules-name-maker)
20383 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
20384 gdb-buffer-rules.
20385 (def-gdb-auto-update-handler): New nopreserve optional argument.
20386 (gdb-stack-list-frames-custom): Print stack from top to bottom.
20387
20388 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
20389 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
20390 (gdb-parent-mode): New mode to derive other GDB modes from.
20391 (gdb-display-disassembly-for-thread)
20392 (gdb-frame-disassembly-for-thread): New commands for threads
20393 buffer.
20394
20395 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
20396 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
20397 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
20398 (gdb-update): We now store all GDB buffers in a list so that they
20399 can be updated by traversing a list instead of calling invalidate
20400 triggers explicitly.
20401 (def-gdb-trigger-and-handler): New macro to define trigger-handler
20402 pair for GDB buffer.
20403 (gdb-stack-buffer-name): Add thread information.
20404 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
20405 handle pending triggers.
20406 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
20407 (def-gdb-thread-buffer-simple-command)
20408 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
20409 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
20410 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
20411 New commands which show buffers bound to thread.
20412 (gdb-stack-list-locals-regexp): Remove unused regexp.
20413
20414 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
20415 (gdb-locals-buffer-name, gdb-registers-buffer-name)
20416 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
20417 to (gud-comint-buffer) in *-buffer-name functions
20418 because (gdb-get-target-string) already does that.
20419 (gdb-locals-handler-custom, gdb-registers-handler-custom)
20420 (gdb-changed-registers-handler): Rewritten without regexps.
20421
20422 * progmodes/gdb-mi.el: Basic thread selection support.
20423 (gdb-thread-number): New variable.
20424 (gdb-current-context-command): New macro which adds --thread
20425 option to command.
20426 (gdb-threads-mode-map): Select thread with SPC.
20427 (gdb-thread-list-handler-custom): Mark current thread with overlay
20428 arrow. Synchronize GDB thread and Emacs thread.
20429 (gdb-select-thread): New command which selects current thread.
20430 (gdb-invalidate-frames, gdb-invalidate-locals)
20431 (gdb-invalidate-registers): Use --thread option.
20432
20433 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
20434
20435 * net/tramp.el (top): Make check for tramp-gvfs loading more
20436 robust. (Bug#3977)
20437 (tramp-handle-insert-file-contents): `unwind-protect' must be
20438 inside `with-parsed-tramp-file-name'.
20439
20440 * net/tramp-gvfs.el (top): Remove superfluous message when loading
20441 fails.
20442
20443 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
20444
20445 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
20446 directory if CLASSPATH is not set.
20447
20448 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
20449
20450 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
20451 New defconst.
20452 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
20453
20454 2009-08-02 Kevin Ryde <user42@zip.com.au>
20455
20456 * net/newst-backend.el (newsticker--raw-url-list-defaults):
20457 Update freshmeat link. Delete newsforge.com as it seems gone.
20458
20459 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
20460
20461 * select.el (x-set-selection): Doc fix (Bug#4021).
20462
20463 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
20464
20465 * help-fns.el (describe-variable): Treat list return values from
20466 dir-locals-find-file properly (Bug#4005).
20467
20468 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
20469
20470 * net/tramp.el (tramp-debug-message): Print also microseconds.
20471
20472 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
20473
20474 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
20475 or END is non-nil.
20476 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
20477 (tramp-get-debug-buffer): Change `outline-regexp' according to new
20478 format.
20479
20480 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
20481 (tramp-get-file-property): Use it.
20482
20483 * autorevert.el (auto-revert-handler):
20484 Allow `auto-revert-tail-mode' for remote files.
20485
20486 2009-08-02 Jason Rumney <jasonr@gnu.org>
20487
20488 * minibuffer.el (read-file-name): Treat confirm options to
20489 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
20490
20491 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
20492
20493 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
20494 (font-lock-variable-name-face, font-lock-constant-face):
20495 Darken the colors for light backgrounds.
20496
20497 2009-08-01 Eli Zaretskii <eliz@gnu.org>
20498
20499 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
20500 month names. (Bug#3987)
20501
20502 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
20503
20504 * simple.el (line-move-finish): Pass whole number to
20505 line-move-to-column.
20506 (line-move-visual): Perform hscroll to the recorded position.
20507
20508 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
20509
20510 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
20511
20512 2009-07-29 Alan Mackenzie <acm@muc.de>
20513
20514 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
20515
20516 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
20517
20518 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
20519 (gdb-place-breakpoints): Use full path when setting breakpoints.
20520
20521 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
20522
20523 * calc/calc.el (calc-mode-map): Add keybinding for
20524 `calc-transpose-lines'.
20525
20526 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
20527
20528 * calc/calc-misc.el (calc-transpose-lines): New function.
20529
20530 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
20531
20532 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
20533 Simplify check for out-of-band methods.
20534 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
20535 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
20536
20537 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
20538
20539 * vc-git.el (vc-git-checkin): Fix typo.
20540
20541 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
20542
20543 * progmodes/js2-mode.el: New file.
20544
20545 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
20546
20547 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
20548 (gud-menu-map): Adjust tooltip accordingly.
20549
20550 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
20551
20552 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
20553 (vc-bzr-log-view-mode): Adjust log-view-file-re.
20554
20555 * add-log.el (change-log-mode-map): Add a menu.
20556
20557 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
20558
20559 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
20560 function returns nil.
20561 (dbus-handle-event): Handle special return value :ignore.
20562 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
20563
20564 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
20565
20566 * view.el (view-mode-enable): Don't define Helper-return-blurb if
20567 it's not needed.
20568
20569 2009-07-25 Eli Zaretskii <eliz@gnu.org>
20570
20571 Fix Bug#3888:
20572
20573 * w32-vars.el (x-select-enable-clipboard): Doc fix.
20574
20575 * term/pc-win.el (x-display-name, x-colors)
20576 (x-select-enable-clipboard, x-select-text): Doc fix.
20577
20578 * term/common-win.el (x-display-name, x-colors): Doc fix.
20579
20580 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
20581 (xw-defined-colors): Doc fix.
20582
20583 * w32-fns.el (x-select-text, x-setup-function-keys)
20584 (x-get-selection, x-set-selection): Doc fix.
20585
20586 * term/x-win.el (x-select-text, x-setup-function-keys)
20587 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
20588
20589 * select.el (x-set-selection): Doc fix.
20590
20591 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
20592
20593 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
20594 instead of "IsNSSSupportAvailable". Avahi ought to work also when
20595 "IsNSSSupportAvailable" method is not available.
20596 Reported by Steve Youngs <steve@sxemacs.org>.
20597
20598 2009-07-24 Kenichi Handa <handa@m17n.org>
20599
20600 * international/characters.el: Fix setting of category ?C, ?|, ?K,
20601 and ?H. Fix setting of case for Latin Extended and Greek Extended.
20602 (build-unicode-category-table): Fix range checks.
20603
20604 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
20605
20606 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
20607 the buffer we try to sync is current when calling
20608 vc-resynch-buffer.
20609
20610 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
20611 not show up to date files.
20612
20613 2009-07-24 Glenn Morris <rgm@gnu.org>
20614
20615 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
20616 Add autoload cookies. If necessary, initialize.
20617 (elint-log): Handle non-file buffers.
20618 (elint-initialize): Add optional argument to reinitialize.
20619 (elint-find-builtin-variables): Save excursion.
20620
20621 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
20622
20623 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
20624 for Lint.
20625
20626 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
20627
20628 * vc.el (vc-print-log-internal): New function, split out from ...
20629 (vc-print-log): ... here.
20630 (vc-dir-move-to-goal-column): Declare.
20631
20632 * vc-git.el (vc-git-add-signoff): New variable.
20633 (vc-git-checkin): Use it.
20634 (vc-git-toggle-signoff): New function.
20635 (vc-git-extra-menu-map): Bind it to menu.
20636 (vc-git--run-command-string): Accept a nil FILE argument.
20637 (vc-git-stash-list): New function.
20638 (vc-git-dir-extra-headers): Use it.
20639
20640 2009-07-23 Glenn Morris <rgm@gnu.org>
20641
20642 * help-fns.el (describe-variable): Describe ignored and risky local
20643 variables in a similar way to that in which we describe safe ones.
20644
20645 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
20646 (byte-compile-output-file-form, byte-compile-output-docform)
20647 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
20648 Give some more local variables with common names a "bytecomp-" prefix,
20649 so as not to shadow things during compilation.
20650 * emacs-lisp/cl-macs.el (load-time-value)
20651 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
20652 `outbuffer' to `bytecomp-outbuffer'.
20653
20654 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
20655 since the next two variables cover them automatically now.
20656 (elint-builtin-variables, elint-autoloaded-variables): New.
20657 (elint-unknown-builtin-args): Remove all members, since they can be
20658 parsed automatically now.
20659 (elint-extra-errors): New.
20660 (elint-env-add-env, elint-env-add-macro): Use cadr.
20661 (elint-current-buffer): Use or. Change final message.
20662 (elint-get-top-forms): Use line-end-position.
20663 (elint-init-env): Use cadr. Handle autoload, declare-function,
20664 and defalias.
20665 (elint-add-required-env): Doc fix. Use or. Standardize error.
20666 (regexp-assoc): Remove unused function.
20667 (elint-top-form): Set elint-current-pos, to record the start of the
20668 top-level form, for compilation-mode.
20669 (elint-form): Trap errors in macro expansion. Use dolist.
20670 (elint-unbound-variable): Use elint-builtin-variables and
20671 elint-autoloaded-variables.
20672 (elint-get-args): Use cadr, or.
20673 (elint-check-cond-form): Use dolist, cadr.
20674 (elint-check-condition-case-form): Doc fix. Use cadr.
20675 Use elint-extra-errors.
20676 (elint-log): New function.
20677 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
20678 Distinguish errors and warnings.
20679 (elint-log-message): Use with-current-buffer. Inhibit read-only.
20680 Use a bytecomp-style format.
20681 (elint-clear-log): Preserve default-directory. Inhibit read-only.
20682 (elint-get-log-buffer): Use compilation mode. Disable undo.
20683 Don't truncate lines.
20684 (elint-initialize): Set builtin and autoloaded variable lists.
20685 Only process elint-unknown-builtin-args if non-nil.
20686 (elint-find-builtin-variables, elint-find-autoloaded-variables):
20687 New functions.
20688 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
20689
20690 2009-07-22 Kevin Ryde <user42@zip.com.au>
20691
20692 * net/newst-backend.el (newsticker--parse-atom-1.0)
20693 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
20694 (newsticker--parse-rss-1.0):
20695 * progmodes/idlwave.el (idlwave-mode):
20696 * progmodes/idlw-shell.el (idlwave-shell-mode):
20697 * progmodes/vera-mode.el (vera-mode):
20698 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
20699 * progmodes/vhdl-mode.el (vhdl-mode):
20700 * textmodes/table.el (table-generate-source)
20701 (table--warn-incompatibility):
20702 Hyperlink urls in docstrings with URL `...'.
20703
20704 2009-07-22 Glenn Morris <rgm@gnu.org>
20705
20706 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
20707 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
20708 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
20709 Remove leading * from defcustom docs.
20710
20711 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
20712
20713 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
20714 defcustom doc.
20715 (list-load-path-shadows): Optionally, just return shadows as a string.
20716
20717 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
20718
20719 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
20720
20721 * mail/rmailedit.el (rmail-edit-mode):
20722 Use auto-save-include-big-deletions.
20723
20724 * mail/rmail.el (rmail-variables):
20725 Use auto-save-include-big-deletions.
20726
20727 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
20728 changes.
20729
20730 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
20731
20732 * calc/calc.el (calc-undo-length): New variable.
20733 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
20734
20735 2009-07-21 Richard Stallman <rms@gnu.org>
20736
20737 * files.el (auto-save-mode): Handle buffer-save-size = -2
20738 for toggling mode.
20739
20740 2009-07-21 Glenn Morris <rgm@gnu.org>
20741
20742 * textmodes/ispell.el (ispell-looking-back): Update declaration.
20743
20744 * calendar/todo-mode.el (calendar-current-date): Update declaration.
20745
20746 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
20747 silence compiler. Instead...
20748 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
20749 (ps-print-ensure-fontified): Update for above function name changes.
20750
20751 * printing.el (pr-mh-get-msg-num, pr-mh-show)
20752 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
20753 silence compiler. Instead...
20754 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
20755 (mh-show-buffer): Only define for compiler.
20756 (pr-mh-current-message): Update for above function name changes.
20757
20758 * files.el (abort-if-file-too-large): Explicitly pass `filename'
20759 as an argument.
20760 (find-file-noselect, insert-file-1): Update for above change.
20761
20762 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
20763
20764 * mail/mailclient.el (mailclient-send-it): Fix message.
20765
20766 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
20767 (edebug-eval): Check cl-debug-env is bound.
20768 (print-level, print-circle): Don't redefine built-in variables.
20769
20770 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
20771 (custom-print-vectors): Remove old comments from doc.
20772
20773 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
20774 (emerge-version): Make the variable an obsolete alias for the
20775 emacs-version variable. Make the function obsolete.
20776 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
20777 Emerge options, rather than merging in into the main Options menu.
20778 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
20779 and auto advance modes. Disable edit/fast items when not relevant.
20780
20781 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
20782
20783 * term/vt420.el (terminal-init-vt420): Fix typo.
20784
20785 2009-07-20 Sam Steingold <sds@gnu.org>
20786
20787 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
20788 variable (removed from compile.el on 2004-03-11).
20789
20790 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
20791
20792 * files.el (hack-local-variables-filter): Fix last change.
20793
20794 2009-07-19 Juri Linkov <juri@jurta.org>
20795
20796 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
20797 (dir-local-variables-alist): New buffer-local variable.
20798 (hack-local-variables-filter): If variable is not dir-local,
20799 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
20800 because file-local overrides dir-local.
20801 (c-postprocess-file-styles) <declare-function>:
20802 Remove obsolete declaration.
20803 (hack-dir-local-variables): Add dir-local variable/value pair to
20804 `dir-local-variables-alist' and remove duplicates. Doc fix.
20805
20806 * help-fns.el (describe-variable): Add information about
20807 file-local and dir-local variables.
20808
20809 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
20810
20811 * files.el (hack-local-variables-filter): Rewrite.
20812
20813 2009-07-19 Glenn Morris <rgm@gnu.org>
20814
20815 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
20816 Silence compiler by only defining on XEmacs.
20817
20818 * international/mule.el (auto-coding-regexp-alist): Only match
20819 BABYL... at the start of buffer, not of lines. (Bug#3790)
20820
20821 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
20822 non-calendar buffers (Bug#3862). Restore "not on a date" message.
20823 (cal-menu-context-mouse-menu): Doc fix.
20824
20825 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
20826
20827 * simple.el (mail-user-agent): Doc fix. Set :version tag.
20828
20829 2009-07-18 Juri Linkov <juri@jurta.org>
20830
20831 * info.el: Virtual Info keyword finder.
20832 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
20833 (Info-finder-file): New variable.
20834 (Info-finder-find-file): New function.
20835 (finder-known-keywords, finder-package-info)
20836 (find-library-name, lm-commentary): Use defvar and
20837 declare-function to silence compiler warnings.
20838 (Info-finder-find-node): New function.
20839 (info-finder): New command.
20840
20841 * subr.el (process-kill-buffer-query-function): New function.
20842 (add-hook)<kill-buffer-query-functions>: Add hook
20843 `process-kill-buffer-query-function'.
20844
20845 2009-07-18 Alan Mackenzie <acm@muc.de>
20846
20847 * progmodes/cc-mode.el (c-before-hack-hook)
20848 (c-postprocess-file-styles): Give invocation of `c-set-style'
20849 DONT-OVERRIDE parameter of t. Already set style variables will
20850 thus not be overridden by style settings given by `c-file-syle'.
20851
20852 * files.el (hack-local-variables-filter): Remove entries with
20853 duplicate keys from `file-local-variables-alist'.
20854
20855 2009-07-18 Eli Zaretskii <eliz@gnu.org>
20856
20857 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
20858 x-set-selection if display-selections-p returns nil for the
20859 current frame.
20860
20861 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
20862
20863 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
20864
20865 2009-07-18 Eli Zaretskii <eliz@gnu.org>
20866
20867 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
20868 Accept nil in addition to a regexp.
20869 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
20870 Accept nil in addition to a regexp.
20871 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
20872 buffers that have an associated file. Handle nil values of
20873 desktop-buffers-not-to-save and desktop-files-not-to-save.
20874 (Bug#3833)
20875
20876 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
20877 (x-disown-selection-internal): New functions.
20878
20879 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
20880
20881 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
20882 warning.
20883 (gdb-breakpoints-header): Move forward to avoid compiler warning.
20884 (gdb-make-header-line-mouse-map): Remove duplicate definition.
20885
20886 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
20887
20888 * simple.el (set-mark): Revert last change.
20889
20890 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
20891
20892 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
20893 rendering of pngs is not possible instead of messaging a long
20894 description.
20895
20896 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
20897
20898 * w32-fns.el (x-selection-owner-p): New function.
20899
20900 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
20901 (mouse-yank-at-click, mouse-yank-primary):
20902 If select-active-regions is non-nil, deactivate the mark before
20903 insertion.
20904
20905 * simple.el (deactivate-mark, set-mark): Only save selection if we
20906 own it.
20907
20908 2009-07-17 Kenichi Handa <handa@m17n.org>
20909
20910 * case-table.el (describe-buffer-case-table): Fix for the case
20911 that KEY is a cons.
20912
20913 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
20914
20915 * vc-rcs.el (vc-rcs-find-file-hook):
20916 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
20917
20918 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
20919
20920 * net/tramp.el (tramp-wait-for-output): Handle the case when
20921 commands do not return a newline but a null byte before the shell
20922 prompt. (Bug#3858)
20923
20924 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
20925
20926 * term/ns-win.el (ns-set-alpha): Don't declare.
20927 (ns-set-background-alpha): Remove function.
20928
20929 2009-07-16 Kevin Ryde <user42@zip.com.au>
20930
20931 * emacs-lisp/copyright.el (copyright-update): Save match-data across
20932 y-or-n-p, for safety.
20933
20934 2009-07-16 Richard Stallman <rms@gnu.org>
20935
20936 * files.el (auto-save-mode): If buffer-saved-size is -2,
20937 don't clobber it.
20938
20939 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
20940 (rmail-retry-ignored-headers): Add more uninteresting fields.
20941
20942 2009-07-15 Jari Aalto <jari.aalto@cante.net>
20943
20944 * net/rcirc.el (rcirc): Use history variables.
20945 (rcirc-server-name-history, rcirc-nick-name-history)
20946 (rcirc-server-port-history): New variables.
20947
20948 2009-07-15 Kenichi Handa <handa@m17n.org>
20949
20950 * international/mule-cmds.el (set-language-environment-charset):
20951 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
20952 ignore them.
20953
20954 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
20955 Delete unibyte-display.
20956
20957 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
20958
20959 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
20960
20961 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
20962
20963 * simple.el (deactivate-mark): Optional argument FORCE.
20964 (set-mark): Use deactivate-mark.
20965
20966 * info.el (Info-search): No need to check transient-mark-mode
20967 before calling deactivate-mark.
20968
20969 * select.el (x-set-selection): Doc fix.
20970 (x-valid-simple-selection-p): Allow buffer values.
20971 (xselect--selection-bounds): Handle buffer values.
20972 Suggested by David De La Harpe Golden.
20973
20974 * mouse.el (mouse-set-region, mouse-drag-track):
20975 Call copy-region-as-kill before setting the mark, to let
20976 select-active-regions work.
20977
20978 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
20979
20980 * simple.el (deactivate-mark): If select-active-regions is
20981 non-nil, copy the selection data into a string.
20982 (activate-mark): If select-active-regions is non-nil, set the
20983 selection to the current buffer.
20984 (set-mark): Update selection if select-active-regions is non-nil.
20985
20986 * select.el (x-valid-simple-selection-p): Allow buffer values.
20987
20988 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
20989
20990 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
20991 and more featureful message-mode.
20992
20993 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
20994
20995 * select.el (x-set-selection): Doc fix.
20996 (x-valid-simple-selection-p): Disallow selection data consisting
20997 of a list or cons of integers, since that is not used.
20998 (xselect--selection-bounds, xselect--int-to-cons): New functions.
20999 (xselect-convert-to-string, xselect-convert-to-length)
21000 (xselect-convert-to-filename, xselect-convert-to-charpos)
21001 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
21002
21003 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
21004
21005 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
21006 output in -break-info command (Emacs bug #3794).
21007
21008 2009-07-14 Glenn Morris <rgm@gnu.org>
21009
21010 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
21011 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
21012 (edebug-print-length, edebug-print-level, edebug-print-circle)
21013 (edebug-sit-for-seconds, edebug-view-outside)
21014 (edebug-bounce-point, edebug-set-global-break-condition)
21015 (edebug-Go-nonstop-mode, edebug-trace-mode)
21016 (edebug-Trace-fast-mode, edebug-continue-mode)
21017 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
21018 (edebug-visit-eval-list): Doc fixes.
21019
21020 * subr.el (def-edebug-spec): Doc fix.
21021
21022 2009-07-14 Kenichi Handa <handa@m17n.org>
21023
21024 * international/characters.el: Fix setting of category ?C.
21025
21026 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
21027
21028 * term/ns-win.el (x-select-font): defalias x-select-font to
21029 ns-popup-font-panel instead of generate-fontset-menu.
21030
21031 2009-07-12 Eli Zaretskii <eliz@gnu.org>
21032
21033 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
21034
21035 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
21036
21037 * arc-mode.el (archive-find-type): Allow for a PK00 string before
21038 the PK\003\004 header (Bug#3770).
21039
21040 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
21041
21042 * pcomplete.el (pcomplete-comint-setup): Check for
21043 shell-dynamic-complete-filename too.
21044
21045 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
21046
21047 * simple.el (temporary-goal-column): Change the value for
21048 line-move-visual to a cons cell.
21049 (line-move-visual): Record or set the window hscroll, if
21050 necessary (Bug#3494).
21051 (line-move-1): Handle cons value of temporary-goal-column.
21052
21053 2009-07-11 Kenichi Handa <handa@m17n.org>
21054
21055 * international/mule-diag.el (describe-character-set): Don't show
21056 width.
21057
21058 2009-07-10 Sam Steingold <sds@gnu.org>
21059
21060 * progmodes/compile.el (compilation-mode-font-lock-keywords):
21061 Omake sometimes indents the errors it prints, so allow all
21062 regexps to start with spaces.
21063
21064 2009-07-10 Eli Zaretskii <eliz@gnu.org>
21065
21066 * cus-edit.el (customize-changed-options-previous-release):
21067 Bump value to 22.1. (Bug#3804)
21068
21069 2009-07-08 Sam Steingold <sds@gnu.org>
21070
21071 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
21072 to be a cons cell (test . ignored-directory) to selectively ignore
21073 some directories depending on the location of the search.
21074
21075 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
21076
21077 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
21078 remote user is root, on the local host.
21079 (tramp-local-host-p): Either the local user or the remote user
21080 must be root. (Bug#3771)
21081
21082 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
21083
21084 * progmodes/gdb-mi.el (gdb): Remove description of
21085 gdb-use-separate-io-buffer.
21086 (menu): Don't allow toggling of or enable
21087 gdb-use-separate-io-buffer from menubar.
21088
21089 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
21090
21091 * mail/unrmail.el (unrmail): Make sure the message ends with two
21092 newlines (Bug#3769).
21093
21094 2009-07-08 Glenn Morris <rgm@gnu.org>
21095
21096 * calendar/calendar.el (calendar-current-date): Rework previous change.
21097
21098 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
21099
21100 * calendar/calendar.el (calendar-current-date):
21101 Add an optional argument giving an offset from today.
21102
21103 2009-07-08 Glenn Morris <rgm@gnu.org>
21104
21105 * tutorial.el (tutorial--describe-nonstandard-key):
21106 Adjust the message for when a key has been unbound.
21107 (help-with-tutorial): Hide the arch-tag.
21108
21109 2009-07-08 Kenichi Handa <handa@m17n.org>
21110
21111 * international/fontset.el (setup-default-fontset): For each
21112 script, append (not set) font-specs.
21113
21114 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
21115 docstring.
21116
21117 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
21118
21119 * progmodes/gdb-mi.el (gdb-init-1): Move sending
21120 -data-list-register-names to ...
21121 (gdb-starting): ... here because GDB 7.0 requires execution to
21122 have started when using this MI command.
21123 (gdb-set-header): New function to distinguish select and
21124 unselected tabs in gdb buffers.
21125 (gdb-propertize-header): New macro that uses gdb-set-header.
21126 (gdb-breakpoints-header, gdb-locals-header): Use it.
21127 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
21128
21129 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
21130
21131 * Makefile.in (ELCFILES): Remove fadr.elc.
21132
21133 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
21134
21135 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
21136 may contain frame information, so `string-match' should be used.
21137 (gdb-update): Disassembly is invalidated through
21138 `gdb-get-selected-frame'.
21139 (gdb-pad-string): New function to pad string with spaces.
21140 (gdb-invalidate-disassembly): Invalidate only if the buffer
21141 exists.
21142 (gdb-disassembly-handler-custom): Column alignment.
21143 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
21144 placing new ones.
21145 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
21146 end of line, too.
21147 (gdb-frame-handler): Match convention to for disassembly buffer
21148 mode name.
21149 (gdb-stack-list-frames-handler): Rewritten without regexps.
21150 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
21151 not highlight breakpoints without line information.
21152 (gdb-input): Add trailing newline to command.
21153
21154 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
21155 buffer properly.
21156 (gdb-breakpoints-list-handler-custom): Replacement for
21157 `gdb-break-list-handler'. Using real parser instead of regexps
21158 now.
21159 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
21160 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
21161 to place breakpoints.
21162 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
21163 functions.
21164 (gdb-disassembly-handler-custom): Show overlay arrow.
21165 (gdb-disassembly-place-breakpoints): Show breakpoints in
21166 disassembly buffer.
21167 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
21168 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
21169 instead of parsing breakpoints buffer. Fixed old menu references
21170 in `gud-menu-map'.
21171
21172 * fadr.el: Remove.
21173
21174 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
21175 (gdb-memory-address): New variable which holds top address of
21176 memory page shown in memory buffer.
21177 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
21178 New customization variables.
21179 New functions:
21180 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
21181 display the memory buffer.
21182 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
21183 buffer display parameters.
21184 (def-gdb-memory-format, gdb-memory-format-binary)
21185 (gdb-memory-format-octal, gdb-memory-format-unsigned)
21186 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
21187 Functions for setting memory buffer format.
21188 (gdb-memory-unit-word, gdb-memory-unit-halfword)
21189 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
21190 unit size used in memory buffer.
21191 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
21192 Switch to next/previous page of memory buffer.
21193 Now using (bindat-get-field) instead of fadr functions.
21194
21195 2009-07-07 Sam Steingold <sds@gnu.org>
21196
21197 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
21198 non-top-level files.
21199
21200 2009-07-07 Kenichi Handa <handa@m17n.org>
21201
21202 * international/mule-cmds.el (reset-language-environment):
21203 Put the highset priority to the charset iso-8859-1.
21204
21205 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
21206
21207 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
21208 to the end of the line when locating the block (Bug#700).
21209
21210 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
21211
21212 * net/tramp.el (tramp-handle-write-region): Flush file properties
21213 in case of short track.
21214
21215 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
21216
21217 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
21218 Coded custom representation of verilog error regular expressions
21219 to work with Emacs-22's new format.
21220 (verilog-error-regexp-xemacs-alist): Coded custom representation
21221 of verilog error regular expressions to work with XEmacs format.
21222 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
21223 error recognition into XEmacs.
21224 (verilog-error-regexp-add-emacs): Hook routine to install verilog
21225 error recognition into Emacs-22.
21226
21227 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
21228
21229 * woman.el: Remove stand-alone closing parentheses.
21230 (woman-file-name, woman2-format-paragraphs)
21231 (woman-leave-blank-lines): Code cleanup.
21232 (woman-use-own-frame): Change default to nil.
21233 (woman-italic, woman-bold, woman-unknown, woman-addition):
21234 Change defaults to inherit from default faces.
21235 (woman2-process-escapes): Consume the newline after a stand-alone
21236 filler character (Bug#3651).
21237
21238 2009-07-06 Glenn Morris <rgm@gnu.org>
21239
21240 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
21241 (top-level): Move provide to the end.
21242 (ffap): Remove defunct URL from custom group.
21243
21244 * subr.el (eval-after-load): Doc fix.
21245
21246 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
21247
21248 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
21249 `calc-embedded-word' is called twice.
21250
21251 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21252
21253 * files.el (find-alternate-file-other-window, find-alternate-file):
21254 Obey confirm-nonexistent-file-or-buffer.
21255
21256 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
21257
21258 * dired-aux.el (dired-show-file-type): Handle remote files.
21259
21260 2009-07-05 Jari Aalto <jari.aalto@cante.net>
21261
21262 * desktop.el (desktop-globals-to-save):
21263 Add file-name-history (Bug#2750).
21264
21265 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
21266
21267 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
21268
21269 2009-07-04 Johan Bockgård <bojohan@gnu.org>
21270
21271 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
21272 property on entire argument since this is what eshell-lisp-command
21273 expects.
21274
21275 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
21276
21277 * net/tramp-gvfs.el (tramp-gvfs-methods)
21278 (tramp-gvfs-zeroconf-domain)
21279 (tramp-bluez-discover-devices-timeout): Add version flag.
21280 (tramp-gvfs-handler-mounted-unmounted)
21281 (tramp-gvfs-connection-mounted-p): Polish handling of
21282 incompatibilities between GVFS 0.2 and 1.0.
21283
21284 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
21285
21286 * cus-start.el (all): Add make-pointer-invisible.
21287
21288 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
21289
21290 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
21291 formatted correctly.
21292
21293 2009-07-02 Juri Linkov <juri@jurta.org>
21294
21295 * info.el: Virtual Info files and nodes.
21296 (Info-virtual-files, Info-virtual-nodes): New variables.
21297 (Info-current-node-virtual): New variable.
21298 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
21299 New functions.
21300 (Info-file-supports-index-cookies): Use Info-virtual-file-p
21301 to check for a virtual file instead of checking a fixed list
21302 of node names.
21303 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
21304 instead of ad-hoc processing of "dir" and (apropos history toc).
21305 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
21306 instead of ad-hoc processing of "dir" and (apropos history toc).
21307 Reread a file when moving from a virtual node.
21308 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
21309 (Info-directory-toc-nodes, Info-directory-find-file)
21310 (Info-directory-find-node): New functions.
21311 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
21312 (Info-history): Move part of code to
21313 `Info-history-find-node'.
21314 (Info-history-toc-nodes, Info-history-find-file)
21315 (Info-history-find-node): New functions.
21316 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
21317 (Info-toc): Move part of code to `Info-toc-find-node'.
21318 (Info-toc-find-node): New function.
21319 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
21320 the current Info file name to references because now the node
21321 "*TOC*" belongs to the same Info manual.
21322 (Info-toc-build): Rename from `Info-build-toc'.
21323 (Info-toc-nodes): Rename input argument `file' to `filename'.
21324 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
21325 instead of ad-hoc processing of ("dir" apropos history toc).
21326 (Info-index-nodes): Use Info-virtual-file-p
21327 to check for a virtual file instead of checking a fixed list
21328 of node names.
21329 (Info-index-node): Add check for `Info-current-node-virtual'.
21330 Raise `save-match-data' higher up the tree to contain
21331 `search-forward' too (bug fix).
21332 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
21333 (Info-virtual-index-nodes): New variable.
21334 (Info-virtual-index-find-node, Info-virtual-index): New functions.
21335 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
21336 (Info-apropos-file, Info-apropos-nodes): New variables.
21337 (Info-apropos-toc-nodes, Info-apropos-find-file)
21338 (Info-apropos-find-node, Info-apropos-matches): New functions.
21339 (info-apropos): Move part of code to `Info-apropos-find-node' and
21340 `Info-apropos-matches'.
21341 (Info-mode-map): Bind "I" to `Info-virtual-index'.
21342 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
21343 for a virtual file instead of checking a fixed list of node names.
21344
21345 * simple.el (async-shell-command): New command.
21346
21347 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
21348
21349 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
21350 instead of `mount-info'.
21351
21352 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
21353
21354 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
21355 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
21356
21357 2009-07-02 Kenichi Handa <handa@m17n.org>
21358
21359 * international/mule.el (set-keyboard-coding-system): Force *-unix
21360 coding-system to avoid eol conversion.
21361
21362 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
21363
21364 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
21365 Add handler for `process-file', `shell-command' and
21366 `start-file-process'.
21367 (tramp-gvfs-handle-shell-command)
21368 (tramp-gvfs-handle-start-file-process)
21369 (tramp-gvfs-handle-process-file): New defuns.
21370 (tramp-synce-list-devices): Simplify check for existence of property.
21371
21372 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
21373
21374 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
21375
21376 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
21377
21378 * language/korean.el (set-language-info-alist): Add korean-cp949,
21379 cp949 to spec.
21380
21381 2009-07-01 Kenichi Handa <handa@m17n.org>
21382
21383 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
21384
21385 * international/encoded-kb.el: Deleted.
21386
21387 * international/mule.el (set-keyboard-coding-system): Perform the
21388 necessary setup here instead of calling encoded-kbd-setup-display.
21389
21390 2009-07-01 Glenn Morris <rgm@gnu.org>
21391
21392 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
21393
21394 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
21395
21396 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
21397
21398 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
21399
21400 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
21401 Handle also the 'rename case, when setting file modes. (Bug#3712)
21402 (tramp-default-file-modes): Remove execute permissions.
21403
21404 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
21405 (top): Add a default for "synce" in `tramp-default-user-alist'.
21406 Add completion function for "synce" method.
21407 (tramp-hal-service, tramp-hal-path-manager)
21408 (tramp-hal-interface-manager, tramp-hal-interface-device):
21409 New defconst.
21410 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
21411 (tramp-synce-list-devices, tramp-synce-parse-device-names):
21412 New defuns.
21413
21414 * net/trampver.el: Update release number.
21415
21416 2009-06-30 Kenichi Handa <handa@m17n.org>
21417
21418 * international/fontset.el (setup-default-fontset): Add CJK fonts
21419 for symbols and the other miscellaneous characters.
21420
21421 * language/korea-util.el (setup-korean-environment-internal):
21422 Make char-width-table suitable for Korean environments.
21423 (exit-korean-environment): Cancel above.
21424
21425 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
21426 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
21427 setup-function to make char-width-table suitable for respective
21428 environments, and an exit-function to cancel that.
21429
21430 * language/japan-util.el (setup-japanese-environment-internal):
21431 Call use-cjk-char-width-table with arg `ja_JP'.
21432
21433 * international/characters.el (cjk-char-width-table): Delete it.
21434 (cjk-char-width-table-list): New variable.
21435 (use-cjk-char-width-table): New arg local-name.
21436 (use-default-char-width-table): Fix for the case that Emacs is
21437 already using the default char-width-table.
21438
21439 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
21440
21441 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
21442 modes mandatory. (Bug#3712)
21443
21444 2009-06-29 Alan Mackenzie <acm@muc.de>
21445
21446 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
21447 correction between the visible width of TABs and their number of bytes.
21448
21449 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
21450
21451 * server.el (server-buffer-done): Prevent kill-buffer from
21452 prompting by clearing the buffer modification flag (Bug#3696).
21453
21454 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
21455
21456 * progmodes/verilog-mode.el (verilog-beg-of-statement)
21457 (verilog-endcomment-reason-re): Support unique case and priority case.
21458 (verilog-basic-complete-re): Support localparam lineup.
21459 (verilog-beg-of-statement-1): Fix for robustness, unique case.
21460 (verilog-set-auto-endcomments): Fix for unique case, always_comb
21461 commenting.
21462 (verilog-leap-to-case-head): Now support *nested* unique &
21463 priority case statements.
21464 (verilog-auto-lineup): Make just declarations the default (as it
21465 had been).
21466 (verilog-leap-to-case-head): Support priority/unique case statements.
21467 (verilog-auto-lineup): Rework to give users radio buttons to
21468 select the various styles of automatic lineup.
21469 (verilog-error-regexp-alist): Rework to support the XEmacs style
21470 of error regular expressions from compilers, lint tools &
21471 simulators. Note that GNU Emacs has made it impossible for a mode
21472 to load such things.
21473 (electric-verilog-terminate-line, verilog-indent-declaration)
21474 (verilog-auto-wiure): Rework for radio button selection of
21475 auto-lineup selection of specification of auto lineup.
21476 (verilog-beg-of-statement-1): Redesign to support proper operation
21477 in additional code, based on testing with auto-lineup.
21478 (verilog-calculate-indent, assignments & declarations)
21479 (verilog-backward-token): Enhance to support auto-lineup of
21480 assignments & declarations.
21481 (verilog-in-directive-p, verilog-at-struct-p): New function for
21482 easy test of whether we are.
21483 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
21484 to support safe execution at almost anyline.
21485 (verilog-calc-1): Properly support indenting deep inside generate
21486 blocks.
21487 (verilog-init-font): Remove definition & use of verilog-init-font,
21488 as it is redundant with font-lock-defaults.
21489 (verilog-mode): Alter the definition of verilog-font-lock-defaults
21490 to avoid circular calls if syntax-ppss is a function (as is the
21491 case now in 22.x GNU Emacs) as that function would sometimes call
21492 itself, leading to (nearly) infinite recursion.
21493 (verilog-ovm-begin-re, verilog-ovm-end-re)
21494 (verilog-ovm-statement-re, verilog-leap-to-head)
21495 (verilog-backward-token): Add support for OVM macros. Some are
21496 complete statements, and others open and close scopes like begin
21497 and end.
21498 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
21499 (verilog-defun-level-generate-only-re): Really fix the defun-list
21500 compilation issue.
21501 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
21502 coverpoint, constraint and cross statements.
21503 (verilog-defun-level-list, verilog-generate-defun-level-list)
21504 (verilog-all-defun-level-list): Redo these specifications - it is
21505 too hard to support eval-when compile aggregation of lists also
21506 built at when-compile time.
21507 (verilog-defun-level-list): Place defconsts of variables used in
21508 building regular expressions which are built in eval-when-compile
21509 bodies in the same eval-when-compile body to facilitate compile
21510 without load.
21511 (verilog-beg-block-re-ordered): Support indenting
21512 virtual/protected tasks and functions.
21513 (verilog-defun-level-list, verilog-in-generate-region-p)
21514 (verilog-backward-ws&directives, verilog-calc-1): Speed up
21515 indentation of some module items (generate items).
21516 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
21517 across virtual/protected tasks and functions.
21518
21519 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
21520
21521 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
21522 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
21523 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
21524 in concatenations. Reported by Yishay Belkind.
21525 (verilog-auto-ascii-enum): Support one-hot state machines in
21526 AUTOASCIIENUM. Suggested by Lloyd Gomez.
21527 (verilog-auto-inst, verilog-auto-inst-port): Include interface
21528 modport in AUTOINST and add vl-modport for users.
21529 Reported by David Rogoff.
21530 (verilog-auto-inout-module, verilog-auto-inst)
21531 (verilog-decls-get-interfaces, verilog-insert-definition)
21532 (verilog-insert-one-definition, verilog-read-decls)
21533 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
21534 (verilog-sig-modport, verilog-signals-combine-bus)
21535 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
21536 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
21537 Suggested by David Rogoff.
21538 (verilog-repair-open-comma): Fix non-insertion of comma when
21539 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
21540 (verilog-make-width-expression): Simplify [A-1:0] expression
21541 widths to just {A{1'b0}}.
21542 (verilog-mode): Cleanup checkdoc warnings.
21543 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
21544 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
21545 inputs/outputs or data type. Suggested by Vasu Kandadi.
21546 (next-error-last-buffer): Fix byte-compiler warning.
21547 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
21548 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
21549 or shell command text during AUTO expansion. Suggested by Tad Truex.
21550 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
21551 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
21552 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
21553 in AUTOINOUT. Reported by Matthew Lovell.
21554 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
21555 causing use of <= assignments. Reported by Alex Reed.
21556 (verilog-read-decls): Fix triand, trior, wand, wor to be
21557 recognized by AUTOWIRE. Reported by Spencer Isaacson.
21558 (verilog-extended-complete-re): Support import "DPI-C" functions.
21559 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
21560 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
21561 (verilog-insert-date, verilog-insert-year)
21562 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
21563 Windows systems. Reported by Michael Potts.
21564 (verilog-read-module-name): Fix AUTOINST when the child module
21565 declaration's name is a tick define. Reported by Elliot Mednick.
21566 (verilog-read-decls): Fix V2K parameter bit subscripts getting
21567 passed to next parameter's definition. Reported by Bruce T.
21568 (verilog-read-decls): Fix detecting "parameter int" when using
21569 AUTOINSTPARAM. Reported by Bruce T.
21570 (verilog-goto-defun): Fix goto not finding modules unless first
21571 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
21572 (verilog-mode): Expand -f flag arguments on entry to mode so
21573 verilog-goto-defun will work. Reported by Lawrence Butcher.
21574 (verilog-getopt): Expand environment variables in -f file
21575 arguments. Suggested by Lawrence Butcher.
21576 (verilog-set-define): Fix "Symbol's value as variable is void"
21577 when reading enumerations.
21578 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
21579 Suggested by Stephen Peltan.
21580 (verilog-read-defines): Fix reading of enumerations in include
21581 files. Reported by Steve Peltan.
21582
21583 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
21584
21585 * files.el (trash-directory): Fix defcustom type.
21586
21587 2009-06-28 Juri Linkov <juri@jurta.org>
21588
21589 * help-fns.el (describe-function-1): Correctly locate adviced
21590 functions in hyperlink (Bug#2438).
21591
21592 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
21593
21594 * files.el (trash-directory): Change default to nil.
21595 (move-file-to-trash): If trash-directory is nil and
21596 system-move-file-to-trash is unbound, perform freedesktop-style
21597 trashing.
21598
21599 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
21600
21601 * files.el (move-file-to-trash): Add freedesktop trash
21602 support (Bug#973).
21603
21604 2009-06-28 Glenn Morris <rgm@gnu.org>
21605
21606 * autorevert.el (global-auto-revert-non-file-buffers)
21607 (global-auto-revert-mode): Doc fixes.
21608
21609 2009-06-27 Johan Bockgård <bojohan@gnu.org>
21610
21611 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
21612
21613 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
21614
21615 * faces.el (x-handle-named-frame-geometry): Ensure that we have
21616 opened an X connection before calling x-get-resource (Bug#3194).
21617
21618 * play/doctor.el: Remove reference to obsolete website.
21619 (make-doctor-variables): Correct grammar mistake (Bug#2633).
21620
21621 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
21622
21623 Remove find-file-not-found-hook VC method. (Bug#2757)
21624 * vc-hooks.el (vc-file-not-found-hook)
21625 (vc-default-find-file-not-found-hook): Remove functions.
21626 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
21627 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
21628 * vc.el:
21629 * vc-hg.el:
21630 * vc-git.el: Do not mention find-file-not-found-hook VC method.
21631
21632 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
21633
21634 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
21635 compatibility function for `looking-back'.
21636
21637 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
21638 Use `ispell-looking-back'.
21639
21640 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
21641
21642 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
21643 rather than `filename'.
21644
21645 2009-06-23 Miles Bader <miles@gnu.org>
21646
21647 * face-remap.el (text-scale-set): New function.
21648
21649 2009-06-23 Glenn Morris <rgm@gnu.org>
21650
21651 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
21652
21653 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
21654
21655 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
21656
21657 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
21658
21659 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
21660 Simplify Persian conditionals.
21661
21662 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
21663 variable `filename'.
21664
21665 * comint.el (comint-insert-input): Doc fix.
21666
21667 * Makefile.in (ELCFILES): Fix typo in previous change.
21668
21669 2009-06-23 Miles Bader <miles@gnu.org>
21670
21671 * cus-start.el: Add entry for `recenter-redisplay'.
21672
21673 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
21674
21675 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
21676 Add an optional argument for the backend, use it instead of
21677 calling vc-backend.
21678 (vc-mode-line): Add an optional argument for the backend.
21679 Pass the backend to vc-state and vc-working-revision. Move code for
21680 special handling for vc-state being a buffer to ...
21681
21682 * vc-rcs.el (vc-rcs-find-file-hook):
21683 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
21684
21685 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
21686 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
21687 vc-stay-local-p and vc-mode-line calls.
21688
21689 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
21690 (vc-cvs-diff, vc-cvs-annotate-command)
21691 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
21692 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
21693 vc-mode-line calls.
21694
21695 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
21696 direct comparison.
21697 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
21698 backend when calling vc-mode-line.
21699 (vc-register): Do not create a closure for calling the vc register
21700 function, call it directly.
21701
21702 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
21703
21704 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
21705 to make it obvious item can be clicked.
21706
21707 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
21708
21709 2009-06-23 Kenichi Handa <handa@m17n.org>
21710
21711 * language/korea-util.el (korean-key-bindings): Change the binding
21712 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
21713 same command.
21714
21715 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
21716
21717 Sync with Tramp 2.1.16.
21718
21719 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
21720
21721 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
21722 when a loading of a package fails. Completion function for rsync
21723 is `tramp-completion-function-alist-ssh'.
21724 (all): Replace all calls of `split-string' and
21725 `tramp-split-string' by `tramp-compat-split-string'.
21726 (tramp-default-method): Use `tramp-compat-process-running-p'.
21727 (tramp-default-proxies-alist): Allow also Lisp forms.
21728 (tramp-remote-path): Add choice "Private Directories".
21729 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
21730 (tramp-domain-regexp): Allow also "-", "_" and ".".
21731 (tramp-end-of-output): Remove newlines, and add "$" at the end.
21732 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
21733 (tramp-debug-message): Insert header line in debug buffer.
21734 (tramp-handle-directory-files-and-attributes-with-stat):
21735 Care about filenames with spaces, or starting with "-".
21736 (tramp-handle-dired-uncache): New defun.
21737 (tramp-handle-insert-directory): Don't flush the directory from
21738 cache, this is handled by `dired-uncache' now.
21739 (tramp-handle-insert-file-contents): Improve error handling.
21740 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
21741 Quote `tramp-end-of-output'.
21742 (tramp-action-password): Improve trace message.
21743 (tramp-check-for-regexp): Both echoes must be present, before removing.
21744 (tramp-open-connection-setup-interactive-shell): Trace coding system.
21745 (tramp-compute-multi-hops): Eval cons cells of
21746 `tramp-default-proxies-alist'.
21747 (tramp-maybe-open-connection): Use the same command pattern for
21748 first hop and further hops.
21749 (tramp-wait-for-output): Remove handling of newlines.
21750 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
21751 (tramp-split-string): Remove function. It is handled in
21752 tramp-compat now.
21753
21754 * net/tramp-cmds.el (tramp-bug):
21755 Recommend `tramp-cleanup-all-connections' in the bug mail.
21756
21757 * net/tramp-compat.el (tramp-compat-split-string)
21758 (tramp-compat-process-running-p): New defuns.
21759
21760 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
21761 for `dired-uncache'.
21762
21763 * net/tramp-gvfs.el: New package.
21764
21765 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
21766 Add handler for `dired-uncache'.
21767 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
21768
21769 * net/trampver.el: Update release number. Make version check fit
21770 for SXEmacs 22.
21771
21772 2009-06-22 Jim Meyering <meyering@redhat.com>
21773
21774 Automatically handle .xz suffix (XZ-compressed files), too.
21775 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
21776 XZ is the successor to LZMA: <http://tukaani.org/xz/>
21777
21778 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
21779 Nick Roberts <nickrob@snap.net.nz>
21780
21781 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
21782 repository (http://sphinx.net.ru/hg/gdb-mi/).
21783
21784 2009-06-22 Glenn Morris <rgm@gnu.org>
21785
21786 * files.el (dir-locals-collect-mode-variables): Allow for any number of
21787 `mode' and `eval' entries. (Bug#3430)
21788
21789 * Makefile.in (ELCFILES): Add fadr.elc.
21790
21791 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
21792 differing behavior of \n and ^ in strings. (Bug#3385)
21793
21794 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
21795
21796 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
21797 property.
21798 (lisp-indent-function): Make it a defcustom.
21799
21800 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
21801
21802 * progmodes/gdb-ui.el: Replace with ...
21803 * progmodes/gdb-mi.el: ... this file.
21804 * progmodes/gud.el: Modify for gdb-mi.el.
21805
21806 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
21807
21808 * fadr.el: New file.
21809
21810 See ChangeLog.14 for earlier changes.
21811
21812 ;; Local Variables:
21813 ;; coding: utf-8
21814 ;; End:
21815
21816 Copyright (C) 2009-2011 Free Software Foundation, Inc.
21817
21818 This file is part of GNU Emacs.
21819
21820 GNU Emacs is free software: you can redistribute it and/or modify
21821 it under the terms of the GNU General Public License as published by
21822 the Free Software Foundation, either version 3 of the License, or
21823 (at your option) any later version.
21824
21825 GNU Emacs is distributed in the hope that it will be useful,
21826 but WITHOUT ANY WARRANTY; without even the implied warranty of
21827 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21828 GNU General Public License for more details.
21829
21830 You should have received a copy of the GNU General Public License
21831 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.