* lisp/progmodes/sh-script.el (sh-font-lock-open-heredoc): Fix case
[bpt/emacs.git] / lisp / ChangeLog
1 2011-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * progmodes/sh-script.el (sh-font-lock-open-heredoc): Fix case
4 of here-doc that immediately follows a comment.
5
6 2011-02-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
7
8 * net/rcirc.el (rcirc-ctcp-sender-PING): Simplifying.
9
10 * net/rcirc.el (rcirc-cmd-ctcp): Use dedicated function when
11 available.
12 (rcirc-ctcp-sender-PING): New function.
13
14 2011-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
15
16 * obsolete/pc-select.el: Rename from emulation/pc-select.el (bug#7940).
17 Remove the mark/nomark handling, and activate shift-select-mode instead.
18
19 * obsolete/pc-mode.el: Rename from emulation/pc-mode.el.
20
21 2011-02-07 Jay Belanger <jay.p.belanger@gmail.com>
22
23 * calc/calc-units.el (math-logunits-quant): Add support for
24 non-logarithmic units.
25
26 2011-02-07 Ken Manheimer <ken.manheimer@gmail.com>
27
28 * allout.el (allout-after-copy-or-kill-hook): New hook for
29 extension-specific processing of killed text.
30 (allout-mode): Include new allout-after-copy-or-kill-hook among
31 mentioned hooks.
32 (allout-kill-line) (allout-kill-topic): Ensure that processing
33 after kill happens even if barf-if-buffer-read-only is raised.
34 Include new allout-after-copy-or-kill-hook among that subsequent
35 processing.
36 (allout-deannotate-hidden): Actually remove the annotation text
37 properties.
38
39 * allout.el (allout-listify-exposed): Copy text sans text properties.
40
41 2011-02-07 Michael Albinus <michael.albinus@gmx.de>
42
43 * net/dbus.el (dbus-list-activatable-names): Add optional argument
44 BUS.
45
46 2011-02-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
47
48 * net/rcirc.el (rcirc-handler-317): New function (Bug#6507).
49
50 2011-02-06 Jay Belanger <jay.p.belanger@gmail.com>
51
52 * calc/calc.el (calc-logunits-field-reference) Renamed from
53 `calc-default-field-reference-level'.
54 (calc-logunits-power-reference): Renamed from
55 `calc-default-power-reference-level'
56
57 * calc/calc-units.el (math-logunits-quant): Renamed from
58 `math-logunits-level'
59 (math-logunits-plus): Renamed from math-logcombine.
60 (calcFunc-luplus, calcFunc-luminus calc-luplus, calc-luminus): Remove.
61 (calcFunc-lufieldadd, calcFunc-lupoweradd, calcFunc-lufieldsub)
62 (calcFunc-lufieldsub,calc-logunits-add calc-logunits-sub):
63 New functions.
64 (calcFunc-fieldquant): Renamed from `calcFunc-fieldlevel'.
65 (calcFunc-powerquant): Renamed from `calcFunc-powerlevel'.
66 (calc-logunits-quantity): Renamed from `calc-level'.
67 (calcFunc-dbfieldlevel, calcFunc-dbpowerlevel, calcFunc-npfieldlevel)
68 (calcFunc-nppowerlevel,calc-logunits-dblevel, calc-logunits-nplevel)
69 (math-logunits-mul, calcFunc-lufieldmul, calcFunc-lupowermul)
70 (calc-logunits-mul, math-logunits-divide, calcFunc-lufielddiv)
71 (calcFunc-lupowerdiv,calc-logunits-divide,math-logunits-level):
72 New functions.
73
74 * calc/calc-help.el (calc-u-prefix-help): Removed "L" reference.
75 (calc-ul-prefix-help): Remove.
76 (calc-l-prefix-help): New function.
77 (calc-full-help): Add reference to `calc-l-prefix-help'.
78
79 * calc/calc-ext.el (calc-init-extensions): Update autoloads.
80
81 * calc/README: Mention logarithmic units.
82
83 2011-02-06 Chong Yidong <cyd@stupidchicken.com>
84
85 * mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
86 non-ASCII characters (Bug#7925).
87
88 2011-02-05 Glenn Morris <rgm@gnu.org>
89
90 * emacs-lisp/cl-macs.el (return-from): Fix doc typo.
91
92 * calendar/diary-lib.el (diary-font-lock-keywords):
93 Tweak diary-time-regexp match. (Bug#7891)
94
95 * progmodes/f90.el (f90-find-tag-default): New function. (Bug#7919)
96 (f90-mode): Use it for mode's `find-tag-default-function' property.
97
98 * ibuf-ext.el (ibuffer-filter-disable): Make it work. (Bug#7969)
99
100 * faces.el (set-face-attribute): Doc fix. (Bug#2659)
101
102 2011-02-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
103
104 * net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
105 (Bug#6386).
106
107 2011-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
108
109 * progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the
110 font-lock-syntax-table remappings.
111 (sh-here-doc-markers, sh-here-doc-re): Remove.
112 (sh-font-lock-close-heredoc): Remove.
113 (sh-syntax-propertize-here-doc): New function.
114 (sh-font-lock-open-heredoc): Set the sh-here-doc-marker property
115 instead of the sh-here-doc-re.
116 (sh-font-lock-paren): Don't do anything in comments or strings.
117 Handle line continuations. Accept a few more chars.
118 Don't rely on the font-lock-syntax-table remappings.
119 `esac' is not a valid pattern.
120 (sh-syntax-propertize-function): Handle here-docs differently, so we
121 don't bother syntax-propertizing the insides.
122
123 * progmodes/sh-script.el (sh-font-lock-paren, sh-kw, sh-prev-thing):
124 Handle new bashisms ";&" and ";;&" (bug#7947).
125
126 2011-02-05 Michael Albinus <michael.albinus@gmx.de>
127
128 * net/tramp-smb.el (tramp-smb-errors): Use `regexp-opt'.
129 Add "NT_STATUS_IO_TIMEOUT" and "NT_STATUS_NO_SUCH_USER".
130
131 2011-02-05 Era Eriksson <era+tramp@iki.fi> (tiny change)
132
133 * net/tramp.el (tramp-postfix-method-format)
134 (tramp-postfix-method-regexp, tramp-prefix-domain-format)
135 (tramp-prefix-domain-regexp, tramp-postfix-user-format)
136 (tramp-postfix-user-regexp, tramp-prefix-port-format)
137 (tramp-prefix-port-regexp, tramp-postfix-host-format)
138 (tramp-postfix-host-regexp, tramp-handle-substitute-in-file-name):
139 Doc fix.
140
141 2011-02-04 Sam Steingold <sds@gnu.org>
142
143 * mouse.el (mouse-buffer-menu-mode-groups): Add a "GDB" group.
144
145 2011-02-04 Andreas Schwab <schwab@linux-m68k.org>
146
147 * international/mule-util.el (with-coding-priority): Doc fix.
148
149 2011-02-04 Eli Zaretskii <eliz@gnu.org>
150
151 * arc-mode.el (archive-mode-map): Fix a typo in last change.
152
153 2011-02-03 Sam Steingold <sds@gnu.org>
154
155 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
156 Do not error out when `func' is nil.
157
158 2011-02-03 Michael Albinus <michael.albinus@gmx.de>
159
160 * net/tramp-sh.el (tramp-remote-path): Add default settings for
161 `tramp-default-remote-path' to the docstring.
162 (tramp-get-remote-path): Suppress error message when `getconf
163 PATH' fails.
164
165 * net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL".
166
167 2011-02-03 Glenn Morris <rgm@gnu.org>
168
169 * vc/vc-hg.el (vc-hg-command): Doc fix.
170
171 * term/w32-win.el (libpng-version): Declare for compiler.
172
173 * msb.el: No need to load dired while compiling.
174
175 * emacs-lisp/elint.el (elint-standard-variables):
176 Remove a couple of built-ins that now have doc-strings.
177
178 * hi-lock.el, ps-bdf.el, ps-mule.el, ps-print.el, ps-samp.el:
179 `require' is automatically `eval-and-compile'd.
180
181 * net/rcirc.el (rcirc-nick-completion-format): Add :version tag.
182 (rcirc-log-directory, rcirc-log-flag): Move definitions before use.
183
184 * strokes.el (strokes-fill-current-buffer-with-whitespace):
185 Move definition before use.
186 (strokes-report-bug): Make it obsolete.
187
188 2011-02-02 Sam Steingold <sds@gnu.org>
189
190 * apropos.el (apropos-print): Now that `apropos-mode' inherits
191 from `special-mode', entering it makes the buffer read-only, so
192 call it only when everything has been already inserted.
193 * emacs-lisp/ert.el (ert--setup-results-buffer)
194 (ert-results-pop-to-backtrace-for-test-at-point)
195 (ert-results-pop-to-messages-for-test-at-point)
196 (ert-results-pop-to-timings): Ditto.
197 * emacs-lisp/package.el (package--list-packages): Ditto.
198 * play/solitaire.el (solitaire): Ditto.
199
200 2011-02-02 Chong Yidong <cyd@stupidchicken.com>
201
202 * progmodes/compile.el: Make all faces inherit.
203 (compilation-warning): Inherit from font-lock-variable-name-face.
204 (compilation-info): Inherit from font-lock-type-face.
205 (compilation-line-number): Reassign to font-lock-keyword-face.
206 (compilation-column-number): Reassign to font-lock-doc-face.
207 (compilation-leave-directory-face): Reassign to
208 font-lock-builtin-face.
209
210 2011-02-02 Eli Zaretskii <eliz@gnu.org>
211
212 * dired.el (dired-insert-directory): Don't invoke `ls' when
213 ls-lisp.el is used to emulate it.
214
215 2011-02-01 Julien Danjou <julien@danjou.info>
216
217 * color.el (color-gradient): Add a color-gradient function.
218
219 2011-02-01 Sam Steingold <sds@gnu.org>
220
221 * simple.el (special-mode-map): Bind "h" to `describe-mode';
222 bind "z" to `kill-this-buffer'.
223 (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
224 * apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
225 (apropos-mode): Inherit from `special-mode'.
226 * arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
227 * bookmark.el (bookmark-bmenu-mode): Define using
228 `define-derived-mode' inheriting from `special-mode'.
229 * dired.el (dired-mode-map): Inherit from `special-mode-map'.
230 * image-mode.el (image-mode-map): Ditto.
231 * replace.el (occur-mode): Define using
232 `define-derived-mode' inheriting from `special-mode'.
233 * tar-mode.el (tar-mode): Inherit from `special-mode'.
234 * calendar/diary-lib.el (diary-fancy-display-mode):
235 Inherit from `special-mode-map'.
236 * emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
237 Inherit from `special-mode'.
238 * emacs-lisp/package.el (package-menu-mode-map): Copy from
239 `special-mode-map'.
240 (package-menu-mode): Define using `define-derived-mode'
241 inheriting from `special-mode'.
242 * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
243 * net/xesam.el (xesam-mode): Inherit from `special-mode'.
244 (xesam-mode-map): Define separately.
245 * play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
246 * progmodes/compile.el (compilation-minor-mode-map)
247 (compilation-mode-map): Inherit from `special-mode-map'.
248 * vc/diff-mode.el (diff-mode-shared-map):
249 Inherit from `special-mode-map'.
250 * vc/log-view.el (log-view-mode-map): Add a comment.
251
252 2011-02-01 Chong Yidong <cyd@stupidchicken.com>
253
254 * custom.el (load-theme): Define return value. Drop use of
255 unsafep; call custom-theme-load-confirm for non-known-safe themes.
256 (custom-theme-load-confirm): Scroll in the correct window.
257 (custom-enabled-themes): Add custom-safe-themes to :set-after.
258
259 * cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
260 checkbox if load-theme fails.
261
262 2011-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
263
264 * progmodes/compile.el (compilation-next-error): Check there's
265 a message before using it (bug#7941).
266
267 2011-02-01 Jay Belanger <jay.p.belanger@gmail.com>
268
269 * calc/calc-mtx.el (math-lud-pivot-check): New function.
270 (math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
271 of potential pivots.
272
273 2011-01-31 Alan Mackenzie <acm@muc.de>
274
275 * progmodes/cc-cmds.el (c-forward-over-illiterals):
276 Continue parsing if we encounter a naked # (Bug#7595).
277 (c-beginning-of-statement): Avoid loop in locating the beginning
278 of a macro.
279
280 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
281
282 * files.el (copy-directory): Fix arguments to recursive call.
283
284 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
285
286 * files.el (copy-directory): If destination is an existing
287 directory, copy into a subdirectory there.
288
289 2011-01-31 Andreas Schwab <schwab@linux-m68k.org>
290
291 * emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
292 files.
293
294 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
295
296 * image-dired.el (image-dired-mouse-display-image): No-op if no
297 file is found (Bug#7817).
298
299 * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
300
301 2011-01-31 Kenichi Handa <handa@m17n.org>
302
303 * international/quail.el (quail-keyboard-layout-alist):
304 Remove superfluous SPC for "pc105-uk" (bug#7927).
305
306 2011-01-31 Glenn Morris <rgm@gnu.org>
307
308 * msb.el (msb-menu-bar-update-buffers): Update for changed
309 argument handling of menu-bar-select-frame. (Bug#7902)
310
311 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
312
313 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
314 to the recursion depth (Bug#7722).
315
316 2011-01-31 Roy Liu <carsomyr@gmail.com> (tiny change)
317
318 * term/ns-win.el (ns-find-file): Expand ns-input-file with
319 command-line-default-directory (Bug#7872).
320
321 2011-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
322
323 * progmodes/compile.el (compilation--flush-directory-cache):
324 New function, extracted from compilation--remove-properties.
325 (compilation--remove-properties, compilation--parse-region): Use it.
326 (compilation--previous-directory): Handle one more case.
327 (compilation-enable-debug-messages): Remove.
328 (compilation-parse-errors, compilation--flush-parse): Just remove the
329 left over debug messages.
330
331 2011-01-31 Sam Steingold <sds@gnu.org>
332
333 * progmodes/compile.el (compilation-enable-debug-messages):
334 Add a variable to make the parsing messages introduced in
335 2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
336 (compilation-parse-errors, compilation--flush-parse): Use it.
337
338 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
339
340 * net/rcirc.el: New customizable nick completion format. (Bug#6314)
341 (rcirc-nick-completion-format): New defcustom.
342 (rcirc-complete): Use it.
343
344 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
345
346 * net/rcirc.el: Clean log filenames (Bug#7933).
347 (rcirc-log-write): Use convert-standard-filename.
348 (rcirc-log-filename-function): Documentation updates.
349
350 2011-01-30 Jan Djärv <jan.h.d@swipnet.se>
351
352 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
353 Check report-emacs-bug-can-use-osx-open and use that if t.
354 (report-emacs-bug-can-use-osx-open): New function.
355 (report-emacs-bug): Rename can-xdg-email to can-insert-mail.
356 Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
357
358 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
359
360 * vc/vc-dispatcher.el (vc-set-async-update): New function for
361 updating Dired or VC-dir buffers after async command completes.
362
363 * vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
364 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
365
366 * vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
367 completions if it exists. Use vc-set-async-update.
368 (vc-git-pull): Use vc-set-async-update.
369
370 * vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
371 read-shell-command. Use vc-set-async-update.
372 (vc-hg-merge-branch): Use vc-set-async-update.
373
374 2011-01-29 Daiki Ueno <ueno@unixuser.org>
375
376 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
377 Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
378 (Bug#7931).
379
380 2011-01-29 Stefan Monnier <monnier@iro.umontreal.ca>
381
382 * progmodes/compile.el: Avoid an N² behavior in grep.
383 (compilation--previous-directory): New fun.
384 (compilation--previous-directory-cache): New var.
385 (compilation--remove-properties): Flush it.
386 (compilation-directory-properties, compilation-error-properties):
387 Use the new fun to speed up looking for the current directory.
388
389 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
390
391 * vc/vc-hg.el (vc-hg-history): New var.
392 (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
393 (vc-hg-merge-branch): New function.
394
395 * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
396 the other way around.
397
398 * vc/vc-git.el (vc-git-branches, vc-git-pull)
399 (vc-git-merge-branch): New functions.
400 (vc-git-history): New var.
401
402 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
403
404 * vc/vc-dispatcher.el (vc-do-async-command): New function.
405
406 * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
407 vc-do-async-command.
408
409 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
410 Callers changed.
411
412 2011-01-28 Leo <sdl.web@gmail.com>
413
414 * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
415 highlighting to the "this function is advised" message.
416
417 * help-mode.el (help-mode-finish): Apply highlighting here, to
418 avoid clobbering by substitute-command-keys (Bug#6304).
419
420 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
421
422 * woman.el (woman0-roff-buffer): Process roff escape sequences
423 occurring prior to the first request (Bug#7843).
424
425 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
426
427 * progmodes/compile.el: Don't use font-lock any more.
428 (compilation-error-regexp-alist-alist): Change handling of makepp
429 so it preserves the warning/error distinction on subsequent files.
430 Simplify various rules.
431 (compilation-directory-properties): Use font-lock-face.
432 Add a compilation-message property.
433 (compilation-internal-error-properties): Use font-lock-face.
434 Don't set the compilation-debug property here.
435 (compilation--put-prop, compilation--remove-properties)
436 (compilation--parse-region, compilation--ensure-parse)
437 (compilation--ensure-parse): New functions.
438 (compilation-parse-errors): New function, largely inspired of
439 compilation-mode-font-lock-keywords. Set compilation-debug here.
440 (compilation--parsed): New var.
441 (compilation--flush-parse): Use compilation--ensure-parse.
442 (compilation-start): Don't call font-lock.
443 (compilation-turn-on-font-lock): Remove.
444 (compilation-setup): Don't set font-lock-extra-managed-props not change
445 other font-lock settings, other than keywords.
446 Don't activate font-lock-mode.
447 Set change-major-mode-hook and before-change-functions.
448 (compilation--unsetup): Remove properties and hooks.
449 (compilation-next-single-property-change): New function.
450 (compilation-next-error): Use it to parse when needed.
451 (compile-goto-error): Parse buffer as needed.
452 (compilation--compat-error-properties): Don't need a dummy `face'
453 property any more.
454
455 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
456
457 * progmodes/compile.el: Use accessors for clarity and fix omake hack.
458 (compilation-process-setup-function): Fix docstring's false promises.
459 (compilation-error-regexp-alist-alist): Catch omake's continuous
460 recompilation message and avoid reuse of old markers.
461 (compilation-parse-errors-function): Declare obsolete.
462 (compilation-buffer-modtime): Remove.
463 (compilation--make-cdrloc, compilation--loc->col)
464 (compilation--loc->line, compilation--loc->file-struct)
465 (compilation--loc->marker, compilation--loc->visited)
466 (compilation--make-file-struct, compilation--file-struct->file-spec)
467 (compilation--file-struct->formats)
468 (compilation--file-struct->loc-tree): New macros. Use them.
469 (compilation--message): New defstruct. Use them.
470 (compilation-next-error-function): Don't mess with timestamps to try
471 and guess when to reparse.
472
473 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
474
475 * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
476 (tex-old-error-file-name): New function,
477 extracted from tex-compilation-parse-errors.
478 (tex-compilation-parse-errors): Remove.
479 (tex-error-regexp-alist): New var.
480 (tex-shell): Use it to avoid compilation-parse-errors-function.
481
482 * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
483 (grep-mode-font-lock-keywords): Remove regexp that seems like
484 a left-over from before we used compile.el.
485 (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
486 modifying the buffer within with-silent-modifications.
487
488 * progmodes/compile.el: Cleanup text-properties namespace by using
489 `compilation-message' instead of `message', `compilation-directory'
490 instead of `directory', and `compilation-debug' instead of `debug'.
491 (compilation-last-buffer, compilation-parsing-end)
492 (compilation-error-list, compilation-old-error-list): Move to the
493 compatibility part of the code.
494 (compilation-error-properties): If `file' is a function, let it return
495 a file name.
496 (compilation-mode-font-lock-keywords): Be more conservative with the
497 omake "^ *" pattern prefix, to try and minimize the risk of
498 pathologically slow regexp matching.
499 (compilation-start): Use inhibit-read-only.
500 (compilation--unsetup): New function.
501 (compilation-shell-minor-mode, compilation-minor-mode): Use it.
502 (compilation-filter): Minor tweaks.
503 (compilation-next-error-function): Try and avoid abusing variables.
504 (compilation--flush-file-structure): New fun.
505 (compilation-fake-loc): Use it to improve behavior when file is reused.
506 (debug-ignored-errors): Add "Moved past last ...".
507 (compilation--compat-error-properties)
508 (compilation--compat-parse-errors): Rename by doubling the "-".
509
510 Port features from the previous prolog.el to the new one.
511 * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
512 (prolog-program-name, prolog-program-switches, prolog-consult-string)
513 (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
514 variable and use a function to compute the value dynamically.
515 (prolog-prompt-regexp): Add regexp for GNU Prolog.
516 (prolog-continued-prompt-regexp): Remove, unused.
517 (prolog-find-value-by-system): Try and use the value of prolog-system
518 in the *prolog* buffer if it helps.
519 (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
520 (prolog-zip-on): ..and check prolog-system and version here instead.
521 (prolog-inferior-self-insert-command): New command.
522 (prolog-inferior-mode-map): Use it.
523 (prolog-inferior-error-regexp-alist): New var.
524 (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
525 (prolog-input-filter): Use derived-mode-p.
526 (prolog-inferior-guess-flavor): New function.
527 (prolog-ensure-process): Use it. Use make-comint-in-buffer rather than
528 make-comint to avoid running comint-mode twice.
529 (prolog-inferior-buffer): New fun.
530 (prolog-old-process-region, prolog-old-process-file):
531 Don't call prolog-bsts here...
532 (prolog-build-prolog-command): ...do it here instead.
533 (prolog-old-process-region, prolog-old-process-file):
534 Use compilation-fake-loc and compilation-forget-errors.
535 (prolog-consult-compile-region): Use bolp.
536
537 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
538
539 * image-mode.el (image-display-size): Doc fix (Bug#7820).
540
541 2011-01-27 Sam Steingold <sds@gnu.org>
542
543 * midnight.el (clean-buffer-list-kill-never-buffer-names):
544 Remove "*server*" which is never created by emacs server.
545
546 2011-01-27 Deniz Dogan <deniz.a.m.dogan@gmail.com>
547
548 * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
549 there are some diff switches.
550
551 2011-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
552
553 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
554 Copy change made to ruby-font-lock-syntactic-keywords.
555
556 * htmlfontify.el: Make it obey the font-lock-face text property.
557 Miscellaneous cleanup such as:
558 - Don't hide expressions after a closing paren.
559 - Move initial setq into let.
560 - Hoist common parts out of ifs.
561 (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
562 (hfy-face-at): Use get-text-property instead.
563 (hfy-prop-invisible-p): Use invisible-p if available.
564 (htmlfontify-manual): Use \\[...].
565 (hfy-html-quote-regex): Use [...].
566 (hfy-combined-face-spec): Simplify.
567 (hfy-compile-face-map): Don't presume point-min==1.
568 (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
569 match end of string.
570 (hfy-text-p): η-reduce.
571 (hfy-tags-for-file): Receive cache-hash directly.
572 (hfy-mark-tag-names): Adjust call.
573
574 2011-01-27 Glenn Morris <rgm@gnu.org>
575
576 * msb.el (msb-after-load-hooks): Make it an obsolete alias.
577 (msb-after-load-hook): Remove eval-after-load wackiness.
578
579 2011-01-25 Sam Steingold <sds@gnu.org>
580
581 * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
582 literal "diff" (important for windows-nt).
583
584 2011-01-25 Glenn Morris <rgm@gnu.org>
585
586 * emacs-lisp/copyright.el (copyright-at-end-flag)
587 (copyright-names-regexp): Add safety properties.
588 (copyright-year-ranges): New option.
589 (copyright-find-end): New function, split from copyright-update-year.
590 (copyright-update-year): Use copyright-find-end.
591 (copyright-fix-years): Optionally, convert years to ranges.
592 Handle years continued over comment lines.
593 Do not mess with the fill-prefix.
594 Do not call copyright-update.
595 (copyright-update-directory): Optionally, fix years rather than update.
596 Skip directories. Find files with only safe local vars.
597
598 2011-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
599
600 * files.el (file-name-non-special): Only change buffer-file-name after
601 insert-file-contents if it's `visit'ing the file (bug#7854).
602
603 2011-01-25 Chong Yidong <cyd@stupidchicken.com>
604
605 * dired.el (dired-revert): Doc fix (Bug#7758).
606
607 * simple.el (line-move-visual): Doc fix (Bug#7594).
608
609 2011-01-25 Nobuyoshi Nakada <nobu@ruby-lang.org>
610
611 * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
612 here-doc which ends with an underscore.
613 (ruby-mode-set-encoding): Skip shebang line always.
614 (ruby-mode-map): Bind C-c C-c to comment-region.
615 (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
616 (ruby-forward-sexp): Stop after literal hash key labels.
617 (ruby-font-lock-syntactic-keywords): Highlight regexp after open
618 bracket.
619
620 2011-01-25 Keitaro Miyazaki <keitaro.miyazaki@gmail.com> (tiny change)
621
622 * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
623 the correct buffer (Bug#7650).
624
625 2011-01-25 Glenn Morris <rgm@gnu.org>
626
627 * comint.el (comint-mode): Doc fix. (Bug#7897)
628
629 * simple.el (do-auto-fill): Give it a doc string.
630
631 * button.el (make-text-button): Doc fix. (See bug#7881)
632
633 2011-01-24 Stefan Monnier <monnier@iro.umontreal.ca>
634
635 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
636 Don't move backward, so as not to fall in an inf-loop (bug#7736).
637
638 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
639 Handle ?" and friends differently (e.g. don't use backrefs).
640
641 2011-01-24 Jay Belanger <jay.p.belanger@gmail.com>
642
643 * calc/calc.el (calc-default-power-reference-level)
644 (calc-default-field-reference-level): New variables.
645 * calc/calc-units.el (math-standard-units): Add dB and Np.
646 (math-logunits): New variable.
647 (math-extract-logunits, math-logcombine, calcFunc-luplus)
648 (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
649 (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
650 New functions.
651 (math-find-base-units-rec): Add entry for ln(10).
652 * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
653 (calc-ul-prefix-help): New function.
654 * calc/calc-ext.el (calc-init-extensions): Autoload new units
655 functions. Add keybindings for new units functions.
656
657 2011-01-22 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change)
658
659 * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
660 rcirc buffers. (Bug#4940)
661
662 2011-01-22 Glenn Morris <rgm@gnu.org>
663
664 * emacs-lisp/copyright.el (copyright-find-copyright): New function,
665 split out from copyright-update-year.
666 (copyright-update): Don't mess with the GPL version if we don't own the
667 copyright. Update license regexp, and remove no longer needed
668 Esperanto stuff.
669 (copyright-fix-years): Use copyright-find-copyright.
670
671 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
672
673 * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
674
675 2011-01-22 Jari Aalto <jari.aalto@cante.net>
676
677 * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
678 (lm): Rename to landmark.
679 (lm-test-run): Rename to landmark-test-run.
680
681 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
682
683 * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
684 "Case sensitive" menu item.
685
686 2011-01-22 Roland McGrath <roland@frob.com>
687
688 * comint.el (comint-replace-by-expanded-history-before-point): Fix
689 expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
690
691 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
692
693 * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
694
695 2011-01-22 Jari Aalto <jari.aalto@cante.net>
696
697 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
698 Assume foo(bar) is a manpage reference rather than some unquoted
699 symbol (bug#7705).
700
701 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
702
703 * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
704 Suggested by Flo <sensorflo@gmail.com>.
705
706 2011-01-22 Glenn Morris <rgm@gnu.org>
707
708 * progmodes/compile.el (compilation-error-regexp-alist):
709 Fix custom type. (Bug#7812)
710
711 2011-01-22 Ken Manheimer <ken.manheimer@gmail.com>
712
713 * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
714 allout-number-siblings, in keeping with what obtained due to
715 (now-defunct) allout-keybindings-list. Ditch repeat binding to
716 (prefixed) ?i.
717 (allout-before-change-handler): Better expose spots affected by
718 undo.
719
720 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
721
722 * man.el (Man-highlight-references0): Use make-button (Bug#7881).
723
724 2011-01-22 Phil Hagelberg <phil@evri.com>
725
726 * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
727 (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
728 (pcmpl-ssh-config-hosts): New function.
729 (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
730 pcmpl-ssh-known-hosts.
731
732 2011-01-21 Jay Belanger <jay.p.belanger@gmail.com>
733
734 * calc/calc-undo.el (calc-undo): Autoload it.
735 * calc/calc-ext.el (calc-init-extensions): Remove keybindings
736 and autoload for `calc-undo'.
737 * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
738 * calc/calc-prog.el:
739 * calc/calc-graph.el:
740 * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
741
742 2011-01-21 Štěpán Němec <stepnem@gmail.com> (tiny change)
743
744 * calc/calc-ext.el (calc-init-extensions): Map all `undo'
745 keybindings to `calc-undo'.
746
747 2011-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
748
749 Don't mess with *temp*.
750 * obsolete/spell.el: Move from textmodes/spell.el.
751 (spell-string):
752 * term.el (term-read-input-ring):
753 * startup.el (display-startup-echo-area-message):
754 * progmodes/antlr-mode.el (antlr-directory-dependencies):
755 * comint.el (comint-read-input-ring): Use with-temp-buffer.
756 * international/mule.el (ctext-pre-write-conversion): Don't hardcode
757 point-min==1.
758
759 2011-01-20 Ken Manheimer <ken.manheimer@gmail.com>
760
761 * allout.el: (allout-institute-keymap): Use fset instead of
762 reapplying defalias.
763
764 (allout-hotspot-key-handler): Check for non-control-modified
765 bindings for hotspot characters if there are no control-modified
766 versions.
767
768 * allout.el: Summary - migrate to defining allout mode using
769 define-minor-mode instead of defun. Significantly clean-up
770 internal keymap provisions, refactoring and, in the process,
771 removing a lot of accumulated cruft.
772
773 allout-mode-map is now a keymap by virtue of being a defalias to
774 allout-mode-map-value, which contains the actual keymap structure.
775
776 (allout-mode): Use define-minor-mode rather than defun.
777 Remove now-unnecessary minor-mode setup activities from the body.
778 Specify :keymap as allout-mode-map so the minor-mode-map-alist
779 entry will be '(allout-mode . allout-mode-map) - see
780 allout-mode-map-value, below. Adjust docstring to track changes.
781 (allout-minor-mode): Remove this defalias, now that we're using
782 define-minor-mode.
783 (allout-mode-map): Set value to be 'allout-mode-map. The actual
784 keymap is allout-mode-map-value, via defalias.
785 (allout-mode-map-value): The variable holding the actual mode
786 keymap structure, by virtue of defalias from allout-mode-map.
787 (allout-compose-and-institute-keymap): Rename from
788 allout-bind-keys, and including the binding-composition
789 functionality of the former produce-allout-mode-map and
790 allout-setup-mode-map.
791 (allout-institute-keymap): Take over the "setup" part of the former
792 allout-setup-mode-map. Reassign allout-mode-map-value value and
793 update the defalias.
794 (allout-command-prefix) (allout-prefixed-keybindings)
795 (allout-unprefixed-keybindings):
796 Use allout-compose-and-institute-keymap to process the bindings.
797 (allout-unprefixed-keybindings): Remove extraneous '?' question
798 marks.
799 (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
800 user can customize if they want to use that binding.
801 Bind allout-copy-topic-as-kill to (prefixed) \M-k.
802 Bind allout-up-current-level to (prefixed) \C-u. (I think i mistakenly
803 elided that, previously, instead of the one for \C-h.)
804 (allout-hotspot-key-handler): Remove attempt to resolve the key
805 through the literal key-string lookup on allout-keybindings-list.
806 That probably hasn't worked for a Long Time, and removal of
807 allout-keybindings-list further simplifies the keybindings
808 situation.
809 (allout-pre-command-business): Use allout-mode-map-value instead
810 of allout-mode-map.
811 (allout-preempt-trailing-ctrl-h): Remove. The user can customize
812 the bindings if they want to use a keybinding having a trailing
813 \C-h. No deprecation needed since this feature was never in a
814 release.
815 (allout-keybindings-list): Remove. It's not been useful for a
816 while. (See allout-hotspot-key-handler changes, above.)
817 (produce-allout-mode-map): Remove. Consolidate into
818 allout-compose-and-institute-keymap.
819 (allout-mode-map-adjustments): Remove. No longer necessary with
820 removal of allout-preempt-trailing-ctrl-h.
821 (allout-setup-mode-map): Remove. Consolidate into
822 allout-compose-and-institute-keymap and allout-institute-keymap.
823
824 2011-01-20 Glenn Morris <rgm@gnu.org>
825
826 * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
827
828 * simple.el (read-expression-history): Remove, it's in minibuf.c.
829
830 2011-01-20 Chong Yidong <cyd@stupidchicken.com>
831
832 * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
833
834 * files.el (find-alternate-file, basic-save-buffer)
835 (basic-save-buffer-2, revert-buffer, recover-file)
836 (kill-buffer-ask, abort-if-file-too-large)
837 (set-visited-file-name, write-file, backup-buffer)
838 (basic-save-buffer, save-some-buffers):
839 * dired-aux.el (dired-compress-file): Callers changed.
840
841 2011-01-19 Glenn Morris <rgm@gnu.org>
842
843 * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
844 Also check the property status. (Bug#7861)
845
846 2011-01-18 Michael Albinus <michael.albinus@gmx.de>
847
848 * net/tramp.el (tramp-debug-message): Extend function exclude
849 list. Use `regexp-opt'.
850
851 2011-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
852
853 * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
854 highlighting doesn't spill over subsequent lines.
855
856 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
857 keymap expression. Improve docstring.
858
859 * electric.el (electric-indent-post-self-insert-function):
860 Don't auto-indent for indent-to-left-margin, it's too often
861 counter-productive.
862
863 2011-01-16 Tassilo Horn <tassilo@member.fsf.org>
864
865 * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
866 spaces if the frame was resized, so that the full visible buffer
867 serves as canvas for strokes.
868
869 2011-01-16 Glenn Morris <rgm@gnu.org>
870
871 * info-xref.el (info-xref-docstrings): Replace cl function.
872 Also skip directories.
873
874 2011-01-16 Kevin Ryde <user42@zip.com.au>
875
876 * info-xref.el: Version 3.
877 (info-xref-check, info-xref-check-all): Move commentary details
878 into docstrings for better visibility.
879 Use compilation-mode for the results buffer.
880 (info-xref-output, info-xref-output-error, info-xref-with-output)
881 (info-xref-filename, info-xref-in-progress):
882 New internals for this.
883 (info-xref-check-list, info-xref-check-buffer)
884 (info-xref-check-all-custom): Use those.
885 (info-xref-output-buffer): Rename from info-xref-results-buffer.
886 (info-xref-output-heading): Rename from info-xref-filename-heading.
887 (info-xref-good, info-xref-bad, info-xref-xfile-alist)
888 (info-xref-filename-heading): Move to output managing section.
889 (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
890 (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
891 (info-xref-subfile-p): Move to generic section with those two.
892 (info-xref-check-node): New function split from
893 info-xref-check-buffer, shared by info-xref-docstrings.
894 (info-xref-goto-node-p): Move to a checking section with that func.
895 (info-xref-unavail): New counter.
896 (info-xref-check-node): Use it.
897 (info-xref-with-output): Show count of unavailables at end of output.
898 (info-xref-all-info-files): Exclude ".*" dotfiles. Ignore broken
899 symlinks. Exclude .texi files. Exclude Emacs backup files.
900 (info-xref-check-all-custom): Fix quietening viper-mode and
901 gnus-registry-install -- use setq not let so as not to unbind
902 after load.
903
904 2011-01-16 Juri Linkov <juri@jurta.org>
905
906 * isearch.el (isearch-abort): Don't quit if search has
907 an incomplete regexp (isearch-error is non-nil). (Bug#7534)
908
909 2011-01-15 Mark Diekhans <markd@soe.ucsc.edu>
910
911 * files.el (backup-buffer): Make last-resort backup file in
912 .emacs.d (Bug#6953).
913
914 * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
915 make it with permission 700.
916
917 2011-01-15 Kenichi Handa <handa@m17n.org>
918
919 * mail/rmailmm.el (rmail-mime-insert-header):
920 Set rmail-mime-coding-system to a cons whose car is the last coding
921 system used to decode the header.
922 (rmail-mime-find-header-encoding): New function.
923 (rmail-mime-insert-decoded-text):
924 Override rmail-mime-coding-system if it is a cons.
925 (rmail-show-mime): If only a header part was decoded, find the
926 coding system while ignoring mm-charset-override-alist.
927
928 2011-01-15 Chong Yidong <cyd@stupidchicken.com>
929
930 * subr.el (event-start, event-end): Doc fix (Bug#7826).
931
932 2011-01-15 Kenichi Handa <handa@m17n.org>
933
934 * mail/rmailmm.el (rmail-mime-next-item)
935 (rmail-mime-previous-item): Delete them.
936 (rmail-mime-shown-mode): Recursively call for children.
937 (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
938 Callers changed.
939 (rmail-mime-raw-mode): Recursively call for children.
940 (rmail-mode-map): Change mapping of tab and backtab to
941 forward-button and backward-button respectively.
942 (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
943 button.
944 (rmail-mime-update-tagline): New function.
945 (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
946 body display is changed.
947 (rmail-mime-toggle-button): Rename from rmail-mime-image.
948 (rmail-mime-image): Delete this button type.
949 (rmail-mime-toggle): New button type.
950 (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
951 body display is changed. Change the save button label to "Save".
952 Don't process show/hide button here.
953 (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
954 the body display is changed. Unconditionally call
955 rmail-mime-insert for children.
956 (rmail-mime-handle): Update `display' vector of the just inserted
957 entity.
958 (rmail-mime-process): If mail-header-parse-content-type returns
959 nil, use "text/plain" as the fallback type.
960 (rmail-mime-insert): For raw-mode, recursively call
961 rmail-mim-insert for children.
962 (rmail-mime): Handle the case that the current buffer is not rmail
963 buffer (e.g. in summary buffer).
964
965 2011-01-15 Kenichi Handa <handa@m17n.org>
966
967 * mail/rmailmm.el (rmail-mime-next-item)
968 (rmail-mime-previous-item): Skip the body of a non-multipart
969 entity if a tagline is shown.
970
971 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
972
973 * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
974 (tmm-prompt): Simplify.
975 (tmm-add-prompt): Remove unused var `win'.
976
977 * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
978 to minor mode which used nil accidentally to mean "turn off".
979
980 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
981
982 * net/tramp-sh.el (tramp-find-inline-compress)
983 (tramp-get-inline-coding): Quote command after pipe symbol for
984 local calls under W32. (Bug#6784)
985
986 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
987
988 * net/tramp.el (tramp-default-method): Initialize with pscp/plink
989 only when running under W32.
990
991 2011-01-15 Eli Zaretskii <eliz@gnu.org>
992
993 * progmodes/grep.el (grep-compute-defaults): Quote the program
994 file name after the pipe symbol in Grep templates. (Bug#6784)
995 * jka-compr.el (jka-compr-partial-uncompress): Likewise.
996
997 2011-01-15 Lennart Borgman <lennart.borgman@gmail.com>
998
999 * buff-menu.el (Buffer-menu-buffer-list): New var.
1000 (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
1001 restricted buffer list is not lost on revert (Bug#7749).
1002
1003 2011-01-15 Eric Hanchrow <eric.hanchrow@gmail.com>
1004
1005 * net/ldap.el (ldap-search-internal): Discard stderr output.
1006
1007 2011-01-15 Eli Zaretskii <eliz@gnu.org>
1008
1009 * files.el (directory-abbrev-alist): Doc fix. (Bug#7777)
1010
1011 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
1012
1013 * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
1014
1015 2011-01-15 Kenichi Handa <handa@m17n.org>
1016
1017 * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
1018 part as a plain text.
1019 (rmail-mime-process-multipart): Set the default content-type to
1020 nil for unknown multipart subtypes (bug#7651).
1021
1022 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1023
1024 * hexl.el (hexl-mode-old-*): Remove.
1025 (hexl-mode--old-var-vals): New var to replace them.
1026 (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
1027 (hexl-mode, hexl-follow-line, hexl-activate-ruler):
1028 Use them to set local vars (bug#7846).
1029 (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
1030 (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
1031 (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
1032
1033 * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
1034 (smerge-resolve--normalize-re): New var.
1035 (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
1036 (smerge-resolve): Use them.
1037 * newcomment.el (comment-only-p): New function.
1038 (comment-or-uncomment-region): Use it.
1039
1040 2011-01-14 Brent Goodrick <bgoodr@gmail.com> (tiny change)
1041
1042 * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
1043 table, get the value before switching to the output buffer. (Bug#7733)
1044
1045 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1046
1047 * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
1048
1049 2011-01-14 Kim F. Storm <storm@cua.dk>
1050
1051 * emulation/cua-base.el (cua--init-keymaps):
1052 Remap exchange-point-and-mark in cua-global-keymap.
1053
1054 2011-01-14 Tassilo Horn <tassilo@member.fsf.org>
1055
1056 * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
1057 loop keyword.
1058
1059 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1060
1061 * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
1062 Require CL.
1063 (easy-menu-create-menu, easy-menu-convert-item-1):
1064 Use :label rather than nil for labels. Use `case'.
1065 Add :enable as alias for :active.
1066 (easy-menu-binding): Obey :label.
1067
1068 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1069
1070 Use run-mode-hooks for major mode hooks (bug#513).
1071 * textmodes/reftex-toc.el (reftex-toc-mode-map):
1072 Rename from reftex-toc-map.
1073 (reftex-toc-mode): Use define-derived-mode.
1074 * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
1075 (reftex-select-label-mode-map, reftex-select-bib-mode-map):
1076 Rename from reftex-select-(label|bib)-map. Move init into declaration.
1077 (reftex-select-label-mode, reftex-select-bib-mode):
1078 Use define-derived-mode.
1079 * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
1080 (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
1081 Move init into delcaration.
1082 (reftex-index-mode, reftex-index-phrases-mode):
1083 Use define-derived-mode.
1084 * speedbar.el (speedbar-mode-syntax-table): Renaqme from
1085 speedbar-syntax-table. Move init into declaration.
1086 (speedbar-mode-map): Rename from speedbar-key-map.
1087 Move init into declaration.
1088 (speedbar-file-key-map): Move init into declaration.
1089 (speedbar-mode): Use define-derived-mode.
1090 * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
1091 * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
1092 * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
1093 (chart-face-list): Move initialization into declaration.
1094 (chart-mode): Use define-derived-mode.
1095 * calculator.el (calculator-mode-map): Move init into declaration.
1096 (calculator-mode): Use define-derived-mode.
1097
1098 * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
1099 work for nested comments.
1100
1101 * progmodes/prolog.el: Use syntax-propertize. Further code cleanup.
1102 (prolog-use-prolog-tokenizer-flag): Change default when
1103 syntax-propertize can be used.
1104 (prolog-syntax-propertize-function): New var.
1105 (prolog-mode-variables): Move make-local-variable into `set'.
1106 Don't make comment-column local since we don't set it.
1107 Set comment-add (as it was in previous prolog.el). Use dolist.
1108 Set syntax-propertize-function.
1109 (prolog-mode, prolog-inferior-mode):
1110 Call prolog(-inferior)-menu directly, not through the mode-hook.
1111 (prolog-buffer-module, prolog-indent-level)
1112 (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
1113 (prolog-comment-limits, prolog-goto-comment-column):
1114 Use line-(end|beginning)-position.
1115 (prolog-build-prolog-command): Tighten up regexp.
1116 (prolog-consult-compile): Move make-local-variable into `set'.
1117 (prolog-consult-compile-filter, prolog-goto-next-paren)
1118 (prolog-help-on-predicate, prolog-clause-info)
1119 (prolog-mark-predicate): Don't let+setq.
1120 (prolog-indent-line): Use indent-line-to.
1121 Only call prolog-goto-comment-column if necessary.
1122 (prolog-indent-level): Use bobp.
1123 (prolog-first-pos-on-line): Remove, not used any more.
1124 (prolog-in-string-or-comment): Use syntax-ppss if available.
1125 (prolog-help-on-predicate): Use read-string.
1126 (prolog-goto-predicate-info): Simplify.
1127 (prolog-read-predicate): Use `default' rather than `initial'.
1128 (prolog-temporary-file): Use make-temp-file to close a security hole.
1129 (prolog-toggle-sicstus-sd): New command.
1130 (prolog-electric-underscore, prolog-variables-to-anonymous):
1131 Use dynamic-scoping as it was meant.
1132 (prolog-menu): Move menu definitions to top-level.
1133 Use a toggle-button for Sicstus's source debugger.
1134 Change "Code" to the more usual "Prolog", and hence change "Prolog"
1135 to "System".
1136 (prolog-inferior-menu): Reuse prolog-menu's help menu.
1137 Move other menu definition to top-level.
1138
1139 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
1140
1141 * doc-view.el (doc-view-open-text): Use meaningful text buffer
1142 name. Keep original document's directory as default-directory
1143 (bug#6446).
1144 (doc-view-initiate-display): Fall back to normal mode when
1145 doc-view-mode cannot be enabled, also when extracting the document
1146 text into a separate buffer (bug#6446).
1147
1148 * simple.el (shell-command): Don't error out if shell command
1149 buffer contains text with non-nil read-only property when erasing
1150 the buffer.
1151
1152 2011-01-13 Kim F. Storm <storm@cua.dk>
1153
1154 * ido.el (ido-may-cache-directory): Move "too-big" check later.
1155 (ido-next-match, ido-prev-match): Fix stray reordering of matching
1156 items when cycling through the matches.
1157
1158 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
1159
1160 * dired-x.el (dired-omit-verbose): New defcustom that allows
1161 disabling the omit messages.
1162 (dired-omit-expunge): Use it.
1163
1164 2011-01-13 Christian Ohler <ohler@gnu.org>
1165
1166 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
1167
1168 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
1169
1170 * font-lock.el (font-lock-verbose): Default to nil.
1171
1172 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
1173
1174 * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
1175 (compose-mail): New arg RETURN-ACTION.
1176 (compose-mail-other-window, compose-mail-other-frame): Likewise.
1177
1178 * mail/sendmail.el (mail-return-action): New var.
1179 (mail-mode): Make it buffer-local.
1180 (mail-bury): Obey it. Move special Rmail window handling to
1181 rmail-mail-return.
1182 (mail, mail-setup): New arg RETURN-ACTION.
1183 (sendmail-user-agent-compose): Move from simple.el.
1184
1185 * mail/rmail.el (rmail-mail-return): New function.
1186 (rmail-start-mail): Pass it to compose-mail.
1187
1188 2011-01-12 Chong Yidong <cyd@stupidchicken.com>
1189
1190 * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
1191 menus. Add menu item for customize-themes.
1192
1193 * cus-theme.el (customize-themes):
1194 * emacs-lisp/package.el (package--list-packages):
1195 Use switch-to-buffer.
1196
1197 2011-01-11 Johan Bockgård <bojohan@gnu.org>
1198
1199 * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
1200
1201 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
1202
1203 * progmodes/prolog.el: Fix up coding convention and such.
1204 (prolog-indent-width): Use the same default as in
1205 previous prolog.el rather than tab-width which depends on which buffer
1206 is current when the file is loaded.
1207 (prolog-electric-newline-flag): Only enable if electric-indent-mode
1208 is not available.
1209 (prolog-emacs): Remove. Use (featurep 'xemacs) instead.
1210 (prolog-known-systems): Remove.
1211 (prolog-mode-syntax-table, prolog-inferior-mode-map):
1212 Move initialization into declaration.
1213 (prolog-mode-map): Move initialization into declaration.
1214 Remove system-specific mode-map vars, since they referred to the same
1215 keymap anyway.
1216 (prolog-mode-variables): Obey the user's preference w.r.t
1217 adaptive-fill-mode. Prefer symbol-value to `eval'.
1218 (prolog-mode-keybindings-edit): Add compatibility bindings.
1219 (prolog-mode): Use define-derived-mode. Don't handle mercury here.
1220 (mercury-mode-map): New var.
1221 (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
1222 (prolog-ensure-process, prolog-process-insert-string)
1223 (prolog-consult-compile): Use with-current-buffer.
1224 (prolog-guess-fill-prefix): Simplify data flow.
1225 (prolog-replace-in-string): New function to use instead of
1226 replace-in-string.
1227 (prolog-enable-sicstus-sd): Don't abuse `eval'.
1228 (prolog-uncomment-region): Use `uncomment-region' when available.
1229 (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
1230 (prolog-int-to-char, prolog-char-to-int): New functions to use instead
1231 of int-to-char and char-to-int.
1232 (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
1233
1234 2011-01-11 Stefan Bruda <stefan@bruda.ca>
1235
1236 * progmodes/prolog.el: Replace by a whole new file.
1237
1238 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
1239
1240 * subr.el (eval-after-load): Fix timing for features (bug#7769).
1241 (declare-function, undefined, insert-for-yank)
1242 (replace-regexp-in-string): Follow checkdoc's recommendations.
1243
1244 2011-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1245
1246 * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
1247 refreshing the diary buffer.
1248
1249 2011-01-10 Ken Manheimer <ken.manheimer@gmail.com>
1250
1251 * allout.el: Add 2011 to the file copyright.
1252 (allout-encrypt-string): Prevent encryption from adding an extra
1253 newline at the end of the topic body.
1254 (allout-version): Increment to 2.3.
1255
1256 2011-01-10 Michael Albinus <michael.albinus@gmx.de>
1257
1258 * net/dbus.el (dbus-unregister-service): Complete doc.
1259 Fix call of dbus-error signal.
1260 (dbus-register-property): Use `dont-register' keyword.
1261
1262 2011-01-10 Jan Moringen <jan.moringen@uni-bielefeld.de>
1263
1264 * net/dbus.el (dbus-unregister-service): Translate returned
1265 integer into a symbol.
1266 (dbus-register-property): Use `dbus-register-service' to do the
1267 name registration.
1268
1269 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
1270
1271 * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
1272 Suggested by Joakim Verona.
1273
1274 * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
1275
1276 * wid-edit.el (visibility): Replace :on-image and :off-image
1277 widget properties with :on-glyph and :off-glyph, for consistency
1278 with the `visibility' widget.
1279 (widget-toggle-value-create, widget-visibility-value-create):
1280 Merge into a single function `widget-toggle-value-create'.
1281
1282 * cus-edit.el (custom-variable-value-create, custom-visibility)
1283 (custom-face-edit-value-create, custom-face-value-create):
1284 Replace :on-image and :off-image widget properties with :on-glyph and
1285 :off-glyph, for consistency with the `visibility' widget.
1286
1287 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
1288
1289 * net/ldap.el (ldap-search-internal): Don't use eval.
1290
1291 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
1292
1293 * subr.el (read-char-choice): Use read-key.
1294
1295 * custom.el (custom-safe-themes): Rename from
1296 custom-safe-theme-files. Add :risky tag.
1297 (load-theme, custom-theme-load-confirm): Save sha1 hashes to
1298 custom-safe-themes, not filenames. Suggested by Stefan Monnier.
1299
1300 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
1301
1302 * tool-bar.el (tool-bar-setup): Remove Help button. Remove label
1303 from Search and add a label to Undo.
1304
1305 * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
1306 inappropriate buttons and adding :vert-only tags.
1307
1308 * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
1309 removal of Help tool-bar button. Remove Undo button for space.
1310
1311 * info.el (info-tool-bar-map): Add :vert-only tags.
1312
1313 2011-01-08 Tassilo Horn <tassilo@member.fsf.org>
1314
1315 * doc-view.el (doc-view-mode-p): Check for png or imagemagick
1316 image backend support. Either of them is fine.
1317
1318 2011-01-08 Chong Yidong <cyd@stupidchicken.com>
1319
1320 * subr.el (y-or-n-p): Doc fix.
1321
1322 * custom.el (custom-safe-theme-files): New defcustom.
1323 (custom-theme-load-confirm): New function.
1324 (load-theme): Load theme using `load', confirming with
1325 custom-theme-load-confirm if necessary.
1326
1327 * subr.el (read-char-choice): New function, factored out from
1328 dired-query and hack-local-variables-confirm.
1329
1330 * dired-aux.el (dired-query):
1331 * files.el (hack-local-variables-confirm): Use it.
1332
1333 * dired-aux.el (dired-compress-file):
1334 * files.el (abort-if-file-too-large, find-alternate-file)
1335 (set-visited-file-name, write-file, backup-buffer)
1336 (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
1337 (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
1338 Use new format string args for y-or-n-p and yes-or-no-p.
1339
1340 2011-01-08 Andreas Schwab <schwab@linux-m68k.org>
1341
1342 * progmodes/compile.el (compilation-error-regexp-alist-alist)
1343 [gcc-include]: Tighten file name match, add match for column
1344 number. (Bug#7806)
1345 [gnu]: Remove unused group.
1346
1347 2011-01-08 Glenn Morris <rgm@gnu.org>
1348
1349 * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
1350
1351 * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
1352
1353 2011-01-07 Sam Steingold <sds@gnu.org>
1354
1355 * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
1356 the `explicit-shell-file-name' because that is the
1357 non-interactive shell.
1358
1359 2011-01-07 Chong Yidong <cyd@stupidchicken.com>
1360
1361 * subr.el (y-or-n-p): Accept format string args.
1362
1363 2011-01-07 Glenn Morris <rgm@gnu.org>
1364
1365 * Makefile.in (EMACSOPT): Add --no-site-lisp.
1366
1367 2011-01-06 Ken Manheimer <ken.manheimer@gmail.com>
1368
1369 * allout.el (allout-back-to-current-heading): Ensure return to
1370 the visible containing topic, rather than a collapsed one.
1371 (allout-view-change-hook): Remove hook that was deprecated long ago.
1372 (allout-exposure-change-hook): Remove documentation remarks
1373 concerning removed allout-view-change-hook.
1374 (allout-flag-region): Remove invocation of and documentation
1375 remarks concerning allout-view-change-hook.
1376
1377 2011-01-06 Glenn Morris <rgm@gnu.org>
1378
1379 * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
1380 (vc-bzr-annotate-extract-revision-at-line):
1381 Handle authors with embedded spaces. (Bug#7792)
1382
1383 2011-01-05 Tassilo Horn <tassilo@member.fsf.org>
1384
1385 * doc-view.el (doc-view-image-width): New variable.
1386 (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
1387 backend for PNG images, and do dynamic rescaling instead of
1388 reconverting the whole doc.
1389
1390 2011-01-05 Glenn Morris <rgm@gnu.org>
1391
1392 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
1393
1394 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
1395
1396 * allout.el: Reconcile with changes in line movement behavior for
1397 long text lines that cross more than a single physical window
1398 line, ie when truncate-lines is nil.
1399 (allout-next-visible-heading): Provide for change in line-move
1400 behavior on long lines when truncate-lines is nil. In that case,
1401 line-move can wind up on the same textual line when it moves to
1402 the next window line, and moving to the bullet position after the
1403 move yields zero advancement. Add logic to detect and compensate
1404 for the lack of progress.
1405 (allout-current-topic-collapsed-p): move-end-of-line respect for
1406 field boundaries is different when operating with body lines
1407 shorter than window width versus ones greater than window width,
1408 which can yield false negatives in this function. Avoid
1409 difference by applying move-end-of-line while field-text-motion is
1410 inhibited.
1411
1412 2011-01-04 Glenn Morris <rgm@gnu.org>
1413
1414 * textmodes/rst.el (rst-compile-toolsets):
1415 Add pdf and s5 to option alist.
1416
1417 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
1418
1419 * net/dbus.el (dbus-register-property): Add optional parameter
1420 dont-register-service. Updated docstring accordingly.
1421
1422 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
1423
1424 * textmodes/rst.el (rst-compile-pdf-preview)
1425 (rst-compile-slides-preview): Remove extra line.
1426
1427 2011-01-04 Glenn Morris <rgm@gnu.org>
1428
1429 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
1430 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
1431 default to `prog' without a .py extension.
1432 (rst-compile-pdf-preview, rst-compile-slides-preview):
1433 Use program names from rst-compile-toolsets, rather than hard-coding.
1434 (rst-portable-mark-active-p): Fix presumed typo.
1435
1436 2011-01-02 Eli Zaretskii <eliz@gnu.org>
1437
1438 * term/w32-win.el (dynamic-library-alist): Set up correctly for
1439 libpng versions both before and after 1.4.0. (Bug#7716)
1440
1441 2011-01-02 Eli Zaretskii <eliz@gnu.org>
1442
1443 * time.el (display-time-mode): Mention display-time-interval in
1444 the doc string. (Bug#7713)
1445
1446 2011-01-02 Kenichi Handa <handa@m17n.org>
1447
1448 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
1449 condition-case and return an error message string if something
1450 goes wrong.
1451 (rmail-show-mime): Adjust for the above change. Insert the
1452 header by rmail-mime-insert-header.
1453
1454 2011-01-02 Kenichi Handa <handa@m17n.org>
1455
1456 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
1457 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
1458 (rmail-mime-mbox-buffer)
1459 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
1460 (rmail-mime-entity): Argument changed. All codes handling an
1461 entity object are changed.
1462 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
1463 the above change.
1464 (rmail-mime-entity-children, rmail-mime-entity-handler)
1465 (rmail-mime-entity-tagline): New functions.
1466 (rmail-mime-message-p): New function.
1467 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
1468 (rmail-mime-entity-segment, rmail-mime-next-item)
1469 (rmail-mime-previous-item, rmail-mime-shown-mode)
1470 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
1471 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
1472 (rmail-mime-insert-tagline, rmail-mime-insert-header):
1473 New functions.
1474 (rmail-mime-text-handler): Call rmail-mime-insert-text.
1475 (rmail-mime-insert-decoded-text): New function.
1476 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
1477 (rmail-mime-insert-image): Argument changed. Caller changed.
1478 (rmail-mime-image): Call rmail-mime-toggle-hidden.
1479 (rmail-mime-set-bulk-data): New funciton.
1480 (rmail-mime-insert-bulk): Argument changed.
1481 (rmail-mime-multipart-handler): Return t.
1482 (rmail-mime-process-multipart): Argument changed.
1483 Handle "multipart/alternative" here.
1484 (rmail-mime-process): Argument changed.
1485 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
1486 (rmail-mime-insert): Argument changed. Handle raw display mode.
1487 (rmail-mime): Argument changed. Handle toggling of raw display
1488 mode.
1489 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
1490 rmail-mime-view-buffer.
1491 (rmail-insert-mime-forwarded-message): Likewise.
1492 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
1493
1494 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
1495 non-nil, handle the header in rmail-show-mime-function.
1496
1497 2011-01-02 Leo <sdl.web@gmail.com>
1498
1499 * help-fns.el (describe-variable): Fix previous change.
1500
1501 2011-01-02 Juri Linkov <juri@jurta.org>
1502
1503 * isearch.el (isearch-lazy-highlight-error): New variable.
1504 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
1505 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
1506 to the current value of `isearch-error' (Bug#7468).
1507
1508 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
1509
1510 * help-fns.el (describe-variable): Don't emit trailing whitespace
1511 (Bug#7511).
1512
1513 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
1514
1515 * textmodes/rst.el (rst-compile-pdf-preview)
1516 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
1517
1518 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
1519
1520 * emulation/edt-mapper.el: Override mapping of function keys so
1521 that the later call to read-key-sequence works.
1522
1523 2011-01-02 Eli Zaretskii <eliz@gnu.org>
1524
1525 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
1526 Unix EOLs. (Bug#7589)
1527
1528 2011-01-02 Leo <sdl.web@gmail.com>
1529
1530 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
1531 if point is not behind eshell-last-output-end (Bug#7585).
1532
1533 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
1534
1535 * files.el (file-local-variables-alist):
1536 Make permanent-local (bug#7767).
1537
1538 2011-01-02 Glenn Morris <rgm@gnu.org>
1539
1540 * version.el (emacs-copyright): Set short copyright year to 2011.
1541
1542 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
1543
1544 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
1545 an existing temp buffer. (Bug#7746)
1546
1547 2011-01-02 Glenn Morris <rgm@gnu.org>
1548
1549 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
1550 multiple addresses. (Bug#7760)
1551
1552 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
1553
1554 * allout.el (allout-auto-fill): Do not infinitely recurse - use
1555 do-auto-fill if everything points back to allout-auto-fill.
1556 (allout-mode-deactivate-hook): Declare obsolete, in favor of
1557 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
1558
1559 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
1560
1561 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
1562 and "scpx".
1563
1564 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1565
1566 * doc-view.el (doc-view-set-doc-type): New function refactored
1567 from doc-view-mode.
1568 (doc-view-fallback-mode): New function.
1569 (doc-view-mode): Use it.
1570 (doc-view-mode-maybe): New function that checks if doc-view-mode
1571 can be used and falls back to the next best mode otherwise.
1572
1573 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
1574 DVI, OpenDocument, and MS Office files.
1575
1576 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
1577
1578 * emacs-lisp/rx.el (rx-syntax): Fix typo.
1579
1580 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1581
1582 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
1583 on a copy of auto-mode-alist, because that deletes with side
1584 effects.
1585
1586 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1587
1588 * doc-view.el (doc-view-mode, doc-view-toggle-display):
1589 Use normal-mode without doc-view-mode bindings in auto-mode-alist as
1590 fallback instead of hard coding fundamental mode.
1591
1592 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1593
1594 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
1595 Office) files also for searching.
1596
1597 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1598
1599 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
1600 Office) files. Not yet enabled via auto-mode-list.
1601 (doc-view-unoconv-program): New custom variable.
1602 (doc-view-mode-p): Handle new odf document type.
1603 (doc-view-odf->pdf): New conversion function.
1604 (doc-view-convert-current-doc): Call it for odf files.
1605 (doc-view-mode): Recognize newly supported file extensions.
1606
1607 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
1608
1609 * net/tramp.el (tramp-default-method-alist)
1610 (tramp-default-user-alist)
1611 (tramp-local-host-regexp, tramp-prefix-domain-format)
1612 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
1613
1614 * net/tramp-ftp.el:
1615 * net/tramp-gvfs.el:
1616 * net/tramp-gw.el:
1617 * net/tramp-imap.el:
1618 * net/tramp-sh.el:
1619 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
1620 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
1621
1622 2010-12-29 Karl Fogel <kfogel@red-bean.com>
1623
1624 * saveplace.el (save-place-alist-to-file): Save list sorted and
1625 pretty-printed, so that it is mergeable by line-based text merging,
1626 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
1627
1628 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
1629
1630 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
1631 (allout-mode): Argument "toggle" => "force".
1632 Refine the docstring.
1633 Remove special provisions for reactivation, besides the 'force'
1634 argument.
1635 Consolidate layout provisions coce directly into the activation
1636 condition branch, now that we've removed those provisions.
1637 (allout-unload-function): Explicitly activate the mode before
1638 deactivating, if it's initially deactivated.
1639 (allout-set-buffer-multibyte): Properly prevent byte-compiler
1640 warnings for version of function used only where
1641 set-buffer-multibyte is unavailable.
1642
1643 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
1644
1645 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
1646 are handled by the menu-bar entries. As before, don't use
1647 :visibile to avoid changing the tool-bar.
1648
1649 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
1650
1651 * net/secrets.el (secrets-delete-alias): New defun.
1652
1653 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
1654
1655 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
1656 methods, otherwise ~/.ssh/config would be ignored.
1657
1658 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
1659
1660 * emacs-lisp/rx.el: Make it a superset of sregex.
1661 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
1662 of args, add `regex' alias.
1663 (rx-info): Add arg to distinguish head and standalone forms.
1664 (rx-check, rx-form): Pass the corresponding arg.
1665 (rx-**): Simplify.
1666 (rx-repeat): Make it work for any number of args.
1667 (rx-syntax): Make it accept syntax chars as is.
1668 * obsolete/sregex.el: Move from emacs-lisp/.
1669 * emacs-lisp/re-builder.el: Remove sregex support.
1670 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
1671
1672 2010-12-25 Eli Zaretskii <eliz@gnu.org>
1673
1674 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
1675 PRIMARY first, then the clipboard. (Bug#7699)
1676
1677 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
1678
1679 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
1680 print-number-table.
1681
1682 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
1683
1684 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
1685 .emacs.elc (Bug#7530).
1686
1687 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
1688 image spec (Bug#7480).
1689
1690 2010-12-21 Daiki Ueno <ueno@unixuser.org>
1691
1692 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
1693 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
1694 Move from lisp/.
1695
1696 2010-12-20 Leo <sdl.web@gmail.com>
1697
1698 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
1699 always be performed (Bug#7680).
1700
1701 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
1702
1703 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
1704 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
1705 mouse-region-match.
1706
1707 * color.el: Move from gnus/.
1708
1709 * vc/diff.el (diff-better-file-name): Function deleted.
1710 abbreviating file names causes problems with shell-quote-argument.
1711 (diff-no-select): Just use expand-file-name.
1712
1713 * tool-bar.el (tool-bar--image-expression): New function.
1714 (tool-bar-local-item, tool-bar--image-exp): Use it.
1715 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
1716 Use :enable instead of :visible to avoid changing the tool-bar
1717 configuration unnecessarily.
1718
1719 * info.el (info-tool-bar-map): Add separators.
1720
1721 2010-12-17 Ken Brown <kbrown@cornell.edu>
1722
1723 * loadup.el: Use version numbers in Cygwin build.
1724
1725 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
1726
1727 * ido.el (ido-file-internal): Ask for confirmation before
1728 overwriting an existing file (Bug#1238).
1729
1730 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
1731
1732 * tool-bar.el (tool-bar-setup): Add separators.
1733
1734 * menu-bar.el (featurep): Use menu-bar-separator.
1735
1736 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
1737
1738 Migrate allout encryption provisions from pgg to epg.
1739
1740 * allout.el (allout-toggle-current-subtree-encryption)
1741 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
1742 defaulting policy and other changes. Change fetch-pass to keymode-cue,
1743 for simpler universal argument interpretation.
1744 (allout-toggle-subtree-encryption): Adjust docstring to describe
1745 changed encryption provisions. Change fetch-pass to keymode-cue, for
1746 simpler universal argument interpretation. Remove provisions for
1747 handling key type and identity - they'll all be within
1748 allout-encrypt-string or epg/epg or even contained all the way in gpg.
1749 (allout-encrypt-string): Include keymode-cue, for optionally prompting
1750 for keypair recipients (universal argument > 1) and, in addition,
1751 associating the specified recipients with the outline (universal
1752 argument > 4) using a file local variable setting for
1753 'epa-file-encrypt-to'.
1754 Require epa, for recipients handling.
1755 Change how regexp filtering elements are named.
1756 Describe the problem with caching of incorrect symmetric-decryption
1757 keys.
1758 Use the epa-passphrase-callback-function, in case the user is using
1759 GnuPG v1.
1760 Support saving of the selected keypair recipients when invoked with a
1761 keymode-cue > 4.
1762 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
1763 Require 'epa.
1764 Establish epg-context with armoring and default epg-protocol.
1765 Remove all passphrase cache, verification, and hinting code.
1766 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
1767 No longer used, delete.
1768 (allout-mode): Adjust docstring to describe changed encryption
1769 provisions. Describe the problem with caching of incorrect
1770 symmetric-decryption keys.
1771 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
1772 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
1773 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
1774 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
1775 Obsolete, remove.
1776
1777 2010-12-16 Daiki Ueno <ueno@unixuser.org>
1778
1779 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
1780 key selection prompt; make 'silent as default (Bug#7487).
1781
1782 2010-12-16 Leo <sdl.web@gmail.com>
1783
1784 * eshell/eshell.el (eshell-directory-name):
1785 Use locate-user-emacs-file (Bug#7578).
1786
1787 2010-12-15 Glenn Morris <rgm@gnu.org>
1788
1789 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
1790
1791 2010-12-15 Jari Aalto <jari.aalto@cante.net>
1792 Scott Evans <gse@antisleep.com>
1793
1794 * rect.el (rectange--default-line-number-format)
1795 (rectangle-number-line-callback): New functions.
1796 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
1797
1798 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
1799
1800 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
1801 Delete unused variables.
1802 (move-to-column-force): Remove function obsolete since 21.2.
1803
1804 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
1805
1806 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
1807 (tramp-handle-insert-file-contents): Do not set permanent-local
1808 property.
1809
1810 * net/tramp-cache.el (tramp-persistency-file-name):
1811 Use `locate-user-emacs-file' if fboundp.
1812
1813 * net/tramp-sh.el (tramp-methods): Add "ksu".
1814 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
1815 method list.
1816
1817 2010-12-14 Glenn Morris <rgm@gnu.org>
1818
1819 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
1820 (find-tag-marker-ring): Declare.
1821 (js-find-symbol): Require etags.
1822
1823 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
1824 Require mail-utils.
1825 (mail-alias-file): Don't autoload. Doc fix.
1826 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
1827 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
1828 Mark as obsolete, and risky.
1829 (mail-setup): Simplify.
1830
1831 * mail/mailalias.el (build-mail-aliases): Make it interactive.
1832 * mail/sendmail.el (build-mail-aliases): Update autoload.
1833
1834 * dired.el (dired-trivial-filenames, dired-chown-program)
1835 (dired-auto-revert-buffer): Remove autoload cookies.
1836 * mail/sendmail.el (mail-recover-1): Require 'dired.
1837
1838 * dired.el (dired-subdir-switches, dired-chown-program)
1839 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
1840 Make into defcustoms.
1841 (dired-chown-program): Simplify initialization.
1842
1843 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
1844
1845 2010-12-13 Romain Francoise <romain@orebokech.com>
1846
1847 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
1848
1849 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
1850
1851 * net/netrc.el (netrc-point-at-eol): Remove the unused
1852 netrc-point-at-old and netrc-bound-and-true-p bindings.
1853 (netrc-parse): Cache the netrc contents.
1854
1855 2010-12-13 Eli Zaretskii <eliz@gnu.org>
1856
1857 * subr.el (posn-col-row): Evaluate header-line-format in the
1858 context of the POSITION window's buffer.
1859
1860 2010-12-13 Glenn Morris <rgm@gnu.org>
1861
1862 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
1863 (with-silent-modifications): Doc fixes.
1864
1865 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
1866
1867 * net/tramp.el (tramp-action-password, tramp-process-actions):
1868 Revert previous from. Use `save-restriction'.
1869
1870 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
1871
1872 * calendar/diary-lib.el (diary-list-sexp-entries):
1873 Handle case of no newline at end of file. (Bug#7536)
1874
1875 2010-12-13 Glenn Morris <rgm@gnu.org>
1876
1877 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
1878
1879 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
1880
1881 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
1882 (tramp-process-actions): Do not widen.
1883
1884 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1885 Protect buffer-modified value. (Bug#7557)
1886
1887 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
1888
1889 * log-edit.el (log-edit-changelog-entries):
1890 Regexp quote filename. (Bug#7505)
1891
1892 2010-12-13 Tom Breton <tehom@panix.com>
1893
1894 * cus-edit.el (custom-save-all):
1895 Bind print-length and print-level to nil. (Bug#7581)
1896
1897 2010-12-13 Glenn Morris <rgm@gnu.org>
1898
1899 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
1900 Run hooks to update menu contents. (Bug#7586)
1901
1902 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
1903 file names, for the sake of MS Windows. (Bug#7588)
1904
1905 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
1906
1907 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
1908 empty lines without a leading space.
1909
1910 2010-12-13 Leo <sdl.web@gmail.com>
1911
1912 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
1913 while mapping over marks (Bug#6810).
1914
1915 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
1916
1917 * image-dired.el (image-dired-db-file)
1918 (image-dired-temp-image-file, image-dired-gallery-dir)
1919 (image-dired-temp-rotate-image-file): Set default values relative
1920 to image-dired-dir (Bug#7518).
1921
1922 2010-12-13 Lawrence Mitchell <wence@gmx.li>
1923
1924 * format.el (format-decode-run-method): Pass args FROM and TO, not
1925 point-min and point-max, to shell-command-on-region (Bug#7488).
1926
1927 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
1928
1929 * frame.el (blink-cursor-mode): Make default t for ns.
1930
1931 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
1932
1933 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
1934
1935 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
1936
1937 * comint.el (comint-dynamic-list-input-ring)
1938 (comint-dynamic-complete-filename)
1939 (comint-replace-by-expanded-filename)
1940 (comint-dynamic-simple-complete)
1941 (comint-dynamic-list-filename-completions)
1942 (comint-dynamic-list-completions): Doc fix (Bug#7499).
1943
1944 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
1945 Doc fix (Bug#7471).
1946
1947 2010-12-13 Martin Rudalics <rudalics@gmx.at>
1948
1949 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
1950 (Bug#7533).
1951
1952 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
1953
1954 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
1955 (Bug#7491).
1956
1957 2010-12-13 Eli Zaretskii <eliz@gnu.org>
1958
1959 * files.el (file-relative-name): Handle UNC file names on
1960 DOS/Windows. (Bug#4674)
1961
1962 2010-12-13 Daiki Ueno <ueno@unixuser.org>
1963
1964 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
1965 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
1966 (epg-context-set-passphrase-callback): Mention that the callback
1967 is not called when used with GnuPG 2.x.
1968
1969 2010-12-13 Glenn Morris <rgm@gnu.org>
1970
1971 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
1972 Ensure ps-footer-font-size-internal is initialized.
1973 Call ps-get-page-dimensions before trying to use ps-font-for-text.
1974
1975 2010-12-13 Kenichi Handa <handa@m17n.org>
1976
1977 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
1978 within condition-case.
1979 (rmail-show-mime): Don't use condition-case.
1980 (rmail-search-mime-message): New function.
1981 (rmail-search-mime-message-function): Set to
1982 rmail-search-mime-message.
1983
1984 2010-12-13 Leo <sdl.web@gmail.com>
1985
1986 * ido.el (ido-common-initialization): New function. (bug#3274)
1987 (ido-mode): Use it.
1988 (ido-completing-read): Call it.
1989
1990 2010-12-12 Karl Fogel <kfogel@red-bean.com>
1991
1992 * bookmark.el (bookmark-name-from-full-record): Rename back to
1993 this original name from `bookmark-name-from-record' reverting part
1994 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
1995 As Drew Adams pointed out, there was no reason to cause churn for
1996 third-party callers.
1997
1998 2010-12-12 Alan Mackenzie <acm@muc.de>
1999
2000 * progmodes/cc-engine.el (c-forward-type): Before scanning a
2001 template arglist, check that the current language supports this.
2002
2003 2010-12-11 Glenn Morris <rgm@gnu.org>
2004
2005 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
2006 state of the file matches. (Bug#7544)
2007 (vc-bzr-register, vc-bzr-checkin)
2008 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
2009 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
2010
2011 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
2012
2013 2010-12-11 Karel Klíč <kklic@redhat.com>
2014
2015 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
2016
2017 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2018
2019 Derive from prog-mode, use derived-mode-p, and fix up various
2020 minor style issues in lisp/progmodes.
2021
2022 * progmodes/vhdl-mode.el (vhdl-mode):
2023 * progmodes/verilog-mode.el (verilog-mode):
2024 * progmodes/vera-mode.el (vera-mode):
2025 * progmodes/sql.el (sql-mode):
2026 * progmodes/scheme.el (scheme-mode):
2027 * progmodes/perl-mode.el (perl-mode):
2028 * progmodes/octave-inf.el (inferior-octave-mode):
2029 * progmodes/autoconf.el (autoconf-mode):
2030 * progmodes/m4-mode.el (m4-mode):
2031 * progmodes/inf-lisp.el (inferior-lisp-mode):
2032 * progmodes/idlwave.el (idlwave-mode):
2033 * progmodes/icon.el (icon-mode):
2034 * progmodes/idlw-help.el (idlwave-help-mode):
2035 * progmodes/dcl-mode.el (dcl-mode):
2036 * progmodes/idlw-shell.el (idlwave-shell-mode):
2037 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
2038 (ebrowse-member-mode, ebrowse-electric-position-mode):
2039 Use define-derived-mode.
2040
2041 * progmodes/xscheme.el (exit-scheme-interaction-mode)
2042 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
2043 (xscheme-debugger-mode-p, xscheme-send-string-1):
2044 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
2045 (tcl-load-file, tcl-restart-with-file):
2046 * progmodes/ps-mode.el (ps-run-running):
2047 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
2048 * progmodes/js.el (js--get-all-known-symbols):
2049 * progmodes/inf-lisp.el (inferior-lisp-proc):
2050 * progmodes/idlwave.el (idlwave-beginning-of-statement)
2051 (idlwave-template, idlwave-update-buffer-routine-info)
2052 (idlwave-update-current-buffer-info)
2053 (idlwave-get-routine-info-from-buffers, idlwave-choose)
2054 (idlwave-scan-class-info, idlwave-fix-keywords)
2055 (idlwave-list-buffer-load-path-shadows):
2056 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
2057 (idlwave-toolbar-remove):
2058 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
2059 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
2060 (idlwave-shell-menu-def):
2061 * progmodes/idlw-complete-structtag.el
2062 (idlwave-prepare-structure-tag-completion):
2063 * progmodes/gud.el (gud-set-buffer):
2064 * progmodes/f90.el (f90-backslash-not-special):
2065 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
2066
2067 * progmodes/xscheme.el (xscheme-start)
2068 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
2069 * progmodes/which-func.el (which-function):
2070 * progmodes/vhdl-mode.el (vhdl-set-style):
2071 * progmodes/verilog-mode.el (verilog-set-compile-command)
2072 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
2073 (verilog-set-define, verilog-auto-reeval-locals):
2074 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
2075 * progmodes/simula.el (simula-mode):
2076 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
2077 * progmodes/python.el (python-check, python-mode):
2078 * progmodes/prolog.el (prolog-mode-variables):
2079 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
2080 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
2081 * progmodes/delphi.el (delphi-mode):
2082 * progmodes/cc-styles.el (c-setup-paragraph-variables):
2083 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
2084 (c-font-lock-init): Move make-local-variable to their setq.
2085
2086 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
2087 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
2088 make-local-hook.
2089 * progmodes/sh-script.el (sh-require-final-newline): Remove.
2090 (sh-set-shell): Don't set require-final-newline since it's already done
2091 by prog-mode.
2092 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
2093 since we never set it.
2094 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
2095 Use read-string and standard prompt.
2096 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
2097 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
2098 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
2099 (meta-common-mode-map): Rename from meta-mode-map.
2100 Remove C-m binding, which is a user preference, not mode specific.
2101 (meta-common-mode): New major mode; replace meta-common-initialization.
2102 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
2103 around with font-lock.
2104 * progmodes/etags.el (select-tags-table-mode):
2105 Derive from special-mode.
2106 * progmodes/octave-mod.el (octave-mode):
2107 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
2108 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
2109 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
2110 Let define-derived-mode do its job.
2111 * progmodes/cpp.el (cpp-edit-mode-map):
2112 Move initialization into declaration.
2113 (cpp-edit-mode): Use define-derived-mode.
2114 (cpp-edit-load): Use derived-mode-p.
2115 * progmodes/mixal-mode.el (mixal-mode):
2116 * progmodes/f90.el (f90-mode):
2117 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
2118 require-final-newline since prog-mode does it already.
2119 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
2120 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
2121 * progmodes/antlr-mode.el: Require cc-mode upfront.
2122 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
2123 the declaration.
2124 (antlr-directory-dependencies, antlr-show-makefile-rules):
2125 Use derived-mode-p.
2126 (antlr-language-option): Don't assume point-min==1.
2127 (antlr-mode): Use define-derived-mode.
2128 * progmodes/ada-mode.el: Use derived-mode-p.
2129 (ada-mode): Use define-derived-mode.
2130 Use hack-local-variables-hook.
2131
2132 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2133
2134 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
2135 (texinfo-mode): Don't disable adaptive-fill-mode.
2136 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
2137 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
2138 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
2139 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
2140 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
2141 (texinfo-insert-@quotation, texinfo-insert-@samp)
2142 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
2143 (texinfo-insert-@uref): Use define-skeleton.
2144 (texinfo-insert-@-with-arg): Delete.
2145
2146 2010-12-10 Eli Zaretskii <eliz@gnu.org>
2147
2148 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
2149 nil, do quote archive member names. (Bug#6144)
2150
2151 2010-12-10 Glenn Morris <rgm@gnu.org>
2152
2153 * files.el (diff-no-select): Declare.
2154
2155 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
2156 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
2157
2158 * comint.el (comint-input-ring-file-name): Doc fix.
2159
2160 2010-12-09 Eli Zaretskii <eliz@gnu.org>
2161
2162 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
2163 New functions.
2164 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
2165 Use them instead of `nil' and `>', respectively.
2166 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
2167 instead of `nil'.
2168 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
2169 and menu-bar-positive-p instead of `nil' and `>', respectively.
2170 (Bug#1077)
2171
2172 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2173
2174 * whitespace.el (whitespace-newline-mode): Code fix.
2175
2176 2010-12-09 Glenn Morris <rgm@gnu.org>
2177
2178 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
2179 Rename functions without commas, update callers.
2180
2181 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
2182
2183 * whitespace.el (whitespace-cleanup-region):
2184 Clean up spaces before tabs. (Bug#7582)
2185
2186 2010-12-08 Karl Fogel <kfogel@red-bean.com>
2187
2188 * bookmark.el: Adjust parameter names and doc strings to resolve
2189 confusion over whether "bookmark" meant a bookmark name or a
2190 bookmark record. Along the way, shorten one function's name for
2191 similar reasons. (Issue #7548)
2192 (bookmark-name-from-record): New name for
2193 `bookmark-name-from-full-record'. All callers changed.
2194 (bookmark-get-bookmark, bookmark-get-bookmark-record)
2195 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
2196 (bookmark-get-annotation, bookmark-set-annotation)
2197 (bookmark-get-filename, bookmark-set-filename)
2198 (bookmark-get-position, bookmark-set-position)
2199 (bookmark-get-front-context-string, bookmark-set-front-context-string)
2200 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
2201 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
2202 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
2203 Rename `bookmark' parameter to `bookmark-name-or-record', to
2204 clearly show its role, and shorten or adjust doc strings accordingly.
2205 (bookmark-set-name): Same, and pass the parameter directly to
2206 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
2207 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
2208 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
2209 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
2210 and in some cases shorten doc string accordingly.
2211 (bookmark-rename): Change `old' and `new' parameters to `old-name'
2212 and `new-name', and adjust an internal variable to avoid confusion.
2213 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
2214 parameter in doc string.
2215
2216 2010-12-08 Glenn Morris <rgm@gnu.org>
2217
2218 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
2219 from gdb's history file. (Bug#7575)
2220
2221 * mail/emacsbug.el (report-emacs-bug):
2222 Try to handle some other mail clients.
2223
2224 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2225
2226 * files.el (dir-locals-collect-variables): Don't let errors stop us.
2227 Use string-prefix-p.
2228 (file-name-version-regexp): New var.
2229 (file-name-sans-versions):
2230 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
2231 (jka-compr-get-compression-info): Use dolist.
2232 (jka-compr-compression-info-list): Don't bother specifying
2233 version/backup regexps.
2234
2235 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
2236
2237 * simple.el (just-one-space): Make argument n default to 1 if
2238 omitted.
2239
2240 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2241
2242 * electric.el (electric-indent-post-self-insert-function):
2243 Delete trailing newlines even if we don't reindent.
2244
2245 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2246
2247 * minibuffer.el (completion-at-point): Remove the `arg'.
2248 * bindings.el (complete-symbol): Move back from minibuffer.el.
2249
2250 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2251
2252 * simple.el (just-one-space): Delete newlines for negative arg.
2253
2254 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2255
2256 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
2257 (ansi-color-filter-apply): Simplify.
2258 (ansi-color-apply): Use `font-lock-face' rather than `face'.
2259
2260 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
2261
2262 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
2263
2264 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
2265
2266 * dired.el (dired-use-ls-dired): Set default to a special
2267 "unspecified" value.
2268 (dired-insert-directory): When called the first time, check
2269 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
2270
2271 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
2272
2273 * replace.el: Add "collect" feature to occur.
2274 (occur-collect-regexp-history): New var.
2275 (occur-read-primary-args): Return a replace string for nlines,
2276 if needed.
2277 (occur): Extend the meaning of nlines.
2278
2279 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2280
2281 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
2282 (which-func-update-1): Distinguish symbols from strings.
2283 (which-function): Stay within 80 columns.
2284
2285 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
2286
2287 * subr.el (with-demoted-errors): Distinguish symbols from strings.
2288
2289 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
2290 Improve docstring.
2291 (comment-style): Use comment-styles's docs to describe values.
2292
2293 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
2294
2295 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
2296 and ns-show-prefs (Bug#7535).
2297
2298 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
2299 bindings (Bug#7535).
2300
2301 2010-12-03 Glenn Morris <rgm@gnu.org>
2302
2303 * nxml/nxml-mode.el: Require rng-nxml.
2304 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
2305 Remove declarations.
2306
2307 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
2308 * nxml/rng-nxml.el, nxml/rng-valid.el:
2309 Remove leading `*' from defcustom docs.
2310
2311 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
2312 (normal-top-level-add-to-load-path, tty-handle-args):
2313 Convert comments to basic doc-strings.
2314
2315 * net/browse-url.el (browse-url-url-at-point)
2316 (browse-url-default-browser): Remove autoload cookies.
2317
2318 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
2319 Remove more undefined cl functions.
2320
2321 * vc/diff.el (diff-sentinel): Make new arguments optional.
2322 * ibuf-ext.el (diff-sentinel): Update declaration.
2323
2324 2010-12-03 Daiki Ueno <ueno@unixuser.org>
2325
2326 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
2327 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
2328 (epg-context-set-passphrase-callback): Mention that the callback
2329 is not called when used with GnuPG 2.x.
2330
2331 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
2332
2333 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
2334 (tramp-file-name-port): Check also for `tramp-default-port'.
2335 (tramp-get-connection-name): New defun.
2336 (tramp-get-connection-process): Use it.
2337 (tramp-debug-message): Extend function exclude list.
2338 (tramp-drop-volume-letter): Fix doc string.
2339
2340 * net/tramp-cmds.el: Remove solved todo item.
2341
2342 * net/tramp-efs.el:
2343 * net/tramp-ftp.el:
2344 * net/tramp-gvfs.el:
2345 * net/tramp-gw.el:
2346 * net/tramp-imap.el:
2347 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
2348 and `tramp-default-user-alist', respectively.
2349
2350 * net/tramp-gw.el (tramp-gw-open-connection):
2351 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
2352
2353 * net/tramp-imap.el (tramp-imap-make-iht): Use just
2354 `tramp-file-name-port'.
2355
2356 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
2357 and "psftp". Exchange "%k" marker with options.
2358 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
2359 Compute size of link target.
2360 (tramp-do-copy-or-rename-file-out-of-band). Move setting of
2361 `tramp-current-*' up due to gateway methods. Optimze computing of
2362 copy arguments. Use `tramp-get-connection-name' and
2363 `tramp-get-connection-buffer'. Improve debug messages.
2364 (tramp-compute-multi-hops): Remove port determination.
2365 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
2366
2367 * net/trampver.el: Update release number.
2368
2369 2010-12-02 Glenn Morris <rgm@gnu.org>
2370
2371 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
2372 Avoid infinite loop over windows. (Bug#7492)
2373
2374 * progmodes/flymake.el (flymake-check-file-limit):
2375 Allow nil to mean "no limit".
2376 (flymake-check-patch-master-file-buffer): Update for above change.
2377 Allow a .tex file-name extension to be optional.
2378 (flymake-master-tex-init): Also match \include statements.
2379
2380 2010-11-30 Sam Steingold <sds@gnu.org>
2381
2382 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
2383 (nxml-parent-document-set): A function to set `nxml-parent-document'.
2384 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
2385 (nxml-mode-hook): Remove `defcustom' (auto-defined by
2386 define-derived-mode').
2387 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
2388 users who want to call `nxml-parent-document-set'.
2389
2390 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
2391
2392 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
2393 stand-alone lines, since that is handled by log-edit-match-to-eoh
2394 (Bug#6465).
2395
2396 2010-11-27 Eduard Wiebe <usenet@pusto.de>
2397
2398 * dired.el (dired-get-filename): Replace backslashes with slashes
2399 in file names on MS-Windows, needed by `locate'. (Bug#7308)
2400 * locate.el (locate-default-make-command-line): Don't consider
2401 drive letter and root directory part of
2402 `directory-listing-before-filename-regexp'. (Bug#7308)
2403 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
2404
2405 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2406
2407 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
2408 of :smie-open/close-alist.
2409 (smie-next-sexp): Make it accept a "start token" as argument.
2410 (smie-indent-keyword): Be careful not to misidentify tokens that span
2411 more than one line, as empty lines. Add argument `token'.
2412
2413 2010-11-27 Kenichi Handa <handa@m17n.org>
2414
2415 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
2416 multipart subtypes, insert all as usual.
2417
2418 * mail/rmail.el: Require rfc2047.
2419
2420 2010-11-27 Kenichi Handa <handa@m17n.org>
2421
2422 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
2423 (rmail-mime-entity-disposition)
2424 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
2425 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
2426 (rmail-mime-save): Handle the case that the button's `data' is a
2427 MIME entity.
2428 (rmail-mime-insert-text): New function.
2429 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
2430 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
2431 (rmail-mime-insert-bulk): New function mostly copied from the old
2432 rmail-mime-bulk-handler.
2433 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
2434 (rmail-mime-process-multipart): New function mostly copied from
2435 the old rmail-mime-multipart-handler.
2436 (rmail-mime-show): Just call rmail-mime-process.
2437 (rmail-mime-process): New function mostly copied from the old
2438 rmail-mime-show.
2439 (rmail-mime-insert-multipart, rmail-mime-parse)
2440 (rmail-mime-insert, rmail-show-mime)
2441 (rmail-insert-mime-forwarded-message)
2442 (rmail-insert-mime-resent-message): New functions.
2443 (rmail-insert-mime-forwarded-message-function): Set to
2444 rmail-insert-mime-forwarded-message.
2445 (rmail-insert-mime-resent-message-function): Set to
2446 rmail-insert-mime-resent-message.
2447
2448 * mail/rmailsum.el: Require rfc2047.
2449 (rmail-header-summary): Handle multiline Subject: field.
2450 (rmail-summary-line-decoder): Change the default to
2451 rfc2047-decode-string.
2452
2453 * mail/rmail.el (rmail-enable-mime): Change the default to t.
2454 (rmail-mime-feature): Change the default to `rmailmm'.
2455 (rmail-quit): Delete the specifal code for rmail-enable-mime.
2456 (rmail-display-labels): Likewise.
2457 (rmail-show-message-1): Check rmail-enable-mime, and use
2458 rmail-show-mime-function for a MIME message. Decode the headers
2459 according to RFC2047.
2460
2461 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2462
2463 * progmodes/which-func.el (which-func-imenu-joiner-function):
2464 Return a string, as expected.
2465 (which-function-mode): Make sure we stop any previous timer before
2466 starting a new one.
2467
2468 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
2469
2470 * net/tramp.el (tramp-default-method-alist)
2471 (tramp-default-user-alist, tramp-default-proxies-alist):
2472 Adapt custom options type. (Bug#7445)
2473
2474 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
2475
2476 * progmodes/python.el: Add Ipython support (Bug#5390).
2477 (python-shell-prompt-alist)
2478 (python-shell-continuation-prompt-alist): New options.
2479 (python--set-prompt-regexp): New function.
2480 (inferior-python-mode, run-python, python-shell):
2481 Require ansi-color. Use python--set-prompt-regexp to set the comint
2482 prompt based on the Python interpreter.
2483 (python--prompt-regexp): New var.
2484 (python-check-comint-prompt)
2485 (python-comint-output-filter-function): Use it.
2486 (run-python): Use a pipe (Bug#5694).
2487
2488 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
2489
2490 * progmodes/python.el (run-python): Doc fix.
2491 (python-keep-current-directory-in-path): New var (Bug#7454).
2492
2493 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
2494
2495 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
2496 Prompt user before actually printing.
2497
2498 2010-11-27 Glenn Morris <rgm@gnu.org>
2499
2500 * startup.el (package-enable-at-startup, package-initialize):
2501 Remove unnecessary declarations.
2502
2503 2010-11-27 Eli Zaretskii <eliz@gnu.org>
2504
2505 * international/characters.el (glyphless-char-display-control):
2506 Exclude newline and TAB from the c0-control group.
2507
2508 2010-11-27 Glenn Morris <rgm@gnu.org>
2509
2510 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
2511 (expand-mail-aliases): Remove unnecessary autoload.
2512
2513 * allout.el (allout-command-prefix, allout-mode-map): Declare.
2514
2515 * shell.el (shell-dir-cookie-re): Move definition before use.
2516
2517 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
2518 Replace undefined CL functions.
2519
2520 2010-11-26 Eli Zaretskii <eliz@gnu.org>
2521
2522 * simple.el (prog-mode): Set bidi-paragraph-direction to
2523 left-to-right.
2524
2525 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
2526
2527 2010-11-26 Glenn Morris <rgm@gnu.org>
2528
2529 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
2530 diary-outlook-formats can be sensitive to calendar-date-style.
2531 (diary-outlook-formats): Simplify the default setting.
2532 (diary-from-outlook-internal): Pass subject and body as arguments.
2533 Use dolist rather than dotimes. Don't save the diary buffer.
2534 (diary-from-outlook-gnus, diary-from-outlook-rmail):
2535 Pass subject and body as explicit arguments to the -internal function.
2536
2537 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
2538
2539 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
2540 parsing them. This makes mailto:...?subject=foo\nbar work.
2541
2542 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2543
2544 * vc/diff.el (diff): Fix last change.
2545
2546 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
2547
2548 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
2549 (pcase--dontcare-upats): New var.
2550 (pcase-let, pcase-let*): Generate better code.
2551 Accept the same bodies as `let'.
2552 (pcase-dolist): New macro.
2553 (pcase--trivial-upat-p): New helper function.
2554 (pcase--expand): Strip leading "(let nil" if any.
2555
2556 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
2557
2558 * mail/mailclient.el (browse-url): Require.
2559 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
2560 use the external browser function to send the mail (bug#7469).
2561
2562 * net/browse-url.el (browse-url-browser-function): Revert the
2563 default back to the previous value, since the new value broke
2564 mailclient.el.
2565 (browse-url-mailto-function): New variable for mailto: URLs.
2566 (browse-url): Use the new variable for mailto: URLs.
2567
2568 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
2569
2570 * eshell/esh-cmd.el (eshell-parse-command):
2571 * eshell/esh-arg.el (eshell-parse-arguments):
2572 * eshell/em-script.el (eshell-source-file):
2573 Use with-silent-modifications.
2574
2575 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
2576
2577 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
2578 for a merge location.
2579
2580 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
2581 (vc-bzr-merge-branch): Always prompt.
2582 (vc-bzr-async-command): Use the full branch filename.
2583
2584 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
2585
2586 * shell.el (shell): Use current-buffer by default if it's already
2587 a shell mode buffer and its process is dead.
2588 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
2589
2590 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
2591
2592 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
2593 Mention that the keywords should be comma separated.
2594
2595 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
2596
2597 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
2598 Accept optional prefix arg meaning to prompt for a command.
2599 (vc-update): Use vc-BACKEND-pull if available. Accept optional
2600 prefix arg meaning to prompt for a command.
2601 (vc-pull): Alias for vc-update.
2602
2603 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
2604 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
2605 (vc-bzr-merge-branch): New functions, implementing merge-branch
2606 and pull operations.
2607
2608 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
2609
2610 * Makefile.in: Fix up last merge.
2611
2612 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
2613 (diff-sentinel): Get them as arguments instead.
2614 (diff-old-file, diff-new-file, diff-extra-args): Remove.
2615 (diff-file-local-copy, diff-better-file-name): New funs.
2616 (diff-no-select): Rename from diff-into-buffer.
2617 Support buffers additionally to files. Move `buf' arg. Don't display buf.
2618 Prefer closures to buffer-local variables.
2619 (diff): Adjust accordingly.
2620 (diff-buffer-with-file): Move from files.el.
2621 * files.el (diff-buffer-with-file): Move to vc/diff.el.
2622 (diff-buffer-internal): Remove.
2623 (diff-buffer-buffer): Remove.
2624 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
2625 the buffer name used, and so as not to mess up windows and frames.
2626
2627 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
2628
2629 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
2630 (diff-buffer-internal): New function extracted from diff-buffer-with-file
2631 (diff-buffer-with-file): Use it.
2632 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
2633 (diff): Use it.
2634
2635 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
2636
2637 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
2638 \ref's or \pageref's value as default instead of initial input.
2639
2640 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
2641
2642 * files.el (backup-by-copying-when-mismatch): The default value is
2643 now t.
2644
2645 * startup.el (normal-top-level):
2646 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
2647 `backup-by-copying-when-mismatch'.
2648
2649 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
2650
2651 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
2652
2653 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2654
2655 * progmodes/python.el (python-font-lock-keywords):
2656 Highlight top-level augmented assignments (Bug#6445).
2657
2658 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
2659
2660 * term/ns-win.el (ns-right-control-modifier)
2661 (ns-right-command-modifier): Defvar them.
2662
2663 * cus-start.el (all): Add ns-right-control-modifier and
2664 ns-right-command-modifier (Bug#7458).
2665
2666 2010-11-20 Glenn Morris <rgm@gnu.org>
2667
2668 * emacs-lisp/authors.el (authors-ignored-files)
2669 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
2670
2671 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
2672
2673 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
2674 (report-emacs-bug-parse-query-results)
2675 (report-emacs-bug-create-existing-bugs-buffer): Pass through
2676 keywords used for querying the bug database to show them in the
2677 existing bugs buffer.
2678
2679 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
2680
2681 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
2682
2683 * info.el (info-tool-bar-map): Add some :vert-only keywords.
2684
2685 2010-11-20 Eli Zaretskii <eliz@gnu.org>
2686
2687 * international/characters.el (glyphless-char-display-control):
2688 Make it a defcustom, with update-glyphless-char-display as its
2689 :set attribute.
2690 (top level): Don't call update-glyphless-char-display.
2691
2692 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
2693
2694 Sync with Tramp 2.2.0.
2695
2696 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
2697 `file-remote-p' (due to compatibility).
2698
2699 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
2700 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
2701
2702 * net/trampver.el: Update release number.
2703
2704 2010-11-20 Eli Zaretskii <eliz@gnu.org>
2705
2706 * faces.el (glyphless-char): Define value for `pc'.
2707
2708 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
2709
2710 Implemented a bug querying mechanism.
2711 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
2712 (report-emacs-bug-create-existing-bugs-buffer)
2713 (report-emacs-bug-parse-query-results)
2714 (report-emacs-bug-query-existing-bugs): New functions.
2715
2716 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
2717
2718 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
2719 a \ref{} or \pageref{} macro, then use its value as initial input.
2720
2721 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
2722
2723 * calc/calc-units.el (math-build-units-table-buffer):
2724 calc/README: Mention that the TeX specific units won't use the
2725 `tex' prefix in TeX mode.
2726 calc/calc-lang.el (math-variable-table): Don't use the `tex'
2727 prefix for units in TeX mode.
2728
2729 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2730
2731 * simple.el (kill-new, kill-append, kill-region):
2732 * comint.el (comint-kill-region): Make the yank-handler argument
2733 obsolete.
2734
2735 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2736
2737 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
2738 that are both openers (resp. closers) and something else.
2739 (smie-grammar): Loosen definition of valid values.
2740 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
2741 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
2742 (smie-indent-after-keyword): Adjust users.
2743 (smie-indent-keyword): Don't indent empty lines.
2744
2745 * vc-hg.el (vc-hg-program): New var.
2746 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
2747 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
2748
2749 2010-11-18 Glenn Morris <rgm@gnu.org>
2750
2751 * emacs-lisp/autoload.el (autoload-find-destination): The function
2752 coding-system-eol-type may return non-numeric values. (Bug#7414)
2753
2754 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
2755
2756 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
2757
2758 2010-11-18 Eli Zaretskii <eliz@gnu.org>
2759
2760 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
2761
2762 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
2763
2764 * textmodes/picture.el (picture-mouse-set-point): Don't use
2765 posn-col-row; explicitly compute the motion based on the posn at
2766 the window-start (Bug#7390).
2767
2768 2010-11-18 Glenn Morris <rgm@gnu.org>
2769
2770 * novice.el (disabled-command-function):
2771 Fix 2009-11-15 change. (Bug#7384)
2772
2773 2010-11-18 Glenn Morris <rgm@gnu.org>
2774
2775 * calendar/calendar.el (diary-iso-date-forms): Make elements
2776 mutually exclusive. (Bug#7377)
2777
2778 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2779
2780 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
2781 when filling the remaining "unconstrained" values.
2782
2783 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2784
2785 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
2786 safety predicate.
2787
2788 * files.el (safe-local-variable-p): Gracefully handle errors.
2789
2790 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
2791 Use smie-indent-virtual when indenting relative to an opener.
2792 (smie-rule-separator): Use smie-rule-parent.
2793 (smie-indent-keyword): Consult rules, even for openers at bol.
2794 (smie-indent-comment-close): Try to align closer's content.
2795
2796 2010-11-18 Glenn Morris <rgm@gnu.org>
2797
2798 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
2799
2800 2010-11-18 Glenn Morris <rgm@gnu.org>
2801
2802 * printing.el (pr-menu-bind): Doc fix.
2803
2804 * speedbar.el (speedbar-toggle-images): Doc fix.
2805
2806 * progmodes/python.el (python-shell): Doc fix.
2807
2808 * wid-edit.el (widget-field-use-before-change)
2809 (widget-use-overlay-change): Doc fixes.
2810
2811 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2812
2813 Minor cleanup to improve style.
2814 * textmodes/rst.el (rst-update-section): Use point-marker.
2815 (rst-get-decoration): Eliminate unneeded assignment.
2816 (rst-promote-region, rst-straighten-decorations)
2817 (rst-section-tree, rst-adjust): Use point-marker.
2818 (rst-toc-mode-mouse-goto): Avoid setq.
2819 (rst-shift-region-guts, rst-shift-region-left)
2820 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
2821 (rst-convert-bullets-to-enumeration): Use copy-marker.
2822
2823 * minibuffer.el (completion-fail-discreetly): New var.
2824 (completion--do-completion): Use it.
2825
2826 * electric.el (electric-pair-pairs): New var.
2827 (electric-pair-post-self-insert-function): Use it.
2828 (electric-layout-post-self-insert-function): Don't insert a before
2829 newline unless it's actually needed.
2830
2831 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2832
2833 * progmodes/python.el (run-python): Explain why we remove the current
2834 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
2835
2836 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
2837
2838 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
2839
2840 * progmodes/octave-mod.el: Rely on elecric-*-modes.
2841 (octave-mode-map): Don't bind ;, SPC, and LF.
2842 (octave-auto-indent, octave-auto-newline): Remove.
2843 (electric-layout-rules): Declare.
2844 (octave-mode): Set electric-layout-rules.
2845 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
2846 (octave-reindent-then-newline-and-indent, octave-electric-semi)
2847 (octave-electric-space): Remove.
2848
2849 * electric.el (electric-layout-mode): New minor mode.
2850 (electric--after-char-pos): New function.
2851 (electric-indent-post-self-insert-function): Use it.
2852 (electric-layout-rules): New var.
2853 (electric-layout-post-self-insert-function): New function.
2854 (electric-indent-mode): Make them interact better.
2855
2856 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2857
2858 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
2859 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
2860 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
2861
2862 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
2863
2864 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
2865 Make sure to check inside the word (Bug#6761).
2866
2867 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
2868
2869 * startup.el (command-line): If the cursorColor resource is set,
2870 change the cursor face-spec (Bug#7392).
2871
2872 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
2873
2874 The main features of the following allout.el changes are:
2875 - implement user customization for the allout key bindings
2876 - add a customization control by which the user can inhibit use of
2877 a trailing Ctrl-H, so by default it's reserved for use with
2878 describe-prefix-bindings
2879 - adapt to new version of called-interactively-p, while
2880 maintaining backwards compatibility with old version
2881 - fix hotspot navigation so i works properly with meta-modified keys
2882
2883 * allout.el (allout-keybindings, allout-bind-keys)
2884 (allout-keybindings-binding, allout-prefixed-keybindings)
2885 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
2886 (allout-keybindings-list, allout-mode-map-adjustments)
2887 (allout-setup-mode-map): Establish allout-mode keymaps as user
2888 customizable settings, and also establish a customizable setting which
2889 regulates whether or not a trailing control-h is reserved for use with
2890 describe-prefix-bindings - and inhibit it by default, so that control-h
2891 *is* reserved for describe-prefix-bindings unless the user changes it.
2892
2893 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
2894 and accurately between modified and unmodified events, and handle
2895 modified events more comprehensively.
2896
2897 * allout.el (allout-substring-no-properties):
2898 Alias to use or provide version of `substring-no-properties'.
2899 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
2900
2901 * allout.el (allout-next-single-char-property-change):
2902 Alias to use or provide version of `next-single-char-property-change'.
2903 (allout-annotate-hidden, allout-hide-by-annotation):
2904 Use `allout-next-single-char-property-change'.
2905
2906 * allout.el (allout-select-safe-coding-system):
2907 Alias to use or provide version of `select-safe-coding-system'.
2908 (allout-toggle-subtree-encryption):
2909 Use `allout-select-safe-coding-system'.
2910
2911 * allout.el (allout-set-buffer-multibyte):
2912 Alias to use or provide version of `set-buffer-multibyte'.
2913 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
2914
2915 * allout.el (allout-called-interactively-p): Macro for using the
2916 different versions of called-interactively-p identically, depending on
2917 the subroutine's argument signature.
2918 (allout-back-to-current-heading, allout-beginning-of-current-entry):
2919 Use `(interactive "p")' instead of `(called-interactively-p)'.
2920
2921 * allout.el (allout-init, allout-ascend, allout-end-of-level)
2922 (allout-previous-visible-heading, allout-forward-current-level)
2923 (allout-backward-current-level, allout-show-children):
2924 Use `allout-called-interactively-p' instead of `called-interactively-p'.
2925
2926 * allout.el (allout-before-change-handler):
2927 Exempt edits to the (overlaid) character after the allout outline
2928 bullet from edit confirmation prompt.
2929
2930 * allout.el (allout-add-resumptions):
2931 Ensure that it respects correct buffer for keybindings.
2932
2933 * allout.el (allout-beginning-of-line):
2934 Use `allout-previous-single-char-property-change' alias for the sake of
2935 diverse compatibility.
2936
2937 * allout.el (allout-end-of-line):
2938 Use `allout-mark-active-p' to encapsulate respect for mark activity.
2939
2940 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
2941
2942 * frame.el (frame-notice-user-settings): Don't clobber other
2943 user-set parameters when calling face-set-after-frame-default in
2944 response to background-color parameter (Bug#7373).
2945
2946 2010-11-13 Eli Zaretskii <eliz@gnu.org>
2947
2948 * international/characters.el (glyphless-char-display-control):
2949 Rename from glyphless-char-control; all users changed. Doc fix.
2950 Signal an error if display method is not one of the recognized
2951 symbols.
2952
2953 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
2954
2955 * net/tramp-compat.el (tramp-compat-line-beginning-position)
2956 (tramp-compat-line-end-position): Remove them.
2957
2958 * net/tramp.el (tramp-parse-rhosts-group)
2959 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
2960 (tramp-parse-hosts-group, tramp-parse-passwd-group)
2961 (tramp-parse-netrc-group, tramp-parse-putty-group)
2962 * net/tramp-cmds.el (tramp-append-tramp-buffers)
2963 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
2964 (tramp-sh-handle-file-selinux-context)
2965 (tramp-sh-handle-file-name-all-completions)
2966 (tramp-sh-handle-insert-directory)
2967 (tramp-sh-handle-expand-file-name, tramp-find-executable)
2968 (tramp-wait-for-output, tramp-send-command-and-read)
2969 * net/tramp-smb.el (tramp-smb-read-file-entry)
2970 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
2971
2972 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
2973 `point-at-bol'.
2974 (tramp-remote-coding-commands): Add an alternative using "base64
2975 -d -i". This is needed for older base64 versions from GNU
2976 coreutils. Reported by Klaus Reichl
2977 <Klaus.Reichl@thalesgroup.com>.
2978
2979 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
2980
2981 * simple.el (count-words-region): New function.
2982
2983 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
2984
2985 * shell.el (shell-dir-cookie-re): New custom variable.
2986 (shell-dir-cookie-watcher): New function.
2987
2988 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
2989 and compilation-mode (bug#7350).
2990
2991 * vc/smerge-mode.el (smerge-refine): Choose better default part to
2992 highlight when one of them is empty.
2993
2994 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
2995 trailing space.
2996 (skeleton-newline): New function.
2997 (skeleton-internal-1): Use it.
2998
2999 * simple.el (open-line): `newline' may strip trailing space.
3000
3001 2010-11-12 Kevin Ryde <user42@zip.com.au>
3002
3003 * international/mule-cmds.el (princ-list): Use mapc.
3004
3005 2010-11-12 Glenn Morris <rgm@gnu.org>
3006
3007 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
3008 Use it to replace all instances of "*Compile-Log*"
3009
3010 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
3011
3012 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
3013 indentation specs.
3014
3015 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3016
3017 * progmodes/modula2.el: Use SMIE and skeleton.
3018 (m2-mode-syntax-table): (*..*) can be nested.
3019 Add //...\n. Fix paren syntax.
3020 (m2-mode-map): Remove LF and TAB bindings.
3021 (m2-indent): Add safety property.
3022 (m2-smie-grammar): New var.
3023 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
3024 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
3025 (m2-mode): Use define-derived-mode.
3026 (m2-newline, m2-tab): Remove.
3027 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
3028 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
3029 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
3030 (m2-import): Use define-skeleton.
3031
3032 2010-11-11 Glenn Morris <rgm@gnu.org>
3033
3034 * obsolete/lucid.el: Don't warn about any CL functions in this file.
3035
3036 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
3037 (ls-lisp-verbosity): Add custom :set-after property.
3038 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
3039 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
3040 (ls-lisp-insert-directory): Update caller.
3041 (ls-lisp-set-options): New function.
3042 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
3043 Doc fix.
3044
3045 * play/landmark.el (lm-prompt-for-move):
3046 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
3047
3048 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
3049
3050 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
3051 (idlwave-study-twins): Prefix dynamic local variable `name'.
3052 (idlwave-routine-twin-compare): Update for above change.
3053
3054 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
3055 Prefix dynamic local variables `name', `kwd', and `link'.
3056 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
3057 * progmodes/idlw-complete-structtag.el
3058 (idlwave-complete-structure-tag-help):
3059 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
3060 (idlwave-complete-sysvar-tag-help)
3061 (idlwave-complete-class-structure-tag-help):
3062 Update for above name changes.
3063
3064 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3065
3066 * net/browse-url.el (browse-url-browser-function): Change the
3067 default to use `browse-url-mail' on mailto: URLs.
3068
3069 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
3070
3071 * emacs-lisp/package.el (package-read-all-archive-contents):
3072 Reset package-archive-contents to nil before re-reading.
3073
3074 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
3075
3076 * textmodes/flyspell.el (flyspell-word): Do not re-check words
3077 already found as misspellings by (flyspell-large-region), just
3078 do highlighting (bug#7322).
3079
3080 2010-11-10 Glenn Morris <rgm@gnu.org>
3081
3082 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
3083
3084 * emulation/edt.el (edt-with-position): New macro.
3085 (edt-find-forward, edt-find-backward, edt-find-next-forward)
3086 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
3087 (edt-paragraph-forward, edt-paragraph-backward): Use it.
3088
3089 * emulation/tpu-extras.el (tpu-with-position): New macro.
3090 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
3091
3092 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
3093
3094 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
3095 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
3096 (texinfo-master-menu, texinfo-insert-node-lines)
3097 (texinfo-multiple-files-update):
3098 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
3099 Use line-beginning-position.
3100
3101 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
3102 No recent Emacs supports system-type `emx'.
3103
3104 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
3105 (ada-command-separator, ada-default-prj-properties)
3106 (ada-find-any-references): Update for above name change.
3107
3108 * dirtrack.el (dirtrack-directory-function)
3109 (dirtrack-canonicalize-function):
3110 * filecache.el (file-cache-completion-ignore-case)
3111 (file-cache-case-fold-search, file-cache-ignore-case):
3112 * term.el (serial-port-is-file-p): Cosmetic change.
3113
3114 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
3115 Remove non-existent `windows-95' system-type.
3116 * dired.el (dired-chown-program): Remove non-existent `linux'
3117 system-type.
3118
3119 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
3120 (ping-program-options): Remove non-existent `linux' system-type.
3121
3122 * startup.el (package-initialize): Update declaration.
3123
3124 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
3125 (ls-lisp-handle-switches): Use time-less-p.
3126 (ls-lisp-format-time): Use float-time.
3127
3128 * textmodes/remember.el (remember-time-to-seconds): Remove.
3129 (remember-store-in-mailbox): Use float-time.
3130
3131 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
3132
3133 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
3134 never a real function.
3135 (with-no-warnings): Remove compat stub, now unused.
3136 (time-less-p): Doc fix.
3137 (time-to-number-of-days): Simplify.
3138
3139 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
3140 Remove.
3141 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
3142 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
3143 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
3144 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
3145 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
3146
3147 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
3148 (eshell-shuffle-files, eshell-shorthand-tar-command)
3149 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
3150 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
3151 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
3152 Prefix dynamic local variable `matches'.
3153
3154 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
3155 Prefix dynamic local variable `skeleton'.
3156
3157 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
3158
3159 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
3160 in mail buffer; make yank-action always a command that yanks original
3161 buffer.
3162
3163 2010-11-09 Glenn Morris <rgm@gnu.org>
3164
3165 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
3166
3167 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3168
3169 * minibuffer.el (minibuffer-completion-help): Specify the end of the
3170 completion field (bug#7211).
3171
3172 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
3173 Fix handling of backslash escapes.
3174 (python-quote-syntax): Adjust accordingly.
3175
3176 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
3177
3178 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
3179 (vc-mtn-workfile-branch): Adjust to new output format.
3180
3181 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3182
3183 * international/mule-cmds.el (princ-list): Mark as obsolete.
3184
3185 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3186
3187 * emacs-lisp/smie.el: New package.
3188
3189 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
3190
3191 * files.el (backup-by-copying-when-mismatch):
3192 Set `permanent-local' property.
3193
3194 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
3195 `permanent-local' property for `backup-by-copying-when-mismatch'.
3196
3197 2010-11-09 Eli Zaretskii <eliz@gnu.org>
3198
3199 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
3200
3201 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
3202
3203 * progmodes/verilog-mode.el (verilog-insert-one-definition)
3204 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
3205 AUTOINOUT for SV style multidimensional arrays, bug294.
3206 Reported by Eric Mastromarchi.
3207 (verilog-preprocess): Use with-current-buffer and
3208 font-lock-fontify-buffer to cleanup style issues.
3209
3210 2010-11-09 Glenn Morris <rgm@gnu.org>
3211
3212 * locate.el (locate, locate-mode): Doc fixes.
3213
3214 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
3215
3216 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
3217 user for confirmation.
3218 (server-force-stop): Use it.
3219 (server-start): Use server-force-stop for kill-emacs-hook, to
3220 avoid user interaction while killing Emacs.
3221
3222 2010-11-09 Glenn Morris <rgm@gnu.org>
3223
3224 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
3225 (meta-indent-line): Simplify.
3226
3227 * vc/emerge.el (emerge-line-number-in-buf):
3228 * textmodes/ispell.el (ispell-region):
3229 * textmodes/fill.el (current-fill-column):
3230 * progmodes/xscheme.el (xscheme-send-current-line):
3231 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
3232 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
3233 * progmodes/sh-script.el (sh-handle-prev-do):
3234 * progmodes/meta-mode.el (meta-indent-line):
3235 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
3236 (idlwave-in-quote):
3237 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
3238 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
3239 * progmodes/fortran.el (fortran-looking-at-if-then):
3240 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
3241 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
3242 (cperl-find-pods-heres):
3243 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
3244 * net/quickurl.el (quickurl-list-insert):
3245 * net/ldap.el (ldap-search-internal):
3246 * net/eudc.el (eudc-expand-inline):
3247 * mail/sendmail.el (sendmail-send-it):
3248 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
3249 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
3250 (viper-brac-function):
3251 * calc/calc-yank.el (calc-do-grab-region):
3252 * calc/calc-keypd.el (calc-keypad-press):
3253 * term.el (term-move-columns, term-insert-spaces):
3254 * speedbar.el (speedbar-highlight-one-tag-line):
3255 * simple.el (current-word):
3256 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
3257 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
3258 (Info-scroll-down):
3259 * hippie-exp.el (he-line-beg):
3260 * epa.el (epa--marked-keys):
3261 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
3262 (dired-update-file-line, dired-add-entry, dired-remove-entry)
3263 (dired-relist-entry):
3264 * buff-menu.el (Buffer-menu-buffer):
3265 * array.el (current-line):
3266 * allout.el (allout-resolve-xref)
3267 (allout-latex-verbatim-quote-curr-line):
3268 Replace yet more uses of end-of-line etc with line-end-position, etc.
3269
3270 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3271
3272 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
3273 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
3274 (checkdoc-syntax-table): Initialize in the declaration.
3275 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
3276 the mode on unconditionally.
3277
3278 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
3279 (extent-end-position, extent-start-position): Remove setf method for
3280 non-existing functions (bug#7319).
3281
3282 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3283
3284 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
3285 (smie-precs->prec2): Rename from smie-precs-precedence-table.
3286 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
3287 (smie-prec2->grammar): Rename from smie-prec2-levels.
3288 (smie-grammar): Rename from smie-op-levels.
3289 (smie-indent--hanging-p): Rename from smie-hanging-p.
3290 (smie-rule-hanging-p): New alias.
3291 (smie-indent--bolp): Rename from smie-bolp.
3292 (smie-indent--hanging-p): New alias.
3293 (smie--token): New dynamically bound variable.
3294 (smie-indent--parent): New function.
3295 (smie-rule-parent-p): Use it; rename from smie-parent-p.
3296 (smie-rule-next-p): Rename from smie-next-p.
3297 (smie-rule-prev-p): Rename from smie-prev-p.
3298 (smie-rule-sibling-p, smie-rule-parent)
3299 (smie-indent--separator-outdent, smie-rule-separator): New functions.
3300 (smie-rule-separator-outdent): New var.
3301 (smie-indent--rule): Merge with smie-indent--column.
3302 (smie-indent-forward-token, smie-indent-backward-token):
3303 Also recognize close parens.
3304 (smie-indent-keyword): Don't use smie-indent--column any more.
3305 (smie-indent-after-keyword): Ignore closers by default.
3306 (smie-indent-line): Use with-demoted-errors.
3307 * progmodes/octave-mod.el (octave-smie-grammar):
3308 Rename from octave-smie-op-levels.
3309 (octave-smie-rules): Adjust to new behavior.
3310 * progmodes/prolog.el (prolog-smie-grammar):
3311 Rename from prolog-smie-op-levels.
3312
3313 2010-11-07 Glenn Morris <rgm@gnu.org>
3314
3315 * eshell/esh-util.el (subst-char-in-string)
3316 (directory-files-and-attributes): These compatibility definitions are
3317 not needed on any version of Emacs since at least 21.4.
3318
3319 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
3320 (verilog-get-end-of-line): Remove.
3321 (verilog-within-string, verilog-re-search-forward-substr)
3322 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
3323 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
3324 Use point-at-bol, point-at-eol.
3325 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
3326 Remove.
3327 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
3328 (electric-pascal-terminate-line, pascal-set-auto-comments)
3329 (pascal-indent-paramlist, pascal-indent-declaration)
3330 (pascal-get-lineup-indent, pascal-func-completion)
3331 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
3332 Use point-at-bol, point-at-eol.
3333 * progmodes/flymake.el (flymake-line-beginning-position)
3334 (flymake-line-end-position): Remove.
3335 (flymake-highlight-line): Use point-at-bol, point-at-eol.
3336 * eshell/esh-util.el (line-end-position, line-beginning-position):
3337 Remove compat definitions.
3338
3339 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
3340 Use end-of-line N.
3341 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
3342 Use line-end-position.
3343
3344 * emacs-lisp/chart.el (chart-zap-chars):
3345 * play/decipher.el (decipher-set-map):
3346 * progmodes/ada-mode.el (ada-get-current-indent)
3347 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
3348 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
3349 * progmodes/ada-xref.el (ada-initialize-runtime-library)
3350 (ada-get-all-references):
3351 * progmodes/cperl-mode.el (cperl-electric-paren)
3352 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
3353 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
3354 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
3355 (cperl-word-at-point-hard):
3356 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
3357 (idlwave-shell-filename-string, idlwave-shell-batch-command)
3358 (idlwave-shell-display-line):
3359 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
3360 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
3361 * progmodes/js.el (js--re-search-forward-inner)
3362 (js--re-search-backward-inner):
3363 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
3364 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
3365 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
3366 * textmodes/flyspell.el (flyspell-process-localwords):
3367 * textmodes/ispell.el (ispell-buffer-local-parsing)
3368 (ispell-buffer-local-dict, ispell-buffer-local-words):
3369 Use point-at-bol and point-at-eol.
3370
3371 * speedbar.el (speedbar-generic-item-info)
3372 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
3373 (speedbar-add-indicator, speedbar-check-vc-this-line)
3374 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
3375 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
3376 Replace more uses of end-of-line etc with line-end-position.
3377
3378 2010-11-06 Glenn Morris <rgm@gnu.org>
3379
3380 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
3381 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
3382 (texinfo-delete-existing-pointers, texinfo-find-pointer)
3383 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
3384 (texinfo-multiple-files-update):
3385 * textmodes/table.el (table--probe-cell-left-up)
3386 (table--probe-cell-right-bottom):
3387 * textmodes/picture.el (picture-tab-search):
3388 * textmodes/page-ext.el (pages-copy-header-and-position)
3389 (pages-directory-for-addresses):
3390 * progmodes/vera-mode.el (vera-get-offset):
3391 * progmodes/simula.el (simula-calculate-indent):
3392 * progmodes/python.el (python-pdbtrack-overlay-arrow):
3393 * progmodes/prolog.el (end-of-prolog-clause):
3394 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
3395 * progmodes/icon.el (indent-icon-exp):
3396 * progmodes/etags.el (tag-re-match-p):
3397 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
3398 * progmodes/ebnf2ps.el (ebnf-begin-file):
3399 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
3400 (dcl-save-local-variable):
3401 * play/life.el (life-setup):
3402 * play/gametree.el (gametree-looking-at-ply):
3403 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
3404 * mail/sendmail.el (mail-mode-auto-fill):
3405 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
3406 * emacs-lisp/edebug.el (edebug-overlay-arrow):
3407 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
3408 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
3409 (woman-tab-to-tab-stop, WoMan-warn-ignored):
3410 * type-break.el (type-break-file-keystroke-count):
3411 * term.el (term-replace-by-expanded-history-before-point)
3412 (term-skip-prompt, term-extract-string):
3413 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
3414 (speedbar-contract-line, speedbar-toggle-line-expansion)
3415 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
3416 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
3417 * sort.el (sort-skip-fields):
3418 * skeleton.el (skeleton-internal-list):
3419 * simple.el (line-move-finish, line-move-to-column):
3420 * shell.el (shell-forward-command):
3421 * misc.el (copy-from-above-command):
3422 * makesum.el (double-column):
3423 * ebuff-menu.el (electric-buffer-update-highlight):
3424 * dired.el (dired-move-to-end-of-filename):
3425 * dframe.el (dframe-popup-kludge):
3426 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
3427 * arc-mode.el (archive-get-lineno):
3428 Use line-end-position and line-beginning-position.
3429
3430 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
3431 (idlwave-study-twins): Prefix dynamic local `class'.
3432 (idlwave-routine-twin-compare): Update for above name change.
3433
3434 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
3435 Use boundp tests to silence compiler. Update for changed name of
3436 bytecomp-filename variable.
3437
3438 * emulation/viper-cmd.el (viper-read-string-with-history):
3439 Prefix dynamic local `initial'.
3440 (viper-minibuffer-standard-hook): Update for above name change.
3441
3442 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
3443 (elint-init-form): Update for above name change.
3444
3445 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
3446 local variables `cbeg' and `cend' a prefix.
3447 (mail-extr-voodoo): Update for above name change.
3448
3449 * textmodes/reftex-toc.el (reftex-toc-do-promote)
3450 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
3451 (reftex-toc-promote-action): Doc fix.
3452
3453 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
3454 `prompt', `data' a prefix.
3455 (reftex-select-post-command-hook, reftex-select-callback)
3456 (reftex-select-mouse-accept, reftex-select-read-cite):
3457 Update for above name changes.
3458
3459 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
3460 `refstyle' to reftex-refstyle.
3461 (reftex-offer-label-menu): Update for above name change.
3462 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
3463 `refstyle' name change.
3464
3465 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
3466 with with-current-buffer.
3467 (diff, template): Give dynamic local variables a prefix.
3468 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
3469 (emerge-line-number-in-buf): Update for above name change.
3470 (emerge-combine-versions-internal): Rename local `template' to
3471 emerge-combine-template.
3472 (emerge-combine-versions-edit): Update for above name change.
3473
3474 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
3475
3476 * textmodes/reftex-cite.el
3477 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
3478 entries with whitespace after \bibitem.
3479 (reftex-create-bibtex-file): Match entries containing numbers and
3480 symbol constituents. Make sure that entries with whitespace at
3481 various places are found.
3482
3483 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
3484
3485 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
3486
3487 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
3488
3489 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
3490
3491 2010-11-05 Glenn Morris <rgm@gnu.org>
3492
3493 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
3494 (woman2-roff-buffer): Give local variable `request' a prefix.
3495 (woman0-macro): Rename argument `request' in the same way.
3496 (woman-request): New name for `request' dynamic variable.
3497 (woman-unquote, woman-forward-arg): Update for above name change.
3498 (woman1-roff-buffer): Give local variable `unquote' a prefix.
3499 (woman1-unquote): New name for `unquote' dynamic variable.
3500 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
3501 (woman-translations): Rename from `translations'. No longer global.
3502 (woman2-tr, woman-translate): Update for above name change.
3503 (woman-translate): Check for bound variable.
3504 (woman2-roff-buffer): Give local variable `translations' a prefix.
3505
3506 * play/doctor.el: Give all local variables a prefix. Update callers.
3507 (doc$, doctor-put-meaning): Use backquote.
3508
3509 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
3510 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
3511
3512 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
3513 variables bytes, ptr, op a prefix.
3514 (disassemble-offset): Update for above change.
3515
3516 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
3517
3518 * emacs-lisp/package.el (package-unpack): Remove no-op.
3519 (package--builtins, package--dir): Doc fix.
3520 (package-activate-1, package-activate, package-install)
3521 (package-compute-transaction): Fix error message.
3522 (package-delete): Use delete-directory. Omit system packages.
3523 (package-initialize): Set package-alist to nil first.
3524 (package-menu-mark-delete, package-menu-mark-install): Don't add
3525 symbols that are inconsistent with the package state.
3526 (package-menu-execute): Perform deletions and installations as
3527 single batch operations.
3528
3529 2010-11-03 Glenn Morris <rgm@gnu.org>
3530
3531 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
3532 (props): Remove unnecessary declaration.
3533
3534 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
3535 set-process-query-on-exit-flag.
3536
3537 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
3538 (reftex-toc-do-promote): Remove unused local `mpos'.
3539 (reftex-toc-restore-region): Make `mpos' local to this function.
3540
3541 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
3542
3543 * play/landmark.el (lm-losing-threshold): Correct spelling.
3544 (lm-human-plays): Use new name.
3545
3546 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
3547 (gomoku-human-plays): Use new name.
3548
3549 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
3550 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
3551 (gomoku-score-trans-table, gomoku-winning-threshold)
3552 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
3553
3554 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
3555
3556 * emacs-lisp/package.el: Don't put built-in packages in
3557 package-alist, to avoid loading inefficiencies.
3558 (package-built-in-p): Make VERSION optional, and treat it as a
3559 minimum acceptable version.
3560 (package-activate): Search separately for built-in packages.
3561 Emit a warning if a dependency fails.
3562 (define-package): Handle most common case, where there is no
3563 obsolete package, first.
3564 (package-compute-transaction): Print required version in error.
3565 (package--initialized): New variable.
3566 (list-packages): Use it.
3567 (package-initialize): Optional arg NO-ACTIVATE. Don't put
3568 built-in packages in packages-alist; keep it separate.
3569 Set package--initialized.
3570 (describe-package): Avoid activating packages as a side-effect.
3571 Search separately for built-in packages.
3572 (describe-package-1): Handle the case where an elpa package is
3573 simultaneously built-in and available/installed.
3574 (package-installed-p, package--generate-package-list):
3575 Search separately for built-in packages.
3576 (package-load-descriptor): Doc fix.
3577
3578 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3579
3580 * progmodes/perl-mode.el (perl-syntax-propertize-function):
3581 Handle __DATA__ and __END__.
3582
3583 2010-11-02 Noah Friedman <friedman@splode.com>
3584
3585 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
3586 nil, do not ask to recompile files that are not already compiled,
3587 and do not recompile them.
3588
3589 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
3590
3591 * emacs-lisp/package.el (package-initialize): Ensure that
3592 obsoleted built-in packages are not in package-activated-list
3593 during activation.
3594 (describe-package-1): Make the "installed" status override
3595 "built-in".
3596
3597 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3598
3599 * subr.el (version-separator, version-regexp-alist): Remove '*'
3600 from docstring.
3601 (version-list-<=, version<=, version=): Doc fix.
3602
3603 2010-11-01 Kenichi Handa <handa@m17n.org>
3604
3605 * faces.el (glyphless-char): Inherit underline for tty.
3606
3607 2010-11-01 Kenichi Handa <handa@m17n.org>
3608
3609 Implement various display methods for glyphless characters.
3610
3611 * international/characters.el (char-acronym-table): New variable.
3612 (glyphless-char-control): New variable.
3613 (update-glyphless-char-display): New funciton.
3614
3615 * faces.el (glyphless-char): New face.
3616
3617 2010-11-01 Glenn Morris <rgm@gnu.org>
3618
3619 * calendar/holidays.el (general-holidays, oriental-holidays)
3620 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
3621 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
3622 the definitions of their targets.
3623
3624 * emacs-lisp/smie.el (smie): New custom group.
3625 (smie-blink-matching-inners, smie-indent-basic): Add :group.
3626
3627 * faces.el (xw-defined-colors, x-setup-function-keys):
3628 * mouse-sel.el (x-select-text):
3629 * term/w32console.el (x-setup-function-keys): Update declarations.
3630
3631 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
3632
3633 * textmodes/ispell.el (comment-add): Declare.
3634
3635 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
3636 Declare.
3637
3638 * info.el (finder-keywords-hash, package-alist): Declare.
3639
3640 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
3641
3642 * finder.el (finder-compile-keywords): Don't use intern-soft,
3643 since package names may not yet exist in the obarray.
3644
3645 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
3646
3647 * vc/vc-arch.el (vc-arch-checkin):
3648 * vc/vc-cvs.el (vc-cvs-checkin):
3649 * vc/vc-mtn.el (vc-mtn-checkin):
3650 * vc/vc-rcs.el (vc-rcs-checkin):
3651 * vc/vc-sccs.el (vc-sccs-checkin):
3652 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
3653 since 2010-04-21 commit by Stefan Monnier.
3654
3655 2010-11-01 Glenn Morris <rgm@gnu.org>
3656
3657 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
3658
3659 * startup.el (package-enable-at-startup, package-initialize):
3660 Silence compiler.
3661
3662 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
3663 Silence compiler.
3664
3665 2010-10-31 Julien Danjou <julien@danjou.info>
3666
3667 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
3668 (byte-recompile-directory):
3669 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
3670 Use `byte-recompile-file'.
3671
3672 2010-10-31 Glenn Morris <rgm@gnu.org>
3673
3674 * cus-start.el: Handle standard values via a keyword.
3675 Only set version property if specified.
3676 (cursor-in-non-selected-windows, menu-bar-mode)
3677 (tool-bar-mode, show-trailing-whitespace):
3678 Do not specify standard values.
3679 (transient-mark-mode, temporary-file-directory): Use :standard.
3680
3681 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
3682
3683 * term/x-win.el (x-get-selection-value): New function that gets
3684 PRIMARY with type as specified in x-select-request-type. (Bug#6802).
3685
3686 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
3687
3688 * net/tramp.el (tramp-handle-insert-file-contents): For root,
3689 preserve owner and group when editing files. (Bug#7289)
3690
3691 2010-10-31 Glenn Morris <rgm@gnu.org>
3692
3693 * speedbar.el (speedbar-mode):
3694 * play/fortune.el (fortune-in-buffer, fortune):
3695 * play/gomoku.el (gomoku-mode):
3696 * play/landmark.el (lm-mode):
3697 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
3698 Replace inappropriate uses of toggle-read-only. (Bug#7292)
3699
3700 * select.el (x-selection): Mark it as an obsolete alias.
3701
3702 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3703
3704 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
3705 major-mode (bug#7284).
3706
3707 2010-10-31 Glenn Morris <rgm@gnu.org>
3708
3709 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
3710 rather than just an unused variable that inherits from the real one.
3711
3712 2010-10-31 Alan Mackenzie <acm@muc.de>
3713
3714 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
3715 This fixes bug #7185.
3716
3717 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
3718
3719 * startup.el (command-line): Search for package directories, and
3720 don't load package.el if none are found.
3721
3722 * emacs-lisp/package.el (describe-package, list-packages):
3723 Call package-initialize if it has not been called yet.
3724
3725 2010-10-30 Alan Mackenzie <acm@muc.de>
3726
3727 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
3728 which fontifies the tail of an enum.
3729 (c-basic-matchers-after): Insert a call to the above new function.
3730 This fixes bug #7264.
3731
3732 2010-10-30 Glenn Morris <rgm@gnu.org>
3733
3734 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
3735 tool-bar-mode, transient-mark-mode. (Bug#7306)
3736 Include the :set property in the dumped Emacs.
3737
3738 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3739
3740 SMIE: change indent rules format, improve smie-setup.
3741 * emacs-lisp/smie.el (smie-precs-precedence-table)
3742 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
3743 Mark them pure so the tables gets built at compile time.
3744 (smie-bnf-precedence-table): Store the closer-alist in the table.
3745 (smie-prec2-levels): Preserve the closer-alist.
3746 (smie-blink-matching-open): Be more forgiving in case of indentation.
3747 (smie-hanging-p): Rename from smie-indent--hanging-p.
3748 (smie-bolp): Rename from smie-indent--bolp.
3749 (smie--parent, smie--after): New dynamic vars.
3750 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
3751 (smie-indent-rules): Remove.
3752 (smie-indent--offset-rule): Remove fun.
3753 (smie-rules-function): New var.
3754 (smie-indent--rule): New fun.
3755 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
3756 (smie-indent-exps): Use it.
3757 (smie-setup): Setup paren blinking; add keyword args for token
3758 functions; extract closer-alist from op-levels.
3759 (smie-indent-debug-log): Remove var.
3760 (smie-indent-debug): Remove fun.
3761 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
3762 (prolog-smie-rules): New fun to replace it.
3763 (prolog-mode-variables): Simplify.
3764 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
3765 it's setup automatically.
3766 (octave-smie-indent-rules): Remove.
3767 (octave-smie-rules): New fun to replace it.
3768 (octave-mode): Simplify.
3769
3770 2010-10-29 Glenn Morris <rgm@gnu.org>
3771
3772 * files.el (temporary-file-directory): Remove (already defined in C).
3773 * cus-start.el: Add temporary-file-directory.
3774
3775 * abbrev.el (abbrev-mode):
3776 * composite.el (auto-composition-mode):
3777 * menu-bar.el (menu-bar-mode):
3778 * simple.el (transient-mark-mode):
3779 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
3780 that they do not define the associated variables twice.
3781 * simple.el (transient-mark-mode): Remove defvar.
3782 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
3783 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
3784 Handle multiple groups, and also custom-delayed-init-variables.
3785 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
3786
3787 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3788
3789 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
3790 (pcase-if): Add one minor optimization.
3791 (pcase-split-equal): Rename from pcase-split-eq.
3792 (pcase-split-member): Rename from pcase-split-memq.
3793 (pcase-u1): Add strings to the member optimization.
3794 Add `guard' variant of predicates.
3795 (pcase-q1): Add string patterns.
3796
3797 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3798
3799 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
3800
3801 2010-10-28 Glenn Morris <rgm@gnu.org>
3802
3803 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
3804 Move menu-bar related settings to ../menu-bar.el.
3805 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
3806 Move ns-specific settings here from term/ns-win.el.
3807
3808 * simple.el (x-selection-owner-p): Remove unused declaration.
3809
3810 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3811
3812 * minibuffer.el (completion-cycling): New var (bug#7266).
3813 (minibuffer-complete, completion--do-completion):
3814 Use completion--flush-all-sorted-completions.
3815 (minibuffer-complete): Only cycle if completion-cycling is set.
3816 (completion--flush-all-sorted-completions): Unset completion-cycling.
3817 (minibuffer-force-complete): Set completion-cycling.
3818 (completion-all-sorted-completions): Move declaration before first use.
3819
3820 2010-10-28 Leo <sdl.web@gmail.com>
3821
3822 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
3823 which changes the order of matches seen by users (bug#7231).
3824
3825 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
3826
3827 * progmodes/compile.el (compilation-mode-font-lock-keywords):
3828 Don't confuse -omega as "-o mega".
3829
3830 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
3831
3832 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
3833 (log-edit-author): New dynamic var.
3834 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
3835 to return the author if different from committer.
3836 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
3837
3838 * play/landmark.el: Adjust commenting convention.
3839 (lm-nil-score): Rename from nil-score.
3840 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
3841 (OOOOscore): Move into a let in lm-score-trans-table.
3842 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
3843
3844 * electric.el (electric-indent-chars): Autoload.
3845 * progmodes/octave-mod.el (octave-mode):
3846 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
3847 (ruby-mode-abbrev-table): Merge initialization and declaration.
3848
3849 2010-10-27 Glenn Morris <rgm@gnu.org>
3850
3851 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
3852 variable.
3853
3854 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
3855
3856 * term/ns-win.el: Restore require of cl when compiling.
3857 (menu-bar-final-items): Remove non-existent `windows' menu.
3858 (ns-handle-nxopen): Optionally handle the temp-case.
3859 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
3860 (ns-insert-file, ns-find-file): Use `pop'.
3861
3862 2010-10-26 Glenn Morris <rgm@gnu.org>
3863
3864 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
3865
3866 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
3867
3868 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
3869 global map.
3870 * term/common-win.el (x-setup-function-keys): Remove most of the
3871 keymappings. Comment on the remaining ones.
3872
3873 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
3874
3875 * server.el (server-port): New option. (Bug#854)
3876 (server-start): Use server-port.
3877
3878 2010-10-26 Glenn Morris <rgm@gnu.org>
3879
3880 * term/ns-win.el (ns-version-string): Remove unused declaration.
3881 (ns-invocation-args): Change to x-invocation-args.
3882 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
3883 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
3884 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
3885 Use x-invocation-args instead of ns-invocation-args.
3886 (ns-initialize-window-system, handle-args-function-alist):
3887 Use x-handle-args instead of ns-handle-args.
3888 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
3889 * startup.el (command-line-ns-option-alist): Replace
3890 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
3891 ns-handle-iconic with the x- equivalents.
3892
3893 * term/common-win.el (x-select-enable-clipboard):
3894 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
3895
3896 * term/ns-win.el: No need to require cl when compiling.
3897 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
3898 (xw-defined-colors): Use the common-win definitions.
3899 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
3900 (ns-handle-iconic): Make it an alias for x-handle-iconic.
3901 * term/common-win.el (x-select-text, x-alternatives-map)
3902 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
3903 * loadup.el [ns]: Load common-win.
3904
3905 2010-10-26 Daiki Ueno <ueno@unixuser.org>
3906
3907 * epa-mail.el (epa-mail-encrypt): Handle local-part only
3908 recipients; expand mail aliases (Bug#7280).
3909
3910 2010-10-25 Glenn Morris <rgm@gnu.org>
3911
3912 * term/common-win.el (x-handle-switch): Simplify with pop.
3913 Optionally handle numeric switches.
3914 (x-handle-numeric-switch): Just call x-handle-switch.
3915 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
3916 (x-handle-name-switch, x-handle-display, x-handle-args):
3917 Simplify with pop.
3918
3919 * term/ns-win.el: Do not require easymenu.
3920 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
3921 <spell>: Move adjustments to menu-bar.el.
3922 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
3923 <separator-undo, spell>: Move ns-win's adjustments here.
3924 * loadup.el [ns]: Do not load easymenu.
3925
3926 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3927
3928 * image.el (image-checkbox-checked, image-checkbox-unchecked):
3929 Delete (Bug#7222).
3930
3931 * startup.el (fancy-startup-tail): Instead of using inline images,
3932 refer to image files from etc/.
3933
3934 * wid-edit.el (checkbox): Likewise.
3935 (widget-image-find): Center image specs.
3936
3937 2010-10-24 Glenn Morris <rgm@gnu.org>
3938
3939 * term/ns-win.el (x-select-text): Doc fix.
3940 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
3941 (x-select-text): Move to term/common-win.
3942 * term/w32-win.el (xw-defined-colors): Move to common-win.
3943 * term/x-win.el (xw-defined-colors, x-alternatives-map)
3944 (x-setup-function-keys, x-select-text): Move to common-win.
3945 * term/common-win.el (x-select-text, x-alternatives-map)
3946 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
3947 definitions here.
3948
3949 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
3950
3951 * net/mairix.el (mairix-searches-mode-map):
3952 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
3953
3954 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
3955
3956 * verilog-mode.el (verilog-directive-re): Make this variable
3957 auto-built for efficiency of execution and updating.
3958 (verilog-extended-complete-re): Support 'pure' fucntion & task
3959 declarations (these have no bodies).
3960 (verilog-beg-of-statement): General cleanup to enable support of
3961 'pure' fucntion & task declarations (these have no bodies).
3962 These efforts together fix Verilog bug210 from veripool; which was also
3963 noticed by Steve Pearlmutter.
3964 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
3965 (verilog-directive-nest-re, verilog-set-auto-endcomments):
3966 Support `elsif. Reported by Shankar Giri.
3967 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
3968 attribute handling for lining up declarations and assignments.
3969 (verilog-beg-of-statement-1): Fix issue where continued declaration
3970 is indented differently if it is after a begin..end clock.
3971 (verilog-in-attribute-p, verilog-skip-backward-comments)
3972 (verilog-skip-forward-comment-p): Support proper treatment of
3973 attributes by indent code. Reported by Jeff Steele.
3974 (verilog-in-directive-p): Fix comment to correctly describe function.
3975 (verilog-backward-up-list, verilog-in-struct-region-p)
3976 (verilog-backward-token, verilog-in-struct-p)
3977 (verilog-in-coverage-p, verilog-do-indent)
3978 (verilog-pretty-declarations): Use verilog-backward-up-list as
3979 wrapper around backward-up-list inorder to properly skip comments.
3980 Reported by David Rogoff.
3981 (verilog-property-re, verilog-endcomment-reason-re)
3982 (verilog-beg-of-statement, verilog-set-auto-endcomments)
3983 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
3984 of if). Reported by Max Bjurling and
3985 (verilog-calc-1): Fix for clocking block in modport
3986 declaration. Reported by Brian Hunter.
3987
3988 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
3989
3990 * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
3991 (verilog-gate-keywords, verilog-read-sub-decls)
3992 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
3993 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
3994 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
3995 (verilog-read-decls): Fix spaces in V2K module parameters causing
3996 mis-identification as interfaces, bug287.
3997 (verilog-read-decls): Fix not treating "parameter string" as a
3998 parameter in AUTOINSTPARAM.
3999 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
4000 treating `elsif similar to `endif inside AUTOSENSE.
4001 (verilog-do-indent): Implement correct automatic or static task or
4002 function end comment highlight. Reported by Steve Pearlmutter.
4003 (verilog-font-lock-keywords-2): Fix highlighting of single
4004 character pins, bug264. Reported by Michael Laajanen.
4005 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
4006 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
4007 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
4008 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
4009 (verilog-pretty-expr): Fix interactive arguments, bug272.
4010 Reported by Mark Johnson.
4011 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
4012 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
4013 bug269. Suggested by Gary Delp.
4014 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
4015 (verilog-preprocessor, verilog-set-compile-command):
4016 Create verilog-preprocess and verilog-preprocessor to show
4017 preprocessed output.
4018 (verilog-get-beg-of-line, verilog-get-end-of-line)
4019 (verilog-modi-file-or-buffer, verilog-modi-name)
4020 (verilog-modi-point, verilog-within-string): Move defmacro's
4021 before first use to avoid warning. Reported by Steve Pearlmutter.
4022 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
4023 (verilog-colorize-region, verilog-highlight-buffer)
4024 (verilog-highlight-includes, verilog-highlight-modules)
4025 (verilog-highlight-region, verilog-mode): Rename colorize to
4026 highlight to match other packages. Disable module highlighting,
4027 as received speed complaints, reenable for experimentation only
4028 using new verilog-highlight-modules.
4029 (verilog-read-decls): Fix regexp stack overflow in very large
4030 AUTO_TEMPLATEs, bug250.
4031 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
4032 (verilog-scan): Create verilog-save-buffer-state to standardize
4033 making insignificant changes that shouldn't call hooks.
4034 (verilog-save-no-change-functions, verilog-save-scan-cache)
4035 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
4036 Create verilog-save-no-change-functions to wrap verilog-scan
4037 preservation, and fix to work with nested preserved calls.
4038 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
4039 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
4040 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
4041 (verilog-submit-bug-report): Update variable list to be complete.
4042 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
4043 breaking on-the-fly font-locking.
4044 (verilog-colorize-buffer, verilog-colorize-include-files)
4045 (verilog-colorize-include-files-buffer, verilog-colorize-region)
4046 (verilog-load-file-at-mouse, verilog-load-file-at-point)
4047 (verilog-mode, verilog-read-inst-module-matcher): With point on a
4048 AUTOINST cell instance name, middle mouse button now finds-file on
4049 it. Suggested by Brad Dobbie.
4050 (verilog-alw-get-temps, verilog-auto-reset)
4051 (verilog-auto-sense-sigs, verilog-read-always-signals)
4052 (verilog-read-always-signals-recurse): Fix loop indexes being
4053 AUTORESET. AUTORESET now assumes any variables in the
4054 initialization section of a for() should be ignored.
4055 Reported by Dan Dever.
4056 (verilog-error-font-lock-keywords)
4057 (verilog-error-regexp-emacs-alist)
4058 (verilog-error-regexp-xemacs-alist): Fix error detection of
4059 Cadence HAL, reported by David Asher. Repair drift between the
4060 three similar error variables.
4061 (verilog-modi-lookup, verilog-modi-lookup-cache)
4062 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
4063 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
4064 Fix slow verilog-auto expansion on very large files.
4065 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
4066 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
4067 "{1*2{...". Broke in last revision.
4068 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
4069 submodule connections with replications "{#{a},#{b}}".
4070
4071 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
4072
4073 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
4074 Fix typo in docstring.
4075
4076 2010-10-24 Kenichi Handa <handa@m17n.org>
4077
4078 * face-remap.el (text-scale-adjust): Call read-event with a proper
4079 prompt.
4080
4081 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4082
4083 * emacs-lisp/unsafep.el: Don't mark functions that display
4084 messages as safe. Suggested by Johan Bockgård.
4085
4086 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4087
4088 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
4089 Turn comments into docstrings.
4090
4091 * minibuffer.el (completion--replace): Move point where it belongs
4092 when there's a common suffix (bug#7215).
4093
4094 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4095
4096 Merge read-color and facemenu-read-color (Bug#7242).
4097
4098 * faces.el (read-color): Use the completion code from
4099 facemenu-read-color. Require match in completion. Doc fix.
4100
4101 * facemenu.el (facemenu-read-color): Alias for read-color.
4102 (facemenu-set-foreground, facemenu-set-background):
4103 Use read-color.
4104
4105 * frame.el (set-background-color, set-foreground-color)
4106 (set-cursor-color, set-mouse-color, set-border-color):
4107 Use read-color.
4108
4109 2010-10-24 Leo <sdl.web@gmail.com>
4110
4111 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
4112 argument of delete-file and delete-directory (Bug#7011).
4113
4114 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4115
4116 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
4117 button-buffer-map.
4118
4119 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
4120
4121 * emacs-lisp/package.el (package--generate-package-list): Make the
4122 *Packages* buffer read-only.
4123
4124 2010-10-24 Alan Mackenzie <acm@muc.de>
4125
4126 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
4127 result of `c-beginning-of-decl-1' between invocations of a lambda
4128 function (Bug #7265).
4129
4130 2010-10-24 Daiki Ueno <ueno@unixuser.org>
4131
4132 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
4133 executable is not available on the system (Bug#7268).
4134
4135 2010-10-24 Glenn Morris <rgm@gnu.org>
4136
4137 * select.el (selection-coding-system, next-selection-coding-system):
4138 Sync doc with C versions.
4139
4140 * w32-vars.el (x-select-enable-clipboard):
4141 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
4142 * term/common-win.el (x-select-enable-clipboard): Move here.
4143
4144 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
4145 definition of C variable.
4146
4147 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
4148 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
4149 Don't redefine things that are defined in C.
4150 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
4151 (show-trailing-whitespace, auto-hscroll-mode)
4152 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
4153 Set up the appropriate custom properties.
4154
4155 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4156
4157 Bind "C-c ]" to ...
4158 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
4159 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
4160 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
4161 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
4162
4163 2010-10-23 Glenn Morris <rgm@gnu.org>
4164
4165 * textmodes/flyspell.el (flyspell-mode): If there was an error,
4166 say what it was.
4167
4168 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
4169 Sync docs with C version.
4170
4171 * term/ns-win.el (xw-defined-colors):
4172 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
4173
4174 * term/pc-win.el (x-select-enable-clipboard):
4175 * term/x-win.el (x-select-enable-clipboard):
4176 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
4177
4178 * comint.el (comint-password-prompt-regexp): Make it less vague.
4179 Bump version.
4180
4181 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
4182
4183 * help.el (finder-by-keyword): Remove unnecessary autoload.
4184
4185 2010-10-22 Glenn Morris <rgm@gnu.org>
4186
4187 * loadup.el: Unconditionally load float-sup.
4188 * paren.el (show-paren-delay):
4189 * emacs-lisp/float-sup.el:
4190 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
4191 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
4192 (lazy-lock-stealth-verbose): Assume float support.
4193 * ps-print.el: Assume float support on Emacs.
4194 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
4195 Remove non-float branch.
4196
4197 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
4198 src/Makefile no longer being pre-processed.
4199
4200 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4201
4202 * emacs-lisp/find-func.el (find-library): Use test-completion.
4203
4204 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4205
4206 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
4207
4208 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
4209
4210 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
4211 space in stat format string.
4212 (tramp-send-command): Unset $PS1 when using here documents, in
4213 order not to get several prompts.
4214 (tramp-get-inline-coding): Return `nil' in case of errors.
4215
4216 2010-10-21 Daiki Ueno <ueno@unixuser.org>
4217
4218 * hexl.el (hexl-mode, hexl-mode-exit):
4219 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
4220 (hexl-revert-buffer-function): New function.
4221 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
4222
4223 2010-10-19 Alan Mackenzie <acm@muc.de>
4224
4225 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
4226 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
4227 that these keywords aren't wrongly matched as identifiers.
4228
4229 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
4230 setting of c-new-BEG and c-new-END from c-before-change to
4231 c-after-change. (Bug#7181)
4232
4233 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
4234
4235 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
4236 Don't mark as safe.
4237
4238 * custom.el (custom-theme-set-variables): Likewise.
4239 (load-theme): Add custom-theme-set-faces and
4240 custom-theme-set-variables to safe-functions while loading.
4241 (custom-enabled-themes): Mark as risky.
4242
4243 2010-10-18 Julien Danjou <julien@danjou.info>
4244
4245 * bindings.el: Remove end dashes in default mode-line-format.
4246
4247 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
4248
4249 * bindings.el (global-map): Bind C-d to delete-char and deletechar
4250 to delete-forward-char.
4251
4252 * simple.el (normal-erase-is-backspace-mode): Remap delete to
4253 deletechar, and hence delete-forward-char.
4254
4255 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4256
4257 * repeat.el (repeat): Use read-key (bug#6256).
4258
4259 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
4260
4261 * emacs-lisp/unsafep.el: Don't mark functions that display
4262 messages as safe. Suggested by Johan Bockgård.
4263
4264 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4265
4266 * minibuffer.el (completion--replace): Move point where it belongs
4267 when there's a common suffix (bug#7215).
4268
4269 2010-10-19 Kenichi Handa <handa@m17n.org>
4270
4271 * international/characters.el: Add category '|' (word breakable)
4272 to fullwidth characters.
4273
4274 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
4275
4276 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
4277 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
4278 order to make stat results a float. Patch by Andreas Schwab
4279 <schwab@linux-m68k.org>.
4280
4281 2010-10-18 Julien Danjou <julien@danjou.info>
4282
4283 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
4284 hidden by `make-pointer-invisible'.
4285
4286 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4287
4288 * files.el (locate-file-completion-table): Strip non-matching elements
4289 before checking length of list (bug#7238).
4290
4291 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
4292
4293 * custom.el (custom-theme-set-variables): Mark as a safe function.
4294 (load-theme): Check forms using unsafep.
4295
4296 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
4297
4298 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
4299
4300 * textmodes/ispell.el (ispell-aspell-find-dictionary):
4301 Fix aspell data file searching (bug#7230).
4302
4303 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
4304
4305 * cus-theme.el (custom-theme--migrate-settings): New var.
4306 (customize-create-theme): Allow editing the `user' theme.
4307 (custom-theme-add-variable, custom-theme-add-var-1)
4308 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
4309 to the front of each variable or face widget.
4310 (custom-theme-write): Save theme settings in the correct order.
4311 Optionally, remove saved settings from user customizations.
4312 (custom-theme-write-variables, custom-theme-write-faces):
4313 Save only the checked widgets.
4314 (customize-themes): Add a link for migrating custom settings.
4315
4316 * custom.el (custom-declare-theme, provide-theme):
4317 Use custom-theme-name-valid-p.
4318 (custom-theme-name-valid-p): Remove checks that are now
4319 unnecessary since themes no longer obey load-path.
4320
4321 * cus-edit.el (custom-variable-value-create): For the simple
4322 style, hide documentation string when hidden.
4323
4324 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
4325
4326 * cus-edit.el (custom-variable, custom-face): Combine the
4327 :inhibit-magic and :display-style properties into a single
4328 :custom-style property.
4329 (custom-toggle-hide-variable, custom-toggle-hide-face):
4330 New functions. If hiding an edited value, save it to :shown-value.
4331 (custom-variable-value-create, custom-face-value-create): Use them.
4332 (custom-magic-reset): Allow magic property to be unset.
4333
4334 * custom.el: Custom themes no longer use load-path.
4335 (custom-theme-load-path): New option. Change built-in theme
4336 directory to etc/.
4337 (custom-enabled-themes): Add custom-theme-load-path dependency.
4338 (custom-theme--load-path): New function.
4339 (load-theme, custom-available-themes): Use it.
4340
4341 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
4342 (customize-themes): Link to custom-theme-load-path variable.
4343 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
4344 :custom-style property.
4345
4346 * themes/*.el: Moved to etc/.
4347
4348 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
4349
4350 * textmodes/reftex-cite.el
4351 (reftex-extract-bib-entries-from-thebibliography): Do not move
4352 point when searching for \bibitem entries. Match entries with
4353 spaces or tabs in front of arguments.
4354
4355 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
4356
4357 * cus-theme.el (customize-create-theme): Delete overlays after
4358 erasing. If given a THEME arg, display only the faces of that arg
4359 instead of custom-theme--listed-faces.
4360 (custom-theme-variable-menu, custom-theme-variable-action)
4361 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
4362 (custom-theme-add-variable, custom-theme-add-face): Apply value
4363 from the theme settings, instead of the current value.
4364 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
4365 (custom-theme-visit-theme): Allow calling outside theme buffers.
4366 (custom-theme-merge-theme): Don't enable the theme when merging.
4367 (custom-theme-write-variables, custom-theme-write-faces): Use the
4368 :shown-value properties to save buffer values, not global ones.
4369 (customize-themes): Display a warning about user customizations.
4370
4371 * cus-edit.el (custom-variable-value-create)
4372 (custom-face-value-create): Obey new special properties
4373 :shown-value and :inhibit-magic.
4374
4375 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
4376
4377 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
4378 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
4379 <dale@codefu.org>.
4380
4381 2010-10-14 Kenichi Handa <handa@m17n.org>
4382
4383 * mail/rmail.el (rmail-show-message-1): Catch an error of
4384 base64-decode-region and just show an error message (bug#7165).
4385
4386 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
4387 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
4388 a font-spec (bug#7197).
4389
4390 2010-10-14 Glenn Morris <rgm@gnu.org>
4391
4392 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
4393
4394 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
4395
4396 * international/mule.el (define-coding-system):
4397 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
4398 * composite.el (compose-region): Fix typo in docstring.
4399
4400 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
4401
4402 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
4403 only after checking the theme-face property.
4404
4405 * faces.el (face-spec-reset-face): Reset all attributes in one
4406 single call to set-face-attribute.
4407 (face-spec-match-p): Make it a defsubst.
4408 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
4409 (x-create-frame-with-faces, tty-create-frame-with-faces)
4410 (tty-set-up-initial-frame-faces): Don't recompute face specs in
4411 frame-set-background-mode, since they are recomputed immediately
4412 afterwards in face-set-after-frame-default.
4413 (face-set-after-frame-default): Minor optimization.
4414 (cursor): Provide non-trivial defface spec.
4415
4416 * custom.el (custom-theme-recalc-face): Simplify.
4417
4418 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
4419
4420 * calc/calc-alg.el (math-var): Rename from `var'.
4421 (math-is-polynomial, math-is-poly-rec): Replace `var'
4422 with `math-var'.
4423
4424 * calc/calcalg2.el (math-var): Rename from `var'.
4425 (calcFunc-table, math-scan-for-limits): Replace `var'
4426 with `math-var'.
4427
4428 2010-10-13 Glenn Morris <rgm@gnu.org>
4429
4430 * subr.el (last): Deal with dotted lists (reported in bug#7174).
4431
4432 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
4433
4434 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
4435
4436 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4437
4438 * net/tls.el (tls-program): Remove spurious %s from openssl.
4439 (tls-starttls-switches): Remove starttls hack.
4440 (open-tls-stream): Ditto.
4441 (tls-find-starttls-argument): Ditto.
4442
4443 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
4444
4445 * image.el (image-library-alist): Declare as obsolete alias.
4446 (image-type-available-p): Use `dynamic-library-alist'.
4447
4448 * term/w32-win.el (dynamic-library-alist):
4449 Use instead of `image-library-alist'.
4450
4451 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
4452
4453 * subr.el (last): Make it faster. (Bug#7174)
4454
4455 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
4456
4457 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
4458
4459 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
4460
4461 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
4462 (describe-theme-1): Extract doc from unloaded themes.
4463
4464 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
4465
4466 * themes/tango-theme.el:
4467 * themes/tango-dark-theme.el:
4468 * themes/wheatgrass-theme.el: New files.
4469
4470 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
4471
4472 * cus-theme.el (describe-theme, customize-themes)
4473 (custom-theme-save): New commands.
4474 (custom-new-theme-mode-map): Bind C-x C-s.
4475 (custom-new-theme-mode): Use custom--initialize-widget-variables.
4476 (customize-create-theme): New optional arg THEME.
4477 (custom-theme-revert): Use it.
4478 (custom-theme-visit-theme): Remove dead code.
4479 (custom-theme-merge-theme): Use custom-available-themes.
4480 (custom-theme-write): Make interactive.
4481 (custom-theme-write): Use custom-theme-name-valid-p.
4482 (describe-theme-1, custom-theme-choose-revert)
4483 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
4484 New funs.
4485 (custom-theme-allow-multiple-selections): New option.
4486 (custom-theme-choose-mode): New major mode.
4487
4488 * custom.el (custom-theme-set-variables): Remove dead code.
4489 Obey custom--inhibit-theme-enable.
4490 (custom--inhibit-theme-enable): New var.
4491 (provide-theme): Obey it.
4492 (load-theme): Replace load with manual read/eval, in order to
4493 check for correctness. Use custom-theme-name-valid-p.
4494 (custom-theme-name-valid-p): New function.
4495 (custom-available-themes): Use it.
4496
4497 * cus-edit.el (custom--initialize-widget-variables): New function.
4498 (Custom-mode): Use it.
4499
4500 * cus-face.el (custom-theme-set-faces): Remove dead code.
4501 Obey custom--inhibit-theme-enable.
4502
4503 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
4504
4505 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
4506
4507 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
4508
4509 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
4510
4511 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
4512 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
4513 (mac-right-option-modifier): New alias for ns-right-option-modifier.
4514
4515 * cus-start.el (all): ns-right-alternate-modifier is new.
4516
4517 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4518
4519 * emacs-lisp/lisp.el (lisp-completion-at-point):
4520 Use emacs-lisp-mode-syntax-table for the whole function.
4521
4522 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
4523
4524 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
4525 instead of font-lock-mode before adding keywords.
4526 Remove hi-lock-mode off code. Remove inhibit hack.
4527 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
4528 non-nil; removed hook inhibit hack.
4529
4530 2010-10-12 Glenn Morris <rgm@gnu.org>
4531
4532 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
4533 (load-path-shadows-find): ... to this.
4534 (list-load-path-shadows): Update for above change.
4535
4536 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
4537
4538 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
4539
4540 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
4541 Fix comment for declare-function.
4542
4543 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
4544
4545 * custom.el (custom-fix-face-spec): New function; code moved from
4546 custom-face-edit-fix-value.
4547 (custom-push-theme): Use it when checking if a face has been
4548 changed outside customize.
4549 (custom-available-themes): New function.
4550 (load-theme): Use it.
4551
4552 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
4553
4554 * custom.el (custom-push-theme): Cleanup (use cond).
4555 (disable-theme): Recompute the saved-face property.
4556 (custom-theme-recalc-face): Follow face alias before setting prop.
4557
4558 * image.el (image-checkbox-checked, image-checkbox-unchecked):
4559 New variables, containing checkbox images.
4560
4561 * startup.el (fancy-startup-tail):
4562 * wid-edit.el (checkbox): Use them.
4563
4564 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
4565
4566 * shell.el (shell-mode-map):
4567 * progmodes/modula2.el (m2-mode-map):
4568 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
4569 * play/mpuz.el (mpuz-mode-map):
4570 * play/landmark.el (lm-mode-map):
4571 * play/decipher.el (decipher-mode-map):
4572 * play/5x5.el (5x5-mode-map):
4573 * net/telnet.el (telnet-mode-map):
4574 * net/quickurl.el (quickurl-list-mode-map):
4575 * net/mairix.el (mairix-searches-mode-map):
4576 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
4577 * net/dig.el (dig-mode-map):
4578 * mail/mspools.el (mspools-mode-map):
4579 * hexl.el (hexl-mode-map):
4580 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
4581 (wordstar-C-o-map, wordstar-C-q-map):
4582 * emacs-lisp/edebug.el (edebug-eval-mode-map):
4583 * emacs-lisp/chart.el (chart-map):
4584 * edmacro.el (edmacro-mode-map):
4585 * erc/erc-list.el (erc-list-menu-mode-map):
4586 * array.el (array-mode-map): Declare and define in one step.
4587
4588 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
4589
4590 2010-10-10 Daiki Ueno <ueno@unixuser.org>
4591
4592 * epa.el (epa-passphrase-callback-function): Display filename
4593 passed as the 3rd arg.
4594 * epa-file.el (epa-file-passphrase-callback-function):
4595 Pass filename to epa-passphrase-callback-function.
4596
4597 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
4598
4599 * cus-edit.el (custom-face-widget-to-spec)
4600 (custom-face-get-current-spec, custom-face-state): New functions.
4601 (custom-face-set, custom-face-mark-to-save)
4602 (custom-face-value-create, custom-face-state-set): Use them.
4603
4604 * cus-theme.el (custom-theme--listed-faces): New var.
4605 (customize-create-theme): Use *Custom Theme* as the buffer name.
4606 Set revert-buffer-function. Optional arg BUFFER. Insert all
4607 faces listed in custom-theme--listed-faces.
4608 (custom-theme-revert): New function.
4609 (custom-theme-add-variable, custom-theme-add-face): Insert at the
4610 bottom of the list.
4611 (custom-theme-write): Prompt for theme name if empty.
4612 (custom-theme-write-variables): Use dolist.
4613 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
4614
4615 2010-10-09 Alan Mackenzie <acm@muc.de>
4616
4617 Enhance fontification of declarators to take account of the
4618 presence/absence of "typedef".
4619
4620 * cc-engine.el (c-forward-type): New &optional param
4621 "brace-block-too".
4622 (c-forward-decl-or-cast-1): cdr of return value now indicates the
4623 presence of either or both of a "struct"-like keyword and "typedef".
4624
4625 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
4626 fontification of declarators which follow a "}".
4627 (c-font-lock-declarations): Fontify declarators according to the
4628 presence/absence of "typedef".
4629
4630 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
4631 for "typedef".
4632 (c-typedef-decl-key): New lang variable built from
4633 c-typedef-decl-kwds.
4634
4635 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
4636
4637 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
4638 since that's too annoying. Move the filter groups commands to
4639 TAB/backtab.
4640
4641 * epa.el (epa-passphrase-callback-function): Say what we're
4642 querying the password for.
4643
4644 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
4645 behaviour, don't bury the ibuffer buffer when visiting other buffers.
4646
4647 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
4648
4649 * cus-edit.el (custom-commands, custom-buffer-create-internal)
4650 (custom-magic-value-create): Pad button tags with spaces.
4651 (custom-face-edit): New variable.
4652 (custom-face-value-create): Determine whether to use the usual
4653 face editor here, instead of using custom-face-selected.
4654 Pass face defaults to custom-face-edit widget.
4655 (custom-face-selected, custom-display-unselected): Delete widgets.
4656 (custom-display-unselected-match): Function removed.
4657 (custom-face-set, custom-face-mark-to-save):
4658 Accept custom-face-edit widgets as the direct widget child.
4659
4660 * wid-edit.el (widget--completing-widget): New var.
4661 (widget-default-complete): Bind it when doing completion.
4662 (widget-string-complete, widget-file-complete): Use it.
4663
4664 2010-10-09 Glenn Morris <rgm@gnu.org>
4665
4666 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
4667 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
4668 (holiday-hebrew-misc): Small simplifications.
4669
4670 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
4671
4672 * net/browse-url.el: Don't require thingatpt, term, dired,
4673 executable, or w3-auto when compiling.
4674 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
4675 Declare.
4676 (browse-url-text-emacs): Require term.
4677
4678 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
4679
4680 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
4681
4682 2010-10-08 Glenn Morris <rgm@gnu.org>
4683
4684 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
4685
4686 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
4687 (shadows-compare-text-p): Make it an obsolete alias for...
4688 (load-path-shadows-compare-text): ... new name.
4689 (find-emacs-lisp-shadows): Update for above name change.
4690 (load-path-shadows-same-file-or-nonexistent): New name for the old
4691 shadow-same-file-or-nonexistent.
4692
4693 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
4694
4695 * minibuffer.el (completion--some, completion--do-completion)
4696 (minibuffer-complete-and-exit, minibuffer-completion-help)
4697 (completion-basic-try-completion)
4698 (completion-basic-all-completions)
4699 (completion-pcm--find-all-completions): Use lexical-let to
4700 avoid some false matches in variable completion (Bug#7056)
4701
4702 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
4703
4704 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
4705
4706 2010-10-08 Leo <sdl.web@gmail.com>
4707
4708 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
4709 return non-nil if the file exists (Bug#7090).
4710
4711 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4712
4713 * minibuffer.el (completion--replace):
4714 Better preserve markers (bug#7138).
4715
4716 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
4717
4718 * server.el (server-process-filter): Doc fix.
4719
4720 2010-10-08 Drew Adams <drew.adams@oracle.com>
4721
4722 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
4723
4724 2010-10-08 Glenn Morris <rgm@gnu.org>
4725
4726 * vc/ediff-wind.el (ediff-setup-control-frame):
4727 * vc/ediff-ptch.el (ediff-default-backup-extension):
4728 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
4729 (ediff-exec-process): Remove system-types emx, windows-95.
4730
4731 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
4732
4733 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
4734
4735 * cus-edit.el (custom-variable, custom-face): Doc fix.
4736 (custom-face-edit): Add value-create attribute.
4737 (custom-face-edit-value-create)
4738 (custom-face-edit-value-visibility-action): New functions.
4739 Hide unused face attributes by default, and add a visibility toggle.
4740 (custom-face-edit-deactivate): Show empty values with shadow face.
4741 (custom-face-selected): Only use this for face specs with default
4742 attributes.
4743 (custom-face-value-create): Cleanup.
4744
4745 * wid-edit.el (widget-checklist-value-create): Use dolist.
4746 (widget-checklist-match-find): Make second arg optional.
4747
4748 2010-10-07 Glenn Morris <rgm@gnu.org>
4749
4750 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
4751 Prefix things.
4752
4753 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
4754 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
4755 load-path-shadows-mode, update references.
4756 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
4757 Rename variable and button.
4758 (list-load-path-shadows): Update button caller.
4759
4760 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4761
4762 * emacs-lisp/smie.el (smie-bnf-classify): New function.
4763 (smie-bnf-precedence-table): Use it to remember the closers/openers.
4764 (smie-merge-prec2s): Handle those new entries.
4765 (smie-prec2-levels): Only set precedence to nil for actual
4766 openers/closers.
4767 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
4768 that is now unnecessary.
4769
4770 2010-10-07 Miles Bader <miles@gnu.org>
4771
4772 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
4773
4774 2010-10-07 Glenn Morris <rgm@gnu.org>
4775
4776 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
4777 (mail-position-on-field): Remove declarations.
4778 (mail-position-on-field): Autoload it.
4779 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
4780 and mail-header-end. Don't require sendmail.
4781
4782 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
4783 (shadow-mode): New mode.
4784 (shadow-find-file): New button.
4785 (list-load-path-shadows): Use shadow-mode and buttons.
4786
4787 * iimage.el (iimage-version): Remove.
4788 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
4789 Turn into defcustoms.
4790 (iimage-mode-map): Give it a doc string.
4791
4792 * calendar/appt.el (appt-activate): Give a warning rather than an error
4793 if there is no diary-file.
4794
4795 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
4796
4797 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4798 Use `tramp-handle-find-backup-file-name'.
4799
4800 2010-10-06 Glenn Morris <rgm@gnu.org>
4801
4802 * font-core.el (font-lock-defaults-alist): Remove variable.
4803 (font-lock-mode): Doc fix.
4804 (font-lock-default-function): Do not consult font-lock-defaults-alist.
4805 * font-lock.el (font-lock-refresh-defaults): Doc fix.
4806 (font-lock-set-defaults): Doc fix.
4807 Do not consult font-lock-defaults-alist.
4808
4809 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
4810
4811 * emacs-lisp/cl.el: No longer provide cl-19.
4812
4813 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
4814
4815 * net/tramp.el (tramp-handle-directory-files-and-attributes)
4816 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
4817 New defuns, taken from tramp-smb.el.
4818 (tramp-coding-system-change-eol-conversion)
4819 (tramp-set-process-query-on-exit-flag): Remove.
4820
4821 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
4822 (tramp-compat-coding-system-change-eol-conversion)
4823 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
4824 from tramp.el.
4825
4826 * net/tramp-gvfs.el:
4827 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
4828 by `tramp-compat-set-process-query-on-exit-flag'.
4829
4830 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
4831 Use `tramp-handle-directory-files-and-attributes',
4832 `tramp-handle-file-exists-p' and
4833 `tramp-handle-file-newer-than-file-p'.
4834 (tramp-imap-handle-file-exists-p)
4835 (tramp-imap-handle-file-executable-p)
4836 (tramp-imap-handle-file-readable-p)
4837 (tramp-imap-handle-directory-files-and-attributes)
4838 (tramp-imap-handle-file-newer-than-file-p): Remove.
4839
4840 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
4841 by `tramp-compat-set-process-query-on-exit-flag' and
4842 `tramp-coding-system-change-eol-conversion' by
4843 `tramp-compat-coding-system-change-eol-conversion'.
4844
4845 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4846 Use `tramp-handle-directory-files-and-attributes',
4847 `tramp-handle-file-exists-p' and
4848 `tramp-handle-file-newer-than-file-p'.
4849 (tramp-smb-handle-directory-files-and-attributes)
4850 (tramp-smb-handle-file-exists-p)
4851 (tramp-smb-handle-file-newer-than-file-p): Remove.
4852 (tramp-smb-maybe-open-connection):
4853 Replace `tramp-set-process-query-on-exit-flag' by
4854 `tramp-compat-set-process-query-on-exit-flag'.
4855
4856 2010-10-05 Glenn Morris <rgm@gnu.org>
4857
4858 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
4859
4860 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
4861
4862 Continue reorganization of load dependencies. (Bug#7156)
4863
4864 * net/tramp.el (tramp-handle-file-local-copy-hook)
4865 (tramp-delete-temp-file-function): Move down.
4866 (tramp-exists-file-name-handler): Move up.
4867 (tramp-register-file-name-handlers): Simplify autoload.
4868 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
4869 (tramp-handle-directory-files, tramp-handle-dired-uncache)
4870 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
4871 (tramp-handle-file-name-completion)
4872 (tramp-handle-file-name-directory)
4873 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
4874 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
4875 (tramp-handle-find-backup-file-name)
4876 (tramp-handle-insert-file-contents, tramp-handle-load)
4877 (tramp-handle-substitute-in-file-name)
4878 (tramp-handle-unhandled-file-name-directory)
4879 (tramp-mode-string-to-int, tramp-local-host-p)
4880 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
4881
4882 * net/tramp-gvfs.el (top):
4883 * net/tramp-smb.el (top): Do not require 'tramp-sh.
4884
4885 * net/tramp-sh.el (all): Move several objects to tramp.el, see
4886 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
4887
4888 2010-10-04 Glenn Morris <rgm@gnu.org>
4889
4890 * calendar/appt.el (appt-add): Ensure reminders are enabled.
4891 (appt-activate): Give status messages.
4892
4893 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
4894
4895 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
4896 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
4897 `gnutls-negotiate' (formerly `starttls-negotiate').
4898 Remove trivial wrapper `starttls-open-stream'.
4899
4900 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
4901
4902 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
4903 log-outgoing commands.
4904 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
4905 to create a buffer local revert-buffer-function variable.
4906 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
4907 revert-buffer-function lambda.
4908
4909 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
4910
4911 * net/gnutls.el (starttls-negotiate): Use the plist interface to
4912 `gnutls-boot'. Make TYPE the only required parameter.
4913 Allow TRUSTFILES and KEYFILES to be lists.
4914 (open-ssl-stream): Use it.
4915
4916 2010-10-03 Glenn Morris <rgm@gnu.org>
4917
4918 * subr.el (directory-sep-char): Remove obsolete variable.
4919 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
4920 it is "necessary".
4921
4922 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
4923 * vc/vc.el (vc-static-header-alist): Doc fix.
4924 * vc/vc-cvs.el (vc-cvs-header):
4925 * vc/vc-rcs.el (vc-rcs-header):
4926 * vc/vc-sccs.el (vc-sccs-header):
4927 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
4928 * obsolete/vc-mcvs.el (vc-mcvs-header):
4929 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
4930 on XEmacs.
4931
4932 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
4933
4934 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
4935 Remove obsolete use of binary-overwrite-mode (Bug#7001).
4936
4937 2010-10-03 Glenn Morris <rgm@gnu.org>
4938
4939 * obsolete/x-menu.el: Remove file, obsolete since 21.1
4940
4941 * textmodes/rst.el (rst-font-lock-keywords-function):
4942 Drop Emacs 20 code.
4943
4944 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
4945
4946 * printing.el: Drop Emacs 20 code.
4947
4948 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
4949 without having used appt.el already).
4950
4951 * subr.el (make-local-hook): Remove function obsolete since 21.1.
4952 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
4953 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
4954 XEmacs.
4955 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
4956 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
4957
4958 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
4959 (charset-width, find-charset-region, chars-in-region, forward-point)
4960 (encode-coding-string, coding-system-p, ccl-execute-on-string)
4961 (define-ccl-program, multibyte-string-p, string-make-multibyte):
4962 Remove compatibility cruft (none of these are used by ps*.el).
4963
4964 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4965
4966 * subr.el (booleanp): Return t instead of a list (Bug#7086).
4967
4968 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
4969
4970 * server.el (server-process-filter, server-return-error):
4971 Give emacsclient time to shut down after receiving an error string.
4972
4973 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
4974
4975 * files.el (remote-file-name-inhibit-cache): New defcustom.
4976
4977 * time.el (display-time-file-nonempty-p):
4978 Use `remote-file-name-inhibit-cache'.
4979
4980 * net/tramp.el (tramp-completion-reread-directory-timeout):
4981 Fix docstring.
4982
4983 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
4984 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
4985 `remote-file-name-inhibit-cache'. Check also for an integer
4986 value. Add/increase counter when `tramp-verbose' >= 10.
4987 (tramp-set-file-property): Add/increase counter when
4988 `tramp-verbose' >= 10.
4989
4990 * net/tramp-cmds.el (tramp-cleanup-all-connections)
4991 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
4992 (tramp-bug): Set tramp-autoload cookie. Report all interned
4993 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
4994 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
4995 characters only in strings.
4996
4997 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
4998 to backward compatibility.
4999
5000 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
5001 (tramp-handle-file-name-all-completions)
5002 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
5003 (tramp-open-connection-setup-interactive-shell):
5004 Call `tramp-cleanup-connection' directly.
5005
5006 2010-10-02 Glenn Morris <rgm@gnu.org>
5007
5008 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
5009
5010 * subr.el (char-bytes): Remove obsolete function.
5011
5012 * isearch.el (isearch-return-char): Remove obsolete function.
5013
5014 * mouse.el: No longer provide mldrag.
5015 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
5016 Remove obsolete aliases.
5017
5018 * comint.el (comint-kill-output): Remove obsolete alias.
5019
5020 * composite.el (decompose-composite-char): Remove obsolete function.
5021 * ps-def.el (decompose-composite-char): Remove unused function.
5022
5023 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
5024
5025 * outline.el (outline-visible): Remove obsolete function.
5026
5027 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
5028 * faces.el (internal-find-face, internal-get-face)
5029 (frame-update-faces, frame-update-face-colors)
5030 (x-frob-font-weight, x-frob-font-slant)
5031 (internal-frob-font-weight, internal-frob-font-slant)
5032 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
5033 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
5034 (x-make-font-bold-italic): Remove functions and aliases, obsolete
5035 since Emacs 21.1.
5036 * emulation/viper-util.el (viper-get-face):
5037 * obsolete/lucid.el (find-face, get-face): Use facep.
5038 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
5039 Remove unused functions.
5040 * vc/ediff-util.el (ediff-submit-report): Doc fix.
5041
5042 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
5043 delete tempfile if interrupted during compilation.
5044
5045 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5046
5047 * net/tls.el (tls-starttls-switches): Give up on using starttls with
5048 gnutls-cli.
5049 (tls-program): Add --insecure to be consistent with the defaults from
5050 openssl s_client. Now all three commands are insecure.
5051
5052 2010-10-01 Eli Zaretskii <eliz@gnu.org>
5053
5054 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
5055 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
5056 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
5057
5058 2010-10-01 Glenn Morris <rgm@gnu.org>
5059
5060 * obsolete/sc.el: Remove file.
5061
5062 * files.el (temporary-file-directory): On darwin, also try
5063 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
5064
5065 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
5066
5067 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
5068 Let's not break compatibility gratuitously, shall we?
5069
5070 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5071
5072 * net/tls.el (tls-starttls-switches): New variable.
5073 (tls-find-starttls-argument): Use it.
5074 (open-tls-stream): Ditto.
5075
5076 * net/netrc.el (netrc-credentials): Return the value of the "default"
5077 entry.
5078 (netrc-machine): Ditto.
5079
5080 2010-09-30 Eli Zaretskii <eliz@gnu.org>
5081
5082 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
5083
5084 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
5085
5086 * server.el (server-start): Don't write pid to the authentication file.
5087 (server-create-tty-frame): Don't send pid.
5088 (server-process-filter): Send pid at the start of every connection.
5089
5090 2010-09-30 Glenn Morris <rgm@gnu.org>
5091
5092 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
5093 (show-all-diary-entries): Remove obsolete function aliases.
5094
5095 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
5096 Remove options, obsolete since 22.1.
5097 (appt-display-format, appt-display-message):
5098 Remove backwards-compatibility code.
5099 (appt-check): No longer check appt-issue-message.
5100 (appt-make-list): No longer autoload it. Doc fix. No longer
5101 activate the package.
5102
5103 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
5104
5105 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
5106 (starttls-negotiate): Just call boot, and let the handshake be
5107 triggered from the read loop.
5108
5109 2010-09-29 Glenn Morris <rgm@gnu.org>
5110
5111 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
5112 not displaying the diary.
5113 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
5114 * calendar/appt.el (appt-check): No longer need to kill diary.
5115
5116 * calendar/diary-lib.el (diary-list-entries): Move the
5117 "Preparing..." message entirely here.
5118 (diary-simple-display, diary-fancy-display): Move "Preparing..."
5119 messages to diary-list-entries.
5120 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
5121 diary-display-function.
5122
5123 * calendar/diary-lib.el (diary-include-other-diary-files):
5124 Trap some recursive includes.
5125
5126 * calendar/appt.el (appt-activate): Check diary file.
5127
5128 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
5129
5130 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
5131 construction.
5132
5133 * calendar/time-date.el: No need to require cl for Emacs 21.
5134
5135 2010-09-28 Glenn Morris <rgm@gnu.org>
5136
5137 * calendar/appt.el (appt-check): Minor simplification.
5138
5139 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
5140
5141 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
5142 citation prefix.
5143
5144 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
5145
5146 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
5147 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
5148
5149 2010-09-27 Kenichi Handa <handa@m17n.org>
5150
5151 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
5152 "ustar" format.
5153
5154 2010-09-27 Kenichi Handa <handa@m17n.org>
5155
5156 * international/mule.el (define-coding-system): Docstring fixed.
5157
5158 * international/mule-diag.el (describe-character-set): Use princ
5159 with proper print-length and print-level instead of insert.
5160
5161 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
5162
5163 * window.el (walk-windows): Doc fix (bug#7105).
5164
5165 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5166
5167 * emacs-lisp/float-sup.el (e): Remove.
5168
5169 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
5170
5171 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
5172 variable.
5173 (starttls-negotiate): Use it.
5174
5175 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5176
5177 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
5178 back.
5179
5180 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
5181
5182 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
5183
5184 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5185
5186 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
5187
5188 * net/netrc.el (netrc-store-data): New function.
5189
5190 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
5191
5192 * net/gnutls.el: GnuTLS glue code to set up a connection.
5193
5194 2010-09-25 Julien Danjou <julien@danjou.info>
5195
5196 * notifications.el: Call dbus-register-signal only if it is bound.
5197
5198 2010-09-25 Glenn Morris <rgm@gnu.org>
5199
5200 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
5201 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
5202 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
5203 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
5204 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
5205 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
5206 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
5207 * eshell/esh-util.el, eshell/esh-var.el:
5208 Remove leading `*' from docs of faces and defcustoms.
5209
5210 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
5211
5212 * eshell/em-ls.el (eshell-ls-archive-regexp):
5213 * eshell/esh-util.el (eshell-tar-regexp):
5214 * ibuffer.el (ibuffer-compressed-file-name-regexp):
5215 * info.el (Info-suffix-list):
5216 * international/mule.el (auto-coding-alist):
5217 * woman.el (woman-file-regexp, woman-file-compression-regexp):
5218 * progmodes/etags.el (tags-compression-info-list):
5219 Support xz compression.
5220
5221 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
5222
5223 * files.el (get-free-disk-space): Don't assume the "df" output
5224 columns line up (Bug#6995).
5225
5226 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
5227
5228 * finder.el (finder-unknown-keywords):
5229 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
5230 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
5231
5232 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
5233
5234 * server.el (server-start): Revert part of 2010-08-08 change. Using
5235 address 127.0.0.1 for local host is now done in Fmake_network_process.
5236
5237 2010-09-24 Glenn Morris <rgm@gnu.org>
5238
5239 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
5240 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
5241 * textmodes/css-mode.el, textmodes/dns-mode.el:
5242 Move autoloaded auto-mode-alist entries to files.el.
5243 * files.el (auto-mode-alist): Move entries here.
5244
5245 2010-09-23 Glenn Morris <rgm@gnu.org>
5246
5247 * isearch.el (isearch-lazy-highlight-cleanup)
5248 (isearch-lazy-highlight-initial-delay)
5249 (isearch-lazy-highlight-interval)
5250 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
5251 * net/net-utils.el (ipconfig-program-options):
5252 Move aliases to options before the associated definitions.
5253
5254 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5255
5256 * newcomment.el (comment-normalize-vars): Better test validity of
5257 comment-end-skip.
5258
5259 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5260
5261 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
5262 (float-e): New name for `e'.
5263 (degrees-to-radians, radians-to-degrees):
5264 * calendar/solar.el (solar-longitude):
5265 * calculator.el (calculator-registers, calculator-funcall):
5266 * textmodes/artist.el (artist-spray-random-points):
5267 * play/bubbles.el (bubbles--initialize-images): Use new names.
5268
5269 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
5270
5271 Update to CEDET 1.0's version of EIEIO.
5272
5273 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
5274 New function.
5275 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
5276 (eieio-default-eval-maybe): Eval val instead of unquoting only.
5277 (class-precedence-list): If class is nil, return nil.
5278 (eieio-generic-call): If class of first input arg is nil, don't
5279 look up static methods, and do check for primary methods.
5280 (initialize-instance): See if the default needs to be evaluated
5281 during the constructor.
5282 (eieio-perform-slot-validation-for-default): Don't do the check
5283 for values that will eventually be evaluated.
5284 (eieio-eval-default-p): New function.
5285 (eieio-default-eval-maybe): Use it.
5286
5287 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
5288
5289 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
5290 method-invocation-order.
5291 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
5292 (eieio-class-precedence-dfs): Compute class precedence list using
5293 dfs algorithm.
5294 (eieio-class-precedence-bfs): Compute class precedence list using
5295 bfs algorithm.
5296 (eieio-class-precedence-c3): Compute class precedence list using
5297 c3 algorithm.
5298 (class-precedence-list): New function.
5299 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
5300 (inconsistent-class-hierarchy): New error symbol.
5301 (call-next-method): Stow the replacement argument list for future
5302 call-next-method invocations.
5303
5304 2010-09-23 Glenn Morris <rgm@gnu.org>
5305
5306 * calendar/appt.el (appt-check): If not displaying the diary,
5307 use (diary 1) to only get the entries we need.
5308 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
5309 that it is in day order. (Bug#7019)
5310
5311 * calendar/appt.el (appt-check): Rather than showing the diary,
5312 just turn off invisible display, and only if needed.
5313
5314 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
5315
5316 2010-09-23 Glenn Morris <rgm@gnu.org>
5317
5318 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
5319 (byte-compile-defvar, byte-compile-cl-warn):
5320 Start warnings with lower-case, like the majority.
5321
5322 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
5323
5324 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
5325
5326 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
5327 * files.el (auto-mode-alist): Move ld-script entries here, further down
5328 the list.
5329
5330 * vc/add-log.el: Don't require timezone when compiling.
5331 (timezone-make-date-sortable): Autoload it.
5332 (change-log-sortable-date-at): Don't require timezone.
5333 Use `ignore-errors'.
5334
5335 * comint.el (comint-use-prompt-regexp-instead-of-fields):
5336 Move alias before definition, so it does not need autoloading.
5337
5338 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
5339 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
5340 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
5341 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
5342 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
5343 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
5344 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
5345 * textmodes/tex-mode.el, textmodes/two-column.el:
5346 Remove leading `*' from docs of defcustoms etc.
5347
5348 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
5349
5350 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
5351
5352 2010-09-22 Dan Christensen <jdc@uwo.ca>
5353
5354 * calendar/time-date.el (date-to-time): Try using parse-time-string
5355 first before using the slower timezone-make-date-arpa-standard.
5356
5357 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
5358
5359 * calendar/time-date.el (format-seconds): Comment fix.
5360
5361 2010-09-22 Glenn Morris <rgm@gnu.org>
5362
5363 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
5364 is not automatically buffer-local.
5365
5366 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
5367
5368 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
5369 (smie-indent-comment): Be more careful with comment-start-skip.
5370 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
5371 (smie-indent-functions): Use them.
5372
5373 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
5374
5375 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
5376
5377 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
5378
5379 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
5380 tool-bar-position. Don't modify frame parameters here.
5381 (menu-bar-options-save): Add tool-bar-position.
5382
5383 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
5384
5385 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5386
5387 * textmodes/reftex-parse.el (reftex-what-macro)
5388 (reftex-context-substring): Let-bind forward-sexp-function to nil
5389 since we don't need/want to treat \begin...\end as a block (bug#7053).
5390
5391 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
5392
5393 * simple.el (blink-matching-open): Use syntax-class.
5394
5395 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
5396 Set invisibility spec for pascal's outline mode.
5397 (pascal-outline-change): Clean up calling convention.
5398 (pascal-show-all, pascal-hide-other-defuns): Update callers.
5399
5400 * progmodes/prolog.el (prolog-smie-forward-token)
5401 (prolog-smie-backward-token): New functions.
5402 (prolog-mode-variables): Use them to parse "!," correctly.
5403 Set up smie-blink-matching for ".".
5404
5405 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
5406 and `end'.
5407 (ispell-region, ispell-process-line): Update users.
5408
5409 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
5410 point-min==1.
5411
5412 * textmodes/ispell.el: Fix commenting convention.
5413 (ispell-parse-output): Simplify, use push.
5414 (ispell-region): Use match-string-no-properties.
5415 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
5416 (ispell-minor-mode): Use define-minor-mode.
5417 (ispell-message): Remove unused var `skip-regexp'.
5418 (ispell-add-per-file-word-list): Use dynamic let-binding.
5419 Try and use the proper comment marker.
5420
5421 * mail/sendmail.el: Fix commenting convention.
5422 (sendmail-send-it): Use line-beginning-position.
5423
5424 * help-fns.el (describe-variable): Add original value, if applicable.
5425
5426 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
5427
5428 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
5429
5430 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
5431
5432 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5433
5434 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
5435 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
5436 (smie-prec2-levels): Use them to better diagnose precedence cycles.
5437 (smie-blink-matching-check): Don't signal a mismatch if car is t.
5438 (smie-blink-matching-open): Rewrite to remove assumptions, so that
5439 something like "." can also be a closer.
5440 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
5441 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
5442 Rename internal functions to use "--". Update callers.
5443
5444 * frame.el (make-frame-names-alist): Don't list frames on other displays.
5445
5446 * fringe.el (fringe-styles): New var.
5447 (fringe-mode, fringe-query-style): Use it.
5448
5449 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
5450
5451 * progmodes/sql.el: Version 2.8
5452 (sql-login-params): Update widget structure; changes still needed.
5453 (sql-product-alist): Add :list-all and :list-table features for
5454 SQLite, Postgres and MySQL products.
5455 (sql-redirect): Handle default value.
5456 (sql-execute, sql-execute-feature): New functions.
5457 (sql-read-table-name): New function.
5458 (sql-list-all, sql-list-table): New functions. User API.
5459 (sql-mode-map, sql-interactive-mode-map): Add key definitions
5460 for above functions.
5461 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
5462 for above functions.
5463 (sql-postgres-login-params): Add user and database defaults.
5464 (sql-buffer-live-p): Bug fix.
5465 (sql-product-history): New variable.
5466 (sql-read-product): New function. Use it.
5467 (sql-set-product, sql-product-interactive): Use it.
5468 (sql-connection-history): New variable.
5469 (sql-read-connection): New function. Use it.
5470 (sql-connect): New function.
5471 (sql-for-each-login): Redesign function interface.
5472 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
5473 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
5474 (sql-comint): Check for program. Existing live buffer.
5475 (sql-comint-postgres): Add port parameter.
5476
5477 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5478
5479 * emacs-lisp/warnings.el: Fix commenting convention.
5480 (display-warning): Use special mode and make the buffer read-only.
5481
5482 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
5483
5484 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
5485 empty string when it follows a repeated or optional pattern.
5486
5487 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
5488
5489 * indent.el (indent-according-to-mode): Apply syntax-propertize.
5490 (indent-region): Use indent-according-to-mode.
5491
5492 2010-09-18 Eli Zaretskii <eliz@gnu.org>
5493
5494 * fringe.el (fringe-mode): Doc fix.
5495
5496 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
5497
5498 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
5499 refreshing the preview buffer.
5500
5501 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
5502
5503 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
5504 (latex-syntax-propertize-rules): New consts; replace
5505 tex-font-lock-syntactic-keywords.
5506 (tex-env-mark, latex-env-before-change): New functions.
5507 (latex-electric-env-pair-mode): New minor mode.
5508 (tex-font-lock-verb): Change arguments; do move point.
5509 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
5510 representation as a form of comment.
5511 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
5512 (doctex-syntax-propertize-rules): New const; replaces
5513 doctex-font-lock-syntactic-keywords.
5514 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
5515
5516 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
5517 (fortran-make-syntax-propertize-function): New function; replaces
5518 fortran-font-lock-syntactic-keywords.
5519 (fortran-mode): Use it.
5520 (fortran-line-length): Use it. Improve interactive spec.
5521
5522 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
5523 (syntax-propertize-rules): Add var-ref case. Fix offset computation
5524 when adding surrounding \(..\).
5525
5526 * progmodes/js.el (js-mode): Fix last change (bug#7054).
5527
5528 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5529
5530 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
5531 Use with-current-buffer.
5532
5533 * isearch.el (isearch-face): Rename from `isearch'.
5534 (isearch-highlight): Use new name.
5535
5536 2010-09-17 Eli Zaretskii <eliz@gnu.org>
5537
5538 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
5539 5, for `half' width fringes. (Bug#6933)
5540
5541 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5542
5543 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
5544 (byte-compile-defvar): "foo/bar" does not lack a prefix.
5545
5546 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
5547
5548 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
5549
5550 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
5551 in calculating new frame position. Add more space between new and
5552 parent on the left (Bug#7048).
5553
5554 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
5555
5556 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
5557 defmacro.
5558
5559 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
5560
5561 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
5562
5563 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
5564 obsolete alias for x-selection-value.
5565
5566 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
5567
5568 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
5569
5570 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
5571 cookie.
5572
5573 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
5574
5575 * net/tramp-compat.el (tramp-compat-with-temp-message)
5576 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
5577 (tramp-compat-process-put): New defuns.
5578
5579 * net/tramp.el (top):
5580 * net/tramp-gvfs.el (top):
5581 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
5582
5583 * net/tramp.el (tramp-progress-reporter-update):
5584 Use `tramp-compat-funcall'.
5585
5586 * net/tramp.el (tramp-process-actions):
5587 * net/tramp-gvfs.el (tramp-handle-vc-registered):
5588 * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
5589 (tramp-get-remote-stat, tramp-get-remote-readlink):
5590 Use `tramp-compat-with-temp-message'.
5591
5592 * net/tramp-sh.el (top): Require 'cl.
5593 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
5594 (tramp-open-connection-setup-interactive-shell):
5595 Use `tramp-compat-process-put'.
5596
5597 2010-09-15 Alan Mackenzie <acm@muc.de>
5598
5599 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
5600 indentation.
5601 (c-forward-<>-arglist-recur): Fix an infinite recursion.
5602
5603 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
5604
5605 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
5606 `lexical' for warnings related to lexical scoping.
5607 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
5608 global vars which don't have a prefix and could hence affect lexical
5609 scoping in unrelated files.
5610
5611 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5612
5613 * net/imap.el: Revert back to version
5614 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
5615 seem problematic.
5616
5617 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
5618
5619 * obsolete/old-whitespace.el (whitespace-unload-function):
5620 Explicitly pass `obarray' to `unintern' to avoid a warning.
5621
5622 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5623
5624 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
5625 Add `when' argument. Update callers.
5626
5627 * subr.el (unintern): Declare the obarray arg mandatory.
5628
5629 2010-09-14 Glenn Morris <rgm@gnu.org>
5630
5631 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
5632 Doc fixes.
5633
5634 * calendar/diary-lib.el (diary-included-files): New variable.
5635 (diary-list-entries): Maybe initialize diary-included-files.
5636 (diary-include-other-diary-files): Append to diary-included-files.
5637 * calendar/appt.el (appt-update-list): Also check the members of
5638 diary-included-files. (Bug#6999)
5639 (appt-check): Doc fix.
5640
5641 2010-09-14 David Reitter <david.reitter@gmail.com>
5642
5643 * simple.el (line-move-visual): Do not truncate goal column to
5644 integer size. (Bug#7020)
5645
5646 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5647
5648 * repeat.el (repeat): Allow repeating when the last event is a click.
5649 Suggested by Drew Adams (bug#6256).
5650
5651 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
5652
5653 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
5654 Replace setting HGRCPATH to "" by some less invasive --config options.
5655
5656 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5657
5658 * font-lock.el (font-lock-beginning-of-syntax-function):
5659 Mark as obsolete.
5660
5661 2010-09-14 Glenn Morris <rgm@gnu.org>
5662
5663 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
5664 and tool-bar modes. (Bug#6211)
5665 (menu-bar-mode): Move setting of standard-value after the
5666 minor-mode definition, otherwise it seems to have no effect.
5667
5668 2010-09-14 Masatake YAMATO <yamato@redhat.com>
5669
5670 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
5671 Fix typo. (Bug#6976)
5672
5673 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5674
5675 * whitespace.el: Allow cleaning up blanks without blank
5676 visualization (Bug#6651). Adjust help window for
5677 whitespace-toggle-options (Bug#6479). Allow to use fill-column
5678 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
5679 (whitespace-style): Add new value 'face. Adjust docstring.
5680 (whitespace-space, whitespace-hspace, whitespace-tab):
5681 Adjust foreground property face.
5682 (whitespace-line-column): Adjust docstring and type declaration.
5683 (whitespace-style-value-list, whitespace-toggle-option-alist)
5684 (whitespace-help-text): Adjust const initialization.
5685 (whitespace-toggle-options, global-whitespace-toggle-options):
5686 Adjust docstring.
5687 (whitespace-display-window, whitespace-interactive-char)
5688 (whitespace-style-face-p, whitespace-color-on): Adjust code.
5689 (whitespace-help-scroll): New fun.
5690
5691 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
5692
5693 * calendar/time-date.el (format-seconds): Comment fix.
5694
5695 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
5696
5697 * progmodes/sql.el: Version 2.7.
5698 (sql-buffer-live-p): Improve detection.
5699 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
5700 (sql-set-sqli-buffer): Use it.
5701 (sql-product-interactive): Run `sql-set-sqli-hook'.
5702 (sql-rename-buffer): Code cleanup.
5703 (sql-redirect, sql-redirect-value): New functions. More to come.
5704
5705 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
5706
5707 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.
5708 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
5709 (TRAMP_SRC): New macro.
5710 ($(lisp)/net/tramp-loaddefs.el): New target.
5711
5712 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
5713
5714 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
5715
5716 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
5717
5718 * net/tramp.el (top): Don't show loading message. Require just
5719 'tramp-compat, everything else is required there.
5720 Use `ignore-errors' where appropriate.
5721 (tramp-inline-compress-start-size, tramp-copy-size-limit)
5722 (tramp-terminal-type, tramp-end-of-output)
5723 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
5724 (tramp-completion-function-alist-ssh)
5725 (tramp-completion-function-alist-telnet)
5726 (tramp-completion-function-alist-su)
5727 (tramp-completion-function-alist-putty, tramp-remote-path)
5728 (tramp-remote-process-environment, tramp-sh-extra-args)
5729 (tramp-actions-before-shell, tramp-uudecode)
5730 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
5731 (tramp-perl-file-attributes)
5732 (tramp-perl-directory-files-and-attributes)
5733 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
5734 (tramp-perl-encode, tramp-perl-decode)
5735 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
5736 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
5737 (tramp-handle-make-symbolic-link, tramp-handle-load)
5738 (tramp-handle-file-name-as-directory)
5739 (tramp-handle-file-name-directory)
5740 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
5741 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
5742 (tramp-do-file-attributes-with-ls)
5743 (tramp-do-file-attributes-with-perl)
5744 (tramp-do-file-attributes-with-stat)
5745 (tramp-handle-set-visited-file-modtime)
5746 (tramp-handle-verify-visited-file-modtime)
5747 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
5748 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
5749 (tramp-handle-file-selinux-context)
5750 (tramp-handle-set-file-selinux-context)
5751 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
5752 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
5753 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
5754 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
5755 (tramp-handle-file-ownership-preserved-p)
5756 (tramp-handle-directory-file-name, tramp-handle-directory-files)
5757 (tramp-handle-directory-files-and-attributes)
5758 (tramp-do-directory-files-and-attributes-with-perl)
5759 (tramp-do-directory-files-and-attributes-with-stat)
5760 (tramp-handle-file-name-all-completions)
5761 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
5762 (tramp-handle-copy-file, tramp-handle-copy-directory)
5763 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
5764 (tramp-do-copy-or-rename-file-via-buffer)
5765 (tramp-do-copy-or-rename-file-directly)
5766 (tramp-do-copy-or-rename-file-out-of-band)
5767 (tramp-handle-make-directory, tramp-handle-delete-directory)
5768 (tramp-handle-delete-file)
5769 (tramp-handle-dired-recursive-delete-directory)
5770 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
5771 (tramp-handle-insert-directory)
5772 (tramp-handle-unhandled-file-name-directory)
5773 (tramp-handle-expand-file-name)
5774 (tramp-handle-substitute-in-file-name)
5775 (tramp-handle-executable-find, tramp-process-sentinel)
5776 (tramp-handle-start-file-process, tramp-handle-process-file)
5777 (tramp-handle-call-process-region, tramp-handle-shell-command)
5778 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
5779 (tramp-handle-insert-file-contents)
5780 (tramp-handle-insert-file-contents-literally)
5781 (tramp-handle-find-backup-file-name)
5782 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
5783 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
5784 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
5785 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
5786 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
5787 (tramp-find-file-exists-command, tramp-open-shell)
5788 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
5789 (tramp-open-connection-setup-interactive-shell)
5790 (tramp-local-coding-commands, tramp-remote-coding-commands)
5791 (tramp-find-inline-encoding, tramp-call-local-coding-command)
5792 (tramp-inline-compress-commands, tramp-find-inline-compress)
5793 (tramp-compute-multi-hops, tramp-maybe-open-connection)
5794 (tramp-send-command, tramp-wait-for-output)
5795 (tramp-send-command-and-check, tramp-barf-unless-okay)
5796 (tramp-send-command-and-read, tramp-mode-string-to-int)
5797 (tramp-convert-file-attributes, tramp-check-cached-permissions)
5798 (tramp-file-mode-from-int, tramp-file-mode-permissions)
5799 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
5800 (tramp-method-out-of-band-p, tramp-local-host-p)
5801 (tramp-get-remote-path, tramp-get-remote-tmpdir)
5802 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
5803 (tramp-get-test-command, tramp-get-test-nt-command)
5804 (tramp-get-file-exists-command, tramp-get-remote-ln)
5805 (tramp-get-remote-perl, tramp-get-remote-stat)
5806 (tramp-get-remote-readlink, tramp-get-remote-trash)
5807 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
5808 (tramp-get-local-uid, tramp-get-local-gid)
5809 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
5810 tramp-sh.el.
5811 (tramp-methods, tramp-default-method-alist)
5812 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
5813 Move initialization to tramp-sh.el.
5814 (tramp-temp-name-prefix): Make it a defconst.
5815 (tramp-dissect-file-name): Don't check anymore for multi-hop
5816 methods.
5817 (tramp-debug-outline-regexp): Add a docstring.
5818 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
5819 (tramp-get-debug-buffer): Use it.
5820
5821 * net/tramp-cache.el (top): Set tramp-autoload cookie for
5822 initialization forms.
5823 (tramp-set-connection-property): Don't protect `tramp-message'
5824 call, it isn't necessary any longer.
5825 (tramp-dump-connection-properties): Use `ignore-errors'.
5826
5827 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
5828 'password-cache and 'auth-source.
5829
5830 * net/tramp-gvfs.el (top):
5831 * net/tramp-smb.el (top): Require 'tramp-sh.
5832
5833 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
5834
5835 * net/tramp-sh.el: New file, derived from tramp.el.
5836 (top): Initialize `tramp-methods', `tramp-default-method-alist',
5837 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
5838 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
5839 Use `ignore-errors' where appropriate.
5840 (tramp-sh-file-name-handler-alist): Rename from
5841 `tramp-file-name-handler-alist'.
5842 (tramp-send-command-and-check): Return t or nil. Remove all
5843 `zerop' checks, where called.
5844 (tramp-handle-set-file-modes)
5845 (tramp-do-copy-or-rename-file-directly)
5846 (tramp-handle-delete-directory, tramp-handle-delete-file)
5847 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
5848 (tramp-sh-file-name-handler, tramp-send-command-and-check)
5849 (tramp-get-remote-ln): Set tramp-autoload cookie.
5850
5851 * net/tramp-fish.el: Remove file.
5852
5853 2010-09-13 Daiki Ueno <ueno@unixuser.org>
5854
5855 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
5856 buffer-file-name to avoid file-locking. (Bug#7026)
5857
5858 2010-09-13 Julien Danjou <julien@danjou.info>
5859
5860 * notifications.el (notifications-notify): Add support for
5861 image-path and sound-name.
5862 (notifications-specification-version): Add this variable.
5863
5864 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5865
5866 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
5867
5868 2010-09-12 Leo <sdl.web@gmail.com>
5869
5870 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
5871 (rcirc-completion-start): New variables.
5872 (rcirc-nick-completions): Rename to rcirc-completions.
5873 (rcirc-nick-completion-start-offset): Delete.
5874 (rcirc-completion-at-point): New function for constructing
5875 completion data for both nicks and irc commands. Add to
5876 completion-at-point-functions in rcirc mode.
5877 (rcirc-complete): Rename from rcirc-nick-complete; use
5878 rcirc-completion-at-point.
5879 (defun-rcirc-command): Update rcirc-client-commands.
5880
5881 2010-09-11 Glenn Morris <rgm@gnu.org>
5882
5883 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
5884 atomically, to avoid parallel build errors. (Bug#4196)
5885
5886 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
5887
5888 * progmodes/sql.el: Version 2.6
5889 (sql-dialect): Synonym for "sql-product".
5890 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
5891 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
5892 Set "sql-buffer" to buffer name not buffer object so multiple sql
5893 interactive buffers work properly. Reverts misguided changes in
5894 earlier work.
5895 (sql-comint): Make sure different buffer name is used if "*SQL*"
5896 buffer is for a different product.
5897 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
5898 login param.
5899 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
5900 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
5901 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
5902 Accept new buffer name or prompt for one.
5903 (sql-port): Default to zero.
5904 (sql-comint-mysql): Handle "sql-port" as a numeric.
5905 (sql-port-history): Delete unused variable.
5906 (sql-get-login): Default "sql-port" to a number.
5907 (sql-product-alist): Correct Postgres prompt and terminator regexp.
5908 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
5909 "sqlite3" executables.
5910 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
5911 (sql-buffer-live-p): New function.
5912 (sql-mode-menu, sql-send-string): Use it.
5913 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
5914 syntax pattern.
5915 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
5916 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
5917
5918 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5919
5920 * net/netrc.el (netrc-credentials): New convenience function.
5921
5922 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5923
5924 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
5925 to replace texinfo-font-lock-syntactic-keywords.
5926 (texinfo-mode): Use it.
5927
5928 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
5929 Use syntax-propertize-function.
5930
5931 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
5932 replace sgml-font-lock-syntactic-keywords.
5933 (sgml-mode): Use it.
5934
5935 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
5936 since we don't use it.
5937
5938 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
5939
5940 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
5941 if available.
5942 (vhdl-fontify-buffer): Adjust.
5943
5944 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
5945 replace tcl-font-lock-syntactic-keywords.
5946 (tcl-mode): Use it.
5947
5948 * progmodes/simula.el (simula-syntax-propertize-function): New var to
5949 replace simula-font-lock-syntactic-keywords.
5950 (simula-mode): Use it.
5951
5952 * progmodes/sh-script.el (sh-st-symbol): Remove.
5953 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
5954 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
5955 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
5956 (sh-font-lock-paren): Set syntax-multiline.
5957 (sh-font-lock-syntactic-keywords): Remove.
5958 (sh-syntax-propertize-function): New function to replace it.
5959 (sh-mode): Use it.
5960
5961 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
5962 Define while compiling.
5963 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
5964 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
5965 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
5966 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
5967 (ruby-here-doc-end-syntax): Only define when
5968 syntax-propertize is not available.
5969 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
5970 New functions.
5971 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
5972 (electric-indent-chars): Silence bytecompiler.
5973 (ruby-mode): Use prog-mode, syntax-propertize-function, and
5974 electric-indent-chars.
5975
5976 * progmodes/python.el (python-syntax-propertize-function): New var to
5977 replace python-font-lock-syntactic-keywords.
5978 (python-mode): Use it.
5979 (python-quote-syntax): Simplify and adjust to new use.
5980
5981 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
5982 replace perl-font-lock-syntactic-keywords.
5983 (perl-syntax-propertize-special-constructs): New fun to replace
5984 perl-font-lock-special-syntactic-constructs.
5985 (perl-font-lock-syntactic-face-function): New fun.
5986 (perl-mode): Use it.
5987
5988 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
5989 to replace octave-font-lock-close-quotes.
5990 (octave-syntax-propertize-function): New function to replace
5991 octave-font-lock-syntactic-keywords.
5992 (octave-mode): Use it.
5993
5994 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
5995 replaces mixal-font-lock-syntactic-keywords.
5996 (mixal-mode): Use it.
5997
5998 * progmodes/make-mode.el (makefile-syntax-propertize-function):
5999 New var; replaces makefile-font-lock-syntactic-keywords.
6000 (makefile-mode): Use it.
6001 (makefile-imake-mode): Adjust.
6002
6003 * progmodes/js.el (js--regexp-literal): Define while compiling.
6004 (js-syntax-propertize-function): New var; replaces
6005 js-font-lock-syntactic-keywords.
6006 (js-mode): Use it.
6007
6008 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
6009 replaces gdb-script-font-lock-syntactic-keywords.
6010 (gdb-script-mode): Use it.
6011
6012 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
6013 (fortran--font-lock-syntactic-keywords): New var.
6014 (fortran-line-length): Update syntax-propertize-function and
6015 fortran--font-lock-syntactic-keywords.
6016
6017 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
6018
6019 * progmodes/cfengine.el (cfengine-mode):
6020 Use syntax-propertize-function.
6021 (cfengine-font-lock-syntactic-keywords): Remove.
6022
6023 * progmodes/autoconf.el (autoconf-mode):
6024 Use syntax-propertize-function.
6025 (autoconf-font-lock-syntactic-keywords): Remove.
6026
6027 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
6028 (ada-after-change-function, ada-initialize-syntax-table-properties)
6029 (ada-handle-syntax-table-properties): Only define when
6030 syntax-propertize is not available.
6031 (ada-mode): Use syntax-propertize-function.
6032
6033 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
6034 (font-lock-fontify-syntactic-keywords-region): Move handling of
6035 font-lock-syntactically-fontified to...
6036 (font-lock-default-fontify-region): ...here.
6037 Let syntax-propertize-function take precedence.
6038 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
6039
6040 * emacs-lisp/syntax.el (syntax-propertize-function)
6041 (syntax-propertize-chunk-size, syntax-propertize--done)
6042 (syntax-propertize-extend-region-functions): New vars.
6043 (syntax-propertize-wholelines, syntax-propertize-multiline)
6044 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
6045 (syntax-propertize): New functions.
6046 (syntax-propertize-rules): New macro.
6047 (syntax-ppss-flush-cache): Set syntax-propertize--done.
6048 (syntax-ppss): Call syntax-propertize.
6049
6050 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
6051
6052 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
6053
6054 * textmodes/ispell.el (ispell-init-process): Improve comments.
6055 XEmacs compatibility changes regarding (add-hook) 'local option
6056 and (set-process-query-on-exit-flag).
6057
6058 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
6059
6060 * net/tramp-cache.el (tramp-parse-connection-properties):
6061 Set tramp-autoload cookie.
6062
6063 2010-09-09 Glenn Morris <rgm@gnu.org>
6064
6065 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
6066 (imagemagick-register-types): Doc fix.
6067
6068 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
6069
6070 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
6071
6072 * progmodes/js.el (require): Require is already "eval-and-compile".
6073 (js--re-search-forward): Avoid `eval'. Preserve the error data.
6074 (js--re-search-backward): Use js--re-search-forward.
6075
6076 * progmodes/fortran.el (fortran-line-length): Don't recompute
6077 syntactic keywords redundantly a second time.
6078
6079 * progmodes/ada-mode.el: Replace "(set '" with setq.
6080 (ada-mode): Simplify.
6081 (ada-create-case-exception, ada-adjust-case-interactive)
6082 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
6083 (ada-search-ignore-string-comment, ada-move-to-start)
6084 (ada-move-to-end): Use with-syntax-table.
6085
6086 * font-lock.el (save-buffer-state): Remove `varlist' arg.
6087 (font-lock-unfontify-region, font-lock-default-fontify-region):
6088 Update usage correspondingly.
6089 (font-lock-fontify-syntactic-keywords-region):
6090 Set parse-sexp-lookup-properties buffer-locally here.
6091 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
6092
6093 * simple.el (blink-matching-open): Don't burp if we can't find a match.
6094
6095 2010-09-08 Glenn Morris <rgm@gnu.org>
6096
6097 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
6098 Error if not compiled with -DBYTE_CODE_METER.
6099
6100 * emacs-lisp/bytecomp.el (byte-recompile-directory):
6101 Ignore dir-locals-file.
6102
6103 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
6104
6105 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6106 Not a const.
6107 (compilation-error-regexp-alist-alist): Rule out ": " in file names
6108 for the `gnu' messages.
6109 (compilation-set-skip-threshold): New command.
6110 (compilation-start): Use \' rather than $.
6111 (compilation-forget-errors): Use clrhash.
6112
6113 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
6114
6115 * textmodes/ispell.el (ispell-valid-dictionary-list):
6116 Simplify logic.
6117
6118 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
6119
6120 Migrate to Tramp 2.2. Rearrange load dependencies.
6121 (Bug#1529, Bug#5448, Bug#5705)
6122
6123 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
6124 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
6125 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
6126
6127 * net/tramp.el (top): Remove all other tramp-* loads except
6128 tramp-compat.el. Remove all changes to tramp-unload-hook for
6129 other tramp-* packages. Rearrange defun order. Change calls of
6130 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
6131 `tramp-compat-octal-to-decimal' to new function names.
6132 (tramp-terminal-type, tramp-initial-end-of-output)
6133 (tramp-methods, tramp-foreign-file-name-handler-alist)
6134 (tramp-tramp-file-p, tramp-completion-mode-p)
6135 (tramp-send-command-and-check, tramp-get-remote-path)
6136 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
6137 (tramp-shell-quote-argument): Set tramp-autoload cookie.
6138 (with-file-property, with-connection-property): Move to
6139 tramp-cache.el.
6140 (tramp-local-call-process, tramp-decimal-to-octal)
6141 (tramp-octal-to-decimal): Move to tramp-compat.el.
6142 (tramp-handle-shell-command): Do not require 'shell.
6143 (tramp-compute-multi-hops): No special handling for tramp-gw-*
6144 symbols.
6145 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
6146
6147 * net/tramp-cache.el (top): Require 'tramp. Add to
6148 `tramp-unload-hook'.
6149 (tramp-cache-data, tramp-get-file-property)
6150 (tramp-set-file-property, tramp-flush-file-property)
6151 (tramp-flush-directory-property, tramp-get-connection-property)
6152 (tramp-set-connection-property, tramp-flush-connection-property)
6153 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
6154 cookie.
6155 (with-file-property, with-connection-property): New defuns, moved
6156 from tramp.el.
6157 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
6158 macro.
6159
6160 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
6161 (tramp-version): Set tramp-autoload cookie.
6162
6163 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
6164 changes to tramp-unload-hook for other tramp-* packages. Add to
6165 `tramp-unload-hook'.
6166 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
6167 (tramp-compat-call-process): New defuns, moved from tramp.el.
6168
6169 * net/tramp-fish.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 call of
6172 `tramp-compat-decimal-to-octal' to new function name.
6173 (tramp-fish-method): Make it a defconst.
6174 (tramp-fish-file-name-p): Make it a defsubst.
6175 (tramp-fish-method, tramp-fish-file-name-handler)
6176 (tramp-fish-file-name-p): Set tramp-autoload cookie.
6177
6178 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
6179 `tramp-foreign-file-name-handler-alist'. Add to
6180 `tramp-unload-hook'.
6181 (tramp-ftp-method): Make it a defconst.
6182 (tramp-ftp-file-name-p): Make it a defsubst.
6183 (tramp-ftp-method, tramp-ftp-file-name-handler)
6184 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
6185
6186 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
6187 `tramp-foreign-file-name-handler-alist'. Add to
6188 `tramp-unload-hook'. Change checks, whether package can be
6189 loaded.
6190 (tramp-gvfs-file-name-p): Make it a defsubst.
6191 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
6192 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
6193 (tramp-gvfs-handle-file-directory-p): New defun.
6194 (tramp-gvfs-file-name-handler-alist): Use it.
6195
6196 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
6197 `tramp-foreign-file-name-handler-alist'. Add to
6198 `tramp-unload-hook'.
6199 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
6200 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
6201 defconst.
6202 (tramp-gw-tunnel-method, tramp-gw-socks-method)
6203 (tramp-gw-open-connection): Set tramp-autoload cookie.
6204
6205 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
6206 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
6207 Add to `tramp-unload-hook'. Change checks, whether package can be
6208 loaded.
6209 (tramp-imap-file-name-p): Make it a defsubst.
6210 (tramp-imap-method, tramp-imaps-method)
6211 (tramp-imap-file-name-handler)
6212 (tramp-imap-file-name-p): Set tramp-autoload cookie.
6213
6214 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
6215 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
6216 Add to `tramp-unload-hook'. Change checks, whether package can be
6217 loaded. Change call of `tramp-compat-decimal-to-octal' to new
6218 function name.
6219 (tramp-smb-tunnel-method): Make it a defconst.
6220 (tramp-smb-file-name-p): Make it a defsubst.
6221 (tramp-smb-method, tramp-smb-file-name-handler)
6222 (tramp-smb-file-name-p): Set tramp-autoload cookie.
6223
6224 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
6225 (tramp-uuencode-region): Set tramp-autoload cookie.
6226
6227 * net/trampver.el (top) Add to `tramp-unload-hook'.
6228 (tramp-version, tramp-bug-report-address): Set tramp-autoload
6229 cookie. Update release number.
6230
6231 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
6232
6233 * textmodes/ispell.el (ispell-start-process): Make sure original
6234 arg list is properly initialized (Bug#6993, Bug#6994).
6235
6236 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
6237
6238 * files.el (directory-abbrev-alist): Use \` as default regexp.
6239
6240 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
6241 chars like - or ] (bug#6984).
6242 (rx-any-condense-range): Explode 2-char ranges.
6243
6244 2010-09-06 Glenn Morris <rgm@gnu.org>
6245
6246 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
6247
6248 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6249
6250 * textmodes/bibtex.el:
6251 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
6252
6253 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6254
6255 * net/imap.el (imap-message-map): Remove optional buffer parameter,
6256 since no callers use it.
6257 (imap-message-get): Ditto.
6258 (imap-message-put): Ditto.
6259 (imap-mailbox-map): Ditto.
6260 (imap-mailbox-put): Ditto.
6261 (imap-mailbox-get): Ditto.
6262 (imap-mailbox-get): Revert last change for this function.
6263
6264 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6265
6266 * net/imap.el (imap-fetch-safe): Remove function, and alter all
6267 callers to use `imap-fetch' instead. According to the comments, this
6268 should be safe, since all other IMAP clients use the 1:* syntax.
6269 (imap-enable-exchange-bug-workaround): Remove.
6270 (imap-debug): Remove -- doesn't seem very useful.
6271
6272 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6273
6274 * net/imap.el (imap-log): New convenience function used throughout
6275 instead of repeating the same code all over the place.
6276
6277 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
6278
6279 * mouse.el (mouse-save-then-kill): Save region to kill-ring
6280 when mouse-drag-copy-region is non-nil (Bug#6956).
6281
6282 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
6283
6284 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
6285 Improve regexps (Bug#6987).
6286 (dired-sort-toggle): Search more robustly for -t flag.
6287
6288 * files.el (get-free-disk-space): Search more robustly for
6289 "available" column. Suggested by Ehud Karni
6290 <ehud@unix.mvs.co.il>.
6291
6292 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
6293
6294 * international/uni-bidi.el:
6295 * international/uni-category.el:
6296 * international/uni-combining.el:
6297 * international/uni-decimal.el:
6298 * international/uni-mirrored.el:
6299 * international/uni-name.el: Regenerate.
6300
6301 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6302
6303 * electric.el (electric-indent-post-self-insert-function):
6304 Don't reindent with a sloppy indentation function.
6305
6306 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
6307 border case in change-log-mode.
6308
6309 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
6310
6311 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6312 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
6313 Recognize leading tab in gcc-include regexp. Ignore names with
6314 leading "from" or "in" in gnu regexp (Bug#6937).
6315
6316 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6317
6318 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
6319 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
6320 (ispell-start-process): Avoid setq and simplify logic.
6321 (ispell-init-process): Setup kill-buffer-hook locally when needed.
6322 (kill-buffer-hook): Don't use it globally with code that uses
6323 expand-file-name since that may call kill-buffer via
6324 code_conversion_restore.
6325
6326 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
6327
6328 * emacs-lisp/package.el (package-directory-list): Only call
6329 file-name-nondirectory on a string.
6330
6331 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
6332
6333 * emacs-lisp/package.el (package--download-one-archive):
6334 Ensure that archive-contents is valid before saving it.
6335 (package-activate-1, package-mark-obsolete, define-package)
6336 (package-compute-transaction, package-list-maybe-add): Use push.
6337
6338 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
6339
6340 Use SMIE's blink-paren for octave-mode.
6341 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
6342 Backslashes do not escape single-quotes, single-quotes do.
6343 (octave-block-else-regexp, octave-block-end-regexp)
6344 (octave-block-match-alist): Remove.
6345 (octave-smie-bnf-table): New var, with old content.
6346 (octave-smie-op-levels): Use it.
6347 (octave-smie-closer-alist): New var.
6348 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
6349 (octave-blink-matching-block-open): Remove.
6350 (octave-reindent-then-newline-and-indent, octave-electric-semi)
6351 (octave-electric-space): Let self-insert-command run expand-abbrev and
6352 blink parens.
6353
6354 * electric.el (electricity): New group.
6355 (electric-indent-chars): New var.
6356 (electric-indent-post-self-insert-function): New fun.
6357 (electric-indent-mode): New minor mode.
6358 (electric-pair-skip-self): New custom.
6359 (electric-pair-post-self-insert-function): New function.
6360 (electric-pair-mode): New minor mode.
6361
6362 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
6363 calcAlg-blink-matching-open.
6364 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
6365 (calc-do-alg-entry): Only touch the part of the keymap that varies.
6366 Use the new blink-matching-check-function.
6367
6368 Provide blink-matching support to SMIE.
6369 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
6370 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
6371 (smie-blink-matching-check, smie-blink-matching-open): New functions.
6372
6373 * simple.el (newline): Fix last change to properly remove itself from
6374 the hook.
6375
6376 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
6377
6378 * simple.el (newline): Eliminate optimization.
6379 Use post-self-insert-hook to set hard-newline and things before
6380 running post-self-insert-hook.
6381 (blink-matching-check-mismatch): New function.
6382 (blink-matching-check-function): New variable.
6383 (blink-matching-open): Use them.
6384 Skip back forward over prefix chars skipped by forward-sexp.
6385 Don't check if the parens are backslash escaped.
6386 (blink-paren-post-self-insert-function): Check backslash escaping here.
6387
6388 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
6389
6390 * emacs-lisp/package.el (package-menu-mode-map):
6391 Change package-menu-revert bindings to revert-buffer.
6392 (package-menu-mode): Set revert-buffer-function.
6393 (package-menu-revert): Doc fix.
6394
6395 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
6396
6397 * textmodes/ispell.el (ispell-init-process): Use "~/" as
6398 `default-directory' unless using Ispell per-directory personal
6399 dictionaries and not in a mini-buffer under XEmacs.
6400 (kill-buffer-hook): Do not kill ispell process on exit when
6401 `ispell-process-directory' is "~/". (Bug#6143)
6402
6403 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
6404
6405 * simple.el (kill-new): Call interprogram-cut-function with only
6406 one argument.
6407
6408 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
6409 Remove cut buffer from error message.
6410
6411 * term/x-win.el (x-select-text):
6412 * term/pc-win.el (x-selection-value):
6413 * term/ns-win.el (x-selection-value):
6414 * eshell/em-term.el:
6415 * w32-fns.el (x-get-selection-value):
6416 * mouse-sel.el (mouse-sel-set-selection-function):
6417 * frame.el (display-selections-p): Remove cut-buffer in documentation.
6418
6419 * term/x-win.el: Update documentation for x-last-selected-text-*.
6420 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
6421 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
6422 (x-select-text): Remove argument PUSH, update documentation.
6423 Remove cut-buffer code.
6424 (x-selection-value-internal): Was previously x-selection-value.
6425 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
6426 Update documentation, remove cut-buffer code.
6427 Call x-selection-value-internal.
6428 (x-clipboard-yank): Call x-selection-value-internal.
6429 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
6430
6431 * term/pc-win.el (x-last-selected-text):
6432 x-cut-buffer-or-selection-value renamed to x-selection-value
6433 (x-select-text): Remove argument PUSH, update documentation.
6434
6435 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
6436 x-cut-buffer-or-selection-value renamed to x-selection-value
6437 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
6438 (x-select-text): Remove argument PUSH, update documentation.
6439
6440 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
6441
6442 * w32-fns.el (x-last-selected-text):
6443 x-cut-buffer-or-selection-value renamed to x-selection-value.
6444 (x-cut-buffer-max): Remove.
6445 (x-select-text): Remove argument PUSH, update documentation.
6446
6447 * simple.el (interprogram-cut-function): Remove mention of PUSH.
6448
6449 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
6450
6451 * mouse-sel.el (mouse-sel-get-selection-function):
6452 x-cut-buffer-or-selection-value renamed to x-selection-value.
6453 (x-select-text): Remove optional push.
6454
6455 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
6456
6457 * simple.el (blink-paren-function): Move from C to here.
6458 (blink-paren-post-self-insert-function): New function.
6459 (post-self-insert-hook): Use it.
6460
6461 * emacs-lisp/pcase.el (pcase-split-memq):
6462 Fix overenthusiastic optimisation.
6463 (pcase-u1): Handle the case of a lambda pred.
6464
6465 2010-08-31 Kenichi Handa <handa@m17n.org>
6466
6467 * international/mule-cmds.el (standard-display-european-internal):
6468 Setup standard-display-table for 8-bit characters by storing 8-bit
6469 characters in the element vector.
6470
6471 * disp-table.el (standard-display-8bit):
6472 Setup standard-display-table for 8-bit characters by storing 8-bit
6473 characters in the element vector.
6474 (standard-display-european): Likewise.
6475
6476 2010-08-31 Masatake YAMATO <yamato@redhat.com>
6477
6478 * textmodes/nroff-mode.el (nroff-view): New command.
6479 (nroff-mode-map): Bind it to C-c C-c.
6480
6481 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
6482
6483 * emacs-lisp/smie.el (smie-down-list): New command.
6484
6485 Remove old indentation and navigation code on octave-mode.
6486 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
6487 smie-down-list rather than add a binding for octave-down-block.
6488 (octave-mark-block, octave-blink-matching-block-open):
6489 Rely on forward-sexp-function.
6490 (octave-fill-paragraph): Don't narrow, so you can use
6491 indent-according-to-mode.
6492 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
6493 (octave-in-block-p, octave-re-search-forward-kw)
6494 (octave-re-search-backward-kw, octave-indent-calculate)
6495 (octave-end-as-array-index-p, octave-block-end-offset)
6496 (octave-scan-blocks, octave-forward-block, octave-backward-block)
6497 (octave-down-block, octave-backward-up-block, octave-up-block)
6498 (octave-before-magic-comment-p, octave-indent-line): Remove.
6499
6500 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
6501
6502 * emacs-lisp/package.el (package--read-archive-file): Just use
6503 `read', to avoid copying an additional string.
6504 (package-menu-mode): Set header-line-format here.
6505 (package-menu-refresh, package-menu-revert): Signal an error if
6506 not in the Package Menu.
6507 (package-menu-package-list): New var.
6508 (package--generate-package-list): Operate on the current buffer;
6509 don't assume that it is *Packages*, since the user may rename it.
6510 Allow persistent package listings and sort keys using
6511 package-menu-package-list and package-menu-package-sort-key.
6512 (package-menu--version-predicate): Fix version calculation.
6513 (package-menu-sort-by-column): Don't select the window.
6514 (package--list-packages): Create the *Packages* buffer.
6515 Set package-menu-package-list-key.
6516 (list-packages): Sorting by status is now the default.
6517 (package-buffer-info): Use match-string-no-properties.
6518 (define-package): Add a &rest argument for future proofing, but
6519 don't use it yet.
6520 (package-install-from-buffer, package-install-buffer-internal):
6521 Merge into a single function, package-install-from-buffer.
6522 (package-install-file): Change caller.
6523
6524 * finder.el: Load finder-inf using `require'.
6525 (finder-list-matches): Sorting by status is now the default.
6526 (finder-compile-keywords): Simpify printing.
6527
6528 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6529
6530 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
6531 (octave-mode-map): Remove special bindings for forward/backward-block
6532 and octave-backward-up-block. Use smie-close-block.
6533 (octave-continuation-marker-regexp): New var.
6534 (octave-continuation-regexp): Use it.
6535 (octave-operator-table, octave-smie-op-levels)
6536 (octave-operator-regexp, octave-smie-indent-rules): New vars.
6537 (octave-smie-backward-token, octave-smie-forward-token): New funs.
6538 (octave-mode): Use SMIE.
6539 (octave-close-block): Delete.
6540
6541 2010-08-30 Eli Zaretskii <eliz@gnu.org>
6542
6543 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
6544 CLIPBOARD, not in PRIMARY. (Bug#6944)
6545
6546 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6547
6548 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
6549 a list of parents.
6550 (smie-indent-column): Allow indirection through variables.
6551
6552 * composite.el (save-buffer-state): Delete, unused.
6553 * font-lock.el (save-buffer-state): Use with-silent-modifications.
6554 (font-lock-default-fontify-region): Use with-syntax-table.
6555 * jit-lock.el (with-buffer-unmodified): Remove.
6556 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
6557
6558 Use `declare' in defmacros.
6559 * window.el (save-selected-window):
6560 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
6561 * progmodes/python.el (def-python-skeleton):
6562 * net/dbus.el (dbus-ignore-errors):
6563 * jka-cmpr-hook.el (with-auto-compression-mode):
6564 * international/mule.el (with-category-table):
6565 * emacs-lisp/timer.el (with-timeout):
6566 * emacs-lisp/lisp-mnt.el (lm-with-file):
6567 * emacs-lisp/eieio.el (with-slots):
6568 * emacs-lisp/easymenu.el (easy-menu-define):
6569 * emacs-lisp/debug.el (debugger-env-macro):
6570 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
6571 (Multiple-value-call, Multiple-value-prog1):
6572 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
6573 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
6574 edebug rule to definition.
6575 * emacs-lisp/lisp-mode.el (save-selected-window)
6576 (with-current-buffer, combine-after-change-calls)
6577 (with-output-to-string, with-temp-file, with-temp-buffer)
6578 (with-temp-message, with-syntax-table, read-if, eval-after-load)
6579 (dolist, dotimes, when, unless):
6580 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
6581
6582 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
6583
6584 * finder.el: Require `package'.
6585 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
6586 (finder-package-info): Var deleted.
6587 (finder-keywords-hash, finder--builtins-alist): New vars.
6588 (finder-compile-keywords): Compute package--builtins and
6589 finder-keywords-hash instead of finder-keywords-hash, respecting
6590 the "Package" header.
6591 (finder-unknown-keywords, finder-list-matches):
6592 Use finder-keywords-hash and package--list-packages.
6593 (finder-mode): Don't set font-lock-defaults.
6594 (finder-exit): We don't use "*Finder-package*" and "*Finder
6595 Category*" buffers anymore.
6596
6597 * emacs-lisp/package.el (package--builtins-base): Var deleted.
6598 (package--builtins): Set default value to nil.
6599 (package-initialize): Load precomputed value of package--builtins
6600 from finder-inf.el.
6601 (package-alist, package-compute-transaction)
6602 (package-download-transaction): Improve docstring.
6603 (package-read-all-archive-contents): Do not change
6604 package--builtins here.
6605 (list-packages): Make package-list-packages an alias for this.
6606 Sort by status by default.
6607 (package--list-packages): Add optional PACKAGES arg.
6608 (describe-package-1): Use font-lock-face property. For built-in
6609 packages, insert file commentary.
6610 (package--generate-package-list): Rename from
6611 package-list-packages-internal; all callers changed. Add optional
6612 PACKAGES arg. Add alphabetical sort fallbacks.
6613 (package-menu--version-predicate, package-menu--status-predicate)
6614 (package-menu--description-predicate)
6615 (package-menu--name-predicate): New functions.
6616
6617 * info.el (Info-finder-find-node): Search package-alist instead of
6618 finder-package-info.
6619
6620 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
6621
6622 * subr.el (version-regexp-alist): Don't use "a" and "b" for
6623 "alpha" and "beta".
6624 (version-to-list): Handle versions like "10.3d".
6625
6626 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6627
6628 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
6629 (macroexp-accumulate): Use `declare'.
6630
6631 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6632
6633 * whitespace.el (whitespace-style): Adjust type declaration.
6634
6635 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
6636
6637 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
6638 empty argument to gvfs-copy.
6639
6640 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
6641
6642 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
6643 handle new TRASH arg of `delete-file'.
6644
6645 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
6646
6647 * net/tramp.el (tramp-handle-insert-directory): Don't use
6648 `forward-word', its default syntax could be changed.
6649
6650 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
6651 Michael Albinus <michael.albinus@gmx.de>
6652
6653 Implement compression for inline methods.
6654
6655 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
6656 (tramp-copy-size-limit): Allow also nil.
6657 (tramp-inline-compress-commands): New defconst.
6658 (tramp-find-inline-compress, tramp-get-inline-compress)
6659 (tramp-get-inline-coding): New defuns.
6660 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
6661 replaced by `tramp-get-inline-coding'.
6662 (tramp-handle-file-local-copy, tramp-handle-write-region)
6663 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
6664
6665 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
6666
6667 Detect ssh 'ControlMaster' argument automatically in some cases.
6668
6669 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
6670 (tramp-default-method): Use it.
6671
6672 2010-08-26 Karel Klíč <kklic@redhat.com>
6673
6674 * net/tramp.el (tramp-file-name-for-operation):
6675 Add file-selinux-context.
6676
6677 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
6678
6679 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
6680
6681 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
6682
6683 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
6684 (Bug#6907).
6685
6686 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
6687
6688 * progmodes/js.el: Make indentation more customizable (Bug#6914).
6689 (js-paren-indent-offset, js-square-indent-offset)
6690 (js-curly-indent-offset): New options.
6691 (js--proper-indentation): Use them.
6692
6693 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
6694
6695 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
6696 instead of inspecting font-lock properties (Bug#6916).
6697
6698 2010-08-26 David Reitter <david.reitter@gmail.com>
6699
6700 * server.el (server-visit-files): Run pre-command-hook and
6701 post-command-hook for each buffer while it is current (Bug#6910).
6702 (server-execute): Do not run hooks here.
6703
6704 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
6705
6706 Sync with Tramp 2.1.19.
6707
6708 * net/tramp-cmds.el (tramp-cleanup-all-connections)
6709 (tramp-reporter-dump-variable, tramp-load-report-modules)
6710 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
6711 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
6712
6713 * net/tramp-compat.el (top): Do not autoload
6714 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
6715 only when `start-file-process' is not bound.
6716 (byte-compile-not-obsolete-vars): Define if not bound.
6717 (tramp-compat-funcall): New defmacro.
6718 (tramp-compat-line-beginning-position)
6719 (tramp-compat-line-end-position)
6720 (tramp-compat-temporary-file-directory)
6721 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
6722 (tramp-compat-copy-file, tramp-compat-copy-directory)
6723 (tramp-compat-delete-file, tramp-compat-delete-directory)
6724 (tramp-compat-number-sequence, tramp-compat-process-running-p):
6725 Use it.
6726 (tramp-advice-file-expand-wildcards): Do not use
6727 `tramp-handle-file-remote-p'.
6728 (tramp-compat-make-temp-file): Simplify fallback implementation.
6729 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
6730 (tramp-compat-copy-tree): Remove function.
6731 (tramp-compat-delete-file): New defun.
6732 (tramp-compat-delete-directory): Provide implementation for older
6733 Emacsen.
6734 (tramp-compat-file-attributes): Handle only
6735 `wrong-number-of-arguments' error.
6736
6737 * net/tramp-fish.el (tramp-fish-handle-copy-file):
6738 Add PRESERVE_SELINUX_CONTEXT.
6739 (tramp-fish-handle-delete-file): Add TRASH arg.
6740 (tramp-fish-handle-directory-files-and-attributes):
6741 Do not use `tramp-fish-handle-file-attributes.
6742 (tramp-fish-handle-file-local-copy)
6743 (tramp-fish-handle-insert-file-contents)
6744 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
6745
6746 * net/tramp-gvfs.el (top): Require url-util.
6747 (tramp-gvfs-mount-point): Remove.
6748 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
6749 and `set-file-selinux-context'.
6750 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
6751 (tramp-gvfs-handle-file-selinux-context)
6752 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
6753 (with-tramp-dbus-call-method): Format trace message.
6754 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
6755 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
6756 Implement backup call, when operation on local files fails.
6757 Use progress reporter. Flush properties of changed files.
6758 (tramp-gvfs-handle-delete-file): Add TRASH arg.
6759 Use `tramp-compat-delete-file'.
6760 (tramp-gvfs-handle-expand-file-name): Expand "~/".
6761 (tramp-gvfs-handle-make-directory): Make more traces.
6762 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
6763 (tramp-gvfs-url-file-name): Hexify file name in url.
6764 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
6765 into account for the resulting file name.
6766 (tramp-gvfs-handler-askquestion): Preserve current message, in
6767 order to let progress reporter continue afterwards. (Bug#6257)
6768 Return dummy mountpoint, when the answer is "no".
6769 See `tramp-gvfs-maybe-open-connection'.
6770 (tramp-gvfs-handler-mounted-unmounted)
6771 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
6772 attribute "default_location". Set "prefix" property.
6773 Handle default-location.
6774 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
6775 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
6776 exists. Raise an error, if not (due to a corresponding answer
6777 "no" in interactive questions, for example).
6778 Use `tramp-compat-funcall'.
6779
6780 * net/tramp-imap.el (top): Autoload `epg-make-context'.
6781 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
6782 (tramp-imap-do-copy-or-rename-file)
6783 (tramp-imap-handle-insert-file-contents)
6784 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
6785 (tramp-imap-handle-delete-file): Add TRASH arg.
6786
6787 * net/tramp-smb.el (tramp-smb-handle-copy-file):
6788 Add PRESERVE-SELINUX-CONTEXT.
6789 (tramp-smb-handle-copy-file)
6790 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
6791 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
6792 Use `with-progress-reporter'.
6793 (tramp-smb-handle-delete-file): Add TRASH arg.
6794
6795 * net/tramp.el (tramp-methods): Move hostname to the end in all
6796 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
6797 appropriate.
6798 (tramp-verbose): Describe verbose level 9.
6799 (tramp-completion-function-alist)
6800 (tramp-file-name-regexp, tramp-chunksize)
6801 (tramp-local-coding-commands, tramp-remote-coding-commands)
6802 (with-connection-property, tramp-completion-mode-p)
6803 (tramp-action-process-alive, tramp-action-out-of-band)
6804 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
6805 (tramp-exists-file-name-handler): Fix docstring.
6806 (tramp-remote-process-environment): Use `format' instead of
6807 `concat'. Protect version string by apostroph.
6808 (tramp-shell-prompt-pattern): Do not use a shy group in case of
6809 XEmacs.
6810 (tramp-file-name-regexp-unified)
6811 (tramp-completion-file-name-regexp-unified): On W32 systems, do
6812 not regard the volume letter as remote filename. (Bug#5447)
6813 (tramp-perl-file-attributes)
6814 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
6815 (tramp-vc-registered-read-file-names): Read input as
6816 here-document, otherwise the command could exceed maximum length
6817 of command line.
6818 (tramp-file-name-handler-alist): Add `file-selinux-context' and
6819 `set-file-selinux-context'.
6820 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
6821 backtrace functions.
6822 (tramp-error-with-buffer): Don't show the connection buffer when
6823 we are in completion mode.
6824 (tramp-progress-reporter-update, tramp-remote-selinux-p)
6825 (tramp-handle-file-selinux-context)
6826 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
6827 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
6828 New defuns.
6829 (with-progress-reporter): New defmacro.
6830 (tramp-debug-outline-regexp): New defconst.
6831 (top, tramp-rfn-eshadow-setup-minibuffer)
6832 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
6833 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
6834 (tramp-completion-mode-p, tramp-check-for-regexp)
6835 (tramp-open-connection-setup-interactive-shell)
6836 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
6837 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
6838 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
6839 Use `tramp-compat-funcall'.
6840 (tramp-handle-make-symbolic-link): Flush file properties.
6841 (tramp-handle-load, tramp-handle-file-local-copy)
6842 (tramp-handle-insert-file-contents, tramp-handle-write-region)
6843 (tramp-handle-vc-registered, tramp-maybe-send-script)
6844 (tramp-find-shell): Use `with-progress-reporter'.
6845 (tramp-do-file-attributes-with-stat): Add space in format string,
6846 in order to work around a bug in pdksh. Reported by Gilles Pion
6847 <gpion@lfdj.com>.
6848 (tramp-handle-verify-visited-file-modtime): Do not send a command
6849 when the connection is not established.
6850 (tramp-handle-set-file-times): Simplify the check for utc.
6851 (tramp-handle-directory-files-and-attributes)
6852 (tramp-get-remote-path): Use `copy-tree'.
6853 (tramp-completion-handle-file-name-all-completions): Ensure, that
6854 non remote files are still checked. Oops.
6855 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
6856 Handle PRESERVE-SELINUX-CONTEXT.
6857 (tramp-do-copy-or-rename-file): Add progress reporter.
6858 (tramp-do-copy-or-rename-file-directly): Do not use
6859 `tramp-handle-file-remote-p'.
6860 (tramp-do-copy-or-rename-file-out-of-band):
6861 Use `tramp-compat-delete-directory'.
6862 (tramp-do-copy-or-rename-file-out-of-band)
6863 (tramp-compute-multi-hops, tramp-maybe-open-connection):
6864 Use `format-spec-make'.
6865 (tramp-handle-delete-file): Add TRASH arg.
6866 (tramp-handle-dired-uncache): Flush directory cache, not only file
6867 cache.
6868 (tramp-handle-expand-file-name)
6869 (tramp-completion-handle-file-name-all-completions)
6870 (tramp-completion-handle-file-name-completion):
6871 Use `tramp-connectable-p'.
6872 (tramp-handle-start-file-process): Set connection property "vec".
6873 Use it, in order to invalidate file caches. Check only for
6874 `remote-tty' process property.
6875 Implement tty setting. (Bug#4604, Bug#6360)
6876 (tramp-file-name-for-operation): Add `call-process-region' and
6877 `set-file-selinux-context'.
6878 (tramp-find-foreign-file-name-handler)
6879 (tramp-advice-make-auto-save-file-name)
6880 (tramp-set-auto-save-file-modes): Remove superfluous check for
6881 `stringp'. This is done inside `tramp-tramp-file-p'.
6882 (tramp-file-name-handler): Trace 'quit. Catch the error for some
6883 operations when we are in completion mode. This gives the user
6884 the chance to correct the file name in the minibuffer.
6885 (tramp-completion-mode-p): Use `non-essential'.
6886 (tramp-handle-file-name-all-completions): Backward/ XEmacs
6887 compatibility: Use `completion-ignore-case' if
6888 `read-file-name-completion-ignore-case' does not exist.
6889 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
6890 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6891 `tramp-open-shell'.
6892 (tramp-action-password): Hide password prompt before next run.
6893 (tramp-process-actions): Widen connection buffer for the trace.
6894 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
6895 process property. Trace stty settings if `tramp-verbose' >= 9.
6896 Apply workaround for IRIX64 bug. Move argument of last
6897 `tramp-send-command' where it belongs to.
6898 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
6899 front of `login-args'.
6900 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
6901 on "/dev/null" instead of "/".
6902 (tramp-get-ls-command-with-dired): Make test for "--dired"
6903 stronger.
6904 (tramp-set-auto-save-file-modes): Adapt version check.
6905 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
6906 (tramp-handle-process-file): Call the program in a subshell, in
6907 order to preserve working directory.
6908 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
6909 `tramp-remote-sh' from `tramp-methods'.
6910 (tramp-get-ls-command): Make test for "--color=never" stronger.
6911 (tramp-check-for-regexp): Use (forward-line 1).
6912
6913 * net/trampver.el: Update release number.
6914
6915 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
6916
6917 * help.el (help-map): Bind `C-h P' to describe-package.
6918
6919 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
6920
6921 * emacs-lisp/package.el (package-refresh-contents): Catch errors
6922 when downloading archives.
6923 (describe-package-1): Add package commentary.
6924 (package-install-button-action): New function.
6925 (package-menu-mode-map): Bind ? to package-menu-describe-package.
6926 (package-menu-view-commentary): Function removed.
6927 (package-list-packages-internal): Hide the `package' package too.
6928
6929 2010-08-25 Kenichi Handa <handa@m17n.org>
6930
6931 * language/misc-lang.el ("Arabic"): New language environment.
6932 Setup composition-function-table for Arabic characters.
6933
6934 * international/fontset.el (setup-default-fontset): Fix typo for
6935 arabic OTF spec (fini->fina).
6936
6937 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
6938
6939 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
6940 on all frames.
6941
6942 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6943
6944 * whitespace.el: Allow cleaning up blanks without blank
6945 visualization (Bug#6651). Adjust help window for
6946 whitespace-toggle-options (Bug#6479). Allow to use fill-column
6947 instead of whitespace-line-column (from EmacsWiki). New version
6948 13.1.
6949 (whitespace-style): Add new value 'face. Adjust docstring.
6950 (whitespace-space, whitespace-hspace, whitespace-tab):
6951 Adjust foreground property face.
6952 (whitespace-line-column): Adjust docstring and type declaration.
6953 (whitespace-style-value-list, whitespace-toggle-option-alist)
6954 (whitespace-help-text): Adjust const initialization.
6955 (whitespace-toggle-options, global-whitespace-toggle-options):
6956 Adjust docstring.
6957 (whitespace-display-window, whitespace-interactive-char)
6958 (whitespace-style-face-p, whitespace-color-on): Adjust code.
6959 (whitespace-help-scroll): New fun.
6960
6961 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
6962
6963 * emacs-lisp/package.el (list-packages): Alias for
6964 package-list-packages.
6965
6966 2010-08-24 Kevin Ryde <user42@zip.com.au>
6967
6968 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
6969 (Bug#5651).
6970
6971 * progmodes/ruby-mode.el (ruby): Add defgroup.
6972
6973 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
6974
6975 * progmodes/python.el: Add Ipython support (Bug#5390).
6976 (python-shell-prompt-alist)
6977 (python-shell-continuation-prompt-alist): New options.
6978 (python--set-prompt-regexp): New function.
6979 (inferior-python-mode, run-python, python-shell):
6980 Require ansi-color. Use python--set-prompt-regexp to set the comint
6981 prompt based on the Python interpreter.
6982 (python--prompt-regexp): New var.
6983 (python-check-comint-prompt)
6984 (python-comint-output-filter-function): Use it.
6985 (run-python): Use a pipe (Bug#5694).
6986
6987 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
6988
6989 * progmodes/python.el (python-send-region): Send a different
6990 Python command if Ipython is in use.
6991 (python-check-version): Use a Python command to find the version.
6992
6993 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
6994
6995 * mouse.el (mouse-yank-primary): Avoid setting primary when
6996 deactivating the mark (Bug#6872).
6997
6998 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
6999
7000 * progmodes/python.el (python-block-pairs): Allow use of "finally"
7001 with "else" (Bug#3991).
7002
7003 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
7004
7005 * net/dbus.el: Accept UNIX domain sockets as bus address.
7006 (top): Don't initialize `dbus-registered-objects-table' anymore,
7007 this is done in dbusbind,c.
7008 (dbus-check-event): Adapt test for bus.
7009 (dbus-return-values-table, dbus-unregister-service)
7010 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
7011 Adapt doc string.
7012
7013 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
7014
7015 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
7016
7017 2010-08-22 Juri Linkov <juri@jurta.org>
7018
7019 * simple.el (read-extended-command): New function with the logic
7020 for `completing-read' moved to Elisp from `execute-extended-command'.
7021 Use `function-called-at-point' in `minibuffer-default-add-function'
7022 to get a command name for M-n (bug#5364, bug#5214).
7023
7024 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7025
7026 * startup.el (command-line-1): Issue warning for ignored arguments
7027 --unibyte, etc (Bug#6886).
7028
7029 2010-08-22 Leo <sdl.web@gmail.com>
7030
7031 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
7032 (ignore, bright, dim, keyword): Split list of nicknames before
7033 passing to rcirc-add-or-remove (Bug#6894).
7034
7035 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7036
7037 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
7038
7039 2010-08-22 Leo <sdl.web@gmail.com>
7040
7041 Fix buffer-list rename&refresh after killing a buffer in ido.
7042 * ido.el: Revert Óscar's.
7043 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
7044 Remember the buffers at head, rather than their name.
7045 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
7046
7047 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
7048 Stefan Monnier <monnier@iro.umontreal.ca>
7049
7050 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
7051 extra backslash added to each line (bug#6890).
7052
7053 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7054
7055 * subr.el (read-key): Don't echo keystrokes (bug#6883).
7056
7057 2010-08-22 Glenn Morris <rgm@gnu.org>
7058
7059 * menu-bar.el (menu-bar-games-menu): Add landmark.
7060
7061 2010-08-22 Glenn Morris <rgm@gnu.org>
7062
7063 * align.el (align-regexp): Make group and spacing arguments
7064 use the interactive defaults when non-interactive. (Bug#6698)
7065
7066 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
7067 expansion, so as not to need sendmail.
7068 (mail-text-start): Remove declaration.
7069 (rmail-retry-failure): Require sendmail.
7070
7071 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7072
7073 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
7074
7075 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
7076
7077 * progmodes/flymake.el (flymake-start-syntax-check-process):
7078 Use `start-file-process' in order to let it run also on remote hosts.
7079
7080 2010-08-22 Kenichi Handa <handa@m17n.org>
7081
7082 * files.el: Add `word-wrap' as safe local variable.
7083
7084 2010-08-22 Glenn Morris <rgm@gnu.org>
7085
7086 * woman.el (woman-translate): Case matters. (Bug#6849)
7087
7088 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7089
7090 * simple.el (kill-region): Doc fix (Bug#6787).
7091
7092 2010-08-22 Glenn Morris <rgm@gnu.org>
7093
7094 * calendar/diary-lib.el (diary-header-line-format):
7095 Fit it to the window, not the frame.
7096
7097 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
7098
7099 * subr.el (ignore-errors): Add debug declaration.
7100
7101 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
7102
7103 * whitespace.el (whitespace-color-off): Remove post-command-hook
7104 locally.
7105
7106 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
7107
7108 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
7109
7110 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
7111
7112 * cus-edit.el (custom-group-value-create): Add extra newline
7113 before end line (Bug#6876).
7114
7115 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
7116
7117 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
7118 when extending it. Before killing on the second click, check if
7119 the buffer is the correct one. Doc fix.
7120 (mouse-secondary-save-then-kill): Allow usage without first
7121 calling mouse-start-secondary, by defaulting to point. Don't save
7122 an empty secondary selection. Doc fix.
7123
7124 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7125
7126 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
7127 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
7128 New version 13.0.
7129 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
7130 Adjust initialization.
7131 (whitespace-bob-marker, whitespace-eob-marker)
7132 (whitespace-buffer-changed): New vars.
7133 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
7134 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
7135 (whitespace-post-command-hook, whitespace-display-char-on):
7136 Adjust code.
7137 (whitespace-looking-back, whitespace-buffer-changed): New funs.
7138 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
7139
7140 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
7141
7142 * files.el (locate-file-completion-table): Only list the .el and .elc
7143 extensions if there's no other choice (bug#5955).
7144
7145 * facemenu.el (facemenu-self-insert-data): New var.
7146 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
7147 New functions.
7148 (facemenu-add-face): Use them.
7149
7150 * simple.el (blink-matching-open): Obey forward-sexp-function.
7151
7152 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
7153
7154 * simple.el (prog-mode-map): New var.
7155 (prog-indent-sexp): New command.
7156
7157 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
7158
7159 * progmodes/prolog.el (smie): Require.
7160
7161 * emacs-lisp/smie.el (smie-default-backward-token)
7162 (smie-default-forward-token): Strip properties.
7163 (smie-next-sexp): Be more careful with associative operators.
7164 (smie-forward-sexp-command): Generalize.
7165 (smie-backward-sexp-command): Simplify.
7166 (smie-closer-alist): New var.
7167 (smie-close-block): New command.
7168 (smie-indent-debug-log): New var.
7169 (smie-indent-offset-rule): Add a few more cases.
7170 (smie-indent-column): New function.
7171 (smie-indent-after-keyword): Use it.
7172 (smie-indent-keyword): Use it.
7173 Fix up the opener code's point position.
7174 (smie-indent-comment): Only applies at BOL.
7175 (smie-indent-debug): New command.
7176
7177 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
7178 declarations that are useful before running the macro.
7179
7180 2010-08-18 Joakim Verona <joakim@verona.se>
7181
7182 * image.el (imagemagick-types-inhibit): New variable.
7183 (imagemagick-register-types): New function.
7184 * image-mode.el (image-transform-properties): New function.
7185 (image-transform-set-scale, image-transform-fit-to-height)
7186 (image-transform-set-rotation, image-transform-set-resize)
7187 (image-transform-fit-to-width, image-transform-fit-to-height):
7188 New functions.
7189 (image-toggle-display-image): Support image transforms.
7190
7191 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
7192
7193 * image.el (create-animated-image): Don't add heuristic mask to image
7194 (Bug#6839).
7195
7196 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
7197
7198 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
7199 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
7200
7201 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
7202
7203 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
7204
7205 Font-lock '...' strings, plus various simplifications and fixes.
7206 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
7207 (octave-font-lock-close-quotes): New function.
7208 (octave-font-lock-syntactic-keywords): New var.
7209 (octave-mode): Use it. Set beginning-of-defun-function.
7210 (octave-mode-map): Don't override the <foo>-defun commands.
7211 (octave-mode-menu): Pass it directly to easy-menu-define;
7212 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
7213 (octave-block-match-alist): Fix up last change so that
7214 octave-close-block uses the more specific keyword.
7215 (info-lookup-mode): Silence byte-compiler.
7216 (octave-beginning-of-defun): Not interactive any more.
7217 Optimize slightly.
7218 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
7219 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
7220 (octave-completion-at-point-function): Make sure point is within
7221 beg..end.
7222 (octave-reindent-then-newline-and-indent):
7223 Use reindent-then-newline-and-indent.
7224 (octave-add-octave-menu): Remove.
7225
7226 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
7227
7228 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
7229 (report-emacs-bug-can-use-xdg-email): New functions.
7230 (report-emacs-bug): Set can-xdg-email to result of
7231 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
7232 \C-cm to report-emacs-bug-insert-to-mailer and add help text
7233 about it.
7234
7235 * net/browse-url.el (browse-url-default-browser): Add cond
7236 for browse-url-xdg-open.
7237 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
7238
7239 2010-08-17 Glenn Morris <rgm@gnu.org>
7240
7241 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
7242 (c-fontify-recorded-types-and-refs): Define for compiler.
7243 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
7244 before use.
7245
7246 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
7247 Fix format call.
7248
7249 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
7250
7251 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
7252 properties.
7253 (tramp-handle-process-file): Call the program in a subshell, in
7254 order to preserve working directory.
7255 (tramp-action-password): Hide password prompt before next run.
7256 (tramp-process-actions): Widen connection buffer for the trace.
7257
7258 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
7259
7260 * net/rcirc.el (rcirc-log-process-buffers): New option.
7261 (rcirc-print): Use it.
7262 (rcirc-generate-log-filename): New function.
7263 (rcirc-log-filename-function): Change default to
7264 rcirc-generate-log-filename (Bug#6828).
7265
7266 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
7267
7268 * simple.el (deactivate-mark): If select-active-regions is `only',
7269 only set selection for temporarily active regions.
7270
7271 * cus-start.el: Change defcustom for select-active-regions.
7272
7273 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
7274
7275 * mouse.el (mouse--drag-set-mark-and-point): New function.
7276 (mouse-drag-track): Use LOCATION arg to push-mark.
7277 Use mouse--drag-set-mark-and-point to take click-count into
7278 consideration when updating point and mark (Bug#6840).
7279
7280 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
7281
7282 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7283 Give the Ruby rule a lower priority than Gnu (Bug#6778).
7284
7285 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
7286
7287 * font-lock.el (lisp-font-lock-keywords-2):
7288 Add combine-after-change-calls, condition-case-no-debug,
7289 with-demoted-errors, and with-silent-modifications (Bug#6025).
7290
7291 2010-08-14 Kevin Ryde <user42@zip.com.au>
7292
7293 * emacs-lisp/copyright.el (copyright-update-year)
7294 (copyright-update): Temporary switch-to-buffer to ensure the
7295 buffer change being queried is visible (Bug#5394).
7296
7297 2010-08-14 Tom Tromey <tromey@redhat.com>
7298
7299 * progmodes/etags.el (tags-file-name): Mark safe if stringp
7300 (Bug#6733).
7301
7302 2010-08-14 Eli Zaretskii <eliz@gnu.org>
7303
7304 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
7305 MS-DOS. (Bug#6689)
7306
7307 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
7308
7309 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
7310 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
7311 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
7312 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
7313 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
7314 Call menu-bar-set-tool-bar-position.
7315
7316 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7317
7318 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
7319 comment style (bug#6834).
7320 * progmodes/scheme.el (scheme-mode-syntax-table):
7321 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
7322 "b" flag in "' 14b" syntax.
7323
7324 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
7325 for (un)commenting the region and performing completion.
7326 (octave-mode-menu): Use standard commands for help and completion.
7327 (octave-mode-syntax-table): Support %{..%} comments (sort of).
7328 (octave-mode): Use define-derived-mode.
7329 Set completion-at-point-functions and don't set columns.
7330 Don't disable adaptive-fill-regexp.
7331 (octave-describe-major-mode, octave-comment-region)
7332 (octave-uncomment-region, octave-comment-indent)
7333 (octave-indent-for-comment): Remove.
7334 (octave-indent-calculate): Rename from calculate-octave-indent.
7335 (octave-indent-line, octave-fill-paragraph): Update caller.
7336 (octave-initialize-completions): No need to make an alist.
7337 (octave-completion-at-point-function): New function.
7338 (octave-complete-symbol): Use it.
7339 (octave-insert-defun): Use define-skeleton.
7340
7341 * progmodes/octave-mod.el (octave-mode): Set comment-add.
7342 (octave-mode-map): Use comment-dwim (bug#6829).
7343
7344 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
7345
7346 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
7347 indentation of inserted comment.
7348
7349 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
7350
7351 * faces.el (region): Add type gtk that uses gtk colors.
7352
7353 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
7354 Handle theme-name change.
7355
7356 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
7357
7358 * progmodes/sql.el: Version 2.5
7359 (sql-product-alist): Add :prompt-cont-regexp property for several
7360 database products.
7361 (sql-prompt-cont-regexp): New variable.
7362 (sql-output-newline-count, sql-output-by-send):
7363 New variables. Record number of newlines in input text.
7364 (sql-send-string): Handle multiple filters and count newlines.
7365 (sql-send-magic-terminator): Count terminator newline.
7366 (sql-interactive-remove-continuation-prompt): Filters output to
7367 remove continuation prompts; one for each newline.
7368 (sql-interactive-mode): Set up new variables, prompt regexp and
7369 output filter.
7370 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
7371 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
7372
7373 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7374
7375 * emacs-lisp/pcase.el: New file.
7376
7377 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
7378
7379 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
7380 as here-document, otherwise the command could exceed maximum
7381 length of command line.
7382 (tramp-handle-vc-registered): Call script accordingly.
7383 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
7384
7385 2010-08-10 Kenichi Handa <handa@m17n.org>
7386
7387 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
7388 composable pattern.
7389
7390 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
7391
7392 * emacs-lisp/package.el (package-version-split)
7393 (package--version-first-nonzero, package-version-compare):
7394 Functions removed.
7395 (package-directory-list, package-load-all-descriptors)
7396 (package--built-in, package-activate, define-package)
7397 (package-installed-p, package-compute-transaction)
7398 (package-read-all-archive-contents)
7399 (package--add-to-archive-contents, package-buffer-info)
7400 (package-tar-file-info, package-list-packages-internal):
7401 Use version-to-list and version-list-*.
7402
7403 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7404 Use version-to-list.
7405 (package-upload-buffer-internal): Use version-list-<=.
7406
7407 2010-08-09 Kenichi Handa <handa@m17n.org>
7408
7409 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
7410 composable pattern.
7411
7412 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
7413
7414 * tutorial.el (tutorial--default-keys): C-d is now bound to
7415 delete-forward-char (Bug#6826).
7416
7417 * mouse.el (mouse-drag-track): Remove accidentally-removed check
7418 for `double' value of mouse-1-click-follows-link (Bug#6807).
7419
7420 2010-08-08 Johan Bockgård <bojohan@gnu.org>
7421
7422 * replace.el (replace-highlight): Bind isearch-forward and
7423 isearch-error, ensuring that highlighting is updated if the user
7424 switches the search direction (Bug#6808).
7425
7426 * isearch.el (isearch-lazy-highlight-forward): New var.
7427 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
7428 (isearch-lazy-highlight-update): Use it.
7429
7430 2010-08-08 Kenichi Handa <handa@m17n.org>
7431
7432 * international/mule.el (define-charset): Store NAME as :base property.
7433 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
7434 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
7435 current priority. Force using the designation of the specific
7436 charset by adding `charset' text property. Improve the whole algorithm.
7437
7438 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7439
7440 * emulation/pc-select.el (pc-selection-mode-hook)
7441 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
7442 (pc-selection-mode): Fix typos in docstrings.
7443
7444 2010-08-08 Kenichi Handa <handa@m17n.org>
7445
7446 * language/cyrillic.el: Don't add "microsoft-cp1251" to
7447 ctext-non-standard-encodings-alist here.
7448
7449 * international/mule.el (ctext-non-standard-encodings-alist):
7450 Add "koi8-r" and "microsoft-cp1251".
7451 (ctext-standard-encodings): New variable.
7452 (ctext-non-standard-encodings-table): List only elements for
7453 non-standard encodings.
7454 (ctext-pre-write-conversion): Adjust for the above change.
7455 Check ctext-standard-encodings.
7456
7457 * international/mule-conf.el (compound-text): Doc fix.
7458 (ctext-no-compositions): Doc fix.
7459 (compound-text-with-extensions): Doc fix.
7460
7461 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7462
7463 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
7464
7465 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7466
7467 * progmodes/which-func.el (which-func-format): Split help-echo text
7468 into lines, like other mode-line tooltips.
7469
7470 * server.el (server-start): When using TCP sockets, force IPv4
7471 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
7472
7473 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7474
7475 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
7476
7477 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7478
7479 * term.el (term-delimiter-argument-list): Reflow docstring.
7480 (term-read-input-ring, term-write-input-ring, term-send-input)
7481 (term-bol, term-erase-in-display, serial-supported-or-barf):
7482 Fix typos in docstrings.
7483
7484 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7485
7486 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
7487
7488 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7489
7490 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
7491
7492 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
7493
7494 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
7495 Fix typo in docstring (bug#6747).
7496
7497 2010-08-08 Leo <sdl.web@gmail.com>
7498
7499 * eshell/esh-io.el (eshell-get-target): Better detection of
7500 read-only file (Bug#6762).
7501
7502 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7503
7504 * align.el (align-default-spacing): Doc fix.
7505 (align-region-heuristic, align-regexp): Fix typos in docstrings.
7506
7507 2010-08-08 Stephen Peters <speters@itasoftware.com>
7508
7509 * calendar/icalendar.el
7510 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
7511 (icalendar--get-weekday-numbers): New.
7512 (icalendar--convert-recurring-to-diary): Handle multiple byday
7513 values in weekly rules. (Bug#6766)
7514
7515 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
7516
7517 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
7518 (icalendar--create-uid, icalendar-export-region)
7519 (icalendar--parse-summary-and-rest): Code formatting.
7520
7521 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
7522
7523 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
7524 to italicize headers.
7525 (calc-highlight-selections-with-faces): New variable.
7526 (calc-selected-face, calc-nonselected-face): New faces.
7527
7528 * calc/calccomp.el (math-comp-highlight-string): Use
7529 `calc-highlight-selections-with-faces' to determine how to highlight
7530 sub-formulas.
7531
7532 * calc/calc-sel.el (calc-show-selections): Change message to when
7533 using faces to highlight selections.
7534
7535 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
7536
7537 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
7538 Add SQLite 3 keywords, functions and datatypes.
7539 (sql-interactive-mode): Remove `comint-process-echoes' set to t
7540 (Bug#6686).
7541
7542 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
7543
7544 * simple.el (select-active-regions): Move to keyboard.c.
7545 (deactivate-mark): Used saved-region-selection.
7546 (select-active-region): Function removed.
7547 (activate-mark, set-mark, push-mark-command)
7548 (handle-shift-selection): Don't call it.
7549 (keyboard-quit): Avoid adding the region to the window selection.
7550
7551 * mouse.el (mouse-drag-track): Remove hacks to deal with old
7552 select-active-regions implementation.
7553 (mouse-yank-at-click): Doc fix.
7554
7555 * cus-start.el: Add custom declaration for select-active-regions.
7556
7557 2010-08-07 Eli Zaretskii <eliz@gnu.org>
7558
7559 * simple.el (delete-forward-char): Doc fix.
7560
7561 * tutorial.el (help-with-tutorial): Hack safe file-local variables
7562 after reading the tutorial.
7563
7564 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
7565
7566 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
7567 Fix for the case that a C style comment has its delimiters alone on
7568 their respective lines.
7569
7570 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
7571
7572 * net/tramp.el (tramp-handle-start-file-process): Set connection
7573 property "vec".
7574 (tramp-process-sentinel): Use it for flushing the cache.
7575 We cannot do it via the process buffer, the buffer could be deleted
7576 already when running the sentinel.
7577
7578 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
7579
7580 * comint.el (comint-mode): Make directory tracking functions
7581 functional on remote files. (Bug#6764)
7582
7583 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
7584
7585 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
7586
7587 2010-08-05 Eli Zaretskii <eliz@gnu.org>
7588
7589 * emacs-lisp/find-gc.el (find-gc-source-files):
7590 Rename unexec.c => unexcoff.c.
7591
7592 * emacs-lisp/authors.el (authors-fixed-entries):
7593 Rename unexec.c => unexcoff.c.
7594
7595 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
7596
7597 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
7598 cache, not only file cache.
7599 (tramp-process-sentinel): New defun.
7600 (tramp-handle-start-file-process): Use it, in order to invalidate
7601 file caches.
7602
7603 2010-08-03 Leo <sdl.web@gmail.com>
7604
7605 * server.el (server-start): Simplify loop.
7606
7607 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
7608
7609 * frame.el (screen-height, screen-width, set-screen-width)
7610 (set-screen-height): Remove ancient compatibility aliases.
7611
7612 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
7613 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
7614
7615 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
7616 that change current buffer.
7617
7618 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7619
7620 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
7621 beginning of the string. Use `string-match-p'. (Bug#6765)
7622
7623 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
7624
7625 * cus-start.el (x-gtk-use-system-tooltips): New variable.
7626
7627 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
7628
7629 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
7630 (package--builtins): Tweak descriptions.
7631 (package-print-package): Upcase descriptions if necessary.
7632 Show all built-in packages in font-lock-builtin-face.
7633 (package-list-packages-internal): Omit "emacs" package.
7634 Show status of built-in packages as "built-in".
7635
7636 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
7637
7638 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
7639 before killing to preserve the primary selection (Bug#6701).
7640
7641 * term/x-win.el (x-select-text): Doc fix.
7642
7643 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
7644
7645 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
7646 (objc-font-lock-extra-types):
7647 * progmodes/cc-mode.el (c-basic-common-init):
7648 * progmodes/cc-langs.el (c-make-mode-syntax-table)
7649 (c++-make-template-syntax-table)
7650 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
7651 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
7652 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
7653 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
7654 * progmodes/cc-fonts.el (c-make-inverse-face)
7655 (c-basic-matchers-after):
7656 * progmodes/cc-engine.el (c-forward-keyword-clause)
7657 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
7658 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
7659 (c-guess-continued-construct, c-guess-basic-syntax):
7660 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
7661 The above functions were modified or created.
7662
7663 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
7664
7665 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
7666
7667 2010-07-31 Eli Zaretskii <eliz@gnu.org>
7668
7669 * files.el (bidi-paragraph-direction): Define safe local values.
7670
7671 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
7672 language-info-alist. Remove outdated FIXME in a comment.
7673
7674 2010-07-31 Alan Mackenzie <acm@muc.de>
7675
7676 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
7677 Auto-fill broken in C/C++ modes.
7678
7679 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
7680
7681 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
7682 (menu-bar-showhide-tool-bar-menu-customize-disable)
7683 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
7684 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
7685 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
7686 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
7687 make a menu for Options => toolbar that can move it.
7688
7689 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
7690
7691 * emacs-lisp/package-x.el (package--make-rss-entry):
7692 (package-maint-add-news-item, package--update-news)
7693 (package-upload-buffer-internal): New arg ARCHIVE-URL.
7694
7695 * emacs-lisp/package.el (package-archive-url): Rename from
7696 package-archive-id.
7697 (package-install): Doc fix.
7698 (package-download-single, package-download-tar, package-install)
7699 (package-menu-view-commentary): Callers changed.
7700
7701 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
7702
7703 * net/tramp.el (tramp-handle-start-file-process): Check only for
7704 `remote-tty' process property.
7705 (tramp-open-shell): Don't check for tty.
7706 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
7707 process property.
7708
7709 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
7710 host.
7711
7712 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
7713
7714 * emacs-lisp/package.el (package-load-list, package-archives)
7715 (package-archive-contents, package-user-dir)
7716 (package-directory-list, package--builtins, package-alist)
7717 (package-activated-list, package-obsolete-alist): Mark as risky.
7718
7719 2010-07-28 Phil Hagelberg <phil@evri.com>
7720
7721 Add support for non-default package repositories.
7722 * emacs-lisp/package.el (package-archive-base): Var deleted.
7723 (package-archives): New variable.
7724 (package-archive-contents): Doc fix.
7725 (package-load-descriptor): Do nothing if descriptor file is missing.
7726 (package--write-file-no-coding): New function.
7727 (package-unpack-single): Use it.
7728 (package-archive-id): New function.
7729 (package-download-single, package-download-tar)
7730 (package-menu-view-commentary): Use it.
7731 (package-installed-p): Make second argument optional.
7732 (package-read-all-archive-contents): New function.
7733 (package-initialize): Use it.
7734 (package-read-archive-contents): Add ARCHIVE argument.
7735 (package--add-to-archive-contents): New function.
7736 (package-install): Don't call package-read-archive-contents.
7737 (package--download-one-archive): Store archive file in a
7738 subdirectory of package-user-dir.
7739 (package-menu-execute): Remove spurious line movement.
7740
7741 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
7742
7743 * cus-start.el (tool-bar-style): Add text-image-horiz.
7744
7745 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
7746
7747 * progmodes/gud.el (gud-common-init): Check for remoteness of
7748 `file', and not of `default-directory'.
7749
7750 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
7751
7752 * net/tramp.el (tramp-methods): Move hostname to the end in all
7753 ssh `tramp-login-args'.
7754 (tramp-verbose): Describe verbose level 9.
7755 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
7756 (tramp-open-connection-setup-interactive-shell): Trace stty
7757 settings if `tramp-verbose' >= 9.
7758 (tramp-handle-start-file-process): Implement tty setting.
7759 (Bug#4604, Bug#6360)
7760
7761 * net/tramp-cmds.el (tramp-bug): Recommend setting of
7762 `tramp-verbose' to 9.
7763
7764 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
7765
7766 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
7767 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
7768 Remove references to package `lisp-re' (bug#4369).
7769
7770 2010-07-27 Tom Tromey <tromey@redhat.com>
7771
7772 * progmodes/js.el (js-mode):
7773 * progmodes/make-mode.el (makefile-mode):
7774 * progmodes/simula.el (simula-mode):
7775 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
7776
7777 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
7778
7779 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
7780
7781 * time.el (display-time-day-and-date): Remove spurious * in docstring.
7782 (display-time-world-buffer-name, display-time-world-mode-map):
7783 Fix typos in docstrings.
7784
7785 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
7786
7787 * image-mode.el (image-display-size): New function.
7788 (image-forward-hscroll, image-next-line, image-eol, image-eob)
7789 (image-mode-fit-frame): Use it (Bug#6639).
7790
7791 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
7792
7793 * dired.el (dired-buffers-for-dir): Handle list values of
7794 dired-directory (Bug#6636).
7795
7796 2010-07-26 Sam Steingold <sds@gnu.org>
7797
7798 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
7799 Do not call `x-get-selection' the second time, reuse the value.
7800
7801 2010-07-26 Daiki Ueno <ueno@unixuser.org>
7802
7803 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
7804 which consist of control chars only. Suggested by Richard Stallman.
7805
7806 2010-07-25 Daiki Ueno <ueno@unixuser.org>
7807
7808 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
7809 exists before passing an error to find-file-not-found-functions
7810 (bug#6723).
7811
7812 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
7813
7814 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
7815 Remove leading nil element, adjust values.
7816 (tetris-shapes, tetris-shape-scores):
7817 Change representation of shapes and remove some redundancy.
7818 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
7819 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
7820 Adjust for working with new representation of shapes.
7821 (tetris-shape-rotations): New function.
7822 (tetris-move-bottom, tetris-move-left, tetris-move-right)
7823 (tetris-rotate-prev, tetris-rotate-next):
7824 Adjust for working with the new version of tetris-test-shape.
7825
7826 2010-07-23 Markus Triska <markus.triska@gmx.at>
7827
7828 * progmodes/ps-mode.el: Use comint (bug#5954).
7829 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
7830 (ps-mode-other-newline): Simplify.
7831 (ps-run-mode): Derive from comint-mode instead of
7832 fundamental-mode, yielding input history etc.
7833 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
7834 (ps-run-send-string): Adapt for comint-mode.
7835 (ps-run-newline): Remove now unneeded function.
7836
7837 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
7838
7839 * net/tramp.el (tramp-methods): Move hostname to the end in all
7840 plink `tramp-login-args'.
7841
7842 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
7843
7844 * net/tramp.el (tramp-open-shell): New defun.
7845 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7846 Use it.
7847
7848 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
7849
7850 * net/tramp.el (tramp-file-name-regexp-unified)
7851 (tramp-completion-file-name-regexp-unified): On W32 systems, do
7852 not regard the volume letter as remote filename. (Bug#5447)
7853
7854 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
7855
7856 * custom.el (custom-declare-variable): Give a clearer error message
7857 when the docstring is missing (bug#6476).
7858
7859 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
7860
7861 * progmodes/sql.el: Version 2.4. Improved Login prompting.
7862 (sql-login-params): New widget definition.
7863 (sql-oracle-login-params, sql-mysql-login-params)
7864 (sql-solid-login-params, sql-sybase-login-params)
7865 (sql-informix-login-params, sql-ingres-login-params)
7866 (sql-ms-login-params, sql-postgres-login-params)
7867 (sql-interbase-login-params, sql-db2-login-params)
7868 (sql-linter-login-params): Use it.
7869 (sql-sqlite-login-params): Use it; Define "database" parameter as
7870 a file name.
7871 (sql-sqlite-program): Change to "sqlite3".
7872 (sql-comint-sqlite): Make sure database name is complete.
7873 (sql-for-each-login): New function.
7874 (sql-connect, sql-save-connection): Use it.
7875 (sql-get-login-ext): New function.
7876 (sql-get-login): Use it.
7877 (sql-make-alternate-buffer-name): Handle :file parameters.
7878
7879 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
7880
7881 * dired.el (dired-no-confirm): Document value t and fix defcustom to
7882 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
7883
7884 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
7885
7886 * dired.el (dired-mode-map): Use command remapping (bug#6632).
7887
7888 2010-07-22 Lawrence Mitchell <wence@gmx.li>
7889
7890 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
7891
7892 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
7893
7894 * net/tramp.el (tramp-get-ls-command)
7895 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
7896 instead of "/".
7897
7898 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
7899
7900 * progmodes/sql.el: Version 2.3.
7901 (sql-connection-alist): Change keys from symbols to strings;
7902 enhanced the widget definition.
7903 (sql-mode-menu): Add submenu to select connections.
7904 (sql-interactive-mode-menu): Add "Save Connection" item.
7905 (sql-add-product): Fix menu item.
7906 (sql-get-product-feature): Improved error handling.
7907 (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
7908 (sql-make-alternate-buffer-name): Simplified.
7909 (sql-product-interactive): Handle missing product.
7910 (sql-connect): Support string keys, minor improvements.
7911 (sql-save-connection): New function.
7912 (sql-connection-menu-filter): New function.
7913
7914 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
7915
7916 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
7917 (tramp-open-connection-setup-interactive-shell):
7918 Apply workaround for IRIX64 bug. Move argument of last
7919 `tramp-send-command' where it belongs to.
7920
7921 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
7922
7923 * net/tramp.el (tramp-perl-file-attributes)
7924 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
7925 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
7926 front of `login-args'.
7927
7928 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
7929
7930 * time.el (display-time-world-mode): Define with `define-derived-mode'.
7931 Set `show-trailing-whitespace' to nil.
7932 (display-time-world-display): Simplify.
7933
7934 2010-07-18 Alan Mackenzie <acm@muc.de>
7935
7936 Enhance `c-file-style' in file/directory local variables.
7937 * progmodes/cc-mode.el (c-count-cfss): New function.
7938 (c-before-hack-hook): Call `c-set-style' differently according to
7939 whether c-file-style was set in file or directory local
7940 variables.
7941
7942 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
7943
7944 * progmodes/sql.el: Version 2.2.
7945 (sql-product, sql-user, sql-database, sql-server, sql-port):
7946 Use defcustom :safe keyword rather than putting safe-local-variable
7947 property.
7948 (sql-password): Use defcustom :risky keyword rather than putting
7949 risky-local-variable property.
7950 (sql-oracle-login-params, sql-sqlite-login-params)
7951 (sql-solid-login-params, sql-sybase-login-params)
7952 (sql-informix-login-params, sql-ingres-login-params)
7953 (sql-ms-login-params, sql-postgres-login-params)
7954 (sql-interbase-login-params, sql-db2-login-params)
7955 (sql-linter-login-params): Add `port' option.
7956 (sql-get-product-feature): Add NO-INDIRECT parameter.
7957 (sql-comint-oracle, sql-comint-sybase)
7958 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
7959 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
7960 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
7961 (sql-comint-linter): Rename sql-connect-* functions to
7962 sql-comint-*.
7963 (sql-product-alist, sql-mode-menu): Rename as above and
7964 :sqli-connect-func to :sqli-comint-func.
7965 (sql-connection): New variable.
7966 (sql-interactive-mode): Set it.
7967 (sql-connection-alist): New variable.
7968 (sql-connect): New function.
7969 (sql--alt-buffer-part, sql--alt-if-not-empty)
7970 (sql-make-alternate-buffer-name): Improved alternative buffer name.
7971
7972 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7973
7974 * image-mode.el (image-bookmark-make-record): Do not set context
7975 in an image (Bug#6650).
7976
7977 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
7978
7979 * simple.el (select-active-region): New function.
7980 (push-mark-command, set-mark, activate-mark)
7981 (handle-shift-selection): Use it.
7982 (deactivate-mark): Don't check for size of region.
7983
7984 * mouse.el (mouse-drag-track): Use select-active-region.
7985
7986 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
7987
7988 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
7989 "--dired" stronger.
7990
7991 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
7992
7993 * term/x-win.el (x-select-enable-primary): Change default to nil.
7994 (x-select-enable-clipboard): Add :version keyword.
7995
7996 * mouse.el (mouse-drag-copy-region):
7997 * simple.el (select-active-regions): Likewise.
7998
7999 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
8000
8001 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
8002 (vc-coding-system-for-diff): Use it to decide whether to inherit
8003 from the file the EOL format for reading the diffs of that file.
8004 (Bug#4451)
8005
8006 2010-07-16 Eli Zaretskii <eliz@gnu.org>
8007
8008 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
8009 unibyte, so compressed attachments are not compressed again.
8010
8011 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
8012
8013 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
8014 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
8015 (tramp-find-shell): Simplify setting connection property.
8016 (tramp-get-ls-command): Make test for "--color=never" stronger.
8017
8018 2010-07-15 Simon South <ssouth@member.fsf.org>
8019
8020 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
8021 blocks within record declarations (i.e. variant parts) correctly.
8022
8023 2010-07-15 Simon South <ssouth@member.fsf.org>
8024
8025 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
8026 over literal tokens when parsing so newlines aren't "absorbed" by
8027 single-line comments. Corrects the indentation of case blocks
8028 that have a comment on the first line.
8029
8030 2010-07-14 Karl Fogel <kfogel@red-bean.com>
8031
8032 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
8033 by Drew Adams (Bug#5504).
8034
8035 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
8036
8037 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
8038 now that Unicode is used (Bug#6594).
8039
8040 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
8041
8042 * term/x-win.el (x-select-enable-clipboard): Default to t.
8043 (x-initialize-window-system): Don't overwrite Paste menu item.
8044
8045 * simple.el (select-active-regions): Default to t.
8046 (push-mark-command): Don't overwrite primary with empty string.
8047
8048 * mouse.el: Bind mouse-2 to mouse-yank-primary.
8049 (mouse-drag-copy-region): Default to nil.
8050
8051 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
8052 Cut/Copy/Paste menu bar items.
8053
8054 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8055
8056 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
8057 Patch applied by Karl Fogel.
8058
8059 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
8060 and `bookmark-current-buffer' if they have been already set in
8061 another buffer (e.g gnus-art).
8062
8063 2010-07-13 Karl Fogel <kfogel@red-bean.com>
8064 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8065
8066 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
8067
8068 * bookmark.el (bookmark-make-record-default): Allow unneeded
8069 information to be omitted from the record.
8070
8071 Adjust declarations and calls:
8072
8073 * info.el (bookmark-make-record-default): Adjust declaration.
8074 (Info-bookmark-make-record): Adjust call.
8075
8076 * woman.el (bookmark-make-record-default): Adjust declaration.
8077 (woman-bookmark-make-record): Adjust call.
8078
8079 * man.el (bookmark-make-record-default): Adjust declaration.
8080 (Man-bookmark-make-record): Adjust call.
8081
8082 * image-mode.el (bookmark-make-record-default): Adjust declaration.
8083
8084 * doc-view.el (bookmark-make-record-default): Adjust declaration.
8085
8086 2010-07-13 Karl Fogel <kfogel@red-bean.com>
8087
8088 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
8089 This is also from Thierry Volpiatto's patch in bug #6444. However,
8090 because it was extraneous to the functional change in that patch,
8091 and causes a re-indendation, I am committing it separately.
8092
8093 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8094
8095 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
8096 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
8097 Patch applied by Karl Fogel (Bug#6444).
8098
8099 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
8100
8101 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
8102
8103 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
8104
8105 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
8106 Dempsky; bug#5084). Remove incorrect binding for S-tab.
8107 (ns-alternatives-map): Change S-tab binding to backtab
8108 (bug#6616).
8109
8110 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
8111 under ns.
8112
8113 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
8114
8115 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
8116 (Bug#5806)
8117
8118 * language/tv-util.el (tai-viet-re): Remove format.
8119
8120 2010-07-12 Kenichi Handa <handa@m17n.org>
8121
8122 * language/hebrew.el: Remove no-byte-compile declaration.
8123 Change coding: tag to utf-8. Register hebrew-shape-gstring in
8124 composition-function-table for 3-character looking back.
8125 (hebrew-font-get-precomposed): New function.
8126 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
8127
8128 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
8129
8130 * mouse.el (mouse-drag-track): Handle select-active-regions
8131 (Bug#6612).
8132
8133 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
8134
8135 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
8136 empty argument to gvfs-copy.
8137
8138 2010-07-10 Glenn Morris <rgm@gnu.org>
8139
8140 * calendar/calendar.el (calendar-week-end-day): New function.
8141 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
8142 Respect calendar-week-start-day. (Bug#6606)
8143 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
8144 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
8145 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
8146 respect calendar-week-start-day.
8147
8148 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
8149
8150 * simple.el (use-region-p): Doc fix (Bug#6607).
8151
8152 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
8153
8154 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8155 Add regexps for cucumber and ruby.
8156
8157 2010-07-08 Daiki Ueno <ueno@unixuser.org>
8158
8159 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
8160 (epa-file-insert-file-contents): Hack to prevent
8161 find-file from opening empty buffer when decryption failed
8162 (bug#6568).
8163
8164 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
8165
8166 * textmodes/ispell.el (ispell-alternate-dictionary):
8167 Use file-readable-p.
8168 Return nil if no word-list is found at default locations.
8169 (ispell-complete-word-dict): Default to nil.
8170 (ispell-command-loop): Use 'word-list' when using lookup-words.
8171 (lookup-words): Use ispell-complete-word-dict or
8172 ispell-alternate-dictionary. Check for word-list availability
8173 and handle errors if needed with better messages (Bug#6539).
8174 (ispell-complete-word): Use ispell-complete-word-dict or
8175 ispell-alternate-dictionary.
8176
8177 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
8178
8179 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
8180 builtins (BufferError, BytesWarning, WindowsError; callables
8181 bin, bytearray, bytes, format, memoryview, next, print; __package__).
8182
8183 2010-07-07 Glenn Morris <rgm@gnu.org>
8184
8185 * play/zone.el (top-level): Do not require timer, tabify, or cl.
8186 (zone-shift-left): Ignore intangibility, and any errors from
8187 forward-char.
8188 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
8189 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
8190 deleting, and copying text properties.
8191 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
8192 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
8193 to point-max is hard.
8194 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
8195 (zone-fill-out-screen): Ignore intangibility.
8196
8197 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
8198
8199 * menu-bar.el (menu-bar-mode):
8200 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
8201 if it has been set.
8202
8203 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
8204 word/line selection (Bug#6565).
8205
8206 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
8207
8208 * net/dbus.el (dbus-send-signal): Declare function.
8209
8210 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
8211
8212 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
8213 (dbus-register-property): New optional argument EMITS-SIGNAL.
8214 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
8215
8216 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
8217
8218 * mouse.el (mouse-drag-overlay): Variable deleted.
8219 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
8220 (mouse--remap-link-click-p): New function.
8221 (mouse-drag-track): Handle dragging by using temporary Transient
8222 Mark mode, instead of a special overlay.
8223 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
8224 mouse-show-mark.
8225
8226 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
8227 deleted.
8228
8229 2010-07-02 Juri Linkov <juri@jurta.org>
8230
8231 * autoinsert.el (auto-insert-alist): Fix readability
8232 by using dotted pair notation for lambda.
8233
8234 2010-07-02 Juri Linkov <juri@jurta.org>
8235
8236 * faces.el (read-face-name): Rename arg `string-describing-default'
8237 to `default'. Doc fix. Display the default value in quotes
8238 in the prompt. With empty input, return the `default' arg,
8239 unless the default value is a string (in which case return nil).
8240 (describe-face): Replace the string `default' arg of `read-face-name'
8241 with the symbol `default'.
8242
8243 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
8244
8245 * emulation/viper-cmd.el (viper-delete-backward-char)
8246 (viper-del-backward-char-in-insert)
8247 (viper-del-backward-char-in-replace, viper-change)
8248 (viper-backward-indent): Replace delete-backward-char with
8249 delete-char (Bug#6552).
8250
8251 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
8252
8253 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
8254
8255 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
8256
8257 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
8258 argument passed to frame-creation-function (Bug#5378).
8259
8260 * faces.el (x-handle-named-frame-geometry)
8261 (x-handle-reverse-video, x-create-frame-with-faces)
8262 (face-set-after-frame-default, tty-create-frame-with-faces):
8263 Don't separately consult default-frame-alist. It is now passed as the
8264 PARAMETER argument.
8265
8266 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
8267
8268 * startup.el (command-line): Don't call tool-bar-setup in a
8269 tty-only build.
8270
8271 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
8272
8273 * ruler-mode.el (ruler--save-header-line-format): New fun.
8274 (ruler-mode): Use it as a setter function, so as not to overwrite
8275 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
8276
8277 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
8278
8279 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
8280 (vc-root-diff, vc-print-root-log, vc-log-incoming)
8281 (vc-log-outgoing): Use it.
8282 (vc-diff-internal): Set diff-vc-backend.
8283
8284 * vc/diff-mode.el (diff-vc-backend): New var.
8285
8286 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
8287
8288 * dynamic-setting.el (font-setting-change-default-font):
8289 Remove call to message.
8290
8291 2010-06-28 Kenichi Handa <handa@m17n.org>
8292
8293 * international/quail.el (quail-insert-kbd-layout): Fix the
8294 showing of untranslated characters.
8295
8296 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
8297
8298 * simple.el (delete-active-region): New option.
8299 (delete-backward-char): Implement in Lisp.
8300 (delete-forward-char): New command.
8301
8302 * mouse.el (mouse-region-delete-keys): Deleted.
8303 (mouse-show-mark): Simplify.
8304
8305 * bindings.el (global-map): Bind delete and DEL, the former to
8306 delete-forward-char.
8307
8308 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
8309
8310 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
8311 (ruby-mode): Bind indent-line-function (Bug#5119).
8312
8313 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
8314
8315 * startup.el (command-line): Recognize "0" X resource value.
8316
8317 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
8318
8319 * startup.el (command-line): Use X resources to set the value of
8320 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
8321
8322 * menu-bar.el (menu-bar-mode):
8323 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
8324 Set init-value to t.
8325
8326 * frame.el (frame-notice-user-settings): Don't change
8327 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
8328 vice versa (Bug#2249).
8329
8330 2010-06-26 Eli Zaretskii <eliz@gnu.org>
8331
8332 * w32-fns.el (w32-convert-standard-filename): Doc fix.
8333
8334 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
8335
8336 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
8337 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
8338
8339 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
8340 default directories are expanded (Bug#6143).
8341
8342 2010-06-24 Juri Linkov <juri@jurta.org>
8343
8344 * minibuffer.el (completions-format): Change default from nil to
8345 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
8346
8347 2010-06-24 Juri Linkov <juri@jurta.org>
8348
8349 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
8350 buffer-locally to lambda that re-runs the vc diff command.
8351 (Bug#6447)
8352
8353 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
8354
8355 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
8356 echo area is in use (Bug#3412).
8357
8358 2010-06-22 Glenn Morris <rgm@gnu.org>
8359
8360 * textmodes/texinfmt.el (texinfo-format-region)
8361 (texinfo-raise-lower-sections, texinfo-format-separate-node)
8362 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
8363 (texinfo-format-option, texinfo-noindent):
8364 Use line-beginning-position and line-end-position.
8365
8366 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
8367 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
8368 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
8369 utf-8 characters.
8370
8371 2010-06-21 Karl Fogel <kfogel@red-bean.com>
8372
8373 * play/zone.el (zone-fall-through-ws): Fix next-line ->
8374 forward-line fallout.
8375
8376 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
8377
8378 * mouse.el (mouse-appearance-menu): Add docstring.
8379
8380 * help.el (describe-key): Print up-event using key-description.
8381
8382 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
8383
8384 * net/zeroconf.el (zeroconf-resolve-service)
8385 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
8386 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
8387
8388 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
8389
8390 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
8391
8392 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
8393
8394 Avoid displaying files with a nil state in vc-dir.
8395 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
8396 cases that cause insertion.
8397 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
8398 with a nil state.
8399
8400 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
8401
8402 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
8403
8404 2010-06-29 Leo <sdl.web@gmail.com>
8405
8406 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
8407
8408 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
8409
8410 * generic-x.el (bat-generic-mode): Fix regexp for command line
8411 switches (Bug#5719).
8412
8413 2010-06-27 Masatake YAMATO <yamato@redhat.com>
8414
8415 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
8416 of nconc to avoid pure storage error (Bug#6239).
8417
8418 2010-06-27 Christoph <cschol2112@googlemail.com> (tiny change)
8419
8420 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
8421 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
8422 bindings of bookmark-automatically-show-annotations (Bug#6515).
8423
8424 2010-06-25 Eli Zaretskii <eliz@gnu.org>
8425
8426 * arc-mode.el (archive-zip-extract): Don't quote the file name on
8427 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
8428
8429 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
8430
8431 * comint.el (make-comint, make-comint-in-buffer): Mention return
8432 value in the docstrings. (Bug#6498)
8433
8434 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
8435
8436 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
8437 since it is not present when using some non-default switches.
8438
8439 2010-06-23 Karl Fogel <kfogel@red-bean.com>
8440
8441 * simple.el (compose-mail): Fix doc string to refer to
8442 `compose-mail-user-agent-warnings', instead of to the
8443 nonexistent `compose-mail-check-user-agent'.
8444
8445 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
8446
8447 Fix an indentation bug:
8448
8449 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
8450 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
8451 of existing values.
8452
8453 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
8454 (c-clear->-pair-props-if-match-before): now return t when they've
8455 cleared properties, nil otherwise.
8456 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
8457 by taking account of the existing value.
8458
8459 * progmodes/cc-defs.el
8460 (c-clear-char-property-with-value-function): Fix this to clear the
8461 property rather than overwriting it with nil.
8462
8463 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
8464
8465 * emacs-lisp/package.el (package-print-package): Add link to
8466 package description via describe-package.
8467 (describe-package-1): List package requirements. Add button to
8468 perform installation.
8469 (package-menu-describe-package): New command.
8470
8471 * help-mode.el (help-package): New button type.
8472
8473 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
8474
8475 * emacs-lisp/package.el: Move package-list-packages binding to
8476 menu-bar.el.
8477 (describe-package, describe-package-1, package--dir): New funs.
8478 (package-activate-1): Use package--dir.
8479
8480 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
8481
8482 * help-mode.el (help-package-def): New button type.
8483
8484 * menu-bar.el: Move package-list-packages binding here from
8485 package.el.
8486
8487 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
8488
8489 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
8490
8491 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8492
8493 * emacs-lisp/edebug.el (edebug-read-list):
8494 Phase out old-style backquotes.
8495
8496 2010-06-17 Juri Linkov <juri@jurta.org>
8497
8498 * help-mode.el (help-mode): Set buffer-local variable
8499 revert-buffer-function to help-mode-revert-buffer.
8500 (help-mode-revert-buffer): New function.
8501
8502 * info.el (Info-revert-find-node): Check for major-mode Info-mode
8503 before popping to "*info*" (like in other Info functions).
8504 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
8505 old-history-forward. Pop to old-buffer-name or "*info*" to
8506 recreate the killed buffer. Set Info-history-forward from
8507 old-history-forward.
8508 (Info-breadcrumbs-depth): Add :group and :version.
8509
8510 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
8511
8512 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
8513
8514 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
8515
8516 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
8517 for languages like Portuguese with pt_{BR,PT} and no plain pt.
8518
8519 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
8520
8521 * emacs-lisp/package.el (package-menu-mode-map):
8522 Move initialization into declaration.
8523
8524 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
8525
8526 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
8527
8528 * emacs-lisp/package.el (package-archive-base): Point to
8529 elpa.gnu.org.
8530 (package-enable, package-load-list): New defcustoms.
8531 (package-user-dir, package-directory-list): Turn into defcustoms.
8532 Don't include package-user-dir in package-directory-list.
8533 (package--builtins-base): Don't include Emacs as a "package".
8534 (package-subdirectory-regexp): New var.
8535 (package-load-all-descriptors, package-compute-transaction)
8536 (package-download-transaction): Obey package-load-list.
8537 (package-activate-1): Rename from package-do-activate.
8538 (package-list-packages-internal): Check package-load-list.
8539 (package-load-descriptor, package-generate-autoloads)
8540 (package-unpack, package-unpack-single)
8541 (package--read-archive-file, package-delete):
8542 Use expand-file-name.
8543
8544 * emacs-lisp/package-x.el: New file. Package uploading
8545 functionality split out from package.el.
8546
8547 * startup.el (command-line): Load packages after reading init file.
8548
8549 2010-06-17 Tom Tromey <tromey@redhat.com>
8550
8551 * emacs-lisp/package.el: New file.
8552
8553 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
8554
8555 Fix vc-annotate for renamed files when using Git.
8556 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
8557 ls-files. Doe not pass the object as a file name to cat-file, it
8558 is not a file name.
8559 (vc-git-annotate-command): Pass the file name using -- to avoid
8560 ambiguity with the revision.
8561 (vc-git-previous-revision): Pass a relative file name.
8562
8563 2010-06-22 Glenn Morris <rgm@gnu.org>
8564
8565 * progmodes/js.el (js-mode-map): Use standard capitalization and
8566 ellipses for menu entries.
8567
8568 * wid-edit.el (widget-complete): Doc fix.
8569
8570 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
8571
8572 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
8573
8574 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
8575
8576 Fix annotating other revisions for renamed files in vc-annotate.
8577 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
8578 VC backend. Use it when non-nil.
8579 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
8580 (Bug#6487).
8581
8582 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
8583 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8584 Do not pass the file name to the 'previous-revision call when we
8585 don't want a file diff. (Bug#6489)
8586
8587 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
8588
8589 Fix finding revisions for renamed files in vc-annotate.
8590 * vc/vc.el (vc-find-revision): Add an optional argument for
8591 the VC backend. Use it when non-nil.
8592 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
8593 backend to vc-find-revision. (Bug#6487)
8594
8595 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
8596
8597 Fix reading file names in Git annotate buffers.
8598 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
8599 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
8600
8601 2010-06-20 Alan Mackenzie <acm@muc.de>
8602
8603 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
8604 in file local variables, set it first.
8605
8606 2010-06-19 Glenn Morris <rgm@gnu.org>
8607
8608 * descr-text.el (describe-char-unicode-data): Insert separating
8609 space when needed. (Bug#6422)
8610
8611 * progmodes/idlwave.el (idlwave-action-and-binding):
8612 Fix typo in 2009-12-03 change. (Bug#6450)
8613
8614 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8615
8616 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
8617 handling for `lambda' (misunderstanding).
8618
8619 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
8620
8621 * calc/calc-poly.el (math-accum-factors): Make sure that
8622 constants aren't distributed after they are factored out.
8623
8624 2010-06-16 Juri Linkov <juri@jurta.org>
8625
8626 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
8627 `list-colors-print'. (Bug#6332)
8628
8629 * subr.el (read-quoted-char): Fix up last change (bug#6290).
8630
8631 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
8632
8633 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
8634 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
8635
8636 * font-lock.el (font-lock-major-mode): Rename from
8637 font-lock-mode-major-mode to distinguish it from
8638 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
8639 (font-lock-set-defaults):
8640 * font-core.el (font-lock-default-function): Adjust users.
8641 (font-lock-mode): Don't set it at all.
8642
8643 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
8644
8645 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
8646
8647 2010-06-16 Glenn Morris <rgm@gnu.org>
8648
8649 * calendar/appt.el (appt-time-msg-list): Doc fix.
8650 (appt-check): Let-bind appt-warn-time.
8651 (appt-add): Make the 3rd argument optional.
8652 Simplify argument names. Doc fix. Check for integer WARNTIME.
8653 Only add WARNTIME to the output list if non-nil.
8654
8655 2010-06-16 Ivan Kanis <apple@kanis.eu>
8656
8657 * calendar/appt.el (appt-check): Let the 3rd element of
8658 appt-time-msg-list specify the warning time.
8659 (appt-add): Add new argument with the warning time. (Bug#5176)
8660
8661 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
8662
8663 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
8664 older than version 1.6. (Bug#6361)
8665
8666 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
8667
8668 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
8669 used by cl-do-arglist. (Bug#6408)
8670
8671 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
8672
8673 * textmodes/ispell.el (ispell-dictionary-base-alist):
8674 Fix portuguese casechars/not-casechars for missing 'çÇ'.
8675 Suggested by Rolando Pereira (bug#6434).
8676
8677 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
8678
8679 * facemenu.el (list-colors-sort): Doc fix.
8680
8681 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
8682
8683 * progmodes/sql.el (sql-connect-mysql): Fix typo.
8684
8685 2010-06-14 Juri Linkov <juri@jurta.org>
8686
8687 Add sort option `list-colors-sort'. (Bug#6332)
8688 * facemenu.el (color-rgb-to-hsv): New function.
8689 (list-colors-sort): New defcustom.
8690 (list-colors-sort-key): New function.
8691 (list-colors-display): Doc fix. Sort list according to the option
8692 `list-colors-sort'.
8693 (list-colors-print): Add HSV values to `help-echo' property of
8694 RGB strings.
8695
8696 2010-06-14 Juri Linkov <juri@jurta.org>
8697
8698 * compare-w.el: Move to the "vc" subdirectory.
8699
8700 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8701
8702 * image-mode.el (image-mode-map): Remap left-char and right-char.
8703
8704 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
8705
8706 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
8707
8708 * term/common-win.el (x-colors): Add all the color names defined
8709 in rgb.txt (Bug#6332).
8710
8711 * facemenu.el (list-colors-print): Don't print extra names if it
8712 will overflow the window width.
8713
8714 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
8715 change (Bug#6343).
8716
8717 2010-06-12 Eli Zaretskii <eliz@gnu.org>
8718
8719 * files.el (make-directory): Doc fix (bug#6396).
8720
8721 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
8722
8723 * net/tramp.el (tramp-remote-process-environment): Protect version
8724 string by apostroph.
8725 (tramp-shell-prompt-pattern): Do not use a shy group in case of
8726 XEmacs.
8727 (tramp-file-name-for-operation): Add `call-process-region'.
8728 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
8729
8730 * net/tramp-compat.el (top): Do not autoload
8731 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
8732 only when `start-file-process' is not bound.
8733 (tramp-advice-file-expand-wildcards): Do not use
8734 `tramp-handle-file-remote-p'.
8735 (tramp-compat-make-temp-file): Handle the case, that
8736 `make-temp-file' has no third argument EXTENSION.
8737
8738 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
8739
8740 * makefile.w32-in (WINS_BASIC): Include new directory vc.
8741
8742 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
8743
8744 2010-06-11 Juri Linkov <juri@jurta.org>
8745
8746 * finder.el (finder-known-keywords): Add keyword "vc"
8747 for version control.
8748
8749 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
8750 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
8751 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
8752 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
8753
8754 2010-06-11 Juri Linkov <juri@jurta.org>
8755
8756 Move version control related files to the "vc" subdirectory.
8757 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
8758 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
8759 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
8760 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
8761 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
8762 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
8763 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
8764 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
8765 Move files to the "vc" subdirectory.
8766
8767 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
8768
8769 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
8770 (Bug#6367).
8771
8772 2010-06-11 Stephen Eglen <stephen@gnu.org>
8773
8774 * shell.el: Bind `shell-resync-dirs' to M-RET.
8775
8776 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
8777
8778 * notifications.el: Move file from lisp/net, because it is
8779 supposed to talk locally to the user.
8780
8781 2010-06-10 Julien Danjou <julien@danjou.info>
8782
8783 * net/notifications.el (notifications-on-action-signal)
8784 (notifications-on-closed-signal): Pass notification id as first
8785 argument to the callback functions. Add docstrings.
8786 (notifications-notify): Fix docstring.
8787
8788 2010-06-10 Glenn Morris <rgm@gnu.org>
8789
8790 * emacs-lisp/authors.el (authors-ignored-files)
8791 (authors-valid-file-names): Add some files.
8792
8793 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
8794
8795 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
8796 merge conflict, giving preference to the emacs-23 version of the code.
8797
8798 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
8799
8800 * emacs-lisp/advice.el (ad-compile-function):
8801 Define warning-suppress-types before we let-bind it (bug#6275).
8802
8803 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
8804 declare it, make it buffer-local and permanent-local (bug#6324).
8805 (vc-resynch-window): Adjust name.
8806 * vc-hooks.el (vc-find-file-hook): Adjust name.
8807
8808 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
8809
8810 * net/notifications.el (notifications-notify): Fix docstring.
8811
8812 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
8813
8814 Update to Unicode 6.0.0 beta.
8815 * international/charprop.el: Update copyright.
8816 * international/mule-cmds.el (ucs-names): Update character ranges.
8817 * international/uni-bidi.el:
8818 * international/uni-category.el:
8819 * international/uni-combining.el:
8820 * international/uni-comment.el:
8821 * international/uni-decimal.el:
8822 * international/uni-decomposition.el:
8823 * international/uni-digit.el:
8824 * international/uni-lowercase.el:
8825 * international/uni-mirrored.el:
8826 * international/uni-name.el:
8827 * international/uni-numeric.el:
8828 * international/uni-old-name.el:
8829 * international/uni-titlecase.el:
8830 * international/uni-uppercase.el: Regenerate.
8831
8832 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
8833
8834 * emacs-lisp/smie.el (comment-string-strip): Declare function.
8835 (smie-precs-precedence-table): Fix typo in docstring.
8836
8837 * vc-mtn.el (log-edit-extract-headers): Declare function.
8838
8839 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
8840
8841 * net/notifications.el (dbus-register-signal): Declare function.
8842 (notifications-notify): Fix typos and reflow docstring.
8843
8844 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
8845
8846 Improve VC create/retrieve tag/branch.
8847 * vc.el (vc-create-tag): Do not read the directory name for VCs
8848 with repository revision granularity. Adjust the tag/branch
8849 prompt. Reset VC properties.
8850 (vc-retrieve-tag): Do not read the directory name for VCs
8851 with repository revision granularity. Reset VC properties.
8852
8853 2010-06-09 Julien Danjou <julien@danjou.info>
8854
8855 * net/notifications.el: New file.
8856
8857 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
8858
8859 Add optional support for resetting VC properties.
8860 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
8861 call vc-file-clearprops when true.
8862 (vc-resynch-buffer): Add new optional argument, pass it down.
8863 (vc-resynch-buffers-in-directory): Likewise.
8864
8865 Improve support for special markup in the VC commit message.
8866 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
8867 * vc-hg.el (vc-hg-checkin): Add support for Date:.
8868 * vc-git.el (vc-git-checkin):
8869 * vc-bzr.el (vc-bzr-checkin): Likewise.
8870
8871 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
8872
8873 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
8874 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
8875
8876 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
8877
8878 * iimage.el: Remove images as soon as the underlying text is modified.
8879 (iimage-modification-hook): New function.
8880 (iimage-mode-buffer): Use it.
8881
8882 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8883
8884 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
8885 smie-indent-offset-after. Add :prev case. Make a bit more generic.
8886 (smie-indent-virtual): Remove `virtual' arg. Update callers.
8887 (smie-indent-keyword): Add handling of open-paren keywords.
8888 (smie-indent-comment-continue): Don't assume comment-continue.
8889
8890 2010-06-07 Martin Rudalics <rudalics@gmx.at>
8891
8892 * window.el (pop-to-buffer): Remove the conditional that
8893 compares new-window and old-window, so it will reselect
8894 the selected window unconditionally.
8895 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
8896
8897 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8898
8899 * emacs-lisp/smie.el (smie-indent-offset-after)
8900 (smie-indent-forward-token, smie-indent-backward-token): New functions.
8901 (smie-indent-after-keyword): Use them.
8902 (smie-indent-fixindent): Only applies to the indentation of the BOL.
8903 (smie-indent-keyword): Tweak the black magic.
8904 (smie-indent-comment-continue): Strip comment-continue before use.
8905 (smie-indent-functions): Indent comments before keywords.
8906
8907 2010-06-06 Juri Linkov <juri@jurta.org>
8908
8909 * isearch.el (isearch-lazy-highlight-search): Fix looping
8910 by checking for empty match. This syncs this loop with the
8911 similar loop in `isearch-search'. (Bug#6362)
8912
8913 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
8914
8915 * net/dbus.el (dbus-register-method): Declare function.
8916 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
8917 (dbus-introspect): Doc fix.
8918 (dbus-event-bus-name, dbus-introspect-get-interface)
8919 (dbus-introspect-get-argument): Reflow docstrings.
8920
8921 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
8922
8923 vc-log-incoming/vc-log-outgoing fixes for Git.
8924 * vc-git.el (vc-git-log-view-mode): Fix font lock for
8925 incoming/outgoing logs.
8926 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
8927 instead of vc-git-compute-remote.
8928 (vc-git-compute-remote): Remove.
8929
8930 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
8931
8932 * term/common-win.el (x-colors): Add "dark green" and "dark
8933 turquoise" (Bug#6332).
8934
8935 2010-06-04 Juri Linkov <juri@jurta.org>
8936
8937 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
8938 Instead of setting `replace' to t and replacing the same string
8939 with itself, don't do certain actions when
8940 kill-do-not-save-duplicates is non-nil and string is equal to car
8941 of kill-ring: don't call menu-bar-update-yank-menu, don't push
8942 interprogram-paste strings to kill-ring, and don't push the input
8943 argument `string' to kill-ring.
8944 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
8945
8946 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
8947
8948 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
8949
8950 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
8951
8952 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
8953 (tramp-gvfs-handler-mounted-unmounted)
8954 (tramp-gvfs-connection-mounted-p): Handle default-location.
8955
8956 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
8957 move files to trash.
8958
8959 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
8960
8961 * international/mule-cmds.el (nonascii-insert-offset)
8962 (nonascii-translation-table): Add obsolescence information.
8963
8964 * international/mule.el (make-translation-table-from-vector): Doc fix.
8965
8966 2010-06-03 Glenn Morris <rgm@gnu.org>
8967
8968 * desktop.el (desktop-clear-preserve-buffers):
8969 Add "*Warnings*" buffer. (Bug#6336)
8970
8971 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
8972
8973 vc-log-incoming/vc-log-outgoing improvements for Git.
8974 * vc-git.el (vc-git-log-outgoing): Use the same format as the
8975 short log.
8976 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
8977
8978 Add bindings for vc-log-incoming and vc-log-outgoing.
8979 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
8980 and vc-log-outgoing.
8981 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
8982 and vc-log-outgoing.
8983
8984 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
8985
8986 * net/rcirc.el (rcirc-sort-nicknames): Remove.
8987 (rcirc-handler-366): Always sort nicknames.
8988
8989 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
8990
8991 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
8992
8993 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
8994
8995 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
8996
8997 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8998
8999 * net/rcirc.el (rcirc-sort-nicknames): Change default.
9000 (rcirc-sort-nicknames-join): Avoid setq.
9001
9002 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
9003
9004 * net/rcirc.el (rcirc-sort-nicknames): New custom.
9005 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
9006 (rcirc-handler-366): Use them.
9007
9008 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9009
9010 Split smie-indent-calculate into more manageable chunks.
9011 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
9012 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
9013 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
9014 (smie-indent-exps): Extract from smie-indent-calculate.
9015 (smie-indent-functions): New var.
9016 (smie-indent-functions): Use them.
9017
9018 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9019
9020 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
9021 (smie-indent-calculate): Simplify and cleanup.
9022
9023 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
9024
9025 * net/tramp-gvfs.el (top): Require url-util.
9026 (tramp-gvfs-mount-point): Remove.
9027 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
9028 New defuns.
9029 (with-tramp-dbus-call-method): Format trace message.
9030 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
9031 Implement backup call, when operation on local files fails.
9032 Use progress reporter. Flush properties of changed files.
9033 (tramp-gvfs-handle-make-directory): Make more traces.
9034 (tramp-gvfs-url-file-name): Hexify file name in url.
9035 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
9036 into account for the resulting file name.
9037 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
9038 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
9039 (tramp-gvfs-handler-mounted-unmounted)
9040 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
9041 attribute "default_location". Set "prefix" property.
9042 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
9043 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
9044 exists. Raise an error, if not (due to a corresponding answer
9045 "no" in interactive questions, for example).
9046
9047 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
9048
9049 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
9050
9051 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
9052
9053 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
9054 right-*. (Bug#6265)
9055
9056 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
9057
9058 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
9059 * vc-git.el (vc-git-compute-remote): New function.
9060 (vc-git-log-outgoing): Use it instead of hard coding a value.
9061 (vc-git-log-incoming): New function.
9062
9063 Improve state updating for VC tag commands.
9064 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
9065 to update the state of all buffers in the directory.
9066
9067 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
9068
9069 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9070
9071 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
9072 `file-directory-p' to the filename part rather than to the whole text.
9073
9074 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9075
9076 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
9077
9078 2010-05-31 Drew Adams <drew.adams@oracle.com>
9079
9080 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
9081
9082 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
9083
9084 * subr.el (momentary-string-display): Just use read-event to read
9085 the exit event (Bug#6238).
9086
9087 2010-05-30 Eli Zaretskii <eliz@gnu.org>
9088
9089 * international/mule.el (define-coding-system): Doc fix (bug#6313).
9090
9091 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
9092
9093 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
9094 Suggested by Eli Zaretskii <eliz@gnu.org>.
9095
9096 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9097
9098 * minibuffer.el (completion-file-name-table): Don't return a boundary
9099 past the end of `string' (bug#6299).
9100 (completion--file-name-table): Delegate to completion-file-name-table
9101 for the `boundaries' case.
9102
9103 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
9104
9105 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
9106 movement commands.
9107
9108 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
9109 `path-separator', but maintain compatibility with Emacs 20.2.
9110
9111 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
9112
9113 * server.el (server-process-filter): Receive parent-id argument
9114 from emacsclient.
9115 (server-create-window-system-frame): New arg. Pass parent-id as
9116 frame parameter.
9117
9118 2010-05-29 Eli Zaretskii <eliz@gnu.org>
9119
9120 Bidi-sensitive word movement with arrow keys.
9121 * subr.el (right-arrow-command, left-arrow-command): Move to
9122 bindings.el.
9123
9124 * bindings.el (right-char, left-char): Move from subr.el and
9125 rename from right-arrow-command and left-arrow-command.
9126 (right-word, left-word): New functions.
9127 (global-map) <right>: Bind to right-char.
9128 (global-map) <left>: Bind to left-char.
9129 (global-map) <C-right>: Bind to right-word.
9130 (global-map) <C-left>: Bind to left-word.
9131
9132 * ls-lisp.el (ls-lisp-classify-file): New function.
9133 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
9134 (ls-lisp-classify): Call ls-lisp-classify-file.
9135 (insert-directory): Remove blanks from switches.
9136
9137 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
9138
9139 * ansi-color.el: Delete unused escape sequences (Bug#6085).
9140 (ansi-color-drop-regexp): New constant.
9141 (ansi-color-apply, ansi-color-filter-region)
9142 (ansi-color-apply-on-region): Delete unrecognized control sequences.
9143 (ansi-color-apply): Build string list before calling concat.
9144
9145 2010-05-28 Juri Linkov <juri@jurta.org>
9146
9147 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9148 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
9149 (Bug#5270)
9150
9151 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
9152
9153 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
9154 to ignored backtrace functions.
9155 (with-progress-reporter): Expand docstring.
9156 (tramp-handle-delete-file): Implement TRASH argument.
9157 (tramp-get-remote-trash): New defun.
9158
9159 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
9160
9161 * net/tramp-compat.el (tramp-compat-delete-file):
9162 Use `symbol-value' for backward compatibility.
9163
9164 * net/tramp.el (tramp-handle-make-symbolic-link)
9165 (tramp-handle-load)
9166 (tramp-do-copy-or-rename-file-via-buffer)
9167 (tramp-do-copy-or-rename-file-directly)
9168 (tramp-do-copy-or-rename-file-out-of-band)
9169 (tramp-handle-process-file, tramp-handle-call-process-region)
9170 (tramp-handle-shell-command, tramp-handle-file-local-copy)
9171 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9172 (tramp-delete-temp-file-function): Use `delete-file' instead
9173 of `tramp-compat-delete-file'.
9174
9175 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
9176 (tramp-fish-handle-make-symbolic-link)
9177 (tramp-fish-handle-process-file): Use `delete-file' instead
9178 of `tramp-compat-delete-file'.
9179
9180 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
9181 Use `delete-file' instead of `tramp-compat-delete-file'.
9182
9183 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
9184 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
9185 `tramp-compat-delete-file'.
9186
9187 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
9188 Use `delete-file' instead of `tramp-compat-delete-file'.
9189
9190 * net/tramp-smb.el (tramp-smb-handle-copy-file)
9191 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9192 (tramp-smb-handle-write-region): Use `delete-file' instead of
9193 `tramp-compat-delete-file'.
9194 (tramp-smb-handle-delete-directory): Use 'trash as arg.
9195
9196 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
9197
9198 * dired.el (dired-delete-file): New arg TRASH.
9199 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
9200 (dired-do-flagged-delete, dired-do-delete): Use trash.
9201
9202 * speedbar.el (speedbar-item-delete): Allow trashing.
9203
9204 * files.el (delete-directory): New arg TRASH.
9205
9206 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
9207 (ange-ftp-rename-remote-to-remote)
9208 (ange-ftp-rename-local-to-remote)
9209 (ange-ftp-rename-remote-to-local, ange-ftp-load)
9210 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
9211 `delete-file'.
9212 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
9213 allow trashing.
9214
9215 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
9216 handle new TRASH arg of `delete-file'.
9217
9218 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
9219 (tramp-handle-make-symbolic-link, tramp-handle-load)
9220 (tramp-do-copy-or-rename-file-via-buffer)
9221 (tramp-do-copy-or-rename-file-directly)
9222 (tramp-do-copy-or-rename-file-out-of-band)
9223 (tramp-handle-process-file, tramp-handle-call-process-region)
9224 (tramp-handle-shell-command, tramp-handle-file-local-copy)
9225 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9226 (tramp-delete-temp-file-function): Use null TRASH arg in
9227 tramp-compat-delete-file call.
9228
9229 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
9230 (tramp-fish-handle-delete-file)
9231 (tramp-fish-handle-make-symbolic-link)
9232 (tramp-fish-handle-process-file): Use null TRASH arg in
9233 `tramp-compat-delete-file' call.
9234
9235 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
9236 arg in `tramp-compat-delete-file' call.
9237
9238 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
9239 (tramp-gvfs-handle-write-region): Use null TRASH arg in
9240 `tramp-compat-delete-file' call.
9241
9242 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
9243 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
9244 `tramp-compat-delete-file' call.
9245
9246 * net/tramp-smb.el (tramp-smb-handle-copy-file)
9247 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9248 (tramp-smb-handle-write-region): Use null TRASH arg in
9249 tramp-compat-delete-file call.
9250 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
9251 (tramp-smb-handle-delete-file): Rename arg.
9252
9253 * diff.el (diff-sentinel):
9254 * epg.el (epg--make-temp-file, epg-decrypt-string)
9255 (epg-verify-string, epg-sign-string, epg-encrypt-string):
9256 * jka-compr.el (jka-compr-partial-uncompress)
9257 (jka-compr-call-process, jka-compr-write-region):
9258 * server.el (server-sentinel): Remove optional arg from
9259 delete-file, reverting 2010-05-03 change.
9260
9261 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
9262
9263 * progmodes/verilog-mode.el (verilog-type-font-keywords):
9264 Use font-lock-constant-face, not obsolete font-lock-reference-face.
9265
9266 2010-05-27 Kenichi Handa <handa@m17n.org>
9267
9268 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
9269 element of GSTRING is nil.
9270
9271 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9272
9273 * emacs-lisp/smie.el (smie-forward-token-function)
9274 (smie-backward-token-function): New vars.
9275 (smie-backward-sexp, smie-forward-sexp)
9276 (smie-indent-hanging-p, smie-indent-calculate): Use them.
9277 (smie-default-backward-token): Rename from smie-backward-token and
9278 skip comments.
9279 (smie-default-forward-token): Rename from smie-forward-token and
9280 skip comments.
9281 (smie-next-sexp): Handle nil results from next-token.
9282 (smie-indent-calculate): Add a new case for special `fixindent' comments.
9283
9284 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
9285
9286 * progmodes/verilog-mode.el (verilog-type-font-keywords):
9287 Use font-lock-constant-face, not obsolete font-lock-reference-face.
9288
9289 2010-05-27 Masatake YAMATO <yamato@redhat.com>
9290
9291 * htmlfontify.el (hfy-face-resolve-face): New function.
9292 (hfy-face-to-style): Use it (Bug#6279).
9293
9294 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
9295
9296 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
9297 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
9298
9299 2010-05-26 Glenn Morris <rgm@gnu.org>
9300
9301 * emulation/edt.el (edt-load-keys): Use locate-library.
9302
9303 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
9304
9305 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
9306 (log-edit-changelog-entries): Doc fix.
9307 (log-edit-changelog-insert-entries): Args changed.
9308 Rename relative filenames in ChangeLog entries. Delete tabs.
9309 (log-edit-insert-changelog-entries): Reorganize return value of
9310 `log-edit-changelog-entries' to pass filenames to
9311 log-edit-changelog-insert-entries.
9312
9313 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9314
9315 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
9316 `image-dired-dired-insert-marked-thumbs' to
9317 `image-dired-dired-toggle-marked-thumbs'.
9318
9319 * image-dired.el: Require cl when compiling.
9320 (image-dired-dired-toggle-marked-thumbs): Rename from
9321 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
9322 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
9323 to 'no-dir. Skip files whose names don't match
9324 `image-file-name-regexp'. When file has a thumbnail overlay,
9325 delete it. (Bug#5270)
9326
9327 2010-05-25 Juri Linkov <juri@jurta.org>
9328
9329 * image-mode.el (image-mode): Add image-after-revert-hook to
9330 after-revert-hook.
9331 (image-after-revert-hook): New function. (Bug#5669)
9332
9333 2010-05-25 Juri Linkov <juri@jurta.org>
9334
9335 * image.el (image-animated-p): When delay between animated images
9336 is 0, set it to 10 (0.1 sec). (Bug#6258)
9337
9338 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
9339
9340 * net/tramp.el (tramp-handle-insert-directory): Don't use
9341 `forward-word', its default syntax could be changed.
9342
9343 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
9344
9345 * net/tramp.el (tramp-progress-reporter-update): New defun.
9346 (with-progress-reporter): Use it.
9347 (tramp-process-actions):
9348 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
9349 Preserve current message, in order to let progress reporter continue
9350 afterwards. (Bug#6257)
9351
9352 2010-05-25 Glenn Morris <rgm@gnu.org>
9353
9354 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
9355 Add :version.
9356
9357 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
9358
9359 * net/rcirc.el (rcirc-default-user-name): Change to "user".
9360 (rcirc-default-full-name): Change to "unknown".
9361 (rcirc-user-name-history): Add variable.
9362
9363 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
9364 Jonathan Rockway <jon@jrock.us>
9365
9366 * net/rcirc.el (rcirc-server-alist): Add :pass.
9367 (rcirc): When prompting for connection parameters, also prompt for
9368 username and password.
9369 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
9370 value to server when connecting.
9371
9372 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9373
9374 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
9375 (smie-merge-prec2s): Pass the tables as separate args.
9376 (smie-bnf-precedence-table): Adjust call accordingly.
9377 (smie-prec2-levels): Set levels at the end.
9378
9379 Replace Lisp calls to delete-backward-char by delete-char.
9380 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
9381 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
9382 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
9383 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
9384 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
9385 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
9386 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
9387 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
9388 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
9389 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
9390 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
9391 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
9392 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
9393 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
9394 delete-backward-char by calls to delete-char.
9395
9396 2010-05-25 Kenichi Handa <handa@m17n.org>
9397
9398 * language/hebrew.el (hebrew-shape-gstring): New function.
9399 Register it in composition-function-table for all Hebrew combining
9400 characters.
9401
9402 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9403
9404 * epa.el (epa--select-keys): Don't explicitly delete the window since
9405 that can fail (e.g. sole window in frame). Use dedication instead.
9406
9407 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
9408
9409 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
9410
9411 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
9412
9413 * image.el (image-refresh): Define as an alias for image-flush.
9414
9415 * image-mode.el (image-toggle-display-image): Caller changed.
9416
9417 2010-05-21 Juri Linkov <juri@jurta.org>
9418
9419 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
9420 Remove "all" from grep-files-aliases. Split grep-files-aliases by
9421 whitespace, call wildcard-to-regexp on substrings and concat them
9422 with "\\|". (Bug#6114)
9423
9424 2010-05-21 Alan Mackenzie <acm@muc.de>
9425
9426 * progmodes/cc-engine.el (c-parse-state-get-strategy):
9427 Replace parameter `here' with `here-' and `here-plus', which sandwich
9428 any pertinent CPP construct.
9429 (c-remove-stale-state-cache-backwards): Fix a bug which happens
9430 when doing (c-parse-state) in a CPP construct: Exclude any "new"
9431 CPP construct from taking part in the scanning.
9432
9433 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
9434
9435 * net/tramp.el (tramp-do-copy-or-rename-file)
9436 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
9437 Tune `with-progress-reporter' messages.
9438 (tramp-handle-vc-registered):
9439 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
9440 (tramp-fish-handle-insert-file-contents)
9441 (tramp-fish-maybe-open-connection):
9442 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9443 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
9444 (tramp-imap-handle-insert-file-contents)
9445 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
9446
9447 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
9448
9449 * add-log.el (change-log-font-lock-keywords):
9450 Highlight all authors in multi-author entries.
9451
9452 * smerge-mode.el (smerge-refine-ignore-whitespace)
9453 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
9454 Fix typos in docstrings.
9455 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
9456
9457 2010-05-21 Glenn Morris <rgm@gnu.org>
9458
9459 * progmodes/fortran.el (fortran-mode):
9460 * progmodes/f90.el (f90-mode): Derive from prog-mode.
9461
9462 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
9463 having a relative path in src/Makefile.in.
9464
9465 2010-05-20 Kevin Ryde <user42@zip.com.au>
9466
9467 * help-mode.el (help-make-xrefs): For Info node links turn
9468 newlines into spaces. Link node names with newlines are matched
9469 by help-xref-info-regexp and buttonized, this change ensures they
9470 can be followed successfully with RET. (Bug#6206)
9471
9472 2010-05-20 Juri Linkov <juri@jurta.org>
9473
9474 * locate.el (locate): Use pop-to-buffer instead of
9475 switch-to-buffer-other-window. (Bug#6204)
9476
9477 2010-05-20 Juri Linkov <juri@jurta.org>
9478
9479 * replace.el (replace-highlight): Fix lazy-highlighting
9480 for `M-s w str M-% str RET'.
9481
9482 2009-12-15 Masatake YAMATO <yamato@redhat.com>
9483
9484 * isearch.el (isearch-yank-word-or-char): Pull next subword
9485 when `subword-mode' is activated. (Bug#6220)
9486
9487 2010-05-20 Mark A. Hershberger <mah@everybody.org>
9488
9489 * isearch.el (isearch-update-post-hook): New hook.
9490 (isearch-update): Use the new hook. (Bug#6225)
9491
9492 2010-05-20 Juri Linkov <juri@jurta.org>
9493
9494 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
9495 [f1], [help], and (char-to-string help-char) instead of "\C-h".
9496 (Bug#6222)
9497
9498 2010-05-20 Juri Linkov <juri@jurta.org>
9499
9500 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
9501 (Bug#6223)
9502
9503 2010-05-20 Juri Linkov <juri@jurta.org>
9504
9505 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
9506 FILE-NAME to read from the minibuffer when called interactively
9507 with prefix argument instead of using buffer-file-name.
9508 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
9509
9510 * dired.el: Update autoloads.
9511
9512 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
9513
9514 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
9515 nxml-finish-element, for consistency with SGML mode.
9516
9517 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
9518 octave-close-block.
9519
9520 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
9521
9522 * composite.el: Require cl when compiling.
9523 (reference-point-alist, compose-gstring-for-graphic)
9524 (compose-gstring-for-terminal): Fix typos in docstrings.
9525
9526 2010-05-19 Juri Linkov <juri@jurta.org>
9527
9528 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
9529 set-window-parameter.
9530
9531 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
9532
9533 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
9534 where appropriate.
9535 (tramp-maybe-open-connection): Use it.
9536
9537 2010-05-19 Eli Zaretskii <eliz@gnu.org>
9538
9539 * simple.el (move-end-of-line): Make sure we are at line beginning
9540 before backing up to end of previous line.
9541
9542 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
9543
9544 * password-cache.el (password-cache-remove): Fix docstring.
9545
9546 * net/secrets.el: Autoload the widget functions.
9547 (secrets-search-items, secrets-create-item)
9548 (secrets-get-attributes, secrets-expand-item): Attributes will be
9549 stored on the password database without leading ":", as all other
9550 clients do as well.
9551 (secrets-mode): Fix docstring.
9552 (secrets-show-secrets): Provide it as autoloaded command only when
9553 D-Bus support is available. Check existence of Secret Service API.
9554
9555 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
9556
9557 * indent.el (indent-region): Deactivate region (bug#6200).
9558
9559 2010-05-19 Glenn Morris <rgm@gnu.org>
9560
9561 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
9562
9563 2010-05-19 Kenichi Handa <handa@m17n.org>
9564
9565 * composite.el: Register compose-gstring-for-graphic in
9566 composition-function-table only for combining characters (Mn, Mc, Me).
9567
9568 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
9569
9570 * calc/calc-trail.el (calc-trail-isearch-forward)
9571 (calc-trail-isearch-backward): Ensure that the new window
9572 point is set correctly.
9573
9574 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
9575
9576 * subr.el (read-quoted-char): Resolve modifiers after key
9577 remapping (bug#6212).
9578
9579 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
9580
9581 Add visualization code for secrets.
9582 * net/secrets.el (secrets-mode): New major mode.
9583 (secrets-show-secrets, secrets-show-collections)
9584 (secrets-expand-collection, secrets-expand-item)
9585 (secrets-tree-widget-after-toggle-function)
9586 (secrets-tree-widget-show-password): New defuns.
9587
9588 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
9589
9590 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
9591 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
9592 handled in smie-next-sexp.
9593 (smie-indent-calculate): Provide a starting indentation (so the
9594 recursion is well-founded ;-).
9595
9596 Fix handling of non-associative equal levels.
9597 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
9598 when it's not needed.
9599 (smie-op-left, smie-op-right): New functions.
9600 (smie-next-sexp): New function, extracted from smie-backward-sexp.
9601 Better handle equal levels to distinguish the associative case from
9602 the "multi-keyword construct" case.
9603 (smie-backward-sexp, smie-forward-sexp): Use it.
9604
9605 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
9606
9607 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
9608
9609 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
9610 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
9611
9612 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9613
9614 Provide a simple generic indentation engine and use it for Prolog.
9615 * emacs-lisp/smie.el: New file.
9616 * progmodes/prolog.el (prolog-smie-op-levels)
9617 (prolog-smie-indent-rules): New var.
9618 (prolog-mode-variables): Use them to configure SMIE.
9619 (prolog-indent-line, prolog-indent-level): Remove.
9620
9621 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9622
9623 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
9624 order before computing the averages.
9625
9626 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
9627
9628 * calc/calc-vec.el (calc-histogram):
9629 (calcFunc-histogram): Allow vectors as inputs.
9630 (math-vector-avg): New function.
9631
9632 * calc/calc-ext.el (math-group-float): Have the number of digits
9633 being grouped depend on the radix (Bug#6189).
9634
9635 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
9636
9637 * version.el (emacs-copyright, emacs-version): Don't define here,
9638 now that emacs.c defines it.
9639
9640 2010-05-15 Eli Zaretskii <eliz@gnu.org>
9641
9642 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
9643 "Describe Language Environment" menu item.
9644
9645 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
9646
9647 Bidi-sensitive movement with arrow keys.
9648 * subr.el (right-arrow-command, left-arrow-command): New functions.
9649
9650 * bindings.el (global-map): Bind them to right and left arrow keys.
9651
9652 Don't override standard definition of convert-standard-filename.
9653 * files.el (convert-standard-filename):
9654 Call w32-convert-standard-filename and dos-convert-standard-filename on
9655 the corresponding systems.
9656
9657 * w32-fns.el (w32-convert-standard-filename): Rename from
9658 convert-standard-filename. Doc fix.
9659
9660 * dos-fns.el (dos-convert-standard-filename): Doc fix.
9661 (convert-standard-filename): Don't defalias.
9662 (register-name-alist, make-register, register-value)
9663 (set-register-value, intdos): Obsolete aliases for the
9664 corresponding dos-* functions and variables.
9665 (dos-intdos): Add a doc string.
9666
9667 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
9668
9669 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
9670 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
9671 (math-compose-tex-func):
9672 * calc/calccomp.el (math-compose-expr):
9673 * calc/calc-ext.el (math-format-flat-expr-fancy):
9674 * calc/calc-store.el (calc-read-var-name):
9675 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
9676
9677 * calc/calc.el (var-π, var-φ, var-γ): New variables.
9678 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
9679 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
9680 (math-standard-units): Add units.
9681
9682 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9683
9684 * progmodes/asm-mode.el (asm-mode):
9685 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
9686
9687 * pcomplete.el (pcomplete-completions-at-point): New function,
9688 extracted from pcomplete-std-complete.
9689 (pcomplete-std-complete): Use it.
9690
9691 2010-05-15 Glenn Morris <rgm@gnu.org>
9692
9693 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9694 Remove references to CVS, RCS and Old directories.
9695
9696 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
9697
9698 * calc/calc-bin.el (math-format-twos-complement): Group digits when
9699 appropriate.
9700
9701 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
9702
9703 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
9704 (sh-mode-syntax-table): Give it a default value instead.
9705 (sh-header-marker): Make buffer-local.
9706 (sh-mode): Move make-local-variable to the corresponding setq.
9707 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
9708 Use complete-with-action.
9709
9710 * simple.el (prog-mode): New (abstract) major mode.
9711 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
9712 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
9713
9714 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
9715
9716 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
9717 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
9718 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
9719 (sql-make-alternate-buffer-name, sql-placeholders-filter)
9720 (sql-escape-newlines-filter, sql-input-sender)
9721 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
9722
9723 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
9724
9725 Add TeX open-block and close-block keybindings to SGML, and vice versa.
9726
9727 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
9728 latex-open-block and C-c / to latex-close-block.
9729
9730 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
9731 and C-c C-e to sgml-close-tag.
9732
9733 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
9734
9735 * net/tramp.el (with-progress-reporter): Create reporter object
9736 only when the message would be displayed. Handle nested calls.
9737 (tramp-handle-load, tramp-handle-file-local-copy)
9738 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9739 (tramp-maybe-send-script, tramp-find-shell):
9740 Use `with-progress-reporter'.
9741 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
9742 Fix message text.
9743
9744 * net/tramp-smb.el (tramp-smb-handle-copy-file)
9745 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9746 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
9747 Use `with-progress-reporter'.
9748
9749 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
9750
9751 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
9752 process everytime when spellchecking from the minibuffer (bug#6143).
9753
9754 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9755
9756 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
9757
9758 * dos-fns.el: Add "dos-" prefix for namespace control.
9759 (convert-standard-filename): Define as alias for
9760 dos-convert-standard-filename but only if applicable.
9761
9762 2010-05-12 Alan Mackenzie <acm@muc.de>
9763
9764 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
9765 Push the mark at the start of these functions when appropriate.
9766
9767 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9768
9769 * minibuffer.el (completion-cycle-threshold): New custom var.
9770 (completion--do-completion): Use it.
9771 (minibuffer-complete): Use cycling if appropriate.
9772
9773 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
9774
9775 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
9776 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
9777
9778 2010-05-11 Juri Linkov <juri@jurta.org>
9779
9780 * scroll-all.el (scroll-all-check-to-scroll):
9781 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
9782
9783 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
9784
9785 * iimage.el (iimage-mode-map): Move initialization into declaration.
9786 (iimage-mode-buffer): Use with-silent-modifications.
9787 Simplify calling convention. Adjust callers.
9788 (iimage-mode): Don't run hook redundantly.
9789
9790 * minibuffer.el (completion-pcm--pattern->regex):
9791 Fix last change (bug#6160).
9792
9793 2010-05-10 Juri Linkov <juri@jurta.org>
9794
9795 Remove nodes visited during Isearch from the Info history.
9796 * info.el (Info-isearch-initial-history)
9797 (Info-isearch-initial-history-list): New variables.
9798 (Info-isearch-start): Record initial values of
9799 Info-isearch-initial-history and Info-isearch-initial-history-list.
9800 Add Info-isearch-end to isearch-mode-end-hook.
9801 (Info-isearch-end): New function.
9802
9803 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
9804
9805 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
9806 format string, in order to work around a bug in pdksh.
9807 Reported by Gilles Pion <gpion@lfdj.com>.
9808 (tramp-handle-verify-visited-file-modtime): Do not send a command
9809 when the connection is not established.
9810 (tramp-handle-set-file-times): Simplify the check for utc.
9811
9812 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
9813
9814 Fix use of `filter-buffer-substring' (rework previous change).
9815 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
9816 (cua-repeat-replace-region):
9817 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
9818 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
9819 (cua-cut-region-to-global-mark): Use it.
9820
9821 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
9822
9823 * progmodes/sql.el: Version 2.1.
9824 (sql-product-alist): Redesign structure of product info.
9825 (sql-product, sql-user, sql-server, sql-database): Safe variables.
9826 (sql-port, sql-port-history): New variables.
9827 (sql-interactive-product): New variable.
9828 (sql-send-terminator): New variable.
9829 (sql-imenu-generic-expression): Add "Types" imenu entry.
9830 (sql-oracle-login-params, sql-sqlite-login-params)
9831 (sql-mysql-login-params, sql-solid-login-params)
9832 (sql-sybase-login-params, sql-informix-login-params)
9833 (sql-ingres-login-params, sql-ms-login-params)
9834 (sql-postgres-login-params, sql-interbase-login-params)
9835 (sql-db2-login-params, sql-linter-login-params)
9836 (sql-oracle-scan-on): New variables.
9837 (sql-mode-map): Add C-c C-i to start interactive mode.
9838 (sql-mode-menu): Update existing menu entries.
9839 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
9840 (sql-mode-oracle-font-lock-keywords)
9841 (sql-mode-postgres-font-lock-keywords)
9842 (sql-mode-ms-font-lock-keywords)
9843 (sql-mode-sybase-font-lock-keywords)
9844 (sql-mode-informix-font-lock-keywords)
9845 (sql-mode-interbase-font-lock-keywords)
9846 (sql-mode-ingres-font-lock-keywords)
9847 (sql-mode-solid-font-lock-keywords)
9848 (sql-mode-mysql-font-lock-keywords)
9849 (sql-mode-sqlite-font-lock-keywords)
9850 (sql-mode-db2-font-lock-keywords)
9851 (sql-mode-linter-font-lock-keywords): Update initialization to
9852 reduce run-time complexity.
9853 (sql-add-product, sql-del-product): New functions.
9854 (sql-set-product-feature, sql-get-product-feature): New functions.
9855 (sql-product-font-lock): Update product API.
9856 (sql-add-product-keywords): New function.
9857 (sql-highlight-product): Update product API.
9858 (sql-help-list-products): New function.
9859 (sql-help): Dynamically lists free and non-free products.
9860 (sql-get-login): Correct bug in handling history and added
9861 prompt for port.
9862 (sql-copy-column): Copy without properties.
9863 (sqli-input-sender): Apply filters to SQLi input.
9864 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
9865 Implement as a filter.
9866 (sql-escape-newlines-filter): Implement as a filter.
9867 (sql-remove-tabs-filter): New function.
9868 (sql-send-magic-terminator): New function.
9869 (sql-send-string): Implement magic terminator.
9870 (sql-send-region): Use `sql-send-string'.
9871 (sql-interactive-mode): Use product API.
9872 (sql-product-interactive): Use product API.
9873 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
9874 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
9875 (sql-db2, sql-linter): Use `sql-product-interactive'.
9876 (sql-connect): New function.
9877 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
9878 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
9879 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
9880 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
9881 Use `sql-connect'.
9882
9883 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9884
9885 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
9886 New custom variable.
9887 (completion-pcm--string->pattern): Use it.
9888 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
9889 Make it handle any symbol as `any'.
9890 (completion-pcm--merge-completions): Extract common suffix for the new
9891 `prefix' symbol as well.
9892 (completion-substring--all-completions): Use the new `prefix' symbol.
9893
9894 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
9895
9896 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
9897 not bound.
9898 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
9899 (tramp-compat-funcall): New defmacro.
9900 (tramp-compat-line-beginning-position)
9901 (tramp-compat-line-end-position)
9902 (tramp-compat-temporary-file-directory)
9903 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
9904 (tramp-compat-copy-file, tramp-compat-copy-directory)
9905 (tramp-compat-delete-file, tramp-compat-delete-directory)
9906 (tramp-compat-number-sequence, tramp-compat-process-running-p)
9907 * net/tramp.el (top, with-progress-reporter)
9908 (tramp-rfn-eshadow-setup-minibuffer)
9909 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
9910 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
9911 (tramp-completion-mode-p, tramp-check-for-regexp)
9912 (tramp-open-connection-setup-interactive-shell)
9913 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
9914 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
9915 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
9916 * net/tramp-cmds.el (tramp-cleanup-all-connections)
9917 (tramp-reporter-dump-variable, tramp-load-report-modules)
9918 (tramp-append-tramp-buffers)
9919 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
9920
9921 * net/tramp-imap.el (top): Autoload `epg-make-context'.
9922
9923 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9924
9925 * progmodes/compile.el (compilation-buffer-modtime): Rename from
9926 buffer-modtime. Adjust users.
9927
9928 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
9929
9930 * international/mule.el (auto-coding-alist): Only purecopy
9931 car of each item, not the whole list (Bug#6083).
9932
9933 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
9934
9935 * progmodes/js.el (js-mode): Make paragraph variables local before
9936 calling c-setup-paragraph-variables (Bug#6071).
9937
9938 2010-05-08 Eli Zaretskii <eliz@gnu.org>
9939
9940 * composite.el (compose-region, reference-point-alist): Fix typos
9941 in the doc strings.
9942
9943 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
9944
9945 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
9946 gnuplot's "set" command.
9947
9948 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
9949
9950 * abbrev.el (last-abbrev-text): Doc fix.
9951 (abbrev-prefix-mark): Don't escape parenthesis.
9952
9953 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
9954
9955 * composite.el (find-composition): Doc fix.
9956
9957 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
9958
9959 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
9960 (sql-oracle-program, sql-sqlite-options)
9961 (sql-query-placeholders-and-send): Doc fixes.
9962 (sql-set-product, sql-interactive-mode): Reflow docstrings.
9963 (sql-imenu-generic-expression, sql-buffer)
9964 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
9965 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
9966 (sql-mode-sybase-font-lock-keywords)
9967 (sql-mode-informix-font-lock-keywords)
9968 (sql-mode-interbase-font-lock-keywords)
9969 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
9970 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
9971 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
9972 (sql-product-feature, sql-highlight-product)
9973 (comint-line-beginning-position, sql-rename-buffer)
9974 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
9975 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
9976 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
9977 Fix typos in docstrings.
9978
9979 2010-05-08 Juri Linkov <juri@jurta.org>
9980
9981 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
9982 property instead of `invisible' and `after-string' (bug#5998).
9983
9984 2010-05-08 Juri Linkov <juri@jurta.org>
9985
9986 * image-mode.el (image-mode-as-text): Fix typo in docstring.
9987
9988 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
9989
9990 * filecache.el (file-cache-add-directory-list)
9991 (file-cache-add-directory-recursively): Fix typos in docstrings.
9992
9993 2010-05-08 Kenichi Handa <handa@m17n.org>
9994
9995 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
9996 (gujarati-composable-pattern): Fix typo.
9997
9998 2010-05-08 Kenichi Handa <handa@m17n.org>
9999
10000 * language/indian.el (oriya-composable-pattern)
10001 (tamil-composable-pattern, malayalam-composable-pattern):
10002 Add two-part vowels to "v" (vowel sign).
10003
10004 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
10005
10006 * files.el (copy-directory): Handle symlinks (Bug#5982).
10007
10008 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
10009
10010 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
10011 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
10012 (Bug#5846).
10013
10014 2010-05-08 Glenn Morris <rgm@gnu.org>
10015
10016 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
10017
10018 * minibuffer.el (completion-at-point): Doc fix.
10019
10020 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10021
10022 * electric.el (Electric-command-loop): Minor tweak.
10023
10024 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
10025 better with dedicated windows.
10026
10027 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
10028
10029 * Version 23.2 released.
10030
10031 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
10032 Stefan Monnier <monnier@iro.umontreal.ca>
10033
10034 Highlight vendor specific properties.
10035 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
10036 (css-proprietary-property): New face.
10037 (css-font-lock-keywords): Use them.
10038
10039 2010-05-07 Eli Zaretskii <eliz@gnu.org>
10040
10041 * cus-start.el (all): Add native condition for tool-bar-* symbols.
10042
10043 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10044
10045 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
10046 * files.el (auto-mode-alist): Remove redundant entries.
10047
10048 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
10049 * simple.el (auto-save-mode): Move from files.el.
10050 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
10051
10052 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
10053
10054 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
10055
10056 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
10057
10058 * mail/binhex.el (binhex-decode-region-internal)
10059 * mail/uudecode.el (uudecode-decode-region-internal)
10060 * net/dns.el (dns-read-string-name, dns-write, dns-read)
10061 (dns-read-type, dns-query)
10062 * pgg-parse.el (pgg-parse-armor)
10063 * pgg.el (pgg-verify-region)
10064 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
10065 XEmacs.
10066
10067 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
10068
10069 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
10070
10071 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
10072
10073 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
10074 * emulation/cua-base.el (cua-repeat-replace-region):
10075 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
10076 (cua-cut-region-to-global-mark):
10077 Remove text properties with `set-text-properties'.
10078
10079 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
10080
10081 * net/tramp.el (top, with-progress-reporter):
10082 Use `symbol-function' inside `funcall'.
10083
10084 * net/tramp-compat.el (tramp-compat-file-attributes)
10085 (tramp-compat-delete-file, tramp-compat-delete-directory):
10086 Handle only `wrong-number-of-arguments' error.
10087
10088 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
10089 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
10090 inside `funcall'.
10091
10092 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10093
10094 * minibuffer.el (completion--sreverse, completion--common-suffix):
10095 New functions.
10096 (completion-pcm--merge-completions): Extract common suffix when safe.
10097
10098 * emacs-lisp/easy-mmode.el (define-minor-mode):
10099 Make :variable more flexible.
10100 * files.el (auto-save-mode): Use it to define using define-minor-mode.
10101
10102 2010-05-05 Juri Linkov <juri@jurta.org>
10103
10104 Add `slow' and `history' tags to the desktop data.
10105
10106 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
10107 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
10108 (Info-finder-find-node): Require `finder.el' to be able
10109 to restore node from the desktop.
10110 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
10111 data `Info-history' and `slow' tag in the assoc list.
10112 (Info-restore-desktop-buffer): Don't restore nodes with the
10113 `slow' tag. Restore `Info-history'.
10114
10115 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
10116
10117 Add FORCE argument to `delete-file'.
10118
10119 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
10120 forcing to delete the temporary file.
10121 (ange-ftp-delete-file): Add FORCE arg.
10122 (ange-ftp-rename-remote-to-remote)
10123 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
10124 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
10125 Force file deletion.
10126
10127 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
10128
10129 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
10130 (tramp-handle-make-symbolic-link, tramp-handle-load)
10131 (tramp-do-copy-or-rename-file-via-buffer)
10132 (tramp-do-copy-or-rename-file-directly)
10133 (tramp-do-copy-or-rename-file-out-of-band)
10134 (tramp-handle-process-file, tramp-handle-call-process-region)
10135 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10136 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10137 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
10138
10139 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
10140 (tramp-fish-handle-make-symbolic-link)
10141 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
10142
10143 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
10144 Use `tramp-compat-delete-file'.
10145
10146 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
10147 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
10148
10149 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
10150 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
10151
10152 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
10153 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
10154 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
10155 Use `tramp-compat-delete-file'.
10156
10157 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10158
10159 Minor cleanups.
10160 * subr.el (add-minor-mode): Use push.
10161 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
10162 * emulation/edt.el (edt-select-mode): Simplify.
10163
10164 Use define-minor-mode in more cases.
10165 * term/tvi970.el (tvi970-set-keypad-mode):
10166 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
10167 (normal-erase-is-backspace-mode):
10168 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
10169 (set-scroll-bar-mode-1): (Re)move to its sole caller.
10170 (get-scroll-bar-mode): New function.
10171 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
10172
10173 Use define-minor-mode for less obvious cases.
10174 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
10175 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
10176 * international/iso-ascii.el (iso-ascii-mode):
10177 * frame.el (auto-raise-mode, auto-lower-mode):
10178 * composite.el (global-auto-composition-mode): Use define-minor-mode.
10179
10180 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
10181
10182 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
10183 in order to see error messages for failed logins.
10184
10185 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
10186
10187 * diff.el (diff-sentinel):
10188
10189 * epg.el (epg--make-temp-file, epg-decrypt-string)
10190 (epg-verify-string, epg-sign-string, epg-encrypt-string):
10191
10192 * jka-compr.el (jka-compr-partial-uncompress)
10193 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
10194
10195 * server.el (server-sentinel): Use delete-file's new FORCE arg
10196 (Bug#6070).
10197
10198 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10199
10200 Use define-minor-mode where applicable.
10201 * view.el (view-mode):
10202 * type-break.el (type-break-query-mode)
10203 (type-break-mode-line-message-mode):
10204 * textmodes/reftex.el (reftex-mode):
10205 * term/vt100.el (vt100-wide-mode):
10206 * tar-mode.el (tar-subfile-mode):
10207 * savehist.el (savehist-mode):
10208 * ibuf-ext.el (ibuffer-auto-mode):
10209 * composite.el (auto-composition-mode):
10210 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10211 Use define-minor-mode.
10212 (vhdl-mode): Use static mode-line format.
10213 (vhdl-mode-line-update): Delete.
10214 (vhdl-create-mode-menu, vhdl-activate-customizations)
10215 (vhdl-hs-minor-mode): Don't bother calling it.
10216
10217 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
10218
10219 * simple.el (with-wrapper-hook): Move.
10220 (buffer-substring-filters): Mark obsolete.
10221 (filter-buffer-substring-functions): New variable.
10222 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
10223
10224 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
10225 Michael Albinus <michael.albinus@gmx.de>
10226
10227 Implement compression for inline methods.
10228
10229 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
10230 (tramp-copy-size-limit): Allow also nil.
10231 (tramp-inline-compress-commands): New defconst.
10232 (tramp-find-inline-compress, tramp-get-inline-compress)
10233 (tramp-get-inline-coding): New defuns.
10234 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
10235 replaced by `tramp-get-inline-coding'.
10236 (tramp-handle-file-local-copy, tramp-handle-write-region)
10237 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
10238
10239 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
10240
10241 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
10242 Remove unused functions.
10243
10244 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
10245 Set find-tag-default-function as a variable rather than a property.
10246
10247 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
10248 * progmodes/etags.el (tags-completion-at-point-function):
10249 Remove left over interactive spec. Add autoloading stub.
10250 (complete-tag): Use tags-completion-at-point-function.
10251
10252 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
10253
10254 * minibuffer.el (tags-completion-at-point-function): Fix return value.
10255
10256 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
10257
10258 * ido.el (ido-init-completion-maps): Remove C-v binding.
10259 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
10260
10261 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
10262
10263 * minibuffer.el (tags-completion-at-point-function): New function.
10264 (completion-at-point-functions): Use it.
10265
10266 * progmodes/etags.el (complete-tag): Revert last change.
10267
10268 2010-04-29 Alan Mackenzie <acm@muc.de>
10269
10270 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
10271 off-by-one error (in end of macro position).
10272
10273 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
10274
10275 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
10276 firefox is absent. Don't autoload.
10277 (browse-url-galeon-program): Don't autoload.
10278
10279 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
10280
10281 * bindings.el (complete-symbol): Move into minibuffer.el.
10282
10283 * minibuffer.el (complete-tag): Move from etags.el. If tags
10284 completion cannot be performed, return nil instead of signalling
10285 an error.
10286 (completion-at-point): Make it an alias for complete-symbol.
10287 (complete-symbol): Move from bindings.el, and replace with the
10288 body of completion-at-point.
10289
10290 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
10291
10292 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
10293
10294 * net/tramp.el (tramp-remote-selinux-p): New defun.
10295 (tramp-handle-file-selinux-context)
10296 (tramp-handle-set-file-selinux-context): Use it.
10297
10298 2010-04-28 Sam Steingold <sds@gnu.org>
10299
10300 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
10301 `safe-local-variable' if the value is a string or a symbol with
10302 the property `bug-reference-url-format'.
10303
10304 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
10305
10306 * progmodes/bug-reference.el (bug-reference-url-format):
10307 Revert 2010-04-27 change due to security risk.
10308
10309 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10310
10311 Make it possible to locally disable a globally enabled mode.
10312 * simple.el (fundamental-mode): Run fundamental-mode-hook.
10313 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
10314 rather than kill-all-local-variables so it runs fundamental-mode-hook.
10315 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10316 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
10317 that subsequent hooks get a chance to disable it.
10318
10319 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10320
10321 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10322 Avoid re-enabling a minor mode after the user turned the minor mode
10323 off if MODE-enable-in-buffers is run twice (typically once from
10324 fundamental-mode's after-change-major-mode-hook and a second time from
10325 run-mode-hook's own after-change-major-mode-hook).
10326
10327 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
10328
10329 2010-04-27 Sam Steingold <sds@gnu.org>
10330
10331 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
10332 `safe-local-variable' if the value is a string or a function, as
10333 documented and implemented on 2010-04-02.
10334
10335 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
10336
10337 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
10338 when method is 'kill.
10339
10340 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
10341
10342 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
10343 condition in default directory check.
10344 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
10345 Kill ispell process when killing its associated buffer.
10346
10347 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
10348
10349 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
10350 but we aren't using it.
10351
10352 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
10353
10354 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
10355 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
10356
10357 2010-04-24 Glenn Morris <rgm@gnu.org>
10358
10359 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
10360 Ignore VCS-ignore files, and deleted nextstep preferences files.
10361 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
10362 (authors-ambiguous-files): New list.
10363 (authors-valid-file-names): Add some deleted files.
10364 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
10365 (authors-disambiguate-file-name): New function. (Bug#5501)
10366 (authors-canonical-file-name): Doc fix.
10367 Don't warn about obsolete files.
10368 (authors-canonical-file-name, authors-scan-el):
10369 Use authors-disambiguate-file-name.
10370
10371 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
10372 Add autoload cookies.
10373 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
10374 (generated-autoload-file): Set file-local value to "htmlfontify.el".
10375 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
10376 They have definitions / compiler macros in cl.el.
10377 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
10378 Replace manual autoloads with generated ones.
10379 (htmlfontify-unload-rgb-file): Remove autoload.
10380 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
10381
10382 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10383
10384 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
10385 (byte-compile-setq-default): Optimize for the
10386 single-var case and don't call byte-compile-form in this case to avoid
10387 inf-loop with byte-compile-set-default.
10388
10389 * progmodes/compile.el (compilation-start): Abbreviate default directory.
10390
10391 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
10392
10393 Implement SELINUX backends.
10394
10395 * net/tramp.el (tramp-file-name-handler-alist):
10396 Add `file-selinux-context' and `set-file-selinux-context'.
10397 (tramp-handle-file-selinux-context)
10398 (tramp-handle-set-file-selinux-context): New defuns.
10399 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
10400 Handle PRESERVE-SELINUX-CONTEXT.
10401
10402 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10403 Add `file-selinux-context' and `set-file-selinux-context'.
10404 (tramp-gvfs-handle-file-selinux-context)
10405 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
10406 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
10407
10408 * net/ange-ftp.el (ange-ftp-copy-file):
10409 * net/tramp-fish.el (tramp-fish-handle-copy-file):
10410 * net/tramp-imap.el (tramp-imap-handle-copy-file):
10411 * net/tramp-smb.el (tramp-smb-handle-copy-file):
10412 Add PRESERVE-SELINUX-CONTEXT.
10413
10414 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
10415
10416 Synchronize with Tramp repository.
10417
10418 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
10419 (tramp-action-process-alive, tramp-action-out-of-band)
10420 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
10421 (tramp-exists-file-name-handler): Fix docstring.
10422 (with-progress-reporter): New defmacro.
10423 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
10424 (tramp-maybe-open-connection): Use it.
10425
10426 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
10427
10428 Detect ssh 'ControlMaster' argument automatically in some cases.
10429
10430 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
10431 (tramp-default-method): Use it.
10432
10433 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
10434
10435 * net/tramp.el (tramp-handle-copy-file): Add new optional
10436 parameter `preserve-selinux-context'.
10437 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
10438
10439 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
10440
10441 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
10442 Ensure, that non remote files are still checked. Oops.
10443
10444 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
10445
10446 Fix Bug#5840.
10447
10448 * icomplete.el (icomplete-completions): Use `non-essential'.
10449
10450 * net/tramp.el (tramp-connectable-p): New defun.
10451 (tramp-handle-expand-file-name)
10452 (tramp-completion-handle-file-name-all-completions)
10453 (tramp-completion-handle-file-name-completion): Use it.
10454
10455 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
10456
10457 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
10458
10459 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
10460
10461 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
10462
10463 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
10464
10465 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
10466 is present.
10467
10468 * info.el (info-tool-bar-map): Add labels.
10469
10470 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
10471
10472 * cus-edit.el (custom-commands): Add labels for tool bar.
10473 (custom-buffer-create-internal, Custom-mode): Adjust for
10474 labels in custom-commands.
10475
10476 * dynamic-setting.el: Renamed from font-setting.el.
10477
10478 2010-04-21 John Wiegley <jwiegley@gmail.com>
10479
10480 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
10481 toggles the use of virtual buffers.
10482 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
10483 (ido-toggle-virtual-buffers): New function.
10484
10485 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
10486
10487 Use `define-derived-mode'; fix window selection; doc fixes.
10488 * play/tetris.el (tetris, tetris-update-speed-function)
10489 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
10490 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
10491 (tetris-rotate-next, tetris-end-game, tetris-start-game)
10492 (tetris-pause-game): Fix typos in docstrings.
10493 (tetris-mode-map, tetris-null-map):
10494 Move initialization into declaration.
10495 (tetris-mode): Define with `define-derived-mode';
10496 set show-trailing-whitespace to nil.
10497 (tetris): Prefer window already displaying the "*Tetris*" buffer.
10498
10499 2010-04-21 Karel Klíč <kklic@redhat.com>
10500
10501 * files.el (backup-buffer): Handle SELinux context, and return it
10502 if a backup was made by renaming.
10503 (backup-buffer-copy): Set SELinux context to the target file.
10504 (basic-save-buffer): Set SELinux context of the newly written file.
10505 (basic-save-buffer-1): Now it also returns any SELinux context.
10506 (basic-save-buffer-2): Set SELinux context of the newly created file,
10507 and return it.
10508 * net/tramp.el (tramp-file-name-for-operation):
10509 Add file-selinux-context.
10510
10511 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
10512
10513 Make the log-edit comments use RFC822 format throughout.
10514
10515 * vc.el (vc-checkin, vc-modify-change-comment):
10516 Adjust to new vc-start/finish-logentry.
10517 (vc-find-conflicted-file): New command.
10518 (vc-transfer-file): Adjust to new vc-checkin.
10519 (vc-next-action): Improve scoping.
10520
10521 * vc-hg.el (vc-hg-log-edit-mode): Remove.
10522 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
10523
10524 * vc-git.el (vc-git-log-edit-mode): Remove.
10525 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
10526 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
10527
10528 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
10529 (vc-start-logentry): Remove argument `extra'.
10530 (vc-finish-logentry): Remove extra args.
10531
10532 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
10533 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
10534 (vc-bzr-conflicted-files): New function.
10535
10536 * log-edit.el (log-edit-extra-flags)
10537 (log-edit-before-checkin-process): Remove.
10538 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
10539 (log-edit-headers-alist): New var.
10540 (log-edit-header-contents-regexp): New const.
10541 (log-edit-match-to-eoh): New function.
10542 (log-edit-font-lock-keywords): Use them.
10543 (log-edit): Insert a "Summary:" header as default.
10544 (log-edit-mode): Mark font-lock rules as case-insensitive.
10545 (log-edit-done): Cleanup headers.
10546 (log-view-process-buffer): Remove.
10547 (log-edit-extract-headers): New function to replace it.
10548
10549 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
10550
10551 * subr.el (default-direction-reversed): Remove obsolescence info.
10552
10553 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10554
10555 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
10556 windows/frames.
10557
10558 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
10559 I.e. include text after point in the completion region.
10560 Also, return nil when we're not after/in a symbol.
10561
10562 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
10563 default enable-multibyte-characters.
10564
10565 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10566
10567 * international/mule.el: Help the user choose a valid coding-system.
10568 (read-buffer-file-coding-system): New function.
10569 (set-buffer-file-coding-system): Use it. Prompt the user if the
10570 coding-system cannot encode all the chars.
10571
10572 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
10573 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
10574 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
10575 Don't use *vc-bzr-shelve*.
10576
10577 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
10578
10579 Fix the version number for added files.
10580 * vc-hg.el (vc-hg-working-revision): Check if the file is
10581 registered after hg parent fails (Bug#5961).
10582
10583 2010-04-19 Glenn Morris <rgm@gnu.org>
10584
10585 * htmlfontify.el (htmlfontify-buffer)
10586 (htmlfontify-copy-and-link-dir): Autoload entry points.
10587
10588 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
10589
10590 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
10591 name relative to the project root (Bug#5960).
10592
10593 2010-04-19 Glenn Morris <rgm@gnu.org>
10594
10595 * vc-git.el (vc-git-print-log): Doc fix.
10596
10597 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
10598
10599 * ido.el (ido-file-internal): Fix 2009-12-02 change.
10600
10601 2010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
10602
10603 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
10604 default settings (Bug#5928).
10605
10606 2010-04-19 Glenn Morris <rgm@gnu.org>
10607
10608 * progmodes/fortran.el (fortran-match-and-skip-declaration):
10609 New function.
10610 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
10611
10612 2010-04-19 Kenichi Handa <handa@m17n.org>
10613
10614 * language/indian.el (malayalam-composable-pattern): Fix previous
10615 change (add U+0D4D "SIGN VIRAMA").
10616 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
10617 (tamil-composable-pattern): Fix typo in the regexp.
10618 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
10619 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
10620 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
10621
10622 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
10623
10624 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
10625 paragraph-separate (Bug#5821).
10626
10627 2010-04-19 Juri Linkov <juri@jurta.org>
10628
10629 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
10630
10631 * info.el (Info-find-node-2): Comment out code that skips
10632 breadcrumbs line.
10633 (Info-mouse-follow-link): New command.
10634 (Info-link-keymap): New keymap.
10635 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
10636 Return a string with links instead of inserting breadcrumbs
10637 to the Info buffer.
10638 (Info-fontify-node): Comment out code that inserts breadcrumbs.
10639 Instead of putting the `invisible' text property over the Info
10640 header, make an overlay over the Info header with the `invisible'
10641 property and `after-string' set to the string returned by
10642 `Info-breadcrumbs'.
10643
10644 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
10645
10646 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
10647 Reported by monkey@sandpframing.com.
10648
10649 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10650
10651 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
10652 (tmm-get-keymap): Add key-binding shortcuts now that they're not
10653 available in the "keyseq cache" any more.
10654
10655 * custom.el (defcustom): Add edebug spec.
10656
10657 2010-04-18 Juri Linkov <juri@jurta.org>
10658
10659 Test for special mode-class in view-buffer instead of view-file (bug#5513).
10660
10661 * view.el (view-file, view-buffer): Move test for special mode-class
10662 from view-file to view-buffer.
10663
10664 * tar-mode.el (tar-extract): Turn if's into one cond
10665 like in arc-mode.el.
10666
10667 2010-04-18 Juri Linkov <juri@jurta.org>
10668
10669 Add 7z archive format support (bug#5475).
10670
10671 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
10672 (archive-7z-extract): New defcustom.
10673 (archive-find-type): Add magic string for 7z.
10674 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
10675 If `stderr-file' is non-nil, use `(t stderr-file)' for the
10676 `buffer' arg of `call-process'.
10677 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
10678 call the function `archive-7z-extract' with the variable
10679 `archive-7z-extract' let-bound to `archive-zip-extract'.
10680 (archive-7z-summarize, archive-7z-extract): New functions.
10681
10682 * international/mule.el (auto-coding-alist):
10683 * files.el (auto-mode-alist): Add 7z file extension.
10684
10685 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10686
10687 * loadup.el: Setup hash-cons for pure data.
10688
10689 Fix duplicate entries in cedet's loaddefs.el files.
10690 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
10691 Should make most file-local generated-autoload-file unnecessary.
10692 (print-readably): Silence warnings.
10693 (autoload-find-destination): Take load-name as an arg to make sure
10694 it's the same as the one that will be in the file.
10695 (autoload-generate-file-autoloads): Adjust to above changes.
10696 Try to make the dataflow a bit simpler.
10697
10698 * cvs-status.el (cvs-refontify): Remove unused.
10699
10700 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
10701
10702 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
10703
10704 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
10705 twos-complement mode.
10706
10707 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
10708
10709 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
10710 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
10711 (calc-inverse): Add "Option" to message, as appropriate.
10712 (calc-hyperbolic): Add "Option" to message, as appropriate.
10713 (calc-option, calc-is-option): New functions.
10714
10715 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
10716 (calc-option-prefix-help): New function.
10717
10718 * calc/calc-misc.el (calc-help): Add "Option" entry.
10719
10720 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
10721 (calc-option-flag): New variable.
10722 (calc-do): Set `calc-option-flag to nil.
10723 (calc-set-mode-line): Add "Opt " as appropriate.
10724
10725 2010-04-16 Juri Linkov <juri@jurta.org>
10726
10727 Move scrolling commands from simple.el to window.el
10728 because their primitives are implemented in window.c.
10729
10730 * simple.el (scroll-error-top-bottom)
10731 (scroll-up-command, scroll-down-command, scroll-up-line)
10732 (scroll-down-line, scroll-other-window-down)
10733 (beginning-of-buffer-other-window, end-of-buffer-other-window):
10734 * window.el (scroll-error-top-bottom)
10735 (scroll-up-command, scroll-down-command, scroll-up-line)
10736 (scroll-down-line, scroll-other-window-down)
10737 (beginning-of-buffer-other-window, end-of-buffer-other-window):
10738 Move from simple.el to window.el because their primitives are
10739 implemented in window.c.
10740
10741 2010-04-16 Juri Linkov <juri@jurta.org>
10742
10743 * isearch.el (isearch-lookup-scroll-key): Check both
10744 `isearch-scroll' and `scroll-command' properties.
10745 (scroll-up, scroll-down): Remove `isearch-scroll' property.
10746
10747 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
10748
10749 * simple.el (scroll-up-command, scroll-down-command)
10750 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
10751
10752 2010-04-15 Juri Linkov <juri@jurta.org>
10753
10754 * simple.el (scroll-up-command, scroll-down-command)
10755 (scroll-up-line, scroll-down-line): Put `scroll-command'
10756 property on the these symbols. Remove them from
10757 `scroll-preserve-screen-position-commands'.
10758
10759 * mwheel.el (mwheel-scroll): Put `scroll-command' and
10760 `isearch-scroll' properties on the `mwheel-scroll' symbol.
10761 Remove it from `scroll-preserve-screen-position-commands'.
10762
10763 * isearch.el (isearch-allow-scroll): Doc fix.
10764
10765 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
10766
10767 * net/tramp.el (tramp-error-with-buffer): Don't show the
10768 connection buffer when we are in completion mode.
10769 (tramp-file-name-handler): Catch the error for some operations
10770 when we are in completion mode. This gives the user the chance to
10771 correct the file name in the minibuffer.
10772
10773 2010-04-15 Glenn Morris <rgm@gnu.org>
10774
10775 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
10776
10777 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
10778
10779 Simplify by using `define-derived-mode'.
10780 * info.el (Info-mode):
10781 * calendar/todo-mode.el (todo-mode):
10782 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
10783 (gomoku-mode-map): Move initialization into declaration.
10784
10785 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
10786
10787 Fix Bug#5840.
10788 * ido.el (ido-file-name-all-completions-1):
10789 * minibuffer.el (minibuffer-completion-help):
10790 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
10791
10792 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10793
10794 * simple.el (non-essential): New var.
10795
10796 Add a new field `location' to bookmarks for non-file bookmarks.
10797 * bookmark.el (bookmark-location): Use the new field, if present.
10798 (bookmark-insert-location): Undo last change, not needed any more.
10799 * man.el (Man-bookmark-make-record):
10800 * woman.el (woman-bookmark-make-record): Add `location' field.
10801
10802 2010-04-14 Juri Linkov <juri@jurta.org>
10803
10804 * simple.el (scroll-error-top-bottom): New defcustom.
10805 (scroll-up-command, scroll-down-command): Use it. Doc fix.
10806
10807 * emulation/pc-select.el (pc-select-override-scroll-error):
10808 Obsolete in favor of `scroll-error-top-bottom'.
10809
10810 2010-04-14 Juri Linkov <juri@jurta.org>
10811
10812 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
10813 `scroll-up-command' and `M-v' to `scroll-down-command'.
10814
10815 * emulation/cua-rect.el (cua--init-rectangles):
10816 * forms.el (forms--change-commands):
10817 * image-mode.el (image-mode-map):
10818 Remap scroll-down-command and scroll-up-command
10819 in addition to scroll-down and scroll-up.
10820
10821 2010-04-14 Juri Linkov <juri@jurta.org>
10822
10823 * mwheel.el (scroll-preserve-screen-position-commands):
10824 Add mwheel-scroll to this list of commands.
10825
10826 * simple.el (scroll-preserve-screen-position-commands):
10827 Add scroll-up-command, scroll-down-command, scroll-up-line,
10828 scroll-down-line to this list of commands.
10829
10830 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
10831
10832 * obsolete/complete.el: Move from lisp/complete.el.
10833
10834 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
10835
10836 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
10837 to the minor mode function now turns the mode ON unconditionally.
10838
10839 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
10840
10841 * vc-dir.el (vc-dir-kill-line): New command.
10842 (vc-dir-mode-map): Bind it to C-k.
10843
10844 * bookmark.el (bookmark-insert-location): Handle a nil filename.
10845
10846 * woman.el: Add bookmark declarations to silence the compiler.
10847 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
10848 step to compatibility between man and woman bookmarks.
10849 Adjust for Man-default-bookmark-title renaming.
10850 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
10851
10852 * man.el: Add bookmark declarations to silence the compiler.
10853 (Man-name-local-regexp): Make it match NAME as well.
10854 (Man-getpage-in-background): Return the buffer.
10855 (Man-notify-when-ready): Use `case'.
10856 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
10857 Don't hardcode "NAME". Simplify.
10858 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
10859 Rename from Man-bookmark-make-record.
10860 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
10861 we have the actual man-args. Use Man-getpage-in-background rather
10862 than `man' since the arg is already processed. Let bookmark.el do the
10863 window handling. Only wait for the relevant process.
10864 Don't forget to autoload.
10865
10866 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
10867
10868 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10869
10870 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
10871 New functions.
10872 (woman-mode): Setup bookmark support.
10873
10874 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
10875 (man-bookmark-jump): New functions.
10876 (Man-mode): Setup bookmark support.
10877
10878 2010-04-10 Jari Aalto <jari.aalto@cante.net>
10879
10880 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
10881 recognize ssh-keygen prompt (Bug#2817).
10882
10883 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
10884
10885 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
10886
10887 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
10888
10889 Synchronize with Tramp repository.
10890
10891 * net/tramp.el (tramp-completion-function-alist)
10892 (tramp-file-name-regexp, tramp-chunksize)
10893 (tramp-local-coding-commands, tramp-remote-coding-commands):
10894 Fix docstring.
10895 (tramp-remote-process-environment): Use `format' instead of `concat'.
10896 (tramp-handle-directory-files-and-attributes)
10897 (tramp-get-remote-path): Use `copy-tree'.
10898 (tramp-handle-file-name-all-completions): Backward/ XEmacs
10899 compatibility: Use `completion-ignore-case' if
10900 `read-file-name-completion-ignore-case' does not exist.
10901 (tramp-do-copy-or-rename-file-directly): Do not use
10902 `tramp-handle-file-remote-p'.
10903 (tramp-do-copy-or-rename-file-out-of-band):
10904 Use `tramp-compat-delete-directory'.
10905 (tramp-do-copy-or-rename-file-out-of-band)
10906 (tramp-compute-multi-hops, tramp-maybe-open-connection):
10907 Use `format-spec-make'.
10908 (tramp-find-foreign-file-name-handler)
10909 (tramp-advice-make-auto-save-file-name)
10910 (tramp-set-auto-save-file-modes): Remove superfluous check for
10911 `stringp'. This is done inside `tramp-tramp-file-p'.
10912 (tramp-debug-outline-regexp): New defconst.
10913 (tramp-get-debug-buffer): Use it.
10914 (tramp-check-for-regexp): Use (forward-line 1).
10915 (tramp-set-auto-save-file-modes): Adapt version check.
10916
10917 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
10918 Wrap call of `featurep' for 2nd argument.
10919 (tramp-compat-make-temp-file): Simplify fallback implementation.
10920 (tramp-compat-copy-tree): Remove function.
10921 (tramp-compat-delete-directory): Provide implementation for older
10922 Emacsen.
10923
10924 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
10925 Do not use `tramp-fish-handle-file-attributes.
10926
10927 * net/trampver.el: Update release number.
10928
10929 2010-04-10 Glenn Morris <rgm@gnu.org>
10930
10931 * progmodes/compile.el (compilation-save-buffers-predicate):
10932 Add missing :version tag.
10933
10934 2010-04-09 Sam Steingold <sds@gnu.org>
10935
10936 * progmodes/compile.el (compilation-save-buffers-predicate):
10937 Remove the "autoload" cookie.
10938
10939 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
10940 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
10941 and `bug-reference-prog-mode' can be used in hooks directly.
10942
10943 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
10944
10945 Add --author support to git commit.
10946 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
10947 (vc-git-log-edit-mode): New minor mode.
10948 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
10949 New declarations.
10950
10951 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
10952
10953 * vc-hooks.el, vc-git.el: Improve documentation comments.
10954
10955 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10956
10957 Fix some of the problems in defsubst* (bug#5728).
10958 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
10959 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
10960
10961 2010-04-07 Sam Steingold <sds@gnu.org>
10962
10963 * progmodes/compile.el (compilation-save-buffers-predicate):
10964 New custom variable.
10965 (compile, recompile): Pass it to `save-some-buffers'.
10966
10967 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
10968
10969 * wid-edit.el (widget-choose): Move cursor to the second line of
10970 the buffer (Bug#5695).
10971
10972 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
10973
10974 Add new VC methods: vc-log-incoming and vc-log-outgoing.
10975 * vc.el (vc-print-log-setup-buttons): New function split out from
10976 vc-print-log-internal.
10977 (vc-log-internal-common): New function, a parametrized version of
10978 vc-print-log-internal.
10979 (vc-print-log-internal): Just call vc-log-internal-common with the
10980 right arguments.
10981 (vc-incoming-outgoing-internal):
10982 (vc-log-incoming, vc-log-outgoing): New functions.
10983 (vc-log-view-type): New permanent local variable.
10984
10985 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
10986
10987 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
10988 of the dynamic bound vc-short-log.
10989 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
10990
10991 * vc-git.el (vc-git-log-outgoing): New function.
10992 (vc-git-log-view-mode): Use vc-log-view-type instead
10993 of the dynamic bound vc-short-log.
10994
10995 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
10996 of the dynamic bound vc-short-log. Highlight the tag.
10997 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
10998 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
10999 (vc-hg-incoming-mode): Remove.
11000 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
11001
11002 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
11003
11004 Fix default-directory for vc-root-diff.
11005 * vc.el (vc-root-diff): Bind default-directory to the root
11006 directory for the diff command.
11007
11008 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
11009
11010 * progmodes/verilog-mode.el (verilog-forward-sexp):
11011 (verilog-calc-1): Support "disable fork" and "fork wait" multi
11012 word keywords, suggested by Steve Pearlmutter.
11013 (verilog-pretty-declarations): Support lineup of declarations in
11014 port lists.
11015 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
11016 fix bug for /* / comments.
11017 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
11018 Speed up and simplfy as this is never called with a bound.
11019 (verilog-pretty-declarations): Enhance to line up declarations
11020 inside a parameter list, suggested by Alan Morgan.
11021 (verilog-pretty-expr): Tune assignment regular expression match
11022 string for corner cases; also use markers instead of character
11023 number as indent changes the later.
11024
11025 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
11026
11027 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
11028 as missing keyword.
11029 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
11030 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
11031 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
11032 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
11033 Tennant.
11034 (verilog-keywords):
11035 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
11036 1800-2009 keywords, including "global.".
11037
11038 2010-04-06 John Wiegley <jwiegley@gmail.com>
11039
11040 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
11041 appearing in buffer list (if a live buffer name matched a recentf
11042 file basename). Should use uniquify to offer a real solution.
11043
11044 2010-04-06 John Wiegley <jwiegley@gmail.com>
11045
11046 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
11047 comment to code, and add a :version tag.
11048 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
11049
11050 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
11051
11052 Enable recentf-mode if using virtual buffers.
11053 * ido.el (recentf-list): Declare for byte-compiler.
11054 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
11055 (ido-make-buffer-list): Simplify.
11056 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
11057
11058 2010-04-05 Juri Linkov <juri@jurta.org>
11059
11060 Scrolling commands which scroll a line instead of full screen.
11061 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
11062
11063 * simple.el (scroll-up-line, scroll-down-line): New commands.
11064 Put property isearch-scroll=t on them.
11065
11066 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
11067 Remove commands.
11068
11069 2010-04-05 Juri Linkov <juri@jurta.org>
11070
11071 Scrolling commands which do not signal errors at top/bottom.
11072 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
11073
11074 * simple.el (scroll-up-command, scroll-down-command): New commands.
11075 Put property isearch-scroll=t on them.
11076
11077 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
11078 `scroll-down-command' and [next] from `scroll-up' to
11079 `scroll-up-command'.
11080
11081 * emulation/cua-base.el: Put property CUA=move on
11082 `scroll-up-command' and `scroll-down-command'.
11083 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
11084 and `scroll-down-command' to `cua-scroll-down'.
11085
11086 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
11087
11088 * help.el (describe-mode): Return nil.
11089
11090 2010-04-04 John Wiegley <jwiegley@gmail.com>
11091
11092 * ido.el (ido-use-virtual-buffers): New variable to indicate
11093 whether "virtual buffer" support is enabled for IDO.
11094 (ido-virtual): Face used to indicate virtual buffers in the list.
11095 (ido-buffer-internal): If a buffer is chosen, and no such buffer
11096 exists, but a virtual buffer of that name does (which would be why
11097 it was in the list), recreate the buffer by reopening the file.
11098 (ido-make-buffer-list): If virtual buffers are being used, call
11099 `ido-add-virtual-buffers-to-list' before the make list hook.
11100 (ido-virtual-buffers): New variable which contains a copy of the
11101 current contents of the `recentf-list', albeit pared down for the
11102 sake of speed, and with proper faces applied.
11103 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
11104 create a list of "virtual buffers" to present to the user in
11105 addition to the currently open set. Note that this logic could
11106 get rather slow if that list is too large. With the default
11107 `recentf-max-saved-items' of 200, there is little speed penalty.
11108
11109 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
11110
11111 * font-lock.el: Require CL when compiling.
11112 (font-lock-turn-on-thing-lock): Use `case'.
11113
11114 2010-04-03 Eli Zaretskii <eliz@gnu.org>
11115
11116 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
11117 Zaretskii.
11118
11119 2010-04-02 Juri Linkov <juri@jurta.org>
11120
11121 * ehelp.el (electric-help-orig-major-mode):
11122 New buffer-local variable.
11123 (electric-help-mode): Set it to original major-mode. Doc fix.
11124 (with-electric-help): Use `electric-help-orig-major-mode' instead
11125 of (default-value 'major-mode). Doc fix.
11126 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
11127
11128 2010-04-02 Sam Steingold <sds@gnu.org>
11129
11130 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
11131 `vc-hg-command' with a list of flags.
11132
11133 * progmodes/bug-reference.el (bug-reference-bug-regexp):
11134 Also accept "patch" and "RFE".
11135 (bug-reference-fontify): `bug-reference-url-format' can also be a
11136 function to be able to handle the bug kind.
11137 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
11138
11139 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
11140
11141 * tmm.el (tmm-get-keymap): Check with symbolp before passing
11142 value to fboundp, it may not be a symbol.
11143
11144 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11145
11146 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
11147
11148 2010-03-31 Juri Linkov <juri@jurta.org>
11149
11150 * simple.el (next-line, previous-line): Re-throw a signal
11151 with `signal' instead of using `ding'.
11152 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
11153
11154 2010-03-31 Juri Linkov <juri@jurta.org>
11155
11156 * simple.el (keyboard-escape-quit): Raise deselecting the active
11157 region higher than exiting the minibuffer.
11158 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
11159
11160 2010-03-31 Juri Linkov <juri@jurta.org>
11161
11162 * image.el (image-animated-p): Use `image-metadata' instead of
11163 `image-extension-data'. Get GIF extenstion data from metadata
11164 property `extension-data'.
11165
11166 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11167
11168 * simple.el (append-to-buffer): Simplify.
11169
11170 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
11171
11172 * textmodes/artist.el (artist-mode): Fix typo in docstring.
11173 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
11174
11175 2010-03-31 Kenichi Handa <handa@m17n.org>
11176
11177 * language/sinhala.el (composition-function-table): Fix regexp for
11178 the new Unicode specification.
11179
11180 * language/indian.el (devanagari-composable-pattern)
11181 (tamil-composable-pattern, kannada-composable-pattern)
11182 (malayalam-composable-pattern): Adjust for the new Unicode
11183 specification.
11184 (bengali-composable-pattern, gurmukhi-composable-pattern)
11185 (gujarati-composable-pattern, oriya-composable-pattern)
11186 (telugu-composable-pattern): New variables to cope with the new
11187 Unicode specification. Use them in composition-function-table.
11188
11189 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11190
11191 Make tmm-menubar work for the Buffers menu again (bug#5726).
11192 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
11193 vectors rather than cons cells, as used in menu-bar-update-buffers.
11194
11195 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11196
11197 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
11198 (js-insert-and-indent): Revert 2009-08-15 change, restoring
11199 electric punctuation for "{}();,:" (Bug#5586).
11200
11201 * mail/sendmail.el (mail-default-directory): Doc fix.
11202
11203 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11204
11205 * mail/sendmail.el (mail-default-directory): Doc fix.
11206
11207 2010-03-31 Eli Zaretskii <eliz@gnu.org>
11208
11209 * subr.el (version-regexp-alist, version-to-list)
11210 (version-list-<, version-list-=, version-list-<=)
11211 (version-list-not-zero, version<, version<=, version=): Doc fix.
11212 (Bug#5744).
11213
11214 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
11215
11216 * vc.el (vc-root-diff): Doc fix.
11217
11218 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11219
11220 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
11221
11222 * simple.el (append-to-buffer): Fix last change.
11223
11224 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11225
11226 * simple.el (append-to-buffer): Ensure that point is preserved if
11227 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
11228 (Bug#5749)
11229
11230 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11231
11232 * files.el (auto-mode-case-fold): Change default to t.
11233
11234 2010-03-30 Juri Linkov <juri@jurta.org>
11235
11236 * dired-x.el (dired-omit-mode): Doc fix.
11237
11238 2010-03-30 Juri Linkov <juri@jurta.org>
11239
11240 * replace.el (occur-accumulate-lines): Move occur-engine related
11241 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
11242 to be located after `occur-engine'.
11243
11244 2010-03-30 Juri Linkov <juri@jurta.org>
11245
11246 Make occur handle multi-line matches cleanly with context.
11247 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
11248
11249 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
11250 (occur-engine): Add local variables `ret', `prev-after-lines',
11251 `prev-lines'. Use more arguments for `occur-context-lines'.
11252 Set first elem of its returned list to `data', and the second elem
11253 to `prev-after-lines'. Don't print the separator line.
11254 In the end, print remaining context after-lines.
11255 (occur-context-lines): Add new arguments `begpt', `endpt',
11256 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
11257 after-lines of the previous match with before-lines of the
11258 current match and not overlap them. Return a list with two
11259 values: the output line and the list of context after-lines.
11260
11261 2010-03-30 Juri Linkov <juri@jurta.org>
11262
11263 * replace.el (occur-accumulate-lines): Fix a bug where the first
11264 context line at the beginning of the buffer was missing.
11265
11266 2010-03-30 Eli Zaretskii <eliz@gnu.org>
11267
11268 * files.el: Make bidi-display-reordering safe variable for boolean
11269 values.
11270
11271 2010-03-29 Phil Hagelberg <phil@evri.com>
11272 Chong Yidong <cyd@stupidchicken.com>
11273
11274 * subr.el: Extend progress reporters to perform "spinning".
11275 (progress-reporter-update, progress-reporter-do-update):
11276 Handle non-numeric value arguments.
11277 (progress-reporter--pulse-characters): New var.
11278
11279 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
11280
11281 * progmodes/compile.el (compilation-start): Fix regexp detection
11282 of initial cd command (Bug#5771).
11283
11284 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
11285
11286 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
11287
11288 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
11289
11290 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
11291 * progmodes/gdb-mi.el: Restore.
11292 * progmodes/gdb-ui.el: Remove.
11293 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
11294
11295 2010-03-25 Glenn Morris <rgm@gnu.org>
11296
11297 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
11298 all dired buffers, even tramp ones. (Bug#5755)
11299
11300 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11301
11302 Add "union tags" in mpc.el.
11303 * mpc.el: Remove backward compatibility code.
11304 (mpc-browser-tags): Change default.
11305 (mpc--find-memoize-union-tags): New var.
11306 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
11307 (mpc-cmd-find): Handle the case where the playlist does not exist.
11308 Handle union-tags.
11309 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
11310 (mpc-cmd-add): Use mpc-cmd-flush.
11311 (mpc-tagbrowser-tag-name): New fun.
11312 (mpc-tagbrowser-buf): Use it.
11313 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
11314
11315 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11316
11317 Misc cleanup.
11318 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
11319 Use replace-regexp-in-string.
11320 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
11321 (makefile-imake-mode-syntax-table): Move init into defvar.
11322 (makefile-mode): Use define-derived-mode.
11323
11324 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
11325 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
11326 not be present any more.
11327
11328 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
11329
11330 * faces.el (set-face-attribute): Fix typo in docstring.
11331 (face-valid-attribute-values): Reflow docstring.
11332
11333 2010-03-24 Glenn Morris <rgm@gnu.org>
11334
11335 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
11336
11337 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
11338
11339 * indent.el (indent-for-tab-command): Doc fix.
11340
11341 2010-03-24 Alan Mackenzie <acm@muc.de>
11342
11343 * progmodes/cc-engine.el (c-remove-stale-state-cache):
11344 Fix off-by-one error. Fixes bug #5747.
11345
11346 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
11347
11348 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
11349 (image-dired-read-comment): Doc fix.
11350
11351 * json.el (json-object-type, json-array-type, json-key-type)
11352 (json-false, json-null, json-read-number):
11353 * minibuffer.el (completion-in-region-functions):
11354 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
11355 (cal-tex-cursor-week):
11356 * emacs-lisp/trace.el (trace-function):
11357 * eshell/em-basic.el (eshell/printnl):
11358 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
11359 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
11360 * obsolete/levents.el (allocate-event, event-key, event-object)
11361 (event-point, event-process, event-timestamp, event-to-character)
11362 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
11363 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
11364 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
11365 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
11366 (reftex-highlight-selection): Fix typos in docstrings.
11367
11368 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
11369
11370 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
11371
11372 2010-03-24 Glenn Morris <rgm@gnu.org>
11373
11374 * mail/rmail.el (rmail-highlight-face): Restore option deleted
11375 2008-02-13 without comment; mark it obsolete.
11376 (rmail-highlight-headers): Use rmail-highlight-face once more.
11377
11378 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
11379
11380 * woman.el (woman2-process-escapes): Only consume the newline if
11381 the filler character is on a line by itself (Bug#5729).
11382
11383 2010-03-24 Kenichi Handa <handa@m17n.org>
11384
11385 * language/indian.el (devanagari-composable-pattern): Add more
11386 consonants.
11387
11388 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
11389
11390 * net/trampver.el: Update release number.
11391
11392 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
11393
11394 * net/tramp.el (tramp-find-executable):
11395 Use `tramp-get-connection-buffer'. Make the regexp for checking
11396 output of "wc -l" more robust.
11397 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
11398 (tramp-open-connection-setup-interactive-shell): Remove workaround
11399 for OpenSolaris bug, it is not needed anymore.
11400
11401 2010-03-24 Glenn Morris <rgm@gnu.org>
11402
11403 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
11404
11405 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
11406
11407 * files.el (auto-mode-alist): Accept more verilog file patterns.
11408
11409 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11410
11411 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
11412
11413 2010-03-24 Glenn Morris <rgm@gnu.org>
11414
11415 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
11416 log-edit-before-checkin-process.
11417
11418 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
11419
11420 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
11421
11422 * vc-dispatcher.el (vc-start-logentry): Doc fix.
11423 (log-view-process-buffer, log-edit-extra-flags): Declare.
11424
11425 * log-edit.el (log-edit-before-checkin-process): Doc fix.
11426
11427 2010-03-23 Sam Steingold <sds@gnu.org>
11428
11429 Fix bug#5620: recalculate all markers on compilation buffer
11430 modifications, not on file modifications.
11431 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
11432 variable: the buffer modification time, for buffers not associated with
11433 files.
11434 (compilation-mode): Create it.
11435 (compilation-filter): Update it.
11436 (compilation-next-error-function): Use it instead of
11437 `visited-file-modtime' for timestamp.
11438
11439 2010-03-23 Juri Linkov <juri@jurta.org>
11440
11441 Implement Occur multi-line matches.
11442 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
11443
11444 * replace.el (occur): Doc fix.
11445 (occur-engine): Set `begpt' to the beginning of the first line.
11446 Set `endpt' to the end of the last match line. At first, count
11447 line numbers between `origpt' and `begpt'. Split out code from
11448 `out-line' variable to new let-bindings `match-prefix' and
11449 `match-str'. In `out-line' add non-numeric prefix to all
11450 non-first lines of multi-line matches. Finally, count lines
11451 between `begpt' and `endpt' and add to `lines'.
11452
11453 2010-03-23 Juri Linkov <juri@jurta.org>
11454
11455 * replace.el (occur-accumulate-lines, occur-engine):
11456 Use `occur-engine-line' instead of duplicate code.
11457 (occur-engine-line): New function created from duplicate code
11458 in `occur-accumulate-lines' and `occur-engine'.
11459
11460 * replace.el (occur-engine-line): Add optional arg `keep-props'.
11461 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
11462
11463 2010-03-23 Juri Linkov <juri@jurta.org>
11464
11465 * finder.el: Remove TODO tasks.
11466
11467 * info.el (Info-finder-find-node): Add node "all"
11468 with all package info. Handle a list of multiple keywords
11469 separated by comma.
11470 (info-finder): In interactive use with a prefix argument,
11471 use `completing-read-multiple' to read a list of keywords
11472 separated by comma.
11473
11474 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
11475
11476 Add a new completion style `substring'.
11477 * minibuffer.el (completion-basic--pattern): New function.
11478 (completion-basic-try-completion, completion-basic-all-completions):
11479 Use it.
11480 (completion-substring--all-completions)
11481 (completion-substring-try-completion)
11482 (completion-substring-all-completions): New functions.
11483 (completion-styles-alist): New style `substring'.
11484
11485 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
11486
11487 Get rid of .elc files after removal of the corresponding .el.
11488 * Makefile.in (compile-clean): New target.
11489 (compile-main): Use it.
11490
11491 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
11492
11493 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
11494 don't do make there. When compiling with separate object dir, there
11495 is no Makefile there.
11496
11497 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
11498
11499 Get rid of the ELCFILES abomination, again.
11500 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
11501 (all, compile): Don't call compile-last.
11502 (compile-main): Build the "elcfiles" list dynamically.
11503 (compile-targets): New (internal) target.
11504
11505 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
11506
11507 * Makefile.in (top_srcdir): Define.
11508 (abs_top_builddir): Define.
11509 (srcdir): Don't append `/..'.
11510 (EMACS): Use ${abs_top_builddir}.
11511 (all, compile, compile-always, compile-last): Don't set emacswd.
11512 (update-subdirs, update-authors): Use $(top_srcdir) instead of
11513 $(srcdir).
11514 (lisp): Use $(srcdir) instead of @srcdir@.
11515
11516 2010-03-21 Juri Linkov <juri@jurta.org>
11517
11518 Fix message of multi-line occur regexps and multi-buffer header lines.
11519 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
11520
11521 * replace.el (occur-1): Don't display regexp if it is longer
11522 than window-width. Use `query-replace-descr' to display regexp.
11523 (occur-engine): Don't display regexp in the buffer header for
11524 multi-buffer occur. Display a separate header line with total
11525 match count and regexp for multi-buffer occur.
11526 Use `query-replace-descr' to display regexp.
11527
11528 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
11529
11530 * net/secrets.el: Fix parenthesis.
11531 (secrets-enabled): Fix parenthesis.
11532
11533 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11534
11535 Use more relative file and directory names.
11536 * Makefile.in (EMACS): Arrange for it to work when we chdir.
11537 (setwins, setwins_almost, setwins_for_subdirs):
11538 Don't `cd'; output relative names.
11539 (all, compile, compile-always, compile-last): Set emacswd.
11540 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
11541 Just cd to the lisp source dir so we can use relative file names.
11542
11543 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
11544
11545 2010-03-20 Glenn Morris <rgm@gnu.org>
11546
11547 * textmodes/rst.el: Use faces for font-lock customization, and make the
11548 old -face variables obsolete.
11549 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
11550 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
11551 (rst-block-face, rst-external-face, rst-definition-face)
11552 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
11553 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
11554 Make obsolete.
11555 (rst-font-lock-keywords-function): Update for above changes.
11556
11557 2010-03-20 Juri Linkov <juri@jurta.org>
11558
11559 * s-region.el:
11560 * obsolete/s-region.el: Move to obsolete.
11561
11562 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
11563
11564 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
11565
11566 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
11567
11568 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
11569
11570 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
11571
11572 Add special markup processing for commit logs.
11573 * log-edit.el (log-edit-extra-flags): New variable.
11574 (log-edit): Add new argument MODE. Use that mode when non-nil
11575 instead of the log-view-mode.
11576 (log-view-process-buffer): New function.
11577
11578 * vc.el: Document that the checkin method takes optional
11579 arguments. Document new backend specific method: log-view-mode.
11580 (vc-default-log-edit-mode): New function.
11581 (vc-checkin): Use a backend specific log-view-mode.
11582 Pass extra arguments to the checkin method.
11583 (vc-modify-change-comment): Pass a dummy extra argument.
11584
11585 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
11586 log-edit.
11587 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
11588 (vc-finish-logentry): Process the log buffer before passing it
11589 down. Pass log-edit-extra-flags.
11590
11591 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
11592 command.
11593 (log-edit-extra-flags, log-edit-before-checkin-process):
11594 New declarations.
11595
11596 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
11597 command.
11598 (log-edit-extra-flags, log-edit-before-checkin-process):
11599 New declarations.
11600 (vc-hg-log-edit-mode): New derived mode.
11601
11602 * vc-arch.el (vc-arch-checkin):
11603 * vc-cvs.el (vc-cvs-checkin):
11604 * vc-git.el (vc-git-checkin):
11605 * vc-mtn.el (vc-mtn-checkin):
11606 * vc-rcs.el (vc-rcs-checkin):
11607 * vc-sccs.el (vc-sccs-checkin):
11608 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
11609
11610 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11611
11612 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
11613 parent typo).
11614
11615 2010-03-19 Glenn Morris <rgm@gnu.org>
11616
11617 * password-cache.el (password-cache, password-cache-expiry): Autoload.
11618
11619 2010-03-18 Glenn Morris <rgm@gnu.org>
11620
11621 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
11622
11623 * replace.el (query-replace-history): Give it a doc string.
11624 (map-query-replace-regexp): Use query-replace-from-history-variable
11625 and query-replace-to-history-variable.
11626
11627 * mail/hashcash.el (declare-function): Remove duplicate definition.
11628
11629 * mail/emacsbug.el (report-emacs-bug-pretest-address):
11630 Make it an obsolete alias for report-emacs-bug-address.
11631 (message-strip-special-text-properties): Declare.
11632 (report-emacs-bug): Remove test for a pretest bug address.
11633 Combine message-mode-specific code.
11634
11635 * mail/supercite.el: Don't require sendmail.
11636 (mh-in-header-p): Declare rather than using with-no-warnings.
11637 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
11638 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
11639
11640 * calendar/cal-french.el: Convert to utf-8.
11641
11642 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
11643 Emacs scripts.
11644
11645 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
11646
11647 * net/secrets.el (secrets-enabled): New variable. Use it instead
11648 of a subfeature.
11649
11650 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
11651
11652 * net/secrets.el (top): Register the D-Bus signals only when the
11653 service "org.freedesktop.secrets" can be pinged.
11654 Provide subfeature `enabled'.
11655
11656 2010-03-14 Juri Linkov <juri@jurta.org>
11657
11658 Add finder unknown keywords.
11659
11660 * finder.el (finder-unknown-keywords): New function.
11661
11662 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
11663 to create a Finder node with unknown keywords.
11664
11665 2010-03-14 Juri Linkov <juri@jurta.org>
11666
11667 * finder.el (finder-compile-keywords): Replace `princ' with
11668 `prin1' on a list of symbols interned from keyword strings.
11669
11670 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
11671 a comma, then split keywords using a comma and optional whitespace.
11672 Otherwise, split by whitespace.
11673
11674 * complete.el:
11675 * face-remap.el:
11676 * log-view.el:
11677 * net/hmac-def.el:
11678 * net/hmac-md5.el:
11679 * net/netrc.el:
11680 * progmodes/mixal-mode.el: Fix keywords.
11681
11682 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
11683
11684 * Makefile.in (ELCFILES): Add net/secrets.elc.
11685
11686 * net/secrets.el: New file.
11687
11688 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
11689
11690 * facemenu.el (list-colors-display, list-colors-print): New arg
11691 callback. Use it to allow selecting colors.
11692
11693 * wid-edit.el (widget-image-insert): Insert image prop even if the
11694 current display is non-graphic.
11695 (widget-field-value-set): New fun.
11696 (editable-field): Use it.
11697 (widget-field-value-get): Clean up unused var.
11698 (widget-color-value-create, widget-color--choose-action):
11699 New funs. Allow using list-colors-display to choose color.
11700
11701 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
11702
11703 * cus-edit.el: Resort topmost custom groups.
11704 (custom-buffer-sort-alphabetically): Default to t.
11705 (customize-apropos): Use apropos-parse-pattern.
11706 (custom-search-field): New var.
11707 (custom-buffer-create-internal): Add custom-apropos search field.
11708 (custom-add-parent-links): Don't display parent doc.
11709 (custom-group-value-create): Don't sort top-level custom group.
11710 (custom-magic-value-create): Show visibility button before option name.
11711
11712 (custom-variable-state): New fun, from custom-variable-state-set.
11713 (custom-variable-state-set): Use it.
11714 (custom-group-value-create): Hide options with standard values
11715 using the :hidden-states property. Use progress reporter.
11716
11717 (custom-show): Simplify.
11718 (custom-visibility): Disable images by default.
11719 (custom-variable): New property :hidden-states.
11720 (custom-variable-value-create): Enable images for
11721 custom-visibility widgets. Use :hidden-states property to
11722 determine initial visibility.
11723
11724 * wid-edit.el (widget-image-find): Give images center ascent.
11725 (visibility): Add :on-image and :off-image properties.
11726 (widget-visibility-value-create): Use them.
11727
11728 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
11729
11730 * cus-edit.el (processes): Remove from development group.
11731 (oop, hypermedia): Delete group.
11732 (comm): Promote to top-level group.
11733
11734 * net/browse-url.el (browse-url):
11735 * net/xesam.el (xesam):
11736 * net/tramp.el (tramp):
11737 * net/goto-addr.el (goto-address):
11738 * net/ange-ftp.el (ange-ftp): Put in comm group.
11739
11740 * view.el (view): Remove from editing group.
11741
11742 * uniquify.el (uniquify): Put in files group.
11743
11744 * net/browse-url.el (browse-url):
11745 * ps-print.el (postscript): Put in external group.
11746
11747 * cus-edit.el (outlines):
11748 * textmodes/text-mode.el (text-mode-hook):
11749 * textmodes/table.el (table):
11750 * textmodes/picture.el (picture):
11751 * outline.el (outlines): Put in wp group.
11752
11753 * nxml/nxml-mode.el (nxml): Remove from wp group.
11754
11755 * net/tramp-imap.el (tramp-imap): Put in tramp group.
11756
11757 * mail/metamail.el (metamail): Remove from hypermedia group.
11758
11759 * cus-edit.el (abbrev):
11760 * whitespace.el (whitespace):
11761 * vcursor.el (vcursor):
11762 * reveal.el (reveal):
11763 * hl-line.el (hl-line): Put in convenience group.
11764
11765 * epg-config.el (epg): Put in data group.
11766
11767 * emulation/pc-select.el (pc-select): Put in emulations group.
11768
11769 * calculator.el (calculator): Put in applications group.
11770
11771 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
11772
11773 Add .dir-locals.el support for file-less buffers.
11774 * files.el (hack-local-variables): Split out code to apply local
11775 variable settings ...
11776 (hack-local-variables-apply): ... here. New function.
11777 (hack-dir-local-variables): Use the default directory for when the
11778 buffer does not have an associated file.
11779 (hack-dir-local-variables-non-file-buffer): New function.
11780 * diff-mode.el (diff-mode):
11781 * vc-annotate.el (vc-annotate-mode):
11782 * vc-dir.el (vc-dir-mode):
11783 * log-edit.el (log-edit-mode):
11784 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
11785
11786 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
11787
11788 Add support for shelving snapshots and for showing shelves.
11789 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
11790 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
11791 New functions.
11792 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
11793 (vc-bzr-extra-menu-map): Map them.
11794
11795 2010-03-11 Glenn Morris <rgm@gnu.org>
11796
11797 * cus-edit.el (customize-changed-options-previous-release):
11798 Bump to 23.1.
11799
11800 * image.el (image-animate-max-time): Fix :version tag.
11801
11802 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
11803
11804 * Branch for 23.2.
11805
11806 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
11807
11808 * vc-git.el (vc-git-revision-table): Include remote branches.
11809
11810 2010-03-10 Kim F. Storm <storm@cua.dk>
11811
11812 Animated image API.
11813 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
11814
11815 * image.el (image-animate-max-time): New defcustom.
11816 (image-animated-types): New defconst.
11817 (create-animated-image, image-animate-timer)
11818 (image-animate-start, image-animate-stop, image-animate-timeout)
11819 (image-animated-p): New functions.
11820
11821 * image-mode.el (image-toggle-display-image):
11822 Replace `create-image' with `create-animated-image'.
11823
11824 2010-03-09 Miles Bader <miles@gnu.org>
11825
11826 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
11827 instead of "format:"; this ensures that the output is
11828 newline-terminated.
11829
11830 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
11831
11832 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
11833 that all errors are caught, and that the return value is always a
11834 list (Bug#5692).
11835
11836 2010-03-08 Kenichi Handa <handa@m17n.org>
11837
11838 * language/misc-lang.el (windows-1256): New coding system.
11839 (cp1256): New alias of windows-1256 (bug#5690).
11840
11841 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
11842
11843 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
11844 call to rfc822-bad-address. (Bug#5692)
11845
11846 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
11847
11848 * vc-git.el (vc-git-annotate-extract-revision-at-line):
11849 Use vc-git-root as default directory for revision path (Bug#5657).
11850
11851 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
11852
11853 * calculator.el (calculator): Don't bind split-window-keep-point
11854 (Bug#5674).
11855
11856 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
11857
11858 * vc-git.el: Re-flow to fit into 80 columns.
11859 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
11860 Remove spurious `quote' element in each case alternative.
11861 (vc-git-show-log-entry): Use prog1.
11862 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
11863
11864 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
11865
11866 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
11867
11868 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
11869
11870 * macros.el (insert-kbd-macro): Look up keyboard macro using the
11871 definition, not the name (Bug#5481).
11872
11873 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
11874
11875 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
11876 argument with a local variable. (Bug#5670)
11877
11878 2010-03-02 Juri Linkov <juri@jurta.org>
11879
11880 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
11881
11882 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
11883
11884 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
11885 error when FILENAME and NEWNAME are existing remote directories.
11886
11887 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
11888 parameter DIR-FLAG.
11889
11890 2010-03-02 Glenn Morris <rgm@gnu.org>
11891
11892 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
11893 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
11894
11895 2010-03-01 Kenichi Handa <handa@m17n.org>
11896
11897 * language/burmese.el (burmese-composable-pattern): Rename from
11898 myanmar-composable-pattern.
11899
11900 * international/characters.el (script-list):
11901 * international/fontset.el (script-representative-chars):
11902 Change myanmar to burmese.
11903 (otf-script-alist): Likewise.
11904 (setup-default-fontset): Likewise. Re-fix :otf spec.
11905
11906 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
11907
11908 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
11909
11910 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
11911
11912 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
11913
11914 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
11915
11916 * net/tramp.el (tramp-handle-write-region): START can be a string.
11917 Take care in the checks. Reported by Dan Davison
11918 <davison@stats.ox.ac.uk>.
11919
11920 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
11921
11922 * net/dbus.el (dbus-introspect, dbus-get-property)
11923 (dbus-set-property, dbus-get-all-properties):
11924 Use `dbus-call-method' when noninteractive. (Bug#5645)
11925
11926 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
11927
11928 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
11929 * emacs-lisp/elint.el (elint-add-required-env):
11930 * calendar/icalendar.el (icalendar--add-diary-entry):
11931 * calc/calcalg2.el (math-tracing-integral):
11932 * files.el (recover-session-finish): Use with-current-buffer
11933 instead of save-excursion.
11934
11935 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
11936
11937 Fix in-buffer completion when after-change-functions modify the buffer.
11938 * minibuffer.el (completion--replace): New function.
11939 (completion--do-completion): Use it and use relative movement.
11940
11941 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
11942
11943 * international/fontset.el (setup-default-fontset): Fix :otf spec.
11944
11945 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
11946
11947 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
11948 Allow the characters _<> in the stack entry (Bug#5653).
11949
11950 2010-02-26 Kenichi Handa <handa@m17n.org>
11951
11952 * language/burmese.el: Fix entries in composition-function-table.
11953 (myanmar-composable-pattern): New variable.
11954
11955 * international/fontset.el (setup-default-fontset): Add an entry
11956 for myanmar.
11957
11958 * international/characters.el (script-list): Add Myanmar
11959 Extended-A.
11960
11961 2010-02-26 Glenn Morris <rgm@gnu.org>
11962
11963 * custom.el (custom-initialize-delay): Doc fix.
11964
11965 * mail/sendmail.el (send-mail-function): Autoload the call
11966 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
11967
11968 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
11969
11970 * files.el (hack-local-variables-filter): For eval forms, also
11971 check safe-local-variable-p (Bug#5636).
11972
11973 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
11974
11975 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
11976 setting the modes by `ignore-errors'. It might fail, for example
11977 if the file is not owned by the user but the group.
11978 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
11979
11980 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
11981
11982 * files.el (directory-listing-before-filename-regexp):
11983 Use stricter matching for iso-style dates, to avoid false matches with
11984 date-like filenames (Bug#5597).
11985
11986 * htmlfontify.el (htmlfontify): Doc fix.
11987
11988 * eshell/eshell.el (eshell): Doc fix.
11989
11990 * startup.el (fancy-about-screen): In mode-line, apply
11991 mode-line-buffer-id face only to the buffer name (Bug#5613).
11992
11993 2010-02-20 Kevin Ryde <user42@zip.com.au>
11994
11995 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11996 In `watcom' anchor regexp to start of line, to avoid slowness
11997 (Bug#5599).
11998
11999 2010-02-20 Eli Zaretskii <eliz@gnu.org>
12000
12001 * subr.el (remove-yank-excluded-properties): Explain in a comment
12002 why `category' property is removed.
12003
12004 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
12005
12006 * isearch.el (isearch-update-post-hook, isearch-update):
12007 Revert 2010-02-17 change.
12008
12009 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
12010
12011 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
12012 (icalendar--convert-weekly-to-ical)
12013 (icalendar--convert-yearly-to-ical)
12014 (icalendar--convert-block-to-ical)
12015 (icalendar--convert-cyclic-to-ical)
12016 (icalendar--convert-anniversary-to-ical): Take care of time
12017 specifications where hour has 1-digit only (Bug#5549).
12018
12019 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
12020
12021 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
12022 of disassemble output in GDB 7.1.
12023
12024 2010-02-19 Glenn Morris <rgm@gnu.org>
12025
12026 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
12027 property. (Bug#5593)
12028
12029 2010-02-18 Sam Steingold <sds@gnu.org>
12030
12031 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
12032
12033 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
12034
12035 Use abbreviated file names in bookmarks (bug#5591).
12036 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
12037 calls to expand-file-name.
12038 (bookmark-relocate): Use abbreviated file names in bookmarks.
12039 (bookmark-load): Use abbreviated file names in messages.
12040
12041 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
12042
12043 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
12044 expand "." and "..". Reported by Thierry Volpiatto
12045 <thierry.volpiatto@gmail.com>.
12046
12047 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
12048
12049 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
12050 permissions of the temporary file to "0600". In case the remote
12051 file has no read permissions for the owner, there might be
12052 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
12053
12054 22010-02-18 Glenn Morris <rgm@gnu.org>
12055
12056 * emacs-lisp/authors.el (authors-renamed-files-alist):
12057 Add entries for INSTALL.CVS.
12058
12059 2010-02-17 Mark A. Hershberger <mah@everybody.org>
12060
12061 * vc-bzr.el: Fix typo in Known Bugs section.
12062
12063 * isearch.el (isearch-update-post-hook): New hook.
12064 (isearch-update): Use the new hook.
12065
12066 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
12067
12068 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
12069 Fix errors in copying directories.
12070 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
12071 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
12072 (tramp-handle-delete-file)
12073 (tramp-handle-dired-recursive-delete-directory)
12074 (tramp-handle-write-region): Flush also the cache for the upper
12075 directory.
12076
12077 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
12078
12079 * simple.el (save-interprogram-paste-before-kill): Doc fix.
12080
12081 * cus-edit.el (hardware): Doc fix.
12082
12083 * man.el (man): Add to external custom group.
12084
12085 * delim-col.el (columns): Move to wp custom group.
12086
12087 * doc-view.el (doc-view): Add to data custom group.
12088
12089 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
12090
12091 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
12092 by ispell-parse-output (Bug#5575).
12093
12094 2010-02-16 Kenichi Handa <handa@m17n.org>
12095
12096 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
12097 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
12098 (skkdic-convert): Use `euc-japan' coding system for writing.
12099
12100 2010-02-16 Glenn Morris <rgm@gnu.org>
12101
12102 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
12103 tex-main-file before using it. (Bug#5562)
12104
12105 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
12106
12107 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
12108 warnings, since it is annoying for the user to see them each time he
12109 runs the code.
12110
12111 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
12112
12113 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
12114 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
12115 instead of PROC for caching "first-password-request". Otherwise,
12116 new processes would not profit from passwords already entered.
12117
12118 * net/tramp-cache.el (tramp-dump-connection-properties):
12119 Don't save "first-password-request" property.
12120
12121 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
12122
12123 * outline.el (outline-head-from-level):
12124 * simple.el (with-wrapper-hook):
12125 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
12126 (elint-defun, elint-buffer-env, elint-top-form-logged)
12127 (elint-unbound-variable):
12128 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
12129 Fix typos in docstrings.
12130
12131 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
12132
12133 * files.el (insert-directory): When WILDCARD-REGEXP and
12134 FULL-DIRECTORY-P are nil, insert the file entry instead of the
12135 whole directory. (Bug#5551)
12136
12137 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
12138 dired's alignment sanity. (Bug#5516)
12139
12140 2010-02-14 Juri Linkov <juri@jurta.org>
12141
12142 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
12143 Remove remaining ^H with their preceding chars. (Bug#5566)
12144
12145 2010-02-13 Glenn Morris <rgm@gnu.org>
12146
12147 * simple.el (transpose-subr): Give it a doc-string.
12148
12149 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
12150 Doc fixes.
12151
12152 2010-02-12 Juri Linkov <juri@jurta.org>
12153
12154 * arc-mode.el (archive-unique-fname): Make directories for nested
12155 archives. (Bug#5540)
12156
12157 2010-02-12 Juri Linkov <juri@jurta.org>
12158
12159 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
12160
12161 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
12162
12163 * subr.el (copy-overlay): Handle deleted overlays.
12164
12165 * man.el (Man-completion-table): Don't signal an error if we can't run
12166 manual-program (bug#4056).
12167
12168 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
12169
12170 * textmodes/artist.el (artist-mt): Fix typos in docstring.
12171
12172 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12173
12174 * info.el (Info-bookmark-jump): Simplify.
12175
12176 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
12177 (bookmark-default-handler): Accept new bookmark field `buffer'.
12178
12179 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
12180
12181 * iswitchb.el (iswitchb-completions): Revert last change.
12182
12183 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
12184
12185 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
12186 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
12187 This prevents file names like "~/" being listed literally.
12188
12189 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
12190
12191 * term/xterm.el (xterm-maybe-set-dark-background-mode):
12192 Remove dead code. (Bug#5546)
12193
12194 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
12195
12196 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
12197 correctly (Bug#5548).
12198
12199 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
12200
12201 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
12202 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
12203
12204 2010-02-08 Kenichi Handa <handa@m17n.org>
12205
12206 * international/mule-util.el (with-coding-priority): Add autoload
12207 cookie for putting `lisp-indent-function'.
12208
12209 2010-02-07 Glenn Morris <rgm@gnu.org>
12210
12211 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
12212 Move F2003 named interfaces from keywords-2 to keywords-1, and
12213 use function-name-face rather than constant-face.
12214 Simplify "abstract interface" regexp.
12215
12216 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
12217
12218 * eshell/esh-util.el (eshell-file-attributes): New optional arg
12219 ID-FORMAT. Pass it to `file-attributes'.
12220
12221 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
12222
12223 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
12224
12225 * faces.el (set-face-attribute): Allow calling
12226 internal-set-lisp-face-attribute with 'unspecified family and
12227 foundry argument (Bug#5536).
12228
12229 2010-02-07 Glenn Morris <rgm@gnu.org>
12230
12231 * progmodes/f90.el (f90-font-lock-keywords-2)
12232 (f90-looking-at-type-like, f90-looking-at-program-block-end):
12233 Handle F2003 named interfaces.
12234
12235 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
12236
12237 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
12238 beg and end before calling c-get-state-before-change-functions.
12239
12240 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
12241
12242 * vc-bzr.el (vc-bzr-dir-extra-headers):
12243 Disable the pending merges header.
12244
12245 2010-02-05 Juri Linkov <juri@jurta.org>
12246
12247 * doc-view.el (doc-view-mode):
12248 * image-mode.el (image-mode): Put property mode-class=special.
12249 (Bug#4896)
12250
12251 2010-02-05 Mark A. Hershberger <mah@everybody.org>
12252
12253 * vc-svn.el (vc-svn-revision-table): New function.
12254
12255 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
12256
12257 * net/ange-ftp.el (ange-ftp-insert-directory):
12258 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
12259 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
12260 Handle also directories. (Bug#5478)
12261
12262 2010-02-05 Glenn Morris <rgm@gnu.org>
12263
12264 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
12265
12266 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
12267
12268 * startup.el (command-line-1): Convert options beginning with a
12269 single dash as well (Bug#5519).
12270
12271 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
12272
12273 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
12274 * minibuffer.el (completion-initials-expand): Only check the presence
12275 of delims *within* the boundaries, since otherwise the / delim is
12276 always found for files.
12277
12278 Fix up various corner case problems.
12279 * doc-view.el (doc-view-last-page-number): New function.
12280 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
12281 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
12282 (doc-view-kill-proc): Avoid inf-loop in freak cases.
12283 (doc-view-reconvert-doc): Use the new recursive delete-directory.
12284 (doc-view-convert-current-doc): Don't create the resolution.el file
12285 here any more.
12286 (doc-view-pdf/ps->png): Do it here instead.
12287 (doc-view-already-converted-p): Check that resolution.el is present.
12288 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
12289 windows that are not yet showing images.
12290
12291 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
12292
12293 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
12294 `dired-uncache' for every elemnt which is an absolute file name.
12295
12296 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
12297 directory, handle its directory component.
12298 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
12299 function is called permanently and creates noise, otherwise.
12300
12301 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
12302 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
12303 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
12304
12305 2010-02-04 David Burger <dburger@google.com> (tiny change)
12306
12307 * macros.el (apply-macro-to-region-lines):
12308 Minor simplification. (Bug#5485)
12309
12310 2010-02-04 Glenn Morris <rgm@gnu.org>
12311
12312 * mail/rmail.el (rmail-show-message-1): Handle malformed
12313 quoted-printable text. (Bug#5441)
12314
12315 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
12316
12317 * simple.el (visual-line-mode): Capitalize lighter.
12318
12319 2010-02-03 John Wiegley <jwiegley@gmail.com>
12320
12321 * iswitchb.el (iswitchb-completions): Add bookmark files to the
12322 list of files considered for "virtual buffer" completions.
12323
12324 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
12325
12326 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
12327 also in case of (and (not full) (not wildcard)). This is needed
12328 when dired is called with a list of files, which are not in
12329 `default-directory'. (Bug#5478)
12330
12331 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
12332
12333 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
12334
12335 2010-02-02 Juri Linkov <juri@jurta.org>
12336
12337 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
12338 from unidiff to allow function-line after @@.
12339
12340 2010-02-02 Juri Linkov <juri@jurta.org>
12341
12342 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
12343 '(RCS SCCS) with inverted condition.
12344
12345 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
12346
12347 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
12348 messages.
12349
12350 2010-02-01 Juri Linkov <juri@jurta.org>
12351
12352 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
12353 compare with "pkunzip" and "pkzip" instead of only "pkzip".
12354 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
12355 only when (car archive-zip-extract) is "unzip". (Bug#5475)
12356
12357 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
12358
12359 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
12360 (doc-view-revert-buffer): New command.
12361 (doc-view-mode-map): Use it.
12362
12363 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
12364
12365 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
12366 pending merge is detected.
12367
12368 2010-01-31 Juri Linkov <juri@jurta.org>
12369
12370 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
12371 beginning of interactive spec like all other grep commands do.
12372 Put "all" in front of "gz". (Bug#5260)
12373
12374 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
12375
12376 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
12377
12378 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
12379
12380 * dirtrack.el (dirtrack): Warn instead of signalling error if the
12381 regexp is incorrect (Bug#5476).
12382
12383 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
12384
12385 * net/tramp.el (tramp-handle-insert-directory): Handle also
12386 symlinks, when FILENAME is not in `default-directory'.
12387
12388 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
12389
12390 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
12391 FILE is not in `default-directory'. (Bug#5478)
12392
12393 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
12394 of SWITCHES. Handle the case, FILENAME is not in
12395 `default-directory'. (Bug#5478)
12396 (tramp-register-file-name-handlers): Add safe-magic property.
12397
12398 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
12399
12400 * arc-mode.el (archive-zip-extract): Quote the argument passed to
12401 unzip (Bug#5475).
12402
12403 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
12404
12405 * progmodes/flymake.el (flymake-allowed-file-name-masks)
12406 (flymake-master-make-header-init): Add other C++ filename masks.
12407 (flymake-find-possible-master-files)
12408 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
12409
12410 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
12411
12412 Fix some busybox annoyances.
12413
12414 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
12415 not responding." string.
12416 (tramp-open-connection-setup-interactive-shell): Dump stty
12417 settings. Enable "neveropen" arg for all `tramp-send-command'
12418 calls. Handle "=" in variable values properly.
12419 (tramp-find-inline-encoding): Raise an error, when no encoding is
12420 found.
12421 (tramp-wait-for-output): Check, whether PROC buffer is available.
12422 Remove spurious " ^H" sequences, sent by busybox.
12423 (tramp-get-ls-command): Suppress coloring, if possible.
12424
12425 2010-01-28 Glenn Morris <rgm@gnu.org>
12426
12427 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
12428
12429 * log-edit.el (log-edit-strip-single-file-name): Add missing
12430 :safe, :group, and :version tags.
12431
12432 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
12433
12434 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
12435 buffers. (Bug#5477)
12436
12437 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
12438
12439 * files.el (delete-directory): Handle moving to trash without
12440 first doing recursion (Bug#5436).
12441
12442 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
12443
12444 * vc-hooks.el (vc-path): Mark as obsolete.
12445
12446 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
12447
12448 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
12449 names too.
12450
12451 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
12452 for the short log.
12453 (vc-bzr-log-view-mode): Adjust regexp for the above change.
12454
12455 2010-01-25 Mark A. Hershberger <mah@everybody.org>
12456
12457 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
12458
12459 * vc-bzr.el (vc-bzr-revision-table): New function.
12460
12461 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
12462
12463 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
12464 diff-index command. This requires at least git-1.5.5. (Bug#1589).
12465
12466 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
12467
12468 Remove support for adding --signoff on commit.
12469 Future support will use an incompatible generic mechanism.
12470 * vc-git.el (vc-git-add-signoff): Remove variable.
12471 (vc-git-toggle-signoff): Remove function.
12472 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
12473
12474 * term/xterm.el (xterm-maybe-set-dark-background-mode):
12475 Rename from xterm-set-background-mode. Return t if the background mode
12476 was set.
12477 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
12478 earlier, call it again in case the background mode has changed.
12479
12480 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
12481
12482 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
12483 (Bug#3541).
12484
12485 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
12486
12487 * emacs-lisp/assoc.el (aelement): Doc fix.
12488 (aput, adelete, amake): Use lexical-let (Bug#5450).
12489
12490 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
12491
12492 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
12493 is the same as subprogram call, not declaration. (Bug#5435).
12494
12495 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
12496
12497 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
12498 (tramp-smb-maybe-open-connection): Use it.
12499
12500 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
12501
12502 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
12503
12504 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
12505
12506 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
12507 just because we see "encoding: 8bit".
12508 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
12509
12510 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
12511
12512 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
12513
12514 2010-01-22 Eli Zaretskii <eliz@gnu.org>
12515
12516 * jka-compr.el (jka-compr-load): If load-file is not in
12517 load-history, try its file-truename version. (bug#5447)
12518
12519 2010-01-21 Alan Mackenzie <acm@muc.de>
12520
12521 Fix a situation where deletion of a cpp construct throws an error.
12522 * progmodes/cc-engine.el (c-invalidate-state-cache):
12523 Before invoking c-with-all-but-one-cpps-commented-out, check that the
12524 special cpp construct is still in the buffer.
12525 (c-parse-state): Record the special cpp with markers, not numbers.
12526
12527 2010-01-21 Kenichi Handa <handa@m17n.org>
12528
12529 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
12530 process last-command-event, as it is now decoded first (Bug#5380).
12531
12532 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
12533
12534 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
12535
12536 2010-01-20 Glenn Morris <rgm@gnu.org>
12537
12538 * indent.el (tab-always-indent): Fix custom-type.
12539
12540 2010-01-19 Alan Mackenzie <acm@muc.de>
12541
12542 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
12543 buffer throws "args out of range".
12544 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
12545 playing the role of delimiter.
12546
12547 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
12548
12549 * progmodes/ada-mode.el: Fix bug#5400.
12550 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
12551 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
12552 changed. Delete RECURSIVE parameter; never used. Improve doc string.
12553 Improve comments in "is" portion. Handle null procedure declaration.
12554 (ada-move-to-end): Improve doc string.
12555
12556 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
12557
12558 * ido.el (ido-cur-list): Initialize to nil.
12559 Remove obsolete information from commentary.
12560 (ido-choice-list): Initialize to nil.
12561 (ido-get-bufname): Reject minibuffers.
12562 (ido-make-buffer-list): If "default" is a nonexistent
12563 buffer, ignore it, as per the function's comment.
12564 (ido-kill-buffer-internal): New function.
12565 (ido-kill-buffer-at-head): Use it.
12566 (ido-visit-buffer): Likewise.
12567
12568 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
12569
12570 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
12571
12572 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
12573
12574 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
12575 Fix typos in chart titles.
12576
12577 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
12578 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
12579 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
12580 (describe-class, eieio-describe-generic, describe-generic):
12581 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
12582 (eieio-speedbar-expand):
12583 * emulation/viper-cmd.el (viper-exec-form-in-vi)
12584 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
12585 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
12586 (viper-del-backward-char-in-replace, viper-backward-indent)
12587 (viper-brac-function, viper-register-to-point, viper-submit-report):
12588 * net/tramp.el (tramp-remote-coding-commands):
12589 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
12590 Fix typos in docstrings.
12591
12592 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
12593
12594 * mail/sendmail.el (mail-yank-original): Set the mark if the
12595 specified function for yanking does not do it.
12596
12597 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
12598
12599 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
12600
12601 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
12602 resyncing a directory.
12603
12604 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
12605
12606 * progmodes/ada-mode.el: Fix bug#1920.
12607 (ada-ident-re): Delete ., allow multibyte characters.
12608 (ada-goto-label-re): New; matches goto labels.
12609 (ada-block-label-re): New; matches block labels.
12610 (ada-label-re): New; matches both.
12611 (ada-named-block-re): Deleted; callers changed to use
12612 `ada-block-label-re' instead.
12613 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
12614 Use `ada-block-label-re'.
12615 (ada-indent-on-previous-lines): Improve handling of goto labels.
12616 (ada-get-indent-block-start): Special-case block label.
12617 (ada-get-indent-label): Split into `ada-indent-block-label' and
12618 `ada-indent-goto-label'.
12619 (ada-goto-stmt-start, ada-goto-next-non-ws):
12620 Optionally ignore goto labels.
12621 (ada-goto-next-word): Simplify.
12622 (ada-indent-newline-indent-conditional): Insert newline before
12623 trying to fix indentation; doc fix.
12624
12625 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
12626
12627 * calc/calc.el (calc-command-flags): Give it an initial value.
12628
12629 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
12630
12631 * files.el (minibuffer-with-setup-hook):
12632 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
12633 (artist-key-draw-continously, artist-key-do-continously-continously)
12634 (artist-key-set-point-continously, artist-mouse-draw-continously):
12635 Fix typos in docstrings.
12636
12637 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
12638
12639 * nxml/nxml-mode.el (nxml-extend-after-change-region):
12640 Never return t (Bug#3898).
12641
12642 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
12643
12644 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
12645 can parse the output of the external commands (Bug#5279).
12646
12647 2010-01-16 Jari Aalto <jari.aalto@cante.net>
12648
12649 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
12650
12651 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
12652
12653 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
12654
12655 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
12656
12657 * startup.el (command-line): Remove unused --icon-type arg.
12658 Handle --display arg, passing it to command-line-1 (Bug#5392).
12659
12660 2010-01-16 Mario Lang <mlang@delysid.org>
12661
12662 * emacs-lisp/chart.el (chart-translate-namezone):
12663 * textmodes/artist.el (artist-compute-popup-menu-table):
12664 Remove duplicated words in doc-strings.
12665
12666 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
12667
12668 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
12669 to mairix-search to suppress threading (Bug#5342).
12670
12671 2010-01-15 Kenichi Handa <handa@m17n.org>
12672
12673 * international/mule-cmds.el (canonicalize-coding-system-name):
12674 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
12675
12676 2010-01-15 Glenn Morris <rgm@gnu.org>
12677
12678 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
12679
12680 * wid-edit.el (widget-keymap): Doc fix.
12681
12682 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
12683 former seems to be more widely accepted by various svn versions.
12684
12685 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
12686
12687 * find-cmd.el (find-constituents):
12688 * vc-arch.el (vc-arch-root):
12689 * window.el (window-body-height, pop-up-frames):
12690 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
12691 * progmodes/ada-stmt.el (ada-if):
12692 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
12693 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
12694 (ispell-encoding8-command, ispell-aspell-supports-utf8)
12695 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
12696
12697 * progmodes/flymake.el (flymake-post-syntax-check):
12698 Fix typo in error message.
12699
12700 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
12701
12702 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
12703 which is always a string. (Bug#5313)
12704
12705 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
12706
12707 * progmodes/ada-xref.el (ada-default-prj-properties):
12708 Simplify previous change.
12709
12710 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12711
12712 * progmodes/ada-xref.el (ada-default-prj-properties):
12713 Default ada_project_path to $ADA_PROJECT_PATH.
12714
12715 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12716
12717 * progmodes/ada-mode.el (ada-create-keymap):
12718 Override `narrow-to-defun' with `ada-narrow-to-defun'.
12719
12720 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12721
12722 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
12723 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
12724 (ada-get-current-indent, ada-imenu-generic-expression)
12725 (ada-which-function): Check for it.
12726
12727 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12728
12729 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
12730 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
12731
12732 2010-01-14 Glenn Morris <rgm@gnu.org>
12733
12734 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
12735
12736 2010-01-14 Kenichi Handa <handa@m17n.org>
12737
12738 * composite.el (auto-composition-mode): Make it a buffer local
12739 variable (permanent-local).
12740 (auto-composition-function): Set the default value to
12741 auto-compose-chars.
12742 (auto-composition-mode): Make it a simple function, not a minor mode.
12743 (global-auto-composition-mode): Likewise.
12744 (turn-on-auto-composition-if-enabled): Delete it.
12745
12746 2010-01-13 Karl Fogel <kfogel@red-bean.com>
12747
12748 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
12749
12750 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
12751
12752 * files.el (copy-directory): Compute target for recursive
12753 directories with identical names. (Bug#5343)
12754
12755 2010-01-12 Glenn Morris <rgm@gnu.org>
12756
12757 * mail/emacsbug.el (report-emacs-bug-pretest-address):
12758 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
12759
12760 2010-01-11 Sam Steingold <sds@gnu.org>
12761
12762 * imenu.el (imenu-default-create-index-function): Detect infinite
12763 loops caused by imenu-prev-index-position-function.
12764
12765 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
12766
12767 * htmlfontify.el (htmlfontify-load-rgb-file)
12768 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
12769 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
12770 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
12771 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
12772 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
12773 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
12774 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
12775 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
12776 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
12777 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
12778 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
12779 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
12780 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
12781 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
12782 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
12783 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
12784 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
12785 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
12786 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
12787 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
12788 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
12789 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
12790 backslash-quoting from parentheses, etc.
12791
12792 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
12793
12794 * progmodes/js.el: Autoload javascript-mode alias.
12795
12796 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
12797
12798 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
12799 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
12800 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
12801 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
12802 Fix typos in docstrings.
12803 (ffap-url-regexp): Doc fix.
12804 (ffap-at-mouse): Fix typo in message.
12805
12806 2010-01-11 Glenn Morris <rgm@gnu.org>
12807
12808 * version.el (emacs-copyright): Set copyright year to 2010.
12809
12810 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
12811
12812 * format.el (format-annotate-function): Only set
12813 write-region-post-annotation-function after running to-fn so as not to
12814 affect nested write-region calls (bug#5273).
12815
12816 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
12817
12818 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
12819 wisent/python.el.
12820
12821 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
12822
12823 * man.el (Man-goto-section): Signal error if the section is not
12824 found (Bug#5317).
12825
12826 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
12827
12828 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
12829 URLs with a leading triple slash in the file: scheme. (Bug#5345)
12830
12831 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
12832
12833 * progmodes/compile.el: Don't treat compile-command as safe if
12834 compilation-read-command might be nil (Bug#4218).
12835
12836 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
12837
12838 * startup.el (command-line-1): Use orig-argi to check for ignored X and
12839 NS options.
12840
12841 2010-01-08 Kenichi Handa <handa@m17n.org>
12842
12843 * international/fontset.el (build-default-fontset-data):
12844 Exclude characters in scripts kana, hangul, han, or cjk-misc.
12845
12846 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
12847
12848 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
12849 to `create-file-buffer' as it expects, not just a buffer name.
12850 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
12851 to help uniquify. (Bug#3224)
12852
12853 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
12854
12855 * font-setting.el (font-setting-change-default-font): Use user-spec
12856 instead of name.
12857
12858 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
12859
12860 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
12861
12862 2010-01-05 Tom Tromey <tromey@redhat.com>
12863
12864 * progmodes/python.el (python-font-lock-keywords):
12865 Handle qualified decorators (Bug#881).
12866
12867 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
12868
12869 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
12870 in a lightweight checkout.
12871
12872 2010-01-05 Kenichi Handa <handa@m17n.org>
12873
12874 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
12875
12876 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
12877
12878 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
12879
12880 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
12881
12882 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
12883 checkouts. (Bug#618)
12884 (vc-bzr-log-view-mode): Also highlight the author.
12885 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
12886 (vc-bzr-shelve-menu-map):
12887 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
12888 (vc-bzr-shelve-apply): Make prompt more explicit.
12889
12890 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
12891
12892 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
12893 They are valid characters in URL paths (rfc3986), and at least
12894 Firefox does not understand the encoded version (Bug#3166).
12895
12896 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
12897
12898 * progmodes/octave-mod.el (octave-end-keywords)
12899 (octave-block-begin-or-end-regexp, octave-block-match-alist):
12900 Add "end" keyword (Bug#3061).
12901 (octave-end-as-array-index-p): New function.
12902 (calculate-octave-indent): Use it.
12903
12904 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12905
12906 * bookmark.el: Consistently put the text property on the bookmark name.
12907 (bookmark-bmenu-marks-width): Bump back to 2, to include
12908 annotation marks.
12909 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
12910 property on the bookmark name, instead of not putting it at all.
12911 (bookmark-bmenu-list): Fix where we put the text property.
12912
12913 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12914
12915 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
12916 for showing buffer modified state (as added in the previous change).
12917
12918 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12919
12920 * bookmark.el: Show modified state of bookmark buffer more accurately.
12921 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
12922 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
12923 (with-buffer-modified-unmodified): New macro.
12924 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
12925 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
12926 Use new macro to preserve the buffer modified state.
12927
12928 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12929
12930 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
12931 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
12932 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
12933 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
12934 (bookmark-bmenu-rename, bookmark-bmenu-locate)
12935 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
12936 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
12937
12938 2010-01-02 Eli Zaretskii <eliz@gnu.org>
12939
12940 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12941 Make the lines in the generated doc string shorter. (Bug#4668)
12942
12943 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
12944
12945 * net/rcirc.el: Add follow-link binding (Bug#4738).
12946
12947 2010-01-02 Eli Zaretskii <eliz@gnu.org>
12948
12949 * Makefile.in (bzr-update): Rename from cvs-update.
12950 (cvs-update): New target for backward compatibility.
12951
12952 * makefile.w32-in (bzr-update): Rename from cvs-update.
12953 (cvs-update): New target for backward compatibility.
12954
12955 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12956
12957 * bookmark.el: Remove gratuitous gratitude.
12958
12959 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12960
12961 * bookmark.el (bookmark-bmenu-any-marks): New function.
12962 (bookmark-bmenu-save): Clear buffer modification if no marks.
12963
12964 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12965
12966 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
12967 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
12968 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
12969 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
12970
12971 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
12972 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
12973 To: emacs-devel {_AT_} gnu.org
12974 Subject: bookmark.el bug report
12975 Date: Mon, 28 Dec 2009 14:19:16 +0800
12976 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
12977
12978 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12979
12980 * bookmark.el: Improvements suggested by Drew Adams:
12981 (bookmark-bmenu-ensure-position): New name for
12982 `bookmark-bmenu-check-position'. Just ensure the position,
12983 don't return any meaningful value.
12984 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
12985 New constants.
12986
12987 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
12988
12989 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
12990 (bookmark-yank-point, bookmark-bmenu-check-position):
12991 Fix typos in docstrings.
12992 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
12993 (bookmark-name-from-full-record, bookmark-get-position)
12994 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
12995 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
12996 Remove useless quoting of parenthesis, etc. in docstrings.
12997
12998 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
12999 (ediff-append-custom-diff): Fix typo in error message.
13000 (ediff-meta-mark-equal-files): Fix typos in messages.
13001
13002 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
13003
13004 * net/imap-hash.el (imap-hash-make): Doc fix.
13005 (imap-hash-test): Fix typo in error message; reflow docstring.
13006 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
13007 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
13008 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
13009 Fix typos in docstrings.
13010 (imap-hash-open-connection): Fix typo in error message.
13011
13012 * play/gomoku.el (gomoku): Fix typos in docstring.
13013
13014 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
13015 (gdb-jsonify-buffer): Fix typos in docstring.
13016 (gdb-goto-breakpoint): Fix typo in error message.
13017 ("Display Other Windows"): Fix typo in help message.
13018 (gdb-speedbar-expand-node): Fix typo in question.
13019
13020 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
13021 (idlwave-html-system-help-location, idlwave-html-help-location)
13022 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
13023 (idlwave-help-browser-generic-args, idlwave-help-directory)
13024 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
13025 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
13026 (idlwave-online-help, idlwave-help-html-link)
13027 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
13028 Fix typos in docstrings.
13029 (idlwave-help-with-source, idlwave-help-find-routine-definition):
13030 Reflow docstrings.
13031 (idlwave-help-assistant-start): Fix typo in error message.
13032
13033 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
13034 (octave-electric-space): Fix typos in docstrings.
13035
13036 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
13037
13038 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
13039
13040 2010-01-01 Juri Linkov <juri@jurta.org>
13041
13042 * comint.el (comint-input-ring-size): Make it a defcustom and
13043 increase the default to 500 (Bug#5148).
13044
13045 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
13046
13047 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
13048 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
13049 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
13050
13051 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
13052
13053 Show working revision correctly for mercurial.
13054 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
13055 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
13056
13057 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
13058
13059 Declare some functions for the byte-compiler.
13060 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
13061 (speedbar-timer-fn, speedbar-change-expand-button-char)
13062 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
13063
13064 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
13065
13066 This changeset reverts GDB Graphical Interface to use annotations.
13067 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
13068
13069 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
13070
13071 Make vc-dir work on subdirectories of the bzr root.
13072 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
13073 Return file names relative to it.
13074 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
13075 relative directory to vc-bzr-after-dir-status.
13076
13077 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
13078
13079 * font-lock.el (font-lock-refresh-defaults): New function, which
13080 can be used to let font-lock react to external changes in
13081 variables like font-lock-defaults and keywords.
13082 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
13083
13084 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
13085
13086 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
13087
13088 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
13089
13090 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
13091
13092 Supersede color.diff settings in git log (bug#5211).
13093
13094 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
13095 escape chars in its output when the user has color.diff set to `always'.
13096 This fix works on git 1.4.2 and newer (released on 2006-08-13).
13097
13098 2009-12-26 Kevin Ryde <user42@zip.com.au>
13099
13100 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
13101 node. Keep previous "Index" name to work with past coreutils too.
13102
13103 * man.el (man): Revise docstring a bit to show -a and -l as
13104 examples. Add -k description since support for it has otherwise
13105 been a secret. (Further to bug#3717.)
13106 (Man-bgproc-sentinel): When "-k foo" produces no output show error
13107 "no matches" rather than "Can't find manpage", as the latter reads
13108 like -k was interpreted as a page name, which is not so. (Bug#5431)
13109
13110 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
13111
13112 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
13113 switches. Check also for //SUBDIRED// line.
13114
13115 2009-12-25 Kenichi Handa <handa@m17n.org>
13116
13117 * language/indian.el (devanagari-composable-pattern): Fix to
13118 handle ZWNJ and ZWJ. Use it in composition-function-table for
13119 Devanagari.
13120 (malayalam-composable-pattern): Fix previous change.
13121
13122 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13123
13124 * ps-print.el (ps-face-attributes): It was not returning the
13125 attribute face for faces specified as string. Reported by harven
13126 <harven@free.fr>. (Bug#5254)
13127 (ps-print-version): New version 7.3.5.
13128
13129 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
13130
13131 * calendar/icalendar.el (icalendar--convert-tz-offset):
13132 Fix timezone names.
13133 (icalendar--convert-tz-offset): Fix the "last-day-problem".
13134 (icalendar--add-diary-entry): Remove the trailing blank that
13135 diary-make-entry inserts.
13136
13137 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
13138
13139 Make `file-expand-wildcards' work for remote files.
13140
13141 * files.el (file-expand-wildcards): In case of remote files, check
13142 only local file name part for wildcards. Provide feature 'files
13143 and subfeature 'remote-wildcards. (Bug#5198)
13144
13145 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
13146 if there is already an established connection.
13147 (tramp-advice-file-expand-wildcards): Remove it.
13148
13149 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
13150 (tramp-advice-file-expand-wildcards): Move from tramp.el.
13151 Activate advice for older GNU Emacs versions. (Bug#5237)
13152
13153 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
13154
13155 Some doc fixes (more needed).
13156
13157 * find-cmd.el (find-constituents): Reflow docstring.
13158 (find-cmd, find-prune, find-command): Fix typos in docstrings.
13159 (find-generic): Doc fix.
13160
13161 2009-12-17 Juri Linkov <juri@jurta.org>
13162
13163 Fix regression from 23.1 to allow multiple modes in Local Variables.
13164
13165 * files.el (hack-local-variables-filter): While ignoring duplicates,
13166 don't take `mode' into account.
13167 (hack-local-variables-filter, hack-dir-local-variables):
13168 Don't remove duplicate `mode' from local-variables-alist (like `eval').
13169
13170 2009-12-17 Juri Linkov <juri@jurta.org>
13171
13172 Make `dired-diff' safer. (Bug#5225)
13173
13174 * dired-aux.el (dired-diff): Signal an error when `file' equals to
13175 `current' or when `file' is a directory of the `current' file.
13176
13177 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
13178
13179 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
13180 unconditionally preloaded files.
13181
13182 2009-12-16 Juri Linkov <juri@jurta.org>
13183
13184 Revert to old 23.1 logic of using the file at the mark as default.
13185 * dired-aux.el (dired-diff): Use the file at the mark as default
13186 if it's not the same as the current file, and the target dir is
13187 the current dir or the mark is active. Add the current file
13188 as the arg of `dired-dwim-target-defaults'. Use the default file
13189 in the prompt. (Bug#5225)
13190
13191 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
13192
13193 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
13194 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
13195 (tramp-check-for-regexp): Check also, when an echoing shell stops
13196 to echo sent commands.
13197
13198 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
13199
13200 * Makefile.in: Revert last change (Bug#5191).
13201
13202 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
13203
13204 * vc-hg.el (vc-hg-print-log): Fix argument order.
13205 (vc-hg-working-revision): Make sure the command is executed in a
13206 known environment so that we can parse the output. (Bug#4417)
13207
13208 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
13209
13210 * progmodes/python.el (python-symbol-completions): Remove text
13211 properties from symbol string before calling python-send-receive.
13212
13213 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
13214
13215 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
13216 when there are values for both file and line. (Bug#5060)
13217
13218 2009-12-14 Juri Linkov <juri@jurta.org>
13219
13220 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
13221 whitespace after the file name of the first line of unified format,
13222 because git-diff doesn't output whitespace and file modification time
13223 after the file name.
13224
13225 2009-12-14 David Kastrup <dak@gnu.org>
13226
13227 * info.el (Info-hide-cookies-node): Before hiding a cookie,
13228 check if it already has the `display' property added by
13229 `Info-display-images-node', and not put the `invisible' property
13230 in this case.
13231
13232 2009-12-13 Glenn Morris <rgm@gnu.org>
13233
13234 * mail/emacsbug.el (message-sort-headers): Define for compiler.
13235 (report-emacs-bug): In message-mode, sort manually before storing
13236 original report text. (Bug#5178)
13237 Remove superfluous save-excursion.
13238
13239 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
13240
13241 * net/dbus.el (dbus-property-handler): Filter lambda forms out
13242 when responding to "GetAll" properties.
13243
13244 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
13245
13246 * simple.el (compose-mail): Remove mail-setup-with-from from
13247 customization checks.
13248
13249 2009-12-12 Eli Zaretskii <eliz@gnu.org>
13250
13251 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
13252 RAR archives created on Unix systems.
13253
13254 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
13255
13256 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
13257 the varalias that was accidentally removed by the 2009-11-19 change
13258 (bug#5186).
13259
13260 2009-12-12 Kenichi Handa <handa@m17n.org>
13261
13262 * language/indian.el (indian-compose-regexp): New function.
13263 (malayalam-composable-pattern): Fix the pattern.
13264 (composition-function-table): Set malayalam-composable-pattern for
13265 Malayalam characters.
13266
13267 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
13268
13269 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
13270 rather than down-mouse-1, based on follow-link conventions.
13271
13272 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
13273 are compiled.
13274
13275 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
13276
13277 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
13278 (verilog-vmm-statement-re, verilog-ovm-statement-re)
13279 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
13280 (verilog-leap-to-head, verilog-backward-token):
13281 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
13282
13283 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
13284
13285 * progmodes/verilog-mode.el (verilog-auto-lineup)
13286 (verilog-nameable-item-re): Cleanup user-visible spelling and
13287 documentation errors. One reported by Gary Delp.
13288 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
13289 (verilog-read-decls): Fix AUTOWIRE with types declared in a
13290 package, bug195. Reported by Pierre-David Pfister.
13291
13292 2009-12-11 Glenn Morris <rgm@gnu.org>
13293
13294 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
13295
13296 * mail/emacsbug.el: No longer require sendmail.
13297 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
13298 (report-emacs-bug-orig-text): Doc fix.
13299 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
13300 New local variables, to adapt to different mail-user-agents.
13301 (report-emacs-bug): Fix test for a gnu.org address.
13302 Use overlays for emphasis, since font-lock defeats 'face property.
13303 Pretest bugs also end up at the newsgroup these days.
13304 Stop message-mode stripping text properties.
13305 Set and use the new buffer-local variables.
13306 (report-emacs-bug-hook): Add doc-string.
13307 Remove some unnecessary save-excursions and simplify.
13308 Use the appropriate hook and send-command.
13309
13310 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
13311 capitalization of some menu entries.
13312
13313 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13314
13315 * whitespace.el (whitespace-display-char-on):
13316 Ensure `buffer-display-table' is unique when two or more windows are
13317 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
13318 New version 12.1.
13319
13320 2009-12-10 Eli Zaretskii <eliz@gnu.org>
13321
13322 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
13323 characters in the Attribute field.
13324
13325 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
13326
13327 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
13328
13329 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
13330
13331 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
13332 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13333 Disregard autoload-excludes.
13334 (update-directory-autoloads): Obey autoload-excludes here instead.
13335 But don't store its contents in no-autoloads and remove entries that
13336 refer to excludes files.
13337
13338 2009-12-10 Glenn Morris <rgm@gnu.org>
13339
13340 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
13341 (expand-mail-aliases): Define for compiler.
13342
13343 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
13344 Define for compiler.
13345
13346 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
13347 appropriate for the mail-user-agent in use.
13348
13349 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
13350
13351 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
13352
13353 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
13354
13355 Fix short log parsing and fontification.
13356 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
13357 Fix fontification for the [merge] label.
13358
13359 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
13360
13361 Drop some properties to avoid surprises (bug#5002).
13362 * htmlfontify.el (hfy-ignored-properties): New defcustom.
13363 (hfy-fontify-buffer): Use it.
13364
13365 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
13366
13367 Minor cleanup.
13368 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
13369 Adjust all callers.
13370 (ffap-locate-file): Remove unused arg `dir-ok' and make other
13371 args compulsory. Adjust callers.
13372 (ffap-gopher-at-point): Remove unused var `name'.
13373
13374 Get rid of the ELCFILES abomination.
13375 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
13376 (compile-elcfiles): New phony target.
13377 (compile-main): Compute ELCFILES dynamically.
13378 (compile-clean): New target to remove left-over elc files.
13379 (compile, all): Use it.
13380
13381 2009-12-09 Kenichi Handa <handa@etlken>
13382
13383 * international/mule-diag.el: Require help-mode instead of help-fns.
13384
13385 2009-12-09 Kenichi Handa <handa@m17n.org>
13386
13387 * international/mule-cmds.el (ucs-names): Supply sufficiently
13388 fine ranges instead of pre-calculating accurate ranges.
13389 Iterate with bigger gc-cons-threshold.
13390
13391 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
13392
13393 Add support for stashing a snapshot of the current tree.
13394 * vc-git.el (vc-git-stash-snapshot): New function.
13395 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
13396
13397 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
13398
13399 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
13400 instead of `(beginning|end)-of-line'.
13401
13402 2009-12-08 Glenn Morris <rgm@gnu.org>
13403
13404 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
13405
13406 * Makefile.in (ELCFILES): Regenerate.
13407
13408 2009-12-07 Juri Linkov <juri@jurta.org>
13409
13410 Don't lazy-highlight the comint output in history Isearch mode.
13411
13412 * comint.el (comint-history-isearch-search): Instead of
13413 `comint-line-beginning-position', use `comint-after-pmark-p'
13414 to check if point if before the process mark, and go to
13415 `process-mark' in this case.
13416
13417 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
13418
13419 * textmodes/tex-mode.el (latex-complete)
13420 (latex-indent-or-complete): Remove.
13421 (latex-mode): Set completion-at-point-functions instead.
13422
13423 Provide a standard completion command and hook it into TAB.
13424 * minibuffer.el (completion-at-point-functions): New var.
13425 (completion-at-point): New command.
13426 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
13427 * progmodes/python.el (python-mode-map): Use completion-at-point.
13428 (python-completion-at-point): Rename from python-partial-symbol and
13429 adjust for use in completion-at-point-functions.
13430 (python-mode): Setup completion-at-point for Python completion.
13431 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
13432 extracted from lisp-complete-symbol.
13433 (lisp-complete-symbol): Use it.
13434 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
13435 setup completion-at-point for Elisp completion.
13436 (emacs-lisp-mode-map, lisp-interaction-mode-map):
13437 Use completion-at-point.
13438 * ielm.el (ielm-map): Use completion-at-point.
13439 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
13440 * progmodes/sym-comp.el: Move to...
13441 * obsolete/sym-comp.el: Move from progmodes.
13442
13443 2009-12-07 Eli Zaretskii <eliz@gnu.org>
13444
13445 Prevent save-buffer in Rmail buffers from using the coding-system
13446 of the current message, and from clobbering the encoding mnemonics
13447 in the mode line (Bug#4623).
13448
13449 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
13450 flag, too.
13451 (rmail-message-encoding): New variable.
13452 (rmail-write-region-annotate): Record the encoding of the current
13453 message in rmail-message-encoding.
13454 (rmail-after-save-hook): New function, restores the encoding of
13455 the current message after the message collection is saved.
13456
13457 2009-12-07 Juri Linkov <juri@jurta.org>
13458
13459 * progmodes/grep.el (grep-read-files): Use `completing-read'
13460 instead of `read-string'. Set its `collection' arg to
13461 `read-file-name-internal'. (Bug#4301)
13462
13463 2009-12-07 Juri Linkov <juri@jurta.org>
13464
13465 Correctly restore original Isearch point. (Bug#4994)
13466
13467 * isearch.el (isearch-mode): Move `isearch-push-state' after
13468 `(run-hooks 'isearch-mode-hook)'.
13469 (isearch-cancel): When `isearch-push-state-function' is defined,
13470 let-bind `isearch-cmds' to the first state (the last element of
13471 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
13472 function and restores the original point). Otherwise, move point
13473 to `isearch-opoint'.
13474
13475 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
13476
13477 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
13478 chars that don't have names, so the table can be built much faster at
13479 run-time.
13480
13481 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
13482
13483 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
13484 change. Suggested by David Kastrup.
13485
13486 * simple.el (compose-mail): Check for incompatibilities and warn.
13487 (compose-mail-user-agent-warnings): New option.
13488
13489 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
13490
13491 Support showing a single log entry from vc-annotate.
13492 * vc.el (print-log): Add a new argument: START-REVISION.
13493 (vc-print-log-internal): Add a new optional argument and
13494 pass it to the backend.
13495 (vc-print-log, vc-print-root-log): Adjust callers.
13496 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
13497 buffer already displays the requested log entry, use it.
13498 Otherwise display only the log entry in question.
13499 * vc-svn.el (vc-svn-print-log):
13500 * vc-mtn.el (vc-mtn-print-log):
13501 * vc-hg.el (vc-hg-state):
13502 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
13503 (vc-git-show-log-entry): Return t on success.
13504 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
13505 (vc-bzr-show-log-entry): Return t on success.
13506 * vc-rcs.el (vc-rcs-print-log):
13507 * vc-sccs.el (vc-sccs-print-log):
13508 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
13509
13510 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
13511
13512 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
13513 Add menus to the meta mode. (Bug#5043)
13514
13515 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
13516
13517 * ediff-init.el (ediff-event-key): Use event-to-character instead of
13518 event-key.
13519
13520 * ediff.el (ediff-buffers-internal): Add unwind-protect.
13521
13522 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
13523
13524 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
13525 Berbain <raphael.berbain@gmail.com>.
13526
13527 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
13528 characters.
13529 (tramp-initial-end-of-output): New defconst.
13530 (tramp-methods, tramp-find-shell)
13531 (tramp-open-connection-setup-interactive-shell)
13532 (tramp-maybe-open-connection): Use it.
13533 (tramp-shell-prompt-pattern, tramp-wait-for-output):
13534 Handle existence of `#' and `$'.
13535
13536 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
13537 Use `tramp-initial-end-of-output'.
13538
13539 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
13540
13541 Get the background mode from the terminal for xterm, and set
13542 faces accordingly.
13543 * term/xterm.el (xterm-set-background-mode): New function.
13544 (terminal-init-xterm): Use it in case xterm supports background
13545 color queries. Recompute faces after getting the background
13546 color.
13547
13548 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
13549
13550 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
13551 number comment back on its own line, for easier parsing.
13552
13553 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
13554
13555 Make it work for non-file buffers (bug#5102).
13556 * doc-view.el (doc-view-current-cache-dir):
13557 Use doc-view-buffer-file-name rather than buffer-file-name.
13558 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
13559
13560 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
13561
13562 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
13563 author field is too short.
13564
13565 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
13566
13567 * vc-git.el (vc-git-print-log): Handle a limit argument.
13568 Display the short log in graph form and with labels.
13569 (vc-git-log-view-mode): Handle labels.
13570
13571 Make vc-revert change VC state from 'added to 'unregistered.
13572 * vc-git.el (vc-git-revert): Call git reset first.
13573
13574 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
13575
13576 * net/newst-backend.el, net/newst-plainview.el:
13577 * net/newst-reader.el, net/newst-ticker.el:
13578 * net/newst-treeview.el, net/newsticker.el:
13579 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
13580
13581 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
13582
13583 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
13584
13585 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
13586 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
13587 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
13588 Update annotation regexp.
13589
13590 * simple.el (beginning-of-visual-line): Constrain to field
13591 boundaries (Bug#5106).
13592
13593 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
13594
13595 * xml.el (xml-substitute-numeric-entities):
13596 Move newsticker--decode-numeric-entities in newst-backend.el to
13597 xml-substitute-numeric-entities in xml.el. (Bug#5008)
13598 * net/newst-backend.el (newsticker--parse-generic-feed)
13599 (newsticker--parse-generic-items)
13600 (newsticker--decode-numeric-entities):
13601 Move newsticker--decode-numeric-entities in newst-backend.el to
13602 xml-substitute-numeric-entities in xml.el. (Bug#5008)
13603
13604 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
13605
13606 * progmodes/js.el (js--js-not): Add null to the list of values.
13607
13608 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
13609
13610 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
13611
13612 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
13613
13614 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
13615 delimiter if it is at the end of the current line.
13616 (bibtex-generate-url-list): Fix docstring.
13617
13618 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
13619
13620 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
13621 minibuffer's content with itself.
13622 Fold the confirm-after-completion case into the `confirm' case.
13623 (completion-pcm-word-delimiters): Add : and / to the delimiters.
13624
13625 2009-12-06 Kevin Ryde <user42@zip.com.au>
13626
13627 * ffap.el (ffap-rfc-path): Make this a defcustom since
13628 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
13629
13630 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
13631 manuals, similar to existing setup for help-mode. (Bug#3913.)
13632
13633 2009-12-05 Juri Linkov <juri@jurta.org>
13634
13635 Save and restore dired buffer's point positions too. (Bug#4880)
13636
13637 * dired.el (dired-save-positions): Return in the first element
13638 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
13639 Doc fix.
13640 (dired-restore-positions): First restore buffer's position.
13641 While restoring window's positions, check if window still displays
13642 the original buffer.
13643
13644 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
13645
13646 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
13647 if possible.
13648
13649 * shell.el (shell): Require ansi-color (Bug#5113).
13650
13651 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
13652
13653 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
13654
13655 2009-12-05 Alan Mackenzie <acm@muc.de>
13656
13657 * progmodes/cc-mode.el (c-before-hack-hook)
13658 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
13659 `c-file-style' to work again. This reversion restores the current
13660 software to its state in Emacs 23.1. (Bug#4146)
13661
13662 2009-12-05 Kevin Ryde <user42@zip.com.au>
13663
13664 * textmodes/sgml-mode.el (sgml-lexical-context):
13665 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
13666
13667 2009-12-05 Juri Linkov <juri@jurta.org>
13668
13669 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
13670 for virtual nodes. (Bug#4147)
13671 (Info-find-node-2): Set `Info-current-node-virtual' to nil
13672 when moving from a virtual node.
13673 (Info-mode-menu): Add `Info-virtual-index' to the menu.
13674 (Info-mode): Add `Info-virtual-index' to the docstring.
13675
13676 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
13677
13678 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
13679 track of the buffer position of the end of a BibTeX entry as this
13680 position may change during reformatting.
13681 (bibtex-format-entry): Remove whitespace before processing
13682 numerical fields so that we recognize the latter properly.
13683 (bibtex-reformat): Do not use push which changes the global value
13684 of bibtex-entry-format.
13685 (bibtex-field-braces-alist, bibtex-field-strings-alist)
13686 (bibtex-field-re-init): Replace only space characters by regexp
13687 for whitespace.
13688 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
13689 (bibtex-initialize): Also update bibtex-strings.
13690 (bibtex-kill-field): Preserve white space at end of entry.
13691 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
13692 Update bibtex-reference-keys.
13693
13694 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
13695
13696 * minibuffer.el (completion-pcm--merge-try): Also consider placing
13697 point after a star, if that's the only place where modifications can
13698 make progress.
13699
13700 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
13701
13702 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
13703 in docstrings.
13704
13705 2009-12-04 Juri Linkov <juri@jurta.org>
13706
13707 * proced.el (proced): Call `(proced-update t)' to update process
13708 information instead of only running proced-post-display-hook.
13709 (proced-send-signal): Add a leading space to the buffer name
13710 " *Marked Processes*" to make this buffer ephemeral.
13711
13712 2009-12-04 Juri Linkov <juri@jurta.org>
13713
13714 * dired.el (dired-auto-revert-buffer): New defcustom.
13715 (dired-internal-noselect): Use it.
13716
13717 2009-12-04 Juri Linkov <juri@jurta.org>
13718
13719 Change roles of modes and functions in image-mode.el (Bug#5062).
13720
13721 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
13722 in `auto-mode-alist'.
13723 (image-mode-previous-major-mode): New variable.
13724 (image-minor-mode-map): Rename from `image-mode-text-map'.
13725 (image-mode): Move graceful error-handling code from
13726 `image-minor-mode' to here. On errors call `image-mode-as-text'.
13727 (image-minor-mode): Remove all image-handling code.
13728 Replace `image-mode-text-map' with `image-minor-mode-map'.
13729 Check for `image-type' in mode-line format string.
13730 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
13731 (image-mode-as-text): New function with most code from
13732 `image-mode-maybe'.
13733 (image-toggle-display-text): Move code that removes image
13734 properties from `image-toggle-display' to here.
13735 (image-toggle-display-image): New function with code that adds
13736 image properties copied from `image-toggle-display'.
13737 (image-toggle-display): Remove most code with leaving only code
13738 that toggles between `image-mode-as-text' and `image-mode'.
13739
13740 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
13741
13742 * net/newst-treeview.el
13743 (newsticker--treeview-list-highlight-start): Restored call to
13744 save-excursion: Selected item was stuck.
13745 (newsticker--treeview-list-select): New.
13746 (newsticker--treeview-item-show-text)
13747 (newsticker--treeview-item-show)
13748 (newsticker--treeview-item-update): Use new
13749 newsticker-treeview-item-mode.
13750 (newsticker-treeview-update): Keep current item.
13751 (newsticker-treeview-next-new-or-immortal-item): Doc change.
13752 (newsticker--treeview-first-feed): Doc change.
13753 (newsticker-treeview-list-menu)
13754 (newsticker-treeview-item-menu): Add menu entries.
13755 (newsticker-treeview-item-mode): New.
13756
13757 * net/newst-backend.el (newsticker-customize): Delete other
13758 windows.
13759
13760 2009-12-04 Sam Steingold <sds@gnu.org>
13761
13762 * log-view.el (log-view-mode-map): "q" calls quit-window,
13763 like in all the other non-self-insert buffers.
13764
13765 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
13766
13767 Minor cleanup.
13768 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
13769 key decoding rather than do it manually via last-input-event +
13770 ascii-character.
13771 (term-exec): Use delete-and-extract-region.
13772 (term-handle-ansi-terminal-messages): Remove unused var `end'.
13773 (term-process-pager): Remove unused var `i'.
13774 (term-dynamic-simple-complete): Make obsolete.
13775 (serial-update-config-menu): Remove unused vars `y' and `str'.
13776 (term-update-mode-line): Remove unused var `temp'.
13777
13778 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
13779
13780 Limit the number of log entries displayed by default.
13781 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
13782 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
13783 using a prefix argument.
13784
13785 2009-12-03 Glenn Morris <rgm@gnu.org>
13786
13787 * progmodes/idlwave.el (class): Restore still useful declaration.
13788
13789 2009-12-03 Alan Mackenzie <acm@muc.de>
13790
13791 Enhance `c-parse-state' to run efficiently in "brace deserts".
13792
13793 * progmodes/cc-mode.el (c-basic-common-init):
13794 Call c-state-cache-init.
13795 (c-neutralize-syntax-in-and-mark-CPP): Rename from
13796 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
13797 placing `category' properties value 'c-cpp-delimiter at its boundaries.
13798
13799 * progmodes/cc-langs.el (c-before-font-lock-function):
13800 c-extend-and-neutralize-syntax-in-CPP has been renamed
13801 c-neutralize-syntax-in-and-mark-CPP.
13802
13803 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
13804 with `category' properties now, not `syntax-table' ones.
13805
13806 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
13807 enhanced (but slower) version of c-end-of-macro that won't land
13808 inside a literal or on another awkward character.
13809 (c-state-cache-too-far, c-state-cache-start)
13810 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
13811 (c-state-nonlit-pos-cache-limit, c-state-point-min)
13812 (c-state-point-min-lit-type, c-state-point-min-lit-start)
13813 (c-state-min-scan-pos, c-state-brace-pair-desert)
13814 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
13815 buffer local variables.
13816 (c-state-literal-at, c-state-lit-beg)
13817 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
13818 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
13819 (c-state-cache-top-paren, c-state-cache-after-top-paren)
13820 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
13821 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
13822 (c-renarrow-state-cache)
13823 (c-append-lower-brace-pair-to-state-cache)
13824 (c-state-push-any-brace-pair, c-append-to-state-cache)
13825 (c-remove-stale-state-cache)
13826 (c-remove-stale-state-cache-backwards, c-state-cache-init)
13827 (c-invalidate-state-cache-1, c-parse-state-1)
13828 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
13829 (c-parse-state): Enhance and refactor.
13830 (c-debug-parse-state): Amend to deal with all the new variables.
13831
13832 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
13833 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
13834 modify to use category text properties rather than syntax-table ones.
13835 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
13836 to switch off/on the syntactic paren property of C++ template
13837 delimiters using the category property.
13838 (c-with-<->-as-parens-suppressed): Macro to invoke code with
13839 template delims suppressed.
13840 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
13841 New constant/macros which apply category properties to the start
13842 and end of preprocessor constructs.
13843 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
13844 "comment out" the syntactic value of characters in preprocessor
13845 constructs.
13846 (c-with-cpps-commented-out)
13847 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
13848 with characters in all or all but one preprocessor constructs
13849 "commented out".
13850
13851 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
13852
13853 * proced.el (proced-filter-alist): Use regexp-quote.
13854
13855 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
13856
13857 Cleanup.
13858 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
13859 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
13860 arguments. Expand `default-directory'.
13861
13862 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
13863 the benefit of returning an expanded localname.
13864 (tramp-tramp-file-p): Handle the case NAME is not a string.
13865
13866 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
13867
13868 Add support for bzr shelve/unshelve.
13869 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
13870 (vc-bzr-extra-menu-map): New variables.
13871 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
13872 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
13873 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
13874 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
13875 (vc-bzr-dir-extra-headers): Display shelves.
13876
13877 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
13878
13879 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13880
13881 * textmodes/bibtex.el (bibtex-complete-internal):
13882 Use completion-in-region.
13883 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
13884
13885 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
13886
13887 Support applying stashes. Improve UI.
13888 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
13889 (vc-git-stash-apply, vc-git-stash-pop)
13890 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
13891 (vc-git-stash-menu): New functions.
13892 (vc-git-stash-menu-map): New variable.
13893 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
13894
13895 2009-12-03 Glenn Morris <rgm@gnu.org>
13896
13897 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
13898 (vc-print-log-internal): Fix previous change.
13899 (vc-revert): Correct pluralization.
13900
13901 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13902
13903 * progmodes/make-mode.el (makefile-special-targets-list): No need for
13904 it to be an alist any more.
13905 (makefile-complete): Use completion-in-region.
13906
13907 * progmodes/octave-mod.el (octave-complete-symbol):
13908 Use completion-in-region.
13909
13910 Misc cleanup.
13911 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
13912 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
13913 (idlwave-complete-class): Don't quote lambda.
13914 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
13915 (idlwave-mode-map): Move initialization into declaration.
13916 (idlwave-action-and-binding): Use backquotes.
13917 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
13918 Simplify.
13919 (idlwave-is-pointer-dereference): Remove unused var `pos'.
13920 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
13921 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
13922 `parts', and `all-parts'.
13923 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
13924 (idlwave-convert-xml-system-routine-info): Remove unused string
13925 `version-string'.
13926 (idlwave-display-user-catalog-widget): Use dolist.
13927 (idlwave-scanning-lib): Declare dynamically-scoped var.
13928 (idlwave-scan-library-catalogs): Remove unused var `flags'.
13929 (completion-highlight-first-word-only): Declare to silence bytecomp.
13930 (idlwave-popup-select): Tighten scope of `resp'.
13931 (idlwave-find-struct-tag): Remove unused var `beg'.
13932 (idlwave-after-load-rinfo-hook): Declare.
13933 (idlwave-sintern-class-info): Remove unused var `taglist'.
13934 (idlwave-find-class-definition): Remove unused var `list'.
13935 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
13936 (idlwave-what-module-find-class): Remove unused var `classes'.
13937
13938 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
13939
13940 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
13941
13942 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13943
13944 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
13945 buffers visited. Remove redundant current-buffer-saving.
13946
13947 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
13948
13949 Use completion-in-buffer and remove uses of dynamic scoping.
13950 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
13951 (pascal-buffer-to-use, pascal-flag): Don't declare.
13952 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
13953 (pascal-get-completion-decl, pascal-keyword-completion):
13954 Add `pascal-str' argument, save-excursion,
13955 return the found completions, and don't filter with pascal-pred.
13956 (pascal-completion-cache): New var.
13957 (pascal-completion): Don't switch buffer any more (it was never
13958 necessary). Don't save-excursion any more (it's done by the called
13959 subroutines). Use a cache to avoid redundant computations.
13960 Use complete-with-action rather than pascal-completion-response and
13961 let it apply the predicate as well.
13962 (pascal-complete-word): Use completion-in-buffer when
13963 pascal-toggle-completions is nil.
13964 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
13965 not used any more.
13966 (pascal-comp-defun): Don't change buffer any more.
13967 Use complete-with-action rather than pascal-completion-response and
13968 let it apply the predicate as well.
13969 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
13970 when neded.
13971
13972 2009-12-02 Kenichi Handa <handa@m17n.org>
13973
13974 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
13975 shape for all Indic scripts.
13976
13977 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
13978
13979 Use completion-in-buffer.
13980 * wid-edit.el (widget-field-text-end): New function.
13981 (widget-field-value-get): Use it.
13982 (widget-string-complete, widget-file-complete)
13983 (widget-color-complete): Use it and completion-in-region.
13984 (widget-complete): Don't narrow the buffer.
13985
13986 2009-12-02 Glenn Morris <rgm@gnu.org>
13987
13988 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
13989 (rmail-select-summary): Use rmail-pop-to-buffer.
13990 * mail/rmailsum.el: Replace all pop-to-buffer calls with
13991 rmail-pop-to-buffer, to prevent horizontal splits.
13992
13993 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
13994 save-excursion with save-current-buffer.
13995 Widen before searching. (Bug#5093)
13996 (diary-list-sexp-entries): Remove superfluous save-excursion.
13997
13998 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
13999
14000 * woman.el (woman-make-bufname): Handle man-pages with "." in the
14001 name. (Bug#5038)
14002
14003 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
14004
14005 * ido.el (ido-file-internal): Handle filenames at point that do
14006 not have a directory part. (Bug#5049)
14007
14008 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
14009
14010 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
14011 (mpc-songs-jump-to, mpc-resume): Doc fixes.
14012
14013 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
14014
14015 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
14016 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
14017 any more.
14018
14019 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
14020
14021 * comint.el (comint-insert-input): Ignore clicks to the right of
14022 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
14023
14024 * vc.el (vc-print-log-internal): Don't wait for the process to
14025 terminate before setting up the major mode.
14026
14027 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
14028 in case.
14029
14030 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
14031 the last element.
14032
14033 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
14034
14035 2009-12-01 Glenn Morris <rgm@gnu.org>
14036
14037 * window.el (window--display-buffer-2): Fix previous changes.
14038
14039 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
14040
14041 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
14042
14043 2009-12-01 Glenn Morris <rgm@gnu.org>
14044
14045 * Makefile.in (ELCFILES): Add mpc.elc.
14046
14047 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
14048
14049 * mpc.el: New file.
14050
14051 2009-12-01 Glenn Morris <rgm@gnu.org>
14052
14053 * window.el (window-to-use): Define for compiler.
14054
14055 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
14056 consistent with others (no final period).
14057
14058 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
14059 (rmail-mime-show): Downcase the encoding. (Bug#5070)
14060
14061 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
14062
14063 Make vc-print-log buttons work.
14064 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
14065
14066 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
14067
14068 * savehist.el (savehist-autosave-interval): Allow setting to nil
14069 through customize. (Bug#5056)
14070
14071 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
14072
14073 Fix references to jit-lock properties.
14074 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
14075 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
14076 (perl-font-lock-special-syntactic-constructs):
14077 Quote jit-lock-defer-multiline property.
14078
14079 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
14080
14081 * vc-git.el (vc-git-registered): Call vc-git-root only once.
14082
14083 2009-11-30 Juri Linkov <juri@jurta.org>
14084
14085 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
14086 value `buffer' of `multi-isearch-next-buffer-current-function'.
14087 Use `(current-buffer)' when `buffer' is nil.
14088 (multi-isearch-next-buffer-from-list): Don't fallback to
14089 `(current-buffer)' when `buffer' is nil. (Bug#4947)
14090
14091 2009-11-30 Juri Linkov <juri@jurta.org>
14092
14093 * misearch.el (multi-isearch-read-buffers): Move canonicalization
14094 of buffers with `get-buffer' to `multi-isearch-buffers'.
14095 (multi-isearch-buffers, multi-isearch-buffers-regexp):
14096 Canonicalize BUFFERS with `get-buffer'. Doc fix.
14097 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
14098 FILES with `expand-file-name' converting relative file names
14099 to absolute. Doc fix. (Bug#4727)
14100
14101 2009-11-30 Juri Linkov <juri@jurta.org>
14102
14103 * misearch.el (multi-isearch-read-buffers)
14104 (multi-isearch-read-matching-buffers): New functions.
14105 (multi-isearch-buffers, multi-isearch-buffers-regexp):
14106 Use them in the `interactive' spec. Doc fix.
14107 (multi-isearch-read-files, multi-isearch-read-matching-files):
14108 New functions.
14109 (multi-isearch-files, multi-isearch-files-regexp):
14110 Use them in the `interactive' spec. Doc fix. (Bug#4725)
14111
14112 2009-11-30 Juri Linkov <juri@jurta.org>
14113
14114 * doc-view.el (doc-view-continuous):
14115 Rename from `doc-view-continuous-mode'.
14116 (doc-view-menu): Move "Toggle display" to the top.
14117 Add submenu "Continuous" with radio buttons "Off"/"On"
14118 and "Save as Default".
14119 (doc-view-scroll-up-or-next-page)
14120 (doc-view-scroll-down-or-previous-page)
14121 (doc-view-next-line-or-next-page)
14122 (doc-view-previous-line-or-previous-page):
14123 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
14124
14125 2009-11-30 Juri Linkov <juri@jurta.org>
14126
14127 * comint.el (comint-mode-map): Rebind `M-r' from
14128 `comint-previous-matching-input' to
14129 `comint-history-isearch-backward-regexp'.
14130 Unbind `M-s' to allow global key binding `M-s'.
14131 Add menu items for `comint-history-isearch-backward' and
14132 `comint-history-isearch-backward-regexp'. (Bug#3746)
14133
14134 2009-11-30 Juri Linkov <juri@jurta.org>
14135
14136 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
14137 For def=recenter, replace `recenter' with `recenter-top-bottom'
14138 that is called with `this-command' and `last-command' let-bound
14139 to `recenter-top-bottom'. When the last `def' was not `recenter',
14140 set `recenter-last-op' to nil. (Bug#4981)
14141
14142 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
14143
14144 Minor cleanup and simplification.
14145 * filecache.el (file-cache-add-directory)
14146 (file-cache-add-directory-recursively)
14147 (file-cache-add-from-file-cache-buffer)
14148 (file-cache-delete-file-regexp, file-cache-delete-directory)
14149 (file-cache-files-matching-internal, file-cache-display): Use dolist.
14150 (file-cache-temp-minibuffer-message): Delete function.
14151 (file-cache-minibuffer-complete): Use minibuffer-message instead.
14152
14153 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
14154 Don't signal an error when bumping into EOB in tr, s, or y.
14155
14156 2009-11-29 Juri Linkov <juri@jurta.org>
14157
14158 * startup.el (fancy-about-text): Fix wording of Guided Tour.
14159 (Bug#4960)
14160
14161 * descr-text.el (describe-char-unidata-list): Use lowercase name
14162 for "Unicode name" like in other tags.
14163
14164 2009-11-29 Juri Linkov <juri@jurta.org>
14165
14166 * ediff-util.el (ediff-minibuffer-with-setup-hook):
14167 New compatibility macro.
14168 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
14169
14170 2009-11-29 Juri Linkov <juri@jurta.org>
14171
14172 Add defcustom to define the cycling order of `recenter-top-bottom'.
14173 (Bug#4981)
14174
14175 * window.el (recenter-last-op): Doc fix.
14176 (recenter-positions): New defcustom.
14177 (recenter-top-bottom): Rewrite to use `recenter-positions'.
14178 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
14179
14180 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
14181
14182 Improve integration of Tramp and ange-ftp in eshell.
14183
14184 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
14185 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
14186 (eshell/sudo): Flatten args. Let-bind `default-directory'.
14187
14188 * eshell/esh-util.el (top): Require also Tramp when compiling.
14189 (eshell-directory-files-and-attributes): Check for FTP remote
14190 connection.
14191 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
14192 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
14193 (eshell-file-attributes): Handle ".". Return `entry'.
14194
14195 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
14196 (ange-ftp-directory-files-and-attributes)
14197 (ange-ftp-real-directory-files-and-attributes): New defuns.
14198
14199 * net/tramp.el (tramp-maybe-open-connection): Open the remote
14200 shell with "exec" when possible. This prevents trailing prompts
14201 in `start-file-process'.
14202
14203 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
14204
14205 Try and remove assumptions about point-min==1.
14206 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
14207 (rng-compute-mode-line-string): Show the validation percentage in
14208 terms of the narrowed text, not the widened text.
14209 (rng-do-some-validation): Don't catch internal errors when debugging.
14210 (rng-first-error): Simplify.
14211 (rng-after-change-function): Remove work around. AFAIK the bug has
14212 been fixed a while ago.
14213
14214 * image-mode.el (image-minor-mode): Exit more gracefully when the image
14215 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
14216
14217 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
14218
14219 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
14220 `cd' doesn't always do it for us (bug#5067).
14221
14222 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
14223 on 2009-10-25 as part of some other change (bug#5067).
14224
14225 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
14226
14227 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
14228 `suspicious'.
14229 (byte-compile-warnings): Use byte-compile-warning-types.
14230 (byte-compile-save-excursion): Warn about use of set-buffer right
14231 after save-excursion.
14232
14233 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
14234 the excursion as well.
14235
14236 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
14237
14238 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
14239 providing a Tramp related implementation of "su" and "sudo".
14240 (eshell-unix-initialize): Add "su" and "sudo".
14241
14242 2009-11-27 Daiki Ueno <ueno@unixuser.org>
14243
14244 * net/socks.el (socks-send-command): Convert binary request to
14245 unibyte before sending. This fixes mishandling of some port
14246 numbers such as 129.
14247
14248 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
14249
14250 * help.el (describe-bindings-internal): Remove `interactive'.
14251
14252 * man.el (Man-completion-table): Trim a terminating "(".
14253 Remove the space between name page a section.
14254 Add the command's description on the `help-echo' property.
14255 Remove `process-connection-type' binding since it's unused by
14256 call-process.
14257 Provide completion for the "<section> <name>" format as well.
14258 (Man-default-man-entry): Remove spurious var shadowing the argument.
14259
14260 2009-11-26 Kevin Ryde <user42@zip.com.au>
14261
14262 * log-view.el: Add "Keywords: tools", since its other keywords
14263 aren't in finder-known-keywords, and following vc.el.
14264
14265 * sha1.el (sha1-string-external): default-directory "/" in case
14266 otherwise non-existent. process-connection-type pipe for touch of
14267 efficiency recommended by elisp manual. (An aside in Bug#3911.)
14268
14269 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
14270
14271 Misc coding convention cleanups.
14272 * htmlfontify.el (hfy-init-kludge-hook): Rename from
14273 hfy-init-kludge-hooks.
14274 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
14275 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
14276 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
14277 and push.
14278 (hfy-slant, hfy-weight): Use tables rather than code.
14279 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
14280 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
14281 (hfy-face-attr-for-class): Initialize `face-spec' directly.
14282 (hfy-face-to-css): Remove `nconc' with single arg.
14283 (hfy-p-to-face-lennart): Use `or'.
14284 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
14285 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
14286 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
14287 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
14288 (hfy-force-fontification): Use run-hooks.
14289
14290 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
14291
14292 Various minor fixes.
14293 * htmlfontify.el (hfy-default-header): Add toggle_invis since
14294 Javascript belongs in the header, not the body.
14295 (hfy-javascript): Remove.
14296 (hfy-fontify-buffer): Don't insert it any more.
14297 (hfy-face-at): Handle (face0 face1 face2) style face properties.
14298 Fix bug in invis handling when there were no invis props in a chunk.
14299
14300 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
14301
14302 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
14303
14304 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
14305
14306 * finder.el (finder-mode-map): Add a menu.
14307
14308 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
14309
14310 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
14311 "unsigned" structs.
14312
14313 (verilog-leap-to-head, verilog-backward-token): Handle "disable
14314 fork" statement better.
14315
14316 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
14317
14318 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
14319 (verilog-delete-auto, verilog-delete-empty-auto-pair)
14320 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
14321 Reported by Clay Douglass.
14322
14323 (verilog-auto-inst, verilog-auto-star-safe)
14324 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
14325 Fix removing "// Interfaces" when saving .* expansions.
14326 Reported by Pierre-David Pfister.
14327
14328 2009-11-26 Glenn Morris <rgm@gnu.org>
14329
14330 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
14331 the scope.
14332
14333 2009-11-25 Johan Bockgård <bojohan@gnu.org>
14334
14335 * vc-annotate.el (vc-annotate-revision-previous-to-line):
14336 Really use previous revision.
14337
14338 2009-11-25 Kevin Ryde <user42@zip.com.au>
14339
14340 * man.el (Man-completion-table): default-directory "/" in case
14341 doesn't otherwise exist. process-environment COLUMNS=999 so as
14342 not to truncate long names. process-connection-type pipe to avoid
14343 any chance of hitting the pseudo-tty TIOCGWINSZ.
14344 (man): completion-ignore-case t for friendliness and since man
14345 itself is case-insensitive on the command line.
14346 Further to Bug#3717.
14347
14348 * arc-mode.el: Add "Keywords: files", so the details in its
14349 commentary can be reached from finder-by-keyword.
14350 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
14351 editing mode, but it's comms related and sgml-mode.el has "comm"
14352 on that basis too.
14353 * textmodes/bibtex-style.el: Add "Keywords: tex".
14354 * international/isearch-x.el, international/ja-dic-cnv.el:
14355 * international/ja-dic-utl.el, international/kkc.el:
14356 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
14357
14358 2009-11-25 Juri Linkov <juri@jurta.org>
14359
14360 * man.el (Man-completion-table): Modify regexp to include
14361 section names to completion strings. (Bug#3717)
14362
14363 2009-11-25 Juri Linkov <juri@jurta.org>
14364
14365 Search recursively in gzipped files. (Bug#4982)
14366
14367 * progmodes/grep.el (grep-highlight-matches): Add new options
14368 `always' and `auto'. Doc fix.
14369 (grep-process-setup): Check `grep-highlight-matches' for
14370 `auto-detect' to determine the need to compute grep defaults.
14371 Move Windows/DOS specific --colors settings handling
14372 to `grep-compute-defaults'. Check `grep-highlight-matches'
14373 to get the value of "--color=".
14374 (grep-compute-defaults): Compute `grep-highlight-matches' when it
14375 has the value `auto-detect'. Move Windows/DOS specific settings
14376 from `grep-process-setup'.
14377 (zrgrep): New command with alias `rzgrep'.
14378
14379 2009-11-25 Juri Linkov <juri@jurta.org>
14380
14381 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
14382 to nil instead of switching off view-mode. (Bug#4896)
14383
14384 2009-11-25 Juri Linkov <juri@jurta.org>
14385
14386 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
14387
14388 * mwheel.el (mwheel-scroll-up-function)
14389 (mwheel-scroll-down-function): New defvars.
14390 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
14391 `scroll-up', and `mwheel-scroll-down-function' instead of
14392 `scroll-down'.
14393
14394 * doc-view.el (doc-view-scroll-up-or-next-page)
14395 (doc-view-scroll-down-or-previous-page): Add optional ARG.
14396 Use this ARG in the call to image-scroll-up/image-scroll-down.
14397 Change `interactive' spec to "P". Goto next/previous page only
14398 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
14399 SPC/DEL case). Doc fix.
14400 (doc-view-next-line-or-next-page)
14401 (doc-view-previous-line-or-previous-page): Rename arg to ARG
14402 for consistency.
14403 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
14404 `doc-view-scroll-up-or-next-page', and buffer-local
14405 `mwheel-scroll-down-function' to
14406 `doc-view-scroll-down-or-previous-page'.
14407
14408 2009-11-25 Juri Linkov <juri@jurta.org>
14409
14410 Provide additional default values (directories at other Dired
14411 windows) via M-n in the minibuffer of some Dired commands.
14412
14413 * dired-aux.el (dired-diff, dired-compare-directories)
14414 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
14415 `minibuffer-default' in `minibuffer-with-setup-hook'.
14416 (dired-dwim-target-directory): Find a window that displays Dired
14417 buffer instead of failing when the next window is not Dired.
14418 Use `get-window-with-predicate' to find for the next Dired window.
14419 (dired-dwim-target-defaults): New function.
14420
14421 * ediff-util.el (ediff-read-file-name):
14422 Use `dired-dwim-target-defaults' to set `minibuffer-default'
14423 in `minibuffer-with-setup-hook'.
14424
14425 2009-11-25 Juri Linkov <juri@jurta.org>
14426
14427 Provide additional default values (file name at point or at the
14428 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
14429
14430 * minibuffer.el (read-file-name-defaults): New function.
14431 (read-file-name): Reset `minibuffer-default' to nil when
14432 it duplicates initial input `insdef'.
14433 Bind `minibuffer-default-add-function' to lambda that
14434 calls `read-file-name-defaults' in `minibuffer-selected-window'.
14435 (minibuffer-insert-file-name-at-point): New command.
14436
14437 * files.el (file-name-at-point-functions): New defcustom.
14438 (find-file-default): Remove defvar.
14439 (find-file-read-args): Don't use `find-file-default'.
14440 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
14441 to `read-file-name'.
14442 (find-file-literally): Use `read-file-name' with
14443 `confirm-nonexistent-file-or-buffer'.
14444
14445 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
14446
14447 * dired.el (dired-read-dir-and-switches):
14448 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
14449 to `read-file-name'.
14450 (dired-file-name-at-point): New function.
14451 (dired-mode): Add hook `dired-file-name-at-point' to
14452 `file-name-at-point-functions'.
14453
14454 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
14455
14456 Really make the *Completions* window soft-dedicated (bug#5030).
14457 * window.el (window--display-buffer-2): Add `dedicated' argument.
14458 (display-buffer): Pass it when needed so the dedicated flag is set
14459 after calling set-window-buffer, which would otherwise reset it.
14460
14461 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
14462
14463 * progmodes/meta-mode.el (meta-complete-symbol):
14464 * progmodes/etags.el (complete-tag):
14465 * mail/mailabbrev.el (mail-abbrev-complete-alias):
14466 Use completion-in-region.
14467
14468 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
14469 (dabbrev-completion): Use completion-in-region.
14470 (dabbrev--abbrev-at-point): Simplify regexp.
14471
14472 * abbrev.el (abbrev--before-point): Use word-motion functions
14473 if :regexp is not specified (bug#5031).
14474
14475 * subr.el (string-prefix-p): New function.
14476
14477 * man.el (Man-completion-cache): New var.
14478 (Man-completion-table): Use it.
14479
14480 * vc.el (vc-print-log-internal): Make `limit' optional for better
14481 compatibility (e.g. with vc-annotate.el).
14482
14483 2009-11-24 Kevin Ryde <user42@zip.com.au>
14484
14485 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
14486 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
14487
14488 * emacs-lisp/elint.el (elint-add-required-env): Better error message
14489 when .el source file not found or other error.
14490
14491 2009-11-24 Markus Triska <markus.triska@gmx.at>
14492
14493 * linum.el (linum-update-window): Ignore intangible (bug#4996).
14494
14495 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
14496
14497 Handle the [back] button properly (bug#4979).
14498 * descr-text.el (describe-text-properties): Add a `buffer' argument.
14499 Use help-setup-xref, help-buffer, and with-help-window.
14500 (describe-char): Add `buffer' argument.
14501 Pass proper command to help-setup-xref. Don't meddle with
14502 help-xref-stack-item directly.
14503 (describe-text-category): Use with-help-window and help-buffer.
14504
14505 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
14506 for the displayed buffer (bug#4887).
14507
14508 * man.el (Man-completion-table): New function.
14509 (man): Use it.
14510
14511 2009-11-24 David Reitter <david.reitter@gmail.com>
14512
14513 * vc-git.el (vc-git-registered): Use checkout directory (where
14514 .git is) rather than the file's directory and a relative path spec
14515 to work around a bug in git.
14516
14517 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
14518
14519 Improve handling of processes on remote hosts.
14520
14521 * eshell/esh-util.el (eshell-path-env): New defvar.
14522 (eshell-parse-colon-path): New defun.
14523 (eshell-file-attributes): Use `eshell-parse-colon-path'.
14524
14525 * eshell/esh-ext.el (eshell-search-path):
14526 Use `eshell-parse-colon-path'.
14527 (eshell-remote-command): Remove argument HANDLER.
14528 (eshell-external-command): Check for FTP remote connection.
14529
14530 * eshell/esh-proc.el (eshell-gather-process-output):
14531 Use `file-truename', in order to start also symlinked files.
14532 Apply `start-file-process' instead of `start-process'.
14533 Shorten `command' to the local file name part.
14534
14535 * eshell/em-cmpl.el (eshell-complete-commands-list):
14536 Use `eshell-parse-colon-path'.
14537
14538 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
14539
14540 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
14541 to `eshell-directory-change-hook'.
14542
14543 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
14544
14545 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
14546 because it could be enabled automatically if view-read-only is non-nil.
14547
14548 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
14549
14550 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
14551 made on 2009-11-22.
14552
14553 2009-11-24 Glenn Morris <rgm@gnu.org>
14554
14555 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
14556 deleted variable bookmark-bmenu-bookmark-column.
14557
14558 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
14559
14560 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
14561
14562 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
14563
14564 * net/browse-url.el (browse-url-filename-alist): On Windows, add
14565 two slashes to the "file:" prefix.
14566 (browse-url-file-url): De-munge Cygwin filenames before passing
14567 them to Windows browser.
14568 (browse-url-default-windows-browser): Use call-process.
14569
14570 2009-11-23 Juri Linkov <juri@jurta.org>
14571
14572 Implement DocView Continuous mode. (Bug#4896)
14573 * doc-view.el (doc-view-continuous-mode): New defcustom.
14574 (doc-view-mode-map): Bind C-n/<down> to
14575 `doc-view-next-line-or-next-page', C-p/<up> to
14576 `doc-view-previous-line-or-previous-page'.
14577 (doc-view-next-line-or-next-page)
14578 (doc-view-previous-line-or-previous-page): New commands.
14579
14580 2009-11-23 Juri Linkov <juri@jurta.org>
14581
14582 Implement Isearch in comint input history. (Bug#3746)
14583 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
14584 `isearch-mode-hook'.
14585 (comint-history-isearch): New defcustom.
14586 (comint-history-isearch-backward)
14587 (comint-history-isearch-backward-regexp): New commands.
14588 (comint-history-isearch-message-overlay): New buffer-local variable.
14589 (comint-history-isearch-setup, comint-history-isearch-end)
14590 (comint-goto-input, comint-history-isearch-search)
14591 (comint-history-isearch-message, comint-history-isearch-wrap)
14592 (comint-history-isearch-push-state)
14593 (comint-history-isearch-pop-state): New functions.
14594
14595 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
14596
14597 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
14598 return.
14599 (tramp-handle-make-symbolic-link)
14600 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
14601 Quote file names.
14602 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
14603 (tramp-handle-process-file): Use it.
14604
14605 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
14606
14607 * window.el (move-to-window-line-last-op): Remove.
14608 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
14609
14610 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
14611
14612 Make M-r mirror the new cycling behavior of C-l.
14613 * window.el (move-to-window-line-last-op): New var.
14614 (move-to-window-line-top-bottom): New command.
14615 (global-map): Bind M-r move-to-window-line-top-bottom.
14616
14617 2009-11-23 Sven Joachim <svenjoac@gmx.de>
14618
14619 * dired-x.el (dired-guess-shell-alist-default):
14620 Support xz format. (Bug#4953)
14621
14622 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
14623
14624 * emulation/viper-cmd.el: Use viper-last-command-char instead of
14625 last-command-char/last-command-event.
14626 (viper-prefix-arg-value): Do correct conversion of event-char for
14627 XEmacs.
14628
14629 * emulation/viper-util.el, emulation/viper.el:
14630 Use viper-last-command-char instead of
14631 last-command-char/last-command-event.
14632
14633 * ediff-init.el, ediff-mult.el, ediff-util.el:
14634 Replace last-command-char and last-command-event
14635 with (ediff-last-command-char) everywhere.
14636
14637 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
14638 created in fundamental mode.
14639
14640 * ediff.el (ediff-version): Revert the change of interactive-p to
14641 called-interactively-p.
14642
14643 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
14644
14645 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
14646 generation from word-movement command names.
14647
14648 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
14649
14650 * cus-start.el (all): Add native condition for font-use-system-font.
14651
14652 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
14653
14654 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
14655 Correct the patch from 2009-11-18. (Bug#3910)
14656
14657 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
14658
14659 * progmodes/subword.el: Rename from lisp/subword.el.
14660
14661 * subword.el: Rename to progmodes/subword.el.
14662
14663 * Makefile.in (ELCFILES): Adapt to subword.el move.
14664
14665 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14666 Stefan Monnier <monnier@iro.umontreal.ca>
14667
14668 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
14669 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
14670 (bookmark-bmenu-show-filenames): Use push.
14671 (bookmark-bmenu-hide-filenames): Use local var instead of
14672 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
14673 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
14674 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
14675 filenames now that the bookmark names are always available.
14676
14677 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
14678
14679 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
14680 (bookmark-search-pattern): Move and leave unbound.
14681 (bookmark-bmenu-mode-map): Change binding.
14682 (bookmark-read-search-input): Simplify.
14683 Don't use text-char-description. Don't error on non-char events.
14684 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
14685 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
14686 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
14687 Use a local var for the timer.
14688 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
14689 (i.e. bookmark-bmenu-search).
14690
14691 2009-11-21 Glenn Morris <rgm@gnu.org>
14692
14693 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
14694
14695 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
14696
14697 * net/browse-url.el (browse-url-default-windows-browser):
14698 Use cygstart for cygwin.
14699
14700 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
14701
14702 * bookmark.el: Formatting and doc fixes only:
14703 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
14704 (bookmark-bmenu-search): Wrap to fit within 80 columns.
14705 Minor grammar and punctuation fixes in doc string.
14706 (bookmark-read-search-input): Adjust to fit within 80 columns.
14707
14708 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
14709
14710 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
14711 (c-backward-into-nomenclature): Adapt to subword renaming.
14712
14713 * subword.el (subword-forward, subword-backward, subword-mark)
14714 (subword-kill, subword-backward-kill, subword-transpose)
14715 (subword-downcase, subword-upcase, subword-capitalize)
14716 (subword-forward-internal, subword-backward-internal):
14717 Rename from forward-subword, backward-subword, mark-subword,
14718 kill-subword, backward-kill-subword, transpose-subwords,
14719 downcase-subword, upcase-subword, capitalize-subword,
14720 forward-subword-internal, backward-subword-internal.
14721
14722 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14723
14724 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
14725 New options.
14726 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
14727 New vars.
14728 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
14729 (bookmark-bmenu-filter-alist-by-regexp)
14730 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
14731 (bookmark-bmenu-search): New command.
14732 (bookmark-bmenu-mode-map): Bind it.
14733
14734 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
14735
14736 * progmodes/cc-cmds.el: declare-functioned forward-subword and
14737 backward-subword to quit the byte-compiler.
14738
14739 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
14740
14741 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
14742
14743 * progmodes/cc-cmds.el (c-update-modeline)
14744 (c-forward-into-nomenclature, c-backward-into-nomenclature):
14745 Refer to subword.el functions instead of cc-subword.el.
14746
14747 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
14748 subword.el functions instead of cc-subword.el.
14749
14750 * progmodes/cc-subword.el: Rename to subword.el.
14751 * subword.el: Rename from progmodes/cc-subword.el.
14752 (subword-mode-map): Rename from c-subword-mode-map.
14753 (subword-mode): Rename from c-subword-mode.
14754 (global-subword-mode): New global minor mode.
14755 (forward-subword): Rename from c-forward-subword.
14756 (backward-subword): Rename from c-backward-subword.
14757 (mark-subword): Rename from c-mark-subword.
14758 (kill-subword): Rename from c-kill-subword.
14759 (backward-kill-subword): Rename from c-backward-kill-subword.
14760 (transpose-subwords): Rename from c-tranpose-subword.
14761 (downcase-subword): Rename from c-downcase-subword.
14762 (capitalize-subword): Rename from c-capitalize-subword.
14763 (forward-subword-internal): Rename from c-forward-subword-internal.
14764 (backward-subword-internal): Rename from c-backward-subword-internal.
14765
14766 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
14767
14768 * vc.el (vc-deduce-fileset): Allow non-state changing operations
14769 from a dired buffer.
14770 (vc-dired-deduce-fileset): New function.
14771 (vc-root-diff, vc-print-root-log): Use it.
14772
14773 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
14774 nil LIMIT argument to vc-print-log-internal.
14775
14776 2009-11-20 Glenn Morris <rgm@gnu.org>
14777
14778 * Makefile.in (ELCFILES): Regenerate.
14779
14780 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
14781
14782 * calc/calc.el (calc-set-mode-line):
14783 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14784 (math-format-number): Rename `math-format-complement-signed' to
14785 `math-format-twos-complement'.
14786
14787 * calc/calc-bin.el (math-format-twos-complement): Rename from
14788 math-format-complement-signed.
14789 (calc-radix): Rename `calc-complement-signed-mode' to
14790 `calc-twos-complement-mode'.
14791 (calc-octal-radix, calc-hex-radix): Add an argument for
14792 two's complement.
14793
14794 * calc/calc-embed.el (calc-embedded-mode-vars):
14795 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14796
14797 * calc/calc-ext.el (calc-init-extensions):
14798 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14799 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
14800
14801 * calc/calc-units.el (math-build-units-table-buffer):
14802 Let `calc-twos-complement-mode' be nil.
14803
14804 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
14805 entries.
14806
14807 * calc/calc-vec.el (calcFunc-vunpack):
14808 * calc/calc-aent.el (calc-do-calc-eval):
14809 * calc/calc-forms.el (math-format-date):
14810 * calc/calc-graph.el (calc-graph-plot):
14811 * calc/calc-math.el (math-use-emacs-fn):
14812 * calc/calccomp.el (math-compose-expr):
14813 Let `calc-twos-complement-mode' be nil.
14814
14815 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
14816
14817 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
14818 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
14819 * minibuffer.el (completion-in-region-functions): New hook.
14820 (completion-in-region): New function.
14821 * emacs-lisp/lisp.el (lisp-complete-symbol):
14822 * pcomplete.el (pcomplete-std-complete): Use it.
14823
14824 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
14825
14826 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
14827 (latex-complete-alist): New vars.
14828 (latex-string-prefix-p, latex-complete-bibtex-keys)
14829 (latex-complete-envnames, latex-complete-refkeys)
14830 (latex-complete-data): New functions.
14831 (latex-complete, latex-indent-or-complete): New commands.
14832
14833 * window.el (display-buffer-mark-dedicated): New var.
14834 (display-buffer): Obey it.
14835 * minibuffer.el (minibuffer-completion-help): Use it.
14836
14837 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
14838
14839 * filecache.el (file-cache-add-file): Use push and cons.
14840 (file-cache-delete-file-regexp): Use push.
14841 (file-cache-complete): Use completion-in-region.
14842
14843 * simple.el (with-wrapper-hook): Fix thinko.
14844
14845 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
14846 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
14847 Use with-current-buffer and string-to-number.
14848 (hfy-fallback-colour-values): Use assoc-string.
14849 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
14850 (hfy-face-at): Remove unused var `found-face'.
14851 (hfy-compile-stylesheet): Remove unused var `css'.
14852 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
14853 and `orig-buffer'.
14854 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
14855 Use with-current-buffer.
14856 (hfy-text-p): Use expand-file-name and fewer setq.
14857
14858 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
14859
14860 * htmlfontify.el, hfy-cmap.el: New files.
14861
14862 2009-11-19 Juri Linkov <juri@jurta.org>
14863
14864 * minibuffer.el (completions-format): New defcustom.
14865 (completion--insert-strings): Implement vertical format.
14866
14867 * simple.el (switch-to-completions): Move point to the first
14868 completion when point was at the beginning of the buffer.
14869
14870 2009-11-19 Juri Linkov <juri@jurta.org>
14871
14872 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
14873
14874 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
14875
14876 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
14877
14878 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
14879 (mail-signature): Change default to t.
14880 (mail-from-style): Deprecate `system-default' value.
14881 (mail-insert-from-field): For default value of mail-from-style,
14882 default to `angles' unless `angles' needs quoting and `parens'
14883 does not.
14884 (mail-citation-prefix-regexp): Use citation regexp from
14885 message-mode.
14886
14887 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
14888
14889 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
14890 Set variables for computing the prompt for reading password.
14891
14892 2009-11-19 Glenn Morris <rgm@gnu.org>
14893
14894 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
14895
14896 * textmodes/flyspell.el (sgml-lexical-context): Declare.
14897
14898 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
14899 (newsticker-treeview-listwindow-height): Fix custom type.
14900
14901 2009-11-19 Kenichi Handa <handa@m17n.org>
14902
14903 * descr-text.el (describe-char-padded-string): Compose with TAB
14904 only if there's a font for CH.
14905 (describe-char): Fix the condition for detecting a trivial composition.
14906
14907 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
14908
14909 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
14910 more accurate version of the regexp. (Bug#3910)
14911
14912 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
14913
14914 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
14915
14916 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
14917
14918 * font-setting.el (font-use-system-font): Declare for byte-compiler.
14919 (font-setting-change-default-font): Fix typo in docstring.
14920
14921 2009-11-18 Alan Mackenzie <acm@muc.de>
14922
14923 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
14924
14925 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
14926
14927 * font-setting.el (font-use-system-font): Move ...
14928
14929 * cus-start.el (all): ... to here.
14930
14931 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
14932
14933 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
14934 Don't set `ad-return-value' if `ad-do-it' doesn't.
14935
14936 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
14937 modification time.
14938
14939 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
14940
14941 * menu-bar.el: Put "Use system font" in Option-menu.
14942 (menu-bar-options-save): Add font-use-system-font.
14943
14944 * loadup.el: If feature system-font-setting or font-render-setting is
14945 there, load font-setting.
14946
14947 * Makefile.in (ELCFILES): Add font-settings.el.
14948 * font-setting.el: New file.
14949
14950 2009-11-17 Glenn Morris <rgm@gnu.org>
14951
14952 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
14953
14954 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
14955 Preserve point in the list buffer. (Bug#4939)
14956 Use point-at-eol.
14957 (newsticker--treeview-list-update-highlight)
14958 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
14959
14960 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
14961
14962 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
14963 Remove.
14964
14965 * calc/calc-ext.el (calc-init-extensions): Remove references to
14966 symclip.
14967
14968 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
14969
14970 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
14971 * calc/calc-help.el (calc-b-prefix-help): Remove references to
14972 `calc-symclip'.
14973
14974 2009-11-16 Kevin Ryde <user42@zip.com.au>
14975
14976 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
14977 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
14978
14979 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
14980 (lm-keywords-list): Allow comma-only separator like "foo,bar".
14981 Ignore trailing spaces by omit-nulls to split-string (fixing
14982 regression from Emacs 21 due to the incompatible split-string
14983 change). (Bug #4928.)
14984
14985 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
14986
14987 * vc.el (vc-log-show-limit): Default to 2000.
14988 (vc-print-log-internal): Insert buttons to request more entries
14989 when limiting the output.
14990
14991 * vc-sccs.el (vc-sccs-print-log):
14992 * vc-rcs.el (vc-rcs-print-log):
14993 * vc-cvs.el (vc-cvs-print-log):
14994 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
14995 LIMIT is non-nil.
14996
14997 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
14998
14999 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
15000 error when `tramp-gvfs-dbus-event-vector' is set.
15001 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
15002
15003 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
15004
15005 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
15006
15007 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
15008
15009 * net/dbus.el (dbus-unregister-service): New defun.
15010 (dbus-register-property): Register the handlers of
15011 "org.freedesktop.DBus.Properties" for SERVICE.
15012 (dbus-property-handler): Fix docstring.
15013
15014 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
15015
15016 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
15017 Quote doc string reference in defvaralias as it is not in special form.
15018 (byte-compile-output-docform): Doc fix.
15019
15020 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
15021
15022 * calc/calc.el (math-2-word-size, math-half-2-word-size)
15023 (calc-complement-signed-mode): New variables.
15024 (calc-set-mode-line): Add indicator for twos-complements.
15025 (math-format-number): Format twos-complement notation.
15026
15027 * calc/calc-bin.el (calc-word-size): Reset the variables
15028 `math-2-word-size' and `math-half-2-word-size'.
15029 (math-format-complement-signed, math-symclip, calcFunc-symclip)
15030 (calc-symclip): New functions.
15031
15032 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
15033
15034 * calc/calc-embed.el (calc-embedded-mode-vars):
15035 Add `calc-complement-signed-mode' to the list of modes.
15036
15037 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
15038 (calc-b-oper-keys): Add `calc-symclip' to list.
15039
15040 * calc/calc-ext.el (math-read-number-fancy): Read complement
15041 signed numbers.
15042 (calc-init-extensions): Add binding for `calc-symclip'.
15043 Add autoload for `calcFunc-symclip' and `calc-symclip'.
15044
15045 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
15046 `calc-symclip'.
15047 (calc-modes-menu): Add item for twos complement mode.
15048
15049 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
15050
15051 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
15052
15053 * register.el (jump-to-register, insert-register): Handle Semantic
15054 tags. From commented-out advice in semantic/senator.el.
15055
15056 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
15057
15058 * vc.el (vc-log-show-limit): New variable.
15059 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
15060 when using a prefix argument.
15061 (vc-print-log-internal): Add new argument LIMIT.
15062
15063 * vc-svn.el (vc-svn-print-log):
15064 * vc-mtn.el (vc-mtn-print-log):
15065 * vc-hg.el (vc-hg-print-log):
15066 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
15067 pass it to the log command when set. Make the BUFFER argument
15068 non-optional.
15069
15070 * vc-sccs.el (vc-sccs-print-log):
15071 * vc-rcs.el (vc-rcs-print-log):
15072 * vc-git.el (vc-git-print-log):
15073 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
15074 ignore it. Make the BUFFER argument non-optional
15075
15076 * bindings.el (mode-line-buffer-identification): Do not purecopy.
15077
15078 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
15079
15080 * dired.el (dired-mode-map): Move encryption items to "Operate"
15081 menu (Bug#4703).
15082
15083 * strokes.el (strokes-update-window-configuration): Make strokes
15084 buffer current before erasing (Bug#4906).
15085
15086 2009-11-15 Juri Linkov <juri@jurta.org>
15087
15088 * simple.el (set-mark-default-inactive): Add :type, :group
15089 and :version. (Bug#4876)
15090
15091 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
15092
15093 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
15094 (archive-unique-fname): ... here. (Bug#4929)
15095
15096 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
15097
15098 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
15099 with a real fix.
15100
15101 * novice.el (disabled-command-function): Add useful args.
15102 Setup the help buffer so that [back] works.
15103 Remove redundant call to help-mode.
15104 (disabled-command-function): Use `case'.
15105 (en/disable-command): New function extracted from enable-command.
15106 (enable-command, disable-command): Use it.
15107
15108 2009-11-14 Glenn Morris <rgm@gnu.org>
15109
15110 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
15111 constants. (Bug#4913)
15112
15113 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
15114
15115 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
15116
15117 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
15118 defined in C that have no doc-strings. (Bug#1063)
15119
15120 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
15121
15122 * cus-edit.el (data, files):
15123 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
15124
15125 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
15126
15127 * simple.el (shell-command): Doc fix (Bug#4891).
15128
15129 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
15130
15131 2009-11-14 Glenn Morris <rgm@gnu.org>
15132
15133 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
15134 statements for vc-diff, emerge-quit, and rmail-cease-edit.
15135 If they are already loaded, eval-after-load will do the right thing.
15136
15137 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
15138 compiling.
15139
15140 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
15141
15142 * simple.el (x-selection-owner-p): Declare.
15143 (read-mail-command): Use custom radio type rather than choice.
15144 (completion-no-auto-exit): Doc fix.
15145
15146 * custom.el (defgroup):
15147 * epg-config.el (epg): Doc fixes.
15148
15149 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
15150
15151 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
15152 * international/ccl.el (define-ccl-program): Do not purecopy the
15153 docstring, defconst does it anyway.
15154
15155 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
15156
15157 * add-log.el (add-change-log-entry): Avoid displaying the changelog
15158 a second time.
15159
15160 * x-dnd.el (x-dnd-maybe-call-test-function):
15161 * window.el (split-window-vertically):
15162 * whitespace.el (whitespace-help-on):
15163 * vc-rcs.el (vc-rcs-consult-headers):
15164 * userlock.el (ask-user-about-lock-help)
15165 (ask-user-about-supersession-help):
15166 * type-break.el (type-break-force-mode-line-update):
15167 * time-stamp.el (time-stamp-conv-warn):
15168 * terminal.el (te-set-output-log, te-more-break, te-filter)
15169 (te-sentinel, terminal-emulator):
15170 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
15171 (term-write-input-ring, term-check-source, term-start-output-log):
15172 (term-display-buffer-line, term-dynamic-list-completions):
15173 (term-ansi-make-term, serial-term):
15174 * subr.el (selective-display):
15175 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
15176 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
15177 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
15178 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
15179 (speedbar-remove-localized-speedbar-support)
15180 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
15181 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
15182 (speedbar-buffers-line-directory):
15183 * simple.el (shell-command-on-region, append-to-buffer)
15184 (prepend-to-buffer):
15185 * shadowfile.el (shadow-save-todo-file):
15186 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
15187 (scroll-bar-maybe-set-window-start):
15188 * sb-image.el (speedbar-image-dump):
15189 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
15190 (load-save-place-alist-from-file):
15191 * ps-samp.el (ps-print-message-from-summary):
15192 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
15193 (ps-background-image, ps-begin-job, ps-do-despool):
15194 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
15195 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
15196 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
15197 (pr-call-process, pr-file-list, pr-interface-save):
15198 * novice.el (disabled-command-function)
15199 (enable-command, disable-command):
15200 * mouse.el (mouse-buffer-menu-alist):
15201 * mouse-copy.el (mouse-kill-preserving-secondary):
15202 * macros.el (kbd-macro-query):
15203 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
15204 * informat.el (batch-info-validate):
15205 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
15206 * hippie-exp.el (try-expand-dabbrev-visible):
15207 * help-mode.el (help-make-xrefs):
15208 * help-fns.el (describe-variable):
15209 * generic-x.el (bat-generic-mode-run-as-comint):
15210 * finder.el (finder-mouse-select):
15211 * find-dired.el (find-dired-sentinel):
15212 * filesets.el (filesets-file-close):
15213 * files.el (list-directory):
15214 * faces.el (list-faces-display, describe-face):
15215 * facemenu.el (list-colors-display):
15216 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
15217 * epg.el (epg--process-filter, epg-cancel):
15218 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
15219 (epa--read-signature-type):
15220 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
15221 (emerge-file-names):
15222 * ehelp.el (electric-helpify):
15223 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
15224 * ediff-vers.el (rcs-ediff-view-revision):
15225 * ediff-util.el (ediff-setup):
15226 * ediff-mult.el (ediff-append-custom-diff):
15227 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
15228 (ediff-wordify):
15229 * echistory.el (Electric-command-history-redo-expression):
15230 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
15231 * disp-table.el (describe-display-table):
15232 * dired.el (dired-find-buffer-nocreate):
15233 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
15234 * dabbrev.el (dabbrev--same-major-mode-p):
15235 * chistory.el (list-command-history):
15236 * apropos.el (apropos-documentation):
15237 * allout.el (allout-obtain-passphrase):
15238 (allout-copy-exposed-to-buffer):
15239 (allout-verify-passphrase): Use with-current-buffer.
15240
15241 2009-11-13 Glenn Morris <rgm@gnu.org>
15242
15243 * Makefile.in (ELCFILES): Regenerate.
15244
15245 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
15246
15247 * net/dbus.el (dbus-registered-objects-table): Rename from
15248 `dbus-registered-functions-table', because it contains also properties.
15249 (dbus-unregister-object): Unregister also properties.
15250 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
15251 Use a timeout of 500 msec, in order to not block.
15252 (dbus-register-property, dbus-property-handler): New defuns.
15253
15254 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
15255
15256 * simple.el (minibuffer-default-add-completions): Drop deprecated
15257 4th arg.
15258
15259 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
15260
15261 * textmodes/artist.el (artist-mouse-choose-operation):
15262 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
15263 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
15264 (artist-compute-up-event-key): New function.
15265 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
15266
15267 2009-11-13 Kenichi Handa <handa@m17n.org>
15268
15269 * language/japan-util.el: Make sure that the value of jisx0208
15270 property is jisx0208 character.
15271
15272 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
15273
15274 * international/mule.el (auto-coding-regexp-alist): Only purecopy
15275 car or each item, not the whole list.
15276
15277 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
15278
15279 * minibuffer.el (minibuffer-completion-help):
15280 Use minibuffer-hide-completions.
15281
15282 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
15283
15284 * dired.el (dired-save-positions, dired-restore-positions): New funs.
15285 (dired-revert): Use them (bug#4880).
15286
15287 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
15288
15289 * tooltip.el (tooltip-frame-parameters): Undo previous change.
15290
15291 2009-11-12 Juri Linkov <juri@jurta.org>
15292
15293 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
15294 New functions.
15295 (find-file-literally-at-point): Alias of `ffap-literally'.
15296
15297 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
15298
15299 * textmodes/ispell.el (ispell-skip-region-alist):
15300 * textmodes/css-mode.el (auto-mode-alist):
15301 * progmodes/compile.el (auto-mode-alist):
15302 * international/mule.el (ctext-non-standard-encodings-alist)
15303 (ctext-non-standard-encodings-regexp):
15304 * simple.el (shell-command-switch, text-read-only):
15305 * replace.el (occur-mode-map):
15306 * paths.el (rmail-file-name):
15307 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
15308 * find-file.el (ff-special-constructs):
15309 * files.el (file-name-handler-alist):
15310 * composite.el: Purecopy strings.
15311
15312 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
15313
15314 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
15315
15316 * widget.el (define-widget): Purecopy the docstring.
15317 * international/mule-cmds.el (charset): Do not purecopy the
15318 docstring here, define-widget does it.
15319
15320 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
15321 * textmodes/bibtex-style.el (auto-mode-alist):
15322 * progmodes/inf-lisp.el (inferior-lisp-prompt):
15323 * progmodes/compile.el (compile-command):
15324 * language/korea-util.el (default-korean-keyboard):
15325 * international/mule-conf.el (file-coding-system-alist):
15326 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
15327 * tooltip.el (tooltip-frame-parameters):
15328 * newcomment.el (comment-end, comment-padding):
15329 * dired.el (dired-trivial-filenames):
15330 * comint.el (comint-file-name-prefix): Purecopy initial values.
15331
15332 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
15333
15334 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
15335 (tramp-advice-minibuffer-electric-tilde): Unload advices via
15336 `tramp-unload'.
15337 (tramp-advice-make-auto-save-file-name)
15338 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
15339 after removing the advice.
15340
15341 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
15342
15343 * progmodes/grep.el (grep-regexp-alist):
15344 * international/mule-cmds.el (iso-2022-control-alist):
15345 * emacs-lisp/timer.el (timer-duration-words):
15346 * subr.el (version-separator, version-regexp-alist):
15347 * minibuffer.el (completion-styles-alist):
15348 * faces.el (face-attribute-name-alist, list-faces-sample-text):
15349 Change defvars to defconsts.
15350
15351 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
15352 * loadup.el ("international/mule-conf"): Load the byte compiled version.
15353 * international/mule-conf.el: Allow to be byte compiled.
15354
15355 * international/mule.el (define-charset): Purecopy props.
15356 (load-with-code-conversion): Purecopy doc string and file name.
15357 (put-charset-property): Purecopy strings.
15358 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
15359
15360 * international/mule-cmds.el (register-input-method): Purecopy arguments.
15361 (define-char-code-property): Correctly purecopy the table.
15362
15363 * international/ccl.el (define-ccl-program): Purecopy the docstring.
15364
15365 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
15366
15367 * subr.el (add-hook): Purecopy strings.
15368 (eval-after-load): Purecopy load-history-regexp and the form.
15369
15370 * custom.el (custom-declare-group): Purecopy load-file-name.
15371
15372 * subr.el (menu-bar-separator): New defconst.
15373 * net/eudc.el (eudc-tools-menu):
15374 * international/mule-cmds.el (set-coding-system-map)
15375 (mule-menu-keymap):
15376 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
15377 * vc-hooks.el (vc-menu-map):
15378 * replace.el (occur-mode-map):
15379 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
15380 (menu-bar-edit-menu, menu-bar-goto-menu)
15381 (menu-bar-custom-menu, menu-bar-showhide-menu)
15382 (menu-bar-options-menu, menu-bar-tools-menu)
15383 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
15384 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
15385 (menu-bar-help-menu):
15386 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
15387 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
15388
15389 * term/x-win.el (x-gtk-stock-map):
15390 * progmodes/vera-mode.el (auto-mode-alist):
15391 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
15392 (inferior-lisp-program, inferior-lisp-load-command):
15393 * progmodes/hideshow.el (hs-special-modes-alist):
15394 * progmodes/gud.el (same-window-regexps):
15395 * progmodes/grep.el (grep-program, find-program, xargs-program):
15396 * net/telnet.el (same-window-regexps):
15397 * net/rlogin.el (same-window-regexps):
15398 * language/ethiopic.el (font-ccl-encoder-alist):
15399 * vc-sccs.el (vc-sccs-master-templates):
15400 * vc-rcs.el (vc-rcs-master-templates):
15401 * subr.el (cl-assertion-failed):
15402 * simple.el (next-error-overlay-arrow-position):
15403 * lpr.el (lpr-command):
15404 * locate.el (locate-ls-subdir-switches):
15405 * info.el (same-window-regexps, info)
15406 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
15407 * image-mode.el (image-mode, auto-mode-alist):
15408 * hippie-exp.el (hippie-expand-ignore-buffers):
15409 * format.el (format-alist):
15410 * find-dired.el (find-ls-subdir-switches, find-grep-options)
15411 (find-name-arg):
15412 * facemenu.el (facemenu-keybindings):
15413 * dired.el (dired-listing-switches, dired-chown-program):
15414 * diff.el (diff-switches, diff-command):
15415 * cus-edit.el (same-window-regexps):
15416 * bindings.el (mode-line-mule-info)
15417 (mode-line-buffer-identification): Purecopy strings.
15418
15419 2009-11-11 Juri Linkov <juri@jurta.org>
15420
15421 * simple.el (dired-get-filename) <declare-function>:
15422 Tell the byte-compiler about dired-get-filename.
15423 (shell-command): In Dired mode, get filename from the current line
15424 as the default value.
15425
15426 2009-11-10 Glenn Morris <rgm@gnu.org>
15427
15428 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
15429 * calendar/holidays.el, progmodes/cperl-mode.el:
15430 Update x-popup-menu declarations.
15431
15432 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
15433 (list-load-path-shadows): Use dolist.
15434 (list-load-path-shadows): Use with-current-buffer.
15435
15436 2009-11-10 Juri Linkov <juri@jurta.org>
15437
15438 * minibuffer.el (read-file-name): Support a list of default values
15439 in `default-filename'. Use the first file name where only one
15440 element is required. Doc fix.
15441
15442 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
15443
15444 * net/dbus.el (dbus-unregister-object): Release service, if no
15445 other method is registered for it.
15446
15447 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
15448
15449 * bookmark.el (bookmark-completing-read): Sort bookmark names if
15450 bookmark-sort-flag is non-nil (Bug#4653).
15451
15452 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
15453
15454 * emulation/cua-base.el: Add CUA property to some CC mode commands
15455 (Bug#4100).
15456
15457 2009-11-08 Kevin Ryde <user42@zip.com.au>
15458
15459 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
15460 at end of sentence (Bug#4818).
15461
15462 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
15463
15464 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15465 Handle "see declaration of" MSFT statements (Bug#4100).
15466
15467 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
15468
15469 * net/tramp.el (tramp-advice-make-auto-save-file-name)
15470 (tramp-advice-file-expand-wildcards): Unload via
15471 `ad-remove-advice'.
15472
15473 * net/trampver.el: Update release number.
15474
15475 2009-11-08 Kevin Ryde <user42@zip.com.au>
15476
15477 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
15478 `ad-do-it'.
15479
15480 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
15481
15482 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
15483 in order to keep context in SELinux.
15484
15485 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
15486
15487 * dired-aux.el (dired-query): Place cursor in echo area and allow
15488 C-g.
15489
15490 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
15491 menu item if not on a directory (Bug#4701).
15492
15493 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
15494
15495 Sync with Tramp 2.1.17.
15496
15497 * net/tramp.el (tramp-handle-copy-directory): Don't use
15498 `file-remote-p' (due to compatibility).
15499
15500 * net/tramp-compat.el (tramp-compat-copy-directory)
15501 (tramp-compat-delete-directory): New defuns.
15502
15503 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
15504 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
15505 Use `tramp-compat-delete-directory'.
15506
15507 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
15508 (tramp-smb-handle-delete-directory):
15509 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
15510
15511 * net/trampver.el: Update release number.
15512
15513 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
15514
15515 * tar-mode.el (tar-copy): Call write-region on the right buffer
15516 (Bug#4857).
15517
15518 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
15519 by hand, if necessary (Bug#4878).
15520
15521 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
15522
15523 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
15524 align size column (Bug#4839).
15525
15526 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
15527 statement.
15528
15529 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
15530
15531 * progmodes/ld-script.el (auto-mode-alist):
15532 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
15533
15534 * cus-face.el (custom-declare-face): Purecopy face spec.
15535
15536 2009-11-06 Kenichi Handa <handa@m17n.org>
15537
15538 * international/uni-bidi.el: Re-generated.
15539 * international/uni-category.el: Re-generated.
15540 * international/uni-combining.el: Re-generated.
15541 * international/uni-mirrored.el: Re-generated.
15542
15543 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
15544
15545 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
15546 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
15547 (tex-start-options, slitex-run-command, latex-run-command)
15548 (tex-run-command, tex-directory):
15549 * textmodes/ispell.el (ispell-html-skip-alists)
15550 (ispell-tex-skip-alists, ispell-tex-skip-alists):
15551 * textmodes/fill.el (adaptive-fill-first-line-regexp):
15552 (adaptive-fill-regexp):
15553 * textmodes/dns-mode.el (auto-mode-alist):
15554 * progmodes/python.el (interpreter-mode-alist):
15555 * progmodes/etags.el (tags-compression-info-list):
15556 * progmodes/etags.el (tags-file-name):
15557 * net/browse-url.el (browse-url-galeon-program)
15558 (browse-url-firefox-program):
15559 * mail/sendmail.el (mail-signature-file)
15560 (mail-citation-prefix-regexp):
15561 * international/mule-conf.el (eight-bit):
15562 * international/latexenc.el (latex-inputenc-coding-alist):
15563 * international/fontset.el (x-pixel-size-width-font-regexp):
15564 * emacs-lisp/warnings.el (warning-type-format):
15565 * emacs-lisp/trace.el (trace-buffer):
15566 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
15567 (emacs-lisp-mode-map):
15568 * calendar/holidays.el (holiday-solar-holidays)
15569 (holiday-bahai-holidays, holiday-islamic-holidays)
15570 (holiday-christian-holidays, holiday-hebrew-holidays)
15571 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
15572 (hebrew-holidays-1, holiday-oriental-holidays)
15573 (holiday-general-holidays):
15574 * x-dnd.el (x-dnd-known-types):
15575 * tool-bar.el (tool-bar):
15576 * startup.el (site-run-file):
15577 * shell.el (shell-dumb-shell-regexp):
15578 * rfn-eshadow.el (file-name-shadow-tty-properties)
15579 (file-name-shadow-properties):
15580 * paths.el (remote-shell-program, news-directory):
15581 * mouse.el ([C-down-mouse-3]):
15582 * menu-bar.el (menu-bar-tools-menu):
15583 * jka-cmpr-hook.el (jka-compr-load-suffixes)
15584 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
15585 (jka-compr-compression-info-list):
15586 * isearch.el (search-whitespace-regexp):
15587 * image-file.el (image-file-name-extensions):
15588 * find-dired.el (find-ls-option):
15589 * files.el (directory-listing-before-filename-regexp)
15590 (directory-free-space-args, insert-directory-program)
15591 (list-directory-brief-switches, magic-fallback-mode-alist)
15592 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
15593 (automount-dir-prefix):
15594 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
15595 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
15596 (face-font-registry-alternatives, face-font-registry-alternatives)
15597 (face-font-family-alternatives):
15598 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
15599 (facemenu-foreground-menu, facemenu-face-menu):
15600 * epa-hook.el (epa-file-name-regexp):
15601 * dnd.el (dnd-protocol-alist):
15602 * textmodes/rst.el (auto-mode-alist):
15603 * button.el (default-button): Purecopy strings.
15604
15605 2009-11-06 Glenn Morris <rgm@gnu.org>
15606
15607 * Makefile.in (ELCFILES): Update.
15608
15609 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
15610
15611 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
15612 * emacs-lisp/levents.el: Move to obsolete/levents.el.
15613
15614 * nxml/xsd-regexp.el (xsdre-gen-categories):
15615 * nxml/xmltok.el (xmltok-parse-entity):
15616 * nxml/rng-parse.el (rng-parse-validate-file):
15617 * nxml/rng-maint.el (rng-format-manual)
15618 (rng-manual-output-force-new-line):
15619 * nxml/rng-loc.el (rng-save-schema-location-1):
15620 * nxml/rng-cmpct.el (rng-c-parse-file):
15621 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
15622 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
15623
15624 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
15625
15626 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
15627 Remove extra save-excursions and make-variable-buffer-local's.
15628 Suggested by Stefan Monnier.
15629
15630 (verilog-getopt-file, verilog-module-inside-filename-p)
15631 (verilog-set-define): Merge GNU 1.35 and repair changes from
15632 switching to using with-current-buffer.
15633
15634 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
15635 being treated as a number and confusing AUTORESET.
15636 Reported by Dan Dever.
15637
15638 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
15639 Add verilog-auto-ignore-concat to fix backward compatibility with
15640 older verilog-modes. Reported by Dan Katz.
15641
15642 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
15643 containing closing anchors "...$".
15644
15645 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
15646 Reported by Wade Smith.
15647
15648 (verilog-batch-execute-func): Comment on function usage.
15649
15650 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
15651
15652 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
15653 for labels.
15654
15655 (verilog-label-re, verilog-calc-1): Support proper indent of named
15656 asserts.
15657
15658 (verilog-backward-token, verilog-basic-complete-re)
15659 (verilog-beg-of-statement, verilog-indent-re): Support proper
15660 indent of the assert statement at the beginning of a block of text.
15661
15662 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
15663 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
15664 tokens as begins.
15665
15666 2009-11-05 Glenn Morris <rgm@gnu.org>
15667
15668 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
15669 Emacs 19. (Bug#1531)
15670 (byte-compile-fix-header): Update for the above change.
15671 Drop test for epoch::version.
15672
15673 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
15674 * cus-dep.el (custom-make-dependencies):
15675 * finder.el (finder-compile-keywords):
15676 Use autoload-rubric's feature argument.
15677
15678 * calendar/diary-lib.el (top-level): Make load behave more like require.
15679
15680 * vc-git.el (vc-git-stash-map): Move definition before use.
15681
15682 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
15683
15684 * custom.el (custom-declare-group): Purecopy standard-value.
15685 (custom-declare-group): Purecopy custom-prefix.
15686
15687 * international/mule.el (load-with-code-conversion):
15688 Call do-after-load-evaluation unconditionally.
15689
15690 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
15691
15692 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
15693
15694 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
15695
15696 2009-11-04 Glenn Morris <rgm@gnu.org>
15697
15698 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
15699 (byte-compile-compatibility): Remove option.
15700 (byte-compile-close-variables, byte-compile-fix-header)
15701 (byte-compile-insert-header, byte-compile-output-docform)
15702 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
15703 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
15704 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
15705 (byte-compile-insert, byte-compile-defun):
15706 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
15707 (byte-defop-compiler19): Remove.
15708 Without byte-compile-compatibility, the 'emacs19-opcode property is not
15709 used by anything. Replace all calls with byte-defop-compiler.
15710
15711 2009-11-04 Juri Linkov <juri@jurta.org>
15712
15713 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
15714 (menu-bar-options-menu): Don't quote the `prop' arg of
15715 `menu-bar-make-mm-toggle'.
15716
15717 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
15718
15719 * calendar/calendar.el (cal-loaddefs):
15720 * calendar/diary-lib.el (diary-loaddefs):
15721 * calendar/holidays.el (hol-loaddefs):
15722 * eshell/esh-module.el (esh-groups): Load rather than require.
15723
15724 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
15725
15726 * calendar/todo-mode.el (todo-add-category): Don't hardcode
15727 point-min==1.
15728 (todo-top-priorities): Only display-buffer when called interactively.
15729 (todo-item-start): Don't save excursion point.
15730 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
15731 (todo-insert-item-here, todo-file-item, todo-remove-item):
15732 Adjust uses of todo-item-start and todo-item-end.
15733
15734 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
15735 (autoload-rubric): Don't use any more.
15736
15737 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
15738 and only put a prop if it is non-nil.
15739
15740 2009-11-03 Juri Linkov <juri@jurta.org>
15741
15742 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
15743 (menu-bar-options-menu): Fix list quoting (Bug#4429).
15744
15745 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
15746 and "Menu" to make top-level menu item visually one unit (like
15747 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
15748 multi-word menu items). Fix :help string for quit-window.
15749
15750 2009-11-03 Glenn Morris <rgm@gnu.org>
15751
15752 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
15753 (byte-compile-file-form-define-abbrev-table)
15754 (byte-compile-file-form-custom-declare-variable)
15755 (byte-compile-variable-ref, byte-compile-defvar):
15756 Whether or not a warning is enabled should only affect whether we issue
15757 the warning, not whether or not we collect the relevant data.
15758 Eg warnings can be turned on and off throughout the course of a file.
15759
15760 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
15761 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
15762
15763 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
15764
15765 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
15766 * play/mpuz.el (mpuz-create-buffer):
15767 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
15768 (lm-print-y,s,noise, lm-print-w0, lm-init):
15769 * play/gomoku.el (gomoku-prompt-for-move):
15770 * play/fortune.el (fortune-in-buffer):
15771 * play/dissociate.el (dissociated-press):
15772 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
15773 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
15774 * mail/supercite.el (sc-eref-show):
15775 * mail/smtpmail.el (smtpmail-send-it):
15776 * mail/rmailsum.el (rmail-summary-next-labeled-message)
15777 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
15778 (rmail-summary-undelete-many, rmail-summary-rmail-update)
15779 (rmail-summary-goto-msg, rmail-summary-expunge)
15780 (rmail-summary-get-new-mail, rmail-summary-search-backward)
15781 (rmail-summary-add-label, rmail-summary-output-menu)
15782 (rmail-summary-output-body):
15783 * mail/rfc822.el (rfc822-addresses):
15784 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
15785 * mail/mailpost.el (post-mail-send-it):
15786 * mail/hashcash.el (hashcash-generate-payment):
15787 * mail/feedmail.el (feedmail-run-the-queue)
15788 (feedmail-queue-send-edit-prompt-help-first)
15789 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
15790 (feedmail-deduce-address-list):
15791 * eshell/esh-ext.el (eshell-remote-command):
15792 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
15793 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
15794 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
15795 (viper-save-string-in-file, viper-valid-marker):
15796 * emulation/viper-keym.el (viper-toggle-key):
15797 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
15798 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
15799 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
15800 * emulation/viper-cmd.el (viper-exec-form-in-vi)
15801 (viper-exec-form-in-emacs, viper-brac-function):
15802 * emulation/viper.el (viper-delocalize-var):
15803 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
15804 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
15805 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
15806 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
15807 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
15808 * emulation/edt.el (edt-electric-helpify):
15809 * emulation/cua-rect.el (cua--rectangle-aux-replace):
15810 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
15811 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
15812 (cua-indent-to-global-mark-column):
15813 * calendar/diary-lib.el (calendar-mark-1):
15814 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
15815 Use with-current-buffer.
15816 * emulation/viper.el (viper-delocalize-var): Use dolist.
15817
15818 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
15819
15820 * comint.el (comint-replace-by-expanded-history-before-point):
15821 Replace !! with the previous input string literally (Bug#1795).
15822
15823 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
15824
15825 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
15826 to be made up of whitespace.
15827
15828 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
15829
15830 * minibuffer.el (read-file-name): Don't use file dialogs for
15831 remote directories (Bug#99).
15832
15833 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
15834
15835 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
15836
15837 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
15838
15839 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
15840 instead of deleting the window or frame.
15841
15842 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
15843
15844 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
15845 Support face colors.
15846
15847 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
15848 New function. Support face colors (Bug#1168).
15849 (tex-common-initialization): Use it.
15850
15851 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
15852 mode allows it (Bug#1168).
15853
15854 2009-10-31 Juri Linkov <juri@jurta.org>
15855
15856 * facemenu.el (list-colors-display): Don't mark buffer as
15857 modified (Bug#3948).
15858
15859 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
15860
15861 * international/mule-diag.el (list-character-sets-1):
15862 Minor message fix (Bug#3526).
15863
15864 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
15865 Fix face property (Bug#4834).
15866 (etags-list-tags, etags-tags-apropos-additional)
15867 (etags-tags-apropos, tags-select-tags-table): Add follow-link
15868 property.
15869
15870 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
15871 items.
15872
15873 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
15874
15875 * textmodes/two-column.el (2C-split):
15876 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
15877 * textmodes/tex-mode.el (tex-set-buffer-directory):
15878 * textmodes/spell.el (spell-region, spell-string):
15879 * textmodes/reftex.el (reftex-erase-buffer):
15880 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
15881 * textmodes/reftex-toc.el (reftex-toc-promote-action):
15882 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
15883 (reftex-select-item):
15884 * textmodes/reftex-ref.el (reftex-label-info-update)
15885 (reftex-offer-label-menu):
15886 * textmodes/reftex-index.el (reftex-index-change-entry)
15887 (reftex-index-phrases-info):
15888 * textmodes/reftex-global.el (reftex-create-tags-file)
15889 (reftex-save-all-document-buffers, reftex-ensure-write-access):
15890 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
15891 (reftex-view-crossref-from-bibtex):
15892 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
15893 (reftex-extract-bib-entries-from-thebibliography)
15894 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
15895 * textmodes/refbib.el (r2b-capitalize-title):
15896 (r2b-convert-buffer, r2b-help):
15897 * textmodes/page-ext.el (pages-directory)
15898 (pages-directory-goto-with-mouse):
15899 * textmodes/bibtex.el (bibtex-validate-globally):
15900 * textmodes/bib-mode.el (bib-capitalize-title):
15901 * textmodes/artist.el (artist-clear-buffer, artist-system):
15902 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
15903 (local-set-scheme-interaction-buffer, xscheme-process-filter)
15904 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
15905 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
15906 (xscheme-send-control-g-interrupt, xscheme-start-process)
15907 (xscheme-process-sentinel, xscheme-cd):
15908 * progmodes/verilog-mode.el (verilog-read-always-signals)
15909 (verilog-set-define, verilog-getopt-file)
15910 (verilog-module-inside-filename-p):
15911 * progmodes/sh-script.el:
15912 * progmodes/python.el (python-pdbtrack-get-source-buffer)
15913 (python-pdbtrack-grub-for-buffer, python-execute-file):
15914 * progmodes/octave-inf.el (inferior-octave):
15915 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
15916 (idlwave-shell-compile-helper-routines, idlwave-set-local)
15917 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
15918 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
15919 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
15920 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
15921 (idlwave-shell-filter, idlwave-shell-examine-highlight)
15922 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
15923 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
15924 (idlwave-shell-examine-display, idlwave-shell-run-region)
15925 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
15926 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
15927 * progmodes/idlw-help.el (idlwave-help-get-special-help)
15928 (idlwave-help-get-help-buffer):
15929 * progmodes/gud.el (gud-basic-call, gud-find-class)
15930 (gud-tooltip-activate-mouse-motions-if-enabled):
15931 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
15932 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
15933 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
15934 (ebrowse-tags-next-file):
15935 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
15936 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
15937 (ebnf-eps-finish-and-write):
15938 * progmodes/cpp.el (cpp-edit-save):
15939 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
15940 * progmodes/cc-defs.el (c-emacs-features):
15941 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
15942 (antlr-directory-dependencies):
15943 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
15944 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
15945 (ada-find-any-references, ada-make-filename-from-adaname)
15946 (ada-make-body-gnatstub):
15947 * obsolete/rnews.el (news-list-news-groups):
15948 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
15949 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
15950 * net/rcirc.el (rcirc-debug):
15951 * net/newst-treeview.el (newsticker--treeview-list-add-item)
15952 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
15953 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
15954 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
15955 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
15956 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
15957 (newsticker--treeview-list-clear-highlight)
15958 (newsticker--treeview-list-update-highlight)
15959 (newsticker--treeview-list-highlight-start)
15960 (newsticker--treeview-tree-update-highlight)
15961 (newsticker--treeview-get-selected-item)
15962 (newsticker-treeview-mark-list-items-old)
15963 (newsticker--treeview-set-current-node):
15964 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
15965 * net/newst-backend.el (newsticker--get-news-by-funcall)
15966 (newsticker--get-news-by-wget, newsticker--image-get)
15967 (newsticker--image-sentinel):
15968 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
15969 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
15970 (eudc-ph-close-session):
15971 * net/eudc.el (eudc-save-options):
15972 * language/thai-word.el (thai-update-word-table):
15973 * language/japan-util.el (japanese-string-conversion):
15974 * international/titdic-cnv.el (tsang-quick-converter)
15975 (ziranma-converter, ctlau-converter):
15976 * international/mule-cmds.el (describe-language-environment):
15977 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
15978 (skkdic-convert-postfix, skkdic-convert-prefix):
15979 (skkdic-convert-okuri-nasi, skkdic-convert):
15980 * emacs-lisp/re-builder.el (reb-update-overlays):
15981 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
15982 * emacs-lisp/gulp.el (gulp-send-requests):
15983 * emacs-lisp/find-gc.el (trace-call-tree):
15984 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
15985 (eieio-describe-generic):
15986 * emacs-lisp/eieio-base.el (eieio-persistent-read):
15987 * emacs-lisp/edebug.el (edebug-outside-excursion):
15988 * emacs-lisp/debug.el (debugger-make-xrefs):
15989 * emacs-lisp/cust-print.el (custom-prin1-to-string):
15990 * emacs-lisp/chart.el (chart-new-buffer):
15991 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
15992 Use with-current-buffer.
15993 * textmodes/artist.el (artist-system): Don't call
15994 copy-sequence on a fresh string.
15995 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
15996
15997 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
15998
15999 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
16000 is no item to edit. (Bug#4820)
16001 (todo-top-priorities): Restore point and restore narrowing in Todo
16002 buffer. (Bug#4820)
16003
16004 2009-10-31 Glenn Morris <rgm@gnu.org>
16005
16006 * net/ange-ftp.el (top-level): Don't require dired when compiling.
16007 (comint-last-output-start, comint-last-input-start)
16008 (comint-last-input-end): Don't defvar when compiling.
16009 (ange-ftp-process-file): Use bound-and-true-p.
16010
16011 * pcmpl-rpm.el (top-level): Move provide statement to end.
16012 (pcmpl-rpm): Remove unused custom group.
16013
16014 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
16015
16016 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
16017
16018 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
16019 (byte-compile-warnings): Add `constants' as an option.
16020 (byte-compile-callargs-warn, byte-compile-arglist-warn)
16021 (display-call-tree): Update for byte-compile-fdefinition possibly
16022 returning `(macro lambda ...)'. (Bug#4778)
16023 (byte-compile-variable-ref, byte-compile-setq-default):
16024 Respect `constants' member of byte-compile-warnings.
16025
16026 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
16027
16028 * vc-bzr.el (vc-bzr-revision-keywords): New var.
16029 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
16030 to "submit:".
16031
16032 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
16033
16034 * textmodes/ispell.el (ispell-skip-region-alist):
16035 * international/mule-conf.el (eight-bit):
16036 * international/fontset.el (font-encoding-alist):
16037 * startup.el (pure-space-overflow-message):
16038 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
16039 * paths.el (gnus-nntp-service, rmail-spool-directory)
16040 (term-file-prefix):
16041 * files.el (save-some-buffers-action-alist):
16042 * cmuscheme.el (same-window-buffer-names):
16043 * ielm.el (same-window-buffer-names):
16044 * shell.el (same-window-buffer-names):
16045 * mail/sendmail.el (same-window-buffer-names):
16046 * progmodes/inf-lisp.el (same-window-buffer-names):
16047 * bindings.el (mode-line-client)
16048 (mode-line-column-line-number-mode-map):
16049 * language/tibetan.el (tibetan-precomposition-rule-regexp)
16050 (tibetan-precomposed-regexp): Purecopy string arguments.
16051
16052 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16053
16054 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
16055 (calcDigit-nondigit):
16056 * calc/calc-yank.el (calc-copy-to-buffer):
16057 * calc/calc-units.el (calc-invalidate-units-table):
16058 * calc/calc-trail.el (calc-trail-yank):
16059 * calc/calc-store.el (calc-insert-variables):
16060 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
16061 * calc/calc-prog.el (calc-read-parse-table):
16062 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
16063 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
16064 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
16065 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
16066 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
16067 (calc-graph-name, calc-graph-find-command, calc-graph-view)
16068 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
16069 * calc/calc-ext.el (calc-realign):
16070 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
16071 (calc-embedded-finish-edit, calc-embedded-make-info)
16072 (calc-embedded-finish-command, calc-embedded-stack-change):
16073 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
16074
16075 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
16076 shell-dynamic-complete-filename in preference to
16077 comint-dynamic-complete-filename.
16078
16079 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
16080 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
16081 Don't consider whether the display supports colors.
16082 (bookmark-import-new-list): Use dolist.
16083 (bookmark-bmenu-mode-map): Move initialization into declaration.
16084 (bookmark-bmenu-list): Use dolist, simplify.
16085 (bookmark-show-all-annotations): Use save-selected-window and dolist.
16086 (menu-bar-final-items): Use push.
16087
16088 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
16089
16090 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
16091 it works on remote files.
16092 (vc-hg-diff): Don't pass any `--cwd' argument.
16093
16094 2009-10-27 Kevin Ryde <user42@zip.com.au>
16095
16096 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
16097 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
16098 (Further to Bug#3921).
16099
16100 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
16101
16102 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
16103 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
16104 calling `tramp-imap-put-file'. Add file size to the call.
16105 (tramp-imap-get-file-entries): Compute also user name, file size,
16106 and date.
16107 (tramp-imap-handle-insert-directory): Insert uid and gid.
16108 (tramp-imap-handle-file-attributes): Transform uid and gid
16109 according to `id-format'.
16110 (tramp-imap-put-file): New optional parameter SIZE. Encode file
16111 size in header X-Size.
16112
16113 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
16114
16115 * simple.el (transpose-subr): Give clearer error when the mark
16116 is not set. (Bug#4807)
16117
16118 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
16119
16120 * net/tramp.el (tramp-perl-file-truename): New defconst.
16121 Perl code contributed by yary <not.com@gmail.com> (tiny change).
16122 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
16123 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
16124 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
16125
16126 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
16127 Ignore `dired-call-process'.
16128 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
16129
16130 2009-10-26 Julian Scheid <julians37@gmail.com>
16131
16132 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
16133 (tramp-get-remote-readlink): New defun.
16134 (tramp-handle-file-truename): Use it.
16135 (tramp-handle-file-exists-p): Check file-attributes cache, assume
16136 file exists if cache value present.
16137 (tramp-check-cached-permissions): New defun.
16138 (tramp-handle-file-readable-p): Use it.
16139 (tramp-handle-file-writable-p): Likewise.
16140 (tramp-handle-file-executable-p): Likewise.
16141 (tramp-handle-file-name-all-completions): Try using Perl to get
16142 partial completions. When perl not available, combine `cd' and
16143 `ls' into single remote operation and use shell expansion to get
16144 partial remote directory contents. Set `file-exists-p' cache for
16145 directory and any files returned by ls. Change cache handling to
16146 support partial directory contents. Use error message emitted by
16147 remote `cd' or Perl code for local tramp-error.
16148 (tramp-do-copy-or-rename-file-directly): Avoid separate
16149 tramp-send-command-and-check call.
16150 (tramp-handle-process-file): Merge three remote ops into one.
16151 Do not flush all caches when `process-file-side-effects' is set.
16152 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
16153 file-attributes shows uid/gid to be set already.
16154
16155 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
16156
16157 * textmodes/tex-mode.el (tex-dvi-view-command)
16158 (tex-show-queue-command, tex-open-quote):
16159 * progmodes/ruby-mode.el (auto-mode-alist)
16160 (interpreter-mode-alist): Purecopy strings.
16161
16162 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
16163
16164 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
16165 string for the hook, keymap and abbrev table.
16166
16167 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
16168
16169 * x-dnd.el (x-dnd-xdnd-to-action):
16170 * startup.el (fancy-startup-text, fancy-about-text): Change to
16171 defconst from defvar.
16172
16173 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
16174
16175 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
16176 Purecopy initialization strings.
16177
16178 * mail/sendmail.el (mail-header-separator)
16179 (mail-personal-alias-file):
16180 * mail/rmail.el (rmail-default-dont-reply-to-names)
16181 (rmail-ignored-headers, rmail-retry-ignored-headers)
16182 (rmail-highlighted-headers, rmail-secondary-file-directory)
16183 (rmail-secondary-file-regexp):
16184 * files.el (null-device, file-name-invalid-regexp)
16185 (locate-dominating-stop-dir-regexp)
16186 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
16187 (interpreter-mode-alist): Use mapcar instead of mapc.
16188
16189 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
16190
16191 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
16192 (completion-ignored-extensions):
16193 (debug-ignored-errors): Purecopy strings.
16194
16195 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
16196
16197 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
16198 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
16199 (pcomplete--here): Use push.
16200
16201 * subr.el (all-completions): Declare the 4th arg obsolete.
16202
16203 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
16204
16205 * pcomplete.el (pcomplete-unquote-argument-function): New var.
16206 (pcomplete-unquote-argument): New function.
16207 (pcomplete--common-suffix): Always pay attention to case.
16208 (pcomplete--table-subvert): Quote and unquote the text.
16209 (pcomplete--common-quoted-suffix): New function.
16210 (pcomplete-std-complete): Use it and pcomplete-begin.
16211
16212 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
16213 we're inside a dedicated or minibuffer window.
16214
16215 2009-10-24 Karl Fogel <kfogel@red-bean.com>
16216
16217 * bookmark.el: Update documentation, especially documentation
16218 of `bookmark-alist' and of the bookmark file format.
16219 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
16220
16221 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
16222
16223 * mail/emacsbug.el (report-emacs-bug): Clarify that the
16224 keybindings apply to the mail buffer (Bug#4003). Shrink help
16225 window to buffer.
16226
16227 * whitespace.el (whitespace-mode, whitespace-newline-mode)
16228 (global-whitespace-mode, global-whitespace-newline-mode)
16229 (whitespace-toggle-options, global-whitespace-toggle-options):
16230 Doc fix (Bug#3660).
16231
16232 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
16233 of xmltok-start before the end tag was inserted (Bug#2840).
16234
16235 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
16236 patterns that are preceded by an open-paren (Bug#1320).
16237
16238 2009-10-24 Sven Joachim <svenjoac@gmx.de>
16239
16240 * files.el (delete-directory): Delete symlinks to directories with
16241 delete-file (Bug#4739).
16242
16243 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
16244
16245 * vc.el (vc-backend-for-registration): Rename from
16246 vc-get-backend-for-registration. Update callers.
16247
16248 * international/mule-cmds.el (set-language-info-alist):
16249 Purecopy lang-env.
16250 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
16251 (charset): Purecopy the name.
16252 (define-char-code-property): Purecopy string arguments.
16253
16254 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
16255 Purecopy string arguments.
16256
16257 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
16258 * ediff-hook.el (menu-bar-ediff-menu):
16259 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
16260 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
16261
16262 2009-10-24 Glenn Morris <rgm@gnu.org>
16263
16264 * comint.el (comint-dynamic-list-completions):
16265 * term.el (term-dynamic-list-completions): Use choose-completion rather
16266 than obsolete alias mouse-choose-completion.
16267
16268 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
16269 file-cache-choose-completion.
16270 (file-cache-choose-completion): Handle an optional event argument.
16271 (file-cache-mouse-choose-completion): Make it an obsolete alias.
16272
16273 * progmodes/octave-mod.el (octave-complete-symbol):
16274 Use choose-completion if mouse-choose-completion is ever removed.
16275
16276 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
16277 use.
16278
16279 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
16280 compiler.
16281
16282 * vc-hooks.el (vc-responsible-backend): Fix declaration.
16283
16284 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
16285
16286 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
16287 Ignore `pred' now that we receive one.
16288 Handle test-completion specially.
16289
16290 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
16291
16292 * vc.el (vc-responsible-backend): Throw an error if not backend is
16293 found. Remove the REGISTER argument. Move the code dealing with
16294 REGISTER ...
16295 (vc-get-backend-for-registration): ... here. New function.
16296 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
16297 of vc-responsible-backend, pass the file name instead of the
16298 directory name.
16299
16300 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
16301
16302 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
16303 New funs.
16304 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
16305 (pcomplete-comint-setup): Don't modify a global var via
16306 accidental side-effects.
16307 (pcomplete-shell-setup): Adjust call accordingly.
16308 (pcomplete-parse-comint-arguments): Use push.
16309
16310 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
16311
16312 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
16313 Allow uncapitalized info node names (Bug#3921).
16314
16315 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
16316 to the DEBUG file (Bug#3781).
16317
16318 2009-10-23 Jari Aalto <jari.aalto@cante.net>
16319
16320 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
16321 dictionary entry (Bug#4579).
16322
16323 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
16324
16325 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
16326 from `rfn-eshadow-update-overlay-hook' when unloading.
16327 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
16328 "rsyncc". Adjust doc string.
16329 (tramp-temp-buffer-file-name): New buffer-local defvar.
16330 (tramp-handle-insert-file-contents, tramp-handle-write-region):
16331 Keep temporary file when indicated by method ("rsync" and
16332 "rsyncc").
16333 (tramp-handle-write-region): Handle APPEND.
16334 (tramp-delete-temp-file-function): New defun. Added to
16335 `kill-buffer-hook'.
16336
16337 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
16338
16339 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
16340
16341 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
16342
16343 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
16344 (color-name-rgb-alist, tty-standard-colors)
16345 (tty-color-mode-alist): Change to defconst.
16346
16347 * simple.el (mark-inactive): Purecopy message.
16348
16349 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
16350 (global-map, yank-menu):
16351 * textmodes/ispell.el (ispell-menu-map):
16352 * net/eudc.el (eudc-tools-menu):
16353 * international/mule-cmds.el (describe-language-environment-map)
16354 (setup-language-environment-map, set-coding-system-map)
16355 (mule-menu-keymap):
16356 * vc-hooks.el (vc-menu-entry, vc-menu-map):
16357 * replace.el (occur-mode-map):
16358 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
16359
16360 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
16361
16362 * calc/calc.el (math-read-number, math-read-number-simple):
16363 Use `save-match-data'.
16364
16365 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
16366
16367 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
16368 rather than fiddling with global-map bindings, since it should only
16369 affect per-terminal settings.
16370 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
16371
16372 * minibuffer.el (completion-table-with-terminator): Allow to specify
16373 the terminator-regexp.
16374
16375 * simple.el (switch-to-completions): Look for *Completions* in other
16376 frames as well.
16377
16378 * pcomplete.el: Allow the use of completion-tables.
16379 (pcomplete-std-complete): New command.
16380 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
16381 (pcomplete--here): Use a function for `form' rather than an expression,
16382 so it can be byte-compiled.
16383 (pcomplete-here, pcomplete-here*): Adjust accordingly.
16384 Add edebug declaration.
16385 (pcomplete-show-completions): Remove unused var `curbuf'.
16386 (pcomplete-do-complete, pcomplete-stub):
16387 Don't assume `completions' is a list of strings any more.
16388
16389 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
16390
16391 * find-dired.el (find-name-arg): Fix typo in docstring.
16392
16393 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
16394
16395 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
16396 (pcmpl-linux-fs-types): Same, and update to new modules layout.
16397
16398 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
16399 pcomplete-entries.
16400
16401 * comint.el (comint-read-input-ring, comint-write-input-ring)
16402 (comint-substitute-in-file-name)
16403 (comint-dynamic-complete-as-filename)
16404 (comint-dynamic-simple-complete)
16405 (comint-dynamic-list-filename-completions)
16406 (comint-dynamic-list-completions)
16407 (comint-redirect-results-list-from-process): Minor simplifications.
16408
16409 2009-10-21 Kevin Ryde <user42@zip.com.au>
16410
16411 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
16412 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
16413 the first form. And insert a blank line after ";;; Code" since
16414 that's usual style. (Bug#4612)
16415
16416 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
16417
16418 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
16419
16420 * minibuffer.el (completion-table-with-terminator): Properly implement
16421 boundaries, in case `terminator' appears in the suffix.
16422 (completion--embedded-envvar-table): Don't return boundaries if
16423 there's no valid completion. Simplify.
16424 (completion-file-name-table): New completion table extracted from
16425 completion--file-name-table.
16426 (completion--file-name-table): Use it.
16427 (read-file-name-predicate): Declare obsolete.
16428 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
16429 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
16430 completion-file-name-table, and use the `pred' argument.
16431 * files.el (locate-file-completion-table): Use the `pred' arg rather
16432 than read-file-name-predicate.
16433 (abbreviate-file-name): Use \` rather than ^ for BOS.
16434
16435 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
16436
16437 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
16438 vc-responsible-backend to register, it causes problems.
16439
16440 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
16441
16442 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
16443
16444 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
16445
16446 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
16447 (tramp-smb-handle-file-attributes): Use it.
16448 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
16449 (tramp-smb-handle-insert-directory): Use `mapc' rather than
16450 `mapcar'. Use `tramp-smb-get-stat-capability'.
16451 Add `dired-filename' text properties.
16452 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
16453 (tramp-smb-maybe-open-connection): Simplify check for smbclient
16454 version.
16455
16456 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
16457
16458 * subr.el (read-key-delay): Reduce to 0.01.
16459 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
16460 (bug#4751).
16461
16462 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
16463
16464 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
16465
16466 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
16467 (Info-menu): Remove unused vars `last' and `completions'.
16468 (Info-index-nodes): Remove unused var `node'.
16469
16470 * info.el (Info-complete-menu-item): Use complete-with-action.
16471
16472 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
16473
16474 Make vc-annotate work through copies and renames.
16475 * vc-annotate.el (vc-annotate-extract-revision-at-line):
16476 Return the file name too.
16477 (vc-annotate-revision-at-line)
16478 (vc-annotate-find-revision-at-line)
16479 (vc-annotate-revision-previous-to-line)
16480 (vc-annotate-show-log-revision-at-line): Update to get the file
16481 name from vc-annotate-extract-revision-at-line.
16482 (vc-annotate-show-diff-revision-at-line-internal): Change the
16483 argument to mean whether to show a file diff or not. Get the file
16484 name from vc-annotate-extract-revision-at-line.
16485 (vc-annotate-show-diff-revision-at-line):
16486 Update vc-annotate-show-diff-revision-at-line call.
16487 (vc-annotate-warp-revision): Add an optional file argument.
16488
16489 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
16490 (vc-git-annotate-extract-revision-at-line): Also return the file
16491 name if found.
16492
16493 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
16494 command. Remove unused code.
16495 (vc-hg-annotate-re): Update to match --follow output.
16496 (vc-hg-annotate-extract-revision-at-line): Also return the file
16497 name if found.
16498
16499 * vc.el: Update annotate-extract-revision-at-line documentation.
16500
16501 2009-10-18 Kevin Ryde <user42@zip.com.au>
16502
16503 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
16504 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
16505
16506 * net/browse-url.el (browse-url): Identify alist with "consp and
16507 not functionp" and let all other things go down the `apply' leg,
16508 as suggested by Stefan. (Further to bug#4531.)
16509
16510 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
16511
16512 * minibuffer.el (read-file-name): Check for repeat before putting
16513 a default argument in file-name-history (Bug#4657).
16514
16515 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
16516 read syntax (Bug#4737).
16517
16518 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
16519
16520 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
16521
16522 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
16523 (html-tag-alist, html-tag-help): Add descriptions for undocumented
16524 entries and make note of obsolete tags.
16525
16526 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
16527
16528 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
16529
16530 2009-10-18 Glenn Morris <rgm@gnu.org>
16531
16532 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
16533 grep, so that binary files (eg international/uni-bidi.el) can match.
16534 Remove test for "UnicodeData" files, since it is hopefully unnecessary
16535 now, and in any case the file header format has changed.
16536
16537 2009-10-17 Glenn Morris <rgm@gnu.org>
16538
16539 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
16540 (flyspell-get-word, flyspell-large-region)
16541 (flyspell-auto-correct-previous-word): Doc/error message fixes.
16542
16543 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
16544
16545 * Makefile.in (ELCFILES): Add ede/shell.
16546
16547 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
16548
16549 * term/common-win.el (x-colors): Purecopy it.
16550
16551 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
16552
16553 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
16554 permissive for when the buffer is empty.
16555 (tar-header-block-tokenize): Decode the username and groupname.
16556 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
16557
16558 2009-10-17 Eric Ludlam <zappo@gnu.org>
16559
16560 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
16561 contains multibyte characters, choose first applicable coding
16562 system automatically.
16563
16564 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
16565
16566 * international/mule-cmds.el (select-safe-coding-system): If the file
16567 has a coding cookie, use it regardless of any other setting (bug#4712).
16568
16569 2009-10-17 Glenn Morris <rgm@gnu.org>
16570
16571 * foldout.el (foldout-mouse-swallow-events):
16572 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
16573
16574 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
16575 (dired-keep-marker-copy, dired-keep-marker-hardlink)
16576 (dired-keep-marker-symlink, dired-dwim-target)
16577 (dired-copy-preserve-time): Do not autoload these defcustoms.
16578
16579 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
16580 messages from messing up the file coding. (Bug#4623)
16581
16582 2009-10-17 Jari Aalto <jari.aalto@cante.net>
16583
16584 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
16585 if no match is found for the current dictionary. (Bug#4578)
16586
16587 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
16588 optional, since that is how it is documented, and this is often called
16589 with a nil argument. (Bug#4577)
16590 (flyspell-external-point-words, flyspell-auto-correct-word)
16591 (flyspell-correct-word-before-point, flyspell-word-search-forward)
16592 (flyspell-word-search-backward): Remove nil argument in calls to
16593 flyspell-get-word, since it is not needed now.
16594
16595 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
16596
16597 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
16598
16599 2009-10-16 Glenn Morris <rgm@gnu.org>
16600
16601 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
16602
16603 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
16604
16605 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
16606 (ange-ftp-file-size): New function.
16607 (ange-ftp-file-attributes): Use it.
16608
16609 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
16610
16611 * net/tramp-smb.el (tramp-smb-version): New defvar.
16612 (tramp-smb-maybe-open-connection): Use it, in order to avoid
16613 repeated checks.
16614
16615 2009-10-16 Glenn Morris <rgm@gnu.org>
16616
16617 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
16618 Maybe copy some custom properties from old to new name. (Bug#4706)
16619
16620 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
16621
16622 * subr.el (error, sit-for, start-process-shell-command)
16623 (start-file-process-shell-command): Set the calling convention
16624 after the function definition.
16625
16626 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
16627
16628 * subr.el (error, sit-for, start-process-shell-command)
16629 (start-file-process-shell-command): Use the new
16630 set-advertised-calling-convention feature.
16631
16632 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
16633
16634 * international/ucs-normalize.el (ucs-normalize-version):
16635 Change to 1.2.
16636 (check-range): Adjust for Unicode 5.2.
16637
16638 2009-10-15 Juri Linkov <juri@jurta.org>
16639
16640 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
16641 to the `menu-item' format.
16642
16643 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
16644
16645 * net/tramp.el (tramp-replace-environment-variables): Do not fail
16646 if the environment variable does not exist.
16647
16648 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16649 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
16650 parameter.
16651 (tramp-smb-handle-add-name-to-file)
16652 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
16653 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
16654 (tramp-smb-handle-file-attributes)
16655 (tramp-smb-do-file-attributes-with-stat)
16656 (tramp-smb-handle-file-local-copy)
16657 (tramp-smb-handle-insert-directory)
16658 (tramp-smb-handle-make-directory)
16659 (tramp-smb-handle-make-directory-internal)
16660 (tramp-smb-handle-make-symbolic-link)
16661 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
16662 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
16663 (tramp-smb-maybe-open-connection): Apply the changed parameters.
16664 (tramp-smb-read-file-entry): Read Disk names in compressed format.
16665 Handle long file names.
16666 (tramp-smb-get-cifs-capabilities): Check, whether the connection
16667 process is running.
16668 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
16669 Read share names with "-g" option.
16670
16671 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
16672
16673 * net/rcirc.el (rcirc-view-log-file): New command.
16674 (rcirc-track-minor-mode-map): Remove C-c ` binding.
16675 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
16676 specified.
16677
16678 2009-10-15 Glenn Morris <rgm@gnu.org>
16679
16680 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
16681 from the second command-line argument.
16682 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
16683 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
16684 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
16685 w32-batch-update-autoloads.
16686 * emacs-lisp/autoload.el (autoload-make-program): New variable.
16687 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
16688
16689 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
16690 the headers cannot be located. Simplify, subtracting superflous
16691 save-excursions.
16692
16693 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
16694
16695 Replace completion-base-size by completion-base-position to fix bugs
16696 such as (bug#4699).
16697 * simple.el (completion-base-position): New var.
16698 (completion-base-size): Mark as obsolete.
16699 (choose-completion): Make it work for mouse events as well.
16700 Pass the new base-position to choose-completion-string.
16701 (choose-completion-guess-base-position): New function, extracted from
16702 choose-completion-delete-max-match.
16703 (choose-completion-delete-max-match): Use it. Make obsolete.
16704 (choose-completion-string): Use the new base-position info.
16705 (completion-root-regexp): Delete.
16706 (completion-setup-function): Preserve completion-base-position.
16707 Eliminate obsolete base-size manipulation.
16708 * minibuffer.el (display-completion-list): Don't mess with base-size.
16709 (minibuffer-completion-help): Set completion-base-position instead.
16710 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
16711 choose-completion.
16712 * textmodes/bibtex.el (bibtex-complete):
16713 * emacs-lisp/crm.el (crm--choose-completion-string):
16714 Adjust to new calling convention.
16715 * complete.el (partial-completion-mode): Use minibufferp to avoid
16716 bumping into incompatible change to choose-completion-string-functions.
16717 * ido.el (ido-choose-completion-string): Make its calling convention
16718 more permissive.
16719 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
16720 base-size manipulation.
16721 (comint-dynamic-list-input-ring): Use dotimes and push.
16722 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
16723 fundamental-mode. Use `or'.
16724
16725 2009-10-14 Juri Linkov <juri@jurta.org>
16726
16727 * misearch.el (multi-isearch-next-buffer-from-list)
16728 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
16729
16730 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
16731
16732 * Makefile.in (compile-onefile): Load `bytecomp' rather than
16733 `bytecomp.el'.
16734
16735 * minibuffer.el (completion-pcm--merge-completions): Make sure the
16736 string we return is all made up of text from the completions rather
16737 than part from the completions and part from the input (bug#4219).
16738
16739 * ido.el (ido-everywhere): Use define-minor-mode.
16740
16741 * buff-menu.el (list-buffers, ctl-x-map):
16742 Mark the entry points with ;;;###autoload cookies.
16743
16744 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
16745
16746 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
16747 correctly in the detached head case.
16748 (vc-git-print-log): Remove unused binding.
16749
16750 * vc.el (vc-responsible-backend): When a directory is passed for
16751 for registration create a VC repository if no backend is
16752 responsible for the directory argument.
16753 (vc-deduce-fileset): Tell vc-responsible-backend to register.
16754
16755 * vc.el: Move comments about RCS and SCCS ...
16756 * vc-rcs.el:
16757 * vc-sccs.el: ... here, respectively.
16758
16759 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
16760
16761 * minibuffer.el (completion--file-name-table): Return nil if there's
16762 no file completion, even if substitute-in-file-name changed
16763 the string (bug#4708).
16764
16765 2009-10-13 Juri Linkov <juri@jurta.org>
16766
16767 * files-x.el (read-file-local-variable-value): Don't filter out
16768 minor modes from mode name completion (bug#4664).
16769
16770 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
16771
16772 * international/mule-cmds.el (ucs-names): Remove exclusion of
16773 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
16774
16775 2009-10-13 Kenichi Handa <handa@m17n.org>
16776
16777 * international/uni-name.el: Regenerated.
16778
16779 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
16780
16781 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
16782 should be automatically buffer-local, but isn't.)
16783
16784 2009-10-12 Sam Steingold <sds@gnu.org>
16785
16786 * progmodes/compile.el (compilation-next-error-function): Fix the
16787 timestamps if the buffer has been visited before.
16788 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
16789 non-anchored patterns, like the perl one (bug#3928).
16790
16791 2009-10-12 Glenn Morris <rgm@gnu.org>
16792
16793 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
16794 Let-bind `size'.
16795
16796 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
16797
16798 * proced.el (proced-unload-function): New function.
16799
16800 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
16801 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
16802 Doc fix.
16803
16804 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
16805
16806 2009-10-11 Juri Linkov <juri@jurta.org>
16807
16808 * files-x.el (read-file-local-variable-value):
16809 Provide default value only for bound variables (bug#4664).
16810
16811 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
16812
16813 * net/tramp.el (tramp-local-host-p): Function shall return nil for
16814 connection methods like smb.
16815
16816 * net/tramp-cache.el (tramp-flush-connection-property): The hash
16817 can be empty.
16818
16819 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16820 (tramp-smb-file-name-handler-alist): Add handlers for
16821 `add-name-to-file', `make-symbolic-link'.
16822 (tramp-smb-handle-add-name-to-file)
16823 (tramp-smb-do-file-attributes-with-stat)
16824 (tramp-smb-handle-make-symbolic-link)
16825 (tramp-smb-get-cifs-capabilities): New defuns.
16826 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
16827 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
16828 (tramp-smb-handle-file-local-copy)
16829 (tramp-smb-handle-make-directory-internal)
16830 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
16831 The file name syntax depends on cifs capabilities.
16832 (tramp-smb-handle-file-attributes):
16833 Call `tramp-smb-do-file-attributes-with-stat' if possible.
16834 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
16835 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
16836
16837 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
16838
16839 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
16840 (eieio-defclass): Apply deftype handler and setf-method properties
16841 directly.
16842 (eieio-add-new-slot): Avoid union function from cl library.
16843 (eieio--typep): New function.
16844 (eieio-perform-slot-validation): Use it.
16845
16846 2009-10-10 Karl Fogel <kfogel@red-bean.com>
16847
16848 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
16849 Update documentation to refer to the variables documented in r1.135.
16850 (Bug#4188)
16851
16852 2009-10-10 Karl Fogel <kfogel@red-bean.com>
16853
16854 * bookmark.el (Info-suffix-list): Remove this unused variable.
16855 (bookmark-current-point): Remove this obsolete variable.
16856 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
16857 Adjust for removal of bookmark-current-point.
16858
16859 (bookmarks-already-loaded, bookmark-current-buffer)
16860 (bookmark-yank-point): Document. (Bug#4188)
16861
16862 2009-10-10 Glenn Morris <rgm@gnu.org>
16863
16864 * frame.el (frame-height): Doc fix.
16865
16866 * calendar/calendar.el (calendar-split-width-threshold): New option.
16867 (calendar-basic-setup): Use calendar-split-width-threshold.
16868
16869 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
16870
16871 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
16872 Ideographic Supplement" range (U+1F200..U+1F2FF).
16873
16874 2009-10-09 Karl Fogel <kfogel@red-bean.com>
16875
16876 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
16877 since the list will have been rebuilt anyway. (Bug#4349)
16878
16879 2009-10-09 Karl Fogel <kfogel@red-bean.com>
16880
16881 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
16882 (bookmark-bmenu-execute-deletions): Don't save here, as
16883 bookmark-delete will now do so if necessary.
16884 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
16885 (Bug#4348)
16886
16887 2009-10-09 Glenn Morris <rgm@gnu.org>
16888
16889 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
16890
16891 2009-10-09 Karl Fogel <kfogel@red-bean.com>
16892
16893 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
16894 (bookmark-jump-other-window): Just invoke bookmark-jump with new
16895 argument now, so the two function's behaviors will match. (Bug#3645)
16896
16897 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
16898
16899 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
16900 (tramp-file-name-real-host, tramp-file-name-port):
16901 Apply `save-match-data'.
16902
16903 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
16904 case both directories are remote.
16905 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
16906 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
16907
16908 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
16909
16910 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
16911
16912 2009-10-07 Glenn Morris <rgm@gnu.org>
16913
16914 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
16915 of concat.
16916
16917 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
16918
16919 * files-x.el (read-file-local-variable): Include some
16920 non-user-variables in the completion table (bug#4664).
16921
16922 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
16923
16924 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
16925 message.
16926
16927 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16928 (tramp-smb-file-name-handler-alist): Add handler for
16929 `copy-directory', `expand-file-name', `set-file-modes'.
16930 (tramp-smb-handle-copy-directory)
16931 (tramp-smb-handle-expand-file-name)
16932 (tramp-smb-handle-set-file-modes): New defuns.
16933 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
16934 (tramp-smb-handle-file-attributes): Simplify check for retrieving
16935 entry.
16936 (tramp-smb-handle-insert-directory): Don't flush the cache.
16937 (tramp-smb-maybe-open-connection): Check for samba client and
16938 server versions.
16939
16940 2009-10-07 Eli Zaretskii <eliz@gnu.org>
16941
16942 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
16943 to not error out of search for "^lisp=" fails.
16944
16945 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
16946
16947 * makefile.w32-in (WINS_UPDATES): New macro.
16948 (custom-deps, finder-data, autoloads): Use it.
16949
16950 2009-10-07 Glenn Morris <rgm@gnu.org>
16951
16952 * Makefile.in (autoloads): Revert previous change.
16953 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
16954 the list of preloaded files passed on the command-line, get
16955 it from src/Makefile.
16956
16957 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
16958 show the original buffer rather than a random one.
16959
16960 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
16961
16962 * help.el (describe-no-warranty): Place point in a slightly better
16963 position in the GPLv3 text.
16964
16965 2009-10-06 Sam Steingold <sds@gnu.org>
16966
16967 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
16968 the comm attribute is present before calling regexp-quote.
16969
16970 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
16971
16972 * play/animate.el (animate-string): For good effect, make sure
16973 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
16974
16975 * play/animate.el (animate-sequence, animate-birthday-present):
16976 * misc.el (butterfly): Don't set `indent-tabs-mode'.
16977
16978 2009-10-06 Glenn Morris <rgm@gnu.org>
16979
16980 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
16981
16982 * emacs-lisp/autoload.el (autoload-excludes): New variable.
16983 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
16984 (batch-update-autoloads): Process a string value of autoload-excludes,
16985 set during the build process.
16986 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
16987
16988 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
16989 inside with-parsed... macro so that `v' is defined.
16990
16991 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
16992 * progmodes/fortran.el (fortran-end-of-block)
16993 (fortran-beginning-of-block):
16994 Also push mark in the macro case.
16995
16996 * emerge.el (emerge-show-file-name):
16997 * calc/calc.el (calc-quit):
16998 * calc/calc-misc.el (calc-big-or-small):
16999 * calc/calc-graph.el (calc-graph-view):
17000 * calc/calc-ext.el (calc-reset):
17001 * calendar/calendar.el (calendar-basic-setup):
17002 Use window-full-height-p.
17003
17004 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
17005 header we don't understand, don't insert another. (Bug#4624)
17006 If changing mime charset, insert the new one in the right place.
17007
17008 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
17009
17010 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
17011 (cal-tex-cursor-month): Correctly increment the end date for diary and
17012 holiday listing. (Bug#4626)
17013
17014 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17015
17016 * help-fns.el (describe-function-1): Don't burp if the function is not
17017 a symbol.
17018
17019 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
17020
17021 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
17022 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
17023 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
17024 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
17025
17026 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
17027 (eieio-default-superclass): Reflow docstrings.
17028 (this, class-option-assoc, defclass, eieio-class-un-autoload)
17029 (eieio-unbind-method-implementations, defmethod)
17030 (eieio-validate-slot-value, eieio-validate-class-slot-value)
17031 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
17032 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
17033 (eieio-slot-originating-class-p, eieio-slot-name-index)
17034 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
17035 (constructor, initialize-instance, no-next-method, object-print)
17036 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
17037 Fix typos in docstrings.
17038 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
17039 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
17040 (next-method-p): Doc fixes.
17041 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
17042 Fix typos in error messages.
17043 (eieio-defmethod): Fix typo in description of generic method.
17044
17045 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
17046 (eieio-persistent-save-interactive, slot-missing):
17047 Fix typos in docstrings.
17048 (eieio-instance-inheritor-slot-boundp): Doc fix.
17049
17050 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
17051 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
17052
17053 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
17054 (eieio-custom-object-apply-reset):
17055 Fix typos in docstrings and error messages.
17056
17057 * emacs-lisp/eieio-datadebug.el (data-debug-show):
17058 Fix typo in docstring.
17059
17060 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
17061 (eieio-browse-tree): Doc fix.
17062 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
17063 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
17064 Fix typos in docstrings.
17065
17066 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
17067 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
17068 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
17069 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
17070 Reflow docstrings.
17071
17072 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
17073
17074 * vc-hg.el (log-view-vc-backend): Declare for compiler.
17075 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
17076 Set log-view-vc-backend so that diff can work.
17077
17078 * log-view.el (log-view-diff): Use vc-diff-internal instead of
17079 vc-version-diff.
17080 (vc-diff-internal): Autoload this instead of vc-version-diff.
17081
17082 2009-10-05 Eli Zaretskii <eliz@gnu.org>
17083
17084 * simple.el (eval-expression): Doc fix.
17085
17086 * progmodes/cwarn.el (cwarn-mode): Doc fix.
17087
17088 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
17089
17090 * files.el (directory-files-no-dot-files-regexp): New defconst.
17091 (delete-directory): Use it.
17092 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
17093
17094 * net/tramp.el (tramp-verbose): Fix docstring.
17095 (tramp-methods): Add recursive option to `tramp-copy-args'.
17096 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
17097 "scp1_old", "scp2_old", "rsync", "rsyncc".
17098 (tramp-default-method): Check also for `auth-source-user-or-password'.
17099 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
17100 Add handler for `copy-directory'.
17101 (tramp-handle-copy-directory): New defun.
17102 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
17103 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
17104 Optimize sent command.
17105
17106 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17107
17108 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
17109 window if necessary.
17110
17111 * calendar/calendar.el (calendar-basic-setup): Don't call
17112 switch-to-buffer in a dedicated window.
17113
17114 2009-10-05 Karl Fogel <kfogel@red-bean.com>
17115
17116 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
17117 don't do anything related to relocating, just return nil.
17118 (bookmark-error-no-filename): New error.
17119 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
17120 bookmark has no file. Don't even attempt to handle things that
17121 are not files; the whole point of custom handlers is to keep that
17122 knowledge elsewhere anyway. Tighten some comments.
17123 (bookmark-file-or-variation-thereof): Remove now-unused function.
17124 (bookmark-location): Doc string fix.
17125 (Bug#4250)
17126
17127 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17128
17129 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
17130 don't use a file dialog, because they usually don't know how to read
17131 a directory target from the user. (Bug#4230)
17132 Also, make sure the prompt can display directories as well as files.
17133
17134 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17135
17136 * bookmark.el (bookmark-set, bookmark-buffer-name):
17137 Improve doc strings. (Bug#1193)
17138
17139 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17140
17141 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
17142 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
17143 (bookmark-get-annotation, bookmark-set-annotation)
17144 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
17145 (bookmark-set-position, bookmark-get-front-context-string)
17146 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
17147 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
17148 (bookmark-jump-other-window, bookmark-handle-bookmark)
17149 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
17150 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
17151 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
17152 Improve doc strings to say whether bookmark can be a string or
17153 a record or both, and make other consistency and clarity fixes.
17154 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
17155 (bookmark-default-annotation-text, bookmark-yank-word)
17156 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
17157 (bookmark-import-new-list, bookmark-maybe-rename)
17158 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
17159 (bookmark-bmenu-bookmark): Give these doc strings.
17160 (bookmark-bmenu-check-position): Give this a doc string, but also
17161 add a FIXME comment about how the function may be pointless.
17162 (bookmark-default-handler): Rework doc string and change a
17163 parameter name, to clarify that this takes a bookmark record
17164 not a bookmark name.
17165 (bookmark-set): Change a parameter name to indicate its meaning,
17166 and improve the doc string a bit.
17167 (Bug#4188)
17168
17169 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17170
17171 * bookmark.el (bookmark-alist): Document the new `handler' element
17172 in the param alist.
17173 (bookmark-make-record-function): Adjust documentation for above.
17174 (Bug#4193)
17175
17176 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17177
17178 * info.el (Info-bookmark-make-record): Document this function.
17179 (Info-bookmark-jump): Document with a doc string, not just a comment.
17180 (Bug#4203)
17181
17182 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
17183
17184 * files.el (copy-directory): New defun.
17185
17186 * dired-aux.el (dired-copy-file-recursive): Use it.
17187
17188 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
17189
17190 * files-x.el (modify-dir-local-variable)
17191 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
17192 docstrings.
17193
17194 * recentf.el (recentf-unload-function): New function.
17195
17196 2009-10-04 Glenn Morris <rgm@gnu.org>
17197
17198 * window.el (window-full-height-p): Add doc string.
17199
17200 2009-10-04 Martin Rudalics <rudalics@gmx.at>
17201
17202 * window.el (window-full-height-p): New function. (Bug#4543)
17203
17204 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
17205
17206 * vc.el: Remove commented out code.
17207 (vc-derived-from-dir-mode): Remove, unused.
17208 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
17209
17210 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
17211
17212 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
17213 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
17214 there could be recursive loading when `default-directory' is a
17215 remote file name. (Bug#4614)
17216
17217 2009-10-03 Glenn Morris <rgm@gnu.org>
17218
17219 * calendar/calendar.el (calendar-basic-setup): Handle the case where
17220 the frame is wide.
17221 (calendar-generate-window): Test for shrinkability rather than width.
17222
17223 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
17224 reusing existing buffers, in case we happen to visit two files with the
17225 same basename. (Bug#4593)
17226
17227 2009-10-02 Eli Zaretskii <eliz@gnu.org>
17228
17229 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
17230 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
17231 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
17232 subdirs of cedet as well.
17233 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
17234
17235 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
17236
17237 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
17238 Obey advertised-signature-table.
17239
17240 * help-fns.el (help-function-arglist): Don't check
17241 advertised-signature-table.
17242 (describe-function-1): Do it here instead so it also applies to subrs.
17243
17244 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
17245
17246 * simple.el (start-file-process): Say in the doc-string, that file
17247 handlers might not support pty association, if PROGRAM is nil.
17248
17249 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
17250 HOST and USER are strings. They are nil, when there are
17251 incomplete entries in ~/.netrc, for example.
17252 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
17253 root directory ("device busy" error otherwise).
17254
17255 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
17256 Flush file properties of created directory.
17257
17258 2009-10-02 Eli Zaretskii <eliz@gnu.org>
17259
17260 * makefile.w32-in (WINS_BASIC): Remove cedet.
17261 (WINS_CEDET): Add cedet.
17262 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
17263
17264 2009-10-02 Kevin Ryde <user42@zip.com.au>
17265
17266 * net/browse-url.el (browse-url): Pass any symbol in
17267 browse-url-browser-function to `apply', since if you've mistakenly put
17268 an unbound symbol then the error is clearer. (Bug#4531)
17269
17270 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
17271
17272 * allout.el (allout-init, allout-back-to-current-heading)
17273 (allout-beginning-of-current-entry, allout-ascend-to-depth)
17274 (allout-ascend, allout-up-current-level, allout-end-of-level)
17275 (allout-previous-visible-heading, allout-forward-current-level)
17276 (allout-backward-current-level, allout-show-children):
17277 * apropos.el (apropos-describe-plist):
17278 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
17279 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
17280 * completion.el (add-completion, add-permanent-completion):
17281 * descr-text.el (describe-text-category, describe-char):
17282 * desktop.el (desktop-lazy-abort):
17283 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
17284 * dired.el (dired-build-subdir-alist):
17285 * ediff.el (ediff-version):
17286 * elide-head.el (elide-head, elide-head-show):
17287 * emerge.el (emerge-version):
17288 * env.el (getenv):
17289 * face-remap.el (variable-pitch-mode):
17290 * faces.el (describe-face):
17291 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
17292 (dired-at-point):
17293 * files.el (find-file-existing, auto-save-mode):
17294 * font-lock.el (font-lock-fontify-buffer):
17295 * help-fns.el (describe-function, describe-variable)
17296 (describe-syntax, describe-categories):
17297 * help.el (view-lossage, describe-bindings, describe-key)
17298 (describe-mode):
17299 * hexl.el (hexl-current-address):
17300 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
17301 * info.el (Info-goto-emacs-key-command-node):
17302 * log-edit.el (log-edit-insert-cvs-template)
17303 (log-edit-insert-cvs-rcstemplate):
17304 * menu-bar.el (menu-bar-mode):
17305 * mouse.el (mouse-appearance-menu):
17306 * newcomment.el (comment-indent-new-line):
17307 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
17308 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
17309 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
17310 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
17311 * recentf.el (recentf-mode):
17312 * savehist.el (savehist-mode, savehist-save):
17313 * shadowfile.el (shadow-copy-files):
17314 * simple.el (kill-ring-save, next-line, previous-line)
17315 (normal-erase-is-backspace-mode):
17316 * strokes.el (strokes-update-window-configuration)
17317 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
17318 (strokes-xpm-for-stroke):
17319 * time.el (emacs-uptime, emacs-init-time):
17320 * tutorial.el (tutorial--describe-nonstandard-key)
17321 (tutorial--detailed-help):
17322 * type-break.el (type-break-mode)
17323 (type-break-mode-line-message-mode, type-break-query-mode)
17324 (type-break-guesstimate-keystroke-threshold):
17325 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
17326 * version.el (emacs-version):
17327 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
17328 * winner.el (winner-mode):
17329 * calendar/timeclock.el (timeclock-in, timeclock-out)
17330 (timeclock-status-string, timeclock-change)
17331 (timeclock-workday-remaining-string)
17332 (timeclock-workday-elapsed-string)
17333 (timeclock-when-to-leave-string):
17334 * calendar/todo-mode.el (todo-add-category):
17335 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
17336 * emacs-lisp/autoload.el (update-file-autoloads):
17337 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
17338 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
17339 (checkdoc-message-text, checkdoc-defun):
17340 * emacs-lisp/debug.el (debugger-list-functions):
17341 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
17342 * emacs-lisp/eieio-opt.el (eieio-describe-class)
17343 (eieio-describe-generic):
17344 * emacs-lisp/lisp-mnt.el (lm-synopsis):
17345 * emacs-lisp/shadow.el (list-load-path-shadows):
17346 * emulation/cua-base.el (cua-mode):
17347 * emulation/edt.el (edt-set-scroll-margins):
17348 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
17349 (tpu-toggle-regexp, tpu-toggle-search-direction)
17350 (tpu-toggle-rectangle, tpu-toggle-control-keys):
17351 * emulation/tpu-extras.el (tpu-set-scroll-margins):
17352 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
17353 (viper-set-parsing-style-toggling-macro)
17354 (viper-set-emacs-state-searchstyle-macros):
17355 * emulation/viper.el (viper-set-hooks):
17356 * eshell/esh-mode.el (eshell-truncate-buffer):
17357 * international/mule-cmds.el (prefer-coding-system)
17358 (describe-input-method, describe-language-environment):
17359 * international/mule-diag.el (list-character-sets)
17360 (describe-character-set, describe-coding-system)
17361 (describe-fontset, list-fontsets, list-input-methods):
17362 * mail/sendmail.el (mail-signature):
17363 * net/ange-ftp.el (ange-ftp-copy-file):
17364 * net/browse-url.el (browse-url):
17365 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
17366 * net/quickurl.el (quickurl-add-url):
17367 * net/rcirc.el (names, topic):
17368 * net/xesam.el (xesam-mode):
17369 * play/5x5.el (5x5-new-game):
17370 * play/yow.el (apropos-zippy):
17371 * progmodes/ada-mode.el (ada-mode-version):
17372 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
17373 (f90-end-of-block)
17374 (f90-beginning-of-block):
17375 * progmodes/fortran.el (fortran-end-of-block)
17376 (fortran-beginning-of-block):
17377 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
17378 * progmodes/python.el (python-describe-symbol, python-shell):
17379 * term/ns-win.el (ns-print-buffer):
17380 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
17381 * textmodes/flyspell.el (flyspell-mode-on):
17382 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
17383 (pages-directory-for-addresses):
17384 * textmodes/table.el (table-recognize-cell)
17385 (table-query-dimension, table-generate-source)
17386 (table-insert-sequence, table--warn-incompatibility):
17387 * textmodes/tex-mode.el (tex-validate-buffer):
17388 * textmodes/texinfmt.el (texinfmt-version)
17389 (texinfo-format-buffer):
17390 Use `called-interactively-p' instead of `interactive-p'.
17391
17392 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
17393
17394 * image-mode.el (image-toggle-display):
17395 * emacs-lisp/elp.el (elp-instrument-function):
17396 * emacs-lisp/advice.el (ad-make-advised-definition):
17397 * emacs-lisp/easy-mmode.el (define-minor-mode):
17398 * net/browse-url.el (browse-url-maybe-new-window):
17399 * progmodes/sh-script.el (sh-learn-buffer-indent):
17400 Pass new argument 'any to `called-interactively-p'.
17401
17402 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
17403
17404 * international/uni-bidi.el:
17405 * international/uni-category.el:
17406 * international/uni-combining.el:
17407 * international/uni-comment.el:
17408 * international/uni-decimal.el:
17409 * international/uni-decomposition.el:
17410 * international/uni-digit.el:
17411 * international/uni-lowercase.el:
17412 * international/uni-mirrored.el:
17413 * international/uni-name.el:
17414 * international/uni-numeric.el:
17415 * international/uni-old-name.el:
17416 * international/uni-titlecase.el:
17417 * international/uni-uppercase.el:
17418 Regenerate from Unicode 5.2.0 data.
17419
17420 2009-10-01 Glenn Morris <rgm@gnu.org>
17421
17422 * Makefile.in (ELCFILES): Regenerate.
17423
17424 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
17425
17426 * subr.el (interactive-p): Mark obsolete.
17427 (called-interactively-p): Make the optional-ness of `kind' obsolete.
17428 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
17429 advertised-signature-table for subroutines as well.
17430
17431 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
17432 (set-advertised-calling-convention): New function.
17433 (make-obsolete, define-obsolete-function-alias)
17434 (make-obsolete-variable, define-obsolete-variable-alias):
17435 Make the optional-ness of `when' obsolete.
17436 (define-obsolete-face-alias): Make `when' non-optional.
17437 * help-fns.el (help-function-arglist):
17438 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
17439 Use advertised-signature-table.
17440
17441 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
17442
17443 * files.el (delete-directory): New defun. The original function
17444 in fileio.c has been renamed to `delete-directory-internal'.
17445
17446 * dired.el (dired-delete-file): Call `delete-directory' with
17447 RECURSIVE parameter.
17448
17449 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
17450 parameter RECURSIVE. Implementation is missing.
17451
17452 * net/tramp.el (tramp-handle-make-directory): Flush upper
17453 directory's file properties.
17454 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
17455 (tramp-handle-dired-recursive-delete-directory): Flush directory
17456 properties after the remove command only.
17457
17458 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
17459 Handle optional parameter RECURSIVE.
17460
17461 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
17462 Handle optional parameter RECURSIVE.
17463
17464 * net/tramp-smb.el (tramp-smb-errors): Add error message for
17465 connection timeout.
17466 (tramp-smb-handle-delete-directory): Handle optional parameter
17467 RECURSIVE.
17468
17469 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
17470
17471 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
17472 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
17473 (byte-compile-defmacro): Use backquotes.
17474
17475 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
17476
17477 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
17478 has no associated file.
17479 (vc-resynch-buffer): Use vc-dir-buffers.
17480
17481 2009-10-01 Glenn Morris <rgm@gnu.org>
17482
17483 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
17484 (chart-file-count):
17485 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
17486 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
17487 * emacs-lisp/eieio-opt.el (eieio-describe-class):
17488 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
17489 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
17490 (eieio-copy-parents-into-subclass, make-instance, class-children)
17491 (eieio-generic-form):
17492
17493 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
17494 match-data. (Bug#4555).
17495
17496 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
17497 rather than parsing it as a regexp. This relaxes the layout
17498 requirements and makes errors easier to detect.
17499 (check-declare-verify): Check file is regular.
17500 (check-declare-directory): Doc fix.
17501 * subr.el (declare-function): Doc fix.
17502
17503 * ibuffer.el (ibuffer-format-qualifier):
17504 * isearch.el (hi-lock-regexp-okay):
17505 * calc/calc.el (math-zerop):
17506 * mail/uce.el (rmail-msgbeg, rmail-msgend):
17507 * term/w32-win.el (setup-default-fontset, set-fontset-font):
17508 Remove unused declarations.
17509
17510 2009-09-30 Eric Ludlam <zappo@gnu.org>
17511
17512 * emacs-lisp/eieio.el (boolean-p): Delete.
17513
17514 2009-09-30 Glenn Morris <rgm@gnu.org>
17515
17516 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
17517
17518 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
17519 filename is not a string.
17520
17521 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
17522
17523 * files.el (safe-local-eval-forms): Fix typo.
17524
17525 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
17526
17527 * vc-hooks.el (vc-dir-buffers): New var.
17528 (vc-state-refresh): New function.
17529 (vc-state): Use it.
17530 (vc-after-save): Always ask the backend to recompute the new state.
17531 Always call vc-dir if necessary, using vc-dir-buffers.
17532 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
17533 Use vc-dir-buffers.
17534 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
17535 (vc-dir-prepare-status-buffer, vc-dir-update)
17536 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
17537 Don't call expand-file-name on default-directory.
17538
17539 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
17540
17541 * speedbar.el (speedbar-item-delete):
17542 * calc/calc-prog.el (calc-kbd-if):
17543 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
17544
17545 * epa.el (epa-key-list-mode-map):
17546 * hi-lock.el (hi-lock-menu): Fix typos in menus.
17547
17548 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
17549 (hs-show-hook): Fix typo in docstring.
17550
17551 2009-09-29 Glenn Morris <rgm@gnu.org>
17552
17553 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
17554 file-name-nondirectory call preventing location of cedet files.
17555 (check-declare-verify): Use literal search rather than re-search.
17556 Add basic defmethod and defclass, and define-overloadable-function.
17557
17558 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
17559 Use tramp-compat-file-attributes rather than nonexistent
17560 tramp-compat-handle-file-attributes.
17561
17562 * Makefile.in (lisptagsfiles4): New.
17563 (AUTOGENEL): Add cedet loaddefs files.
17564 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
17565 (update-elclist, compile-always, backup-compiled-files)
17566 (bootstrap-clean): Add yet another directory level.
17567 (update-elclist): Use LC_COLLATE rather than COLLATE.
17568 (ELCFILES): Update, via `make update-elclist'.
17569
17570 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
17571
17572 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
17573 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
17574 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
17575
17576 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
17577
17578 * Makefile.in (lisptagsfiles3): Define.
17579 (TAGS, TAGS-LISP): Use it.
17580 (update-elclist): Add third directory level to look for elc files.
17581 (compile-always): Likewise.
17582 (backup-compiled-files): Likewise.
17583 (bootstrap-clean): Likewise.
17584 (ELCFILES): Update.
17585
17586 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
17587
17588 * Makefile.in (ELCFILES): Add CEDET files.
17589
17590 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
17591
17592 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
17593
17594 * net/tramp.el (top): Require tramp-imap.
17595
17596 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
17597 Use `tramp-compat-handle-file-attributes'.
17598
17599 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
17600
17601 * net/tramp-imap.el: New package.
17602
17603 2009-09-28 Eric Ludlam <zappo@gnu.org>
17604
17605 * emacs-lisp/chart.el:
17606 * emacs-lisp/eieio-base.el:
17607 * emacs-lisp/eieio-comp.el:
17608 * emacs-lisp/eieio-custom.el:
17609 * emacs-lisp/eieio-datadebug.el:
17610 * emacs-lisp/eieio-opt.el:
17611 * emacs-lisp/eieio-speedbar.el:
17612 * emacs-lisp/eieio.el: New files.
17613
17614 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17615
17616 * whitespace.el (whitespace-trailing-regexp)
17617 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
17618 Fix doc string.
17619
17620 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
17621
17622 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
17623 menu.
17624
17625 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
17626 menu-bar-ediff-menu.
17627
17628 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
17629 define-overloadable-function.
17630
17631 * progmodes/autoconf.el: Provide autoconf as well, so that this
17632 file can be `require'd.
17633
17634 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
17635
17636 * emacs-lisp/autoload.el (generated-autoload-feature)
17637 (generated-autoload-load-name): New vars.
17638 (autoload-rubric, autoload-generate-file-autoloads): Use them.
17639 (make-autoload): Recognize define-overloadable-function and
17640 defclass forms (for EIEIO).
17641
17642 * Makefile.in (update-subdirs): Exclude cedet directory.
17643
17644 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
17645
17646 * term/ns-win.el: Don't set the region face background. (Bug#4381)
17647
17648 * faces.el: Default light-background background for region face to
17649 ns_selection_color under NS.
17650
17651 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
17652
17653 * net/imap-hash.el: New library, see NEWS.
17654
17655 * Makefile.in (ELCFILES): Add imap-hash.el.
17656
17657 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
17658
17659 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
17660 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
17661 * help-macro.el (make-help-screen): Avoid using an ambiguous function
17662 definition where the docstring could be taken for the return value.
17663
17664 2009-09-26 Glenn Morris <rgm@gnu.org>
17665
17666 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
17667 Add option to only show images below a certain size.
17668 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
17669 save-excursion calls.
17670
17671 2009-09-26 Eli Zaretskii <eliz@gnu.org>
17672
17673 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
17674 subdirectories) and eieio.
17675
17676 2009-09-26 Alan Mackenzie <acm@muc.de>
17677
17678 * progmodes/cc-engine.el (c-beginning-of-statement-1):
17679 Correct buggy bracketing. (Bug#4289)
17680
17681 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
17682 character constants (as case labels). (Bug#4289)
17683
17684 2009-09-25 Juri Linkov <juri@jurta.org>
17685
17686 * files.el (safe-local-eval-forms): Allow time-stamp in
17687 before-save-hook (Bug#4554).
17688
17689 2009-09-25 Drew Adams <drew.adams@oracle.com>
17690
17691 * menu-bar.el (list-buffers-directory): Doc fix.
17692
17693 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
17694
17695 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
17696 Try and avoid copying twice the same paragraph.
17697 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
17698 Remove save-excursion.
17699 (log-edit-changelog-entry): Do it here instead.
17700
17701 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
17702
17703 * bs.el (bs--get-file-name): Use `list-buffers-directory'
17704 when available, instead of hardcoding mode names. Doc fix.
17705
17706 * menu-bar.el (list-buffers-directory): Add docstring.
17707 Make automatically buffer-local.
17708
17709 * dired.el (dired-mode):
17710 * files.el (cd-absolute):
17711 * pcvs.el (cvs-temp-buffer):
17712 * pcvs-util.el (cvs-get-buffer-create):
17713 * shell.el (shell-mode):
17714 * vc-dir.el (vc-dir-mode):
17715 Don't make `list-buffers-directory' buffer local.
17716
17717 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
17718
17719 * comint.el (comint-exec, comint-run, make-comint):
17720 Doc fixes (Bug#4542).
17721
17722 2009-09-25 Glenn Morris <rgm@gnu.org>
17723
17724 * mail/rmailmm.el (rmail-mime): New custom group.
17725 Move all defcustoms in this file into this group.
17726 (rmail-mime-media-type-handlers-alist): Revert previous change.
17727 (rmail-mime-show-images): New option.
17728 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
17729 references to it, since it wasn't actually used for anything.
17730 (rmail-mime-insert-image): New function.
17731 (rmail-mime-image): Use rmail-mime-insert-image.
17732 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
17733 obey the value of `rmail-mime-show-images' option. Print the size of
17734 attachments.
17735
17736 2009-09-25 David Engster <deng@randomsample.de>
17737
17738 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
17739
17740 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17741
17742 * whitespace.el: Does not highlight trailing spaces While point is
17743 at end of line. Does not highligt spaces at beginning of buffer
17744 while point is at beginning of buffer. Does not highlight spaces
17745 at end of buffer while point is at end of buffer. (Bug#4177)
17746 New version 12.0.
17747 (whitespace-display-mappings): Adjust initialization.
17748 (whitespace-point, whitespace-font-lock-refontify): New vars.
17749 (whitespace-color-on, whitespace-color-off): Adjust code.
17750 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
17751 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
17752 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
17753
17754 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
17755
17756 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
17757
17758 * textmodes/sgml-mode.el: Remove xml-mode alias.
17759
17760 * files.el (auto-mode-alist, conf-mode-maybe)
17761 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
17762
17763 2009-09-24 Alan Mackenzie <acm@muc.de>
17764
17765 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
17766 c-forward-conditionals, but it doesn't move point and doesn't set
17767 the mark.
17768 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
17769 (c-down-conditional-with-else, c-backward-conditional)
17770 (c-forward-conditional): Refactor to use c-scan-conditionals.
17771
17772 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
17773
17774 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
17775 (help-default-arg-highlight): Remove.
17776 (help-highlight-arg): New function.
17777 (help-do-arg-highlight): Use it.
17778 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
17779
17780 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
17781
17782 * term.el (term-set-scroll-region, term-handle-ansi-escape):
17783 Undo last change, which didn't fix the problem and introduced others.
17784
17785 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
17786
17787 * progmodes/gdb-mi.el: Don't require speedbar.
17788 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
17789
17790 2009-09-24 Glenn Morris <rgm@gnu.org>
17791
17792 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
17793
17794 * term/ns-win.el (ns-reg-to-script): Define for compiler.
17795
17796 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
17797 there is no newline after the final mime boundary. (Bug#4539)
17798 Move markers on insertion so that any buttons inserted don't end up in
17799 the next part of a multipart message.
17800 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
17801 (rmail-mime-bulk-handler): Optionally handle images.
17802 (rmail-mime-image): New button action.
17803 (rmail-mime-image-handler): New function.
17804 (rmail-mime-mode): New mode.
17805 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
17806
17807 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
17808
17809 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
17810 than just dropping elements from it (bug#4504).
17811
17812 * term.el (term-set-scroll-region): Don't move cursor any more.
17813 (term-handle-ansi-escape): Call term-goto here instead.
17814 Suggested by Ivan Kanis <apple@kanis.eu>.
17815
17816 * term.el: Require CL.
17817 (term-ansi-reset): New function.
17818 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
17819 (term-handle-colors-array): Simplify.
17820
17821 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
17822
17823 * allout.el (allout-overlay-interior-modification-handler)
17824 (allout-obtain-passphrase):
17825 * epa-file.el (epa-file-write-region):
17826 * ps-print.el (ps-begin-job):
17827 * vc-hooks.el (vc-toggle-read-only):
17828 * vc-rcs.el (vc-rcs-rollback):
17829 * vc-sccs.el (vc-sccs-rollback):
17830 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
17831 (vc-version-diff, vc-revert, vc-rollback):
17832 * wdired.el (wdired-check-kill-buffer):
17833 * emacs-lisp/authors.el (authors):
17834 * net/socks.el (socks-open-connection):
17835 * net/zeroconf.el (zeroconf-service-add-hook):
17836 * obsolete/vc-mcvs.el (vc-mcvs-register):
17837 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
17838 (gdb-select-frame):
17839 * progmodes/grep.el (lgrep, rgrep):
17840 * progmodes/idlw-help.el (idlwave-help-check-locations)
17841 (idlwave-help-html-link, idlwave-help-assistant-open-link):
17842 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
17843 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
17844 (reftex-toc-rename-label): Fix typos in error messages.
17845
17846 * dired-aux.el (dired-do-shell-command): Reflow docstring.
17847 (dired-copy-how-to-fn): Doc fix.
17848 (dired-files-attributes, dired-read-shell-command):
17849 Fix typos in docstrings.
17850
17851 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
17852 (dired-x-find-file-other-window): Reflow docstrings.
17853 (dired-omit-marker-char, dired-read-shell-command)
17854 (dired-x-submit-report): Fix typos in docstrings.
17855
17856 * shell.el (shell-mode-hook):
17857 * view.el (View-scroll-line-forward):
17858 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
17859 Fix typos in docstrings.
17860
17861 * net/dig.el (dig-invoke): Fix typo in docstring.
17862 (query-dig): Reflow docstring.
17863
17864 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
17865 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
17866 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
17867 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
17868 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
17869 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
17870 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
17871 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
17872 (idlwave-completion-map, idlwave-current-indent)
17873 (idlwave-custom-ampersand-surround, idlwave-customize)
17874 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
17875 (idlwave-define-abbrev, idlwave-determine-class-special)
17876 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
17877 (idlwave-end-block-reg, idlwave-end-of-statement)
17878 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
17879 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
17880 (idlwave-explicit-class-listed, idlwave-file-header)
17881 (idlwave-fill-paragraph, idlwave-find-class-definition)
17882 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
17883 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
17884 (idlwave-in-quote, idlwave-indent-action-table)
17885 (idlwave-indent-expand-table, idlwave-indent-line)
17886 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
17887 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
17888 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
17889 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
17890 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
17891 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
17892 (idlwave-outlawed-buffers, idlwave-popup-select)
17893 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
17894 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
17895 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
17896 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
17897 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
17898 (idlwave-statement-type, idlwave-struct-skip)
17899 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
17900 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
17901 (idlwave-what-module-find-class): Fix typos in docstrings.
17902 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
17903 (idlwave-calculate-cont-indent, idlwave-expand-equal)
17904 (idlwave-find-module, idlwave-find-structure-definition)
17905 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
17906 (idlwave-list-load-path-shadows, idlwave-next-statement)
17907 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
17908 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
17909 (idlwave-template): Reflow docstrings.
17910
17911 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
17912 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
17913 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
17914 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
17915 (idlwave-shell-display-line, idlwave-shell-display-wframe)
17916 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
17917 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
17918 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
17919 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
17920 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
17921 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
17922 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
17923 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
17924 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
17925 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
17926 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
17927 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
17928 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
17929 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
17930 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
17931 Fix typos in docstrings.
17932 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
17933 (idlwave-shell-hide-output, idlwave-shell-mode)
17934 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
17935 Reflow docstrings.
17936
17937 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
17938
17939 2009-09-24 Ivan Kanis <apple@kanis.eu>
17940
17941 * term.el (term-bold-attribute): New var.
17942 (term-handle-colors-array): Use it.
17943
17944 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
17945
17946 * progmodes/gdb-mi.el (gdb-version): New variable.
17947 (gdb-non-stop-handler): Set gdb-version.
17948 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
17949 Condition "--thread" option on gdb-version.
17950 (gdb-invalidate-threads): Remove unused argument.
17951
17952 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17953
17954 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
17955 to looking-back to avoid ridiculous slow down in large files (bug#4511).
17956
17957 2009-09-23 Glenn Morris <rgm@gnu.org>
17958
17959 * mail/rmail.el (rmail-reply): Don't try to add a References header when
17960 replying to mail without References or Message-Id. (Bug#4525)
17961
17962 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
17963
17964 * term/ns-win.el (ns-reg-to-script): New variable.
17965
17966 2009-09-23 Daiki Ueno <ueno@unixuser.org>
17967
17968 * epg.el (epg-wait-for-status): Preserve existing 'error results.
17969
17970 2009-09-22 Sam Steingold <sds@gnu.org>
17971
17972 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
17973 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
17974 to 1 because hg returns status 1 when nothing is found.
17975 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
17976
17977 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
17978
17979 * textmodes/fill.el: Convert to utf-8 encoding.
17980 (fill-french-nobreak-p): Remove redundant » and « inherited from our
17981 pre-Unicode days.
17982
17983 * add-log.el (change-log-fill-forward-paragraph): New function.
17984 (change-log-mode): Use it so fill-region DTRT.
17985 Set fill-indent-according-to-mode here rather than in
17986 change-log-fill-paragraph.
17987 (change-log-fill-paragraph): Remove.
17988
17989 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
17990
17991 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
17992 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
17993
17994 2009-09-22 Glenn Morris <rgm@gnu.org>
17995
17996 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
17997 the scroll-bar scroll the calendar window rather than the buffer.
17998
17999 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
18000 commands that move point (as opposed to scrolling).
18001
18002 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
18003
18004 * emacs-lisp/elint.el (elint): New custom group.
18005 (elint-log-buffer): Make it a defcustom.
18006 (elint-scan-preloaded, elint-ignored-warnings)
18007 (elint-directory-skip-re): New options.
18008 (elint-builtin-variables): Doc fix.
18009 (elint-preloaded-env): New variable.
18010 (elint-unknown-builtin-args): Add an entry for encode-time.
18011 (elint-extra-errors): Make it a variable rather than a constant.
18012 (elint-preloaded-skip-re): New constant.
18013 (elint-directory): Skip files matching elint-directory-skip-re.
18014 (elint-features): New variable, local to linted buffers.
18015 (elint-update-env): Initialize elint-features. Possibly add
18016 elint-preloaded-env to the buffer's environment.
18017 (elint-get-top-forms): Bind elint-current-pos, for log messages.
18018 Skip quoted forms.
18019 (elint-init-form): New function, extracted from elint-init-env.
18020 Make non-list forms a warning rather than an error.
18021 Add the mode-map for define-derived-mode. Handle define-minor-mode,
18022 easy-menu-define, put that adds an error-condition, and provide.
18023 When requiring cl, also require cl-macs. Really require cl, to handle
18024 some cl macros. Store required libraries in the list elint-features,
18025 so as not to re-load them. Treat cc-require like require.
18026 (elint-init-env): Call elint-init-form to do the work.
18027 Handle eval-and-compile and such like.
18028 (elint-add-required-env): Do not clear messages.
18029 (elint-special-forms): Add handlers for function, defalias, if, when,
18030 unless, and, or.
18031 (elint-form): Add optional argument to ignore elint-special-forms,
18032 useful to prevent recursive calls from handlers. Doc fix.
18033 Respect elint-ignored-warnings.
18034 (elint-form): Respect elint-ignored-warnings.
18035 (elint-bound-variable, elint-bound-function): New variables.
18036 (elint-unbound-variable): Respect elint-bound-variable.
18037 (elint-get-args): Respect elint-bound-function.
18038 (elint-check-cond-form): Add some simple handling for (f)boundp and
18039 featurep tests.
18040 (elint-check-defalias-form): New handler.
18041 (elint-check-let-form): Make an empty let a warning rather than an
18042 error.
18043 (elint-check-setq-form): Make an empty setq a warning rather than an
18044 error. Respect elint-ignored-warnings.
18045 (elint-check-defvar-form): Accept null doc-strings.
18046 (elint-check-conditional-form): New handler. Does some simple-minded
18047 checking of featurep and (f)boundp tests.
18048 (elint-put-function-args): New function.
18049 (elint-initialize): Use elint-scan-doc-file rather than
18050 elint-find-builtin-variables. Use elint-put-function-args.
18051 Possibly scan preloaded-file-list.
18052 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
18053 extend to handle functions as well.
18054
18055 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
18056
18057 * linum.el (linum-delete-overlays, linum-update-window):
18058 Do not modify the right margin. (Bug#3971)
18059
18060 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
18061
18062 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
18063 Use nxml-mode instead of xml-mode.
18064
18065 2009-09-21 Kevin Ryde <user42@zip.com.au>
18066
18067 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
18068
18069 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
18070
18071 * net/dig.el (dig-mode): Use define-derived-mode.
18072
18073 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
18074
18075 * vc-dispatcher.el (vc-do-command): Return the process object in
18076 the asynchronous case. Use when instead of if. Do not run
18077 vc-exec-after to display a message if not enabled. (Bug#4463)
18078
18079 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
18080 properties to the stash strings.
18081 (vc-git-stash-list): Return a list of strings.
18082 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
18083 (vc-git-stash-show-at-point): New functions.
18084 (vc-git-stash-map): New keymap.
18085
18086 * register.el (ctl-x-r-map): Define the keys here instead of
18087 using autoload.
18088
18089 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
18090
18091 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
18092 list, to workaround performance problem (bug#4485).
18093
18094 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
18095
18096 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
18097
18098 2009-09-20 Daiki Ueno <ueno@unixuser.org>
18099
18100 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
18101 Document that this option is not recommended to use.
18102
18103 2009-09-19 Glenn Morris <rgm@gnu.org>
18104
18105 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
18106 variable `var'.
18107
18108 * calc/calc-alg.el (var):
18109 * calc/calcalg2.el (var): Define for compiler.
18110
18111 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
18112
18113 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
18114 Doc fix (Bug#3932).
18115
18116 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
18117
18118 * time-stamp.el (time-stamp-month-dd-yyyy)
18119 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
18120 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
18121 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
18122 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
18123 Remove functions that have been obsolete since 1995 (Bug#4436).
18124
18125 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
18126 indent buffer only if called interactively (Bug#4452).
18127
18128 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
18129 Eli Zaretskii <eliz@gnu.org>
18130
18131 This fixes bug#4197 (merged to bug#865, though not identical).
18132 * server.el (server-auth-dir): Add docstring note about FAT32.
18133 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
18134 but warn against using them.
18135
18136 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
18137
18138 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
18139 older GDB where there is no has_more field.
18140
18141 2009-09-19 Glenn Morris <rgm@gnu.org>
18142
18143 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
18144
18145 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
18146
18147 * files.el (auto-mode-alist): Change default for XML files to nXML
18148 mode (Bug#4169).
18149
18150 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
18151
18152 * server.el (server-ensure-safe-dir): Pass 'integer
18153 to `file-attributes', as suggested.
18154
18155 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
18156
18157 * dired-aux.el (dired-query-alist): Remove spurious backslash.
18158 (dired-query): Use read-key.
18159
18160 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
18161
18162 * cus-start.el (ns-use-qd-smoothing): Remove.
18163
18164 2009-09-18 Glenn Morris <rgm@gnu.org>
18165
18166 * allout.el (top-level): Remove unnecessary progn.
18167
18168 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
18169
18170 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
18171 definition of abbrev table.
18172
18173 * speedbar.el (speedbar-track-mouse):
18174 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
18175 * net/eudc.el (eudc-expand-inline):
18176 * net/newst-backend.el (newsticker--cache-read-feed):
18177 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
18178 condition-case handlers.
18179
18180 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
18181
18182 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
18183 (gdb-var-list): Add an element for has_more field.
18184 (gdb-non-stop-handler): Enable pretty printing for STL containers.
18185 (gdb-var-create-handler, gdb-var-list-children-handler-1)
18186 (gdb-var-update-handler-1): Parse output of dynamic variable
18187 objects (STL containers).
18188 (gdb-var-delete-1): Pass var1 as an explicit second argument.
18189 (gdb-get-field): Delete alias. Use bindat-get-field directly.
18190
18191 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
18192 gdb-var-list.
18193 (gud-speedbar-buttons): Make node expandable if expression "has more"
18194 children.
18195
18196 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
18197
18198 * startup.el (emacs-quick-startup): Remove variable and all uses.
18199 (command-line): Set `inhibit-x-resources' instead.
18200 (command-line-1): Use `inhibit-x-resources' instead.
18201
18202 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
18203
18204 * subr.el: Fix last change to avoid using the `unless' macro,
18205 which breaks bootstrapping.
18206
18207 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
18208
18209 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
18210 extended definitions, in case we reload subr.el after having
18211 loaded CL.
18212 (eval-next-after-load): Mark as obsolete.
18213
18214 2009-09-17 Juri Linkov <juri@jurta.org>
18215
18216 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
18217 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
18218 (menu-bar-showhide-menu, menu-bar-tools-menu)
18219 (menu-bar-describe-menu, menu-bar-help-menu)
18220 (minibuffer-local-completion-map, minibuffer-local-map):
18221 Fix list quoting.
18222
18223 2009-09-17 Glenn Morris <rgm@gnu.org>
18224
18225 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
18226 arguments, whether or not it has a handler.
18227
18228 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
18229
18230 * simple.el (hard-newline): Give it a doc-string.
18231
18232 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
18233 (lisp-mode-syntax-table): Give them doc-strings.
18234
18235 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
18236
18237 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
18238 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
18239 (menu-bar-options-menu, menu-bar-showhide-menu)
18240 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
18241 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
18242 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
18243 (menu-bar-options-menu, menu-bar-tools-menu)
18244 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
18245 (menu-bar-help-menu):
18246 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
18247 string arguments.
18248
18249 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
18250 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
18251 calls for the menu names and :help.
18252
18253 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
18254
18255 * mouse.el (minor-mode-menu-from-indicator): Pay attention
18256 to :minor-mode-function (bug#4455).
18257
18258 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
18259
18260 * startup.el (command-line): Initialize the window-system after
18261 processing the command-line.
18262
18263 * textmodes/page.el (what-page): Make sure we don't inf-loop if
18264 page-delimiter matches the empty string.
18265
18266 2009-09-16 Glenn Morris <rgm@gnu.org>
18267
18268 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
18269 byte-compile-not-obsolete-var. It's a list now.
18270 (byte-compile-not-obsolete-funcs): New variable.
18271 (byte-compile-warn-obsolete): Don't warn about functions if they are in
18272 byte-compile-not-obsolete-funcs.
18273 (byte-compile-variable-ref, byte-compile-defvar): Update for
18274 byte-compile-not-obsolete-vars name-change and list nature.
18275 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
18276 and variables behind (f)boundp tests.
18277 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
18278
18279 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
18280
18281 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
18282
18283 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
18284
18285 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
18286 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
18287 Don't autoload.
18288
18289 2009-09-15 Stephen Eglen <stephen@gnu.org>
18290
18291 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
18292 the virtual-buffers, use the name of the buffer specified by
18293 find-file-noselect, as the match may be a symlink. (This was a
18294 problem if the target and the symlink had different names.)
18295
18296 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
18297
18298 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
18299
18300 * desktop.el (desktop-path): Check user-emacs-directory.
18301
18302 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
18303
18304 * loadup.el: Use after-load-functions to GC after loading each file.
18305 Remove the explicit GC calls that used to be sprinkled around.
18306
18307 * subr.el (after-load-functions): New hook.
18308 (do-after-load-evaluation): Run it. Use string-match-p to detect
18309 `obsolete' packages, rather than painfully extracting the relevant
18310 directory name.
18311
18312 2009-09-15 Glenn Morris <rgm@gnu.org>
18313
18314 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
18315 free variable `doc'.
18316
18317 * dired.el (dired-mode-map): Add menu entry for async shell command.
18318
18319 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
18320 variables, also consider the .elc files, since the .el files are
18321 normally gzipped (subsequent code locates the .el.gz from the .elc).
18322
18323 * calc/calc-prog.el (arglist): Define for compiler.
18324
18325 * calendar/diary-lib.el (diary-display-function): Change the default to
18326 fancy display.
18327 (body): Define for compiler.
18328
18329 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
18330 (byte-compile-file-form, byte-compile-lambda)
18331 (byte-compile-top-level-body, byte-compile-form)
18332 (byte-compile-variable-ref, byte-compile-setq)
18333 (byte-compile-setq-default, byte-compile-body)
18334 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
18335 (batch-byte-compile): Give some more local variables with common names
18336 a "bytecomp-" prefix to avoid masking warnings about free variables.
18337
18338 * startup.el (command-line-1): Give local variables with common names a
18339 distinguishing prefix, so as not to hide free variable warnings during
18340 bootstrap.
18341
18342 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
18343 clever and add a suffix to make a unique name, just let the user decide
18344 whether or not to overwrite it. If the input is a directory, write the
18345 default filename to that directory. (Bug#4388)
18346 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
18347 is a filename-as-a-directory.
18348
18349 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
18350
18351 * textmodes/page.el (what-page): Don't move to beginning of line.
18352 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
18353
18354 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
18355
18356 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
18357
18358 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
18359
18360 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
18361 * help.el (help-for-help-internal): Add purecopy calls for text.
18362
18363 * vc.el (top): print-log method now takes an optional SHORTLOG
18364 argument. Add a new method: root.
18365 (vc-root-diff, vc-print-root-log): New functions.
18366 (vc-log-short-style): New variable.
18367 (vc-print-log-internal): Add support for showing short logs.
18368
18369 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
18370 vc-print-root-log and vc-print-root-diff.
18371
18372 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
18373 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
18374 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
18375 short logs.
18376
18377 * vc-cvs.el (vc-cvs-print-log):
18378 * vc-mtn.el (vc-mtn-print-log):
18379 * vc-rcs.el (vc-rcs-print-log):
18380 * vc-sccs.el (vc-sccs-print-log):
18381 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
18382 that is ignored for now.
18383
18384 * vc-mtn.el (vc-mtn-annotate-command):
18385 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
18386
18387 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
18388
18389 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
18390 to function-key-map, and give them ascii-character property.
18391 * term/x-win.el (x-alternatives-map):
18392 * term/ns-win.el (ns-alternatives-map):
18393 * term/internal.el (msdos-key-remapping-map):
18394 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
18395
18396 2009-09-14 Glenn Morris <rgm@gnu.org>
18397
18398 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
18399 temp-buffers (2009-09-12).
18400
18401 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
18402
18403 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
18404 the new read-key function.
18405
18406 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
18407
18408 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
18409 is defined (Bug#4405).
18410
18411 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
18412
18413 * recentf.el (recentf-cleanup): Use a hash table to find
18414 duplicates (Bug#4407).
18415
18416 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
18417
18418 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
18419 kp-0 to ascii equivalents (Bug#4325).
18420
18421 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
18422
18423 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
18424
18425 * eshell/em-hist.el:
18426 * eshell/em-dirs.el (eshell-complete-user-reference):
18427 Declare pcomplete functions and variables to avoid compiler warnings.
18428
18429 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
18430
18431 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
18432 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
18433 * eshell/em-alias.el (eshell-aliases-file):
18434 * eshell/em-hist.el (eshell-history-file-name):
18435 Use expand-file-name instead of concat to make file names (Bug#4308).
18436
18437 2009-09-13 Glenn Morris <rgm@gnu.org>
18438
18439 * ediff-merg.el (ediff-do-merge):
18440 * filesets.el (filesets-run-cmd):
18441 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
18442 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
18443 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
18444 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
18445 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
18446 Replace empty `let's with `progn'.
18447
18448 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
18449
18450 * mail/sendmail.el (send-mail-function):
18451 * tooltip.el (tooltip-mode):
18452 * simple.el (transient-mark-mode):
18453 * rfn-eshadow.el (file-name-shadow-mode):
18454 * frame.el (blink-cursor-mode):
18455 * font-core.el (global-font-lock-mode):
18456 * files.el (temporary-file-directory)
18457 (small-temporary-file-directory, auto-save-file-name-transforms):
18458 * epa-hook.el (auto-encryption-mode):
18459 * composite.el (global-auto-composition-mode):
18460 Use custom-initialize-delay.
18461 * startup.el (command-line): Don't explicitly call
18462 custom-reevaluate-setting for all the above vars.
18463 * custom.el (custom-initialize-safe-set)
18464 (custom-initialize-safe-default): Delete.
18465
18466 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18467
18468 * term/x-win.el (x-initialize-window-system):
18469 * term/w32-win.el (w32-initialize-window-system):
18470 * term/ns-win.el (ns-initialize-window-system): Don't call
18471 mouse-wheel-mode since it's enabled globally by default already.
18472
18473 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
18474 actually define the variable, but only silences the byte-compiler.
18475 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
18476 before looking it up.
18477 (mouse-wheel-scroll-amount): Also reset the bindings if this value
18478 is changed.
18479
18480 2009-09-12 Glenn Morris <rgm@gnu.org>
18481
18482 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
18483 1000.
18484 (elint-add-required-env): Don't beep on error.
18485 (elint-forms): In case of error, return ENV unchanged.
18486 (elint-init-env): Skip non-list forms.
18487 (elint-log): Handle unknown file positions.
18488
18489 2009-09-12 Daiki Ueno <ueno@unixuser.org>
18490
18491 * epg.el (epg-make-context): Add autoload cookie.
18492 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
18493 (epg-decrypt-string, epg-start-verify, epg-verify-file)
18494 (epg-verify-string, epg-start-sign, epg-sign-file)
18495 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
18496 (epg-encrypt-string, epg-start-export-keys)
18497 (epg-export-keys-to-file, epg-export-keys-to-string)
18498 (epg-start-import-keys, epg-import-keys-from-file)
18499 (epg-import-keys-from-string, epg-start-receive-keys)
18500 (epg-receive-keys, epg-import-keys-from-server)
18501 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
18502 (epg-sign-keys, epg-start-generate-key)
18503 (epg-generate-key-from-file, epg-generate-key-from-string):
18504 Remove autoload cookie.
18505
18506 2009-09-12 Eli Zaretskii <eliz@gnu.org>
18507
18508 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
18509 reevaluation of trash-directory.
18510
18511 * mwheel.el: Fix last change.
18512 (mouse-wheel-mode): New defvar.
18513 (mouse-wheel-mode): Remove autoload cookie.
18514
18515 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18516
18517 * mwheel.el (mwheel-installed-bindings): New var.
18518 (mouse-wheel-mode): Use it, so as to make sure we really remove all
18519 the bindings we set last time. Use custom-initialize-delay.
18520 * loadup.el: Load mwheel after term/*-win.el.
18521 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
18522 and mouse-wheel-up-event now that their first evaluation is done
18523 sufficiently late to be correct.
18524
18525 * startup.el (tutorial-directory): Make it a defcustom.
18526 Use custom-initialize-delay rather than eval-at-startup to set it.
18527 * image.el (image-load-path): Make it a defcustom.
18528 Use custom-initialize-delay rather than eval-at-startup to set it.
18529 * subr.el (eval-at-startup): Remove.
18530 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
18531
18532 * subr.el (do-after-load-evaluation): Warn the user after loading an
18533 obsolete package.
18534
18535 2009-09-12 Glenn Morris <rgm@gnu.org>
18536
18537 * proced.el (proced-mark-alt): Remove alias.
18538 (proced-mode-map): Remove proced-mark-alt.
18539
18540 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
18541 Elint file and directory. Remove initialization entry.
18542
18543 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
18544 commands.
18545 (elint-current-buffer): Set mode-line-process.
18546 (elint-init-env): Handle define-derived-mode.
18547 Fix declare-function with unspecified arglist. Guard against odd
18548 defalias statements (eg iso-insert's 8859-1-map).
18549 (elint-add-required-env): Use a temp buffer.
18550 (elint-form): Just print the function/macro name, not the whole form.
18551 Return env unchanged if we fail to parse a macro.
18552 (elint-forms): Guard against parse errors.
18553 (elint-output): New function, to handle batch mode.
18554 (elint-log-message): Add optional argument. Use elint-output.
18555 (elint-set-mode-line): New function.
18556
18557 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
18558
18559 * emacs-lisp/elp.el (elp-not-profilable): Add more
18560 functions (Bug#4233).
18561
18562 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
18563
18564 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
18565 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
18566
18567 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
18568
18569 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
18570 (gdb-var-list-children): Use json parsing.
18571
18572 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
18573
18574 * progmodes/js.el (js--proper-indentation): Handle the case where
18575 char-before is null. Reported by Deniz Dogan.
18576
18577 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
18578
18579 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
18580
18581 2009-09-11 Daiki Ueno <ueno@unixuser.org>
18582
18583 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
18584 (epg-digest-algorithm-alist): Add SHA224.
18585 (epg-context-set-passphrase-callback)
18586 (epg-context-set-progress-callback): Add description about
18587 callback function.
18588
18589 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18590
18591 * custom.el (custom-delayed-init-variables): New var.
18592 (custom-initialize-delay): New function.
18593 * startup.el (command-line): "Re"evaluate all vars in
18594 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
18595 explicitly any more.
18596 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
18597 to avoid creating a ~/.emacs.d at build-time (bug#4347).
18598
18599 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
18600
18601 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
18602
18603 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
18604 (gdb-var-update-handler): Use json parsing.
18605
18606 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
18607
18608 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
18609 decode annotated text, regardless of language environment. (Bug#2741)
18610
18611 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18612
18613 * Makefile.in (autoloads): Make rmail.el writable as well.
18614
18615 2009-09-11 Glenn Morris <rgm@gnu.org>
18616
18617 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
18618 loaddefs.el.
18619 * dired.el: Regenerate with extracted autoloads.
18620 * Makefile.in (autoloads): Make dired.el writable.
18621
18622 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
18623 * ibuffer.el: Regenerate with extracted autoloads.
18624 * Makefile.in (autoloads): Make ibuffer.el writable.
18625
18626 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
18627 * version.el (emacs-copyright, emacs-major-version)
18628 (emacs-minor-version): Reformat doc-strings for make-docfile.
18629
18630 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
18631 functions and variables, since they must be stuff specific to some other
18632 platform.
18633 (apropos-print): Make mouse-click message less specific about button.
18634
18635 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
18636 that records where a macro was defined.
18637 * help-fns.el (describe-function-1): Mention if a function has a
18638 compiler-macro.
18639 * help-mode.el (help-function-cmacro): New button.
18640
18641 * locate.el (top-level): Always require dired.
18642 (locate-mode-map): Initialize inside the defvar.
18643
18644 * net/ange-ftp.el (dired-compress-file): Declare.
18645 (ange-ftp-dired-compress-file): Add doc string.
18646
18647 * term/ns-win.el (x-display-name, x-setup-function-keys):
18648 Unify doc-strings with X versions.
18649
18650 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18651
18652 * emulation/crisp.el (crisp-mode-map): Move initialization
18653 into declaration.
18654 (crisp-mode): Use define-minor-mode.
18655
18656 * progmodes/xscheme.el (xscheme-evaluation-commands):
18657 Put a :advertised-binding property rather than using
18658 advertised-xscheme-send-previous-expression.
18659 (advertised-xscheme-send-previous-expression): Declare obsolete.
18660 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
18661 `advertised-undo'.
18662 (crisp-mode): Add corresponding bindings to
18663 undo's :advertised-binding instead.
18664 * dired.el (dired-mode-map): Put a :advertised-binding property rather
18665 than using dired-advertised-find-file.
18666 (dired-advertised-find-file):
18667 * simple.el (advertised-undo):
18668 * wid-edit.el (advertised-widget-backward): Declare obsolete.
18669 (widget-keymap): Put a :advertised-binding property rather
18670 than using advertised-widget-backward.
18671 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
18672 than using advertised-undo.
18673 * tutorial.el (tutorial--default-keys): Adjust accordingly.
18674
18675 2009-09-10 Simon South <ssouth@slowcomputing.org>
18676
18677 * progmodes/delphi.el (delphi-tab): Indent region when Transient
18678 Mark mode is enabled and region is active; otherwise indent or
18679 insert TAB as usual.
18680 (delphi-mode): Update description of TAB-key binding.
18681
18682 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
18683
18684 * subr.el (define-key-rebound-commands): Mark obsolete.
18685 * startup.el (precompute-menubar-bindings): Remove.
18686 (normal-top-level): Remove obsolete code that tried to precompute
18687 menubar bindings.
18688 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
18689 define-key-rebound-commands and precompute-menubar-bindings.
18690
18691 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
18692
18693 * net/imap.el (imap-interactive-login): Better messages.
18694 (imap-open): Fix bug with renamed buffer on reconnect.
18695 (imap-authenticate): Add buffer-local imap-last-authenticator variable
18696 for easier debugging and cleaner code. On successful (guessed based on
18697 server capabilities) secondary authentication, set imap-state
18698 correctly.
18699 (imap-last-authenticator): Define imap-last-authenticator as a variable
18700 to avoid warnings.
18701
18702 2009-09-10 Glenn Morris <rgm@gnu.org>
18703
18704 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
18705
18706 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
18707 (byte-compile-file-form-autoload): Don't warn about unknown functions
18708 where the autoload statement comes after the use.
18709 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
18710 that any handlers inside the body (eg require) are in turn respected.
18711
18712 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
18713 effects.
18714
18715 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
18716 and syntax and abbrev tables basic docs, if they don't have any.
18717
18718 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
18719
18720 * international/mule-cmds.el (top-level): Require cl when compiling.
18721 (view-hello-file): Use default-value rather than
18722 default-enable-multibyte-characters.
18723
18724 * progmodes/fortran.el: Move all safe and risky properties into the
18725 defcustoms.
18726
18727 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
18728 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
18729 * mail/undigest.el:
18730 Put autoloads in rmail.el rather than loaddefs.el.
18731 * mail/rmail.el: Regenerate with extracted autoloads.
18732
18733 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
18734 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
18735
18736 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
18737
18738 Reported in thread for Bug#4375.
18739 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
18740 "-data-evaluate-expression" instead of print.
18741 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
18742 (gdb-tooltip-print): Parse output from above MI command.
18743 (gdb): Revert 2009-08-11 change. User should detach inferior
18744 manually.
18745
18746 Remove the word "separate" from IO functions as inferior
18747 output is now never displayed in the GUD buffer.
18748
18749 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
18750
18751 * startup.el (command-line-normalize-file-name): On Windows and
18752 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
18753
18754 2009-09-10 Juri Linkov <juri@jurta.org>
18755
18756 * isearch.el (isearch-text-char-description): Propertize escape
18757 character sequences with the `escape-glyph' face. (Bug#4344)
18758
18759 * simple.el (shell-command): Set asynchronous process filter to
18760 `comint-output-filter'. (Bug#4343)
18761
18762 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
18763 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
18764 the list. Move "asm" to the bottom.
18765 (grep-find-ignored-directories): Add `choice' with nil value
18766 to empty the list easily.
18767 (grep-find-ignored-files): New option.
18768 (grep-files-history): Set to nil by default instead of '("ch" "el").
18769 (grep-compute-defaults): Add "<X>" to `grep-template'.
18770 (grep-read-files): Bind new local variables `default-alias' and
18771 `default-extension'. Use a list of default values for the file prompt.
18772 (lgrep): Add `--exclude=' command line options composed from
18773 `grep-find-ignored-files'.
18774 (rgrep): Add `-name' command line options composed from
18775 `grep-find-ignored-files'. (Bug#4301)
18776
18777 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
18778
18779 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
18780 (bug#4368).
18781
18782 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
18783
18784 * calendar/time-date.el (autoload):
18785 Expand define-obsolete-function-alias into defalias and make-obsolete
18786 for old Emacsen that Gnus supports.
18787 (with-no-warnings): Define it for old Emacsen.
18788 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
18789 is available.
18790 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
18791 float-time is available; suppress compile warning for time-to-seconds.
18792
18793 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
18794
18795 * net/imap.el (imap-message-map): Docstring fix.
18796
18797 2009-09-09 Glenn Morris <rgm@gnu.org>
18798
18799 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
18800 line numbers too. (Bug#4374)
18801
18802 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
18803
18804 * smerge-mode.el (smerge-remove-props, smerge-refine):
18805 Use with-silent-modifications (bug#4342).
18806
18807 * subr.el (with-silent-modifications): New macro.
18808
18809 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
18810
18811 * files.el (top-level): Require `cl' when compiling.
18812
18813 2009-09-07 Glenn Morris <rgm@gnu.org>
18814
18815 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
18816
18817 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
18818 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
18819
18820 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
18821
18822 * vc-git.el (vc-git-annotate-command): Use separator to parse
18823 arguments correctly.
18824
18825 2009-09-06 Eli Zaretskii <eliz@gnu.org>
18826
18827 * proced.el (proced-mode): Doc fix.
18828
18829 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
18830
18831 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
18832 lstat fails.
18833 (tramp-do-file-attributes-with-ls): Check for file existence at
18834 remote end.
18835 (tramp-do-file-attributes-with-stat): Likewise.
18836 (tramp-convert-file-attributes): Return nil when attr is nil.
18837
18838 2009-09-05 Glenn Morris <rgm@gnu.org>
18839
18840 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
18841 properties to this button.
18842 (diary-fancy-display): Don't extend the button to the final newline.
18843 (diary-fancy-display-mode): Continue to define "q" as a local key.
18844
18845 * calendar/cal-china.el (holiday-chinese): Make it slightly more
18846 efficient.
18847
18848 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
18849
18850 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
18851 (byte-compile-dest-file-function): New option.
18852 (byte-compile-dest-file): Doc fix.
18853 Obey byte-compile-dest-file-function.
18854 (byte-compile-cl-file-p): New function.
18855 (byte-compile-eval): Only suppress noruntime warnings about cl functions
18856 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
18857 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
18858 than for file being previously loaded.
18859 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
18860 (byte-compile-file-form-require): Handle the case where requiring a file
18861 indirectly causes CL to be loaded.
18862
18863 2009-09-05 Karl Fogel <kfogel@red-bean.com>
18864
18865 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
18866 before killing the old buffer, since by the time `kill-buffer' is
18867 run so many buffer variables have been set to nil that it may not
18868 behave as expected. (Bug#4061)
18869
18870 2009-09-05 Karl Fogel <kfogel@red-bean.com>
18871
18872 * files.el (find-alternate-file): If the old buffer is modified
18873 and visiting a file, behave similarly to `kill-buffer' when
18874 killing it, thus reverting to the pre-1.878 behavior; see
18875 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
18876 for discussion. Also, consult `buffer-file-name' as a variable
18877 not as a function, for consistency with the rest of the code.
18878
18879 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
18880
18881 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
18882 also when adding a new directory.
18883
18884 * net/tramp-compat.el (tramp-compat-line-beginning-position):
18885 New defun.
18886
18887 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
18888
18889 * files.el (locate-file-completion-table): Make it provide boundary
18890 information, so partial-completion works better.
18891
18892 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
18893
18894 * mail/footnote.el (Footnote-text-under-cursor):
18895 Check footnote-text-marker-alist before using it (bug#4324).
18896
18897 2009-09-04 Glenn Morris <rgm@gnu.org>
18898
18899 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
18900 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
18901 * play/solitaire.el, play/tetris.el:
18902 Remove leading * from defcustom and defface docs.
18903
18904 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
18905 necessary.
18906 (diary-fancy-overriding-map): New variable.
18907 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
18908 Use view-mode.
18909
18910 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
18911 goto-line.
18912
18913 2009-09-03 Glenn Morris <rgm@gnu.org>
18914
18915 * arc-mode.el (archive-mode):
18916 * dos-fns.el (set-default-process-coding-system):
18917 * man.el (Man-getpage-in-background):
18918 * menu-bar.el (menu-bar-describe-menu):
18919 * server.el (server-process-filter):
18920 * startup.el (command-line):
18921 * tar-mode.el (tar-header-block-tokenize, tar-extract):
18922 * w32-fns.el (set-default-process-coding-system):
18923 * x-dnd.el (x-dnd-handle-file-name):
18924 * international/mule-cmds.el (mule-menu-keymap)
18925 (set-default-coding-systems, language-info-alist, set-language-info)
18926 (set-language-environment, standard-display-european-internal)
18927 (set-locale-environment):
18928 * international/mule-diag.el (mule-diag):
18929 * mail/emacsbug.el (report-emacs-bug):
18930 * mail/rmail.el (rmail-mode):
18931 * mail/sendmail.el (mail-setup):
18932 Use default-value rather than default-enable-multibyte-characters.
18933
18934 * progmodes/f90.el: Move all safe properties into the defcustoms.
18935 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
18936
18937 * calendar/appt.el (appt-check):
18938 * calendar/diary-lib.el (diary-set-header, diary-live-p)
18939 (diary-check-diary-file, diary-list-entries)
18940 (diary-include-other-diary-files, diary-simple-display)
18941 (diary-fancy-display, diary-print-entries)
18942 (diary-mark-included-diary-files, diary-make-entry):
18943 Don't call substitute-in-file-name on diary-file.
18944
18945 2009-09-03 Eduard Wiebe <usenet@pusto.de>
18946 Stefan Monnier <monnier@iro.umontreal.ca>
18947
18948 * mail/footnote.el (footnote-prefix): Make it a defcustom.
18949 (footnote-mode-map): Move initialization into the declaration.
18950 (footnote-minor-mode-map): Define it rather than changing global-map.
18951 (footnote-mode): Use define-minor-mode.
18952
18953 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
18954
18955 * net/tramp.el (tramp-handle-file-attributes-with-ls)
18956 (tramp-do-file-attributes-with-perl)
18957 (tramp-do-file-attributes-with-stat): Rename from
18958 `tramp-handle-file-attributes-with-*'.
18959 (tramp-handle-file-attributes): Use them.
18960 (tramp-do-directory-files-and-attributes-with-perl)
18961 (tramp-do-directory-files-and-attributes-with-stat): Rename from
18962 `tramp-handle-directory-files-and-attributes-with-*'.
18963 (tramp-handle-directory-files-and-attributes): Use them.
18964 (tramp-method-out-of-band-p): Additional parameter SIZE.
18965 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
18966 (tramp-handle-write-region): Use it.
18967 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
18968 (tramp-handle-vc-registered): Check, whether the first run did
18969 return files to be tested.
18970 (tramp-advice-make-auto-save-file-name): Do not call directly
18971 `tramp-handle-make-auto-save-file-name', because this would bypass
18972 the locking mechanism.
18973
18974 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
18975 (file-remote-p, process-file, start-file-process, set-file-times)
18976 (tramp-compat-file-attributes): Compatibility functions shall not
18977 call directly `tramp-handle-*', because this would bypass the
18978 locking mechanism.
18979 (tramp-compat-number-sequence): New defun.
18980
18981 2009-09-02 Glenn Morris <rgm@gnu.org>
18982
18983 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
18984 alias for float-time.
18985 (time-to-number-of-days): In Emacs, use float-time.
18986 * net/newst-backend.el (time-add): Suppress warnings from compat
18987 function.
18988 * time.el (emacs-uptime, emacs-init-time):
18989 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
18990 Use float-time rather than time-to-seconds.
18991
18992 * minibuffer.el (completion-initials-expand): Fix typo.
18993
18994 * faces.el (modeline, modeline-inactive, modeline-highlight)
18995 (modeline-buffer-id):
18996 * info.el (info-menu-5): Mark these face aliases as obsolete.
18997
18998 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
18999
19000 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
19001 space ...
19002 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
19003 no "--thread" option.
19004 (gdb-stopped): Don't print "Switched to thread" message when it is
19005 unchanged.
19006
19007 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
19008
19009 * minibuffer.el (completion-try-completion)
19010 (completion-all-completions): Remove ill-defined (and
19011 mistakenly installed and luckily never used nor documented)
19012 `completion-styles' property.
19013 (completion-initials-expand, completion-initials-all-completions)
19014 (completion-initials-try-completion): New functions.
19015 (completion-styles-alist): Add doc to each entry.
19016 Add new `initials' entry.
19017
19018 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
19019
19020 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
19021 MI command -var-evaluate-expression.
19022 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
19023 and tweak for case of string child.
19024 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
19025
19026 2009-09-01 Glenn Morris <rgm@gnu.org>
19027
19028 * add-log.el (change-log-date-face, change-log-name-face)
19029 (change-log-email-face, change-log-file-face, change-log-list-face)
19030 (change-log-conditionals-face, change-log-function-face)
19031 (change-log-acknowledgement-face):
19032 * cus-edit.el (custom-invalid-face, custom-rogue-face)
19033 (custom-modified-face, custom-set-face, custom-changed-face)
19034 (custom-saved-face, custom-button-face, custom-button-pressed-face)
19035 (custom-documentation-face, custom-state-face, custom-comment-face)
19036 (custom-comment-tag-face, custom-variable-tag-face)
19037 (custom-variable-button-face, custom-face-tag-face)
19038 (custom-group-tag-face-1, custom-group-tag-face):
19039 * diff-mode.el (diff-header-face, diff-file-header-face)
19040 (diff-index-face, diff-hunk-header-face, diff-removed-face)
19041 (diff-added-face, diff-changed-face, diff-function-face)
19042 (diff-context-face, diff-nonexistent-face):
19043 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
19044 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
19045 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
19046 (Info-title-4-face):
19047 * isearch.el (isearch-lazy-highlight-face):
19048 * log-view.el (log-view-file-face, log-view-message-face):
19049 * paren.el (show-paren-match-face, show-paren-mismatch-face):
19050 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
19051 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
19052 (cvs-msg-face):
19053 * smerge-mode.el (smerge-mine-face, smerge-other-face)
19054 (smerge-base-face, smerge-markers-face):
19055 * wid-edit.el (widget-documentation-face, widget-button-face)
19056 (widget-field-face, widget-single-line-field-face)
19057 (widget-inactive-face, widget-button-pressed-face):
19058 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
19059 (woman-addition-face):
19060 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
19061 (eshell-ls-executable-face, eshell-ls-readonly-face)
19062 (eshell-ls-unreadable-face, eshell-ls-special-face)
19063 (eshell-ls-missing-face, eshell-ls-archive-face)
19064 (eshell-ls-backup-face, eshell-ls-product-face)
19065 (eshell-ls-clutter-face):
19066 * eshell/em-prompt.el (eshell-prompt-face):
19067 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
19068 * obsolete/old-whitespace.el (whitespace-highlight-face):
19069 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
19070 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
19071 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
19072 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
19073 (antlr-font-lock-literal-face):
19074 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
19075 (ebrowse-root-class-face, ebrowse-file-name-face)
19076 (ebrowse-default-face, ebrowse-member-attribute-face)
19077 (ebrowse-member-class-face, ebrowse-progress-face):
19078 * progmodes/make-mode.el (makefile-space-face):
19079 * progmodes/sh-script.el (sh-heredoc-face):
19080 * textmodes/flyspell.el (flyspell-incorrect-face)
19081 (flyspell-duplicate-face):
19082 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
19083 * textmodes/texinfo.el (texinfo-heading-face):
19084 Mark face aliases with "-face" suffix as obsolete.
19085
19086 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
19087 compiler.
19088
19089 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
19090 (eudc-bob-sound-menu): Use defvar rather than defconst, since
19091 easy-menu-define wants to modify these.
19092
19093 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
19094
19095 * net/browse-url.el (browse-url-file-url):
19096 * term/internal.el (dos-codepage-setup):
19097 Use default-value rather than default-enable-multibyte-characters.
19098
19099 * progmodes/etags.el (etags-goto-tag-location):
19100 * progmodes/flymake.el (flymake-highlight-line)
19101 (flymake-goto-file-and-line, flymake-goto-line):
19102 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
19103 (gdb-goto-breakpoint):
19104 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
19105 * progmodes/python.el (python-find-function)
19106 (python-pdbtrack-track-stack-file):
19107 * progmodes/verilog-mode.el (verilog-surelint-off):
19108 * term/ns-win.el (ns-open-file-select-line):
19109 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
19110 Use forward-line rather than goto-line.
19111
19112 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
19113 * textmodes/reftex-index.el (reftex-display-index):
19114 * textmodes/reftex-ref.el (reftex-offer-label-menu):
19115 * textmodes/reftex-toc.el (reftex-toc):
19116 Remove unnecessary bindings of default-major-mode (all are followed by
19117 major-mode check and possible mode switch).
19118
19119 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
19120
19121 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
19122 Handle watchpoints (bug#4282).
19123 (def-gdb-thread-buffer-command): Enable thread to be selected by
19124 clicking without selecting threads buffer first.
19125 (gdb-current-context-command): Use selected frame so that "up",
19126 "down" etc work in the GUD buffer.
19127 (gdb-update): Find selected frame before rendering stack buffer.
19128 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
19129
19130 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
19131
19132 * progmodes/sym-comp.el (displayed-completions): Remove.
19133 (symbol-complete): Use minibuffer-complete.
19134
19135 2009-08-31 Glenn Morris <rgm@gnu.org>
19136
19137 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
19138
19139 * apropos.el (apropos-symbols-internal):
19140 Handle (obsolete) face aliases.
19141
19142 * faces.el (describe-face): Adjust the output format to be more like
19143 describe-variable, and to mention (obsolete) face aliases.
19144 Adjust the whitespace so that help-setup-xref works.
19145
19146 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
19147 * calendar/diary-lib.el (diary-button-face):
19148 Mark these face aliases as obsolete.
19149
19150 * calendar/calendar.el (calendar-today): Doc fix.
19151
19152 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
19153
19154 * progmodes/gdb-mi.el (gdb-control-all-threads)
19155 (gdb-control-current-thread): Force tool bar update.
19156 (gdb-non-stop-handler): New function.
19157 (gdb-init-1): Use it to test if non-stop mode is supported.
19158 Remove unused gdbmi buffer type.
19159
19160 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
19161
19162 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
19163 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
19164
19165 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
19166
19167 * comint.el (comint-exec-1): Check command is non-null first.
19168 Part of gdb-mi.el change (2009-08-28).
19169
19170 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19171
19172 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
19173
19174 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
19175
19176 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
19177 instead of `dolist' to avoid a recursive require when bootstrapping.
19178
19179 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19180
19181 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
19182
19183 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
19184
19185 * net/imap.el (imap-send-command): Simplify.
19186 (imap-wait-for-tag): point-max -> buffer-size.
19187
19188 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
19189
19190 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
19191 with constant argument.
19192
19193 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
19194
19195 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
19196
19197 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
19198 Change default, since most of our files don't have a history.
19199 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
19200 the user.
19201
19202 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19203 Add comint-run.
19204
19205 * calc/calc.el: Improve commenting convention.
19206 (calc-digit-map, toplevel): Simplify.
19207
19208 * comint.el (comint-insert-input): Be careful to only set point if we
19209 don't delegate to some other command.
19210
19211 * proced.el (proced-signal-list): Make it an alist.
19212 (proced-grammar-alist): Capitalize names.
19213 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
19214 Disable undo manually and make it read-only.
19215 Use completion-annotate-function.
19216
19217 * minibuffer.el (minibuffer-message): If the current buffer is not
19218 a minibuffer, insert the message in the echo area rather than at the
19219 end of the buffer.
19220 (completion-annotate-function): New variable.
19221 (minibuffer-completion-help): Use it.
19222 (completion--embedded-envvar-table): Environment vars are
19223 always case-sensitive.
19224
19225 2009-08-30 Glenn Morris <rgm@gnu.org>
19226
19227 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
19228 from fortran-current-defun.
19229 (fortran-beginning-of-subprogram): Be more precise about finding the
19230 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
19231 (fortran-end-of-subprogram): Simplify.
19232 (fortran-current-defun): Use fortran-start-prog-re.
19233
19234 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
19235
19236 * subr.el (do-after-load-evaluation): Simplify.
19237
19238 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
19239
19240 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
19241
19242 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
19243 (vc-rcs-print-log): Use it.
19244
19245 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
19246
19247 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
19248
19249 * paths.el (abbrev-file-name): Move to abbrev.el.
19250 * abbrev.el (abbrev-file-name): Move from paths.el.
19251 Obey user-emacs-directory.
19252 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
19253 user-emacs-directory.
19254 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
19255 abbrev-file-name and calc-settings-file any more.
19256 * startup.el (command-line): Recompute abbrev-file-name and
19257 abbreviated-home-dir.
19258 (normal-no-mouse-startup-screen): Improve the generic code and get rid
19259 of the special code for when C-h bindings haven't been changed.
19260 (display-startup-echo-area-message): Use with-current-buffer.
19261 (command-line-1): Use a list of strings, rather than a list of lists
19262 of strings for longopts.
19263
19264 * files.el (get-free-disk-space): Use / for default-directory.
19265
19266 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
19267 Use with-current-buffer.
19268
19269 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
19270 Recognize immutable variables like most-positive-fixnum.
19271 (byte-compile-setq-default): Check and warn if trying to assign
19272 to an immutable variable, or a non-variable.
19273
19274 * progmodes/cc-vars.el (c-comment-continuation-stars):
19275 * progmodes/cc-engine.el (c-looking-at-bos):
19276 * progmodes/cc-cmds.el (c-toggle-auto-state)
19277 (c-forward-into-nomenclature, c-backward-into-nomenclature)
19278 (c-comment-line-break-function): Add version of obsolescence.
19279
19280 2009-08-28 Juri Linkov <juri@jurta.org>
19281
19282 * files.el (magic-fallback-mode-alist): Add ZIP magic number
19283 associated with `archive-mode'.
19284
19285 * image.el (image-type-header-regexps): Use only JPEG magic number
19286 to determine JPEG images, and don't use `image-jpeg-p' because
19287 Emacs can display non-JFIF non-Exif JPEG images.
19288
19289 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
19290
19291 * arc-mode.el (archive-mode):
19292 * emacs-lisp/re-builder.el (re-builder-unload-function):
19293 Protect against the default value of `major-mode' being nil.
19294
19295 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
19296
19297 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
19298 Fix typos in docstrings.
19299
19300 * progmodes/js.el (js--macro-decl-re): Doc fix.
19301 (js--plain-method-re, js--split-name): Refloc docstring.
19302 (js--class-styles, js--make-merged-item, js--splice-into-items):
19303 Fix typos in docstrings; reflow docstrings.
19304 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
19305 (js--variable-decl-matcher, js--inside-pitem-p)
19306 (js--parse-state-at-point, js--get-all-known-symbols)
19307 (js--symbol-history, js-find-symbol, js--js-references)
19308 (js--moz-interactor, js--js-encode-value, js--read-tab):
19309 Fix typos in docstrings.
19310
19311 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19312
19313 * textmodes/reftex.el (reftex-get-file-buffer-force):
19314 * progmodes/verilog-mode.el (verilog-batch-execute-func):
19315 * emulation/viper.el (viper-go-away, viper-set-hooks):
19316 * emacs-lisp/re-builder.el (re-builder-unload-function):
19317 * emacs-lisp/bytecomp.el (byte-compile-file):
19318 * ses.el (ses-unload-function):
19319 * hexl.el (hexl-find-file):
19320 * files.el (normal-mode):
19321 * ehelp.el (with-electric-help):
19322 * autoinsert.el (auto-insert-alist):
19323 * arc-mode.el (archive-mode):
19324 Use (default-value 'major-mode) instead of default-major-mode.
19325
19326 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
19327 * international/mule.el (load-with-code-conversion):
19328 * emacs-lisp/debug.el (debug):
19329 * ediff-vers.el (ediff-rcs-get-output-buffer):
19330 * dired.el (dired-internal-noselect): Don't let-bind
19331 default-major-mode around code that doesn't use it.
19332 E.g. buffer creation via get-buffer-create doesn't use it.
19333
19334 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
19335
19336 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
19337 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
19338 when writing the temp file. Otherwise, epa-file gets confused.
19339 (tramp-register-file-name-handlers): Make it a defun. Move also
19340 `epa-file-handler' to the front of `file-name-handler-alist'.
19341
19342 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19343
19344 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
19345 start right after a ^M.
19346 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
19347 (tramp-completion-file-name-regexp-separate)
19348 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
19349 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
19350 Don't modify last-coding-system-used by accident.
19351 (tramp-completion-file-name-handler): Apply the checks here,
19352 instead during registration.
19353 (tramp-register-file-name-handlers): Rename from
19354 `tramp-register-file-name-handler'. Register both
19355 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
19356 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
19357
19358 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
19359
19360 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
19361 Remove variable ...
19362 (gdb-init-1, gdb-display-separate-io-buffer)
19363 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
19364 references to it.
19365 (gdb-inferior-io-mode): Use make-comint-in-buffer.
19366 (gdb-inferior-filter): Use comint-output-filter to stop
19367 echoing and remove ^M characters.
19368
19369 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19370
19371 * emulation/viper-init.el (viper-restore-cursor-type):
19372 * emulation/cua-base.el (cua--update-indications):
19373 Replace default-cursor-type with (default-value 'cursor-type).
19374
19375 * mail/sendmail.el (mail-recover-1):
19376 * international/mule-diag.el (describe-current-coding-system-briefly)
19377 (describe-current-coding-system):
19378 * international/mule-cmds.el (select-safe-coding-system)
19379 (select-message-coding-system)
19380 (set-language-environment-coding-systems, set-locale-environment):
19381 * hexl.el (hexl-insert-multibyte-char):
19382 * dos-w32.el (find-buffer-file-type-coding-system):
19383 * simple.el (what-cursor-position):
19384 Replace uses of default-buffer-file-coding-system
19385 with (default-value 'buffer-file-coding-system).
19386
19387 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
19388 Replace uses of default-cursor-in-non-selected-windows
19389 with (default-value 'cursor-in-non-selected-windows).
19390 Use with-current-buffer.
19391
19392 * mail/feedmail.el: Use CL macros.
19393 (feedmail-run-the-queue, feedmail-send-it-immediately):
19394 * dos-w32.el (find-buffer-file-type): Replace uses of
19395 default-buffer-file-type with (default-value 'buffer-file-type).
19396
19397 2009-08-28 Glenn Morris <rgm@gnu.org>
19398
19399 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
19400 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
19401 Use default-value of major-mode rather than default-major-mode.
19402
19403 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
19404
19405 * Makefile.in (update-elcfiles): Report left over elc files.
19406
19407 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
19408 expand-file-name and with-current-buffer.
19409 (mail-get-names, mail-directory): Use with-current-buffer.
19410
19411 * vc.el (vc-read-revision): New function.
19412 (vc-version-diff, vc-merge): Use it.
19413
19414 2009-08-27 Sam Steingold <sds@gnu.org>
19415
19416 * simple.el (kill-do-not-save-duplicates): New user option.
19417 (kill-new): When it is non-nil, and the new string is the same as
19418 the latest kill, set replace to t to avoid duplicates in kill-ring.
19419
19420 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
19421
19422 * net/tramp.el (tramp-handle-process-file): Do not flush all
19423 caches when `process-file-side-effects' is set.
19424 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
19425 instead of `tramp-find-file-exists-command'.
19426 Unset `process-file-side-effects'.
19427
19428 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
19429
19430 * net/tramp.el (tramp-methods): New method "rsyncc".
19431 (top): Add completion function for "rsyncc".
19432 (tramp-message-show-message): New defvar.
19433 (tramp-message, tramp-error): Use it.
19434 (tramp-do-copy-or-rename-file-directly): Extend check for direct
19435 remote copying.
19436 (tramp-do-copy-or-rename-file-out-of-band): Handle new
19437 `tramp-methods' entry `copy-env' of "rsyncc".
19438 (tramp-vc-registered-read-file-names): New defconst.
19439 (tramp-vc-registered-file-names): New defvar.
19440 (tramp-handle-vc-registered): Implement optimization strategy.
19441 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
19442 (tramp-vc-file-name-handler): New defun.
19443 (tramp-get-ls-command, tramp-get-test-command)
19444 (tramp-get-file-exists-command, tramp-get-remote-ln)
19445 (tramp-get-remote-perl, tramp-get-remote-stat)
19446 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
19447
19448 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
19449 (tramp-cache-inhibit-cache): Extend doc string. It allows also
19450 timestamps.
19451 (tramp-get-file-property): Check for timestamps in
19452 `tramp-cache-inhibit-cache'.
19453 (tramp-set-file-property): Write timestamp.
19454
19455 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
19456
19457 * language/japan-util.el (japanese-symbol-table): Add entries for
19458 cp932-2-byte.
19459
19460 * international/characters.el: Add category `j' to cp932-2-byte.
19461
19462 2009-08-27 Kenichi Handa <handa@m17n.org>
19463
19464 * international/fontset.el (build-default-fontset-data): New macro.
19465 (setup-default-fontset): Use build-default-fontset-data for CJK,
19466 tibetan, ethiopic, and ipa.
19467
19468 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
19469
19470 * cus-start.el (default-major-mode): Customize `major-mode' instead.
19471 (enable-multibyte-characters): Not customizable any more.
19472
19473 * subr.el (default-mode-line-format, default-header-line-format)
19474 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
19475 (default-direction-reversed, default-truncate-lines)
19476 (default-left-margin, default-tab-width, default-case-fold-search)
19477 (default-left-margin-width, default-right-margin-width)
19478 (default-left-fringe-width, default-right-fringe-width)
19479 (default-fringes-outside-margins, default-scroll-bar-width)
19480 (default-vertical-scroll-bar, default-indicate-empty-lines)
19481 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
19482 (default-fringe-cursor-alist, default-scroll-up-aggressively)
19483 (default-scroll-down-aggressively, default-fill-column)
19484 (default-cursor-type, default-buffer-file-type)
19485 (default-cursor-in-non-selected-windows)
19486 (default-buffer-file-coding-system, default-major-mode)
19487 (default-enable-multibyte-characters): Mark as obsolete.
19488
19489 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
19490
19491 * vc-dir.el (vc-dir-update): Remove debug helper.
19492
19493 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
19494
19495 2009-08-26 Sam Steingold <sds@gnu.org>
19496
19497 * simple.el (save-interprogram-paste-before-kill): New user option.
19498 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
19499 save the interprogram-paste into kill-ring before overriding it
19500 with the Emacs kill.
19501
19502 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
19503
19504 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
19505 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
19506 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
19507 and move to vc-rcs.el.
19508 (vc-default-next-revision): Rename to vc-rcs-next-revision and
19509 move to vc-rcs.el.
19510 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
19511 (vc-rcs-update-changelog): Remove.
19512 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
19513 and move to vc-rcs.el.
19514
19515 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
19516 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
19517 renaming.
19518 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
19519 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
19520 vc.el, renamed to be RCS specific.
19521
19522 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
19523 New functions.
19524 (vc-cvs-update-changelog): Move here from vc.el.
19525
19526 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
19527 New functions.
19528
19529 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
19530
19531 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
19532
19533 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
19534
19535 * vc-git.el (vc-git-register): Use "git add" for directories.
19536 (vc-git-stash, vc-git-stash-show): New functions.
19537 (vc-git-extra-menu-map): Bind them.
19538
19539 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
19540 directory correctly in case the item is a directory itself.
19541
19542 * vc.el: Document the desired behavior for reverted files in the
19543 `added' state.
19544 (vc-default-prettify-state-info): Remove function, unused.
19545
19546 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
19547
19548 2009-08-26 Glenn Morris <rgm@gnu.org>
19549
19550 * bindings.el (standard-mode-line-format): Reposition dashes in
19551 which-func entry. (Bug#4217)
19552
19553 * files.el (enable-local-variables, enable-local-eval)
19554 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
19555 the defcustoms.
19556 (auto-mode-alist, ignored-local-variables)
19557 (save-some-buffers-action-alist): Move risky declarations to the
19558 definitions.
19559 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
19560 (font-lock-defaults, format-alist, imenu--index-alist)
19561 (imenu-generic-expression, input-method-alist, minor-mode-alist)
19562 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
19563 (mode-line-modified, mode-line-mule-info, mode-line-position)
19564 (mode-line-process, mode-line-remote, outline-level)
19565 (parse-time-rules, rmail-output-file-alist)
19566 (special-display-buffer-names, vc-mode):
19567 Move risky declarations to the relevant files.
19568 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
19569 (mode-line-modified, mode-line-process, mode-line-position)
19570 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
19571 * font-core.el (font-lock-defaults):
19572 * format.el (format-alist):
19573 * vc-hooks.el (vc-mode):
19574 * window.el (special-display-buffer-names):
19575 * international/mule-cmds.el (input-method-alist):
19576 Define riskiness here (dumped file) rather than in files.el.
19577 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
19578 * imenu.el (imenu-generic-expression, imenu--index-alist):
19579 * outline.el (outline-level):
19580 * time.el (display-time-string):
19581 * calendar/parse-time.el (parse-time-rules):
19582 * mail/rmailout.el (rmail-output-file-alist):
19583 Autoload riskiness here, rather than placing in files.el.
19584
19585 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
19586
19587 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
19588
19589 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
19590
19591 * simple.el (process-file-side-effects): New defvar.
19592
19593 * dired-aux.el (dired-show-file-type):
19594 * vc.el (vc-diff-internal):
19595 * vc-arch.el (vc-arch-diff):
19596 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
19597 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
19598 * vc-git.el (vc-git-registered, vc-git-working-revision)
19599 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
19600 (vc-git--empty-db-p):
19601 * vc-hooks.el (vc-user-login-name):
19602 * vc-svn.el (vc-svn-registered, vc-svn-state)
19603 (vc-svn-dir-extra-headers, vc-svn-find-revision):
19604 * progmodes/grep.el (grep-probe): Let-bind
19605 `process-file-side-effects' with nil.
19606
19607 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
19608
19609 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
19610 daemon. Replace ping by checking for running service for bluez
19611 and zeroconf. (Bug#4239)
19612
19613 2009-08-25 Kevin Ryde <user42@zip.com.au>
19614
19615 * net/dig.el (dig): Add autoload cookie.
19616
19617 2009-08-25 Glenn Morris <rgm@gnu.org>
19618
19619 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
19620 load-history for absolute file-names.
19621 (byte-compile-file-form-require): Warn about use of the cl package.
19622
19623 * format.el (format-alist): Doc fix.
19624
19625 * play/bubbles.el (top-level): Don't require cl at run-time.
19626
19627 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
19628 run-time cl).
19629
19630 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
19631
19632 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
19633 from cl package.
19634 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
19635
19636 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
19637
19638 * calc/calc-alg.el (math-trig-rewrite)
19639 (math-hyperbolic-trig-rewrite): New functions.
19640 (calc-simplify): Simplify trig functions when asked.
19641
19642 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
19643
19644 * diff-mode.el (diff-find-source-location): Avoid goto-line.
19645
19646 2009-08-24 Kenichi Handa <handa@m17n.org>
19647
19648 * language/ind-util.el (mapthread): Delete it.
19649 (combinatorial): New function.
19650 (indian--puthash-cv): Use combinatorial instead of mapthread.
19651
19652 2009-08-22 Kevin Ryde <user42@zip.com.au>
19653
19654 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
19655 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
19656 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
19657 Clarify docstring that the value is strings not symbols.
19658 (checkdoc-list-of-strings-p): New function.
19659
19660 2009-08-22 Glenn Morris <rgm@gnu.org>
19661
19662 * files.el (auto-mode-alist):
19663 * hippie-exp.el (he-concat-directory-file-name):
19664 * lpr.el (lpr-windows-system, printer-name):
19665 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
19666 * ps-print.el (ps-windows-system):
19667 * startup.el (command-line):
19668 * emulation/viper-ex.el (viper-glob-function):
19669 * international/mule-cmds.el (set-language-environment-coding-systems):
19670 * net/ange-ftp.el (ange-ftp-write-region):
19671 * obsolete/fast-lock.el (fast-lock-cache-name):
19672 Remove code for defunct system-types emx, macos, mswindows, next-mach,
19673 unisoft-unix, vax-vms, win32, w32.
19674
19675 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
19676 given name if the pattern is not more specific.
19677
19678 * calendar/lunar.el (lunar-phase-names): New option.
19679 (lunar-phase): Doc fix.
19680 (lunar-cycles-per-year): New constant.
19681 (lunar-index): New function.
19682 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
19683 (lunar-phase-name): Use lunar-phase-names.
19684 (calendar-lunar-phases): Use format.
19685 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
19686
19687 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
19688 Copy imenu-example--name-and-position function here for own use.
19689 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
19690
19691 * bs.el (bs--redisplay):
19692 * cus-edit.el (custom-redraw):
19693 * ibuffer.el (ibuffer-bury-buffer):
19694 * server.el (server-goto-line-column):
19695 * startup.el (command-line-1):
19696 * strokes.el (strokes-xpm-for-stroke):
19697 * term.el (term-display-buffer-line):
19698 * view.el (View-goto-line):
19699 * calc/calc.el (calc-do, calc-trail-buffer):
19700 * play/gamegrid.el (gamegrid-add-score-insecure):
19701 * progmodes/ada-mode.el (ada-compile-goto-error):
19702 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
19703 (ebrowse-select-1st-to-9nth):
19704 * progmodes/cperl-mode.el (cperl-time-fontification):
19705 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
19706 * progmodes/gud.el (gud-display-line):
19707 (idlwave-shell-display-line):
19708 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
19709 * progmodes/make-mode.el (makefile-browser-toggle):
19710 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
19711 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
19712 * textmodes/picture.el (picture-draw-rectangle):
19713 * textmodes/reftex-index.el (reftex-index-goto-letter):
19714 (reftex-select-jump-to-previous):
19715 * textmodes/reftex-sel.el (reftex-find-start-point)
19716 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
19717 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
19718 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
19719 * textmodes/tex-mode.el (tex-compilation-parse-errors):
19720 * textmodes/two-column.el (2C-associated-buffer):
19721 Use forward-line rather than goto-line.
19722
19723 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
19724 goto-line.
19725
19726 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
19727 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
19728 (quick-check-list-to-regexp): Declare.
19729
19730 * progmodes/make-mode.el (makefile-browser-insert-selection):
19731 Use goto-char rather than goto-line.
19732
19733 * progmodes/prolog.el (compilation-error-regexp-alist)
19734 (compilation-forget-errors): Declare.
19735
19736 2009-08-22 Juri Linkov <juri@jurta.org>
19737
19738 * progmodes/grep.el (lgrep, rgrep): At the beginning
19739 set `dir' to `default-directory' unless `dir' is a non-nil
19740 readable directory. (Bug#4052)
19741 (lgrep, rgrep): Change a weird way to report an error
19742 from using `read-string' to using `error'.
19743 Instead of using interactive arguments in the function body,
19744 add new argument `confirm'.
19745
19746 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
19747
19748 * textmodes/remember.el (remember-buffer):
19749 * progmodes/cperl-mode.el (cperl-vc-header-alist):
19750 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
19751 (icalendar-extract-ical-from-buffer):
19752 * net/newst-treeview.el (newsticker-groups-filename):
19753 * net/newst-backend.el (newsticker-cache-filename):
19754 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
19755 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
19756 (speedbar-add-ignored-path-regexp, speedbar-line-path)
19757 (speedbar-buffers-line-path, speedbar-path-line)
19758 (speedbar-buffers-line-path):
19759 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
19760 (epg-sign-keys):
19761 * epa.el (epa-display-verify-result):
19762 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
19763
19764 2009-08-21 Glenn Morris <rgm@gnu.org>
19765
19766 * progmodes/js.el (inferior-moz-process): Fix declaration.
19767
19768 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
19769
19770 * obsolete/rnewspost.el (news-mail-reply):
19771 Use goto-char rather than goto-line.
19772
19773 * term/ns-win.el (ns-open-file-select-line):
19774 Use line-beginning-position rather than goto-line.
19775
19776 * apropos.el (apropos-command):
19777 * ehelp.el (electric-helpify):
19778 * printing.el (pr-show-setup):
19779 * strokes.el (strokes-help):
19780 * tutorial.el (tutorial--describe-nonstandard-key)
19781 (tutorial--detailed-help):
19782 * woman.el (woman-mini-help, woman-display-extended-fonts):
19783 * calc/calc-help.el (calc-describe-key):
19784 * emulation/edt.el (edt-electric-helpify):
19785 * international/mule-diag.el (mule-diag):
19786 * play/yow.el (apropos-zippy):
19787 * progmodes/python.el (python-describe-symbol):
19788 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
19789 * textmodes/table.el (*table--cell-describe-mode)
19790 (*table--cell-describe-bindings):
19791 Use help-print-return-message rather than the now obsolete alias.
19792
19793 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
19794 (calendar-cursor-to-visible-date):
19795 * play/5x5.el (5x5-position-cursor):
19796 * play/decipher.el (decipher):
19797 * play/gomoku.el (gomoku-goto-xy):
19798 * play/landmark.el (lm-goto-xy):
19799 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
19800 (mpuz-paint-digit):
19801 Use forward-line, not goto-line.
19802
19803 * mail/rmail.el (rmail-obsolete): Delete custom group.
19804 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
19805 (rmail-remote-password, rmail-remote-password-required):
19806 Remove unneeded :set-after and :set properties.
19807
19808 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
19809
19810 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
19811
19812 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
19813
19814 * loadup.el: Remove leftover macos code.
19815
19816 * vc-git.el (vc-git-annotate-command): Run asynchronously.
19817 Explicitly pass the date format to git blame so that user local
19818 so that the output format can be parsed.
19819
19820 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
19821
19822 * net/dbus.el (top): Don't check for (getenv
19823 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
19824
19825 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
19826
19827 * log-edit.el (log-edit-strip-single-file-name): New var.
19828 (log-edit-insert-changelog): Use it. Bug#3571
19829
19830 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
19831
19832 * subr.el (read-passwd): Use read-key so keypad keys work as well.
19833 Bug#3287
19834
19835 * help.el (help-print-return-message): Rename from
19836 print-help-return-message.
19837
19838 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
19839 cvs-mode-map parent hack.
19840 (log-view-mode): Derive from special-mode.
19841
19842 * linum.el (linum-mode): window-size-change-functions is redundant.
19843 Adapt to new window-configuration-change-hook behavior.
19844 (linum-after-size, linum-after-config): Remove.
19845
19846 * imenu.el (imenu-example--name-and-position)
19847 (imenu-example--lisp-extract-index-name)
19848 (imenu-example--create-lisp-index, imenu-example--create-c-index):
19849 Mark as obsolete.
19850
19851 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
19852 (inferior-prolog-mode): Use it.
19853 (inferior-prolog-load-file): Reset list of errors.
19854
19855 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
19856
19857 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
19858
19859 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
19860
19861 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
19862
19863 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
19864 is running already.
19865
19866 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
19867
19868 * subr.el (listify-key-sequence-1): Use normal syntax since those
19869 integers are nowadays always represented by the same (positive) number
19870 on all platforms.
19871 (read-key-empty-map): New const.
19872 (read-key-delay): New var.
19873 (read-key): New function.
19874 (force-mode-line-update): Use with-current-buffer.
19875 (locate-user-emacs-file): Don't forget to abbreviate the file name.
19876 (start-process-shell-command, start-file-process-shell-command):
19877 Discourage the use of command-args.
19878
19879 2009-08-19 Glenn Morris <rgm@gnu.org>
19880
19881 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
19882
19883 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
19884
19885 * simple.el (choose-completion-string): Don't rely on
19886 minibuffer-completing-file-name and ad-hoc checks to decide whether
19887 to continue completion or not.
19888
19889 * minibuffer.el (minibuffer-hide-completions): New function.
19890 (completion--do-completion): Use it.
19891 (completions-annotations): New face.
19892 (completion--insert-strings): Use it.
19893 (completion-pcm--delim-wild-regex): Add docstring.
19894 (completion-pcm--string->pattern): Add support for 0-width delimiters
19895 in completion-pcm--delim-wild-regex.
19896
19897 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
19898
19899 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
19900 Remove unused var `buffer-modified-p'.
19901
19902 * minibuffer.el (completion--do-completion): Move point for the #b001
19903 case as well (bug#4176).
19904 (minibuffer-complete, minibuffer-complete-word): Don't move point.
19905
19906 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
19907
19908 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
19909 and :session buses.
19910
19911 2009-08-18 Kenichi Handa <handa@m17n.org>
19912
19913 * international/ucs-normalize.el (ucs-normalize-version):
19914 Change to 1.1.
19915 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
19916 (utf-8-hfs): Make it perform normalization on encoding too.
19917
19918 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
19919 (sentence-end-without-space): Delete duplicated chars.
19920 (sentence-end-base): Likewise.
19921
19922 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
19923 (html-mode): Delete duplicated chars from sentence-end-base.
19924
19925 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
19926 (texinfo-mode): Delete duplicated chars from sentence-end-base.
19927
19928 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
19929
19930 * files.el (hack-one-local-variable): If the mode function is for
19931 a minor mode, pass it an argument (Bug#4148).
19932
19933 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
19934
19935 * net/tramp.el (tramp-register-completion-file-name-handler):
19936 Check also for (member 'partial-completion completion-styles).
19937
19938 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
19939
19940 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
19941 abbrev (Bug#3943).
19942
19943 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
19944
19945 * progmodes/cperl-mode.el: Merge upstream 6.2.
19946 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
19947 (cperl-forward-re): Check cperl-brace-recursing.
19948 (cperl-highlight-charclass): New function.
19949 (cperl-find-pods-heres): Use it.
19950 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
19951 (cperl-beautify-regexp-piece): Fix column calculation.
19952 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
19953 (cperl-beautify-level): Don't process entire regexp.
19954 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
19955 calling man.
19956 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
19957 (cperl-init-faces): Build a list in the normal way.
19958
19959 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
19960
19961 * calendar/parse-time.el (parse-time-string-chars): Save match
19962 data.
19963
19964 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
19965
19966 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
19967 (sql-product): Use it.
19968 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
19969 (sql-set-product): Add completion.
19970 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
19971 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
19972 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
19973 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
19974 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
19975 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
19976 (sql-highlight-db2-keywords): Remove.
19977 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
19978 (sql-highlight-product): Use derived-mode-p.
19979 (sql-set-sqli-buffer): Use with-current-buffer.
19980 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
19981 Simplify.
19982
19983 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
19984
19985 * term.el: Fix commenting convention, turn comments into docstrings.
19986
19987 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
19988
19989 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
19990
19991 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
19992
19993 * calendar/parse-time.el (parse-time-string-chars): Compute using
19994 character classes, to handle non-ascii characters (Bug#3190).
19995
19996 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
19997
19998 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
19999 another heredoc if the user adds another < (Bug#3226).
20000
20001 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
20002 Don't initialize based on window-system (Bug#4124).
20003
20004 * facemenu.el (facemenu-read-color): Use a completion function
20005 that accepts any defined color, such as RGB triplets (Bug#3677).
20006
20007 * files.el (get-free-disk-space): Change fallback default
20008 directory to /. Expand DIR argument before switching to fallback.
20009 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
20010
20011 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
20012
20013 * files.el (load-library): Doc fix.
20014
20015 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
20016
20017 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
20018 (viper-if-string): Redefine C-s in the minibuffer to insert the last
20019 incremental search string.
20020
20021 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
20022 XEmacs.
20023
20024 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
20025 (ediff-merge-region-is-non-clash)
20026 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
20027 Also check if the job is really a merge job.
20028
20029 * ediff.el (ediff-current-file): New function.
20030
20031 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
20032
20033 * progmodes/js.el: Edit docstrings throughout to follow Emacs
20034 conventions.
20035 (js-insert-and-indent): Delete function.
20036 (js-mode-map): Don't bind keys to js-insert-and-indent.
20037 (js-beginning-of-defun): Rename from js--beginning-of-defun.
20038 (js-end-of-defun): Rename from js--end-of-defun.
20039 (js-auto-indent-flag): Delete variable.
20040
20041 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
20042
20043 * progmodes/js.el: Remove proclaim statement.
20044 Defvar which-func-imenu-joiner-function to silence compiler.
20045
20046 * files.el (auto-mode-alist): Use js-mode for .js files.
20047
20048 * progmodes/js2-mode.el: Remove file.
20049
20050 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
20051
20052 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
20053
20054 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
20055
20056 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
20057 Karl Landstrom <karl.landstrom@brgeight.se>
20058
20059 * progmodes/js.el: New file.
20060
20061 2009-08-14 Mark A. Hershberger <mah@everybody.org>
20062
20063 * timezone.el (timezone-parse-date): Add ability to understand ISO
20064 basic format (minimal separators) dates in addition to the
20065 already-supported extended format dates.
20066
20067 2009-08-14 Eli Zaretskii <eliz@gnu.org>
20068
20069 * international/ucs-normalize.el: Add a `coding' file variable.
20070
20071 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
20072
20073 2009-08-14 Sam Steingold <sds@gnu.org>
20074
20075 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
20076
20077 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
20078
20079 * faces.el (help-argument-name): Define it here instead of
20080 help-fns.el, because in daemon mode help-fns.el may be loaded when
20081 faces are still uninitialized (Bug#1078).
20082
20083 * help-fns.el (help-argument-name): Move defface to faces.el.
20084
20085 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
20086
20087 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
20088 create buffer with a pty but no process so that GDB can make the
20089 inferior the controlling process.
20090
20091 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
20092
20093 * international/ucs-normalize.el: New file.
20094
20095 2009-08-13 Richard Stallman <rms@gnu.org>
20096
20097 * mail/rmail.el (rmail-get-attr-names):
20098 Accept an attribute header that is too short.
20099
20100 * mail/rmail.el (rmail-forget-messages):
20101 Ignore nil elt in rmail-message-vector. Use dotimes.
20102
20103 * progmodes/compile.el (compilation-goto-locus):
20104 Use next-error-move-function.
20105
20106 * simple.el (next-error-move-function): New variable.
20107
20108 2009-08-12 Juri Linkov <juri@jurta.org>
20109
20110 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
20111 always non-nil. (Bug#4052)
20112
20113 * replace.el (read-regexp): Return empty string when
20114 `default-value' is nil.
20115 (keep-lines-read-args): Don't use empty string as the
20116 default value for `read-regexp'. (Bug#2495)
20117
20118 2009-08-12 Juri Linkov <juri@jurta.org>
20119
20120 * international/mule-cmds.el (ucs-insert): Change arguments
20121 from `arg' to `character', `count', `inherit' to be the same
20122 as in `insert-char'. Doc fix. (Bug#4039)
20123
20124 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
20125
20126 2009-08-12 Juri Linkov <juri@jurta.org>
20127
20128 * files-x.el: New file.
20129
20130 * files.el: Move code that deals with adding/deleting
20131 file/directory-local variables to files-x.el.
20132
20133 * Makefile.in (ELCFILES): Add files-x.elc.
20134
20135 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
20136
20137 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
20138 to use `goto-line'.
20139 (gdb-place-breakpoints, gdb-get-location): Rewritten without
20140 `goto-line'.
20141 (gdb-invalidate-disassembly): Do not refresh upon receiving
20142 'update signal. Instead, update all disassembly buffers only after
20143 threads list.
20144 (gdb): Send -target-detach when buffer is killed (Bug#3794).
20145 (gdb-starting): Move -data-list-register-names...
20146 (gdb-stopped): ...here so it's sent when first thread stops.
20147 (gdb-registers-handler-custom): Do nothing if register names are
20148 unknown yet.
20149
20150 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
20151 from `gdb-mi.el' to avoid extra tangling.
20152
20153 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
20154 change which breaks `gud-def' definitions used in `gdb'.
20155 (gdb-update-gud-running): No extra fuss for updating frame number.
20156
20157 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
20158
20159 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
20160 (describe-language-environment-map, setup-language-environment-map)
20161 (set-coding-system-map): Move initialization into declaration.
20162 (set-language-info-alist): Last arg to define-key-after can be skipped.
20163
20164 * international/quail.el (quail-completion-1): Simplify.
20165 (quail-define-rules): Use slightly more compact code.
20166 (quail-insert-decode-map): Propertize keys, compact columns.
20167
20168 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20169 Add goto-line.
20170
20171 2009-08-10 Miles Bader <miles@gnu.org>
20172
20173 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
20174 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
20175 (js2-instance-member, js2-private-member, js2-private-function-call)
20176 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
20177 (js2-magic-paren, js2-external-variable):
20178 Remove "-face" suffix from face names.
20179 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
20180 (js2-highlight-undeclared-vars, js2-peek-token)
20181 (js2-parse-function-params, js2-mode-show-errors)
20182 (js2-mode-show-warnings, js2-make-magic-delimiter)
20183 (js2-mode-highlight-magic-parens): Update to use new face names.
20184
20185 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
20186
20187 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
20188 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
20189
20190 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
20191
20192 * subr.el: Provide hashtable-print-readable.
20193
20194 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
20195 hs-c-like-adjust-block-beginning.
20196 (hs-hide-block-at-point): Stop hiding at the beginning of
20197 hs-block-end-regexp (Bug#700).
20198
20199 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
20200
20201 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
20202 a macro.
20203 (gdb-registers-handler-custom): Do not fail when register names
20204 are unavailable.
20205
20206 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
20207
20208 * progmodes/gdb-mi.el (gdb-control-all-threads)
20209 (gdb-control-current-thread): Interactive setters for
20210 `gdb-gud-control-all-threads' to use in menu.
20211 (gdb-show-run-p): Show «Go» when process is not active.
20212 (gud-tool-bar-map): Add non-stop/A,T indicator.
20213 Uses gud/thread.xpm and gud/all.xpm.
20214
20215 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
20216
20217 * net/net-utils.el (net-utils-font-lock-keywords): New var.
20218 (nslookup-font-lock-keywords): Make it a variable.
20219 (net-utils-mode): New mode for viewing diagnostic network output.
20220 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
20221 (net-utils-run-simple): New function.
20222 (ifconfig, iwconfig, netstat, arp, route): Use it.
20223
20224 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
20225
20226 * progmodes/gdb-mi.el (gdb-read-memory-custom)
20227 (gdb-memory-set-address, def-gdb-set-positive-number)
20228 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
20229 after changing settings.
20230 (gdb-invalidate-disassembly): Update when first shown.
20231 (gdb-edit-locals-value): Fixed.
20232 (gdb-registers-handler-custom): Print registers in right order and
20233 allow changing register values (only for current thread yet).
20234 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
20235 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
20236 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
20237 (gdb-locals-handler-custom, gdb-registers-handler-custom):
20238 Thread info in mode name.
20239 (gdb-registers-mode-map): TAB to switch to locals.
20240
20241 2009-08-08 Eli Zaretskii <eliz@gnu.org>
20242
20243 * mail/rmail.el (rmail-add-mbox-headers)
20244 (rmail-set-message-counters-counter): Search for
20245 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
20246
20247 2009-08-08 Glenn Morris <rgm@gnu.org>
20248
20249 * Makefile.in (ELCFILES): Update.
20250
20251 2009-08-07 Eli Zaretskii <eliz@gnu.org>
20252
20253 * mail/sendmail.el (mail-yank-original):
20254 Set buffer-file-coding-system from the one used by the message whose
20255 text is yanked.
20256
20257 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
20258 to "windows" when "pgnuplot" is used.
20259 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
20260 Don't call accept-process-output if "pgnuplot" is used.
20261 (calc-graph-init): Don't send -display and -geometry to
20262 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
20263 running "pgnuplot -V" with shell-command-to-string.
20264
20265 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
20266 the default.
20267
20268 2009-08-07 Eli Zaretskii <eliz@gnu.org>
20269
20270 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
20271 org/org-latex.elc.
20272
20273 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
20274
20275 * vc-dispatcher.el (vc-resynch-window): Update comment.
20276
20277 * term.el (term-handle-ansi-escape): Add comments with the
20278 terminfo capabilities implemented.
20279
20280 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
20281
20282 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
20283 (gdb-var-create-handler): Rewritten using JSON parser.
20284 (gdb-propertize-header): Move earlier.
20285 (gdb-set-header): Remove to avoid duplication.
20286 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
20287 Refresh disassembly buffers only after threads list have been
20288 update.
20289 (gdb-threads-header, gdb-registers-header): Per-buffer header line
20290 variables.
20291
20292 2009-08-04 Juri Linkov <juri@jurta.org>
20293
20294 * files.el: Commands to add/delete file/directory-local variables.
20295 (read-file-local-variable, read-file-local-variable-value)
20296 (read-file-local-variable-mode, modify-file-local-variable)
20297 (modify-file-local-variable-prop-line)
20298 (modify-dir-local-variable): New functions.
20299 (add-file-local-variable, delete-file-local-variable)
20300 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
20301 (add-dir-local-variable, delete-dir-local-variable)
20302 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
20303 (copy-dir-locals-to-file-locals-prop-line): New commands.
20304
20305 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
20306
20307 * abbrev.el (insert-abbrev-table-description): Prettify output.
20308 Suggested by Karl Chen.
20309
20310 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
20311
20312 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
20313 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
20314 (gdb-overlay-arrow-position, gdb-thread-position)
20315 (gdb-disassembly-position): Declare variables.
20316 (gdb-wait-for-pending): Function now.
20317 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
20318 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
20319 compilation goes smoothly.
20320 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
20321 (gdb-non-stop-setting): New customization setting which replaces
20322 `gdb-non-stop' so changing it doesn't break active GDB session.
20323 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
20324 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
20325 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
20326 (gdb-show-threads-by-default): New customization options.
20327 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
20328 routines.
20329 (gdb-get-buffer-create): Send buffers update signal when they are
20330 created.
20331 (gdb-invalidate-locals, gdb-invalidate-registers)
20332 (gdb-invalidate-breakpoints)
20333 (gdb-invalidate-threads, gdb-invalidate-disassembly)
20334 (gdb-invalidate-memory): Accept update signal.
20335 (gdb-current-context-command): Use --frame option.
20336 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
20337 Implement `gdb-frame-number' selection logic.
20338 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
20339 whether to show GUD toolbar buttons.
20340 (gdb-thread-exited): Unselect current thread when it exits.
20341 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
20342 (gdb-mark-line): Routine which sets overlay arrow or inverses
20343 video on fringeless displays.
20344 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
20345 to build aligned columns of data in GDB buffers and set text
20346 properties line-by-line.
20347 (gdb-invalidate-breakpoints)
20348 (gdb-breakpoints-list-handler-custom)
20349 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
20350 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
20351 (gdb-registers-handler-custom): Align data columns.
20352 (gdb-locals-handler-custom): Now prints data like in variable
20353 declarations.
20354 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
20355 Remove confusing buttons.
20356 (gdb-invalidate-threads): Append --frame.
20357 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
20358 between breakpoints/threads buffers.
20359 (gdb-set-window-buffer): Now can ignore dedicated windows.
20360 (gdb-propertize-header): Use `gdb-set-window-buffer'.
20361 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
20362 (def-gdb-thread-buffer-gud-command): Replaces
20363 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
20364 for fine thread control.
20365 (gdb-preempt-existing-or-display-buffer): New function used to
20366 display bound buffers without breaking window layout.
20367 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
20368 (gdb-select-frame): New version of `gdb-frames-select' which now
20369 sets `gdb-frame-number' so commands may use --frame option instead
20370 of inner debugger state.
20371 (gdb-frame-handler): Do not set `gdb-frame-number'.
20372 (gdb-threads-mode-map): Select threads with mouse.
20373
20374 * progmodes/gud.el (gdb-gud-context-call): Declare function to
20375 avoid compilation warning.
20376 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
20377 `gdb-show-stop-p`.
20378
20379 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
20380 Argument `key' renamed to `buffer-type'.
20381 (gdb-current-context-buffer-name): Do not add thread info to
20382 buffer name when no thread is selected.
20383 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
20384 command (bug 3794).
20385 (gdb-thread-selected): Handle `=thread-selected' notification.
20386 (gdb-wait-for-pending): New macro to deal with congestion problems.
20387 (gdb-breakpoints-list-handler-custom): Don't fail on pending
20388 breakpoints.
20389 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
20390 This fixes problem similar to one described in bug 3947.
20391 (gud-menu-map): More menu items.
20392 (gdb-init-1): Reset `gdb-thread-number' to nil.
20393
20394 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
20395 non-stop settings.
20396
20397 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
20398 (gdb-current-context-command): Do not append --thread if
20399 `gdb-thread-number' is nil.
20400 (gdb-running-threads-count, gdb-stopped-threads-count):
20401 New variables.
20402 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
20403 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
20404 New customization options.
20405 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
20406 GUD commands.
20407 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
20408 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
20409 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
20410 set `gdb-thread-number' and update `gud-running' properly.
20411 (gdb-running): Update threads list when new threads appear.
20412 (gdb-stopped): Support non-stop operation and new thread switching
20413 logic.
20414 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
20415 (gdb-json-partial-output): New set of JSON routines.
20416 (def-gdb-auto-update-trigger): New `signal-list' optional
20417 argument.
20418 (gdb-thread-list-handler-custom): Update `gud-running',
20419 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
20420 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
20421 (gdb-continue-thread, gdb-step-thread): New commands for fine
20422 thread execution control.
20423 (gud-menu-map): New menu items to switch non-stop options.
20424 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
20425 (gdb-send): Mimic RET properly (bug 3794).
20426
20427 * progmodes/gdb-mi.el (gdb-rules-name-maker)
20428 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
20429 gdb-buffer-rules.
20430 (def-gdb-auto-update-handler): New nopreserve optional argument.
20431 (gdb-stack-list-frames-custom): Print stack from top to bottom.
20432
20433 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
20434 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
20435 (gdb-parent-mode): New mode to derive other GDB modes from.
20436 (gdb-display-disassembly-for-thread)
20437 (gdb-frame-disassembly-for-thread): New commands for threads
20438 buffer.
20439
20440 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
20441 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
20442 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
20443 (gdb-update): We now store all GDB buffers in a list so that they
20444 can be updated by traversing a list instead of calling invalidate
20445 triggers explicitly.
20446 (def-gdb-trigger-and-handler): New macro to define trigger-handler
20447 pair for GDB buffer.
20448 (gdb-stack-buffer-name): Add thread information.
20449 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
20450 handle pending triggers.
20451 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
20452 (def-gdb-thread-buffer-simple-command)
20453 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
20454 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
20455 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
20456 New commands which show buffers bound to thread.
20457 (gdb-stack-list-locals-regexp): Remove unused regexp.
20458
20459 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
20460 (gdb-locals-buffer-name, gdb-registers-buffer-name)
20461 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
20462 to (gud-comint-buffer) in *-buffer-name functions
20463 because (gdb-get-target-string) already does that.
20464 (gdb-locals-handler-custom, gdb-registers-handler-custom)
20465 (gdb-changed-registers-handler): Rewritten without regexps.
20466
20467 * progmodes/gdb-mi.el: Basic thread selection support.
20468 (gdb-thread-number): New variable.
20469 (gdb-current-context-command): New macro which adds --thread
20470 option to command.
20471 (gdb-threads-mode-map): Select thread with SPC.
20472 (gdb-thread-list-handler-custom): Mark current thread with overlay
20473 arrow. Synchronize GDB thread and Emacs thread.
20474 (gdb-select-thread): New command which selects current thread.
20475 (gdb-invalidate-frames, gdb-invalidate-locals)
20476 (gdb-invalidate-registers): Use --thread option.
20477
20478 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
20479
20480 * net/tramp.el (top): Make check for tramp-gvfs loading more
20481 robust. (Bug#3977)
20482 (tramp-handle-insert-file-contents): `unwind-protect' must be
20483 inside `with-parsed-tramp-file-name'.
20484
20485 * net/tramp-gvfs.el (top): Remove superfluous message when loading
20486 fails.
20487
20488 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
20489
20490 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
20491 directory if CLASSPATH is not set.
20492
20493 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
20494
20495 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
20496 New defconst.
20497 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
20498
20499 2009-08-02 Kevin Ryde <user42@zip.com.au>
20500
20501 * net/newst-backend.el (newsticker--raw-url-list-defaults):
20502 Update freshmeat link. Delete newsforge.com as it seems gone.
20503
20504 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
20505
20506 * select.el (x-set-selection): Doc fix (Bug#4021).
20507
20508 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
20509
20510 * help-fns.el (describe-variable): Treat list return values from
20511 dir-locals-find-file properly (Bug#4005).
20512
20513 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
20514
20515 * net/tramp.el (tramp-debug-message): Print also microseconds.
20516
20517 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
20518
20519 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
20520 or END is non-nil.
20521 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
20522 (tramp-get-debug-buffer): Change `outline-regexp' according to new
20523 format.
20524
20525 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
20526 (tramp-get-file-property): Use it.
20527
20528 * autorevert.el (auto-revert-handler):
20529 Allow `auto-revert-tail-mode' for remote files.
20530
20531 2009-08-02 Jason Rumney <jasonr@gnu.org>
20532
20533 * minibuffer.el (read-file-name): Treat confirm options to
20534 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
20535
20536 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
20537
20538 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
20539 (font-lock-variable-name-face, font-lock-constant-face):
20540 Darken the colors for light backgrounds.
20541
20542 2009-08-01 Eli Zaretskii <eliz@gnu.org>
20543
20544 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
20545 month names. (Bug#3987)
20546
20547 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
20548
20549 * simple.el (line-move-finish): Pass whole number to
20550 line-move-to-column.
20551 (line-move-visual): Perform hscroll to the recorded position.
20552
20553 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
20554
20555 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
20556
20557 2009-07-29 Alan Mackenzie <acm@muc.de>
20558
20559 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
20560
20561 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
20562
20563 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
20564 (gdb-place-breakpoints): Use full path when setting breakpoints.
20565
20566 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
20567
20568 * calc/calc.el (calc-mode-map): Add keybinding for
20569 `calc-transpose-lines'.
20570
20571 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
20572
20573 * calc/calc-misc.el (calc-transpose-lines): New function.
20574
20575 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
20576
20577 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
20578 Simplify check for out-of-band methods.
20579 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
20580 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
20581
20582 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
20583
20584 * vc-git.el (vc-git-checkin): Fix typo.
20585
20586 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
20587
20588 * progmodes/js2-mode.el: New file.
20589
20590 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
20591
20592 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
20593 (gud-menu-map): Adjust tooltip accordingly.
20594
20595 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
20596
20597 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
20598 (vc-bzr-log-view-mode): Adjust log-view-file-re.
20599
20600 * add-log.el (change-log-mode-map): Add a menu.
20601
20602 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
20603
20604 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
20605 function returns nil.
20606 (dbus-handle-event): Handle special return value :ignore.
20607 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
20608
20609 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
20610
20611 * view.el (view-mode-enable): Don't define Helper-return-blurb if
20612 it's not needed.
20613
20614 2009-07-25 Eli Zaretskii <eliz@gnu.org>
20615
20616 Fix Bug#3888:
20617
20618 * w32-vars.el (x-select-enable-clipboard): Doc fix.
20619
20620 * term/pc-win.el (x-display-name, x-colors)
20621 (x-select-enable-clipboard, x-select-text): Doc fix.
20622
20623 * term/common-win.el (x-display-name, x-colors): Doc fix.
20624
20625 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
20626 (xw-defined-colors): Doc fix.
20627
20628 * w32-fns.el (x-select-text, x-setup-function-keys)
20629 (x-get-selection, x-set-selection): Doc fix.
20630
20631 * term/x-win.el (x-select-text, x-setup-function-keys)
20632 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
20633
20634 * select.el (x-set-selection): Doc fix.
20635
20636 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
20637
20638 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
20639 instead of "IsNSSSupportAvailable". Avahi ought to work also when
20640 "IsNSSSupportAvailable" method is not available.
20641 Reported by Steve Youngs <steve@sxemacs.org>.
20642
20643 2009-07-24 Kenichi Handa <handa@m17n.org>
20644
20645 * international/characters.el: Fix setting of category ?C, ?|, ?K,
20646 and ?H. Fix setting of case for Latin Extended and Greek Extended.
20647 (build-unicode-category-table): Fix range checks.
20648
20649 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
20650
20651 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
20652 the buffer we try to sync is current when calling
20653 vc-resynch-buffer.
20654
20655 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
20656 not show up to date files.
20657
20658 2009-07-24 Glenn Morris <rgm@gnu.org>
20659
20660 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
20661 Add autoload cookies. If necessary, initialize.
20662 (elint-log): Handle non-file buffers.
20663 (elint-initialize): Add optional argument to reinitialize.
20664 (elint-find-builtin-variables): Save excursion.
20665
20666 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
20667
20668 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
20669 for Lint.
20670
20671 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
20672
20673 * vc.el (vc-print-log-internal): New function, split out from ...
20674 (vc-print-log): ... here.
20675 (vc-dir-move-to-goal-column): Declare.
20676
20677 * vc-git.el (vc-git-add-signoff): New variable.
20678 (vc-git-checkin): Use it.
20679 (vc-git-toggle-signoff): New function.
20680 (vc-git-extra-menu-map): Bind it to menu.
20681 (vc-git--run-command-string): Accept a nil FILE argument.
20682 (vc-git-stash-list): New function.
20683 (vc-git-dir-extra-headers): Use it.
20684
20685 2009-07-23 Glenn Morris <rgm@gnu.org>
20686
20687 * help-fns.el (describe-variable): Describe ignored and risky local
20688 variables in a similar way to that in which we describe safe ones.
20689
20690 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
20691 (byte-compile-output-file-form, byte-compile-output-docform)
20692 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
20693 Give some more local variables with common names a "bytecomp-" prefix,
20694 so as not to shadow things during compilation.
20695 * emacs-lisp/cl-macs.el (load-time-value)
20696 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
20697 `outbuffer' to `bytecomp-outbuffer'.
20698
20699 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
20700 since the next two variables cover them automatically now.
20701 (elint-builtin-variables, elint-autoloaded-variables): New.
20702 (elint-unknown-builtin-args): Remove all members, since they can be
20703 parsed automatically now.
20704 (elint-extra-errors): New.
20705 (elint-env-add-env, elint-env-add-macro): Use cadr.
20706 (elint-current-buffer): Use or. Change final message.
20707 (elint-get-top-forms): Use line-end-position.
20708 (elint-init-env): Use cadr. Handle autoload, declare-function,
20709 and defalias.
20710 (elint-add-required-env): Doc fix. Use or. Standardize error.
20711 (regexp-assoc): Remove unused function.
20712 (elint-top-form): Set elint-current-pos, to record the start of the
20713 top-level form, for compilation-mode.
20714 (elint-form): Trap errors in macro expansion. Use dolist.
20715 (elint-unbound-variable): Use elint-builtin-variables and
20716 elint-autoloaded-variables.
20717 (elint-get-args): Use cadr, or.
20718 (elint-check-cond-form): Use dolist, cadr.
20719 (elint-check-condition-case-form): Doc fix. Use cadr.
20720 Use elint-extra-errors.
20721 (elint-log): New function.
20722 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
20723 Distinguish errors and warnings.
20724 (elint-log-message): Use with-current-buffer. Inhibit read-only.
20725 Use a bytecomp-style format.
20726 (elint-clear-log): Preserve default-directory. Inhibit read-only.
20727 (elint-get-log-buffer): Use compilation mode. Disable undo.
20728 Don't truncate lines.
20729 (elint-initialize): Set builtin and autoloaded variable lists.
20730 Only process elint-unknown-builtin-args if non-nil.
20731 (elint-find-builtin-variables, elint-find-autoloaded-variables):
20732 New functions.
20733 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
20734
20735 2009-07-22 Kevin Ryde <user42@zip.com.au>
20736
20737 * net/newst-backend.el (newsticker--parse-atom-1.0)
20738 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
20739 (newsticker--parse-rss-1.0):
20740 * progmodes/idlwave.el (idlwave-mode):
20741 * progmodes/idlw-shell.el (idlwave-shell-mode):
20742 * progmodes/vera-mode.el (vera-mode):
20743 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
20744 * progmodes/vhdl-mode.el (vhdl-mode):
20745 * textmodes/table.el (table-generate-source)
20746 (table--warn-incompatibility):
20747 Hyperlink urls in docstrings with URL `...'.
20748
20749 2009-07-22 Glenn Morris <rgm@gnu.org>
20750
20751 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
20752 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
20753 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
20754 Remove leading * from defcustom docs.
20755
20756 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
20757
20758 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
20759 defcustom doc.
20760 (list-load-path-shadows): Optionally, just return shadows as a string.
20761
20762 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
20763
20764 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
20765
20766 * mail/rmailedit.el (rmail-edit-mode):
20767 Use auto-save-include-big-deletions.
20768
20769 * mail/rmail.el (rmail-variables):
20770 Use auto-save-include-big-deletions.
20771
20772 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
20773 changes.
20774
20775 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
20776
20777 * calc/calc.el (calc-undo-length): New variable.
20778 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
20779
20780 2009-07-21 Richard Stallman <rms@gnu.org>
20781
20782 * files.el (auto-save-mode): Handle buffer-save-size = -2
20783 for toggling mode.
20784
20785 2009-07-21 Glenn Morris <rgm@gnu.org>
20786
20787 * textmodes/ispell.el (ispell-looking-back): Update declaration.
20788
20789 * calendar/todo-mode.el (calendar-current-date): Update declaration.
20790
20791 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
20792 silence compiler. Instead...
20793 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
20794 (ps-print-ensure-fontified): Update for above function name changes.
20795
20796 * printing.el (pr-mh-get-msg-num, pr-mh-show)
20797 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
20798 silence compiler. Instead...
20799 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
20800 (mh-show-buffer): Only define for compiler.
20801 (pr-mh-current-message): Update for above function name changes.
20802
20803 * files.el (abort-if-file-too-large): Explicitly pass `filename'
20804 as an argument.
20805 (find-file-noselect, insert-file-1): Update for above change.
20806
20807 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
20808
20809 * mail/mailclient.el (mailclient-send-it): Fix message.
20810
20811 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
20812 (edebug-eval): Check cl-debug-env is bound.
20813 (print-level, print-circle): Don't redefine built-in variables.
20814
20815 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
20816 (custom-print-vectors): Remove old comments from doc.
20817
20818 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
20819 (emerge-version): Make the variable an obsolete alias for the
20820 emacs-version variable. Make the function obsolete.
20821 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
20822 Emerge options, rather than merging in into the main Options menu.
20823 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
20824 and auto advance modes. Disable edit/fast items when not relevant.
20825
20826 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
20827
20828 * term/vt420.el (terminal-init-vt420): Fix typo.
20829
20830 2009-07-20 Sam Steingold <sds@gnu.org>
20831
20832 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
20833 variable (removed from compile.el on 2004-03-11).
20834
20835 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
20836
20837 * files.el (hack-local-variables-filter): Fix last change.
20838
20839 2009-07-19 Juri Linkov <juri@jurta.org>
20840
20841 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
20842 (dir-local-variables-alist): New buffer-local variable.
20843 (hack-local-variables-filter): If variable is not dir-local,
20844 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
20845 because file-local overrides dir-local.
20846 (c-postprocess-file-styles) <declare-function>:
20847 Remove obsolete declaration.
20848 (hack-dir-local-variables): Add dir-local variable/value pair to
20849 `dir-local-variables-alist' and remove duplicates. Doc fix.
20850
20851 * help-fns.el (describe-variable): Add information about
20852 file-local and dir-local variables.
20853
20854 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
20855
20856 * files.el (hack-local-variables-filter): Rewrite.
20857
20858 2009-07-19 Glenn Morris <rgm@gnu.org>
20859
20860 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
20861 Silence compiler by only defining on XEmacs.
20862
20863 * international/mule.el (auto-coding-regexp-alist): Only match
20864 BABYL... at the start of buffer, not of lines. (Bug#3790)
20865
20866 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
20867 non-calendar buffers (Bug#3862). Restore "not on a date" message.
20868 (cal-menu-context-mouse-menu): Doc fix.
20869
20870 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
20871
20872 * simple.el (mail-user-agent): Doc fix. Set :version tag.
20873
20874 2009-07-18 Juri Linkov <juri@jurta.org>
20875
20876 * info.el: Virtual Info keyword finder.
20877 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
20878 (Info-finder-file): New variable.
20879 (Info-finder-find-file): New function.
20880 (finder-known-keywords, finder-package-info)
20881 (find-library-name, lm-commentary): Use defvar and
20882 declare-function to silence compiler warnings.
20883 (Info-finder-find-node): New function.
20884 (info-finder): New command.
20885
20886 * subr.el (process-kill-buffer-query-function): New function.
20887 (add-hook)<kill-buffer-query-functions>: Add hook
20888 `process-kill-buffer-query-function'.
20889
20890 2009-07-18 Alan Mackenzie <acm@muc.de>
20891
20892 * progmodes/cc-mode.el (c-before-hack-hook)
20893 (c-postprocess-file-styles): Give invocation of `c-set-style'
20894 DONT-OVERRIDE parameter of t. Already set style variables will
20895 thus not be overridden by style settings given by `c-file-syle'.
20896
20897 * files.el (hack-local-variables-filter): Remove entries with
20898 duplicate keys from `file-local-variables-alist'.
20899
20900 2009-07-18 Eli Zaretskii <eliz@gnu.org>
20901
20902 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
20903 x-set-selection if display-selections-p returns nil for the
20904 current frame.
20905
20906 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
20907
20908 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
20909
20910 2009-07-18 Eli Zaretskii <eliz@gnu.org>
20911
20912 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
20913 Accept nil in addition to a regexp.
20914 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
20915 Accept nil in addition to a regexp.
20916 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
20917 buffers that have an associated file. Handle nil values of
20918 desktop-buffers-not-to-save and desktop-files-not-to-save.
20919 (Bug#3833)
20920
20921 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
20922 (x-disown-selection-internal): New functions.
20923
20924 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
20925
20926 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
20927 warning.
20928 (gdb-breakpoints-header): Move forward to avoid compiler warning.
20929 (gdb-make-header-line-mouse-map): Remove duplicate definition.
20930
20931 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
20932
20933 * simple.el (set-mark): Revert last change.
20934
20935 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
20936
20937 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
20938 rendering of pngs is not possible instead of messaging a long
20939 description.
20940
20941 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
20942
20943 * w32-fns.el (x-selection-owner-p): New function.
20944
20945 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
20946 (mouse-yank-at-click, mouse-yank-primary):
20947 If select-active-regions is non-nil, deactivate the mark before
20948 insertion.
20949
20950 * simple.el (deactivate-mark, set-mark): Only save selection if we
20951 own it.
20952
20953 2009-07-17 Kenichi Handa <handa@m17n.org>
20954
20955 * case-table.el (describe-buffer-case-table): Fix for the case
20956 that KEY is a cons.
20957
20958 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
20959
20960 * vc-rcs.el (vc-rcs-find-file-hook):
20961 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
20962
20963 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
20964
20965 * net/tramp.el (tramp-wait-for-output): Handle the case when
20966 commands do not return a newline but a null byte before the shell
20967 prompt. (Bug#3858)
20968
20969 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
20970
20971 * term/ns-win.el (ns-set-alpha): Don't declare.
20972 (ns-set-background-alpha): Remove function.
20973
20974 2009-07-16 Kevin Ryde <user42@zip.com.au>
20975
20976 * emacs-lisp/copyright.el (copyright-update): Save match-data across
20977 y-or-n-p, for safety.
20978
20979 2009-07-16 Richard Stallman <rms@gnu.org>
20980
20981 * files.el (auto-save-mode): If buffer-saved-size is -2,
20982 don't clobber it.
20983
20984 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
20985 (rmail-retry-ignored-headers): Add more uninteresting fields.
20986
20987 2009-07-15 Jari Aalto <jari.aalto@cante.net>
20988
20989 * net/rcirc.el (rcirc): Use history variables.
20990 (rcirc-server-name-history, rcirc-nick-name-history)
20991 (rcirc-server-port-history): New variables.
20992
20993 2009-07-15 Kenichi Handa <handa@m17n.org>
20994
20995 * international/mule-cmds.el (set-language-environment-charset):
20996 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
20997 ignore them.
20998
20999 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
21000 Delete unibyte-display.
21001
21002 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
21003
21004 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
21005
21006 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
21007
21008 * simple.el (deactivate-mark): Optional argument FORCE.
21009 (set-mark): Use deactivate-mark.
21010
21011 * info.el (Info-search): No need to check transient-mark-mode
21012 before calling deactivate-mark.
21013
21014 * select.el (x-set-selection): Doc fix.
21015 (x-valid-simple-selection-p): Allow buffer values.
21016 (xselect--selection-bounds): Handle buffer values.
21017 Suggested by David De La Harpe Golden.
21018
21019 * mouse.el (mouse-set-region, mouse-drag-track):
21020 Call copy-region-as-kill before setting the mark, to let
21021 select-active-regions work.
21022
21023 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
21024
21025 * simple.el (deactivate-mark): If select-active-regions is
21026 non-nil, copy the selection data into a string.
21027 (activate-mark): If select-active-regions is non-nil, set the
21028 selection to the current buffer.
21029 (set-mark): Update selection if select-active-regions is non-nil.
21030
21031 * select.el (x-valid-simple-selection-p): Allow buffer values.
21032
21033 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
21034
21035 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
21036 and more featureful message-mode.
21037
21038 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
21039
21040 * select.el (x-set-selection): Doc fix.
21041 (x-valid-simple-selection-p): Disallow selection data consisting
21042 of a list or cons of integers, since that is not used.
21043 (xselect--selection-bounds, xselect--int-to-cons): New functions.
21044 (xselect-convert-to-string, xselect-convert-to-length)
21045 (xselect-convert-to-filename, xselect-convert-to-charpos)
21046 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
21047
21048 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
21049
21050 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
21051 output in -break-info command (Emacs bug #3794).
21052
21053 2009-07-14 Glenn Morris <rgm@gnu.org>
21054
21055 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
21056 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
21057 (edebug-print-length, edebug-print-level, edebug-print-circle)
21058 (edebug-sit-for-seconds, edebug-view-outside)
21059 (edebug-bounce-point, edebug-set-global-break-condition)
21060 (edebug-Go-nonstop-mode, edebug-trace-mode)
21061 (edebug-Trace-fast-mode, edebug-continue-mode)
21062 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
21063 (edebug-visit-eval-list): Doc fixes.
21064
21065 * subr.el (def-edebug-spec): Doc fix.
21066
21067 2009-07-14 Kenichi Handa <handa@m17n.org>
21068
21069 * international/characters.el: Fix setting of category ?C.
21070
21071 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
21072
21073 * term/ns-win.el (x-select-font): defalias x-select-font to
21074 ns-popup-font-panel instead of generate-fontset-menu.
21075
21076 2009-07-12 Eli Zaretskii <eliz@gnu.org>
21077
21078 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
21079
21080 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
21081
21082 * arc-mode.el (archive-find-type): Allow for a PK00 string before
21083 the PK\003\004 header (Bug#3770).
21084
21085 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
21086
21087 * pcomplete.el (pcomplete-comint-setup): Check for
21088 shell-dynamic-complete-filename too.
21089
21090 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
21091
21092 * simple.el (temporary-goal-column): Change the value for
21093 line-move-visual to a cons cell.
21094 (line-move-visual): Record or set the window hscroll, if
21095 necessary (Bug#3494).
21096 (line-move-1): Handle cons value of temporary-goal-column.
21097
21098 2009-07-11 Kenichi Handa <handa@m17n.org>
21099
21100 * international/mule-diag.el (describe-character-set): Don't show
21101 width.
21102
21103 2009-07-10 Sam Steingold <sds@gnu.org>
21104
21105 * progmodes/compile.el (compilation-mode-font-lock-keywords):
21106 Omake sometimes indents the errors it prints, so allow all
21107 regexps to start with spaces.
21108
21109 2009-07-10 Eli Zaretskii <eliz@gnu.org>
21110
21111 * cus-edit.el (customize-changed-options-previous-release):
21112 Bump value to 22.1. (Bug#3804)
21113
21114 2009-07-08 Sam Steingold <sds@gnu.org>
21115
21116 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
21117 to be a cons cell (test . ignored-directory) to selectively ignore
21118 some directories depending on the location of the search.
21119
21120 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
21121
21122 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
21123 remote user is root, on the local host.
21124 (tramp-local-host-p): Either the local user or the remote user
21125 must be root. (Bug#3771)
21126
21127 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
21128
21129 * progmodes/gdb-mi.el (gdb): Remove description of
21130 gdb-use-separate-io-buffer.
21131 (menu): Don't allow toggling of or enable
21132 gdb-use-separate-io-buffer from menubar.
21133
21134 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
21135
21136 * mail/unrmail.el (unrmail): Make sure the message ends with two
21137 newlines (Bug#3769).
21138
21139 2009-07-08 Glenn Morris <rgm@gnu.org>
21140
21141 * calendar/calendar.el (calendar-current-date): Rework previous change.
21142
21143 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
21144
21145 * calendar/calendar.el (calendar-current-date):
21146 Add an optional argument giving an offset from today.
21147
21148 2009-07-08 Glenn Morris <rgm@gnu.org>
21149
21150 * tutorial.el (tutorial--describe-nonstandard-key):
21151 Adjust the message for when a key has been unbound.
21152 (help-with-tutorial): Hide the arch-tag.
21153
21154 2009-07-08 Kenichi Handa <handa@m17n.org>
21155
21156 * international/fontset.el (setup-default-fontset): For each
21157 script, append (not set) font-specs.
21158
21159 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
21160 docstring.
21161
21162 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
21163
21164 * progmodes/gdb-mi.el (gdb-init-1): Move sending
21165 -data-list-register-names to ...
21166 (gdb-starting): ... here because GDB 7.0 requires execution to
21167 have started when using this MI command.
21168 (gdb-set-header): New function to distinguish select and
21169 unselected tabs in gdb buffers.
21170 (gdb-propertize-header): New macro that uses gdb-set-header.
21171 (gdb-breakpoints-header, gdb-locals-header): Use it.
21172 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
21173
21174 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
21175
21176 * Makefile.in (ELCFILES): Remove fadr.elc.
21177
21178 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
21179
21180 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
21181 may contain frame information, so `string-match' should be used.
21182 (gdb-update): Disassembly is invalidated through
21183 `gdb-get-selected-frame'.
21184 (gdb-pad-string): New function to pad string with spaces.
21185 (gdb-invalidate-disassembly): Invalidate only if the buffer
21186 exists.
21187 (gdb-disassembly-handler-custom): Column alignment.
21188 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
21189 placing new ones.
21190 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
21191 end of line, too.
21192 (gdb-frame-handler): Match convention to for disassembly buffer
21193 mode name.
21194 (gdb-stack-list-frames-handler): Rewritten without regexps.
21195 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
21196 not highlight breakpoints without line information.
21197 (gdb-input): Add trailing newline to command.
21198
21199 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
21200 buffer properly.
21201 (gdb-breakpoints-list-handler-custom): Replacement for
21202 `gdb-break-list-handler'. Using real parser instead of regexps
21203 now.
21204 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
21205 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
21206 to place breakpoints.
21207 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
21208 functions.
21209 (gdb-disassembly-handler-custom): Show overlay arrow.
21210 (gdb-disassembly-place-breakpoints): Show breakpoints in
21211 disassembly buffer.
21212 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
21213 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
21214 instead of parsing breakpoints buffer. Fixed old menu references
21215 in `gud-menu-map'.
21216
21217 * fadr.el: Remove.
21218
21219 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
21220 (gdb-memory-address): New variable which holds top address of
21221 memory page shown in memory buffer.
21222 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
21223 New customization variables.
21224 New functions:
21225 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
21226 display the memory buffer.
21227 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
21228 buffer display parameters.
21229 (def-gdb-memory-format, gdb-memory-format-binary)
21230 (gdb-memory-format-octal, gdb-memory-format-unsigned)
21231 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
21232 Functions for setting memory buffer format.
21233 (gdb-memory-unit-word, gdb-memory-unit-halfword)
21234 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
21235 unit size used in memory buffer.
21236 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
21237 Switch to next/previous page of memory buffer.
21238 Now using (bindat-get-field) instead of fadr functions.
21239
21240 2009-07-07 Sam Steingold <sds@gnu.org>
21241
21242 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
21243 non-top-level files.
21244
21245 2009-07-07 Kenichi Handa <handa@m17n.org>
21246
21247 * international/mule-cmds.el (reset-language-environment):
21248 Put the highset priority to the charset iso-8859-1.
21249
21250 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
21251
21252 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
21253 to the end of the line when locating the block (Bug#700).
21254
21255 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
21256
21257 * net/tramp.el (tramp-handle-write-region): Flush file properties
21258 in case of short track.
21259
21260 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
21261
21262 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
21263 Coded custom representation of verilog error regular expressions
21264 to work with Emacs-22's new format.
21265 (verilog-error-regexp-xemacs-alist): Coded custom representation
21266 of verilog error regular expressions to work with XEmacs format.
21267 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
21268 error recognition into XEmacs.
21269 (verilog-error-regexp-add-emacs): Hook routine to install verilog
21270 error recognition into Emacs-22.
21271
21272 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
21273
21274 * woman.el: Remove stand-alone closing parentheses.
21275 (woman-file-name, woman2-format-paragraphs)
21276 (woman-leave-blank-lines): Code cleanup.
21277 (woman-use-own-frame): Change default to nil.
21278 (woman-italic, woman-bold, woman-unknown, woman-addition):
21279 Change defaults to inherit from default faces.
21280 (woman2-process-escapes): Consume the newline after a stand-alone
21281 filler character (Bug#3651).
21282
21283 2009-07-06 Glenn Morris <rgm@gnu.org>
21284
21285 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
21286 (top-level): Move provide to the end.
21287 (ffap): Remove defunct URL from custom group.
21288
21289 * subr.el (eval-after-load): Doc fix.
21290
21291 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
21292
21293 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
21294 `calc-embedded-word' is called twice.
21295
21296 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21297
21298 * files.el (find-alternate-file-other-window, find-alternate-file):
21299 Obey confirm-nonexistent-file-or-buffer.
21300
21301 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
21302
21303 * dired-aux.el (dired-show-file-type): Handle remote files.
21304
21305 2009-07-05 Jari Aalto <jari.aalto@cante.net>
21306
21307 * desktop.el (desktop-globals-to-save):
21308 Add file-name-history (Bug#2750).
21309
21310 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
21311
21312 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
21313
21314 2009-07-04 Johan Bockgård <bojohan@gnu.org>
21315
21316 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
21317 property on entire argument since this is what eshell-lisp-command
21318 expects.
21319
21320 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
21321
21322 * net/tramp-gvfs.el (tramp-gvfs-methods)
21323 (tramp-gvfs-zeroconf-domain)
21324 (tramp-bluez-discover-devices-timeout): Add version flag.
21325 (tramp-gvfs-handler-mounted-unmounted)
21326 (tramp-gvfs-connection-mounted-p): Polish handling of
21327 incompatibilities between GVFS 0.2 and 1.0.
21328
21329 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
21330
21331 * cus-start.el (all): Add make-pointer-invisible.
21332
21333 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
21334
21335 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
21336 formatted correctly.
21337
21338 2009-07-02 Juri Linkov <juri@jurta.org>
21339
21340 * info.el: Virtual Info files and nodes.
21341 (Info-virtual-files, Info-virtual-nodes): New variables.
21342 (Info-current-node-virtual): New variable.
21343 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
21344 New functions.
21345 (Info-file-supports-index-cookies): Use Info-virtual-file-p
21346 to check for a virtual file instead of checking a fixed list
21347 of node names.
21348 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
21349 instead of ad-hoc processing of "dir" and (apropos history toc).
21350 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
21351 instead of ad-hoc processing of "dir" and (apropos history toc).
21352 Reread a file when moving from a virtual node.
21353 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
21354 (Info-directory-toc-nodes, Info-directory-find-file)
21355 (Info-directory-find-node): New functions.
21356 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
21357 (Info-history): Move part of code to
21358 `Info-history-find-node'.
21359 (Info-history-toc-nodes, Info-history-find-file)
21360 (Info-history-find-node): New functions.
21361 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
21362 (Info-toc): Move part of code to `Info-toc-find-node'.
21363 (Info-toc-find-node): New function.
21364 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
21365 the current Info file name to references because now the node
21366 "*TOC*" belongs to the same Info manual.
21367 (Info-toc-build): Rename from `Info-build-toc'.
21368 (Info-toc-nodes): Rename input argument `file' to `filename'.
21369 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
21370 instead of ad-hoc processing of ("dir" apropos history toc).
21371 (Info-index-nodes): Use Info-virtual-file-p
21372 to check for a virtual file instead of checking a fixed list
21373 of node names.
21374 (Info-index-node): Add check for `Info-current-node-virtual'.
21375 Raise `save-match-data' higher up the tree to contain
21376 `search-forward' too (bug fix).
21377 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
21378 (Info-virtual-index-nodes): New variable.
21379 (Info-virtual-index-find-node, Info-virtual-index): New functions.
21380 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
21381 (Info-apropos-file, Info-apropos-nodes): New variables.
21382 (Info-apropos-toc-nodes, Info-apropos-find-file)
21383 (Info-apropos-find-node, Info-apropos-matches): New functions.
21384 (info-apropos): Move part of code to `Info-apropos-find-node' and
21385 `Info-apropos-matches'.
21386 (Info-mode-map): Bind "I" to `Info-virtual-index'.
21387 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
21388 for a virtual file instead of checking a fixed list of node names.
21389
21390 * simple.el (async-shell-command): New command.
21391
21392 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
21393
21394 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
21395 instead of `mount-info'.
21396
21397 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
21398
21399 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
21400 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
21401
21402 2009-07-02 Kenichi Handa <handa@m17n.org>
21403
21404 * international/mule.el (set-keyboard-coding-system): Force *-unix
21405 coding-system to avoid eol conversion.
21406
21407 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
21408
21409 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
21410 Add handler for `process-file', `shell-command' and
21411 `start-file-process'.
21412 (tramp-gvfs-handle-shell-command)
21413 (tramp-gvfs-handle-start-file-process)
21414 (tramp-gvfs-handle-process-file): New defuns.
21415 (tramp-synce-list-devices): Simplify check for existence of property.
21416
21417 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
21418
21419 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
21420
21421 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
21422
21423 * language/korean.el (set-language-info-alist): Add korean-cp949,
21424 cp949 to spec.
21425
21426 2009-07-01 Kenichi Handa <handa@m17n.org>
21427
21428 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
21429
21430 * international/encoded-kb.el: Deleted.
21431
21432 * international/mule.el (set-keyboard-coding-system): Perform the
21433 necessary setup here instead of calling encoded-kbd-setup-display.
21434
21435 2009-07-01 Glenn Morris <rgm@gnu.org>
21436
21437 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
21438
21439 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
21440
21441 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
21442
21443 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
21444
21445 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
21446 Handle also the 'rename case, when setting file modes. (Bug#3712)
21447 (tramp-default-file-modes): Remove execute permissions.
21448
21449 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
21450 (top): Add a default for "synce" in `tramp-default-user-alist'.
21451 Add completion function for "synce" method.
21452 (tramp-hal-service, tramp-hal-path-manager)
21453 (tramp-hal-interface-manager, tramp-hal-interface-device):
21454 New defconst.
21455 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
21456 (tramp-synce-list-devices, tramp-synce-parse-device-names):
21457 New defuns.
21458
21459 * net/trampver.el: Update release number.
21460
21461 2009-06-30 Kenichi Handa <handa@m17n.org>
21462
21463 * international/fontset.el (setup-default-fontset): Add CJK fonts
21464 for symbols and the other miscellaneous characters.
21465
21466 * language/korea-util.el (setup-korean-environment-internal):
21467 Make char-width-table suitable for Korean environments.
21468 (exit-korean-environment): Cancel above.
21469
21470 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
21471 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
21472 setup-function to make char-width-table suitable for respective
21473 environments, and an exit-function to cancel that.
21474
21475 * language/japan-util.el (setup-japanese-environment-internal):
21476 Call use-cjk-char-width-table with arg `ja_JP'.
21477
21478 * international/characters.el (cjk-char-width-table): Delete it.
21479 (cjk-char-width-table-list): New variable.
21480 (use-cjk-char-width-table): New arg local-name.
21481 (use-default-char-width-table): Fix for the case that Emacs is
21482 already using the default char-width-table.
21483
21484 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
21485
21486 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
21487 modes mandatory. (Bug#3712)
21488
21489 2009-06-29 Alan Mackenzie <acm@muc.de>
21490
21491 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
21492 correction between the visible width of TABs and their number of bytes.
21493
21494 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
21495
21496 * server.el (server-buffer-done): Prevent kill-buffer from
21497 prompting by clearing the buffer modification flag (Bug#3696).
21498
21499 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
21500
21501 * progmodes/verilog-mode.el (verilog-beg-of-statement)
21502 (verilog-endcomment-reason-re): Support unique case and priority case.
21503 (verilog-basic-complete-re): Support localparam lineup.
21504 (verilog-beg-of-statement-1): Fix for robustness, unique case.
21505 (verilog-set-auto-endcomments): Fix for unique case, always_comb
21506 commenting.
21507 (verilog-leap-to-case-head): Now support *nested* unique &
21508 priority case statements.
21509 (verilog-auto-lineup): Make just declarations the default (as it
21510 had been).
21511 (verilog-leap-to-case-head): Support priority/unique case statements.
21512 (verilog-auto-lineup): Rework to give users radio buttons to
21513 select the various styles of automatic lineup.
21514 (verilog-error-regexp-alist): Rework to support the XEmacs style
21515 of error regular expressions from compilers, lint tools &
21516 simulators. Note that GNU Emacs has made it impossible for a mode
21517 to load such things.
21518 (electric-verilog-terminate-line, verilog-indent-declaration)
21519 (verilog-auto-wiure): Rework for radio button selection of
21520 auto-lineup selection of specification of auto lineup.
21521 (verilog-beg-of-statement-1): Redesign to support proper operation
21522 in additional code, based on testing with auto-lineup.
21523 (verilog-calculate-indent, assignments & declarations)
21524 (verilog-backward-token): Enhance to support auto-lineup of
21525 assignments & declarations.
21526 (verilog-in-directive-p, verilog-at-struct-p): New function for
21527 easy test of whether we are.
21528 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
21529 to support safe execution at almost anyline.
21530 (verilog-calc-1): Properly support indenting deep inside generate
21531 blocks.
21532 (verilog-init-font): Remove definition & use of verilog-init-font,
21533 as it is redundant with font-lock-defaults.
21534 (verilog-mode): Alter the definition of verilog-font-lock-defaults
21535 to avoid circular calls if syntax-ppss is a function (as is the
21536 case now in 22.x GNU Emacs) as that function would sometimes call
21537 itself, leading to (nearly) infinite recursion.
21538 (verilog-ovm-begin-re, verilog-ovm-end-re)
21539 (verilog-ovm-statement-re, verilog-leap-to-head)
21540 (verilog-backward-token): Add support for OVM macros. Some are
21541 complete statements, and others open and close scopes like begin
21542 and end.
21543 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
21544 (verilog-defun-level-generate-only-re): Really fix the defun-list
21545 compilation issue.
21546 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
21547 coverpoint, constraint and cross statements.
21548 (verilog-defun-level-list, verilog-generate-defun-level-list)
21549 (verilog-all-defun-level-list): Redo these specifications - it is
21550 too hard to support eval-when compile aggregation of lists also
21551 built at when-compile time.
21552 (verilog-defun-level-list): Place defconsts of variables used in
21553 building regular expressions which are built in eval-when-compile
21554 bodies in the same eval-when-compile body to facilitate compile
21555 without load.
21556 (verilog-beg-block-re-ordered): Support indenting
21557 virtual/protected tasks and functions.
21558 (verilog-defun-level-list, verilog-in-generate-region-p)
21559 (verilog-backward-ws&directives, verilog-calc-1): Speed up
21560 indentation of some module items (generate items).
21561 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
21562 across virtual/protected tasks and functions.
21563
21564 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
21565
21566 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
21567 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
21568 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
21569 in concatenations. Reported by Yishay Belkind.
21570 (verilog-auto-ascii-enum): Support one-hot state machines in
21571 AUTOASCIIENUM. Suggested by Lloyd Gomez.
21572 (verilog-auto-inst, verilog-auto-inst-port): Include interface
21573 modport in AUTOINST and add vl-modport for users.
21574 Reported by David Rogoff.
21575 (verilog-auto-inout-module, verilog-auto-inst)
21576 (verilog-decls-get-interfaces, verilog-insert-definition)
21577 (verilog-insert-one-definition, verilog-read-decls)
21578 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
21579 (verilog-sig-modport, verilog-signals-combine-bus)
21580 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
21581 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
21582 Suggested by David Rogoff.
21583 (verilog-repair-open-comma): Fix non-insertion of comma when
21584 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
21585 (verilog-make-width-expression): Simplify [A-1:0] expression
21586 widths to just {A{1'b0}}.
21587 (verilog-mode): Cleanup checkdoc warnings.
21588 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
21589 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
21590 inputs/outputs or data type. Suggested by Vasu Kandadi.
21591 (next-error-last-buffer): Fix byte-compiler warning.
21592 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
21593 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
21594 or shell command text during AUTO expansion. Suggested by Tad Truex.
21595 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
21596 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
21597 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
21598 in AUTOINOUT. Reported by Matthew Lovell.
21599 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
21600 causing use of <= assignments. Reported by Alex Reed.
21601 (verilog-read-decls): Fix triand, trior, wand, wor to be
21602 recognized by AUTOWIRE. Reported by Spencer Isaacson.
21603 (verilog-extended-complete-re): Support import "DPI-C" functions.
21604 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
21605 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
21606 (verilog-insert-date, verilog-insert-year)
21607 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
21608 Windows systems. Reported by Michael Potts.
21609 (verilog-read-module-name): Fix AUTOINST when the child module
21610 declaration's name is a tick define. Reported by Elliot Mednick.
21611 (verilog-read-decls): Fix V2K parameter bit subscripts getting
21612 passed to next parameter's definition. Reported by Bruce T.
21613 (verilog-read-decls): Fix detecting "parameter int" when using
21614 AUTOINSTPARAM. Reported by Bruce T.
21615 (verilog-goto-defun): Fix goto not finding modules unless first
21616 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
21617 (verilog-mode): Expand -f flag arguments on entry to mode so
21618 verilog-goto-defun will work. Reported by Lawrence Butcher.
21619 (verilog-getopt): Expand environment variables in -f file
21620 arguments. Suggested by Lawrence Butcher.
21621 (verilog-set-define): Fix "Symbol's value as variable is void"
21622 when reading enumerations.
21623 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
21624 Suggested by Stephen Peltan.
21625 (verilog-read-defines): Fix reading of enumerations in include
21626 files. Reported by Steve Peltan.
21627
21628 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
21629
21630 * files.el (trash-directory): Fix defcustom type.
21631
21632 2009-06-28 Juri Linkov <juri@jurta.org>
21633
21634 * help-fns.el (describe-function-1): Correctly locate adviced
21635 functions in hyperlink (Bug#2438).
21636
21637 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
21638
21639 * files.el (trash-directory): Change default to nil.
21640 (move-file-to-trash): If trash-directory is nil and
21641 system-move-file-to-trash is unbound, perform freedesktop-style
21642 trashing.
21643
21644 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
21645
21646 * files.el (move-file-to-trash): Add freedesktop trash
21647 support (Bug#973).
21648
21649 2009-06-28 Glenn Morris <rgm@gnu.org>
21650
21651 * autorevert.el (global-auto-revert-non-file-buffers)
21652 (global-auto-revert-mode): Doc fixes.
21653
21654 2009-06-27 Johan Bockgård <bojohan@gnu.org>
21655
21656 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
21657
21658 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
21659
21660 * faces.el (x-handle-named-frame-geometry): Ensure that we have
21661 opened an X connection before calling x-get-resource (Bug#3194).
21662
21663 * play/doctor.el: Remove reference to obsolete website.
21664 (make-doctor-variables): Correct grammar mistake (Bug#2633).
21665
21666 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
21667
21668 Remove find-file-not-found-hook VC method. (Bug#2757)
21669 * vc-hooks.el (vc-file-not-found-hook)
21670 (vc-default-find-file-not-found-hook): Remove functions.
21671 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
21672 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
21673 * vc.el:
21674 * vc-hg.el:
21675 * vc-git.el: Do not mention find-file-not-found-hook VC method.
21676
21677 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
21678
21679 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
21680 compatibility function for `looking-back'.
21681
21682 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
21683 Use `ispell-looking-back'.
21684
21685 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
21686
21687 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
21688 rather than `filename'.
21689
21690 2009-06-23 Miles Bader <miles@gnu.org>
21691
21692 * face-remap.el (text-scale-set): New function.
21693
21694 2009-06-23 Glenn Morris <rgm@gnu.org>
21695
21696 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
21697
21698 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
21699
21700 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
21701
21702 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
21703
21704 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
21705 Simplify Persian conditionals.
21706
21707 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
21708 variable `filename'.
21709
21710 * comint.el (comint-insert-input): Doc fix.
21711
21712 * Makefile.in (ELCFILES): Fix typo in previous change.
21713
21714 2009-06-23 Miles Bader <miles@gnu.org>
21715
21716 * cus-start.el: Add entry for `recenter-redisplay'.
21717
21718 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
21719
21720 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
21721 Add an optional argument for the backend, use it instead of
21722 calling vc-backend.
21723 (vc-mode-line): Add an optional argument for the backend.
21724 Pass the backend to vc-state and vc-working-revision. Move code for
21725 special handling for vc-state being a buffer to ...
21726
21727 * vc-rcs.el (vc-rcs-find-file-hook):
21728 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
21729
21730 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
21731 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
21732 vc-stay-local-p and vc-mode-line calls.
21733
21734 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
21735 (vc-cvs-diff, vc-cvs-annotate-command)
21736 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
21737 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
21738 vc-mode-line calls.
21739
21740 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
21741 direct comparison.
21742 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
21743 backend when calling vc-mode-line.
21744 (vc-register): Do not create a closure for calling the vc register
21745 function, call it directly.
21746
21747 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
21748
21749 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
21750 to make it obvious item can be clicked.
21751
21752 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
21753
21754 2009-06-23 Kenichi Handa <handa@m17n.org>
21755
21756 * language/korea-util.el (korean-key-bindings): Change the binding
21757 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
21758 same command.
21759
21760 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
21761
21762 Sync with Tramp 2.1.16.
21763
21764 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
21765
21766 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
21767 when a loading of a package fails. Completion function for rsync
21768 is `tramp-completion-function-alist-ssh'.
21769 (all): Replace all calls of `split-string' and
21770 `tramp-split-string' by `tramp-compat-split-string'.
21771 (tramp-default-method): Use `tramp-compat-process-running-p'.
21772 (tramp-default-proxies-alist): Allow also Lisp forms.
21773 (tramp-remote-path): Add choice "Private Directories".
21774 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
21775 (tramp-domain-regexp): Allow also "-", "_" and ".".
21776 (tramp-end-of-output): Remove newlines, and add "$" at the end.
21777 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
21778 (tramp-debug-message): Insert header line in debug buffer.
21779 (tramp-handle-directory-files-and-attributes-with-stat):
21780 Care about filenames with spaces, or starting with "-".
21781 (tramp-handle-dired-uncache): New defun.
21782 (tramp-handle-insert-directory): Don't flush the directory from
21783 cache, this is handled by `dired-uncache' now.
21784 (tramp-handle-insert-file-contents): Improve error handling.
21785 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
21786 Quote `tramp-end-of-output'.
21787 (tramp-action-password): Improve trace message.
21788 (tramp-check-for-regexp): Both echoes must be present, before removing.
21789 (tramp-open-connection-setup-interactive-shell): Trace coding system.
21790 (tramp-compute-multi-hops): Eval cons cells of
21791 `tramp-default-proxies-alist'.
21792 (tramp-maybe-open-connection): Use the same command pattern for
21793 first hop and further hops.
21794 (tramp-wait-for-output): Remove handling of newlines.
21795 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
21796 (tramp-split-string): Remove function. It is handled in
21797 tramp-compat now.
21798
21799 * net/tramp-cmds.el (tramp-bug):
21800 Recommend `tramp-cleanup-all-connections' in the bug mail.
21801
21802 * net/tramp-compat.el (tramp-compat-split-string)
21803 (tramp-compat-process-running-p): New defuns.
21804
21805 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
21806 for `dired-uncache'.
21807
21808 * net/tramp-gvfs.el: New package.
21809
21810 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
21811 Add handler for `dired-uncache'.
21812 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
21813
21814 * net/trampver.el: Update release number. Make version check fit
21815 for SXEmacs 22.
21816
21817 2009-06-22 Jim Meyering <meyering@redhat.com>
21818
21819 Automatically handle .xz suffix (XZ-compressed files), too.
21820 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
21821 XZ is the successor to LZMA: <http://tukaani.org/xz/>
21822
21823 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
21824 Nick Roberts <nickrob@snap.net.nz>
21825
21826 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
21827 repository (http://sphinx.net.ru/hg/gdb-mi/).
21828
21829 2009-06-22 Glenn Morris <rgm@gnu.org>
21830
21831 * files.el (dir-locals-collect-mode-variables): Allow for any number of
21832 `mode' and `eval' entries. (Bug#3430)
21833
21834 * Makefile.in (ELCFILES): Add fadr.elc.
21835
21836 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
21837 differing behavior of \n and ^ in strings. (Bug#3385)
21838
21839 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
21840
21841 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
21842 property.
21843 (lisp-indent-function): Make it a defcustom.
21844
21845 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
21846
21847 * progmodes/gdb-ui.el: Replace with ...
21848 * progmodes/gdb-mi.el: ... this file.
21849 * progmodes/gud.el: Modify for gdb-mi.el.
21850
21851 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
21852
21853 * fadr.el: New file.
21854
21855 See ChangeLog.14 for earlier changes.
21856
21857 ;; Local Variables:
21858 ;; coding: utf-8
21859 ;; End:
21860
21861 Copyright (C) 2009-2011 Free Software Foundation, Inc.
21862
21863 This file is part of GNU Emacs.
21864
21865 GNU Emacs is free software: you can redistribute it and/or modify
21866 it under the terms of the GNU General Public License as published by
21867 the Free Software Foundation, either version 3 of the License, or
21868 (at your option) any later version.
21869
21870 GNU Emacs is distributed in the hope that it will be useful,
21871 but WITHOUT ANY WARRANTY; without even the implied warranty of
21872 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21873 GNU General Public License for more details.
21874
21875 You should have received a copy of the GNU General Public License
21876 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.