* net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
[bpt/emacs.git] / lisp / ChangeLog
1 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
2
3 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
4 an entry for that server in rcirc-authinfo. (Bug#8385)
5
6 2011-03-31 Glenn Morris <rgm@gnu.org>
7
8 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
9
10 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
11
12 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
13
14 * progmodes/python.el (python-default-interpreter)
15 (python-python-command-args, python-jython-command-args)
16 (python-which-shell, python-which-args, python-which-bufname)
17 (python-file-queue, python-comint-output-filter-function)
18 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
19 variables and functions.
20
21 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
22
23 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
24 (completion-in-region-mode): New minor mode.
25 (completion-in-region): Use it.
26 (completion-in-region--data, completion-in-region-mode-map): New vars.
27 (completion-in-region--postch): New function.
28 (completion--capf-misbehave-funs, completion--capf-safe-funs):
29 New vars.
30 (completion--capf-wrapper): New function.
31 (completion-at-point): Use it to track well-behavedness of
32 hook functions.
33 (completion-help-at-point): New command.
34
35 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
36
37 * vc/add-log.el (add-change-log-entry): Don't use whitespace
38 syntax class to search for whitespace on a single line
39 (Message-ID: <4D938140.4030905@redhat.com>).
40
41 2011-03-30 Leo Liu <sdl.web@gmail.com>
42
43 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
44 New commands.
45 (edit-abbrevs-map): Bind them here.
46 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
47
48 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
49
50 * allout.el (allout-hide-by-annotation, allout-flag-region):
51 Reduce possibility of overlay leakage by making them volatile.
52
53 * allout-widgets.el (allout-widgets-tally): Define as nil so the
54 hash is not shared between buffers. Mode initialization is
55 responsible for giving it a useful starting value.
56 (allout-item-span): Reduce possibility of overlay leakage by
57 making them volatile.
58 (allout-widgets-count-buttons-in-region): Add diagnostic function
59 for tracking down button overlay leaks.
60
61 2011-03-29 Leo Liu <sdl.web@gmail.com>
62
63 * ido.el (ido-read-internal): Use the default history var
64 minibuffer-history if no HISTORY is specified.
65
66 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
67
68 * net/imap.el (imap-shell-open, imap-process-connection-type): Use
69 imap-process-connection-type for 'shell' streams as well as
70 Kerberos, SSL, other subprocesses.
71
72 2011-03-28 Leo Liu <sdl.web@gmail.com>
73
74 * abbrev.el (abbrev-table-empty-p): New function.
75 (prepare-abbrev-list-buffer): Place empty abbrev tables after
76 nonempty ones. (Bug#5937)
77
78 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
79
80 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
81
82 2011-03-27 Leo Liu <sdl.web@gmail.com>
83
84 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
85 for foreground and background colors.
86 (ansi-color-make-color-map): Adapt.
87
88 2011-03-25 Leo Liu <sdl.web@gmail.com>
89
90 * midnight.el (midnight-time-float): Remove. Note it calculates
91 the microsecond component incorrectly and seconds-to-time does the
92 same job.
93 Remove redundant (require 'timer).
94
95 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
96 (ido-completions): Remove unused arguments. (Bug#8329)
97
98 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
99
100 * minibuffer.el (completion--flush-all-sorted-completions):
101 Remove itself from hook.
102 (completion-at-point): Let the functions perform the completion
103 immediately and return nil or t.
104 * comint.el (comint-dynamic-complete-functions): Now identical to
105 completion-at-point-functions.
106 (comint-dynamic-list-input-ring): Remove unused var `index'.
107 (comint--match-partial-filename, comint--unquote&expand-filename):
108 New funs, split from comint-match-partial-filename.
109 (comint-dynamic-complete): Use completion-at-point.
110 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
111
112 2011-03-24 Drew Adams <drew.adams@oracle.com>
113
114 * thingatpt.el: Support `defun'.
115
116 2011-03-23 Leo Liu <sdl.web@gmail.com>
117
118 * abbrevlist.el: Move to obsolete/abbrevlist.el.
119
120 * help-mode.el (help-mode-finish): Tweak regexp.
121
122 2011-03-23 Glenn Morris <rgm@gnu.org>
123
124 * eshell/esh-opt.el (eshell-eval-using-options):
125 Do not bind unused local variable `eshell-option-stub'.
126
127 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
128
129 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
130
131 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
132 keymap variable in `with-no-warnings' to avoid a warning when the
133 keymap has been already `defconst'ed.
134
135 2011-03-22 Leo Liu <sdl.web@gmail.com>
136
137 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
138 encode all chars in abbrevs; otherwise use emacs-mule or
139 utf-8-emacs. (Bug#8308)
140
141 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
142
143 * simple.el (backward-delete-char-untabify):
144 Avoid warning about using `delete-backward-char'.
145
146 * image.el (image-type-file-name-regexps): Make it variable.
147 `imagemagick-register-types' modifies it, and the user may want
148 to add new extensions for known image types.
149 (imagemagick-register-types): Throw error if not using ImageMagick.
150
151 2011-03-22 Leo Liu <sdl.web@gmail.com>
152
153 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
154 located before rcirc-prompt-end-marker.
155 (rcirc-complete): Error if point is not after rcirc prompt.
156 Handle the case when table is nil.
157 (rcirc-user-authenticated): Define to fix compiler warning.
158
159 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
160
161 * custom.el (custom--inhibit-theme-enable): Make it affect only
162 custom-theme-set-variables and custom-theme-set-faces.
163 (provide-theme): Ignore custom--inhibit-theme-enable.
164 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
165 (custom-enabling-themes): Delete variable.
166 (enable-theme): Accept only loaded themes as arguments.
167 Ignore the special custom-enabled-themes variable.
168 (custom-enabled-themes): Forbid themes from setting this.
169 Eliminate use of custom-enabling-themes.
170 (custom-push-theme): Quote "changed" custom var entry.
171
172 2011-03-21 Leo Liu <sdl.web@gmail.com>
173
174 * ido.el (ido-read-internal): Add ido-selected to history instead
175 of user input.
176
177 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
178
179 * subr.el (deferred-action-list, deferred-action-function):
180 Mark obsolete.
181
182 2011-03-21 Leo Liu <sdl.web@gmail.com>
183
184 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
185 change on 2011-02-13 (bug#8309).
186
187 * minibuffer.el (read-file-name-function): Change default value.
188 (read-file-name--defaults): Rename from read-file-name-defaults.
189 (read-file-name-default): Rename from read-file-name.
190 (read-file-name): Call read-file-name-function.
191
192 2011-03-21 Glenn Morris <rgm@gnu.org>
193
194 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
195 Doc fixes.
196
197 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
198
199 * cus-theme.el: Add missing provide statement.
200 (customize-create-theme): Extract theme value correctly.
201 (custom-theme-visit-theme): Autoload.
202 (customize-create-theme): Prompt before inserting default faces.
203
204 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
205
206 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
207 units and musical notes.
208
209 2011-03-20 Leo <sdl.web@gmail.com>
210
211 * ido.el (ido-read-internal): Use completing-read-default.
212 (ido-completing-read): Fix compatibility with completing-read.
213
214 2011-03-20 Christian Ohler <ohler@gnu.org>
215
216 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
217 (ert-delete-all-tests): Use `called-interactively-p' rather than
218 `interactive-p'.
219 (ert--make-xrefs-region): Respect END.
220
221 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
222
223 * dired-aux.el (dired-create-directory): Signal an error if the
224 directory already exists (Bug#8246).
225
226 * facemenu.el (list-colors-display): Call list-faces-display
227 inside with-help-window.
228 (list-colors-print): Use display property to align the final
229 column, instead of checking window-width.
230
231 2011-03-19 Eli Zaretskii <eliz@gnu.org>
232
233 * emerge.el (emerge-metachars): Separate value for ms-dos and
234 windows-nt systems.
235 (emerge-protect-metachars): Quote correctly for ms-dos and
236 windows-nt systems.
237
238 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
239
240 * info.el (info-initialize): Replace all uses of `:' with
241 path-separator for compatibility with non-Unix systems.
242 Cache quoting of path-separator. (Bug#8258)
243
244 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
245
246 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
247 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
248 (mouse-avoidance-mode): Fix typos in docstrings.
249
250 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
251
252 * startup.el (package-subdirectory-regexp): Move from package.el.
253 Omit \\` and \\', and let callers add them.
254
255 * emacs-lisp/package.el (package-strip-version)
256 (package-load-all-descriptors): Add \\` and \\' to
257 package-subdirectory-regexp before using it.
258 (package-untar-buffer): New arg DIR; ensure that file untars only
259 into this expected directory. Remove superfluous delete-region.
260 (package-unpack): Caller changed.
261 (package-tar-file-info): Use package-subdirectory-regexp.
262
263 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
264
265 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
266 diff-mode-shared-map (bug#8284).
267 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
268
269 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
270
271 * calendar/time-date.el (format-seconds): Use assoc instead of
272 assoc-string, since assoc-string doesn't exist in XEmacs.
273
274 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
275
276 * custom.el (custom-known-themes): Reflow docstring.
277 (custom-theme-load-path): Fix typo in docstring.
278 (load-theme): Fix typo in error message.
279 (custom-available-themes, custom-variable-theme-value):
280 Use `let', not `let*'.
281
282 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
283
284 * calc/README: Mention inclusion of musical notes.
285
286 * calc/calc-units.el (calc-lu-quant): Rename from
287 `calc-logunits-quantity'.
288 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
289 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
290 (calc-db): Rename from `calc-dblevel'.
291 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
292 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
293 (calc-np): Rename from `calc-nplevel'.
294 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
295 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
296 (calc-lu-plus): Rename from `calc-logunits-add'.
297 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
298 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
299 (calc-lu-minus): Rename from `calc-logunits-sub'.
300 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
301 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
302 (calc-lu-times): Rename from `calc-logunits-mul'.
303 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
304 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
305 (calc-lu-divide): Rename from `calc-logunits-div'.
306 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
307 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
308
309 * calc/calc-ext.el (calc-init-extensions): Update the names of the
310 functions being autoloaded.
311
312 * calc/calc.el (calc-lu-power-reference): Rename from
313 `calc-logunits-power-reference'.
314 (calc-lu-field-reference): Rename from
315 `calc-logunits-field-reference'.
316
317 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
318
319 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
320
321 * minibuffer.el (completion-all-sorted-completions):
322 Use :completion-cycle-penalty text property if present.
323
324 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
325
326 * allout.el (allout-yank-processing): Adjust for new rebulleting
327 regime so bullet being yanked is used without prompting the user
328 for a choice.
329
330 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
331
332 * startup.el (command-line): Warn the user that _emacs is deprecated.
333
334 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
335
336 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
337 (delphi-verbose, delphi-comment-face, delphi-string-face)
338 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
339 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
340 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
341 (delphi-new-comment-line, delphi-font-lock-defaults)
342 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
343 Fix typos in docstrings.
344
345 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
346
347 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
348 Invert the roles of character and string values for INSTEAD, so a
349 string is used for the more common case of a defaulting prompt.
350
351 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
352
353 * progmodes/ruby-mode.el (ruby-backward-sexp):
354 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
355 * play/gamegrid.el (gamegrid-make-face):
356 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
357 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
358 * notifications.el (notifications-notify):
359 * net/xesam.el (xesam-search-engines):
360 * net/quickurl.el (quickurl-list-insert):
361 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
362
363 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
364
365 * startup.el (command-line): Update package subdirectory regexp.
366
367 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
368
369 * allout.el (allout-abbreviate-flattened-numbering)
370 (allout-mode-deactivate-hook): Fix up obsolescence "date".
371
372 * subr.el (read-char-choice): Only show the cursor after the prompt,
373 not after the answer.
374
375 2011-03-15 Kevin Ryde <user42@zip.com.au>
376
377 * help-fns.el (variable-at-point): Skip leading quotes, if any
378 (bug#8253).
379
380 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
381
382 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
383 warning message.
384
385 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
386
387 * shell.el (shell): When called interactively, offer to change the
388 shell file name on remote hosts.
389
390 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
391
392 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
393 integration for LDAP parameters. The host, base, user or binddn,
394 and secret tokens can be specified in a netrc file, for instance.
395 This is optional because an `auth-source' parameter must be
396 specified in the search attributes.
397
398 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
399
400 * help.el (describe-mode): Link to the mode's definition (bug#8185).
401
402 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
403
404 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
405 into declaration. Remove redundant and harmful binding.
406
407 2011-03-12 Eli Zaretskii <eliz@gnu.org>
408
409 * files.el (file-ownership-preserved-p): Pass `integer' as an
410 explicit 2nd argument to `file-attributes'. If the file's owner
411 is the Administrators group on Windows, and the current user is
412 Administrator, consider that a match.
413
414 * server.el (server-ensure-safe-dir): Consider server directory
415 safe on MS-Windows if its owner is the Administrators group while
416 the current Emacs user is Administrator. Use `=' to compare
417 numerical UIDs, since they could be integers or floats.
418
419 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
420
421 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
422
423 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
424
425 Sync with Tramp 2.2.1.
426
427 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
428
429 * net/trampver.el: Update release number.
430
431 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
432
433 * progmodes/compile.el (compilation--previous-directory): Fix up
434 various nil/dead-marker mismatches (bug#8014).
435 (compilation-directory-properties, compilation-error-properties):
436 Don't call it at a position past the one we're about to change.
437
438 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
439 Disable obsolescence warnings in the file that declares it.
440
441 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
442
443 * allout-widgets.el (allout-widgets-tally): Initialize
444 allout-widgets-tally as a hash table rather than nil to prevent
445 mode-line redisplay warnings.
446 Also, clarify the module description and fix a comment typo.
447
448 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
449
450 * help-fns.el (describe-variable): Don't complete keywords.
451 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
452
453 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
454
455 * emacs-lisp/package.el (package-version-join): Impose a standard
456 string representation for pre/alpha/beta version lists.
457 (package-unpack-single): Standardize the directory name by passing
458 it through package-version-join.
459 (package-strip-rcs-id): Accept any version string that does not
460 signal an error in version-to-list.
461
462 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
463
464 * simple.el (delete-trailing-whitespace): Return nil for the
465 benefit of `write-file-functions'.
466
467 2011-03-10 Glenn Morris <rgm@gnu.org>
468
469 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
470
471 * vc/vc-git.el (vc-git-program): New option.
472 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
473 (vc-git--call): Use it.
474
475 * eshell/esh-util.el (eshell-condition-case): Doc fix.
476
477 * cus-edit.el (Custom-newline): If no button at point, look
478 for a subgroup button at start-of-line. (Bug#2298)
479
480 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
481
482 2011-03-10 Julien Danjou <julien@danjou.info>
483
484 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
485 `cursor-type' is nil.
486
487 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
488
489 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
490
491 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
492
493 * allout.el Summary: Change so yank of distinctive-bullet items
494 preserves the existing header prefix, rebulleting it if necessary,
495 rather than replacing it. This is necessary for proper operation
496 of cooperative addons like allout-widgets.
497 (allout-make-topic-prefix, allout-rebullet-heading): Change
498 SOLICIT arg to INSTEAD, and interpret additionally a string value
499 as alternate bullet to be used, instead of prompting the user for
500 a bullet character.
501
502 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
503
504 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
505 Do not use `tramp-file-name-port', because this returns also
506 `tramp-default-port'.
507
508 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
509
510 * net/rcirc.el (rcirc-handler-001): Remove useless
511 with-rcirc-process-buffer.
512 (rcirc-check-auth-status): Swap arguments to string-match.
513
514 2011-03-09 Glenn Morris <rgm@gnu.org>
515
516 * shell.el (shell-mode):
517 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
518
519 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
520 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
521
522 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
523
524 * emacs-lisp/package.el (package-refresh-contents)
525 (package-menu-execute): Use condition-case-no-debug.
526
527 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
528
529 * simple.el (shell-command-to-string): Use `process-file'.
530
531 * emacs-lisp/package.el (package-tar-file-info): Handle also
532 remote files.
533
534 * emacs-lisp/package-x.el (package-upload-buffer-internal):
535 Use `equal' for upload base check.
536
537 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
538
539 * textmodes/texinfo.el (texinfo-environments):
540 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
541
542 2011-03-08 Glenn Morris <rgm@gnu.org>
543
544 * cus-start.el (cursor-in-non-selected-windows):
545 Fix :set quoting oddness. (Bug#8192)
546
547 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
548 in some setf expressions. (Bug#2159)
549
550 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
551
552 * custom.el (custom-available-themes): Return themes in
553 alphabetical order.
554
555 2011-03-07 Chong Yidong <cyd@stupidchicken.com>
556
557 * progmodes/cc-cmds.el (c-beginning-of-statement): Fix incorrect
558 application of patch from Alan Mackenzie (Bug#7595).
559
560 2011-03-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
561
562 * net/rcirc.el (rcirc-connect): Fix PASS bug.
563
564 2011-03-07 Glenn Morris <rgm@gnu.org>
565
566 * vc/vc.el (vc-next-action): Add missing space to y-or-n-p prompt.
567 Give an explicit error if failed to make writable. (Bug#6146)
568
569 2011-03-07 Ed Reingold <reingold@emr.cs.iit.edu>
570
571 * calendar/cal-hebrew.el (diary-hebrew-yahrzeit):
572 Add optional `after-sunset' argument. (Bug#8190)
573
574 2011-03-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
575
576 * play/morse.el (nato-alphabet, nato-region, denato-region):
577 New variable and functions. (Bug#2288)
578 (morse-region, unmorse-region): Barf if read-only.
579
580 2011-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
581
582 * progmodes/gud.el (gdb-script-syntax-propertize-function):
583 Don't change the syntax of a \n that closes a comment (bug#8169).
584
585 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
586
587 * emacs-lisp/package-x.el (package-archive-upload-base): Make it a
588 defcustom.
589 (package--update-file): Doc fix. Accept relative file names.
590 (package--archive-contents-from-file): Remove the argument, since
591 it's necessarily always "archive-contents".
592 (package-maint-add-news-item): Pass relative file name args to
593 package--update-file.
594 (package-upload-buffer-internal): Prompt for a destination if
595 package-archive-upload-base is invalid. Create the directory if
596 it does not exist.
597 (package-upload-buffer, package-upload-file): Doc fix.
598
599 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
600
601 * isearch.el (isearch-mode-map): Bind C-y to isearch-yank-kill,
602 and move isearch-yank-line to M-s C-e (Bug#8183).
603
604 2011-03-06 Alan Mackenzie <acm@muc.de>
605
606 * progmodes/cc-engine.el (c-guess-basic-syntax): Reindent.
607 (c-guess-basic-syntax): Move CASE 19 to a different place,
608 correctly to process template-args-cont lines.
609
610 2011-03-06 Jay Belanger <jay.p.belanger@gmail.com>
611
612 * calc/calc-ext.el (calc-init-extensions):
613 Rename calc-logunits-dblevel and calc-logunits-nplevel to calc-dblevel
614 and calc-nplevel, respectively. Add keybindings for calc-spn,
615 calc-midi and calc-freq. Add autoloads for calcFunc-spn,
616 calcFunc-midi, calcFunc-freq, calc-spn, calc-midi and calc-freq.
617
618 * calc/calc-units.el (calc-dblevel): Rename from
619 calc-logunits-dblevel.
620 (calc-nplevel): Rename from calc-logunits-nplevel.
621 (math-midi-round, math-freqp, math-midip, math-spnp)
622 (math-spn-to-midi, math-midi-to-spn, math-freq-to-spn)
623 (math-midi-to-freq, math-spn-to-freq, calcFunc-spn, calcFunc-midi)
624 (calcFunc-freq, calc-freq, calc-midi, calc-spn): New functions.
625 (math-notes): New variable.
626
627 * calc/calc.el (calc-note-threshold): New variable.
628
629 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
630
631 * emacs-lisp/package.el (package-archives): Accept either ordinary
632 directory names, in addition to HTTP URLs.
633 (package--with-work-buffer): New macro. Handle normal directories.
634 (package-handle-response): Don't display the failing buffer.
635 (package-download-single, package-download-tar)
636 (package--download-one-archive): Use package--with-work-buffer.
637 (package-archive-base): Rename from package-archive-url.
638
639 2011-03-06 Glenn Morris <rgm@gnu.org>
640
641 * generic-x.el (generic-unix-modes): Add xmodmap-generic-mode.
642 (xmodmap-generic-mode): Respect generic-extras-enable-list.
643
644 2011-03-06 Daniel Clemente <dcl441-bugs@yahoo.com> (tiny change)
645
646 * generic-x.el (xmodmap-generic-mode): New. (Bug#2065)
647
648 2011-03-06 Juanma Barranquero <lekktu@gmail.com>
649
650 * allout.el (allout-init, allout-prefixed-keybindings)
651 (allout-unprefixed-keybindings):
652 * progmodes/prolog.el (prolog-find-term):
653 Fix typos in docstrings.
654
655 2011-03-06 Nikolaj Schumacher <me@nschum.de> (tiny change)
656
657 * emacs-lisp/elp.el (elp-results): Fix off-by-one in header. (Bug#2746)
658
659 2011-03-06 Kevin Ryde <user42@zip.com.au>
660
661 * textmodes/sgml-mode.el (sgml-fill-nobreak): Give it a doc. (Bug#5326)
662
663 2011-03-06 Michael Shields <shields@msrl.com> (tiny change)
664
665 * window.el (one-window-p, walk-windows, display-buffer):
666 Doc fixes. (Bug#5567)
667
668 2011-03-06 Jay Belanger <jay.p.belanger@gmail.com>
669
670 * cus-edit.el (custom-prompt-variable): Use the `custom-get' property
671 of the variable if it exists.
672
673 2011-03-06 Juanma Barranquero <lekktu@gmail.com>
674
675 * bookmark.el:
676 * desktop.el:
677 * emacs-lock.el:
678 * ps-print.el:
679 * saveplace.el:
680 * net/tramp-cache.el:
681 * obsolete/fast-lock.el:
682 * textmodes/reftex.el:
683 Don't set `kill-emacs-hook' on noninteractive sessions (bug#8137).
684
685 2011-03-05 Antoine Levitt <antoine.levitt@gmail.com>
686
687 * files.el (delete-directory, copy-directory, list-directory):
688 Use read-directory-name.
689
690 * find-file.el (ff-find-the-other-file):
691 * net/ange-ftp.el (ange-ftp-make-directory):
692 * printing.el (pr-interactive-dir):
693 * progmodes/ada-prj.el (ada-prj-load-directory):
694 * progmodes/ebnf2ps.el (ebnf-print-directory)
695 (ebnf-spool-directory, ebnf-eps-directory)
696 (ebnf-syntax-directory):
697 * shell.el (shell):
698 * speedbar.el (speedbar-create-directory):
699 * vc/emerge.el (emerge-merge-directories):
700 * vc/vc-dir.el (vc-dir):
701 * vc/vc.el (vc-create-tag, vc-retrieve-tag): Likewise.
702
703 2011-03-05 Chong Yidong <cyd@stupidchicken.com>
704
705 * help-mode.el (help-buffer): If we are to return the current
706 buffer, signal an error if it's not in Help mode (Bug#8147).
707
708 2011-03-05 Reuben Thomas <rrt@sc3d.org>
709
710 * files.el (file-name-version-regexp): Handle backup files of the
711 form `foo.js.~HEAD~1~' (Bug#8159).
712
713 2011-03-05 Glenn Morris <rgm@gnu.org>
714
715 * eshell/esh-var.el: Don't require esh-test when compiling.
716 * eshell/em-banner.el, eshell/esh-cmd.el, eshell/esh-mode.el:
717 * eshell/esh-var.el, eshell/eshell.el: Move tests to esh-test.
718 * eshell/esh-test.el: Move to ../../test/eshell.el.
719
720 2011-03-05 David Engster <deng@randomsample.de>
721
722 * files.el (save-some-buffers): Report the names of buffers saved
723 automatically due to buffer-save-without-query (Bug#8134).
724
725 2011-03-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
726
727 * net/rcirc.el: Add QuakeNet authentication support.
728 (rcirc-authinfo, rcirc-check-auth-status)
729 (rcirc-authenticate): Support QuakeNet.
730
731 2011-03-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
732
733 * net/rcirc.el: Add functionality to authenticate before
734 autojoining channels.
735 (rcirc-authenticate-before-join): New option.
736 (rcirc-authenticated-hook): New variable.
737 (rcirc-connect): Make local variable rcirc-user-authenticated.
738 (rcirc-handler-001): Respect rcirc-authenticate-before-join.
739 (rcirc-check-auth-status, rcirc-join-channels-post-auth):
740 New functions.
741 (rcirc-handler-PRIVMSG, rcirc-handler-NOTICE):
742 Call rcirc-check-auth-status.
743
744 2011-03-05 Alex Harsanyi <AlexHarsanyi@gmail.com>
745
746 * net/soap-client.el (soap-namespace-put-link): Check if the target
747 name is fully qualified -- use only the name part.
748 (soap-parse-complex-type, soap-parse-sequence): Recognize xsd:all
749 types, treated the same as xsd:sequence. (Bug#8166)
750
751 2011-03-05 Eli Zaretskii <eliz@gnu.org>
752
753 * files.el (find-file-noselect): Don't ask about re-visiting
754 non-literally if the file is already visited in image-mode.
755 (Bug#8177)
756
757 2011-03-05 Glenn Morris <rgm@gnu.org>
758
759 * eshell/esh-mode.el (eshell-kill-buffer-function): New function.
760 (eshell-mode): Use eshell-kill-buffer-function.
761 Run the -initialize functions independently of the -load-hooks.
762 * eshell/esh-proc.el (eshell-kill-process-function): New function.
763 (eshell-gather-process-output, eshell-sentinel)
764 (eshell-interrupt-process, eshell-kill-process, eshell-quit-process):
765 Use eshell-kill-process-function.
766 * eshell/em-alias.el (eshell-alias-load-hook):
767 * eshell/em-banner.el (eshell-banner-load-hook):
768 * eshell/em-cmpl.el (eshell-cmpl-load-hook):
769 * eshell/em-dirs.el (eshell-dirs-load-hook):
770 * eshell/em-glob.el (eshell-glob-load-hook):
771 * eshell/em-hist.el (eshell-hist-load-hook):
772 * eshell/em-pred.el (eshell-pred-load-hook):
773 * eshell/em-prompt.el (eshell-prompt-load-hook):
774 * eshell/em-rebind.el (eshell-rebind-load-hook):
775 * eshell/em-script.el (eshell-script-load-hook):
776 * eshell/em-smart.el (eshell-smart-load-hook):
777 * eshell/em-term.el (eshell-term-load-hook):
778 * eshell/em-unix.el (eshell-unix-load-hook):
779 * eshell/esh-arg.el (eshell-arg-load-hook):
780 * eshell/esh-cmd.el (eshell-cmd-load-hook):
781 * eshell/esh-ext.el (eshell-ext-load-hook):
782 * eshell/esh-io.el (eshell-io-load-hook):
783 * eshell/esh-mode.el (eshell-exit-hook):
784 * eshell/esh-proc.el (eshell-proc-load-hook, eshell-kill-hook):
785 * eshell/esh-var.el (eshell-var-load-hook):
786 Set default hook values to nil. (Bug#5375)
787
788 * eshell/esh-module.el (eshell-module-unload-hook)
789 (eshell-modules-list): Remove leading * from defcustom docs.
790
791 * eshell/esh-util.el (eshell-for): Make it obsolete.
792 * eshell/em-alias.el (eshell/alias, eshell-alias-completions):
793 * eshell/em-dirs.el (eshell-save-some-last-dir):
794 * eshell/em-hist.el (eshell-save-some-history)
795 (eshell-hist-parse-modifier):
796 * eshell/em-ls.el (eshell-ls-dir, eshell-ls-files)
797 (eshell-ls-entries):
798 * eshell/em-unix.el (eshell/cat, eshell/du, eshell/su):
799 * eshell/esh-cmd.el (eshell-invoke-directly, eshell-do-eval)
800 (eshell/which):
801 * eshell/esh-ext.el (eshell-find-interpreter):
802 * eshell/esh-mode.el (eshell-mode):
803 * eshell/esh-module.el (eshell-unload-extension-modules):
804 * eshell/esh-proc.el (eshell-process-interact):
805 * eshell/esh-test.el (eshell-test):
806 * eshell/esh-util.el (eshell-flatten-list, eshell-winnow-list):
807 * eshell/esh-var.el (eshell/env, eshell-environment-variables)
808 (eshell-variables-list):
809 * eshell/eshell.el (eshell-unload-all-modules):
810 Replace eshell-for with dolist.
811
812 2011-03-04 Glenn Morris <rgm@gnu.org>
813
814 * vc/vc-bzr.el (vc-bzr-after-dir-status): Handle bzr 2.3.0. (Bug#8170)
815
816 2011-03-04 Tom Tromey <tromey@redhat.com>
817
818 * progmodes/gud.el (gdb-script-mode): Derive from prog-mode.
819
820 2011-03-04 Glenn Morris <rgm@gnu.org>
821
822 * outline.el (outline-regexp): No longer allow nil.
823 (outline-heading-end-regexp): Add safety predicate. (Bug#7619)
824
825 * net/browse-url.el (browse-url):
826 Handle deleted default-directory. (Bug#6077)
827
828 * recentf.el (recentf-include-p): In case of a buggy predicate,
829 err on the side of including, not excluding. (Bug#5843)
830
831 2011-03-04 Jay Belanger <jay.p.belanger@gmail.com>
832
833 * calc/calc-units.el (math-to-standard-rec): Don't treat subscripted
834 variables as units.
835
836 2011-03-04 Bob Rogers <rogers@rgrjr.dyndns.org>
837
838 * emacs-lisp/ewoc.el (ewoc-goto-next): Give a more explicit error
839 if there is no node. (Bug#3261)
840
841 2011-03-04 Leo <sdl.web@gmail.com>
842
843 * vc/diff-mode.el (diff-mode): Fix whitespace-style. (Bug#8139)
844
845 * time.el (display-time-world-list): Fix typo. (Bug#7571)
846
847 2011-03-04 Zachary Kanfer <zkanfer@gmail.com> (tiny change)
848
849 * cus-edit.el (custom-buffer-create-internal):
850 Split search string before passing it to `customize-apropos' (bug#8136).
851
852 2011-03-04 Drew Adams <drew.adams@oracle.com>
853
854 * image-dired.el (image-dired-cmd-read-exif-data-options):
855 Fix typo in docstring (bug#8156).
856
857 2011-03-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
858
859 * net/rcirc.el (rcirc-cmd-join): Accept comma-separated input.
860
861 2011-03-03 Christian Ohler <ohler@gnu.org>
862
863 * emacs-lisp/ert.el (ert--explain-equal): New function.
864 (ert--explain-equal-rec): Rename from `ert--explain-not-equal'.
865 All callers changed.
866 (ert--explain-equal-including-properties): Rename from
867 `ert--explain-not-equal-including-properties'. All callers
868 changed.
869
870 2011-03-03 Christian Ohler <ohler@gnu.org>
871
872 * emacs-lisp/ert.el (ert--stats-set-test-and-result)
873 (ert-char-for-test-result, ert-string-for-test-result)
874 (ert-run-tests-batch, ert--print-test-for-ewoc):
875 Handle `ert-test-quit'.
876
877 2011-03-03 David Abrahams <dave@boostpro.com> (tiny change)
878
879 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
880 Move ediff-defvar-local calls after defcustoms. (Bug#1821)
881
882 2011-03-03 Glenn Morris <rgm@gnu.org>
883
884 * files.el (file-truename): Doc fix. (Bug#2341)
885
886 2011-03-03 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
887
888 * vc/vc-dir.el (vc-dir-mode-map): Bind vc-dir-find-file to e (Bug#7349).
889
890 2011-03-03 Vagn Johansen <gonz808@hotmail.com> (tiny change)
891
892 * vc/vc-svn.el (vc-svn-after-dir-status): Some MS Windows svn client
893 programs output backslashes. (Bug#7663)
894
895 2011-03-03 Glenn Morris <rgm@gnu.org>
896
897 * mail/sendmail.el (mail-mode-map): Remove mail-sent-via.
898 (mail-mode): Remove mail-sent-via from the doc.
899 (mail-sent-via): Make it obsolete. (Bug#1776)
900
901 * progmodes/grep.el (grep-highlight-matches): Doc fix.
902 (grep-process-setup): No highlighting without font-lock. (Bug#8084)
903
904 * vc/vc-bzr.el (vc-bzr-state-heuristic): Handle dirstate entries
905 with no parents. (Bug#8025)
906
907 2011-03-02 Teodor Zlatanov <tzz@lifelogs.com>
908
909 * password-cache.el (password-in-cache-p): Add autoload.
910
911 2011-03-02 Glenn Morris <rgm@gnu.org>
912
913 * man.el (Man-support-local-filenames): Also handle Red Hat's man.
914 * dired-x.el (Man-support-local-filenames): Autoload it.
915 (dired-guess-shell-alist-default): Also handle Red Hat's man.
916
917 * dired-x.el (dired-default-directory-alist, dired-default-directory):
918 Mark as obsolete.
919 (dired-smart-shell-command): Just call dired-current-directory.
920
921 * dired-x.el (dired-jump-other-window): Add autoload.
922 (dired-default-directory-alist, dired-default-directory): Doc fixes.
923 (dired-default-directory-alist): Mark as risky.
924
925 * dired-x.el (dired-omit-here-always): Make it obsolete.
926
927 2011-03-02 Chong Yidong <cyd@stupidchicken.com>
928
929 * textmodes/artist.el (artist-curr-go): Default to pen-line.
930 (artist-select-op-pen-line): New function.
931 (artist-menu-map): New variable.
932 (artist-mode-map): Add a menu to the menu-bar.
933
934 2011-03-02 Jay Belanger <jay.p.belanger@gmail.com>
935
936 * calc/calc-math.el (calcFunc-log10): Check for symbolic mode
937 when evaluating.
938
939 * calc/calc-units.el (math-conditional-apply, math-conditional-pow):
940 New function.
941 (math-logunits-add, math-logunits-mul, math-logunits-divide):
942 (math-logunits-quant, math-logunits-level):
943 Use `math-conditional-apply' and `math-conditional-pow' to evaluate
944 functions.
945 (math-logunits-level): Extract units from ratio.
946
947 2011-03-01 Juanma Barranquero <lekktu@gmail.com>
948
949 * emacs-lisp/cl-macs.el (lexical-let*): Fix argument name in docstring.
950
951 2011-03-01 Glenn Morris <rgm@gnu.org>
952
953 * calendar/cal-hebrew.el (calendar-hebrew-birthday)
954 (diary-hebrew-birthday): Rename and rework functions added
955 in previous change.
956
957 2011-03-01 Ed Reingold <reingold@emr.cs.iit.edu>
958
959 * calendar/cal-hebrew.el (hebrew-calendar-birthday)
960 (diary-hebrew-birthday): New functions.
961
962 2011-03-01 Glenn Morris <rgm@gnu.org>
963
964 * dired.el (dired-safe-switches-p): Beef it up.
965 (dired-actual-switches): Use it for the safe-local prop. (Bug#3230)
966
967 2011-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
968
969 * dired.el (dired-safe-switches-p): New function.
970
971 2011-03-01 Glenn Morris <rgm@gnu.org>
972
973 * files.el (dir-locals-collect-variables):
974 Add the ability to exclude subdirectories. (Bug#8100)
975
976 * dired-x.el (dired-omit-here-always): Add `(subdirs . nil)' to locals.
977
978 2011-02-28 Christoph Scholtes <cschol2112@googlemail.com>
979
980 * ido.el (ido-everywhere): Doc fix.
981 (ido-mode): Doc fix.
982
983 2011-02-28 Glenn Morris <rgm@gnu.org>
984
985 * dired-x.el (dired-guess-shell-alist-default): Use \\', not $.
986
987 2011-02-28 Michael Albinus <michael.albinus@gmx.de>
988
989 * net/tramp-cmds.el (tramp-append-tramp-buffers): Dump load-path
990 shadows.
991
992 2011-02-28 Antoine Levitt <antoine.levitt@gmail.com>
993
994 * dired-x.el (dired-guess-shell-alist-default): Add rar and 7z.
995
996 2011-02-28 Juanma Barranquero <lekktu@gmail.com>
997
998 * emacs-lisp/pcase.el (pcase, pcase--u1, pcase--q1):
999 Fix typos in docstrings.
1000
1001 2011-02-28 Stephen Berman <stephen.berman@gmx.net>
1002
1003 * dired-aux.el (dired-update-file-line):
1004 Fix 2010-11-09 change. (Bug#8131)
1005
1006 2011-02-28 Eli Zaretskii <eliz@gnu.org>
1007
1008 * international/mule-cmds.el (set-default-coding-systems): Use the
1009 -unix variant of encoding in default-keyboard-coding-system.
1010 (Bug#8122)
1011
1012 2011-02-27 Chong Yidong <cyd@stupidchicken.com>
1013
1014 * facemenu.el (list-colors-display): Use with-help-window (Bug#8048).
1015
1016 2011-02-27 Prestoo Ten <prestooten@gmail.com> (tiny change)
1017
1018 * term/screen.el: New file (Bug#2650).
1019
1020 2011-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
1021
1022 * emacs-lisp/pcase.el (pcase--if): Try to invert test to reduce depth.
1023 (pcase-mutually-exclusive-predicates): New var.
1024 (pcase--split-consp, pcase--split-pred): Use it.
1025 (pcase--split-equal, pcase--split-member): When splitting against
1026 a pure predicate, run it to know the outcome.
1027 (pcase--u1): Mark vars that are actually used.
1028 (pcase--q1): Avoid introducing unused vars.
1029
1030 2011-02-27 Jay Belanger <jay.p.belanger@gmail.com>
1031
1032 * calc/calc-ext.el (calc-init-extensions):
1033 Autoload `calc-l-prefix-help' instead of `calc-ul-prefix-help'.
1034
1035 * calc/calc-math.el (calcFunc-log10): Don't signal an error in
1036 symbolic mode.
1037
1038 * calc/calc-vec.el (calcFunc-subscr): Return nil if the first
1039 argument is a variable.
1040
1041 2011-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
1042
1043 * emacs-lisp/assoc.el: Remove misleading `sort' (bug#8126).
1044 (aput, adelete, amake): Replace `eval' -> `symbol-value'.
1045 Suggested by Michael Heerdegen <michael_heerdegen@web.de>.
1046
1047 2011-02-25 Teodor Zlatanov <tzz@lifelogs.com>
1048
1049 * password-cache.el (password-in-cache-p): Convenience function to
1050 check if a key is in the cache, even if the value is nil.
1051
1052 2011-02-25 Jambunathan K <kjambunathan@gmail.com>
1053
1054 * emacs-lisp/package-x.el (package--archive-contents-from-url)
1055 (package--archive-contents-from-file): New functions.
1056 (package-update-news-on-upload): New var.
1057 (package-upload-buffer-internal): Extract archive-contents from
1058 package-archive-upload-base if it is not found at archive-url.
1059 Obey package-update-news-on-upload.
1060 (package-upload-buffer, package-upload-file): Doc fix.
1061
1062 2011-02-24 Glenn Morris <rgm@gnu.org>
1063
1064 * files-x.el (modify-dir-local-variable): Handle dir-locals from
1065 the cache, and from non-file sources.
1066
1067 * help-fns.el (describe-variable): Return consistent results when a
1068 dir-local from a file came from the cache or did not. (Bug#8095)
1069 If a dir-local has no associated file, say it came from a "directory".
1070
1071 * files.el (hack-dir-local-variables): Fix setting of `dir-name'.
1072 (hack-local-variables-confirm, hack-local-variables-filter): Doc fix.
1073
1074 * files.el (dir-locals-find-file): Doc fix.
1075 Fix the check for cache elements that have no associated file,
1076 and the mtime check for those that do. (Bug#8095)
1077
1078 * dired-x.el (dired-hack-local-variables):
1079 Handle interrupts during hacking local variables. (Bug#5216)
1080
1081 * emacs-lisp/autoload.el (autoload-save-buffers)
1082 (autoload-find-destination, update-directory-autoloads):
1083 Avoid prompts when updating autoloads.
1084
1085 2011-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1086
1087 * emacs-lisp/bytecomp.el (byte-compile-disable-print-circle): Obsolete.
1088
1089 2011-02-23 Kenichi Handa <handa@m17n.org>
1090
1091 * mail/rmailmm.el (rmail-mime-process-multipart): Do not signal an
1092 error when a multipart boundary in the nested multipart is found.
1093
1094 * mail/rmail.el (rmail-start-mail): Decode "encoded-words" of
1095 header components.
1096
1097 2011-02-23 Glenn Morris <rgm@gnu.org>
1098
1099 * dired.el (dired-mode): Call hack-dir-local-variables-non-file-buffer.
1100 * dired-x.el (dired-omit-mode): Safe if boolean.
1101 (dired-enable-local-variables): Fix doc and custom type.
1102 (dired-enable-local-variables, dired-local-variables-file)
1103 (dired-hack-local-variables): Make obsolete.
1104 (dired-omit-here-always): Use dir-locals.el instead.
1105
1106 * files.el (safe-local-eval-forms): Add the write-file-hooks version.
1107
1108 2011-02-22 Stefan Monnier <monnier@iro.umontreal.ca>
1109
1110 * help-fns.el (describe-function-1): Don't signal an error just because
1111 the DOC file disappeared.
1112
1113 2011-02-22 Seppo Sade <sepposade1@gmail.com> (tiny change)
1114
1115 * eshell/esh-ext.el (eshell-external-command): Do not restrict
1116 remote check to "ftp". (Bug#8089)
1117
1118 2011-02-21 Alan Mackenzie <acm@muc.de>
1119
1120 Fix bug #7930.
1121 * progmodes/cc-engine.el (c-state-literal-at): Prevent positions
1122 in macros finding their way into c-state-nonlit-pos-cache.
1123 Strengthen the comments.
1124 (c-state-dump): New commented out diagnostic routine.
1125
1126 2011-02-21 Michael Albinus <michael.albinus@gmx.de>
1127
1128 * net/tramp.el (tramp-rfn-eshadow-setup-minibuffer): Do not use
1129 `field' property of `rfn-eshadow-overlay'.
1130
1131 2011-02-21 Lars Ingebrigtsen <larsi@gnus.org>
1132
1133 * net/netrc.el (netrc-parse): Comment fix.
1134
1135 2011-02-21 Chong Yidong <cyd@stupidchicken.com>
1136
1137 * color.el (color-name-to-rgb): Rename from color-rgb->normalize.
1138 Autoload. Add optional arg FRAME, and pass it to color-values.
1139 (color-complement): Caller changed. Doc fix.
1140 (color-gradient): Rewrite for better clarity and efficiency.
1141
1142 * faces.el (color-values): Use cond for clarity. Doc fix.
1143
1144 * facemenu.el (color-rgb-to-hsv): Delete; use the version in
1145 color.el instead.
1146 (list-colors-sort-key, list-colors-print):
1147 Use color-normalized-values.
1148
1149 2011-02-20 Drew Adams <drew.adams@oracle.com>
1150
1151 * color.el: First part of merge from hexrgb.el.
1152 (color-rgb-to-hex): Rename from color-rgb->hex.
1153 (color-rgb-to-hsv): Rename from color-rgb->hsv. Force hue and
1154 saturation to zero if the value is too small.
1155 (color-rgb-to-hsl): Rename from color-rgb->hsl.
1156 (color-srgb-to-xyz): Rename from color-srgb->xyz. Doc fix.
1157 (color-xyz-to-srgb): Rename from color-xyz->srgb. Doc fix.
1158 (color-xyz-to-lab): Rename from color-xyz->lab. Doc fix.
1159 (color-lab-to-xyz): Rename from color-lab->xyz. Doc fix.
1160 (color-lab-to-srgb): Rename from color-lab->srgb. Doc fix.
1161 (color-cie-de2000): Doc fix.
1162
1163 2011-02-20 Alan Mackenzie <acm@muc.de>
1164
1165 * progmodes/cc-cmds.el (c-beginning-of-statement): Avoid loop in
1166 locating the beginning of a macro. (Bug#7595)
1167
1168 2011-02-20 Glenn Morris <rgm@gnu.org>
1169
1170 * edmacro.el (edmacro-eight-bits): Make it a defcustom.
1171 Don't autoload it.
1172
1173 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
1174 (global-auto-revert-ignore-buffer): Remove leading "*" from docs.
1175
1176 2011-02-19 Dmitry Bolshakov <dmitry.bolshakov@bridge-quest.com>
1177 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
1178
1179 * progmodes/hideshow.el (hs-find-block-beginning)
1180 (hs-hide-level-recursive): Ignore comments when parsing braces
1181 (Bug#8036).
1182
1183 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
1184
1185 * vc/vc-bzr.el (vc-bzr-bound-branch-p): New function.
1186 (vc-bzr-pull): Use it.
1187
1188 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
1189
1190 * vc/vc-bzr.el (vc-bzr--branch-conf): Function deleted.
1191 (vc-bzr-branch-conf): New function, similar to vc-bzr--branch-conf
1192 but returning an alist. Ignore comments in bzr conffile.
1193 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-bzr-branch-conf.
1194 (vc-bzr-error-regex-alist): New var.
1195 (vc-bzr-merge-branch): Use it to highlight the pull/merge buffer.
1196
1197 * vc/vc-dispatcher.el (vc-do-async-command):
1198 Bind inhibit-read-only to t.
1199
1200 * progmodes/compile.el (compilation--flush-directory-cache):
1201 Handle the case where cdr of compilation--flush-directory-cache
1202 points to no buffer, which can occur if we previously switched to
1203 compilation-mode in a pregenerated buffer.
1204
1205 2011-02-19 Kenichi Handa <handa@m17n.org>
1206
1207 * mail/rmailmm.el (rmail-mime-find-header-encoding): Be sure to
1208 get the header copy into the temporary buffer.
1209 (rmail-mime-insert-decoded-text): Ignore us-ascii.
1210 (rmail-show-mime): When rmail-mime-coding-system is nil, set
1211 buffer-file-coding-system to undecided.
1212
1213 2011-02-19 Eli Zaretskii <eliz@gnu.org>
1214
1215 * international/mule-cmds.el (read-char-by-name, ucs-insert):
1216 Document completion with asterisk and a substring.
1217
1218 2011-02-19 Glenn Morris <rgm@gnu.org>
1219
1220 * files.el (find-file-literally): Doc fix.
1221
1222 * simple.el (rfc822-goto-eoh): Give it a doc-string.
1223
1224 * log-edit.el (log-edit-insert-changelog):
1225 Fix `log-edit-strip-single-file-name' functionality. (Bug#8057)
1226
1227 2011-02-19 Glenn Morris <rgm@gnu.org>
1228
1229 * dired-x.el: Don't require dired-aux.
1230 (dired-do-create-files, dired-mark-read-regexp)
1231 (dired-do-create-files-regexp): Autoload from dired-aux.
1232
1233 * dired-x.el (dired-find-buffer-nocreate): Merge into dired.el.
1234 * dired.el (dired-find-buffer-nocreate): Merge dired-x version.
1235
1236 * dired-x.el (dired-read-shell-command): Merge into dired-aux's version.
1237 * dired-aux.el (dired-read-shell-command): Merge dired-x's version.
1238
1239 * dired-x.el (dired-clean-up-after-deletion): Merge into dired.el.
1240 * dired.el (dired-clean-up-after-deletion): Merge dired-x's version.
1241 (dired-clean-up-buffers-too): Declare.
1242
1243 * dired-x.el (dired-initial-position): Merge into dired.el's version.
1244 * dired.el (dired-initial-position): Merge dired-x's version here.
1245 (dired-find-subdir): Declare.
1246
1247 * dired-x.el (dired-omit-new-add-entry): Merge into dired-add-entry.
1248 * dired-aux.el (dired-add-entry): Give it a doc-string.
1249 Merge dired-x's dired-omit handling here.
1250 (dired-omit-mode, dired-omit-regexp, dired-omit-localp): Declare.
1251
1252 * international/mule-diag.el (list-input-methods-1):
1253 Indent all lines of multi-line doc-strings. (Bug#8066)
1254
1255 2011-02-18 Chong Yidong <cyd@stupidchicken.com>
1256
1257 Fix 2011-02-02 changes.
1258
1259 * apropos.el (apropos-print): Call apropos-mode before setting up
1260 buffer variables. Use inhibit-read-only.
1261
1262 * emacs-lisp/package.el (package--list-packages):
1263 Call package-menu-mode before setting up buffer variables.
1264
1265 * play/solitaire.el (solitaire): Call solitaire-mode before
1266 setting up buffer variables. Use inhibit-read-only.
1267
1268 2011-02-18 Lawrence Mitchell <wence@gmx.li>
1269
1270 * progmodes/sh-script.el (sh-syntax-propertize-here-doc): (bug#8053)
1271 Bind case-fold-search to nil when looking for end of here-doc.
1272
1273 2011-02-18 Eli Zaretskii <eliz@gnu.org>
1274
1275 * image-mode.el (image-toggle-display-image):
1276 Set find-file-literally non-nil in buffers visiting binary image
1277 files. (Bug#8047)
1278
1279 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1280
1281 * files.el (cd): Make completion obey cd-path (bug#7924).
1282
1283 2011-02-18 Glenn Morris <rgm@gnu.org>
1284
1285 * progmodes/prolog.el: Don't require compile when compiling.
1286 (compilation-shell-minor-mode, compilation-error-regexp-alist)
1287 (compilation-forget-errors, compilation-fake-loc)
1288 (compilation-parse-errors-function, compilation-error-list): Declare.
1289 (prolog-inferior-mode): Require 'compile.
1290
1291 * emulation/cua-base.el (pc-selection-mode): Declare.
1292
1293 * emacs-lisp/eieio-custom.el: Set generated-autoload-file.
1294 (customize-object): Add autoload cookie.
1295 * emacs-lisp/eieio-opt.el: Set generated-autoload-file.
1296 (eieio-browse, describe-class, eieio-describe-class)
1297 (eieio-describe-constructor, describe-generic, eieio-describe-generic)
1298 (eieio-help-mode-augmentation-maybee): Add autoload cookies.
1299 * emacs-lisp/eieio.el: Regenerate with automatic autoloads.
1300 * Makefile.in (autoloads): Make eieio.el writable.
1301
1302 * dired-x.el (dired-clean-up-after-deletion, dired-do-relsymlink)
1303 (dired-do-relsymlink-regexp, dired-find-buffer-nocreate): Use #'.
1304 (dired-hack-local-variables): Use inhibit-read-only.
1305 (dired-guess-default): Simplify.
1306 (dired-make-relative-symlink): Use dotimes.
1307 (dired-simultaneous-find-file): Use dolist.
1308 (dired-mark-sexp): Remove unneeded `if'. Use line-end-position.
1309 (dired-x-hands-off-my-keys): Doc fix.
1310 (dired-x-bind-find-file): Doc fix. Use remapping.
1311 (after-init-hook): No need to add dired-x-bind-find-file.
1312 (dired-x-find-file, dired-x-find-file-other-window): Doc fixes.
1313 No need to call expand-file-name.
1314 (dired-filename-at-point): Remove unused locals `end', `filename'.
1315
1316 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1317
1318 * emacs-lisp/pcase.el (pcase--u1): Understand non-linear patterns.
1319
1320 2011-02-18 Christian Ohler <ohler@gnu.org>
1321
1322 * emacs-lisp/ert.el (ert--setup-results-buffer)
1323 (ert-results-pop-to-backtrace-for-test-at-point)
1324 (ert-results-pop-to-messages-for-test-at-point)
1325 (ert-results-pop-to-should-forms-for-test-at-point)
1326 (ert-results-pop-to-timings): Revert parts of change 2011-02-02T17:59:44Z!sds@gnu.org that
1327 were incorrect and unnecessary. This should make `make check'
1328 pass again.
1329
1330 2011-02-17 Ken Manheimer <ken.manheimer@gmail.com>
1331
1332 * lisp/allout-widgets.el (allout-widgets-icons-light-subdir)
1333 (allout-widgets-icons-dark-subdir): Track relocations of icons.
1334 * lisp/allout.el: Remove commentary about remove encryption
1335 passphrase mnemonic support and verification.
1336 (allout-encrypt-string): Recognize epg failure to decrypt gpg2
1337 armored text using gpg1, and indicate that the gpg version *might*
1338 be the problem in the error message.
1339
1340 2011-02-17 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1341
1342 * net/rcirc.el (rcirc-float-time): New function.
1343 (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE)
1344 (rcirc-ctcp-sender-PING): Use it.
1345
1346 2011-02-17 Glenn Morris <rgm@gnu.org>
1347
1348 * speedbar.el (speedbar-ignored-modes, speedbar-file-unshown-regexp)
1349 (speedbar-update-flag, speedbar-fetch-etags-command)
1350 (speedbar-fetch-etags-arguments):
1351 * term.el (term-buffer-maximum-size, term-input-chunk-size)
1352 (term-completion-autolist, term-completion-addsuffix)
1353 (term-completion-recexact, term-completion-fignore):
1354 * term/sup-mouse.el (sup-mouse-fast-select-window):
1355 * term/x-win.el (x-select-request-type):
1356 Convert some defvars with "*" to defcustoms.
1357
1358 * shell.el (shell-delimiter-argument-list): Set it to nil. (Bug#8027)
1359
1360 * vc/vc.el (vc-default-previous-version):
1361 Remove alias that points nowhere. (Bug#4496)
1362
1363 * dired-x.el (dired-clean-up-after-deletion):
1364 kill-buffer does not need save-excursion.
1365 (dired-do-run-mail): Doc fix.
1366 (dired-filename-at-point): Doc fix.
1367 Use looking-at, and skip-chars rather than re search.
1368
1369 * dired-x.el (dired-filename-at-point): Fix 8-year old typo.
1370
1371 2011-02-16 Ken Manheimer <ken.manheimer@gmail.com>
1372
1373 * allout-widgets.el: New allout extension that shows allout
1374 outline structure with graphical widgets. 'allout-widgets'
1375 customize group is an 'allout' subgroup, for easy discovery.
1376
1377 * allout.el: Include PGP and GnuPG in Keywords, and other
1378 commentary refinements.
1379 (allout-abbreviate-flattened-numbering): Rename to
1380 allout-flattened-numbering-abbreviation, and
1381 define-obsolete-variable-alias the old name.
1382 (allout-flattened-numbering-abbreviation): Rename from
1383 allout-abbreviate-flattened-numbering.
1384 (allout-mode-p): Include among autoloads, for use by other modes
1385 with impunity.
1386 (allout-listify-exposed):
1387 Use allout-flattened-numbering-abbreviation.
1388 (allout-encrypt-string): Use set-buffer-multibyte directly.
1389 (allout-set-buffer-multibyte): Remove.
1390
1391 2011-02-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1392
1393 * simple.el (just-one-space): Remove useless `or' call.
1394
1395 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
1396
1397 * net/soap-client.el (soap-well-known-xmlns, soap-local-xmlns)
1398 (soap-default-xmlns, soap-target-xmlns, soap-multi-refs)
1399 (soap-decoded-multi-refs, soap-current-wsdl)
1400 (soap-encoded-namespaces): Rename CL-style *...* variables.
1401
1402 2011-02-16 Michael Albinus <michael.albinus@gmx.de>
1403
1404 * net/soap-client.el: Add "comm" and "hypermedia" to the
1405 keywords. Reflow too long lines.
1406
1407 * net/soap-inspect.el: Ditto. Require 'cl.
1408
1409 2011-02-16 Bastien Guerry <bzg@altern.org>
1410
1411 * play/doctor.el (doctor-mode): Bugfix: escape the "," character
1412 in a `doctor-type' argument.
1413
1414 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
1415
1416 * net/soap-client.el:
1417 * net/soap-inspect.el: New files.
1418
1419 2011-02-16 Leo <sdl.web@gmail.com>
1420
1421 * dired-x.el (dired-mode-map, dired-extra-startup):
1422 Remove dired-copy-filename-as-kill since it's already in dired.el.
1423
1424 2011-02-16 Glenn Morris <rgm@gnu.org>
1425
1426 * dired-x.el (dired-bind-jump, dired-bind-man, dired-bind-info):
1427 Doc fixes. Add :set property, replacing top-level calls.
1428 (dired-vm-read-only-folders, dired-vm): Doc fix (drop v. old VM 4).
1429 (dired-guess-shell-gnutar): Test tar version rather than system-type.
1430 (dired-extra-startup, dired-man, dired-info): Doc fixes.
1431 (dired-clean-up-after-deletion): Use when and dolist.
1432 (dired-jump): Use unless and when.
1433 (dired-virtual): Use line-end-position.
1434 (dired-default-directory-alist): Rename from default-directory-alist.
1435 (dired-default-directory): Update for above name change.
1436 (dired-vm): Drop VM < 5 and simplify.
1437 (dired-buffer-more-recently-used-p): Rewrite.
1438 (dired-filename-at-point): Use when and or.
1439 (dired-x-read-filename-at-point): Rename from read-filename-at-point.
1440 Update callers.
1441
1442 2011-02-15 Glenn Morris <rgm@gnu.org>
1443
1444 * dired-x.el: Use easymenu for menu items. Fix item capitalization.
1445
1446 2011-02-14 Chong Yidong <cyd@stupidchicken.com>
1447
1448 * vc/vc-git.el (vc-git-root-log-format): New option for
1449 customizing log format.
1450 (vc-git-print-log, vc-git-log-outgoing, vc-git-log-incoming)
1451 (vc-git-log-view-mode): Use it.
1452 (vc-git-expanded-log-entry): New function.
1453 (vc-git-log-view-mode): Use it. Truncate lines in root log.
1454
1455 * vc/vc-hg.el (vc-hg-root-log-template): New option for
1456 customizing log format.
1457 (vc-hg-print-log): Use it.
1458 (vc-hg-expanded-log-entry): New function.
1459 (vc-hg-log-view-mode): Use vc-hg-root-log-template and
1460 vc-hg-expanded-log-entry. Truncate lines in root log.
1461
1462 * vc/vc-bzr.el (vc-bzr-log-view-mode): Truncate lines in root log.
1463
1464 * vc/log-view.el (log-view-mode-menu):
1465 Add log-view-toggle-entry-display.
1466
1467 2011-02-14 Glenn Morris <rgm@gnu.org>
1468
1469 * dired-x.el: Don't require man when compiling.
1470 (dired-omit-extensions, dired-local-variables-file)
1471 (dired-x-hands-off-my-keys): Make them defcustoms.
1472 (Man-support-local-filenames, Man-getpage-in-background): Declare.
1473 (vm-visit-folder): Declare rather than defining.
1474 (dired-x-help-address, dired-x-variable-list): Remove.
1475 (dired-x-submit-report): Make it an obsolete alias.
1476
1477 2011-02-14 Juanma Barranquero <lekktu@gmail.com>
1478
1479 * makefile.w32-in (TRAMP_SRC): Remove tramp-imap.el.
1480
1481 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1482
1483 * net/imap.el: Bring it back.
1484
1485 2011-02-13 Alan Mackenzie <acm@muc.de>
1486
1487 * progmodes/cc-fonts.el (c-font-lock-declarations): Remove a
1488 narrow-to-region call that cuts context off the end (Bug#7722).
1489
1490 * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
1491 Refactor nested if-forms with a simple cond.
1492 (c-forward-<>-arglist): Revert 2011-01-31 change.
1493
1494 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
1495
1496 * vc/log-view.el: New command log-view-toggle-entry-display for
1497 toggling log entries between concise and detailed forms.
1498 (log-view-toggle-entry-display): New command.
1499 (log-view-mode-map): Bind RET to it.
1500 (log-view-expanded-log-entry-function): New variable.
1501 (log-view-current-entry, log-view-inside-comment-p)
1502 (log-view-current-tag): New functions.
1503 (log-view-toggle-mark-entry): Use log-view-current-entry and
1504 log-view-end-of-defun instead of searching directly with
1505 log-view-message-re.
1506 (log-view-end-of-defun): Likewise. Add optional ARG for
1507 compatibility with end-of-defun.
1508 (log-view-end-of-defun): Ignore comments and VC buttons.
1509
1510 * vc/vc-bzr.el (vc-bzr-expanded-log-entry): New function.
1511 (vc-bzr-log-view-mode): Use log-view-expanded-log-entry-function.
1512
1513 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1514
1515 * net/imap.el: Remove file. All the functionality is in nnimap.el.
1516
1517 * net/imap-hash.el: Remove file.
1518
1519 2011-02-13 Michael Albinus <michael.albinus@gmx.de>
1520
1521 * Makefile.in (TRAMP_SRC): Remove tramp-imap.el.
1522
1523 * net/tramp.el (tramp-read-passwd): Simplify `auth-source-search'
1524 call.
1525
1526 * net/tramp-imap.el: Remove file.
1527
1528 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
1529
1530 * vc/vc.el (vc-print-log-setup-buttons): Instead of using the
1531 widget library for buttons, just use button.el.
1532
1533 * vc/log-view.el (log-view-mode-map): Don't inherit from
1534 widget-keymap.
1535
1536 2011-02-12 Glenn Morris <rgm@gnu.org>
1537
1538 * emacs-lisp/cl-seq.el (union, nunion, intersection)
1539 (nintersection, set-difference, nset-difference)
1540 (set-exclusive-or, nset-exclusive-or): Doc fix.
1541
1542 * ediff-ptch.el (ediff-fixup-patch-map): Doc fix.
1543
1544 * faces.el (face-attr-match-p): Handle the obsolete :bold and
1545 :italic props, so that frame-set-background-mode works. (Bug#7966)
1546
1547 * simple.el (next-error): Doc fix.
1548
1549 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1550
1551 * dired-aux.el (dired-create-files): Adapt destination name to
1552 match the new behavior of copy-directory.
1553
1554 2011-02-12 Chong Yidong <cyd@stupidchicken.com>
1555
1556 * mail/mail-utils.el (mail-dont-reply-to-names): New variable,
1557 from rmail-dont-reply-to-names. Callers changed.
1558 (mail-dont-reply-to): Rename from mail-dont-reply-to.
1559 (rmail-dont-reply-to): Make it an obsolete alias.
1560
1561 * mail/rmail.el (rmail-default-dont-reply-to-names): Default to
1562 nil, and make obsolete (Bug#7888).
1563 (rmail-dont-reply-to-names): Alias to mail-dont-reply-to-names.
1564
1565 * mail/rmailsum.el (rmail-summary-sort-by-correspondent): Doc fix.
1566
1567 * mail/rmailsort.el (rmail-sort-by-correspondent)
1568 (rmail-select-correspondent): Doc fix. Use mail-dont-reply-to.
1569
1570 * mail/rmail.el (rmail-reply): Use mail-dont-reply-to.
1571
1572 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1573
1574 * files.el (copy-directory): New argument COPY-CONTENTS for
1575 copying directory contents into another existing directory.
1576
1577 2011-02-12 Tassilo Horn <tassilo@member.fsf.org>
1578
1579 * minibuffer.el (completion-table-case-fold): New function for
1580 creating a case-insensitive completion table.
1581
1582 2011-02-12 Teodor Zlatanov <tzz@lifelogs.com>
1583
1584 * net/tramp.el (tramp-default-method): Also check if
1585 `auth-source-search' is bound.
1586 (tramp-read-passwd): Use `auth-source-search' instead of
1587 `auto-source-user-or-password'.
1588
1589 * net/tramp-imap.el: Autoload `auto-source-search' instead of
1590 `auto-source-user-or-password.
1591 (tramp-imap-passphrase-callback-function): Use it.
1592
1593 * net/imap-hash.el: Autoload `auto-source-search' instead of
1594 `auto-source-user-or-password.
1595 (imap-hash-open-connection): Use it.
1596
1597 * mail/smtpmail.el: Autoload `auto-source-search' instead of
1598 `auto-source-user-or-password.
1599 (smtpmail-try-auth-methods): Use it.
1600
1601 2011-02-12 Phil Hagelberg <phil@hagelb.org>
1602
1603 * emacs-lisp/package.el: Allow packages to be reinstalled.
1604 (package--write-file-no-coding): Remove EXCL arg.
1605 (package-unpack-single): Don't use it.
1606
1607 2011-02-12 Karl Pflästerer <k@rl.pflaesterer.de> (tiny change)
1608
1609 * vc/vc-svn.el: Adapt to Subversion change, with no .svn directory
1610 in each sub directory.
1611 (vc-svn-registered): Use vc-svn-root.
1612 (vc-svn-root): New function. Make vc-svn-responsible-p an alias.
1613 (vc-svn-repository-hostname): Use "svn info".
1614
1615 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1616
1617 * simple.el (delete-trailing-whitespace): New optional buffer
1618 bound parameters.
1619
1620 2011-02-11 Bastien Guerry <bzg@altern.org>
1621
1622 * files.el (basic-save-buffer): save unmodified buffers when
1623 the file pointed by buffer-file-name doesn't exist.
1624
1625 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1626
1627 * net/rcirc.el (rcirc-cmd-join): Accept multiple channels.
1628
1629 2011-02-11 Glenn Morris <rgm@gnu.org>
1630
1631 * emacs-lisp/cl-specs.el (multiple-value-bind): Fix debug spec.
1632
1633 2011-02-11 Juanma Barranquero <lekktu@gmail.com>
1634
1635 * net/rcirc.el (rcirc-send-ctcp): Remove spurious arg to `format'.
1636
1637 2011-02-10 Stefan Monnier <monnier@iro.umontreal.ca>
1638
1639 * server.el (server-process-filter): Use pcase.
1640
1641 * emacs-lisp/smie.el (smie-blink-matching-open): Don't use `pos' in two
1642 conflicting ways.
1643 (smie-indent--parent): Extend to "parent of arg".
1644 (smie-indent-inside-string): New function.
1645 (smie-indent-functions): Use it.
1646
1647 * vc/vc-dir.el (vc-dir-refresh): Reorder operations to try and avoid
1648 bzr locking race condition.
1649
1650 * emacs-lisp/edebug.el (edebug-instrument-function): Check a marker is
1651 still valid before using it.
1652
1653 * progmodes/grep.el (grep-mode-font-lock-keywords): Adjust to
1654 `message' -> `compilation-message' rename (bug#8004).
1655
1656 Move keymap initialization into declaration.
1657 * textmodes/enriched.el (enriched-mode-map):
1658 * textmodes/bib-mode.el (bib-mode-map):
1659 * term/lk201.el (lk201-function-map):
1660 * tar-mode.el (tar-mode-map):
1661 * replace.el (occur-mode-map):
1662 * progmodes/idlwave.el (idlwave-rinfo-mouse-map, idlwave-rinfo-map):
1663 * progmodes/idlw-help.el (idlwave-help-mode-map):
1664 * progmodes/gdb-mi.el (gdb-memory-format-menu, gdb-memory-unit-menu):
1665 * play/solitaire.el (solitaire-mode-map):
1666 * play/snake.el (snake-mode-map, snake-null-map):
1667 * play/pong.el (pong-mode-map):
1668 * play/handwrite.el (menu-bar-handwrite-map):
1669 * play/gametree.el (gametree-mode-map):
1670 * net/rcirc.el (rcirc-mode-map, rcirc-browse-url-map)
1671 (rcirc-multiline-minor-mode-map, rcirc-track-minor-mode-map):
1672 * net/newst-plainview.el (newsticker-menu, newsticker-mode-map)
1673 (newsticker--url-keymap):
1674 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
1675 * menu-bar.el (menu-bar-file-menu, menu-bar-i-search-menu)
1676 (menu-bar-search-menu, menu-bar-replace-menu, menu-bar-goto-menu)
1677 (menu-bar-edit-menu, menu-bar-custom-menu)
1678 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
1679 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
1680 (menu-bar-line-wrapping-menu, menu-bar-options-menu)
1681 (menu-bar-games-menu, menu-bar-encryption-decryption-menu)
1682 (menu-bar-tools-menu, menu-bar-describe-menu)
1683 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
1684 (menu-bar-help-menu):
1685 * mail/rmailsum.el (rmail-summary-mode-map):
1686 * kmacro.el (kmacro-step-edit-map):
1687 * ibuffer.el (ibuffer-mode-groups-popup, ibuffer-mode-map)
1688 (ibuffer-mode-operate-map):
1689 * hi-lock.el (hi-lock-menu, hi-lock-map):
1690 * emulation/vip.el (vip-mode-map):
1691 * emacs-lisp/re-builder.el (reb-lisp-mode-map):
1692 * bookmark.el (bookmark-bmenu-mode-map):
1693 * help-mode.el (help-mode-map): Move initialization into declaration.
1694
1695 2011-02-10 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1696
1697 * net/rcirc.el: Add PRIVMSG and CTCP functions.
1698 (rcirc-send-privmsg, rcirc-send-ctcp): New functions.
1699 (rcirc-keepalive, rcirc-cmd-ctcp, rcirc-ctcp-sender-PING)
1700 (rcirc-cmd-me, rcirc-authenticate): Use them.
1701
1702 2011-02-10 Ken Manheimer <ken.manheimer@gmail.com>
1703
1704 * allout.el: Synopsis: Change allout user configuration so
1705 auto-activation is controlled solely by customization
1706 `allout-auto-activation'.
1707
1708 (allout-auto-activation-helper, allout-setup): New autoloads
1709 implement new custom set procedure for allout-auto-activation.
1710 Also, explicitly invoke (allout-setup) after allout-auto-activation
1711 is custom-defined, to affect the settings in emacs sessions besides
1712 the few where allout-auto-activation customization is done.
1713 (allout-auto-activation): Use allout-auto-activation-helper to
1714 :set. Revise the docstring.
1715 (allout-init): Reduce functionality to just customizing
1716 allout-auto-activation, and mark obsolete.
1717 (allout-mode): Respect string values for allout-auto-activation.
1718 Run allout-after-copy-or-kill-hook without any args.
1719 (allout-mode, allout-layout, allout-default-layout)
1720 (outlineify-sticky): Adjust docstring for new scheme.
1721 (allout-after-copy-or-kill-hook): No arguments - hook implementers
1722 should concentrate on the kill ring.
1723
1724 2011-02-09 Teodor Zlatanov <tzz@lifelogs.com>
1725
1726 * password-cache.el (password-cache-remove): Accept secrets that are
1727 not strings.
1728
1729 2011-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
1730
1731 * progmodes/sh-script.el (sh-font-lock-open-heredoc): Fix case
1732 of here-doc that immediately follows a comment.
1733
1734 2011-02-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1735
1736 * net/rcirc.el (rcirc-ctcp-sender-PING): Simplifying.
1737
1738 * net/rcirc.el (rcirc-cmd-ctcp): Use dedicated function when
1739 available.
1740 (rcirc-ctcp-sender-PING): New function.
1741
1742 2011-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
1743
1744 * obsolete/pc-select.el: Rename from emulation/pc-select.el (bug#7940).
1745 Remove the mark/nomark handling, and activate shift-select-mode instead.
1746
1747 * obsolete/pc-mode.el: Rename from emulation/pc-mode.el.
1748
1749 2011-02-07 Jay Belanger <jay.p.belanger@gmail.com>
1750
1751 * calc/calc-units.el (math-logunits-quant): Add support for
1752 non-logarithmic units.
1753
1754 2011-02-07 Ken Manheimer <ken.manheimer@gmail.com>
1755
1756 * allout.el (allout-after-copy-or-kill-hook): New hook for
1757 extension-specific processing of killed text.
1758 (allout-mode): Include new allout-after-copy-or-kill-hook among
1759 mentioned hooks.
1760 (allout-kill-line, allout-kill-topic): Ensure that processing
1761 after kill happens even if barf-if-buffer-read-only is raised.
1762 Include new allout-after-copy-or-kill-hook among that subsequent
1763 processing.
1764 (allout-deannotate-hidden): Actually remove the annotation text
1765 properties.
1766
1767 * allout.el (allout-listify-exposed): Copy text sans text properties.
1768
1769 2011-02-07 Michael Albinus <michael.albinus@gmx.de>
1770
1771 * net/dbus.el (dbus-list-activatable-names): Add optional argument BUS.
1772
1773 2011-02-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1774
1775 * net/rcirc.el (rcirc-handler-317): New function (Bug#6507).
1776
1777 2011-02-06 Jay Belanger <jay.p.belanger@gmail.com>
1778
1779 * calc/calc.el (calc-logunits-field-reference): Rename from
1780 `calc-default-field-reference-level'.
1781 (calc-logunits-power-reference): Rename from
1782 `calc-default-power-reference-level'.
1783
1784 * calc/calc-units.el (math-logunits-quant): Rename from
1785 `math-logunits-level'
1786 (math-logunits-plus): Rename from math-logcombine.
1787 (calcFunc-luplus, calcFunc-luminus calc-luplus, calc-luminus): Remove.
1788 (calcFunc-lufieldadd, calcFunc-lupoweradd, calcFunc-lufieldsub)
1789 (calcFunc-lufieldsub, calc-logunits-add, calc-logunits-sub):
1790 New functions.
1791 (calcFunc-fieldquant): Rename from `calcFunc-fieldlevel'.
1792 (calcFunc-powerquant): Rename from `calcFunc-powerlevel'.
1793 (calc-logunits-quantity): Rename from `calc-level'.
1794 (calcFunc-dbfieldlevel, calcFunc-dbpowerlevel, calcFunc-npfieldlevel)
1795 (calcFunc-nppowerlevel, calc-logunits-dblevel, calc-logunits-nplevel)
1796 (math-logunits-mul, calcFunc-lufieldmul, calcFunc-lupowermul)
1797 (calc-logunits-mul, math-logunits-divide, calcFunc-lufielddiv)
1798 (calcFunc-lupowerdiv, calc-logunits-divide, math-logunits-level):
1799 New functions.
1800
1801 * calc/calc-help.el (calc-u-prefix-help): Remove "L" reference.
1802 (calc-ul-prefix-help): Remove.
1803 (calc-l-prefix-help): New function.
1804 (calc-full-help): Add reference to `calc-l-prefix-help'.
1805
1806 * calc/calc-ext.el (calc-init-extensions): Update autoloads.
1807
1808 * calc/README: Mention logarithmic units.
1809
1810 2011-02-06 Chong Yidong <cyd@stupidchicken.com>
1811
1812 * mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
1813 non-ASCII characters (Bug#7925).
1814
1815 2011-02-05 Glenn Morris <rgm@gnu.org>
1816
1817 * emacs-lisp/cl-macs.el (return-from): Fix doc typo.
1818
1819 * calendar/diary-lib.el (diary-font-lock-keywords):
1820 Tweak diary-time-regexp match. (Bug#7891)
1821
1822 * progmodes/f90.el (f90-find-tag-default): New function. (Bug#7919)
1823 (f90-mode): Use it for mode's `find-tag-default-function' property.
1824
1825 * ibuf-ext.el (ibuffer-filter-disable): Make it work. (Bug#7969)
1826
1827 * faces.el (set-face-attribute): Doc fix. (Bug#2659)
1828
1829 2011-02-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1830
1831 * net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
1832 (Bug#6386).
1833
1834 2011-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
1835
1836 * progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the
1837 font-lock-syntax-table remappings.
1838 (sh-here-doc-markers, sh-here-doc-re): Remove.
1839 (sh-font-lock-close-heredoc): Remove.
1840 (sh-syntax-propertize-here-doc): New function.
1841 (sh-font-lock-open-heredoc): Set the sh-here-doc-marker property
1842 instead of the sh-here-doc-re.
1843 (sh-font-lock-paren): Don't do anything in comments or strings.
1844 Handle line continuations. Accept a few more chars.
1845 Don't rely on the font-lock-syntax-table remappings.
1846 `esac' is not a valid pattern.
1847 (sh-syntax-propertize-function): Handle here-docs differently, so we
1848 don't bother syntax-propertizing the insides.
1849
1850 * progmodes/sh-script.el (sh-font-lock-paren, sh-kw, sh-prev-thing):
1851 Handle new bashisms ";&" and ";;&" (bug#7947).
1852
1853 2011-02-05 Michael Albinus <michael.albinus@gmx.de>
1854
1855 * net/tramp-smb.el (tramp-smb-errors): Use `regexp-opt'.
1856 Add "NT_STATUS_IO_TIMEOUT" and "NT_STATUS_NO_SUCH_USER".
1857
1858 2011-02-05 Era Eriksson <era+tramp@iki.fi> (tiny change)
1859
1860 * net/tramp.el (tramp-postfix-method-format)
1861 (tramp-postfix-method-regexp, tramp-prefix-domain-format)
1862 (tramp-prefix-domain-regexp, tramp-postfix-user-format)
1863 (tramp-postfix-user-regexp, tramp-prefix-port-format)
1864 (tramp-prefix-port-regexp, tramp-postfix-host-format)
1865 (tramp-postfix-host-regexp, tramp-handle-substitute-in-file-name):
1866 Doc fix.
1867
1868 2011-02-04 Sam Steingold <sds@gnu.org>
1869
1870 * mouse.el (mouse-buffer-menu-mode-groups): Add a "GDB" group.
1871
1872 2011-02-04 Andreas Schwab <schwab@linux-m68k.org>
1873
1874 * international/mule-util.el (with-coding-priority): Doc fix.
1875
1876 2011-02-04 Eli Zaretskii <eliz@gnu.org>
1877
1878 * arc-mode.el (archive-mode-map): Fix a typo in last change.
1879
1880 2011-02-03 Sam Steingold <sds@gnu.org>
1881
1882 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1883 Do not error out when `func' is nil.
1884
1885 2011-02-03 Michael Albinus <michael.albinus@gmx.de>
1886
1887 * net/tramp-sh.el (tramp-remote-path): Add default settings for
1888 `tramp-default-remote-path' to the docstring.
1889 (tramp-get-remote-path): Suppress error message when `getconf
1890 PATH' fails.
1891
1892 * net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL".
1893
1894 2011-02-03 Glenn Morris <rgm@gnu.org>
1895
1896 * vc/vc-hg.el (vc-hg-command): Doc fix.
1897
1898 * term/w32-win.el (libpng-version): Declare for compiler.
1899
1900 * msb.el: No need to load dired while compiling.
1901
1902 * emacs-lisp/elint.el (elint-standard-variables):
1903 Remove a couple of built-ins that now have doc-strings.
1904
1905 * hi-lock.el, ps-bdf.el, ps-mule.el, ps-print.el, ps-samp.el:
1906 `require' is automatically `eval-and-compile'd.
1907
1908 * net/rcirc.el (rcirc-nick-completion-format): Add :version tag.
1909 (rcirc-log-directory, rcirc-log-flag): Move definitions before use.
1910
1911 * strokes.el (strokes-fill-current-buffer-with-whitespace):
1912 Move definition before use.
1913 (strokes-report-bug): Make it obsolete.
1914
1915 2011-02-02 Sam Steingold <sds@gnu.org>
1916
1917 * apropos.el (apropos-print): Now that `apropos-mode' inherits
1918 from `special-mode', entering it makes the buffer read-only, so
1919 call it only when everything has been already inserted.
1920 * emacs-lisp/ert.el (ert--setup-results-buffer)
1921 (ert-results-pop-to-backtrace-for-test-at-point)
1922 (ert-results-pop-to-messages-for-test-at-point)
1923 (ert-results-pop-to-timings): Ditto.
1924 * emacs-lisp/package.el (package--list-packages): Ditto.
1925 * play/solitaire.el (solitaire): Ditto.
1926
1927 2011-02-02 Chong Yidong <cyd@stupidchicken.com>
1928
1929 * progmodes/compile.el: Make all faces inherit.
1930 (compilation-warning): Inherit from font-lock-variable-name-face.
1931 (compilation-info): Inherit from font-lock-type-face.
1932 (compilation-line-number): Reassign to font-lock-keyword-face.
1933 (compilation-column-number): Reassign to font-lock-doc-face.
1934 (compilation-leave-directory-face): Reassign to
1935 font-lock-builtin-face.
1936
1937 2011-02-02 Eli Zaretskii <eliz@gnu.org>
1938
1939 * dired.el (dired-insert-directory): Don't invoke `ls' when
1940 ls-lisp.el is used to emulate it.
1941
1942 2011-02-01 Julien Danjou <julien@danjou.info>
1943
1944 * color.el (color-gradient): Add a color-gradient function.
1945
1946 2011-02-01 Sam Steingold <sds@gnu.org>
1947
1948 * simple.el (special-mode-map): Bind "h" to `describe-mode';
1949 bind "z" to `kill-this-buffer'.
1950 (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
1951 * apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
1952 (apropos-mode): Inherit from `special-mode'.
1953 * arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
1954 * bookmark.el (bookmark-bmenu-mode): Define using
1955 `define-derived-mode' inheriting from `special-mode'.
1956 * dired.el (dired-mode-map): Inherit from `special-mode-map'.
1957 * image-mode.el (image-mode-map): Ditto.
1958 * replace.el (occur-mode): Define using
1959 `define-derived-mode' inheriting from `special-mode'.
1960 * tar-mode.el (tar-mode): Inherit from `special-mode'.
1961 * calendar/diary-lib.el (diary-fancy-display-mode):
1962 Inherit from `special-mode-map'.
1963 * emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
1964 Inherit from `special-mode'.
1965 * emacs-lisp/package.el (package-menu-mode-map): Copy from
1966 `special-mode-map'.
1967 (package-menu-mode): Define using `define-derived-mode'
1968 inheriting from `special-mode'.
1969 * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
1970 * net/xesam.el (xesam-mode): Inherit from `special-mode'.
1971 (xesam-mode-map): Define separately.
1972 * play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
1973 * progmodes/compile.el (compilation-minor-mode-map)
1974 (compilation-mode-map): Inherit from `special-mode-map'.
1975 * vc/diff-mode.el (diff-mode-shared-map):
1976 Inherit from `special-mode-map'.
1977 * vc/log-view.el (log-view-mode-map): Add a comment.
1978
1979 2011-02-01 Chong Yidong <cyd@stupidchicken.com>
1980
1981 * custom.el (load-theme): Define return value. Drop use of
1982 unsafep; call custom-theme-load-confirm for non-known-safe themes.
1983 (custom-theme-load-confirm): Scroll in the correct window.
1984 (custom-enabled-themes): Add custom-safe-themes to :set-after.
1985
1986 * cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
1987 checkbox if load-theme fails.
1988
1989 2011-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
1990
1991 * progmodes/compile.el (compilation-next-error): Check there's
1992 a message before using it (bug#7941).
1993
1994 2011-02-01 Jay Belanger <jay.p.belanger@gmail.com>
1995
1996 * calc/calc-mtx.el (math-lud-pivot-check): New function.
1997 (math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
1998 of potential pivots.
1999
2000 2011-01-31 Alan Mackenzie <acm@muc.de>
2001
2002 * progmodes/cc-cmds.el (c-forward-over-illiterals):
2003 Continue parsing if we encounter a naked # (Bug#7595).
2004 (c-beginning-of-statement): Avoid loop in locating the beginning
2005 of a macro. (Not actually committed until 2011-02-20, see above).
2006
2007 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
2008
2009 * files.el (copy-directory): Fix arguments to recursive call.
2010
2011 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
2012
2013 * files.el (copy-directory): If destination is an existing
2014 directory, copy into a subdirectory there.
2015
2016 2011-01-31 Andreas Schwab <schwab@linux-m68k.org>
2017
2018 * emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
2019 files.
2020
2021 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
2022
2023 * image-dired.el (image-dired-mouse-display-image): No-op if no
2024 file is found (Bug#7817).
2025
2026 * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
2027
2028 2011-01-31 Kenichi Handa <handa@m17n.org>
2029
2030 * international/quail.el (quail-keyboard-layout-alist):
2031 Remove superfluous SPC for "pc105-uk" (bug#7927).
2032
2033 2011-01-31 Glenn Morris <rgm@gnu.org>
2034
2035 * msb.el (msb-menu-bar-update-buffers): Update for changed
2036 argument handling of menu-bar-select-frame. (Bug#7902)
2037
2038 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
2039
2040 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
2041 to the recursion depth (Bug#7722).
2042
2043 2011-01-31 Roy Liu <carsomyr@gmail.com> (tiny change)
2044
2045 * term/ns-win.el (ns-find-file): Expand ns-input-file with
2046 command-line-default-directory (Bug#7872).
2047
2048 2011-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
2049
2050 * progmodes/compile.el (compilation--flush-directory-cache):
2051 New function, extracted from compilation--remove-properties.
2052 (compilation--remove-properties, compilation--parse-region): Use it.
2053 (compilation--previous-directory): Handle one more case.
2054 (compilation-enable-debug-messages): Remove.
2055 (compilation-parse-errors, compilation--flush-parse): Just remove the
2056 left over debug messages.
2057
2058 2011-01-31 Sam Steingold <sds@gnu.org>
2059
2060 * progmodes/compile.el (compilation-enable-debug-messages):
2061 Add a variable to make the parsing messages introduced in
2062 2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
2063 (compilation-parse-errors, compilation--flush-parse): Use it.
2064
2065 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2066
2067 * net/rcirc.el: New customizable nick completion format. (Bug#6314)
2068 (rcirc-nick-completion-format): New defcustom.
2069 (rcirc-complete): Use it.
2070
2071 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2072
2073 * net/rcirc.el: Clean log filenames (Bug#7933).
2074 (rcirc-log-write): Use convert-standard-filename.
2075 (rcirc-log-filename-function): Documentation updates.
2076
2077 2011-01-30 Jan Djärv <jan.h.d@swipnet.se>
2078
2079 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
2080 Check report-emacs-bug-can-use-osx-open and use that if t.
2081 (report-emacs-bug-can-use-osx-open): New function.
2082 (report-emacs-bug): Rename can-xdg-email to can-insert-mail.
2083 Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
2084
2085 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
2086
2087 * vc/vc-dispatcher.el (vc-set-async-update): New function for
2088 updating Dired or VC-dir buffers after async command completes.
2089
2090 * vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
2091 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
2092
2093 * vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
2094 completions if it exists. Use vc-set-async-update.
2095 (vc-git-pull): Use vc-set-async-update.
2096
2097 * vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
2098 read-shell-command. Use vc-set-async-update.
2099 (vc-hg-merge-branch): Use vc-set-async-update.
2100
2101 2011-01-29 Daiki Ueno <ueno@unixuser.org>
2102
2103 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
2104 Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
2105 (Bug#7931).
2106
2107 2011-01-29 Stefan Monnier <monnier@iro.umontreal.ca>
2108
2109 * progmodes/compile.el: Avoid an N² behavior in grep.
2110 (compilation--previous-directory): New fun.
2111 (compilation--previous-directory-cache): New var.
2112 (compilation--remove-properties): Flush it.
2113 (compilation-directory-properties, compilation-error-properties):
2114 Use the new fun to speed up looking for the current directory.
2115
2116 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
2117
2118 * vc/vc-hg.el (vc-hg-history): New var.
2119 (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
2120 (vc-hg-merge-branch): New function.
2121
2122 * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
2123 the other way around.
2124
2125 * vc/vc-git.el (vc-git-branches, vc-git-pull)
2126 (vc-git-merge-branch): New functions.
2127 (vc-git-history): New var.
2128
2129 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
2130
2131 * vc/vc-dispatcher.el (vc-do-async-command): New function.
2132
2133 * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
2134 vc-do-async-command.
2135
2136 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
2137 Callers changed.
2138
2139 2011-01-28 Leo <sdl.web@gmail.com>
2140
2141 * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
2142 highlighting to the "this function is advised" message.
2143
2144 * help-mode.el (help-mode-finish): Apply highlighting here, to
2145 avoid clobbering by substitute-command-keys (Bug#6304).
2146
2147 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
2148
2149 * woman.el (woman0-roff-buffer): Process roff escape sequences
2150 occurring prior to the first request (Bug#7843).
2151
2152 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2153
2154 * progmodes/compile.el: Don't use font-lock any more.
2155 (compilation-error-regexp-alist-alist): Change handling of makepp
2156 so it preserves the warning/error distinction on subsequent files.
2157 Simplify various rules.
2158 (compilation-directory-properties): Use font-lock-face.
2159 Add a compilation-message property.
2160 (compilation-internal-error-properties): Use font-lock-face.
2161 Don't set the compilation-debug property here.
2162 (compilation--put-prop, compilation--remove-properties)
2163 (compilation--parse-region, compilation--ensure-parse)
2164 (compilation--ensure-parse): New functions.
2165 (compilation-parse-errors): New function, largely inspired of
2166 compilation-mode-font-lock-keywords. Set compilation-debug here.
2167 (compilation--parsed): New var.
2168 (compilation--flush-parse): Use compilation--ensure-parse.
2169 (compilation-start): Don't call font-lock.
2170 (compilation-turn-on-font-lock): Remove.
2171 (compilation-setup): Don't set font-lock-extra-managed-props not change
2172 other font-lock settings, other than keywords.
2173 Don't activate font-lock-mode.
2174 Set change-major-mode-hook and before-change-functions.
2175 (compilation--unsetup): Remove properties and hooks.
2176 (compilation-next-single-property-change): New function.
2177 (compilation-next-error): Use it to parse when needed.
2178 (compile-goto-error): Parse buffer as needed.
2179 (compilation--compat-error-properties): Don't need a dummy `face'
2180 property any more.
2181
2182 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2183
2184 * progmodes/compile.el: Use accessors for clarity and fix omake hack.
2185 (compilation-process-setup-function): Fix docstring's false promises.
2186 (compilation-error-regexp-alist-alist): Catch omake's continuous
2187 recompilation message and avoid reuse of old markers.
2188 (compilation-parse-errors-function): Declare obsolete.
2189 (compilation-buffer-modtime): Remove.
2190 (compilation--make-cdrloc, compilation--loc->col)
2191 (compilation--loc->line, compilation--loc->file-struct)
2192 (compilation--loc->marker, compilation--loc->visited)
2193 (compilation--make-file-struct, compilation--file-struct->file-spec)
2194 (compilation--file-struct->formats)
2195 (compilation--file-struct->loc-tree): New macros. Use them.
2196 (compilation--message): New defstruct. Use them.
2197 (compilation-next-error-function): Don't mess with timestamps to try
2198 and guess when to reparse.
2199
2200 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2201
2202 * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
2203 (tex-old-error-file-name): New function,
2204 extracted from tex-compilation-parse-errors.
2205 (tex-compilation-parse-errors): Remove.
2206 (tex-error-regexp-alist): New var.
2207 (tex-shell): Use it to avoid compilation-parse-errors-function.
2208
2209 * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
2210 (grep-mode-font-lock-keywords): Remove regexp that seems like
2211 a left-over from before we used compile.el.
2212 (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
2213 modifying the buffer within with-silent-modifications.
2214
2215 * progmodes/compile.el: Cleanup text-properties namespace by using
2216 `compilation-message' instead of `message', `compilation-directory'
2217 instead of `directory', and `compilation-debug' instead of `debug'.
2218 (compilation-last-buffer, compilation-parsing-end)
2219 (compilation-error-list, compilation-old-error-list): Move to the
2220 compatibility part of the code.
2221 (compilation-error-properties): If `file' is a function, let it return
2222 a file name.
2223 (compilation-mode-font-lock-keywords): Be more conservative with the
2224 omake "^ *" pattern prefix, to try and minimize the risk of
2225 pathologically slow regexp matching.
2226 (compilation-start): Use inhibit-read-only.
2227 (compilation--unsetup): New function.
2228 (compilation-shell-minor-mode, compilation-minor-mode): Use it.
2229 (compilation-filter): Minor tweaks.
2230 (compilation-next-error-function): Try and avoid abusing variables.
2231 (compilation--flush-file-structure): New fun.
2232 (compilation-fake-loc): Use it to improve behavior when file is reused.
2233 (debug-ignored-errors): Add "Moved past last ...".
2234 (compilation--compat-error-properties)
2235 (compilation--compat-parse-errors): Rename by doubling the "-".
2236
2237 Port features from the previous prolog.el to the new one.
2238 * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
2239 (prolog-program-name, prolog-program-switches, prolog-consult-string)
2240 (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
2241 variable and use a function to compute the value dynamically.
2242 (prolog-prompt-regexp): Add regexp for GNU Prolog.
2243 (prolog-continued-prompt-regexp): Remove, unused.
2244 (prolog-find-value-by-system): Try and use the value of prolog-system
2245 in the *prolog* buffer if it helps.
2246 (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
2247 (prolog-zip-on): ..and check prolog-system and version here instead.
2248 (prolog-inferior-self-insert-command): New command.
2249 (prolog-inferior-mode-map): Use it.
2250 (prolog-inferior-error-regexp-alist): New var.
2251 (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
2252 (prolog-input-filter): Use derived-mode-p.
2253 (prolog-inferior-guess-flavor): New function.
2254 (prolog-ensure-process): Use it. Use make-comint-in-buffer rather than
2255 make-comint to avoid running comint-mode twice.
2256 (prolog-inferior-buffer): New fun.
2257 (prolog-old-process-region, prolog-old-process-file):
2258 Don't call prolog-bsts here...
2259 (prolog-build-prolog-command): ...do it here instead.
2260 (prolog-old-process-region, prolog-old-process-file):
2261 Use compilation-fake-loc and compilation-forget-errors.
2262 (prolog-consult-compile-region): Use bolp.
2263
2264 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
2265
2266 * image-mode.el (image-display-size): Doc fix (Bug#7820).
2267
2268 2011-01-27 Sam Steingold <sds@gnu.org>
2269
2270 * midnight.el (clean-buffer-list-kill-never-buffer-names):
2271 Remove "*server*" which is never created by emacs server.
2272
2273 2011-01-27 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2274
2275 * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
2276 there are some diff switches.
2277
2278 2011-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
2279
2280 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2281 Copy change made to ruby-font-lock-syntactic-keywords.
2282
2283 * htmlfontify.el: Make it obey the font-lock-face text property.
2284 Miscellaneous cleanup such as:
2285 - Don't hide expressions after a closing paren.
2286 - Move initial setq into let.
2287 - Hoist common parts out of ifs.
2288 (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
2289 (hfy-face-at): Use get-text-property instead.
2290 (hfy-prop-invisible-p): Use invisible-p if available.
2291 (htmlfontify-manual): Use \\[...].
2292 (hfy-html-quote-regex): Use [...].
2293 (hfy-combined-face-spec): Simplify.
2294 (hfy-compile-face-map): Don't presume point-min==1.
2295 (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
2296 match end of string.
2297 (hfy-text-p): η-reduce.
2298 (hfy-tags-for-file): Receive cache-hash directly.
2299 (hfy-mark-tag-names): Adjust call.
2300
2301 2011-01-27 Glenn Morris <rgm@gnu.org>
2302
2303 * msb.el (msb-after-load-hooks): Make it an obsolete alias.
2304 (msb-after-load-hook): Remove eval-after-load wackiness.
2305
2306 2011-01-25 Sam Steingold <sds@gnu.org>
2307
2308 * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
2309 literal "diff" (important for windows-nt).
2310
2311 2011-01-25 Glenn Morris <rgm@gnu.org>
2312
2313 * emacs-lisp/copyright.el (copyright-at-end-flag)
2314 (copyright-names-regexp): Add safety properties.
2315 (copyright-year-ranges): New option.
2316 (copyright-find-end): New function, split from copyright-update-year.
2317 (copyright-update-year): Use copyright-find-end.
2318 (copyright-fix-years): Optionally, convert years to ranges.
2319 Handle years continued over comment lines.
2320 Do not mess with the fill-prefix.
2321 Do not call copyright-update.
2322 (copyright-update-directory): Optionally, fix years rather than update.
2323 Skip directories. Find files with only safe local vars.
2324
2325 2011-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
2326
2327 * files.el (file-name-non-special): Only change buffer-file-name after
2328 insert-file-contents if it's `visit'ing the file (bug#7854).
2329
2330 2011-01-25 Chong Yidong <cyd@stupidchicken.com>
2331
2332 * dired.el (dired-revert): Doc fix (Bug#7758).
2333
2334 * simple.el (line-move-visual): Doc fix (Bug#7594).
2335
2336 2011-01-25 Nobuyoshi Nakada <nobu@ruby-lang.org>
2337
2338 * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
2339 here-doc which ends with an underscore.
2340 (ruby-mode-set-encoding): Skip shebang line always.
2341 (ruby-mode-map): Bind C-c C-c to comment-region.
2342 (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
2343 (ruby-forward-sexp): Stop after literal hash key labels.
2344 (ruby-font-lock-syntactic-keywords): Highlight regexp after open
2345 bracket.
2346
2347 2011-01-25 Keitaro Miyazaki <keitaro.miyazaki@gmail.com> (tiny change)
2348
2349 * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
2350 the correct buffer (Bug#7650).
2351
2352 2011-01-25 Glenn Morris <rgm@gnu.org>
2353
2354 * comint.el (comint-mode): Doc fix. (Bug#7897)
2355
2356 * simple.el (do-auto-fill): Give it a doc string.
2357
2358 * button.el (make-text-button): Doc fix. (See bug#7881)
2359
2360 2011-01-24 Stefan Monnier <monnier@iro.umontreal.ca>
2361
2362 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
2363 Don't move backward, so as not to fall in an inf-loop (bug#7736).
2364
2365 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
2366 Handle ?" and friends differently (e.g. don't use backrefs).
2367
2368 2011-01-24 Jay Belanger <jay.p.belanger@gmail.com>
2369
2370 * calc/calc.el (calc-default-power-reference-level)
2371 (calc-default-field-reference-level): New variables.
2372 * calc/calc-units.el (math-standard-units): Add dB and Np.
2373 (math-logunits): New variable.
2374 (math-extract-logunits, math-logcombine, calcFunc-luplus)
2375 (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
2376 (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
2377 New functions.
2378 (math-find-base-units-rec): Add entry for ln(10).
2379 * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
2380 (calc-ul-prefix-help): New function.
2381 * calc/calc-ext.el (calc-init-extensions): Autoload new units
2382 functions. Add keybindings for new units functions.
2383
2384 2011-01-22 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change)
2385
2386 * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
2387 rcirc buffers. (Bug#4940)
2388
2389 2011-01-22 Glenn Morris <rgm@gnu.org>
2390
2391 * emacs-lisp/copyright.el (copyright-find-copyright): New function,
2392 split out from copyright-update-year.
2393 (copyright-update): Don't mess with the GPL version if we don't own the
2394 copyright. Update license regexp, and remove no longer needed
2395 Esperanto stuff.
2396 (copyright-fix-years): Use copyright-find-copyright.
2397
2398 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
2399
2400 * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
2401
2402 2011-01-22 Jari Aalto <jari.aalto@cante.net>
2403
2404 * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
2405 (lm): Rename to landmark.
2406 (lm-test-run): Rename to landmark-test-run.
2407
2408 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
2409
2410 * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
2411 "Case sensitive" menu item.
2412
2413 2011-01-22 Roland McGrath <roland@frob.com>
2414
2415 * comint.el (comint-replace-by-expanded-history-before-point): Fix
2416 expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
2417
2418 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2419
2420 * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
2421
2422 2011-01-22 Jari Aalto <jari.aalto@cante.net>
2423
2424 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
2425 Assume foo(bar) is a manpage reference rather than some unquoted
2426 symbol (bug#7705).
2427
2428 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2429
2430 * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
2431 Suggested by Flo <sensorflo@gmail.com>.
2432
2433 2011-01-22 Glenn Morris <rgm@gnu.org>
2434
2435 * progmodes/compile.el (compilation-error-regexp-alist):
2436 Fix custom type. (Bug#7812)
2437
2438 2011-01-22 Ken Manheimer <ken.manheimer@gmail.com>
2439
2440 * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
2441 allout-number-siblings, in keeping with what obtained due to
2442 (now-defunct) allout-keybindings-list. Ditch repeat binding to
2443 (prefixed) ?i.
2444 (allout-before-change-handler): Better expose spots affected by
2445 undo.
2446
2447 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
2448
2449 * man.el (Man-highlight-references0): Use make-button (Bug#7881).
2450
2451 2011-01-22 Phil Hagelberg <phil@evri.com>
2452
2453 * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
2454 (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
2455 (pcmpl-ssh-config-hosts): New function.
2456 (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
2457 pcmpl-ssh-known-hosts.
2458
2459 2011-01-21 Jay Belanger <jay.p.belanger@gmail.com>
2460
2461 * calc/calc-undo.el (calc-undo): Autoload it.
2462 * calc/calc-ext.el (calc-init-extensions): Remove keybindings
2463 and autoload for `calc-undo'.
2464 * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
2465 * calc/calc-prog.el:
2466 * calc/calc-graph.el:
2467 * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
2468
2469 2011-01-21 Štěpán Němec <stepnem@gmail.com> (tiny change)
2470
2471 * calc/calc-ext.el (calc-init-extensions): Map all `undo'
2472 keybindings to `calc-undo'.
2473
2474 2011-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
2475
2476 Don't mess with *temp*.
2477 * obsolete/spell.el: Move from textmodes/spell.el.
2478 (spell-string):
2479 * term.el (term-read-input-ring):
2480 * startup.el (display-startup-echo-area-message):
2481 * progmodes/antlr-mode.el (antlr-directory-dependencies):
2482 * comint.el (comint-read-input-ring): Use with-temp-buffer.
2483 * international/mule.el (ctext-pre-write-conversion): Don't hardcode
2484 point-min==1.
2485
2486 2011-01-20 Ken Manheimer <ken.manheimer@gmail.com>
2487
2488 * allout.el (allout-institute-keymap): Use fset instead of
2489 reapplying defalias.
2490
2491 (allout-hotspot-key-handler): Check for non-control-modified
2492 bindings for hotspot characters if there are no control-modified
2493 versions.
2494
2495 * allout.el: Summary - migrate to defining allout mode using
2496 define-minor-mode instead of defun. Significantly clean-up
2497 internal keymap provisions, refactoring and, in the process,
2498 removing a lot of accumulated cruft.
2499
2500 allout-mode-map is now a keymap by virtue of being a defalias to
2501 allout-mode-map-value, which contains the actual keymap structure.
2502
2503 (allout-mode): Use define-minor-mode rather than defun.
2504 Remove now-unnecessary minor-mode setup activities from the body.
2505 Specify :keymap as allout-mode-map so the minor-mode-map-alist
2506 entry will be '(allout-mode . allout-mode-map) - see
2507 allout-mode-map-value, below. Adjust docstring to track changes.
2508 (allout-minor-mode): Remove this defalias, now that we're using
2509 define-minor-mode.
2510 (allout-mode-map): Set value to be 'allout-mode-map. The actual
2511 keymap is allout-mode-map-value, via defalias.
2512 (allout-mode-map-value): The variable holding the actual mode
2513 keymap structure, by virtue of defalias from allout-mode-map.
2514 (allout-compose-and-institute-keymap): Rename from
2515 allout-bind-keys, and including the binding-composition
2516 functionality of the former produce-allout-mode-map and
2517 allout-setup-mode-map.
2518 (allout-institute-keymap): Take over the "setup" part of the former
2519 allout-setup-mode-map. Reassign allout-mode-map-value value and
2520 update the defalias.
2521 (allout-command-prefix, allout-prefixed-keybindings)
2522 (allout-unprefixed-keybindings):
2523 Use allout-compose-and-institute-keymap to process the bindings.
2524 (allout-unprefixed-keybindings): Remove extraneous '?' question marks.
2525 (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
2526 user can customize if they want to use that binding.
2527 Bind allout-copy-topic-as-kill to (prefixed) \M-k.
2528 Bind allout-up-current-level to (prefixed) \C-u. (I think i mistakenly
2529 elided that, previously, instead of the one for \C-h.)
2530 (allout-hotspot-key-handler): Remove attempt to resolve the key
2531 through the literal key-string lookup on allout-keybindings-list.
2532 That probably hasn't worked for a Long Time, and removal of
2533 allout-keybindings-list further simplifies the keybindings situation.
2534 (allout-pre-command-business): Use allout-mode-map-value instead
2535 of allout-mode-map.
2536 (allout-preempt-trailing-ctrl-h): Remove. The user can customize
2537 the bindings if they want to use a keybinding having a trailing
2538 \C-h. No deprecation needed since this feature was never in a release.
2539 (allout-keybindings-list): Remove. It's not been useful for a
2540 while. (See allout-hotspot-key-handler changes, above.)
2541 (produce-allout-mode-map): Remove. Consolidate into
2542 allout-compose-and-institute-keymap.
2543 (allout-mode-map-adjustments): Remove. No longer necessary with
2544 removal of allout-preempt-trailing-ctrl-h.
2545 (allout-setup-mode-map): Remove. Consolidate into
2546 allout-compose-and-institute-keymap and allout-institute-keymap.
2547
2548 2011-01-20 Glenn Morris <rgm@gnu.org>
2549
2550 * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
2551
2552 * simple.el (read-expression-history): Remove, it's in minibuf.c.
2553
2554 2011-01-20 Chong Yidong <cyd@stupidchicken.com>
2555
2556 * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
2557
2558 * files.el (find-alternate-file, basic-save-buffer)
2559 (basic-save-buffer-2, revert-buffer, recover-file)
2560 (kill-buffer-ask, abort-if-file-too-large)
2561 (set-visited-file-name, write-file, backup-buffer)
2562 (basic-save-buffer, save-some-buffers):
2563 * dired-aux.el (dired-compress-file): Callers changed.
2564
2565 2011-01-19 Glenn Morris <rgm@gnu.org>
2566
2567 * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
2568 Also check the property status. (Bug#7861)
2569
2570 2011-01-18 Michael Albinus <michael.albinus@gmx.de>
2571
2572 * net/tramp.el (tramp-debug-message): Extend function exclude
2573 list. Use `regexp-opt'.
2574
2575 2011-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
2576
2577 * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
2578 highlighting doesn't spill over subsequent lines.
2579
2580 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
2581 keymap expression. Improve docstring.
2582
2583 * electric.el (electric-indent-post-self-insert-function):
2584 Don't auto-indent for indent-to-left-margin, it's too often
2585 counter-productive.
2586
2587 2011-01-16 Tassilo Horn <tassilo@member.fsf.org>
2588
2589 * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
2590 spaces if the frame was resized, so that the full visible buffer
2591 serves as canvas for strokes.
2592
2593 2011-01-16 Glenn Morris <rgm@gnu.org>
2594
2595 * info-xref.el (info-xref-docstrings): Replace cl function.
2596 Also skip directories.
2597
2598 2011-01-16 Kevin Ryde <user42@zip.com.au>
2599
2600 * info-xref.el: Version 3.
2601 (info-xref-check, info-xref-check-all): Move commentary details
2602 into docstrings for better visibility.
2603 Use compilation-mode for the results buffer.
2604 (info-xref-output, info-xref-output-error, info-xref-with-output)
2605 (info-xref-filename, info-xref-in-progress):
2606 New internals for this.
2607 (info-xref-check-list, info-xref-check-buffer)
2608 (info-xref-check-all-custom): Use those.
2609 (info-xref-output-buffer): Rename from info-xref-results-buffer.
2610 (info-xref-output-heading): Rename from info-xref-filename-heading.
2611 (info-xref-good, info-xref-bad, info-xref-xfile-alist)
2612 (info-xref-filename-heading): Move to output managing section.
2613 (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
2614 (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
2615 (info-xref-subfile-p): Move to generic section with those two.
2616 (info-xref-check-node): New function split from
2617 info-xref-check-buffer, shared by info-xref-docstrings.
2618 (info-xref-goto-node-p): Move to a checking section with that func.
2619 (info-xref-unavail): New counter.
2620 (info-xref-check-node): Use it.
2621 (info-xref-with-output): Show count of unavailables at end of output.
2622 (info-xref-all-info-files): Exclude ".*" dotfiles. Ignore broken
2623 symlinks. Exclude .texi files. Exclude Emacs backup files.
2624 (info-xref-check-all-custom): Fix quietening viper-mode and
2625 gnus-registry-install -- use setq not let so as not to unbind
2626 after load.
2627
2628 2011-01-16 Juri Linkov <juri@jurta.org>
2629
2630 * isearch.el (isearch-abort): Don't quit if search has
2631 an incomplete regexp (isearch-error is non-nil). (Bug#7534)
2632
2633 2011-01-15 Mark Diekhans <markd@soe.ucsc.edu>
2634
2635 * files.el (backup-buffer): Make last-resort backup file in
2636 .emacs.d (Bug#6953).
2637
2638 * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
2639 make it with permission 700.
2640
2641 2011-01-15 Kenichi Handa <handa@m17n.org>
2642
2643 * mail/rmailmm.el (rmail-mime-insert-header):
2644 Set rmail-mime-coding-system to a cons whose car is the last coding
2645 system used to decode the header.
2646 (rmail-mime-find-header-encoding): New function.
2647 (rmail-mime-insert-decoded-text):
2648 Override rmail-mime-coding-system if it is a cons.
2649 (rmail-show-mime): If only a header part was decoded, find the
2650 coding system while ignoring mm-charset-override-alist.
2651
2652 2011-01-15 Chong Yidong <cyd@stupidchicken.com>
2653
2654 * subr.el (event-start, event-end): Doc fix (Bug#7826).
2655
2656 2011-01-15 Kenichi Handa <handa@m17n.org>
2657
2658 * mail/rmailmm.el (rmail-mime-next-item)
2659 (rmail-mime-previous-item): Delete them.
2660 (rmail-mime-shown-mode): Recursively call for children.
2661 (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
2662 Callers changed.
2663 (rmail-mime-raw-mode): Recursively call for children.
2664 (rmail-mode-map): Change mapping of tab and backtab to
2665 forward-button and backward-button respectively.
2666 (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
2667 button.
2668 (rmail-mime-update-tagline): New function.
2669 (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
2670 body display is changed.
2671 (rmail-mime-toggle-button): Rename from rmail-mime-image.
2672 (rmail-mime-image): Delete this button type.
2673 (rmail-mime-toggle): New button type.
2674 (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
2675 body display is changed. Change the save button label to "Save".
2676 Don't process show/hide button here.
2677 (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
2678 the body display is changed. Unconditionally call
2679 rmail-mime-insert for children.
2680 (rmail-mime-handle): Update `display' vector of the just inserted
2681 entity.
2682 (rmail-mime-process): If mail-header-parse-content-type returns
2683 nil, use "text/plain" as the fallback type.
2684 (rmail-mime-insert): For raw-mode, recursively call
2685 rmail-mim-insert for children.
2686 (rmail-mime): Handle the case that the current buffer is not rmail
2687 buffer (e.g. in summary buffer).
2688
2689 2011-01-15 Kenichi Handa <handa@m17n.org>
2690
2691 * mail/rmailmm.el (rmail-mime-next-item)
2692 (rmail-mime-previous-item): Skip the body of a non-multipart
2693 entity if a tagline is shown.
2694
2695 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2696
2697 * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
2698 (tmm-prompt): Simplify.
2699 (tmm-add-prompt): Remove unused var `win'.
2700
2701 * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
2702 to minor mode which used nil accidentally to mean "turn off".
2703
2704 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
2705
2706 * net/tramp-sh.el (tramp-find-inline-compress)
2707 (tramp-get-inline-coding): Quote command after pipe symbol for
2708 local calls under W32. (Bug#6784)
2709
2710 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
2711
2712 * net/tramp.el (tramp-default-method): Initialize with pscp/plink
2713 only when running under W32.
2714
2715 2011-01-15 Eli Zaretskii <eliz@gnu.org>
2716
2717 * progmodes/grep.el (grep-compute-defaults): Quote the program
2718 file name after the pipe symbol in Grep templates. (Bug#6784)
2719 * jka-compr.el (jka-compr-partial-uncompress): Likewise.
2720
2721 2011-01-15 Lennart Borgman <lennart.borgman@gmail.com>
2722
2723 * buff-menu.el (Buffer-menu-buffer-list): New var.
2724 (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
2725 restricted buffer list is not lost on revert (Bug#7749).
2726
2727 2011-01-15 Eric Hanchrow <eric.hanchrow@gmail.com>
2728
2729 * net/ldap.el (ldap-search-internal): Discard stderr output.
2730
2731 2011-01-15 Eli Zaretskii <eliz@gnu.org>
2732
2733 * files.el (directory-abbrev-alist): Doc fix. (Bug#7777)
2734
2735 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2736
2737 * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
2738
2739 2011-01-15 Kenichi Handa <handa@m17n.org>
2740
2741 * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
2742 part as a plain text.
2743 (rmail-mime-process-multipart): Set the default content-type to
2744 nil for unknown multipart subtypes (bug#7651).
2745
2746 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2747
2748 * hexl.el (hexl-mode-old-*): Remove.
2749 (hexl-mode--old-var-vals): New var to replace them.
2750 (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
2751 (hexl-mode, hexl-follow-line, hexl-activate-ruler):
2752 Use them to set local vars (bug#7846).
2753 (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
2754 (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
2755 (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
2756
2757 * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
2758 (smerge-resolve--normalize-re): New var.
2759 (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
2760 (smerge-resolve): Use them.
2761 * newcomment.el (comment-only-p): New function.
2762 (comment-or-uncomment-region): Use it.
2763
2764 2011-01-14 Brent Goodrick <bgoodr@gmail.com> (tiny change)
2765
2766 * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
2767 table, get the value before switching to the output buffer. (Bug#7733)
2768
2769 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2770
2771 * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
2772
2773 2011-01-14 Kim F. Storm <storm@cua.dk>
2774
2775 * emulation/cua-base.el (cua--init-keymaps):
2776 Remap exchange-point-and-mark in cua-global-keymap.
2777
2778 2011-01-14 Tassilo Horn <tassilo@member.fsf.org>
2779
2780 * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
2781 loop keyword.
2782
2783 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2784
2785 * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
2786 Require CL.
2787 (easy-menu-create-menu, easy-menu-convert-item-1):
2788 Use :label rather than nil for labels. Use `case'.
2789 Add :enable as alias for :active.
2790 (easy-menu-binding): Obey :label.
2791
2792 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2793
2794 Use run-mode-hooks for major mode hooks (bug#513).
2795 * textmodes/reftex-toc.el (reftex-toc-mode-map):
2796 Rename from reftex-toc-map.
2797 (reftex-toc-mode): Use define-derived-mode.
2798 * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
2799 (reftex-select-label-mode-map, reftex-select-bib-mode-map):
2800 Rename from reftex-select-(label|bib)-map. Move init into declaration.
2801 (reftex-select-label-mode, reftex-select-bib-mode):
2802 Use define-derived-mode.
2803 * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
2804 (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
2805 Move init into delcaration.
2806 (reftex-index-mode, reftex-index-phrases-mode):
2807 Use define-derived-mode.
2808 * speedbar.el (speedbar-mode-syntax-table): Renaqme from
2809 speedbar-syntax-table. Move init into declaration.
2810 (speedbar-mode-map): Rename from speedbar-key-map.
2811 Move init into declaration.
2812 (speedbar-file-key-map): Move init into declaration.
2813 (speedbar-mode): Use define-derived-mode.
2814 * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
2815 * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
2816 * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
2817 (chart-face-list): Move initialization into declaration.
2818 (chart-mode): Use define-derived-mode.
2819 * calculator.el (calculator-mode-map): Move init into declaration.
2820 (calculator-mode): Use define-derived-mode.
2821
2822 * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
2823 work for nested comments.
2824
2825 * progmodes/prolog.el: Use syntax-propertize. Further code cleanup.
2826 (prolog-use-prolog-tokenizer-flag): Change default when
2827 syntax-propertize can be used.
2828 (prolog-syntax-propertize-function): New var.
2829 (prolog-mode-variables): Move make-local-variable into `set'.
2830 Don't make comment-column local since we don't set it.
2831 Set comment-add (as it was in previous prolog.el). Use dolist.
2832 Set syntax-propertize-function.
2833 (prolog-mode, prolog-inferior-mode):
2834 Call prolog(-inferior)-menu directly, not through the mode-hook.
2835 (prolog-buffer-module, prolog-indent-level)
2836 (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
2837 (prolog-comment-limits, prolog-goto-comment-column):
2838 Use line-(end|beginning)-position.
2839 (prolog-build-prolog-command): Tighten up regexp.
2840 (prolog-consult-compile): Move make-local-variable into `set'.
2841 (prolog-consult-compile-filter, prolog-goto-next-paren)
2842 (prolog-help-on-predicate, prolog-clause-info)
2843 (prolog-mark-predicate): Don't let+setq.
2844 (prolog-indent-line): Use indent-line-to.
2845 Only call prolog-goto-comment-column if necessary.
2846 (prolog-indent-level): Use bobp.
2847 (prolog-first-pos-on-line): Remove, not used any more.
2848 (prolog-in-string-or-comment): Use syntax-ppss if available.
2849 (prolog-help-on-predicate): Use read-string.
2850 (prolog-goto-predicate-info): Simplify.
2851 (prolog-read-predicate): Use `default' rather than `initial'.
2852 (prolog-temporary-file): Use make-temp-file to close a security hole.
2853 (prolog-toggle-sicstus-sd): New command.
2854 (prolog-electric-underscore, prolog-variables-to-anonymous):
2855 Use dynamic-scoping as it was meant.
2856 (prolog-menu): Move menu definitions to top-level.
2857 Use a toggle-button for Sicstus's source debugger.
2858 Change "Code" to the more usual "Prolog", and hence change "Prolog"
2859 to "System".
2860 (prolog-inferior-menu): Reuse prolog-menu's help menu.
2861 Move other menu definition to top-level.
2862
2863 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
2864
2865 * doc-view.el (doc-view-open-text): Use meaningful text buffer
2866 name. Keep original document's directory as default-directory
2867 (bug#6446).
2868 (doc-view-initiate-display): Fall back to normal mode when
2869 doc-view-mode cannot be enabled, also when extracting the document
2870 text into a separate buffer (bug#6446).
2871
2872 * simple.el (shell-command): Don't error out if shell command
2873 buffer contains text with non-nil read-only property when erasing
2874 the buffer.
2875
2876 2011-01-13 Kim F. Storm <storm@cua.dk>
2877
2878 * ido.el (ido-may-cache-directory): Move "too-big" check later.
2879 (ido-next-match, ido-prev-match): Fix stray reordering of matching
2880 items when cycling through the matches.
2881
2882 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
2883
2884 * dired-x.el (dired-omit-verbose): New defcustom that allows
2885 disabling the omit messages.
2886 (dired-omit-expunge): Use it.
2887
2888 2011-01-13 Christian Ohler <ohler@gnu.org>
2889
2890 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
2891
2892 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
2893
2894 * font-lock.el (font-lock-verbose): Default to nil.
2895
2896 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
2897
2898 * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
2899 (compose-mail): New arg RETURN-ACTION.
2900 (compose-mail-other-window, compose-mail-other-frame): Likewise.
2901
2902 * mail/sendmail.el (mail-return-action): New var.
2903 (mail-mode): Make it buffer-local.
2904 (mail-bury): Obey it. Move special Rmail window handling to
2905 rmail-mail-return.
2906 (mail, mail-setup): New arg RETURN-ACTION.
2907 (sendmail-user-agent-compose): Move from simple.el.
2908
2909 * mail/rmail.el (rmail-mail-return): New function.
2910 (rmail-start-mail): Pass it to compose-mail.
2911
2912 2011-01-12 Chong Yidong <cyd@stupidchicken.com>
2913
2914 * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
2915 menus. Add menu item for customize-themes.
2916
2917 * cus-theme.el (customize-themes):
2918 * emacs-lisp/package.el (package--list-packages):
2919 Use switch-to-buffer.
2920
2921 2011-01-11 Johan Bockgård <bojohan@gnu.org>
2922
2923 * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
2924
2925 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
2926
2927 * progmodes/prolog.el: Fix up coding convention and such.
2928 (prolog-indent-width): Use the same default as in
2929 previous prolog.el rather than tab-width which depends on which buffer
2930 is current when the file is loaded.
2931 (prolog-electric-newline-flag): Only enable if electric-indent-mode
2932 is not available.
2933 (prolog-emacs): Remove. Use (featurep 'xemacs) instead.
2934 (prolog-known-systems): Remove.
2935 (prolog-mode-syntax-table, prolog-inferior-mode-map):
2936 Move initialization into declaration.
2937 (prolog-mode-map): Move initialization into declaration.
2938 Remove system-specific mode-map vars, since they referred to the same
2939 keymap anyway.
2940 (prolog-mode-variables): Obey the user's preference w.r.t
2941 adaptive-fill-mode. Prefer symbol-value to `eval'.
2942 (prolog-mode-keybindings-edit): Add compatibility bindings.
2943 (prolog-mode): Use define-derived-mode. Don't handle mercury here.
2944 (mercury-mode-map): New var.
2945 (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
2946 (prolog-ensure-process, prolog-process-insert-string)
2947 (prolog-consult-compile): Use with-current-buffer.
2948 (prolog-guess-fill-prefix): Simplify data flow.
2949 (prolog-replace-in-string): New function to use instead of
2950 replace-in-string.
2951 (prolog-enable-sicstus-sd): Don't abuse `eval'.
2952 (prolog-uncomment-region): Use `uncomment-region' when available.
2953 (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
2954 (prolog-int-to-char, prolog-char-to-int): New functions to use instead
2955 of int-to-char and char-to-int.
2956 (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
2957
2958 2011-01-11 Stefan Bruda <stefan@bruda.ca>
2959
2960 * progmodes/prolog.el: Replace by a whole new file.
2961
2962 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
2963
2964 * subr.el (eval-after-load): Fix timing for features (bug#7769).
2965 (declare-function, undefined, insert-for-yank)
2966 (replace-regexp-in-string): Follow checkdoc's recommendations.
2967
2968 2011-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2969
2970 * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
2971 refreshing the diary buffer.
2972
2973 2011-01-10 Ken Manheimer <ken.manheimer@gmail.com>
2974
2975 * allout.el: Add 2011 to the file copyright.
2976 (allout-encrypt-string): Prevent encryption from adding an extra
2977 newline at the end of the topic body.
2978 (allout-version): Increment to 2.3.
2979
2980 2011-01-10 Michael Albinus <michael.albinus@gmx.de>
2981
2982 * net/dbus.el (dbus-unregister-service): Complete doc.
2983 Fix call of dbus-error signal.
2984 (dbus-register-property): Use `dont-register' keyword.
2985
2986 2011-01-10 Jan Moringen <jan.moringen@uni-bielefeld.de>
2987
2988 * net/dbus.el (dbus-unregister-service): Translate returned
2989 integer into a symbol.
2990 (dbus-register-property): Use `dbus-register-service' to do the
2991 name registration.
2992
2993 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
2994
2995 * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
2996 Suggested by Joakim Verona.
2997
2998 * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
2999
3000 * wid-edit.el (visibility): Replace :on-image and :off-image
3001 widget properties with :on-glyph and :off-glyph, for consistency
3002 with the `visibility' widget.
3003 (widget-toggle-value-create, widget-visibility-value-create):
3004 Merge into a single function `widget-toggle-value-create'.
3005
3006 * cus-edit.el (custom-variable-value-create, custom-visibility)
3007 (custom-face-edit-value-create, custom-face-value-create):
3008 Replace :on-image and :off-image widget properties with :on-glyph and
3009 :off-glyph, for consistency with the `visibility' widget.
3010
3011 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
3012
3013 * net/ldap.el (ldap-search-internal): Don't use eval.
3014
3015 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
3016
3017 * subr.el (read-char-choice): Use read-key.
3018
3019 * custom.el (custom-safe-themes): Rename from
3020 custom-safe-theme-files. Add :risky tag.
3021 (load-theme, custom-theme-load-confirm): Save sha1 hashes to
3022 custom-safe-themes, not filenames. Suggested by Stefan Monnier.
3023
3024 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
3025
3026 * tool-bar.el (tool-bar-setup): Remove Help button. Remove label
3027 from Search and add a label to Undo.
3028
3029 * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
3030 inappropriate buttons and adding :vert-only tags.
3031
3032 * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
3033 removal of Help tool-bar button. Remove Undo button for space.
3034
3035 * info.el (info-tool-bar-map): Add :vert-only tags.
3036
3037 2011-01-08 Tassilo Horn <tassilo@member.fsf.org>
3038
3039 * doc-view.el (doc-view-mode-p): Check for png or imagemagick
3040 image backend support. Either of them is fine.
3041
3042 2011-01-08 Chong Yidong <cyd@stupidchicken.com>
3043
3044 * subr.el (y-or-n-p): Doc fix.
3045
3046 * custom.el (custom-safe-theme-files): New defcustom.
3047 (custom-theme-load-confirm): New function.
3048 (load-theme): Load theme using `load', confirming with
3049 custom-theme-load-confirm if necessary.
3050
3051 * subr.el (read-char-choice): New function, factored out from
3052 dired-query and hack-local-variables-confirm.
3053
3054 * dired-aux.el (dired-query):
3055 * files.el (hack-local-variables-confirm): Use it.
3056
3057 * dired-aux.el (dired-compress-file):
3058 * files.el (abort-if-file-too-large, find-alternate-file)
3059 (set-visited-file-name, write-file, backup-buffer)
3060 (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
3061 (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
3062 Use new format string args for y-or-n-p and yes-or-no-p.
3063
3064 2011-01-08 Andreas Schwab <schwab@linux-m68k.org>
3065
3066 * progmodes/compile.el (compilation-error-regexp-alist-alist)
3067 [gcc-include]: Tighten file name match, add match for column
3068 number. (Bug#7806)
3069 [gnu]: Remove unused group.
3070
3071 2011-01-08 Glenn Morris <rgm@gnu.org>
3072
3073 * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
3074
3075 * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
3076
3077 2011-01-07 Sam Steingold <sds@gnu.org>
3078
3079 * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
3080 the `explicit-shell-file-name' because that is the
3081 non-interactive shell.
3082
3083 2011-01-07 Chong Yidong <cyd@stupidchicken.com>
3084
3085 * subr.el (y-or-n-p): Accept format string args.
3086
3087 2011-01-07 Glenn Morris <rgm@gnu.org>
3088
3089 * Makefile.in (EMACSOPT): Add --no-site-lisp.
3090
3091 2011-01-06 Ken Manheimer <ken.manheimer@gmail.com>
3092
3093 * allout.el (allout-back-to-current-heading): Ensure return to
3094 the visible containing topic, rather than a collapsed one.
3095 (allout-view-change-hook): Remove hook that was deprecated long ago.
3096 (allout-exposure-change-hook): Remove documentation remarks
3097 concerning removed allout-view-change-hook.
3098 (allout-flag-region): Remove invocation of and documentation
3099 remarks concerning allout-view-change-hook.
3100
3101 2011-01-06 Glenn Morris <rgm@gnu.org>
3102
3103 * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
3104 (vc-bzr-annotate-extract-revision-at-line):
3105 Handle authors with embedded spaces. (Bug#7792)
3106
3107 2011-01-05 Tassilo Horn <tassilo@member.fsf.org>
3108
3109 * doc-view.el (doc-view-image-width): New variable.
3110 (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
3111 backend for PNG images, and do dynamic rescaling instead of
3112 reconverting the whole doc.
3113
3114 2011-01-05 Glenn Morris <rgm@gnu.org>
3115
3116 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
3117
3118 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
3119
3120 * allout.el: Reconcile with changes in line movement behavior for
3121 long text lines that cross more than a single physical window
3122 line, ie when truncate-lines is nil.
3123 (allout-next-visible-heading): Provide for change in line-move
3124 behavior on long lines when truncate-lines is nil. In that case,
3125 line-move can wind up on the same textual line when it moves to
3126 the next window line, and moving to the bullet position after the
3127 move yields zero advancement. Add logic to detect and compensate
3128 for the lack of progress.
3129 (allout-current-topic-collapsed-p): move-end-of-line respect for
3130 field boundaries is different when operating with body lines
3131 shorter than window width versus ones greater than window width,
3132 which can yield false negatives in this function. Avoid
3133 difference by applying move-end-of-line while field-text-motion is
3134 inhibited.
3135
3136 2011-01-04 Glenn Morris <rgm@gnu.org>
3137
3138 * textmodes/rst.el (rst-compile-toolsets):
3139 Add pdf and s5 to option alist.
3140
3141 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
3142
3143 * net/dbus.el (dbus-register-property): Add optional parameter
3144 dont-register-service. Updated docstring accordingly.
3145
3146 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
3147
3148 * textmodes/rst.el (rst-compile-pdf-preview)
3149 (rst-compile-slides-preview): Remove extra line.
3150
3151 2011-01-04 Glenn Morris <rgm@gnu.org>
3152
3153 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
3154 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
3155 default to `prog' without a .py extension.
3156 (rst-compile-pdf-preview, rst-compile-slides-preview):
3157 Use program names from rst-compile-toolsets, rather than hard-coding.
3158 (rst-portable-mark-active-p): Fix presumed typo.
3159
3160 2011-01-02 Eli Zaretskii <eliz@gnu.org>
3161
3162 * term/w32-win.el (dynamic-library-alist): Set up correctly for
3163 libpng versions both before and after 1.4.0. (Bug#7716)
3164
3165 2011-01-02 Eli Zaretskii <eliz@gnu.org>
3166
3167 * time.el (display-time-mode): Mention display-time-interval in
3168 the doc string. (Bug#7713)
3169
3170 2011-01-02 Kenichi Handa <handa@m17n.org>
3171
3172 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
3173 condition-case and return an error message string if something
3174 goes wrong.
3175 (rmail-show-mime): Adjust for the above change. Insert the
3176 header by rmail-mime-insert-header.
3177
3178 2011-01-02 Kenichi Handa <handa@m17n.org>
3179
3180 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
3181 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
3182 (rmail-mime-mbox-buffer)
3183 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
3184 (rmail-mime-entity): Argument changed. All codes handling an
3185 entity object are changed.
3186 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
3187 the above change.
3188 (rmail-mime-entity-children, rmail-mime-entity-handler)
3189 (rmail-mime-entity-tagline): New functions.
3190 (rmail-mime-message-p): New function.
3191 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
3192 (rmail-mime-entity-segment, rmail-mime-next-item)
3193 (rmail-mime-previous-item, rmail-mime-shown-mode)
3194 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
3195 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
3196 (rmail-mime-insert-tagline, rmail-mime-insert-header):
3197 New functions.
3198 (rmail-mime-text-handler): Call rmail-mime-insert-text.
3199 (rmail-mime-insert-decoded-text): New function.
3200 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
3201 (rmail-mime-insert-image): Argument changed. Caller changed.
3202 (rmail-mime-image): Call rmail-mime-toggle-hidden.
3203 (rmail-mime-set-bulk-data): New function.
3204 (rmail-mime-insert-bulk): Argument changed.
3205 (rmail-mime-multipart-handler): Return t.
3206 (rmail-mime-process-multipart): Argument changed.
3207 Handle "multipart/alternative" here.
3208 (rmail-mime-process): Argument changed.
3209 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
3210 (rmail-mime-insert): Argument changed. Handle raw display mode.
3211 (rmail-mime): Argument changed. Handle toggling of raw display
3212 mode.
3213 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
3214 rmail-mime-view-buffer.
3215 (rmail-insert-mime-forwarded-message): Likewise.
3216 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
3217
3218 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
3219 non-nil, handle the header in rmail-show-mime-function.
3220
3221 2011-01-02 Leo <sdl.web@gmail.com>
3222
3223 * help-fns.el (describe-variable): Fix previous change.
3224
3225 2011-01-02 Juri Linkov <juri@jurta.org>
3226
3227 * isearch.el (isearch-lazy-highlight-error): New variable.
3228 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
3229 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
3230 to the current value of `isearch-error' (Bug#7468).
3231
3232 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
3233
3234 * help-fns.el (describe-variable): Don't emit trailing whitespace
3235 (Bug#7511).
3236
3237 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
3238
3239 * textmodes/rst.el (rst-compile-pdf-preview)
3240 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
3241
3242 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
3243
3244 * emulation/edt-mapper.el: Override mapping of function keys so
3245 that the later call to read-key-sequence works.
3246
3247 2011-01-02 Eli Zaretskii <eliz@gnu.org>
3248
3249 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
3250 Unix EOLs. (Bug#7589)
3251
3252 2011-01-02 Leo <sdl.web@gmail.com>
3253
3254 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
3255 if point is not behind eshell-last-output-end (Bug#7585).
3256
3257 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
3258
3259 * files.el (file-local-variables-alist):
3260 Make permanent-local (bug#7767).
3261
3262 2011-01-02 Glenn Morris <rgm@gnu.org>
3263
3264 * version.el (emacs-copyright): Set short copyright year to 2011.
3265
3266 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3267
3268 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
3269 an existing temp buffer. (Bug#7746)
3270
3271 2011-01-02 Glenn Morris <rgm@gnu.org>
3272
3273 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
3274 multiple addresses. (Bug#7760)
3275
3276 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
3277
3278 * allout.el (allout-auto-fill): Do not infinitely recurse - use
3279 do-auto-fill if everything points back to allout-auto-fill.
3280 (allout-mode-deactivate-hook): Declare obsolete, in favor of
3281 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
3282
3283 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
3284
3285 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
3286 and "scpx".
3287
3288 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3289
3290 * doc-view.el (doc-view-set-doc-type): New function refactored
3291 from doc-view-mode.
3292 (doc-view-fallback-mode): New function.
3293 (doc-view-mode): Use it.
3294 (doc-view-mode-maybe): New function that checks if doc-view-mode
3295 can be used and falls back to the next best mode otherwise.
3296
3297 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
3298 DVI, OpenDocument, and MS Office files.
3299
3300 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
3301
3302 * emacs-lisp/rx.el (rx-syntax): Fix typo.
3303
3304 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3305
3306 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
3307 on a copy of auto-mode-alist, because that deletes with side
3308 effects.
3309
3310 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3311
3312 * doc-view.el (doc-view-mode, doc-view-toggle-display):
3313 Use normal-mode without doc-view-mode bindings in auto-mode-alist as
3314 fallback instead of hard coding fundamental mode.
3315
3316 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3317
3318 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
3319 Office) files also for searching.
3320
3321 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3322
3323 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
3324 Office) files. Not yet enabled via auto-mode-list.
3325 (doc-view-unoconv-program): New custom variable.
3326 (doc-view-mode-p): Handle new odf document type.
3327 (doc-view-odf->pdf): New conversion function.
3328 (doc-view-convert-current-doc): Call it for odf files.
3329 (doc-view-mode): Recognize newly supported file extensions.
3330
3331 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
3332
3333 * net/tramp.el (tramp-default-method-alist)
3334 (tramp-default-user-alist)
3335 (tramp-local-host-regexp, tramp-prefix-domain-format)
3336 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
3337
3338 * net/tramp-ftp.el:
3339 * net/tramp-gvfs.el:
3340 * net/tramp-gw.el:
3341 * net/tramp-imap.el:
3342 * net/tramp-sh.el:
3343 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
3344 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
3345
3346 2010-12-29 Karl Fogel <kfogel@red-bean.com>
3347
3348 * saveplace.el (save-place-alist-to-file): Save list sorted and
3349 pretty-printed, so that it is mergeable by line-based text merging,
3350 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
3351
3352 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
3353
3354 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
3355 (allout-mode): Argument "toggle" => "force".
3356 Refine the docstring.
3357 Remove special provisions for reactivation, besides the 'force'
3358 argument.
3359 Consolidate layout provisions coce directly into the activation
3360 condition branch, now that we've removed those provisions.
3361 (allout-unload-function): Explicitly activate the mode before
3362 deactivating, if it's initially deactivated.
3363 (allout-set-buffer-multibyte): Properly prevent byte-compiler
3364 warnings for version of function used only where
3365 set-buffer-multibyte is unavailable.
3366
3367 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
3368
3369 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
3370 are handled by the menu-bar entries. As before, don't use
3371 :visibile to avoid changing the tool-bar.
3372
3373 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
3374
3375 * net/secrets.el (secrets-delete-alias): New defun.
3376
3377 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
3378
3379 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
3380 methods, otherwise ~/.ssh/config would be ignored.
3381
3382 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
3383
3384 * emacs-lisp/rx.el: Make it a superset of sregex.
3385 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
3386 of args, add `regex' alias.
3387 (rx-info): Add arg to distinguish head and standalone forms.
3388 (rx-check, rx-form): Pass the corresponding arg.
3389 (rx-**): Simplify.
3390 (rx-repeat): Make it work for any number of args.
3391 (rx-syntax): Make it accept syntax chars as is.
3392 * obsolete/sregex.el: Move from emacs-lisp/.
3393 * emacs-lisp/re-builder.el: Remove sregex support.
3394 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
3395
3396 2010-12-25 Eli Zaretskii <eliz@gnu.org>
3397
3398 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
3399 PRIMARY first, then the clipboard. (Bug#7699)
3400
3401 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
3402
3403 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
3404 print-number-table.
3405
3406 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
3407
3408 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
3409 .emacs.elc (Bug#7530).
3410
3411 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
3412 image spec (Bug#7480).
3413
3414 2010-12-21 Daiki Ueno <ueno@unixuser.org>
3415
3416 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
3417 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
3418 Move from lisp/.
3419
3420 2010-12-20 Leo <sdl.web@gmail.com>
3421
3422 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
3423 always be performed (Bug#7680).
3424
3425 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
3426
3427 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
3428 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
3429 mouse-region-match.
3430
3431 * color.el: Move from gnus/.
3432
3433 * vc/diff.el (diff-better-file-name): Function deleted.
3434 abbreviating file names causes problems with shell-quote-argument.
3435 (diff-no-select): Just use expand-file-name.
3436
3437 * tool-bar.el (tool-bar--image-expression): New function.
3438 (tool-bar-local-item, tool-bar--image-exp): Use it.
3439 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
3440 Use :enable instead of :visible to avoid changing the tool-bar
3441 configuration unnecessarily.
3442
3443 * info.el (info-tool-bar-map): Add separators.
3444
3445 2010-12-17 Ken Brown <kbrown@cornell.edu>
3446
3447 * loadup.el: Use version numbers in Cygwin build.
3448
3449 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
3450
3451 * ido.el (ido-file-internal): Ask for confirmation before
3452 overwriting an existing file (Bug#1238).
3453
3454 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
3455
3456 * tool-bar.el (tool-bar-setup): Add separators.
3457
3458 * menu-bar.el (featurep): Use menu-bar-separator.
3459
3460 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
3461
3462 Migrate allout encryption provisions from pgg to epg.
3463
3464 * allout.el (allout-toggle-current-subtree-encryption)
3465 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
3466 defaulting policy and other changes. Change fetch-pass to keymode-cue,
3467 for simpler universal argument interpretation.
3468 (allout-toggle-subtree-encryption): Adjust docstring to describe
3469 changed encryption provisions. Change fetch-pass to keymode-cue, for
3470 simpler universal argument interpretation. Remove provisions for
3471 handling key type and identity - they'll all be within
3472 allout-encrypt-string or epg/epg or even contained all the way in gpg.
3473 (allout-encrypt-string): Include keymode-cue, for optionally prompting
3474 for keypair recipients (universal argument > 1) and, in addition,
3475 associating the specified recipients with the outline (universal
3476 argument > 4) using a file local variable setting for
3477 'epa-file-encrypt-to'.
3478 Require epa, for recipients handling.
3479 Change how regexp filtering elements are named.
3480 Describe the problem with caching of incorrect symmetric-decryption
3481 keys.
3482 Use the epa-passphrase-callback-function, in case the user is using
3483 GnuPG v1.
3484 Support saving of the selected keypair recipients when invoked with a
3485 keymode-cue > 4.
3486 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
3487 Require 'epa.
3488 Establish epg-context with armoring and default epg-protocol.
3489 Remove all passphrase cache, verification, and hinting code.
3490 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
3491 No longer used, delete.
3492 (allout-mode): Adjust docstring to describe changed encryption
3493 provisions. Describe the problem with caching of incorrect
3494 symmetric-decryption keys.
3495 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
3496 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
3497 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
3498 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
3499 Obsolete, remove.
3500
3501 2010-12-16 Daiki Ueno <ueno@unixuser.org>
3502
3503 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
3504 key selection prompt; make 'silent as default (Bug#7487).
3505
3506 2010-12-16 Leo <sdl.web@gmail.com>
3507
3508 * eshell/eshell.el (eshell-directory-name):
3509 Use locate-user-emacs-file (Bug#7578).
3510
3511 2010-12-15 Glenn Morris <rgm@gnu.org>
3512
3513 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
3514
3515 2010-12-15 Jari Aalto <jari.aalto@cante.net>
3516 Scott Evans <gse@antisleep.com>
3517
3518 * rect.el (rectange--default-line-number-format)
3519 (rectangle-number-line-callback): New functions.
3520 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
3521
3522 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
3523
3524 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
3525 Delete unused variables.
3526 (move-to-column-force): Remove function obsolete since 21.2.
3527
3528 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
3529
3530 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
3531 (tramp-handle-insert-file-contents): Do not set permanent-local
3532 property.
3533
3534 * net/tramp-cache.el (tramp-persistency-file-name):
3535 Use `locate-user-emacs-file' if fboundp.
3536
3537 * net/tramp-sh.el (tramp-methods): Add "ksu".
3538 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
3539 method list.
3540
3541 2010-12-14 Glenn Morris <rgm@gnu.org>
3542
3543 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
3544 (find-tag-marker-ring): Declare.
3545 (js-find-symbol): Require etags.
3546
3547 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
3548 Require mail-utils.
3549 (mail-alias-file): Don't autoload. Doc fix.
3550 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
3551 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
3552 Mark as obsolete, and risky.
3553 (mail-setup): Simplify.
3554
3555 * mail/mailalias.el (build-mail-aliases): Make it interactive.
3556 * mail/sendmail.el (build-mail-aliases): Update autoload.
3557
3558 * dired.el (dired-trivial-filenames, dired-chown-program)
3559 (dired-auto-revert-buffer): Remove autoload cookies.
3560 * mail/sendmail.el (mail-recover-1): Require 'dired.
3561
3562 * dired.el (dired-subdir-switches, dired-chown-program)
3563 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
3564 Make into defcustoms.
3565 (dired-chown-program): Simplify initialization.
3566
3567 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
3568
3569 2010-12-13 Romain Francoise <romain@orebokech.com>
3570
3571 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
3572
3573 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3574
3575 * net/netrc.el (netrc-point-at-eol): Remove the unused
3576 netrc-point-at-old and netrc-bound-and-true-p bindings.
3577 (netrc-parse): Cache the netrc contents.
3578
3579 2010-12-13 Eli Zaretskii <eliz@gnu.org>
3580
3581 * subr.el (posn-col-row): Evaluate header-line-format in the
3582 context of the POSITION window's buffer.
3583
3584 2010-12-13 Glenn Morris <rgm@gnu.org>
3585
3586 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
3587 (with-silent-modifications): Doc fixes.
3588
3589 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
3590
3591 * net/tramp.el (tramp-action-password, tramp-process-actions):
3592 Revert previous from. Use `save-restriction'.
3593
3594 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
3595
3596 * calendar/diary-lib.el (diary-list-sexp-entries):
3597 Handle case of no newline at end of file. (Bug#7536)
3598
3599 2010-12-13 Glenn Morris <rgm@gnu.org>
3600
3601 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
3602
3603 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
3604
3605 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
3606 (tramp-process-actions): Do not widen.
3607
3608 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3609 Protect buffer-modified value. (Bug#7557)
3610
3611 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
3612
3613 * log-edit.el (log-edit-changelog-entries):
3614 Regexp quote filename. (Bug#7505)
3615
3616 2010-12-13 Tom Breton <tehom@panix.com>
3617
3618 * cus-edit.el (custom-save-all):
3619 Bind print-length and print-level to nil. (Bug#7581)
3620
3621 2010-12-13 Glenn Morris <rgm@gnu.org>
3622
3623 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
3624 Run hooks to update menu contents. (Bug#7586)
3625
3626 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
3627 file names, for the sake of MS Windows. (Bug#7588)
3628
3629 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3630
3631 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
3632 empty lines without a leading space.
3633
3634 2010-12-13 Leo <sdl.web@gmail.com>
3635
3636 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
3637 while mapping over marks (Bug#6810).
3638
3639 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
3640
3641 * image-dired.el (image-dired-db-file)
3642 (image-dired-temp-image-file, image-dired-gallery-dir)
3643 (image-dired-temp-rotate-image-file): Set default values relative
3644 to image-dired-dir (Bug#7518).
3645
3646 2010-12-13 Lawrence Mitchell <wence@gmx.li>
3647
3648 * format.el (format-decode-run-method): Pass args FROM and TO, not
3649 point-min and point-max, to shell-command-on-region (Bug#7488).
3650
3651 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
3652
3653 * frame.el (blink-cursor-mode): Make default t for ns.
3654
3655 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
3656
3657 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
3658
3659 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
3660
3661 * comint.el (comint-dynamic-list-input-ring)
3662 (comint-dynamic-complete-filename)
3663 (comint-replace-by-expanded-filename)
3664 (comint-dynamic-simple-complete)
3665 (comint-dynamic-list-filename-completions)
3666 (comint-dynamic-list-completions): Doc fix (Bug#7499).
3667
3668 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
3669 Doc fix (Bug#7471).
3670
3671 2010-12-13 Martin Rudalics <rudalics@gmx.at>
3672
3673 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
3674 (Bug#7533).
3675
3676 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
3677
3678 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
3679 (Bug#7491).
3680
3681 2010-12-13 Eli Zaretskii <eliz@gnu.org>
3682
3683 * files.el (file-relative-name): Handle UNC file names on
3684 DOS/Windows. (Bug#4674)
3685
3686 2010-12-13 Daiki Ueno <ueno@unixuser.org>
3687
3688 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
3689 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
3690 (epg-context-set-passphrase-callback): Mention that the callback
3691 is not called when used with GnuPG 2.x.
3692
3693 2010-12-13 Glenn Morris <rgm@gnu.org>
3694
3695 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
3696 Ensure ps-footer-font-size-internal is initialized.
3697 Call ps-get-page-dimensions before trying to use ps-font-for-text.
3698
3699 2010-12-13 Kenichi Handa <handa@m17n.org>
3700
3701 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
3702 within condition-case.
3703 (rmail-show-mime): Don't use condition-case.
3704 (rmail-search-mime-message): New function.
3705 (rmail-search-mime-message-function): Set to
3706 rmail-search-mime-message.
3707
3708 2010-12-13 Leo <sdl.web@gmail.com>
3709
3710 * ido.el (ido-common-initialization): New function. (bug#3274)
3711 (ido-mode): Use it.
3712 (ido-completing-read): Call it.
3713
3714 2010-12-12 Karl Fogel <kfogel@red-bean.com>
3715
3716 * bookmark.el (bookmark-name-from-full-record): Rename back to
3717 this original name from `bookmark-name-from-record' reverting part
3718 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
3719 As Drew Adams pointed out, there was no reason to cause churn for
3720 third-party callers. (Bug#7609)
3721
3722 2010-12-12 Alan Mackenzie <acm@muc.de>
3723
3724 * progmodes/cc-engine.el (c-forward-type): Before scanning a
3725 template arglist, check that the current language supports this.
3726
3727 2010-12-11 Glenn Morris <rgm@gnu.org>
3728
3729 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
3730 state of the file matches. (Bug#7544)
3731 (vc-bzr-register, vc-bzr-checkin)
3732 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
3733 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
3734
3735 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
3736
3737 2010-12-11 Karel Klíč <kklic@redhat.com>
3738
3739 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
3740
3741 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3742
3743 Derive from prog-mode, use derived-mode-p, and fix up various
3744 minor style issues in lisp/progmodes.
3745
3746 * progmodes/vhdl-mode.el (vhdl-mode):
3747 * progmodes/verilog-mode.el (verilog-mode):
3748 * progmodes/vera-mode.el (vera-mode):
3749 * progmodes/sql.el (sql-mode):
3750 * progmodes/scheme.el (scheme-mode):
3751 * progmodes/perl-mode.el (perl-mode):
3752 * progmodes/octave-inf.el (inferior-octave-mode):
3753 * progmodes/autoconf.el (autoconf-mode):
3754 * progmodes/m4-mode.el (m4-mode):
3755 * progmodes/inf-lisp.el (inferior-lisp-mode):
3756 * progmodes/idlwave.el (idlwave-mode):
3757 * progmodes/icon.el (icon-mode):
3758 * progmodes/idlw-help.el (idlwave-help-mode):
3759 * progmodes/dcl-mode.el (dcl-mode):
3760 * progmodes/idlw-shell.el (idlwave-shell-mode):
3761 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
3762 (ebrowse-member-mode, ebrowse-electric-position-mode):
3763 Use define-derived-mode.
3764
3765 * progmodes/xscheme.el (exit-scheme-interaction-mode)
3766 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
3767 (xscheme-debugger-mode-p, xscheme-send-string-1):
3768 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
3769 (tcl-load-file, tcl-restart-with-file):
3770 * progmodes/ps-mode.el (ps-run-running):
3771 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
3772 * progmodes/js.el (js--get-all-known-symbols):
3773 * progmodes/inf-lisp.el (inferior-lisp-proc):
3774 * progmodes/idlwave.el (idlwave-beginning-of-statement)
3775 (idlwave-template, idlwave-update-buffer-routine-info)
3776 (idlwave-update-current-buffer-info)
3777 (idlwave-get-routine-info-from-buffers, idlwave-choose)
3778 (idlwave-scan-class-info, idlwave-fix-keywords)
3779 (idlwave-list-buffer-load-path-shadows):
3780 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
3781 (idlwave-toolbar-remove):
3782 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
3783 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
3784 (idlwave-shell-menu-def):
3785 * progmodes/idlw-complete-structtag.el
3786 (idlwave-prepare-structure-tag-completion):
3787 * progmodes/gud.el (gud-set-buffer):
3788 * progmodes/f90.el (f90-backslash-not-special):
3789 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
3790
3791 * progmodes/xscheme.el (xscheme-start)
3792 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
3793 * progmodes/which-func.el (which-function):
3794 * progmodes/vhdl-mode.el (vhdl-set-style):
3795 * progmodes/verilog-mode.el (verilog-set-compile-command)
3796 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
3797 (verilog-set-define, verilog-auto-reeval-locals):
3798 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
3799 * progmodes/simula.el (simula-mode):
3800 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
3801 * progmodes/python.el (python-check, python-mode):
3802 * progmodes/prolog.el (prolog-mode-variables):
3803 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
3804 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
3805 * progmodes/delphi.el (delphi-mode):
3806 * progmodes/cc-styles.el (c-setup-paragraph-variables):
3807 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
3808 (c-font-lock-init): Move make-local-variable to their setq.
3809
3810 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
3811 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
3812 make-local-hook.
3813 * progmodes/sh-script.el (sh-require-final-newline): Remove.
3814 (sh-set-shell): Don't set require-final-newline since it's already done
3815 by prog-mode.
3816 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
3817 since we never set it.
3818 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
3819 Use read-string and standard prompt.
3820 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
3821 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
3822 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
3823 (meta-common-mode-map): Rename from meta-mode-map.
3824 Remove C-m binding, which is a user preference, not mode specific.
3825 (meta-common-mode): New major mode; replace meta-common-initialization.
3826 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
3827 around with font-lock.
3828 * progmodes/etags.el (select-tags-table-mode):
3829 Derive from special-mode.
3830 * progmodes/octave-mod.el (octave-mode):
3831 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
3832 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
3833 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
3834 Let define-derived-mode do its job.
3835 * progmodes/cpp.el (cpp-edit-mode-map):
3836 Move initialization into declaration.
3837 (cpp-edit-mode): Use define-derived-mode.
3838 (cpp-edit-load): Use derived-mode-p.
3839 * progmodes/mixal-mode.el (mixal-mode):
3840 * progmodes/f90.el (f90-mode):
3841 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
3842 require-final-newline since prog-mode does it already.
3843 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
3844 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
3845 * progmodes/antlr-mode.el: Require cc-mode upfront.
3846 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
3847 the declaration.
3848 (antlr-directory-dependencies, antlr-show-makefile-rules):
3849 Use derived-mode-p.
3850 (antlr-language-option): Don't assume point-min==1.
3851 (antlr-mode): Use define-derived-mode.
3852 * progmodes/ada-mode.el: Use derived-mode-p.
3853 (ada-mode): Use define-derived-mode.
3854 Use hack-local-variables-hook.
3855
3856 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3857
3858 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
3859 (texinfo-mode): Don't disable adaptive-fill-mode.
3860 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
3861 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
3862 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
3863 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
3864 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
3865 (texinfo-insert-@quotation, texinfo-insert-@samp)
3866 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
3867 (texinfo-insert-@uref): Use define-skeleton.
3868 (texinfo-insert-@-with-arg): Delete.
3869
3870 2010-12-10 Eli Zaretskii <eliz@gnu.org>
3871
3872 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
3873 nil, do quote archive member names. (Bug#6144)
3874
3875 2010-12-10 Glenn Morris <rgm@gnu.org>
3876
3877 * files.el (diff-no-select): Declare.
3878
3879 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
3880 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
3881
3882 * comint.el (comint-input-ring-file-name): Doc fix.
3883
3884 2010-12-09 Eli Zaretskii <eliz@gnu.org>
3885
3886 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
3887 New functions.
3888 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
3889 Use them instead of `nil' and `>', respectively.
3890 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
3891 instead of `nil'.
3892 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
3893 and menu-bar-positive-p instead of `nil' and `>', respectively.
3894 (Bug#1077)
3895
3896 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3897
3898 * whitespace.el (whitespace-newline-mode): Code fix.
3899
3900 2010-12-09 Glenn Morris <rgm@gnu.org>
3901
3902 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
3903 Rename functions without commas, update callers.
3904
3905 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
3906
3907 * whitespace.el (whitespace-cleanup-region):
3908 Clean up spaces before tabs. (Bug#7582)
3909
3910 2010-12-08 Karl Fogel <kfogel@red-bean.com>
3911
3912 * bookmark.el: Adjust parameter names and doc strings to resolve
3913 confusion over whether "bookmark" meant a bookmark name or a
3914 bookmark record. Along the way, shorten one function's name for
3915 similar reasons. (Issue #7548)
3916 (bookmark-name-from-record): New name for
3917 `bookmark-name-from-full-record'. All callers changed.
3918 (bookmark-get-bookmark, bookmark-get-bookmark-record)
3919 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
3920 (bookmark-get-annotation, bookmark-set-annotation)
3921 (bookmark-get-filename, bookmark-set-filename)
3922 (bookmark-get-position, bookmark-set-position)
3923 (bookmark-get-front-context-string, bookmark-set-front-context-string)
3924 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
3925 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
3926 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
3927 Rename `bookmark' parameter to `bookmark-name-or-record', to
3928 clearly show its role, and shorten or adjust doc strings accordingly.
3929 (bookmark-set-name): Same, and pass the parameter directly to
3930 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
3931 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
3932 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
3933 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
3934 and in some cases shorten doc string accordingly.
3935 (bookmark-rename): Change `old' and `new' parameters to `old-name'
3936 and `new-name', and adjust an internal variable to avoid confusion.
3937 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
3938 parameter in doc string.
3939
3940 2010-12-08 Glenn Morris <rgm@gnu.org>
3941
3942 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
3943 from gdb's history file. (Bug#7575)
3944
3945 * mail/emacsbug.el (report-emacs-bug):
3946 Try to handle some other mail clients.
3947
3948 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3949
3950 * files.el (dir-locals-collect-variables): Don't let errors stop us.
3951 Use string-prefix-p.
3952 (file-name-version-regexp): New var.
3953 (file-name-sans-versions):
3954 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
3955 (jka-compr-get-compression-info): Use dolist.
3956 (jka-compr-compression-info-list): Don't bother specifying
3957 version/backup regexps.
3958
3959 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
3960
3961 * simple.el (just-one-space): Make argument n default to 1 if
3962 omitted.
3963
3964 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3965
3966 * electric.el (electric-indent-post-self-insert-function):
3967 Delete trailing newlines even if we don't reindent.
3968
3969 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3970
3971 * minibuffer.el (completion-at-point): Remove the `arg'.
3972 * bindings.el (complete-symbol): Move back from minibuffer.el.
3973
3974 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3975
3976 * simple.el (just-one-space): Delete newlines for negative arg.
3977
3978 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3979
3980 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
3981 (ansi-color-filter-apply): Simplify.
3982 (ansi-color-apply): Use `font-lock-face' rather than `face'.
3983
3984 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
3985
3986 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
3987
3988 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
3989
3990 * dired.el (dired-use-ls-dired): Set default to a special
3991 "unspecified" value.
3992 (dired-insert-directory): When called the first time, check
3993 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
3994
3995 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
3996
3997 * replace.el: Add "collect" feature to occur.
3998 (occur-collect-regexp-history): New var.
3999 (occur-read-primary-args): Return a replace string for nlines,
4000 if needed.
4001 (occur): Extend the meaning of nlines.
4002
4003 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
4004
4005 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
4006 (which-func-update-1): Distinguish symbols from strings.
4007 (which-function): Stay within 80 columns.
4008
4009 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
4010
4011 * subr.el (with-demoted-errors): Distinguish symbols from strings.
4012
4013 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
4014 Improve docstring.
4015 (comment-style): Use comment-styles's docs to describe values.
4016
4017 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
4018
4019 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
4020 and ns-show-prefs (Bug#7535).
4021
4022 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
4023 bindings (Bug#7535).
4024
4025 2010-12-03 Glenn Morris <rgm@gnu.org>
4026
4027 * nxml/nxml-mode.el: Require rng-nxml.
4028 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
4029 Remove declarations.
4030
4031 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
4032 * nxml/rng-nxml.el, nxml/rng-valid.el:
4033 Remove leading `*' from defcustom docs.
4034
4035 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
4036 (normal-top-level-add-to-load-path, tty-handle-args):
4037 Convert comments to basic doc-strings.
4038
4039 * net/browse-url.el (browse-url-url-at-point)
4040 (browse-url-default-browser): Remove autoload cookies.
4041
4042 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
4043 Remove more undefined cl functions.
4044
4045 * vc/diff.el (diff-sentinel): Make new arguments optional.
4046 * ibuf-ext.el (diff-sentinel): Update declaration.
4047
4048 2010-12-03 Daiki Ueno <ueno@unixuser.org>
4049
4050 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
4051 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
4052 (epg-context-set-passphrase-callback): Mention that the callback
4053 is not called when used with GnuPG 2.x.
4054
4055 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
4056
4057 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
4058 (tramp-file-name-port): Check also for `tramp-default-port'.
4059 (tramp-get-connection-name): New defun.
4060 (tramp-get-connection-process): Use it.
4061 (tramp-debug-message): Extend function exclude list.
4062 (tramp-drop-volume-letter): Fix doc string.
4063
4064 * net/tramp-cmds.el: Remove solved todo item.
4065
4066 * net/tramp-ftp.el:
4067 * net/tramp-gvfs.el:
4068 * net/tramp-gw.el:
4069 * net/tramp-imap.el:
4070 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
4071 and `tramp-default-user-alist', respectively.
4072
4073 * net/tramp-gw.el (tramp-gw-open-connection):
4074 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
4075
4076 * net/tramp-imap.el (tramp-imap-make-iht): Use just
4077 `tramp-file-name-port'.
4078
4079 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
4080 and "psftp". Exchange "%k" marker with options.
4081 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
4082 Compute size of link target.
4083 (tramp-do-copy-or-rename-file-out-of-band): Move setting of
4084 `tramp-current-*' up due to gateway methods. Optimize computing of
4085 copy arguments. Use `tramp-get-connection-name' and
4086 `tramp-get-connection-buffer'. Improve debug messages.
4087 (tramp-compute-multi-hops): Remove port determination.
4088 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
4089
4090 * net/trampver.el: Update release number.
4091
4092 2010-12-02 Glenn Morris <rgm@gnu.org>
4093
4094 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
4095 Avoid infinite loop over windows. (Bug#7492)
4096
4097 * progmodes/flymake.el (flymake-check-file-limit):
4098 Allow nil to mean "no limit".
4099 (flymake-check-patch-master-file-buffer): Update for above change.
4100 Allow a .tex file-name extension to be optional.
4101 (flymake-master-tex-init): Also match \include statements.
4102
4103 2010-11-30 Sam Steingold <sds@gnu.org>
4104
4105 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
4106 (nxml-parent-document-set): A function to set `nxml-parent-document'.
4107 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
4108 (nxml-mode-hook): Remove `defcustom' (auto-defined by
4109 define-derived-mode').
4110 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
4111 users who want to call `nxml-parent-document-set'.
4112
4113 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4114
4115 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
4116 stand-alone lines, since that is handled by log-edit-match-to-eoh
4117 (Bug#6465).
4118
4119 2010-11-27 Eduard Wiebe <usenet@pusto.de>
4120
4121 * dired.el (dired-get-filename): Replace backslashes with slashes
4122 in file names on MS-Windows, needed by `locate'. (Bug#7308)
4123 * locate.el (locate-default-make-command-line): Don't consider
4124 drive letter and root directory part of
4125 `directory-listing-before-filename-regexp'. (Bug#7308)
4126 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
4127
4128 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4129
4130 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
4131 of :smie-open/close-alist.
4132 (smie-next-sexp): Make it accept a "start token" as argument.
4133 (smie-indent-keyword): Be careful not to misidentify tokens that span
4134 more than one line, as empty lines. Add argument `token'.
4135
4136 2010-11-27 Kenichi Handa <handa@m17n.org>
4137
4138 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
4139 multipart subtypes, insert all as usual.
4140
4141 * mail/rmail.el: Require rfc2047.
4142
4143 2010-11-27 Kenichi Handa <handa@m17n.org>
4144
4145 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
4146 (rmail-mime-entity-disposition)
4147 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
4148 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
4149 (rmail-mime-save): Handle the case that the button's `data' is a
4150 MIME entity.
4151 (rmail-mime-insert-text): New function.
4152 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
4153 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
4154 (rmail-mime-insert-bulk): New function mostly copied from the old
4155 rmail-mime-bulk-handler.
4156 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
4157 (rmail-mime-process-multipart): New function mostly copied from
4158 the old rmail-mime-multipart-handler.
4159 (rmail-mime-show): Just call rmail-mime-process.
4160 (rmail-mime-process): New function mostly copied from the old
4161 rmail-mime-show.
4162 (rmail-mime-insert-multipart, rmail-mime-parse)
4163 (rmail-mime-insert, rmail-show-mime)
4164 (rmail-insert-mime-forwarded-message)
4165 (rmail-insert-mime-resent-message): New functions.
4166 (rmail-insert-mime-forwarded-message-function): Set to
4167 rmail-insert-mime-forwarded-message.
4168 (rmail-insert-mime-resent-message-function): Set to
4169 rmail-insert-mime-resent-message.
4170
4171 * mail/rmailsum.el: Require rfc2047.
4172 (rmail-header-summary): Handle multiline Subject: field.
4173 (rmail-summary-line-decoder): Change the default to
4174 rfc2047-decode-string.
4175
4176 * mail/rmail.el (rmail-enable-mime): Change the default to t.
4177 (rmail-mime-feature): Change the default to `rmailmm'.
4178 (rmail-quit): Delete the specifal code for rmail-enable-mime.
4179 (rmail-display-labels): Likewise.
4180 (rmail-show-message-1): Check rmail-enable-mime, and use
4181 rmail-show-mime-function for a MIME message. Decode the headers
4182 according to RFC2047.
4183
4184 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4185
4186 * progmodes/which-func.el (which-func-imenu-joiner-function):
4187 Return a string, as expected.
4188 (which-function-mode): Make sure we stop any previous timer before
4189 starting a new one.
4190
4191 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
4192
4193 * net/tramp.el (tramp-default-method-alist)
4194 (tramp-default-user-alist, tramp-default-proxies-alist):
4195 Adapt custom options type. (Bug#7445)
4196
4197 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4198
4199 * progmodes/python.el: Add Ipython support (Bug#5390).
4200 (python-shell-prompt-alist)
4201 (python-shell-continuation-prompt-alist): New options.
4202 (python--set-prompt-regexp): New function.
4203 (inferior-python-mode, run-python, python-shell):
4204 Require ansi-color. Use python--set-prompt-regexp to set the comint
4205 prompt based on the Python interpreter.
4206 (python--prompt-regexp): New var.
4207 (python-check-comint-prompt)
4208 (python-comint-output-filter-function): Use it.
4209 (run-python): Use a pipe (Bug#5694).
4210
4211 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4212
4213 * progmodes/python.el (run-python): Doc fix.
4214 (python-keep-current-directory-in-path): New var (Bug#7454).
4215
4216 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4217
4218 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
4219 Prompt user before actually printing.
4220
4221 2010-11-27 Glenn Morris <rgm@gnu.org>
4222
4223 * startup.el (package-enable-at-startup, package-initialize):
4224 Remove unnecessary declarations.
4225
4226 2010-11-27 Eli Zaretskii <eliz@gnu.org>
4227
4228 * international/characters.el (glyphless-char-display-control):
4229 Exclude newline and TAB from the c0-control group.
4230
4231 2010-11-27 Glenn Morris <rgm@gnu.org>
4232
4233 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
4234 (expand-mail-aliases): Remove unnecessary autoload.
4235
4236 * allout.el (allout-command-prefix, allout-mode-map): Declare.
4237
4238 * shell.el (shell-dir-cookie-re): Move definition before use.
4239
4240 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
4241 Replace undefined CL functions.
4242
4243 2010-11-26 Eli Zaretskii <eliz@gnu.org>
4244
4245 * simple.el (prog-mode): Set bidi-paragraph-direction to
4246 left-to-right.
4247
4248 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
4249
4250 2010-11-26 Glenn Morris <rgm@gnu.org>
4251
4252 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
4253 diary-outlook-formats can be sensitive to calendar-date-style.
4254 (diary-outlook-formats): Simplify the default setting.
4255 (diary-from-outlook-internal): Pass subject and body as arguments.
4256 Use dolist rather than dotimes. Don't save the diary buffer.
4257 (diary-from-outlook-gnus, diary-from-outlook-rmail):
4258 Pass subject and body as explicit arguments to the -internal function.
4259
4260 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4261
4262 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
4263 parsing them. This makes mailto:...?subject=foo\nbar work.
4264
4265 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4266
4267 * vc/diff.el (diff): Fix last change.
4268
4269 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
4270
4271 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
4272 (pcase--dontcare-upats): New var.
4273 (pcase-let, pcase-let*): Generate better code.
4274 Accept the same bodies as `let'.
4275 (pcase-dolist): New macro.
4276 (pcase--trivial-upat-p): New helper function.
4277 (pcase--expand): Strip leading "(let nil" if any.
4278
4279 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4280
4281 * mail/mailclient.el (browse-url): Require.
4282 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
4283 use the external browser function to send the mail (bug#7469).
4284
4285 * net/browse-url.el (browse-url-browser-function): Revert the
4286 default back to the previous value, since the new value broke
4287 mailclient.el.
4288 (browse-url-mailto-function): New variable for mailto: URLs.
4289 (browse-url): Use the new variable for mailto: URLs.
4290
4291 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
4292
4293 * eshell/esh-cmd.el (eshell-parse-command):
4294 * eshell/esh-arg.el (eshell-parse-arguments):
4295 * eshell/em-script.el (eshell-source-file):
4296 Use with-silent-modifications.
4297
4298 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
4299
4300 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
4301 for a merge location.
4302
4303 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
4304 (vc-bzr-merge-branch): Always prompt.
4305 (vc-bzr-async-command): Use the full branch filename.
4306
4307 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
4308
4309 * shell.el (shell): Use current-buffer by default if it's already
4310 a shell mode buffer and its process is dead.
4311 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
4312
4313 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
4314
4315 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
4316 Mention that the keywords should be comma separated.
4317
4318 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
4319
4320 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
4321 Accept optional prefix arg meaning to prompt for a command.
4322 (vc-update): Use vc-BACKEND-pull if available. Accept optional
4323 prefix arg meaning to prompt for a command.
4324 (vc-pull): Alias for vc-update.
4325
4326 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
4327 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
4328 (vc-bzr-merge-branch): New functions, implementing merge-branch
4329 and pull operations.
4330
4331 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
4332
4333 * Makefile.in: Fix up last merge.
4334
4335 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
4336 (diff-sentinel): Get them as arguments instead.
4337 (diff-old-file, diff-new-file, diff-extra-args): Remove.
4338 (diff-file-local-copy, diff-better-file-name): New funs.
4339 (diff-no-select): Rename from diff-into-buffer.
4340 Support buffers additionally to files. Move `buf' arg. Don't display buf.
4341 Prefer closures to buffer-local variables.
4342 (diff): Adjust accordingly.
4343 (diff-buffer-with-file): Move from files.el.
4344 * files.el (diff-buffer-with-file): Move to vc/diff.el.
4345 (diff-buffer-internal): Remove.
4346 (diff-buffer-buffer): Remove.
4347 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
4348 the buffer name used, and so as not to mess up windows and frames.
4349
4350 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
4351
4352 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
4353 (diff-buffer-internal): New function extracted from diff-buffer-with-file
4354 (diff-buffer-with-file): Use it.
4355 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
4356 (diff): Use it.
4357
4358 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
4359
4360 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
4361 \ref's or \pageref's value as default instead of initial input.
4362
4363 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
4364
4365 * files.el (backup-by-copying-when-mismatch): The default value is
4366 now t.
4367
4368 * startup.el (normal-top-level):
4369 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
4370 `backup-by-copying-when-mismatch'.
4371
4372 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
4373
4374 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
4375
4376 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4377
4378 * progmodes/python.el (python-font-lock-keywords):
4379 Highlight top-level augmented assignments (Bug#6445).
4380
4381 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
4382
4383 * term/ns-win.el (ns-right-control-modifier)
4384 (ns-right-command-modifier): Defvar them.
4385
4386 * cus-start.el (all): Add ns-right-control-modifier and
4387 ns-right-command-modifier (Bug#7458).
4388
4389 2010-11-20 Glenn Morris <rgm@gnu.org>
4390
4391 * emacs-lisp/authors.el (authors-ignored-files)
4392 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
4393
4394 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
4395
4396 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
4397 (report-emacs-bug-parse-query-results)
4398 (report-emacs-bug-create-existing-bugs-buffer): Pass through
4399 keywords used for querying the bug database to show them in the
4400 existing bugs buffer.
4401
4402 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
4403
4404 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
4405
4406 * info.el (info-tool-bar-map): Add some :vert-only keywords.
4407
4408 2010-11-20 Eli Zaretskii <eliz@gnu.org>
4409
4410 * international/characters.el (glyphless-char-display-control):
4411 Make it a defcustom, with update-glyphless-char-display as its
4412 :set attribute.
4413 (top level): Don't call update-glyphless-char-display.
4414
4415 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
4416
4417 Sync with Tramp 2.2.0.
4418
4419 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
4420 `file-remote-p' (due to compatibility).
4421
4422 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
4423 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
4424
4425 * net/trampver.el: Update release number.
4426
4427 2010-11-20 Eli Zaretskii <eliz@gnu.org>
4428
4429 * faces.el (glyphless-char): Define value for `pc'.
4430
4431 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
4432
4433 Implemented a bug querying mechanism.
4434 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
4435 (report-emacs-bug-create-existing-bugs-buffer)
4436 (report-emacs-bug-parse-query-results)
4437 (report-emacs-bug-query-existing-bugs): New functions.
4438
4439 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
4440
4441 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
4442 a \ref{} or \pageref{} macro, then use its value as initial input.
4443
4444 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
4445
4446 * calc/calc-units.el (math-build-units-table-buffer):
4447 calc/README: Mention that the TeX specific units won't use the
4448 `tex' prefix in TeX mode.
4449 calc/calc-lang.el (math-variable-table): Don't use the `tex'
4450 prefix for units in TeX mode.
4451
4452 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4453
4454 * simple.el (kill-new, kill-append, kill-region):
4455 * comint.el (comint-kill-region): Make the yank-handler argument
4456 obsolete.
4457
4458 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4459
4460 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
4461 that are both openers (resp. closers) and something else.
4462 (smie-grammar): Loosen definition of valid values.
4463 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
4464 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
4465 (smie-indent-after-keyword): Adjust users.
4466 (smie-indent-keyword): Don't indent empty lines.
4467
4468 * vc-hg.el (vc-hg-program): New var.
4469 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
4470 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
4471
4472 2010-11-18 Glenn Morris <rgm@gnu.org>
4473
4474 * emacs-lisp/autoload.el (autoload-find-destination): The function
4475 coding-system-eol-type may return non-numeric values. (Bug#7414)
4476
4477 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
4478
4479 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
4480
4481 2010-11-18 Eli Zaretskii <eliz@gnu.org>
4482
4483 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
4484
4485 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
4486
4487 * textmodes/picture.el (picture-mouse-set-point): Don't use
4488 posn-col-row; explicitly compute the motion based on the posn at
4489 the window-start (Bug#7390).
4490
4491 2010-11-18 Glenn Morris <rgm@gnu.org>
4492
4493 * novice.el (disabled-command-function):
4494 Fix 2009-11-15 change. (Bug#7384)
4495
4496 2010-11-18 Glenn Morris <rgm@gnu.org>
4497
4498 * calendar/calendar.el (diary-iso-date-forms): Make elements
4499 mutually exclusive. (Bug#7377)
4500
4501 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4502
4503 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
4504 when filling the remaining "unconstrained" values.
4505
4506 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4507
4508 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
4509 safety predicate.
4510
4511 * files.el (safe-local-variable-p): Gracefully handle errors.
4512
4513 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
4514 Use smie-indent-virtual when indenting relative to an opener.
4515 (smie-rule-separator): Use smie-rule-parent.
4516 (smie-indent-keyword): Consult rules, even for openers at bol.
4517 (smie-indent-comment-close): Try to align closer's content.
4518
4519 2010-11-18 Glenn Morris <rgm@gnu.org>
4520
4521 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
4522
4523 2010-11-18 Glenn Morris <rgm@gnu.org>
4524
4525 * printing.el (pr-menu-bind): Doc fix.
4526
4527 * speedbar.el (speedbar-toggle-images): Doc fix.
4528
4529 * progmodes/python.el (python-shell): Doc fix.
4530
4531 * wid-edit.el (widget-field-use-before-change)
4532 (widget-use-overlay-change): Doc fixes.
4533
4534 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4535
4536 Minor cleanup to improve style.
4537 * textmodes/rst.el (rst-update-section): Use point-marker.
4538 (rst-get-decoration): Eliminate unneeded assignment.
4539 (rst-promote-region, rst-straighten-decorations)
4540 (rst-section-tree, rst-adjust): Use point-marker.
4541 (rst-toc-mode-mouse-goto): Avoid setq.
4542 (rst-shift-region-guts, rst-shift-region-left)
4543 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
4544 (rst-convert-bullets-to-enumeration): Use copy-marker.
4545
4546 * minibuffer.el (completion-fail-discreetly): New var.
4547 (completion--do-completion): Use it.
4548
4549 * electric.el (electric-pair-pairs): New var.
4550 (electric-pair-post-self-insert-function): Use it.
4551 (electric-layout-post-self-insert-function): Don't insert a before
4552 newline unless it's actually needed.
4553
4554 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
4555
4556 * progmodes/python.el (run-python): Explain why we remove the current
4557 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
4558
4559 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
4560
4561 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4562
4563 * progmodes/octave-mod.el: Rely on elecric-*-modes.
4564 (octave-mode-map): Don't bind ;, SPC, and LF.
4565 (octave-auto-indent, octave-auto-newline): Remove.
4566 (electric-layout-rules): Declare.
4567 (octave-mode): Set electric-layout-rules.
4568 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
4569 (octave-reindent-then-newline-and-indent, octave-electric-semi)
4570 (octave-electric-space): Remove.
4571
4572 * electric.el (electric-layout-mode): New minor mode.
4573 (electric--after-char-pos): New function.
4574 (electric-indent-post-self-insert-function): Use it.
4575 (electric-layout-rules): New var.
4576 (electric-layout-post-self-insert-function): New function.
4577 (electric-indent-mode): Make them interact better.
4578
4579 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4580
4581 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
4582 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
4583 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
4584
4585 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
4586
4587 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
4588 Make sure to check inside the word (Bug#6761).
4589
4590 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
4591
4592 * startup.el (command-line): If the cursorColor resource is set,
4593 change the cursor face-spec (Bug#7392).
4594
4595 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
4596
4597 The main features of the following allout.el changes are:
4598 - implement user customization for the allout key bindings
4599 - add a customization control by which the user can inhibit use of
4600 a trailing Ctrl-H, so by default it's reserved for use with
4601 describe-prefix-bindings
4602 - adapt to new version of called-interactively-p, while
4603 maintaining backwards compatibility with old version
4604 - fix hotspot navigation so i works properly with meta-modified keys.
4605
4606 * allout.el (allout-keybindings, allout-bind-keys)
4607 (allout-keybindings-binding, allout-prefixed-keybindings)
4608 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
4609 (allout-keybindings-list, allout-mode-map-adjustments)
4610 (allout-setup-mode-map): Establish allout-mode keymaps as user
4611 customizable settings, and also establish a customizable setting which
4612 regulates whether or not a trailing control-h is reserved for use with
4613 describe-prefix-bindings - and inhibit it by default, so that control-h
4614 *is* reserved for describe-prefix-bindings unless the user changes it.
4615
4616 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
4617 and accurately between modified and unmodified events, and handle
4618 modified events more comprehensively.
4619
4620 * allout.el (allout-substring-no-properties):
4621 Alias to use or provide version of `substring-no-properties'.
4622 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
4623
4624 * allout.el (allout-next-single-char-property-change):
4625 Alias to use or provide version of `next-single-char-property-change'.
4626 (allout-annotate-hidden, allout-hide-by-annotation):
4627 Use `allout-next-single-char-property-change'.
4628
4629 * allout.el (allout-select-safe-coding-system):
4630 Alias to use or provide version of `select-safe-coding-system'.
4631 (allout-toggle-subtree-encryption):
4632 Use `allout-select-safe-coding-system'.
4633
4634 * allout.el (allout-set-buffer-multibyte):
4635 Alias to use or provide version of `set-buffer-multibyte'.
4636 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
4637
4638 * allout.el (allout-called-interactively-p): Macro for using the
4639 different versions of called-interactively-p identically, depending on
4640 the subroutine's argument signature.
4641 (allout-back-to-current-heading, allout-beginning-of-current-entry):
4642 Use `(interactive "p")' instead of `(called-interactively-p)'.
4643
4644 * allout.el (allout-init, allout-ascend, allout-end-of-level)
4645 (allout-previous-visible-heading, allout-forward-current-level)
4646 (allout-backward-current-level, allout-show-children):
4647 Use `allout-called-interactively-p' instead of `called-interactively-p'.
4648
4649 * allout.el (allout-before-change-handler):
4650 Exempt edits to the (overlaid) character after the allout outline
4651 bullet from edit confirmation prompt.
4652
4653 * allout.el (allout-add-resumptions):
4654 Ensure that it respects correct buffer for keybindings.
4655
4656 * allout.el (allout-beginning-of-line):
4657 Use `allout-previous-single-char-property-change' alias for the sake of
4658 diverse compatibility.
4659
4660 * allout.el (allout-end-of-line):
4661 Use `allout-mark-active-p' to encapsulate respect for mark activity.
4662
4663 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
4664
4665 * frame.el (frame-notice-user-settings): Don't clobber other
4666 user-set parameters when calling face-set-after-frame-default in
4667 response to background-color parameter (Bug#7373).
4668
4669 2010-11-13 Eli Zaretskii <eliz@gnu.org>
4670
4671 * international/characters.el (glyphless-char-display-control):
4672 Rename from glyphless-char-control; all users changed. Doc fix.
4673 Signal an error if display method is not one of the recognized
4674 symbols.
4675
4676 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
4677
4678 * net/tramp-compat.el (tramp-compat-line-beginning-position)
4679 (tramp-compat-line-end-position): Remove them.
4680
4681 * net/tramp.el (tramp-parse-rhosts-group)
4682 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
4683 (tramp-parse-hosts-group, tramp-parse-passwd-group)
4684 (tramp-parse-netrc-group, tramp-parse-putty-group)
4685 * net/tramp-cmds.el (tramp-append-tramp-buffers)
4686 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
4687 (tramp-sh-handle-file-selinux-context)
4688 (tramp-sh-handle-file-name-all-completions)
4689 (tramp-sh-handle-insert-directory)
4690 (tramp-sh-handle-expand-file-name, tramp-find-executable)
4691 (tramp-wait-for-output, tramp-send-command-and-read)
4692 * net/tramp-smb.el (tramp-smb-read-file-entry)
4693 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
4694
4695 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
4696 `point-at-bol'.
4697 (tramp-remote-coding-commands): Add an alternative using "base64
4698 -d -i". This is needed for older base64 versions from GNU
4699 coreutils. Reported by Klaus Reichl
4700 <Klaus.Reichl@thalesgroup.com>.
4701
4702 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
4703
4704 * simple.el (count-words-region): New function.
4705
4706 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4707
4708 * shell.el (shell-dir-cookie-re): New custom variable.
4709 (shell-dir-cookie-watcher): New function.
4710
4711 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
4712 and compilation-mode (bug#7350).
4713
4714 * vc/smerge-mode.el (smerge-refine): Choose better default part to
4715 highlight when one of them is empty.
4716
4717 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
4718 trailing space.
4719 (skeleton-newline): New function.
4720 (skeleton-internal-1): Use it.
4721
4722 * simple.el (open-line): `newline' may strip trailing space.
4723
4724 2010-11-12 Kevin Ryde <user42@zip.com.au>
4725
4726 * international/mule-cmds.el (princ-list): Use mapc.
4727
4728 2010-11-12 Glenn Morris <rgm@gnu.org>
4729
4730 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
4731 Use it to replace all instances of "*Compile-Log*".
4732
4733 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4734
4735 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
4736 indentation specs.
4737
4738 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4739
4740 * progmodes/modula2.el: Use SMIE and skeleton.
4741 (m2-mode-syntax-table): (*..*) can be nested.
4742 Add //...\n. Fix paren syntax.
4743 (m2-mode-map): Remove LF and TAB bindings.
4744 (m2-indent): Add safety property.
4745 (m2-smie-grammar): New var.
4746 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
4747 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
4748 (m2-mode): Use define-derived-mode.
4749 (m2-newline, m2-tab): Remove.
4750 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
4751 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
4752 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
4753 (m2-import): Use define-skeleton.
4754
4755 2010-11-11 Glenn Morris <rgm@gnu.org>
4756
4757 * obsolete/lucid.el: Don't warn about any CL functions in this file.
4758
4759 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
4760 (ls-lisp-verbosity): Add custom :set-after property.
4761 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
4762 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
4763 (ls-lisp-insert-directory): Update caller.
4764 (ls-lisp-set-options): New function.
4765 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
4766 Doc fix.
4767
4768 * play/landmark.el (lm-prompt-for-move):
4769 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
4770
4771 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
4772
4773 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
4774 (idlwave-study-twins): Prefix dynamic local variable `name'.
4775 (idlwave-routine-twin-compare): Update for above change.
4776
4777 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
4778 Prefix dynamic local variables `name', `kwd', and `link'.
4779 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
4780 * progmodes/idlw-complete-structtag.el
4781 (idlwave-complete-structure-tag-help):
4782 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
4783 (idlwave-complete-sysvar-tag-help)
4784 (idlwave-complete-class-structure-tag-help):
4785 Update for above name changes.
4786
4787 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4788
4789 * net/browse-url.el (browse-url-browser-function): Change the
4790 default to use `browse-url-mail' on mailto: URLs.
4791
4792 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
4793
4794 * emacs-lisp/package.el (package-read-all-archive-contents):
4795 Reset package-archive-contents to nil before re-reading.
4796
4797 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
4798
4799 * textmodes/flyspell.el (flyspell-word): Do not re-check words
4800 already found as misspellings by (flyspell-large-region), just
4801 do highlighting (bug#7322).
4802
4803 2010-11-10 Glenn Morris <rgm@gnu.org>
4804
4805 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
4806
4807 * emulation/edt.el (edt-with-position): New macro.
4808 (edt-find-forward, edt-find-backward, edt-find-next-forward)
4809 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
4810 (edt-paragraph-forward, edt-paragraph-backward): Use it.
4811
4812 * emulation/tpu-extras.el (tpu-with-position): New macro.
4813 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
4814
4815 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
4816
4817 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
4818 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
4819 (texinfo-master-menu, texinfo-insert-node-lines)
4820 (texinfo-multiple-files-update):
4821 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
4822 Use line-beginning-position.
4823
4824 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
4825 No recent Emacs supports system-type `emx'.
4826
4827 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
4828 (ada-command-separator, ada-default-prj-properties)
4829 (ada-find-any-references): Update for above name change.
4830
4831 * dirtrack.el (dirtrack-directory-function)
4832 (dirtrack-canonicalize-function):
4833 * filecache.el (file-cache-completion-ignore-case)
4834 (file-cache-case-fold-search, file-cache-ignore-case):
4835 * term.el (serial-port-is-file-p): Cosmetic change.
4836
4837 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
4838 Remove non-existent `windows-95' system-type.
4839 * dired.el (dired-chown-program): Remove non-existent `linux'
4840 system-type.
4841
4842 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
4843 (ping-program-options): Remove non-existent `linux' system-type.
4844
4845 * startup.el (package-initialize): Update declaration.
4846
4847 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
4848 (ls-lisp-handle-switches): Use time-less-p.
4849 (ls-lisp-format-time): Use float-time.
4850
4851 * textmodes/remember.el (remember-time-to-seconds): Remove.
4852 (remember-store-in-mailbox): Use float-time.
4853
4854 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
4855
4856 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
4857 never a real function.
4858 (with-no-warnings): Remove compat stub, now unused.
4859 (time-less-p): Doc fix.
4860 (time-to-number-of-days): Simplify.
4861
4862 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
4863 Remove.
4864 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
4865 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
4866 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
4867 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
4868 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
4869
4870 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
4871 (eshell-shuffle-files, eshell-shorthand-tar-command)
4872 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
4873 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
4874 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
4875 Prefix dynamic local variable `matches'.
4876
4877 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
4878 Prefix dynamic local variable `skeleton'.
4879
4880 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
4881
4882 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
4883 in mail buffer; make yank-action always a command that yanks original
4884 buffer.
4885
4886 2010-11-09 Glenn Morris <rgm@gnu.org>
4887
4888 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
4889
4890 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4891
4892 * minibuffer.el (minibuffer-completion-help): Specify the end of the
4893 completion field (bug#7211).
4894
4895 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
4896 Fix handling of backslash escapes.
4897 (python-quote-syntax): Adjust accordingly.
4898
4899 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
4900
4901 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
4902 (vc-mtn-workfile-branch): Adjust to new output format.
4903
4904 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4905
4906 * international/mule-cmds.el (princ-list): Mark as obsolete.
4907
4908 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4909
4910 * emacs-lisp/smie.el: New package.
4911
4912 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
4913
4914 * files.el (backup-by-copying-when-mismatch):
4915 Set `permanent-local' property.
4916
4917 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
4918 `permanent-local' property for `backup-by-copying-when-mismatch'.
4919
4920 2010-11-09 Eli Zaretskii <eliz@gnu.org>
4921
4922 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
4923
4924 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
4925
4926 * progmodes/verilog-mode.el (verilog-insert-one-definition)
4927 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
4928 AUTOINOUT for SV style multidimensional arrays, bug294.
4929 Reported by Eric Mastromarchi.
4930 (verilog-preprocess): Use with-current-buffer and
4931 font-lock-fontify-buffer to cleanup style issues.
4932
4933 2010-11-09 Glenn Morris <rgm@gnu.org>
4934
4935 * locate.el (locate, locate-mode): Doc fixes.
4936
4937 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
4938
4939 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
4940 user for confirmation.
4941 (server-force-stop): Use it.
4942 (server-start): Use server-force-stop for kill-emacs-hook, to
4943 avoid user interaction while killing Emacs.
4944
4945 2010-11-09 Glenn Morris <rgm@gnu.org>
4946
4947 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
4948 (meta-indent-line): Simplify.
4949
4950 * vc/emerge.el (emerge-line-number-in-buf):
4951 * textmodes/ispell.el (ispell-region):
4952 * textmodes/fill.el (current-fill-column):
4953 * progmodes/xscheme.el (xscheme-send-current-line):
4954 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
4955 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
4956 * progmodes/sh-script.el (sh-handle-prev-do):
4957 * progmodes/meta-mode.el (meta-indent-line):
4958 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
4959 (idlwave-in-quote):
4960 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
4961 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
4962 * progmodes/fortran.el (fortran-looking-at-if-then):
4963 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
4964 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
4965 (cperl-find-pods-heres):
4966 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
4967 * net/quickurl.el (quickurl-list-insert):
4968 * net/ldap.el (ldap-search-internal):
4969 * net/eudc.el (eudc-expand-inline):
4970 * mail/sendmail.el (sendmail-send-it):
4971 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
4972 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
4973 (viper-brac-function):
4974 * calc/calc-yank.el (calc-do-grab-region):
4975 * calc/calc-keypd.el (calc-keypad-press):
4976 * term.el (term-move-columns, term-insert-spaces):
4977 * speedbar.el (speedbar-highlight-one-tag-line):
4978 * simple.el (current-word):
4979 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
4980 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
4981 (Info-scroll-down):
4982 * hippie-exp.el (he-line-beg):
4983 * epa.el (epa--marked-keys):
4984 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
4985 (dired-update-file-line, dired-add-entry, dired-remove-entry)
4986 (dired-relist-entry):
4987 * buff-menu.el (Buffer-menu-buffer):
4988 * array.el (current-line):
4989 * allout.el (allout-resolve-xref)
4990 (allout-latex-verbatim-quote-curr-line):
4991 Replace yet more uses of end-of-line etc with line-end-position, etc.
4992
4993 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4994
4995 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
4996 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
4997 (checkdoc-syntax-table): Initialize in the declaration.
4998 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
4999 the mode on unconditionally.
5000
5001 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
5002 (extent-end-position, extent-start-position): Remove setf method for
5003 non-existing functions (bug#7319).
5004
5005 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
5006
5007 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
5008 (smie-precs->prec2): Rename from smie-precs-precedence-table.
5009 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
5010 (smie-prec2->grammar): Rename from smie-prec2-levels.
5011 (smie-grammar): Rename from smie-op-levels.
5012 (smie-indent--hanging-p): Rename from smie-hanging-p.
5013 (smie-rule-hanging-p): New alias.
5014 (smie-indent--bolp): Rename from smie-bolp.
5015 (smie-indent--hanging-p): New alias.
5016 (smie--token): New dynamically bound variable.
5017 (smie-indent--parent): New function.
5018 (smie-rule-parent-p): Use it; rename from smie-parent-p.
5019 (smie-rule-next-p): Rename from smie-next-p.
5020 (smie-rule-prev-p): Rename from smie-prev-p.
5021 (smie-rule-sibling-p, smie-rule-parent)
5022 (smie-indent--separator-outdent, smie-rule-separator): New functions.
5023 (smie-rule-separator-outdent): New var.
5024 (smie-indent--rule): Merge with smie-indent--column.
5025 (smie-indent-forward-token, smie-indent-backward-token):
5026 Also recognize close parens.
5027 (smie-indent-keyword): Don't use smie-indent--column any more.
5028 (smie-indent-after-keyword): Ignore closers by default.
5029 (smie-indent-line): Use with-demoted-errors.
5030 * progmodes/octave-mod.el (octave-smie-grammar):
5031 Rename from octave-smie-op-levels.
5032 (octave-smie-rules): Adjust to new behavior.
5033 * progmodes/prolog.el (prolog-smie-grammar):
5034 Rename from prolog-smie-op-levels.
5035
5036 2010-11-07 Glenn Morris <rgm@gnu.org>
5037
5038 * eshell/esh-util.el (subst-char-in-string)
5039 (directory-files-and-attributes): These compatibility definitions are
5040 not needed on any version of Emacs since at least 21.4.
5041
5042 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
5043 (verilog-get-end-of-line): Remove.
5044 (verilog-within-string, verilog-re-search-forward-substr)
5045 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
5046 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
5047 Use point-at-bol, point-at-eol.
5048 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
5049 Remove.
5050 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
5051 (electric-pascal-terminate-line, pascal-set-auto-comments)
5052 (pascal-indent-paramlist, pascal-indent-declaration)
5053 (pascal-get-lineup-indent, pascal-func-completion)
5054 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
5055 Use point-at-bol, point-at-eol.
5056 * progmodes/flymake.el (flymake-line-beginning-position)
5057 (flymake-line-end-position): Remove.
5058 (flymake-highlight-line): Use point-at-bol, point-at-eol.
5059 * eshell/esh-util.el (line-end-position, line-beginning-position):
5060 Remove compat definitions.
5061
5062 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
5063 Use end-of-line N.
5064 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
5065 Use line-end-position.
5066
5067 * emacs-lisp/chart.el (chart-zap-chars):
5068 * play/decipher.el (decipher-set-map):
5069 * progmodes/ada-mode.el (ada-get-current-indent)
5070 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
5071 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
5072 * progmodes/ada-xref.el (ada-initialize-runtime-library)
5073 (ada-get-all-references):
5074 * progmodes/cperl-mode.el (cperl-electric-paren)
5075 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
5076 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
5077 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
5078 (cperl-word-at-point-hard):
5079 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
5080 (idlwave-shell-filename-string, idlwave-shell-batch-command)
5081 (idlwave-shell-display-line):
5082 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
5083 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
5084 * progmodes/js.el (js--re-search-forward-inner)
5085 (js--re-search-backward-inner):
5086 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
5087 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
5088 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
5089 * textmodes/flyspell.el (flyspell-process-localwords):
5090 * textmodes/ispell.el (ispell-buffer-local-parsing)
5091 (ispell-buffer-local-dict, ispell-buffer-local-words):
5092 Use point-at-bol and point-at-eol.
5093
5094 * speedbar.el (speedbar-generic-item-info)
5095 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
5096 (speedbar-add-indicator, speedbar-check-vc-this-line)
5097 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
5098 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
5099 Replace more uses of end-of-line etc with line-end-position.
5100
5101 2010-11-06 Glenn Morris <rgm@gnu.org>
5102
5103 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
5104 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
5105 (texinfo-delete-existing-pointers, texinfo-find-pointer)
5106 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
5107 (texinfo-multiple-files-update):
5108 * textmodes/table.el (table--probe-cell-left-up)
5109 (table--probe-cell-right-bottom):
5110 * textmodes/picture.el (picture-tab-search):
5111 * textmodes/page-ext.el (pages-copy-header-and-position)
5112 (pages-directory-for-addresses):
5113 * progmodes/vera-mode.el (vera-get-offset):
5114 * progmodes/simula.el (simula-calculate-indent):
5115 * progmodes/python.el (python-pdbtrack-overlay-arrow):
5116 * progmodes/prolog.el (end-of-prolog-clause):
5117 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
5118 * progmodes/icon.el (indent-icon-exp):
5119 * progmodes/etags.el (tag-re-match-p):
5120 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
5121 * progmodes/ebnf2ps.el (ebnf-begin-file):
5122 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
5123 (dcl-save-local-variable):
5124 * play/life.el (life-setup):
5125 * play/gametree.el (gametree-looking-at-ply):
5126 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
5127 * mail/sendmail.el (mail-mode-auto-fill):
5128 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
5129 * emacs-lisp/edebug.el (edebug-overlay-arrow):
5130 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
5131 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
5132 (woman-tab-to-tab-stop, WoMan-warn-ignored):
5133 * type-break.el (type-break-file-keystroke-count):
5134 * term.el (term-replace-by-expanded-history-before-point)
5135 (term-skip-prompt, term-extract-string):
5136 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
5137 (speedbar-contract-line, speedbar-toggle-line-expansion)
5138 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
5139 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
5140 * sort.el (sort-skip-fields):
5141 * skeleton.el (skeleton-internal-list):
5142 * simple.el (line-move-finish, line-move-to-column):
5143 * shell.el (shell-forward-command):
5144 * misc.el (copy-from-above-command):
5145 * makesum.el (double-column):
5146 * ebuff-menu.el (electric-buffer-update-highlight):
5147 * dired.el (dired-move-to-end-of-filename):
5148 * dframe.el (dframe-popup-kludge):
5149 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
5150 * arc-mode.el (archive-get-lineno):
5151 Use line-end-position and line-beginning-position.
5152
5153 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
5154 (idlwave-study-twins): Prefix dynamic local `class'.
5155 (idlwave-routine-twin-compare): Update for above name change.
5156
5157 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
5158 Use boundp tests to silence compiler. Update for changed name of
5159 bytecomp-filename variable.
5160
5161 * emulation/viper-cmd.el (viper-read-string-with-history):
5162 Prefix dynamic local `initial'.
5163 (viper-minibuffer-standard-hook): Update for above name change.
5164
5165 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
5166 (elint-init-form): Update for above name change.
5167
5168 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
5169 local variables `cbeg' and `cend' a prefix.
5170 (mail-extr-voodoo): Update for above name change.
5171
5172 * textmodes/reftex-toc.el (reftex-toc-do-promote)
5173 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
5174 (reftex-toc-promote-action): Doc fix.
5175
5176 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
5177 `prompt', `data' a prefix.
5178 (reftex-select-post-command-hook, reftex-select-callback)
5179 (reftex-select-mouse-accept, reftex-select-read-cite):
5180 Update for above name changes.
5181
5182 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
5183 `refstyle' to reftex-refstyle.
5184 (reftex-offer-label-menu): Update for above name change.
5185 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
5186 `refstyle' name change.
5187
5188 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
5189 with with-current-buffer.
5190 (diff, template): Give dynamic local variables a prefix.
5191 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
5192 (emerge-line-number-in-buf): Update for above name change.
5193 (emerge-combine-versions-internal): Rename local `template' to
5194 emerge-combine-template.
5195 (emerge-combine-versions-edit): Update for above name change.
5196
5197 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
5198
5199 * textmodes/reftex-cite.el
5200 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
5201 entries with whitespace after \bibitem.
5202 (reftex-create-bibtex-file): Match entries containing numbers and
5203 symbol constituents. Make sure that entries with whitespace at
5204 various places are found.
5205
5206 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
5207
5208 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
5209
5210 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
5211
5212 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
5213
5214 2010-11-05 Glenn Morris <rgm@gnu.org>
5215
5216 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
5217 (woman2-roff-buffer): Give local variable `request' a prefix.
5218 (woman0-macro): Rename argument `request' in the same way.
5219 (woman-request): New name for `request' dynamic variable.
5220 (woman-unquote, woman-forward-arg): Update for above name change.
5221 (woman1-roff-buffer): Give local variable `unquote' a prefix.
5222 (woman1-unquote): New name for `unquote' dynamic variable.
5223 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
5224 (woman-translations): Rename from `translations'. No longer global.
5225 (woman2-tr, woman-translate): Update for above name change.
5226 (woman-translate): Check for bound variable.
5227 (woman2-roff-buffer): Give local variable `translations' a prefix.
5228
5229 * play/doctor.el: Give all local variables a prefix. Update callers.
5230 (doc$, doctor-put-meaning): Use backquote.
5231
5232 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
5233 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
5234
5235 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
5236 variables bytes, ptr, op a prefix.
5237 (disassemble-offset): Update for above change.
5238
5239 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
5240
5241 * emacs-lisp/package.el (package-unpack): Remove no-op.
5242 (package--builtins, package--dir): Doc fix.
5243 (package-activate-1, package-activate, package-install)
5244 (package-compute-transaction): Fix error message.
5245 (package-delete): Use delete-directory. Omit system packages.
5246 (package-initialize): Set package-alist to nil first.
5247 (package-menu-mark-delete, package-menu-mark-install): Don't add
5248 symbols that are inconsistent with the package state.
5249 (package-menu-execute): Perform deletions and installations as
5250 single batch operations.
5251
5252 2010-11-03 Glenn Morris <rgm@gnu.org>
5253
5254 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
5255 (props): Remove unnecessary declaration.
5256
5257 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
5258 set-process-query-on-exit-flag.
5259
5260 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
5261 (reftex-toc-do-promote): Remove unused local `mpos'.
5262 (reftex-toc-restore-region): Make `mpos' local to this function.
5263
5264 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
5265
5266 * play/landmark.el (lm-losing-threshold): Correct spelling.
5267 (lm-human-plays): Use new name.
5268
5269 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
5270 (gomoku-human-plays): Use new name.
5271
5272 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
5273 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
5274 (gomoku-score-trans-table, gomoku-winning-threshold)
5275 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
5276
5277 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
5278
5279 * emacs-lisp/package.el: Don't put built-in packages in
5280 package-alist, to avoid loading inefficiencies.
5281 (package-built-in-p): Make VERSION optional, and treat it as a
5282 minimum acceptable version.
5283 (package-activate): Search separately for built-in packages.
5284 Emit a warning if a dependency fails.
5285 (define-package): Handle most common case, where there is no
5286 obsolete package, first.
5287 (package-compute-transaction): Print required version in error.
5288 (package--initialized): New variable.
5289 (list-packages): Use it.
5290 (package-initialize): Optional arg NO-ACTIVATE. Don't put
5291 built-in packages in packages-alist; keep it separate.
5292 Set package--initialized.
5293 (describe-package): Avoid activating packages as a side-effect.
5294 Search separately for built-in packages.
5295 (describe-package-1): Handle the case where an elpa package is
5296 simultaneously built-in and available/installed.
5297 (package-installed-p, package--generate-package-list):
5298 Search separately for built-in packages.
5299 (package-load-descriptor): Doc fix.
5300
5301 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
5302
5303 * progmodes/perl-mode.el (perl-syntax-propertize-function):
5304 Handle __DATA__ and __END__.
5305
5306 2010-11-02 Noah Friedman <friedman@splode.com>
5307
5308 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
5309 nil, do not ask to recompile files that are not already compiled,
5310 and do not recompile them.
5311
5312 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
5313
5314 * emacs-lisp/package.el (package-initialize): Ensure that
5315 obsoleted built-in packages are not in package-activated-list
5316 during activation.
5317 (describe-package-1): Make the "installed" status override
5318 "built-in".
5319
5320 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5321
5322 * subr.el (version-separator, version-regexp-alist): Remove '*'
5323 from docstring.
5324 (version-list-<=, version<=, version=): Doc fix.
5325
5326 2010-11-01 Kenichi Handa <handa@m17n.org>
5327
5328 * faces.el (glyphless-char): Inherit underline for tty.
5329
5330 2010-11-01 Kenichi Handa <handa@m17n.org>
5331
5332 Implement various display methods for glyphless characters.
5333
5334 * international/characters.el (char-acronym-table): New variable.
5335 (glyphless-char-control): New variable.
5336 (update-glyphless-char-display): New function.
5337
5338 * faces.el (glyphless-char): New face.
5339
5340 2010-11-01 Glenn Morris <rgm@gnu.org>
5341
5342 * calendar/holidays.el (general-holidays, oriental-holidays)
5343 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
5344 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
5345 the definitions of their targets.
5346
5347 * emacs-lisp/smie.el (smie): New custom group.
5348 (smie-blink-matching-inners, smie-indent-basic): Add :group.
5349
5350 * faces.el (xw-defined-colors, x-setup-function-keys):
5351 * mouse-sel.el (x-select-text):
5352 * term/w32console.el (x-setup-function-keys): Update declarations.
5353
5354 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
5355
5356 * textmodes/ispell.el (comment-add): Declare.
5357
5358 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
5359 Declare.
5360
5361 * info.el (finder-keywords-hash, package-alist): Declare.
5362
5363 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
5364
5365 * finder.el (finder-compile-keywords): Don't use intern-soft,
5366 since package names may not yet exist in the obarray.
5367
5368 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
5369
5370 * vc/vc-arch.el (vc-arch-checkin):
5371 * vc/vc-cvs.el (vc-cvs-checkin):
5372 * vc/vc-mtn.el (vc-mtn-checkin):
5373 * vc/vc-rcs.el (vc-rcs-checkin):
5374 * vc/vc-sccs.el (vc-sccs-checkin):
5375 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
5376 since 2010-04-21 commit by Stefan Monnier.
5377
5378 2010-11-01 Glenn Morris <rgm@gnu.org>
5379
5380 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
5381
5382 * startup.el (package-enable-at-startup, package-initialize):
5383 Silence compiler.
5384
5385 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
5386 Silence compiler.
5387
5388 2010-10-31 Julien Danjou <julien@danjou.info>
5389
5390 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
5391 (byte-recompile-directory):
5392 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
5393 Use `byte-recompile-file'.
5394
5395 2010-10-31 Glenn Morris <rgm@gnu.org>
5396
5397 * cus-start.el: Handle standard values via a keyword.
5398 Only set version property if specified.
5399 (cursor-in-non-selected-windows, menu-bar-mode)
5400 (tool-bar-mode, show-trailing-whitespace):
5401 Do not specify standard values.
5402 (transient-mark-mode, temporary-file-directory): Use :standard.
5403
5404 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
5405
5406 * term/x-win.el (x-get-selection-value): New function that gets
5407 PRIMARY with type as specified in x-select-request-type. (Bug#6802)
5408
5409 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
5410
5411 * net/tramp.el (tramp-handle-insert-file-contents): For root,
5412 preserve owner and group when editing files. (Bug#7289)
5413
5414 2010-10-31 Glenn Morris <rgm@gnu.org>
5415
5416 * speedbar.el (speedbar-mode):
5417 * play/fortune.el (fortune-in-buffer, fortune):
5418 * play/gomoku.el (gomoku-mode):
5419 * play/landmark.el (lm-mode):
5420 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
5421 Replace inappropriate uses of toggle-read-only. (Bug#7292)
5422
5423 * select.el (x-selection): Mark it as an obsolete alias.
5424
5425 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5426
5427 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
5428 major-mode (bug#7284).
5429
5430 2010-10-31 Glenn Morris <rgm@gnu.org>
5431
5432 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
5433 rather than just an unused variable that inherits from the real one.
5434
5435 2010-10-31 Alan Mackenzie <acm@muc.de>
5436
5437 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
5438 This fixes bug #7185.
5439
5440 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
5441
5442 * startup.el (command-line): Search for package directories, and
5443 don't load package.el if none are found.
5444
5445 * emacs-lisp/package.el (describe-package, list-packages):
5446 Call package-initialize if it has not been called yet.
5447
5448 2010-10-30 Alan Mackenzie <acm@muc.de>
5449
5450 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
5451 which fontifies the tail of an enum.
5452 (c-basic-matchers-after): Insert a call to the above new function.
5453 This fixes bug #7264.
5454
5455 2010-10-30 Glenn Morris <rgm@gnu.org>
5456
5457 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
5458 tool-bar-mode, transient-mark-mode. (Bug#7306)
5459 Include the :set property in the dumped Emacs.
5460
5461 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5462
5463 SMIE: change indent rules format, improve smie-setup.
5464 * emacs-lisp/smie.el (smie-precs-precedence-table)
5465 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
5466 Mark them pure so the tables gets built at compile time.
5467 (smie-bnf-precedence-table): Store the closer-alist in the table.
5468 (smie-prec2-levels): Preserve the closer-alist.
5469 (smie-blink-matching-open): Be more forgiving in case of indentation.
5470 (smie-hanging-p): Rename from smie-indent--hanging-p.
5471 (smie-bolp): Rename from smie-indent--bolp.
5472 (smie--parent, smie--after): New dynamic vars.
5473 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
5474 (smie-indent-rules): Remove.
5475 (smie-indent--offset-rule): Remove fun.
5476 (smie-rules-function): New var.
5477 (smie-indent--rule): New fun.
5478 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
5479 (smie-indent-exps): Use it.
5480 (smie-setup): Setup paren blinking; add keyword args for token
5481 functions; extract closer-alist from op-levels.
5482 (smie-indent-debug-log): Remove var.
5483 (smie-indent-debug): Remove fun.
5484 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
5485 (prolog-smie-rules): New fun to replace it.
5486 (prolog-mode-variables): Simplify.
5487 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
5488 it's setup automatically.
5489 (octave-smie-indent-rules): Remove.
5490 (octave-smie-rules): New fun to replace it.
5491 (octave-mode): Simplify.
5492
5493 2010-10-29 Glenn Morris <rgm@gnu.org>
5494
5495 * files.el (temporary-file-directory): Remove (already defined in C).
5496 * cus-start.el: Add temporary-file-directory.
5497
5498 * abbrev.el (abbrev-mode):
5499 * composite.el (auto-composition-mode):
5500 * menu-bar.el (menu-bar-mode):
5501 * simple.el (transient-mark-mode):
5502 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
5503 that they do not define the associated variables twice.
5504 * simple.el (transient-mark-mode): Remove defvar.
5505 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
5506 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
5507 Handle multiple groups, and also custom-delayed-init-variables.
5508 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
5509
5510 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5511
5512 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
5513 (pcase-if): Add one minor optimization.
5514 (pcase-split-equal): Rename from pcase-split-eq.
5515 (pcase-split-member): Rename from pcase-split-memq.
5516 (pcase-u1): Add strings to the member optimization.
5517 Add `guard' variant of predicates.
5518 (pcase-q1): Add string patterns.
5519
5520 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5521
5522 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
5523
5524 2010-10-28 Glenn Morris <rgm@gnu.org>
5525
5526 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
5527 Move menu-bar related settings to ../menu-bar.el.
5528 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
5529 Move ns-specific settings here from term/ns-win.el.
5530
5531 * simple.el (x-selection-owner-p): Remove unused declaration.
5532
5533 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5534
5535 * minibuffer.el (completion-cycling): New var (bug#7266).
5536 (minibuffer-complete, completion--do-completion):
5537 Use completion--flush-all-sorted-completions.
5538 (minibuffer-complete): Only cycle if completion-cycling is set.
5539 (completion--flush-all-sorted-completions): Unset completion-cycling.
5540 (minibuffer-force-complete): Set completion-cycling.
5541 (completion-all-sorted-completions): Move declaration before first use.
5542
5543 2010-10-28 Leo <sdl.web@gmail.com>
5544
5545 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
5546 which changes the order of matches seen by users (bug#7231).
5547
5548 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
5549
5550 * progmodes/compile.el (compilation-mode-font-lock-keywords):
5551 Don't confuse -omega as "-o mega".
5552
5553 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
5554
5555 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
5556 (log-edit-author): New dynamic var.
5557 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
5558 to return the author if different from committer.
5559 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
5560
5561 * play/landmark.el: Adjust commenting convention.
5562 (lm-nil-score): Rename from nil-score.
5563 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
5564 (OOOOscore): Move into a let in lm-score-trans-table.
5565 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
5566
5567 * electric.el (electric-indent-chars): Autoload.
5568 * progmodes/octave-mod.el (octave-mode):
5569 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
5570 (ruby-mode-abbrev-table): Merge initialization and declaration.
5571
5572 2010-10-27 Glenn Morris <rgm@gnu.org>
5573
5574 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
5575 variable.
5576
5577 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
5578
5579 * term/ns-win.el: Restore require of cl when compiling.
5580 (menu-bar-final-items): Remove non-existent `windows' menu.
5581 (ns-handle-nxopen): Optionally handle the temp-case.
5582 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
5583 (ns-insert-file, ns-find-file): Use `pop'.
5584
5585 2010-10-26 Glenn Morris <rgm@gnu.org>
5586
5587 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
5588
5589 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
5590
5591 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
5592 global map.
5593 * term/common-win.el (x-setup-function-keys): Remove most of the
5594 keymappings. Comment on the remaining ones.
5595
5596 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
5597
5598 * server.el (server-port): New option. (Bug#854)
5599 (server-start): Use server-port.
5600
5601 2010-10-26 Glenn Morris <rgm@gnu.org>
5602
5603 * term/ns-win.el (ns-version-string): Remove unused declaration.
5604 (ns-invocation-args): Change to x-invocation-args.
5605 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
5606 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
5607 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
5608 Use x-invocation-args instead of ns-invocation-args.
5609 (ns-initialize-window-system, handle-args-function-alist):
5610 Use x-handle-args instead of ns-handle-args.
5611 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
5612 * startup.el (command-line-ns-option-alist): Replace
5613 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
5614 ns-handle-iconic with the x- equivalents.
5615
5616 * term/common-win.el (x-select-enable-clipboard):
5617 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
5618
5619 * term/ns-win.el: No need to require cl when compiling.
5620 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
5621 (xw-defined-colors): Use the common-win definitions.
5622 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
5623 (ns-handle-iconic): Make it an alias for x-handle-iconic.
5624 * term/common-win.el (x-select-text, x-alternatives-map)
5625 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
5626 * loadup.el [ns]: Load common-win.
5627
5628 2010-10-26 Daiki Ueno <ueno@unixuser.org>
5629
5630 * epa-mail.el (epa-mail-encrypt): Handle local-part only
5631 recipients; expand mail aliases (Bug#7280).
5632
5633 2010-10-25 Glenn Morris <rgm@gnu.org>
5634
5635 * term/common-win.el (x-handle-switch): Simplify with pop.
5636 Optionally handle numeric switches.
5637 (x-handle-numeric-switch): Just call x-handle-switch.
5638 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
5639 (x-handle-name-switch, x-handle-display, x-handle-args):
5640 Simplify with pop.
5641
5642 * term/ns-win.el: Do not require easymenu.
5643 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
5644 <spell>: Move adjustments to menu-bar.el.
5645 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
5646 <separator-undo, spell>: Move ns-win's adjustments here.
5647 * loadup.el [ns]: Do not load easymenu.
5648
5649 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5650
5651 * image.el (image-checkbox-checked, image-checkbox-unchecked):
5652 Delete (Bug#7222).
5653
5654 * startup.el (fancy-startup-tail): Instead of using inline images,
5655 refer to image files from etc/.
5656
5657 * wid-edit.el (checkbox): Likewise.
5658 (widget-image-find): Center image specs.
5659
5660 2010-10-24 Glenn Morris <rgm@gnu.org>
5661
5662 * term/ns-win.el (x-select-text): Doc fix.
5663 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
5664 (x-select-text): Move to term/common-win.
5665 * term/w32-win.el (xw-defined-colors): Move to common-win.
5666 * term/x-win.el (xw-defined-colors, x-alternatives-map)
5667 (x-setup-function-keys, x-select-text): Move to common-win.
5668 * term/common-win.el (x-select-text, x-alternatives-map)
5669 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
5670 definitions here.
5671
5672 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
5673
5674 * net/mairix.el (mairix-searches-mode-map):
5675 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
5676
5677 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
5678
5679 * progmodes/verilog-mode.el (verilog-directive-re): Make this variable
5680 auto-built for efficiency of execution and updating.
5681 (verilog-extended-complete-re): Support 'pure' fucntion & task
5682 declarations (these have no bodies).
5683 (verilog-beg-of-statement): General cleanup to enable support of
5684 'pure' fucntion & task declarations (these have no bodies).
5685 These efforts together fix Verilog bug210 from veripool; which was also
5686 noticed by Steve Pearlmutter.
5687 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
5688 (verilog-directive-nest-re, verilog-set-auto-endcomments):
5689 Support `elsif. Reported by Shankar Giri.
5690 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
5691 attribute handling for lining up declarations and assignments.
5692 (verilog-beg-of-statement-1): Fix issue where continued declaration
5693 is indented differently if it is after a begin..end clock.
5694 (verilog-in-attribute-p, verilog-skip-backward-comments)
5695 (verilog-skip-forward-comment-p): Support proper treatment of
5696 attributes by indent code. Reported by Jeff Steele.
5697 (verilog-in-directive-p): Fix comment to correctly describe function.
5698 (verilog-backward-up-list, verilog-in-struct-region-p)
5699 (verilog-backward-token, verilog-in-struct-p)
5700 (verilog-in-coverage-p, verilog-do-indent)
5701 (verilog-pretty-declarations): Use verilog-backward-up-list as
5702 wrapper around backward-up-list inorder to properly skip comments.
5703 Reported by David Rogoff.
5704 (verilog-property-re, verilog-endcomment-reason-re)
5705 (verilog-beg-of-statement, verilog-set-auto-endcomments)
5706 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
5707 of if). Reported by Max Bjurling and
5708 (verilog-calc-1): Fix for clocking block in modport
5709 declaration. Reported by Brian Hunter.
5710
5711 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
5712
5713 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
5714 (verilog-gate-keywords, verilog-read-sub-decls)
5715 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
5716 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
5717 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
5718 (verilog-read-decls): Fix spaces in V2K module parameters causing
5719 mis-identification as interfaces, bug287.
5720 (verilog-read-decls): Fix not treating "parameter string" as a
5721 parameter in AUTOINSTPARAM.
5722 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
5723 treating `elsif similar to `endif inside AUTOSENSE.
5724 (verilog-do-indent): Implement correct automatic or static task or
5725 function end comment highlight. Reported by Steve Pearlmutter.
5726 (verilog-font-lock-keywords-2): Fix highlighting of single
5727 character pins, bug264. Reported by Michael Laajanen.
5728 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
5729 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
5730 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
5731 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
5732 (verilog-pretty-expr): Fix interactive arguments, bug272.
5733 Reported by Mark Johnson.
5734 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
5735 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
5736 bug269. Suggested by Gary Delp.
5737 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
5738 (verilog-preprocessor, verilog-set-compile-command):
5739 Create verilog-preprocess and verilog-preprocessor to show
5740 preprocessed output.
5741 (verilog-get-beg-of-line, verilog-get-end-of-line)
5742 (verilog-modi-file-or-buffer, verilog-modi-name)
5743 (verilog-modi-point, verilog-within-string): Move defmacro's
5744 before first use to avoid warning. Reported by Steve Pearlmutter.
5745 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
5746 (verilog-colorize-region, verilog-highlight-buffer)
5747 (verilog-highlight-includes, verilog-highlight-modules)
5748 (verilog-highlight-region, verilog-mode): Rename colorize to
5749 highlight to match other packages. Disable module highlighting,
5750 as received speed complaints, reenable for experimentation only
5751 using new verilog-highlight-modules.
5752 (verilog-read-decls): Fix regexp stack overflow in very large
5753 AUTO_TEMPLATEs, bug250.
5754 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
5755 (verilog-scan): Create verilog-save-buffer-state to standardize
5756 making insignificant changes that shouldn't call hooks.
5757 (verilog-save-no-change-functions, verilog-save-scan-cache)
5758 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
5759 Create verilog-save-no-change-functions to wrap verilog-scan
5760 preservation, and fix to work with nested preserved calls.
5761 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
5762 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
5763 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
5764 (verilog-submit-bug-report): Update variable list to be complete.
5765 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
5766 breaking on-the-fly font-locking.
5767 (verilog-colorize-buffer, verilog-colorize-include-files)
5768 (verilog-colorize-include-files-buffer, verilog-colorize-region)
5769 (verilog-load-file-at-mouse, verilog-load-file-at-point)
5770 (verilog-mode, verilog-read-inst-module-matcher): With point on a
5771 AUTOINST cell instance name, middle mouse button now finds-file on
5772 it. Suggested by Brad Dobbie.
5773 (verilog-alw-get-temps, verilog-auto-reset)
5774 (verilog-auto-sense-sigs, verilog-read-always-signals)
5775 (verilog-read-always-signals-recurse): Fix loop indexes being
5776 AUTORESET. AUTORESET now assumes any variables in the
5777 initialization section of a for() should be ignored.
5778 Reported by Dan Dever.
5779 (verilog-error-font-lock-keywords)
5780 (verilog-error-regexp-emacs-alist)
5781 (verilog-error-regexp-xemacs-alist): Fix error detection of
5782 Cadence HAL, reported by David Asher. Repair drift between the
5783 three similar error variables.
5784 (verilog-modi-lookup, verilog-modi-lookup-cache)
5785 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
5786 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
5787 Fix slow verilog-auto expansion on very large files.
5788 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
5789 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
5790 "{1*2{...". Broke in last revision.
5791 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
5792 submodule connections with replications "{#{a},#{b}}".
5793
5794 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
5795
5796 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
5797 Fix typo in docstring.
5798
5799 2010-10-24 Kenichi Handa <handa@m17n.org>
5800
5801 * face-remap.el (text-scale-adjust): Call read-event with a proper
5802 prompt.
5803
5804 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5805
5806 * emacs-lisp/unsafep.el: Don't mark functions that display
5807 messages as safe. Suggested by Johan Bockgård.
5808
5809 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5810
5811 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
5812 Turn comments into docstrings.
5813
5814 * minibuffer.el (completion--replace): Move point where it belongs
5815 when there's a common suffix (bug#7215).
5816
5817 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5818
5819 Merge read-color and facemenu-read-color (Bug#7242).
5820
5821 * faces.el (read-color): Use the completion code from
5822 facemenu-read-color. Require match in completion. Doc fix.
5823
5824 * facemenu.el (facemenu-read-color): Alias for read-color.
5825 (facemenu-set-foreground, facemenu-set-background):
5826 Use read-color.
5827
5828 * frame.el (set-background-color, set-foreground-color)
5829 (set-cursor-color, set-mouse-color, set-border-color):
5830 Use read-color.
5831
5832 2010-10-24 Leo <sdl.web@gmail.com>
5833
5834 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
5835 argument of delete-file and delete-directory (Bug#7011).
5836
5837 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5838
5839 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
5840 button-buffer-map.
5841
5842 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
5843
5844 * emacs-lisp/package.el (package--generate-package-list): Make the
5845 *Packages* buffer read-only.
5846
5847 2010-10-24 Alan Mackenzie <acm@muc.de>
5848
5849 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
5850 result of `c-beginning-of-decl-1' between invocations of a lambda
5851 function (Bug #7265).
5852
5853 2010-10-24 Daiki Ueno <ueno@unixuser.org>
5854
5855 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
5856 executable is not available on the system (Bug#7268).
5857
5858 2010-10-24 Glenn Morris <rgm@gnu.org>
5859
5860 * select.el (selection-coding-system, next-selection-coding-system):
5861 Sync doc with C versions.
5862
5863 * w32-vars.el (x-select-enable-clipboard):
5864 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
5865 * term/common-win.el (x-select-enable-clipboard): Move here.
5866
5867 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
5868 definition of C variable.
5869
5870 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
5871 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
5872 Don't redefine things that are defined in C.
5873 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
5874 (show-trailing-whitespace, auto-hscroll-mode)
5875 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
5876 Set up the appropriate custom properties.
5877
5878 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5879
5880 Bind "C-c ]" to ...
5881 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
5882 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
5883 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
5884 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
5885
5886 2010-10-23 Glenn Morris <rgm@gnu.org>
5887
5888 * textmodes/flyspell.el (flyspell-mode): If there was an error,
5889 say what it was.
5890
5891 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
5892 Sync docs with C version.
5893
5894 * term/ns-win.el (xw-defined-colors):
5895 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
5896
5897 * term/pc-win.el (x-select-enable-clipboard):
5898 * term/x-win.el (x-select-enable-clipboard):
5899 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
5900
5901 * comint.el (comint-password-prompt-regexp): Make it less vague.
5902 Bump version.
5903
5904 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
5905
5906 * help.el (finder-by-keyword): Remove unnecessary autoload.
5907
5908 2010-10-22 Glenn Morris <rgm@gnu.org>
5909
5910 * loadup.el: Unconditionally load float-sup.
5911 * paren.el (show-paren-delay):
5912 * emacs-lisp/float-sup.el:
5913 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
5914 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
5915 (lazy-lock-stealth-verbose): Assume float support.
5916 * ps-print.el: Assume float support on Emacs.
5917 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
5918 Remove non-float branch.
5919
5920 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
5921 src/Makefile no longer being pre-processed.
5922
5923 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5924
5925 * emacs-lisp/find-func.el (find-library): Use test-completion.
5926
5927 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5928
5929 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
5930
5931 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
5932
5933 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
5934 space in stat format string.
5935 (tramp-send-command): Unset $PS1 when using here documents, in
5936 order not to get several prompts.
5937 (tramp-get-inline-coding): Return `nil' in case of errors.
5938
5939 2010-10-21 Daiki Ueno <ueno@unixuser.org>
5940
5941 * hexl.el (hexl-mode, hexl-mode-exit):
5942 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
5943 (hexl-revert-buffer-function): New function.
5944 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
5945
5946 2010-10-19 Alan Mackenzie <acm@muc.de>
5947
5948 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
5949 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
5950 that these keywords aren't wrongly matched as identifiers.
5951
5952 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
5953 setting of c-new-BEG and c-new-END from c-before-change to
5954 c-after-change. (Bug#7181)
5955
5956 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
5957
5958 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
5959 Don't mark as safe.
5960
5961 * custom.el (custom-theme-set-variables): Likewise.
5962 (load-theme): Add custom-theme-set-faces and
5963 custom-theme-set-variables to safe-functions while loading.
5964 (custom-enabled-themes): Mark as risky.
5965
5966 2010-10-18 Julien Danjou <julien@danjou.info>
5967
5968 * bindings.el: Remove end dashes in default mode-line-format.
5969
5970 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
5971
5972 * bindings.el (global-map): Bind C-d to delete-char and deletechar
5973 to delete-forward-char.
5974
5975 * simple.el (normal-erase-is-backspace-mode): Remap delete to
5976 deletechar, and hence delete-forward-char.
5977
5978 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5979
5980 * repeat.el (repeat): Use read-key (bug#6256).
5981
5982 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
5983
5984 * emacs-lisp/unsafep.el: Don't mark functions that display
5985 messages as safe. Suggested by Johan Bockgård.
5986
5987 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5988
5989 * minibuffer.el (completion--replace): Move point where it belongs
5990 when there's a common suffix (bug#7215).
5991
5992 2010-10-19 Kenichi Handa <handa@m17n.org>
5993
5994 * international/characters.el: Add category '|' (word breakable)
5995 to fullwidth characters.
5996
5997 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
5998
5999 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
6000 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
6001 order to make stat results a float. Patch by Andreas Schwab
6002 <schwab@linux-m68k.org>.
6003
6004 2010-10-18 Julien Danjou <julien@danjou.info>
6005
6006 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
6007 hidden by `make-pointer-invisible'.
6008
6009 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
6010
6011 * files.el (locate-file-completion-table): Strip non-matching elements
6012 before checking length of list (bug#7238).
6013
6014 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
6015
6016 * custom.el (custom-theme-set-variables): Mark as a safe function.
6017 (load-theme): Check forms using unsafep.
6018
6019 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
6020
6021 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
6022
6023 * textmodes/ispell.el (ispell-aspell-find-dictionary):
6024 Fix aspell data file searching (bug#7230).
6025
6026 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
6027
6028 * cus-theme.el (custom-theme--migrate-settings): New var.
6029 (customize-create-theme): Allow editing the `user' theme.
6030 (custom-theme-add-variable, custom-theme-add-var-1)
6031 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
6032 to the front of each variable or face widget.
6033 (custom-theme-write): Save theme settings in the correct order.
6034 Optionally, remove saved settings from user customizations.
6035 (custom-theme-write-variables, custom-theme-write-faces):
6036 Save only the checked widgets.
6037 (customize-themes): Add a link for migrating custom settings.
6038
6039 * custom.el (custom-declare-theme, provide-theme):
6040 Use custom-theme-name-valid-p.
6041 (custom-theme-name-valid-p): Remove checks that are now
6042 unnecessary since themes no longer obey load-path.
6043
6044 * cus-edit.el (custom-variable-value-create): For the simple
6045 style, hide documentation string when hidden.
6046
6047 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
6048
6049 * cus-edit.el (custom-variable, custom-face): Combine the
6050 :inhibit-magic and :display-style properties into a single
6051 :custom-style property.
6052 (custom-toggle-hide-variable, custom-toggle-hide-face):
6053 New functions. If hiding an edited value, save it to :shown-value.
6054 (custom-variable-value-create, custom-face-value-create): Use them.
6055 (custom-magic-reset): Allow magic property to be unset.
6056
6057 * custom.el: Custom themes no longer use load-path.
6058 (custom-theme-load-path): New option. Change built-in theme
6059 directory to etc/.
6060 (custom-enabled-themes): Add custom-theme-load-path dependency.
6061 (custom-theme--load-path): New function.
6062 (load-theme, custom-available-themes): Use it.
6063
6064 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
6065 (customize-themes): Link to custom-theme-load-path variable.
6066 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
6067 :custom-style property.
6068
6069 * themes/*.el: Moved to etc/.
6070
6071 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
6072
6073 * textmodes/reftex-cite.el
6074 (reftex-extract-bib-entries-from-thebibliography): Do not move
6075 point when searching for \bibitem entries. Match entries with
6076 spaces or tabs in front of arguments.
6077
6078 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
6079
6080 * cus-theme.el (customize-create-theme): Delete overlays after
6081 erasing. If given a THEME arg, display only the faces of that arg
6082 instead of custom-theme--listed-faces.
6083 (custom-theme-variable-menu, custom-theme-variable-action)
6084 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
6085 (custom-theme-add-variable, custom-theme-add-face): Apply value
6086 from the theme settings, instead of the current value.
6087 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
6088 (custom-theme-visit-theme): Allow calling outside theme buffers.
6089 (custom-theme-merge-theme): Don't enable the theme when merging.
6090 (custom-theme-write-variables, custom-theme-write-faces): Use the
6091 :shown-value properties to save buffer values, not global ones.
6092 (customize-themes): Display a warning about user customizations.
6093
6094 * cus-edit.el (custom-variable-value-create)
6095 (custom-face-value-create): Obey new special properties
6096 :shown-value and :inhibit-magic.
6097
6098 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
6099
6100 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
6101 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
6102 <dale@codefu.org>.
6103
6104 2010-10-14 Kenichi Handa <handa@m17n.org>
6105
6106 * mail/rmail.el (rmail-show-message-1): Catch an error of
6107 base64-decode-region and just show an error message (bug#7165).
6108
6109 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
6110 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
6111 a font-spec (bug#7197).
6112
6113 2010-10-14 Glenn Morris <rgm@gnu.org>
6114
6115 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
6116
6117 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
6118
6119 * international/mule.el (define-coding-system):
6120 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
6121 * composite.el (compose-region): Fix typo in docstring.
6122
6123 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
6124
6125 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
6126 only after checking the theme-face property.
6127
6128 * faces.el (face-spec-reset-face): Reset all attributes in one
6129 single call to set-face-attribute.
6130 (face-spec-match-p): Make it a defsubst.
6131 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
6132 (x-create-frame-with-faces, tty-create-frame-with-faces)
6133 (tty-set-up-initial-frame-faces): Don't recompute face specs in
6134 frame-set-background-mode, since they are recomputed immediately
6135 afterwards in face-set-after-frame-default.
6136 (face-set-after-frame-default): Minor optimization.
6137 (cursor): Provide non-trivial defface spec.
6138
6139 * custom.el (custom-theme-recalc-face): Simplify.
6140
6141 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
6142
6143 * calc/calc-alg.el (math-var): Rename from `var'.
6144 (math-is-polynomial, math-is-poly-rec): Replace `var'
6145 with `math-var'.
6146
6147 * calc/calcalg2.el (math-var): Rename from `var'.
6148 (calcFunc-table, math-scan-for-limits): Replace `var'
6149 with `math-var'.
6150
6151 2010-10-13 Glenn Morris <rgm@gnu.org>
6152
6153 * subr.el (last): Deal with dotted lists (reported in bug#7174).
6154
6155 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
6156
6157 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
6158
6159 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6160
6161 * net/tls.el (tls-program): Remove spurious %s from openssl.
6162 (tls-starttls-switches): Remove starttls hack.
6163 (open-tls-stream): Ditto.
6164 (tls-find-starttls-argument): Ditto.
6165
6166 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
6167
6168 * image.el (image-library-alist): Declare as obsolete alias.
6169 (image-type-available-p): Use `dynamic-library-alist'.
6170
6171 * term/w32-win.el (dynamic-library-alist):
6172 Use instead of `image-library-alist'.
6173
6174 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
6175
6176 * subr.el (last): Make it faster. (Bug#7174)
6177
6178 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
6179
6180 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
6181
6182 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
6183
6184 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
6185 (describe-theme-1): Extract doc from unloaded themes.
6186
6187 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
6188
6189 * themes/tango-theme.el:
6190 * themes/tango-dark-theme.el:
6191 * themes/wheatgrass-theme.el: New files.
6192
6193 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
6194
6195 * cus-theme.el (describe-theme, customize-themes)
6196 (custom-theme-save): New commands.
6197 (custom-new-theme-mode-map): Bind C-x C-s.
6198 (custom-new-theme-mode): Use custom--initialize-widget-variables.
6199 (customize-create-theme): New optional arg THEME.
6200 (custom-theme-revert): Use it.
6201 (custom-theme-visit-theme): Remove dead code.
6202 (custom-theme-merge-theme): Use custom-available-themes.
6203 (custom-theme-write): Make interactive.
6204 (custom-theme-write): Use custom-theme-name-valid-p.
6205 (describe-theme-1, custom-theme-choose-revert)
6206 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
6207 New funs.
6208 (custom-theme-allow-multiple-selections): New option.
6209 (custom-theme-choose-mode): New major mode.
6210
6211 * custom.el (custom-theme-set-variables): Remove dead code.
6212 Obey custom--inhibit-theme-enable.
6213 (custom--inhibit-theme-enable): New var.
6214 (provide-theme): Obey it.
6215 (load-theme): Replace load with manual read/eval, in order to
6216 check for correctness. Use custom-theme-name-valid-p.
6217 (custom-theme-name-valid-p): New function.
6218 (custom-available-themes): Use it.
6219
6220 * cus-edit.el (custom--initialize-widget-variables): New function.
6221 (Custom-mode): Use it.
6222
6223 * cus-face.el (custom-theme-set-faces): Remove dead code.
6224 Obey custom--inhibit-theme-enable.
6225
6226 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
6227
6228 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
6229
6230 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
6231
6232 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
6233
6234 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
6235 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
6236 (mac-right-option-modifier): New alias for ns-right-option-modifier.
6237
6238 * cus-start.el (all): ns-right-alternate-modifier is new.
6239
6240 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6241
6242 * emacs-lisp/lisp.el (lisp-completion-at-point):
6243 Use emacs-lisp-mode-syntax-table for the whole function.
6244
6245 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
6246
6247 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
6248 instead of font-lock-mode before adding keywords.
6249 Remove hi-lock-mode off code. Remove inhibit hack.
6250 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
6251 non-nil; removed hook inhibit hack.
6252
6253 2010-10-12 Glenn Morris <rgm@gnu.org>
6254
6255 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
6256 (load-path-shadows-find): ... to this.
6257 (list-load-path-shadows): Update for above change.
6258
6259 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
6260
6261 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
6262
6263 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
6264 Fix comment for declare-function.
6265
6266 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
6267
6268 * custom.el (custom-fix-face-spec): New function; code moved from
6269 custom-face-edit-fix-value.
6270 (custom-push-theme): Use it when checking if a face has been
6271 changed outside customize.
6272 (custom-available-themes): New function.
6273 (load-theme): Use it.
6274
6275 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
6276
6277 * custom.el (custom-push-theme): Cleanup (use cond).
6278 (disable-theme): Recompute the saved-face property.
6279 (custom-theme-recalc-face): Follow face alias before setting prop.
6280
6281 * image.el (image-checkbox-checked, image-checkbox-unchecked):
6282 New variables, containing checkbox images.
6283
6284 * startup.el (fancy-startup-tail):
6285 * wid-edit.el (checkbox): Use them.
6286
6287 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
6288
6289 * shell.el (shell-mode-map):
6290 * progmodes/modula2.el (m2-mode-map):
6291 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
6292 * play/mpuz.el (mpuz-mode-map):
6293 * play/landmark.el (lm-mode-map):
6294 * play/decipher.el (decipher-mode-map):
6295 * play/5x5.el (5x5-mode-map):
6296 * net/telnet.el (telnet-mode-map):
6297 * net/quickurl.el (quickurl-list-mode-map):
6298 * net/mairix.el (mairix-searches-mode-map):
6299 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
6300 * net/dig.el (dig-mode-map):
6301 * mail/mspools.el (mspools-mode-map):
6302 * hexl.el (hexl-mode-map):
6303 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
6304 (wordstar-C-o-map, wordstar-C-q-map):
6305 * emacs-lisp/edebug.el (edebug-eval-mode-map):
6306 * emacs-lisp/chart.el (chart-map):
6307 * edmacro.el (edmacro-mode-map):
6308 * erc/erc-list.el (erc-list-menu-mode-map):
6309 * array.el (array-mode-map): Declare and define in one step.
6310
6311 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
6312
6313 2010-10-10 Daiki Ueno <ueno@unixuser.org>
6314
6315 * epa.el (epa-passphrase-callback-function): Display filename
6316 passed as the 3rd arg.
6317 * epa-file.el (epa-file-passphrase-callback-function):
6318 Pass filename to epa-passphrase-callback-function.
6319
6320 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
6321
6322 * cus-edit.el (custom-face-widget-to-spec)
6323 (custom-face-get-current-spec, custom-face-state): New functions.
6324 (custom-face-set, custom-face-mark-to-save)
6325 (custom-face-value-create, custom-face-state-set): Use them.
6326
6327 * cus-theme.el (custom-theme--listed-faces): New var.
6328 (customize-create-theme): Use *Custom Theme* as the buffer name.
6329 Set revert-buffer-function. Optional arg BUFFER. Insert all
6330 faces listed in custom-theme--listed-faces.
6331 (custom-theme-revert): New function.
6332 (custom-theme-add-variable, custom-theme-add-face): Insert at the
6333 bottom of the list.
6334 (custom-theme-write): Prompt for theme name if empty.
6335 (custom-theme-write-variables): Use dolist.
6336 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
6337
6338 2010-10-09 Alan Mackenzie <acm@muc.de>
6339
6340 Enhance fontification of declarators to take account of the
6341 presence/absence of "typedef".
6342
6343 * cc-engine.el (c-forward-type): New &optional param
6344 "brace-block-too".
6345 (c-forward-decl-or-cast-1): cdr of return value now indicates the
6346 presence of either or both of a "struct"-like keyword and "typedef".
6347
6348 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
6349 fontification of declarators which follow a "}".
6350 (c-font-lock-declarations): Fontify declarators according to the
6351 presence/absence of "typedef".
6352
6353 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
6354 for "typedef".
6355 (c-typedef-decl-key): New lang variable built from
6356 c-typedef-decl-kwds.
6357
6358 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
6359
6360 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
6361 since that's too annoying. Move the filter groups commands to
6362 TAB/backtab.
6363
6364 * epa.el (epa-passphrase-callback-function): Say what we're
6365 querying the password for.
6366
6367 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
6368 behaviour, don't bury the ibuffer buffer when visiting other buffers.
6369
6370 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
6371
6372 * cus-edit.el (custom-commands, custom-buffer-create-internal)
6373 (custom-magic-value-create): Pad button tags with spaces.
6374 (custom-face-edit): New variable.
6375 (custom-face-value-create): Determine whether to use the usual
6376 face editor here, instead of using custom-face-selected.
6377 Pass face defaults to custom-face-edit widget.
6378 (custom-face-selected, custom-display-unselected): Delete widgets.
6379 (custom-display-unselected-match): Function removed.
6380 (custom-face-set, custom-face-mark-to-save):
6381 Accept custom-face-edit widgets as the direct widget child.
6382
6383 * wid-edit.el (widget--completing-widget): New var.
6384 (widget-default-complete): Bind it when doing completion.
6385 (widget-string-complete, widget-file-complete): Use it.
6386
6387 2010-10-09 Glenn Morris <rgm@gnu.org>
6388
6389 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
6390 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
6391 (holiday-hebrew-misc): Small simplifications.
6392
6393 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
6394
6395 * net/browse-url.el: Don't require thingatpt, term, dired,
6396 executable, or w3-auto when compiling.
6397 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
6398 Declare.
6399 (browse-url-text-emacs): Require term.
6400
6401 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
6402
6403 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
6404
6405 2010-10-08 Glenn Morris <rgm@gnu.org>
6406
6407 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
6408
6409 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
6410 (shadows-compare-text-p): Make it an obsolete alias for...
6411 (load-path-shadows-compare-text): ... new name.
6412 (find-emacs-lisp-shadows): Update for above name change.
6413 (load-path-shadows-same-file-or-nonexistent): New name for the old
6414 shadow-same-file-or-nonexistent.
6415
6416 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
6417
6418 * minibuffer.el (completion--some, completion--do-completion)
6419 (minibuffer-complete-and-exit, minibuffer-completion-help)
6420 (completion-basic-try-completion)
6421 (completion-basic-all-completions)
6422 (completion-pcm--find-all-completions): Use lexical-let to
6423 avoid some false matches in variable completion (Bug#7056)
6424
6425 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
6426
6427 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
6428
6429 2010-10-08 Leo <sdl.web@gmail.com>
6430
6431 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
6432 return non-nil if the file exists (Bug#7090).
6433
6434 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6435
6436 * minibuffer.el (completion--replace):
6437 Better preserve markers (bug#7138).
6438
6439 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
6440
6441 * server.el (server-process-filter): Doc fix.
6442
6443 2010-10-08 Drew Adams <drew.adams@oracle.com>
6444
6445 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
6446
6447 2010-10-08 Glenn Morris <rgm@gnu.org>
6448
6449 * vc/ediff-wind.el (ediff-setup-control-frame):
6450 * vc/ediff-ptch.el (ediff-default-backup-extension):
6451 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
6452 (ediff-exec-process): Remove system-types emx, windows-95.
6453
6454 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
6455
6456 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
6457
6458 * cus-edit.el (custom-variable, custom-face): Doc fix.
6459 (custom-face-edit): Add value-create attribute.
6460 (custom-face-edit-value-create)
6461 (custom-face-edit-value-visibility-action): New functions.
6462 Hide unused face attributes by default, and add a visibility toggle.
6463 (custom-face-edit-deactivate): Show empty values with shadow face.
6464 (custom-face-selected): Only use this for face specs with default
6465 attributes.
6466 (custom-face-value-create): Cleanup.
6467
6468 * wid-edit.el (widget-checklist-value-create): Use dolist.
6469 (widget-checklist-match-find): Make second arg optional.
6470
6471 2010-10-07 Glenn Morris <rgm@gnu.org>
6472
6473 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
6474 Prefix things.
6475
6476 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
6477 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
6478 load-path-shadows-mode, update references.
6479 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
6480 Rename variable and button.
6481 (list-load-path-shadows): Update button caller.
6482
6483 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6484
6485 * emacs-lisp/smie.el (smie-bnf-classify): New function.
6486 (smie-bnf-precedence-table): Use it to remember the closers/openers.
6487 (smie-merge-prec2s): Handle those new entries.
6488 (smie-prec2-levels): Only set precedence to nil for actual
6489 openers/closers.
6490 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
6491 that is now unnecessary.
6492
6493 2010-10-07 Miles Bader <miles@gnu.org>
6494
6495 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
6496
6497 2010-10-07 Glenn Morris <rgm@gnu.org>
6498
6499 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
6500 (mail-position-on-field): Remove declarations.
6501 (mail-position-on-field): Autoload it.
6502 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
6503 and mail-header-end. Don't require sendmail.
6504
6505 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
6506 (shadow-mode): New mode.
6507 (shadow-find-file): New button.
6508 (list-load-path-shadows): Use shadow-mode and buttons.
6509
6510 * iimage.el (iimage-version): Remove.
6511 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
6512 Turn into defcustoms.
6513 (iimage-mode-map): Give it a doc string.
6514
6515 * calendar/appt.el (appt-activate): Give a warning rather than an error
6516 if there is no diary-file.
6517
6518 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
6519
6520 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6521 Use `tramp-handle-find-backup-file-name'.
6522
6523 2010-10-06 Glenn Morris <rgm@gnu.org>
6524
6525 * font-core.el (font-lock-defaults-alist): Remove variable.
6526 (font-lock-mode): Doc fix.
6527 (font-lock-default-function): Do not consult font-lock-defaults-alist.
6528 * font-lock.el (font-lock-refresh-defaults): Doc fix.
6529 (font-lock-set-defaults): Doc fix.
6530 Do not consult font-lock-defaults-alist.
6531
6532 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
6533
6534 * emacs-lisp/cl.el: No longer provide cl-19.
6535
6536 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
6537
6538 * net/tramp.el (tramp-handle-directory-files-and-attributes)
6539 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
6540 New defuns, taken from tramp-smb.el.
6541 (tramp-coding-system-change-eol-conversion)
6542 (tramp-set-process-query-on-exit-flag): Remove.
6543
6544 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
6545 (tramp-compat-coding-system-change-eol-conversion)
6546 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
6547 from tramp.el.
6548
6549 * net/tramp-gvfs.el:
6550 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
6551 by `tramp-compat-set-process-query-on-exit-flag'.
6552
6553 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
6554 Use `tramp-handle-directory-files-and-attributes',
6555 `tramp-handle-file-exists-p' and
6556 `tramp-handle-file-newer-than-file-p'.
6557 (tramp-imap-handle-file-exists-p)
6558 (tramp-imap-handle-file-executable-p)
6559 (tramp-imap-handle-file-readable-p)
6560 (tramp-imap-handle-directory-files-and-attributes)
6561 (tramp-imap-handle-file-newer-than-file-p): Remove.
6562
6563 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
6564 by `tramp-compat-set-process-query-on-exit-flag' and
6565 `tramp-coding-system-change-eol-conversion' by
6566 `tramp-compat-coding-system-change-eol-conversion'.
6567
6568 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6569 Use `tramp-handle-directory-files-and-attributes',
6570 `tramp-handle-file-exists-p' and
6571 `tramp-handle-file-newer-than-file-p'.
6572 (tramp-smb-handle-directory-files-and-attributes)
6573 (tramp-smb-handle-file-exists-p)
6574 (tramp-smb-handle-file-newer-than-file-p): Remove.
6575 (tramp-smb-maybe-open-connection):
6576 Replace `tramp-set-process-query-on-exit-flag' by
6577 `tramp-compat-set-process-query-on-exit-flag'.
6578
6579 2010-10-05 Glenn Morris <rgm@gnu.org>
6580
6581 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
6582
6583 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
6584
6585 Continue reorganization of load dependencies. (Bug#7156)
6586
6587 * net/tramp.el (tramp-handle-file-local-copy-hook)
6588 (tramp-delete-temp-file-function): Move down.
6589 (tramp-exists-file-name-handler): Move up.
6590 (tramp-register-file-name-handlers): Simplify autoload.
6591 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
6592 (tramp-handle-directory-files, tramp-handle-dired-uncache)
6593 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
6594 (tramp-handle-file-name-completion)
6595 (tramp-handle-file-name-directory)
6596 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
6597 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
6598 (tramp-handle-find-backup-file-name)
6599 (tramp-handle-insert-file-contents, tramp-handle-load)
6600 (tramp-handle-substitute-in-file-name)
6601 (tramp-handle-unhandled-file-name-directory)
6602 (tramp-mode-string-to-int, tramp-local-host-p)
6603 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
6604
6605 * net/tramp-gvfs.el (top):
6606 * net/tramp-smb.el (top): Do not require 'tramp-sh.
6607
6608 * net/tramp-sh.el (all): Move several objects to tramp.el, see
6609 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
6610
6611 2010-10-04 Glenn Morris <rgm@gnu.org>
6612
6613 * calendar/appt.el (appt-add): Ensure reminders are enabled.
6614 (appt-activate): Give status messages.
6615
6616 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
6617
6618 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
6619 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
6620 `gnutls-negotiate' (formerly `starttls-negotiate').
6621 Remove trivial wrapper `starttls-open-stream'.
6622
6623 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
6624
6625 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
6626 log-outgoing commands.
6627 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
6628 to create a buffer local revert-buffer-function variable.
6629 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
6630 revert-buffer-function lambda.
6631
6632 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
6633
6634 * net/gnutls.el (starttls-negotiate): Use the plist interface to
6635 `gnutls-boot'. Make TYPE the only required parameter.
6636 Allow TRUSTFILES and KEYFILES to be lists.
6637 (open-ssl-stream): Use it.
6638
6639 2010-10-03 Glenn Morris <rgm@gnu.org>
6640
6641 * subr.el (directory-sep-char): Remove obsolete variable.
6642 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
6643 it is "necessary".
6644
6645 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
6646 * vc/vc.el (vc-static-header-alist): Doc fix.
6647 * vc/vc-cvs.el (vc-cvs-header):
6648 * vc/vc-rcs.el (vc-rcs-header):
6649 * vc/vc-sccs.el (vc-sccs-header):
6650 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
6651 * obsolete/vc-mcvs.el (vc-mcvs-header):
6652 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
6653 on XEmacs.
6654
6655 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
6656
6657 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
6658 Remove obsolete use of binary-overwrite-mode (Bug#7001).
6659
6660 2010-10-03 Glenn Morris <rgm@gnu.org>
6661
6662 * obsolete/x-menu.el: Remove file, obsolete since 21.1.
6663
6664 * textmodes/rst.el (rst-font-lock-keywords-function):
6665 Drop Emacs 20 code.
6666
6667 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
6668
6669 * printing.el: Drop Emacs 20 code.
6670
6671 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
6672 without having used appt.el already).
6673
6674 * subr.el (make-local-hook): Remove function obsolete since 21.1.
6675 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
6676 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
6677 XEmacs.
6678 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
6679 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
6680
6681 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
6682 (charset-width, find-charset-region, chars-in-region, forward-point)
6683 (encode-coding-string, coding-system-p, ccl-execute-on-string)
6684 (define-ccl-program, multibyte-string-p, string-make-multibyte):
6685 Remove compatibility cruft (none of these are used by ps*.el).
6686
6687 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
6688
6689 * subr.el (booleanp): Return t instead of a list (Bug#7086).
6690
6691 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
6692
6693 * server.el (server-process-filter, server-return-error):
6694 Give emacsclient time to shut down after receiving an error string.
6695
6696 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
6697
6698 * files.el (remote-file-name-inhibit-cache): New defcustom.
6699
6700 * time.el (display-time-file-nonempty-p):
6701 Use `remote-file-name-inhibit-cache'.
6702
6703 * net/tramp.el (tramp-completion-reread-directory-timeout):
6704 Fix docstring.
6705
6706 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
6707 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
6708 `remote-file-name-inhibit-cache'. Check also for an integer
6709 value. Add/increase counter when `tramp-verbose' >= 10.
6710 (tramp-set-file-property): Add/increase counter when
6711 `tramp-verbose' >= 10.
6712
6713 * net/tramp-cmds.el (tramp-cleanup-all-connections)
6714 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
6715 (tramp-bug): Set tramp-autoload cookie. Report all interned
6716 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
6717 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
6718 characters only in strings.
6719
6720 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
6721 to backward compatibility.
6722
6723 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
6724 (tramp-handle-file-name-all-completions)
6725 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
6726 (tramp-open-connection-setup-interactive-shell):
6727 Call `tramp-cleanup-connection' directly.
6728
6729 2010-10-02 Glenn Morris <rgm@gnu.org>
6730
6731 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
6732
6733 * subr.el (char-bytes): Remove obsolete function.
6734
6735 * isearch.el (isearch-return-char): Remove obsolete function.
6736
6737 * mouse.el: No longer provide mldrag.
6738 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
6739 Remove obsolete aliases.
6740
6741 * comint.el (comint-kill-output): Remove obsolete alias.
6742
6743 * composite.el (decompose-composite-char): Remove obsolete function.
6744 * ps-def.el (decompose-composite-char): Remove unused function.
6745
6746 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
6747
6748 * outline.el (outline-visible): Remove obsolete function.
6749
6750 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
6751 * faces.el (internal-find-face, internal-get-face)
6752 (frame-update-faces, frame-update-face-colors)
6753 (x-frob-font-weight, x-frob-font-slant)
6754 (internal-frob-font-weight, internal-frob-font-slant)
6755 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
6756 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
6757 (x-make-font-bold-italic): Remove functions and aliases, obsolete
6758 since Emacs 21.1.
6759 * emulation/viper-util.el (viper-get-face):
6760 * obsolete/lucid.el (find-face, get-face): Use facep.
6761 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
6762 Remove unused functions.
6763 * vc/ediff-util.el (ediff-submit-report): Doc fix.
6764
6765 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
6766 delete tempfile if interrupted during compilation.
6767
6768 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6769
6770 * net/tls.el (tls-starttls-switches): Give up on using starttls with
6771 gnutls-cli.
6772 (tls-program): Add --insecure to be consistent with the defaults from
6773 openssl s_client. Now all three commands are insecure.
6774
6775 2010-10-01 Eli Zaretskii <eliz@gnu.org>
6776
6777 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
6778 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
6779 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
6780
6781 2010-10-01 Glenn Morris <rgm@gnu.org>
6782
6783 * obsolete/sc.el: Remove file.
6784
6785 * files.el (temporary-file-directory): On darwin, also try
6786 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
6787
6788 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
6789
6790 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
6791 Let's not break compatibility gratuitously, shall we?
6792
6793 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6794
6795 * net/tls.el (tls-starttls-switches): New variable.
6796 (tls-find-starttls-argument): Use it.
6797 (open-tls-stream): Ditto.
6798
6799 * net/netrc.el (netrc-credentials): Return the value of the "default"
6800 entry.
6801 (netrc-machine): Ditto.
6802
6803 2010-09-30 Eli Zaretskii <eliz@gnu.org>
6804
6805 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
6806
6807 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
6808
6809 * server.el (server-start): Don't write pid to the authentication file.
6810 (server-create-tty-frame): Don't send pid.
6811 (server-process-filter): Send pid at the start of every connection.
6812
6813 2010-09-30 Glenn Morris <rgm@gnu.org>
6814
6815 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
6816 (show-all-diary-entries): Remove obsolete function aliases.
6817
6818 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
6819 Remove options, obsolete since 22.1.
6820 (appt-display-format, appt-display-message):
6821 Remove backwards-compatibility code.
6822 (appt-check): No longer check appt-issue-message.
6823 (appt-make-list): No longer autoload it. Doc fix. No longer
6824 activate the package.
6825
6826 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
6827
6828 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
6829 (starttls-negotiate): Just call boot, and let the handshake be
6830 triggered from the read loop.
6831
6832 2010-09-29 Glenn Morris <rgm@gnu.org>
6833
6834 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
6835 not displaying the diary.
6836 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
6837 * calendar/appt.el (appt-check): No longer need to kill diary.
6838
6839 * calendar/diary-lib.el (diary-list-entries): Move the
6840 "Preparing..." message entirely here.
6841 (diary-simple-display, diary-fancy-display): Move "Preparing..."
6842 messages to diary-list-entries.
6843 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
6844 diary-display-function.
6845
6846 * calendar/diary-lib.el (diary-include-other-diary-files):
6847 Trap some recursive includes.
6848
6849 * calendar/appt.el (appt-activate): Check diary file.
6850
6851 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
6852
6853 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
6854 construction.
6855
6856 * calendar/time-date.el: No need to require cl for Emacs 21.
6857
6858 2010-09-28 Glenn Morris <rgm@gnu.org>
6859
6860 * calendar/appt.el (appt-check): Minor simplification.
6861
6862 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
6863
6864 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
6865 citation prefix.
6866
6867 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
6868
6869 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
6870 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
6871
6872 2010-09-27 Kenichi Handa <handa@m17n.org>
6873
6874 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
6875 "ustar" format.
6876
6877 2010-09-27 Kenichi Handa <handa@m17n.org>
6878
6879 * international/mule.el (define-coding-system): Docstring fixed.
6880
6881 * international/mule-diag.el (describe-character-set): Use princ
6882 with proper print-length and print-level instead of insert.
6883
6884 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
6885
6886 * window.el (walk-windows): Doc fix (bug#7105).
6887
6888 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6889
6890 * emacs-lisp/float-sup.el (e): Remove.
6891
6892 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
6893
6894 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
6895 variable.
6896 (starttls-negotiate): Use it.
6897
6898 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6899
6900 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
6901 back.
6902
6903 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
6904
6905 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
6906
6907 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6908
6909 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
6910
6911 * net/netrc.el (netrc-store-data): New function.
6912
6913 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
6914
6915 * net/gnutls.el: GnuTLS glue code to set up a connection.
6916
6917 2010-09-25 Julien Danjou <julien@danjou.info>
6918
6919 * notifications.el: Call dbus-register-signal only if it is bound.
6920
6921 2010-09-25 Glenn Morris <rgm@gnu.org>
6922
6923 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6924 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
6925 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
6926 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
6927 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
6928 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
6929 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
6930 * eshell/esh-util.el, eshell/esh-var.el:
6931 Remove leading `*' from docs of faces and defcustoms.
6932
6933 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
6934
6935 * eshell/em-ls.el (eshell-ls-archive-regexp):
6936 * eshell/esh-util.el (eshell-tar-regexp):
6937 * ibuffer.el (ibuffer-compressed-file-name-regexp):
6938 * info.el (Info-suffix-list):
6939 * international/mule.el (auto-coding-alist):
6940 * woman.el (woman-file-regexp, woman-file-compression-regexp):
6941 * progmodes/etags.el (tags-compression-info-list):
6942 Support xz compression.
6943
6944 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
6945
6946 * files.el (get-free-disk-space): Don't assume the "df" output
6947 columns line up (Bug#6995).
6948
6949 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
6950
6951 * finder.el (finder-unknown-keywords):
6952 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
6953 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
6954
6955 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
6956
6957 * server.el (server-start): Revert part of 2010-08-08 change. Using
6958 address 127.0.0.1 for local host is now done in Fmake_network_process.
6959
6960 2010-09-24 Glenn Morris <rgm@gnu.org>
6961
6962 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
6963 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
6964 * textmodes/css-mode.el, textmodes/dns-mode.el:
6965 Move autoloaded auto-mode-alist entries to files.el.
6966 * files.el (auto-mode-alist): Move entries here.
6967
6968 2010-09-23 Glenn Morris <rgm@gnu.org>
6969
6970 * isearch.el (isearch-lazy-highlight-cleanup)
6971 (isearch-lazy-highlight-initial-delay)
6972 (isearch-lazy-highlight-interval)
6973 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
6974 * net/net-utils.el (ipconfig-program-options):
6975 Move aliases to options before the associated definitions.
6976
6977 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6978
6979 * newcomment.el (comment-normalize-vars): Better test validity of
6980 comment-end-skip.
6981
6982 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6983
6984 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
6985 (float-e): New name for `e'.
6986 (degrees-to-radians, radians-to-degrees):
6987 * calendar/solar.el (solar-longitude):
6988 * calculator.el (calculator-registers, calculator-funcall):
6989 * textmodes/artist.el (artist-spray-random-points):
6990 * play/bubbles.el (bubbles--initialize-images): Use new names.
6991
6992 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
6993
6994 Update to CEDET 1.0's version of EIEIO.
6995
6996 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
6997 New function.
6998 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
6999 (eieio-default-eval-maybe): Eval val instead of unquoting only.
7000 (class-precedence-list): If class is nil, return nil.
7001 (eieio-generic-call): If class of first input arg is nil, don't
7002 look up static methods, and do check for primary methods.
7003 (initialize-instance): See if the default needs to be evaluated
7004 during the constructor.
7005 (eieio-perform-slot-validation-for-default): Don't do the check
7006 for values that will eventually be evaluated.
7007 (eieio-eval-default-p): New function.
7008 (eieio-default-eval-maybe): Use it.
7009
7010 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
7011
7012 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
7013 method-invocation-order.
7014 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
7015 (eieio-class-precedence-dfs): Compute class precedence list using
7016 dfs algorithm.
7017 (eieio-class-precedence-bfs): Compute class precedence list using
7018 bfs algorithm.
7019 (eieio-class-precedence-c3): Compute class precedence list using
7020 c3 algorithm.
7021 (class-precedence-list): New function.
7022 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
7023 (inconsistent-class-hierarchy): New error symbol.
7024 (call-next-method): Stow the replacement argument list for future
7025 call-next-method invocations.
7026
7027 2010-09-23 Glenn Morris <rgm@gnu.org>
7028
7029 * calendar/appt.el (appt-check): If not displaying the diary,
7030 use (diary 1) to only get the entries we need.
7031 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
7032 that it is in day order. (Bug#7019)
7033
7034 * calendar/appt.el (appt-check): Rather than showing the diary,
7035 just turn off invisible display, and only if needed.
7036
7037 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
7038
7039 2010-09-23 Glenn Morris <rgm@gnu.org>
7040
7041 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
7042 (byte-compile-defvar, byte-compile-cl-warn):
7043 Start warnings with lower-case, like the majority.
7044
7045 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
7046
7047 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
7048
7049 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
7050 * files.el (auto-mode-alist): Move ld-script entries here, further down
7051 the list.
7052
7053 * vc/add-log.el: Don't require timezone when compiling.
7054 (timezone-make-date-sortable): Autoload it.
7055 (change-log-sortable-date-at): Don't require timezone.
7056 Use `ignore-errors'.
7057
7058 * comint.el (comint-use-prompt-regexp-instead-of-fields):
7059 Move alias before definition, so it does not need autoloading.
7060
7061 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
7062 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
7063 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
7064 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
7065 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
7066 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
7067 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
7068 * textmodes/tex-mode.el, textmodes/two-column.el:
7069 Remove leading `*' from docs of defcustoms etc.
7070
7071 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
7072
7073 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
7074
7075 2010-09-22 Dan Christensen <jdc@uwo.ca>
7076
7077 * calendar/time-date.el (date-to-time): Try using parse-time-string
7078 first before using the slower timezone-make-date-arpa-standard.
7079
7080 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
7081
7082 * calendar/time-date.el (format-seconds): Comment fix.
7083
7084 2010-09-22 Glenn Morris <rgm@gnu.org>
7085
7086 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
7087 is not automatically buffer-local.
7088
7089 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
7090
7091 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
7092 (smie-indent-comment): Be more careful with comment-start-skip.
7093 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
7094 (smie-indent-functions): Use them.
7095
7096 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
7097
7098 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
7099
7100 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
7101
7102 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
7103 tool-bar-position. Don't modify frame parameters here.
7104 (menu-bar-options-save): Add tool-bar-position.
7105
7106 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
7107
7108 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7109
7110 * textmodes/reftex-parse.el (reftex-what-macro)
7111 (reftex-context-substring): Let-bind forward-sexp-function to nil
7112 since we don't need/want to treat \begin...\end as a block (bug#7053).
7113
7114 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
7115
7116 * simple.el (blink-matching-open): Use syntax-class.
7117
7118 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
7119 Set invisibility spec for pascal's outline mode.
7120 (pascal-outline-change): Clean up calling convention.
7121 (pascal-show-all, pascal-hide-other-defuns): Update callers.
7122
7123 * progmodes/prolog.el (prolog-smie-forward-token)
7124 (prolog-smie-backward-token): New functions.
7125 (prolog-mode-variables): Use them to parse "!," correctly.
7126 Set up smie-blink-matching for ".".
7127
7128 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
7129 and `end'.
7130 (ispell-region, ispell-process-line): Update users.
7131
7132 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
7133 point-min==1.
7134
7135 * textmodes/ispell.el: Fix commenting convention.
7136 (ispell-parse-output): Simplify, use push.
7137 (ispell-region): Use match-string-no-properties.
7138 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
7139 (ispell-minor-mode): Use define-minor-mode.
7140 (ispell-message): Remove unused var `skip-regexp'.
7141 (ispell-add-per-file-word-list): Use dynamic let-binding.
7142 Try and use the proper comment marker.
7143
7144 * mail/sendmail.el: Fix commenting convention.
7145 (sendmail-send-it): Use line-beginning-position.
7146
7147 * help-fns.el (describe-variable): Add original value, if applicable.
7148
7149 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
7150
7151 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
7152
7153 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
7154
7155 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7156
7157 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
7158 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
7159 (smie-prec2-levels): Use them to better diagnose precedence cycles.
7160 (smie-blink-matching-check): Don't signal a mismatch if car is t.
7161 (smie-blink-matching-open): Rewrite to remove assumptions, so that
7162 something like "." can also be a closer.
7163 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
7164 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
7165 Rename internal functions to use "--". Update callers.
7166
7167 * frame.el (make-frame-names-alist): Don't list frames on other displays.
7168
7169 * fringe.el (fringe-styles): New var.
7170 (fringe-mode, fringe-query-style): Use it.
7171
7172 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
7173
7174 * progmodes/sql.el: Version 2.8
7175 (sql-login-params): Update widget structure; changes still needed.
7176 (sql-product-alist): Add :list-all and :list-table features for
7177 SQLite, Postgres and MySQL products.
7178 (sql-redirect): Handle default value.
7179 (sql-execute, sql-execute-feature): New functions.
7180 (sql-read-table-name): New function.
7181 (sql-list-all, sql-list-table): New functions. User API.
7182 (sql-mode-map, sql-interactive-mode-map): Add key definitions
7183 for above functions.
7184 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
7185 for above functions.
7186 (sql-postgres-login-params): Add user and database defaults.
7187 (sql-buffer-live-p): Bug fix.
7188 (sql-product-history): New variable.
7189 (sql-read-product): New function. Use it.
7190 (sql-set-product, sql-product-interactive): Use it.
7191 (sql-connection-history): New variable.
7192 (sql-read-connection): New function. Use it.
7193 (sql-connect): New function.
7194 (sql-for-each-login): Redesign function interface.
7195 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
7196 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
7197 (sql-comint): Check for program. Existing live buffer.
7198 (sql-comint-postgres): Add port parameter.
7199
7200 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7201
7202 * emacs-lisp/warnings.el: Fix commenting convention.
7203 (display-warning): Use special mode and make the buffer read-only.
7204
7205 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
7206
7207 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
7208 empty string when it follows a repeated or optional pattern.
7209
7210 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
7211
7212 * indent.el (indent-according-to-mode): Apply syntax-propertize.
7213 (indent-region): Use indent-according-to-mode.
7214
7215 2010-09-18 Eli Zaretskii <eliz@gnu.org>
7216
7217 * fringe.el (fringe-mode): Doc fix.
7218
7219 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
7220
7221 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
7222 refreshing the preview buffer.
7223
7224 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
7225
7226 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
7227 (latex-syntax-propertize-rules): New consts; replace
7228 tex-font-lock-syntactic-keywords.
7229 (tex-env-mark, latex-env-before-change): New functions.
7230 (latex-electric-env-pair-mode): New minor mode.
7231 (tex-font-lock-verb): Change arguments; do move point.
7232 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
7233 representation as a form of comment.
7234 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
7235 (doctex-syntax-propertize-rules): New const; replaces
7236 doctex-font-lock-syntactic-keywords.
7237 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
7238
7239 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
7240 (fortran-make-syntax-propertize-function): New function; replaces
7241 fortran-font-lock-syntactic-keywords.
7242 (fortran-mode): Use it.
7243 (fortran-line-length): Use it. Improve interactive spec.
7244
7245 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
7246 (syntax-propertize-rules): Add var-ref case. Fix offset computation
7247 when adding surrounding \(..\).
7248
7249 * progmodes/js.el (js-mode): Fix last change (bug#7054).
7250
7251 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7252
7253 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
7254 Use with-current-buffer.
7255
7256 * isearch.el (isearch-face): Rename from `isearch'.
7257 (isearch-highlight): Use new name.
7258
7259 2010-09-17 Eli Zaretskii <eliz@gnu.org>
7260
7261 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
7262 5, for `half' width fringes. (Bug#6933)
7263
7264 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7265
7266 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
7267 (byte-compile-defvar): "foo/bar" does not lack a prefix.
7268
7269 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
7270
7271 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
7272
7273 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
7274 in calculating new frame position. Add more space between new and
7275 parent on the left (Bug#7048).
7276
7277 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
7278
7279 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
7280 defmacro.
7281
7282 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
7283
7284 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
7285
7286 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
7287 obsolete alias for x-selection-value.
7288
7289 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
7290
7291 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
7292
7293 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
7294 cookie.
7295
7296 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
7297
7298 * net/tramp-compat.el (tramp-compat-with-temp-message)
7299 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
7300 (tramp-compat-process-put): New defuns.
7301
7302 * net/tramp.el (top):
7303 * net/tramp-gvfs.el (top):
7304 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
7305
7306 * net/tramp.el (tramp-progress-reporter-update):
7307 Use `tramp-compat-funcall'.
7308
7309 * net/tramp.el (tramp-process-actions):
7310 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
7311 * net/tramp-sh.el (tramp-handle-vc-registered)
7312 (tramp-get-remote-stat, tramp-get-remote-readlink):
7313 Use `tramp-compat-with-temp-message'.
7314
7315 * net/tramp-sh.el (top): Require 'cl.
7316 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
7317 (tramp-open-connection-setup-interactive-shell):
7318 Use `tramp-compat-process-put'.
7319
7320 2010-09-15 Alan Mackenzie <acm@muc.de>
7321
7322 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
7323 indentation.
7324 (c-forward-<>-arglist-recur): Fix an infinite recursion.
7325
7326 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
7327
7328 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
7329 `lexical' for warnings related to lexical scoping.
7330 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
7331 global vars which don't have a prefix and could hence affect lexical
7332 scoping in unrelated files.
7333
7334 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7335
7336 * net/imap.el: Revert back to version
7337 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
7338 seem problematic.
7339
7340 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
7341
7342 * obsolete/old-whitespace.el (whitespace-unload-function):
7343 Explicitly pass `obarray' to `unintern' to avoid a warning.
7344
7345 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7346
7347 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
7348 Add `when' argument. Update callers.
7349
7350 * subr.el (unintern): Declare the obarray arg mandatory.
7351
7352 2010-09-14 Glenn Morris <rgm@gnu.org>
7353
7354 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
7355 Doc fixes.
7356
7357 * calendar/diary-lib.el (diary-included-files): New variable.
7358 (diary-list-entries): Maybe initialize diary-included-files.
7359 (diary-include-other-diary-files): Append to diary-included-files.
7360 * calendar/appt.el (appt-update-list): Also check the members of
7361 diary-included-files. (Bug#6999)
7362 (appt-check): Doc fix.
7363
7364 2010-09-14 David Reitter <david.reitter@gmail.com>
7365
7366 * simple.el (line-move-visual): Do not truncate goal column to
7367 integer size. (Bug#7020)
7368
7369 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7370
7371 * repeat.el (repeat): Allow repeating when the last event is a click.
7372 Suggested by Drew Adams (bug#6256).
7373
7374 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
7375
7376 * vc/vc-hg.el (vc-hg-state, vc-hg-working-revision):
7377 Replace setting HGRCPATH to "" by some less invasive --config options.
7378
7379 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7380
7381 * font-lock.el (font-lock-beginning-of-syntax-function):
7382 Mark as obsolete.
7383
7384 2010-09-14 Glenn Morris <rgm@gnu.org>
7385
7386 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
7387 and tool-bar modes. (Bug#6211)
7388 (menu-bar-mode): Move setting of standard-value after the
7389 minor-mode definition, otherwise it seems to have no effect.
7390
7391 2010-09-14 Masatake YAMATO <yamato@redhat.com>
7392
7393 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
7394 Fix typo. (Bug#6976)
7395
7396 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7397
7398 * whitespace.el: Allow cleaning up blanks without blank
7399 visualization (Bug#6651). Adjust help window for
7400 whitespace-toggle-options (Bug#6479). Allow to use fill-column
7401 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
7402 (whitespace-style): Add new value 'face. Adjust docstring.
7403 (whitespace-space, whitespace-hspace, whitespace-tab):
7404 Adjust foreground property face.
7405 (whitespace-line-column): Adjust docstring and type declaration.
7406 (whitespace-style-value-list, whitespace-toggle-option-alist)
7407 (whitespace-help-text): Adjust const initialization.
7408 (whitespace-toggle-options, global-whitespace-toggle-options):
7409 Adjust docstring.
7410 (whitespace-display-window, whitespace-interactive-char)
7411 (whitespace-style-face-p, whitespace-color-on): Adjust code.
7412 (whitespace-help-scroll): New fun.
7413
7414 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
7415
7416 * calendar/time-date.el (format-seconds): Comment fix.
7417
7418 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
7419
7420 * progmodes/sql.el: Version 2.7.
7421 (sql-buffer-live-p): Improve detection.
7422 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7423 (sql-set-sqli-buffer): Use it.
7424 (sql-product-interactive): Run `sql-set-sqli-hook'.
7425 (sql-rename-buffer): Code cleanup.
7426 (sql-redirect, sql-redirect-value): New functions. More to come.
7427
7428 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
7429
7430 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.
7431 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
7432 (TRAMP_SRC): New macro.
7433 ($(lisp)/net/tramp-loaddefs.el): New target.
7434
7435 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
7436
7437 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
7438
7439 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
7440
7441 * net/tramp.el (top): Don't show loading message. Require just
7442 'tramp-compat, everything else is required there.
7443 Use `ignore-errors' where appropriate.
7444 (tramp-inline-compress-start-size, tramp-copy-size-limit)
7445 (tramp-terminal-type, tramp-end-of-output)
7446 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
7447 (tramp-completion-function-alist-ssh)
7448 (tramp-completion-function-alist-telnet)
7449 (tramp-completion-function-alist-su)
7450 (tramp-completion-function-alist-putty, tramp-remote-path)
7451 (tramp-remote-process-environment, tramp-sh-extra-args)
7452 (tramp-actions-before-shell, tramp-uudecode)
7453 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
7454 (tramp-perl-file-attributes)
7455 (tramp-perl-directory-files-and-attributes)
7456 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
7457 (tramp-perl-encode, tramp-perl-decode)
7458 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
7459 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
7460 (tramp-handle-make-symbolic-link, tramp-handle-load)
7461 (tramp-handle-file-name-as-directory)
7462 (tramp-handle-file-name-directory)
7463 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
7464 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
7465 (tramp-do-file-attributes-with-ls)
7466 (tramp-do-file-attributes-with-perl)
7467 (tramp-do-file-attributes-with-stat)
7468 (tramp-handle-set-visited-file-modtime)
7469 (tramp-handle-verify-visited-file-modtime)
7470 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
7471 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
7472 (tramp-handle-file-selinux-context)
7473 (tramp-handle-set-file-selinux-context)
7474 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
7475 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
7476 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
7477 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
7478 (tramp-handle-file-ownership-preserved-p)
7479 (tramp-handle-directory-file-name, tramp-handle-directory-files)
7480 (tramp-handle-directory-files-and-attributes)
7481 (tramp-do-directory-files-and-attributes-with-perl)
7482 (tramp-do-directory-files-and-attributes-with-stat)
7483 (tramp-handle-file-name-all-completions)
7484 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
7485 (tramp-handle-copy-file, tramp-handle-copy-directory)
7486 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
7487 (tramp-do-copy-or-rename-file-via-buffer)
7488 (tramp-do-copy-or-rename-file-directly)
7489 (tramp-do-copy-or-rename-file-out-of-band)
7490 (tramp-handle-make-directory, tramp-handle-delete-directory)
7491 (tramp-handle-delete-file)
7492 (tramp-handle-dired-recursive-delete-directory)
7493 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
7494 (tramp-handle-insert-directory)
7495 (tramp-handle-unhandled-file-name-directory)
7496 (tramp-handle-expand-file-name)
7497 (tramp-handle-substitute-in-file-name)
7498 (tramp-handle-executable-find, tramp-process-sentinel)
7499 (tramp-handle-start-file-process, tramp-handle-process-file)
7500 (tramp-handle-call-process-region, tramp-handle-shell-command)
7501 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
7502 (tramp-handle-insert-file-contents)
7503 (tramp-handle-insert-file-contents-literally)
7504 (tramp-handle-find-backup-file-name)
7505 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
7506 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
7507 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
7508 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
7509 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
7510 (tramp-find-file-exists-command, tramp-open-shell)
7511 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
7512 (tramp-open-connection-setup-interactive-shell)
7513 (tramp-local-coding-commands, tramp-remote-coding-commands)
7514 (tramp-find-inline-encoding, tramp-call-local-coding-command)
7515 (tramp-inline-compress-commands, tramp-find-inline-compress)
7516 (tramp-compute-multi-hops, tramp-maybe-open-connection)
7517 (tramp-send-command, tramp-wait-for-output)
7518 (tramp-send-command-and-check, tramp-barf-unless-okay)
7519 (tramp-send-command-and-read, tramp-mode-string-to-int)
7520 (tramp-convert-file-attributes, tramp-check-cached-permissions)
7521 (tramp-file-mode-from-int, tramp-file-mode-permissions)
7522 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
7523 (tramp-method-out-of-band-p, tramp-local-host-p)
7524 (tramp-get-remote-path, tramp-get-remote-tmpdir)
7525 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
7526 (tramp-get-test-command, tramp-get-test-nt-command)
7527 (tramp-get-file-exists-command, tramp-get-remote-ln)
7528 (tramp-get-remote-perl, tramp-get-remote-stat)
7529 (tramp-get-remote-readlink, tramp-get-remote-trash)
7530 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
7531 (tramp-get-local-uid, tramp-get-local-gid)
7532 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
7533 tramp-sh.el.
7534 (tramp-methods, tramp-default-method-alist)
7535 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
7536 Move initialization to tramp-sh.el.
7537 (tramp-temp-name-prefix): Make it a defconst.
7538 (tramp-dissect-file-name): Don't check anymore for multi-hop
7539 methods.
7540 (tramp-debug-outline-regexp): Add a docstring.
7541 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
7542 (tramp-get-debug-buffer): Use it.
7543
7544 * net/tramp-cache.el (top): Set tramp-autoload cookie for
7545 initialization forms.
7546 (tramp-set-connection-property): Don't protect `tramp-message'
7547 call, it isn't necessary any longer.
7548 (tramp-dump-connection-properties): Use `ignore-errors'.
7549
7550 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
7551 'password-cache and 'auth-source.
7552
7553 * net/tramp-gvfs.el (top):
7554 * net/tramp-smb.el (top): Require 'tramp-sh.
7555
7556 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
7557
7558 * net/tramp-sh.el: New file, derived from tramp.el.
7559 (top): Initialize `tramp-methods', `tramp-default-method-alist',
7560 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
7561 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
7562 Use `ignore-errors' where appropriate.
7563 (tramp-sh-file-name-handler-alist): Rename from
7564 `tramp-file-name-handler-alist'.
7565 (tramp-send-command-and-check): Return t or nil. Remove all
7566 `zerop' checks, where called.
7567 (tramp-handle-set-file-modes)
7568 (tramp-do-copy-or-rename-file-directly)
7569 (tramp-handle-delete-directory, tramp-handle-delete-file)
7570 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
7571 (tramp-sh-file-name-handler, tramp-send-command-and-check)
7572 (tramp-get-remote-ln): Set tramp-autoload cookie.
7573
7574 * net/tramp-fish.el: Remove file.
7575
7576 2010-09-13 Daiki Ueno <ueno@unixuser.org>
7577
7578 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
7579 buffer-file-name to avoid file-locking. (Bug#7026)
7580
7581 2010-09-13 Julien Danjou <julien@danjou.info>
7582
7583 * notifications.el (notifications-notify): Add support for
7584 image-path and sound-name.
7585 (notifications-specification-version): Add this variable.
7586
7587 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7588
7589 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
7590
7591 2010-09-12 Leo <sdl.web@gmail.com>
7592
7593 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
7594 (rcirc-completion-start): New variables.
7595 (rcirc-nick-completions): Rename to rcirc-completions.
7596 (rcirc-nick-completion-start-offset): Delete.
7597 (rcirc-completion-at-point): New function for constructing
7598 completion data for both nicks and irc commands. Add to
7599 completion-at-point-functions in rcirc mode.
7600 (rcirc-complete): Rename from rcirc-nick-complete; use
7601 rcirc-completion-at-point.
7602 (defun-rcirc-command): Update rcirc-client-commands.
7603
7604 2010-09-11 Glenn Morris <rgm@gnu.org>
7605
7606 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
7607 atomically, to avoid parallel build errors. (Bug#4196)
7608
7609 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
7610
7611 * progmodes/sql.el: Version 2.6
7612 (sql-dialect): Synonym for "sql-product".
7613 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7614 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
7615 Set "sql-buffer" to buffer name not buffer object so multiple sql
7616 interactive buffers work properly. Reverts misguided changes in
7617 earlier work.
7618 (sql-comint): Make sure different buffer name is used if "*SQL*"
7619 buffer is for a different product.
7620 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
7621 login param.
7622 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
7623 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
7624 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
7625 Accept new buffer name or prompt for one.
7626 (sql-port): Default to zero.
7627 (sql-comint-mysql): Handle "sql-port" as a numeric.
7628 (sql-port-history): Delete unused variable.
7629 (sql-get-login): Default "sql-port" to a number.
7630 (sql-product-alist): Correct Postgres prompt and terminator regexp.
7631 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
7632 "sqlite3" executables.
7633 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
7634 (sql-buffer-live-p): New function.
7635 (sql-mode-menu, sql-send-string): Use it.
7636 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
7637 syntax pattern.
7638 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
7639 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
7640
7641 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7642
7643 * net/netrc.el (netrc-credentials): New convenience function.
7644
7645 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7646
7647 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
7648 to replace texinfo-font-lock-syntactic-keywords.
7649 (texinfo-mode): Use it.
7650
7651 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
7652 Use syntax-propertize-function.
7653
7654 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
7655 replace sgml-font-lock-syntactic-keywords.
7656 (sgml-mode): Use it.
7657
7658 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
7659 since we don't use it.
7660
7661 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
7662
7663 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
7664 if available.
7665 (vhdl-fontify-buffer): Adjust.
7666
7667 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
7668 replace tcl-font-lock-syntactic-keywords.
7669 (tcl-mode): Use it.
7670
7671 * progmodes/simula.el (simula-syntax-propertize-function): New var to
7672 replace simula-font-lock-syntactic-keywords.
7673 (simula-mode): Use it.
7674
7675 * progmodes/sh-script.el (sh-st-symbol): Remove.
7676 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
7677 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
7678 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
7679 (sh-font-lock-paren): Set syntax-multiline.
7680 (sh-font-lock-syntactic-keywords): Remove.
7681 (sh-syntax-propertize-function): New function to replace it.
7682 (sh-mode): Use it.
7683
7684 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
7685 Define while compiling.
7686 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7687 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
7688 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
7689 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7690 (ruby-here-doc-end-syntax): Only define when
7691 syntax-propertize is not available.
7692 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
7693 New functions.
7694 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
7695 (electric-indent-chars): Silence bytecompiler.
7696 (ruby-mode): Use prog-mode, syntax-propertize-function, and
7697 electric-indent-chars.
7698
7699 * progmodes/python.el (python-syntax-propertize-function): New var to
7700 replace python-font-lock-syntactic-keywords.
7701 (python-mode): Use it.
7702 (python-quote-syntax): Simplify and adjust to new use.
7703
7704 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
7705 replace perl-font-lock-syntactic-keywords.
7706 (perl-syntax-propertize-special-constructs): New fun to replace
7707 perl-font-lock-special-syntactic-constructs.
7708 (perl-font-lock-syntactic-face-function): New fun.
7709 (perl-mode): Use it.
7710
7711 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
7712 to replace octave-font-lock-close-quotes.
7713 (octave-syntax-propertize-function): New function to replace
7714 octave-font-lock-syntactic-keywords.
7715 (octave-mode): Use it.
7716
7717 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
7718 replaces mixal-font-lock-syntactic-keywords.
7719 (mixal-mode): Use it.
7720
7721 * progmodes/make-mode.el (makefile-syntax-propertize-function):
7722 New var; replaces makefile-font-lock-syntactic-keywords.
7723 (makefile-mode): Use it.
7724 (makefile-imake-mode): Adjust.
7725
7726 * progmodes/js.el (js--regexp-literal): Define while compiling.
7727 (js-syntax-propertize-function): New var; replaces
7728 js-font-lock-syntactic-keywords.
7729 (js-mode): Use it.
7730
7731 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
7732 replaces gdb-script-font-lock-syntactic-keywords.
7733 (gdb-script-mode): Use it.
7734
7735 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
7736 (fortran--font-lock-syntactic-keywords): New var.
7737 (fortran-line-length): Update syntax-propertize-function and
7738 fortran--font-lock-syntactic-keywords.
7739
7740 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
7741
7742 * progmodes/cfengine.el (cfengine-mode):
7743 Use syntax-propertize-function.
7744 (cfengine-font-lock-syntactic-keywords): Remove.
7745
7746 * progmodes/autoconf.el (autoconf-mode):
7747 Use syntax-propertize-function.
7748 (autoconf-font-lock-syntactic-keywords): Remove.
7749
7750 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
7751 (ada-after-change-function, ada-initialize-syntax-table-properties)
7752 (ada-handle-syntax-table-properties): Only define when
7753 syntax-propertize is not available.
7754 (ada-mode): Use syntax-propertize-function.
7755
7756 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
7757 (font-lock-fontify-syntactic-keywords-region): Move handling of
7758 font-lock-syntactically-fontified to...
7759 (font-lock-default-fontify-region): ...here.
7760 Let syntax-propertize-function take precedence.
7761 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
7762
7763 * emacs-lisp/syntax.el (syntax-propertize-function)
7764 (syntax-propertize-chunk-size, syntax-propertize--done)
7765 (syntax-propertize-extend-region-functions): New vars.
7766 (syntax-propertize-wholelines, syntax-propertize-multiline)
7767 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
7768 (syntax-propertize): New functions.
7769 (syntax-propertize-rules): New macro.
7770 (syntax-ppss-flush-cache): Set syntax-propertize--done.
7771 (syntax-ppss): Call syntax-propertize.
7772
7773 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
7774
7775 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
7776
7777 * textmodes/ispell.el (ispell-init-process): Improve comments.
7778 XEmacs compatibility changes regarding (add-hook) 'local option
7779 and (set-process-query-on-exit-flag).
7780
7781 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
7782
7783 * net/tramp-cache.el (tramp-parse-connection-properties):
7784 Set tramp-autoload cookie.
7785
7786 2010-09-09 Glenn Morris <rgm@gnu.org>
7787
7788 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
7789 (imagemagick-register-types): Doc fix.
7790
7791 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
7792
7793 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
7794
7795 * progmodes/js.el (require): Require is already "eval-and-compile".
7796 (js--re-search-forward): Avoid `eval'. Preserve the error data.
7797 (js--re-search-backward): Use js--re-search-forward.
7798
7799 * progmodes/fortran.el (fortran-line-length): Don't recompute
7800 syntactic keywords redundantly a second time.
7801
7802 * progmodes/ada-mode.el: Replace "(set '" with setq.
7803 (ada-mode): Simplify.
7804 (ada-create-case-exception, ada-adjust-case-interactive)
7805 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
7806 (ada-search-ignore-string-comment, ada-move-to-start)
7807 (ada-move-to-end): Use with-syntax-table.
7808
7809 * font-lock.el (save-buffer-state): Remove `varlist' arg.
7810 (font-lock-unfontify-region, font-lock-default-fontify-region):
7811 Update usage correspondingly.
7812 (font-lock-fontify-syntactic-keywords-region):
7813 Set parse-sexp-lookup-properties buffer-locally here.
7814 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
7815
7816 * simple.el (blink-matching-open): Don't burp if we can't find a match.
7817
7818 2010-09-08 Glenn Morris <rgm@gnu.org>
7819
7820 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
7821 Error if not compiled with -DBYTE_CODE_METER.
7822
7823 * emacs-lisp/bytecomp.el (byte-recompile-directory):
7824 Ignore dir-locals-file.
7825
7826 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
7827
7828 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7829 Not a const.
7830 (compilation-error-regexp-alist-alist): Rule out ": " in file names
7831 for the `gnu' messages.
7832 (compilation-set-skip-threshold): New command.
7833 (compilation-start): Use \' rather than $.
7834 (compilation-forget-errors): Use clrhash.
7835
7836 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
7837
7838 * textmodes/ispell.el (ispell-valid-dictionary-list):
7839 Simplify logic.
7840
7841 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
7842
7843 Migrate to Tramp 2.2. Rearrange load dependencies.
7844 (Bug#1529, Bug#5448, Bug#5705)
7845
7846 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
7847 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
7848 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
7849
7850 * net/tramp.el (top): Remove all other tramp-* loads except
7851 tramp-compat.el. Remove all changes to tramp-unload-hook for
7852 other tramp-* packages. Rearrange defun order. Change calls of
7853 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
7854 `tramp-compat-octal-to-decimal' to new function names.
7855 (tramp-terminal-type, tramp-initial-end-of-output)
7856 (tramp-methods, tramp-foreign-file-name-handler-alist)
7857 (tramp-tramp-file-p, tramp-completion-mode-p)
7858 (tramp-send-command-and-check, tramp-get-remote-path)
7859 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
7860 (tramp-shell-quote-argument): Set tramp-autoload cookie.
7861 (with-file-property, with-connection-property): Move to
7862 tramp-cache.el.
7863 (tramp-local-call-process, tramp-decimal-to-octal)
7864 (tramp-octal-to-decimal): Move to tramp-compat.el.
7865 (tramp-handle-shell-command): Do not require 'shell.
7866 (tramp-compute-multi-hops): No special handling for tramp-gw-*
7867 symbols.
7868 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
7869
7870 * net/tramp-cache.el (top): Require 'tramp. Add to
7871 `tramp-unload-hook'.
7872 (tramp-cache-data, tramp-get-file-property)
7873 (tramp-set-file-property, tramp-flush-file-property)
7874 (tramp-flush-directory-property, tramp-get-connection-property)
7875 (tramp-set-connection-property, tramp-flush-connection-property)
7876 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
7877 cookie.
7878 (with-file-property, with-connection-property): New defuns, moved
7879 from tramp.el.
7880 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
7881 macro.
7882
7883 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
7884 (tramp-version): Set tramp-autoload cookie.
7885
7886 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
7887 changes to tramp-unload-hook for other tramp-* packages. Add to
7888 `tramp-unload-hook'.
7889 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
7890 (tramp-compat-call-process): New defuns, moved from tramp.el.
7891
7892 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
7893 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7894 Add to `tramp-unload-hook'. Change call of
7895 `tramp-compat-decimal-to-octal' to new function name.
7896 (tramp-fish-method): Make it a defconst.
7897 (tramp-fish-file-name-p): Make it a defsubst.
7898 (tramp-fish-method, tramp-fish-file-name-handler)
7899 (tramp-fish-file-name-p): Set tramp-autoload cookie.
7900
7901 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
7902 `tramp-foreign-file-name-handler-alist'. Add to
7903 `tramp-unload-hook'.
7904 (tramp-ftp-method): Make it a defconst.
7905 (tramp-ftp-file-name-p): Make it a defsubst.
7906 (tramp-ftp-method, tramp-ftp-file-name-handler)
7907 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
7908
7909 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
7910 `tramp-foreign-file-name-handler-alist'. Add to
7911 `tramp-unload-hook'. Change checks, whether package can be
7912 loaded.
7913 (tramp-gvfs-file-name-p): Make it a defsubst.
7914 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
7915 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
7916 (tramp-gvfs-handle-file-directory-p): New defun.
7917 (tramp-gvfs-file-name-handler-alist): Use it.
7918
7919 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
7920 `tramp-foreign-file-name-handler-alist'. Add to
7921 `tramp-unload-hook'.
7922 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
7923 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
7924 defconst.
7925 (tramp-gw-tunnel-method, tramp-gw-socks-method)
7926 (tramp-gw-open-connection): Set tramp-autoload cookie.
7927
7928 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
7929 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7930 Add to `tramp-unload-hook'. Change checks, whether package can be
7931 loaded.
7932 (tramp-imap-file-name-p): Make it a defsubst.
7933 (tramp-imap-method, tramp-imaps-method)
7934 (tramp-imap-file-name-handler)
7935 (tramp-imap-file-name-p): Set tramp-autoload cookie.
7936
7937 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
7938 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7939 Add to `tramp-unload-hook'. Change checks, whether package can be
7940 loaded. Change call of `tramp-compat-decimal-to-octal' to new
7941 function name.
7942 (tramp-smb-tunnel-method): Make it a defconst.
7943 (tramp-smb-file-name-p): Make it a defsubst.
7944 (tramp-smb-method, tramp-smb-file-name-handler)
7945 (tramp-smb-file-name-p): Set tramp-autoload cookie.
7946
7947 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
7948 (tramp-uuencode-region): Set tramp-autoload cookie.
7949
7950 * net/trampver.el (top) Add to `tramp-unload-hook'.
7951 (tramp-version, tramp-bug-report-address): Set tramp-autoload
7952 cookie. Update release number.
7953
7954 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
7955
7956 * textmodes/ispell.el (ispell-start-process): Make sure original
7957 arg list is properly initialized (Bug#6993, Bug#6994).
7958
7959 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
7960
7961 * files.el (directory-abbrev-alist): Use \` as default regexp.
7962
7963 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
7964 chars like - or ] (bug#6984).
7965 (rx-any-condense-range): Explode 2-char ranges.
7966
7967 2010-09-06 Glenn Morris <rgm@gnu.org>
7968
7969 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
7970
7971 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7972
7973 * textmodes/bibtex.el:
7974 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
7975
7976 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7977
7978 * net/imap.el (imap-message-map): Remove optional buffer parameter,
7979 since no callers use it.
7980 (imap-message-get): Ditto.
7981 (imap-message-put): Ditto.
7982 (imap-mailbox-map): Ditto.
7983 (imap-mailbox-put): Ditto.
7984 (imap-mailbox-get): Ditto.
7985 (imap-mailbox-get): Revert last change for this function.
7986
7987 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7988
7989 * net/imap.el (imap-fetch-safe): Remove function, and alter all
7990 callers to use `imap-fetch' instead. According to the comments, this
7991 should be safe, since all other IMAP clients use the 1:* syntax.
7992 (imap-enable-exchange-bug-workaround): Remove.
7993 (imap-debug): Remove -- doesn't seem very useful.
7994
7995 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7996
7997 * net/imap.el (imap-log): New convenience function used throughout
7998 instead of repeating the same code all over the place.
7999
8000 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
8001
8002 * mouse.el (mouse-save-then-kill): Save region to kill-ring
8003 when mouse-drag-copy-region is non-nil (Bug#6956).
8004
8005 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
8006
8007 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
8008 Improve regexps (Bug#6987).
8009 (dired-sort-toggle): Search more robustly for -t flag.
8010
8011 * files.el (get-free-disk-space): Search more robustly for
8012 "available" column. Suggested by Ehud Karni
8013 <ehud@unix.mvs.co.il>.
8014
8015 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
8016
8017 * international/uni-bidi.el:
8018 * international/uni-category.el:
8019 * international/uni-combining.el:
8020 * international/uni-decimal.el:
8021 * international/uni-mirrored.el:
8022 * international/uni-name.el: Regenerate.
8023
8024 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
8025
8026 * electric.el (electric-indent-post-self-insert-function):
8027 Don't reindent with a sloppy indentation function.
8028
8029 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
8030 border case in change-log-mode.
8031
8032 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
8033
8034 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8035 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
8036 Recognize leading tab in gcc-include regexp. Ignore names with
8037 leading "from" or "in" in gnu regexp (Bug#6937).
8038
8039 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
8040
8041 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
8042 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
8043 (ispell-start-process): Avoid setq and simplify logic.
8044 (ispell-init-process): Setup kill-buffer-hook locally when needed.
8045 (kill-buffer-hook): Don't use it globally with code that uses
8046 expand-file-name since that may call kill-buffer via
8047 code_conversion_restore.
8048
8049 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
8050
8051 * emacs-lisp/package.el (package-directory-list): Only call
8052 file-name-nondirectory on a string.
8053
8054 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
8055
8056 * emacs-lisp/package.el (package--download-one-archive):
8057 Ensure that archive-contents is valid before saving it.
8058 (package-activate-1, package-mark-obsolete, define-package)
8059 (package-compute-transaction, package-list-maybe-add): Use push.
8060
8061 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
8062
8063 Use SMIE's blink-paren for octave-mode.
8064 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
8065 Backslashes do not escape single-quotes, single-quotes do.
8066 (octave-block-else-regexp, octave-block-end-regexp)
8067 (octave-block-match-alist): Remove.
8068 (octave-smie-bnf-table): New var, with old content.
8069 (octave-smie-op-levels): Use it.
8070 (octave-smie-closer-alist): New var.
8071 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
8072 (octave-blink-matching-block-open): Remove.
8073 (octave-reindent-then-newline-and-indent, octave-electric-semi)
8074 (octave-electric-space): Let self-insert-command run expand-abbrev and
8075 blink parens.
8076
8077 * electric.el (electricity): New group.
8078 (electric-indent-chars): New var.
8079 (electric-indent-post-self-insert-function): New fun.
8080 (electric-indent-mode): New minor mode.
8081 (electric-pair-skip-self): New custom.
8082 (electric-pair-post-self-insert-function): New function.
8083 (electric-pair-mode): New minor mode.
8084
8085 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
8086 calcAlg-blink-matching-open.
8087 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
8088 (calc-do-alg-entry): Only touch the part of the keymap that varies.
8089 Use the new blink-matching-check-function.
8090
8091 Provide blink-matching support to SMIE.
8092 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
8093 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
8094 (smie-blink-matching-check, smie-blink-matching-open): New functions.
8095
8096 * simple.el (newline): Fix last change to properly remove itself from
8097 the hook.
8098
8099 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
8100
8101 * simple.el (newline): Eliminate optimization.
8102 Use post-self-insert-hook to set hard-newline and things before
8103 running post-self-insert-hook.
8104 (blink-matching-check-mismatch): New function.
8105 (blink-matching-check-function): New variable.
8106 (blink-matching-open): Use them.
8107 Skip back forward over prefix chars skipped by forward-sexp.
8108 Don't check if the parens are backslash escaped.
8109 (blink-paren-post-self-insert-function): Check backslash escaping here.
8110
8111 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
8112
8113 * emacs-lisp/package.el (package-menu-mode-map):
8114 Change package-menu-revert bindings to revert-buffer.
8115 (package-menu-mode): Set revert-buffer-function.
8116 (package-menu-revert): Doc fix.
8117
8118 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
8119
8120 * textmodes/ispell.el (ispell-init-process): Use "~/" as
8121 `default-directory' unless using Ispell per-directory personal
8122 dictionaries and not in a mini-buffer under XEmacs.
8123 (kill-buffer-hook): Do not kill ispell process on exit when
8124 `ispell-process-directory' is "~/". (Bug#6143)
8125
8126 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
8127
8128 * simple.el (kill-new): Call interprogram-cut-function with only
8129 one argument.
8130
8131 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
8132 Remove cut buffer from error message.
8133
8134 * term/x-win.el (x-select-text):
8135 * term/pc-win.el (x-selection-value):
8136 * term/ns-win.el (x-selection-value):
8137 * eshell/em-term.el:
8138 * w32-fns.el (x-get-selection-value):
8139 * mouse-sel.el (mouse-sel-set-selection-function):
8140 * frame.el (display-selections-p): Remove cut-buffer in documentation.
8141
8142 * term/x-win.el: Update documentation for x-last-selected-text-*.
8143 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
8144 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
8145 (x-select-text): Remove argument PUSH, update documentation.
8146 Remove cut-buffer code.
8147 (x-selection-value-internal): Was previously x-selection-value.
8148 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
8149 Update documentation, remove cut-buffer code.
8150 Call x-selection-value-internal.
8151 (x-clipboard-yank): Call x-selection-value-internal.
8152 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
8153
8154 * term/pc-win.el (x-last-selected-text):
8155 x-cut-buffer-or-selection-value renamed to x-selection-value
8156 (x-select-text): Remove argument PUSH, update documentation.
8157
8158 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
8159 x-cut-buffer-or-selection-value renamed to x-selection-value
8160 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
8161 (x-select-text): Remove argument PUSH, update documentation.
8162
8163 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
8164
8165 * w32-fns.el (x-last-selected-text):
8166 x-cut-buffer-or-selection-value renamed to x-selection-value.
8167 (x-cut-buffer-max): Remove.
8168 (x-select-text): Remove argument PUSH, update documentation.
8169
8170 * simple.el (interprogram-cut-function): Remove mention of PUSH.
8171
8172 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
8173
8174 * mouse-sel.el (mouse-sel-get-selection-function):
8175 x-cut-buffer-or-selection-value renamed to x-selection-value.
8176 (x-select-text): Remove optional push.
8177
8178 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
8179
8180 * simple.el (blink-paren-function): Move from C to here.
8181 (blink-paren-post-self-insert-function): New function.
8182 (post-self-insert-hook): Use it.
8183
8184 * emacs-lisp/pcase.el (pcase-split-memq):
8185 Fix overenthusiastic optimisation.
8186 (pcase-u1): Handle the case of a lambda pred.
8187
8188 2010-08-31 Kenichi Handa <handa@m17n.org>
8189
8190 * international/mule-cmds.el (standard-display-european-internal):
8191 Setup standard-display-table for 8-bit characters by storing 8-bit
8192 characters in the element vector.
8193
8194 * disp-table.el (standard-display-8bit):
8195 Setup standard-display-table for 8-bit characters by storing 8-bit
8196 characters in the element vector.
8197 (standard-display-european): Likewise.
8198
8199 2010-08-31 Masatake YAMATO <yamato@redhat.com>
8200
8201 * textmodes/nroff-mode.el (nroff-view): New command.
8202 (nroff-mode-map): Bind it to C-c C-c.
8203
8204 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
8205
8206 * emacs-lisp/smie.el (smie-down-list): New command.
8207
8208 Remove old indentation and navigation code on octave-mode.
8209 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
8210 smie-down-list rather than add a binding for octave-down-block.
8211 (octave-mark-block, octave-blink-matching-block-open):
8212 Rely on forward-sexp-function.
8213 (octave-fill-paragraph): Don't narrow, so you can use
8214 indent-according-to-mode.
8215 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
8216 (octave-in-block-p, octave-re-search-forward-kw)
8217 (octave-re-search-backward-kw, octave-indent-calculate)
8218 (octave-end-as-array-index-p, octave-block-end-offset)
8219 (octave-scan-blocks, octave-forward-block, octave-backward-block)
8220 (octave-down-block, octave-backward-up-block, octave-up-block)
8221 (octave-before-magic-comment-p, octave-indent-line): Remove.
8222
8223 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
8224
8225 * emacs-lisp/package.el (package--read-archive-file): Just use
8226 `read', to avoid copying an additional string.
8227 (package-menu-mode): Set header-line-format here.
8228 (package-menu-refresh, package-menu-revert): Signal an error if
8229 not in the Package Menu.
8230 (package-menu-package-list): New var.
8231 (package--generate-package-list): Operate on the current buffer;
8232 don't assume that it is *Packages*, since the user may rename it.
8233 Allow persistent package listings and sort keys using
8234 package-menu-package-list and package-menu-package-sort-key.
8235 (package-menu--version-predicate): Fix version calculation.
8236 (package-menu-sort-by-column): Don't select the window.
8237 (package--list-packages): Create the *Packages* buffer.
8238 Set package-menu-package-list-key.
8239 (list-packages): Sorting by status is now the default.
8240 (package-buffer-info): Use match-string-no-properties.
8241 (define-package): Add a &rest argument for future proofing, but
8242 don't use it yet.
8243 (package-install-from-buffer, package-install-buffer-internal):
8244 Merge into a single function, package-install-from-buffer.
8245 (package-install-file): Change caller.
8246
8247 * finder.el: Load finder-inf using `require'.
8248 (finder-list-matches): Sorting by status is now the default.
8249 (finder-compile-keywords): Simpify printing.
8250
8251 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8252
8253 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
8254 (octave-mode-map): Remove special bindings for forward/backward-block
8255 and octave-backward-up-block. Use smie-close-block.
8256 (octave-continuation-marker-regexp): New var.
8257 (octave-continuation-regexp): Use it.
8258 (octave-operator-table, octave-smie-op-levels)
8259 (octave-operator-regexp, octave-smie-indent-rules): New vars.
8260 (octave-smie-backward-token, octave-smie-forward-token): New funs.
8261 (octave-mode): Use SMIE.
8262 (octave-close-block): Delete.
8263
8264 2010-08-30 Eli Zaretskii <eliz@gnu.org>
8265
8266 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
8267 CLIPBOARD, not in PRIMARY. (Bug#6944)
8268
8269 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8270
8271 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
8272 a list of parents.
8273 (smie-indent-column): Allow indirection through variables.
8274
8275 * composite.el (save-buffer-state): Delete, unused.
8276 * font-lock.el (save-buffer-state): Use with-silent-modifications.
8277 (font-lock-default-fontify-region): Use with-syntax-table.
8278 * jit-lock.el (with-buffer-unmodified): Remove.
8279 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
8280
8281 Use `declare' in defmacros.
8282 * window.el (save-selected-window):
8283 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
8284 * progmodes/python.el (def-python-skeleton):
8285 * net/dbus.el (dbus-ignore-errors):
8286 * jka-cmpr-hook.el (with-auto-compression-mode):
8287 * international/mule.el (with-category-table):
8288 * emacs-lisp/timer.el (with-timeout):
8289 * emacs-lisp/lisp-mnt.el (lm-with-file):
8290 * emacs-lisp/eieio.el (with-slots):
8291 * emacs-lisp/easymenu.el (easy-menu-define):
8292 * emacs-lisp/debug.el (debugger-env-macro):
8293 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
8294 (Multiple-value-call, Multiple-value-prog1):
8295 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
8296 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
8297 edebug rule to definition.
8298 * emacs-lisp/lisp-mode.el (save-selected-window)
8299 (with-current-buffer, combine-after-change-calls)
8300 (with-output-to-string, with-temp-file, with-temp-buffer)
8301 (with-temp-message, with-syntax-table, read-if, eval-after-load)
8302 (dolist, dotimes, when, unless):
8303 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
8304
8305 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
8306
8307 * finder.el: Require `package'.
8308 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
8309 (finder-package-info): Var deleted.
8310 (finder-keywords-hash, finder--builtins-alist): New vars.
8311 (finder-compile-keywords): Compute package--builtins and
8312 finder-keywords-hash instead of finder-keywords-hash, respecting
8313 the "Package" header.
8314 (finder-unknown-keywords, finder-list-matches):
8315 Use finder-keywords-hash and package--list-packages.
8316 (finder-mode): Don't set font-lock-defaults.
8317 (finder-exit): We don't use "*Finder-package*" and "*Finder
8318 Category*" buffers anymore.
8319
8320 * emacs-lisp/package.el (package--builtins-base): Var deleted.
8321 (package--builtins): Set default value to nil.
8322 (package-initialize): Load precomputed value of package--builtins
8323 from finder-inf.el.
8324 (package-alist, package-compute-transaction)
8325 (package-download-transaction): Improve docstring.
8326 (package-read-all-archive-contents): Do not change
8327 package--builtins here.
8328 (list-packages): Make package-list-packages an alias for this.
8329 Sort by status by default.
8330 (package--list-packages): Add optional PACKAGES arg.
8331 (describe-package-1): Use font-lock-face property. For built-in
8332 packages, insert file commentary.
8333 (package--generate-package-list): Rename from
8334 package-list-packages-internal; all callers changed. Add optional
8335 PACKAGES arg. Add alphabetical sort fallbacks.
8336 (package-menu--version-predicate, package-menu--status-predicate)
8337 (package-menu--description-predicate)
8338 (package-menu--name-predicate): New functions.
8339
8340 * info.el (Info-finder-find-node): Search package-alist instead of
8341 finder-package-info.
8342
8343 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
8344
8345 * subr.el (version-regexp-alist): Don't use "a" and "b" for
8346 "alpha" and "beta".
8347 (version-to-list): Handle versions like "10.3d".
8348
8349 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8350
8351 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
8352 (macroexp-accumulate): Use `declare'.
8353
8354 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8355
8356 * whitespace.el (whitespace-style): Adjust type declaration.
8357
8358 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
8359
8360 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
8361
8362 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
8363
8364 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
8365 (Bug#6907).
8366
8367 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
8368
8369 * progmodes/js.el: Make indentation more customizable (Bug#6914).
8370 (js-paren-indent-offset, js-square-indent-offset)
8371 (js-curly-indent-offset): New options.
8372 (js--proper-indentation): Use them.
8373
8374 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
8375
8376 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
8377 instead of inspecting font-lock properties (Bug#6916).
8378
8379 2010-08-26 David Reitter <david.reitter@gmail.com>
8380
8381 * server.el (server-visit-files): Run pre-command-hook and
8382 post-command-hook for each buffer while it is current (Bug#6910).
8383 (server-execute): Do not run hooks here.
8384
8385 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
8386
8387 Sync with Tramp 2.1.19.
8388
8389 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region):
8390 Protect deleting tmpfile.
8391 (tramp-gvfs-maybe-open-connection): Use `tramp-compat-funcall'.
8392
8393 * net/tramp.el (tramp-handle-expand-file-name)
8394 (tramp-completion-handle-file-name-all-completions)
8395 (tramp-completion-handle-file-name-completion):
8396 Use `tramp-connectable-p'.
8397
8398 * net/trampver.el: Update release number.
8399
8400 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
8401
8402 * help.el (help-map): Bind `C-h P' to describe-package.
8403
8404 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
8405
8406 * emacs-lisp/package.el (package-refresh-contents): Catch errors
8407 when downloading archives.
8408 (describe-package-1): Add package commentary.
8409 (package-install-button-action): New function.
8410 (package-menu-mode-map): Bind ? to package-menu-describe-package.
8411 (package-menu-view-commentary): Function removed.
8412 (package-list-packages-internal): Hide the `package' package too.
8413
8414 2010-08-25 Kenichi Handa <handa@m17n.org>
8415
8416 * language/misc-lang.el ("Arabic"): New language environment.
8417 Setup composition-function-table for Arabic characters.
8418
8419 * international/fontset.el (setup-default-fontset): Fix typo for
8420 arabic OTF spec (fini->fina).
8421
8422 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
8423
8424 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
8425 on all frames.
8426
8427 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8428
8429 * whitespace.el: Allow cleaning up blanks without blank
8430 visualization (Bug#6651). Adjust help window for
8431 whitespace-toggle-options (Bug#6479). Allow to use fill-column
8432 instead of whitespace-line-column (from EmacsWiki). New version
8433 13.1.
8434 (whitespace-style): Add new value 'face. Adjust docstring.
8435 (whitespace-space, whitespace-hspace, whitespace-tab):
8436 Adjust foreground property face.
8437 (whitespace-line-column): Adjust docstring and type declaration.
8438 (whitespace-style-value-list, whitespace-toggle-option-alist)
8439 (whitespace-help-text): Adjust const initialization.
8440 (whitespace-toggle-options, global-whitespace-toggle-options):
8441 Adjust docstring.
8442 (whitespace-display-window, whitespace-interactive-char)
8443 (whitespace-style-face-p, whitespace-color-on): Adjust code.
8444 (whitespace-help-scroll): New fun.
8445
8446 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8447
8448 * emacs-lisp/package.el (list-packages): Alias for
8449 package-list-packages.
8450
8451 2010-08-24 Kevin Ryde <user42@zip.com.au>
8452
8453 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
8454 (Bug#5651).
8455
8456 * progmodes/ruby-mode.el (ruby): Add defgroup.
8457
8458 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8459
8460 * progmodes/python.el: Add Ipython support (Bug#5390).
8461 (python-shell-prompt-alist)
8462 (python-shell-continuation-prompt-alist): New options.
8463 (python--set-prompt-regexp): New function.
8464 (inferior-python-mode, run-python, python-shell):
8465 Require ansi-color. Use python--set-prompt-regexp to set the comint
8466 prompt based on the Python interpreter.
8467 (python--prompt-regexp): New var.
8468 (python-check-comint-prompt)
8469 (python-comint-output-filter-function): Use it.
8470 (run-python): Use a pipe (Bug#5694).
8471
8472 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
8473
8474 * progmodes/python.el (python-send-region): Send a different
8475 Python command if Ipython is in use.
8476 (python-check-version): Use a Python command to find the version.
8477
8478 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8479
8480 * mouse.el (mouse-yank-primary): Avoid setting primary when
8481 deactivating the mark (Bug#6872).
8482
8483 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
8484
8485 * progmodes/python.el (python-block-pairs): Allow use of "finally"
8486 with "else" (Bug#3991).
8487
8488 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
8489
8490 * net/dbus.el: Accept UNIX domain sockets as bus address.
8491 (top): Don't initialize `dbus-registered-objects-table' anymore,
8492 this is done in dbusbind.c.
8493 (dbus-check-event): Adapt test for bus.
8494 (dbus-return-values-table, dbus-unregister-service)
8495 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
8496 Adapt doc string.
8497
8498 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
8499
8500 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
8501
8502 2010-08-22 Juri Linkov <juri@jurta.org>
8503
8504 * simple.el (read-extended-command): New function with the logic
8505 for `completing-read' moved to Elisp from `execute-extended-command'.
8506 Use `function-called-at-point' in `minibuffer-default-add-function'
8507 to get a command name for M-n (bug#5364, bug#5214).
8508
8509 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8510
8511 * startup.el (command-line-1): Issue warning for ignored arguments
8512 --unibyte, etc (Bug#6886).
8513
8514 2010-08-22 Leo <sdl.web@gmail.com>
8515
8516 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
8517 (ignore, bright, dim, keyword): Split list of nicknames before
8518 passing to rcirc-add-or-remove (Bug#6894).
8519
8520 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8521
8522 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
8523
8524 2010-08-22 Leo <sdl.web@gmail.com>
8525
8526 Fix buffer-list rename&refresh after killing a buffer in ido.
8527 * ido.el: Revert Óscar's.
8528 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
8529 Remember the buffers at head, rather than their name.
8530 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
8531
8532 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
8533 Stefan Monnier <monnier@iro.umontreal.ca>
8534
8535 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
8536 extra backslash added to each line (bug#6890).
8537
8538 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8539
8540 * subr.el (read-key): Don't echo keystrokes (bug#6883).
8541
8542 2010-08-22 Glenn Morris <rgm@gnu.org>
8543
8544 * menu-bar.el (menu-bar-games-menu): Add landmark.
8545
8546 2010-08-22 Glenn Morris <rgm@gnu.org>
8547
8548 * align.el (align-regexp): Make group and spacing arguments
8549 use the interactive defaults when non-interactive. (Bug#6698)
8550
8551 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
8552 expansion, so as not to need sendmail.
8553 (mail-text-start): Remove declaration.
8554 (rmail-retry-failure): Require sendmail.
8555
8556 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8557
8558 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
8559
8560 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
8561
8562 * progmodes/flymake.el (flymake-start-syntax-check-process):
8563 Use `start-file-process' in order to let it run also on remote hosts.
8564
8565 2010-08-22 Kenichi Handa <handa@m17n.org>
8566
8567 * files.el: Add `word-wrap' as safe local variable.
8568
8569 2010-08-22 Glenn Morris <rgm@gnu.org>
8570
8571 * woman.el (woman-translate): Case matters. (Bug#6849)
8572
8573 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8574
8575 * simple.el (kill-region): Doc fix (Bug#6787).
8576
8577 2010-08-22 Glenn Morris <rgm@gnu.org>
8578
8579 * calendar/diary-lib.el (diary-header-line-format):
8580 Fit it to the window, not the frame.
8581
8582 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
8583
8584 * subr.el (ignore-errors): Add debug declaration.
8585
8586 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
8587
8588 * whitespace.el (whitespace-color-off): Remove post-command-hook
8589 locally.
8590
8591 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
8592
8593 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
8594
8595 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
8596
8597 * cus-edit.el (custom-group-value-create): Add extra newline
8598 before end line (Bug#6876).
8599
8600 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
8601
8602 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
8603 when extending it. Before killing on the second click, check if
8604 the buffer is the correct one. Doc fix.
8605 (mouse-secondary-save-then-kill): Allow usage without first
8606 calling mouse-start-secondary, by defaulting to point. Don't save
8607 an empty secondary selection. Doc fix.
8608
8609 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8610
8611 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
8612 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
8613 New version 13.0.
8614 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
8615 Adjust initialization.
8616 (whitespace-bob-marker, whitespace-eob-marker)
8617 (whitespace-buffer-changed): New vars.
8618 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
8619 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
8620 (whitespace-post-command-hook, whitespace-display-char-on):
8621 Adjust code.
8622 (whitespace-looking-back, whitespace-buffer-changed): New funs.
8623 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
8624
8625 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
8626
8627 * files.el (locate-file-completion-table): Only list the .el and .elc
8628 extensions if there's no other choice (bug#5955).
8629
8630 * facemenu.el (facemenu-self-insert-data): New var.
8631 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
8632 New functions.
8633 (facemenu-add-face): Use them.
8634
8635 * simple.el (blink-matching-open): Obey forward-sexp-function.
8636
8637 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
8638
8639 * simple.el (prog-mode-map): New var.
8640 (prog-indent-sexp): New command.
8641
8642 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
8643
8644 * progmodes/prolog.el (smie): Require.
8645
8646 * emacs-lisp/smie.el (smie-default-backward-token)
8647 (smie-default-forward-token): Strip properties.
8648 (smie-next-sexp): Be more careful with associative operators.
8649 (smie-forward-sexp-command): Generalize.
8650 (smie-backward-sexp-command): Simplify.
8651 (smie-closer-alist): New var.
8652 (smie-close-block): New command.
8653 (smie-indent-debug-log): New var.
8654 (smie-indent-offset-rule): Add a few more cases.
8655 (smie-indent-column): New function.
8656 (smie-indent-after-keyword): Use it.
8657 (smie-indent-keyword): Use it.
8658 Fix up the opener code's point position.
8659 (smie-indent-comment): Only applies at BOL.
8660 (smie-indent-debug): New command.
8661
8662 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
8663 declarations that are useful before running the macro.
8664
8665 2010-08-18 Joakim Verona <joakim@verona.se>
8666
8667 * image.el (imagemagick-types-inhibit): New variable.
8668 (imagemagick-register-types): New function.
8669 * image-mode.el (image-transform-properties): New function.
8670 (image-transform-set-scale, image-transform-fit-to-height)
8671 (image-transform-set-rotation, image-transform-set-resize)
8672 (image-transform-fit-to-width, image-transform-fit-to-height):
8673 New functions.
8674 (image-toggle-display-image): Support image transforms.
8675
8676 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
8677
8678 * image.el (create-animated-image): Don't add heuristic mask to image
8679 (Bug#6839).
8680
8681 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
8682
8683 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
8684 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
8685
8686 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
8687
8688 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
8689
8690 Font-lock '...' strings, plus various simplifications and fixes.
8691 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
8692 (octave-font-lock-close-quotes): New function.
8693 (octave-font-lock-syntactic-keywords): New var.
8694 (octave-mode): Use it. Set beginning-of-defun-function.
8695 (octave-mode-map): Don't override the <foo>-defun commands.
8696 (octave-mode-menu): Pass it directly to easy-menu-define;
8697 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
8698 (octave-block-match-alist): Fix up last change so that
8699 octave-close-block uses the more specific keyword.
8700 (info-lookup-mode): Silence byte-compiler.
8701 (octave-beginning-of-defun): Not interactive any more.
8702 Optimize slightly.
8703 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
8704 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
8705 (octave-completion-at-point-function): Make sure point is within
8706 beg..end.
8707 (octave-reindent-then-newline-and-indent):
8708 Use reindent-then-newline-and-indent.
8709 (octave-add-octave-menu): Remove.
8710
8711 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
8712
8713 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
8714 (report-emacs-bug-can-use-xdg-email): New functions.
8715 (report-emacs-bug): Set can-xdg-email to result of
8716 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
8717 \C-cm to report-emacs-bug-insert-to-mailer and add help text
8718 about it.
8719
8720 * net/browse-url.el (browse-url-default-browser): Add cond
8721 for browse-url-xdg-open.
8722 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
8723
8724 2010-08-17 Glenn Morris <rgm@gnu.org>
8725
8726 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
8727 (c-fontify-recorded-types-and-refs): Define for compiler.
8728 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
8729 before use.
8730
8731 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
8732 Fix format call.
8733
8734 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
8735
8736 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
8737 properties.
8738 (tramp-handle-process-file): Call the program in a subshell, in
8739 order to preserve working directory.
8740 (tramp-action-password): Hide password prompt before next run.
8741 (tramp-process-actions): Widen connection buffer for the trace.
8742
8743 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8744
8745 * net/rcirc.el (rcirc-log-process-buffers): New option.
8746 (rcirc-print): Use it.
8747 (rcirc-generate-log-filename): New function.
8748 (rcirc-log-filename-function): Change default to
8749 rcirc-generate-log-filename (Bug#6828).
8750
8751 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
8752
8753 * simple.el (deactivate-mark): If select-active-regions is `only',
8754 only set selection for temporarily active regions.
8755
8756 * cus-start.el: Change defcustom for select-active-regions.
8757
8758 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
8759
8760 * mouse.el (mouse--drag-set-mark-and-point): New function.
8761 (mouse-drag-track): Use LOCATION arg to push-mark.
8762 Use mouse--drag-set-mark-and-point to take click-count into
8763 consideration when updating point and mark (Bug#6840).
8764
8765 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
8766
8767 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8768 Give the Ruby rule a lower priority than Gnu (Bug#6778).
8769
8770 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
8771
8772 * font-lock.el (lisp-font-lock-keywords-2):
8773 Add combine-after-change-calls, condition-case-no-debug,
8774 with-demoted-errors, and with-silent-modifications (Bug#6025).
8775
8776 2010-08-14 Kevin Ryde <user42@zip.com.au>
8777
8778 * emacs-lisp/copyright.el (copyright-update-year)
8779 (copyright-update): Temporary switch-to-buffer to ensure the
8780 buffer change being queried is visible (Bug#5394).
8781
8782 2010-08-14 Tom Tromey <tromey@redhat.com>
8783
8784 * progmodes/etags.el (tags-file-name): Mark safe if stringp
8785 (Bug#6733).
8786
8787 2010-08-14 Eli Zaretskii <eliz@gnu.org>
8788
8789 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
8790 MS-DOS. (Bug#6689)
8791
8792 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
8793
8794 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
8795 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
8796 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
8797 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
8798 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
8799 Call menu-bar-set-tool-bar-position.
8800
8801 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8802
8803 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
8804 comment style (bug#6834).
8805 * progmodes/scheme.el (scheme-mode-syntax-table):
8806 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
8807 "b" flag in "' 14b" syntax.
8808
8809 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
8810 for (un)commenting the region and performing completion.
8811 (octave-mode-menu): Use standard commands for help and completion.
8812 (octave-mode-syntax-table): Support %{..%} comments (sort of).
8813 (octave-mode): Use define-derived-mode.
8814 Set completion-at-point-functions and don't set columns.
8815 Don't disable adaptive-fill-regexp.
8816 (octave-describe-major-mode, octave-comment-region)
8817 (octave-uncomment-region, octave-comment-indent)
8818 (octave-indent-for-comment): Remove.
8819 (octave-indent-calculate): Rename from calculate-octave-indent.
8820 (octave-indent-line, octave-fill-paragraph): Update caller.
8821 (octave-initialize-completions): No need to make an alist.
8822 (octave-completion-at-point-function): New function.
8823 (octave-complete-symbol): Use it.
8824 (octave-insert-defun): Use define-skeleton.
8825
8826 * progmodes/octave-mod.el (octave-mode): Set comment-add.
8827 (octave-mode-map): Use comment-dwim (bug#6829).
8828
8829 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com>
8830
8831 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
8832 indentation of inserted comment.
8833
8834 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
8835
8836 * faces.el (region): Add type gtk that uses gtk colors.
8837
8838 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
8839 Handle theme-name change.
8840
8841 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
8842
8843 * progmodes/sql.el: Version 2.5
8844 (sql-product-alist): Add :prompt-cont-regexp property for several
8845 database products.
8846 (sql-prompt-cont-regexp): New variable.
8847 (sql-output-newline-count, sql-output-by-send):
8848 New variables. Record number of newlines in input text.
8849 (sql-send-string): Handle multiple filters and count newlines.
8850 (sql-send-magic-terminator): Count terminator newline.
8851 (sql-interactive-remove-continuation-prompt): Filters output to
8852 remove continuation prompts; one for each newline.
8853 (sql-interactive-mode): Set up new variables, prompt regexp and
8854 output filter.
8855 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
8856 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
8857
8858 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8859
8860 * emacs-lisp/pcase.el: New file.
8861
8862 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
8863
8864 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
8865 as here-document, otherwise the command could exceed maximum
8866 length of command line.
8867 (tramp-handle-vc-registered): Call script accordingly.
8868 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
8869
8870 2010-08-10 Kenichi Handa <handa@m17n.org>
8871
8872 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
8873 composable pattern.
8874
8875 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
8876
8877 * emacs-lisp/package.el (package-version-split)
8878 (package--version-first-nonzero, package-version-compare):
8879 Functions removed.
8880 (package-directory-list, package-load-all-descriptors)
8881 (package--built-in, package-activate, define-package)
8882 (package-installed-p, package-compute-transaction)
8883 (package-read-all-archive-contents)
8884 (package--add-to-archive-contents, package-buffer-info)
8885 (package-tar-file-info, package-list-packages-internal):
8886 Use version-to-list and version-list-*.
8887
8888 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8889 Use version-to-list.
8890 (package-upload-buffer-internal): Use version-list-<=.
8891
8892 2010-08-09 Kenichi Handa <handa@m17n.org>
8893
8894 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
8895 composable pattern.
8896
8897 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
8898
8899 * tutorial.el (tutorial--default-keys): C-d is now bound to
8900 delete-forward-char (Bug#6826).
8901
8902 * mouse.el (mouse-drag-track): Remove accidentally-removed check
8903 for `double' value of mouse-1-click-follows-link (Bug#6807).
8904
8905 2010-08-08 Johan Bockgård <bojohan@gnu.org>
8906
8907 * replace.el (replace-highlight): Bind isearch-forward and
8908 isearch-error, ensuring that highlighting is updated if the user
8909 switches the search direction (Bug#6808).
8910
8911 * isearch.el (isearch-lazy-highlight-forward): New var.
8912 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
8913 (isearch-lazy-highlight-update): Use it.
8914
8915 2010-08-08 Kenichi Handa <handa@m17n.org>
8916
8917 * international/mule.el (define-charset): Store NAME as :base property.
8918 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
8919 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
8920 current priority. Force using the designation of the specific
8921 charset by adding `charset' text property. Improve the whole algorithm.
8922
8923 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8924
8925 * emulation/pc-select.el (pc-selection-mode-hook)
8926 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
8927 (pc-selection-mode): Fix typos in docstrings.
8928
8929 2010-08-08 Kenichi Handa <handa@m17n.org>
8930
8931 * language/cyrillic.el: Don't add "microsoft-cp1251" to
8932 ctext-non-standard-encodings-alist here.
8933
8934 * international/mule.el (ctext-non-standard-encodings-alist):
8935 Add "koi8-r" and "microsoft-cp1251".
8936 (ctext-standard-encodings): New variable.
8937 (ctext-non-standard-encodings-table): List only elements for
8938 non-standard encodings.
8939 (ctext-pre-write-conversion): Adjust for the above change.
8940 Check ctext-standard-encodings.
8941
8942 * international/mule-conf.el (compound-text): Doc fix.
8943 (ctext-no-compositions): Doc fix.
8944 (compound-text-with-extensions): Doc fix.
8945
8946 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8947
8948 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
8949
8950 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8951
8952 * progmodes/which-func.el (which-func-format): Split help-echo text
8953 into lines, like other mode-line tooltips.
8954
8955 * server.el (server-start): When using TCP sockets, force IPv4
8956 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
8957
8958 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8959
8960 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
8961
8962 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8963
8964 * term.el (term-delimiter-argument-list): Reflow docstring.
8965 (term-read-input-ring, term-write-input-ring, term-send-input)
8966 (term-bol, term-erase-in-display, serial-supported-or-barf):
8967 Fix typos in docstrings.
8968
8969 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8970
8971 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
8972
8973 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8974
8975 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
8976
8977 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
8978
8979 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
8980 Fix typo in docstring (bug#6747).
8981
8982 2010-08-08 Leo <sdl.web@gmail.com>
8983
8984 * eshell/esh-io.el (eshell-get-target): Better detection of
8985 read-only file (Bug#6762).
8986
8987 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8988
8989 * align.el (align-default-spacing): Doc fix.
8990 (align-region-heuristic, align-regexp): Fix typos in docstrings.
8991
8992 2010-08-08 Stephen Peters <speters@itasoftware.com>
8993
8994 * calendar/icalendar.el
8995 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
8996 (icalendar--get-weekday-numbers): New.
8997 (icalendar--convert-recurring-to-diary): Handle multiple byday
8998 values in weekly rules. (Bug#6766)
8999
9000 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
9001
9002 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
9003 (icalendar--create-uid, icalendar-export-region)
9004 (icalendar--parse-summary-and-rest): Code formatting.
9005
9006 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
9007
9008 * calc/calc.el (calc-trail-mode, calc-refresh): Use `face' property
9009 to italicize headers.
9010 (calc-highlight-selections-with-faces): New variable.
9011 (calc-selected-face, calc-nonselected-face): New faces.
9012
9013 * calc/calccomp.el (math-comp-highlight-string): Use
9014 `calc-highlight-selections-with-faces' to determine how to highlight
9015 sub-formulas.
9016
9017 * calc/calc-sel.el (calc-show-selections): Change message to when
9018 using faces to highlight selections.
9019
9020 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
9021
9022 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
9023 Add SQLite 3 keywords, functions and datatypes.
9024 (sql-interactive-mode): Remove `comint-process-echoes' set to t
9025 (Bug#6686).
9026
9027 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
9028
9029 * simple.el (select-active-regions): Move to keyboard.c.
9030 (deactivate-mark): Used saved-region-selection.
9031 (select-active-region): Function removed.
9032 (activate-mark, set-mark, push-mark-command)
9033 (handle-shift-selection): Don't call it.
9034 (keyboard-quit): Avoid adding the region to the window selection.
9035
9036 * mouse.el (mouse-drag-track): Remove hacks to deal with old
9037 select-active-regions implementation.
9038 (mouse-yank-at-click): Doc fix.
9039
9040 * cus-start.el: Add custom declaration for select-active-regions.
9041
9042 2010-08-07 Eli Zaretskii <eliz@gnu.org>
9043
9044 * simple.el (delete-forward-char): Doc fix.
9045
9046 * tutorial.el (help-with-tutorial): Hack safe file-local variables
9047 after reading the tutorial.
9048
9049 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
9050
9051 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
9052 Fix for the case that a C style comment has its delimiters alone on
9053 their respective lines. (Bug#193)
9054
9055 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
9056
9057 * net/tramp.el (tramp-handle-start-file-process): Set connection
9058 property "vec".
9059 (tramp-process-sentinel): Use it for flushing the cache.
9060 We cannot do it via the process buffer, the buffer could be deleted
9061 already when running the sentinel.
9062
9063 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
9064
9065 * comint.el (comint-mode): Make directory tracking functions
9066 functional on remote files. (Bug#6764)
9067
9068 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
9069
9070 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
9071
9072 2010-08-05 Eli Zaretskii <eliz@gnu.org>
9073
9074 * emacs-lisp/find-gc.el (find-gc-source-files):
9075 Rename unexec.c => unexcoff.c.
9076
9077 * emacs-lisp/authors.el (authors-fixed-entries):
9078 Rename unexec.c => unexcoff.c.
9079
9080 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
9081
9082 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
9083 cache, not only file cache.
9084 (tramp-process-sentinel): New defun.
9085 (tramp-handle-start-file-process): Use it, in order to invalidate
9086 file caches.
9087
9088 2010-08-03 Leo <sdl.web@gmail.com>
9089
9090 * server.el (server-start): Simplify loop.
9091
9092 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
9093
9094 * frame.el (screen-height, screen-width, set-screen-width)
9095 (set-screen-height): Remove ancient compatibility aliases.
9096
9097 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
9098 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
9099
9100 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
9101 that change current buffer.
9102
9103 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9104
9105 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
9106 beginning of the string. Use `string-match-p'. (Bug#6765)
9107
9108 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
9109
9110 * cus-start.el (x-gtk-use-system-tooltips): New variable.
9111
9112 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
9113
9114 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
9115 (package--builtins): Tweak descriptions.
9116 (package-print-package): Upcase descriptions if necessary.
9117 Show all built-in packages in font-lock-builtin-face.
9118 (package-list-packages-internal): Omit "emacs" package.
9119 Show status of built-in packages as "built-in".
9120
9121 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
9122
9123 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
9124 before killing to preserve the primary selection (Bug#6701).
9125
9126 * term/x-win.el (x-select-text): Doc fix.
9127
9128 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
9129
9130 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
9131 (objc-font-lock-extra-types):
9132 * progmodes/cc-mode.el (c-basic-common-init):
9133 * progmodes/cc-langs.el (c-make-mode-syntax-table)
9134 (c++-make-template-syntax-table)
9135 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
9136 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
9137 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
9138 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
9139 * progmodes/cc-fonts.el (c-make-inverse-face)
9140 (c-basic-matchers-after):
9141 * progmodes/cc-engine.el (c-forward-keyword-clause)
9142 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
9143 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
9144 (c-guess-continued-construct, c-guess-basic-syntax):
9145 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
9146 The above functions were modified or created.
9147
9148 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
9149
9150 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
9151
9152 2010-07-31 Eli Zaretskii <eliz@gnu.org>
9153
9154 * files.el (bidi-paragraph-direction): Define safe local values.
9155
9156 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
9157 language-info-alist. Remove outdated FIXME in a comment.
9158
9159 2010-07-31 Alan Mackenzie <acm@muc.de>
9160
9161 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
9162 Auto-fill broken in C/C++ modes.
9163
9164 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
9165
9166 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
9167 (menu-bar-showhide-tool-bar-menu-customize-disable)
9168 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
9169 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
9170 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
9171 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
9172 make a menu for Options => toolbar that can move it.
9173
9174 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
9175
9176 * emacs-lisp/package-x.el (package--make-rss-entry):
9177 (package-maint-add-news-item, package--update-news)
9178 (package-upload-buffer-internal): New arg ARCHIVE-URL.
9179
9180 * emacs-lisp/package.el (package-archive-url): Rename from
9181 package-archive-id.
9182 (package-install): Doc fix.
9183 (package-download-single, package-download-tar, package-install)
9184 (package-menu-view-commentary): Callers changed.
9185
9186 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
9187
9188 * net/tramp.el (tramp-handle-start-file-process): Check only for
9189 `remote-tty' process property.
9190 (tramp-open-shell): Don't check for tty.
9191 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
9192 process property.
9193
9194 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
9195 host.
9196
9197 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
9198
9199 * emacs-lisp/package.el (package-load-list, package-archives)
9200 (package-archive-contents, package-user-dir)
9201 (package-directory-list, package--builtins, package-alist)
9202 (package-activated-list, package-obsolete-alist): Mark as risky.
9203
9204 2010-07-28 Phil Hagelberg <phil@evri.com>
9205
9206 Add support for non-default package repositories.
9207 * emacs-lisp/package.el (package-archive-base): Var deleted.
9208 (package-archives): New variable.
9209 (package-archive-contents): Doc fix.
9210 (package-load-descriptor): Do nothing if descriptor file is missing.
9211 (package--write-file-no-coding): New function.
9212 (package-unpack-single): Use it.
9213 (package-archive-id): New function.
9214 (package-download-single, package-download-tar)
9215 (package-menu-view-commentary): Use it.
9216 (package-installed-p): Make second argument optional.
9217 (package-read-all-archive-contents): New function.
9218 (package-initialize): Use it.
9219 (package-read-archive-contents): Add ARCHIVE argument.
9220 (package--add-to-archive-contents): New function.
9221 (package-install): Don't call package-read-archive-contents.
9222 (package--download-one-archive): Store archive file in a
9223 subdirectory of package-user-dir.
9224 (package-menu-execute): Remove spurious line movement.
9225
9226 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
9227
9228 * cus-start.el (tool-bar-style): Add text-image-horiz.
9229
9230 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
9231
9232 * progmodes/gud.el (gud-common-init): Check for remoteness of
9233 `file', and not of `default-directory'.
9234
9235 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
9236
9237 * net/tramp.el (tramp-methods): Move hostname to the end in all
9238 ssh `tramp-login-args'.
9239 (tramp-verbose): Describe verbose level 9.
9240 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
9241 (tramp-open-connection-setup-interactive-shell): Trace stty
9242 settings if `tramp-verbose' >= 9.
9243 (tramp-handle-start-file-process): Implement tty setting.
9244 (Bug#4604, Bug#6360)
9245
9246 * net/tramp-cmds.el (tramp-bug): Recommend setting of
9247 `tramp-verbose' to 9.
9248
9249 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
9250
9251 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
9252 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
9253 Remove references to package `lisp-re' (bug#4369).
9254
9255 2010-07-27 Tom Tromey <tromey@redhat.com>
9256
9257 * progmodes/js.el (js-mode):
9258 * progmodes/make-mode.el (makefile-mode):
9259 * progmodes/simula.el (simula-mode):
9260 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
9261
9262 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
9263
9264 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
9265
9266 * time.el (display-time-day-and-date): Remove spurious * in docstring.
9267 (display-time-world-buffer-name, display-time-world-mode-map):
9268 Fix typos in docstrings.
9269
9270 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
9271
9272 * image-mode.el (image-display-size): New function.
9273 (image-forward-hscroll, image-next-line, image-eol, image-eob)
9274 (image-mode-fit-frame): Use it (Bug#6639).
9275
9276 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
9277
9278 * dired.el (dired-buffers-for-dir): Handle list values of
9279 dired-directory (Bug#6636).
9280
9281 2010-07-26 Sam Steingold <sds@gnu.org>
9282
9283 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
9284 Do not call `x-get-selection' the second time, reuse the value.
9285
9286 2010-07-26 Daiki Ueno <ueno@unixuser.org>
9287
9288 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
9289 which consist of control chars only. Suggested by Richard Stallman.
9290
9291 2010-07-25 Daiki Ueno <ueno@unixuser.org>
9292
9293 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
9294 exists before passing an error to find-file-not-found-functions
9295 (bug#6723).
9296
9297 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
9298
9299 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
9300 Remove leading nil element, adjust values.
9301 (tetris-shapes, tetris-shape-scores):
9302 Change representation of shapes and remove some redundancy.
9303 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
9304 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
9305 Adjust for working with new representation of shapes.
9306 (tetris-shape-rotations): New function.
9307 (tetris-move-bottom, tetris-move-left, tetris-move-right)
9308 (tetris-rotate-prev, tetris-rotate-next):
9309 Adjust for working with the new version of tetris-test-shape.
9310
9311 2010-07-23 Markus Triska <markus.triska@gmx.at>
9312
9313 * progmodes/ps-mode.el: Use comint (bug#5954).
9314 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
9315 (ps-mode-other-newline): Simplify.
9316 (ps-run-mode): Derive from comint-mode instead of
9317 fundamental-mode, yielding input history etc.
9318 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
9319 (ps-run-send-string): Adapt for comint-mode.
9320 (ps-run-newline): Remove now unneeded function.
9321
9322 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
9323
9324 * net/tramp.el (tramp-methods): Move hostname to the end in all
9325 plink `tramp-login-args'.
9326
9327 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
9328
9329 * net/tramp.el (tramp-open-shell): New defun.
9330 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9331 Use it.
9332
9333 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
9334
9335 * net/tramp.el (tramp-file-name-regexp-unified)
9336 (tramp-completion-file-name-regexp-unified): On W32 systems, do
9337 not regard the volume letter as remote filename. (Bug#5447)
9338
9339 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
9340
9341 * custom.el (custom-declare-variable): Give a clearer error message
9342 when the docstring is missing (bug#6476).
9343
9344 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
9345
9346 * progmodes/sql.el: Version 2.4. Improved Login prompting.
9347 (sql-login-params): New widget definition.
9348 (sql-oracle-login-params, sql-mysql-login-params)
9349 (sql-solid-login-params, sql-sybase-login-params)
9350 (sql-informix-login-params, sql-ingres-login-params)
9351 (sql-ms-login-params, sql-postgres-login-params)
9352 (sql-interbase-login-params, sql-db2-login-params)
9353 (sql-linter-login-params): Use it.
9354 (sql-sqlite-login-params): Use it; Define "database" parameter as
9355 a file name.
9356 (sql-sqlite-program): Change to "sqlite3".
9357 (sql-comint-sqlite): Make sure database name is complete.
9358 (sql-for-each-login): New function.
9359 (sql-connect, sql-save-connection): Use it.
9360 (sql-get-login-ext): New function.
9361 (sql-get-login): Use it.
9362 (sql-make-alternate-buffer-name): Handle :file parameters.
9363
9364 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
9365
9366 * dired.el (dired-no-confirm): Document value t and fix defcustom to
9367 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
9368
9369 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
9370
9371 * dired.el (dired-mode-map): Use command remapping (bug#6632).
9372
9373 2010-07-22 Lawrence Mitchell <wence@gmx.li>
9374
9375 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
9376
9377 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
9378
9379 * net/tramp.el (tramp-get-ls-command)
9380 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
9381 instead of "/".
9382
9383 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
9384
9385 * progmodes/sql.el: Version 2.3.
9386 (sql-connection-alist): Change keys from symbols to strings;
9387 enhanced the widget definition.
9388 (sql-mode-menu): Add submenu to select connections.
9389 (sql-interactive-mode-menu): Add "Save Connection" item.
9390 (sql-add-product): Fix menu item.
9391 (sql-get-product-feature): Improved error handling.
9392 (sql--alt-buffer-part, sql--alt-if-not-empty): Remove.
9393 (sql-make-alternate-buffer-name): Simplified.
9394 (sql-product-interactive): Handle missing product.
9395 (sql-connect): Support string keys, minor improvements.
9396 (sql-save-connection): New function.
9397 (sql-connection-menu-filter): New function.
9398
9399 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
9400
9401 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
9402 (tramp-open-connection-setup-interactive-shell):
9403 Apply workaround for IRIX64 bug. Move argument of last
9404 `tramp-send-command' where it belongs to.
9405
9406 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
9407
9408 * net/tramp.el (tramp-perl-file-attributes)
9409 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
9410 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
9411 front of `login-args'.
9412
9413 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
9414
9415 * time.el (display-time-world-mode): Define with `define-derived-mode'.
9416 Set `show-trailing-whitespace' to nil.
9417 (display-time-world-display): Simplify.
9418
9419 2010-07-18 Alan Mackenzie <acm@muc.de>
9420
9421 Enhance `c-file-style' in file/directory local variables.
9422 * progmodes/cc-mode.el (c-count-cfss): New function.
9423 (c-before-hack-hook): Call `c-set-style' differently according to
9424 whether c-file-style was set in file or directory local
9425 variables.
9426
9427 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
9428
9429 * progmodes/sql.el: Version 2.2.
9430 (sql-product, sql-user, sql-database, sql-server, sql-port):
9431 Use defcustom :safe keyword rather than putting safe-local-variable
9432 property.
9433 (sql-password): Use defcustom :risky keyword rather than putting
9434 risky-local-variable property.
9435 (sql-oracle-login-params, sql-sqlite-login-params)
9436 (sql-solid-login-params, sql-sybase-login-params)
9437 (sql-informix-login-params, sql-ingres-login-params)
9438 (sql-ms-login-params, sql-postgres-login-params)
9439 (sql-interbase-login-params, sql-db2-login-params)
9440 (sql-linter-login-params): Add `port' option.
9441 (sql-get-product-feature): Add NO-INDIRECT parameter.
9442 (sql-comint-oracle, sql-comint-sybase)
9443 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
9444 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
9445 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
9446 (sql-comint-linter): Rename sql-connect-* functions to
9447 sql-comint-*.
9448 (sql-product-alist, sql-mode-menu): Rename as above and
9449 :sqli-connect-func to :sqli-comint-func.
9450 (sql-connection): New variable.
9451 (sql-interactive-mode): Set it.
9452 (sql-connection-alist): New variable.
9453 (sql-connect): New function.
9454 (sql--alt-buffer-part, sql--alt-if-not-empty)
9455 (sql-make-alternate-buffer-name): Improved alternative buffer name.
9456
9457 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9458
9459 * image-mode.el (image-bookmark-make-record): Do not set context
9460 in an image (Bug#6650).
9461
9462 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
9463
9464 * simple.el (select-active-region): New function.
9465 (push-mark-command, set-mark, activate-mark)
9466 (handle-shift-selection): Use it.
9467 (deactivate-mark): Don't check for size of region.
9468
9469 * mouse.el (mouse-drag-track): Use select-active-region.
9470
9471 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
9472
9473 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
9474 "--dired" stronger.
9475
9476 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
9477
9478 * term/x-win.el (x-select-enable-primary): Change default to nil.
9479 (x-select-enable-clipboard): Add :version keyword.
9480
9481 * mouse.el (mouse-drag-copy-region):
9482 * simple.el (select-active-regions): Likewise.
9483
9484 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
9485
9486 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
9487 (vc-coding-system-for-diff): Use it to decide whether to inherit
9488 from the file the EOL format for reading the diffs of that file.
9489 (Bug#4451)
9490
9491 2010-07-16 Eli Zaretskii <eliz@gnu.org>
9492
9493 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
9494 unibyte, so compressed attachments are not compressed again.
9495
9496 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
9497
9498 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
9499 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
9500 (tramp-find-shell): Simplify setting connection property.
9501 (tramp-get-ls-command): Make test for "--color=never" stronger.
9502
9503 2010-07-15 Simon South <ssouth@member.fsf.org>
9504
9505 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
9506 blocks within record declarations (i.e. variant parts) correctly.
9507
9508 2010-07-15 Simon South <ssouth@member.fsf.org>
9509
9510 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
9511 over literal tokens when parsing so newlines aren't "absorbed" by
9512 single-line comments. Corrects the indentation of case blocks
9513 that have a comment on the first line.
9514
9515 2010-07-14 Karl Fogel <kfogel@red-bean.com>
9516
9517 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
9518 by Drew Adams (Bug#5504).
9519
9520 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
9521
9522 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
9523 now that Unicode is used (Bug#6594).
9524
9525 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
9526
9527 * term/x-win.el (x-select-enable-clipboard): Default to t.
9528 (x-initialize-window-system): Don't overwrite Paste menu item.
9529
9530 * simple.el (select-active-regions): Default to t.
9531 (push-mark-command): Don't overwrite primary with empty string.
9532
9533 * mouse.el: Bind mouse-2 to mouse-yank-primary.
9534 (mouse-drag-copy-region): Default to nil.
9535
9536 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
9537 Cut/Copy/Paste menu bar items.
9538
9539 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9540
9541 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
9542 Patch applied by Karl Fogel.
9543
9544 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
9545 and `bookmark-current-buffer' if they have been already set in
9546 another buffer (e.g gnus-art).
9547
9548 2010-07-13 Karl Fogel <kfogel@red-bean.com>
9549 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9550
9551 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
9552
9553 * bookmark.el (bookmark-make-record-default): Allow unneeded
9554 information to be omitted from the record.
9555
9556 Adjust declarations and calls:
9557
9558 * info.el (bookmark-make-record-default): Adjust declaration.
9559 (Info-bookmark-make-record): Adjust call.
9560
9561 * woman.el (bookmark-make-record-default): Adjust declaration.
9562 (woman-bookmark-make-record): Adjust call.
9563
9564 * man.el (bookmark-make-record-default): Adjust declaration.
9565 (Man-bookmark-make-record): Adjust call.
9566
9567 * image-mode.el (bookmark-make-record-default): Adjust declaration.
9568
9569 * doc-view.el (bookmark-make-record-default): Adjust declaration.
9570
9571 2010-07-13 Karl Fogel <kfogel@red-bean.com>
9572
9573 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
9574 This is also from Thierry Volpiatto's patch in bug #6444. However,
9575 because it was extraneous to the functional change in that patch,
9576 and causes a re-indendation, I am committing it separately.
9577
9578 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9579
9580 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
9581 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
9582 Patch applied by Karl Fogel (Bug#6444).
9583
9584 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
9585
9586 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
9587
9588 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
9589
9590 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
9591 Dempsky; bug#5084). Remove incorrect binding for S-tab.
9592 (ns-alternatives-map): Change S-tab binding to backtab
9593 (bug#6616).
9594
9595 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
9596 under ns.
9597
9598 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
9599
9600 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
9601 (Bug#5806)
9602
9603 * language/tv-util.el (tai-viet-re): Remove format.
9604
9605 2010-07-12 Kenichi Handa <handa@m17n.org>
9606
9607 * language/hebrew.el: Remove no-byte-compile declaration.
9608 Change coding: tag to utf-8. Register hebrew-shape-gstring in
9609 composition-function-table for 3-character looking back.
9610 (hebrew-font-get-precomposed): New function.
9611 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
9612
9613 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
9614
9615 * mouse.el (mouse-drag-track): Handle select-active-regions
9616 (Bug#6612).
9617
9618 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
9619
9620 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
9621 empty argument to gvfs-copy.
9622
9623 2010-07-10 Glenn Morris <rgm@gnu.org>
9624
9625 * calendar/calendar.el (calendar-week-end-day): New function.
9626 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
9627 Respect calendar-week-start-day. (Bug#6606)
9628 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
9629 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
9630 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
9631 respect calendar-week-start-day.
9632
9633 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
9634
9635 * simple.el (use-region-p): Doc fix (Bug#6607).
9636
9637 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
9638
9639 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9640 Add regexps for cucumber and ruby.
9641
9642 2010-07-08 Daiki Ueno <ueno@unixuser.org>
9643
9644 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
9645 (epa-file-insert-file-contents): Hack to prevent
9646 find-file from opening empty buffer when decryption failed
9647 (bug#6568).
9648
9649 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
9650
9651 * textmodes/ispell.el (ispell-alternate-dictionary):
9652 Use file-readable-p.
9653 Return nil if no word-list is found at default locations.
9654 (ispell-complete-word-dict): Default to nil.
9655 (ispell-command-loop): Use 'word-list' when using lookup-words.
9656 (lookup-words): Use ispell-complete-word-dict or
9657 ispell-alternate-dictionary. Check for word-list availability
9658 and handle errors if needed with better messages (Bug#6539).
9659 (ispell-complete-word): Use ispell-complete-word-dict or
9660 ispell-alternate-dictionary.
9661
9662 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
9663
9664 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
9665 builtins (BufferError, BytesWarning, WindowsError; callables
9666 bin, bytearray, bytes, format, memoryview, next, print; __package__).
9667
9668 2010-07-07 Glenn Morris <rgm@gnu.org>
9669
9670 * play/zone.el (top-level): Do not require timer, tabify, or cl.
9671 (zone-shift-left): Ignore intangibility, and any errors from
9672 forward-char.
9673 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
9674 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
9675 deleting, and copying text properties.
9676 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
9677 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
9678 to point-max is hard.
9679 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
9680 (zone-fill-out-screen): Ignore intangibility.
9681
9682 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
9683
9684 * menu-bar.el (menu-bar-mode):
9685 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
9686 if it has been set.
9687
9688 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
9689 word/line selection (Bug#6565).
9690
9691 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
9692
9693 * net/dbus.el (dbus-send-signal): Declare function.
9694
9695 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
9696
9697 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
9698 (dbus-register-property): New optional argument EMITS-SIGNAL.
9699 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
9700
9701 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
9702
9703 * mouse.el (mouse-drag-overlay): Variable deleted.
9704 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
9705 (mouse--remap-link-click-p): New function.
9706 (mouse-drag-track): Handle dragging by using temporary Transient
9707 Mark mode, instead of a special overlay.
9708 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
9709 mouse-show-mark.
9710
9711 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
9712 deleted.
9713
9714 2010-07-02 Juri Linkov <juri@jurta.org>
9715
9716 * autoinsert.el (auto-insert-alist): Fix readability
9717 by using dotted pair notation for lambda.
9718
9719 2010-07-02 Juri Linkov <juri@jurta.org>
9720
9721 * faces.el (read-face-name): Rename arg `string-describing-default'
9722 to `default'. Doc fix. Display the default value in quotes
9723 in the prompt. With empty input, return the `default' arg,
9724 unless the default value is a string (in which case return nil).
9725 (describe-face): Replace the string `default' arg of `read-face-name'
9726 with the symbol `default'.
9727
9728 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
9729
9730 * emulation/viper-cmd.el (viper-delete-backward-char)
9731 (viper-del-backward-char-in-insert)
9732 (viper-del-backward-char-in-replace, viper-change)
9733 (viper-backward-indent): Replace delete-backward-char with
9734 delete-char (Bug#6552).
9735
9736 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
9737
9738 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
9739
9740 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
9741
9742 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
9743 argument passed to frame-creation-function (Bug#5378).
9744
9745 * faces.el (x-handle-named-frame-geometry)
9746 (x-handle-reverse-video, x-create-frame-with-faces)
9747 (face-set-after-frame-default, tty-create-frame-with-faces):
9748 Don't separately consult default-frame-alist. It is now passed as the
9749 PARAMETER argument.
9750
9751 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
9752
9753 * startup.el (command-line): Don't call tool-bar-setup in a
9754 tty-only build.
9755
9756 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
9757
9758 * ruler-mode.el (ruler--save-header-line-format): New fun.
9759 (ruler-mode): Use it as a setter function, so as not to overwrite
9760 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
9761
9762 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
9763
9764 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
9765 (vc-root-diff, vc-print-root-log, vc-log-incoming)
9766 (vc-log-outgoing): Use it.
9767 (vc-diff-internal): Set diff-vc-backend.
9768
9769 * vc/diff-mode.el (diff-vc-backend): New var.
9770
9771 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
9772
9773 * dynamic-setting.el (font-setting-change-default-font):
9774 Remove call to message.
9775
9776 2010-06-28 Kenichi Handa <handa@m17n.org>
9777
9778 * international/quail.el (quail-insert-kbd-layout): Fix the
9779 showing of untranslated characters.
9780
9781 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
9782
9783 * simple.el (delete-active-region): New option.
9784 (delete-backward-char): Implement in Lisp.
9785 (delete-forward-char): New command.
9786
9787 * mouse.el (mouse-region-delete-keys): Delete.
9788 (mouse-show-mark): Simplify.
9789
9790 * bindings.el (global-map): Bind delete and DEL, the former to
9791 delete-forward-char.
9792
9793 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
9794
9795 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
9796 (ruby-mode): Bind indent-line-function (Bug#5119).
9797
9798 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
9799
9800 * startup.el (command-line): Recognize "0" X resource value.
9801
9802 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
9803
9804 * startup.el (command-line): Use X resources to set the value of
9805 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
9806
9807 * menu-bar.el (menu-bar-mode):
9808 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
9809 Set init-value to t.
9810
9811 * frame.el (frame-notice-user-settings): Don't change
9812 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
9813 vice versa (Bug#2249).
9814
9815 2010-06-26 Eli Zaretskii <eliz@gnu.org>
9816
9817 * w32-fns.el (w32-convert-standard-filename): Doc fix.
9818
9819 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
9820
9821 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
9822 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
9823
9824 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
9825 default directories are expanded (Bug#6143).
9826
9827 2010-06-24 Juri Linkov <juri@jurta.org>
9828
9829 * minibuffer.el (completions-format): Change default from nil to
9830 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
9831
9832 2010-06-24 Juri Linkov <juri@jurta.org>
9833
9834 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
9835 buffer-locally to lambda that re-runs the vc diff command.
9836 (Bug#6447)
9837
9838 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
9839
9840 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
9841 echo area is in use (Bug#3412).
9842
9843 2010-06-22 Glenn Morris <rgm@gnu.org>
9844
9845 * textmodes/texinfmt.el (texinfo-format-region)
9846 (texinfo-raise-lower-sections, texinfo-format-separate-node)
9847 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
9848 (texinfo-format-option, texinfo-noindent):
9849 Use line-beginning-position and line-end-position.
9850
9851 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
9852 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
9853 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
9854 utf-8 characters.
9855
9856 2010-06-21 Karl Fogel <kfogel@red-bean.com>
9857
9858 * play/zone.el (zone-fall-through-ws): Fix next-line ->
9859 forward-line fallout.
9860
9861 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
9862
9863 * mouse.el (mouse-appearance-menu): Add docstring.
9864
9865 * help.el (describe-key): Print up-event using key-description.
9866
9867 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
9868
9869 * net/zeroconf.el (zeroconf-resolve-service)
9870 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
9871 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
9872
9873 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
9874
9875 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
9876
9877 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
9878
9879 Avoid displaying files with a nil state in vc-dir.
9880 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
9881 cases that cause insertion.
9882 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
9883 with a nil state.
9884
9885 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
9886
9887 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
9888
9889 2010-06-29 Leo <sdl.web@gmail.com>
9890
9891 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
9892
9893 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
9894
9895 * generic-x.el (bat-generic-mode): Fix regexp for command line
9896 switches (Bug#5719).
9897
9898 2010-06-27 Masatake YAMATO <yamato@redhat.com>
9899
9900 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
9901 of nconc to avoid pure storage error (Bug#6239).
9902
9903 2010-06-27 Christoph Scholtes <cschol2112@googlemail.com>
9904
9905 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
9906 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
9907 bindings of bookmark-automatically-show-annotations (Bug#6515).
9908
9909 2010-06-25 Eli Zaretskii <eliz@gnu.org>
9910
9911 * arc-mode.el (archive-zip-extract): Don't quote the file name on
9912 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
9913
9914 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
9915
9916 * comint.el (make-comint, make-comint-in-buffer): Mention return
9917 value in the docstrings. (Bug#6498)
9918
9919 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
9920
9921 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
9922 since it is not present when using some non-default switches.
9923
9924 2010-06-23 Karl Fogel <kfogel@red-bean.com>
9925
9926 * simple.el (compose-mail): Fix doc string to refer to
9927 `compose-mail-user-agent-warnings', instead of to the
9928 nonexistent `compose-mail-check-user-agent'.
9929
9930 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
9931
9932 Fix an indentation bug:
9933
9934 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
9935 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
9936 of existing values.
9937
9938 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
9939 (c-clear->-pair-props-if-match-before): now return t when they've
9940 cleared properties, nil otherwise.
9941 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
9942 by taking account of the existing value.
9943
9944 * progmodes/cc-defs.el
9945 (c-clear-char-property-with-value-function): Fix this to clear the
9946 property rather than overwriting it with nil.
9947
9948 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
9949
9950 * emacs-lisp/package.el (package-print-package): Add link to
9951 package description via describe-package.
9952 (describe-package-1): List package requirements. Add button to
9953 perform installation.
9954 (package-menu-describe-package): New command.
9955
9956 * help-mode.el (help-package): New button type.
9957
9958 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
9959
9960 * emacs-lisp/package.el: Move package-list-packages binding to
9961 menu-bar.el.
9962 (describe-package, describe-package-1, package--dir): New funs.
9963 (package-activate-1): Use package--dir.
9964
9965 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
9966
9967 * help-mode.el (help-package-def): New button type.
9968
9969 * menu-bar.el: Move package-list-packages binding here from
9970 package.el.
9971
9972 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
9973
9974 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
9975
9976 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9977
9978 * emacs-lisp/edebug.el (edebug-read-list):
9979 Phase out old-style backquotes.
9980
9981 2010-06-17 Juri Linkov <juri@jurta.org>
9982
9983 * help-mode.el (help-mode): Set buffer-local variable
9984 revert-buffer-function to help-mode-revert-buffer.
9985 (help-mode-revert-buffer): New function.
9986
9987 * info.el (Info-revert-find-node): Check for major-mode Info-mode
9988 before popping to "*info*" (like in other Info functions).
9989 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
9990 old-history-forward. Pop to old-buffer-name or "*info*" to
9991 recreate the killed buffer. Set Info-history-forward from
9992 old-history-forward.
9993 (Info-breadcrumbs-depth): Add :group and :version.
9994
9995 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
9996
9997 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
9998
9999 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
10000
10001 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
10002 for languages like Portuguese with pt_{BR,PT} and no plain pt.
10003
10004 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
10005
10006 * emacs-lisp/package.el (package-menu-mode-map):
10007 Move initialization into declaration.
10008
10009 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
10010
10011 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
10012
10013 * emacs-lisp/package.el (package-archive-base): Point to
10014 elpa.gnu.org.
10015 (package-enable, package-load-list): New defcustoms.
10016 (package-user-dir, package-directory-list): Turn into defcustoms.
10017 Don't include package-user-dir in package-directory-list.
10018 (package--builtins-base): Don't include Emacs as a "package".
10019 (package-subdirectory-regexp): New var.
10020 (package-load-all-descriptors, package-compute-transaction)
10021 (package-download-transaction): Obey package-load-list.
10022 (package-activate-1): Rename from package-do-activate.
10023 (package-list-packages-internal): Check package-load-list.
10024 (package-load-descriptor, package-generate-autoloads)
10025 (package-unpack, package-unpack-single)
10026 (package--read-archive-file, package-delete):
10027 Use expand-file-name.
10028
10029 * emacs-lisp/package-x.el: New file. Package uploading
10030 functionality split out from package.el.
10031
10032 * startup.el (command-line): Load packages after reading init file.
10033
10034 2010-06-17 Tom Tromey <tromey@redhat.com>
10035
10036 * emacs-lisp/package.el: New file.
10037
10038 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
10039
10040 Fix vc-annotate for renamed files when using Git.
10041 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
10042 ls-files. Doe not pass the object as a file name to cat-file, it
10043 is not a file name.
10044 (vc-git-annotate-command): Pass the file name using -- to avoid
10045 ambiguity with the revision.
10046 (vc-git-previous-revision): Pass a relative file name.
10047
10048 2010-06-22 Glenn Morris <rgm@gnu.org>
10049
10050 * progmodes/js.el (js-mode-map): Use standard capitalization and
10051 ellipses for menu entries.
10052
10053 * wid-edit.el (widget-complete): Doc fix.
10054
10055 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
10056
10057 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
10058
10059 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
10060
10061 Fix annotating other revisions for renamed files in vc-annotate.
10062 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
10063 VC backend. Use it when non-nil.
10064 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
10065 (Bug#6487).
10066
10067 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
10068 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
10069 Do not pass the file name to the 'previous-revision call when we
10070 don't want a file diff. (Bug#6489)
10071
10072 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
10073
10074 Fix finding revisions for renamed files in vc-annotate.
10075 * vc/vc.el (vc-find-revision): Add an optional argument for
10076 the VC backend. Use it when non-nil.
10077 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
10078 backend to vc-find-revision. (Bug#6487)
10079
10080 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
10081
10082 Fix reading file names in Git annotate buffers.
10083 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
10084 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
10085
10086 2010-06-20 Alan Mackenzie <acm@muc.de>
10087
10088 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
10089 in file local variables, set it first.
10090
10091 2010-06-19 Glenn Morris <rgm@gnu.org>
10092
10093 * descr-text.el (describe-char-unicode-data): Insert separating
10094 space when needed. (Bug#6422)
10095
10096 * progmodes/idlwave.el (idlwave-action-and-binding):
10097 Fix typo in 2009-12-03 change. (Bug#6450)
10098
10099 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10100
10101 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
10102 handling for `lambda' (misunderstanding).
10103
10104 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
10105
10106 * calc/calc-poly.el (math-accum-factors): Make sure that
10107 constants aren't distributed after they are factored out.
10108
10109 2010-06-16 Juri Linkov <juri@jurta.org>
10110
10111 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
10112 `list-colors-print'. (Bug#6332)
10113
10114 * subr.el (read-quoted-char): Fix up last change (bug#6290).
10115
10116 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
10117
10118 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
10119 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
10120
10121 * font-lock.el (font-lock-major-mode): Rename from
10122 font-lock-mode-major-mode to distinguish it from
10123 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
10124 (font-lock-set-defaults):
10125 * font-core.el (font-lock-default-function): Adjust users.
10126 (font-lock-mode): Don't set it at all.
10127
10128 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
10129
10130 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
10131
10132 2010-06-16 Glenn Morris <rgm@gnu.org>
10133
10134 * calendar/appt.el (appt-time-msg-list): Doc fix.
10135 (appt-check): Let-bind appt-warn-time.
10136 (appt-add): Make the 3rd argument optional.
10137 Simplify argument names. Doc fix. Check for integer WARNTIME.
10138 Only add WARNTIME to the output list if non-nil.
10139
10140 2010-06-16 Ivan Kanis <apple@kanis.eu>
10141
10142 * calendar/appt.el (appt-check): Let the 3rd element of
10143 appt-time-msg-list specify the warning time.
10144 (appt-add): Add new argument with the warning time. (Bug#5176)
10145
10146 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
10147
10148 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
10149 older than version 1.6. (Bug#6361)
10150
10151 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
10152
10153 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
10154 used by cl-do-arglist. (Bug#6408)
10155
10156 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
10157
10158 * textmodes/ispell.el (ispell-dictionary-base-alist):
10159 Fix portuguese casechars/not-casechars for missing 'çÇ'.
10160 Suggested by Rolando Pereira (bug#6434).
10161
10162 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
10163
10164 * facemenu.el (list-colors-sort): Doc fix.
10165
10166 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
10167
10168 * progmodes/sql.el (sql-connect-mysql): Fix typo.
10169
10170 2010-06-14 Juri Linkov <juri@jurta.org>
10171
10172 Add sort option `list-colors-sort'. (Bug#6332)
10173 * facemenu.el (color-rgb-to-hsv): New function.
10174 (list-colors-sort): New defcustom.
10175 (list-colors-sort-key): New function.
10176 (list-colors-display): Doc fix. Sort list according to the option
10177 `list-colors-sort'.
10178 (list-colors-print): Add HSV values to `help-echo' property of
10179 RGB strings.
10180
10181 2010-06-14 Juri Linkov <juri@jurta.org>
10182
10183 * compare-w.el: Move to the "vc" subdirectory.
10184
10185 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
10186
10187 * image-mode.el (image-mode-map): Remap left-char and right-char.
10188
10189 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
10190
10191 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
10192
10193 * term/common-win.el (x-colors): Add all the color names defined
10194 in rgb.txt (Bug#6332).
10195
10196 * facemenu.el (list-colors-print): Don't print extra names if it
10197 will overflow the window width.
10198
10199 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
10200 change (Bug#6343).
10201
10202 2010-06-12 Eli Zaretskii <eliz@gnu.org>
10203
10204 * files.el (make-directory): Doc fix (bug#6396).
10205
10206 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
10207
10208 * net/tramp.el (tramp-remote-process-environment): Protect version
10209 string by apostroph.
10210 (tramp-shell-prompt-pattern): Do not use a shy group in case of
10211 XEmacs.
10212 (tramp-file-name-for-operation): Add `call-process-region'.
10213 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
10214
10215 * net/tramp-compat.el (top): Do not autoload
10216 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
10217 only when `start-file-process' is not bound.
10218 (tramp-advice-file-expand-wildcards): Do not use
10219 `tramp-handle-file-remote-p'.
10220 (tramp-compat-make-temp-file): Handle the case, that
10221 `make-temp-file' has no third argument EXTENSION.
10222
10223 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
10224
10225 * makefile.w32-in (WINS_BASIC): Include new directory vc.
10226
10227 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
10228
10229 2010-06-11 Juri Linkov <juri@jurta.org>
10230
10231 * finder.el (finder-known-keywords): Add keyword "vc"
10232 for version control.
10233
10234 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
10235 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
10236 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
10237 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
10238
10239 2010-06-11 Juri Linkov <juri@jurta.org>
10240
10241 Move version control related files to the "vc" subdirectory.
10242 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
10243 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
10244 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
10245 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
10246 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
10247 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
10248 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
10249 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
10250 Move files to the "vc" subdirectory.
10251
10252 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
10253
10254 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
10255 (Bug#6367).
10256
10257 2010-06-11 Stephen Eglen <stephen@gnu.org>
10258
10259 * shell.el: Bind `shell-resync-dirs' to M-RET.
10260
10261 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
10262
10263 * notifications.el: Move file from lisp/net, because it is
10264 supposed to talk locally to the user.
10265
10266 2010-06-10 Julien Danjou <julien@danjou.info>
10267
10268 * net/notifications.el (notifications-on-action-signal)
10269 (notifications-on-closed-signal): Pass notification id as first
10270 argument to the callback functions. Add docstrings.
10271 (notifications-notify): Fix docstring.
10272
10273 2010-06-10 Glenn Morris <rgm@gnu.org>
10274
10275 * emacs-lisp/authors.el (authors-ignored-files)
10276 (authors-valid-file-names): Add some files.
10277
10278 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
10279
10280 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
10281 merge conflict, giving preference to the emacs-23 version of the code.
10282
10283 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
10284
10285 * emacs-lisp/advice.el (ad-compile-function):
10286 Define warning-suppress-types before we let-bind it (bug#6275).
10287
10288 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
10289 declare it, make it buffer-local and permanent-local (bug#6324).
10290 (vc-resynch-window): Adjust name.
10291 * vc-hooks.el (vc-find-file-hook): Adjust name.
10292
10293 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
10294
10295 * net/notifications.el (notifications-notify): Fix docstring.
10296
10297 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
10298
10299 Update to Unicode 6.0.0 beta.
10300 * international/charprop.el: Update copyright.
10301 * international/mule-cmds.el (ucs-names): Update character ranges.
10302 * international/uni-bidi.el:
10303 * international/uni-category.el:
10304 * international/uni-combining.el:
10305 * international/uni-comment.el:
10306 * international/uni-decimal.el:
10307 * international/uni-decomposition.el:
10308 * international/uni-digit.el:
10309 * international/uni-lowercase.el:
10310 * international/uni-mirrored.el:
10311 * international/uni-name.el:
10312 * international/uni-numeric.el:
10313 * international/uni-old-name.el:
10314 * international/uni-titlecase.el:
10315 * international/uni-uppercase.el: Regenerate.
10316
10317 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
10318
10319 * emacs-lisp/smie.el (comment-string-strip): Declare function.
10320 (smie-precs-precedence-table): Fix typo in docstring.
10321
10322 * vc-mtn.el (log-edit-extract-headers): Declare function.
10323
10324 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
10325
10326 * net/notifications.el (dbus-register-signal): Declare function.
10327 (notifications-notify): Fix typos and reflow docstring.
10328
10329 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
10330
10331 Improve VC create/retrieve tag/branch.
10332 * vc.el (vc-create-tag): Do not read the directory name for VCs
10333 with repository revision granularity. Adjust the tag/branch
10334 prompt. Reset VC properties.
10335 (vc-retrieve-tag): Do not read the directory name for VCs
10336 with repository revision granularity. Reset VC properties.
10337
10338 2010-06-09 Julien Danjou <julien@danjou.info>
10339
10340 * net/notifications.el: New file.
10341
10342 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
10343
10344 Add optional support for resetting VC properties.
10345 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
10346 call vc-file-clearprops when true.
10347 (vc-resynch-buffer): Add new optional argument, pass it down.
10348 (vc-resynch-buffers-in-directory): Likewise.
10349
10350 Improve support for special markup in the VC commit message.
10351 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
10352 * vc-hg.el (vc-hg-checkin): Add support for Date:.
10353 * vc-git.el (vc-git-checkin):
10354 * vc-bzr.el (vc-bzr-checkin): Likewise.
10355
10356 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
10357
10358 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
10359 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
10360
10361 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
10362
10363 * iimage.el: Remove images as soon as the underlying text is modified.
10364 (iimage-modification-hook): New function.
10365 (iimage-mode-buffer): Use it.
10366
10367 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10368
10369 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
10370 smie-indent-offset-after. Add :prev case. Make a bit more generic.
10371 (smie-indent-virtual): Remove `virtual' arg. Update callers.
10372 (smie-indent-keyword): Add handling of open-paren keywords.
10373 (smie-indent-comment-continue): Don't assume comment-continue.
10374
10375 2010-06-07 Martin Rudalics <rudalics@gmx.at>
10376
10377 * window.el (pop-to-buffer): Remove the conditional that
10378 compares new-window and old-window, so it will reselect
10379 the selected window unconditionally.
10380 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
10381
10382 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10383
10384 * emacs-lisp/smie.el (smie-indent-offset-after)
10385 (smie-indent-forward-token, smie-indent-backward-token): New functions.
10386 (smie-indent-after-keyword): Use them.
10387 (smie-indent-fixindent): Only applies to the indentation of the BOL.
10388 (smie-indent-keyword): Tweak the black magic.
10389 (smie-indent-comment-continue): Strip comment-continue before use.
10390 (smie-indent-functions): Indent comments before keywords.
10391
10392 2010-06-06 Juri Linkov <juri@jurta.org>
10393
10394 * isearch.el (isearch-lazy-highlight-search): Fix looping
10395 by checking for empty match. This syncs this loop with the
10396 similar loop in `isearch-search'. (Bug#6362)
10397
10398 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
10399
10400 * net/dbus.el (dbus-register-method): Declare function.
10401 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
10402 (dbus-introspect): Doc fix.
10403 (dbus-event-bus-name, dbus-introspect-get-interface)
10404 (dbus-introspect-get-argument): Reflow docstrings.
10405
10406 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
10407
10408 vc-log-incoming/vc-log-outgoing fixes for Git.
10409 * vc-git.el (vc-git-log-view-mode): Fix font lock for
10410 incoming/outgoing logs.
10411 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
10412 instead of vc-git-compute-remote.
10413 (vc-git-compute-remote): Remove.
10414
10415 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
10416
10417 * term/common-win.el (x-colors): Add "dark green" and "dark
10418 turquoise" (Bug#6332).
10419
10420 2010-06-04 Juri Linkov <juri@jurta.org>
10421
10422 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
10423 Instead of setting `replace' to t and replacing the same string
10424 with itself, don't do certain actions when
10425 kill-do-not-save-duplicates is non-nil and string is equal to car
10426 of kill-ring: don't call menu-bar-update-yank-menu, don't push
10427 interprogram-paste strings to kill-ring, and don't push the input
10428 argument `string' to kill-ring.
10429 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
10430
10431 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
10432
10433 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
10434
10435 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
10436
10437 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
10438 (tramp-gvfs-handler-mounted-unmounted)
10439 (tramp-gvfs-connection-mounted-p): Handle default-location.
10440
10441 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
10442 move files to trash.
10443
10444 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
10445
10446 * international/mule-cmds.el (nonascii-insert-offset)
10447 (nonascii-translation-table): Add obsolescence information.
10448
10449 * international/mule.el (make-translation-table-from-vector): Doc fix.
10450
10451 2010-06-03 Glenn Morris <rgm@gnu.org>
10452
10453 * desktop.el (desktop-clear-preserve-buffers):
10454 Add "*Warnings*" buffer. (Bug#6336)
10455
10456 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
10457
10458 vc-log-incoming/vc-log-outgoing improvements for Git.
10459 * vc-git.el (vc-git-log-outgoing): Use the same format as the
10460 short log.
10461 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
10462
10463 Add bindings for vc-log-incoming and vc-log-outgoing.
10464 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
10465 and vc-log-outgoing.
10466 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
10467 and vc-log-outgoing.
10468
10469 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
10470
10471 * net/rcirc.el (rcirc-sort-nicknames): Remove.
10472 (rcirc-handler-366): Always sort nicknames.
10473
10474 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
10475
10476 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
10477
10478 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
10479
10480 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
10481
10482 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10483
10484 * net/rcirc.el (rcirc-sort-nicknames): Change default.
10485 (rcirc-sort-nicknames-join): Avoid setq.
10486
10487 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
10488
10489 * net/rcirc.el (rcirc-sort-nicknames): New custom.
10490 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
10491 (rcirc-handler-366): Use them.
10492
10493 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10494
10495 Split smie-indent-calculate into more manageable chunks.
10496 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
10497 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
10498 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
10499 (smie-indent-exps): Extract from smie-indent-calculate.
10500 (smie-indent-functions): New var.
10501 (smie-indent-functions): Use them.
10502
10503 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10504
10505 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
10506 (smie-indent-calculate): Simplify and cleanup.
10507
10508 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
10509
10510 * net/tramp-gvfs.el (top): Require url-util.
10511 (tramp-gvfs-mount-point): Remove.
10512 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
10513 New defuns.
10514 (with-tramp-dbus-call-method): Format trace message.
10515 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
10516 Implement backup call, when operation on local files fails.
10517 Use progress reporter. Flush properties of changed files.
10518 (tramp-gvfs-handle-make-directory): Make more traces.
10519 (tramp-gvfs-url-file-name): Hexify file name in url.
10520 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
10521 into account for the resulting file name.
10522 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
10523 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
10524 (tramp-gvfs-handler-mounted-unmounted)
10525 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
10526 attribute "default_location". Set "prefix" property.
10527 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
10528 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
10529 exists. Raise an error, if not (due to a corresponding answer
10530 "no" in interactive questions, for example).
10531
10532 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
10533
10534 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
10535
10536 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
10537
10538 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
10539 right-*. (Bug#6265)
10540
10541 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
10542
10543 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
10544 * vc-git.el (vc-git-compute-remote): New function.
10545 (vc-git-log-outgoing): Use it instead of hard coding a value.
10546 (vc-git-log-incoming): New function.
10547
10548 Improve state updating for VC tag commands.
10549 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
10550 to update the state of all buffers in the directory.
10551
10552 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
10553
10554 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10555
10556 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
10557 `file-directory-p' to the filename part rather than to the whole text.
10558
10559 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10560
10561 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
10562
10563 2010-05-31 Drew Adams <drew.adams@oracle.com>
10564
10565 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
10566
10567 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
10568
10569 * subr.el (momentary-string-display): Just use read-event to read
10570 the exit event (Bug#6238).
10571
10572 2010-05-30 Eli Zaretskii <eliz@gnu.org>
10573
10574 * international/mule.el (define-coding-system): Doc fix (bug#6313).
10575
10576 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
10577
10578 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
10579 Suggested by Eli Zaretskii <eliz@gnu.org>.
10580
10581 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10582
10583 * minibuffer.el (completion-file-name-table): Don't return a boundary
10584 past the end of `string' (bug#6299).
10585 (completion--file-name-table): Delegate to completion-file-name-table
10586 for the `boundaries' case.
10587
10588 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
10589
10590 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
10591 movement commands.
10592
10593 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
10594 `path-separator', but maintain compatibility with Emacs 20.2.
10595
10596 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
10597
10598 * server.el (server-process-filter): Receive parent-id argument
10599 from emacsclient.
10600 (server-create-window-system-frame): New arg. Pass parent-id as
10601 frame parameter.
10602
10603 2010-05-29 Eli Zaretskii <eliz@gnu.org>
10604
10605 Bidi-sensitive word movement with arrow keys.
10606 * subr.el (right-arrow-command, left-arrow-command): Move to
10607 bindings.el.
10608
10609 * bindings.el (right-char, left-char): Move from subr.el and
10610 rename from right-arrow-command and left-arrow-command.
10611 (right-word, left-word): New functions.
10612 (global-map) <right>: Bind to right-char.
10613 (global-map) <left>: Bind to left-char.
10614 (global-map) <C-right>: Bind to right-word.
10615 (global-map) <C-left>: Bind to left-word.
10616
10617 * ls-lisp.el (ls-lisp-classify-file): New function.
10618 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
10619 (ls-lisp-classify): Call ls-lisp-classify-file.
10620 (insert-directory): Remove blanks from switches.
10621
10622 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
10623
10624 * ansi-color.el: Delete unused escape sequences (Bug#6085).
10625 (ansi-color-drop-regexp): New constant.
10626 (ansi-color-apply, ansi-color-filter-region)
10627 (ansi-color-apply-on-region): Delete unrecognized control sequences.
10628 (ansi-color-apply): Build string list before calling concat.
10629
10630 2010-05-28 Juri Linkov <juri@jurta.org>
10631
10632 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10633 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
10634 (Bug#5270)
10635
10636 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
10637
10638 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
10639 to ignored backtrace functions.
10640 (with-progress-reporter): Expand docstring.
10641 (tramp-handle-delete-file): Implement TRASH argument.
10642 (tramp-get-remote-trash): New defun.
10643
10644 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
10645
10646 * net/tramp-compat.el (tramp-compat-delete-file):
10647 Use `symbol-value' for backward compatibility.
10648
10649 * net/tramp.el (tramp-handle-make-symbolic-link)
10650 (tramp-handle-load)
10651 (tramp-do-copy-or-rename-file-via-buffer)
10652 (tramp-do-copy-or-rename-file-directly)
10653 (tramp-do-copy-or-rename-file-out-of-band)
10654 (tramp-handle-process-file, tramp-handle-call-process-region)
10655 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10656 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10657 (tramp-delete-temp-file-function): Use `delete-file' instead
10658 of `tramp-compat-delete-file'.
10659
10660 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
10661 (tramp-fish-handle-make-symbolic-link)
10662 (tramp-fish-handle-process-file): Use `delete-file' instead
10663 of `tramp-compat-delete-file'.
10664
10665 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
10666 Use `delete-file' instead of `tramp-compat-delete-file'.
10667
10668 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region):
10669 Use `delete-file' instead of `tramp-compat-delete-file'.
10670
10671 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
10672 Use `delete-file' instead of `tramp-compat-delete-file'.
10673
10674 * net/tramp-smb.el (tramp-smb-handle-copy-file)
10675 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10676 (tramp-smb-handle-write-region): Use `delete-file' instead of
10677 `tramp-compat-delete-file'.
10678 (tramp-smb-handle-delete-directory): Use 'trash as arg.
10679
10680 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
10681
10682 * dired.el (dired-delete-file): New arg TRASH.
10683 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
10684 (dired-do-flagged-delete, dired-do-delete): Use trash.
10685
10686 * speedbar.el (speedbar-item-delete): Allow trashing.
10687
10688 * files.el (delete-directory): New arg TRASH.
10689
10690 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
10691 (ange-ftp-rename-remote-to-remote)
10692 (ange-ftp-rename-local-to-remote)
10693 (ange-ftp-rename-remote-to-local, ange-ftp-load)
10694 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
10695 `delete-file'.
10696 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
10697 allow trashing.
10698
10699 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
10700 handle new TRASH arg of `delete-file'.
10701
10702 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
10703 (tramp-handle-make-symbolic-link, tramp-handle-load)
10704 (tramp-do-copy-or-rename-file-via-buffer)
10705 (tramp-do-copy-or-rename-file-directly)
10706 (tramp-do-copy-or-rename-file-out-of-band)
10707 (tramp-handle-process-file, tramp-handle-call-process-region)
10708 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10709 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10710 (tramp-delete-temp-file-function): Use null TRASH arg in
10711 tramp-compat-delete-file call.
10712
10713 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
10714 (tramp-fish-handle-delete-file)
10715 (tramp-fish-handle-make-symbolic-link)
10716 (tramp-fish-handle-process-file): Use null TRASH arg in
10717 `tramp-compat-delete-file' call.
10718
10719 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
10720 arg in `tramp-compat-delete-file' call.
10721
10722 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
10723 (tramp-gvfs-handle-write-region): Use null TRASH arg in
10724 `tramp-compat-delete-file' call.
10725
10726 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
10727 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
10728 `tramp-compat-delete-file' call.
10729
10730 * net/tramp-smb.el (tramp-smb-handle-copy-file)
10731 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10732 (tramp-smb-handle-write-region): Use null TRASH arg in
10733 tramp-compat-delete-file call.
10734 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
10735 (tramp-smb-handle-delete-file): Rename arg.
10736
10737 * diff.el (diff-sentinel):
10738 * epg.el (epg--make-temp-file, epg-decrypt-string)
10739 (epg-verify-string, epg-sign-string, epg-encrypt-string):
10740 * jka-compr.el (jka-compr-partial-uncompress)
10741 (jka-compr-call-process, jka-compr-write-region):
10742 * server.el (server-sentinel): Remove optional arg from
10743 delete-file, reverting 2010-05-03 change.
10744
10745 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
10746
10747 * progmodes/verilog-mode.el (verilog-type-font-keywords):
10748 Use font-lock-constant-face, not obsolete font-lock-reference-face.
10749
10750 2010-05-27 Kenichi Handa <handa@m17n.org>
10751
10752 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
10753 element of GSTRING is nil.
10754
10755 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10756
10757 * emacs-lisp/smie.el (smie-forward-token-function)
10758 (smie-backward-token-function): New vars.
10759 (smie-backward-sexp, smie-forward-sexp)
10760 (smie-indent-hanging-p, smie-indent-calculate): Use them.
10761 (smie-default-backward-token): Rename from smie-backward-token and
10762 skip comments.
10763 (smie-default-forward-token): Rename from smie-forward-token and
10764 skip comments.
10765 (smie-next-sexp): Handle nil results from next-token.
10766 (smie-indent-calculate): Add a new case for special `fixindent' comments.
10767
10768 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
10769
10770 * progmodes/verilog-mode.el (verilog-type-font-keywords):
10771 Use font-lock-constant-face, not obsolete font-lock-reference-face.
10772
10773 2010-05-27 Masatake YAMATO <yamato@redhat.com>
10774
10775 * htmlfontify.el (hfy-face-resolve-face): New function.
10776 (hfy-face-to-style): Use it (Bug#6279).
10777
10778 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
10779
10780 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
10781 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
10782
10783 2010-05-26 Glenn Morris <rgm@gnu.org>
10784
10785 * emulation/edt.el (edt-load-keys): Use locate-library.
10786
10787 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
10788
10789 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
10790 (log-edit-changelog-entries): Doc fix.
10791 (log-edit-changelog-insert-entries): Args changed.
10792 Rename relative filenames in ChangeLog entries. Delete tabs.
10793 (log-edit-insert-changelog-entries): Reorganize return value of
10794 `log-edit-changelog-entries' to pass filenames to
10795 log-edit-changelog-insert-entries.
10796
10797 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10798
10799 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
10800 `image-dired-dired-insert-marked-thumbs' to
10801 `image-dired-dired-toggle-marked-thumbs'.
10802
10803 * image-dired.el: Require cl when compiling.
10804 (image-dired-dired-toggle-marked-thumbs): Rename from
10805 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
10806 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
10807 to 'no-dir. Skip files whose names don't match
10808 `image-file-name-regexp'. When file has a thumbnail overlay,
10809 delete it. (Bug#5270)
10810
10811 2010-05-25 Juri Linkov <juri@jurta.org>
10812
10813 * image-mode.el (image-mode): Add image-after-revert-hook to
10814 after-revert-hook.
10815 (image-after-revert-hook): New function. (Bug#5669)
10816
10817 2010-05-25 Juri Linkov <juri@jurta.org>
10818
10819 * image.el (image-animated-p): When delay between animated images
10820 is 0, set it to 10 (0.1 sec). (Bug#6258)
10821
10822 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
10823
10824 * net/tramp.el (tramp-handle-insert-directory): Don't use
10825 `forward-word', its default syntax could be changed.
10826
10827 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
10828
10829 * net/tramp.el (tramp-progress-reporter-update): New defun.
10830 (with-progress-reporter): Use it.
10831 (tramp-process-actions):
10832 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
10833 Preserve current message, in order to let progress reporter continue
10834 afterwards. (Bug#6257)
10835
10836 2010-05-25 Glenn Morris <rgm@gnu.org>
10837
10838 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
10839 Add :version.
10840
10841 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
10842
10843 * net/rcirc.el (rcirc-default-user-name): Change to "user".
10844 (rcirc-default-full-name): Change to "unknown".
10845 (rcirc-user-name-history): Add variable.
10846
10847 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
10848 Jonathan Rockway <jon@jrock.us>
10849
10850 * net/rcirc.el (rcirc-server-alist): Add :pass.
10851 (rcirc): When prompting for connection parameters, also prompt for
10852 username and password.
10853 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
10854 value to server when connecting.
10855
10856 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10857
10858 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
10859 (smie-merge-prec2s): Pass the tables as separate args.
10860 (smie-bnf-precedence-table): Adjust call accordingly.
10861 (smie-prec2-levels): Set levels at the end.
10862
10863 Replace Lisp calls to delete-backward-char by delete-char.
10864 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
10865 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
10866 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
10867 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
10868 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
10869 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
10870 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
10871 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
10872 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
10873 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
10874 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
10875 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
10876 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
10877 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
10878 delete-backward-char by calls to delete-char.
10879
10880 2010-05-25 Kenichi Handa <handa@m17n.org>
10881
10882 * language/hebrew.el (hebrew-shape-gstring): New function.
10883 Register it in composition-function-table for all Hebrew combining
10884 characters.
10885
10886 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10887
10888 * epa.el (epa--select-keys): Don't explicitly delete the window since
10889 that can fail (e.g. sole window in frame). Use dedication instead.
10890
10891 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
10892
10893 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
10894
10895 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
10896
10897 * image.el (image-refresh): Define as an alias for image-flush.
10898
10899 * image-mode.el (image-toggle-display-image): Caller changed.
10900
10901 2010-05-21 Juri Linkov <juri@jurta.org>
10902
10903 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
10904 Remove "all" from grep-files-aliases. Split grep-files-aliases by
10905 whitespace, call wildcard-to-regexp on substrings and concat them
10906 with "\\|". (Bug#6114)
10907
10908 2010-05-21 Alan Mackenzie <acm@muc.de>
10909
10910 * progmodes/cc-engine.el (c-parse-state-get-strategy):
10911 Replace parameter `here' with `here-' and `here-plus', which sandwich
10912 any pertinent CPP construct.
10913 (c-remove-stale-state-cache-backwards): Fix a bug which happens
10914 when doing (c-parse-state) in a CPP construct: Exclude any "new"
10915 CPP construct from taking part in the scanning.
10916
10917 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
10918
10919 * net/tramp.el (tramp-do-copy-or-rename-file)
10920 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
10921 Tune `with-progress-reporter' messages.
10922 (tramp-handle-vc-registered):
10923 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
10924 (tramp-fish-handle-insert-file-contents)
10925 (tramp-fish-maybe-open-connection):
10926 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10927 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
10928 (tramp-imap-handle-insert-file-contents)
10929 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
10930
10931 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
10932
10933 * add-log.el (change-log-font-lock-keywords):
10934 Highlight all authors in multi-author entries.
10935
10936 * smerge-mode.el (smerge-refine-ignore-whitespace)
10937 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
10938 Fix typos in docstrings.
10939 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
10940
10941 2010-05-21 Glenn Morris <rgm@gnu.org>
10942
10943 * progmodes/fortran.el (fortran-mode):
10944 * progmodes/f90.el (f90-mode): Derive from prog-mode.
10945
10946 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
10947 having a relative path in src/Makefile.in.
10948
10949 2010-05-20 Kevin Ryde <user42@zip.com.au>
10950
10951 * help-mode.el (help-make-xrefs): For Info node links turn
10952 newlines into spaces. Link node names with newlines are matched
10953 by help-xref-info-regexp and buttonized, this change ensures they
10954 can be followed successfully with RET. (Bug#6206)
10955
10956 2010-05-20 Juri Linkov <juri@jurta.org>
10957
10958 * locate.el (locate): Use pop-to-buffer instead of
10959 switch-to-buffer-other-window. (Bug#6204)
10960
10961 2010-05-20 Juri Linkov <juri@jurta.org>
10962
10963 * replace.el (replace-highlight): Fix lazy-highlighting
10964 for `M-s w str M-% str RET'.
10965
10966 2009-12-15 Masatake YAMATO <yamato@redhat.com>
10967
10968 * isearch.el (isearch-yank-word-or-char): Pull next subword
10969 when `subword-mode' is activated. (Bug#6220)
10970
10971 2010-05-20 Mark A. Hershberger <mah@everybody.org>
10972
10973 * isearch.el (isearch-update-post-hook): New hook.
10974 (isearch-update): Use the new hook. (Bug#6225)
10975
10976 2010-05-20 Juri Linkov <juri@jurta.org>
10977
10978 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
10979 [f1], [help], and (char-to-string help-char) instead of "\C-h".
10980 (Bug#6222)
10981
10982 2010-05-20 Juri Linkov <juri@jurta.org>
10983
10984 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
10985 (Bug#6223)
10986
10987 2010-05-20 Juri Linkov <juri@jurta.org>
10988
10989 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
10990 FILE-NAME to read from the minibuffer when called interactively
10991 with prefix argument instead of using buffer-file-name.
10992 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
10993
10994 * dired.el: Update autoloads.
10995
10996 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
10997
10998 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
10999 nxml-finish-element, for consistency with SGML mode.
11000
11001 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
11002 octave-close-block.
11003
11004 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
11005
11006 * composite.el: Require cl when compiling.
11007 (reference-point-alist, compose-gstring-for-graphic)
11008 (compose-gstring-for-terminal): Fix typos in docstrings.
11009
11010 2010-05-19 Juri Linkov <juri@jurta.org>
11011
11012 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
11013 set-window-parameter.
11014
11015 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
11016
11017 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
11018 where appropriate.
11019 (tramp-maybe-open-connection): Use it.
11020
11021 2010-05-19 Eli Zaretskii <eliz@gnu.org>
11022
11023 * simple.el (move-end-of-line): Make sure we are at line beginning
11024 before backing up to end of previous line.
11025
11026 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
11027
11028 * password-cache.el (password-cache-remove): Fix docstring.
11029
11030 * net/secrets.el: Autoload the widget functions.
11031 (secrets-search-items, secrets-create-item)
11032 (secrets-get-attributes, secrets-expand-item): Attributes will be
11033 stored on the password database without leading ":", as all other
11034 clients do as well.
11035 (secrets-mode): Fix docstring.
11036 (secrets-show-secrets): Provide it as autoloaded command only when
11037 D-Bus support is available. Check existence of Secret Service API.
11038
11039 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
11040
11041 * indent.el (indent-region): Deactivate region (bug#6200).
11042
11043 2010-05-19 Glenn Morris <rgm@gnu.org>
11044
11045 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
11046
11047 2010-05-19 Kenichi Handa <handa@m17n.org>
11048
11049 * composite.el: Register compose-gstring-for-graphic in
11050 composition-function-table only for combining characters (Mn, Mc, Me).
11051
11052 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
11053
11054 * calc/calc-trail.el (calc-trail-isearch-forward)
11055 (calc-trail-isearch-backward): Ensure that the new window
11056 point is set correctly.
11057
11058 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11059
11060 * subr.el (read-quoted-char): Resolve modifiers after key
11061 remapping (bug#6212).
11062
11063 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
11064
11065 Add visualization code for secrets.
11066 * net/secrets.el (secrets-mode): New major mode.
11067 (secrets-show-secrets, secrets-show-collections)
11068 (secrets-expand-collection, secrets-expand-item)
11069 (secrets-tree-widget-after-toggle-function)
11070 (secrets-tree-widget-show-password): New defuns.
11071
11072 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11073
11074 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
11075 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
11076 handled in smie-next-sexp.
11077 (smie-indent-calculate): Provide a starting indentation (so the
11078 recursion is well-founded ;-).
11079
11080 Fix handling of non-associative equal levels.
11081 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
11082 when it's not needed.
11083 (smie-op-left, smie-op-right): New functions.
11084 (smie-next-sexp): New function, extracted from smie-backward-sexp.
11085 Better handle equal levels to distinguish the associative case from
11086 the "multi-keyword construct" case.
11087 (smie-backward-sexp, smie-forward-sexp): Use it.
11088
11089 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
11090
11091 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
11092
11093 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
11094 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
11095
11096 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11097
11098 Provide a simple generic indentation engine and use it for Prolog.
11099 * emacs-lisp/smie.el: New file.
11100 * progmodes/prolog.el (prolog-smie-op-levels)
11101 (prolog-smie-indent-rules): New var.
11102 (prolog-mode-variables): Use them to configure SMIE.
11103 (prolog-indent-line, prolog-indent-level): Remove.
11104
11105 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
11106
11107 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
11108 order before computing the averages.
11109
11110 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
11111
11112 * calc/calc-vec.el (calc-histogram):
11113 (calcFunc-histogram): Allow vectors as inputs.
11114 (math-vector-avg): New function.
11115
11116 * calc/calc-ext.el (math-group-float): Have the number of digits
11117 being grouped depend on the radix (Bug#6189).
11118
11119 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
11120
11121 * version.el (emacs-copyright, emacs-version): Don't define here,
11122 now that emacs.c defines it.
11123
11124 2010-05-15 Eli Zaretskii <eliz@gnu.org>
11125
11126 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
11127 "Describe Language Environment" menu item.
11128
11129 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
11130
11131 Bidi-sensitive movement with arrow keys.
11132 * subr.el (right-arrow-command, left-arrow-command): New functions.
11133
11134 * bindings.el (global-map): Bind them to right and left arrow keys.
11135
11136 Don't override standard definition of convert-standard-filename.
11137 * files.el (convert-standard-filename):
11138 Call w32-convert-standard-filename and dos-convert-standard-filename on
11139 the corresponding systems.
11140
11141 * w32-fns.el (w32-convert-standard-filename): Rename from
11142 convert-standard-filename. Doc fix.
11143
11144 * dos-fns.el (dos-convert-standard-filename): Doc fix.
11145 (convert-standard-filename): Don't defalias.
11146 (register-name-alist, make-register, register-value)
11147 (set-register-value, intdos): Obsolete aliases for the
11148 corresponding dos-* functions and variables.
11149 (dos-intdos): Add a doc string.
11150
11151 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
11152
11153 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
11154 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
11155 (math-compose-tex-func):
11156 * calc/calccomp.el (math-compose-expr):
11157 * calc/calc-ext.el (math-format-flat-expr-fancy):
11158 * calc/calc-store.el (calc-read-var-name):
11159 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
11160
11161 * calc/calc.el (var-π, var-φ, var-γ): New variables.
11162 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
11163 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
11164 (math-standard-units): Add units.
11165
11166 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11167
11168 * progmodes/asm-mode.el (asm-mode):
11169 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
11170
11171 * pcomplete.el (pcomplete-completions-at-point): New function,
11172 extracted from pcomplete-std-complete.
11173 (pcomplete-std-complete): Use it.
11174
11175 2010-05-15 Glenn Morris <rgm@gnu.org>
11176
11177 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
11178 Remove references to CVS, RCS and Old directories.
11179
11180 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
11181
11182 * calc/calc-bin.el (math-format-twos-complement): Group digits when
11183 appropriate.
11184
11185 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
11186
11187 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
11188 (sh-mode-syntax-table): Give it a default value instead.
11189 (sh-header-marker): Make buffer-local.
11190 (sh-mode): Move make-local-variable to the corresponding setq.
11191 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
11192 Use complete-with-action.
11193
11194 * simple.el (prog-mode): New (abstract) major mode.
11195 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
11196 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
11197
11198 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
11199
11200 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
11201 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
11202 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
11203 (sql-make-alternate-buffer-name, sql-placeholders-filter)
11204 (sql-escape-newlines-filter, sql-input-sender)
11205 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
11206
11207 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
11208
11209 Add TeX open-block and close-block keybindings to SGML, and vice versa.
11210
11211 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
11212 latex-open-block and C-c / to latex-close-block.
11213
11214 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
11215 and C-c C-e to sgml-close-tag.
11216
11217 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
11218
11219 * net/tramp.el (with-progress-reporter): Create reporter object
11220 only when the message would be displayed. Handle nested calls.
11221 (tramp-handle-load, tramp-handle-file-local-copy)
11222 (tramp-handle-insert-file-contents, tramp-handle-write-region)
11223 (tramp-maybe-send-script, tramp-find-shell):
11224 Use `with-progress-reporter'.
11225 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
11226 Fix message text.
11227
11228 * net/tramp-smb.el (tramp-smb-handle-copy-file)
11229 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
11230 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
11231 Use `with-progress-reporter'.
11232
11233 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
11234
11235 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
11236 process everytime when spellchecking from the minibuffer (bug#6143).
11237
11238 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11239
11240 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
11241
11242 * dos-fns.el: Add "dos-" prefix for namespace control.
11243 (convert-standard-filename): Define as alias for
11244 dos-convert-standard-filename but only if applicable.
11245
11246 2010-05-12 Alan Mackenzie <acm@muc.de>
11247
11248 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
11249 Push the mark at the start of these functions when appropriate.
11250
11251 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11252
11253 * minibuffer.el (completion-cycle-threshold): New custom var.
11254 (completion--do-completion): Use it.
11255 (minibuffer-complete): Use cycling if appropriate.
11256
11257 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
11258
11259 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
11260 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
11261
11262 2010-05-11 Juri Linkov <juri@jurta.org>
11263
11264 * scroll-all.el (scroll-all-check-to-scroll):
11265 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
11266
11267 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
11268
11269 * iimage.el (iimage-mode-map): Move initialization into declaration.
11270 (iimage-mode-buffer): Use with-silent-modifications.
11271 Simplify calling convention. Adjust callers.
11272 (iimage-mode): Don't run hook redundantly.
11273
11274 * minibuffer.el (completion-pcm--pattern->regex):
11275 Fix last change (bug#6160).
11276
11277 2010-05-10 Juri Linkov <juri@jurta.org>
11278
11279 Remove nodes visited during Isearch from the Info history.
11280 * info.el (Info-isearch-initial-history)
11281 (Info-isearch-initial-history-list): New variables.
11282 (Info-isearch-start): Record initial values of
11283 Info-isearch-initial-history and Info-isearch-initial-history-list.
11284 Add Info-isearch-end to isearch-mode-end-hook.
11285 (Info-isearch-end): New function.
11286
11287 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
11288
11289 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
11290 format string, in order to work around a bug in pdksh.
11291 Reported by Gilles Pion <gpion@lfdj.com>.
11292 (tramp-handle-verify-visited-file-modtime): Do not send a command
11293 when the connection is not established.
11294 (tramp-handle-set-file-times): Simplify the check for utc.
11295
11296 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
11297
11298 Fix use of `filter-buffer-substring' (rework previous change).
11299 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
11300 (cua-repeat-replace-region):
11301 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
11302 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
11303 (cua-cut-region-to-global-mark): Use it.
11304
11305 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
11306
11307 * progmodes/sql.el: Version 2.1.
11308 (sql-product-alist): Redesign structure of product info.
11309 (sql-product, sql-user, sql-server, sql-database): Safe variables.
11310 (sql-port, sql-port-history): New variables.
11311 (sql-interactive-product): New variable.
11312 (sql-send-terminator): New variable.
11313 (sql-imenu-generic-expression): Add "Types" imenu entry.
11314 (sql-oracle-login-params, sql-sqlite-login-params)
11315 (sql-mysql-login-params, sql-solid-login-params)
11316 (sql-sybase-login-params, sql-informix-login-params)
11317 (sql-ingres-login-params, sql-ms-login-params)
11318 (sql-postgres-login-params, sql-interbase-login-params)
11319 (sql-db2-login-params, sql-linter-login-params)
11320 (sql-oracle-scan-on): New variables.
11321 (sql-mode-map): Add C-c C-i to start interactive mode.
11322 (sql-mode-menu): Update existing menu entries.
11323 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
11324 (sql-mode-oracle-font-lock-keywords)
11325 (sql-mode-postgres-font-lock-keywords)
11326 (sql-mode-ms-font-lock-keywords)
11327 (sql-mode-sybase-font-lock-keywords)
11328 (sql-mode-informix-font-lock-keywords)
11329 (sql-mode-interbase-font-lock-keywords)
11330 (sql-mode-ingres-font-lock-keywords)
11331 (sql-mode-solid-font-lock-keywords)
11332 (sql-mode-mysql-font-lock-keywords)
11333 (sql-mode-sqlite-font-lock-keywords)
11334 (sql-mode-db2-font-lock-keywords)
11335 (sql-mode-linter-font-lock-keywords): Update initialization to
11336 reduce run-time complexity.
11337 (sql-add-product, sql-del-product): New functions.
11338 (sql-set-product-feature, sql-get-product-feature): New functions.
11339 (sql-product-font-lock): Update product API.
11340 (sql-add-product-keywords): New function.
11341 (sql-highlight-product): Update product API.
11342 (sql-help-list-products): New function.
11343 (sql-help): Dynamically lists free and non-free products.
11344 (sql-get-login): Correct bug in handling history and added
11345 prompt for port.
11346 (sql-copy-column): Copy without properties.
11347 (sqli-input-sender): Apply filters to SQLi input.
11348 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
11349 Implement as a filter.
11350 (sql-escape-newlines-filter): Implement as a filter.
11351 (sql-remove-tabs-filter): New function.
11352 (sql-send-magic-terminator): New function.
11353 (sql-send-string): Implement magic terminator.
11354 (sql-send-region): Use `sql-send-string'.
11355 (sql-interactive-mode): Use product API.
11356 (sql-product-interactive): Use product API.
11357 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
11358 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
11359 (sql-db2, sql-linter): Use `sql-product-interactive'.
11360 (sql-connect): New function.
11361 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
11362 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
11363 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
11364 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
11365 Use `sql-connect'.
11366
11367 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11368
11369 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
11370 New custom variable.
11371 (completion-pcm--string->pattern): Use it.
11372 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
11373 Make it handle any symbol as `any'.
11374 (completion-pcm--merge-completions): Extract common suffix for the new
11375 `prefix' symbol as well.
11376 (completion-substring--all-completions): Use the new `prefix' symbol.
11377
11378 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
11379
11380 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
11381 not bound.
11382 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
11383 (tramp-compat-funcall): New defmacro.
11384 (tramp-compat-line-beginning-position)
11385 (tramp-compat-line-end-position)
11386 (tramp-compat-temporary-file-directory)
11387 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
11388 (tramp-compat-copy-file, tramp-compat-copy-directory)
11389 (tramp-compat-delete-file, tramp-compat-delete-directory)
11390 (tramp-compat-number-sequence, tramp-compat-process-running-p)
11391 * net/tramp.el (top, with-progress-reporter)
11392 (tramp-rfn-eshadow-setup-minibuffer)
11393 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
11394 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
11395 (tramp-completion-mode-p, tramp-check-for-regexp)
11396 (tramp-open-connection-setup-interactive-shell)
11397 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
11398 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
11399 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
11400 * net/tramp-cmds.el (tramp-cleanup-all-connections)
11401 (tramp-reporter-dump-variable, tramp-load-report-modules)
11402 (tramp-append-tramp-buffers)
11403 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
11404
11405 * net/tramp-imap.el (top): Autoload `epg-make-context'.
11406
11407 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11408
11409 * progmodes/compile.el (compilation-buffer-modtime): Rename from
11410 buffer-modtime. Adjust users.
11411
11412 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11413
11414 * international/mule.el (auto-coding-alist): Only purecopy
11415 car of each item, not the whole list (Bug#6083).
11416
11417 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11418
11419 * progmodes/js.el (js-mode): Make paragraph variables local before
11420 calling c-setup-paragraph-variables (Bug#6071).
11421
11422 2010-05-08 Eli Zaretskii <eliz@gnu.org>
11423
11424 * composite.el (compose-region, reference-point-alist): Fix typos
11425 in the doc strings.
11426
11427 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
11428
11429 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
11430 gnuplot's "set" command.
11431
11432 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11433
11434 * abbrev.el (last-abbrev-text): Doc fix.
11435 (abbrev-prefix-mark): Don't escape parenthesis.
11436
11437 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
11438
11439 * composite.el (find-composition): Doc fix.
11440
11441 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11442
11443 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
11444 (sql-oracle-program, sql-sqlite-options)
11445 (sql-query-placeholders-and-send): Doc fixes.
11446 (sql-set-product, sql-interactive-mode): Reflow docstrings.
11447 (sql-imenu-generic-expression, sql-buffer)
11448 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
11449 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
11450 (sql-mode-sybase-font-lock-keywords)
11451 (sql-mode-informix-font-lock-keywords)
11452 (sql-mode-interbase-font-lock-keywords)
11453 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
11454 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
11455 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
11456 (sql-product-feature, sql-highlight-product)
11457 (comint-line-beginning-position, sql-rename-buffer)
11458 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
11459 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
11460 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
11461 Fix typos in docstrings.
11462
11463 2010-05-08 Juri Linkov <juri@jurta.org>
11464
11465 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
11466 property instead of `invisible' and `after-string' (bug#5998).
11467
11468 2010-05-08 Juri Linkov <juri@jurta.org>
11469
11470 * image-mode.el (image-mode-as-text): Fix typo in docstring.
11471
11472 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11473
11474 * filecache.el (file-cache-add-directory-list)
11475 (file-cache-add-directory-recursively): Fix typos in docstrings.
11476
11477 2010-05-08 Kenichi Handa <handa@m17n.org>
11478
11479 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
11480 (gujarati-composable-pattern): Fix typo.
11481
11482 2010-05-08 Kenichi Handa <handa@m17n.org>
11483
11484 * language/indian.el (oriya-composable-pattern)
11485 (tamil-composable-pattern, malayalam-composable-pattern):
11486 Add two-part vowels to "v" (vowel sign).
11487
11488 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11489
11490 * files.el (copy-directory): Handle symlinks (Bug#5982).
11491
11492 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
11493
11494 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
11495 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
11496 (Bug#5846).
11497
11498 2010-05-08 Glenn Morris <rgm@gnu.org>
11499
11500 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
11501
11502 * minibuffer.el (completion-at-point): Doc fix.
11503
11504 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11505
11506 * electric.el (Electric-command-loop): Minor tweak.
11507
11508 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
11509 better with dedicated windows.
11510
11511 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
11512
11513 * Version 23.2 released.
11514
11515 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
11516 Stefan Monnier <monnier@iro.umontreal.ca>
11517
11518 Highlight vendor specific properties.
11519 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
11520 (css-proprietary-property): New face.
11521 (css-font-lock-keywords): Use them.
11522
11523 2010-05-07 Eli Zaretskii <eliz@gnu.org>
11524
11525 * cus-start.el (all): Add native condition for tool-bar-* symbols.
11526
11527 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11528
11529 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
11530 * files.el (auto-mode-alist): Remove redundant entries.
11531
11532 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
11533 * simple.el (auto-save-mode): Move from files.el.
11534 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
11535
11536 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
11537
11538 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
11539
11540 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
11541
11542 * mail/binhex.el (binhex-decode-region-internal)
11543 * mail/uudecode.el (uudecode-decode-region-internal)
11544 * net/dns.el (dns-read-string-name, dns-write, dns-read)
11545 (dns-read-type, dns-query)
11546 * pgg-parse.el (pgg-parse-armor)
11547 * pgg.el (pgg-verify-region)
11548 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
11549 XEmacs.
11550
11551 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
11552
11553 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
11554
11555 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
11556
11557 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
11558 * emulation/cua-base.el (cua-repeat-replace-region):
11559 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
11560 (cua-cut-region-to-global-mark):
11561 Remove text properties with `set-text-properties'.
11562
11563 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
11564
11565 * net/tramp.el (top, with-progress-reporter):
11566 Use `symbol-function' inside `funcall'.
11567
11568 * net/tramp-compat.el (tramp-compat-file-attributes)
11569 (tramp-compat-delete-file, tramp-compat-delete-directory):
11570 Handle only `wrong-number-of-arguments' error.
11571
11572 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
11573 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
11574 inside `funcall'.
11575
11576 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11577
11578 * minibuffer.el (completion--sreverse, completion--common-suffix):
11579 New functions.
11580 (completion-pcm--merge-completions): Extract common suffix when safe.
11581
11582 * emacs-lisp/easy-mmode.el (define-minor-mode):
11583 Make :variable more flexible.
11584 * files.el (auto-save-mode): Use it to define using define-minor-mode.
11585
11586 2010-05-05 Juri Linkov <juri@jurta.org>
11587
11588 Add `slow' and `history' tags to the desktop data.
11589
11590 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
11591 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
11592 (Info-finder-find-node): Require `finder.el' to be able
11593 to restore node from the desktop.
11594 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
11595 data `Info-history' and `slow' tag in the assoc list.
11596 (Info-restore-desktop-buffer): Don't restore nodes with the
11597 `slow' tag. Restore `Info-history'.
11598
11599 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
11600
11601 Add FORCE argument to `delete-file'.
11602
11603 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
11604 forcing to delete the temporary file.
11605 (ange-ftp-delete-file): Add FORCE arg.
11606 (ange-ftp-rename-remote-to-remote)
11607 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
11608 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
11609 Force file deletion.
11610
11611 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
11612
11613 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
11614 (tramp-handle-make-symbolic-link, tramp-handle-load)
11615 (tramp-do-copy-or-rename-file-via-buffer)
11616 (tramp-do-copy-or-rename-file-directly)
11617 (tramp-do-copy-or-rename-file-out-of-band)
11618 (tramp-handle-process-file, tramp-handle-call-process-region)
11619 (tramp-handle-shell-command, tramp-handle-file-local-copy)
11620 (tramp-handle-insert-file-contents, tramp-handle-write-region)
11621 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
11622
11623 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
11624 (tramp-fish-handle-make-symbolic-link)
11625 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
11626
11627 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
11628 Use `tramp-compat-delete-file'.
11629
11630 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
11631 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
11632
11633 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
11634 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
11635
11636 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
11637 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
11638 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
11639 Use `tramp-compat-delete-file'.
11640
11641 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11642
11643 Minor cleanups.
11644 * subr.el (add-minor-mode): Use push.
11645 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
11646 * emulation/edt.el (edt-select-mode): Simplify.
11647
11648 Use define-minor-mode in more cases.
11649 * term/tvi970.el (tvi970-set-keypad-mode):
11650 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
11651 (normal-erase-is-backspace-mode):
11652 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
11653 (set-scroll-bar-mode-1): (Re)move to its sole caller.
11654 (get-scroll-bar-mode): New function.
11655 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
11656
11657 Use define-minor-mode for less obvious cases.
11658 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
11659 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
11660 * international/iso-ascii.el (iso-ascii-mode):
11661 * frame.el (auto-raise-mode, auto-lower-mode):
11662 * composite.el (global-auto-composition-mode): Use define-minor-mode.
11663
11664 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
11665
11666 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
11667 in order to see error messages for failed logins.
11668
11669 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
11670
11671 * diff.el (diff-sentinel):
11672
11673 * epg.el (epg--make-temp-file, epg-decrypt-string)
11674 (epg-verify-string, epg-sign-string, epg-encrypt-string):
11675
11676 * jka-compr.el (jka-compr-partial-uncompress)
11677 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
11678
11679 * server.el (server-sentinel): Use delete-file's new FORCE arg
11680 (Bug#6070).
11681
11682 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11683
11684 Use define-minor-mode where applicable.
11685 * view.el (view-mode):
11686 * type-break.el (type-break-query-mode)
11687 (type-break-mode-line-message-mode):
11688 * textmodes/reftex.el (reftex-mode):
11689 * term/vt100.el (vt100-wide-mode):
11690 * tar-mode.el (tar-subfile-mode):
11691 * savehist.el (savehist-mode):
11692 * ibuf-ext.el (ibuffer-auto-mode):
11693 * composite.el (auto-composition-mode):
11694 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11695 Use define-minor-mode.
11696 (vhdl-mode): Use static mode-line format.
11697 (vhdl-mode-line-update): Delete.
11698 (vhdl-create-mode-menu, vhdl-activate-customizations)
11699 (vhdl-hs-minor-mode): Don't bother calling it.
11700
11701 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
11702
11703 * simple.el (with-wrapper-hook): Move.
11704 (buffer-substring-filters): Mark obsolete.
11705 (filter-buffer-substring-functions): New variable.
11706 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
11707
11708 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
11709 Michael Albinus <michael.albinus@gmx.de>
11710
11711 Implement compression for inline methods.
11712
11713 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
11714 (tramp-copy-size-limit): Allow also nil.
11715 (tramp-inline-compress-commands): New defconst.
11716 (tramp-find-inline-compress, tramp-get-inline-compress)
11717 (tramp-get-inline-coding): New defuns.
11718 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
11719 replaced by `tramp-get-inline-coding'.
11720 (tramp-handle-file-local-copy, tramp-handle-write-region)
11721 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
11722
11723 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
11724
11725 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
11726 Remove unused functions.
11727
11728 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
11729 Set find-tag-default-function as a variable rather than a property.
11730
11731 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
11732 * progmodes/etags.el (tags-completion-at-point-function):
11733 Remove left over interactive spec. Add autoloading stub.
11734 (complete-tag): Use tags-completion-at-point-function.
11735
11736 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
11737
11738 * minibuffer.el (tags-completion-at-point-function): Fix return value.
11739
11740 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
11741
11742 * ido.el (ido-init-completion-maps): Remove C-v binding.
11743 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
11744
11745 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
11746
11747 * minibuffer.el (tags-completion-at-point-function): New function.
11748 (completion-at-point-functions): Use it.
11749
11750 * progmodes/etags.el (complete-tag): Revert last change.
11751
11752 2010-04-29 Alan Mackenzie <acm@muc.de>
11753
11754 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
11755 off-by-one error (in end of macro position).
11756
11757 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
11758
11759 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
11760 firefox is absent. Don't autoload.
11761 (browse-url-galeon-program): Don't autoload.
11762
11763 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
11764
11765 * bindings.el (complete-symbol): Move into minibuffer.el.
11766
11767 * minibuffer.el (complete-tag): Move from etags.el. If tags
11768 completion cannot be performed, return nil instead of signalling
11769 an error.
11770 (completion-at-point): Make it an alias for complete-symbol.
11771 (complete-symbol): Move from bindings.el, and replace with the
11772 body of completion-at-point.
11773
11774 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
11775
11776 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
11777
11778 * net/tramp.el (tramp-remote-selinux-p): New defun.
11779 (tramp-handle-file-selinux-context)
11780 (tramp-handle-set-file-selinux-context): Use it.
11781
11782 2010-04-28 Sam Steingold <sds@gnu.org>
11783
11784 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
11785 `safe-local-variable' if the value is a string or a symbol with
11786 the property `bug-reference-url-format'.
11787
11788 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
11789
11790 * progmodes/bug-reference.el (bug-reference-url-format):
11791 Revert 2010-04-27 change due to security risk.
11792
11793 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11794
11795 Make it possible to locally disable a globally enabled mode.
11796 * simple.el (fundamental-mode): Run fundamental-mode-hook.
11797 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
11798 rather than kill-all-local-variables so it runs fundamental-mode-hook.
11799 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11800 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
11801 that subsequent hooks get a chance to disable it.
11802
11803 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11804
11805 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11806 Avoid re-enabling a minor mode after the user turned the minor mode
11807 off if MODE-enable-in-buffers is run twice (typically once from
11808 fundamental-mode's after-change-major-mode-hook and a second time from
11809 run-mode-hook's own after-change-major-mode-hook).
11810
11811 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
11812
11813 2010-04-27 Sam Steingold <sds@gnu.org>
11814
11815 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
11816 `safe-local-variable' if the value is a string or a function, as
11817 documented and implemented on 2010-04-02.
11818
11819 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
11820
11821 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
11822 when method is 'kill.
11823
11824 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
11825
11826 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
11827 condition in default directory check.
11828 (ispell-init-process, ispell-kill-ispell, kill-buffer-hook):
11829 Kill ispell process when killing its associated buffer.
11830
11831 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
11832
11833 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
11834 but we aren't using it.
11835
11836 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
11837
11838 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
11839 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
11840
11841 2010-04-24 Glenn Morris <rgm@gnu.org>
11842
11843 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
11844 Ignore VCS-ignore files, and deleted nextstep preferences files.
11845 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
11846 (authors-ambiguous-files): New list.
11847 (authors-valid-file-names): Add some deleted files.
11848 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
11849 (authors-disambiguate-file-name): New function. (Bug#5501)
11850 (authors-canonical-file-name): Doc fix.
11851 Don't warn about obsolete files.
11852 (authors-canonical-file-name, authors-scan-el):
11853 Use authors-disambiguate-file-name.
11854
11855 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
11856 Add autoload cookies.
11857 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
11858 (generated-autoload-file): Set file-local value to "htmlfontify.el".
11859 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
11860 They have definitions / compiler macros in cl.el.
11861 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
11862 Replace manual autoloads with generated ones.
11863 (htmlfontify-unload-rgb-file): Remove autoload.
11864 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
11865
11866 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11867
11868 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
11869 (byte-compile-setq-default): Optimize for the
11870 single-var case and don't call byte-compile-form in this case to avoid
11871 inf-loop with byte-compile-set-default.
11872
11873 * progmodes/compile.el (compilation-start): Abbreviate default directory.
11874
11875 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
11876
11877 Implement SELINUX backends.
11878
11879 * net/tramp.el (tramp-file-name-handler-alist):
11880 Add `file-selinux-context' and `set-file-selinux-context'.
11881 (tramp-handle-file-selinux-context)
11882 (tramp-handle-set-file-selinux-context): New defuns.
11883 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
11884 Handle PRESERVE-SELINUX-CONTEXT.
11885
11886 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11887 Add `file-selinux-context' and `set-file-selinux-context'.
11888 (tramp-gvfs-handle-file-selinux-context)
11889 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
11890 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
11891
11892 * net/ange-ftp.el (ange-ftp-copy-file):
11893 * net/tramp-fish.el (tramp-fish-handle-copy-file):
11894 * net/tramp-imap.el (tramp-imap-handle-copy-file):
11895 * net/tramp-smb.el (tramp-smb-handle-copy-file):
11896 Add PRESERVE-SELINUX-CONTEXT.
11897
11898 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11899
11900 Synchronize with Tramp repository.
11901
11902 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
11903 (tramp-action-process-alive, tramp-action-out-of-band)
11904 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
11905 (tramp-exists-file-name-handler): Fix docstring.
11906 (with-progress-reporter): New defmacro.
11907 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
11908 (tramp-maybe-open-connection): Use it.
11909
11910 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
11911
11912 Detect ssh 'ControlMaster' argument automatically in some cases.
11913
11914 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
11915 (tramp-default-method): Use it.
11916
11917 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11918
11919 * net/tramp.el (tramp-handle-copy-file): Add new optional
11920 parameter `preserve-selinux-context'.
11921 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
11922
11923 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11924
11925 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
11926 Ensure, that non remote files are still checked. Oops.
11927
11928 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
11929
11930 Fix Bug#5840.
11931
11932 * icomplete.el (icomplete-completions): Use `non-essential'.
11933
11934 * net/tramp.el (tramp-connectable-p): New defun.
11935 (tramp-handle-expand-file-name)
11936 (tramp-completion-handle-file-name-all-completions)
11937 (tramp-completion-handle-file-name-completion): Use it.
11938
11939 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
11940
11941 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
11942
11943 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
11944
11945 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
11946
11947 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
11948
11949 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
11950 is present.
11951
11952 * info.el (info-tool-bar-map): Add labels.
11953
11954 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
11955
11956 * cus-edit.el (custom-commands): Add labels for tool bar.
11957 (custom-buffer-create-internal, Custom-mode): Adjust for
11958 labels in custom-commands.
11959
11960 * dynamic-setting.el: Renamed from font-setting.el.
11961
11962 2010-04-21 John Wiegley <jwiegley@gmail.com>
11963
11964 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
11965 toggles the use of virtual buffers.
11966 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
11967 (ido-toggle-virtual-buffers): New function.
11968
11969 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
11970
11971 Use `define-derived-mode'; fix window selection; doc fixes.
11972 * play/tetris.el (tetris, tetris-update-speed-function)
11973 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
11974 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
11975 (tetris-rotate-next, tetris-end-game, tetris-start-game)
11976 (tetris-pause-game): Fix typos in docstrings.
11977 (tetris-mode-map, tetris-null-map):
11978 Move initialization into declaration.
11979 (tetris-mode): Define with `define-derived-mode';
11980 set show-trailing-whitespace to nil.
11981 (tetris): Prefer window already displaying the "*Tetris*" buffer.
11982
11983 2010-04-21 Karel Klíč <kklic@redhat.com>
11984
11985 * files.el (backup-buffer): Handle SELinux context, and return it
11986 if a backup was made by renaming.
11987 (backup-buffer-copy): Set SELinux context to the target file.
11988 (basic-save-buffer): Set SELinux context of the newly written file.
11989 (basic-save-buffer-1): Now it also returns any SELinux context.
11990 (basic-save-buffer-2): Set SELinux context of the newly created file,
11991 and return it.
11992 * net/tramp.el (tramp-file-name-for-operation):
11993 Add file-selinux-context.
11994
11995 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
11996
11997 Make the log-edit comments use RFC822 format throughout.
11998
11999 * vc.el (vc-checkin, vc-modify-change-comment):
12000 Adjust to new vc-start/finish-logentry.
12001 (vc-find-conflicted-file): New command.
12002 (vc-transfer-file): Adjust to new vc-checkin.
12003 (vc-next-action): Improve scoping.
12004
12005 * vc-hg.el (vc-hg-log-edit-mode): Remove.
12006 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
12007
12008 * vc-git.el (vc-git-log-edit-mode): Remove.
12009 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
12010 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
12011
12012 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
12013 (vc-start-logentry): Remove argument `extra'.
12014 (vc-finish-logentry): Remove extra args.
12015
12016 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
12017 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
12018 (vc-bzr-conflicted-files): New function.
12019
12020 * log-edit.el (log-edit-extra-flags)
12021 (log-edit-before-checkin-process): Remove.
12022 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
12023 (log-edit-headers-alist): New var.
12024 (log-edit-header-contents-regexp): New const.
12025 (log-edit-match-to-eoh): New function.
12026 (log-edit-font-lock-keywords): Use them.
12027 (log-edit): Insert a "Summary:" header as default.
12028 (log-edit-mode): Mark font-lock rules as case-insensitive.
12029 (log-edit-done): Cleanup headers.
12030 (log-view-process-buffer): Remove.
12031 (log-edit-extract-headers): New function to replace it.
12032
12033 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
12034
12035 * subr.el (default-direction-reversed): Remove obsolescence info.
12036
12037 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12038
12039 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
12040 windows/frames.
12041
12042 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
12043 I.e. include text after point in the completion region.
12044 Also, return nil when we're not after/in a symbol.
12045
12046 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
12047 default enable-multibyte-characters.
12048
12049 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12050
12051 * international/mule.el: Help the user choose a valid coding-system.
12052 (read-buffer-file-coding-system): New function.
12053 (set-buffer-file-coding-system): Use it. Prompt the user if the
12054 coding-system cannot encode all the chars.
12055
12056 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
12057 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
12058 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
12059 Don't use *vc-bzr-shelve*.
12060
12061 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
12062
12063 Fix the version number for added files.
12064 * vc-hg.el (vc-hg-working-revision): Check if the file is
12065 registered after hg parent fails (Bug#5961).
12066
12067 2010-04-19 Glenn Morris <rgm@gnu.org>
12068
12069 * htmlfontify.el (htmlfontify-buffer)
12070 (htmlfontify-copy-and-link-dir): Autoload entry points.
12071
12072 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
12073
12074 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
12075 name relative to the project root (Bug#5960).
12076
12077 2010-04-19 Glenn Morris <rgm@gnu.org>
12078
12079 * vc-git.el (vc-git-print-log): Doc fix.
12080
12081 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
12082
12083 * ido.el (ido-file-internal): Fix 2009-12-02 change.
12084
12085 2010-04-19 Christoph Scholtes <cschol2112@googlemail.com>
12086
12087 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
12088 default settings (Bug#5928).
12089
12090 2010-04-19 Glenn Morris <rgm@gnu.org>
12091
12092 * progmodes/fortran.el (fortran-match-and-skip-declaration):
12093 New function.
12094 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
12095
12096 2010-04-19 Kenichi Handa <handa@m17n.org>
12097
12098 * language/indian.el (malayalam-composable-pattern): Fix previous
12099 change (add U+0D4D "SIGN VIRAMA").
12100 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
12101 (tamil-composable-pattern): Fix typo in the regexp.
12102 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
12103 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
12104 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
12105
12106 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
12107
12108 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
12109 paragraph-separate (Bug#5821).
12110
12111 2010-04-19 Juri Linkov <juri@jurta.org>
12112
12113 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
12114
12115 * info.el (Info-find-node-2): Comment out code that skips
12116 breadcrumbs line.
12117 (Info-mouse-follow-link): New command.
12118 (Info-link-keymap): New keymap.
12119 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
12120 Return a string with links instead of inserting breadcrumbs
12121 to the Info buffer.
12122 (Info-fontify-node): Comment out code that inserts breadcrumbs.
12123 Instead of putting the `invisible' text property over the Info
12124 header, make an overlay over the Info header with the `invisible'
12125 property and `after-string' set to the string returned by
12126 `Info-breadcrumbs'.
12127
12128 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
12129
12130 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
12131 Reported by monkey@sandpframing.com.
12132
12133 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12134
12135 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
12136 (tmm-get-keymap): Add key-binding shortcuts now that they're not
12137 available in the "keyseq cache" any more.
12138
12139 * custom.el (defcustom): Add edebug spec.
12140
12141 2010-04-18 Juri Linkov <juri@jurta.org>
12142
12143 Test for special mode-class in view-buffer instead of view-file (bug#5513).
12144
12145 * view.el (view-file, view-buffer): Move test for special mode-class
12146 from view-file to view-buffer.
12147
12148 * tar-mode.el (tar-extract): Turn if's into one cond
12149 like in arc-mode.el.
12150
12151 2010-04-18 Juri Linkov <juri@jurta.org>
12152
12153 Add 7z archive format support (bug#5475).
12154
12155 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
12156 (archive-7z-extract): New defcustom.
12157 (archive-find-type): Add magic string for 7z.
12158 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
12159 If `stderr-file' is non-nil, use `(t stderr-file)' for the
12160 `buffer' arg of `call-process'.
12161 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
12162 call the function `archive-7z-extract' with the variable
12163 `archive-7z-extract' let-bound to `archive-zip-extract'.
12164 (archive-7z-summarize, archive-7z-extract): New functions.
12165
12166 * international/mule.el (auto-coding-alist):
12167 * files.el (auto-mode-alist): Add 7z file extension.
12168
12169 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12170
12171 * loadup.el: Setup hash-cons for pure data.
12172
12173 Fix duplicate entries in cedet's loaddefs.el files.
12174 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
12175 Should make most file-local generated-autoload-file unnecessary.
12176 (print-readably): Silence warnings.
12177 (autoload-find-destination): Take load-name as an arg to make sure
12178 it's the same as the one that will be in the file.
12179 (autoload-generate-file-autoloads): Adjust to above changes.
12180 Try to make the dataflow a bit simpler.
12181
12182 * cvs-status.el (cvs-refontify): Remove unused.
12183
12184 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
12185
12186 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
12187
12188 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
12189 twos-complement mode.
12190
12191 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
12192
12193 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
12194 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
12195 (calc-inverse): Add "Option" to message, as appropriate.
12196 (calc-hyperbolic): Add "Option" to message, as appropriate.
12197 (calc-option, calc-is-option): New functions.
12198
12199 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
12200 (calc-option-prefix-help): New function.
12201
12202 * calc/calc-misc.el (calc-help): Add "Option" entry.
12203
12204 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
12205 (calc-option-flag): New variable.
12206 (calc-do): Set `calc-option-flag to nil.
12207 (calc-set-mode-line): Add "Opt " as appropriate.
12208
12209 2010-04-16 Juri Linkov <juri@jurta.org>
12210
12211 Move scrolling commands from simple.el to window.el
12212 because their primitives are implemented in window.c.
12213
12214 * simple.el (scroll-error-top-bottom)
12215 (scroll-up-command, scroll-down-command, scroll-up-line)
12216 (scroll-down-line, scroll-other-window-down)
12217 (beginning-of-buffer-other-window, end-of-buffer-other-window):
12218 * window.el (scroll-error-top-bottom)
12219 (scroll-up-command, scroll-down-command, scroll-up-line)
12220 (scroll-down-line, scroll-other-window-down)
12221 (beginning-of-buffer-other-window, end-of-buffer-other-window):
12222 Move from simple.el to window.el because their primitives are
12223 implemented in window.c.
12224
12225 2010-04-16 Juri Linkov <juri@jurta.org>
12226
12227 * isearch.el (isearch-lookup-scroll-key): Check both
12228 `isearch-scroll' and `scroll-command' properties.
12229 (scroll-up, scroll-down): Remove `isearch-scroll' property.
12230
12231 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
12232
12233 * simple.el (scroll-up-command, scroll-down-command)
12234 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
12235
12236 2010-04-15 Juri Linkov <juri@jurta.org>
12237
12238 * simple.el (scroll-up-command, scroll-down-command)
12239 (scroll-up-line, scroll-down-line): Put `scroll-command'
12240 property on the these symbols. Remove them from
12241 `scroll-preserve-screen-position-commands'.
12242
12243 * mwheel.el (mwheel-scroll): Put `scroll-command' and
12244 `isearch-scroll' properties on the `mwheel-scroll' symbol.
12245 Remove it from `scroll-preserve-screen-position-commands'.
12246
12247 * isearch.el (isearch-allow-scroll): Doc fix.
12248
12249 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
12250
12251 * net/tramp.el (tramp-error-with-buffer): Don't show the
12252 connection buffer when we are in completion mode.
12253 (tramp-file-name-handler): Catch the error for some operations
12254 when we are in completion mode. This gives the user the chance to
12255 correct the file name in the minibuffer.
12256
12257 2010-04-15 Glenn Morris <rgm@gnu.org>
12258
12259 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
12260
12261 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
12262
12263 Simplify by using `define-derived-mode'.
12264 * info.el (Info-mode):
12265 * calendar/todo-mode.el (todo-mode):
12266 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
12267 (gomoku-mode-map): Move initialization into declaration.
12268
12269 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
12270
12271 Fix Bug#5840.
12272 * ido.el (ido-file-name-all-completions-1):
12273 * minibuffer.el (minibuffer-completion-help):
12274 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
12275
12276 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12277
12278 * simple.el (non-essential): New var.
12279
12280 Add a new field `location' to bookmarks for non-file bookmarks.
12281 * bookmark.el (bookmark-location): Use the new field, if present.
12282 (bookmark-insert-location): Undo last change, not needed any more.
12283 * man.el (Man-bookmark-make-record):
12284 * woman.el (woman-bookmark-make-record): Add `location' field.
12285
12286 2010-04-14 Juri Linkov <juri@jurta.org>
12287
12288 * simple.el (scroll-error-top-bottom): New defcustom.
12289 (scroll-up-command, scroll-down-command): Use it. Doc fix.
12290
12291 * emulation/pc-select.el (pc-select-override-scroll-error):
12292 Obsolete in favor of `scroll-error-top-bottom'.
12293
12294 2010-04-14 Juri Linkov <juri@jurta.org>
12295
12296 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
12297 `scroll-up-command' and `M-v' to `scroll-down-command'.
12298
12299 * emulation/cua-rect.el (cua--init-rectangles):
12300 * forms.el (forms--change-commands):
12301 * image-mode.el (image-mode-map):
12302 Remap scroll-down-command and scroll-up-command
12303 in addition to scroll-down and scroll-up.
12304
12305 2010-04-14 Juri Linkov <juri@jurta.org>
12306
12307 * mwheel.el (scroll-preserve-screen-position-commands):
12308 Add mwheel-scroll to this list of commands.
12309
12310 * simple.el (scroll-preserve-screen-position-commands):
12311 Add scroll-up-command, scroll-down-command, scroll-up-line,
12312 scroll-down-line to this list of commands.
12313
12314 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
12315
12316 * obsolete/complete.el: Move from lisp/complete.el.
12317
12318 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
12319
12320 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
12321 to the minor mode function now turns the mode ON unconditionally.
12322
12323 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
12324
12325 * vc-dir.el (vc-dir-kill-line): New command.
12326 (vc-dir-mode-map): Bind it to C-k.
12327
12328 * bookmark.el (bookmark-insert-location): Handle a nil filename.
12329
12330 * woman.el: Add bookmark declarations to silence the compiler.
12331 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
12332 step to compatibility between man and woman bookmarks.
12333 Adjust for Man-default-bookmark-title renaming.
12334 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
12335
12336 * man.el: Add bookmark declarations to silence the compiler.
12337 (Man-name-local-regexp): Make it match NAME as well.
12338 (Man-getpage-in-background): Return the buffer.
12339 (Man-notify-when-ready): Use `case'.
12340 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
12341 Don't hardcode "NAME". Simplify.
12342 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
12343 Rename from Man-bookmark-make-record.
12344 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
12345 we have the actual man-args. Use Man-getpage-in-background rather
12346 than `man' since the arg is already processed. Let bookmark.el do the
12347 window handling. Only wait for the relevant process.
12348 Don't forget to autoload.
12349
12350 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
12351
12352 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12353
12354 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
12355 New functions.
12356 (woman-mode): Setup bookmark support.
12357
12358 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
12359 (man-bookmark-jump): New functions.
12360 (Man-mode): Setup bookmark support.
12361
12362 2010-04-10 Jari Aalto <jari.aalto@cante.net>
12363
12364 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
12365 recognize ssh-keygen prompt (Bug#2817).
12366
12367 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
12368
12369 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
12370
12371 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
12372
12373 Synchronize with Tramp repository.
12374
12375 * net/tramp.el (tramp-completion-function-alist)
12376 (tramp-file-name-regexp, tramp-chunksize)
12377 (tramp-local-coding-commands, tramp-remote-coding-commands):
12378 Fix docstring.
12379 (tramp-remote-process-environment): Use `format' instead of `concat'.
12380 (tramp-handle-directory-files-and-attributes)
12381 (tramp-get-remote-path): Use `copy-tree'.
12382 (tramp-handle-file-name-all-completions): Backward/ XEmacs
12383 compatibility: Use `completion-ignore-case' if
12384 `read-file-name-completion-ignore-case' does not exist.
12385 (tramp-do-copy-or-rename-file-directly): Do not use
12386 `tramp-handle-file-remote-p'.
12387 (tramp-do-copy-or-rename-file-out-of-band):
12388 Use `tramp-compat-delete-directory'.
12389 (tramp-do-copy-or-rename-file-out-of-band)
12390 (tramp-compute-multi-hops, tramp-maybe-open-connection):
12391 Use `format-spec-make'.
12392 (tramp-find-foreign-file-name-handler)
12393 (tramp-advice-make-auto-save-file-name)
12394 (tramp-set-auto-save-file-modes): Remove superfluous check for
12395 `stringp'. This is done inside `tramp-tramp-file-p'.
12396 (tramp-debug-outline-regexp): New defconst.
12397 (tramp-get-debug-buffer): Use it.
12398 (tramp-check-for-regexp): Use (forward-line 1).
12399 (tramp-set-auto-save-file-modes): Adapt version check.
12400
12401 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
12402 Wrap call of `featurep' for 2nd argument.
12403 (tramp-compat-make-temp-file): Simplify fallback implementation.
12404 (tramp-compat-copy-tree): Remove function.
12405 (tramp-compat-delete-directory): Provide implementation for older
12406 Emacsen.
12407
12408 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
12409 Do not use `tramp-fish-handle-file-attributes.
12410
12411 * net/trampver.el: Update release number.
12412
12413 2010-04-10 Glenn Morris <rgm@gnu.org>
12414
12415 * progmodes/compile.el (compilation-save-buffers-predicate):
12416 Add missing :version tag.
12417
12418 2010-04-09 Sam Steingold <sds@gnu.org>
12419
12420 * progmodes/compile.el (compilation-save-buffers-predicate):
12421 Remove the "autoload" cookie.
12422
12423 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
12424 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
12425 and `bug-reference-prog-mode' can be used in hooks directly.
12426
12427 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
12428
12429 Add --author support to git commit.
12430 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
12431 (vc-git-log-edit-mode): New minor mode.
12432 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
12433 New declarations.
12434
12435 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
12436
12437 * vc-hooks.el, vc-git.el: Improve documentation comments.
12438
12439 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12440
12441 Fix some of the problems in defsubst* (bug#5728).
12442 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
12443 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
12444
12445 2010-04-07 Sam Steingold <sds@gnu.org>
12446
12447 * progmodes/compile.el (compilation-save-buffers-predicate):
12448 New custom variable.
12449 (compile, recompile): Pass it to `save-some-buffers'.
12450
12451 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
12452
12453 * wid-edit.el (widget-choose): Move cursor to the second line of
12454 the buffer (Bug#5695).
12455
12456 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
12457
12458 Add new VC methods: vc-log-incoming and vc-log-outgoing.
12459 * vc.el (vc-print-log-setup-buttons): New function split out from
12460 vc-print-log-internal.
12461 (vc-log-internal-common): New function, a parametrized version of
12462 vc-print-log-internal.
12463 (vc-print-log-internal): Just call vc-log-internal-common with the
12464 right arguments.
12465 (vc-incoming-outgoing-internal):
12466 (vc-log-incoming, vc-log-outgoing): New functions.
12467 (vc-log-view-type): New permanent local variable.
12468
12469 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
12470
12471 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
12472 of the dynamic bound vc-short-log.
12473 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
12474
12475 * vc-git.el (vc-git-log-outgoing): New function.
12476 (vc-git-log-view-mode): Use vc-log-view-type instead
12477 of the dynamic bound vc-short-log.
12478
12479 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
12480 of the dynamic bound vc-short-log. Highlight the tag.
12481 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
12482 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
12483 (vc-hg-incoming-mode): Remove.
12484 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
12485
12486 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
12487
12488 Fix default-directory for vc-root-diff.
12489 * vc.el (vc-root-diff): Bind default-directory to the root
12490 directory for the diff command.
12491
12492 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
12493
12494 * progmodes/verilog-mode.el (verilog-forward-sexp):
12495 (verilog-calc-1): Support "disable fork" and "fork wait" multi
12496 word keywords, suggested by Steve Pearlmutter.
12497 (verilog-pretty-declarations): Support lineup of declarations in
12498 port lists.
12499 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
12500 fix bug for /* / comments.
12501 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
12502 Speed up and simplfy as this is never called with a bound.
12503 (verilog-pretty-declarations): Enhance to line up declarations
12504 inside a parameter list, suggested by Alan Morgan.
12505 (verilog-pretty-expr): Tune assignment regular expression match
12506 string for corner cases; also use markers instead of character
12507 number as indent changes the later.
12508
12509 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
12510
12511 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
12512 as missing keyword.
12513 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
12514 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
12515 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
12516 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
12517 Tennant.
12518 (verilog-keywords):
12519 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
12520 1800-2009 keywords, including "global.".
12521
12522 2010-04-06 John Wiegley <jwiegley@gmail.com>
12523
12524 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
12525 appearing in buffer list (if a live buffer name matched a recentf
12526 file basename). Should use uniquify to offer a real solution.
12527
12528 2010-04-06 John Wiegley <jwiegley@gmail.com>
12529
12530 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
12531 comment to code, and add a :version tag.
12532 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
12533
12534 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
12535
12536 Enable recentf-mode if using virtual buffers.
12537 * ido.el (recentf-list): Declare for byte-compiler.
12538 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
12539 (ido-make-buffer-list): Simplify.
12540 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
12541
12542 2010-04-05 Juri Linkov <juri@jurta.org>
12543
12544 Scrolling commands which scroll a line instead of full screen.
12545 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
12546
12547 * simple.el (scroll-up-line, scroll-down-line): New commands.
12548 Put property isearch-scroll=t on them.
12549
12550 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
12551 Remove commands.
12552
12553 2010-04-05 Juri Linkov <juri@jurta.org>
12554
12555 Scrolling commands which do not signal errors at top/bottom.
12556 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
12557
12558 * simple.el (scroll-up-command, scroll-down-command): New commands.
12559 Put property isearch-scroll=t on them.
12560
12561 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
12562 `scroll-down-command' and [next] from `scroll-up' to
12563 `scroll-up-command'.
12564
12565 * emulation/cua-base.el: Put property CUA=move on
12566 `scroll-up-command' and `scroll-down-command'.
12567 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
12568 and `scroll-down-command' to `cua-scroll-down'.
12569
12570 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
12571
12572 * help.el (describe-mode): Return nil.
12573
12574 2010-04-04 John Wiegley <jwiegley@gmail.com>
12575
12576 * ido.el (ido-use-virtual-buffers): New variable to indicate
12577 whether "virtual buffer" support is enabled for IDO.
12578 (ido-virtual): Face used to indicate virtual buffers in the list.
12579 (ido-buffer-internal): If a buffer is chosen, and no such buffer
12580 exists, but a virtual buffer of that name does (which would be why
12581 it was in the list), recreate the buffer by reopening the file.
12582 (ido-make-buffer-list): If virtual buffers are being used, call
12583 `ido-add-virtual-buffers-to-list' before the make list hook.
12584 (ido-virtual-buffers): New variable which contains a copy of the
12585 current contents of the `recentf-list', albeit pared down for the
12586 sake of speed, and with proper faces applied.
12587 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
12588 create a list of "virtual buffers" to present to the user in
12589 addition to the currently open set. Note that this logic could
12590 get rather slow if that list is too large. With the default
12591 `recentf-max-saved-items' of 200, there is little speed penalty.
12592
12593 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
12594
12595 * font-lock.el: Require CL when compiling.
12596 (font-lock-turn-on-thing-lock): Use `case'.
12597
12598 2010-04-03 Eli Zaretskii <eliz@gnu.org>
12599
12600 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
12601 Zaretskii.
12602
12603 2010-04-02 Juri Linkov <juri@jurta.org>
12604
12605 * ehelp.el (electric-help-orig-major-mode):
12606 New buffer-local variable.
12607 (electric-help-mode): Set it to original major-mode. Doc fix.
12608 (with-electric-help): Use `electric-help-orig-major-mode' instead
12609 of (default-value 'major-mode). Doc fix.
12610 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
12611
12612 2010-04-02 Sam Steingold <sds@gnu.org>
12613
12614 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
12615 `vc-hg-command' with a list of flags.
12616
12617 * progmodes/bug-reference.el (bug-reference-bug-regexp):
12618 Also accept "patch" and "RFE".
12619 (bug-reference-fontify): `bug-reference-url-format' can also be a
12620 function to be able to handle the bug kind.
12621 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
12622
12623 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
12624
12625 * tmm.el (tmm-get-keymap): Check with symbolp before passing
12626 value to fboundp, it may not be a symbol.
12627
12628 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12629
12630 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
12631
12632 2010-03-31 Juri Linkov <juri@jurta.org>
12633
12634 * simple.el (next-line, previous-line): Re-throw a signal
12635 with `signal' instead of using `ding'.
12636 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
12637
12638 2010-03-31 Juri Linkov <juri@jurta.org>
12639
12640 * simple.el (keyboard-escape-quit): Raise deselecting the active
12641 region higher than exiting the minibuffer.
12642 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
12643
12644 2010-03-31 Juri Linkov <juri@jurta.org>
12645
12646 * image.el (image-animated-p): Use `image-metadata' instead of
12647 `image-extension-data'. Get GIF extenstion data from metadata
12648 property `extension-data'.
12649
12650 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12651
12652 * simple.el (append-to-buffer): Simplify.
12653
12654 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
12655
12656 * textmodes/artist.el (artist-mode): Fix typo in docstring.
12657 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
12658
12659 2010-03-31 Kenichi Handa <handa@m17n.org>
12660
12661 * language/sinhala.el (composition-function-table): Fix regexp for
12662 the new Unicode specification.
12663
12664 * language/indian.el (devanagari-composable-pattern)
12665 (tamil-composable-pattern, kannada-composable-pattern)
12666 (malayalam-composable-pattern): Adjust for the new Unicode
12667 specification.
12668 (bengali-composable-pattern, gurmukhi-composable-pattern)
12669 (gujarati-composable-pattern, oriya-composable-pattern)
12670 (telugu-composable-pattern): New variables to cope with the new
12671 Unicode specification. Use them in composition-function-table.
12672
12673 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12674
12675 Make tmm-menubar work for the Buffers menu again (bug#5726).
12676 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
12677 vectors rather than cons cells, as used in menu-bar-update-buffers.
12678
12679 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12680
12681 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
12682 (js-insert-and-indent): Revert 2009-08-15 change, restoring
12683 electric punctuation for "{}();,:" (Bug#5586).
12684
12685 * mail/sendmail.el (mail-default-directory): Doc fix.
12686
12687 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12688
12689 * mail/sendmail.el (mail-default-directory): Doc fix.
12690
12691 2010-03-31 Eli Zaretskii <eliz@gnu.org>
12692
12693 * subr.el (version-regexp-alist, version-to-list)
12694 (version-list-<, version-list-=, version-list-<=)
12695 (version-list-not-zero, version<, version<=, version=): Doc fix.
12696 (Bug#5744).
12697
12698 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
12699
12700 * vc.el (vc-root-diff): Doc fix.
12701
12702 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12703
12704 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
12705
12706 * simple.el (append-to-buffer): Fix last change.
12707
12708 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12709
12710 * simple.el (append-to-buffer): Ensure that point is preserved if
12711 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
12712 (Bug#5749)
12713
12714 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12715
12716 * files.el (auto-mode-case-fold): Change default to t.
12717
12718 2010-03-30 Juri Linkov <juri@jurta.org>
12719
12720 * dired-x.el (dired-omit-mode): Doc fix.
12721
12722 2010-03-30 Juri Linkov <juri@jurta.org>
12723
12724 * replace.el (occur-accumulate-lines): Move occur-engine related
12725 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
12726 to be located after `occur-engine'.
12727
12728 2010-03-30 Juri Linkov <juri@jurta.org>
12729
12730 Make occur handle multi-line matches cleanly with context.
12731 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
12732
12733 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
12734 (occur-engine): Add local variables `ret', `prev-after-lines',
12735 `prev-lines'. Use more arguments for `occur-context-lines'.
12736 Set first elem of its returned list to `data', and the second elem
12737 to `prev-after-lines'. Don't print the separator line.
12738 In the end, print remaining context after-lines.
12739 (occur-context-lines): Add new arguments `begpt', `endpt',
12740 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
12741 after-lines of the previous match with before-lines of the
12742 current match and not overlap them. Return a list with two
12743 values: the output line and the list of context after-lines.
12744
12745 2010-03-30 Juri Linkov <juri@jurta.org>
12746
12747 * replace.el (occur-accumulate-lines): Fix a bug where the first
12748 context line at the beginning of the buffer was missing.
12749
12750 2010-03-30 Eli Zaretskii <eliz@gnu.org>
12751
12752 * files.el: Make bidi-display-reordering safe variable for boolean
12753 values.
12754
12755 2010-03-29 Phil Hagelberg <phil@evri.com>
12756 Chong Yidong <cyd@stupidchicken.com>
12757
12758 * subr.el: Extend progress reporters to perform "spinning".
12759 (progress-reporter-update, progress-reporter-do-update):
12760 Handle non-numeric value arguments.
12761 (progress-reporter--pulse-characters): New var.
12762
12763 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
12764
12765 * progmodes/compile.el (compilation-start): Fix regexp detection
12766 of initial cd command (Bug#5771).
12767
12768 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
12769
12770 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
12771
12772 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
12773
12774 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
12775 * progmodes/gdb-mi.el: Restore.
12776 * progmodes/gdb-ui.el: Remove.
12777 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
12778
12779 2010-03-25 Glenn Morris <rgm@gnu.org>
12780
12781 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
12782 all dired buffers, even tramp ones. (Bug#5755)
12783
12784 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12785
12786 Add "union tags" in mpc.el.
12787 * mpc.el: Remove backward compatibility code.
12788 (mpc-browser-tags): Change default.
12789 (mpc--find-memoize-union-tags): New var.
12790 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
12791 (mpc-cmd-find): Handle the case where the playlist does not exist.
12792 Handle union-tags.
12793 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
12794 (mpc-cmd-add): Use mpc-cmd-flush.
12795 (mpc-tagbrowser-tag-name): New fun.
12796 (mpc-tagbrowser-buf): Use it.
12797 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
12798
12799 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12800
12801 Misc cleanup.
12802 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
12803 Use replace-regexp-in-string.
12804 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
12805 (makefile-imake-mode-syntax-table): Move init into defvar.
12806 (makefile-mode): Use define-derived-mode.
12807
12808 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
12809 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
12810 not be present any more.
12811
12812 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12813
12814 * faces.el (set-face-attribute): Fix typo in docstring.
12815 (face-valid-attribute-values): Reflow docstring.
12816
12817 2010-03-24 Glenn Morris <rgm@gnu.org>
12818
12819 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
12820
12821 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
12822
12823 * indent.el (indent-for-tab-command): Doc fix.
12824
12825 2010-03-24 Alan Mackenzie <acm@muc.de>
12826
12827 * progmodes/cc-engine.el (c-remove-stale-state-cache):
12828 Fix off-by-one error. Fixes bug #5747.
12829
12830 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12831
12832 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
12833 (image-dired-read-comment): Doc fix.
12834
12835 * json.el (json-object-type, json-array-type, json-key-type)
12836 (json-false, json-null, json-read-number):
12837 * minibuffer.el (completion-in-region-functions):
12838 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
12839 (cal-tex-cursor-week):
12840 * emacs-lisp/trace.el (trace-function):
12841 * eshell/em-basic.el (eshell/printnl):
12842 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
12843 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
12844 * obsolete/levents.el (allocate-event, event-key, event-object)
12845 (event-point, event-process, event-timestamp, event-to-character)
12846 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
12847 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
12848 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
12849 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
12850 (reftex-highlight-selection): Fix typos in docstrings.
12851
12852 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12853
12854 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
12855
12856 2010-03-24 Glenn Morris <rgm@gnu.org>
12857
12858 * mail/rmail.el (rmail-highlight-face): Restore option deleted
12859 2008-02-13 without comment; mark it obsolete.
12860 (rmail-highlight-headers): Use rmail-highlight-face once more.
12861
12862 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
12863
12864 * woman.el (woman2-process-escapes): Only consume the newline if
12865 the filler character is on a line by itself (Bug#5729).
12866
12867 2010-03-24 Kenichi Handa <handa@m17n.org>
12868
12869 * language/indian.el (devanagari-composable-pattern): Add more
12870 consonants.
12871
12872 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
12873
12874 * net/trampver.el: Update release number.
12875
12876 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
12877
12878 * net/tramp.el (tramp-find-executable):
12879 Use `tramp-get-connection-buffer'. Make the regexp for checking
12880 output of "wc -l" more robust.
12881 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
12882 (tramp-open-connection-setup-interactive-shell): Remove workaround
12883 for OpenSolaris bug, it is not needed anymore.
12884
12885 2010-03-24 Glenn Morris <rgm@gnu.org>
12886
12887 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
12888
12889 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
12890
12891 * files.el (auto-mode-alist): Accept more verilog file patterns.
12892
12893 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12894
12895 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
12896
12897 2010-03-24 Glenn Morris <rgm@gnu.org>
12898
12899 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
12900 log-edit-before-checkin-process.
12901
12902 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
12903
12904 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
12905
12906 * vc-dispatcher.el (vc-start-logentry): Doc fix.
12907 (log-view-process-buffer, log-edit-extra-flags): Declare.
12908
12909 * log-edit.el (log-edit-before-checkin-process): Doc fix.
12910
12911 2010-03-23 Sam Steingold <sds@gnu.org>
12912
12913 Fix bug#5620: recalculate all markers on compilation buffer
12914 modifications, not on file modifications.
12915 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
12916 variable: the buffer modification time, for buffers not associated with
12917 files.
12918 (compilation-mode): Create it.
12919 (compilation-filter): Update it.
12920 (compilation-next-error-function): Use it instead of
12921 `visited-file-modtime' for timestamp.
12922
12923 2010-03-23 Juri Linkov <juri@jurta.org>
12924
12925 Implement Occur multi-line matches.
12926 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
12927
12928 * replace.el (occur): Doc fix.
12929 (occur-engine): Set `begpt' to the beginning of the first line.
12930 Set `endpt' to the end of the last match line. At first, count
12931 line numbers between `origpt' and `begpt'. Split out code from
12932 `out-line' variable to new let-bindings `match-prefix' and
12933 `match-str'. In `out-line' add non-numeric prefix to all
12934 non-first lines of multi-line matches. Finally, count lines
12935 between `begpt' and `endpt' and add to `lines'.
12936
12937 2010-03-23 Juri Linkov <juri@jurta.org>
12938
12939 * replace.el (occur-accumulate-lines, occur-engine):
12940 Use `occur-engine-line' instead of duplicate code.
12941 (occur-engine-line): New function created from duplicate code
12942 in `occur-accumulate-lines' and `occur-engine'.
12943
12944 * replace.el (occur-engine-line): Add optional arg `keep-props'.
12945 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
12946
12947 2010-03-23 Juri Linkov <juri@jurta.org>
12948
12949 * finder.el: Remove TODO tasks.
12950
12951 * info.el (Info-finder-find-node): Add node "all"
12952 with all package info. Handle a list of multiple keywords
12953 separated by comma.
12954 (info-finder): In interactive use with a prefix argument,
12955 use `completing-read-multiple' to read a list of keywords
12956 separated by comma.
12957
12958 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
12959
12960 Add a new completion style `substring'.
12961 * minibuffer.el (completion-basic--pattern): New function.
12962 (completion-basic-try-completion, completion-basic-all-completions):
12963 Use it.
12964 (completion-substring--all-completions)
12965 (completion-substring-try-completion)
12966 (completion-substring-all-completions): New functions.
12967 (completion-styles-alist): New style `substring'.
12968
12969 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
12970
12971 Get rid of .elc files after removal of the corresponding .el.
12972 * Makefile.in (compile-clean): New target.
12973 (compile-main): Use it.
12974
12975 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
12976
12977 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
12978 don't do make there. When compiling with separate object dir, there
12979 is no Makefile there.
12980
12981 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
12982
12983 Get rid of the ELCFILES abomination, again.
12984 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
12985 (all, compile): Don't call compile-last.
12986 (compile-main): Build the "elcfiles" list dynamically.
12987 (compile-targets): New (internal) target.
12988
12989 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
12990
12991 * Makefile.in (top_srcdir): Define.
12992 (abs_top_builddir): Define.
12993 (srcdir): Don't append `/..'.
12994 (EMACS): Use ${abs_top_builddir}.
12995 (all, compile, compile-always, compile-last): Don't set emacswd.
12996 (update-subdirs, update-authors): Use $(top_srcdir) instead of
12997 $(srcdir).
12998 (lisp): Use $(srcdir) instead of @srcdir@.
12999
13000 2010-03-21 Juri Linkov <juri@jurta.org>
13001
13002 Fix message of multi-line occur regexps and multi-buffer header lines.
13003 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
13004
13005 * replace.el (occur-1): Don't display regexp if it is longer
13006 than window-width. Use `query-replace-descr' to display regexp.
13007 (occur-engine): Don't display regexp in the buffer header for
13008 multi-buffer occur. Display a separate header line with total
13009 match count and regexp for multi-buffer occur.
13010 Use `query-replace-descr' to display regexp.
13011
13012 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
13013
13014 * net/secrets.el: Fix parenthesis.
13015 (secrets-enabled): Fix parenthesis.
13016
13017 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
13018
13019 Use more relative file and directory names.
13020 * Makefile.in (EMACS): Arrange for it to work when we chdir.
13021 (setwins, setwins_almost, setwins_for_subdirs):
13022 Don't `cd'; output relative names.
13023 (all, compile, compile-always, compile-last): Set emacswd.
13024 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
13025 Just cd to the lisp source dir so we can use relative file names.
13026
13027 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
13028
13029 2010-03-20 Glenn Morris <rgm@gnu.org>
13030
13031 * textmodes/rst.el: Use faces for font-lock customization, and make the
13032 old -face variables obsolete.
13033 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
13034 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
13035 (rst-block-face, rst-external-face, rst-definition-face)
13036 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
13037 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
13038 Make obsolete.
13039 (rst-font-lock-keywords-function): Update for above changes.
13040
13041 2010-03-20 Juri Linkov <juri@jurta.org>
13042
13043 * s-region.el:
13044 * obsolete/s-region.el: Move to obsolete.
13045
13046 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
13047
13048 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
13049
13050 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
13051
13052 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
13053
13054 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
13055
13056 Add special markup processing for commit logs.
13057 * log-edit.el (log-edit-extra-flags): New variable.
13058 (log-edit): Add new argument MODE. Use that mode when non-nil
13059 instead of the log-view-mode.
13060 (log-view-process-buffer): New function.
13061
13062 * vc.el: Document that the checkin method takes optional
13063 arguments. Document new backend specific method: log-view-mode.
13064 (vc-default-log-edit-mode): New function.
13065 (vc-checkin): Use a backend specific log-view-mode.
13066 Pass extra arguments to the checkin method.
13067 (vc-modify-change-comment): Pass a dummy extra argument.
13068
13069 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
13070 log-edit.
13071 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
13072 (vc-finish-logentry): Process the log buffer before passing it
13073 down. Pass log-edit-extra-flags.
13074
13075 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
13076 command.
13077 (log-edit-extra-flags, log-edit-before-checkin-process):
13078 New declarations.
13079
13080 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
13081 command.
13082 (log-edit-extra-flags, log-edit-before-checkin-process):
13083 New declarations.
13084 (vc-hg-log-edit-mode): New derived mode.
13085
13086 * vc-arch.el (vc-arch-checkin):
13087 * vc-cvs.el (vc-cvs-checkin):
13088 * vc-git.el (vc-git-checkin):
13089 * vc-mtn.el (vc-mtn-checkin):
13090 * vc-rcs.el (vc-rcs-checkin):
13091 * vc-sccs.el (vc-sccs-checkin):
13092 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
13093
13094 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
13095
13096 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
13097 parent typo).
13098
13099 2010-03-19 Glenn Morris <rgm@gnu.org>
13100
13101 * password-cache.el (password-cache, password-cache-expiry): Autoload.
13102
13103 2010-03-18 Glenn Morris <rgm@gnu.org>
13104
13105 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
13106
13107 * replace.el (query-replace-history): Give it a doc string.
13108 (map-query-replace-regexp): Use query-replace-from-history-variable
13109 and query-replace-to-history-variable.
13110
13111 * mail/hashcash.el (declare-function): Remove duplicate definition.
13112
13113 * mail/emacsbug.el (report-emacs-bug-pretest-address):
13114 Make it an obsolete alias for report-emacs-bug-address.
13115 (message-strip-special-text-properties): Declare.
13116 (report-emacs-bug): Remove test for a pretest bug address.
13117 Combine message-mode-specific code.
13118
13119 * mail/supercite.el: Don't require sendmail.
13120 (mh-in-header-p): Declare rather than using with-no-warnings.
13121 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
13122 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
13123
13124 * calendar/cal-french.el: Convert to utf-8.
13125
13126 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
13127 Emacs scripts.
13128
13129 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
13130
13131 * net/secrets.el (secrets-enabled): New variable. Use it instead
13132 of a subfeature.
13133
13134 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
13135
13136 * net/secrets.el (top): Register the D-Bus signals only when the
13137 service "org.freedesktop.secrets" can be pinged.
13138 Provide subfeature `enabled'.
13139
13140 2010-03-14 Juri Linkov <juri@jurta.org>
13141
13142 Add finder unknown keywords.
13143
13144 * finder.el (finder-unknown-keywords): New function.
13145
13146 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
13147 to create a Finder node with unknown keywords.
13148
13149 2010-03-14 Juri Linkov <juri@jurta.org>
13150
13151 * finder.el (finder-compile-keywords): Replace `princ' with
13152 `prin1' on a list of symbols interned from keyword strings.
13153
13154 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
13155 a comma, then split keywords using a comma and optional whitespace.
13156 Otherwise, split by whitespace.
13157
13158 * complete.el:
13159 * face-remap.el:
13160 * log-view.el:
13161 * net/hmac-def.el:
13162 * net/hmac-md5.el:
13163 * net/netrc.el:
13164 * progmodes/mixal-mode.el: Fix keywords.
13165
13166 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
13167
13168 * Makefile.in (ELCFILES): Add net/secrets.elc.
13169
13170 * net/secrets.el: New file.
13171
13172 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
13173
13174 * facemenu.el (list-colors-display, list-colors-print): New arg
13175 callback. Use it to allow selecting colors.
13176
13177 * wid-edit.el (widget-image-insert): Insert image prop even if the
13178 current display is non-graphic.
13179 (widget-field-value-set): New fun.
13180 (editable-field): Use it.
13181 (widget-field-value-get): Clean up unused var.
13182 (widget-color-value-create, widget-color--choose-action):
13183 New funs. Allow using list-colors-display to choose color.
13184
13185 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
13186
13187 * cus-edit.el: Resort topmost custom groups.
13188 (custom-buffer-sort-alphabetically): Default to t.
13189 (customize-apropos): Use apropos-parse-pattern.
13190 (custom-search-field): New var.
13191 (custom-buffer-create-internal): Add custom-apropos search field.
13192 (custom-add-parent-links): Don't display parent doc.
13193 (custom-group-value-create): Don't sort top-level custom group.
13194 (custom-magic-value-create): Show visibility button before option name.
13195
13196 (custom-variable-state): New fun, from custom-variable-state-set.
13197 (custom-variable-state-set): Use it.
13198 (custom-group-value-create): Hide options with standard values
13199 using the :hidden-states property. Use progress reporter.
13200
13201 (custom-show): Simplify.
13202 (custom-visibility): Disable images by default.
13203 (custom-variable): New property :hidden-states.
13204 (custom-variable-value-create): Enable images for
13205 custom-visibility widgets. Use :hidden-states property to
13206 determine initial visibility.
13207
13208 * wid-edit.el (widget-image-find): Give images center ascent.
13209 (visibility): Add :on-image and :off-image properties.
13210 (widget-visibility-value-create): Use them.
13211
13212 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
13213
13214 * cus-edit.el (processes): Remove from development group.
13215 (oop, hypermedia): Delete group.
13216 (comm): Promote to top-level group.
13217
13218 * net/browse-url.el (browse-url):
13219 * net/xesam.el (xesam):
13220 * net/tramp.el (tramp):
13221 * net/goto-addr.el (goto-address):
13222 * net/ange-ftp.el (ange-ftp): Put in comm group.
13223
13224 * view.el (view): Remove from editing group.
13225
13226 * uniquify.el (uniquify): Put in files group.
13227
13228 * net/browse-url.el (browse-url):
13229 * ps-print.el (postscript): Put in external group.
13230
13231 * cus-edit.el (outlines):
13232 * textmodes/text-mode.el (text-mode-hook):
13233 * textmodes/table.el (table):
13234 * textmodes/picture.el (picture):
13235 * outline.el (outlines): Put in wp group.
13236
13237 * nxml/nxml-mode.el (nxml): Remove from wp group.
13238
13239 * net/tramp-imap.el (tramp-imap): Put in tramp group.
13240
13241 * mail/metamail.el (metamail): Remove from hypermedia group.
13242
13243 * cus-edit.el (abbrev):
13244 * whitespace.el (whitespace):
13245 * vcursor.el (vcursor):
13246 * reveal.el (reveal):
13247 * hl-line.el (hl-line): Put in convenience group.
13248
13249 * epg-config.el (epg): Put in data group.
13250
13251 * emulation/pc-select.el (pc-select): Put in emulations group.
13252
13253 * calculator.el (calculator): Put in applications group.
13254
13255 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
13256
13257 Add .dir-locals.el support for file-less buffers.
13258 * files.el (hack-local-variables): Split out code to apply local
13259 variable settings ...
13260 (hack-local-variables-apply): ... here. New function.
13261 (hack-dir-local-variables): Use the default directory for when the
13262 buffer does not have an associated file.
13263 (hack-dir-local-variables-non-file-buffer): New function.
13264 * diff-mode.el (diff-mode):
13265 * vc-annotate.el (vc-annotate-mode):
13266 * vc-dir.el (vc-dir-mode):
13267 * log-edit.el (log-edit-mode):
13268 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
13269
13270 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
13271
13272 Add support for shelving snapshots and for showing shelves.
13273 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
13274 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
13275 New functions.
13276 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
13277 (vc-bzr-extra-menu-map): Map them.
13278
13279 2010-03-11 Glenn Morris <rgm@gnu.org>
13280
13281 * cus-edit.el (customize-changed-options-previous-release):
13282 Bump to 23.1.
13283
13284 * image.el (image-animate-max-time): Fix :version tag.
13285
13286 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
13287
13288 * Branch for 23.2.
13289
13290 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
13291
13292 * vc-git.el (vc-git-revision-table): Include remote branches.
13293
13294 2010-03-10 Kim F. Storm <storm@cua.dk>
13295
13296 Animated image API.
13297 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
13298
13299 * image.el (image-animate-max-time): New defcustom.
13300 (image-animated-types): New defconst.
13301 (create-animated-image, image-animate-timer)
13302 (image-animate-start, image-animate-stop, image-animate-timeout)
13303 (image-animated-p): New functions.
13304
13305 * image-mode.el (image-toggle-display-image):
13306 Replace `create-image' with `create-animated-image'.
13307
13308 2010-03-09 Miles Bader <miles@gnu.org>
13309
13310 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
13311 instead of "format:"; this ensures that the output is
13312 newline-terminated.
13313
13314 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
13315
13316 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
13317 that all errors are caught, and that the return value is always a
13318 list (Bug#5692).
13319
13320 2010-03-08 Kenichi Handa <handa@m17n.org>
13321
13322 * language/misc-lang.el (windows-1256): New coding system.
13323 (cp1256): New alias of windows-1256 (bug#5690).
13324
13325 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
13326
13327 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
13328 call to rfc822-bad-address. (Bug#5692)
13329
13330 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
13331
13332 * vc-git.el (vc-git-annotate-extract-revision-at-line):
13333 Use vc-git-root as default directory for revision path (Bug#5657).
13334
13335 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
13336
13337 * calculator.el (calculator): Don't bind split-window-keep-point
13338 (Bug#5674).
13339
13340 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
13341
13342 * vc-git.el: Re-flow to fit into 80 columns.
13343 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
13344 Remove spurious `quote' element in each case alternative.
13345 (vc-git-show-log-entry): Use prog1.
13346 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
13347
13348 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
13349
13350 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
13351
13352 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
13353
13354 * macros.el (insert-kbd-macro): Look up keyboard macro using the
13355 definition, not the name (Bug#5481).
13356
13357 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
13358
13359 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
13360 argument with a local variable. (Bug#5670)
13361
13362 2010-03-02 Juri Linkov <juri@jurta.org>
13363
13364 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
13365
13366 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
13367
13368 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
13369 error when FILENAME and NEWNAME are existing remote directories.
13370
13371 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
13372 parameter DIR-FLAG.
13373
13374 2010-03-02 Glenn Morris <rgm@gnu.org>
13375
13376 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
13377 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
13378
13379 2010-03-01 Kenichi Handa <handa@m17n.org>
13380
13381 * language/burmese.el (burmese-composable-pattern): Rename from
13382 myanmar-composable-pattern.
13383
13384 * international/characters.el (script-list):
13385 * international/fontset.el (script-representative-chars):
13386 Change myanmar to burmese.
13387 (otf-script-alist): Likewise.
13388 (setup-default-fontset): Likewise. Re-fix :otf spec.
13389
13390 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
13391
13392 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
13393
13394 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
13395
13396 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
13397
13398 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
13399
13400 * net/tramp.el (tramp-handle-write-region): START can be a string.
13401 Take care in the checks. Reported by Dan Davison
13402 <davison@stats.ox.ac.uk>.
13403
13404 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
13405
13406 * net/dbus.el (dbus-introspect, dbus-get-property)
13407 (dbus-set-property, dbus-get-all-properties):
13408 Use `dbus-call-method' when noninteractive. (Bug#5645)
13409
13410 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
13411
13412 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
13413 * emacs-lisp/elint.el (elint-add-required-env):
13414 * calendar/icalendar.el (icalendar--add-diary-entry):
13415 * calc/calcalg2.el (math-tracing-integral):
13416 * files.el (recover-session-finish): Use with-current-buffer
13417 instead of save-excursion.
13418
13419 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
13420
13421 Fix in-buffer completion when after-change-functions modify the buffer.
13422 * minibuffer.el (completion--replace): New function.
13423 (completion--do-completion): Use it and use relative movement.
13424
13425 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
13426
13427 * international/fontset.el (setup-default-fontset): Fix :otf spec.
13428
13429 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
13430
13431 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
13432 Allow the characters _<> in the stack entry (Bug#5653).
13433
13434 2010-02-26 Kenichi Handa <handa@m17n.org>
13435
13436 * language/burmese.el: Fix entries in composition-function-table.
13437 (myanmar-composable-pattern): New variable.
13438
13439 * international/fontset.el (setup-default-fontset): Add an entry
13440 for myanmar.
13441
13442 * international/characters.el (script-list): Add Myanmar
13443 Extended-A.
13444
13445 2010-02-26 Glenn Morris <rgm@gnu.org>
13446
13447 * custom.el (custom-initialize-delay): Doc fix.
13448
13449 * mail/sendmail.el (send-mail-function): Autoload the call
13450 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
13451
13452 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
13453
13454 * files.el (hack-local-variables-filter): For eval forms, also
13455 check safe-local-variable-p (Bug#5636).
13456
13457 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
13458
13459 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
13460 setting the modes by `ignore-errors'. It might fail, for example
13461 if the file is not owned by the user but the group.
13462 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
13463
13464 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
13465
13466 * files.el (directory-listing-before-filename-regexp):
13467 Use stricter matching for iso-style dates, to avoid false matches with
13468 date-like filenames (Bug#5597).
13469
13470 * htmlfontify.el (htmlfontify): Doc fix.
13471
13472 * eshell/eshell.el (eshell): Doc fix.
13473
13474 * startup.el (fancy-about-screen): In mode-line, apply
13475 mode-line-buffer-id face only to the buffer name (Bug#5613).
13476
13477 2010-02-20 Kevin Ryde <user42@zip.com.au>
13478
13479 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13480 In `watcom' anchor regexp to start of line, to avoid slowness
13481 (Bug#5599).
13482
13483 2010-02-20 Eli Zaretskii <eliz@gnu.org>
13484
13485 * subr.el (remove-yank-excluded-properties): Explain in a comment
13486 why `category' property is removed.
13487
13488 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
13489
13490 * isearch.el (isearch-update-post-hook, isearch-update):
13491 Revert 2010-02-17 change.
13492
13493 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
13494
13495 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
13496 (icalendar--convert-weekly-to-ical)
13497 (icalendar--convert-yearly-to-ical)
13498 (icalendar--convert-block-to-ical)
13499 (icalendar--convert-cyclic-to-ical)
13500 (icalendar--convert-anniversary-to-ical): Take care of time
13501 specifications where hour has 1-digit only (Bug#5549).
13502
13503 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
13504
13505 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
13506 of disassemble output in GDB 7.1.
13507
13508 2010-02-19 Glenn Morris <rgm@gnu.org>
13509
13510 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
13511 property. (Bug#5593)
13512
13513 2010-02-18 Sam Steingold <sds@gnu.org>
13514
13515 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
13516
13517 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
13518
13519 Use abbreviated file names in bookmarks (bug#5591).
13520 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
13521 calls to expand-file-name.
13522 (bookmark-relocate): Use abbreviated file names in bookmarks.
13523 (bookmark-load): Use abbreviated file names in messages.
13524
13525 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
13526
13527 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
13528 expand "." and "..". Reported by Thierry Volpiatto
13529 <thierry.volpiatto@gmail.com>.
13530
13531 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
13532
13533 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
13534 permissions of the temporary file to "0600". In case the remote
13535 file has no read permissions for the owner, there might be
13536 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
13537
13538 22010-02-18 Glenn Morris <rgm@gnu.org>
13539
13540 * emacs-lisp/authors.el (authors-renamed-files-alist):
13541 Add entries for INSTALL.CVS.
13542
13543 2010-02-17 Mark A. Hershberger <mah@everybody.org>
13544
13545 * vc-bzr.el: Fix typo in Known Bugs section.
13546
13547 * isearch.el (isearch-update-post-hook): New hook.
13548 (isearch-update): Use the new hook.
13549
13550 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
13551
13552 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
13553 Fix errors in copying directories.
13554 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
13555 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
13556 (tramp-handle-delete-file)
13557 (tramp-handle-dired-recursive-delete-directory)
13558 (tramp-handle-write-region): Flush also the cache for the upper
13559 directory.
13560
13561 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
13562
13563 * simple.el (save-interprogram-paste-before-kill): Doc fix.
13564
13565 * cus-edit.el (hardware): Doc fix.
13566
13567 * man.el (man): Add to external custom group.
13568
13569 * delim-col.el (columns): Move to wp custom group.
13570
13571 * doc-view.el (doc-view): Add to data custom group.
13572
13573 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
13574
13575 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
13576 by ispell-parse-output (Bug#5575).
13577
13578 2010-02-16 Kenichi Handa <handa@m17n.org>
13579
13580 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
13581 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
13582 (skkdic-convert): Use `euc-japan' coding system for writing.
13583
13584 2010-02-16 Glenn Morris <rgm@gnu.org>
13585
13586 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
13587 tex-main-file before using it. (Bug#5562)
13588
13589 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
13590
13591 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
13592 warnings, since it is annoying for the user to see them each time he
13593 runs the code.
13594
13595 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
13596
13597 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
13598 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
13599 instead of PROC for caching "first-password-request". Otherwise,
13600 new processes would not profit from passwords already entered.
13601
13602 * net/tramp-cache.el (tramp-dump-connection-properties):
13603 Don't save "first-password-request" property.
13604
13605 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
13606
13607 * outline.el (outline-head-from-level):
13608 * simple.el (with-wrapper-hook):
13609 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
13610 (elint-defun, elint-buffer-env, elint-top-form-logged)
13611 (elint-unbound-variable):
13612 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
13613 Fix typos in docstrings.
13614
13615 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
13616
13617 * files.el (insert-directory): When WILDCARD-REGEXP and
13618 FULL-DIRECTORY-P are nil, insert the file entry instead of the
13619 whole directory. (Bug#5551)
13620
13621 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
13622 dired's alignment sanity. (Bug#5516)
13623
13624 2010-02-14 Juri Linkov <juri@jurta.org>
13625
13626 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
13627 Remove remaining ^H with their preceding chars. (Bug#5566)
13628
13629 2010-02-13 Glenn Morris <rgm@gnu.org>
13630
13631 * simple.el (transpose-subr): Give it a doc-string.
13632
13633 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
13634 Doc fixes.
13635
13636 2010-02-12 Juri Linkov <juri@jurta.org>
13637
13638 * arc-mode.el (archive-unique-fname): Make directories for nested
13639 archives. (Bug#5540)
13640
13641 2010-02-12 Juri Linkov <juri@jurta.org>
13642
13643 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
13644
13645 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
13646
13647 * subr.el (copy-overlay): Handle deleted overlays.
13648
13649 * man.el (Man-completion-table): Don't signal an error if we can't run
13650 manual-program (bug#4056).
13651
13652 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
13653
13654 * textmodes/artist.el (artist-mt): Fix typos in docstring.
13655
13656 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13657
13658 * info.el (Info-bookmark-jump): Simplify.
13659
13660 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
13661 (bookmark-default-handler): Accept new bookmark field `buffer'.
13662
13663 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
13664
13665 * iswitchb.el (iswitchb-completions): Revert last change.
13666
13667 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
13668
13669 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
13670 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
13671 This prevents file names like "~/" being listed literally.
13672
13673 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
13674
13675 * term/xterm.el (xterm-maybe-set-dark-background-mode):
13676 Remove dead code. (Bug#5546)
13677
13678 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
13679
13680 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
13681 correctly (Bug#5548).
13682
13683 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
13684
13685 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
13686 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
13687
13688 2010-02-08 Kenichi Handa <handa@m17n.org>
13689
13690 * international/mule-util.el (with-coding-priority): Add autoload
13691 cookie for putting `lisp-indent-function'.
13692
13693 2010-02-07 Glenn Morris <rgm@gnu.org>
13694
13695 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
13696 Move F2003 named interfaces from keywords-2 to keywords-1, and
13697 use function-name-face rather than constant-face.
13698 Simplify "abstract interface" regexp.
13699
13700 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
13701
13702 * eshell/esh-util.el (eshell-file-attributes): New optional arg
13703 ID-FORMAT. Pass it to `file-attributes'.
13704
13705 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
13706
13707 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
13708
13709 * faces.el (set-face-attribute): Allow calling
13710 internal-set-lisp-face-attribute with 'unspecified family and
13711 foundry argument (Bug#5536).
13712
13713 2010-02-07 Glenn Morris <rgm@gnu.org>
13714
13715 * progmodes/f90.el (f90-font-lock-keywords-2)
13716 (f90-looking-at-type-like, f90-looking-at-program-block-end):
13717 Handle F2003 named interfaces.
13718
13719 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
13720
13721 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
13722 beg and end before calling c-get-state-before-change-functions.
13723
13724 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
13725
13726 * vc-bzr.el (vc-bzr-dir-extra-headers):
13727 Disable the pending merges header.
13728
13729 2010-02-05 Juri Linkov <juri@jurta.org>
13730
13731 * doc-view.el (doc-view-mode):
13732 * image-mode.el (image-mode): Put property mode-class=special.
13733 (Bug#4896)
13734
13735 2010-02-05 Mark A. Hershberger <mah@everybody.org>
13736
13737 * vc-svn.el (vc-svn-revision-table): New function.
13738
13739 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
13740
13741 * net/ange-ftp.el (ange-ftp-insert-directory):
13742 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
13743 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
13744 Handle also directories. (Bug#5478)
13745
13746 2010-02-05 Glenn Morris <rgm@gnu.org>
13747
13748 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
13749
13750 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
13751
13752 * startup.el (command-line-1): Convert options beginning with a
13753 single dash as well (Bug#5519).
13754
13755 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
13756
13757 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
13758 * minibuffer.el (completion-initials-expand): Only check the presence
13759 of delims *within* the boundaries, since otherwise the / delim is
13760 always found for files.
13761
13762 Fix up various corner case problems.
13763 * doc-view.el (doc-view-last-page-number): New function.
13764 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
13765 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
13766 (doc-view-kill-proc): Avoid inf-loop in freak cases.
13767 (doc-view-reconvert-doc): Use the new recursive delete-directory.
13768 (doc-view-convert-current-doc): Don't create the resolution.el file
13769 here any more.
13770 (doc-view-pdf/ps->png): Do it here instead.
13771 (doc-view-already-converted-p): Check that resolution.el is present.
13772 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
13773 windows that are not yet showing images.
13774
13775 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
13776
13777 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
13778 `dired-uncache' for every elemnt which is an absolute file name.
13779
13780 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
13781 directory, handle its directory component.
13782 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
13783 function is called permanently and creates noise, otherwise.
13784
13785 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
13786 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
13787 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
13788
13789 2010-02-04 David Burger <dburger@google.com> (tiny change)
13790
13791 * macros.el (apply-macro-to-region-lines):
13792 Minor simplification. (Bug#5485)
13793
13794 2010-02-04 Glenn Morris <rgm@gnu.org>
13795
13796 * mail/rmail.el (rmail-show-message-1): Handle malformed
13797 quoted-printable text. (Bug#5441)
13798
13799 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
13800
13801 * simple.el (visual-line-mode): Capitalize lighter.
13802
13803 2010-02-03 John Wiegley <jwiegley@gmail.com>
13804
13805 * iswitchb.el (iswitchb-completions): Add bookmark files to the
13806 list of files considered for "virtual buffer" completions.
13807
13808 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
13809
13810 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
13811 also in case of (and (not full) (not wildcard)). This is needed
13812 when dired is called with a list of files, which are not in
13813 `default-directory'. (Bug#5478)
13814
13815 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
13816
13817 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
13818
13819 2010-02-02 Juri Linkov <juri@jurta.org>
13820
13821 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
13822 from unidiff to allow function-line after @@.
13823
13824 2010-02-02 Juri Linkov <juri@jurta.org>
13825
13826 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
13827 '(RCS SCCS) with inverted condition.
13828
13829 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
13830
13831 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
13832 messages.
13833
13834 2010-02-01 Juri Linkov <juri@jurta.org>
13835
13836 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
13837 compare with "pkunzip" and "pkzip" instead of only "pkzip".
13838 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
13839 only when (car archive-zip-extract) is "unzip". (Bug#5475)
13840
13841 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
13842
13843 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
13844 (doc-view-revert-buffer): New command.
13845 (doc-view-mode-map): Use it.
13846
13847 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
13848
13849 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
13850 pending merge is detected.
13851
13852 2010-01-31 Juri Linkov <juri@jurta.org>
13853
13854 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
13855 beginning of interactive spec like all other grep commands do.
13856 Put "all" in front of "gz". (Bug#5260)
13857
13858 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
13859
13860 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
13861
13862 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
13863
13864 * dirtrack.el (dirtrack): Warn instead of signalling error if the
13865 regexp is incorrect (Bug#5476).
13866
13867 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
13868
13869 * net/tramp.el (tramp-handle-insert-directory): Handle also
13870 symlinks, when FILENAME is not in `default-directory'.
13871
13872 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
13873
13874 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
13875 FILE is not in `default-directory'. (Bug#5478)
13876
13877 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
13878 of SWITCHES. Handle the case, FILENAME is not in
13879 `default-directory'. (Bug#5478)
13880 (tramp-register-file-name-handlers): Add safe-magic property.
13881
13882 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
13883
13884 * arc-mode.el (archive-zip-extract): Quote the argument passed to
13885 unzip (Bug#5475).
13886
13887 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
13888
13889 * progmodes/flymake.el (flymake-allowed-file-name-masks)
13890 (flymake-master-make-header-init): Add other C++ filename masks.
13891 (flymake-find-possible-master-files)
13892 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
13893
13894 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
13895
13896 Fix some busybox annoyances.
13897
13898 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
13899 not responding." string.
13900 (tramp-open-connection-setup-interactive-shell): Dump stty
13901 settings. Enable "neveropen" arg for all `tramp-send-command'
13902 calls. Handle "=" in variable values properly.
13903 (tramp-find-inline-encoding): Raise an error, when no encoding is
13904 found.
13905 (tramp-wait-for-output): Check, whether PROC buffer is available.
13906 Remove spurious " ^H" sequences, sent by busybox.
13907 (tramp-get-ls-command): Suppress coloring, if possible.
13908
13909 2010-01-28 Glenn Morris <rgm@gnu.org>
13910
13911 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
13912
13913 * log-edit.el (log-edit-strip-single-file-name): Add missing
13914 :safe, :group, and :version tags.
13915
13916 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
13917
13918 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
13919 buffers. (Bug#5477)
13920
13921 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
13922
13923 * files.el (delete-directory): Handle moving to trash without
13924 first doing recursion (Bug#5436).
13925
13926 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
13927
13928 * vc-hooks.el (vc-path): Mark as obsolete.
13929
13930 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
13931
13932 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
13933 names too.
13934
13935 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
13936 for the short log.
13937 (vc-bzr-log-view-mode): Adjust regexp for the above change.
13938
13939 2010-01-25 Mark A. Hershberger <mah@everybody.org>
13940
13941 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
13942
13943 * vc-bzr.el (vc-bzr-revision-table): New function.
13944
13945 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
13946
13947 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
13948 diff-index command. This requires at least git-1.5.5. (Bug#1589).
13949
13950 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
13951
13952 Remove support for adding --signoff on commit.
13953 Future support will use an incompatible generic mechanism.
13954 * vc-git.el (vc-git-add-signoff): Remove variable.
13955 (vc-git-toggle-signoff): Remove function.
13956 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
13957
13958 * term/xterm.el (xterm-maybe-set-dark-background-mode):
13959 Rename from xterm-set-background-mode. Return t if the background mode
13960 was set.
13961 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
13962 earlier, call it again in case the background mode has changed.
13963
13964 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
13965
13966 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
13967 (Bug#3541).
13968
13969 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
13970
13971 * emacs-lisp/assoc.el (aelement): Doc fix.
13972 (aput, adelete, amake): Use lexical-let (Bug#5450).
13973
13974 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
13975
13976 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
13977 is the same as subprogram call, not declaration. (Bug#5435).
13978
13979 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
13980
13981 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
13982 (tramp-smb-maybe-open-connection): Use it.
13983
13984 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
13985
13986 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
13987
13988 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
13989
13990 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
13991 just because we see "encoding: 8bit".
13992 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
13993
13994 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
13995
13996 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
13997
13998 2010-01-22 Eli Zaretskii <eliz@gnu.org>
13999
14000 * jka-compr.el (jka-compr-load): If load-file is not in
14001 load-history, try its file-truename version. (bug#5447)
14002
14003 2010-01-21 Alan Mackenzie <acm@muc.de>
14004
14005 Fix a situation where deletion of a cpp construct throws an error.
14006 * progmodes/cc-engine.el (c-invalidate-state-cache):
14007 Before invoking c-with-all-but-one-cpps-commented-out, check that the
14008 special cpp construct is still in the buffer.
14009 (c-parse-state): Record the special cpp with markers, not numbers.
14010
14011 2010-01-21 Kenichi Handa <handa@m17n.org>
14012
14013 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
14014 process last-command-event, as it is now decoded first (Bug#5380).
14015
14016 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
14017
14018 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
14019
14020 2010-01-20 Glenn Morris <rgm@gnu.org>
14021
14022 * indent.el (tab-always-indent): Fix custom-type.
14023
14024 2010-01-19 Alan Mackenzie <acm@muc.de>
14025
14026 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
14027 buffer throws "args out of range".
14028 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
14029 playing the role of delimiter.
14030
14031 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
14032
14033 * progmodes/ada-mode.el: Fix bug#5400.
14034 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
14035 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
14036 changed. Delete RECURSIVE parameter; never used. Improve doc string.
14037 Improve comments in "is" portion. Handle null procedure declaration.
14038 (ada-move-to-end): Improve doc string.
14039
14040 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
14041
14042 * ido.el (ido-cur-list): Initialize to nil.
14043 Remove obsolete information from commentary.
14044 (ido-choice-list): Initialize to nil.
14045 (ido-get-bufname): Reject minibuffers.
14046 (ido-make-buffer-list): If "default" is a nonexistent
14047 buffer, ignore it, as per the function's comment.
14048 (ido-kill-buffer-internal): New function.
14049 (ido-kill-buffer-at-head): Use it.
14050 (ido-visit-buffer): Likewise.
14051
14052 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
14053
14054 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
14055
14056 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
14057
14058 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
14059 Fix typos in chart titles.
14060
14061 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
14062 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
14063 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
14064 (describe-class, eieio-describe-generic, describe-generic):
14065 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
14066 (eieio-speedbar-expand):
14067 * emulation/viper-cmd.el (viper-exec-form-in-vi)
14068 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
14069 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
14070 (viper-del-backward-char-in-replace, viper-backward-indent)
14071 (viper-brac-function, viper-register-to-point, viper-submit-report):
14072 * net/tramp.el (tramp-remote-coding-commands):
14073 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
14074 Fix typos in docstrings.
14075
14076 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
14077
14078 * mail/sendmail.el (mail-yank-original): Set the mark if the
14079 specified function for yanking does not do it.
14080
14081 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
14082
14083 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
14084
14085 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
14086 resyncing a directory.
14087
14088 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
14089
14090 * progmodes/ada-mode.el: Fix bug#1920.
14091 (ada-ident-re): Delete ., allow multibyte characters.
14092 (ada-goto-label-re): New; matches goto labels.
14093 (ada-block-label-re): New; matches block labels.
14094 (ada-label-re): New; matches both.
14095 (ada-named-block-re): Delete; callers changed to use
14096 `ada-block-label-re' instead.
14097 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
14098 Use `ada-block-label-re'.
14099 (ada-indent-on-previous-lines): Improve handling of goto labels.
14100 (ada-get-indent-block-start): Special-case block label.
14101 (ada-get-indent-label): Split into `ada-indent-block-label' and
14102 `ada-indent-goto-label'.
14103 (ada-goto-stmt-start, ada-goto-next-non-ws):
14104 Optionally ignore goto labels.
14105 (ada-goto-next-word): Simplify.
14106 (ada-indent-newline-indent-conditional): Insert newline before
14107 trying to fix indentation; doc fix.
14108
14109 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
14110
14111 * calc/calc.el (calc-command-flags): Give it an initial value.
14112
14113 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
14114
14115 * files.el (minibuffer-with-setup-hook):
14116 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
14117 (artist-key-draw-continously, artist-key-do-continously-continously)
14118 (artist-key-set-point-continously, artist-mouse-draw-continously):
14119 Fix typos in docstrings.
14120
14121 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
14122
14123 * nxml/nxml-mode.el (nxml-extend-after-change-region):
14124 Never return t (Bug#3898).
14125
14126 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
14127
14128 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
14129 can parse the output of the external commands (Bug#5279).
14130
14131 2010-01-16 Jari Aalto <jari.aalto@cante.net>
14132
14133 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
14134
14135 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
14136
14137 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
14138
14139 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
14140
14141 * startup.el (command-line): Remove unused --icon-type arg.
14142 Handle --display arg, passing it to command-line-1 (Bug#5392).
14143
14144 2010-01-16 Mario Lang <mlang@delysid.org>
14145
14146 * emacs-lisp/chart.el (chart-translate-namezone):
14147 * textmodes/artist.el (artist-compute-popup-menu-table):
14148 Remove duplicated words in doc-strings.
14149
14150 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
14151
14152 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
14153 to mairix-search to suppress threading (Bug#5342).
14154
14155 2010-01-15 Kenichi Handa <handa@m17n.org>
14156
14157 * international/mule-cmds.el (canonicalize-coding-system-name):
14158 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
14159
14160 2010-01-15 Glenn Morris <rgm@gnu.org>
14161
14162 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
14163
14164 * wid-edit.el (widget-keymap): Doc fix.
14165
14166 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
14167 former seems to be more widely accepted by various svn versions.
14168
14169 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
14170
14171 * find-cmd.el (find-constituents):
14172 * vc-arch.el (vc-arch-root):
14173 * window.el (window-body-height, pop-up-frames):
14174 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
14175 * progmodes/ada-stmt.el (ada-if):
14176 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
14177 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
14178 (ispell-encoding8-command, ispell-aspell-supports-utf8)
14179 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
14180
14181 * progmodes/flymake.el (flymake-post-syntax-check):
14182 Fix typo in error message.
14183
14184 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
14185
14186 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
14187 which is always a string. (Bug#5313)
14188
14189 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
14190
14191 * progmodes/ada-xref.el (ada-default-prj-properties):
14192 Simplify previous change.
14193
14194 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14195
14196 * progmodes/ada-xref.el (ada-default-prj-properties):
14197 Default ada_project_path to $ADA_PROJECT_PATH.
14198
14199 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14200
14201 * progmodes/ada-mode.el (ada-create-keymap):
14202 Override `narrow-to-defun' with `ada-narrow-to-defun'.
14203
14204 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14205
14206 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
14207 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
14208 (ada-get-current-indent, ada-imenu-generic-expression)
14209 (ada-which-function): Check for it.
14210
14211 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14212
14213 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
14214 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
14215
14216 2010-01-14 Glenn Morris <rgm@gnu.org>
14217
14218 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
14219
14220 2010-01-14 Kenichi Handa <handa@m17n.org>
14221
14222 * composite.el (auto-composition-mode): Make it a buffer local
14223 variable (permanent-local).
14224 (auto-composition-function): Set the default value to
14225 auto-compose-chars.
14226 (auto-composition-mode): Make it a simple function, not a minor mode.
14227 (global-auto-composition-mode): Likewise.
14228 (turn-on-auto-composition-if-enabled): Delete it.
14229
14230 2010-01-13 Karl Fogel <kfogel@red-bean.com>
14231
14232 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
14233
14234 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
14235
14236 * files.el (copy-directory): Compute target for recursive
14237 directories with identical names. (Bug#5343)
14238
14239 2010-01-12 Glenn Morris <rgm@gnu.org>
14240
14241 * mail/emacsbug.el (report-emacs-bug-pretest-address):
14242 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
14243
14244 2010-01-11 Sam Steingold <sds@gnu.org>
14245
14246 * imenu.el (imenu-default-create-index-function): Detect infinite
14247 loops caused by imenu-prev-index-position-function.
14248
14249 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
14250
14251 * htmlfontify.el (htmlfontify-load-rgb-file)
14252 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
14253 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
14254 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
14255 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
14256 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
14257 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
14258 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
14259 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
14260 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
14261 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
14262 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
14263 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
14264 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
14265 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
14266 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
14267 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
14268 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
14269 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
14270 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
14271 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
14272 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
14273 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
14274 backslash-quoting from parentheses, etc.
14275
14276 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
14277
14278 * progmodes/js.el: Autoload javascript-mode alias.
14279
14280 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
14281
14282 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
14283 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
14284 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
14285 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
14286 Fix typos in docstrings.
14287 (ffap-url-regexp): Doc fix.
14288 (ffap-at-mouse): Fix typo in message.
14289
14290 2010-01-11 Glenn Morris <rgm@gnu.org>
14291
14292 * version.el (emacs-copyright): Set copyright year to 2010.
14293
14294 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
14295
14296 * format.el (format-annotate-function): Only set
14297 write-region-post-annotation-function after running to-fn so as not to
14298 affect nested write-region calls (bug#5273).
14299
14300 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
14301
14302 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
14303 wisent/python.el.
14304
14305 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
14306
14307 * man.el (Man-goto-section): Signal error if the section is not
14308 found (Bug#5317).
14309
14310 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
14311
14312 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
14313 URLs with a leading triple slash in the file: scheme. (Bug#5345)
14314
14315 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
14316
14317 * progmodes/compile.el: Don't treat compile-command as safe if
14318 compilation-read-command might be nil (Bug#4218).
14319
14320 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
14321
14322 * startup.el (command-line-1): Use orig-argi to check for ignored X and
14323 NS options.
14324
14325 2010-01-08 Kenichi Handa <handa@m17n.org>
14326
14327 * international/fontset.el (build-default-fontset-data):
14328 Exclude characters in scripts kana, hangul, han, or cjk-misc.
14329
14330 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
14331
14332 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
14333 to `create-file-buffer' as it expects, not just a buffer name.
14334 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
14335 to help uniquify. (Bug#3224)
14336
14337 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
14338
14339 * font-setting.el (font-setting-change-default-font): Use user-spec
14340 instead of name.
14341
14342 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
14343
14344 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
14345
14346 2010-01-05 Tom Tromey <tromey@redhat.com>
14347
14348 * progmodes/python.el (python-font-lock-keywords):
14349 Handle qualified decorators (Bug#881).
14350
14351 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
14352
14353 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
14354 in a lightweight checkout.
14355
14356 2010-01-05 Kenichi Handa <handa@m17n.org>
14357
14358 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
14359
14360 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
14361
14362 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
14363
14364 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
14365
14366 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
14367 checkouts. (Bug#618)
14368 (vc-bzr-log-view-mode): Also highlight the author.
14369 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
14370 (vc-bzr-shelve-menu-map):
14371 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
14372 (vc-bzr-shelve-apply): Make prompt more explicit.
14373
14374 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
14375
14376 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
14377 They are valid characters in URL paths (rfc3986), and at least
14378 Firefox does not understand the encoded version (Bug#3166).
14379
14380 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
14381
14382 * progmodes/octave-mod.el (octave-end-keywords)
14383 (octave-block-begin-or-end-regexp, octave-block-match-alist):
14384 Add "end" keyword (Bug#3061).
14385 (octave-end-as-array-index-p): New function.
14386 (calculate-octave-indent): Use it.
14387
14388 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14389
14390 * bookmark.el: Consistently put the text property on the bookmark name.
14391 (bookmark-bmenu-marks-width): Bump back to 2, to include
14392 annotation marks.
14393 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
14394 property on the bookmark name, instead of not putting it at all.
14395 (bookmark-bmenu-list): Fix where we put the text property.
14396
14397 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14398
14399 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
14400 for showing buffer modified state (as added in the previous change).
14401
14402 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14403
14404 * bookmark.el: Show modified state of bookmark buffer more accurately.
14405 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
14406 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
14407 (with-buffer-modified-unmodified): New macro.
14408 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
14409 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
14410 Use new macro to preserve the buffer modified state.
14411
14412 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14413
14414 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
14415 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
14416 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
14417 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
14418 (bookmark-bmenu-rename, bookmark-bmenu-locate)
14419 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
14420 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
14421
14422 2010-01-02 Eli Zaretskii <eliz@gnu.org>
14423
14424 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14425 Make the lines in the generated doc string shorter. (Bug#4668)
14426
14427 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
14428
14429 * net/rcirc.el: Add follow-link binding (Bug#4738).
14430
14431 2010-01-02 Eli Zaretskii <eliz@gnu.org>
14432
14433 * Makefile.in (bzr-update): Rename from cvs-update.
14434 (cvs-update): New target for backward compatibility.
14435
14436 * makefile.w32-in (bzr-update): Rename from cvs-update.
14437 (cvs-update): New target for backward compatibility.
14438
14439 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14440
14441 * bookmark.el: Remove gratuitous gratitude.
14442
14443 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14444
14445 * bookmark.el (bookmark-bmenu-any-marks): New function.
14446 (bookmark-bmenu-save): Clear buffer modification if no marks.
14447
14448 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14449
14450 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
14451 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
14452 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
14453 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
14454
14455 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
14456 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
14457 To: emacs-devel {_AT_} gnu.org
14458 Subject: bookmark.el bug report
14459 Date: Mon, 28 Dec 2009 14:19:16 +0800
14460 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
14461
14462 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14463
14464 * bookmark.el: Improvements suggested by Drew Adams:
14465 (bookmark-bmenu-ensure-position): New name for
14466 `bookmark-bmenu-check-position'. Just ensure the position,
14467 don't return any meaningful value.
14468 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
14469 New constants.
14470
14471 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
14472
14473 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
14474 (bookmark-yank-point, bookmark-bmenu-check-position):
14475 Fix typos in docstrings.
14476 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
14477 (bookmark-name-from-full-record, bookmark-get-position)
14478 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
14479 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
14480 Remove useless quoting of parenthesis, etc. in docstrings.
14481
14482 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
14483 (ediff-append-custom-diff): Fix typo in error message.
14484 (ediff-meta-mark-equal-files): Fix typos in messages.
14485
14486 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
14487
14488 * net/imap-hash.el (imap-hash-make): Doc fix.
14489 (imap-hash-test): Fix typo in error message; reflow docstring.
14490 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
14491 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
14492 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
14493 Fix typos in docstrings.
14494 (imap-hash-open-connection): Fix typo in error message.
14495
14496 * play/gomoku.el (gomoku): Fix typos in docstring.
14497
14498 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
14499 (gdb-jsonify-buffer): Fix typos in docstring.
14500 (gdb-goto-breakpoint): Fix typo in error message.
14501 ("Display Other Windows"): Fix typo in help message.
14502 (gdb-speedbar-expand-node): Fix typo in question.
14503
14504 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
14505 (idlwave-html-system-help-location, idlwave-html-help-location)
14506 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
14507 (idlwave-help-browser-generic-args, idlwave-help-directory)
14508 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
14509 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
14510 (idlwave-online-help, idlwave-help-html-link)
14511 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
14512 Fix typos in docstrings.
14513 (idlwave-help-with-source, idlwave-help-find-routine-definition):
14514 Reflow docstrings.
14515 (idlwave-help-assistant-start): Fix typo in error message.
14516
14517 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
14518 (octave-electric-space): Fix typos in docstrings.
14519
14520 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
14521
14522 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
14523
14524 2010-01-01 Juri Linkov <juri@jurta.org>
14525
14526 * comint.el (comint-input-ring-size): Make it a defcustom and
14527 increase the default to 500 (Bug#5148).
14528
14529 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
14530
14531 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
14532 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
14533 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
14534
14535 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
14536
14537 Show working revision correctly for mercurial.
14538 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
14539 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
14540
14541 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
14542
14543 Declare some functions for the byte-compiler.
14544 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
14545 (speedbar-timer-fn, speedbar-change-expand-button-char)
14546 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
14547
14548 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
14549
14550 This changeset reverts GDB Graphical Interface to use annotations.
14551 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
14552
14553 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
14554
14555 Make vc-dir work on subdirectories of the bzr root.
14556 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
14557 Return file names relative to it.
14558 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
14559 relative directory to vc-bzr-after-dir-status.
14560
14561 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
14562
14563 * font-lock.el (font-lock-refresh-defaults): New function, which
14564 can be used to let font-lock react to external changes in
14565 variables like font-lock-defaults and keywords.
14566 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
14567
14568 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
14569
14570 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
14571
14572 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
14573
14574 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
14575
14576 Supersede color.diff settings in git log (bug#5211).
14577
14578 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
14579 escape chars in its output when the user has color.diff set to `always'.
14580 This fix works on git 1.4.2 and newer (released on 2006-08-13).
14581
14582 2009-12-26 Kevin Ryde <user42@zip.com.au>
14583
14584 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
14585 node. Keep previous "Index" name to work with past coreutils too.
14586
14587 * man.el (man): Revise docstring a bit to show -a and -l as
14588 examples. Add -k description since support for it has otherwise
14589 been a secret. (Further to bug#3717.)
14590 (Man-bgproc-sentinel): When "-k foo" produces no output show error
14591 "no matches" rather than "Can't find manpage", as the latter reads
14592 like -k was interpreted as a page name, which is not so. (Bug#5431)
14593
14594 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
14595
14596 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
14597 switches. Check also for //SUBDIRED// line.
14598
14599 2009-12-25 Kenichi Handa <handa@m17n.org>
14600
14601 * language/indian.el (devanagari-composable-pattern): Fix to
14602 handle ZWNJ and ZWJ. Use it in composition-function-table for
14603 Devanagari.
14604 (malayalam-composable-pattern): Fix previous change.
14605
14606 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14607
14608 * ps-print.el (ps-face-attributes): It was not returning the
14609 attribute face for faces specified as string. Reported by harven
14610 <harven@free.fr>. (Bug#5254)
14611 (ps-print-version): New version 7.3.5.
14612
14613 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
14614
14615 * calendar/icalendar.el (icalendar--convert-tz-offset):
14616 Fix timezone names.
14617 (icalendar--convert-tz-offset): Fix the "last-day-problem".
14618 (icalendar--add-diary-entry): Remove the trailing blank that
14619 diary-make-entry inserts.
14620
14621 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
14622
14623 Make `file-expand-wildcards' work for remote files.
14624
14625 * files.el (file-expand-wildcards): In case of remote files, check
14626 only local file name part for wildcards. Provide feature 'files
14627 and subfeature 'remote-wildcards. (Bug#5198)
14628
14629 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
14630 if there is already an established connection.
14631 (tramp-advice-file-expand-wildcards): Remove it.
14632
14633 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
14634 (tramp-advice-file-expand-wildcards): Move from tramp.el.
14635 Activate advice for older GNU Emacs versions. (Bug#5237)
14636
14637 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
14638
14639 Some doc fixes (more needed).
14640
14641 * find-cmd.el (find-constituents): Reflow docstring.
14642 (find-cmd, find-prune, find-command): Fix typos in docstrings.
14643 (find-generic): Doc fix.
14644
14645 2009-12-17 Juri Linkov <juri@jurta.org>
14646
14647 Fix regression from 23.1 to allow multiple modes in Local Variables.
14648
14649 * files.el (hack-local-variables-filter): While ignoring duplicates,
14650 don't take `mode' into account.
14651 (hack-local-variables-filter, hack-dir-local-variables):
14652 Don't remove duplicate `mode' from local-variables-alist (like `eval').
14653
14654 2009-12-17 Juri Linkov <juri@jurta.org>
14655
14656 Make `dired-diff' safer. (Bug#5225)
14657
14658 * dired-aux.el (dired-diff): Signal an error when `file' equals to
14659 `current' or when `file' is a directory of the `current' file.
14660
14661 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
14662
14663 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
14664 unconditionally preloaded files.
14665
14666 2009-12-16 Juri Linkov <juri@jurta.org>
14667
14668 Revert to old 23.1 logic of using the file at the mark as default.
14669 * dired-aux.el (dired-diff): Use the file at the mark as default
14670 if it's not the same as the current file, and the target dir is
14671 the current dir or the mark is active. Add the current file
14672 as the arg of `dired-dwim-target-defaults'. Use the default file
14673 in the prompt. (Bug#5225)
14674
14675 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
14676
14677 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
14678 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
14679 (tramp-check-for-regexp): Check also, when an echoing shell stops
14680 to echo sent commands.
14681
14682 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
14683
14684 * Makefile.in: Revert last change (Bug#5191).
14685
14686 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
14687
14688 * vc-hg.el (vc-hg-print-log): Fix argument order.
14689 (vc-hg-working-revision): Make sure the command is executed in a
14690 known environment so that we can parse the output. (Bug#4417)
14691
14692 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
14693
14694 * progmodes/python.el (python-symbol-completions): Remove text
14695 properties from symbol string before calling python-send-receive.
14696
14697 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
14698
14699 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
14700 when there are values for both file and line. (Bug#5060)
14701
14702 2009-12-14 Juri Linkov <juri@jurta.org>
14703
14704 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
14705 whitespace after the file name of the first line of unified format,
14706 because git-diff doesn't output whitespace and file modification time
14707 after the file name.
14708
14709 2009-12-14 David Kastrup <dak@gnu.org>
14710
14711 * info.el (Info-hide-cookies-node): Before hiding a cookie,
14712 check if it already has the `display' property added by
14713 `Info-display-images-node', and not put the `invisible' property
14714 in this case.
14715
14716 2009-12-13 Glenn Morris <rgm@gnu.org>
14717
14718 * mail/emacsbug.el (message-sort-headers): Define for compiler.
14719 (report-emacs-bug): In message-mode, sort manually before storing
14720 original report text. (Bug#5178)
14721 Remove superfluous save-excursion.
14722
14723 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
14724
14725 * net/dbus.el (dbus-property-handler): Filter lambda forms out
14726 when responding to "GetAll" properties.
14727
14728 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
14729
14730 * simple.el (compose-mail): Remove mail-setup-with-from from
14731 customization checks.
14732
14733 2009-12-12 Eli Zaretskii <eliz@gnu.org>
14734
14735 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
14736 RAR archives created on Unix systems.
14737
14738 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
14739
14740 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
14741 the varalias that was accidentally removed by the 2009-11-19 change
14742 (bug#5186).
14743
14744 2009-12-12 Kenichi Handa <handa@m17n.org>
14745
14746 * language/indian.el (indian-compose-regexp): New function.
14747 (malayalam-composable-pattern): Fix the pattern.
14748 (composition-function-table): Set malayalam-composable-pattern for
14749 Malayalam characters.
14750
14751 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
14752
14753 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
14754 rather than down-mouse-1, based on follow-link conventions.
14755
14756 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
14757 are compiled.
14758
14759 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
14760
14761 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
14762 (verilog-vmm-statement-re, verilog-ovm-statement-re)
14763 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
14764 (verilog-leap-to-head, verilog-backward-token):
14765 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
14766
14767 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
14768
14769 * progmodes/verilog-mode.el (verilog-auto-lineup)
14770 (verilog-nameable-item-re): Cleanup user-visible spelling and
14771 documentation errors. One reported by Gary Delp.
14772 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
14773 (verilog-read-decls): Fix AUTOWIRE with types declared in a
14774 package, bug195. Reported by Pierre-David Pfister.
14775
14776 2009-12-11 Glenn Morris <rgm@gnu.org>
14777
14778 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
14779
14780 * mail/emacsbug.el: No longer require sendmail.
14781 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
14782 (report-emacs-bug-orig-text): Doc fix.
14783 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
14784 New local variables, to adapt to different mail-user-agents.
14785 (report-emacs-bug): Fix test for a gnu.org address.
14786 Use overlays for emphasis, since font-lock defeats 'face property.
14787 Pretest bugs also end up at the newsgroup these days.
14788 Stop message-mode stripping text properties.
14789 Set and use the new buffer-local variables.
14790 (report-emacs-bug-hook): Add doc-string.
14791 Remove some unnecessary save-excursions and simplify.
14792 Use the appropriate hook and send-command.
14793
14794 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
14795 capitalization of some menu entries.
14796
14797 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14798
14799 * whitespace.el (whitespace-display-char-on):
14800 Ensure `buffer-display-table' is unique when two or more windows are
14801 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
14802 New version 12.1.
14803
14804 2009-12-10 Eli Zaretskii <eliz@gnu.org>
14805
14806 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
14807 characters in the Attribute field.
14808
14809 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
14810
14811 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
14812
14813 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
14814
14815 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
14816 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14817 Disregard autoload-excludes.
14818 (update-directory-autoloads): Obey autoload-excludes here instead.
14819 But don't store its contents in no-autoloads and remove entries that
14820 refer to excludes files.
14821
14822 2009-12-10 Glenn Morris <rgm@gnu.org>
14823
14824 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
14825 (expand-mail-aliases): Define for compiler.
14826
14827 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
14828 Define for compiler.
14829
14830 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
14831 appropriate for the mail-user-agent in use.
14832
14833 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
14834
14835 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
14836
14837 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
14838
14839 Fix short log parsing and fontification.
14840 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
14841 Fix fontification for the [merge] label.
14842
14843 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
14844
14845 Drop some properties to avoid surprises (bug#5002).
14846 * htmlfontify.el (hfy-ignored-properties): New defcustom.
14847 (hfy-fontify-buffer): Use it.
14848
14849 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
14850
14851 Minor cleanup.
14852 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
14853 Adjust all callers.
14854 (ffap-locate-file): Remove unused arg `dir-ok' and make other
14855 args compulsory. Adjust callers.
14856 (ffap-gopher-at-point): Remove unused var `name'.
14857
14858 Get rid of the ELCFILES abomination.
14859 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
14860 (compile-elcfiles): New phony target.
14861 (compile-main): Compute ELCFILES dynamically.
14862 (compile-clean): New target to remove left-over elc files.
14863 (compile, all): Use it.
14864
14865 2009-12-09 Kenichi Handa <handa@etlken>
14866
14867 * international/mule-diag.el: Require help-mode instead of help-fns.
14868
14869 2009-12-09 Kenichi Handa <handa@m17n.org>
14870
14871 * international/mule-cmds.el (ucs-names): Supply sufficiently
14872 fine ranges instead of pre-calculating accurate ranges.
14873 Iterate with bigger gc-cons-threshold.
14874
14875 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
14876
14877 Add support for stashing a snapshot of the current tree.
14878 * vc-git.el (vc-git-stash-snapshot): New function.
14879 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
14880
14881 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
14882
14883 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
14884 instead of `(beginning|end)-of-line'.
14885
14886 2009-12-08 Glenn Morris <rgm@gnu.org>
14887
14888 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
14889
14890 * Makefile.in (ELCFILES): Regenerate.
14891
14892 2009-12-07 Juri Linkov <juri@jurta.org>
14893
14894 Don't lazy-highlight the comint output in history Isearch mode.
14895
14896 * comint.el (comint-history-isearch-search): Instead of
14897 `comint-line-beginning-position', use `comint-after-pmark-p'
14898 to check if point if before the process mark, and go to
14899 `process-mark' in this case.
14900
14901 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14902
14903 * textmodes/tex-mode.el (latex-complete)
14904 (latex-indent-or-complete): Remove.
14905 (latex-mode): Set completion-at-point-functions instead.
14906
14907 Provide a standard completion command and hook it into TAB.
14908 * minibuffer.el (completion-at-point-functions): New var.
14909 (completion-at-point): New command.
14910 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
14911 * progmodes/python.el (python-mode-map): Use completion-at-point.
14912 (python-completion-at-point): Rename from python-partial-symbol and
14913 adjust for use in completion-at-point-functions.
14914 (python-mode): Setup completion-at-point for Python completion.
14915 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
14916 extracted from lisp-complete-symbol.
14917 (lisp-complete-symbol): Use it.
14918 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
14919 setup completion-at-point for Elisp completion.
14920 (emacs-lisp-mode-map, lisp-interaction-mode-map):
14921 Use completion-at-point.
14922 * ielm.el (ielm-map): Use completion-at-point.
14923 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
14924 * progmodes/sym-comp.el: Move to...
14925 * obsolete/sym-comp.el: Move from progmodes.
14926
14927 2009-12-07 Eli Zaretskii <eliz@gnu.org>
14928
14929 Prevent save-buffer in Rmail buffers from using the coding-system
14930 of the current message, and from clobbering the encoding mnemonics
14931 in the mode line (Bug#4623).
14932
14933 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
14934 flag, too.
14935 (rmail-message-encoding): New variable.
14936 (rmail-write-region-annotate): Record the encoding of the current
14937 message in rmail-message-encoding.
14938 (rmail-after-save-hook): New function, restores the encoding of
14939 the current message after the message collection is saved.
14940
14941 2009-12-07 Juri Linkov <juri@jurta.org>
14942
14943 * progmodes/grep.el (grep-read-files): Use `completing-read'
14944 instead of `read-string'. Set its `collection' arg to
14945 `read-file-name-internal'. (Bug#4301)
14946
14947 2009-12-07 Juri Linkov <juri@jurta.org>
14948
14949 Correctly restore original Isearch point. (Bug#4994)
14950
14951 * isearch.el (isearch-mode): Move `isearch-push-state' after
14952 `(run-hooks 'isearch-mode-hook)'.
14953 (isearch-cancel): When `isearch-push-state-function' is defined,
14954 let-bind `isearch-cmds' to the first state (the last element of
14955 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
14956 function and restores the original point). Otherwise, move point
14957 to `isearch-opoint'.
14958
14959 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14960
14961 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
14962 chars that don't have names, so the table can be built much faster at
14963 run-time.
14964
14965 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
14966
14967 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
14968 change. Suggested by David Kastrup.
14969
14970 * simple.el (compose-mail): Check for incompatibilities and warn.
14971 (compose-mail-user-agent-warnings): New option.
14972
14973 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14974
14975 Support showing a single log entry from vc-annotate.
14976 * vc.el (print-log): Add a new argument: START-REVISION.
14977 (vc-print-log-internal): Add a new optional argument and
14978 pass it to the backend.
14979 (vc-print-log, vc-print-root-log): Adjust callers.
14980 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
14981 buffer already displays the requested log entry, use it.
14982 Otherwise display only the log entry in question.
14983 * vc-svn.el (vc-svn-print-log):
14984 * vc-mtn.el (vc-mtn-print-log):
14985 * vc-hg.el (vc-hg-state):
14986 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
14987 (vc-git-show-log-entry): Return t on success.
14988 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
14989 (vc-bzr-show-log-entry): Return t on success.
14990 * vc-rcs.el (vc-rcs-print-log):
14991 * vc-sccs.el (vc-sccs-print-log):
14992 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
14993
14994 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14995
14996 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
14997 Add menus to the meta mode. (Bug#5043)
14998
14999 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
15000
15001 * ediff-init.el (ediff-event-key): Use event-to-character instead of
15002 event-key.
15003
15004 * ediff.el (ediff-buffers-internal): Add unwind-protect.
15005
15006 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
15007
15008 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
15009 Berbain <raphael.berbain@gmail.com>.
15010
15011 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
15012 characters.
15013 (tramp-initial-end-of-output): New defconst.
15014 (tramp-methods, tramp-find-shell)
15015 (tramp-open-connection-setup-interactive-shell)
15016 (tramp-maybe-open-connection): Use it.
15017 (tramp-shell-prompt-pattern, tramp-wait-for-output):
15018 Handle existence of `#' and `$'.
15019
15020 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
15021 Use `tramp-initial-end-of-output'.
15022
15023 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
15024
15025 Get the background mode from the terminal for xterm, and set
15026 faces accordingly.
15027 * term/xterm.el (xterm-set-background-mode): New function.
15028 (terminal-init-xterm): Use it in case xterm supports background
15029 color queries. Recompute faces after getting the background
15030 color.
15031
15032 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
15033
15034 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
15035 number comment back on its own line, for easier parsing.
15036
15037 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
15038
15039 Make it work for non-file buffers (bug#5102).
15040 * doc-view.el (doc-view-current-cache-dir):
15041 Use doc-view-buffer-file-name rather than buffer-file-name.
15042 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
15043
15044 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
15045
15046 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
15047 author field is too short.
15048
15049 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
15050
15051 * vc-git.el (vc-git-print-log): Handle a limit argument.
15052 Display the short log in graph form and with labels.
15053 (vc-git-log-view-mode): Handle labels.
15054
15055 Make vc-revert change VC state from 'added to 'unregistered.
15056 * vc-git.el (vc-git-revert): Call git reset first.
15057
15058 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
15059
15060 * net/newst-backend.el, net/newst-plainview.el:
15061 * net/newst-reader.el, net/newst-ticker.el:
15062 * net/newst-treeview.el, net/newsticker.el:
15063 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
15064
15065 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
15066
15067 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
15068
15069 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
15070 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
15071 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
15072 Update annotation regexp.
15073
15074 * simple.el (beginning-of-visual-line): Constrain to field
15075 boundaries (Bug#5106).
15076
15077 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
15078
15079 * xml.el (xml-substitute-numeric-entities):
15080 Move newsticker--decode-numeric-entities in newst-backend.el to
15081 xml-substitute-numeric-entities in xml.el. (Bug#5008)
15082 * net/newst-backend.el (newsticker--parse-generic-feed)
15083 (newsticker--parse-generic-items)
15084 (newsticker--decode-numeric-entities):
15085 Move newsticker--decode-numeric-entities in newst-backend.el to
15086 xml-substitute-numeric-entities in xml.el. (Bug#5008)
15087
15088 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
15089
15090 * progmodes/js.el (js--js-not): Add null to the list of values.
15091
15092 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
15093
15094 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
15095
15096 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
15097
15098 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
15099 delimiter if it is at the end of the current line.
15100 (bibtex-generate-url-list): Fix docstring.
15101
15102 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
15103
15104 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
15105 minibuffer's content with itself.
15106 Fold the confirm-after-completion case into the `confirm' case.
15107 (completion-pcm-word-delimiters): Add : and / to the delimiters.
15108
15109 2009-12-06 Kevin Ryde <user42@zip.com.au>
15110
15111 * ffap.el (ffap-rfc-path): Make this a defcustom since
15112 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
15113
15114 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
15115 manuals, similar to existing setup for help-mode. (Bug#3913.)
15116
15117 2009-12-05 Juri Linkov <juri@jurta.org>
15118
15119 Save and restore dired buffer's point positions too. (Bug#4880)
15120
15121 * dired.el (dired-save-positions): Return in the first element
15122 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
15123 Doc fix.
15124 (dired-restore-positions): First restore buffer's position.
15125 While restoring window's positions, check if window still displays
15126 the original buffer.
15127
15128 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
15129
15130 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
15131 if possible.
15132
15133 * shell.el (shell): Require ansi-color (Bug#5113).
15134
15135 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
15136
15137 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
15138
15139 2009-12-05 Alan Mackenzie <acm@muc.de>
15140
15141 * progmodes/cc-mode.el (c-before-hack-hook)
15142 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
15143 `c-file-style' to work again. This reversion restores the current
15144 software to its state in Emacs 23.1. (Bug#4146)
15145
15146 2009-12-05 Kevin Ryde <user42@zip.com.au>
15147
15148 * textmodes/sgml-mode.el (sgml-lexical-context):
15149 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
15150
15151 2009-12-05 Juri Linkov <juri@jurta.org>
15152
15153 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
15154 for virtual nodes. (Bug#4147)
15155 (Info-find-node-2): Set `Info-current-node-virtual' to nil
15156 when moving from a virtual node.
15157 (Info-mode-menu): Add `Info-virtual-index' to the menu.
15158 (Info-mode): Add `Info-virtual-index' to the docstring.
15159
15160 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
15161
15162 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
15163 track of the buffer position of the end of a BibTeX entry as this
15164 position may change during reformatting.
15165 (bibtex-format-entry): Remove whitespace before processing
15166 numerical fields so that we recognize the latter properly.
15167 (bibtex-reformat): Do not use push which changes the global value
15168 of bibtex-entry-format.
15169 (bibtex-field-braces-alist, bibtex-field-strings-alist)
15170 (bibtex-field-re-init): Replace only space characters by regexp
15171 for whitespace.
15172 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
15173 (bibtex-initialize): Also update bibtex-strings.
15174 (bibtex-kill-field): Preserve white space at end of entry.
15175 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
15176 Update bibtex-reference-keys.
15177
15178 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
15179
15180 * minibuffer.el (completion-pcm--merge-try): Also consider placing
15181 point after a star, if that's the only place where modifications can
15182 make progress.
15183
15184 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
15185
15186 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
15187 in docstrings.
15188
15189 2009-12-04 Juri Linkov <juri@jurta.org>
15190
15191 * proced.el (proced): Call `(proced-update t)' to update process
15192 information instead of only running proced-post-display-hook.
15193 (proced-send-signal): Add a leading space to the buffer name
15194 " *Marked Processes*" to make this buffer ephemeral.
15195
15196 2009-12-04 Juri Linkov <juri@jurta.org>
15197
15198 * dired.el (dired-auto-revert-buffer): New defcustom.
15199 (dired-internal-noselect): Use it.
15200
15201 2009-12-04 Juri Linkov <juri@jurta.org>
15202
15203 Change roles of modes and functions in image-mode.el (Bug#5062).
15204
15205 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
15206 in `auto-mode-alist'.
15207 (image-mode-previous-major-mode): New variable.
15208 (image-minor-mode-map): Rename from `image-mode-text-map'.
15209 (image-mode): Move graceful error-handling code from
15210 `image-minor-mode' to here. On errors call `image-mode-as-text'.
15211 (image-minor-mode): Remove all image-handling code.
15212 Replace `image-mode-text-map' with `image-minor-mode-map'.
15213 Check for `image-type' in mode-line format string.
15214 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
15215 (image-mode-as-text): New function with most code from
15216 `image-mode-maybe'.
15217 (image-toggle-display-text): Move code that removes image
15218 properties from `image-toggle-display' to here.
15219 (image-toggle-display-image): New function with code that adds
15220 image properties copied from `image-toggle-display'.
15221 (image-toggle-display): Remove most code with leaving only code
15222 that toggles between `image-mode-as-text' and `image-mode'.
15223
15224 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
15225
15226 * net/newst-treeview.el
15227 (newsticker--treeview-list-highlight-start): Restored call to
15228 save-excursion: Selected item was stuck.
15229 (newsticker--treeview-list-select): New.
15230 (newsticker--treeview-item-show-text)
15231 (newsticker--treeview-item-show)
15232 (newsticker--treeview-item-update): Use new
15233 newsticker-treeview-item-mode.
15234 (newsticker-treeview-update): Keep current item.
15235 (newsticker-treeview-next-new-or-immortal-item): Doc change.
15236 (newsticker--treeview-first-feed): Doc change.
15237 (newsticker-treeview-list-menu)
15238 (newsticker-treeview-item-menu): Add menu entries.
15239 (newsticker-treeview-item-mode): New.
15240
15241 * net/newst-backend.el (newsticker-customize): Delete other
15242 windows.
15243
15244 2009-12-04 Sam Steingold <sds@gnu.org>
15245
15246 * log-view.el (log-view-mode-map): "q" calls quit-window,
15247 like in all the other non-self-insert buffers.
15248
15249 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
15250
15251 Minor cleanup.
15252 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
15253 key decoding rather than do it manually via last-input-event +
15254 ascii-character.
15255 (term-exec): Use delete-and-extract-region.
15256 (term-handle-ansi-terminal-messages): Remove unused var `end'.
15257 (term-process-pager): Remove unused var `i'.
15258 (term-dynamic-simple-complete): Make obsolete.
15259 (serial-update-config-menu): Remove unused vars `y' and `str'.
15260 (term-update-mode-line): Remove unused var `temp'.
15261
15262 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
15263
15264 Limit the number of log entries displayed by default.
15265 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
15266 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
15267 using a prefix argument.
15268
15269 2009-12-03 Glenn Morris <rgm@gnu.org>
15270
15271 * progmodes/idlwave.el (class): Restore still useful declaration.
15272
15273 2009-12-03 Alan Mackenzie <acm@muc.de>
15274
15275 Enhance `c-parse-state' to run efficiently in "brace deserts".
15276
15277 * progmodes/cc-mode.el (c-basic-common-init):
15278 Call c-state-cache-init.
15279 (c-neutralize-syntax-in-and-mark-CPP): Rename from
15280 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
15281 placing `category' properties value 'c-cpp-delimiter at its boundaries.
15282
15283 * progmodes/cc-langs.el (c-before-font-lock-function):
15284 c-extend-and-neutralize-syntax-in-CPP has been renamed
15285 c-neutralize-syntax-in-and-mark-CPP.
15286
15287 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
15288 with `category' properties now, not `syntax-table' ones.
15289
15290 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
15291 enhanced (but slower) version of c-end-of-macro that won't land
15292 inside a literal or on another awkward character.
15293 (c-state-cache-too-far, c-state-cache-start)
15294 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
15295 (c-state-nonlit-pos-cache-limit, c-state-point-min)
15296 (c-state-point-min-lit-type, c-state-point-min-lit-start)
15297 (c-state-min-scan-pos, c-state-brace-pair-desert)
15298 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
15299 buffer local variables.
15300 (c-state-literal-at, c-state-lit-beg)
15301 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
15302 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
15303 (c-state-cache-top-paren, c-state-cache-after-top-paren)
15304 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
15305 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
15306 (c-renarrow-state-cache)
15307 (c-append-lower-brace-pair-to-state-cache)
15308 (c-state-push-any-brace-pair, c-append-to-state-cache)
15309 (c-remove-stale-state-cache)
15310 (c-remove-stale-state-cache-backwards, c-state-cache-init)
15311 (c-invalidate-state-cache-1, c-parse-state-1)
15312 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
15313 (c-parse-state): Enhance and refactor.
15314 (c-debug-parse-state): Amend to deal with all the new variables.
15315
15316 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
15317 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
15318 modify to use category text properties rather than syntax-table ones.
15319 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
15320 to switch off/on the syntactic paren property of C++ template
15321 delimiters using the category property.
15322 (c-with-<->-as-parens-suppressed): Macro to invoke code with
15323 template delims suppressed.
15324 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
15325 New constant/macros which apply category properties to the start
15326 and end of preprocessor constructs.
15327 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
15328 "comment out" the syntactic value of characters in preprocessor
15329 constructs.
15330 (c-with-cpps-commented-out)
15331 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
15332 with characters in all or all but one preprocessor constructs
15333 "commented out".
15334
15335 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
15336
15337 * proced.el (proced-filter-alist): Use regexp-quote.
15338
15339 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
15340
15341 Cleanup.
15342 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
15343 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
15344 arguments. Expand `default-directory'.
15345
15346 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
15347 the benefit of returning an expanded localname.
15348 (tramp-tramp-file-p): Handle the case NAME is not a string.
15349
15350 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
15351
15352 Add support for bzr shelve/unshelve.
15353 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
15354 (vc-bzr-extra-menu-map): New variables.
15355 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
15356 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
15357 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
15358 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
15359 (vc-bzr-dir-extra-headers): Display shelves.
15360
15361 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
15362
15363 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15364
15365 * textmodes/bibtex.el (bibtex-complete-internal):
15366 Use completion-in-region.
15367 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
15368
15369 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
15370
15371 Support applying stashes. Improve UI.
15372 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
15373 (vc-git-stash-apply, vc-git-stash-pop)
15374 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
15375 (vc-git-stash-menu): New functions.
15376 (vc-git-stash-menu-map): New variable.
15377 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
15378
15379 2009-12-03 Glenn Morris <rgm@gnu.org>
15380
15381 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
15382 (vc-print-log-internal): Fix previous change.
15383 (vc-revert): Correct pluralization.
15384
15385 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15386
15387 * progmodes/make-mode.el (makefile-special-targets-list): No need for
15388 it to be an alist any more.
15389 (makefile-complete): Use completion-in-region.
15390
15391 * progmodes/octave-mod.el (octave-complete-symbol):
15392 Use completion-in-region.
15393
15394 Misc cleanup.
15395 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
15396 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
15397 (idlwave-complete-class): Don't quote lambda.
15398 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
15399 (idlwave-mode-map): Move initialization into declaration.
15400 (idlwave-action-and-binding): Use backquotes.
15401 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
15402 Simplify.
15403 (idlwave-is-pointer-dereference): Remove unused var `pos'.
15404 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
15405 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
15406 `parts', and `all-parts'.
15407 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
15408 (idlwave-convert-xml-system-routine-info): Remove unused string
15409 `version-string'.
15410 (idlwave-display-user-catalog-widget): Use dolist.
15411 (idlwave-scanning-lib): Declare dynamically-scoped var.
15412 (idlwave-scan-library-catalogs): Remove unused var `flags'.
15413 (completion-highlight-first-word-only): Declare to silence bytecomp.
15414 (idlwave-popup-select): Tighten scope of `resp'.
15415 (idlwave-find-struct-tag): Remove unused var `beg'.
15416 (idlwave-after-load-rinfo-hook): Declare.
15417 (idlwave-sintern-class-info): Remove unused var `taglist'.
15418 (idlwave-find-class-definition): Remove unused var `list'.
15419 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
15420 (idlwave-what-module-find-class): Remove unused var `classes'.
15421
15422 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
15423
15424 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
15425
15426 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15427
15428 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
15429 buffers visited. Remove redundant current-buffer-saving.
15430
15431 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15432
15433 Use completion-in-buffer and remove uses of dynamic scoping.
15434 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
15435 (pascal-buffer-to-use, pascal-flag): Don't declare.
15436 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
15437 (pascal-get-completion-decl, pascal-keyword-completion):
15438 Add `pascal-str' argument, save-excursion,
15439 return the found completions, and don't filter with pascal-pred.
15440 (pascal-completion-cache): New var.
15441 (pascal-completion): Don't switch buffer any more (it was never
15442 necessary). Don't save-excursion any more (it's done by the called
15443 subroutines). Use a cache to avoid redundant computations.
15444 Use complete-with-action rather than pascal-completion-response and
15445 let it apply the predicate as well.
15446 (pascal-complete-word): Use completion-in-buffer when
15447 pascal-toggle-completions is nil.
15448 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
15449 not used any more.
15450 (pascal-comp-defun): Don't change buffer any more.
15451 Use complete-with-action rather than pascal-completion-response and
15452 let it apply the predicate as well.
15453 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
15454 when neded.
15455
15456 2009-12-02 Kenichi Handa <handa@m17n.org>
15457
15458 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
15459 shape for all Indic scripts.
15460
15461 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15462
15463 Use completion-in-buffer.
15464 * wid-edit.el (widget-field-text-end): New function.
15465 (widget-field-value-get): Use it.
15466 (widget-string-complete, widget-file-complete)
15467 (widget-color-complete): Use it and completion-in-region.
15468 (widget-complete): Don't narrow the buffer.
15469
15470 2009-12-02 Glenn Morris <rgm@gnu.org>
15471
15472 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
15473 (rmail-select-summary): Use rmail-pop-to-buffer.
15474 * mail/rmailsum.el: Replace all pop-to-buffer calls with
15475 rmail-pop-to-buffer, to prevent horizontal splits.
15476
15477 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
15478 save-excursion with save-current-buffer.
15479 Widen before searching. (Bug#5093)
15480 (diary-list-sexp-entries): Remove superfluous save-excursion.
15481
15482 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
15483
15484 * woman.el (woman-make-bufname): Handle man-pages with "." in the
15485 name. (Bug#5038)
15486
15487 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
15488
15489 * ido.el (ido-file-internal): Handle filenames at point that do
15490 not have a directory part. (Bug#5049)
15491
15492 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
15493
15494 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
15495 (mpc-songs-jump-to, mpc-resume): Doc fixes.
15496
15497 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
15498
15499 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
15500 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
15501 any more.
15502
15503 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15504
15505 * comint.el (comint-insert-input): Ignore clicks to the right of
15506 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
15507
15508 * vc.el (vc-print-log-internal): Don't wait for the process to
15509 terminate before setting up the major mode.
15510
15511 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
15512 in case.
15513
15514 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
15515 the last element.
15516
15517 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
15518
15519 2009-12-01 Glenn Morris <rgm@gnu.org>
15520
15521 * window.el (window--display-buffer-2): Fix previous changes.
15522
15523 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
15524
15525 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
15526
15527 2009-12-01 Glenn Morris <rgm@gnu.org>
15528
15529 * Makefile.in (ELCFILES): Add mpc.elc.
15530
15531 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15532
15533 * mpc.el: New file.
15534
15535 2009-12-01 Glenn Morris <rgm@gnu.org>
15536
15537 * window.el (window-to-use): Define for compiler.
15538
15539 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
15540 consistent with others (no final period).
15541
15542 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
15543 (rmail-mime-show): Downcase the encoding. (Bug#5070)
15544
15545 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
15546
15547 Make vc-print-log buttons work.
15548 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
15549
15550 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
15551
15552 * savehist.el (savehist-autosave-interval): Allow setting to nil
15553 through customize. (Bug#5056)
15554
15555 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
15556
15557 Fix references to jit-lock properties.
15558 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
15559 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
15560 (perl-font-lock-special-syntactic-constructs):
15561 Quote jit-lock-defer-multiline property.
15562
15563 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
15564
15565 * vc-git.el (vc-git-registered): Call vc-git-root only once.
15566
15567 2009-11-30 Juri Linkov <juri@jurta.org>
15568
15569 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
15570 value `buffer' of `multi-isearch-next-buffer-current-function'.
15571 Use `(current-buffer)' when `buffer' is nil.
15572 (multi-isearch-next-buffer-from-list): Don't fallback to
15573 `(current-buffer)' when `buffer' is nil. (Bug#4947)
15574
15575 2009-11-30 Juri Linkov <juri@jurta.org>
15576
15577 * misearch.el (multi-isearch-read-buffers): Move canonicalization
15578 of buffers with `get-buffer' to `multi-isearch-buffers'.
15579 (multi-isearch-buffers, multi-isearch-buffers-regexp):
15580 Canonicalize BUFFERS with `get-buffer'. Doc fix.
15581 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
15582 FILES with `expand-file-name' converting relative file names
15583 to absolute. Doc fix. (Bug#4727)
15584
15585 2009-11-30 Juri Linkov <juri@jurta.org>
15586
15587 * misearch.el (multi-isearch-read-buffers)
15588 (multi-isearch-read-matching-buffers): New functions.
15589 (multi-isearch-buffers, multi-isearch-buffers-regexp):
15590 Use them in the `interactive' spec. Doc fix.
15591 (multi-isearch-read-files, multi-isearch-read-matching-files):
15592 New functions.
15593 (multi-isearch-files, multi-isearch-files-regexp):
15594 Use them in the `interactive' spec. Doc fix. (Bug#4725)
15595
15596 2009-11-30 Juri Linkov <juri@jurta.org>
15597
15598 * doc-view.el (doc-view-continuous):
15599 Rename from `doc-view-continuous-mode'.
15600 (doc-view-menu): Move "Toggle display" to the top.
15601 Add submenu "Continuous" with radio buttons "Off"/"On"
15602 and "Save as Default".
15603 (doc-view-scroll-up-or-next-page)
15604 (doc-view-scroll-down-or-previous-page)
15605 (doc-view-next-line-or-next-page)
15606 (doc-view-previous-line-or-previous-page):
15607 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
15608
15609 2009-11-30 Juri Linkov <juri@jurta.org>
15610
15611 * comint.el (comint-mode-map): Rebind `M-r' from
15612 `comint-previous-matching-input' to
15613 `comint-history-isearch-backward-regexp'.
15614 Unbind `M-s' to allow global key binding `M-s'.
15615 Add menu items for `comint-history-isearch-backward' and
15616 `comint-history-isearch-backward-regexp'. (Bug#3746)
15617
15618 2009-11-30 Juri Linkov <juri@jurta.org>
15619
15620 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
15621 For def=recenter, replace `recenter' with `recenter-top-bottom'
15622 that is called with `this-command' and `last-command' let-bound
15623 to `recenter-top-bottom'. When the last `def' was not `recenter',
15624 set `recenter-last-op' to nil. (Bug#4981)
15625
15626 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
15627
15628 Minor cleanup and simplification.
15629 * filecache.el (file-cache-add-directory)
15630 (file-cache-add-directory-recursively)
15631 (file-cache-add-from-file-cache-buffer)
15632 (file-cache-delete-file-regexp, file-cache-delete-directory)
15633 (file-cache-files-matching-internal, file-cache-display): Use dolist.
15634 (file-cache-temp-minibuffer-message): Delete function.
15635 (file-cache-minibuffer-complete): Use minibuffer-message instead.
15636
15637 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
15638 Don't signal an error when bumping into EOB in tr, s, or y.
15639
15640 2009-11-29 Juri Linkov <juri@jurta.org>
15641
15642 * startup.el (fancy-about-text): Fix wording of Guided Tour.
15643 (Bug#4960)
15644
15645 * descr-text.el (describe-char-unidata-list): Use lowercase name
15646 for "Unicode name" like in other tags.
15647
15648 2009-11-29 Juri Linkov <juri@jurta.org>
15649
15650 * ediff-util.el (ediff-minibuffer-with-setup-hook):
15651 New compatibility macro.
15652 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
15653
15654 2009-11-29 Juri Linkov <juri@jurta.org>
15655
15656 Add defcustom to define the cycling order of `recenter-top-bottom'.
15657 (Bug#4981)
15658
15659 * window.el (recenter-last-op): Doc fix.
15660 (recenter-positions): New defcustom.
15661 (recenter-top-bottom): Rewrite to use `recenter-positions'.
15662 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
15663
15664 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
15665
15666 Improve integration of Tramp and ange-ftp in eshell.
15667
15668 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
15669 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
15670 (eshell/sudo): Flatten args. Let-bind `default-directory'.
15671
15672 * eshell/esh-util.el (top): Require also Tramp when compiling.
15673 (eshell-directory-files-and-attributes): Check for FTP remote
15674 connection.
15675 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
15676 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
15677 (eshell-file-attributes): Handle ".". Return `entry'.
15678
15679 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
15680 (ange-ftp-directory-files-and-attributes)
15681 (ange-ftp-real-directory-files-and-attributes): New defuns.
15682
15683 * net/tramp.el (tramp-maybe-open-connection): Open the remote
15684 shell with "exec" when possible. This prevents trailing prompts
15685 in `start-file-process'.
15686
15687 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
15688
15689 Try and remove assumptions about point-min==1.
15690 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
15691 (rng-compute-mode-line-string): Show the validation percentage in
15692 terms of the narrowed text, not the widened text.
15693 (rng-do-some-validation): Don't catch internal errors when debugging.
15694 (rng-first-error): Simplify.
15695 (rng-after-change-function): Remove work around. AFAIK the bug has
15696 been fixed a while ago.
15697
15698 * image-mode.el (image-minor-mode): Exit more gracefully when the image
15699 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
15700
15701 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
15702
15703 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
15704 `cd' doesn't always do it for us (bug#5067).
15705
15706 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
15707 on 2009-10-25 as part of some other change (bug#5067).
15708
15709 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
15710
15711 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
15712 `suspicious'.
15713 (byte-compile-warnings): Use byte-compile-warning-types.
15714 (byte-compile-save-excursion): Warn about use of set-buffer right
15715 after save-excursion.
15716
15717 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
15718 the excursion as well.
15719
15720 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
15721
15722 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
15723 providing a Tramp related implementation of "su" and "sudo".
15724 (eshell-unix-initialize): Add "su" and "sudo".
15725
15726 2009-11-27 Daiki Ueno <ueno@unixuser.org>
15727
15728 * net/socks.el (socks-send-command): Convert binary request to
15729 unibyte before sending. This fixes mishandling of some port
15730 numbers such as 129.
15731
15732 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
15733
15734 * help.el (describe-bindings-internal): Remove `interactive'.
15735
15736 * man.el (Man-completion-table): Trim a terminating "(".
15737 Remove the space between name page a section.
15738 Add the command's description on the `help-echo' property.
15739 Remove `process-connection-type' binding since it's unused by
15740 call-process.
15741 Provide completion for the "<section> <name>" format as well.
15742 (Man-default-man-entry): Remove spurious var shadowing the argument.
15743
15744 2009-11-26 Kevin Ryde <user42@zip.com.au>
15745
15746 * log-view.el: Add "Keywords: tools", since its other keywords
15747 aren't in finder-known-keywords, and following vc.el.
15748
15749 * sha1.el (sha1-string-external): default-directory "/" in case
15750 otherwise non-existent. process-connection-type pipe for touch of
15751 efficiency recommended by elisp manual. (An aside in Bug#3911.)
15752
15753 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
15754
15755 Misc coding convention cleanups.
15756 * htmlfontify.el (hfy-init-kludge-hook): Rename from
15757 hfy-init-kludge-hooks.
15758 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
15759 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
15760 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
15761 and push.
15762 (hfy-slant, hfy-weight): Use tables rather than code.
15763 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
15764 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
15765 (hfy-face-attr-for-class): Initialize `face-spec' directly.
15766 (hfy-face-to-css): Remove `nconc' with single arg.
15767 (hfy-p-to-face-lennart): Use `or'.
15768 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
15769 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
15770 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
15771 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
15772 (hfy-force-fontification): Use run-hooks.
15773
15774 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
15775
15776 Various minor fixes.
15777 * htmlfontify.el (hfy-default-header): Add toggle_invis since
15778 Javascript belongs in the header, not the body.
15779 (hfy-javascript): Remove.
15780 (hfy-fontify-buffer): Don't insert it any more.
15781 (hfy-face-at): Handle (face0 face1 face2) style face properties.
15782 Fix bug in invis handling when there were no invis props in a chunk.
15783
15784 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
15785
15786 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
15787
15788 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
15789
15790 * finder.el (finder-mode-map): Add a menu.
15791
15792 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
15793
15794 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
15795 "unsigned" structs.
15796
15797 (verilog-leap-to-head, verilog-backward-token): Handle "disable
15798 fork" statement better.
15799
15800 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
15801
15802 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
15803 (verilog-delete-auto, verilog-delete-empty-auto-pair)
15804 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
15805 Reported by Clay Douglass.
15806
15807 (verilog-auto-inst, verilog-auto-star-safe)
15808 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
15809 Fix removing "// Interfaces" when saving .* expansions.
15810 Reported by Pierre-David Pfister.
15811
15812 2009-11-26 Glenn Morris <rgm@gnu.org>
15813
15814 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
15815 the scope.
15816
15817 2009-11-25 Johan Bockgård <bojohan@gnu.org>
15818
15819 * vc-annotate.el (vc-annotate-revision-previous-to-line):
15820 Really use previous revision.
15821
15822 2009-11-25 Kevin Ryde <user42@zip.com.au>
15823
15824 * man.el (Man-completion-table): default-directory "/" in case
15825 doesn't otherwise exist. process-environment COLUMNS=999 so as
15826 not to truncate long names. process-connection-type pipe to avoid
15827 any chance of hitting the pseudo-tty TIOCGWINSZ.
15828 (man): completion-ignore-case t for friendliness and since man
15829 itself is case-insensitive on the command line.
15830 Further to Bug#3717.
15831
15832 * arc-mode.el: Add "Keywords: files", so the details in its
15833 commentary can be reached from finder-by-keyword.
15834 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
15835 editing mode, but it's comms related and sgml-mode.el has "comm"
15836 on that basis too.
15837 * textmodes/bibtex-style.el: Add "Keywords: tex".
15838 * international/isearch-x.el, international/ja-dic-cnv.el:
15839 * international/ja-dic-utl.el, international/kkc.el:
15840 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
15841
15842 2009-11-25 Juri Linkov <juri@jurta.org>
15843
15844 * man.el (Man-completion-table): Modify regexp to include
15845 section names to completion strings. (Bug#3717)
15846
15847 2009-11-25 Juri Linkov <juri@jurta.org>
15848
15849 Search recursively in gzipped files. (Bug#4982)
15850
15851 * progmodes/grep.el (grep-highlight-matches): Add new options
15852 `always' and `auto'. Doc fix.
15853 (grep-process-setup): Check `grep-highlight-matches' for
15854 `auto-detect' to determine the need to compute grep defaults.
15855 Move Windows/DOS specific --colors settings handling
15856 to `grep-compute-defaults'. Check `grep-highlight-matches'
15857 to get the value of "--color=".
15858 (grep-compute-defaults): Compute `grep-highlight-matches' when it
15859 has the value `auto-detect'. Move Windows/DOS specific settings
15860 from `grep-process-setup'.
15861 (zrgrep): New command with alias `rzgrep'.
15862
15863 2009-11-25 Juri Linkov <juri@jurta.org>
15864
15865 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
15866 to nil instead of switching off view-mode. (Bug#4896)
15867
15868 2009-11-25 Juri Linkov <juri@jurta.org>
15869
15870 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
15871
15872 * mwheel.el (mwheel-scroll-up-function)
15873 (mwheel-scroll-down-function): New defvars.
15874 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
15875 `scroll-up', and `mwheel-scroll-down-function' instead of
15876 `scroll-down'.
15877
15878 * doc-view.el (doc-view-scroll-up-or-next-page)
15879 (doc-view-scroll-down-or-previous-page): Add optional ARG.
15880 Use this ARG in the call to image-scroll-up/image-scroll-down.
15881 Change `interactive' spec to "P". Goto next/previous page only
15882 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
15883 SPC/DEL case). Doc fix.
15884 (doc-view-next-line-or-next-page)
15885 (doc-view-previous-line-or-previous-page): Rename arg to ARG
15886 for consistency.
15887 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
15888 `doc-view-scroll-up-or-next-page', and buffer-local
15889 `mwheel-scroll-down-function' to
15890 `doc-view-scroll-down-or-previous-page'.
15891
15892 2009-11-25 Juri Linkov <juri@jurta.org>
15893
15894 Provide additional default values (directories at other Dired
15895 windows) via M-n in the minibuffer of some Dired commands.
15896
15897 * dired-aux.el (dired-diff, dired-compare-directories)
15898 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
15899 `minibuffer-default' in `minibuffer-with-setup-hook'.
15900 (dired-dwim-target-directory): Find a window that displays Dired
15901 buffer instead of failing when the next window is not Dired.
15902 Use `get-window-with-predicate' to find for the next Dired window.
15903 (dired-dwim-target-defaults): New function.
15904
15905 * ediff-util.el (ediff-read-file-name):
15906 Use `dired-dwim-target-defaults' to set `minibuffer-default'
15907 in `minibuffer-with-setup-hook'.
15908
15909 2009-11-25 Juri Linkov <juri@jurta.org>
15910
15911 Provide additional default values (file name at point or at the
15912 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
15913
15914 * minibuffer.el (read-file-name-defaults): New function.
15915 (read-file-name): Reset `minibuffer-default' to nil when
15916 it duplicates initial input `insdef'.
15917 Bind `minibuffer-default-add-function' to lambda that
15918 calls `read-file-name-defaults' in `minibuffer-selected-window'.
15919 (minibuffer-insert-file-name-at-point): New command.
15920
15921 * files.el (file-name-at-point-functions): New defcustom.
15922 (find-file-default): Remove defvar.
15923 (find-file-read-args): Don't use `find-file-default'.
15924 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15925 to `read-file-name'.
15926 (find-file-literally): Use `read-file-name' with
15927 `confirm-nonexistent-file-or-buffer'.
15928
15929 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
15930
15931 * dired.el (dired-read-dir-and-switches):
15932 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15933 to `read-file-name'.
15934 (dired-file-name-at-point): New function.
15935 (dired-mode): Add hook `dired-file-name-at-point' to
15936 `file-name-at-point-functions'.
15937
15938 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15939
15940 Really make the *Completions* window soft-dedicated (bug#5030).
15941 * window.el (window--display-buffer-2): Add `dedicated' argument.
15942 (display-buffer): Pass it when needed so the dedicated flag is set
15943 after calling set-window-buffer, which would otherwise reset it.
15944
15945 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15946
15947 * progmodes/meta-mode.el (meta-complete-symbol):
15948 * progmodes/etags.el (complete-tag):
15949 * mail/mailabbrev.el (mail-abbrev-complete-alias):
15950 Use completion-in-region.
15951
15952 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
15953 (dabbrev-completion): Use completion-in-region.
15954 (dabbrev--abbrev-at-point): Simplify regexp.
15955
15956 * abbrev.el (abbrev--before-point): Use word-motion functions
15957 if :regexp is not specified (bug#5031).
15958
15959 * subr.el (string-prefix-p): New function.
15960
15961 * man.el (Man-completion-cache): New var.
15962 (Man-completion-table): Use it.
15963
15964 * vc.el (vc-print-log-internal): Make `limit' optional for better
15965 compatibility (e.g. with vc-annotate.el).
15966
15967 2009-11-24 Kevin Ryde <user42@zip.com.au>
15968
15969 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
15970 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
15971
15972 * emacs-lisp/elint.el (elint-add-required-env): Better error message
15973 when .el source file not found or other error.
15974
15975 2009-11-24 Markus Triska <markus.triska@gmx.at>
15976
15977 * linum.el (linum-update-window): Ignore intangible (bug#4996).
15978
15979 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
15980
15981 Handle the [back] button properly (bug#4979).
15982 * descr-text.el (describe-text-properties): Add a `buffer' argument.
15983 Use help-setup-xref, help-buffer, and with-help-window.
15984 (describe-char): Add `buffer' argument.
15985 Pass proper command to help-setup-xref. Don't meddle with
15986 help-xref-stack-item directly.
15987 (describe-text-category): Use with-help-window and help-buffer.
15988
15989 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
15990 for the displayed buffer (bug#4887).
15991
15992 * man.el (Man-completion-table): New function.
15993 (man): Use it.
15994
15995 2009-11-24 David Reitter <david.reitter@gmail.com>
15996
15997 * vc-git.el (vc-git-registered): Use checkout directory (where
15998 .git is) rather than the file's directory and a relative path spec
15999 to work around a bug in git.
16000
16001 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
16002
16003 Improve handling of processes on remote hosts.
16004
16005 * eshell/esh-util.el (eshell-path-env): New defvar.
16006 (eshell-parse-colon-path): New defun.
16007 (eshell-file-attributes): Use `eshell-parse-colon-path'.
16008
16009 * eshell/esh-ext.el (eshell-search-path):
16010 Use `eshell-parse-colon-path'.
16011 (eshell-remote-command): Remove argument HANDLER.
16012 (eshell-external-command): Check for FTP remote connection.
16013
16014 * eshell/esh-proc.el (eshell-gather-process-output):
16015 Use `file-truename', in order to start also symlinked files.
16016 Apply `start-file-process' instead of `start-process'.
16017 Shorten `command' to the local file name part.
16018
16019 * eshell/em-cmpl.el (eshell-complete-commands-list):
16020 Use `eshell-parse-colon-path'.
16021
16022 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
16023
16024 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
16025 to `eshell-directory-change-hook'.
16026
16027 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
16028
16029 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
16030 because it could be enabled automatically if view-read-only is non-nil.
16031
16032 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
16033
16034 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
16035 made on 2009-11-22.
16036
16037 2009-11-24 Glenn Morris <rgm@gnu.org>
16038
16039 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
16040 deleted variable bookmark-bmenu-bookmark-column.
16041
16042 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
16043
16044 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
16045
16046 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
16047
16048 * net/browse-url.el (browse-url-filename-alist): On Windows, add
16049 two slashes to the "file:" prefix.
16050 (browse-url-file-url): De-munge Cygwin filenames before passing
16051 them to Windows browser.
16052 (browse-url-default-windows-browser): Use call-process.
16053
16054 2009-11-23 Juri Linkov <juri@jurta.org>
16055
16056 Implement DocView Continuous mode. (Bug#4896)
16057 * doc-view.el (doc-view-continuous-mode): New defcustom.
16058 (doc-view-mode-map): Bind C-n/<down> to
16059 `doc-view-next-line-or-next-page', C-p/<up> to
16060 `doc-view-previous-line-or-previous-page'.
16061 (doc-view-next-line-or-next-page)
16062 (doc-view-previous-line-or-previous-page): New commands.
16063
16064 2009-11-23 Juri Linkov <juri@jurta.org>
16065
16066 Implement Isearch in comint input history. (Bug#3746)
16067 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
16068 `isearch-mode-hook'.
16069 (comint-history-isearch): New defcustom.
16070 (comint-history-isearch-backward)
16071 (comint-history-isearch-backward-regexp): New commands.
16072 (comint-history-isearch-message-overlay): New buffer-local variable.
16073 (comint-history-isearch-setup, comint-history-isearch-end)
16074 (comint-goto-input, comint-history-isearch-search)
16075 (comint-history-isearch-message, comint-history-isearch-wrap)
16076 (comint-history-isearch-push-state)
16077 (comint-history-isearch-pop-state): New functions.
16078
16079 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
16080
16081 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
16082 return.
16083 (tramp-handle-make-symbolic-link)
16084 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
16085 Quote file names.
16086 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
16087 (tramp-handle-process-file): Use it.
16088
16089 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
16090
16091 * window.el (move-to-window-line-last-op): Remove.
16092 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
16093
16094 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
16095
16096 Make M-r mirror the new cycling behavior of C-l.
16097 * window.el (move-to-window-line-last-op): New var.
16098 (move-to-window-line-top-bottom): New command.
16099 (global-map): Bind M-r move-to-window-line-top-bottom.
16100
16101 2009-11-23 Sven Joachim <svenjoac@gmx.de>
16102
16103 * dired-x.el (dired-guess-shell-alist-default):
16104 Support xz format. (Bug#4953)
16105
16106 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
16107
16108 * emulation/viper-cmd.el: Use viper-last-command-char instead of
16109 last-command-char/last-command-event.
16110 (viper-prefix-arg-value): Do correct conversion of event-char for
16111 XEmacs.
16112
16113 * emulation/viper-util.el, emulation/viper.el:
16114 Use viper-last-command-char instead of
16115 last-command-char/last-command-event.
16116
16117 * ediff-init.el, ediff-mult.el, ediff-util.el:
16118 Replace last-command-char and last-command-event
16119 with (ediff-last-command-char) everywhere.
16120
16121 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
16122 created in fundamental mode.
16123
16124 * ediff.el (ediff-version): Revert the change of interactive-p to
16125 called-interactively-p.
16126
16127 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
16128
16129 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
16130 generation from word-movement command names.
16131
16132 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
16133
16134 * cus-start.el (all): Add native condition for font-use-system-font.
16135
16136 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
16137
16138 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
16139 Correct the patch from 2009-11-18. (Bug#3910)
16140
16141 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
16142
16143 * progmodes/subword.el: Rename from lisp/subword.el.
16144
16145 * subword.el: Rename to progmodes/subword.el.
16146
16147 * Makefile.in (ELCFILES): Adapt to subword.el move.
16148
16149 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16150 Stefan Monnier <monnier@iro.umontreal.ca>
16151
16152 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
16153 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
16154 (bookmark-bmenu-show-filenames): Use push.
16155 (bookmark-bmenu-hide-filenames): Use local var instead of
16156 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
16157 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
16158 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
16159 filenames now that the bookmark names are always available.
16160
16161 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
16162
16163 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
16164 (bookmark-search-pattern): Move and leave unbound.
16165 (bookmark-bmenu-mode-map): Change binding.
16166 (bookmark-read-search-input): Simplify.
16167 Don't use text-char-description. Don't error on non-char events.
16168 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
16169 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
16170 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
16171 Use a local var for the timer.
16172 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
16173 (i.e. bookmark-bmenu-search).
16174
16175 2009-11-21 Glenn Morris <rgm@gnu.org>
16176
16177 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
16178
16179 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
16180
16181 * net/browse-url.el (browse-url-default-windows-browser):
16182 Use cygstart for cygwin.
16183
16184 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
16185
16186 * bookmark.el: Formatting and doc fixes only:
16187 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
16188 (bookmark-bmenu-search): Wrap to fit within 80 columns.
16189 Minor grammar and punctuation fixes in doc string.
16190 (bookmark-read-search-input): Adjust to fit within 80 columns.
16191
16192 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
16193
16194 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
16195 (c-backward-into-nomenclature): Adapt to subword renaming.
16196
16197 * subword.el (subword-forward, subword-backward, subword-mark)
16198 (subword-kill, subword-backward-kill, subword-transpose)
16199 (subword-downcase, subword-upcase, subword-capitalize)
16200 (subword-forward-internal, subword-backward-internal):
16201 Rename from forward-subword, backward-subword, mark-subword,
16202 kill-subword, backward-kill-subword, transpose-subwords,
16203 downcase-subword, upcase-subword, capitalize-subword,
16204 forward-subword-internal, backward-subword-internal.
16205
16206 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16207
16208 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
16209 New options.
16210 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
16211 New vars.
16212 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
16213 (bookmark-bmenu-filter-alist-by-regexp)
16214 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
16215 (bookmark-bmenu-search): New command.
16216 (bookmark-bmenu-mode-map): Bind it.
16217
16218 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
16219
16220 * progmodes/cc-cmds.el: declare-functioned forward-subword and
16221 backward-subword to quit the byte-compiler.
16222
16223 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
16224
16225 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
16226
16227 * progmodes/cc-cmds.el (c-update-modeline)
16228 (c-forward-into-nomenclature, c-backward-into-nomenclature):
16229 Refer to subword.el functions instead of cc-subword.el.
16230
16231 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
16232 subword.el functions instead of cc-subword.el.
16233
16234 * progmodes/cc-subword.el: Rename to subword.el.
16235 * subword.el: Rename from progmodes/cc-subword.el.
16236 (subword-mode-map): Rename from c-subword-mode-map.
16237 (subword-mode): Rename from c-subword-mode.
16238 (global-subword-mode): New global minor mode.
16239 (forward-subword): Rename from c-forward-subword.
16240 (backward-subword): Rename from c-backward-subword.
16241 (mark-subword): Rename from c-mark-subword.
16242 (kill-subword): Rename from c-kill-subword.
16243 (backward-kill-subword): Rename from c-backward-kill-subword.
16244 (transpose-subwords): Rename from c-tranpose-subword.
16245 (downcase-subword): Rename from c-downcase-subword.
16246 (capitalize-subword): Rename from c-capitalize-subword.
16247 (forward-subword-internal): Rename from c-forward-subword-internal.
16248 (backward-subword-internal): Rename from c-backward-subword-internal.
16249
16250 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
16251
16252 * vc.el (vc-deduce-fileset): Allow non-state changing operations
16253 from a dired buffer.
16254 (vc-dired-deduce-fileset): New function.
16255 (vc-root-diff, vc-print-root-log): Use it.
16256
16257 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
16258 nil LIMIT argument to vc-print-log-internal.
16259
16260 2009-11-20 Glenn Morris <rgm@gnu.org>
16261
16262 * Makefile.in (ELCFILES): Regenerate.
16263
16264 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
16265
16266 * calc/calc.el (calc-set-mode-line):
16267 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16268 (math-format-number): Rename `math-format-complement-signed' to
16269 `math-format-twos-complement'.
16270
16271 * calc/calc-bin.el (math-format-twos-complement): Rename from
16272 math-format-complement-signed.
16273 (calc-radix): Rename `calc-complement-signed-mode' to
16274 `calc-twos-complement-mode'.
16275 (calc-octal-radix, calc-hex-radix): Add an argument for
16276 two's complement.
16277
16278 * calc/calc-embed.el (calc-embedded-mode-vars):
16279 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16280
16281 * calc/calc-ext.el (calc-init-extensions):
16282 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16283 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
16284
16285 * calc/calc-units.el (math-build-units-table-buffer):
16286 Let `calc-twos-complement-mode' be nil.
16287
16288 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
16289 entries.
16290
16291 * calc/calc-vec.el (calcFunc-vunpack):
16292 * calc/calc-aent.el (calc-do-calc-eval):
16293 * calc/calc-forms.el (math-format-date):
16294 * calc/calc-graph.el (calc-graph-plot):
16295 * calc/calc-math.el (math-use-emacs-fn):
16296 * calc/calccomp.el (math-compose-expr):
16297 Let `calc-twos-complement-mode' be nil.
16298
16299 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
16300
16301 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
16302 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
16303 * minibuffer.el (completion-in-region-functions): New hook.
16304 (completion-in-region): New function.
16305 * emacs-lisp/lisp.el (lisp-complete-symbol):
16306 * pcomplete.el (pcomplete-std-complete): Use it.
16307
16308 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
16309
16310 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
16311 (latex-complete-alist): New vars.
16312 (latex-string-prefix-p, latex-complete-bibtex-keys)
16313 (latex-complete-envnames, latex-complete-refkeys)
16314 (latex-complete-data): New functions.
16315 (latex-complete, latex-indent-or-complete): New commands.
16316
16317 * window.el (display-buffer-mark-dedicated): New var.
16318 (display-buffer): Obey it.
16319 * minibuffer.el (minibuffer-completion-help): Use it.
16320
16321 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
16322
16323 * filecache.el (file-cache-add-file): Use push and cons.
16324 (file-cache-delete-file-regexp): Use push.
16325 (file-cache-complete): Use completion-in-region.
16326
16327 * simple.el (with-wrapper-hook): Fix thinko.
16328
16329 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
16330 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
16331 Use with-current-buffer and string-to-number.
16332 (hfy-fallback-colour-values): Use assoc-string.
16333 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
16334 (hfy-face-at): Remove unused var `found-face'.
16335 (hfy-compile-stylesheet): Remove unused var `css'.
16336 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
16337 and `orig-buffer'.
16338 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
16339 Use with-current-buffer.
16340 (hfy-text-p): Use expand-file-name and fewer setq.
16341
16342 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
16343
16344 * htmlfontify.el, hfy-cmap.el: New files.
16345
16346 2009-11-19 Juri Linkov <juri@jurta.org>
16347
16348 * minibuffer.el (completions-format): New defcustom.
16349 (completion--insert-strings): Implement vertical format.
16350
16351 * simple.el (switch-to-completions): Move point to the first
16352 completion when point was at the beginning of the buffer.
16353
16354 2009-11-19 Juri Linkov <juri@jurta.org>
16355
16356 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
16357
16358 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
16359
16360 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
16361
16362 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
16363 (mail-signature): Change default to t.
16364 (mail-from-style): Deprecate `system-default' value.
16365 (mail-insert-from-field): For default value of mail-from-style,
16366 default to `angles' unless `angles' needs quoting and `parens'
16367 does not.
16368 (mail-citation-prefix-regexp): Use citation regexp from
16369 message-mode.
16370
16371 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
16372
16373 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
16374 Set variables for computing the prompt for reading password.
16375
16376 2009-11-19 Glenn Morris <rgm@gnu.org>
16377
16378 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
16379
16380 * textmodes/flyspell.el (sgml-lexical-context): Declare.
16381
16382 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
16383 (newsticker-treeview-listwindow-height): Fix custom type.
16384
16385 2009-11-19 Kenichi Handa <handa@m17n.org>
16386
16387 * descr-text.el (describe-char-padded-string): Compose with TAB
16388 only if there's a font for CH.
16389 (describe-char): Fix the condition for detecting a trivial composition.
16390
16391 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
16392
16393 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
16394 more accurate version of the regexp. (Bug#3910)
16395
16396 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
16397
16398 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
16399
16400 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
16401
16402 * font-setting.el (font-use-system-font): Declare for byte-compiler.
16403 (font-setting-change-default-font): Fix typo in docstring.
16404
16405 2009-11-18 Alan Mackenzie <acm@muc.de>
16406
16407 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
16408
16409 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
16410
16411 * font-setting.el (font-use-system-font): Move ...
16412
16413 * cus-start.el (all): ... to here.
16414
16415 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
16416
16417 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
16418 Don't set `ad-return-value' if `ad-do-it' doesn't.
16419
16420 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
16421 modification time.
16422
16423 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
16424
16425 * menu-bar.el: Put "Use system font" in Option-menu.
16426 (menu-bar-options-save): Add font-use-system-font.
16427
16428 * loadup.el: If feature system-font-setting or font-render-setting is
16429 there, load font-setting.
16430
16431 * Makefile.in (ELCFILES): Add font-settings.el.
16432 * font-setting.el: New file.
16433
16434 2009-11-17 Glenn Morris <rgm@gnu.org>
16435
16436 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
16437
16438 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
16439 Preserve point in the list buffer. (Bug#4939)
16440 Use point-at-eol.
16441 (newsticker--treeview-list-update-highlight)
16442 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
16443
16444 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
16445
16446 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
16447 Remove.
16448
16449 * calc/calc-ext.el (calc-init-extensions): Remove references to
16450 symclip.
16451
16452 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
16453
16454 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
16455 * calc/calc-help.el (calc-b-prefix-help): Remove references to
16456 `calc-symclip'.
16457
16458 2009-11-16 Kevin Ryde <user42@zip.com.au>
16459
16460 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
16461 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
16462
16463 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
16464 (lm-keywords-list): Allow comma-only separator like "foo,bar".
16465 Ignore trailing spaces by omit-nulls to split-string (fixing
16466 regression from Emacs 21 due to the incompatible split-string
16467 change). (Bug #4928.)
16468
16469 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
16470
16471 * vc.el (vc-log-show-limit): Default to 2000.
16472 (vc-print-log-internal): Insert buttons to request more entries
16473 when limiting the output.
16474
16475 * vc-sccs.el (vc-sccs-print-log):
16476 * vc-rcs.el (vc-rcs-print-log):
16477 * vc-cvs.el (vc-cvs-print-log):
16478 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
16479 LIMIT is non-nil.
16480
16481 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
16482
16483 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
16484 error when `tramp-gvfs-dbus-event-vector' is set.
16485 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
16486
16487 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
16488
16489 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
16490
16491 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
16492
16493 * net/dbus.el (dbus-unregister-service): New defun.
16494 (dbus-register-property): Register the handlers of
16495 "org.freedesktop.DBus.Properties" for SERVICE.
16496 (dbus-property-handler): Fix docstring.
16497
16498 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
16499
16500 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
16501 Quote doc string reference in defvaralias as it is not in special form.
16502 (byte-compile-output-docform): Doc fix.
16503
16504 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
16505
16506 * calc/calc.el (math-2-word-size, math-half-2-word-size)
16507 (calc-complement-signed-mode): New variables.
16508 (calc-set-mode-line): Add indicator for twos-complements.
16509 (math-format-number): Format twos-complement notation.
16510
16511 * calc/calc-bin.el (calc-word-size): Reset the variables
16512 `math-2-word-size' and `math-half-2-word-size'.
16513 (math-format-complement-signed, math-symclip, calcFunc-symclip)
16514 (calc-symclip): New functions.
16515
16516 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
16517
16518 * calc/calc-embed.el (calc-embedded-mode-vars):
16519 Add `calc-complement-signed-mode' to the list of modes.
16520
16521 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
16522 (calc-b-oper-keys): Add `calc-symclip' to list.
16523
16524 * calc/calc-ext.el (math-read-number-fancy): Read complement
16525 signed numbers.
16526 (calc-init-extensions): Add binding for `calc-symclip'.
16527 Add autoload for `calcFunc-symclip' and `calc-symclip'.
16528
16529 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
16530 `calc-symclip'.
16531 (calc-modes-menu): Add item for twos complement mode.
16532
16533 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
16534
16535 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
16536
16537 * register.el (jump-to-register, insert-register): Handle Semantic
16538 tags. From commented-out advice in semantic/senator.el.
16539
16540 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
16541
16542 * vc.el (vc-log-show-limit): New variable.
16543 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
16544 when using a prefix argument.
16545 (vc-print-log-internal): Add new argument LIMIT.
16546
16547 * vc-svn.el (vc-svn-print-log):
16548 * vc-mtn.el (vc-mtn-print-log):
16549 * vc-hg.el (vc-hg-print-log):
16550 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
16551 pass it to the log command when set. Make the BUFFER argument
16552 non-optional.
16553
16554 * vc-sccs.el (vc-sccs-print-log):
16555 * vc-rcs.el (vc-rcs-print-log):
16556 * vc-git.el (vc-git-print-log):
16557 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
16558 ignore it. Make the BUFFER argument non-optional.
16559
16560 * bindings.el (mode-line-buffer-identification): Do not purecopy.
16561
16562 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
16563
16564 * dired.el (dired-mode-map): Move encryption items to "Operate"
16565 menu (Bug#4703).
16566
16567 * strokes.el (strokes-update-window-configuration): Make strokes
16568 buffer current before erasing (Bug#4906).
16569
16570 2009-11-15 Juri Linkov <juri@jurta.org>
16571
16572 * simple.el (set-mark-default-inactive): Add :type, :group
16573 and :version. (Bug#4876)
16574
16575 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
16576
16577 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
16578 (archive-unique-fname): ... here. (Bug#4929)
16579
16580 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
16581
16582 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
16583 with a real fix.
16584
16585 * novice.el (disabled-command-function): Add useful args.
16586 Setup the help buffer so that [back] works.
16587 Remove redundant call to help-mode.
16588 (disabled-command-function): Use `case'.
16589 (en/disable-command): New function extracted from enable-command.
16590 (enable-command, disable-command): Use it.
16591
16592 2009-11-14 Glenn Morris <rgm@gnu.org>
16593
16594 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
16595 constants. (Bug#4913)
16596
16597 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
16598
16599 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
16600
16601 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
16602 defined in C that have no doc-strings. (Bug#1063)
16603
16604 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
16605
16606 * cus-edit.el (data, files):
16607 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
16608
16609 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
16610
16611 * simple.el (shell-command): Doc fix (Bug#4891).
16612
16613 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
16614
16615 2009-11-14 Glenn Morris <rgm@gnu.org>
16616
16617 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
16618 statements for vc-diff, emerge-quit, and rmail-cease-edit.
16619 If they are already loaded, eval-after-load will do the right thing.
16620
16621 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
16622 compiling.
16623
16624 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
16625
16626 * simple.el (x-selection-owner-p): Declare.
16627 (read-mail-command): Use custom radio type rather than choice.
16628 (completion-no-auto-exit): Doc fix.
16629
16630 * custom.el (defgroup):
16631 * epg-config.el (epg): Doc fixes.
16632
16633 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
16634
16635 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
16636 * international/ccl.el (define-ccl-program): Do not purecopy the
16637 docstring, defconst does it anyway.
16638
16639 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
16640
16641 * add-log.el (add-change-log-entry): Avoid displaying the changelog
16642 a second time.
16643
16644 * x-dnd.el (x-dnd-maybe-call-test-function):
16645 * window.el (split-window-vertically):
16646 * whitespace.el (whitespace-help-on):
16647 * vc-rcs.el (vc-rcs-consult-headers):
16648 * userlock.el (ask-user-about-lock-help)
16649 (ask-user-about-supersession-help):
16650 * type-break.el (type-break-force-mode-line-update):
16651 * time-stamp.el (time-stamp-conv-warn):
16652 * terminal.el (te-set-output-log, te-more-break, te-filter)
16653 (te-sentinel, terminal-emulator):
16654 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
16655 (term-write-input-ring, term-check-source, term-start-output-log):
16656 (term-display-buffer-line, term-dynamic-list-completions):
16657 (term-ansi-make-term, serial-term):
16658 * subr.el (selective-display):
16659 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
16660 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
16661 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
16662 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
16663 (speedbar-remove-localized-speedbar-support)
16664 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
16665 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
16666 (speedbar-buffers-line-directory):
16667 * simple.el (shell-command-on-region, append-to-buffer)
16668 (prepend-to-buffer):
16669 * shadowfile.el (shadow-save-todo-file):
16670 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
16671 (scroll-bar-maybe-set-window-start):
16672 * sb-image.el (speedbar-image-dump):
16673 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
16674 (load-save-place-alist-from-file):
16675 * ps-samp.el (ps-print-message-from-summary):
16676 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
16677 (ps-background-image, ps-begin-job, ps-do-despool):
16678 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
16679 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
16680 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
16681 (pr-call-process, pr-file-list, pr-interface-save):
16682 * novice.el (disabled-command-function)
16683 (enable-command, disable-command):
16684 * mouse.el (mouse-buffer-menu-alist):
16685 * mouse-copy.el (mouse-kill-preserving-secondary):
16686 * macros.el (kbd-macro-query):
16687 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
16688 * informat.el (batch-info-validate):
16689 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
16690 * hippie-exp.el (try-expand-dabbrev-visible):
16691 * help-mode.el (help-make-xrefs):
16692 * help-fns.el (describe-variable):
16693 * generic-x.el (bat-generic-mode-run-as-comint):
16694 * finder.el (finder-mouse-select):
16695 * find-dired.el (find-dired-sentinel):
16696 * filesets.el (filesets-file-close):
16697 * files.el (list-directory):
16698 * faces.el (list-faces-display, describe-face):
16699 * facemenu.el (list-colors-display):
16700 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
16701 * epg.el (epg--process-filter, epg-cancel):
16702 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
16703 (epa--read-signature-type):
16704 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
16705 (emerge-file-names):
16706 * ehelp.el (electric-helpify):
16707 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
16708 * ediff-vers.el (rcs-ediff-view-revision):
16709 * ediff-util.el (ediff-setup):
16710 * ediff-mult.el (ediff-append-custom-diff):
16711 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
16712 (ediff-wordify):
16713 * echistory.el (Electric-command-history-redo-expression):
16714 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
16715 * disp-table.el (describe-display-table):
16716 * dired.el (dired-find-buffer-nocreate):
16717 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
16718 * dabbrev.el (dabbrev--same-major-mode-p):
16719 * chistory.el (list-command-history):
16720 * apropos.el (apropos-documentation):
16721 * allout.el (allout-obtain-passphrase):
16722 (allout-copy-exposed-to-buffer):
16723 (allout-verify-passphrase): Use with-current-buffer.
16724
16725 2009-11-13 Glenn Morris <rgm@gnu.org>
16726
16727 * Makefile.in (ELCFILES): Regenerate.
16728
16729 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
16730
16731 * net/dbus.el (dbus-registered-objects-table): Rename from
16732 `dbus-registered-functions-table', because it contains also properties.
16733 (dbus-unregister-object): Unregister also properties.
16734 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
16735 Use a timeout of 500 msec, in order to not block.
16736 (dbus-register-property, dbus-property-handler): New defuns.
16737
16738 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
16739
16740 * simple.el (minibuffer-default-add-completions): Drop deprecated
16741 4th arg.
16742
16743 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
16744
16745 * textmodes/artist.el (artist-mouse-choose-operation):
16746 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
16747 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
16748 (artist-compute-up-event-key): New function.
16749 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
16750
16751 2009-11-13 Kenichi Handa <handa@m17n.org>
16752
16753 * language/japan-util.el: Make sure that the value of jisx0208
16754 property is jisx0208 character.
16755
16756 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
16757
16758 * international/mule.el (auto-coding-regexp-alist): Only purecopy
16759 car or each item, not the whole list.
16760
16761 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
16762
16763 * minibuffer.el (minibuffer-completion-help):
16764 Use minibuffer-hide-completions.
16765
16766 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
16767
16768 * dired.el (dired-save-positions, dired-restore-positions): New funs.
16769 (dired-revert): Use them (bug#4880).
16770
16771 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
16772
16773 * tooltip.el (tooltip-frame-parameters): Undo previous change.
16774
16775 2009-11-12 Juri Linkov <juri@jurta.org>
16776
16777 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
16778 New functions.
16779 (find-file-literally-at-point): Alias of `ffap-literally'.
16780
16781 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
16782
16783 * textmodes/ispell.el (ispell-skip-region-alist):
16784 * textmodes/css-mode.el (auto-mode-alist):
16785 * progmodes/compile.el (auto-mode-alist):
16786 * international/mule.el (ctext-non-standard-encodings-alist)
16787 (ctext-non-standard-encodings-regexp):
16788 * simple.el (shell-command-switch, text-read-only):
16789 * replace.el (occur-mode-map):
16790 * paths.el (rmail-file-name):
16791 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
16792 * find-file.el (ff-special-constructs):
16793 * files.el (file-name-handler-alist):
16794 * composite.el: Purecopy strings.
16795
16796 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
16797
16798 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
16799
16800 * widget.el (define-widget): Purecopy the docstring.
16801 * international/mule-cmds.el (charset): Do not purecopy the
16802 docstring here, define-widget does it.
16803
16804 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
16805 * textmodes/bibtex-style.el (auto-mode-alist):
16806 * progmodes/inf-lisp.el (inferior-lisp-prompt):
16807 * progmodes/compile.el (compile-command):
16808 * language/korea-util.el (default-korean-keyboard):
16809 * international/mule-conf.el (file-coding-system-alist):
16810 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
16811 * tooltip.el (tooltip-frame-parameters):
16812 * newcomment.el (comment-end, comment-padding):
16813 * dired.el (dired-trivial-filenames):
16814 * comint.el (comint-file-name-prefix): Purecopy initial values.
16815
16816 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
16817
16818 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
16819 (tramp-advice-minibuffer-electric-tilde): Unload advices via
16820 `tramp-unload'.
16821 (tramp-advice-make-auto-save-file-name)
16822 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
16823 after removing the advice.
16824
16825 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
16826
16827 * progmodes/grep.el (grep-regexp-alist):
16828 * international/mule-cmds.el (iso-2022-control-alist):
16829 * emacs-lisp/timer.el (timer-duration-words):
16830 * subr.el (version-separator, version-regexp-alist):
16831 * minibuffer.el (completion-styles-alist):
16832 * faces.el (face-attribute-name-alist, list-faces-sample-text):
16833 Change defvars to defconsts.
16834
16835 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
16836 * loadup.el ("international/mule-conf"): Load the byte compiled version.
16837 * international/mule-conf.el: Allow to be byte compiled.
16838
16839 * international/mule.el (define-charset): Purecopy props.
16840 (load-with-code-conversion): Purecopy doc string and file name.
16841 (put-charset-property): Purecopy strings.
16842 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
16843
16844 * international/mule-cmds.el (register-input-method): Purecopy arguments.
16845 (define-char-code-property): Correctly purecopy the table.
16846
16847 * international/ccl.el (define-ccl-program): Purecopy the docstring.
16848
16849 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
16850
16851 * subr.el (add-hook): Purecopy strings.
16852 (eval-after-load): Purecopy load-history-regexp and the form.
16853
16854 * custom.el (custom-declare-group): Purecopy load-file-name.
16855
16856 * subr.el (menu-bar-separator): New defconst.
16857 * net/eudc.el (eudc-tools-menu):
16858 * international/mule-cmds.el (set-coding-system-map)
16859 (mule-menu-keymap):
16860 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
16861 * vc-hooks.el (vc-menu-map):
16862 * replace.el (occur-mode-map):
16863 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
16864 (menu-bar-edit-menu, menu-bar-goto-menu)
16865 (menu-bar-custom-menu, menu-bar-showhide-menu)
16866 (menu-bar-options-menu, menu-bar-tools-menu)
16867 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
16868 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
16869 (menu-bar-help-menu):
16870 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
16871 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
16872
16873 * term/x-win.el (x-gtk-stock-map):
16874 * progmodes/vera-mode.el (auto-mode-alist):
16875 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
16876 (inferior-lisp-program, inferior-lisp-load-command):
16877 * progmodes/hideshow.el (hs-special-modes-alist):
16878 * progmodes/gud.el (same-window-regexps):
16879 * progmodes/grep.el (grep-program, find-program, xargs-program):
16880 * net/telnet.el (same-window-regexps):
16881 * net/rlogin.el (same-window-regexps):
16882 * language/ethiopic.el (font-ccl-encoder-alist):
16883 * vc-sccs.el (vc-sccs-master-templates):
16884 * vc-rcs.el (vc-rcs-master-templates):
16885 * subr.el (cl-assertion-failed):
16886 * simple.el (next-error-overlay-arrow-position):
16887 * lpr.el (lpr-command):
16888 * locate.el (locate-ls-subdir-switches):
16889 * info.el (same-window-regexps, info)
16890 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
16891 * image-mode.el (image-mode, auto-mode-alist):
16892 * hippie-exp.el (hippie-expand-ignore-buffers):
16893 * format.el (format-alist):
16894 * find-dired.el (find-ls-subdir-switches, find-grep-options)
16895 (find-name-arg):
16896 * facemenu.el (facemenu-keybindings):
16897 * dired.el (dired-listing-switches, dired-chown-program):
16898 * diff.el (diff-switches, diff-command):
16899 * cus-edit.el (same-window-regexps):
16900 * bindings.el (mode-line-mule-info)
16901 (mode-line-buffer-identification): Purecopy strings.
16902
16903 2009-11-11 Juri Linkov <juri@jurta.org>
16904
16905 * simple.el (dired-get-filename) <declare-function>:
16906 Tell the byte-compiler about dired-get-filename.
16907 (shell-command): In Dired mode, get filename from the current line
16908 as the default value.
16909
16910 2009-11-10 Glenn Morris <rgm@gnu.org>
16911
16912 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
16913 * calendar/holidays.el, progmodes/cperl-mode.el:
16914 Update x-popup-menu declarations.
16915
16916 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
16917 (list-load-path-shadows): Use dolist.
16918 (list-load-path-shadows): Use with-current-buffer.
16919
16920 2009-11-10 Juri Linkov <juri@jurta.org>
16921
16922 * minibuffer.el (read-file-name): Support a list of default values
16923 in `default-filename'. Use the first file name where only one
16924 element is required. Doc fix.
16925
16926 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
16927
16928 * net/dbus.el (dbus-unregister-object): Release service, if no
16929 other method is registered for it.
16930
16931 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
16932
16933 * bookmark.el (bookmark-completing-read): Sort bookmark names if
16934 bookmark-sort-flag is non-nil (Bug#4653).
16935
16936 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
16937
16938 * emulation/cua-base.el: Add CUA property to some CC mode commands
16939 (Bug#4100).
16940
16941 2009-11-08 Kevin Ryde <user42@zip.com.au>
16942
16943 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
16944 at end of sentence (Bug#4818).
16945
16946 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
16947
16948 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16949 Handle "see declaration of" MSFT statements (Bug#4100).
16950
16951 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
16952
16953 * net/tramp.el (tramp-advice-make-auto-save-file-name)
16954 (tramp-advice-file-expand-wildcards): Unload via
16955 `ad-remove-advice'.
16956
16957 * net/trampver.el: Update release number.
16958
16959 2009-11-08 Kevin Ryde <user42@zip.com.au>
16960
16961 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
16962 `ad-do-it'.
16963
16964 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
16965
16966 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
16967 in order to keep context in SELinux.
16968
16969 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
16970
16971 * dired-aux.el (dired-query): Place cursor in echo area and allow
16972 C-g.
16973
16974 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
16975 menu item if not on a directory (Bug#4701).
16976
16977 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
16978
16979 Sync with Tramp 2.1.17.
16980
16981 * net/tramp.el (tramp-handle-copy-directory): Don't use
16982 `file-remote-p' (due to compatibility).
16983
16984 * net/tramp-compat.el (tramp-compat-copy-directory)
16985 (tramp-compat-delete-directory): New defuns.
16986
16987 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
16988 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
16989 Use `tramp-compat-delete-directory'.
16990
16991 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
16992 (tramp-smb-handle-delete-directory):
16993 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
16994
16995 * net/trampver.el: Update release number.
16996
16997 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
16998
16999 * tar-mode.el (tar-copy): Call write-region on the right buffer
17000 (Bug#4857).
17001
17002 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
17003 by hand, if necessary (Bug#4878).
17004
17005 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
17006
17007 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
17008 align size column (Bug#4839).
17009
17010 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
17011 statement.
17012
17013 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
17014
17015 * progmodes/ld-script.el (auto-mode-alist):
17016 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
17017
17018 * cus-face.el (custom-declare-face): Purecopy face spec.
17019
17020 2009-11-06 Kenichi Handa <handa@m17n.org>
17021
17022 * international/uni-bidi.el: Re-generated.
17023 * international/uni-category.el: Re-generated.
17024 * international/uni-combining.el: Re-generated.
17025 * international/uni-mirrored.el: Re-generated.
17026
17027 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
17028
17029 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
17030 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
17031 (tex-start-options, slitex-run-command, latex-run-command)
17032 (tex-run-command, tex-directory):
17033 * textmodes/ispell.el (ispell-html-skip-alists)
17034 (ispell-tex-skip-alists, ispell-tex-skip-alists):
17035 * textmodes/fill.el (adaptive-fill-first-line-regexp):
17036 (adaptive-fill-regexp):
17037 * textmodes/dns-mode.el (auto-mode-alist):
17038 * progmodes/python.el (interpreter-mode-alist):
17039 * progmodes/etags.el (tags-compression-info-list):
17040 * progmodes/etags.el (tags-file-name):
17041 * net/browse-url.el (browse-url-galeon-program)
17042 (browse-url-firefox-program):
17043 * mail/sendmail.el (mail-signature-file)
17044 (mail-citation-prefix-regexp):
17045 * international/mule-conf.el (eight-bit):
17046 * international/latexenc.el (latex-inputenc-coding-alist):
17047 * international/fontset.el (x-pixel-size-width-font-regexp):
17048 * emacs-lisp/warnings.el (warning-type-format):
17049 * emacs-lisp/trace.el (trace-buffer):
17050 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
17051 (emacs-lisp-mode-map):
17052 * calendar/holidays.el (holiday-solar-holidays)
17053 (holiday-bahai-holidays, holiday-islamic-holidays)
17054 (holiday-christian-holidays, holiday-hebrew-holidays)
17055 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
17056 (hebrew-holidays-1, holiday-oriental-holidays)
17057 (holiday-general-holidays):
17058 * x-dnd.el (x-dnd-known-types):
17059 * tool-bar.el (tool-bar):
17060 * startup.el (site-run-file):
17061 * shell.el (shell-dumb-shell-regexp):
17062 * rfn-eshadow.el (file-name-shadow-tty-properties)
17063 (file-name-shadow-properties):
17064 * paths.el (remote-shell-program, news-directory):
17065 * mouse.el ([C-down-mouse-3]):
17066 * menu-bar.el (menu-bar-tools-menu):
17067 * jka-cmpr-hook.el (jka-compr-load-suffixes)
17068 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
17069 (jka-compr-compression-info-list):
17070 * isearch.el (search-whitespace-regexp):
17071 * image-file.el (image-file-name-extensions):
17072 * find-dired.el (find-ls-option):
17073 * files.el (directory-listing-before-filename-regexp)
17074 (directory-free-space-args, insert-directory-program)
17075 (list-directory-brief-switches, magic-fallback-mode-alist)
17076 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
17077 (automount-dir-prefix):
17078 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
17079 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
17080 (face-font-registry-alternatives, face-font-registry-alternatives)
17081 (face-font-family-alternatives):
17082 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
17083 (facemenu-foreground-menu, facemenu-face-menu):
17084 * epa-hook.el (epa-file-name-regexp):
17085 * dnd.el (dnd-protocol-alist):
17086 * textmodes/rst.el (auto-mode-alist):
17087 * button.el (default-button): Purecopy strings.
17088
17089 2009-11-06 Glenn Morris <rgm@gnu.org>
17090
17091 * Makefile.in (ELCFILES): Update.
17092
17093 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
17094
17095 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
17096 * emacs-lisp/levents.el: Move to obsolete/levents.el.
17097
17098 * nxml/xsd-regexp.el (xsdre-gen-categories):
17099 * nxml/xmltok.el (xmltok-parse-entity):
17100 * nxml/rng-parse.el (rng-parse-validate-file):
17101 * nxml/rng-maint.el (rng-format-manual)
17102 (rng-manual-output-force-new-line):
17103 * nxml/rng-loc.el (rng-save-schema-location-1):
17104 * nxml/rng-cmpct.el (rng-c-parse-file):
17105 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
17106 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
17107
17108 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
17109
17110 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
17111 Remove extra save-excursions and make-variable-buffer-local's.
17112 Suggested by Stefan Monnier.
17113
17114 (verilog-getopt-file, verilog-module-inside-filename-p)
17115 (verilog-set-define): Merge GNU 1.35 and repair changes from
17116 switching to using with-current-buffer.
17117
17118 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
17119 being treated as a number and confusing AUTORESET.
17120 Reported by Dan Dever.
17121
17122 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
17123 Add verilog-auto-ignore-concat to fix backward compatibility with
17124 older verilog-modes. Reported by Dan Katz.
17125
17126 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
17127 containing closing anchors "...$".
17128
17129 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
17130 Reported by Wade Smith.
17131
17132 (verilog-batch-execute-func): Comment on function usage.
17133
17134 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
17135
17136 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
17137 for labels.
17138
17139 (verilog-label-re, verilog-calc-1): Support proper indent of named
17140 asserts.
17141
17142 (verilog-backward-token, verilog-basic-complete-re)
17143 (verilog-beg-of-statement, verilog-indent-re): Support proper
17144 indent of the assert statement at the beginning of a block of text.
17145
17146 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
17147 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
17148 tokens as begins.
17149
17150 2009-11-05 Glenn Morris <rgm@gnu.org>
17151
17152 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
17153 Emacs 19. (Bug#1531)
17154 (byte-compile-fix-header): Update for the above change.
17155 Drop test for epoch::version.
17156
17157 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
17158 * cus-dep.el (custom-make-dependencies):
17159 * finder.el (finder-compile-keywords):
17160 Use autoload-rubric's feature argument.
17161
17162 * calendar/diary-lib.el (top-level): Make load behave more like require.
17163
17164 * vc-git.el (vc-git-stash-map): Move definition before use.
17165
17166 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
17167
17168 * custom.el (custom-declare-group): Purecopy standard-value.
17169 (custom-declare-group): Purecopy custom-prefix.
17170
17171 * international/mule.el (load-with-code-conversion):
17172 Call do-after-load-evaluation unconditionally.
17173
17174 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
17175
17176 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
17177
17178 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
17179
17180 2009-11-04 Glenn Morris <rgm@gnu.org>
17181
17182 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
17183 (byte-compile-compatibility): Remove option.
17184 (byte-compile-close-variables, byte-compile-fix-header)
17185 (byte-compile-insert-header, byte-compile-output-docform)
17186 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
17187 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
17188 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
17189 (byte-compile-insert, byte-compile-defun):
17190 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
17191 (byte-defop-compiler19): Remove.
17192 Without byte-compile-compatibility, the 'emacs19-opcode property is not
17193 used by anything. Replace all calls with byte-defop-compiler.
17194
17195 2009-11-04 Juri Linkov <juri@jurta.org>
17196
17197 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
17198 (menu-bar-options-menu): Don't quote the `prop' arg of
17199 `menu-bar-make-mm-toggle'.
17200
17201 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
17202
17203 * calendar/calendar.el (cal-loaddefs):
17204 * calendar/diary-lib.el (diary-loaddefs):
17205 * calendar/holidays.el (hol-loaddefs):
17206 * eshell/esh-module.el (esh-groups): Load rather than require.
17207
17208 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
17209
17210 * calendar/todo-mode.el (todo-add-category): Don't hardcode
17211 point-min==1.
17212 (todo-top-priorities): Only display-buffer when called interactively.
17213 (todo-item-start): Don't save excursion point.
17214 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
17215 (todo-insert-item-here, todo-file-item, todo-remove-item):
17216 Adjust uses of todo-item-start and todo-item-end.
17217
17218 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
17219 (autoload-rubric): Don't use any more.
17220
17221 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
17222 and only put a prop if it is non-nil.
17223
17224 2009-11-03 Juri Linkov <juri@jurta.org>
17225
17226 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
17227 (menu-bar-options-menu): Fix list quoting (Bug#4429).
17228
17229 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
17230 and "Menu" to make top-level menu item visually one unit (like
17231 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
17232 multi-word menu items). Fix :help string for quit-window.
17233
17234 2009-11-03 Glenn Morris <rgm@gnu.org>
17235
17236 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
17237 (byte-compile-file-form-define-abbrev-table)
17238 (byte-compile-file-form-custom-declare-variable)
17239 (byte-compile-variable-ref, byte-compile-defvar):
17240 Whether or not a warning is enabled should only affect whether we issue
17241 the warning, not whether or not we collect the relevant data.
17242 Eg warnings can be turned on and off throughout the course of a file.
17243
17244 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
17245 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
17246
17247 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
17248
17249 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
17250 * play/mpuz.el (mpuz-create-buffer):
17251 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
17252 (lm-print-y,s,noise, lm-print-w0, lm-init):
17253 * play/gomoku.el (gomoku-prompt-for-move):
17254 * play/fortune.el (fortune-in-buffer):
17255 * play/dissociate.el (dissociated-press):
17256 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
17257 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
17258 * mail/supercite.el (sc-eref-show):
17259 * mail/smtpmail.el (smtpmail-send-it):
17260 * mail/rmailsum.el (rmail-summary-next-labeled-message)
17261 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
17262 (rmail-summary-undelete-many, rmail-summary-rmail-update)
17263 (rmail-summary-goto-msg, rmail-summary-expunge)
17264 (rmail-summary-get-new-mail, rmail-summary-search-backward)
17265 (rmail-summary-add-label, rmail-summary-output-menu)
17266 (rmail-summary-output-body):
17267 * mail/rfc822.el (rfc822-addresses):
17268 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
17269 * mail/mailpost.el (post-mail-send-it):
17270 * mail/hashcash.el (hashcash-generate-payment):
17271 * mail/feedmail.el (feedmail-run-the-queue)
17272 (feedmail-queue-send-edit-prompt-help-first)
17273 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
17274 (feedmail-deduce-address-list):
17275 * eshell/esh-ext.el (eshell-remote-command):
17276 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
17277 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
17278 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
17279 (viper-save-string-in-file, viper-valid-marker):
17280 * emulation/viper-keym.el (viper-toggle-key):
17281 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
17282 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
17283 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
17284 * emulation/viper-cmd.el (viper-exec-form-in-vi)
17285 (viper-exec-form-in-emacs, viper-brac-function):
17286 * emulation/viper.el (viper-delocalize-var):
17287 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
17288 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
17289 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
17290 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
17291 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
17292 * emulation/edt.el (edt-electric-helpify):
17293 * emulation/cua-rect.el (cua--rectangle-aux-replace):
17294 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
17295 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
17296 (cua-indent-to-global-mark-column):
17297 * calendar/diary-lib.el (calendar-mark-1):
17298 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
17299 Use with-current-buffer.
17300 * emulation/viper.el (viper-delocalize-var): Use dolist.
17301
17302 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
17303
17304 * comint.el (comint-replace-by-expanded-history-before-point):
17305 Replace !! with the previous input string literally (Bug#1795).
17306
17307 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
17308
17309 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
17310 to be made up of whitespace.
17311
17312 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
17313
17314 * minibuffer.el (read-file-name): Don't use file dialogs for
17315 remote directories (Bug#99).
17316
17317 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
17318
17319 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
17320
17321 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
17322
17323 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
17324 instead of deleting the window or frame.
17325
17326 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
17327
17328 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
17329 Support face colors.
17330
17331 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
17332 New function. Support face colors (Bug#1168).
17333 (tex-common-initialization): Use it.
17334
17335 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
17336 mode allows it (Bug#1168).
17337
17338 2009-10-31 Juri Linkov <juri@jurta.org>
17339
17340 * facemenu.el (list-colors-display): Don't mark buffer as
17341 modified (Bug#3948).
17342
17343 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
17344
17345 * international/mule-diag.el (list-character-sets-1):
17346 Minor message fix (Bug#3526).
17347
17348 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
17349 Fix face property (Bug#4834).
17350 (etags-list-tags, etags-tags-apropos-additional)
17351 (etags-tags-apropos, tags-select-tags-table): Add follow-link
17352 property.
17353
17354 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
17355 items.
17356
17357 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
17358
17359 * textmodes/two-column.el (2C-split):
17360 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
17361 * textmodes/tex-mode.el (tex-set-buffer-directory):
17362 * textmodes/spell.el (spell-region, spell-string):
17363 * textmodes/reftex.el (reftex-erase-buffer):
17364 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
17365 * textmodes/reftex-toc.el (reftex-toc-promote-action):
17366 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
17367 (reftex-select-item):
17368 * textmodes/reftex-ref.el (reftex-label-info-update)
17369 (reftex-offer-label-menu):
17370 * textmodes/reftex-index.el (reftex-index-change-entry)
17371 (reftex-index-phrases-info):
17372 * textmodes/reftex-global.el (reftex-create-tags-file)
17373 (reftex-save-all-document-buffers, reftex-ensure-write-access):
17374 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
17375 (reftex-view-crossref-from-bibtex):
17376 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
17377 (reftex-extract-bib-entries-from-thebibliography)
17378 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
17379 * textmodes/refbib.el (r2b-capitalize-title):
17380 (r2b-convert-buffer, r2b-help):
17381 * textmodes/page-ext.el (pages-directory)
17382 (pages-directory-goto-with-mouse):
17383 * textmodes/bibtex.el (bibtex-validate-globally):
17384 * textmodes/bib-mode.el (bib-capitalize-title):
17385 * textmodes/artist.el (artist-clear-buffer, artist-system):
17386 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
17387 (local-set-scheme-interaction-buffer, xscheme-process-filter)
17388 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
17389 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
17390 (xscheme-send-control-g-interrupt, xscheme-start-process)
17391 (xscheme-process-sentinel, xscheme-cd):
17392 * progmodes/verilog-mode.el (verilog-read-always-signals)
17393 (verilog-set-define, verilog-getopt-file)
17394 (verilog-module-inside-filename-p):
17395 * progmodes/sh-script.el:
17396 * progmodes/python.el (python-pdbtrack-get-source-buffer)
17397 (python-pdbtrack-grub-for-buffer, python-execute-file):
17398 * progmodes/octave-inf.el (inferior-octave):
17399 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
17400 (idlwave-shell-compile-helper-routines, idlwave-set-local)
17401 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
17402 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
17403 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
17404 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
17405 (idlwave-shell-filter, idlwave-shell-examine-highlight)
17406 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
17407 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
17408 (idlwave-shell-examine-display, idlwave-shell-run-region)
17409 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
17410 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
17411 * progmodes/idlw-help.el (idlwave-help-get-special-help)
17412 (idlwave-help-get-help-buffer):
17413 * progmodes/gud.el (gud-basic-call, gud-find-class)
17414 (gud-tooltip-activate-mouse-motions-if-enabled):
17415 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
17416 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
17417 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
17418 (ebrowse-tags-next-file):
17419 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
17420 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
17421 (ebnf-eps-finish-and-write):
17422 * progmodes/cpp.el (cpp-edit-save):
17423 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
17424 * progmodes/cc-defs.el (c-emacs-features):
17425 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
17426 (antlr-directory-dependencies):
17427 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
17428 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
17429 (ada-find-any-references, ada-make-filename-from-adaname)
17430 (ada-make-body-gnatstub):
17431 * obsolete/rnews.el (news-list-news-groups):
17432 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
17433 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
17434 * net/rcirc.el (rcirc-debug):
17435 * net/newst-treeview.el (newsticker--treeview-list-add-item)
17436 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
17437 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
17438 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
17439 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
17440 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
17441 (newsticker--treeview-list-clear-highlight)
17442 (newsticker--treeview-list-update-highlight)
17443 (newsticker--treeview-list-highlight-start)
17444 (newsticker--treeview-tree-update-highlight)
17445 (newsticker--treeview-get-selected-item)
17446 (newsticker-treeview-mark-list-items-old)
17447 (newsticker--treeview-set-current-node):
17448 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
17449 * net/newst-backend.el (newsticker--get-news-by-funcall)
17450 (newsticker--get-news-by-wget, newsticker--image-get)
17451 (newsticker--image-sentinel):
17452 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
17453 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
17454 (eudc-ph-close-session):
17455 * net/eudc.el (eudc-save-options):
17456 * language/thai-word.el (thai-update-word-table):
17457 * language/japan-util.el (japanese-string-conversion):
17458 * international/titdic-cnv.el (tsang-quick-converter)
17459 (ziranma-converter, ctlau-converter):
17460 * international/mule-cmds.el (describe-language-environment):
17461 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
17462 (skkdic-convert-postfix, skkdic-convert-prefix):
17463 (skkdic-convert-okuri-nasi, skkdic-convert):
17464 * emacs-lisp/re-builder.el (reb-update-overlays):
17465 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
17466 * emacs-lisp/gulp.el (gulp-send-requests):
17467 * emacs-lisp/find-gc.el (trace-call-tree):
17468 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
17469 (eieio-describe-generic):
17470 * emacs-lisp/eieio-base.el (eieio-persistent-read):
17471 * emacs-lisp/edebug.el (edebug-outside-excursion):
17472 * emacs-lisp/debug.el (debugger-make-xrefs):
17473 * emacs-lisp/cust-print.el (custom-prin1-to-string):
17474 * emacs-lisp/chart.el (chart-new-buffer):
17475 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
17476 Use with-current-buffer.
17477 * textmodes/artist.el (artist-system): Don't call
17478 copy-sequence on a fresh string.
17479 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
17480
17481 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
17482
17483 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
17484 is no item to edit. (Bug#4820)
17485 (todo-top-priorities): Restore point and restore narrowing in Todo
17486 buffer. (Bug#4820)
17487
17488 2009-10-31 Glenn Morris <rgm@gnu.org>
17489
17490 * net/ange-ftp.el (top-level): Don't require dired when compiling.
17491 (comint-last-output-start, comint-last-input-start)
17492 (comint-last-input-end): Don't defvar when compiling.
17493 (ange-ftp-process-file): Use bound-and-true-p.
17494
17495 * pcmpl-rpm.el (top-level): Move provide statement to end.
17496 (pcmpl-rpm): Remove unused custom group.
17497
17498 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
17499
17500 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
17501
17502 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
17503 (byte-compile-warnings): Add `constants' as an option.
17504 (byte-compile-callargs-warn, byte-compile-arglist-warn)
17505 (display-call-tree): Update for byte-compile-fdefinition possibly
17506 returning `(macro lambda ...)'. (Bug#4778)
17507 (byte-compile-variable-ref, byte-compile-setq-default):
17508 Respect `constants' member of byte-compile-warnings.
17509
17510 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
17511
17512 * vc-bzr.el (vc-bzr-revision-keywords): New var.
17513 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
17514 to "submit:".
17515
17516 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
17517
17518 * textmodes/ispell.el (ispell-skip-region-alist):
17519 * international/mule-conf.el (eight-bit):
17520 * international/fontset.el (font-encoding-alist):
17521 * startup.el (pure-space-overflow-message):
17522 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
17523 * paths.el (gnus-nntp-service, rmail-spool-directory)
17524 (term-file-prefix):
17525 * files.el (save-some-buffers-action-alist):
17526 * cmuscheme.el (same-window-buffer-names):
17527 * ielm.el (same-window-buffer-names):
17528 * shell.el (same-window-buffer-names):
17529 * mail/sendmail.el (same-window-buffer-names):
17530 * progmodes/inf-lisp.el (same-window-buffer-names):
17531 * bindings.el (mode-line-client)
17532 (mode-line-column-line-number-mode-map):
17533 * language/tibetan.el (tibetan-precomposition-rule-regexp)
17534 (tibetan-precomposed-regexp): Purecopy string arguments.
17535
17536 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17537
17538 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
17539 (calcDigit-nondigit):
17540 * calc/calc-yank.el (calc-copy-to-buffer):
17541 * calc/calc-units.el (calc-invalidate-units-table):
17542 * calc/calc-trail.el (calc-trail-yank):
17543 * calc/calc-store.el (calc-insert-variables):
17544 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
17545 * calc/calc-prog.el (calc-read-parse-table):
17546 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
17547 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
17548 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
17549 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
17550 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
17551 (calc-graph-name, calc-graph-find-command, calc-graph-view)
17552 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
17553 * calc/calc-ext.el (calc-realign):
17554 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
17555 (calc-embedded-finish-edit, calc-embedded-make-info)
17556 (calc-embedded-finish-command, calc-embedded-stack-change):
17557 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
17558
17559 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
17560 shell-dynamic-complete-filename in preference to
17561 comint-dynamic-complete-filename.
17562
17563 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
17564 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
17565 Don't consider whether the display supports colors.
17566 (bookmark-import-new-list): Use dolist.
17567 (bookmark-bmenu-mode-map): Move initialization into declaration.
17568 (bookmark-bmenu-list): Use dolist, simplify.
17569 (bookmark-show-all-annotations): Use save-selected-window and dolist.
17570 (menu-bar-final-items): Use push.
17571
17572 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
17573
17574 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
17575 it works on remote files.
17576 (vc-hg-diff): Don't pass any `--cwd' argument.
17577
17578 2009-10-27 Kevin Ryde <user42@zip.com.au>
17579
17580 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
17581 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
17582 (Further to Bug#3921).
17583
17584 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
17585
17586 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
17587 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
17588 calling `tramp-imap-put-file'. Add file size to the call.
17589 (tramp-imap-get-file-entries): Compute also user name, file size,
17590 and date.
17591 (tramp-imap-handle-insert-directory): Insert uid and gid.
17592 (tramp-imap-handle-file-attributes): Transform uid and gid
17593 according to `id-format'.
17594 (tramp-imap-put-file): New optional parameter SIZE. Encode file
17595 size in header X-Size.
17596
17597 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
17598
17599 * simple.el (transpose-subr): Give clearer error when the mark
17600 is not set. (Bug#4807)
17601
17602 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
17603
17604 * net/tramp.el (tramp-perl-file-truename): New defconst.
17605 Perl code contributed by yary <not.com@gmail.com> (tiny change).
17606 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
17607 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
17608 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
17609
17610 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
17611 Ignore `dired-call-process'.
17612 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
17613
17614 2009-10-26 Julian Scheid <julians37@gmail.com>
17615
17616 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
17617 (tramp-get-remote-readlink): New defun.
17618 (tramp-handle-file-truename): Use it.
17619 (tramp-handle-file-exists-p): Check file-attributes cache, assume
17620 file exists if cache value present.
17621 (tramp-check-cached-permissions): New defun.
17622 (tramp-handle-file-readable-p): Use it.
17623 (tramp-handle-file-writable-p): Likewise.
17624 (tramp-handle-file-executable-p): Likewise.
17625 (tramp-handle-file-name-all-completions): Try using Perl to get
17626 partial completions. When perl not available, combine `cd' and
17627 `ls' into single remote operation and use shell expansion to get
17628 partial remote directory contents. Set `file-exists-p' cache for
17629 directory and any files returned by ls. Change cache handling to
17630 support partial directory contents. Use error message emitted by
17631 remote `cd' or Perl code for local tramp-error.
17632 (tramp-do-copy-or-rename-file-directly): Avoid separate
17633 tramp-send-command-and-check call.
17634 (tramp-handle-process-file): Merge three remote ops into one.
17635 Do not flush all caches when `process-file-side-effects' is set.
17636 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
17637 file-attributes shows uid/gid to be set already.
17638
17639 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
17640
17641 * textmodes/tex-mode.el (tex-dvi-view-command)
17642 (tex-show-queue-command, tex-open-quote):
17643 * progmodes/ruby-mode.el (auto-mode-alist)
17644 (interpreter-mode-alist): Purecopy strings.
17645
17646 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
17647
17648 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
17649 string for the hook, keymap and abbrev table.
17650
17651 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
17652
17653 * x-dnd.el (x-dnd-xdnd-to-action):
17654 * startup.el (fancy-startup-text, fancy-about-text): Change to
17655 defconst from defvar.
17656
17657 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
17658
17659 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
17660 Purecopy initialization strings.
17661
17662 * mail/sendmail.el (mail-header-separator)
17663 (mail-personal-alias-file):
17664 * mail/rmail.el (rmail-default-dont-reply-to-names)
17665 (rmail-ignored-headers, rmail-retry-ignored-headers)
17666 (rmail-highlighted-headers, rmail-secondary-file-directory)
17667 (rmail-secondary-file-regexp):
17668 * files.el (null-device, file-name-invalid-regexp)
17669 (locate-dominating-stop-dir-regexp)
17670 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
17671 (interpreter-mode-alist): Use mapcar instead of mapc.
17672
17673 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
17674
17675 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
17676 (completion-ignored-extensions):
17677 (debug-ignored-errors): Purecopy strings.
17678
17679 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
17680
17681 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
17682 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
17683 (pcomplete--here): Use push.
17684
17685 * subr.el (all-completions): Declare the 4th arg obsolete.
17686
17687 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
17688
17689 * pcomplete.el (pcomplete-unquote-argument-function): New var.
17690 (pcomplete-unquote-argument): New function.
17691 (pcomplete--common-suffix): Always pay attention to case.
17692 (pcomplete--table-subvert): Quote and unquote the text.
17693 (pcomplete--common-quoted-suffix): New function.
17694 (pcomplete-std-complete): Use it and pcomplete-begin.
17695
17696 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
17697 we're inside a dedicated or minibuffer window.
17698
17699 2009-10-24 Karl Fogel <kfogel@red-bean.com>
17700
17701 * bookmark.el: Update documentation, especially documentation
17702 of `bookmark-alist' and of the bookmark file format.
17703 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
17704
17705 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
17706
17707 * mail/emacsbug.el (report-emacs-bug): Clarify that the
17708 keybindings apply to the mail buffer (Bug#4003). Shrink help
17709 window to buffer.
17710
17711 * whitespace.el (whitespace-mode, whitespace-newline-mode)
17712 (global-whitespace-mode, global-whitespace-newline-mode)
17713 (whitespace-toggle-options, global-whitespace-toggle-options):
17714 Doc fix (Bug#3660).
17715
17716 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
17717 of xmltok-start before the end tag was inserted (Bug#2840).
17718
17719 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
17720 patterns that are preceded by an open-paren (Bug#1320).
17721
17722 2009-10-24 Sven Joachim <svenjoac@gmx.de>
17723
17724 * files.el (delete-directory): Delete symlinks to directories with
17725 delete-file (Bug#4739).
17726
17727 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
17728
17729 * vc.el (vc-backend-for-registration): Rename from
17730 vc-get-backend-for-registration. Update callers.
17731
17732 * international/mule-cmds.el (set-language-info-alist):
17733 Purecopy lang-env.
17734 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
17735 (charset): Purecopy the name.
17736 (define-char-code-property): Purecopy string arguments.
17737
17738 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17739 Purecopy string arguments.
17740
17741 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
17742 * ediff-hook.el (menu-bar-ediff-menu):
17743 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
17744 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
17745
17746 2009-10-24 Glenn Morris <rgm@gnu.org>
17747
17748 * comint.el (comint-dynamic-list-completions):
17749 * term.el (term-dynamic-list-completions): Use choose-completion rather
17750 than obsolete alias mouse-choose-completion.
17751
17752 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
17753 file-cache-choose-completion.
17754 (file-cache-choose-completion): Handle an optional event argument.
17755 (file-cache-mouse-choose-completion): Make it an obsolete alias.
17756
17757 * progmodes/octave-mod.el (octave-complete-symbol):
17758 Use choose-completion if mouse-choose-completion is ever removed.
17759
17760 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
17761 use.
17762
17763 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
17764 compiler.
17765
17766 * vc-hooks.el (vc-responsible-backend): Fix declaration.
17767
17768 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
17769
17770 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
17771 Ignore `pred' now that we receive one.
17772 Handle test-completion specially.
17773
17774 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
17775
17776 * vc.el (vc-responsible-backend): Throw an error if not backend is
17777 found. Remove the REGISTER argument. Move the code dealing with
17778 REGISTER ...
17779 (vc-get-backend-for-registration): ... here. New function.
17780 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
17781 of vc-responsible-backend, pass the file name instead of the
17782 directory name.
17783
17784 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
17785
17786 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
17787 New funs.
17788 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
17789 (pcomplete-comint-setup): Don't modify a global var via
17790 accidental side-effects.
17791 (pcomplete-shell-setup): Adjust call accordingly.
17792 (pcomplete-parse-comint-arguments): Use push.
17793
17794 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
17795
17796 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
17797 Allow uncapitalized info node names (Bug#3921).
17798
17799 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
17800 to the DEBUG file (Bug#3781).
17801
17802 2009-10-23 Jari Aalto <jari.aalto@cante.net>
17803
17804 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
17805 dictionary entry (Bug#4579).
17806
17807 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
17808
17809 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
17810 from `rfn-eshadow-update-overlay-hook' when unloading.
17811 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
17812 "rsyncc". Adjust doc string.
17813 (tramp-temp-buffer-file-name): New buffer-local defvar.
17814 (tramp-handle-insert-file-contents, tramp-handle-write-region):
17815 Keep temporary file when indicated by method ("rsync" and
17816 "rsyncc").
17817 (tramp-handle-write-region): Handle APPEND.
17818 (tramp-delete-temp-file-function): New defun. Added to
17819 `kill-buffer-hook'.
17820
17821 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
17822
17823 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
17824
17825 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
17826
17827 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
17828 (color-name-rgb-alist, tty-standard-colors)
17829 (tty-color-mode-alist): Change to defconst.
17830
17831 * simple.el (mark-inactive): Purecopy message.
17832
17833 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
17834 (global-map, yank-menu):
17835 * textmodes/ispell.el (ispell-menu-map):
17836 * net/eudc.el (eudc-tools-menu):
17837 * international/mule-cmds.el (describe-language-environment-map)
17838 (setup-language-environment-map, set-coding-system-map)
17839 (mule-menu-keymap):
17840 * vc-hooks.el (vc-menu-entry, vc-menu-map):
17841 * replace.el (occur-mode-map):
17842 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
17843
17844 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
17845
17846 * calc/calc.el (math-read-number, math-read-number-simple):
17847 Use `save-match-data'.
17848
17849 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
17850
17851 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
17852 rather than fiddling with global-map bindings, since it should only
17853 affect per-terminal settings.
17854 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
17855
17856 * minibuffer.el (completion-table-with-terminator): Allow to specify
17857 the terminator-regexp.
17858
17859 * simple.el (switch-to-completions): Look for *Completions* in other
17860 frames as well.
17861
17862 * pcomplete.el: Allow the use of completion-tables.
17863 (pcomplete-std-complete): New command.
17864 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
17865 (pcomplete--here): Use a function for `form' rather than an expression,
17866 so it can be byte-compiled.
17867 (pcomplete-here, pcomplete-here*): Adjust accordingly.
17868 Add edebug declaration.
17869 (pcomplete-show-completions): Remove unused var `curbuf'.
17870 (pcomplete-do-complete, pcomplete-stub):
17871 Don't assume `completions' is a list of strings any more.
17872
17873 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
17874
17875 * find-dired.el (find-name-arg): Fix typo in docstring.
17876
17877 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
17878
17879 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
17880 (pcmpl-linux-fs-types): Same, and update to new modules layout.
17881
17882 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
17883 pcomplete-entries.
17884
17885 * comint.el (comint-read-input-ring, comint-write-input-ring)
17886 (comint-substitute-in-file-name)
17887 (comint-dynamic-complete-as-filename)
17888 (comint-dynamic-simple-complete)
17889 (comint-dynamic-list-filename-completions)
17890 (comint-dynamic-list-completions)
17891 (comint-redirect-results-list-from-process): Minor simplifications.
17892
17893 2009-10-21 Kevin Ryde <user42@zip.com.au>
17894
17895 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
17896 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
17897 the first form. And insert a blank line after ";;; Code" since
17898 that's usual style. (Bug#4612)
17899
17900 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
17901
17902 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
17903
17904 * minibuffer.el (completion-table-with-terminator): Properly implement
17905 boundaries, in case `terminator' appears in the suffix.
17906 (completion--embedded-envvar-table): Don't return boundaries if
17907 there's no valid completion. Simplify.
17908 (completion-file-name-table): New completion table extracted from
17909 completion--file-name-table.
17910 (completion--file-name-table): Use it.
17911 (read-file-name-predicate): Declare obsolete.
17912 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
17913 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
17914 completion-file-name-table, and use the `pred' argument.
17915 * files.el (locate-file-completion-table): Use the `pred' arg rather
17916 than read-file-name-predicate.
17917 (abbreviate-file-name): Use \` rather than ^ for BOS.
17918
17919 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
17920
17921 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
17922 vc-responsible-backend to register, it causes problems.
17923
17924 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
17925
17926 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
17927
17928 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
17929
17930 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
17931 (tramp-smb-handle-file-attributes): Use it.
17932 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
17933 (tramp-smb-handle-insert-directory): Use `mapc' rather than
17934 `mapcar'. Use `tramp-smb-get-stat-capability'.
17935 Add `dired-filename' text properties.
17936 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
17937 (tramp-smb-maybe-open-connection): Simplify check for smbclient
17938 version.
17939
17940 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
17941
17942 * subr.el (read-key-delay): Reduce to 0.01.
17943 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
17944 (bug#4751).
17945
17946 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
17947
17948 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
17949
17950 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
17951 (Info-menu): Remove unused vars `last' and `completions'.
17952 (Info-index-nodes): Remove unused var `node'.
17953
17954 * info.el (Info-complete-menu-item): Use complete-with-action.
17955
17956 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
17957
17958 Make vc-annotate work through copies and renames.
17959 * vc-annotate.el (vc-annotate-extract-revision-at-line):
17960 Return the file name too.
17961 (vc-annotate-revision-at-line)
17962 (vc-annotate-find-revision-at-line)
17963 (vc-annotate-revision-previous-to-line)
17964 (vc-annotate-show-log-revision-at-line): Update to get the file
17965 name from vc-annotate-extract-revision-at-line.
17966 (vc-annotate-show-diff-revision-at-line-internal): Change the
17967 argument to mean whether to show a file diff or not. Get the file
17968 name from vc-annotate-extract-revision-at-line.
17969 (vc-annotate-show-diff-revision-at-line):
17970 Update vc-annotate-show-diff-revision-at-line call.
17971 (vc-annotate-warp-revision): Add an optional file argument.
17972
17973 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
17974 (vc-git-annotate-extract-revision-at-line): Also return the file
17975 name if found.
17976
17977 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
17978 command. Remove unused code.
17979 (vc-hg-annotate-re): Update to match --follow output.
17980 (vc-hg-annotate-extract-revision-at-line): Also return the file
17981 name if found.
17982
17983 * vc.el: Update annotate-extract-revision-at-line documentation.
17984
17985 2009-10-18 Kevin Ryde <user42@zip.com.au>
17986
17987 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
17988 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
17989
17990 * net/browse-url.el (browse-url): Identify alist with "consp and
17991 not functionp" and let all other things go down the `apply' leg,
17992 as suggested by Stefan. (Further to bug#4531.)
17993
17994 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
17995
17996 * minibuffer.el (read-file-name): Check for repeat before putting
17997 a default argument in file-name-history (Bug#4657).
17998
17999 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
18000 read syntax (Bug#4737).
18001
18002 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
18003
18004 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
18005
18006 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
18007 (html-tag-alist, html-tag-help): Add descriptions for undocumented
18008 entries and make note of obsolete tags.
18009
18010 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
18011
18012 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
18013
18014 2009-10-18 Glenn Morris <rgm@gnu.org>
18015
18016 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
18017 grep, so that binary files (eg international/uni-bidi.el) can match.
18018 Remove test for "UnicodeData" files, since it is hopefully unnecessary
18019 now, and in any case the file header format has changed.
18020
18021 2009-10-17 Glenn Morris <rgm@gnu.org>
18022
18023 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
18024 (flyspell-get-word, flyspell-large-region)
18025 (flyspell-auto-correct-previous-word): Doc/error message fixes.
18026
18027 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
18028
18029 * Makefile.in (ELCFILES): Add ede/shell.
18030
18031 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
18032
18033 * term/common-win.el (x-colors): Purecopy it.
18034
18035 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
18036
18037 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
18038 permissive for when the buffer is empty.
18039 (tar-header-block-tokenize): Decode the username and groupname.
18040 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
18041
18042 2009-10-17 Eric Ludlam <zappo@gnu.org>
18043
18044 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
18045 contains multibyte characters, choose first applicable coding
18046 system automatically.
18047
18048 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
18049
18050 * international/mule-cmds.el (select-safe-coding-system): If the file
18051 has a coding cookie, use it regardless of any other setting (bug#4712).
18052
18053 2009-10-17 Glenn Morris <rgm@gnu.org>
18054
18055 * foldout.el (foldout-mouse-swallow-events):
18056 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
18057
18058 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
18059 (dired-keep-marker-copy, dired-keep-marker-hardlink)
18060 (dired-keep-marker-symlink, dired-dwim-target)
18061 (dired-copy-preserve-time): Do not autoload these defcustoms.
18062
18063 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
18064 messages from messing up the file coding. (Bug#4623)
18065
18066 2009-10-17 Jari Aalto <jari.aalto@cante.net>
18067
18068 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
18069 if no match is found for the current dictionary. (Bug#4578)
18070
18071 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
18072 optional, since that is how it is documented, and this is often called
18073 with a nil argument. (Bug#4577)
18074 (flyspell-external-point-words, flyspell-auto-correct-word)
18075 (flyspell-correct-word-before-point, flyspell-word-search-forward)
18076 (flyspell-word-search-backward): Remove nil argument in calls to
18077 flyspell-get-word, since it is not needed now.
18078
18079 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
18080
18081 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
18082
18083 2009-10-16 Glenn Morris <rgm@gnu.org>
18084
18085 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
18086
18087 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
18088
18089 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
18090 (ange-ftp-file-size): New function.
18091 (ange-ftp-file-attributes): Use it.
18092
18093 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
18094
18095 * net/tramp-smb.el (tramp-smb-version): New defvar.
18096 (tramp-smb-maybe-open-connection): Use it, in order to avoid
18097 repeated checks.
18098
18099 2009-10-16 Glenn Morris <rgm@gnu.org>
18100
18101 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
18102 Maybe copy some custom properties from old to new name. (Bug#4706)
18103
18104 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
18105
18106 * subr.el (error, sit-for, start-process-shell-command)
18107 (start-file-process-shell-command): Set the calling convention
18108 after the function definition.
18109
18110 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
18111
18112 * subr.el (error, sit-for, start-process-shell-command)
18113 (start-file-process-shell-command): Use the new
18114 set-advertised-calling-convention feature.
18115
18116 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
18117
18118 * international/ucs-normalize.el (ucs-normalize-version):
18119 Change to 1.2.
18120 (check-range): Adjust for Unicode 5.2.
18121
18122 2009-10-15 Juri Linkov <juri@jurta.org>
18123
18124 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
18125 to the `menu-item' format.
18126
18127 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
18128
18129 * net/tramp.el (tramp-replace-environment-variables): Do not fail
18130 if the environment variable does not exist.
18131
18132 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
18133 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
18134 parameter.
18135 (tramp-smb-handle-add-name-to-file)
18136 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
18137 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
18138 (tramp-smb-handle-file-attributes)
18139 (tramp-smb-do-file-attributes-with-stat)
18140 (tramp-smb-handle-file-local-copy)
18141 (tramp-smb-handle-insert-directory)
18142 (tramp-smb-handle-make-directory)
18143 (tramp-smb-handle-make-directory-internal)
18144 (tramp-smb-handle-make-symbolic-link)
18145 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
18146 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
18147 (tramp-smb-maybe-open-connection): Apply the changed parameters.
18148 (tramp-smb-read-file-entry): Read Disk names in compressed format.
18149 Handle long file names.
18150 (tramp-smb-get-cifs-capabilities): Check, whether the connection
18151 process is running.
18152 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
18153 Read share names with "-g" option.
18154
18155 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
18156
18157 * net/rcirc.el (rcirc-view-log-file): New command.
18158 (rcirc-track-minor-mode-map): Remove C-c ` binding.
18159 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
18160 specified.
18161
18162 2009-10-15 Glenn Morris <rgm@gnu.org>
18163
18164 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
18165 from the second command-line argument.
18166 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
18167 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
18168 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
18169 w32-batch-update-autoloads.
18170 * emacs-lisp/autoload.el (autoload-make-program): New variable.
18171 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
18172
18173 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
18174 the headers cannot be located. Simplify, subtracting superflous
18175 save-excursions.
18176
18177 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
18178
18179 Replace completion-base-size by completion-base-position to fix bugs
18180 such as (bug#4699).
18181 * simple.el (completion-base-position): New var.
18182 (completion-base-size): Mark as obsolete.
18183 (choose-completion): Make it work for mouse events as well.
18184 Pass the new base-position to choose-completion-string.
18185 (choose-completion-guess-base-position): New function, extracted from
18186 choose-completion-delete-max-match.
18187 (choose-completion-delete-max-match): Use it. Make obsolete.
18188 (choose-completion-string): Use the new base-position info.
18189 (completion-root-regexp): Delete.
18190 (completion-setup-function): Preserve completion-base-position.
18191 Eliminate obsolete base-size manipulation.
18192 * minibuffer.el (display-completion-list): Don't mess with base-size.
18193 (minibuffer-completion-help): Set completion-base-position instead.
18194 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
18195 choose-completion.
18196 * textmodes/bibtex.el (bibtex-complete):
18197 * emacs-lisp/crm.el (crm--choose-completion-string):
18198 Adjust to new calling convention.
18199 * complete.el (partial-completion-mode): Use minibufferp to avoid
18200 bumping into incompatible change to choose-completion-string-functions.
18201 * ido.el (ido-choose-completion-string): Make its calling convention
18202 more permissive.
18203 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
18204 base-size manipulation.
18205 (comint-dynamic-list-input-ring): Use dotimes and push.
18206 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
18207 fundamental-mode. Use `or'.
18208
18209 2009-10-14 Juri Linkov <juri@jurta.org>
18210
18211 * misearch.el (multi-isearch-next-buffer-from-list)
18212 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
18213
18214 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
18215
18216 * Makefile.in (compile-onefile): Load `bytecomp' rather than
18217 `bytecomp.el'.
18218
18219 * minibuffer.el (completion-pcm--merge-completions): Make sure the
18220 string we return is all made up of text from the completions rather
18221 than part from the completions and part from the input (bug#4219).
18222
18223 * ido.el (ido-everywhere): Use define-minor-mode.
18224
18225 * buff-menu.el (list-buffers, ctl-x-map):
18226 Mark the entry points with ;;;###autoload cookies.
18227
18228 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
18229
18230 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
18231 correctly in the detached head case.
18232 (vc-git-print-log): Remove unused binding.
18233
18234 * vc.el (vc-responsible-backend): When a directory is passed for
18235 for registration create a VC repository if no backend is
18236 responsible for the directory argument.
18237 (vc-deduce-fileset): Tell vc-responsible-backend to register.
18238
18239 * vc.el: Move comments about RCS and SCCS ...
18240 * vc-rcs.el:
18241 * vc-sccs.el: ... here, respectively.
18242
18243 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
18244
18245 * minibuffer.el (completion--file-name-table): Return nil if there's
18246 no file completion, even if substitute-in-file-name changed
18247 the string (bug#4708).
18248
18249 2009-10-13 Juri Linkov <juri@jurta.org>
18250
18251 * files-x.el (read-file-local-variable-value): Don't filter out
18252 minor modes from mode name completion (bug#4664).
18253
18254 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
18255
18256 * international/mule-cmds.el (ucs-names): Remove exclusion of
18257 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
18258
18259 2009-10-13 Kenichi Handa <handa@m17n.org>
18260
18261 * international/uni-name.el: Regenerated.
18262
18263 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
18264
18265 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
18266 should be automatically buffer-local, but isn't.)
18267
18268 2009-10-12 Sam Steingold <sds@gnu.org>
18269
18270 * progmodes/compile.el (compilation-next-error-function): Fix the
18271 timestamps if the buffer has been visited before.
18272 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
18273 non-anchored patterns, like the perl one (bug#3928).
18274
18275 2009-10-12 Glenn Morris <rgm@gnu.org>
18276
18277 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
18278 Let-bind `size'.
18279
18280 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
18281
18282 * proced.el (proced-unload-function): New function.
18283
18284 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
18285 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
18286 Doc fix.
18287
18288 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
18289
18290 2009-10-11 Juri Linkov <juri@jurta.org>
18291
18292 * files-x.el (read-file-local-variable-value):
18293 Provide default value only for bound variables (bug#4664).
18294
18295 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
18296
18297 * net/tramp.el (tramp-local-host-p): Function shall return nil for
18298 connection methods like smb.
18299
18300 * net/tramp-cache.el (tramp-flush-connection-property): The hash
18301 can be empty.
18302
18303 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
18304 (tramp-smb-file-name-handler-alist): Add handlers for
18305 `add-name-to-file', `make-symbolic-link'.
18306 (tramp-smb-handle-add-name-to-file)
18307 (tramp-smb-do-file-attributes-with-stat)
18308 (tramp-smb-handle-make-symbolic-link)
18309 (tramp-smb-get-cifs-capabilities): New defuns.
18310 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
18311 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
18312 (tramp-smb-handle-file-local-copy)
18313 (tramp-smb-handle-make-directory-internal)
18314 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
18315 The file name syntax depends on cifs capabilities.
18316 (tramp-smb-handle-file-attributes):
18317 Call `tramp-smb-do-file-attributes-with-stat' if possible.
18318 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
18319 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
18320
18321 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
18322
18323 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
18324 (eieio-defclass): Apply deftype handler and setf-method properties
18325 directly.
18326 (eieio-add-new-slot): Avoid union function from cl library.
18327 (eieio--typep): New function.
18328 (eieio-perform-slot-validation): Use it.
18329
18330 2009-10-10 Karl Fogel <kfogel@red-bean.com>
18331
18332 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
18333 Update documentation to refer to the variables documented in r1.135.
18334 (Bug#4188)
18335
18336 2009-10-10 Karl Fogel <kfogel@red-bean.com>
18337
18338 * bookmark.el (Info-suffix-list): Remove this unused variable.
18339 (bookmark-current-point): Remove this obsolete variable.
18340 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
18341 Adjust for removal of bookmark-current-point.
18342
18343 (bookmarks-already-loaded, bookmark-current-buffer)
18344 (bookmark-yank-point): Document. (Bug#4188)
18345
18346 2009-10-10 Glenn Morris <rgm@gnu.org>
18347
18348 * frame.el (frame-height): Doc fix.
18349
18350 * calendar/calendar.el (calendar-split-width-threshold): New option.
18351 (calendar-basic-setup): Use calendar-split-width-threshold.
18352
18353 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
18354
18355 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
18356 Ideographic Supplement" range (U+1F200..U+1F2FF).
18357
18358 2009-10-09 Karl Fogel <kfogel@red-bean.com>
18359
18360 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
18361 since the list will have been rebuilt anyway. (Bug#4349)
18362
18363 2009-10-09 Karl Fogel <kfogel@red-bean.com>
18364
18365 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
18366 (bookmark-bmenu-execute-deletions): Don't save here, as
18367 bookmark-delete will now do so if necessary.
18368 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
18369 (Bug#4348)
18370
18371 2009-10-09 Glenn Morris <rgm@gnu.org>
18372
18373 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
18374
18375 2009-10-09 Karl Fogel <kfogel@red-bean.com>
18376
18377 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
18378 (bookmark-jump-other-window): Just invoke bookmark-jump with new
18379 argument now, so the two function's behaviors will match. (Bug#3645)
18380
18381 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
18382
18383 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
18384 (tramp-file-name-real-host, tramp-file-name-port):
18385 Apply `save-match-data'.
18386
18387 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
18388 case both directories are remote.
18389 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
18390 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
18391
18392 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
18393
18394 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
18395
18396 2009-10-07 Glenn Morris <rgm@gnu.org>
18397
18398 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
18399 of concat.
18400
18401 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
18402
18403 * files-x.el (read-file-local-variable): Include some
18404 non-user-variables in the completion table (bug#4664).
18405
18406 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
18407
18408 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
18409 message.
18410
18411 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
18412 (tramp-smb-file-name-handler-alist): Add handler for
18413 `copy-directory', `expand-file-name', `set-file-modes'.
18414 (tramp-smb-handle-copy-directory)
18415 (tramp-smb-handle-expand-file-name)
18416 (tramp-smb-handle-set-file-modes): New defuns.
18417 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
18418 (tramp-smb-handle-file-attributes): Simplify check for retrieving
18419 entry.
18420 (tramp-smb-handle-insert-directory): Don't flush the cache.
18421 (tramp-smb-maybe-open-connection): Check for samba client and
18422 server versions.
18423
18424 2009-10-07 Eli Zaretskii <eliz@gnu.org>
18425
18426 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
18427 to not error out of search for "^lisp=" fails.
18428
18429 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
18430
18431 * makefile.w32-in (WINS_UPDATES): New macro.
18432 (custom-deps, finder-data, autoloads): Use it.
18433
18434 2009-10-07 Glenn Morris <rgm@gnu.org>
18435
18436 * Makefile.in (autoloads): Revert previous change.
18437 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
18438 the list of preloaded files passed on the command-line, get
18439 it from src/Makefile.
18440
18441 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
18442 show the original buffer rather than a random one.
18443
18444 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
18445
18446 * help.el (describe-no-warranty): Place point in a slightly better
18447 position in the GPLv3 text.
18448
18449 2009-10-06 Sam Steingold <sds@gnu.org>
18450
18451 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
18452 the comm attribute is present before calling regexp-quote.
18453
18454 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
18455
18456 * play/animate.el (animate-string): For good effect, make sure
18457 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
18458
18459 * play/animate.el (animate-sequence, animate-birthday-present):
18460 * misc.el (butterfly): Don't set `indent-tabs-mode'.
18461
18462 2009-10-06 Glenn Morris <rgm@gnu.org>
18463
18464 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
18465
18466 * emacs-lisp/autoload.el (autoload-excludes): New variable.
18467 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
18468 (batch-update-autoloads): Process a string value of autoload-excludes,
18469 set during the build process.
18470 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
18471
18472 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
18473 inside with-parsed... macro so that `v' is defined.
18474
18475 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
18476 * progmodes/fortran.el (fortran-end-of-block)
18477 (fortran-beginning-of-block):
18478 Also push mark in the macro case.
18479
18480 * emerge.el (emerge-show-file-name):
18481 * calc/calc.el (calc-quit):
18482 * calc/calc-misc.el (calc-big-or-small):
18483 * calc/calc-graph.el (calc-graph-view):
18484 * calc/calc-ext.el (calc-reset):
18485 * calendar/calendar.el (calendar-basic-setup):
18486 Use window-full-height-p.
18487
18488 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
18489 header we don't understand, don't insert another. (Bug#4624)
18490 If changing mime charset, insert the new one in the right place.
18491
18492 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
18493
18494 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
18495 (cal-tex-cursor-month): Correctly increment the end date for diary and
18496 holiday listing. (Bug#4626)
18497
18498 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18499
18500 * help-fns.el (describe-function-1): Don't burp if the function is not
18501 a symbol.
18502
18503 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
18504
18505 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
18506 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
18507 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
18508 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
18509
18510 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
18511 (eieio-default-superclass): Reflow docstrings.
18512 (this, class-option-assoc, defclass, eieio-class-un-autoload)
18513 (eieio-unbind-method-implementations, defmethod)
18514 (eieio-validate-slot-value, eieio-validate-class-slot-value)
18515 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
18516 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
18517 (eieio-slot-originating-class-p, eieio-slot-name-index)
18518 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
18519 (constructor, initialize-instance, no-next-method, object-print)
18520 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
18521 Fix typos in docstrings.
18522 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
18523 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
18524 (next-method-p): Doc fixes.
18525 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
18526 Fix typos in error messages.
18527 (eieio-defmethod): Fix typo in description of generic method.
18528
18529 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
18530 (eieio-persistent-save-interactive, slot-missing):
18531 Fix typos in docstrings.
18532 (eieio-instance-inheritor-slot-boundp): Doc fix.
18533
18534 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
18535 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
18536
18537 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
18538 (eieio-custom-object-apply-reset):
18539 Fix typos in docstrings and error messages.
18540
18541 * emacs-lisp/eieio-datadebug.el (data-debug-show):
18542 Fix typo in docstring.
18543
18544 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
18545 (eieio-browse-tree): Doc fix.
18546 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
18547 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
18548 Fix typos in docstrings.
18549
18550 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
18551 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
18552 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
18553 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
18554 Reflow docstrings.
18555
18556 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
18557
18558 * vc-hg.el (log-view-vc-backend): Declare for compiler.
18559 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
18560 Set log-view-vc-backend so that diff can work.
18561
18562 * log-view.el (log-view-diff): Use vc-diff-internal instead of
18563 vc-version-diff.
18564 (vc-diff-internal): Autoload this instead of vc-version-diff.
18565
18566 2009-10-05 Eli Zaretskii <eliz@gnu.org>
18567
18568 * simple.el (eval-expression): Doc fix.
18569
18570 * progmodes/cwarn.el (cwarn-mode): Doc fix.
18571
18572 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
18573
18574 * files.el (directory-files-no-dot-files-regexp): New defconst.
18575 (delete-directory): Use it.
18576 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
18577
18578 * net/tramp.el (tramp-verbose): Fix docstring.
18579 (tramp-methods): Add recursive option to `tramp-copy-args'.
18580 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
18581 "scp1_old", "scp2_old", "rsync", "rsyncc".
18582 (tramp-default-method): Check also for `auth-source-user-or-password'.
18583 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
18584 Add handler for `copy-directory'.
18585 (tramp-handle-copy-directory): New defun.
18586 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
18587 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
18588 Optimize sent command.
18589
18590 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18591
18592 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
18593 window if necessary.
18594
18595 * calendar/calendar.el (calendar-basic-setup): Don't call
18596 switch-to-buffer in a dedicated window.
18597
18598 2009-10-05 Karl Fogel <kfogel@red-bean.com>
18599
18600 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
18601 don't do anything related to relocating, just return nil.
18602 (bookmark-error-no-filename): New error.
18603 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
18604 bookmark has no file. Don't even attempt to handle things that
18605 are not files; the whole point of custom handlers is to keep that
18606 knowledge elsewhere anyway. Tighten some comments.
18607 (bookmark-file-or-variation-thereof): Remove now-unused function.
18608 (bookmark-location): Doc string fix.
18609 (Bug#4250)
18610
18611 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18612
18613 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
18614 don't use a file dialog, because they usually don't know how to read
18615 a directory target from the user. (Bug#4230)
18616 Also, make sure the prompt can display directories as well as files.
18617
18618 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18619
18620 * bookmark.el (bookmark-set, bookmark-buffer-name):
18621 Improve doc strings. (Bug#1193)
18622
18623 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18624
18625 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
18626 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
18627 (bookmark-get-annotation, bookmark-set-annotation)
18628 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
18629 (bookmark-set-position, bookmark-get-front-context-string)
18630 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
18631 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
18632 (bookmark-jump-other-window, bookmark-handle-bookmark)
18633 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
18634 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
18635 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
18636 Improve doc strings to say whether bookmark can be a string or
18637 a record or both, and make other consistency and clarity fixes.
18638 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
18639 (bookmark-default-annotation-text, bookmark-yank-word)
18640 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
18641 (bookmark-import-new-list, bookmark-maybe-rename)
18642 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
18643 (bookmark-bmenu-bookmark): Give these doc strings.
18644 (bookmark-bmenu-check-position): Give this a doc string, but also
18645 add a FIXME comment about how the function may be pointless.
18646 (bookmark-default-handler): Rework doc string and change a
18647 parameter name, to clarify that this takes a bookmark record
18648 not a bookmark name.
18649 (bookmark-set): Change a parameter name to indicate its meaning,
18650 and improve the doc string a bit.
18651 (Bug#4188)
18652
18653 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18654
18655 * bookmark.el (bookmark-alist): Document the new `handler' element
18656 in the param alist.
18657 (bookmark-make-record-function): Adjust documentation for above.
18658 (Bug#4193)
18659
18660 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18661
18662 * info.el (Info-bookmark-make-record): Document this function.
18663 (Info-bookmark-jump): Document with a doc string, not just a comment.
18664 (Bug#4203)
18665
18666 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
18667
18668 * files.el (copy-directory): New defun.
18669
18670 * dired-aux.el (dired-copy-file-recursive): Use it.
18671
18672 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
18673
18674 * files-x.el (modify-dir-local-variable)
18675 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
18676 docstrings.
18677
18678 * recentf.el (recentf-unload-function): New function.
18679
18680 2009-10-04 Glenn Morris <rgm@gnu.org>
18681
18682 * window.el (window-full-height-p): Add doc string.
18683
18684 2009-10-04 Martin Rudalics <rudalics@gmx.at>
18685
18686 * window.el (window-full-height-p): New function. (Bug#4543)
18687
18688 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
18689
18690 * vc.el: Remove commented out code.
18691 (vc-derived-from-dir-mode): Remove, unused.
18692 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
18693
18694 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
18695
18696 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
18697 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
18698 there could be recursive loading when `default-directory' is a
18699 remote file name. (Bug#4614)
18700
18701 2009-10-03 Glenn Morris <rgm@gnu.org>
18702
18703 * calendar/calendar.el (calendar-basic-setup): Handle the case where
18704 the frame is wide.
18705 (calendar-generate-window): Test for shrinkability rather than width.
18706
18707 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
18708 reusing existing buffers, in case we happen to visit two files with the
18709 same basename. (Bug#4593)
18710
18711 2009-10-02 Eli Zaretskii <eliz@gnu.org>
18712
18713 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
18714 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
18715 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
18716 subdirs of cedet as well.
18717 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
18718
18719 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
18720
18721 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
18722 Obey advertised-signature-table.
18723
18724 * help-fns.el (help-function-arglist): Don't check
18725 advertised-signature-table.
18726 (describe-function-1): Do it here instead so it also applies to subrs.
18727
18728 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
18729
18730 * simple.el (start-file-process): Say in the doc-string, that file
18731 handlers might not support pty association, if PROGRAM is nil.
18732
18733 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
18734 HOST and USER are strings. They are nil, when there are
18735 incomplete entries in ~/.netrc, for example.
18736 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
18737 root directory ("device busy" error otherwise).
18738
18739 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
18740 Flush file properties of created directory.
18741
18742 2009-10-02 Eli Zaretskii <eliz@gnu.org>
18743
18744 * makefile.w32-in (WINS_BASIC): Remove cedet.
18745 (WINS_CEDET): Add cedet.
18746 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
18747
18748 2009-10-02 Kevin Ryde <user42@zip.com.au>
18749
18750 * net/browse-url.el (browse-url): Pass any symbol in
18751 browse-url-browser-function to `apply', since if you've mistakenly put
18752 an unbound symbol then the error is clearer. (Bug#4531)
18753
18754 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
18755
18756 * allout.el (allout-init, allout-back-to-current-heading)
18757 (allout-beginning-of-current-entry, allout-ascend-to-depth)
18758 (allout-ascend, allout-up-current-level, allout-end-of-level)
18759 (allout-previous-visible-heading, allout-forward-current-level)
18760 (allout-backward-current-level, allout-show-children):
18761 * apropos.el (apropos-describe-plist):
18762 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
18763 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
18764 * completion.el (add-completion, add-permanent-completion):
18765 * descr-text.el (describe-text-category, describe-char):
18766 * desktop.el (desktop-lazy-abort):
18767 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
18768 * dired.el (dired-build-subdir-alist):
18769 * ediff.el (ediff-version):
18770 * elide-head.el (elide-head, elide-head-show):
18771 * emerge.el (emerge-version):
18772 * env.el (getenv):
18773 * face-remap.el (variable-pitch-mode):
18774 * faces.el (describe-face):
18775 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
18776 (dired-at-point):
18777 * files.el (find-file-existing, auto-save-mode):
18778 * font-lock.el (font-lock-fontify-buffer):
18779 * help-fns.el (describe-function, describe-variable)
18780 (describe-syntax, describe-categories):
18781 * help.el (view-lossage, describe-bindings, describe-key)
18782 (describe-mode):
18783 * hexl.el (hexl-current-address):
18784 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
18785 * info.el (Info-goto-emacs-key-command-node):
18786 * log-edit.el (log-edit-insert-cvs-template)
18787 (log-edit-insert-cvs-rcstemplate):
18788 * menu-bar.el (menu-bar-mode):
18789 * mouse.el (mouse-appearance-menu):
18790 * newcomment.el (comment-indent-new-line):
18791 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
18792 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
18793 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
18794 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
18795 * recentf.el (recentf-mode):
18796 * savehist.el (savehist-mode, savehist-save):
18797 * shadowfile.el (shadow-copy-files):
18798 * simple.el (kill-ring-save, next-line, previous-line)
18799 (normal-erase-is-backspace-mode):
18800 * strokes.el (strokes-update-window-configuration)
18801 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
18802 (strokes-xpm-for-stroke):
18803 * time.el (emacs-uptime, emacs-init-time):
18804 * tutorial.el (tutorial--describe-nonstandard-key)
18805 (tutorial--detailed-help):
18806 * type-break.el (type-break-mode)
18807 (type-break-mode-line-message-mode, type-break-query-mode)
18808 (type-break-guesstimate-keystroke-threshold):
18809 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
18810 * version.el (emacs-version):
18811 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
18812 * winner.el (winner-mode):
18813 * calendar/timeclock.el (timeclock-in, timeclock-out)
18814 (timeclock-status-string, timeclock-change)
18815 (timeclock-workday-remaining-string)
18816 (timeclock-workday-elapsed-string)
18817 (timeclock-when-to-leave-string):
18818 * calendar/todo-mode.el (todo-add-category):
18819 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
18820 * emacs-lisp/autoload.el (update-file-autoloads):
18821 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
18822 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
18823 (checkdoc-message-text, checkdoc-defun):
18824 * emacs-lisp/debug.el (debugger-list-functions):
18825 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
18826 * emacs-lisp/eieio-opt.el (eieio-describe-class)
18827 (eieio-describe-generic):
18828 * emacs-lisp/lisp-mnt.el (lm-synopsis):
18829 * emacs-lisp/shadow.el (list-load-path-shadows):
18830 * emulation/cua-base.el (cua-mode):
18831 * emulation/edt.el (edt-set-scroll-margins):
18832 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
18833 (tpu-toggle-regexp, tpu-toggle-search-direction)
18834 (tpu-toggle-rectangle, tpu-toggle-control-keys):
18835 * emulation/tpu-extras.el (tpu-set-scroll-margins):
18836 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
18837 (viper-set-parsing-style-toggling-macro)
18838 (viper-set-emacs-state-searchstyle-macros):
18839 * emulation/viper.el (viper-set-hooks):
18840 * eshell/esh-mode.el (eshell-truncate-buffer):
18841 * international/mule-cmds.el (prefer-coding-system)
18842 (describe-input-method, describe-language-environment):
18843 * international/mule-diag.el (list-character-sets)
18844 (describe-character-set, describe-coding-system)
18845 (describe-fontset, list-fontsets, list-input-methods):
18846 * mail/sendmail.el (mail-signature):
18847 * net/ange-ftp.el (ange-ftp-copy-file):
18848 * net/browse-url.el (browse-url):
18849 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
18850 * net/quickurl.el (quickurl-add-url):
18851 * net/rcirc.el (names, topic):
18852 * net/xesam.el (xesam-mode):
18853 * play/5x5.el (5x5-new-game):
18854 * play/yow.el (apropos-zippy):
18855 * progmodes/ada-mode.el (ada-mode-version):
18856 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
18857 (f90-end-of-block)
18858 (f90-beginning-of-block):
18859 * progmodes/fortran.el (fortran-end-of-block)
18860 (fortran-beginning-of-block):
18861 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
18862 * progmodes/python.el (python-describe-symbol, python-shell):
18863 * term/ns-win.el (ns-print-buffer):
18864 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
18865 * textmodes/flyspell.el (flyspell-mode-on):
18866 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
18867 (pages-directory-for-addresses):
18868 * textmodes/table.el (table-recognize-cell)
18869 (table-query-dimension, table-generate-source)
18870 (table-insert-sequence, table--warn-incompatibility):
18871 * textmodes/tex-mode.el (tex-validate-buffer):
18872 * textmodes/texinfmt.el (texinfmt-version)
18873 (texinfo-format-buffer):
18874 Use `called-interactively-p' instead of `interactive-p'.
18875
18876 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
18877
18878 * image-mode.el (image-toggle-display):
18879 * emacs-lisp/elp.el (elp-instrument-function):
18880 * emacs-lisp/advice.el (ad-make-advised-definition):
18881 * emacs-lisp/easy-mmode.el (define-minor-mode):
18882 * net/browse-url.el (browse-url-maybe-new-window):
18883 * progmodes/sh-script.el (sh-learn-buffer-indent):
18884 Pass new argument 'any to `called-interactively-p'.
18885
18886 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
18887
18888 * international/uni-bidi.el:
18889 * international/uni-category.el:
18890 * international/uni-combining.el:
18891 * international/uni-comment.el:
18892 * international/uni-decimal.el:
18893 * international/uni-decomposition.el:
18894 * international/uni-digit.el:
18895 * international/uni-lowercase.el:
18896 * international/uni-mirrored.el:
18897 * international/uni-name.el:
18898 * international/uni-numeric.el:
18899 * international/uni-old-name.el:
18900 * international/uni-titlecase.el:
18901 * international/uni-uppercase.el:
18902 Regenerate from Unicode 5.2.0 data.
18903
18904 2009-10-01 Glenn Morris <rgm@gnu.org>
18905
18906 * Makefile.in (ELCFILES): Regenerate.
18907
18908 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
18909
18910 * subr.el (interactive-p): Mark obsolete.
18911 (called-interactively-p): Make the optional-ness of `kind' obsolete.
18912 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
18913 advertised-signature-table for subroutines as well.
18914
18915 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
18916 (set-advertised-calling-convention): New function.
18917 (make-obsolete, define-obsolete-function-alias)
18918 (make-obsolete-variable, define-obsolete-variable-alias):
18919 Make the optional-ness of `when' obsolete.
18920 (define-obsolete-face-alias): Make `when' non-optional.
18921 * help-fns.el (help-function-arglist):
18922 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
18923 Use advertised-signature-table.
18924
18925 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
18926
18927 * files.el (delete-directory): New defun. The original function
18928 in fileio.c has been renamed to `delete-directory-internal'.
18929
18930 * dired.el (dired-delete-file): Call `delete-directory' with
18931 RECURSIVE parameter.
18932
18933 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
18934 parameter RECURSIVE. Implementation is missing.
18935
18936 * net/tramp.el (tramp-handle-make-directory): Flush upper
18937 directory's file properties.
18938 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
18939 (tramp-handle-dired-recursive-delete-directory): Flush directory
18940 properties after the remove command only.
18941
18942 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
18943 Handle optional parameter RECURSIVE.
18944
18945 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
18946 Handle optional parameter RECURSIVE.
18947
18948 * net/tramp-smb.el (tramp-smb-errors): Add error message for
18949 connection timeout.
18950 (tramp-smb-handle-delete-directory): Handle optional parameter
18951 RECURSIVE.
18952
18953 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
18954
18955 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
18956 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
18957 (byte-compile-defmacro): Use backquotes.
18958
18959 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
18960
18961 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
18962 has no associated file.
18963 (vc-resynch-buffer): Use vc-dir-buffers.
18964
18965 2009-10-01 Glenn Morris <rgm@gnu.org>
18966
18967 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
18968 (chart-file-count):
18969 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
18970 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
18971 * emacs-lisp/eieio-opt.el (eieio-describe-class):
18972 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
18973 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
18974 (eieio-copy-parents-into-subclass, make-instance, class-children)
18975 (eieio-generic-form):
18976
18977 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
18978 match-data. (Bug#4555).
18979
18980 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
18981 rather than parsing it as a regexp. This relaxes the layout
18982 requirements and makes errors easier to detect.
18983 (check-declare-verify): Check file is regular.
18984 (check-declare-directory): Doc fix.
18985 * subr.el (declare-function): Doc fix.
18986
18987 * ibuffer.el (ibuffer-format-qualifier):
18988 * isearch.el (hi-lock-regexp-okay):
18989 * calc/calc.el (math-zerop):
18990 * mail/uce.el (rmail-msgbeg, rmail-msgend):
18991 * term/w32-win.el (setup-default-fontset, set-fontset-font):
18992 Remove unused declarations.
18993
18994 2009-09-30 Eric Ludlam <zappo@gnu.org>
18995
18996 * emacs-lisp/eieio.el (boolean-p): Delete.
18997
18998 2009-09-30 Glenn Morris <rgm@gnu.org>
18999
19000 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
19001
19002 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
19003 filename is not a string.
19004
19005 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
19006
19007 * files.el (safe-local-eval-forms): Fix typo.
19008
19009 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
19010
19011 * vc-hooks.el (vc-dir-buffers): New var.
19012 (vc-state-refresh): New function.
19013 (vc-state): Use it.
19014 (vc-after-save): Always ask the backend to recompute the new state.
19015 Always call vc-dir if necessary, using vc-dir-buffers.
19016 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
19017 Use vc-dir-buffers.
19018 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
19019 (vc-dir-prepare-status-buffer, vc-dir-update)
19020 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
19021 Don't call expand-file-name on default-directory.
19022
19023 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
19024
19025 * speedbar.el (speedbar-item-delete):
19026 * calc/calc-prog.el (calc-kbd-if):
19027 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
19028
19029 * epa.el (epa-key-list-mode-map):
19030 * hi-lock.el (hi-lock-menu): Fix typos in menus.
19031
19032 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
19033 (hs-show-hook): Fix typo in docstring.
19034
19035 2009-09-29 Glenn Morris <rgm@gnu.org>
19036
19037 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
19038 file-name-nondirectory call preventing location of cedet files.
19039 (check-declare-verify): Use literal search rather than re-search.
19040 Add basic defmethod and defclass, and define-overloadable-function.
19041
19042 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
19043 Use tramp-compat-file-attributes rather than nonexistent
19044 tramp-compat-handle-file-attributes.
19045
19046 * Makefile.in (lisptagsfiles4): New.
19047 (AUTOGENEL): Add cedet loaddefs files.
19048 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
19049 (update-elclist, compile-always, backup-compiled-files)
19050 (bootstrap-clean): Add yet another directory level.
19051 (update-elclist): Use LC_COLLATE rather than COLLATE.
19052 (ELCFILES): Update, via `make update-elclist'.
19053
19054 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
19055
19056 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
19057 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
19058 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
19059
19060 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
19061
19062 * Makefile.in (lisptagsfiles3): Define.
19063 (TAGS, TAGS-LISP): Use it.
19064 (update-elclist): Add third directory level to look for elc files.
19065 (compile-always): Likewise.
19066 (backup-compiled-files): Likewise.
19067 (bootstrap-clean): Likewise.
19068 (ELCFILES): Update.
19069
19070 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
19071
19072 * Makefile.in (ELCFILES): Add CEDET files.
19073
19074 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
19075
19076 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
19077
19078 * net/tramp.el (top): Require tramp-imap.
19079
19080 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
19081 Use `tramp-compat-handle-file-attributes'.
19082
19083 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
19084
19085 * net/tramp-imap.el: New package.
19086
19087 2009-09-28 Eric Ludlam <zappo@gnu.org>
19088
19089 * emacs-lisp/chart.el:
19090 * emacs-lisp/eieio-base.el:
19091 * emacs-lisp/eieio-comp.el:
19092 * emacs-lisp/eieio-custom.el:
19093 * emacs-lisp/eieio-datadebug.el:
19094 * emacs-lisp/eieio-opt.el:
19095 * emacs-lisp/eieio-speedbar.el:
19096 * emacs-lisp/eieio.el: New files.
19097
19098 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19099
19100 * whitespace.el (whitespace-trailing-regexp)
19101 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
19102 Fix doc string.
19103
19104 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
19105
19106 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
19107 menu.
19108
19109 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
19110 menu-bar-ediff-menu.
19111
19112 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
19113 define-overloadable-function.
19114
19115 * progmodes/autoconf.el: Provide autoconf as well, so that this
19116 file can be `require'd.
19117
19118 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
19119
19120 * emacs-lisp/autoload.el (generated-autoload-feature)
19121 (generated-autoload-load-name): New vars.
19122 (autoload-rubric, autoload-generate-file-autoloads): Use them.
19123 (make-autoload): Recognize define-overloadable-function and
19124 defclass forms (for EIEIO).
19125
19126 * Makefile.in (update-subdirs): Exclude cedet directory.
19127
19128 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
19129
19130 * term/ns-win.el: Don't set the region face background. (Bug#4381)
19131
19132 * faces.el: Default light-background background for region face to
19133 ns_selection_color under NS.
19134
19135 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
19136
19137 * net/imap-hash.el: New library, see NEWS.
19138
19139 * Makefile.in (ELCFILES): Add imap-hash.el.
19140
19141 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
19142
19143 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
19144 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
19145 * help-macro.el (make-help-screen): Avoid using an ambiguous function
19146 definition where the docstring could be taken for the return value.
19147
19148 2009-09-26 Glenn Morris <rgm@gnu.org>
19149
19150 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
19151 Add option to only show images below a certain size.
19152 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
19153 save-excursion calls.
19154
19155 2009-09-26 Eli Zaretskii <eliz@gnu.org>
19156
19157 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
19158 subdirectories) and eieio.
19159
19160 2009-09-26 Alan Mackenzie <acm@muc.de>
19161
19162 * progmodes/cc-engine.el (c-beginning-of-statement-1):
19163 Correct buggy bracketing. (Bug#4289)
19164
19165 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
19166 character constants (as case labels). (Bug#4289)
19167
19168 2009-09-25 Juri Linkov <juri@jurta.org>
19169
19170 * files.el (safe-local-eval-forms): Allow time-stamp in
19171 before-save-hook (Bug#4554).
19172
19173 2009-09-25 Drew Adams <drew.adams@oracle.com>
19174
19175 * menu-bar.el (list-buffers-directory): Doc fix.
19176
19177 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
19178
19179 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
19180 Try and avoid copying twice the same paragraph.
19181 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
19182 Remove save-excursion.
19183 (log-edit-changelog-entry): Do it here instead.
19184
19185 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
19186
19187 * bs.el (bs--get-file-name): Use `list-buffers-directory'
19188 when available, instead of hardcoding mode names. Doc fix.
19189
19190 * menu-bar.el (list-buffers-directory): Add docstring.
19191 Make automatically buffer-local.
19192
19193 * dired.el (dired-mode):
19194 * files.el (cd-absolute):
19195 * pcvs.el (cvs-temp-buffer):
19196 * pcvs-util.el (cvs-get-buffer-create):
19197 * shell.el (shell-mode):
19198 * vc-dir.el (vc-dir-mode):
19199 Don't make `list-buffers-directory' buffer local.
19200
19201 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
19202
19203 * comint.el (comint-exec, comint-run, make-comint):
19204 Doc fixes (Bug#4542).
19205
19206 2009-09-25 Glenn Morris <rgm@gnu.org>
19207
19208 * mail/rmailmm.el (rmail-mime): New custom group.
19209 Move all defcustoms in this file into this group.
19210 (rmail-mime-media-type-handlers-alist): Revert previous change.
19211 (rmail-mime-show-images): New option.
19212 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
19213 references to it, since it wasn't actually used for anything.
19214 (rmail-mime-insert-image): New function.
19215 (rmail-mime-image): Use rmail-mime-insert-image.
19216 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
19217 obey the value of `rmail-mime-show-images' option. Print the size of
19218 attachments.
19219
19220 2009-09-25 David Engster <deng@randomsample.de>
19221
19222 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
19223
19224 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19225
19226 * whitespace.el: Does not highlight trailing spaces While point is
19227 at end of line. Does not highligt spaces at beginning of buffer
19228 while point is at beginning of buffer. Does not highlight spaces
19229 at end of buffer while point is at end of buffer. (Bug#4177)
19230 New version 12.0.
19231 (whitespace-display-mappings): Adjust initialization.
19232 (whitespace-point, whitespace-font-lock-refontify): New vars.
19233 (whitespace-color-on, whitespace-color-off): Adjust code.
19234 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
19235 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
19236 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
19237
19238 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
19239
19240 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
19241
19242 * textmodes/sgml-mode.el: Remove xml-mode alias.
19243
19244 * files.el (auto-mode-alist, conf-mode-maybe)
19245 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
19246
19247 2009-09-24 Alan Mackenzie <acm@muc.de>
19248
19249 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
19250 c-forward-conditionals, but it doesn't move point and doesn't set
19251 the mark.
19252 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
19253 (c-down-conditional-with-else, c-backward-conditional)
19254 (c-forward-conditional): Refactor to use c-scan-conditionals.
19255
19256 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
19257
19258 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
19259 (help-default-arg-highlight): Remove.
19260 (help-highlight-arg): New function.
19261 (help-do-arg-highlight): Use it.
19262 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
19263
19264 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
19265
19266 * term.el (term-set-scroll-region, term-handle-ansi-escape):
19267 Undo last change, which didn't fix the problem and introduced others.
19268
19269 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
19270
19271 * progmodes/gdb-mi.el: Don't require speedbar.
19272 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
19273
19274 2009-09-24 Glenn Morris <rgm@gnu.org>
19275
19276 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
19277
19278 * term/ns-win.el (ns-reg-to-script): Define for compiler.
19279
19280 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
19281 there is no newline after the final mime boundary. (Bug#4539)
19282 Move markers on insertion so that any buttons inserted don't end up in
19283 the next part of a multipart message.
19284 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
19285 (rmail-mime-bulk-handler): Optionally handle images.
19286 (rmail-mime-image): New button action.
19287 (rmail-mime-image-handler): New function.
19288 (rmail-mime-mode): New mode.
19289 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
19290
19291 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
19292
19293 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
19294 than just dropping elements from it (bug#4504).
19295
19296 * term.el (term-set-scroll-region): Don't move cursor any more.
19297 (term-handle-ansi-escape): Call term-goto here instead.
19298 Suggested by Ivan Kanis <apple@kanis.eu>.
19299
19300 * term.el: Require CL.
19301 (term-ansi-reset): New function.
19302 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
19303 (term-handle-colors-array): Simplify.
19304
19305 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
19306
19307 * allout.el (allout-overlay-interior-modification-handler)
19308 (allout-obtain-passphrase):
19309 * epa-file.el (epa-file-write-region):
19310 * ps-print.el (ps-begin-job):
19311 * vc-hooks.el (vc-toggle-read-only):
19312 * vc-rcs.el (vc-rcs-rollback):
19313 * vc-sccs.el (vc-sccs-rollback):
19314 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
19315 (vc-version-diff, vc-revert, vc-rollback):
19316 * wdired.el (wdired-check-kill-buffer):
19317 * emacs-lisp/authors.el (authors):
19318 * net/socks.el (socks-open-connection):
19319 * net/zeroconf.el (zeroconf-service-add-hook):
19320 * obsolete/vc-mcvs.el (vc-mcvs-register):
19321 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
19322 (gdb-select-frame):
19323 * progmodes/grep.el (lgrep, rgrep):
19324 * progmodes/idlw-help.el (idlwave-help-check-locations)
19325 (idlwave-help-html-link, idlwave-help-assistant-open-link):
19326 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
19327 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
19328 (reftex-toc-rename-label): Fix typos in error messages.
19329
19330 * dired-aux.el (dired-do-shell-command): Reflow docstring.
19331 (dired-copy-how-to-fn): Doc fix.
19332 (dired-files-attributes, dired-read-shell-command):
19333 Fix typos in docstrings.
19334
19335 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
19336 (dired-x-find-file-other-window): Reflow docstrings.
19337 (dired-omit-marker-char, dired-read-shell-command)
19338 (dired-x-submit-report): Fix typos in docstrings.
19339
19340 * shell.el (shell-mode-hook):
19341 * view.el (View-scroll-line-forward):
19342 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
19343 Fix typos in docstrings.
19344
19345 * net/dig.el (dig-invoke): Fix typo in docstring.
19346 (query-dig): Reflow docstring.
19347
19348 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
19349 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
19350 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
19351 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
19352 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
19353 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
19354 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
19355 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
19356 (idlwave-completion-map, idlwave-current-indent)
19357 (idlwave-custom-ampersand-surround, idlwave-customize)
19358 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
19359 (idlwave-define-abbrev, idlwave-determine-class-special)
19360 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
19361 (idlwave-end-block-reg, idlwave-end-of-statement)
19362 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
19363 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
19364 (idlwave-explicit-class-listed, idlwave-file-header)
19365 (idlwave-fill-paragraph, idlwave-find-class-definition)
19366 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
19367 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
19368 (idlwave-in-quote, idlwave-indent-action-table)
19369 (idlwave-indent-expand-table, idlwave-indent-line)
19370 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
19371 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
19372 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
19373 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
19374 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
19375 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
19376 (idlwave-outlawed-buffers, idlwave-popup-select)
19377 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
19378 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
19379 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
19380 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
19381 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
19382 (idlwave-statement-type, idlwave-struct-skip)
19383 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
19384 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
19385 (idlwave-what-module-find-class): Fix typos in docstrings.
19386 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
19387 (idlwave-calculate-cont-indent, idlwave-expand-equal)
19388 (idlwave-find-module, idlwave-find-structure-definition)
19389 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
19390 (idlwave-list-load-path-shadows, idlwave-next-statement)
19391 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
19392 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
19393 (idlwave-template): Reflow docstrings.
19394
19395 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
19396 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
19397 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
19398 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
19399 (idlwave-shell-display-line, idlwave-shell-display-wframe)
19400 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
19401 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
19402 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
19403 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
19404 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
19405 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
19406 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
19407 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
19408 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
19409 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
19410 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
19411 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
19412 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
19413 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
19414 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
19415 Fix typos in docstrings.
19416 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
19417 (idlwave-shell-hide-output, idlwave-shell-mode)
19418 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
19419 Reflow docstrings.
19420
19421 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
19422
19423 2009-09-24 Ivan Kanis <apple@kanis.eu>
19424
19425 * term.el (term-bold-attribute): New var.
19426 (term-handle-colors-array): Use it.
19427
19428 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
19429
19430 * progmodes/gdb-mi.el (gdb-version): New variable.
19431 (gdb-non-stop-handler): Set gdb-version.
19432 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
19433 Condition "--thread" option on gdb-version.
19434 (gdb-invalidate-threads): Remove unused argument.
19435
19436 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
19437
19438 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
19439 to looking-back to avoid ridiculous slow down in large files (bug#4511).
19440
19441 2009-09-23 Glenn Morris <rgm@gnu.org>
19442
19443 * mail/rmail.el (rmail-reply): Don't try to add a References header when
19444 replying to mail without References or Message-Id. (Bug#4525)
19445
19446 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
19447
19448 * term/ns-win.el (ns-reg-to-script): New variable.
19449
19450 2009-09-23 Daiki Ueno <ueno@unixuser.org>
19451
19452 * epg.el (epg-wait-for-status): Preserve existing 'error results.
19453
19454 2009-09-22 Sam Steingold <sds@gnu.org>
19455
19456 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
19457 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
19458 to 1 because hg returns status 1 when nothing is found.
19459 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
19460
19461 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
19462
19463 * textmodes/fill.el: Convert to utf-8 encoding.
19464 (fill-french-nobreak-p): Remove redundant » and « inherited from our
19465 pre-Unicode days.
19466
19467 * add-log.el (change-log-fill-forward-paragraph): New function.
19468 (change-log-mode): Use it so fill-region DTRT.
19469 Set fill-indent-according-to-mode here rather than in
19470 change-log-fill-paragraph.
19471 (change-log-fill-paragraph): Remove.
19472
19473 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
19474
19475 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
19476 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
19477
19478 2009-09-22 Glenn Morris <rgm@gnu.org>
19479
19480 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
19481 the scroll-bar scroll the calendar window rather than the buffer.
19482
19483 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
19484 commands that move point (as opposed to scrolling).
19485
19486 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
19487
19488 * emacs-lisp/elint.el (elint): New custom group.
19489 (elint-log-buffer): Make it a defcustom.
19490 (elint-scan-preloaded, elint-ignored-warnings)
19491 (elint-directory-skip-re): New options.
19492 (elint-builtin-variables): Doc fix.
19493 (elint-preloaded-env): New variable.
19494 (elint-unknown-builtin-args): Add an entry for encode-time.
19495 (elint-extra-errors): Make it a variable rather than a constant.
19496 (elint-preloaded-skip-re): New constant.
19497 (elint-directory): Skip files matching elint-directory-skip-re.
19498 (elint-features): New variable, local to linted buffers.
19499 (elint-update-env): Initialize elint-features. Possibly add
19500 elint-preloaded-env to the buffer's environment.
19501 (elint-get-top-forms): Bind elint-current-pos, for log messages.
19502 Skip quoted forms.
19503 (elint-init-form): New function, extracted from elint-init-env.
19504 Make non-list forms a warning rather than an error.
19505 Add the mode-map for define-derived-mode. Handle define-minor-mode,
19506 easy-menu-define, put that adds an error-condition, and provide.
19507 When requiring cl, also require cl-macs. Really require cl, to handle
19508 some cl macros. Store required libraries in the list elint-features,
19509 so as not to re-load them. Treat cc-require like require.
19510 (elint-init-env): Call elint-init-form to do the work.
19511 Handle eval-and-compile and such like.
19512 (elint-add-required-env): Do not clear messages.
19513 (elint-special-forms): Add handlers for function, defalias, if, when,
19514 unless, and, or.
19515 (elint-form): Add optional argument to ignore elint-special-forms,
19516 useful to prevent recursive calls from handlers. Doc fix.
19517 Respect elint-ignored-warnings.
19518 (elint-form): Respect elint-ignored-warnings.
19519 (elint-bound-variable, elint-bound-function): New variables.
19520 (elint-unbound-variable): Respect elint-bound-variable.
19521 (elint-get-args): Respect elint-bound-function.
19522 (elint-check-cond-form): Add some simple handling for (f)boundp and
19523 featurep tests.
19524 (elint-check-defalias-form): New handler.
19525 (elint-check-let-form): Make an empty let a warning rather than an
19526 error.
19527 (elint-check-setq-form): Make an empty setq a warning rather than an
19528 error. Respect elint-ignored-warnings.
19529 (elint-check-defvar-form): Accept null doc-strings.
19530 (elint-check-conditional-form): New handler. Does some simple-minded
19531 checking of featurep and (f)boundp tests.
19532 (elint-put-function-args): New function.
19533 (elint-initialize): Use elint-scan-doc-file rather than
19534 elint-find-builtin-variables. Use elint-put-function-args.
19535 Possibly scan preloaded-file-list.
19536 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
19537 extend to handle functions as well.
19538
19539 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
19540
19541 * linum.el (linum-delete-overlays, linum-update-window):
19542 Do not modify the right margin. (Bug#3971)
19543
19544 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
19545
19546 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
19547 Use nxml-mode instead of xml-mode.
19548
19549 2009-09-21 Kevin Ryde <user42@zip.com.au>
19550
19551 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
19552
19553 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
19554
19555 * net/dig.el (dig-mode): Use define-derived-mode.
19556
19557 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
19558
19559 * vc-dispatcher.el (vc-do-command): Return the process object in
19560 the asynchronous case. Use when instead of if. Do not run
19561 vc-exec-after to display a message if not enabled. (Bug#4463)
19562
19563 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
19564 properties to the stash strings.
19565 (vc-git-stash-list): Return a list of strings.
19566 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
19567 (vc-git-stash-show-at-point): New functions.
19568 (vc-git-stash-map): New keymap.
19569
19570 * register.el (ctl-x-r-map): Define the keys here instead of
19571 using autoload.
19572
19573 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
19574
19575 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
19576 list, to workaround performance problem (bug#4485).
19577
19578 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
19579
19580 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
19581
19582 2009-09-20 Daiki Ueno <ueno@unixuser.org>
19583
19584 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
19585 Document that this option is not recommended to use.
19586
19587 2009-09-19 Glenn Morris <rgm@gnu.org>
19588
19589 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
19590 variable `var'.
19591
19592 * calc/calc-alg.el (var):
19593 * calc/calcalg2.el (var): Define for compiler.
19594
19595 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
19596
19597 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
19598 Doc fix (Bug#3932).
19599
19600 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
19601
19602 * time-stamp.el (time-stamp-month-dd-yyyy)
19603 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
19604 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
19605 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
19606 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
19607 Remove functions that have been obsolete since 1995 (Bug#4436).
19608
19609 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
19610 indent buffer only if called interactively (Bug#4452).
19611
19612 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
19613 Eli Zaretskii <eliz@gnu.org>
19614
19615 This fixes bug#4197 (merged to bug#865, though not identical).
19616 * server.el (server-auth-dir): Add docstring note about FAT32.
19617 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
19618 but warn against using them.
19619
19620 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
19621
19622 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
19623 older GDB where there is no has_more field.
19624
19625 2009-09-19 Glenn Morris <rgm@gnu.org>
19626
19627 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
19628
19629 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
19630
19631 * files.el (auto-mode-alist): Change default for XML files to nXML
19632 mode (Bug#4169).
19633
19634 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
19635
19636 * server.el (server-ensure-safe-dir): Pass 'integer
19637 to `file-attributes', as suggested.
19638
19639 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
19640
19641 * dired-aux.el (dired-query-alist): Remove spurious backslash.
19642 (dired-query): Use read-key.
19643
19644 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
19645
19646 * cus-start.el (ns-use-qd-smoothing): Remove.
19647
19648 2009-09-18 Glenn Morris <rgm@gnu.org>
19649
19650 * allout.el (top-level): Remove unnecessary progn.
19651
19652 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
19653
19654 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
19655 definition of abbrev table.
19656
19657 * speedbar.el (speedbar-track-mouse):
19658 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
19659 * net/eudc.el (eudc-expand-inline):
19660 * net/newst-backend.el (newsticker--cache-read-feed):
19661 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
19662 condition-case handlers.
19663
19664 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
19665
19666 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
19667 (gdb-var-list): Add an element for has_more field.
19668 (gdb-non-stop-handler): Enable pretty printing for STL containers.
19669 (gdb-var-create-handler, gdb-var-list-children-handler-1)
19670 (gdb-var-update-handler-1): Parse output of dynamic variable
19671 objects (STL containers).
19672 (gdb-var-delete-1): Pass var1 as an explicit second argument.
19673 (gdb-get-field): Delete alias. Use bindat-get-field directly.
19674
19675 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
19676 gdb-var-list.
19677 (gud-speedbar-buttons): Make node expandable if expression "has more"
19678 children.
19679
19680 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
19681
19682 * startup.el (emacs-quick-startup): Remove variable and all uses.
19683 (command-line): Set `inhibit-x-resources' instead.
19684 (command-line-1): Use `inhibit-x-resources' instead.
19685
19686 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
19687
19688 * subr.el: Fix last change to avoid using the `unless' macro,
19689 which breaks bootstrapping.
19690
19691 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
19692
19693 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
19694 extended definitions, in case we reload subr.el after having
19695 loaded CL.
19696 (eval-next-after-load): Mark as obsolete.
19697
19698 2009-09-17 Juri Linkov <juri@jurta.org>
19699
19700 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
19701 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
19702 (menu-bar-showhide-menu, menu-bar-tools-menu)
19703 (menu-bar-describe-menu, menu-bar-help-menu)
19704 (minibuffer-local-completion-map, minibuffer-local-map):
19705 Fix list quoting.
19706
19707 2009-09-17 Glenn Morris <rgm@gnu.org>
19708
19709 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
19710 arguments, whether or not it has a handler.
19711
19712 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
19713
19714 * simple.el (hard-newline): Give it a doc-string.
19715
19716 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
19717 (lisp-mode-syntax-table): Give them doc-strings.
19718
19719 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
19720
19721 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
19722 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
19723 (menu-bar-options-menu, menu-bar-showhide-menu)
19724 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
19725 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
19726 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
19727 (menu-bar-options-menu, menu-bar-tools-menu)
19728 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
19729 (menu-bar-help-menu):
19730 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
19731 string arguments.
19732
19733 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
19734 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
19735 calls for the menu names and :help.
19736
19737 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
19738
19739 * mouse.el (minor-mode-menu-from-indicator): Pay attention
19740 to :minor-mode-function (bug#4455).
19741
19742 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
19743
19744 * startup.el (command-line): Initialize the window-system after
19745 processing the command-line.
19746
19747 * textmodes/page.el (what-page): Make sure we don't inf-loop if
19748 page-delimiter matches the empty string.
19749
19750 2009-09-16 Glenn Morris <rgm@gnu.org>
19751
19752 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
19753 byte-compile-not-obsolete-var. It's a list now.
19754 (byte-compile-not-obsolete-funcs): New variable.
19755 (byte-compile-warn-obsolete): Don't warn about functions if they are in
19756 byte-compile-not-obsolete-funcs.
19757 (byte-compile-variable-ref, byte-compile-defvar): Update for
19758 byte-compile-not-obsolete-vars name-change and list nature.
19759 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
19760 and variables behind (f)boundp tests.
19761 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
19762
19763 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
19764
19765 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
19766
19767 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
19768
19769 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
19770 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
19771 Don't autoload.
19772
19773 2009-09-15 Stephen Eglen <stephen@gnu.org>
19774
19775 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
19776 the virtual-buffers, use the name of the buffer specified by
19777 find-file-noselect, as the match may be a symlink. (This was a
19778 problem if the target and the symlink had different names.)
19779
19780 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
19781
19782 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
19783
19784 * desktop.el (desktop-path): Check user-emacs-directory.
19785
19786 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
19787
19788 * loadup.el: Use after-load-functions to GC after loading each file.
19789 Remove the explicit GC calls that used to be sprinkled around.
19790
19791 * subr.el (after-load-functions): New hook.
19792 (do-after-load-evaluation): Run it. Use string-match-p to detect
19793 `obsolete' packages, rather than painfully extracting the relevant
19794 directory name.
19795
19796 2009-09-15 Glenn Morris <rgm@gnu.org>
19797
19798 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
19799 free variable `doc'.
19800
19801 * dired.el (dired-mode-map): Add menu entry for async shell command.
19802
19803 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
19804 variables, also consider the .elc files, since the .el files are
19805 normally gzipped (subsequent code locates the .el.gz from the .elc).
19806
19807 * calc/calc-prog.el (arglist): Define for compiler.
19808
19809 * calendar/diary-lib.el (diary-display-function): Change the default to
19810 fancy display.
19811 (body): Define for compiler.
19812
19813 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
19814 (byte-compile-file-form, byte-compile-lambda)
19815 (byte-compile-top-level-body, byte-compile-form)
19816 (byte-compile-variable-ref, byte-compile-setq)
19817 (byte-compile-setq-default, byte-compile-body)
19818 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
19819 (batch-byte-compile): Give some more local variables with common names
19820 a "bytecomp-" prefix to avoid masking warnings about free variables.
19821
19822 * startup.el (command-line-1): Give local variables with common names a
19823 distinguishing prefix, so as not to hide free variable warnings during
19824 bootstrap.
19825
19826 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
19827 clever and add a suffix to make a unique name, just let the user decide
19828 whether or not to overwrite it. If the input is a directory, write the
19829 default filename to that directory. (Bug#4388)
19830 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
19831 is a filename-as-a-directory.
19832
19833 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
19834
19835 * textmodes/page.el (what-page): Don't move to beginning of line.
19836 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
19837
19838 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
19839
19840 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
19841
19842 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
19843
19844 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
19845 * help.el (help-for-help-internal): Add purecopy calls for text.
19846
19847 * vc.el (top): print-log method now takes an optional SHORTLOG
19848 argument. Add a new method: root.
19849 (vc-root-diff, vc-print-root-log): New functions.
19850 (vc-log-short-style): New variable.
19851 (vc-print-log-internal): Add support for showing short logs.
19852
19853 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
19854 vc-print-root-log and vc-print-root-diff.
19855
19856 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
19857 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
19858 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
19859 short logs.
19860
19861 * vc-cvs.el (vc-cvs-print-log):
19862 * vc-mtn.el (vc-mtn-print-log):
19863 * vc-rcs.el (vc-rcs-print-log):
19864 * vc-sccs.el (vc-sccs-print-log):
19865 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
19866 that is ignored for now.
19867
19868 * vc-mtn.el (vc-mtn-annotate-command):
19869 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
19870
19871 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
19872
19873 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
19874 to function-key-map, and give them ascii-character property.
19875 * term/x-win.el (x-alternatives-map):
19876 * term/ns-win.el (ns-alternatives-map):
19877 * term/internal.el (msdos-key-remapping-map):
19878 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
19879
19880 2009-09-14 Glenn Morris <rgm@gnu.org>
19881
19882 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
19883 temp-buffers (2009-09-12).
19884
19885 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
19886
19887 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
19888 the new read-key function.
19889
19890 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
19891
19892 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
19893 is defined (Bug#4405).
19894
19895 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
19896
19897 * recentf.el (recentf-cleanup): Use a hash table to find
19898 duplicates (Bug#4407).
19899
19900 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
19901
19902 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
19903 kp-0 to ascii equivalents (Bug#4325).
19904
19905 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
19906
19907 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
19908
19909 * eshell/em-hist.el:
19910 * eshell/em-dirs.el (eshell-complete-user-reference):
19911 Declare pcomplete functions and variables to avoid compiler warnings.
19912
19913 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
19914
19915 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
19916 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
19917 * eshell/em-alias.el (eshell-aliases-file):
19918 * eshell/em-hist.el (eshell-history-file-name):
19919 Use expand-file-name instead of concat to make file names (Bug#4308).
19920
19921 2009-09-13 Glenn Morris <rgm@gnu.org>
19922
19923 * ediff-merg.el (ediff-do-merge):
19924 * filesets.el (filesets-run-cmd):
19925 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
19926 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
19927 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
19928 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
19929 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
19930 Replace empty `let's with `progn'.
19931
19932 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
19933
19934 * mail/sendmail.el (send-mail-function):
19935 * tooltip.el (tooltip-mode):
19936 * simple.el (transient-mark-mode):
19937 * rfn-eshadow.el (file-name-shadow-mode):
19938 * frame.el (blink-cursor-mode):
19939 * font-core.el (global-font-lock-mode):
19940 * files.el (temporary-file-directory)
19941 (small-temporary-file-directory, auto-save-file-name-transforms):
19942 * epa-hook.el (auto-encryption-mode):
19943 * composite.el (global-auto-composition-mode):
19944 Use custom-initialize-delay.
19945 * startup.el (command-line): Don't explicitly call
19946 custom-reevaluate-setting for all the above vars.
19947 * custom.el (custom-initialize-safe-set)
19948 (custom-initialize-safe-default): Delete.
19949
19950 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
19951
19952 * term/x-win.el (x-initialize-window-system):
19953 * term/w32-win.el (w32-initialize-window-system):
19954 * term/ns-win.el (ns-initialize-window-system): Don't call
19955 mouse-wheel-mode since it's enabled globally by default already.
19956
19957 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
19958 actually define the variable, but only silences the byte-compiler.
19959 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
19960 before looking it up.
19961 (mouse-wheel-scroll-amount): Also reset the bindings if this value
19962 is changed.
19963
19964 2009-09-12 Glenn Morris <rgm@gnu.org>
19965
19966 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
19967 1000.
19968 (elint-add-required-env): Don't beep on error.
19969 (elint-forms): In case of error, return ENV unchanged.
19970 (elint-init-env): Skip non-list forms.
19971 (elint-log): Handle unknown file positions.
19972
19973 2009-09-12 Daiki Ueno <ueno@unixuser.org>
19974
19975 * epg.el (epg-make-context): Add autoload cookie.
19976 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
19977 (epg-decrypt-string, epg-start-verify, epg-verify-file)
19978 (epg-verify-string, epg-start-sign, epg-sign-file)
19979 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
19980 (epg-encrypt-string, epg-start-export-keys)
19981 (epg-export-keys-to-file, epg-export-keys-to-string)
19982 (epg-start-import-keys, epg-import-keys-from-file)
19983 (epg-import-keys-from-string, epg-start-receive-keys)
19984 (epg-receive-keys, epg-import-keys-from-server)
19985 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
19986 (epg-sign-keys, epg-start-generate-key)
19987 (epg-generate-key-from-file, epg-generate-key-from-string):
19988 Remove autoload cookie.
19989
19990 2009-09-12 Eli Zaretskii <eliz@gnu.org>
19991
19992 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
19993 reevaluation of trash-directory.
19994
19995 * mwheel.el: Fix last change.
19996 (mouse-wheel-mode): New defvar.
19997 (mouse-wheel-mode): Remove autoload cookie.
19998
19999 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
20000
20001 * mwheel.el (mwheel-installed-bindings): New var.
20002 (mouse-wheel-mode): Use it, so as to make sure we really remove all
20003 the bindings we set last time. Use custom-initialize-delay.
20004 * loadup.el: Load mwheel after term/*-win.el.
20005 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
20006 and mouse-wheel-up-event now that their first evaluation is done
20007 sufficiently late to be correct.
20008
20009 * startup.el (tutorial-directory): Make it a defcustom.
20010 Use custom-initialize-delay rather than eval-at-startup to set it.
20011 * image.el (image-load-path): Make it a defcustom.
20012 Use custom-initialize-delay rather than eval-at-startup to set it.
20013 * subr.el (eval-at-startup): Remove.
20014 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
20015
20016 * subr.el (do-after-load-evaluation): Warn the user after loading an
20017 obsolete package.
20018
20019 2009-09-12 Glenn Morris <rgm@gnu.org>
20020
20021 * proced.el (proced-mark-alt): Remove alias.
20022 (proced-mode-map): Remove proced-mark-alt.
20023
20024 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
20025 Elint file and directory. Remove initialization entry.
20026
20027 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
20028 commands.
20029 (elint-current-buffer): Set mode-line-process.
20030 (elint-init-env): Handle define-derived-mode.
20031 Fix declare-function with unspecified arglist. Guard against odd
20032 defalias statements (eg iso-insert's 8859-1-map).
20033 (elint-add-required-env): Use a temp buffer.
20034 (elint-form): Just print the function/macro name, not the whole form.
20035 Return env unchanged if we fail to parse a macro.
20036 (elint-forms): Guard against parse errors.
20037 (elint-output): New function, to handle batch mode.
20038 (elint-log-message): Add optional argument. Use elint-output.
20039 (elint-set-mode-line): New function.
20040
20041 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
20042
20043 * emacs-lisp/elp.el (elp-not-profilable): Add more
20044 functions (Bug#4233).
20045
20046 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
20047
20048 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
20049 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
20050
20051 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
20052
20053 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
20054 (gdb-var-list-children): Use json parsing.
20055
20056 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
20057
20058 * progmodes/js.el (js--proper-indentation): Handle the case where
20059 char-before is null. Reported by Deniz Dogan.
20060
20061 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
20062
20063 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
20064
20065 2009-09-11 Daiki Ueno <ueno@unixuser.org>
20066
20067 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
20068 (epg-digest-algorithm-alist): Add SHA224.
20069 (epg-context-set-passphrase-callback)
20070 (epg-context-set-progress-callback): Add description about
20071 callback function.
20072
20073 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
20074
20075 * custom.el (custom-delayed-init-variables): New var.
20076 (custom-initialize-delay): New function.
20077 * startup.el (command-line): "Re"evaluate all vars in
20078 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
20079 explicitly any more.
20080 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
20081 to avoid creating a ~/.emacs.d at build-time (bug#4347).
20082
20083 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
20084
20085 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
20086
20087 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
20088 (gdb-var-update-handler): Use json parsing.
20089
20090 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
20091
20092 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
20093 decode annotated text, regardless of language environment. (Bug#2741)
20094
20095 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
20096
20097 * Makefile.in (autoloads): Make rmail.el writable as well.
20098
20099 2009-09-11 Glenn Morris <rgm@gnu.org>
20100
20101 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
20102 loaddefs.el.
20103 * dired.el: Regenerate with extracted autoloads.
20104 * Makefile.in (autoloads): Make dired.el writable.
20105
20106 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
20107 * ibuffer.el: Regenerate with extracted autoloads.
20108 * Makefile.in (autoloads): Make ibuffer.el writable.
20109
20110 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
20111 * version.el (emacs-copyright, emacs-major-version)
20112 (emacs-minor-version): Reformat doc-strings for make-docfile.
20113
20114 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
20115 functions and variables, since they must be stuff specific to some other
20116 platform.
20117 (apropos-print): Make mouse-click message less specific about button.
20118
20119 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
20120 that records where a macro was defined.
20121 * help-fns.el (describe-function-1): Mention if a function has a
20122 compiler-macro.
20123 * help-mode.el (help-function-cmacro): New button.
20124
20125 * locate.el (top-level): Always require dired.
20126 (locate-mode-map): Initialize inside the defvar.
20127
20128 * net/ange-ftp.el (dired-compress-file): Declare.
20129 (ange-ftp-dired-compress-file): Add doc string.
20130
20131 * term/ns-win.el (x-display-name, x-setup-function-keys):
20132 Unify doc-strings with X versions.
20133
20134 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
20135
20136 * emulation/crisp.el (crisp-mode-map): Move initialization
20137 into declaration.
20138 (crisp-mode): Use define-minor-mode.
20139
20140 * progmodes/xscheme.el (xscheme-evaluation-commands):
20141 Put a :advertised-binding property rather than using
20142 advertised-xscheme-send-previous-expression.
20143 (advertised-xscheme-send-previous-expression): Declare obsolete.
20144 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
20145 `advertised-undo'.
20146 (crisp-mode): Add corresponding bindings to
20147 undo's :advertised-binding instead.
20148 * dired.el (dired-mode-map): Put a :advertised-binding property rather
20149 than using dired-advertised-find-file.
20150 (dired-advertised-find-file):
20151 * simple.el (advertised-undo):
20152 * wid-edit.el (advertised-widget-backward): Declare obsolete.
20153 (widget-keymap): Put a :advertised-binding property rather
20154 than using advertised-widget-backward.
20155 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
20156 than using advertised-undo.
20157 * tutorial.el (tutorial--default-keys): Adjust accordingly.
20158
20159 2009-09-10 Simon South <ssouth@slowcomputing.org>
20160
20161 * progmodes/delphi.el (delphi-tab): Indent region when Transient
20162 Mark mode is enabled and region is active; otherwise indent or
20163 insert TAB as usual.
20164 (delphi-mode): Update description of TAB-key binding.
20165
20166 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
20167
20168 * subr.el (define-key-rebound-commands): Mark obsolete.
20169 * startup.el (precompute-menubar-bindings): Remove.
20170 (normal-top-level): Remove obsolete code that tried to precompute
20171 menubar bindings.
20172 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
20173 define-key-rebound-commands and precompute-menubar-bindings.
20174
20175 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
20176
20177 * net/imap.el (imap-interactive-login): Better messages.
20178 (imap-open): Fix bug with renamed buffer on reconnect.
20179 (imap-authenticate): Add buffer-local imap-last-authenticator variable
20180 for easier debugging and cleaner code. On successful (guessed based on
20181 server capabilities) secondary authentication, set imap-state
20182 correctly.
20183 (imap-last-authenticator): Define imap-last-authenticator as a variable
20184 to avoid warnings.
20185
20186 2009-09-10 Glenn Morris <rgm@gnu.org>
20187
20188 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
20189
20190 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
20191 (byte-compile-file-form-autoload): Don't warn about unknown functions
20192 where the autoload statement comes after the use.
20193 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
20194 that any handlers inside the body (eg require) are in turn respected.
20195
20196 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
20197 effects.
20198
20199 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
20200 and syntax and abbrev tables basic docs, if they don't have any.
20201
20202 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
20203
20204 * international/mule-cmds.el (top-level): Require cl when compiling.
20205 (view-hello-file): Use default-value rather than
20206 default-enable-multibyte-characters.
20207
20208 * progmodes/fortran.el: Move all safe and risky properties into the
20209 defcustoms.
20210
20211 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
20212 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
20213 * mail/undigest.el:
20214 Put autoloads in rmail.el rather than loaddefs.el.
20215 * mail/rmail.el: Regenerate with extracted autoloads.
20216
20217 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
20218 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
20219
20220 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
20221
20222 Reported in thread for Bug#4375.
20223 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
20224 "-data-evaluate-expression" instead of print.
20225 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
20226 (gdb-tooltip-print): Parse output from above MI command.
20227 (gdb): Revert 2009-08-11 change. User should detach inferior
20228 manually.
20229
20230 Remove the word "separate" from IO functions as inferior
20231 output is now never displayed in the GUD buffer.
20232
20233 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
20234
20235 * startup.el (command-line-normalize-file-name): On Windows and
20236 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
20237
20238 2009-09-10 Juri Linkov <juri@jurta.org>
20239
20240 * isearch.el (isearch-text-char-description): Propertize escape
20241 character sequences with the `escape-glyph' face. (Bug#4344)
20242
20243 * simple.el (shell-command): Set asynchronous process filter to
20244 `comint-output-filter'. (Bug#4343)
20245
20246 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
20247 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
20248 the list. Move "asm" to the bottom.
20249 (grep-find-ignored-directories): Add `choice' with nil value
20250 to empty the list easily.
20251 (grep-find-ignored-files): New option.
20252 (grep-files-history): Set to nil by default instead of '("ch" "el").
20253 (grep-compute-defaults): Add "<X>" to `grep-template'.
20254 (grep-read-files): Bind new local variables `default-alias' and
20255 `default-extension'. Use a list of default values for the file prompt.
20256 (lgrep): Add `--exclude=' command line options composed from
20257 `grep-find-ignored-files'.
20258 (rgrep): Add `-name' command line options composed from
20259 `grep-find-ignored-files'. (Bug#4301)
20260
20261 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
20262
20263 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
20264 (bug#4368).
20265
20266 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
20267
20268 * calendar/time-date.el (autoload):
20269 Expand define-obsolete-function-alias into defalias and make-obsolete
20270 for old Emacsen that Gnus supports.
20271 (with-no-warnings): Define it for old Emacsen.
20272 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
20273 is available.
20274 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
20275 float-time is available; suppress compile warning for time-to-seconds.
20276
20277 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
20278
20279 * net/imap.el (imap-message-map): Docstring fix.
20280
20281 2009-09-09 Glenn Morris <rgm@gnu.org>
20282
20283 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
20284 line numbers too. (Bug#4374)
20285
20286 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
20287
20288 * smerge-mode.el (smerge-remove-props, smerge-refine):
20289 Use with-silent-modifications (bug#4342).
20290
20291 * subr.el (with-silent-modifications): New macro.
20292
20293 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
20294
20295 * files.el (top-level): Require `cl' when compiling.
20296
20297 2009-09-07 Glenn Morris <rgm@gnu.org>
20298
20299 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
20300
20301 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
20302 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
20303
20304 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
20305
20306 * vc-git.el (vc-git-annotate-command): Use separator to parse
20307 arguments correctly.
20308
20309 2009-09-06 Eli Zaretskii <eliz@gnu.org>
20310
20311 * proced.el (proced-mode): Doc fix.
20312
20313 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
20314
20315 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
20316 lstat fails.
20317 (tramp-do-file-attributes-with-ls): Check for file existence at
20318 remote end.
20319 (tramp-do-file-attributes-with-stat): Likewise.
20320 (tramp-convert-file-attributes): Return nil when attr is nil.
20321
20322 2009-09-05 Glenn Morris <rgm@gnu.org>
20323
20324 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
20325 properties to this button.
20326 (diary-fancy-display): Don't extend the button to the final newline.
20327 (diary-fancy-display-mode): Continue to define "q" as a local key.
20328
20329 * calendar/cal-china.el (holiday-chinese): Make it slightly more
20330 efficient.
20331
20332 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
20333
20334 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
20335 (byte-compile-dest-file-function): New option.
20336 (byte-compile-dest-file): Doc fix.
20337 Obey byte-compile-dest-file-function.
20338 (byte-compile-cl-file-p): New function.
20339 (byte-compile-eval): Only suppress noruntime warnings about cl functions
20340 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
20341 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
20342 than for file being previously loaded.
20343 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
20344 (byte-compile-file-form-require): Handle the case where requiring a file
20345 indirectly causes CL to be loaded.
20346
20347 2009-09-05 Karl Fogel <kfogel@red-bean.com>
20348
20349 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
20350 before killing the old buffer, since by the time `kill-buffer' is
20351 run so many buffer variables have been set to nil that it may not
20352 behave as expected. (Bug#4061)
20353
20354 2009-09-05 Karl Fogel <kfogel@red-bean.com>
20355
20356 * files.el (find-alternate-file): If the old buffer is modified
20357 and visiting a file, behave similarly to `kill-buffer' when
20358 killing it, thus reverting to the pre-1.878 behavior; see
20359 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
20360 for discussion. Also, consult `buffer-file-name' as a variable
20361 not as a function, for consistency with the rest of the code.
20362
20363 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
20364
20365 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
20366 also when adding a new directory.
20367
20368 * net/tramp-compat.el (tramp-compat-line-beginning-position):
20369 New defun.
20370
20371 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
20372
20373 * files.el (locate-file-completion-table): Make it provide boundary
20374 information, so partial-completion works better.
20375
20376 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
20377
20378 * mail/footnote.el (Footnote-text-under-cursor):
20379 Check footnote-text-marker-alist before using it (bug#4324).
20380
20381 2009-09-04 Glenn Morris <rgm@gnu.org>
20382
20383 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
20384 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
20385 * play/solitaire.el, play/tetris.el:
20386 Remove leading * from defcustom and defface docs.
20387
20388 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
20389 necessary.
20390 (diary-fancy-overriding-map): New variable.
20391 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
20392 Use view-mode.
20393
20394 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
20395 goto-line.
20396
20397 2009-09-03 Glenn Morris <rgm@gnu.org>
20398
20399 * arc-mode.el (archive-mode):
20400 * dos-fns.el (set-default-process-coding-system):
20401 * man.el (Man-getpage-in-background):
20402 * menu-bar.el (menu-bar-describe-menu):
20403 * server.el (server-process-filter):
20404 * startup.el (command-line):
20405 * tar-mode.el (tar-header-block-tokenize, tar-extract):
20406 * w32-fns.el (set-default-process-coding-system):
20407 * x-dnd.el (x-dnd-handle-file-name):
20408 * international/mule-cmds.el (mule-menu-keymap)
20409 (set-default-coding-systems, language-info-alist, set-language-info)
20410 (set-language-environment, standard-display-european-internal)
20411 (set-locale-environment):
20412 * international/mule-diag.el (mule-diag):
20413 * mail/emacsbug.el (report-emacs-bug):
20414 * mail/rmail.el (rmail-mode):
20415 * mail/sendmail.el (mail-setup):
20416 Use default-value rather than default-enable-multibyte-characters.
20417
20418 * progmodes/f90.el: Move all safe properties into the defcustoms.
20419 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
20420
20421 * calendar/appt.el (appt-check):
20422 * calendar/diary-lib.el (diary-set-header, diary-live-p)
20423 (diary-check-diary-file, diary-list-entries)
20424 (diary-include-other-diary-files, diary-simple-display)
20425 (diary-fancy-display, diary-print-entries)
20426 (diary-mark-included-diary-files, diary-make-entry):
20427 Don't call substitute-in-file-name on diary-file.
20428
20429 2009-09-03 Eduard Wiebe <usenet@pusto.de>
20430 Stefan Monnier <monnier@iro.umontreal.ca>
20431
20432 * mail/footnote.el (footnote-prefix): Make it a defcustom.
20433 (footnote-mode-map): Move initialization into the declaration.
20434 (footnote-minor-mode-map): Define it rather than changing global-map.
20435 (footnote-mode): Use define-minor-mode.
20436
20437 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
20438
20439 * net/tramp.el (tramp-handle-file-attributes-with-ls)
20440 (tramp-do-file-attributes-with-perl)
20441 (tramp-do-file-attributes-with-stat): Rename from
20442 `tramp-handle-file-attributes-with-*'.
20443 (tramp-handle-file-attributes): Use them.
20444 (tramp-do-directory-files-and-attributes-with-perl)
20445 (tramp-do-directory-files-and-attributes-with-stat): Rename from
20446 `tramp-handle-directory-files-and-attributes-with-*'.
20447 (tramp-handle-directory-files-and-attributes): Use them.
20448 (tramp-method-out-of-band-p): Additional parameter SIZE.
20449 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
20450 (tramp-handle-write-region): Use it.
20451 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
20452 (tramp-handle-vc-registered): Check, whether the first run did
20453 return files to be tested.
20454 (tramp-advice-make-auto-save-file-name): Do not call directly
20455 `tramp-handle-make-auto-save-file-name', because this would bypass
20456 the locking mechanism.
20457
20458 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
20459 (file-remote-p, process-file, start-file-process, set-file-times)
20460 (tramp-compat-file-attributes): Compatibility functions shall not
20461 call directly `tramp-handle-*', because this would bypass the
20462 locking mechanism.
20463 (tramp-compat-number-sequence): New defun.
20464
20465 2009-09-02 Glenn Morris <rgm@gnu.org>
20466
20467 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
20468 alias for float-time.
20469 (time-to-number-of-days): In Emacs, use float-time.
20470 * net/newst-backend.el (time-add): Suppress warnings from compat
20471 function.
20472 * time.el (emacs-uptime, emacs-init-time):
20473 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
20474 Use float-time rather than time-to-seconds.
20475
20476 * minibuffer.el (completion-initials-expand): Fix typo.
20477
20478 * faces.el (modeline, modeline-inactive, modeline-highlight)
20479 (modeline-buffer-id):
20480 * info.el (info-menu-5): Mark these face aliases as obsolete.
20481
20482 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
20483
20484 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
20485 space ...
20486 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
20487 no "--thread" option.
20488 (gdb-stopped): Don't print "Switched to thread" message when it is
20489 unchanged.
20490
20491 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
20492
20493 * minibuffer.el (completion-try-completion)
20494 (completion-all-completions): Remove ill-defined (and
20495 mistakenly installed and luckily never used nor documented)
20496 `completion-styles' property.
20497 (completion-initials-expand, completion-initials-all-completions)
20498 (completion-initials-try-completion): New functions.
20499 (completion-styles-alist): Add doc to each entry.
20500 Add new `initials' entry.
20501
20502 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
20503
20504 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
20505 MI command -var-evaluate-expression.
20506 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
20507 and tweak for case of string child.
20508 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
20509
20510 2009-09-01 Glenn Morris <rgm@gnu.org>
20511
20512 * add-log.el (change-log-date-face, change-log-name-face)
20513 (change-log-email-face, change-log-file-face, change-log-list-face)
20514 (change-log-conditionals-face, change-log-function-face)
20515 (change-log-acknowledgement-face):
20516 * cus-edit.el (custom-invalid-face, custom-rogue-face)
20517 (custom-modified-face, custom-set-face, custom-changed-face)
20518 (custom-saved-face, custom-button-face, custom-button-pressed-face)
20519 (custom-documentation-face, custom-state-face, custom-comment-face)
20520 (custom-comment-tag-face, custom-variable-tag-face)
20521 (custom-variable-button-face, custom-face-tag-face)
20522 (custom-group-tag-face-1, custom-group-tag-face):
20523 * diff-mode.el (diff-header-face, diff-file-header-face)
20524 (diff-index-face, diff-hunk-header-face, diff-removed-face)
20525 (diff-added-face, diff-changed-face, diff-function-face)
20526 (diff-context-face, diff-nonexistent-face):
20527 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
20528 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
20529 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
20530 (Info-title-4-face):
20531 * isearch.el (isearch-lazy-highlight-face):
20532 * log-view.el (log-view-file-face, log-view-message-face):
20533 * paren.el (show-paren-match-face, show-paren-mismatch-face):
20534 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
20535 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
20536 (cvs-msg-face):
20537 * smerge-mode.el (smerge-mine-face, smerge-other-face)
20538 (smerge-base-face, smerge-markers-face):
20539 * wid-edit.el (widget-documentation-face, widget-button-face)
20540 (widget-field-face, widget-single-line-field-face)
20541 (widget-inactive-face, widget-button-pressed-face):
20542 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
20543 (woman-addition-face):
20544 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
20545 (eshell-ls-executable-face, eshell-ls-readonly-face)
20546 (eshell-ls-unreadable-face, eshell-ls-special-face)
20547 (eshell-ls-missing-face, eshell-ls-archive-face)
20548 (eshell-ls-backup-face, eshell-ls-product-face)
20549 (eshell-ls-clutter-face):
20550 * eshell/em-prompt.el (eshell-prompt-face):
20551 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
20552 * obsolete/old-whitespace.el (whitespace-highlight-face):
20553 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
20554 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
20555 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
20556 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
20557 (antlr-font-lock-literal-face):
20558 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
20559 (ebrowse-root-class-face, ebrowse-file-name-face)
20560 (ebrowse-default-face, ebrowse-member-attribute-face)
20561 (ebrowse-member-class-face, ebrowse-progress-face):
20562 * progmodes/make-mode.el (makefile-space-face):
20563 * progmodes/sh-script.el (sh-heredoc-face):
20564 * textmodes/flyspell.el (flyspell-incorrect-face)
20565 (flyspell-duplicate-face):
20566 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
20567 * textmodes/texinfo.el (texinfo-heading-face):
20568 Mark face aliases with "-face" suffix as obsolete.
20569
20570 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
20571 compiler.
20572
20573 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
20574 (eudc-bob-sound-menu): Use defvar rather than defconst, since
20575 easy-menu-define wants to modify these.
20576
20577 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
20578
20579 * net/browse-url.el (browse-url-file-url):
20580 * term/internal.el (dos-codepage-setup):
20581 Use default-value rather than default-enable-multibyte-characters.
20582
20583 * progmodes/etags.el (etags-goto-tag-location):
20584 * progmodes/flymake.el (flymake-highlight-line)
20585 (flymake-goto-file-and-line, flymake-goto-line):
20586 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
20587 (gdb-goto-breakpoint):
20588 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
20589 * progmodes/python.el (python-find-function)
20590 (python-pdbtrack-track-stack-file):
20591 * progmodes/verilog-mode.el (verilog-surelint-off):
20592 * term/ns-win.el (ns-open-file-select-line):
20593 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
20594 Use forward-line rather than goto-line.
20595
20596 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
20597 * textmodes/reftex-index.el (reftex-display-index):
20598 * textmodes/reftex-ref.el (reftex-offer-label-menu):
20599 * textmodes/reftex-toc.el (reftex-toc):
20600 Remove unnecessary bindings of default-major-mode (all are followed by
20601 major-mode check and possible mode switch).
20602
20603 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
20604
20605 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
20606 Handle watchpoints (bug#4282).
20607 (def-gdb-thread-buffer-command): Enable thread to be selected by
20608 clicking without selecting threads buffer first.
20609 (gdb-current-context-command): Use selected frame so that "up",
20610 "down" etc work in the GUD buffer.
20611 (gdb-update): Find selected frame before rendering stack buffer.
20612 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
20613
20614 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
20615
20616 * progmodes/sym-comp.el (displayed-completions): Remove.
20617 (symbol-complete): Use minibuffer-complete.
20618
20619 2009-08-31 Glenn Morris <rgm@gnu.org>
20620
20621 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
20622
20623 * apropos.el (apropos-symbols-internal):
20624 Handle (obsolete) face aliases.
20625
20626 * faces.el (describe-face): Adjust the output format to be more like
20627 describe-variable, and to mention (obsolete) face aliases.
20628 Adjust the whitespace so that help-setup-xref works.
20629
20630 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
20631 * calendar/diary-lib.el (diary-button-face):
20632 Mark these face aliases as obsolete.
20633
20634 * calendar/calendar.el (calendar-today): Doc fix.
20635
20636 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
20637
20638 * progmodes/gdb-mi.el (gdb-control-all-threads)
20639 (gdb-control-current-thread): Force tool bar update.
20640 (gdb-non-stop-handler): New function.
20641 (gdb-init-1): Use it to test if non-stop mode is supported.
20642 Remove unused gdbmi buffer type.
20643
20644 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
20645
20646 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
20647 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
20648
20649 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
20650
20651 * comint.el (comint-exec-1): Check command is non-null first.
20652 Part of gdb-mi.el change (2009-08-28).
20653
20654 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
20655
20656 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
20657
20658 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
20659
20660 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
20661 instead of `dolist' to avoid a recursive require when bootstrapping.
20662
20663 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
20664
20665 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
20666
20667 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
20668
20669 * net/imap.el (imap-send-command): Simplify.
20670 (imap-wait-for-tag): point-max -> buffer-size.
20671
20672 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
20673
20674 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
20675 with constant argument.
20676
20677 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
20678
20679 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
20680
20681 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
20682 Change default, since most of our files don't have a history.
20683 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
20684 the user.
20685
20686 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20687 Add comint-run.
20688
20689 * calc/calc.el: Improve commenting convention.
20690 (calc-digit-map, toplevel): Simplify.
20691
20692 * comint.el (comint-insert-input): Be careful to only set point if we
20693 don't delegate to some other command.
20694
20695 * proced.el (proced-signal-list): Make it an alist.
20696 (proced-grammar-alist): Capitalize names.
20697 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
20698 Disable undo manually and make it read-only.
20699 Use completion-annotate-function.
20700
20701 * minibuffer.el (minibuffer-message): If the current buffer is not
20702 a minibuffer, insert the message in the echo area rather than at the
20703 end of the buffer.
20704 (completion-annotate-function): New variable.
20705 (minibuffer-completion-help): Use it.
20706 (completion--embedded-envvar-table): Environment vars are
20707 always case-sensitive.
20708
20709 2009-08-30 Glenn Morris <rgm@gnu.org>
20710
20711 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
20712 from fortran-current-defun.
20713 (fortran-beginning-of-subprogram): Be more precise about finding the
20714 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
20715 (fortran-end-of-subprogram): Simplify.
20716 (fortran-current-defun): Use fortran-start-prog-re.
20717
20718 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
20719
20720 * subr.el (do-after-load-evaluation): Simplify.
20721
20722 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
20723
20724 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
20725
20726 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
20727 (vc-rcs-print-log): Use it.
20728
20729 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
20730
20731 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
20732
20733 * paths.el (abbrev-file-name): Move to abbrev.el.
20734 * abbrev.el (abbrev-file-name): Move from paths.el.
20735 Obey user-emacs-directory.
20736 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
20737 user-emacs-directory.
20738 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
20739 abbrev-file-name and calc-settings-file any more.
20740 * startup.el (command-line): Recompute abbrev-file-name and
20741 abbreviated-home-dir.
20742 (normal-no-mouse-startup-screen): Improve the generic code and get rid
20743 of the special code for when C-h bindings haven't been changed.
20744 (display-startup-echo-area-message): Use with-current-buffer.
20745 (command-line-1): Use a list of strings, rather than a list of lists
20746 of strings for longopts.
20747
20748 * files.el (get-free-disk-space): Use / for default-directory.
20749
20750 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
20751 Use with-current-buffer.
20752
20753 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
20754 Recognize immutable variables like most-positive-fixnum.
20755 (byte-compile-setq-default): Check and warn if trying to assign
20756 to an immutable variable, or a non-variable.
20757
20758 * progmodes/cc-vars.el (c-comment-continuation-stars):
20759 * progmodes/cc-engine.el (c-looking-at-bos):
20760 * progmodes/cc-cmds.el (c-toggle-auto-state)
20761 (c-forward-into-nomenclature, c-backward-into-nomenclature)
20762 (c-comment-line-break-function): Add version of obsolescence.
20763
20764 2009-08-28 Juri Linkov <juri@jurta.org>
20765
20766 * files.el (magic-fallback-mode-alist): Add ZIP magic number
20767 associated with `archive-mode'.
20768
20769 * image.el (image-type-header-regexps): Use only JPEG magic number
20770 to determine JPEG images, and don't use `image-jpeg-p' because
20771 Emacs can display non-JFIF non-Exif JPEG images.
20772
20773 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
20774
20775 * arc-mode.el (archive-mode):
20776 * emacs-lisp/re-builder.el (re-builder-unload-function):
20777 Protect against the default value of `major-mode' being nil.
20778
20779 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
20780
20781 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
20782 Fix typos in docstrings.
20783
20784 * progmodes/js.el (js--macro-decl-re): Doc fix.
20785 (js--plain-method-re, js--split-name): Refloc docstring.
20786 (js--class-styles, js--make-merged-item, js--splice-into-items):
20787 Fix typos in docstrings; reflow docstrings.
20788 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
20789 (js--variable-decl-matcher, js--inside-pitem-p)
20790 (js--parse-state-at-point, js--get-all-known-symbols)
20791 (js--symbol-history, js-find-symbol, js--js-references)
20792 (js--moz-interactor, js--js-encode-value, js--read-tab):
20793 Fix typos in docstrings.
20794
20795 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20796
20797 * textmodes/reftex.el (reftex-get-file-buffer-force):
20798 * progmodes/verilog-mode.el (verilog-batch-execute-func):
20799 * emulation/viper.el (viper-go-away, viper-set-hooks):
20800 * emacs-lisp/re-builder.el (re-builder-unload-function):
20801 * emacs-lisp/bytecomp.el (byte-compile-file):
20802 * ses.el (ses-unload-function):
20803 * hexl.el (hexl-find-file):
20804 * files.el (normal-mode):
20805 * ehelp.el (with-electric-help):
20806 * autoinsert.el (auto-insert-alist):
20807 * arc-mode.el (archive-mode):
20808 Use (default-value 'major-mode) instead of default-major-mode.
20809
20810 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
20811 * international/mule.el (load-with-code-conversion):
20812 * emacs-lisp/debug.el (debug):
20813 * ediff-vers.el (ediff-rcs-get-output-buffer):
20814 * dired.el (dired-internal-noselect): Don't let-bind
20815 default-major-mode around code that doesn't use it.
20816 E.g. buffer creation via get-buffer-create doesn't use it.
20817
20818 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
20819
20820 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
20821 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
20822 when writing the temp file. Otherwise, epa-file gets confused.
20823 (tramp-register-file-name-handlers): Make it a defun. Move also
20824 `epa-file-handler' to the front of `file-name-handler-alist'.
20825
20826 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20827
20828 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
20829 start right after a ^M.
20830 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
20831 (tramp-completion-file-name-regexp-separate)
20832 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
20833 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
20834 Don't modify last-coding-system-used by accident.
20835 (tramp-completion-file-name-handler): Apply the checks here,
20836 instead during registration.
20837 (tramp-register-file-name-handlers): Rename from
20838 `tramp-register-file-name-handler'. Register both
20839 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
20840 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
20841
20842 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
20843
20844 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
20845 Remove variable ...
20846 (gdb-init-1, gdb-display-separate-io-buffer)
20847 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
20848 references to it.
20849 (gdb-inferior-io-mode): Use make-comint-in-buffer.
20850 (gdb-inferior-filter): Use comint-output-filter to stop
20851 echoing and remove ^M characters.
20852
20853 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20854
20855 * emulation/viper-init.el (viper-restore-cursor-type):
20856 * emulation/cua-base.el (cua--update-indications):
20857 Replace default-cursor-type with (default-value 'cursor-type).
20858
20859 * mail/sendmail.el (mail-recover-1):
20860 * international/mule-diag.el (describe-current-coding-system-briefly)
20861 (describe-current-coding-system):
20862 * international/mule-cmds.el (select-safe-coding-system)
20863 (select-message-coding-system)
20864 (set-language-environment-coding-systems, set-locale-environment):
20865 * hexl.el (hexl-insert-multibyte-char):
20866 * dos-w32.el (find-buffer-file-type-coding-system):
20867 * simple.el (what-cursor-position):
20868 Replace uses of default-buffer-file-coding-system
20869 with (default-value 'buffer-file-coding-system).
20870
20871 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
20872 Replace uses of default-cursor-in-non-selected-windows
20873 with (default-value 'cursor-in-non-selected-windows).
20874 Use with-current-buffer.
20875
20876 * mail/feedmail.el: Use CL macros.
20877 (feedmail-run-the-queue, feedmail-send-it-immediately):
20878 * dos-w32.el (find-buffer-file-type): Replace uses of
20879 default-buffer-file-type with (default-value 'buffer-file-type).
20880
20881 2009-08-28 Glenn Morris <rgm@gnu.org>
20882
20883 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
20884 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
20885 Use default-value of major-mode rather than default-major-mode.
20886
20887 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
20888
20889 * Makefile.in (update-elcfiles): Report left over elc files.
20890
20891 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
20892 expand-file-name and with-current-buffer.
20893 (mail-get-names, mail-directory): Use with-current-buffer.
20894
20895 * vc.el (vc-read-revision): New function.
20896 (vc-version-diff, vc-merge): Use it.
20897
20898 2009-08-27 Sam Steingold <sds@gnu.org>
20899
20900 * simple.el (kill-do-not-save-duplicates): New user option.
20901 (kill-new): When it is non-nil, and the new string is the same as
20902 the latest kill, set replace to t to avoid duplicates in kill-ring.
20903
20904 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
20905
20906 * net/tramp.el (tramp-handle-process-file): Do not flush all
20907 caches when `process-file-side-effects' is set.
20908 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
20909 instead of `tramp-find-file-exists-command'.
20910 Unset `process-file-side-effects'.
20911
20912 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
20913
20914 * net/tramp.el (tramp-methods): New method "rsyncc".
20915 (top): Add completion function for "rsyncc".
20916 (tramp-message-show-message): New defvar.
20917 (tramp-message, tramp-error): Use it.
20918 (tramp-do-copy-or-rename-file-directly): Extend check for direct
20919 remote copying.
20920 (tramp-do-copy-or-rename-file-out-of-band): Handle new
20921 `tramp-methods' entry `copy-env' of "rsyncc".
20922 (tramp-vc-registered-read-file-names): New defconst.
20923 (tramp-vc-registered-file-names): New defvar.
20924 (tramp-handle-vc-registered): Implement optimization strategy.
20925 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
20926 (tramp-vc-file-name-handler): New defun.
20927 (tramp-get-ls-command, tramp-get-test-command)
20928 (tramp-get-file-exists-command, tramp-get-remote-ln)
20929 (tramp-get-remote-perl, tramp-get-remote-stat)
20930 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
20931
20932 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
20933 (tramp-cache-inhibit-cache): Extend doc string. It allows also
20934 timestamps.
20935 (tramp-get-file-property): Check for timestamps in
20936 `tramp-cache-inhibit-cache'.
20937 (tramp-set-file-property): Write timestamp.
20938
20939 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
20940
20941 * language/japan-util.el (japanese-symbol-table): Add entries for
20942 cp932-2-byte.
20943
20944 * international/characters.el: Add category `j' to cp932-2-byte.
20945
20946 2009-08-27 Kenichi Handa <handa@m17n.org>
20947
20948 * international/fontset.el (build-default-fontset-data): New macro.
20949 (setup-default-fontset): Use build-default-fontset-data for CJK,
20950 tibetan, ethiopic, and ipa.
20951
20952 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
20953
20954 * cus-start.el (default-major-mode): Customize `major-mode' instead.
20955 (enable-multibyte-characters): Not customizable any more.
20956
20957 * subr.el (default-mode-line-format, default-header-line-format)
20958 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
20959 (default-direction-reversed, default-truncate-lines)
20960 (default-left-margin, default-tab-width, default-case-fold-search)
20961 (default-left-margin-width, default-right-margin-width)
20962 (default-left-fringe-width, default-right-fringe-width)
20963 (default-fringes-outside-margins, default-scroll-bar-width)
20964 (default-vertical-scroll-bar, default-indicate-empty-lines)
20965 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
20966 (default-fringe-cursor-alist, default-scroll-up-aggressively)
20967 (default-scroll-down-aggressively, default-fill-column)
20968 (default-cursor-type, default-buffer-file-type)
20969 (default-cursor-in-non-selected-windows)
20970 (default-buffer-file-coding-system, default-major-mode)
20971 (default-enable-multibyte-characters): Mark as obsolete.
20972
20973 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
20974
20975 * vc-dir.el (vc-dir-update): Remove debug helper.
20976
20977 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
20978
20979 2009-08-26 Sam Steingold <sds@gnu.org>
20980
20981 * simple.el (save-interprogram-paste-before-kill): New user option.
20982 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
20983 save the interprogram-paste into kill-ring before overriding it
20984 with the Emacs kill.
20985
20986 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
20987
20988 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
20989 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
20990 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
20991 and move to vc-rcs.el.
20992 (vc-default-next-revision): Rename to vc-rcs-next-revision and
20993 move to vc-rcs.el.
20994 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
20995 (vc-rcs-update-changelog): Remove.
20996 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
20997 and move to vc-rcs.el.
20998
20999 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
21000 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
21001 renaming.
21002 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
21003 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
21004 vc.el, renamed to be RCS specific.
21005
21006 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
21007 New functions.
21008 (vc-cvs-update-changelog): Move here from vc.el.
21009
21010 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
21011 New functions.
21012
21013 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
21014
21015 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
21016
21017 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
21018
21019 * vc-git.el (vc-git-register): Use "git add" for directories.
21020 (vc-git-stash, vc-git-stash-show): New functions.
21021 (vc-git-extra-menu-map): Bind them.
21022
21023 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
21024 directory correctly in case the item is a directory itself.
21025
21026 * vc.el: Document the desired behavior for reverted files in the
21027 `added' state.
21028 (vc-default-prettify-state-info): Remove function, unused.
21029
21030 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
21031
21032 2009-08-26 Glenn Morris <rgm@gnu.org>
21033
21034 * bindings.el (standard-mode-line-format): Reposition dashes in
21035 which-func entry. (Bug#4217)
21036
21037 * files.el (enable-local-variables, enable-local-eval)
21038 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
21039 the defcustoms.
21040 (auto-mode-alist, ignored-local-variables)
21041 (save-some-buffers-action-alist): Move risky declarations to the
21042 definitions.
21043 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
21044 (font-lock-defaults, format-alist, imenu--index-alist)
21045 (imenu-generic-expression, input-method-alist, minor-mode-alist)
21046 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
21047 (mode-line-modified, mode-line-mule-info, mode-line-position)
21048 (mode-line-process, mode-line-remote, outline-level)
21049 (parse-time-rules, rmail-output-file-alist)
21050 (special-display-buffer-names, vc-mode):
21051 Move risky declarations to the relevant files.
21052 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
21053 (mode-line-modified, mode-line-process, mode-line-position)
21054 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
21055 * font-core.el (font-lock-defaults):
21056 * format.el (format-alist):
21057 * vc-hooks.el (vc-mode):
21058 * window.el (special-display-buffer-names):
21059 * international/mule-cmds.el (input-method-alist):
21060 Define riskiness here (dumped file) rather than in files.el.
21061 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
21062 * imenu.el (imenu-generic-expression, imenu--index-alist):
21063 * outline.el (outline-level):
21064 * time.el (display-time-string):
21065 * calendar/parse-time.el (parse-time-rules):
21066 * mail/rmailout.el (rmail-output-file-alist):
21067 Autoload riskiness here, rather than placing in files.el.
21068
21069 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
21070
21071 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
21072
21073 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
21074
21075 * simple.el (process-file-side-effects): New defvar.
21076
21077 * dired-aux.el (dired-show-file-type):
21078 * vc.el (vc-diff-internal):
21079 * vc-arch.el (vc-arch-diff):
21080 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
21081 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
21082 * vc-git.el (vc-git-registered, vc-git-working-revision)
21083 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
21084 (vc-git--empty-db-p):
21085 * vc-hooks.el (vc-user-login-name):
21086 * vc-svn.el (vc-svn-registered, vc-svn-state)
21087 (vc-svn-dir-extra-headers, vc-svn-find-revision):
21088 * progmodes/grep.el (grep-probe): Let-bind
21089 `process-file-side-effects' with nil.
21090
21091 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
21092
21093 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
21094 daemon. Replace ping by checking for running service for bluez
21095 and zeroconf. (Bug#4239)
21096
21097 2009-08-25 Kevin Ryde <user42@zip.com.au>
21098
21099 * net/dig.el (dig): Add autoload cookie.
21100
21101 2009-08-25 Glenn Morris <rgm@gnu.org>
21102
21103 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
21104 load-history for absolute file-names.
21105 (byte-compile-file-form-require): Warn about use of the cl package.
21106
21107 * format.el (format-alist): Doc fix.
21108
21109 * play/bubbles.el (top-level): Don't require cl at run-time.
21110
21111 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
21112 run-time cl).
21113
21114 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
21115
21116 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
21117 from cl package.
21118 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
21119
21120 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
21121
21122 * calc/calc-alg.el (math-trig-rewrite)
21123 (math-hyperbolic-trig-rewrite): New functions.
21124 (calc-simplify): Simplify trig functions when asked.
21125
21126 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
21127
21128 * diff-mode.el (diff-find-source-location): Avoid goto-line.
21129
21130 2009-08-24 Kenichi Handa <handa@m17n.org>
21131
21132 * language/ind-util.el (mapthread): Delete it.
21133 (combinatorial): New function.
21134 (indian--puthash-cv): Use combinatorial instead of mapthread.
21135
21136 2009-08-22 Kevin Ryde <user42@zip.com.au>
21137
21138 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
21139 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
21140 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
21141 Clarify docstring that the value is strings not symbols.
21142 (checkdoc-list-of-strings-p): New function.
21143
21144 2009-08-22 Glenn Morris <rgm@gnu.org>
21145
21146 * files.el (auto-mode-alist):
21147 * hippie-exp.el (he-concat-directory-file-name):
21148 * lpr.el (lpr-windows-system, printer-name):
21149 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
21150 * ps-print.el (ps-windows-system):
21151 * startup.el (command-line):
21152 * emulation/viper-ex.el (viper-glob-function):
21153 * international/mule-cmds.el (set-language-environment-coding-systems):
21154 * net/ange-ftp.el (ange-ftp-write-region):
21155 * obsolete/fast-lock.el (fast-lock-cache-name):
21156 Remove code for defunct system-types emx, macos, mswindows, next-mach,
21157 unisoft-unix, vax-vms, win32, w32.
21158
21159 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
21160 given name if the pattern is not more specific.
21161
21162 * calendar/lunar.el (lunar-phase-names): New option.
21163 (lunar-phase): Doc fix.
21164 (lunar-cycles-per-year): New constant.
21165 (lunar-index): New function.
21166 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
21167 (lunar-phase-name): Use lunar-phase-names.
21168 (calendar-lunar-phases): Use format.
21169 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
21170
21171 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
21172 Copy imenu-example--name-and-position function here for own use.
21173 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
21174
21175 * bs.el (bs--redisplay):
21176 * cus-edit.el (custom-redraw):
21177 * ibuffer.el (ibuffer-bury-buffer):
21178 * server.el (server-goto-line-column):
21179 * startup.el (command-line-1):
21180 * strokes.el (strokes-xpm-for-stroke):
21181 * term.el (term-display-buffer-line):
21182 * view.el (View-goto-line):
21183 * calc/calc.el (calc-do, calc-trail-buffer):
21184 * play/gamegrid.el (gamegrid-add-score-insecure):
21185 * progmodes/ada-mode.el (ada-compile-goto-error):
21186 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
21187 (ebrowse-select-1st-to-9nth):
21188 * progmodes/cperl-mode.el (cperl-time-fontification):
21189 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
21190 * progmodes/gud.el (gud-display-line):
21191 (idlwave-shell-display-line):
21192 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
21193 * progmodes/make-mode.el (makefile-browser-toggle):
21194 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
21195 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
21196 * textmodes/picture.el (picture-draw-rectangle):
21197 * textmodes/reftex-index.el (reftex-index-goto-letter):
21198 (reftex-select-jump-to-previous):
21199 * textmodes/reftex-sel.el (reftex-find-start-point)
21200 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
21201 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
21202 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
21203 * textmodes/tex-mode.el (tex-compilation-parse-errors):
21204 * textmodes/two-column.el (2C-associated-buffer):
21205 Use forward-line rather than goto-line.
21206
21207 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
21208 goto-line.
21209
21210 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
21211 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
21212 (quick-check-list-to-regexp): Declare.
21213
21214 * progmodes/make-mode.el (makefile-browser-insert-selection):
21215 Use goto-char rather than goto-line.
21216
21217 * progmodes/prolog.el (compilation-error-regexp-alist)
21218 (compilation-forget-errors): Declare.
21219
21220 2009-08-22 Juri Linkov <juri@jurta.org>
21221
21222 * progmodes/grep.el (lgrep, rgrep): At the beginning
21223 set `dir' to `default-directory' unless `dir' is a non-nil
21224 readable directory. (Bug#4052)
21225 (lgrep, rgrep): Change a weird way to report an error
21226 from using `read-string' to using `error'.
21227 Instead of using interactive arguments in the function body,
21228 add new argument `confirm'.
21229
21230 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
21231
21232 * textmodes/remember.el (remember-buffer):
21233 * progmodes/cperl-mode.el (cperl-vc-header-alist):
21234 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
21235 (icalendar-extract-ical-from-buffer):
21236 * net/newst-treeview.el (newsticker-groups-filename):
21237 * net/newst-backend.el (newsticker-cache-filename):
21238 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
21239 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
21240 (speedbar-add-ignored-path-regexp, speedbar-line-path)
21241 (speedbar-buffers-line-path, speedbar-path-line)
21242 (speedbar-buffers-line-path):
21243 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
21244 (epg-sign-keys):
21245 * epa.el (epa-display-verify-result):
21246 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
21247
21248 2009-08-21 Glenn Morris <rgm@gnu.org>
21249
21250 * progmodes/js.el (inferior-moz-process): Fix declaration.
21251
21252 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
21253
21254 * obsolete/rnewspost.el (news-mail-reply):
21255 Use goto-char rather than goto-line.
21256
21257 * term/ns-win.el (ns-open-file-select-line):
21258 Use line-beginning-position rather than goto-line.
21259
21260 * apropos.el (apropos-command):
21261 * ehelp.el (electric-helpify):
21262 * printing.el (pr-show-setup):
21263 * strokes.el (strokes-help):
21264 * tutorial.el (tutorial--describe-nonstandard-key)
21265 (tutorial--detailed-help):
21266 * woman.el (woman-mini-help, woman-display-extended-fonts):
21267 * calc/calc-help.el (calc-describe-key):
21268 * emulation/edt.el (edt-electric-helpify):
21269 * international/mule-diag.el (mule-diag):
21270 * play/yow.el (apropos-zippy):
21271 * progmodes/python.el (python-describe-symbol):
21272 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
21273 * textmodes/table.el (*table--cell-describe-mode)
21274 (*table--cell-describe-bindings):
21275 Use help-print-return-message rather than the now obsolete alias.
21276
21277 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
21278 (calendar-cursor-to-visible-date):
21279 * play/5x5.el (5x5-position-cursor):
21280 * play/decipher.el (decipher):
21281 * play/gomoku.el (gomoku-goto-xy):
21282 * play/landmark.el (lm-goto-xy):
21283 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
21284 (mpuz-paint-digit):
21285 Use forward-line, not goto-line.
21286
21287 * mail/rmail.el (rmail-obsolete): Delete custom group.
21288 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
21289 (rmail-remote-password, rmail-remote-password-required):
21290 Remove unneeded :set-after and :set properties.
21291
21292 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
21293
21294 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
21295
21296 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
21297
21298 * loadup.el: Remove leftover macos code.
21299
21300 * vc-git.el (vc-git-annotate-command): Run asynchronously.
21301 Explicitly pass the date format to git blame so that user local
21302 so that the output format can be parsed.
21303
21304 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
21305
21306 * net/dbus.el (top): Don't check for (getenv
21307 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
21308
21309 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
21310
21311 * log-edit.el (log-edit-strip-single-file-name): New var.
21312 (log-edit-insert-changelog): Use it. Bug#3571.
21313
21314 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
21315
21316 * subr.el (read-passwd): Use read-key so keypad keys work as well.
21317 Bug#3287.
21318
21319 * help.el (help-print-return-message): Rename from
21320 print-help-return-message.
21321
21322 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
21323 cvs-mode-map parent hack.
21324 (log-view-mode): Derive from special-mode.
21325
21326 * linum.el (linum-mode): window-size-change-functions is redundant.
21327 Adapt to new window-configuration-change-hook behavior.
21328 (linum-after-size, linum-after-config): Remove.
21329
21330 * imenu.el (imenu-example--name-and-position)
21331 (imenu-example--lisp-extract-index-name)
21332 (imenu-example--create-lisp-index, imenu-example--create-c-index):
21333 Mark as obsolete.
21334
21335 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
21336 (inferior-prolog-mode): Use it.
21337 (inferior-prolog-load-file): Reset list of errors.
21338
21339 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
21340
21341 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
21342
21343 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
21344
21345 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
21346
21347 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
21348 is running already.
21349
21350 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
21351
21352 * subr.el (listify-key-sequence-1): Use normal syntax since those
21353 integers are nowadays always represented by the same (positive) number
21354 on all platforms.
21355 (read-key-empty-map): New const.
21356 (read-key-delay): New var.
21357 (read-key): New function.
21358 (force-mode-line-update): Use with-current-buffer.
21359 (locate-user-emacs-file): Don't forget to abbreviate the file name.
21360 (start-process-shell-command, start-file-process-shell-command):
21361 Discourage the use of command-args.
21362
21363 2009-08-19 Glenn Morris <rgm@gnu.org>
21364
21365 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
21366
21367 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
21368
21369 * simple.el (choose-completion-string): Don't rely on
21370 minibuffer-completing-file-name and ad-hoc checks to decide whether
21371 to continue completion or not.
21372
21373 * minibuffer.el (minibuffer-hide-completions): New function.
21374 (completion--do-completion): Use it.
21375 (completions-annotations): New face.
21376 (completion--insert-strings): Use it.
21377 (completion-pcm--delim-wild-regex): Add docstring.
21378 (completion-pcm--string->pattern): Add support for 0-width delimiters
21379 in completion-pcm--delim-wild-regex.
21380
21381 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
21382
21383 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
21384 Remove unused var `buffer-modified-p'.
21385
21386 * minibuffer.el (completion--do-completion): Move point for the #b001
21387 case as well (bug#4176).
21388 (minibuffer-complete, minibuffer-complete-word): Don't move point.
21389
21390 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
21391
21392 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
21393 and :session buses.
21394
21395 2009-08-18 Kenichi Handa <handa@m17n.org>
21396
21397 * international/ucs-normalize.el (ucs-normalize-version):
21398 Change to 1.1.
21399 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
21400 (utf-8-hfs): Make it perform normalization on encoding too.
21401
21402 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
21403 (sentence-end-without-space): Delete duplicated chars.
21404 (sentence-end-base): Likewise.
21405
21406 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
21407 (html-mode): Delete duplicated chars from sentence-end-base.
21408
21409 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
21410 (texinfo-mode): Delete duplicated chars from sentence-end-base.
21411
21412 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
21413
21414 * files.el (hack-one-local-variable): If the mode function is for
21415 a minor mode, pass it an argument (Bug#4148).
21416
21417 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
21418
21419 * net/tramp.el (tramp-register-completion-file-name-handler):
21420 Check also for (member 'partial-completion completion-styles).
21421
21422 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21423
21424 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
21425 abbrev (Bug#3943).
21426
21427 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
21428
21429 * progmodes/cperl-mode.el: Merge upstream 6.2.
21430 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
21431 (cperl-forward-re): Check cperl-brace-recursing.
21432 (cperl-highlight-charclass): New function.
21433 (cperl-find-pods-heres): Use it.
21434 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
21435 (cperl-beautify-regexp-piece): Fix column calculation.
21436 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
21437 (cperl-beautify-level): Don't process entire regexp.
21438 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
21439 calling man.
21440 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
21441 (cperl-init-faces): Build a list in the normal way.
21442
21443 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21444
21445 * calendar/parse-time.el (parse-time-string-chars): Save match
21446 data.
21447
21448 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
21449
21450 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
21451 (sql-product): Use it.
21452 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
21453 (sql-set-product): Add completion.
21454 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
21455 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
21456 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
21457 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
21458 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
21459 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
21460 (sql-highlight-db2-keywords): Remove.
21461 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
21462 (sql-highlight-product): Use derived-mode-p.
21463 (sql-set-sqli-buffer): Use with-current-buffer.
21464 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
21465 Simplify.
21466
21467 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
21468
21469 * term.el: Fix commenting convention, turn comments into docstrings.
21470
21471 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
21472
21473 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
21474
21475 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
21476
21477 * calendar/parse-time.el (parse-time-string-chars): Compute using
21478 character classes, to handle non-ascii characters (Bug#3190).
21479
21480 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21481
21482 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
21483 another heredoc if the user adds another < (Bug#3226).
21484
21485 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
21486 Don't initialize based on window-system (Bug#4124).
21487
21488 * facemenu.el (facemenu-read-color): Use a completion function
21489 that accepts any defined color, such as RGB triplets (Bug#3677).
21490
21491 * files.el (get-free-disk-space): Change fallback default
21492 directory to /. Expand DIR argument before switching to fallback.
21493 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
21494
21495 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
21496
21497 * files.el (load-library): Doc fix.
21498
21499 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
21500
21501 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
21502 (viper-if-string): Redefine C-s in the minibuffer to insert the last
21503 incremental search string.
21504
21505 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
21506 XEmacs.
21507
21508 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
21509 (ediff-merge-region-is-non-clash)
21510 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
21511 Also check if the job is really a merge job.
21512
21513 * ediff.el (ediff-current-file): New function.
21514
21515 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
21516
21517 * progmodes/js.el: Edit docstrings throughout to follow Emacs
21518 conventions.
21519 (js-insert-and-indent): Delete function.
21520 (js-mode-map): Don't bind keys to js-insert-and-indent.
21521 (js-beginning-of-defun): Rename from js--beginning-of-defun.
21522 (js-end-of-defun): Rename from js--end-of-defun.
21523 (js-auto-indent-flag): Delete variable.
21524
21525 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
21526
21527 * progmodes/js.el: Remove proclaim statement.
21528 Defvar which-func-imenu-joiner-function to silence compiler.
21529
21530 * files.el (auto-mode-alist): Use js-mode for .js files.
21531
21532 * progmodes/js2-mode.el: Remove file.
21533
21534 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
21535
21536 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
21537
21538 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
21539
21540 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
21541 Karl Landstrom <karl.landstrom@brgeight.se>
21542
21543 * progmodes/js.el: New file.
21544
21545 2009-08-14 Mark A. Hershberger <mah@everybody.org>
21546
21547 * timezone.el (timezone-parse-date): Add ability to understand ISO
21548 basic format (minimal separators) dates in addition to the
21549 already-supported extended format dates.
21550
21551 2009-08-14 Eli Zaretskii <eliz@gnu.org>
21552
21553 * international/ucs-normalize.el: Add a `coding' file variable.
21554
21555 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
21556
21557 2009-08-14 Sam Steingold <sds@gnu.org>
21558
21559 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
21560
21561 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
21562
21563 * faces.el (help-argument-name): Define it here instead of
21564 help-fns.el, because in daemon mode help-fns.el may be loaded when
21565 faces are still uninitialized (Bug#1078).
21566
21567 * help-fns.el (help-argument-name): Move defface to faces.el.
21568
21569 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
21570
21571 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
21572 create buffer with a pty but no process so that GDB can make the
21573 inferior the controlling process.
21574
21575 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
21576
21577 * international/ucs-normalize.el: New file.
21578
21579 2009-08-13 Richard Stallman <rms@gnu.org>
21580
21581 * mail/rmail.el (rmail-get-attr-names):
21582 Accept an attribute header that is too short.
21583
21584 * mail/rmail.el (rmail-forget-messages):
21585 Ignore nil elt in rmail-message-vector. Use dotimes.
21586
21587 * progmodes/compile.el (compilation-goto-locus):
21588 Use next-error-move-function.
21589
21590 * simple.el (next-error-move-function): New variable.
21591
21592 2009-08-12 Juri Linkov <juri@jurta.org>
21593
21594 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
21595 always non-nil. (Bug#4052)
21596
21597 * replace.el (read-regexp): Return empty string when
21598 `default-value' is nil.
21599 (keep-lines-read-args): Don't use empty string as the
21600 default value for `read-regexp'. (Bug#2495)
21601
21602 2009-08-12 Juri Linkov <juri@jurta.org>
21603
21604 * international/mule-cmds.el (ucs-insert): Change arguments
21605 from `arg' to `character', `count', `inherit' to be the same
21606 as in `insert-char'. Doc fix. (Bug#4039)
21607
21608 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
21609
21610 2009-08-12 Juri Linkov <juri@jurta.org>
21611
21612 * files-x.el: New file.
21613
21614 * files.el: Move code that deals with adding/deleting
21615 file/directory-local variables to files-x.el.
21616
21617 * Makefile.in (ELCFILES): Add files-x.elc.
21618
21619 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
21620
21621 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
21622 to use `goto-line'.
21623 (gdb-place-breakpoints, gdb-get-location): Rewritten without
21624 `goto-line'.
21625 (gdb-invalidate-disassembly): Do not refresh upon receiving
21626 'update signal. Instead, update all disassembly buffers only after
21627 threads list.
21628 (gdb): Send -target-detach when buffer is killed (Bug#3794).
21629 (gdb-starting): Move -data-list-register-names...
21630 (gdb-stopped): ...here so it's sent when first thread stops.
21631 (gdb-registers-handler-custom): Do nothing if register names are
21632 unknown yet.
21633
21634 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
21635 from `gdb-mi.el' to avoid extra tangling.
21636
21637 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
21638 change which breaks `gud-def' definitions used in `gdb'.
21639 (gdb-update-gud-running): No extra fuss for updating frame number.
21640
21641 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
21642
21643 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
21644 (describe-language-environment-map, setup-language-environment-map)
21645 (set-coding-system-map): Move initialization into declaration.
21646 (set-language-info-alist): Last arg to define-key-after can be skipped.
21647
21648 * international/quail.el (quail-completion-1): Simplify.
21649 (quail-define-rules): Use slightly more compact code.
21650 (quail-insert-decode-map): Propertize keys, compact columns.
21651
21652 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21653 Add goto-line.
21654
21655 2009-08-10 Miles Bader <miles@gnu.org>
21656
21657 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
21658 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
21659 (js2-instance-member, js2-private-member, js2-private-function-call)
21660 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
21661 (js2-magic-paren, js2-external-variable):
21662 Remove "-face" suffix from face names.
21663 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
21664 (js2-highlight-undeclared-vars, js2-peek-token)
21665 (js2-parse-function-params, js2-mode-show-errors)
21666 (js2-mode-show-warnings, js2-make-magic-delimiter)
21667 (js2-mode-highlight-magic-parens): Update to use new face names.
21668
21669 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
21670
21671 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
21672 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
21673
21674 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
21675
21676 * subr.el: Provide hashtable-print-readable.
21677
21678 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
21679 hs-c-like-adjust-block-beginning.
21680 (hs-hide-block-at-point): Stop hiding at the beginning of
21681 hs-block-end-regexp (Bug#700).
21682
21683 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
21684
21685 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
21686 a macro.
21687 (gdb-registers-handler-custom): Do not fail when register names
21688 are unavailable.
21689
21690 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
21691
21692 * progmodes/gdb-mi.el (gdb-control-all-threads)
21693 (gdb-control-current-thread): Interactive setters for
21694 `gdb-gud-control-all-threads' to use in menu.
21695 (gdb-show-run-p): Show «Go» when process is not active.
21696 (gud-tool-bar-map): Add non-stop/A,T indicator.
21697 Uses gud/thread.xpm and gud/all.xpm.
21698
21699 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
21700
21701 * net/net-utils.el (net-utils-font-lock-keywords): New var.
21702 (nslookup-font-lock-keywords): Make it a variable.
21703 (net-utils-mode): New mode for viewing diagnostic network output.
21704 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
21705 (net-utils-run-simple): New function.
21706 (ifconfig, iwconfig, netstat, arp, route): Use it.
21707
21708 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
21709
21710 * progmodes/gdb-mi.el (gdb-read-memory-custom)
21711 (gdb-memory-set-address, def-gdb-set-positive-number)
21712 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
21713 after changing settings.
21714 (gdb-invalidate-disassembly): Update when first shown.
21715 (gdb-edit-locals-value): Fix.
21716 (gdb-registers-handler-custom): Print registers in right order and
21717 allow changing register values (only for current thread yet).
21718 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
21719 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
21720 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
21721 (gdb-locals-handler-custom, gdb-registers-handler-custom):
21722 Thread info in mode name.
21723 (gdb-registers-mode-map): TAB to switch to locals.
21724
21725 2009-08-08 Eli Zaretskii <eliz@gnu.org>
21726
21727 * mail/rmail.el (rmail-add-mbox-headers)
21728 (rmail-set-message-counters-counter): Search for
21729 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
21730
21731 2009-08-08 Glenn Morris <rgm@gnu.org>
21732
21733 * Makefile.in (ELCFILES): Update.
21734
21735 2009-08-07 Eli Zaretskii <eliz@gnu.org>
21736
21737 * mail/sendmail.el (mail-yank-original):
21738 Set buffer-file-coding-system from the one used by the message whose
21739 text is yanked.
21740
21741 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
21742 to "windows" when "pgnuplot" is used.
21743 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
21744 Don't call accept-process-output if "pgnuplot" is used.
21745 (calc-graph-init): Don't send -display and -geometry to
21746 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
21747 running "pgnuplot -V" with shell-command-to-string.
21748
21749 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
21750 the default.
21751
21752 2009-08-07 Eli Zaretskii <eliz@gnu.org>
21753
21754 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
21755 org/org-latex.elc.
21756
21757 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
21758
21759 * vc-dispatcher.el (vc-resynch-window): Update comment.
21760
21761 * term.el (term-handle-ansi-escape): Add comments with the
21762 terminfo capabilities implemented.
21763
21764 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
21765
21766 * progmodes/gdb-mi.el (gdb-var-create-regexp): Remove.
21767 (gdb-var-create-handler): Rewritten using JSON parser.
21768 (gdb-propertize-header): Move earlier.
21769 (gdb-set-header): Remove to avoid duplication.
21770 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
21771 Refresh disassembly buffers only after threads list have been
21772 update.
21773 (gdb-threads-header, gdb-registers-header): Per-buffer header line
21774 variables.
21775
21776 2009-08-04 Juri Linkov <juri@jurta.org>
21777
21778 * files.el: Commands to add/delete file/directory-local variables.
21779 (read-file-local-variable, read-file-local-variable-value)
21780 (read-file-local-variable-mode, modify-file-local-variable)
21781 (modify-file-local-variable-prop-line)
21782 (modify-dir-local-variable): New functions.
21783 (add-file-local-variable, delete-file-local-variable)
21784 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
21785 (add-dir-local-variable, delete-dir-local-variable)
21786 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
21787 (copy-dir-locals-to-file-locals-prop-line): New commands.
21788
21789 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
21790
21791 * abbrev.el (insert-abbrev-table-description): Prettify output.
21792 Suggested by Karl Chen.
21793
21794 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
21795
21796 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
21797 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
21798 (gdb-overlay-arrow-position, gdb-thread-position)
21799 (gdb-disassembly-position): Declare variables.
21800 (gdb-wait-for-pending): Function now.
21801 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
21802 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
21803 compilation goes smoothly.
21804 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
21805 (gdb-non-stop-setting): New customization setting which replaces
21806 `gdb-non-stop' so changing it doesn't break active GDB session.
21807 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
21808 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
21809 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
21810 (gdb-show-threads-by-default): New customization options.
21811 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
21812 routines.
21813 (gdb-get-buffer-create): Send buffers update signal when they are
21814 created.
21815 (gdb-invalidate-locals, gdb-invalidate-registers)
21816 (gdb-invalidate-breakpoints)
21817 (gdb-invalidate-threads, gdb-invalidate-disassembly)
21818 (gdb-invalidate-memory): Accept update signal.
21819 (gdb-current-context-command): Use --frame option.
21820 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
21821 Implement `gdb-frame-number' selection logic.
21822 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
21823 whether to show GUD toolbar buttons.
21824 (gdb-thread-exited): Unselect current thread when it exits.
21825 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
21826 (gdb-mark-line): Routine which sets overlay arrow or inverses
21827 video on fringeless displays.
21828 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
21829 to build aligned columns of data in GDB buffers and set text
21830 properties line-by-line.
21831 (gdb-invalidate-breakpoints)
21832 (gdb-breakpoints-list-handler-custom)
21833 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
21834 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
21835 (gdb-registers-handler-custom): Align data columns.
21836 (gdb-locals-handler-custom): Now prints data like in variable
21837 declarations.
21838 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
21839 Remove confusing buttons.
21840 (gdb-invalidate-threads): Append --frame.
21841 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
21842 between breakpoints/threads buffers.
21843 (gdb-set-window-buffer): Now can ignore dedicated windows.
21844 (gdb-propertize-header): Use `gdb-set-window-buffer'.
21845 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
21846 (def-gdb-thread-buffer-gud-command): Replaces
21847 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
21848 for fine thread control.
21849 (gdb-preempt-existing-or-display-buffer): New function used to
21850 display bound buffers without breaking window layout.
21851 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
21852 (gdb-select-frame): New version of `gdb-frames-select' which now
21853 sets `gdb-frame-number' so commands may use --frame option instead
21854 of inner debugger state.
21855 (gdb-frame-handler): Do not set `gdb-frame-number'.
21856 (gdb-threads-mode-map): Select threads with mouse.
21857
21858 * progmodes/gud.el (gdb-gud-context-call): Declare function to
21859 avoid compilation warning.
21860 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
21861 `gdb-show-stop-p`.
21862
21863 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
21864 Argument `key' renamed to `buffer-type'.
21865 (gdb-current-context-buffer-name): Do not add thread info to
21866 buffer name when no thread is selected.
21867 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
21868 command (bug 3794).
21869 (gdb-thread-selected): Handle `=thread-selected' notification.
21870 (gdb-wait-for-pending): New macro to deal with congestion problems.
21871 (gdb-breakpoints-list-handler-custom): Don't fail on pending
21872 breakpoints.
21873 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
21874 This fixes problem similar to one described in bug 3947.
21875 (gud-menu-map): More menu items.
21876 (gdb-init-1): Reset `gdb-thread-number' to nil.
21877
21878 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
21879 non-stop settings.
21880
21881 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
21882 (gdb-current-context-command): Do not append --thread if
21883 `gdb-thread-number' is nil.
21884 (gdb-running-threads-count, gdb-stopped-threads-count):
21885 New variables.
21886 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
21887 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
21888 New customization options.
21889 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
21890 GUD commands.
21891 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
21892 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
21893 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
21894 set `gdb-thread-number' and update `gud-running' properly.
21895 (gdb-running): Update threads list when new threads appear.
21896 (gdb-stopped): Support non-stop operation and new thread switching
21897 logic.
21898 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
21899 (gdb-json-partial-output): New set of JSON routines.
21900 (def-gdb-auto-update-trigger): New `signal-list' optional
21901 argument.
21902 (gdb-thread-list-handler-custom): Update `gud-running',
21903 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
21904 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
21905 (gdb-continue-thread, gdb-step-thread): New commands for fine
21906 thread execution control.
21907 (gud-menu-map): New menu items to switch non-stop options.
21908 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
21909 (gdb-send): Mimic RET properly (bug 3794).
21910
21911 * progmodes/gdb-mi.el (gdb-rules-name-maker)
21912 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
21913 gdb-buffer-rules.
21914 (def-gdb-auto-update-handler): New nopreserve optional argument.
21915 (gdb-stack-list-frames-custom): Print stack from top to bottom.
21916
21917 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
21918 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
21919 (gdb-parent-mode): New mode to derive other GDB modes from.
21920 (gdb-display-disassembly-for-thread)
21921 (gdb-frame-disassembly-for-thread): New commands for threads
21922 buffer.
21923
21924 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
21925 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
21926 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
21927 (gdb-update): We now store all GDB buffers in a list so that they
21928 can be updated by traversing a list instead of calling invalidate
21929 triggers explicitly.
21930 (def-gdb-trigger-and-handler): New macro to define trigger-handler
21931 pair for GDB buffer.
21932 (gdb-stack-buffer-name): Add thread information.
21933 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
21934 handle pending triggers.
21935 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
21936 (def-gdb-thread-buffer-simple-command)
21937 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
21938 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
21939 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
21940 New commands which show buffers bound to thread.
21941 (gdb-stack-list-locals-regexp): Remove unused regexp.
21942
21943 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
21944 (gdb-locals-buffer-name, gdb-registers-buffer-name)
21945 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
21946 to (gud-comint-buffer) in *-buffer-name functions
21947 because (gdb-get-target-string) already does that.
21948 (gdb-locals-handler-custom, gdb-registers-handler-custom)
21949 (gdb-changed-registers-handler): Rewritten without regexps.
21950
21951 * progmodes/gdb-mi.el: Basic thread selection support.
21952 (gdb-thread-number): New variable.
21953 (gdb-current-context-command): New macro which adds --thread
21954 option to command.
21955 (gdb-threads-mode-map): Select thread with SPC.
21956 (gdb-thread-list-handler-custom): Mark current thread with overlay
21957 arrow. Synchronize GDB thread and Emacs thread.
21958 (gdb-select-thread): New command which selects current thread.
21959 (gdb-invalidate-frames, gdb-invalidate-locals)
21960 (gdb-invalidate-registers): Use --thread option.
21961
21962 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
21963
21964 * net/tramp.el (top): Make check for tramp-gvfs loading more
21965 robust. (Bug#3977)
21966 (tramp-handle-insert-file-contents): `unwind-protect' must be
21967 inside `with-parsed-tramp-file-name'.
21968
21969 * net/tramp-gvfs.el (top): Remove superfluous message when loading
21970 fails.
21971
21972 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
21973
21974 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
21975 directory if CLASSPATH is not set.
21976
21977 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
21978
21979 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
21980 New defconst.
21981 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
21982
21983 2009-08-02 Kevin Ryde <user42@zip.com.au>
21984
21985 * net/newst-backend.el (newsticker--raw-url-list-defaults):
21986 Update freshmeat link. Delete newsforge.com as it seems gone.
21987
21988 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
21989
21990 * select.el (x-set-selection): Doc fix (Bug#4021).
21991
21992 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
21993
21994 * help-fns.el (describe-variable): Treat list return values from
21995 dir-locals-find-file properly (Bug#4005).
21996
21997 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
21998
21999 * net/tramp.el (tramp-debug-message): Print also microseconds.
22000
22001 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
22002
22003 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
22004 or END is non-nil.
22005 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
22006 (tramp-get-debug-buffer): Change `outline-regexp' according to new
22007 format.
22008
22009 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
22010 (tramp-get-file-property): Use it.
22011
22012 * autorevert.el (auto-revert-handler):
22013 Allow `auto-revert-tail-mode' for remote files.
22014
22015 2009-08-02 Jason Rumney <jasonr@gnu.org>
22016
22017 * minibuffer.el (read-file-name): Treat confirm options to
22018 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
22019
22020 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
22021
22022 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
22023 (font-lock-variable-name-face, font-lock-constant-face):
22024 Darken the colors for light backgrounds.
22025
22026 2009-08-01 Eli Zaretskii <eliz@gnu.org>
22027
22028 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
22029 month names. (Bug#3987)
22030
22031 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
22032
22033 * simple.el (line-move-finish): Pass whole number to
22034 line-move-to-column.
22035 (line-move-visual): Perform hscroll to the recorded position.
22036
22037 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
22038
22039 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
22040
22041 2009-07-29 Alan Mackenzie <acm@muc.de>
22042
22043 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
22044
22045 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
22046
22047 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
22048 (gdb-place-breakpoints): Use full path when setting breakpoints.
22049
22050 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
22051
22052 * calc/calc.el (calc-mode-map): Add keybinding for
22053 `calc-transpose-lines'.
22054
22055 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
22056
22057 * calc/calc-misc.el (calc-transpose-lines): New function.
22058
22059 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
22060
22061 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
22062 Simplify check for out-of-band methods.
22063 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
22064 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
22065
22066 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
22067
22068 * vc-git.el (vc-git-checkin): Fix typo.
22069
22070 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
22071
22072 * progmodes/js2-mode.el: New file.
22073
22074 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
22075
22076 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
22077 (gud-menu-map): Adjust tooltip accordingly.
22078
22079 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
22080
22081 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
22082 (vc-bzr-log-view-mode): Adjust log-view-file-re.
22083
22084 * add-log.el (change-log-mode-map): Add a menu.
22085
22086 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
22087
22088 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
22089 function returns nil.
22090 (dbus-handle-event): Handle special return value :ignore.
22091 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
22092
22093 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
22094
22095 * view.el (view-mode-enable): Don't define Helper-return-blurb if
22096 it's not needed.
22097
22098 2009-07-25 Eli Zaretskii <eliz@gnu.org>
22099
22100 Fix Bug#3888:
22101
22102 * w32-vars.el (x-select-enable-clipboard): Doc fix.
22103
22104 * term/pc-win.el (x-display-name, x-colors)
22105 (x-select-enable-clipboard, x-select-text): Doc fix.
22106
22107 * term/common-win.el (x-display-name, x-colors): Doc fix.
22108
22109 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
22110 (xw-defined-colors): Doc fix.
22111
22112 * w32-fns.el (x-select-text, x-setup-function-keys)
22113 (x-get-selection, x-set-selection): Doc fix.
22114
22115 * term/x-win.el (x-select-text, x-setup-function-keys)
22116 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
22117
22118 * select.el (x-set-selection): Doc fix.
22119
22120 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
22121
22122 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
22123 instead of "IsNSSSupportAvailable". Avahi ought to work also when
22124 "IsNSSSupportAvailable" method is not available.
22125 Reported by Steve Youngs <steve@sxemacs.org>.
22126
22127 2009-07-24 Kenichi Handa <handa@m17n.org>
22128
22129 * international/characters.el: Fix setting of category ?C, ?|, ?K,
22130 and ?H. Fix setting of case for Latin Extended and Greek Extended.
22131 (build-unicode-category-table): Fix range checks.
22132
22133 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
22134
22135 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
22136 the buffer we try to sync is current when calling
22137 vc-resynch-buffer.
22138
22139 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
22140 not show up to date files.
22141
22142 2009-07-24 Glenn Morris <rgm@gnu.org>
22143
22144 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
22145 Add autoload cookies. If necessary, initialize.
22146 (elint-log): Handle non-file buffers.
22147 (elint-initialize): Add optional argument to reinitialize.
22148 (elint-find-builtin-variables): Save excursion.
22149
22150 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
22151
22152 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
22153 for Lint.
22154
22155 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
22156
22157 * vc.el (vc-print-log-internal): New function, split out from ...
22158 (vc-print-log): ... here.
22159 (vc-dir-move-to-goal-column): Declare.
22160
22161 * vc-git.el (vc-git-add-signoff): New variable.
22162 (vc-git-checkin): Use it.
22163 (vc-git-toggle-signoff): New function.
22164 (vc-git-extra-menu-map): Bind it to menu.
22165 (vc-git--run-command-string): Accept a nil FILE argument.
22166 (vc-git-stash-list): New function.
22167 (vc-git-dir-extra-headers): Use it.
22168
22169 2009-07-23 Glenn Morris <rgm@gnu.org>
22170
22171 * help-fns.el (describe-variable): Describe ignored and risky local
22172 variables in a similar way to that in which we describe safe ones.
22173
22174 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
22175 (byte-compile-output-file-form, byte-compile-output-docform)
22176 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
22177 Give some more local variables with common names a "bytecomp-" prefix,
22178 so as not to shadow things during compilation.
22179 * emacs-lisp/cl-macs.el (load-time-value)
22180 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
22181 `outbuffer' to `bytecomp-outbuffer'.
22182
22183 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
22184 since the next two variables cover them automatically now.
22185 (elint-builtin-variables, elint-autoloaded-variables): New.
22186 (elint-unknown-builtin-args): Remove all members, since they can be
22187 parsed automatically now.
22188 (elint-extra-errors): New.
22189 (elint-env-add-env, elint-env-add-macro): Use cadr.
22190 (elint-current-buffer): Use or. Change final message.
22191 (elint-get-top-forms): Use line-end-position.
22192 (elint-init-env): Use cadr. Handle autoload, declare-function,
22193 and defalias.
22194 (elint-add-required-env): Doc fix. Use or. Standardize error.
22195 (regexp-assoc): Remove unused function.
22196 (elint-top-form): Set elint-current-pos, to record the start of the
22197 top-level form, for compilation-mode.
22198 (elint-form): Trap errors in macro expansion. Use dolist.
22199 (elint-unbound-variable): Use elint-builtin-variables and
22200 elint-autoloaded-variables.
22201 (elint-get-args): Use cadr, or.
22202 (elint-check-cond-form): Use dolist, cadr.
22203 (elint-check-condition-case-form): Doc fix. Use cadr.
22204 Use elint-extra-errors.
22205 (elint-log): New function.
22206 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
22207 Distinguish errors and warnings.
22208 (elint-log-message): Use with-current-buffer. Inhibit read-only.
22209 Use a bytecomp-style format.
22210 (elint-clear-log): Preserve default-directory. Inhibit read-only.
22211 (elint-get-log-buffer): Use compilation mode. Disable undo.
22212 Don't truncate lines.
22213 (elint-initialize): Set builtin and autoloaded variable lists.
22214 Only process elint-unknown-builtin-args if non-nil.
22215 (elint-find-builtin-variables, elint-find-autoloaded-variables):
22216 New functions.
22217 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
22218
22219 2009-07-22 Kevin Ryde <user42@zip.com.au>
22220
22221 * net/newst-backend.el (newsticker--parse-atom-1.0)
22222 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
22223 (newsticker--parse-rss-1.0):
22224 * progmodes/idlwave.el (idlwave-mode):
22225 * progmodes/idlw-shell.el (idlwave-shell-mode):
22226 * progmodes/vera-mode.el (vera-mode):
22227 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
22228 * progmodes/vhdl-mode.el (vhdl-mode):
22229 * textmodes/table.el (table-generate-source)
22230 (table--warn-incompatibility):
22231 Hyperlink urls in docstrings with URL `...'.
22232
22233 2009-07-22 Glenn Morris <rgm@gnu.org>
22234
22235 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
22236 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
22237 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
22238 Remove leading * from defcustom docs.
22239
22240 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
22241
22242 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
22243 defcustom doc.
22244 (list-load-path-shadows): Optionally, just return shadows as a string.
22245
22246 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
22247
22248 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
22249
22250 * mail/rmailedit.el (rmail-edit-mode):
22251 Use auto-save-include-big-deletions.
22252
22253 * mail/rmail.el (rmail-variables):
22254 Use auto-save-include-big-deletions.
22255
22256 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
22257 changes.
22258
22259 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
22260
22261 * calc/calc.el (calc-undo-length): New variable.
22262 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
22263
22264 2009-07-21 Richard Stallman <rms@gnu.org>
22265
22266 * files.el (auto-save-mode): Handle buffer-save-size = -2
22267 for toggling mode.
22268
22269 2009-07-21 Glenn Morris <rgm@gnu.org>
22270
22271 * textmodes/ispell.el (ispell-looking-back): Update declaration.
22272
22273 * calendar/todo-mode.el (calendar-current-date): Update declaration.
22274
22275 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
22276 silence compiler. Instead...
22277 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
22278 (ps-print-ensure-fontified): Update for above function name changes.
22279
22280 * printing.el (pr-mh-get-msg-num, pr-mh-show)
22281 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
22282 silence compiler. Instead...
22283 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
22284 (mh-show-buffer): Only define for compiler.
22285 (pr-mh-current-message): Update for above function name changes.
22286
22287 * files.el (abort-if-file-too-large): Explicitly pass `filename'
22288 as an argument.
22289 (find-file-noselect, insert-file-1): Update for above change.
22290
22291 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
22292
22293 * mail/mailclient.el (mailclient-send-it): Fix message.
22294
22295 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
22296 (edebug-eval): Check cl-debug-env is bound.
22297 (print-level, print-circle): Don't redefine built-in variables.
22298
22299 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
22300 (custom-print-vectors): Remove old comments from doc.
22301
22302 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
22303 (emerge-version): Make the variable an obsolete alias for the
22304 emacs-version variable. Make the function obsolete.
22305 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
22306 Emerge options, rather than merging in into the main Options menu.
22307 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
22308 and auto advance modes. Disable edit/fast items when not relevant.
22309
22310 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
22311
22312 * term/vt420.el (terminal-init-vt420): Fix typo.
22313
22314 2009-07-20 Sam Steingold <sds@gnu.org>
22315
22316 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
22317 variable (removed from compile.el on 2004-03-11).
22318
22319 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
22320
22321 * files.el (hack-local-variables-filter): Fix last change.
22322
22323 2009-07-19 Juri Linkov <juri@jurta.org>
22324
22325 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
22326 (dir-local-variables-alist): New buffer-local variable.
22327 (hack-local-variables-filter): If variable is not dir-local,
22328 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
22329 because file-local overrides dir-local.
22330 (c-postprocess-file-styles) <declare-function>:
22331 Remove obsolete declaration.
22332 (hack-dir-local-variables): Add dir-local variable/value pair to
22333 `dir-local-variables-alist' and remove duplicates. Doc fix.
22334
22335 * help-fns.el (describe-variable): Add information about
22336 file-local and dir-local variables.
22337
22338 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
22339
22340 * files.el (hack-local-variables-filter): Rewrite.
22341
22342 2009-07-19 Glenn Morris <rgm@gnu.org>
22343
22344 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
22345 Silence compiler by only defining on XEmacs.
22346
22347 * international/mule.el (auto-coding-regexp-alist): Only match
22348 BABYL... at the start of buffer, not of lines. (Bug#3790)
22349
22350 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
22351 non-calendar buffers (Bug#3862). Restore "not on a date" message.
22352 (cal-menu-context-mouse-menu): Doc fix.
22353
22354 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
22355
22356 * simple.el (mail-user-agent): Doc fix. Set :version tag.
22357
22358 2009-07-18 Juri Linkov <juri@jurta.org>
22359
22360 * info.el: Virtual Info keyword finder.
22361 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
22362 (Info-finder-file): New variable.
22363 (Info-finder-find-file): New function.
22364 (finder-known-keywords, finder-package-info)
22365 (find-library-name, lm-commentary): Use defvar and
22366 declare-function to silence compiler warnings.
22367 (Info-finder-find-node): New function.
22368 (info-finder): New command.
22369
22370 * subr.el (process-kill-buffer-query-function): New function.
22371 (add-hook)<kill-buffer-query-functions>: Add hook
22372 `process-kill-buffer-query-function'.
22373
22374 2009-07-18 Alan Mackenzie <acm@muc.de>
22375
22376 * progmodes/cc-mode.el (c-before-hack-hook)
22377 (c-postprocess-file-styles): Give invocation of `c-set-style'
22378 DONT-OVERRIDE parameter of t. Already set style variables will
22379 thus not be overridden by style settings given by `c-file-syle'.
22380
22381 * files.el (hack-local-variables-filter): Remove entries with
22382 duplicate keys from `file-local-variables-alist'.
22383
22384 2009-07-18 Eli Zaretskii <eliz@gnu.org>
22385
22386 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
22387 x-set-selection if display-selections-p returns nil for the
22388 current frame.
22389
22390 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
22391
22392 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
22393
22394 2009-07-18 Eli Zaretskii <eliz@gnu.org>
22395
22396 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
22397 Accept nil in addition to a regexp.
22398 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
22399 Accept nil in addition to a regexp.
22400 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
22401 buffers that have an associated file. Handle nil values of
22402 desktop-buffers-not-to-save and desktop-files-not-to-save.
22403 (Bug#3833)
22404
22405 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
22406 (x-disown-selection-internal): New functions.
22407
22408 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
22409
22410 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
22411 warning.
22412 (gdb-breakpoints-header): Move forward to avoid compiler warning.
22413 (gdb-make-header-line-mouse-map): Remove duplicate definition.
22414
22415 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
22416
22417 * simple.el (set-mark): Revert last change.
22418
22419 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
22420
22421 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
22422 rendering of pngs is not possible instead of messaging a long
22423 description.
22424
22425 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
22426
22427 * w32-fns.el (x-selection-owner-p): New function.
22428
22429 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
22430 (mouse-yank-at-click, mouse-yank-primary):
22431 If select-active-regions is non-nil, deactivate the mark before
22432 insertion.
22433
22434 * simple.el (deactivate-mark, set-mark): Only save selection if we
22435 own it.
22436
22437 2009-07-17 Kenichi Handa <handa@m17n.org>
22438
22439 * case-table.el (describe-buffer-case-table): Fix for the case
22440 that KEY is a cons.
22441
22442 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
22443
22444 * vc-rcs.el (vc-rcs-find-file-hook):
22445 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
22446
22447 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
22448
22449 * net/tramp.el (tramp-wait-for-output): Handle the case when
22450 commands do not return a newline but a null byte before the shell
22451 prompt. (Bug#3858)
22452
22453 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
22454
22455 * term/ns-win.el (ns-set-alpha): Don't declare.
22456 (ns-set-background-alpha): Remove function.
22457
22458 2009-07-16 Kevin Ryde <user42@zip.com.au>
22459
22460 * emacs-lisp/copyright.el (copyright-update): Save match-data across
22461 y-or-n-p, for safety.
22462
22463 2009-07-16 Richard Stallman <rms@gnu.org>
22464
22465 * files.el (auto-save-mode): If buffer-saved-size is -2,
22466 don't clobber it.
22467
22468 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
22469 (rmail-retry-ignored-headers): Add more uninteresting fields.
22470
22471 2009-07-15 Jari Aalto <jari.aalto@cante.net>
22472
22473 * net/rcirc.el (rcirc): Use history variables.
22474 (rcirc-server-name-history, rcirc-nick-name-history)
22475 (rcirc-server-port-history): New variables.
22476
22477 2009-07-15 Kenichi Handa <handa@m17n.org>
22478
22479 * international/mule-cmds.el (set-language-environment-charset):
22480 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
22481 ignore them.
22482
22483 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
22484 Delete unibyte-display.
22485
22486 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
22487
22488 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
22489
22490 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
22491
22492 * simple.el (deactivate-mark): Optional argument FORCE.
22493 (set-mark): Use deactivate-mark.
22494
22495 * info.el (Info-search): No need to check transient-mark-mode
22496 before calling deactivate-mark.
22497
22498 * select.el (x-set-selection): Doc fix.
22499 (x-valid-simple-selection-p): Allow buffer values.
22500 (xselect--selection-bounds): Handle buffer values.
22501 Suggested by David De La Harpe Golden.
22502
22503 * mouse.el (mouse-set-region, mouse-drag-track):
22504 Call copy-region-as-kill before setting the mark, to let
22505 select-active-regions work.
22506
22507 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
22508
22509 * simple.el (deactivate-mark): If select-active-regions is
22510 non-nil, copy the selection data into a string.
22511 (activate-mark): If select-active-regions is non-nil, set the
22512 selection to the current buffer.
22513 (set-mark): Update selection if select-active-regions is non-nil.
22514
22515 * select.el (x-valid-simple-selection-p): Allow buffer values.
22516
22517 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
22518
22519 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
22520 and more featureful message-mode.
22521
22522 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
22523
22524 * select.el (x-set-selection): Doc fix.
22525 (x-valid-simple-selection-p): Disallow selection data consisting
22526 of a list or cons of integers, since that is not used.
22527 (xselect--selection-bounds, xselect--int-to-cons): New functions.
22528 (xselect-convert-to-string, xselect-convert-to-length)
22529 (xselect-convert-to-filename, xselect-convert-to-charpos)
22530 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
22531
22532 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
22533
22534 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
22535 output in -break-info command (Emacs bug #3794).
22536
22537 2009-07-14 Glenn Morris <rgm@gnu.org>
22538
22539 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
22540 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
22541 (edebug-print-length, edebug-print-level, edebug-print-circle)
22542 (edebug-sit-for-seconds, edebug-view-outside)
22543 (edebug-bounce-point, edebug-set-global-break-condition)
22544 (edebug-Go-nonstop-mode, edebug-trace-mode)
22545 (edebug-Trace-fast-mode, edebug-continue-mode)
22546 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
22547 (edebug-visit-eval-list): Doc fixes.
22548
22549 * subr.el (def-edebug-spec): Doc fix.
22550
22551 2009-07-14 Kenichi Handa <handa@m17n.org>
22552
22553 * international/characters.el: Fix setting of category ?C.
22554
22555 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
22556
22557 * term/ns-win.el (x-select-font): defalias x-select-font to
22558 ns-popup-font-panel instead of generate-fontset-menu.
22559
22560 2009-07-12 Eli Zaretskii <eliz@gnu.org>
22561
22562 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
22563
22564 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
22565
22566 * arc-mode.el (archive-find-type): Allow for a PK00 string before
22567 the PK\003\004 header (Bug#3770).
22568
22569 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
22570
22571 * pcomplete.el (pcomplete-comint-setup): Check for
22572 shell-dynamic-complete-filename too.
22573
22574 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
22575
22576 * simple.el (temporary-goal-column): Change the value for
22577 line-move-visual to a cons cell.
22578 (line-move-visual): Record or set the window hscroll, if
22579 necessary (Bug#3494).
22580 (line-move-1): Handle cons value of temporary-goal-column.
22581
22582 2009-07-11 Kenichi Handa <handa@m17n.org>
22583
22584 * international/mule-diag.el (describe-character-set): Don't show
22585 width.
22586
22587 2009-07-10 Sam Steingold <sds@gnu.org>
22588
22589 * progmodes/compile.el (compilation-mode-font-lock-keywords):
22590 Omake sometimes indents the errors it prints, so allow all
22591 regexps to start with spaces.
22592
22593 2009-07-10 Eli Zaretskii <eliz@gnu.org>
22594
22595 * cus-edit.el (customize-changed-options-previous-release):
22596 Bump value to 22.1. (Bug#3804)
22597
22598 2009-07-08 Sam Steingold <sds@gnu.org>
22599
22600 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
22601 to be a cons cell (test . ignored-directory) to selectively ignore
22602 some directories depending on the location of the search.
22603
22604 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
22605
22606 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
22607 remote user is root, on the local host.
22608 (tramp-local-host-p): Either the local user or the remote user
22609 must be root. (Bug#3771)
22610
22611 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
22612
22613 * progmodes/gdb-mi.el (gdb): Remove description of
22614 gdb-use-separate-io-buffer.
22615 (menu): Don't allow toggling of or enable
22616 gdb-use-separate-io-buffer from menubar.
22617
22618 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
22619
22620 * mail/unrmail.el (unrmail): Make sure the message ends with two
22621 newlines (Bug#3769).
22622
22623 2009-07-08 Glenn Morris <rgm@gnu.org>
22624
22625 * calendar/calendar.el (calendar-current-date): Rework previous change.
22626
22627 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
22628
22629 * calendar/calendar.el (calendar-current-date):
22630 Add an optional argument giving an offset from today.
22631
22632 2009-07-08 Glenn Morris <rgm@gnu.org>
22633
22634 * tutorial.el (tutorial--describe-nonstandard-key):
22635 Adjust the message for when a key has been unbound.
22636 (help-with-tutorial): Hide the arch-tag.
22637
22638 2009-07-08 Kenichi Handa <handa@m17n.org>
22639
22640 * international/fontset.el (setup-default-fontset): For each
22641 script, append (not set) font-specs.
22642
22643 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
22644 docstring.
22645
22646 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
22647
22648 * progmodes/gdb-mi.el (gdb-init-1): Move sending
22649 -data-list-register-names to ...
22650 (gdb-starting): ... here because GDB 7.0 requires execution to
22651 have started when using this MI command.
22652 (gdb-set-header): New function to distinguish select and
22653 unselected tabs in gdb buffers.
22654 (gdb-propertize-header): New macro that uses gdb-set-header.
22655 (gdb-breakpoints-header, gdb-locals-header): Use it.
22656 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
22657
22658 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
22659
22660 * Makefile.in (ELCFILES): Remove fadr.elc.
22661
22662 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
22663
22664 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
22665 may contain frame information, so `string-match' should be used.
22666 (gdb-update): Disassembly is invalidated through
22667 `gdb-get-selected-frame'.
22668 (gdb-pad-string): New function to pad string with spaces.
22669 (gdb-invalidate-disassembly): Invalidate only if the buffer
22670 exists.
22671 (gdb-disassembly-handler-custom): Column alignment.
22672 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
22673 placing new ones.
22674 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
22675 end of line, too.
22676 (gdb-frame-handler): Match convention to for disassembly buffer
22677 mode name.
22678 (gdb-stack-list-frames-handler): Rewritten without regexps.
22679 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
22680 not highlight breakpoints without line information.
22681 (gdb-input): Add trailing newline to command.
22682
22683 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
22684 buffer properly.
22685 (gdb-breakpoints-list-handler-custom): Replacement for
22686 `gdb-break-list-handler'. Using real parser instead of regexps
22687 now.
22688 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
22689 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
22690 to place breakpoints.
22691 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
22692 functions.
22693 (gdb-disassembly-handler-custom): Show overlay arrow.
22694 (gdb-disassembly-place-breakpoints): Show breakpoints in
22695 disassembly buffer.
22696 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
22697 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
22698 instead of parsing breakpoints buffer. Fixed old menu references
22699 in `gud-menu-map'.
22700
22701 * fadr.el: Remove.
22702
22703 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
22704 (gdb-memory-address): New variable which holds top address of
22705 memory page shown in memory buffer.
22706 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
22707 New customization variables.
22708 New functions:
22709 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
22710 display the memory buffer.
22711 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
22712 buffer display parameters.
22713 (def-gdb-memory-format, gdb-memory-format-binary)
22714 (gdb-memory-format-octal, gdb-memory-format-unsigned)
22715 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
22716 Functions for setting memory buffer format.
22717 (gdb-memory-unit-word, gdb-memory-unit-halfword)
22718 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
22719 unit size used in memory buffer.
22720 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
22721 Switch to next/previous page of memory buffer.
22722 Now using (bindat-get-field) instead of fadr functions.
22723
22724 2009-07-07 Sam Steingold <sds@gnu.org>
22725
22726 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
22727 non-top-level files.
22728
22729 2009-07-07 Kenichi Handa <handa@m17n.org>
22730
22731 * international/mule-cmds.el (reset-language-environment):
22732 Put the highset priority to the charset iso-8859-1.
22733
22734 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
22735
22736 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
22737 to the end of the line when locating the block (Bug#700).
22738
22739 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
22740
22741 * net/tramp.el (tramp-handle-write-region): Flush file properties
22742 in case of short track.
22743
22744 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
22745
22746 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
22747 Coded custom representation of verilog error regular expressions
22748 to work with Emacs-22's new format.
22749 (verilog-error-regexp-xemacs-alist): Coded custom representation
22750 of verilog error regular expressions to work with XEmacs format.
22751 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
22752 error recognition into XEmacs.
22753 (verilog-error-regexp-add-emacs): Hook routine to install verilog
22754 error recognition into Emacs-22.
22755
22756 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
22757
22758 * woman.el: Remove stand-alone closing parentheses.
22759 (woman-file-name, woman2-format-paragraphs)
22760 (woman-leave-blank-lines): Code cleanup.
22761 (woman-use-own-frame): Change default to nil.
22762 (woman-italic, woman-bold, woman-unknown, woman-addition):
22763 Change defaults to inherit from default faces.
22764 (woman2-process-escapes): Consume the newline after a stand-alone
22765 filler character (Bug#3651).
22766
22767 2009-07-06 Glenn Morris <rgm@gnu.org>
22768
22769 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
22770 (top-level): Move provide to the end.
22771 (ffap): Remove defunct URL from custom group.
22772
22773 * subr.el (eval-after-load): Doc fix.
22774
22775 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
22776
22777 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
22778 `calc-embedded-word' is called twice.
22779
22780 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22781
22782 * files.el (find-alternate-file-other-window, find-alternate-file):
22783 Obey confirm-nonexistent-file-or-buffer.
22784
22785 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
22786
22787 * dired-aux.el (dired-show-file-type): Handle remote files.
22788
22789 2009-07-05 Jari Aalto <jari.aalto@cante.net>
22790
22791 * desktop.el (desktop-globals-to-save):
22792 Add file-name-history (Bug#2750).
22793
22794 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
22795
22796 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
22797
22798 2009-07-04 Johan Bockgård <bojohan@gnu.org>
22799
22800 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
22801 property on entire argument since this is what eshell-lisp-command
22802 expects.
22803
22804 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
22805
22806 * net/tramp-gvfs.el (tramp-gvfs-methods)
22807 (tramp-gvfs-zeroconf-domain)
22808 (tramp-bluez-discover-devices-timeout): Add version flag.
22809 (tramp-gvfs-handler-mounted-unmounted)
22810 (tramp-gvfs-connection-mounted-p): Polish handling of
22811 incompatibilities between GVFS 0.2 and 1.0.
22812
22813 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
22814
22815 * cus-start.el (all): Add make-pointer-invisible.
22816
22817 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
22818
22819 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
22820 formatted correctly.
22821
22822 2009-07-02 Juri Linkov <juri@jurta.org>
22823
22824 * info.el: Virtual Info files and nodes.
22825 (Info-virtual-files, Info-virtual-nodes): New variables.
22826 (Info-current-node-virtual): New variable.
22827 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
22828 New functions.
22829 (Info-file-supports-index-cookies): Use Info-virtual-file-p
22830 to check for a virtual file instead of checking a fixed list
22831 of node names.
22832 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
22833 instead of ad-hoc processing of "dir" and (apropos history toc).
22834 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
22835 instead of ad-hoc processing of "dir" and (apropos history toc).
22836 Reread a file when moving from a virtual node.
22837 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
22838 (Info-directory-toc-nodes, Info-directory-find-file)
22839 (Info-directory-find-node): New functions.
22840 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
22841 (Info-history): Move part of code to
22842 `Info-history-find-node'.
22843 (Info-history-toc-nodes, Info-history-find-file)
22844 (Info-history-find-node): New functions.
22845 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
22846 (Info-toc): Move part of code to `Info-toc-find-node'.
22847 (Info-toc-find-node): New function.
22848 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
22849 the current Info file name to references because now the node
22850 "*TOC*" belongs to the same Info manual.
22851 (Info-toc-build): Rename from `Info-build-toc'.
22852 (Info-toc-nodes): Rename input argument `file' to `filename'.
22853 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
22854 instead of ad-hoc processing of ("dir" apropos history toc).
22855 (Info-index-nodes): Use Info-virtual-file-p
22856 to check for a virtual file instead of checking a fixed list
22857 of node names.
22858 (Info-index-node): Add check for `Info-current-node-virtual'.
22859 Raise `save-match-data' higher up the tree to contain
22860 `search-forward' too (bug fix).
22861 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
22862 (Info-virtual-index-nodes): New variable.
22863 (Info-virtual-index-find-node, Info-virtual-index): New functions.
22864 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
22865 (Info-apropos-file, Info-apropos-nodes): New variables.
22866 (Info-apropos-toc-nodes, Info-apropos-find-file)
22867 (Info-apropos-find-node, Info-apropos-matches): New functions.
22868 (info-apropos): Move part of code to `Info-apropos-find-node' and
22869 `Info-apropos-matches'.
22870 (Info-mode-map): Bind "I" to `Info-virtual-index'.
22871 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
22872 for a virtual file instead of checking a fixed list of node names.
22873
22874 * simple.el (async-shell-command): New command.
22875
22876 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
22877
22878 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
22879 instead of `mount-info'.
22880
22881 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
22882
22883 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
22884 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
22885
22886 2009-07-02 Kenichi Handa <handa@m17n.org>
22887
22888 * international/mule.el (set-keyboard-coding-system): Force *-unix
22889 coding-system to avoid eol conversion.
22890
22891 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
22892
22893 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
22894 Add handler for `process-file', `shell-command' and
22895 `start-file-process'.
22896 (tramp-gvfs-handle-shell-command)
22897 (tramp-gvfs-handle-start-file-process)
22898 (tramp-gvfs-handle-process-file): New defuns.
22899 (tramp-synce-list-devices): Simplify check for existence of property.
22900
22901 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
22902
22903 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
22904
22905 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
22906
22907 * language/korean.el (set-language-info-alist): Add korean-cp949,
22908 cp949 to spec.
22909
22910 2009-07-01 Kenichi Handa <handa@m17n.org>
22911
22912 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
22913
22914 * international/encoded-kb.el: Deleted.
22915
22916 * international/mule.el (set-keyboard-coding-system): Perform the
22917 necessary setup here instead of calling encoded-kbd-setup-display.
22918
22919 2009-07-01 Glenn Morris <rgm@gnu.org>
22920
22921 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
22922
22923 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
22924
22925 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
22926
22927 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
22928
22929 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
22930 Handle also the 'rename case, when setting file modes. (Bug#3712)
22931 (tramp-default-file-modes): Remove execute permissions.
22932
22933 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
22934 (top): Add a default for "synce" in `tramp-default-user-alist'.
22935 Add completion function for "synce" method.
22936 (tramp-hal-service, tramp-hal-path-manager)
22937 (tramp-hal-interface-manager, tramp-hal-interface-device):
22938 New defconst.
22939 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
22940 (tramp-synce-list-devices, tramp-synce-parse-device-names):
22941 New defuns.
22942
22943 * net/trampver.el: Update release number.
22944
22945 2009-06-30 Kenichi Handa <handa@m17n.org>
22946
22947 * international/fontset.el (setup-default-fontset): Add CJK fonts
22948 for symbols and the other miscellaneous characters.
22949
22950 * language/korea-util.el (setup-korean-environment-internal):
22951 Make char-width-table suitable for Korean environments.
22952 (exit-korean-environment): Cancel above.
22953
22954 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
22955 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
22956 setup-function to make char-width-table suitable for respective
22957 environments, and an exit-function to cancel that.
22958
22959 * language/japan-util.el (setup-japanese-environment-internal):
22960 Call use-cjk-char-width-table with arg `ja_JP'.
22961
22962 * international/characters.el (cjk-char-width-table): Delete it.
22963 (cjk-char-width-table-list): New variable.
22964 (use-cjk-char-width-table): New arg local-name.
22965 (use-default-char-width-table): Fix for the case that Emacs is
22966 already using the default char-width-table.
22967
22968 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
22969
22970 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
22971 modes mandatory. (Bug#3712)
22972
22973 2009-06-29 Alan Mackenzie <acm@muc.de>
22974
22975 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
22976 correction between the visible width of TABs and their number of bytes.
22977
22978 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
22979
22980 * server.el (server-buffer-done): Prevent kill-buffer from
22981 prompting by clearing the buffer modification flag (Bug#3696).
22982
22983 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
22984
22985 * progmodes/verilog-mode.el (verilog-beg-of-statement)
22986 (verilog-endcomment-reason-re): Support unique case and priority case.
22987 (verilog-basic-complete-re): Support localparam lineup.
22988 (verilog-beg-of-statement-1): Fix for robustness, unique case.
22989 (verilog-set-auto-endcomments): Fix for unique case, always_comb
22990 commenting.
22991 (verilog-leap-to-case-head): Now support *nested* unique &
22992 priority case statements.
22993 (verilog-auto-lineup): Make just declarations the default (as it
22994 had been).
22995 (verilog-leap-to-case-head): Support priority/unique case statements.
22996 (verilog-auto-lineup): Rework to give users radio buttons to
22997 select the various styles of automatic lineup.
22998 (verilog-error-regexp-alist): Rework to support the XEmacs style
22999 of error regular expressions from compilers, lint tools &
23000 simulators. Note that GNU Emacs has made it impossible for a mode
23001 to load such things.
23002 (electric-verilog-terminate-line, verilog-indent-declaration)
23003 (verilog-auto-wiure): Rework for radio button selection of
23004 auto-lineup selection of specification of auto lineup.
23005 (verilog-beg-of-statement-1): Redesign to support proper operation
23006 in additional code, based on testing with auto-lineup.
23007 (verilog-calculate-indent, assignments & declarations)
23008 (verilog-backward-token): Enhance to support auto-lineup of
23009 assignments & declarations.
23010 (verilog-in-directive-p, verilog-at-struct-p): New function for
23011 easy test of whether we are.
23012 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
23013 to support safe execution at almost anyline.
23014 (verilog-calc-1): Properly support indenting deep inside generate
23015 blocks.
23016 (verilog-init-font): Remove definition & use of verilog-init-font,
23017 as it is redundant with font-lock-defaults.
23018 (verilog-mode): Alter the definition of verilog-font-lock-defaults
23019 to avoid circular calls if syntax-ppss is a function (as is the
23020 case now in 22.x GNU Emacs) as that function would sometimes call
23021 itself, leading to (nearly) infinite recursion.
23022 (verilog-ovm-begin-re, verilog-ovm-end-re)
23023 (verilog-ovm-statement-re, verilog-leap-to-head)
23024 (verilog-backward-token): Add support for OVM macros. Some are
23025 complete statements, and others open and close scopes like begin
23026 and end.
23027 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
23028 (verilog-defun-level-generate-only-re): Really fix the defun-list
23029 compilation issue.
23030 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
23031 coverpoint, constraint and cross statements.
23032 (verilog-defun-level-list, verilog-generate-defun-level-list)
23033 (verilog-all-defun-level-list): Redo these specifications - it is
23034 too hard to support eval-when compile aggregation of lists also
23035 built at when-compile time.
23036 (verilog-defun-level-list): Place defconsts of variables used in
23037 building regular expressions which are built in eval-when-compile
23038 bodies in the same eval-when-compile body to facilitate compile
23039 without load.
23040 (verilog-beg-block-re-ordered): Support indenting
23041 virtual/protected tasks and functions.
23042 (verilog-defun-level-list, verilog-in-generate-region-p)
23043 (verilog-backward-ws&directives, verilog-calc-1): Speed up
23044 indentation of some module items (generate items).
23045 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
23046 across virtual/protected tasks and functions.
23047
23048 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
23049
23050 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
23051 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
23052 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
23053 in concatenations. Reported by Yishay Belkind.
23054 (verilog-auto-ascii-enum): Support one-hot state machines in
23055 AUTOASCIIENUM. Suggested by Lloyd Gomez.
23056 (verilog-auto-inst, verilog-auto-inst-port): Include interface
23057 modport in AUTOINST and add vl-modport for users.
23058 Reported by David Rogoff.
23059 (verilog-auto-inout-module, verilog-auto-inst)
23060 (verilog-decls-get-interfaces, verilog-insert-definition)
23061 (verilog-insert-one-definition, verilog-read-decls)
23062 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
23063 (verilog-sig-modport, verilog-signals-combine-bus)
23064 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
23065 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
23066 Suggested by David Rogoff.
23067 (verilog-repair-open-comma): Fix non-insertion of comma when
23068 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
23069 (verilog-make-width-expression): Simplify [A-1:0] expression
23070 widths to just {A{1'b0}}.
23071 (verilog-mode): Cleanup checkdoc warnings.
23072 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
23073 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
23074 inputs/outputs or data type. Suggested by Vasu Kandadi.
23075 (next-error-last-buffer): Fix byte-compiler warning.
23076 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
23077 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
23078 or shell command text during AUTO expansion. Suggested by Tad Truex.
23079 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
23080 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
23081 Fix dotted nets {a.b,c.d} and escaped identifiers being mis-included
23082 in AUTOINOUT. Reported by Matthew Lovell.
23083 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
23084 causing use of <= assignments. Reported by Alex Reed.
23085 (verilog-read-decls): Fix triand, trior, wand, wor to be
23086 recognized by AUTOWIRE. Reported by Spencer Isaacson.
23087 (verilog-extended-complete-re): Support import "DPI-C" functions.
23088 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
23089 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
23090 (verilog-insert-date, verilog-insert-year)
23091 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
23092 Windows systems. Reported by Michael Potts.
23093 (verilog-read-module-name): Fix AUTOINST when the child module
23094 declaration's name is a tick define. Reported by Elliot Mednick.
23095 (verilog-read-decls): Fix V2K parameter bit subscripts getting
23096 passed to next parameter's definition. Reported by Bruce T.
23097 (verilog-read-decls): Fix detecting "parameter int" when using
23098 AUTOINSTPARAM. Reported by Bruce T.
23099 (verilog-goto-defun): Fix goto not finding modules unless first
23100 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
23101 (verilog-mode): Expand -f flag arguments on entry to mode so
23102 verilog-goto-defun will work. Reported by Lawrence Butcher.
23103 (verilog-getopt): Expand environment variables in -f file
23104 arguments. Suggested by Lawrence Butcher.
23105 (verilog-set-define): Fix "Symbol's value as variable is void"
23106 when reading enumerations.
23107 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
23108 Suggested by Stephen Peltan.
23109 (verilog-read-defines): Fix reading of enumerations in include
23110 files. Reported by Steve Peltan.
23111
23112 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
23113
23114 * files.el (trash-directory): Fix defcustom type.
23115
23116 2009-06-28 Juri Linkov <juri@jurta.org>
23117
23118 * help-fns.el (describe-function-1): Correctly locate adviced
23119 functions in hyperlink (Bug#2438).
23120
23121 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
23122
23123 * files.el (trash-directory): Change default to nil.
23124 (move-file-to-trash): If trash-directory is nil and
23125 system-move-file-to-trash is unbound, perform freedesktop-style
23126 trashing.
23127
23128 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
23129
23130 * files.el (move-file-to-trash): Add freedesktop trash
23131 support (Bug#973).
23132
23133 2009-06-28 Glenn Morris <rgm@gnu.org>
23134
23135 * autorevert.el (global-auto-revert-non-file-buffers)
23136 (global-auto-revert-mode): Doc fixes.
23137
23138 2009-06-27 Johan Bockgård <bojohan@gnu.org>
23139
23140 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
23141
23142 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
23143
23144 * faces.el (x-handle-named-frame-geometry): Ensure that we have
23145 opened an X connection before calling x-get-resource (Bug#3194).
23146
23147 * play/doctor.el: Remove reference to obsolete website.
23148 (make-doctor-variables): Correct grammar mistake (Bug#2633).
23149
23150 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
23151
23152 Remove find-file-not-found-hook VC method. (Bug#2757)
23153 * vc-hooks.el (vc-file-not-found-hook)
23154 (vc-default-find-file-not-found-hook): Remove functions.
23155 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
23156 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
23157 * vc.el:
23158 * vc-hg.el:
23159 * vc-git.el: Do not mention find-file-not-found-hook VC method.
23160
23161 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
23162
23163 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
23164 compatibility function for `looking-back'.
23165
23166 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
23167 Use `ispell-looking-back'.
23168
23169 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
23170
23171 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
23172 rather than `filename'.
23173
23174 2009-06-23 Miles Bader <miles@gnu.org>
23175
23176 * face-remap.el (text-scale-set): New function.
23177
23178 2009-06-23 Glenn Morris <rgm@gnu.org>
23179
23180 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
23181
23182 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
23183
23184 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
23185
23186 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
23187
23188 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
23189 Simplify Persian conditionals.
23190
23191 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
23192 variable `filename'.
23193
23194 * comint.el (comint-insert-input): Doc fix.
23195
23196 * Makefile.in (ELCFILES): Fix typo in previous change.
23197
23198 2009-06-23 Miles Bader <miles@gnu.org>
23199
23200 * cus-start.el: Add entry for `recenter-redisplay'.
23201
23202 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
23203
23204 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
23205 Add an optional argument for the backend, use it instead of
23206 calling vc-backend.
23207 (vc-mode-line): Add an optional argument for the backend.
23208 Pass the backend to vc-state and vc-working-revision. Move code for
23209 special handling for vc-state being a buffer to ...
23210
23211 * vc-rcs.el (vc-rcs-find-file-hook):
23212 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
23213
23214 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
23215 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
23216 vc-stay-local-p and vc-mode-line calls.
23217
23218 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
23219 (vc-cvs-diff, vc-cvs-annotate-command)
23220 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
23221 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
23222 vc-mode-line calls.
23223
23224 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
23225 direct comparison.
23226 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
23227 backend when calling vc-mode-line.
23228 (vc-register): Do not create a closure for calling the vc register
23229 function, call it directly.
23230
23231 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
23232
23233 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
23234 to make it obvious item can be clicked.
23235
23236 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
23237
23238 2009-06-23 Kenichi Handa <handa@m17n.org>
23239
23240 * language/korea-util.el (korean-key-bindings): Change the binding
23241 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
23242 same command.
23243
23244 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
23245
23246 Sync with Tramp 2.1.16.
23247
23248 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
23249
23250 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
23251 when a loading of a package fails. Completion function for rsync
23252 is `tramp-completion-function-alist-ssh'.
23253 (all): Replace all calls of `split-string' and
23254 `tramp-split-string' by `tramp-compat-split-string'.
23255 (tramp-default-method): Use `tramp-compat-process-running-p'.
23256 (tramp-default-proxies-alist): Allow also Lisp forms.
23257 (tramp-remote-path): Add choice "Private Directories".
23258 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
23259 (tramp-domain-regexp): Allow also "-", "_" and ".".
23260 (tramp-end-of-output): Remove newlines, and add "$" at the end.
23261 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
23262 (tramp-debug-message): Insert header line in debug buffer.
23263 (tramp-handle-directory-files-and-attributes-with-stat):
23264 Care about filenames with spaces, or starting with "-".
23265 (tramp-handle-dired-uncache): New defun.
23266 (tramp-handle-insert-directory): Don't flush the directory from
23267 cache, this is handled by `dired-uncache' now.
23268 (tramp-handle-insert-file-contents): Improve error handling.
23269 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
23270 Quote `tramp-end-of-output'.
23271 (tramp-action-password): Improve trace message.
23272 (tramp-check-for-regexp): Both echoes must be present, before removing.
23273 (tramp-open-connection-setup-interactive-shell): Trace coding system.
23274 (tramp-compute-multi-hops): Eval cons cells of
23275 `tramp-default-proxies-alist'.
23276 (tramp-maybe-open-connection): Use the same command pattern for
23277 first hop and further hops.
23278 (tramp-wait-for-output): Remove handling of newlines.
23279 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
23280 (tramp-split-string): Remove function. It is handled in
23281 tramp-compat now.
23282
23283 * net/tramp-cmds.el (tramp-bug):
23284 Recommend `tramp-cleanup-all-connections' in the bug mail.
23285
23286 * net/tramp-compat.el (tramp-compat-split-string)
23287 (tramp-compat-process-running-p): New defuns.
23288
23289 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
23290 for `dired-uncache'.
23291
23292 * net/tramp-gvfs.el: New package.
23293
23294 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
23295 Add handler for `dired-uncache'.
23296 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
23297
23298 * net/trampver.el: Update release number. Make version check fit
23299 for SXEmacs 22.
23300
23301 2009-06-22 Jim Meyering <meyering@redhat.com>
23302
23303 Automatically handle .xz suffix (XZ-compressed files), too.
23304 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
23305 XZ is the successor to LZMA: <http://tukaani.org/xz/>
23306
23307 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
23308 Nick Roberts <nickrob@snap.net.nz>
23309
23310 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
23311 repository (http://sphinx.net.ru/hg/gdb-mi/).
23312
23313 2009-06-22 Glenn Morris <rgm@gnu.org>
23314
23315 * files.el (dir-locals-collect-mode-variables): Allow for any number of
23316 `mode' and `eval' entries. (Bug#3430)
23317
23318 * Makefile.in (ELCFILES): Add fadr.elc.
23319
23320 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
23321 differing behavior of \n and ^ in strings. (Bug#3385)
23322
23323 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
23324
23325 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
23326 property.
23327 (lisp-indent-function): Make it a defcustom.
23328
23329 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
23330
23331 * progmodes/gdb-ui.el: Replace with ...
23332 * progmodes/gdb-mi.el: ... this file.
23333 * progmodes/gud.el: Modify for gdb-mi.el.
23334
23335 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
23336
23337 * fadr.el: New file.
23338
23339 See ChangeLog.14 for earlier changes.
23340
23341 ;; Local Variables:
23342 ;; coding: utf-8
23343 ;; End:
23344
23345 Copyright (C) 2009-2011 Free Software Foundation, Inc.
23346
23347 This file is part of GNU Emacs.
23348
23349 GNU Emacs is free software: you can redistribute it and/or modify
23350 it under the terms of the GNU General Public License as published by
23351 the Free Software Foundation, either version 3 of the License, or
23352 (at your option) any later version.
23353
23354 GNU Emacs is distributed in the hope that it will be useful,
23355 but WITHOUT ANY WARRANTY; without even the implied warranty of
23356 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23357 GNU General Public License for more details.
23358
23359 You should have received a copy of the GNU General Public License
23360 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.