(term-set-scroll-region, term-handle-ansi-escape):
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
b3f01e46
SM
12009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * term.el (term-set-scroll-region, term-handle-ansi-escape):
4 Undo last change, which didn't fix the problem and introduced others.
5
107ef54a
NR
62009-09-24 Nick Roberts <nickrob@snap.net.nz>
7
8 * progmodes/gdb-mi.el: Don't require speedbar.
9 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
10
ffa1fed6
GM
112009-09-24 Glenn Morris <rgm@gnu.org>
12
2157a2be
GM
13 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
14
6125167c
GM
15 * term/ns-win.el (ns-reg-to-script): Define for compiler.
16
ffa1fed6
GM
17 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
18 there is no newline after the final mime boundary. (Bug#4539)
19 Move markers on insertion so that any buttons inserted don't end up in
20 the next part of a multipart message.
2e9075d3
GM
21 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
22 (rmail-mime-bulk-handler): Optionally handle images.
23 (rmail-mime-image): New button action.
24 (rmail-mime-image-handler): New function.
25 (rmail-mime-mode): New mode.
26 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
ffa1fed6 27
4a814992
SM
282009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
29
075518b5
SM
30 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
31 than just dropping elements from it (bug#4504).
32
8ad2defc
SM
33 * term.el (term-set-scroll-region): Don't move cursor any more.
34 (term-handle-ansi-escape): Call term-goto here instead.
35 Suggested by Ivan Kanis <apple@kanis.eu>.
36
4a814992
SM
37 * term.el: Require CL.
38 (term-ansi-reset): New function.
39 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
40 (term-handle-colors-array): Simplify.
41
5a0c3f56
JB
422009-09-24 Juanma Barranquero <lekktu@gmail.com>
43
44 * allout.el (allout-overlay-interior-modification-handler)
45 (allout-obtain-passphrase):
46 * epa-file.el (epa-file-write-region):
47 * ps-print.el (ps-begin-job):
48 * vc-hooks.el (vc-toggle-read-only):
49 * vc-rcs.el (vc-rcs-rollback):
50 * vc-sccs.el (vc-sccs-rollback):
51 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
52 (vc-version-diff, vc-revert, vc-rollback):
53 * wdired.el (wdired-check-kill-buffer):
54 * emacs-lisp/authors.el (authors):
55 * net/socks.el (socks-open-connection):
56 * net/zeroconf.el (zeroconf-service-add-hook):
57 * obsolete/vc-mcvs.el (vc-mcvs-register):
58 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
59 (gdb-select-frame):
60 * progmodes/grep.el (lgrep, rgrep):
61 * progmodes/idlw-help.el (idlwave-help-check-locations)
62 (idlwave-help-html-link, idlwave-help-assistant-open-link):
63 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
64 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
65 (reftex-toc-rename-label): Fix typos in error messages.
66
67 * dired-aux.el (dired-do-shell-command): Reflow docstring.
68 (dired-copy-how-to-fn): Doc fix.
69 (dired-files-attributes, dired-read-shell-command):
70 Fix typos in docstrings.
71
72 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
73 (dired-x-find-file-other-window): Reflow docstrings.
74 (dired-omit-marker-char, dired-read-shell-command)
75 (dired-x-submit-report): Fix typos in docstrings.
76
77 * shell.el (shell-mode-hook):
78 * view.el (View-scroll-line-forward):
79 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
80 Fix typos in docstrings.
81
82 * net/dig.el (dig-invoke): Fix typo in docstring.
83 (query-dig): Reflow docstring.
84
85 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
86 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
87 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
88 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
89 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
90 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
91 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
92 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
93 (idlwave-completion-map, idlwave-current-indent)
94 (idlwave-custom-ampersand-surround, idlwave-customize)
95 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
96 (idlwave-define-abbrev, idlwave-determine-class-special)
97 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
98 (idlwave-end-block-reg, idlwave-end-of-statement)
99 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
100 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
101 (idlwave-explicit-class-listed, idlwave-file-header)
102 (idlwave-fill-paragraph, idlwave-find-class-definition)
103 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
104 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
105 (idlwave-in-quote, idlwave-indent-action-table)
106 (idlwave-indent-expand-table, idlwave-indent-line)
107 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
108 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
109 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
110 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
111 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
112 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
113 (idlwave-outlawed-buffers, idlwave-popup-select)
114 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
115 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
116 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
117 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
118 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
119 (idlwave-statement-type, idlwave-struct-skip)
120 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
121 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
122 (idlwave-what-module-find-class): Fix typos in docstrings.
123 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
124 (idlwave-calculate-cont-indent, idlwave-expand-equal)
125 (idlwave-find-module, idlwave-find-structure-definition)
126 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
127 (idlwave-list-load-path-shadows, idlwave-next-statement)
128 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
129 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
130 (idlwave-template): Reflow docstrings.
131
132 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
133 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
134 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
135 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
136 (idlwave-shell-display-line, idlwave-shell-display-wframe)
137 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
138 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
139 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
140 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
141 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
142 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
143 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
144 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
145 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
146 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
147 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
148 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
149 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
150 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
151 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
152 Fix typos in docstrings.
153 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
154 (idlwave-shell-hide-output, idlwave-shell-mode)
155 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
156 Reflow docstrings.
157
158 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
159
62136c5d
SM
1602009-09-24 Ivan Kanis <apple@kanis.eu>
161
162 * term.el (term-bold-attribute): New var.
163 (term-handle-colors-array): Use it.
164
9c1a45ed
NR
1652009-09-23 Nick Roberts <nickrob@snap.net.nz>
166
167 * progmodes/gdb-mi.el (gdb-version): New variable.
168 (gdb-non-stop-handler): Set gdb-version.
169 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
170 Condition "--thread" option on gdb-version.
171 (gdb-invalidate-threads): Remove unused argument.
172
03304f31
SM
1732009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
174
175 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
176 to looking-back to avoid ridiculous slow down in large files (bug#4511).
177
4f02f0c9
GM
1782009-09-23 Glenn Morris <rgm@gnu.org>
179
180 * mail/rmail.el (rmail-reply): Don't try to add a References header when
181 replying to mail without References or Message-Id. (Bug#4525)
182
a3b4b363
AR
1832009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
184
185 * term/ns-win.el (ns-reg-to-script): New variable.
186
7bda18cc
DU
1872009-09-23 Daiki Ueno <ueno@unixuser.org>
188
189 * epg.el (epg-wait-for-status): Preserve existing 'error results.
190
72169e55
SS
1912009-09-22 Sam Steingold <sds@gnu.org>
192
193 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
71630ffe
SS
194 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
195 to 1 because hg returns status 1 when nothing is found.
0aa4f295 196 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
72169e55 197
905b7d38
SM
1982009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
199
b0459dec
SM
200 * textmodes/fill.el: Convert to utf-8 encoding.
201 (fill-french-nobreak-p): Remove redundant » and « inherited from our
202 pre-unicode days.
203
905b7d38
SM
204 * add-log.el (change-log-fill-forward-paragraph): New function.
205 (change-log-mode): Use it so fill-region DTRT.
206 Set fill-indent-according-to-mode here rather than in
207 change-log-fill-paragraph.
208 (change-log-fill-paragraph): Remove.
209
baa7f3de
JB
2102009-09-22 Juanma Barranquero <lekktu@gmail.com>
211
212 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
213 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
214
a8d789f0
GM
2152009-09-22 Glenn Morris <rgm@gnu.org>
216
daedbbc2
GM
217 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
218 the scroll-bar scroll the calendar window rather than the buffer.
219
d8899a74
GM
220 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
221 commands that move point (as opposed to scrolling).
222
a8d789f0
GM
223 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
224
225 * emacs-lisp/elint.el (elint): New custom group.
226 (elint-log-buffer): Make it a defcustom.
227 (elint-scan-preloaded, elint-ignored-warnings)
228 (elint-directory-skip-re): New options.
229 (elint-builtin-variables): Doc fix.
230 (elint-preloaded-env): New variable.
231 (elint-unknown-builtin-args): Add an entry for encode-time.
232 (elint-extra-errors): Make it a variable rather than a constant.
233 (elint-preloaded-skip-re): New constant.
234 (elint-directory): Skip files matching elint-directory-skip-re.
235 (elint-features): New variable, local to linted buffers.
236 (elint-update-env): Initialize elint-features. Possibly add
237 elint-preloaded-env to the buffer's environment.
238 (elint-get-top-forms): Bind elint-current-pos, for log messages.
239 Skip quoted forms.
240 (elint-init-form): New function, extracted from elint-init-env.
241 Make non-list forms a warning rather than an error.
242 Add the mode-map for define-derived-mode. Handle define-minor-mode,
243 easy-menu-define, put that adds an error-condition, and provide.
244 When requiring cl, also require cl-macs. Really require cl, to handle
245 some cl macros. Store required libraries in the list elint-features,
246 so as not to re-load them. Treat cc-require like require.
247 (elint-init-env): Call elint-init-form to do the work.
248 Handle eval-and-compile and such like.
249 (elint-add-required-env): Do not clear messages.
250 (elint-special-forms): Add handlers for function, defalias, if, when,
251 unless, and, or.
252 (elint-form): Add optional argument to ignore elint-special-forms,
253 useful to prevent recursive calls from handlers. Doc fix.
254 Respect elint-ignored-warnings.
255 (elint-form): Respect elint-ignored-warnings.
256 (elint-bound-variable, elint-bound-function): New variables.
257 (elint-unbound-variable): Respect elint-bound-variable.
258 (elint-get-args): Respect elint-bound-function.
259 (elint-check-cond-form): Add some simple handling for (f)boundp and
260 featurep tests.
261 (elint-check-defalias-form): New handler.
262 (elint-check-let-form): Make an empty let a warning rather than an
263 error.
264 (elint-check-setq-form): Make an empty setq a warning rather than an
265 error. Respect elint-ignored-warnings.
266 (elint-check-defvar-form): Accept null doc-strings.
267 (elint-check-conditional-form): New handler. Does some simple-minded
268 checking of featurep and (f)boundp tests.
269 (elint-put-function-args): New function.
270 (elint-initialize): Use elint-scan-doc-file rather than
271 elint-find-builtin-variables. Use elint-put-function-args.
272 Possibly scan preloaded-file-list.
273 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
274 extend to handle functions as well.
275
245be23c
JB
2762009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
277
278 * linum.el (linum-delete-overlays, linum-update-window):
279 Do not modify the right margin. (Bug#3971)
280
91fdbd6f
CY
2812009-09-21 Chong Yidong <cyd@stupidchicken.com>
282
283 * files.el (conf-mode-maybe, magic-fallback-mode-alist): Use
284 nxml-mode instead of xml-mode.
285
7589d38e
JB
2862009-09-21 Kevin Ryde <user42@zip.com.au>
287
288 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
289
5ac42715
SM
2902009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
291
292 * net/dig.el (dig-mode): Use define-derived-mode.
293
09c01323
DN
2942009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
295
4096c5f2
DN
296 * vc-dispatcher.el (vc-do-command): Return the process object in
297 the asynchronous case. Use when instead of if. Do not run
298 vc-exec-after to display a message if not enabled.
299
0e172cc2
DN
300 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
301 properties to the stash strings.
302 (vc-git-stash-list): Return a list of strings.
303 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
304 (vc-git-stash-show-at-point): New functions.
305 (vc-git-stash-map): New keymap.
306
03304f31
SM
307 * register.el (ctl-x-r-map): Define the keys here instead of
308 using autoload.
09c01323 309
03304f31 3102009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
e3f36d03
SM
311
312 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
313 list, to workaround performance problem (bug#4485).
314
2f5fc4d7
NR
3152009-09-20 Nick Roberts <nickrob@snap.net.nz>
316
317 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
318
b0f5fd2e
DU
3192009-09-20 Daiki Ueno <ueno@unixuser.org>
320
321 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
322 Document that this option is not recommended to use.
323
f3445fab
GM
3242009-09-19 Glenn Morris <rgm@gnu.org>
325
547c6921
GM
326 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
327 variable `var'.
328
f3445fab
GM
329 * calc/calc-alg.el (var):
330 * calc/calcalg2.el (var): Define for compiler.
331
946c009b
CY
3322009-09-19 Chong Yidong <cyd@stupidchicken.com>
333
e3f36d03
SM
334 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
335 Doc fix (Bug#3932).
e2045997 336
24aedbca
CY
337 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
338
327dd27a
CY
339 * time-stamp.el (time-stamp-month-dd-yyyy)
340 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
341 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
342 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
e3f36d03
SM
343 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
344 Remove functions that have been obsolete since 1995 (Bug#4436).
327dd27a 345
946c009b
CY
346 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
347 indent buffer only if called interactively (Bug#4452).
348
3e70541a
JB
3492009-09-19 Juanma Barranquero <lekktu@gmail.com>
350 Eli Zaretskii <eliz@gnu.org>
351
352 This fixes bug#4197 (merged to bug#865, though not identical).
353 * server.el (server-auth-dir): Add docstring note about FAT32.
354 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
355 but warn against using them.
356
9b94c32e
NR
3572009-09-19 Nick Roberts <nickrob@snap.net.nz>
358
359 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
360 older GDB where there is no has_more field.
361
66590684
GM
3622009-09-19 Glenn Morris <rgm@gnu.org>
363
364 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
365
9a1337f9
CY
3662009-09-18 Chong Yidong <cyd@stupidchicken.com>
367
368 * files.el (auto-mode-alist): Change default for XML files to nXML
369 mode (Bug#4169).
370
d7554167
JB
3712009-09-18 Juanma Barranquero <lekktu@gmail.com>
372
373 * server.el (server-ensure-safe-dir): Pass 'integer
374 to `file-attributes', as suggested.
375
35a3f9a4
SM
3762009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
377
378 * dired-aux.el (dired-query-alist): Remove spurious backslash.
379 (dired-query): Use read-key.
380
044f9b05
AR
3812009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
382
383 * cus-start.el (ns-use-qd-smoothing): Remove.
384
6188ea49
GM
3852009-09-18 Glenn Morris <rgm@gnu.org>
386
08cf18e4
GM
387 * allout.el (top-level): Remove unnecessary progn.
388
07eae5c5
GM
389 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
390
6726c25e
GM
391 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
392 definition of abbrev table.
393
3f527154 394 * speedbar.el (speedbar-track-mouse):
6188ea49
GM
395 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
396 * net/eudc.el (eudc-expand-inline):
770af4b4
GM
397 * net/newst-backend.el (newsticker--cache-read-feed):
398 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
6188ea49
GM
399 condition-case handlers.
400
ccb4c30c
NR
4012009-09-18 Nick Roberts <nickrob@snap.net.nz>
402
403 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
404 (gdb-var-list): Add an element for has_more field.
405 (gdb-non-stop-handler): Enable pretty printing for STL containers.
406 (gdb-var-create-handler, gdb-var-list-children-handler-1)
407 (gdb-var-update-handler-1): Parse output of dynamic variable
408 objects (STL containers).
409 (gdb-var-delete-1): Pass var1 as an explicit second argument.
410 (gdb-get-field): Delete alias. Use bindat-get-field directly.
411
412 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
413 gdb-var-list.
414 (gud-speedbar-buttons): Make node expandable if expression "has more"
415 children.
416
8686ac71
JB
4172009-09-17 Juanma Barranquero <lekktu@gmail.com>
418
419 * startup.el (emacs-quick-startup): Remove variable and all uses.
420 (command-line): Set `inhibit-x-resources' instead.
421 (command-line-1): Use `inhibit-x-resources' instead.
422
a69c67e8
CY
4232009-09-17 Chong Yidong <cyd@stupidchicken.com>
424
425 * subr.el: Fix last change to avoid using the `unless' macro,
426 which breaks bootstrapping.
427
354f0faf
SM
4282009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
429
430 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
431 extended definitions, in case we reload subr.el after having
432 loaded CL.
433 (eval-next-after-load): Mark as obsolete.
434
98b9bf40
JL
4352009-09-17 Juri Linkov <juri@jurta.org>
436
437 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
438 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
439 (menu-bar-showhide-menu, menu-bar-tools-menu)
440 (menu-bar-describe-menu, menu-bar-help-menu)
441 (minibuffer-local-completion-map, minibuffer-local-map):
442 Fix list quoting.
443
28fab7b5
GM
4442009-09-17 Glenn Morris <rgm@gnu.org>
445
88d5190c
GM
446 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
447 arguments, whether or not it has a handler.
448
74f24ba7
GM
449 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
450
28fab7b5
GM
451 * simple.el (hard-newline): Give it a doc-string.
452
a8106aec
GM
453 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
454 (lisp-mode-syntax-table): Give them doc-strings.
e4a09a11 455
76251ad7
DN
4562009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
457
72033dbe
DN
458 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
459 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
460 (menu-bar-options-menu, menu-bar-showhide-menu)
461 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
462 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
463 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
464 (menu-bar-options-menu, menu-bar-tools-menu)
465 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
466 (menu-bar-help-menu):
467 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
468 string arguments.
469
76251ad7
DN
470 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
471 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
472 calls for the menu names and :help.
473
97b952b7
SM
4742009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
475
476 * mouse.el (minor-mode-menu-from-indicator): Pay attention
477 to :minor-mode-function (bug#4455).
478
8f38189e
SM
4792009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
480
d2fd733e
SM
481 * startup.el (command-line): Initialize the window-system after
482 processing the command-line.
483
8f38189e
SM
484 * textmodes/page.el (what-page): Make sure we don't inf-loop if
485 page-delimiter matches the empty string.
486
77564fa4
GM
4872009-09-16 Glenn Morris <rgm@gnu.org>
488
489 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
490 byte-compile-not-obsolete-var. It's a list now.
491 (byte-compile-not-obsolete-funcs): New variable.
492 (byte-compile-warn-obsolete): Don't warn about functions if they are in
493 byte-compile-not-obsolete-funcs.
494 (byte-compile-variable-ref, byte-compile-defvar): Update for
495 byte-compile-not-obsolete-vars name-change and list nature.
496 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
497 and variables behind (f)boundp tests.
498 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
499
79d316d3
DN
5002009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
501
502 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
503
8fed6934
SM
5042009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
505
506 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
507 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
508 Don't autoload.
509
4078fd57
SE
5102009-09-15 Stephen Eglen <stephen@gnu.org>
511
512 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
5a0c3f56 513 the virtual-buffers, use the name of the buffer specified by
4078fd57 514 find-file-noselect, as the match may be a symlink. (This was a
5a0c3f56 515 problem if the target and the symlink had different names.)
4078fd57 516
838ff458
SM
5172009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
518
b3c7c12d
SM
519 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
520
13dc2bc2
SM
521 * desktop.el (desktop-path): Check user-emacs-directory.
522
49fec531
SM
523 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
524
0e328d37
SM
525 * loadup.el: Use after-load-functions to GC after loading each file.
526 Remove the explicit GC calls that used to be sprinkled around.
527
838ff458
SM
528 * subr.el (after-load-functions): New hook.
529 (do-after-load-evaluation): Run it. Use string-match-p to detect
530 `obsolete' packages, rather than painfully extracting the relevant
531 directory name.
532
a62f564f
GM
5332009-09-15 Glenn Morris <rgm@gnu.org>
534
535 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
536 free variable `doc'.
537
538 * dired.el (dired-mode-map): Add menu entry for async shell command.
539
540 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
541 variables, also consider the .elc files, since the .el files are
542 normally gzipped (subsequent code locates the .el.gz from the .elc).
543
544 * calc/calc-prog.el (arglist): Define for compiler.
545
546 * calendar/diary-lib.el (diary-display-function): Change the default to
547 fancy display.
548 (body): Define for compiler.
549
550 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
551 (byte-compile-file-form, byte-compile-lambda)
552 (byte-compile-top-level-body, byte-compile-form)
553 (byte-compile-variable-ref, byte-compile-setq)
554 (byte-compile-setq-default, byte-compile-body)
555 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
556 (batch-byte-compile): Give some more local variables with common names
557 a "bytecomp-" prefix to avoid masking warnings about free variables.
558
cd05fe7f
GM
559 * startup.el (command-line-1): Give local variables with common names a
560 distinguishing prefix, so as not to hide free variable warnings during
561 bootstrap.
562
a62f564f
GM
563 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
564 clever and add a suffix to make a unique name, just let the user decide
565 whether or not to overwrite it. If the input is a directory, write the
566 default filename to that directory. (Bug#4388)
567 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
568 is a filename-as-a-directory.
569
fbc88440
SM
5702009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
571
572 * textmodes/page.el (what-page): Don't move to beginning of line.
573 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
574
60308853
DN
5752009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
576
577 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
578
32ba3abc
DN
5792009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
580
9cd39aff
DN
581 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
582 * help.el (help-for-help-internal): Add purecopy calls for text.
583
32ba3abc
DN
584 * vc.el (top): print-log method now takes an optional SHORTLOG
585 argument. Add a new method: root.
32ba3abc
DN
586 (vc-root-diff, vc-print-root-log): New functions.
587 (vc-log-short-style): New variable.
588 (vc-print-log-internal): Add support for showing short logs.
589
590 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
591 vc-print-root-log and vc-print-root-diff.
592
593 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
594 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
595 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
596 short logs.
597
598 * vc-cvs.el (vc-cvs-print-log):
599 * vc-mtn.el (vc-mtn-print-log):
600 * vc-rcs.el (vc-rcs-print-log):
601 * vc-sccs.el (vc-sccs-print-log):
602 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
603 that is ignored for now.
604
837b0e99
DN
605 * vc-mtn.el (vc-mtn-annotate-command):
606 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
607
31cd2dd4
SM
6082009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
609
610 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
611 to function-key-map, and give them ascii-character property.
612 * term/x-win.el (x-alternatives-map):
613 * term/ns-win.el (ns-alternatives-map):
614 * term/internal.el (msdos-key-remapping-map):
615 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
616
d62e5bf2
GM
6172009-09-14 Glenn Morris <rgm@gnu.org>
618
619 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
620 temp-buffers (2009-09-12).
621
7d0105e5
SM
6222009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
623
624 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
625 the new read-key function.
626
e17ed9ad
CY
6272009-09-13 Chong Yidong <cyd@stupidchicken.com>
628
629 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
630 is defined (Bug#4405).
631
1fc26e29
CY
6322009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
633
634 * recentf.el (recentf-cleanup): Use a hash table to find
635 duplicates (Bug#4407).
636
61dc96a2 6372009-09-13 Per Starbäck <per@starback.se> (tiny change)
7e73ea32
CY
638
639 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
640 kp-0 to ascii equivalents (Bug#4325).
641
42c3a9e3
CY
6422009-09-13 Chong Yidong <cyd@stupidchicken.com>
643
1f5c1626
CY
644 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
645
42c3a9e3 646 * eshell/em-hist.el:
31cd2dd4
SM
647 * eshell/em-dirs.el (eshell-complete-user-reference):
648 Declare pcomplete functions and variables to avoid compiler warnings.
42c3a9e3
CY
649
6502009-09-13 Leo <sdl.web@gmail.com> (tiny change)
651
652 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
653 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
654 * eshell/em-alias.el (eshell-aliases-file):
31cd2dd4
SM
655 * eshell/em-hist.el (eshell-history-file-name):
656 Use expand-file-name instead of concat to make file names (Bug#4308).
42c3a9e3 657
1e2b6acf
GM
6582009-09-13 Glenn Morris <rgm@gnu.org>
659
660 * ediff-merg.el (ediff-do-merge):
661 * filesets.el (filesets-run-cmd):
662 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
663 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
664 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
665 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
666 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
667 Replace empty `let's with `progn'.
668
adba8116
SM
6692009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
670
671 * mail/sendmail.el (send-mail-function):
672 * tooltip.el (tooltip-mode):
673 * simple.el (transient-mark-mode):
674 * rfn-eshadow.el (file-name-shadow-mode):
675 * frame.el (blink-cursor-mode):
676 * font-core.el (global-font-lock-mode):
677 * files.el (temporary-file-directory)
678 (small-temporary-file-directory, auto-save-file-name-transforms):
679 * epa-hook.el (auto-encryption-mode):
680 * composite.el (global-auto-composition-mode):
681 Use custom-initialize-delay.
682 * startup.el (command-line): Don't explicitly call
683 custom-reevaluate-setting for all the above vars.
684 * custom.el (custom-initialize-safe-set)
685 (custom-initialize-safe-default): Delete.
686
0a4afea9
SM
6872009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
688
9f94990d
SM
689 * term/x-win.el (x-initialize-window-system):
690 * term/w32-win.el (w32-initialize-window-system):
691 * term/ns-win.el (ns-initialize-window-system): Don't call
692 mouse-wheel-mode since it's enabled globally by default already.
693
0a4afea9
SM
694 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
695 actually define the variable, but only silences the byte-compiler.
696 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
697 before looking it up.
698 (mouse-wheel-scroll-amount): Also reset the bindings if this value
699 is changed.
700
bf01513f
GM
7012009-09-12 Glenn Morris <rgm@gnu.org>
702
703 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
704 1000.
705 (elint-add-required-env): Don't beep on error.
706 (elint-forms): In case of error, return ENV unchanged.
afdceaec
GM
707 (elint-init-env): Skip non-list forms.
708 (elint-log): Handle unknown file positions.
bf01513f 709
d85889e4
DU
7102009-09-12 Daiki Ueno <ueno@unixuser.org>
711
712 * epg.el (epg-make-context): Add autoload cookie.
713 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
714 (epg-decrypt-string, epg-start-verify, epg-verify-file)
715 (epg-verify-string, epg-start-sign, epg-sign-file)
716 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
717 (epg-encrypt-string, epg-start-export-keys)
718 (epg-export-keys-to-file, epg-export-keys-to-string)
719 (epg-start-import-keys, epg-import-keys-from-file)
720 (epg-import-keys-from-string, epg-start-receive-keys)
721 (epg-receive-keys, epg-import-keys-from-server)
722 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
723 (epg-sign-keys, epg-start-generate-key)
0a4afea9
SM
724 (epg-generate-key-from-file, epg-generate-key-from-string):
725 Remove autoload cookie.
d85889e4 726
8f825ee6
EZ
7272009-09-12 Eli Zaretskii <eliz@gnu.org>
728
36b434ee
EZ
729 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
730 reevaluation of trash-directory.
731
8f825ee6
EZ
732 * mwheel.el: Fix last change.
733 (mouse-wheel-mode): New defvar.
734 (mouse-wheel-mode): Remove autoload cookie.
735
5766c380
SM
7362009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
737
ab5c0fcd
SM
738 * mwheel.el (mwheel-installed-bindings): New var.
739 (mouse-wheel-mode): Use it, so as to make sure we really remove all
740 the bindings we set last time. Use custom-initialize-delay.
741 * loadup.el: Load mwheel after term/*-win.el.
742 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
743 and mouse-wheel-up-event now that their first evaluation is done
744 sufficiently late to be correct.
745
45448e64
SM
746 * startup.el (tutorial-directory): Make it a defcustom.
747 Use custom-initialize-delay rather than eval-at-startup to set it.
748 * image.el (image-load-path): Make it a defcustom.
749 Use custom-initialize-delay rather than eval-at-startup to set it.
750 * subr.el (eval-at-startup): Remove.
751 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
752
5766c380
SM
753 * subr.el (do-after-load-evaluation): Warn the user after loading an
754 obsolete package.
755
d6549da4
GM
7562009-09-12 Glenn Morris <rgm@gnu.org>
757
758 * proced.el (proced-mark-alt): Remove alias.
759 (proced-mode-map): Remove proced-mark-alt.
760
761 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
762 Elint file and directory. Remove initialization entry.
763
764 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
765 commands.
766 (elint-current-buffer): Set mode-line-process.
767 (elint-init-env): Handle define-derived-mode.
768 Fix declare-function with unspecified arglist. Guard against odd
769 defalias statements (eg iso-insert's 8859-1-map).
770 (elint-add-required-env): Use a temp buffer.
771 (elint-form): Just print the function/macro name, not the whole form.
772 Return env unchanged if we fail to parse a macro.
773 (elint-forms): Guard against parse errors.
774 (elint-output): New function, to handle batch mode.
775 (elint-log-message): Add optional argument. Use elint-output.
776 (elint-set-mode-line): New function.
777
30194d4d
CY
7782009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
779
780 * emacs-lisp/elp.el (elp-not-profilable): Add more
781 functions (Bug#4233).
782
a035f9b0
CY
7832009-09-12 Chong Yidong <cyd@stupidchicken.com>
784
785 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
786 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
787
dad61164
NR
7882009-09-11 Nick Roberts <nickrob@snap.net.nz>
789
790 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
791 (gdb-var-list-children): Use json parsing.
792
34cab3d9
CY
7932009-09-11 Daniel Colascione <dan.colascione@gmail.com>
794
795 * progmodes/js.el (js--proper-indentation): Handle the case where
796 char-before is null. Reported by Deniz Dogan.
797
b4587710
JB
7982009-09-11 Juanma Barranquero <lekktu@gmail.com>
799
800 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
801
13890796
DU
8022009-09-11 Daiki Ueno <ueno@unixuser.org>
803
804 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
805 (epg-digest-algorithm-alist): Add SHA224.
b18508dd 806 (epg-context-set-passphrase-callback)
97d4bdba 807 (epg-context-set-progress-callback): Add description about
b18508dd 808 callback function.
13890796 809
2efb64a8
SM
8102009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
811
790d0270
SM
812 * custom.el (custom-delayed-init-variables): New var.
813 (custom-initialize-delay): New function.
814 * startup.el (command-line): "Re"evaluate all vars in
815 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
816 explicitly any more.
817 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
818 to avoid creating a ~/.emacs.d at build-time (bug#4347).
819
820 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
2efb64a8 821
ac243a40
NR
8222009-09-11 Nick Roberts <nickrob@snap.net.nz>
823
824 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
825 (gdb-var-update-handler): Use json parsing.
826
657bc6fc
JB
8272009-09-11 Juanma Barranquero <lekktu@gmail.com>
828
829 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
830 decode annotated text, regardless of language environment. (Bug#2741)
831
b6fe8102
SM
8322009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
833
834 * Makefile.in (autoloads): Make rmail.el writable as well.
835
5cc443fe
GM
8362009-09-11 Glenn Morris <rgm@gnu.org>
837
5515c54e
GM
838 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
839 loaddefs.el.
840 * dired.el: Regenerate with extracted autoloads.
841 * Makefile.in (autoloads): Make dired.el writable.
842
15067158
GM
843 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
844 * ibuffer.el: Regenerate with extracted autoloads.
845 * Makefile.in (autoloads): Make ibuffer.el writable.
846
d35d0238
GM
847 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
848 * version.el (emacs-copyright, emacs-major-version)
849 (emacs-minor-version): Reformat doc-strings for make-docfile.
850
5cc443fe
GM
851 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
852 functions and variables, since they must be stuff specific to some other
853 platform.
854 (apropos-print): Make mouse-click message less specific about button.
855
856 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
857 that records where a macro was defined.
858 * help-fns.el (describe-function-1): Mention if a function has a
859 compiler-macro.
860 * help-mode.el (help-function-cmacro): New button.
861
862 * locate.el (top-level): Always require dired.
863 (locate-mode-map): Initialize inside the defvar.
864
865 * net/ange-ftp.el (dired-compress-file): Declare.
866 (ange-ftp-dired-compress-file): Add doc string.
867
868 * term/ns-win.el (x-display-name, x-setup-function-keys):
869 Unify doc-strings with X versions.
870
8cb95edf
SM
8712009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
872
726a4d09
SM
873 * emulation/crisp.el (crisp-mode-map): Move initialization
874 into declaration.
875 (crisp-mode): Use define-minor-mode.
876
8cb95edf
SM
877 * progmodes/xscheme.el (xscheme-evaluation-commands):
878 Put a :advertised-binding property rather than using
879 advertised-xscheme-send-previous-expression.
880 (advertised-xscheme-send-previous-expression): Declare obsolete.
881 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
882 `advertised-undo'.
883 (crisp-mode): Add corresponding bindings to
884 undo's :advertised-binding instead.
885 * dired.el (dired-mode-map): Put a :advertised-binding property rather
886 than using dired-advertised-find-file.
887 (dired-advertised-find-file):
888 * simple.el (advertised-undo):
889 * wid-edit.el (advertised-widget-backward): Declare obsolete.
890 (widget-keymap): Put a :advertised-binding property rather
891 than using advertised-widget-backward.
892 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
893 than using advertised-undo.
894 * tutorial.el (tutorial--default-keys): Adjust accordingly.
895
07db5857
SS
8962009-09-10 Simon South <ssouth@slowcomputing.org>
897
898 * progmodes/delphi.el (delphi-tab): Indent region when Transient
899 Mark mode is enabled and region is active; otherwise indent or
900 insert TAB as usual.
901 (delphi-mode): Update description of TAB-key binding.
902
50d4ba39
SM
9032009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
904
905 * subr.el (define-key-rebound-commands): Mark obsolete.
906 * startup.el (precompute-menubar-bindings): Remove.
907 (normal-top-level): Remove obsolete code that tried to precompute
908 menubar bindings.
909 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
910 define-key-rebound-commands and precompute-menubar-bindings.
911
9477096c
GM
9122009-09-10 Glenn Morris <rgm@gnu.org>
913
914 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
915
916 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
917 (byte-compile-file-form-autoload): Don't warn about unknown functions
918 where the autoload statement comes after the use.
919 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
920 that any handlers inside the body (eg require) are in turn respected.
921
922 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
923 effects.
924
925 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
926 and syntax and abbrev tables basic docs, if they don't have any.
927
928 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
929
930 * international/mule-cmds.el (top-level): Require cl when compiling.
931 (view-hello-file): Use default-value rather than
932 default-enable-multibyte-characters.
933
934 * progmodes/fortran.el: Move all safe and risky properties into the
935 defcustoms.
936
937 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
938 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
939 * mail/undigest.el:
940 Put autoloads in rmail.el rather than loaddefs.el.
941 * mail/rmail.el: Regenerate with extracted autoloads.
942
943 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
944 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
945
9f16c547
NR
9462009-09-10 Nick Roberts <nickrob@snap.net.nz>
947
948 Reported in thread for Bug#4375.
949 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
950 "-data-evaluate-expression" instead of print.
951 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
952 (gdb-tooltip-print): Parse output from above MI command.
7ab133d1
NR
953 (gdb): Revert 2009-08-11 change. User should detach inferior
954 manually.
9f16c547
NR
955
956 Remove the word "separate" from IO functions as inferior
957 output is now never displayed in the GUD buffer.
958
50405cd0
JB
9592009-09-10 Juanma Barranquero <lekktu@gmail.com>
960
961 * startup.el (command-line-normalize-file-name): On Windows and
962 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
963
7ae62430
JL
9642009-09-10 Juri Linkov <juri@jurta.org>
965
966 * isearch.el (isearch-text-char-description): Propertize escape
967 character sequences with the `escape-glyph' face. (Bug#4344)
968
969 * simple.el (shell-command): Set asynchronous process filter to
970 `comint-output-filter'. (Bug#4343)
971
972 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
973 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
974 the list. Move "asm" to the bottom.
975 (grep-find-ignored-directories): Add `choice' with nil value
976 to empty the list easily.
977 (grep-find-ignored-files): New option.
978 (grep-files-history): Set to nil by default instead of '("ch" "el").
979 (grep-compute-defaults): Add "<X>" to `grep-template'.
980 (grep-read-files): Bind new local variables `default-alias' and
981 `default-extension'. Use a list of default values for the file prompt.
982 (lgrep): Add `--exclude=' command line options composed from
983 `grep-find-ignored-files'.
984 (rgrep): Add `-name' command line options composed from
985 `grep-find-ignored-files'. (Bug#4301)
986
cd875252
SM
9872009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
988
989 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
990 (bug#4368).
991
cdce0b33
KY
9922009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
993
994 * calendar/time-date.el (autoload):
995 Expand define-obsolete-function-alias into defalias and make-obsolete
996 for old Emacsen that Gnus supports.
997 (with-no-warnings): Define it for old Emacsen.
998 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
999 is available.
1000 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
1001 float-time is available; suppress compile warning for time-to-seconds.
1002
10032009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
1004
1005 * net/imap.el (imap-message-map): Docstring fix.
1006
2b2eb431
GM
10072009-09-09 Glenn Morris <rgm@gnu.org>
1008
1009 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
1010 line numbers too. (Bug#4374)
1011
83a5aac5
SM
10122009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
1013
755e0210
SM
1014 * smerge-mode.el (smerge-remove-props, smerge-refine):
1015 Use with-silent-modifications (bug#4342).
1016
83a5aac5
SM
1017 * subr.el (with-silent-modifications): New macro.
1018
79f01fa7
JB
10192009-09-07 Juanma Barranquero <lekktu@gmail.com>
1020
1021 * files.el (top-level): Require `cl' when compiling.
1022
448ecec3
GM
10232009-09-07 Glenn Morris <rgm@gnu.org>
1024
1025 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
1026
8f09a02f
GM
1027 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
1028 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
1029
76ff67bf
NR
10302009-09-06 Nick Roberts <nickrob@snap.net.nz>
1031
1032 * vc-git.el (vc-git-annotate-command): Use separator to parse
1033 arguments correctly.
1034
943c8b75
EZ
10352009-09-06 Eli Zaretskii <eliz@gnu.org>
1036
1037 * proced.el (proced-mode): Doc fix.
1038
680db9ac
MA
10392009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
1040
1041 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
1042 lstat fails.
1043 (tramp-do-file-attributes-with-ls): Check for file existence at
1044 remote end.
1045 (tramp-do-file-attributes-with-stat): Likewise.
1046 (tramp-convert-file-attributes): Return nil when attr is nil.
1047
3f12e5bd
GM
10482009-09-05 Glenn Morris <rgm@gnu.org>
1049
c8dc27bf
GM
1050 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
1051 properties to this button.
1052 (diary-fancy-display): Don't extend the button to the final newline.
1053 (diary-fancy-display-mode): Continue to define "q" as a local key.
1054
cca065d8
GM
1055 * calendar/cal-china.el (holiday-chinese): Make it slightly more
1056 efficient.
1057
cddaedb6
GM
1058 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
1059
3f12e5bd
GM
1060 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
1061 (byte-compile-dest-file-function): New option.
1062 (byte-compile-dest-file): Doc fix.
1063 Obey byte-compile-dest-file-function.
1064 (byte-compile-cl-file-p): New function.
1065 (byte-compile-eval): Only suppress noruntime warnings about cl functions
1066 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
1067 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
1068 than for file being previously loaded.
1069 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
1070 (byte-compile-file-form-require): Handle the case where requiring a file
1071 indirectly causes CL to be loaded.
1072
049a231b
KF
10732009-09-05 Karl Fogel <kfogel@red-bean.com>
1074
1075 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
1076 before killing the old buffer, since by the time `kill-buffer' is
1077 run so many buffer variables have been set to nil that it may not
1078 behave as expected. (Bug#4061)
1079
ef7ef2a0
KF
10802009-09-05 Karl Fogel <kfogel@red-bean.com>
1081
1082 * files.el (find-alternate-file): If the old buffer is modified
1083 and visiting a file, behave similarly to `kill-buffer' when
1084 killing it, thus reverting to the pre-1.878 behavior; see
1085 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
1086 for discussion. Also, consult `buffer-file-name' as a variable
1087 not as a function, for consistency with the rest of the code.
1088
73d854cd
MA
10892009-09-04 Michael Albinus <michael.albinus@gmx.de>
1090
1091 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
1092 also when adding a new directory.
1093
1094 * net/tramp-compat.el (tramp-compat-line-beginning-position): New
1095 defun.
1096
df120481
SM
10972009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
1098
1099 * files.el (locate-file-completion-table): Make it provide boundary
1100 information, so partial-completion works better.
1101
c0bc6d79
SM
11022009-09-04 Leo <sdl.web@gmail.com> (tiny change)
1103
1104 * mail/footnote.el (Footnote-text-under-cursor):
1105 Check footnote-text-marker-alist before using it (bug#4324).
1106
f76a9756
GM
11072009-09-04 Glenn Morris <rgm@gnu.org>
1108
67d110f1
GM
1109 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
1110 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
1111 * play/solitaire.el, play/tetris.el:
1112 Remove leading * from defcustom and defface docs.
1113
b42d4989
GM
1114 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
1115 necessary.
1116 (diary-fancy-overriding-map): New variable.
1117 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
1118 Use view-mode.
1119
f76a9756
GM
1120 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
1121 goto-line.
1122
e605eeeb
GM
11232009-09-03 Glenn Morris <rgm@gnu.org>
1124
597e2240
GM
1125 * arc-mode.el (archive-mode):
1126 * dos-fns.el (set-default-process-coding-system):
1127 * man.el (Man-getpage-in-background):
1128 * menu-bar.el (menu-bar-describe-menu):
1129 * server.el (server-process-filter):
1130 * startup.el (command-line):
1131 * tar-mode.el (tar-header-block-tokenize, tar-extract):
1132 * w32-fns.el (set-default-process-coding-system):
1133 * x-dnd.el (x-dnd-handle-file-name):
1134 * international/mule-cmds.el (mule-menu-keymap)
1135 (set-default-coding-systems, language-info-alist, set-language-info)
1136 (set-language-environment, standard-display-european-internal)
1137 (set-locale-environment):
1138 * international/mule-diag.el (mule-diag):
1139 * mail/emacsbug.el (report-emacs-bug):
1140 * mail/rmail.el (rmail-mode):
1141 * mail/sendmail.el (mail-setup):
1142 Use default-value rather than default-enable-multibyte-characters.
1143
f38184aa
GM
1144 * progmodes/f90.el: Move all safe properties into the defcustoms.
1145 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
1146
e605eeeb
GM
1147 * calendar/appt.el (appt-check):
1148 * calendar/diary-lib.el (diary-set-header, diary-live-p)
1149 (diary-check-diary-file, diary-list-entries)
1150 (diary-include-other-diary-files, diary-simple-display)
1151 (diary-fancy-display, diary-print-entries)
1152 (diary-mark-included-diary-files, diary-make-entry):
1153 Don't call substitute-in-file-name on diary-file.
1154
734db384
SM
11552009-09-03 Eduard Wiebe <usenet@pusto.de>
1156 Stefan Monnier <monnier@iro.umontreal.ca>
1157
1158 * mail/footnote.el (footnote-prefix): Make it a defcustom.
1159 (footnote-mode-map): Move initialization into the declaration.
1160 (footnote-minor-mode-map): Define it rather than changing global-map.
1161 (footnote-mode): Use define-minor-mode.
1162
e5aa47f9
MA
11632009-09-02 Michael Albinus <michael.albinus@gmx.de>
1164
1165 * net/tramp.el (tramp-handle-file-attributes-with-ls)
1166 (tramp-do-file-attributes-with-perl)
1167 (tramp-do-file-attributes-with-stat): Rename from
1168 `tramp-handle-file-attributes-with-*'.
1169 (tramp-handle-file-attributes): Use them.
1170 (tramp-do-directory-files-and-attributes-with-perl)
1171 (tramp-do-directory-files-and-attributes-with-stat): Rename from
1172 `tramp-handle-directory-files-and-attributes-with-*'.
1173 (tramp-handle-directory-files-and-attributes): Use them.
1174 (tramp-method-out-of-band-p): Additional parameter SIZE.
1175 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
1176 (tramp-handle-write-region): Use it.
734db384 1177 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
e5aa47f9
MA
1178 (tramp-handle-vc-registered): Check, whether the first run did
1179 return files to be tested.
1180 (tramp-advice-make-auto-save-file-name): Do not call directly
1181 `tramp-handle-make-auto-save-file-name', because this would bypass
1182 the locking mechanism.
1183
734db384 1184 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
e5aa47f9
MA
1185 (file-remote-p, process-file, start-file-process, set-file-times)
1186 (tramp-compat-file-attributes): Compatibility functions shall not
1187 call directly `tramp-handle-*', because this would bypass the
1188 locking mechanism.
1189 (tramp-compat-number-sequence): New defun.
1190
6e2ca895
GM
11912009-09-02 Glenn Morris <rgm@gnu.org>
1192
697c7714
GM
1193 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
1194 alias for float-time.
1195 (time-to-number-of-days): In Emacs, use float-time.
1196 * net/newst-backend.el (time-add): Suppress warnings from compat
1197 function.
1198 * time.el (emacs-uptime, emacs-init-time):
1199 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
1200 Use float-time rather than time-to-seconds.
1201
6e2ca895
GM
1202 * minibuffer.el (completion-initials-expand): Fix typo.
1203
1204 * faces.el (modeline, modeline-inactive, modeline-highlight)
1205 (modeline-buffer-id):
1206 * info.el (info-menu-5): Mark these face aliases as obsolete.
1207
ed17efec
NR
12082009-09-01 Nick Roberts <nickrob@snap.net.nz>
1209
1210 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
1211 space ...
1212 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
1213 no "--thread" option.
1214 (gdb-stopped): Don't print "Switched to thread" message when it is
1215 unchanged.
1216
fcb68f70
SM
12172009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
1218
1219 * minibuffer.el (completion-try-completion)
1220 (completion-all-completions): Remove ill-defined (and
1221 mistakenly installed and luckily never used nor documented)
1222 `completion-styles' property.
1223 (completion-initials-expand, completion-initials-all-completions)
1224 (completion-initials-try-completion): New functions.
1225 (completion-styles-alist): Add doc to each entry.
1226 Add new `initials' entry.
1227
83318a6d
NR
12282009-09-01 Nick Roberts <nickrob@snap.net.nz>
1229
1230 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
1231 MI command -var-evaluate-expression.
1232 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
1233 and tweak for case of string child.
734db384 1234 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
83318a6d 1235
d63eb0e7
GM
12362009-09-01 Glenn Morris <rgm@gnu.org>
1237
c4f6e489
GM
1238 * add-log.el (change-log-date-face, change-log-name-face)
1239 (change-log-email-face, change-log-file-face, change-log-list-face)
1240 (change-log-conditionals-face, change-log-function-face)
1241 (change-log-acknowledgement-face):
1242 * cus-edit.el (custom-invalid-face, custom-rogue-face)
1243 (custom-modified-face, custom-set-face, custom-changed-face)
1244 (custom-saved-face, custom-button-face, custom-button-pressed-face)
1245 (custom-documentation-face, custom-state-face, custom-comment-face)
1246 (custom-comment-tag-face, custom-variable-tag-face)
1247 (custom-variable-button-face, custom-face-tag-face)
1248 (custom-group-tag-face-1, custom-group-tag-face):
1249 * diff-mode.el (diff-header-face, diff-file-header-face)
1250 (diff-index-face, diff-hunk-header-face, diff-removed-face)
1251 (diff-added-face, diff-changed-face, diff-function-face)
1252 (diff-context-face, diff-nonexistent-face):
1253 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
1254 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
1255 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
1256 (Info-title-4-face):
1257 * isearch.el (isearch-lazy-highlight-face):
1258 * log-view.el (log-view-file-face, log-view-message-face):
1259 * paren.el (show-paren-match-face, show-paren-mismatch-face):
1260 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
1261 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
1262 (cvs-msg-face):
1263 * smerge-mode.el (smerge-mine-face, smerge-other-face)
1264 (smerge-base-face, smerge-markers-face):
1265 * wid-edit.el (widget-documentation-face, widget-button-face)
1266 (widget-field-face, widget-single-line-field-face)
1267 (widget-inactive-face, widget-button-pressed-face):
1268 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
1269 (woman-addition-face):
2fb1ec93
GM
1270 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
1271 (eshell-ls-executable-face, eshell-ls-readonly-face)
1272 (eshell-ls-unreadable-face, eshell-ls-special-face)
1273 (eshell-ls-missing-face, eshell-ls-archive-face)
1274 (eshell-ls-backup-face, eshell-ls-product-face)
1275 (eshell-ls-clutter-face):
1276 * eshell/em-prompt.el (eshell-prompt-face):
1277 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
c4f6e489 1278 * obsolete/old-whitespace.el (whitespace-highlight-face):
0142e36b
GM
1279 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
1280 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
1281 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
1282 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
1283 (antlr-font-lock-literal-face):
c4f6e489
GM
1284 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
1285 (ebrowse-root-class-face, ebrowse-file-name-face)
1286 (ebrowse-default-face, ebrowse-member-attribute-face)
1287 (ebrowse-member-class-face, ebrowse-progress-face):
1288 * progmodes/make-mode.el (makefile-space-face):
1289 * progmodes/sh-script.el (sh-heredoc-face):
1290 * textmodes/flyspell.el (flyspell-incorrect-face)
1291 (flyspell-duplicate-face):
1292 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
49c539a1 1293 * textmodes/texinfo.el (texinfo-heading-face):
c4f6e489
GM
1294 Mark face aliases with "-face" suffix as obsolete.
1295
d80619fa
GM
1296 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
1297 compiler.
1298
5f68c1b7
GM
1299 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
1300 (eudc-bob-sound-menu): Use defvar rather than defconst, since
1301 easy-menu-define wants to modify these.
1302
1303 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
1304
1305 * net/browse-url.el (browse-url-file-url):
1306 * term/internal.el (dos-codepage-setup):
1307 Use default-value rather than default-enable-multibyte-characters.
1308
d80619fa 1309 * progmodes/etags.el (etags-goto-tag-location):
5f68c1b7
GM
1310 * progmodes/flymake.el (flymake-highlight-line)
1311 (flymake-goto-file-and-line, flymake-goto-line):
1312 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
1313 (gdb-goto-breakpoint):
1314 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
1315 * progmodes/python.el (python-find-function)
1316 (python-pdbtrack-track-stack-file):
1317 * progmodes/verilog-mode.el (verilog-surelint-off):
1318 * term/ns-win.el (ns-open-file-select-line):
1319 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
1320 Use forward-line rather than goto-line.
1321
d63eb0e7
GM
1322 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
1323 * textmodes/reftex-index.el (reftex-display-index):
1324 * textmodes/reftex-ref.el (reftex-offer-label-menu):
1325 * textmodes/reftex-toc.el (reftex-toc):
1326 Remove unnecessary bindings of default-major-mode (all are followed by
1327 major-mode check and possible mode switch).
1328
0afad278
NR
13292009-08-31 Nick Roberts <nickrob@snap.net.nz>
1330
1331 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1332 Handle watchpoints (bug#4282).
1333 (def-gdb-thread-buffer-command): Enable thread to be selected by
1334 clicking without selecting threads buffer first.
1335 (gdb-current-context-command): Use selected frame so that "up",
1336 "down" etc work in the GUD buffer.
1337 (gdb-update): Find selected frame before rendering stack buffer.
1338 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
1339
4e135dd2
SM
13402009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
1341
1342 * progmodes/sym-comp.el (displayed-completions): Remove.
1343 (symbol-complete): Use minibuffer-complete.
1344
e61eba34
GM
13452009-08-31 Glenn Morris <rgm@gnu.org>
1346
1347 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
1348
734db384
SM
1349 * apropos.el (apropos-symbols-internal):
1350 Handle (obsolete) face aliases.
e61eba34
GM
1351
1352 * faces.el (describe-face): Adjust the output format to be more like
1353 describe-variable, and to mention (obsolete) face aliases.
1354 Adjust the whitespace so that help-setup-xref works.
1355
1356 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
1357 * calendar/diary-lib.el (diary-button-face):
1358 Mark these face aliases as obsolete.
1359
1360 * calendar/calendar.el (calendar-today): Doc fix.
1361
4cf71456
NR
13622009-08-31 Nick Roberts <nickrob@snap.net.nz>
1363
1364 * progmodes/gdb-mi.el (gdb-control-all-threads)
1365 (gdb-control-current-thread): Force tool bar update.
1366 (gdb-non-stop-handler): New function.
1367 (gdb-init-1): Use it to test if non-stop mode is supported.
1368 Remove unused gdbmi buffer type.
1369
e61eba34 13702009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
6830f449
JL
1371
1372 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
7ae62430 1373 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
6830f449 1374
4324f7ca
NR
13752009-08-30 Nick Roberts <nickrob@snap.net.nz>
1376
1377 * comint.el (comint-exec-1): Check command is non-null first.
1378 Part of gdb-mi.el change (2009-08-28).
1379
a1bf889a
SM
13802009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
1381
1382 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
1383
060c08b5
JB
13842009-08-30 Juanma Barranquero <lekktu@gmail.com>
1385
1386 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
1387 instead of `dolist' to avoid a recursive require when bootstrapping.
1388
ab22be48
SM
13892009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
1390
73ebf88f
SM
1391 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
1392
80629cfc
SM
1393 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
1394
206d0387 1395 * net/imap.el (imap-send-command): Simplify.
734db384 1396 (imap-wait-for-tag): point-max -> buffer-size.
206d0387 1397
844f7784
SM
1398 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
1399
5ca4661e
SM
1400 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
1401 with constant argument.
1402
c61dc887
SM
1403 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
1404
7eb73deb
SM
1405 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
1406
5fe443de
SM
1407 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
1408 Change default, since most of our files don't have a history.
1409 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
1410 the user.
1411
6444d64a
SM
1412 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1413 Add comint-run.
1414
5cb16bfc
SM
1415 * calc/calc.el: Improve commenting convention.
1416 (calc-digit-map, toplevel): Simplify.
1417
0aeb71a7
SM
1418 * comint.el (comint-insert-input): Be careful to only set point if we
1419 don't delegate to some other command.
1420
9a9af856
SM
1421 * proced.el (proced-signal-list): Make it an alist.
1422 (proced-grammar-alist): Capitalize names.
1423 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
1424 Disable undo manually and make it read-only.
1425 Use completion-annotate-function.
1426
ab22be48
SM
1427 * minibuffer.el (minibuffer-message): If the current buffer is not
1428 a minibuffer, insert the message in the echo area rather than at the
1429 end of the buffer.
1430 (completion-annotate-function): New variable.
1431 (minibuffer-completion-help): Use it.
1432 (completion--embedded-envvar-table): Environment vars are
1433 always case-sensitive.
1434
4a948dbf
GM
14352009-08-30 Glenn Morris <rgm@gnu.org>
1436
1437 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
1438 from fortran-current-defun.
1439 (fortran-beginning-of-subprogram): Be more precise about finding the
1440 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
1441 (fortran-end-of-subprogram): Simplify.
1442 (fortran-current-defun): Use fortran-start-prog-re.
1443
486cf3b8
JB
14442009-08-29 Juanma Barranquero <lekktu@gmail.com>
1445
1446 * subr.el (do-after-load-evaluation): Simplify.
1447
db167d28
DN
14482009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
1449
1450 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
1451
1452 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
1453 (vc-rcs-print-log): Use it.
1454
1455 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
1456
efbc652a
SM
14572009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
1458
2aa0e5bf
SM
1459 * paths.el (abbrev-file-name): Move to abbrev.el.
1460 * abbrev.el (abbrev-file-name): Move from paths.el.
1461 Obey user-emacs-directory.
1462 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
1463 user-emacs-directory.
1464 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
1465 abbrev-file-name and calc-settings-file any more.
1466 * startup.el (command-line): Recompute abbrev-file-name and
1467 abbreviated-home-dir.
1468 (normal-no-mouse-startup-screen): Improve the generic code and get rid
1469 of the special code for when C-h bindings haven't been changed.
1470 (display-startup-echo-area-message): Use with-current-buffer.
1471 (command-line-1): Use a list of strings, rather than a list of lists
1472 of strings for longopts.
1473
51da8fe2
SM
1474 * files.el (get-free-disk-space): Use / for default-directory.
1475
0c3cc4dd
SM
1476 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
1477 Use with-current-buffer.
1478
d988dbf6
SM
1479 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
1480 Recognize immutable variables like most-positive-fixnum.
1481 (byte-compile-setq-default): Check and warn if trying to assign
1482 to an immutable variable, or a non-variable.
1483
efbc652a
SM
1484 * progmodes/cc-vars.el (c-comment-continuation-stars):
1485 * progmodes/cc-engine.el (c-looking-at-bos):
1486 * progmodes/cc-cmds.el (c-toggle-auto-state)
1487 (c-forward-into-nomenclature, c-backward-into-nomenclature)
1488 (c-comment-line-break-function): Add version of obsolescence.
1489
d30a05d1
JL
14902009-08-28 Juri Linkov <juri@jurta.org>
1491
1492 * files.el (magic-fallback-mode-alist): Add ZIP magic number
1493 associated with `archive-mode'.
1494
1495 * image.el (image-type-header-regexps): Use only JPEG magic number
1496 to determine JPEG images, and don't use `image-jpeg-p' because
1497 Emacs can display non-JFIF non-Exif JPEG images.
1498
1e8eecea
JB
14992009-08-28 Juanma Barranquero <lekktu@gmail.com>
1500
1501 * arc-mode.el (archive-mode):
1502 * emacs-lisp/re-builder.el (re-builder-unload-function):
1503 Protect against the default value of `major-mode' being nil.
1504
dd4fbf56
JB
15052009-08-28 Juanma Barranquero <lekktu@gmail.com>
1506
1507 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
1508 Fix typos in docstrings.
1509
1510 * progmodes/js.el (js--macro-decl-re): Doc fix.
1511 (js--plain-method-re, js--split-name): Refloc docstring.
1512 (js--class-styles, js--make-merged-item, js--splice-into-items):
1513 Fix typos in docstrings; reflow docstrings.
1514 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
1515 (js--variable-decl-matcher, js--inside-pitem-p)
1516 (js--parse-state-at-point, js--get-all-known-symbols)
1517 (js--symbol-history, js-find-symbol, js--js-references)
1518 (js--moz-interactor, js--js-encode-value, js--read-tab):
1519 Fix typos in docstrings.
1520
72f16325
SM
15212009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1522
14acf2f5
SM
1523 * textmodes/reftex.el (reftex-get-file-buffer-force):
1524 * progmodes/verilog-mode.el (verilog-batch-execute-func):
1525 * emulation/viper.el (viper-go-away, viper-set-hooks):
1526 * emacs-lisp/re-builder.el (re-builder-unload-function):
1527 * emacs-lisp/bytecomp.el (byte-compile-file):
1528 * ses.el (ses-unload-function):
1529 * hexl.el (hexl-find-file):
1530 * files.el (normal-mode):
1531 * ehelp.el (with-electric-help):
1532 * autoinsert.el (auto-insert-alist):
1533 * arc-mode.el (archive-mode):
1534 Use (default-value 'major-mode) instead of default-major-mode.
1535
72f16325
SM
1536 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
1537 * international/mule.el (load-with-code-conversion):
1538 * emacs-lisp/debug.el (debug):
1539 * ediff-vers.el (ediff-rcs-get-output-buffer):
1540 * dired.el (dired-internal-noselect): Don't let-bind
1541 default-major-mode around code that doesn't use it.
1542 E.g. buffer creation via get-buffer-create doesn't use it.
1543
aa485f7c
MA
15442009-08-28 Michael Albinus <michael.albinus@gmx.de>
1545
1546 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
1547 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
1548 when writing the temp file. Otherwise, epa-file gets confused.
1549 (tramp-register-file-name-handlers): Make it a defun. Move also
1550 `epa-file-handler' to the front of `file-name-handler-alist'.
1551
15522009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1553
1554 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
1555 start right after a ^M.
1556 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
1557 (tramp-completion-file-name-regexp-separate)
1558 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
72f16325
SM
1559 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
1560 Don't modify last-coding-system-used by accident.
aa485f7c
MA
1561 (tramp-completion-file-name-handler): Apply the checks here,
1562 instead during registration.
1563 (tramp-register-file-name-handlers) Renamed from
1564 `tramp-register-file-name-handler'. Register both
1565 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
72f16325 1566 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
aa485f7c 1567
3f0c2b92
NR
15682009-08-28 Nick Roberts <nickrob@snap.net.nz>
1569
72f16325
SM
1570 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
1571 Remove variable ...
3f0c2b92
NR
1572 (gdb-init-1, gdb-display-separate-io-buffer)
1573 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
1574 references to it.
1575 (gdb-inferior-io-mode): Use make-comint-in-buffer.
1576 (gdb-inferior-filter): Use comint-output-filter to stop
1577 echoing and remove ^M characters.
1578
705e5bd9
SM
15792009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1580
009fdc2e
SM
1581 * emulation/viper-init.el (viper-restore-cursor-type):
1582 * emulation/cua-base.el (cua--update-indications):
1583 Replace default-cursor-type with (default-value 'cursor-type).
1584
b56a5ae0
SM
1585 * mail/sendmail.el (mail-recover-1):
1586 * international/mule-diag.el (describe-current-coding-system-briefly)
1587 (describe-current-coding-system):
1588 * international/mule-cmds.el (select-safe-coding-system)
1589 (select-message-coding-system)
1590 (set-language-environment-coding-systems, set-locale-environment):
1591 * hexl.el (hexl-insert-multibyte-char):
1592 * dos-w32.el (find-buffer-file-type-coding-system):
1593 * simple.el (what-cursor-position):
1594 Replace uses of default-buffer-file-coding-system
1595 with (default-value 'buffer-file-coding-system).
1596
de70529f
SM
1597 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
1598 Replace uses of default-cursor-in-non-selected-windows
1599 with (default-value 'cursor-in-non-selected-windows).
1600 Use with-current-buffer.
1601
705e5bd9
SM
1602 * mail/feedmail.el: Use CL macros.
1603 (feedmail-run-the-queue, feedmail-send-it-immediately):
1604 * dos-w32.el (find-buffer-file-type): Replace uses of
1605 default-buffer-file-type with (default-value 'buffer-file-type).
1606
4d985ac2
GM
16072009-08-28 Glenn Morris <rgm@gnu.org>
1608
1609 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
1610 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
1611 Use default-value of major-mode rather than default-major-mode.
1612
17c15b81
SM
16132009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
1614
3a68ab06
SM
1615 * Makefile.in (update-elcfiles): Report left over elc files.
1616
9421bdd1
SM
1617 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
1618 expand-file-name and with-current-buffer.
1619 (mail-get-names, mail-directory): Use with-current-buffer.
1620
17c15b81
SM
1621 * vc.el (vc-read-revision): New function.
1622 (vc-version-diff, vc-merge): Use it.
1623
ba83a64e
SS
16242009-08-27 Sam Steingold <sds@gnu.org>
1625
1626 * simple.el (kill-do-not-save-duplicates): New user option.
1627 (kill-new): When it is non-nil, and the new string is the same as
1628 the latest kill, set replace to t to avoid duplicates in kill-ring.
1629
be3e598a 16302009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
d5b5c94a
MA
1631
1632 * net/tramp.el (tramp-handle-process-file): Do not flush all
1633 caches when `process-file-side-effects' is set.
1634 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
17c15b81
SM
1635 instead of `tramp-find-file-exists-command'.
1636 Unset `process-file-side-effects'.
d5b5c94a
MA
1637
16382009-08-27 Michael Albinus <michael.albinus@gmx.de>
1639
1640 * net/tramp.el (tramp-methods): New method "rsyncc".
1641 (top): Add completion function for "rsyncc".
1642 (tramp-message-show-message): New defvar.
1643 (tramp-message, tramp-error): Use it.
1644 (tramp-do-copy-or-rename-file-directly): Extend check for direct
1645 remote copying.
1646 (tramp-do-copy-or-rename-file-out-of-band): Handle new
1647 `tramp-methods' entry `copy-env' of "rsyncc".
1648 (tramp-vc-registered-read-file-names): New defconst.
1649 (tramp-vc-registered-file-names): New defvar.
1650 (tramp-handle-vc-registered): Implement optimization strategy.
1651 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
1652 (tramp-vc-file-name-handler): New defun.
1653 (tramp-get-ls-command, tramp-get-test-command)
1654 (tramp-get-file-exists-command, tramp-get-remote-ln)
1655 (tramp-get-remote-perl, tramp-get-remote-stat)
17c15b81 1656 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
d5b5c94a
MA
1657
1658 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
1659 (tramp-cache-inhibit-cache): Extend doc string. It allows also
1660 timestamps.
1661 (tramp-get-file-property): Check for timestamps in
1662 `tramp-cache-inhibit-cache'.
1663 (tramp-set-file-property): Write timestamp.
1664
1339cf20
KH
16652009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
1666
1667 * language/japan-util.el (japanese-symbol-table): Add entries for
1668 cp932-2-byte.
1669
1670 * international/characters.el: Add category `j' to cp932-2-byte.
1671
726e3f1d
KH
16722009-08-27 Kenichi Handa <handa@m17n.org>
1673
1674 * international/fontset.el (build-default-fontset-data): New macro.
1675 (setup-default-fontset): Use build-default-fontset-data for CJK,
7b6fefac 1676 tibetan, ethiopic, and ipa.
726e3f1d 1677
4e3b4528
SM
16782009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
1679
1680 * cus-start.el (default-major-mode): Customize `major-mode' instead.
1681 (enable-multibyte-characters): Not customizable any more.
1682
1683 * subr.el (default-mode-line-format, default-header-line-format)
1684 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
1685 (default-direction-reversed, default-truncate-lines)
1686 (default-left-margin, default-tab-width, default-case-fold-search)
1687 (default-left-margin-width, default-right-margin-width)
1688 (default-left-fringe-width, default-right-fringe-width)
1689 (default-fringes-outside-margins, default-scroll-bar-width)
1690 (default-vertical-scroll-bar, default-indicate-empty-lines)
1691 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
1692 (default-fringe-cursor-alist, default-scroll-up-aggressively)
1693 (default-scroll-down-aggressively, default-fill-column)
1694 (default-cursor-type, default-buffer-file-type)
1695 (default-cursor-in-non-selected-windows)
1696 (default-buffer-file-coding-system, default-major-mode)
1697 (default-enable-multibyte-characters): Mark as obsolete.
1698
b3cca6a6
DN
16992009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
1700
652cc1a2
DN
1701 * vc-dir.el (vc-dir-update): Remove debug helper.
1702
b3cca6a6
DN
1703 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
1704
4ed8c7aa
SS
17052009-08-26 Sam Steingold <sds@gnu.org>
1706
1707 * simple.el (save-interprogram-paste-before-kill): New user option.
1708 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
1709 save the interprogram-paste into kill-ring before overriding it
1710 with the Emacs kill.
1711
3b64d86b
DN
17122009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
1713
1714 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
1715 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
1716 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
1717 and move to vc-rcs.el.
1718 (vc-default-next-revision): Rename to vc-rcs-next-revision and
1719 move to vc-rcs.el.
1720 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
1721 (vc-rcs-update-changelog): Remove.
1722 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
1723 and move to vc-rcs.el.
1724
1725 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
1726 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
1727 renaming.
1728 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
72f16325 1729 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
3b64d86b
DN
1730 vc.el, renamed to be RCS specific.
1731
72f16325
SM
1732 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
1733 New functions.
1734 (vc-cvs-update-changelog): Move here from vc.el.
3b64d86b
DN
1735
1736 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
1737 New functions.
1738
636a36a0
SM
17392009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
1740
1741 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
1742
239b3340
DN
17432009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
1744
b91f0762 1745 * vc-git.el (vc-git-register): Use "git add" for directories.
2ddf440d
DN
1746 (vc-git-stash, vc-git-stash-show): New functions.
1747 (vc-git-extra-menu-map): Bind them.
b91f0762 1748
b8e54362
DN
1749 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
1750 directory correctly in case the item is a directory itself.
1751
239b3340
DN
1752 * vc.el: Document the desired behavior for reverted files in the
1753 `added' state.
dc810649
DN
1754 (vc-default-prettify-state-info): Remove function, unused.
1755
1756 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
239b3340 1757
e49c0179
GM
17582009-08-26 Glenn Morris <rgm@gnu.org>
1759
1760 * bindings.el (standard-mode-line-format): Reposition dashes in
1761 which-func entry. (Bug#4217)
1762
3029e594
GM
1763 * files.el (enable-local-variables, enable-local-eval)
1764 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
1765 the defcustoms.
1766 (auto-mode-alist, ignored-local-variables)
1767 (save-some-buffers-action-alist): Move risky declarations to the
1768 definitions.
1769 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
1770 (font-lock-defaults, format-alist, imenu--index-alist)
1771 (imenu-generic-expression, input-method-alist, minor-mode-alist)
1772 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
1773 (mode-line-modified, mode-line-mule-info, mode-line-position)
1774 (mode-line-process, mode-line-remote, outline-level)
1775 (parse-time-rules, rmail-output-file-alist)
1776 (special-display-buffer-names, vc-mode):
1777 Move risky declarations to the relevant files.
72f16325
SM
1778 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
1779 (mode-line-modified, mode-line-process, mode-line-position)
3029e594
GM
1780 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
1781 * font-core.el (font-lock-defaults):
1782 * format.el (format-alist):
1783 * vc-hooks.el (vc-mode):
1784 * window.el (special-display-buffer-names):
1785 * international/mule-cmds.el (input-method-alist):
1786 Define riskiness here (dumped file) rather than in files.el.
1787 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
1788 * imenu.el (imenu-generic-expression, imenu--index-alist):
1789 * outline.el (outline-level):
1790 * time.el (display-time-string):
1791 * calendar/parse-time.el (parse-time-rules):
1792 * mail/rmailout.el (rmail-output-file-alist):
1793 Autoload riskiness here, rather than placing in files.el.
1794
8476cfaf
SM
17952009-08-26 Andreas Schwab <schwab@linux-m68k.org>
1796
1797 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
1798
0b35b48e
MA
17992009-08-25 Michael Albinus <michael.albinus@gmx.de>
1800
1801 * simple.el (process-file-side-effects): New defvar.
1802
1803 * dired-aux.el (dired-show-file-type):
1804 * vc.el (vc-diff-internal):
1805 * vc-arch.el (vc-arch-diff):
1806 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
1807 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
1808 * vc-git.el (vc-git-registered, vc-git-working-revision)
1809 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
1810 (vc-git--empty-db-p):
1811 * vc-hooks.el (vc-user-login-name):
1812 * vc-svn.el (vc-svn-registered, vc-svn-state)
1813 (vc-svn-dir-extra-headers, vc-svn-find-revision):
1814 * progmodes/grep.el (grep-probe): Let-bind
1815 `process-file-side-effects' with nil.
1816
1817 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
1818
1819 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
1820 daemon. Replace ping by checking for running service for bluez
1821 and zeroconf. (Bug#4239)
1822
d54cc599
GM
18232009-08-25 Kevin Ryde <user42@zip.com.au>
1824
1825 * net/dig.el (dig): Add autoload cookie.
1826
7bfd055d
GM
18272009-08-25 Glenn Morris <rgm@gnu.org>
1828
bac9c66c
GM
1829 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
1830 load-history for absolute file-names.
1831 (byte-compile-file-form-require): Warn about use of the cl package.
1832
7bfd055d
GM
1833 * format.el (format-alist): Doc fix.
1834
5ac1f9e0
GM
1835 * play/bubbles.el (top-level): Don't require cl at run-time.
1836
af62aa88
GM
1837 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
1838 run-time cl).
1839
71e036af
DD
18402009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
1841
1842 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
1843 from cl package.
1844 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
1845
42110eaf
JB
18462009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
1847
1848 * calc/calc-alg.el (math-trig-rewrite)
1849 (math-hyperbolic-trig-rewrite): New functions.
1850 (calc-simplify): Simplify trig functions when asked.
1851
88421f3e
SM
18522009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
1853
1854 * diff-mode.el (diff-find-source-location): Avoid goto-line.
1855
dbd9624e
KH
18562009-08-24 Kenichi Handa <handa@m17n.org>
1857
1858 * language/ind-util.el (mapthread): Delete it.
1859 (combinatorial): New function.
1860 (indian--puthash-cv): Use combinatorial instead of mapthread.
1861
9b89e3ee
GM
18622009-08-22 Kevin Ryde <user42@zip.com.au>
1863
1864 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
1865 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
1866 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
1867 Clarify docstring that the value is strings not symbols.
1868 (checkdoc-list-of-strings-p): New function.
1869
e6ce8c42
GM
18702009-08-22 Glenn Morris <rgm@gnu.org>
1871
2ddf2ea6 1872 * files.el (auto-mode-alist):
a3374680
GM
1873 * hippie-exp.el (he-concat-directory-file-name):
1874 * lpr.el (lpr-windows-system, printer-name):
1875 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
1876 * ps-print.el (ps-windows-system):
1877 * startup.el (command-line):
1878 * emulation/viper-ex.el (viper-glob-function):
1879 * international/mule-cmds.el (set-language-environment-coding-systems):
1880 * net/ange-ftp.el (ange-ftp-write-region):
1881 * obsolete/fast-lock.el (fast-lock-cache-name):
2ddf2ea6 1882 Remove code for defunct system-types emx, macos, mswindows, next-mach,
a3374680
GM
1883 unisoft-unix, vax-vms, win32, w32.
1884
977955fa
GM
1885 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
1886 given name if the pattern is not more specific.
1887
b4deec2e
GM
1888 * calendar/lunar.el (lunar-phase-names): New option.
1889 (lunar-phase): Doc fix.
1890 (lunar-cycles-per-year): New constant.
1891 (lunar-index): New function.
1892 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
1893 (lunar-phase-name): Use lunar-phase-names.
1894 (calendar-lunar-phases): Use format.
1895 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
1896
47e83968
GM
1897 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
1898 Copy imenu-example--name-and-position function here for own use.
1899 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
1900
e6ce8c42
GM
1901 * bs.el (bs--redisplay):
1902 * cus-edit.el (custom-redraw):
1903 * ibuffer.el (ibuffer-bury-buffer):
1904 * server.el (server-goto-line-column):
1905 * startup.el (command-line-1):
1906 * strokes.el (strokes-xpm-for-stroke):
1907 * term.el (term-display-buffer-line):
1908 * view.el (View-goto-line):
1909 * calc/calc.el (calc-do, calc-trail-buffer):
1910 * play/gamegrid.el (gamegrid-add-score-insecure):
1911 * progmodes/ada-mode.el (ada-compile-goto-error):
1912 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
1913 (ebrowse-select-1st-to-9nth):
47e83968 1914 * progmodes/cperl-mode.el (cperl-time-fontification):
e6ce8c42
GM
1915 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
1916 * progmodes/gud.el (gud-display-line):
1917 (idlwave-shell-display-line):
1918 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
1919 * progmodes/make-mode.el (makefile-browser-toggle):
1920 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
1921 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
1922 * textmodes/picture.el (picture-draw-rectangle):
1923 * textmodes/reftex-index.el (reftex-index-goto-letter):
1924 (reftex-select-jump-to-previous):
1925 * textmodes/reftex-sel.el (reftex-find-start-point)
1926 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
1927 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
1928 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
1929 * textmodes/tex-mode.el (tex-compilation-parse-errors):
1930 * textmodes/two-column.el (2C-associated-buffer):
1931 Use forward-line rather than goto-line.
1932
1933 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
1934 goto-line.
1935
4b18bdb3
GM
1936 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
1937 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
1938 (quick-check-list-to-regexp): Declare.
e6ce8c42 1939
72f16325
SM
1940 * progmodes/make-mode.el (makefile-browser-insert-selection):
1941 Use goto-char rather than goto-line.
e6ce8c42
GM
1942
1943 * progmodes/prolog.el (compilation-error-regexp-alist)
1944 (compilation-forget-errors): Declare.
1945
32a2cf25
JL
19462009-08-22 Juri Linkov <juri@jurta.org>
1947
1948 * progmodes/grep.el (lgrep, rgrep): At the beginning
1949 set `dir' to `default-directory' unless `dir' is a non-nil
1950 readable directory. (Bug#4052)
1951 (lgrep, rgrep): Change a weird way to report an error
1952 from using `read-string' to using `error'.
1953 Instead of using interactive arguments in the function body,
1954 add new argument `confirm'.
1955
5443c9b7
SM
19562009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
1957
cb5b40ee
SM
1958 * textmodes/remember.el (remember-buffer):
1959 * progmodes/cperl-mode.el (cperl-vc-header-alist):
1960 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
1961 (icalendar-extract-ical-from-buffer):
5443c9b7
SM
1962 * net/newst-treeview.el (newsticker-groups-filename):
1963 * net/newst-backend.el (newsticker-cache-filename):
1964 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
1965 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
1966 (speedbar-add-ignored-path-regexp, speedbar-line-path)
1967 (speedbar-buffers-line-path, speedbar-path-line)
1968 (speedbar-buffers-line-path):
1969 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
1970 (epg-sign-keys):
1971 * epa.el (epa-display-verify-result):
1972 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
1973
d6261cc1
GM
19742009-08-21 Glenn Morris <rgm@gnu.org>
1975
3e1ea342
GM
1976 * progmodes/js.el (inferior-moz-process): Fix declaration.
1977
ce86eeb5
GM
1978 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
1979
fff28970
GM
1980 * obsolete/rnewspost.el (news-mail-reply):
1981 Use goto-char rather than goto-line.
1982
d93e053b
GM
1983 * term/ns-win.el (ns-open-file-select-line):
1984 Use line-beginning-position rather than goto-line.
1985
d5d105e8
GM
1986 * apropos.el (apropos-command):
1987 * ehelp.el (electric-helpify):
1988 * printing.el (pr-show-setup):
1989 * strokes.el (strokes-help):
1990 * tutorial.el (tutorial--describe-nonstandard-key)
1991 (tutorial--detailed-help):
1992 * woman.el (woman-mini-help, woman-display-extended-fonts):
1993 * calc/calc-help.el (calc-describe-key):
1994 * emulation/edt.el (edt-electric-helpify):
1995 * international/mule-diag.el (mule-diag):
1996 * play/yow.el (apropos-zippy):
1997 * progmodes/python.el (python-describe-symbol):
1998 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
1999 * textmodes/table.el (*table--cell-describe-mode)
2000 (*table--cell-describe-bindings):
2001 Use help-print-return-message rather than the now obsolete alias.
2002
a8ab722f 2003 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
9b4c5ecd
GM
2004 (calendar-cursor-to-visible-date):
2005 * play/5x5.el (5x5-position-cursor):
2006 * play/decipher.el (decipher):
2007 * play/gomoku.el (gomoku-goto-xy):
2008 * play/landmark.el (lm-goto-xy):
2009 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
2010 (mpuz-paint-digit):
2011 Use forward-line, not goto-line.
a8ab722f 2012
d6261cc1
GM
2013 * mail/rmail.el (rmail-obsolete): Delete custom group.
2014 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
2015 (rmail-remote-password, rmail-remote-password-required):
2016 Remove unneeded :set-after and :set properties.
2017
9e846523
MA
20182009-08-21 Michael Albinus <michael.albinus@gmx.de>
2019
2020 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
2021
bbe1f502
DN
20222009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
2023
bcc5db24
DN
2024 * loadup.el: Remove leftover macos code.
2025
bbe1f502
DN
2026 * vc-git.el (vc-git-annotate-command): Run asynchronously.
2027 Explicitly pass the date format to git blame so that user local
2028 so that the output format can be parsed.
2029
6fd2d19a
MA
20302009-08-20 Michael Albinus <michael.albinus@gmx.de>
2031
2032 * net/dbus.el (top): Don't check for (getenv
2033 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
2034
31764e15
SM
20352009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
2036
2037 * log-edit.el (log-edit-strip-single-file-name): New var.
5443c9b7 2038 (log-edit-insert-changelog): Use it. Bug#3571
31764e15 2039
28930e39
SM
20402009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
2041
4fd15622 2042 * subr.el (read-passwd): Use read-key so keypad keys work as well.
31764e15 2043 Bug#3287
4fd15622 2044
b3d8e4a0
SM
2045 * help.el (help-print-return-message): Rename from
2046 print-help-return-message.
2047
c9829c70
SM
2048 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
2049 cvs-mode-map parent hack.
2050 (log-view-mode): Derive from special-mode.
2051
b932657b
SM
2052 * linum.el (linum-mode): window-size-change-functions is redundant.
2053 Adapt to new window-configuration-change-hook behavior.
2054 (linum-after-size, linum-after-config): Remove.
2055
1b700bca
SM
2056 * imenu.el (imenu-example--name-and-position)
2057 (imenu-example--lisp-extract-index-name)
2058 (imenu-example--create-lisp-index, imenu-example--create-c-index):
2059 Mark as obsolete.
2060
28930e39
SM
2061 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
2062 (inferior-prolog-mode): Use it.
2063 (inferior-prolog-load-file): Reset list of errors.
2064
c9af0b68
KH
20652009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
2066
2067 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
2068
2069 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
2070
720c7cd6
MA
20712009-08-19 Michael Albinus <michael.albinus@gmx.de>
2072
2073 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
2074 is running already.
2075
03a74b84
SM
20762009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
2077
2078 * subr.el (listify-key-sequence-1): Use normal syntax since those
2079 integers are nowadays always represented by the same (positive) number
2080 on all platforms.
2081 (read-key-empty-map): New const.
2082 (read-key-delay): New var.
2083 (read-key): New function.
2084 (force-mode-line-update): Use with-current-buffer.
2085 (locate-user-emacs-file): Don't forget to abbreviate the file name.
2086 (start-process-shell-command, start-file-process-shell-command):
2087 Discourage the use of command-args.
2088
f43e88d4
GM
20892009-08-19 Glenn Morris <rgm@gnu.org>
2090
2091 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
2092
890429cc
SM
20932009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
2094
85be9ec4
SM
2095 * simple.el (choose-completion-string): Don't rely on
2096 minibuffer-completing-file-name and ad-hoc checks to decide whether
2097 to continue completion or not.
2098
890429cc
SM
2099 * minibuffer.el (minibuffer-hide-completions): New function.
2100 (completion--do-completion): Use it.
2101 (completions-annotations): New face.
2102 (completion--insert-strings): Use it.
2103 (completion-pcm--delim-wild-regex): Add docstring.
2104 (completion-pcm--string->pattern): Add support for 0-width delimiters
2105 in completion-pcm--delim-wild-regex.
2106
265d4549
SM
21072009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
2108
d440b941
SM
2109 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
2110 Remove unused var `buffer-modified-p'.
2111
265d4549
SM
2112 * minibuffer.el (completion--do-completion): Move point for the #b001
2113 case as well (bug#4176).
2114 (minibuffer-complete, minibuffer-complete-word): Don't move point.
2115
ba6f7d86
MA
21162009-08-18 Michael Albinus <michael.albinus@gmx.de>
2117
2118 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
2119 and :session buses.
2120
98819490
KH
21212009-08-18 Kenichi Handa <handa@m17n.org>
2122
265d4549
SM
2123 * international/ucs-normalize.el (ucs-normalize-version):
2124 Change to 1.1.
58627cf0
KH
2125 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
2126 (utf-8-hfs): Make it perform normalization on encoding too.
2127
98819490
KH
2128 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
2129 (sentence-end-without-space): Delete duplicated chars.
2130 (sentence-end-base): Likewise.
e739cc85
KH
2131
2132 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
2133 (html-mode): Delete duplicated chars from sentence-end-base.
2134
2135 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
2136 (texinfo-mode): Delete duplicated chars from sentence-end-base.
98819490 2137
645b9326
CY
21382009-08-17 Chong Yidong <cyd@stupidchicken.com>
2139
2140 * files.el (hack-one-local-variable): If the mode function is for
2141 a minor mode, pass it an argument (Bug#4148).
2142
56c195af
MA
21432009-08-17 Michael Albinus <michael.albinus@gmx.de>
2144
2145 * net/tramp.el (tramp-register-completion-file-name-handler):
2146 Check also for (member 'partial-completion completion-styles).
2147
7a55c78b
CY
21482009-08-16 Chong Yidong <cyd@stupidchicken.com>
2149
2150 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
2151 abbrev (Bug#3943).
2152
be3e598a 21532009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
8c777c8d
CY
2154
2155 * progmodes/cperl-mode.el: Merge upstream 6.2.
2156 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
2157 (cperl-forward-re): Check cperl-brace-recursing.
2158 (cperl-highlight-charclass): New function.
2159 (cperl-find-pods-heres): Use it.
31cd2dd4 2160 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
8c777c8d 2161 (cperl-beautify-regexp-piece): Fix column calculation.
31cd2dd4 2162 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
8c777c8d
CY
2163 (cperl-beautify-level): Don't process entire regexp.
2164 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
2165 calling man.
2166 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
2167 (cperl-init-faces): Build a list in the normal way.
2168
81b1f9c9
CY
21692009-08-16 Chong Yidong <cyd@stupidchicken.com>
2170
2171 * calendar/parse-time.el (parse-time-string-chars): Save match
2172 data.
2173
c3732cb8
SM
21742009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
2175
55659495
SM
2176 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
2177 (sql-product): Use it.
2178 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
2179 (sql-set-product): Add completion.
2180 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
2181 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
2182 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
2183 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
2184 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
2185 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
2186 (sql-highlight-db2-keywords): Remove.
2187 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
2188 (sql-highlight-product): Use derived-mode-p.
2189 (sql-set-sqli-buffer): Use with-current-buffer.
2190 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
2191 Simplify.
2192
1ae79427
SM
2193 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
2194
c3732cb8
SM
2195 * term.el: Fix commenting convention, turn comments into docstrings.
2196
f24b8bf3
CY
21972009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
2198
2199 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
2200
7b6fefac 22012009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
e1bdde78 2202
1200ac26 2203 * calendar/parse-time.el (parse-time-string-chars): Compute using
d0d3f6e9
CY
2204 character classes, to handle non-ascii characters (Bug#3190).
2205
22062009-08-16 Chong Yidong <cyd@stupidchicken.com>
1200ac26 2207
1abbe4e5
CY
2208 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
2209 another heredoc if the user adds another < (Bug#3226).
2210
c3732cb8
SM
2211 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
2212 Don't initialize based on window-system (Bug#4124).
19261da4 2213
daad00fc
CY
2214 * facemenu.el (facemenu-read-color): Use a completion function
2215 that accepts any defined color, such as RGB triplets (Bug#3677).
2216
e1bdde78
CY
2217 * files.el (get-free-disk-space): Change fallback default
2218 directory to /. Expand DIR argument before switching to fallback.
2219 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
2220
9d73a99e
CY
22212009-08-15 Chong Yidong <cyd@stupidchicken.com>
2222
2223 * files.el (load-library): Doc fix.
2224
68b962d4 22252009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
9d73a99e 2226
c3732cb8
SM
2227 * viper-cmd.el (viper-insert-isearch-string): New function.
2228 (viper-if-string): Redefine C-s in the minibuffer to insert the last
68b962d4 2229 incremental search string.
9d73a99e 2230
c3732cb8 2231 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
68b962d4 2232 XEmacs.
9d73a99e 2233
c3732cb8
SM
2234 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
2235 (ediff-merge-region-is-non-clash)
2236 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
68b962d4 2237 Also check if the job is really a merge job.
9d73a99e 2238
c3732cb8 2239 * ediff.el (ediff-current-file): New function.
9d73a99e 2240
2e330adc
CY
22412009-08-15 Chong Yidong <cyd@stupidchicken.com>
2242
2243 * progmodes/js.el: Edit docstrings throughout to follow Emacs
2244 conventions.
c3732cb8 2245 (js-insert-and-indent): Delete function.
2e330adc
CY
2246 (js-mode-map): Don't bind keys to js-insert-and-indent.
2247 (js-beginning-of-defun): Rename from js--beginning-of-defun.
2248 (js-end-of-defun): Rename from js--end-of-defun.
c3732cb8 2249 (js-auto-indent-flag): Delete variable.
2e330adc 2250
17b5d0f7
CY
22512009-08-14 Chong Yidong <cyd@stupidchicken.com>
2252
c3732cb8
SM
2253 * progmodes/js.el: Remove proclaim statement.
2254 Defvar which-func-imenu-joiner-function to silence compiler.
2e330adc 2255
ba2d8894
CY
2256 * files.el (auto-mode-alist): Use js-mode for .js files.
2257
c3732cb8 2258 * progmodes/js2-mode.el: Remove file.
17b5d0f7
CY
2259
2260 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
2261
2262 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
2263
c3732cb8 2264 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
17b5d0f7
CY
2265
22662009-08-14 Daniel Colascione <dan.colascione@gmail.com>
7b6fefac 2267 Karl Landstrom <karl.landstrom@brgeight.se>
17b5d0f7
CY
2268
2269 * progmodes/js.el: New file.
2270
b6377f1d
MH
22712009-08-14 Mark A. Hershberger <mah@everybody.org>
2272
2273 * timezone.el (timezone-parse-date): Add ability to understand ISO
2274 basic format (minimal separators) dates in addition to the
2275 already-supported extended format dates.
2276
bc0eef46
EZ
22772009-08-14 Eli Zaretskii <eliz@gnu.org>
2278
4e021e65
EZ
2279 * international/ucs-normalize.el: Add a `coding' file variable.
2280
bc0eef46
EZ
2281 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
2282
53dab179
SS
22832009-08-14 Sam Steingold <sds@gnu.org>
2284
6801c38a 2285 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
53dab179 2286
6c58c39c
CY
22872009-08-13 Chong Yidong <cyd@stupidchicken.com>
2288
2289 * faces.el (help-argument-name): Define it here instead of
2290 help-fns.el, because in daemon mode help-fns.el may be loaded when
2291 faces are still uninitialized (Bug#1078).
2292
2293 * help-fns.el (help-argument-name): Move defface to faces.el.
2294
c7baf7e9
NR
22952009-08-13 Nick Roberts <nickrob@snap.net.nz>
2296
2297 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
2298 create buffer with a pty but no process so that GDB can make the
2299 inferior the controlling process.
2300
9c40e995 23012009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
d6d30064
KH
2302
2303 * international/ucs-normalize.el: New file.
2304
8cdba32b
RS
23052009-08-13 Richard Stallman <rms@gnu.org>
2306
5c950923
RS
2307 * mail/rmail.el (rmail-get-attr-names):
2308 Accept an attribute header that is too short.
2309
76e1e40b
RS
2310 * mail/rmail.el (rmail-forget-messages):
2311 Ignore nil elt in rmail-message-vector. Use dotimes.
2312
1fc01b08
RS
2313 * progmodes/compile.el (compilation-goto-locus):
2314 Use next-error-move-function.
2315
8cdba32b
RS
2316 * simple.el (next-error-move-function): New variable.
2317
99910cf4
JL
23182009-08-12 Juri Linkov <juri@jurta.org>
2319
2320 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
2321 always non-nil. (Bug#4052)
2322
2323 * replace.el (read-regexp): Return empty string when
2324 `default-value' is nil.
2325 (keep-lines-read-args): Don't use empty string as the
2326 default value for `read-regexp'. (Bug#2495)
2327
fc5bdf6c
JL
23282009-08-12 Juri Linkov <juri@jurta.org>
2329
2330 * international/mule-cmds.el (ucs-insert): Change arguments
2331 from `arg' to `character', `count', `inherit' to be the same
2332 as in `insert-char'. Doc fix. (Bug#4039)
2333
2334 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
2335
77748848
JL
23362009-08-12 Juri Linkov <juri@jurta.org>
2337
2338 * files-x.el: New file.
2339
2340 * files.el: Move code that deals with adding/deleting
2341 file/directory-local variables to files-x.el.
2342
2343 * Makefile.in (ELCFILES): Add files-x.elc.
2344
c8a44c4e
DD
23452009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
2346
27a9fd5a
DD
2347 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
2348 to use `goto-line'.
2349 (gdb-place-breakpoints, gdb-get-location): Rewritten without
2350 `goto-line'.
2351 (gdb-invalidate-disassembly): Do not refresh upon receiving
7b6fefac 2352 'update signal. Instead, update all disassembly buffers only after
27a9fd5a 2353 threads list.
107ef54a 2354 (gdb): Send -target-detach when buffer is killed (Bug#3794).
cf6e27cf
DD
2355 (gdb-starting): Moved -data-list-register-names...
2356 (gdb-stopped): ...here so it's sent when first thread stops.
2357 (gdb-registers-handler-custom): Do nothing if register names are
2358 unknown yet.
27a9fd5a 2359
c8a44c4e
DD
2360 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
2361 from `gdb-mi.el' to avoid extra tangling.
2362
2363 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
7b6fefac 2364 change which breaks `gud-def' definitions used in `gdb'.
c8a44c4e
DD
2365 (gdb-update-gud-running): No extra fuss for updating frame number.
2366
dfd4e693
SM
23672009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2368
51c4341f
SM
2369 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
2370 (describe-language-environment-map, setup-language-environment-map)
2371 (set-coding-system-map): Move initialization into declaration.
2372 (set-language-info-alist): Last arg to define-key-after can be skipped.
2373
2374 * international/quail.el (quail-completion-1): Simplify.
2375 (quail-define-rules): Use slightly more compact code.
2376 (quail-insert-decode-map): Propertize keys, compact columns.
2377
dfd4e693
SM
2378 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2379 Add goto-line.
2380
83326559
MB
23812009-08-10 Miles Bader <miles@gnu.org>
2382
2383 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
2384 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
2385 (js2-instance-member, js2-private-member, js2-private-function-call)
2386 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
2387 (js2-magic-paren, js2-external-variable):
2388 Remove "-face" suffix from face names.
2389 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
2390 (js2-highlight-undeclared-vars, js2-peek-token)
2391 (js2-parse-function-params, js2-mode-show-errors)
2392 (js2-mode-show-warnings, js2-make-magic-delimiter)
2393 (js2-mode-highlight-magic-parens): Update to use new face names.
2394
8e754ea2
MA
23952009-08-09 Michael Albinus <michael.albinus@gmx.de>
2396
2397 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
2398 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
2399
1c292fc7
CY
24002009-08-09 Chong Yidong <cyd@stupidchicken.com>
2401
18d433a7
CY
2402 * subr.el: Provide hashtable-print-readable.
2403
1c292fc7
CY
2404 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
2405 hs-c-like-adjust-block-beginning.
2406 (hs-hide-block-at-point): Stop hiding at the beginning of
2407 hs-block-end-regexp (Bug#700).
2408
2db0ae07
DD
24092009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
2410
2411 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
2412 a macro.
2413 (gdb-registers-handler-custom): Do not fail when register names
2414 are unavailable.
2415
fe4740a6
DD
24162009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
2417
2418 * progmodes/gdb-mi.el (gdb-control-all-threads)
2419 (gdb-control-current-thread): Interactive setters for
2420 `gdb-gud-control-all-threads' to use in menu.
2421 (gdb-show-run-p): Show «Go» when process is not active.
7b6fefac 2422 (gud-tool-bar-map): Add non-stop/A,T indicator. Uses
fe4740a6
DD
2423 gud/thread.xpm and gud/all.xpm.
2424
ce299d55
CY
24252009-08-08 Yoni Rabkin <yoni@rabkins.net>
2426
2427 * net/net-utils.el (net-utils-font-lock-keywords): New var.
2428 (nslookup-font-lock-keywords): Make it a variable.
dba90ffd
CY
2429 (net-utils-mode): New mode for viewing diagnostic network output.
2430 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
2431 (net-utils-run-simple): New function.
2432 (ifconfig, iwconfig, netstat, arp, route): Use it.
ce299d55 2433
7c4654ad
DD
24342009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
2435
2436 * progmodes/gdb-mi.el (gdb-read-memory-custom)
2437 (gdb-memory-set-address, def-gdb-set-positive-number)
2438 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
2439 after changing settings.
2440 (gdb-invalidate-disassembly): Update when first shown.
2441 (gdb-edit-locals-value): Fixed.
2442 (gdb-registers-handler-custom): Print registers in right order and
2443 allow changing register values (only for current thread yet).
9cbac26b
DD
2444 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
2445 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
2446 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
2447 (gdb-locals-handler-custom, gdb-registers-handler-custom): Thread
2448 info in mode name.
2449 (gdb-registers-mode-map): TAB to switch to locals.
7c4654ad 2450
0f25a277
EZ
24512009-08-08 Eli Zaretskii <eliz@gnu.org>
2452
2453 * mail/rmail.el (rmail-add-mbox-headers)
2454 (rmail-set-message-counters-counter): Search for
2455 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
2456
b971be60
GM
24572009-08-08 Glenn Morris <rgm@gnu.org>
2458
2459 * Makefile.in (ELCFILES): Update.
2460
a35d3ad8
EZ
24612009-08-07 Eli Zaretskii <eliz@gnu.org>
2462
60c2df40
EZ
2463 * mail/sendmail.el (mail-yank-original): Set
2464 buffer-file-coding-system from the one used by the message whose
2465 text is yanked.
2466
8b0bcc2e
EZ
2467 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
2468 to "windows" when "pgnuplot" is used.
2469 (calc-graph-command, calc-gnuplot-command, calc-graph-init): Don't
2470 call accept-process-output if "pgnuplot" is used.
2471 (calc-graph-init): Don't send -display and -geometry to
2472 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
2473 running "pgnuplot -V" with shell-command-to-string.
2474
2475 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
2476 the default.
2477
24782009-08-07 Eli Zaretskii <eliz@gnu.org>
2479
2480 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
a35d3ad8
EZ
2481 org/org-latex.elc.
2482
3bca7ca5
DN
24832009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
2484
3c53763c
DN
2485 * vc-dispatcher.el (vc-resynch-window): Update comment.
2486
3bca7ca5
DN
2487 * term.el (term-handle-ansi-escape): Add comments with the
2488 terminfo capabilities implemented.
2489
7b217360
DD
24902009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
2491
2492 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
2493 (gdb-var-create-handler): Rewritten using JSON parser.
2494 (gdb-propertize-header): Moved earlier.
2495 (gdb-set-header): Removed to avoid duplication.
2496 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
2497 Refresh disassembly buffers only after threads list have been
2498 update.
2499 (gdb-threads-header, gdb-registers-header): Per-buffer header line
2500 variables.
2501
b4d84ecf
JL
25022009-08-04 Juri Linkov <juri@jurta.org>
2503
2504 * files.el: Commands to add/delete file/directory-local variables.
2505 (read-file-local-variable, read-file-local-variable-value)
2506 (read-file-local-variable-mode, modify-file-local-variable)
2507 (modify-file-local-variable-prop-line)
2508 (modify-dir-local-variable): New functions.
2509 (add-file-local-variable, delete-file-local-variable)
2510 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
2511 (add-dir-local-variable, delete-dir-local-variable)
2512 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
2513 (copy-dir-locals-to-file-locals-prop-line): New commands.
2514
42da39c1
CY
25152009-08-04 Chong Yidong <cyd@stupidchicken.com>
2516
2517 * abbrev.el (insert-abbrev-table-description): Prettify output.
2518 Suggested by Karl Chen.
2519
98bf8494
DD
25202009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
2521
78b9fb28 2522 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
7b6fefac 2523 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
78b9fb28
DD
2524 (gdb-overlay-arrow-position, gdb-thread-position)
2525 (gdb-disassembly-position): Declare variables.
2526 (gdb-wait-for-pending): Function now.
2527 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
2528 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
2529 compilation goes smoothly.
2530 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
2531 (gdb-non-stop-setting): New customization setting which replaces
2532 `gdb-non-stop' so changing it doesn't break active GDB session.
2533 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
2534 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
2535 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
2536 (gdb-show-threads-by-default): New customization options.
2537 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
2538 routines.
2539 (gdb-get-buffer-create): Send buffers update signal when they are
2540 created.
2541 (gdb-invalidate-locals, gdb-invalidate-registers)
2542 (gdb-invalidate-breakpoints)
2543 (gdb-invalidate-threads, gdb-invalidate-disassembly)
2544 (gdb-invalidate-memory): Accept update signal.
2545 (gdb-current-context-command): Use --frame option.
2546 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
2547 Implement `gdb-frame-number' selection logic.
2548 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
2549 whether to show GUD toolbar buttons.
2550 (gdb-thread-exited): Unselect current thread when it exits.
2551 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
2552 (gdb-mark-line): Routine which sets overlay arrow or inverses
2553 video on fringeless displays.
2554 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
2555 to build aligned columns of data in GDB buffers and set text
2556 properties line-by-line.
2557 (gdb-invalidate-breakpoints)
2558 (gdb-breakpoints-list-handler-custom)
2559 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
2560 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
2561 (gdb-registers-handler-custom): Align data columns.
2562 (gdb-locals-handler-custom): Now prints data like in variable
2563 declarations.
2564 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
2565 Removed confusing buttons.
2566 (gdb-invalidate-threads): Append --frame.
2567 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
2568 between breakpoints/threads buffers.
2569 (gdb-set-window-buffer): Now can ignore dedicated windows.
2570 (gdb-propertize-header): Use `gdb-set-window-buffer'.
2571 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
2572 (def-gdb-thread-buffer-gud-command): Replaces
2573 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
2574 for fine thread control.
2575 (gdb-preempt-existing-or-display-buffer): New function used to
2576 display bound buffers without breaking window layout.
2577 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
2578 (gdb-select-frame): New version of `gdb-frames-select' which now
2579 sets `gdb-frame-number' so commands may use --frame option instead
2580 of inner debugger state.
2581 (gdb-frame-handler): Do not set `gdb-frame-number'.
2582 (gdb-threads-mode-map): Select threads with mouse.
2583
2584 * progmodes/gud.el (gdb-gud-context-call): Declare function to
2585 avoid compilation warning.
2586 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
2587 `gdb-show-stop-p`.
2588
566f3909
DD
2589 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
2590 Argument `key' renamed to `buffer-type'.
2591 (gdb-current-context-buffer-name): Do not add thread info to
2592 buffer name when no thread is selected.
2593 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
2594 command (bug 3794).
2595 (gdb-thread-selected): Handle `=thread-selected' notification.
2596 (gdb-wait-for-pending): New macro to deal with congestion problems.
2597 (gdb-breakpoints-list-handler-custom): Don't fail on pending
2598 breakpoints.
7b6fefac
JB
2599 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
2600 This fixes problem similar to one described in bug 3947.
566f3909
DD
2601 (gud-menu-map): More menu items.
2602 (gdb-init-1): Reset `gdb-thread-number' to nil.
2603
4a31122c
DD
2604 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
2605 non-stop settings.
2606
2607 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
2608 (gdb-current-context-command): Do not append --thread if
2609 `gdb-thread-number' is nil.
2610 (gdb-running-threads-count, gdb-stopped-threads-count): New
2611 variables.
2612 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
2613 (gdb-stopped-hooks, gdb-switch-when-another-stopped): New
2614 customization options.
2615 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
2616 GUD commands.
7b6fefac 2617 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
4a31122c
DD
2618 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
2619 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
2620 set `gdb-thread-number' and update `gud-running' properly.
2621 (gdb-running): Update threads list when new threads appear.
2622 (gdb-stopped): Support non-stop operation and new thread switching
2623 logic.
2624 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
2625 (gdb-json-partial-output): New set of JSON routines.
2626 (def-gdb-auto-update-trigger): New `signal-list' optional
2627 argument.
2628 (gdb-thread-list-handler-custom): Update `gud-running',
2629 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
2630 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
2631 (gdb-continue-thread, gdb-step-thread): New commands for fine
2632 thread execution control.
2633 (gud-menu-map): New menu items to switch non-stop options.
2634 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
0d25e058 2635 (gdb-send): Mimic RET properly (bug 3794).
4a31122c
DD
2636
2637 * progmodes/gdb-mi.el (gdb-rules-name-maker)
2638 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
2639 gdb-buffer-rules.
2640 (def-gdb-auto-update-handler): New nopreserve optional argument.
2641 (gdb-stack-list-frames-custom): Print stack from top to bottom.
2642
2643 * progmodes/gdb-mi.el (gdb-pc-address): Removed unused variable.
2644 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
2645 (gdb-parent-mode): New mode to derive other GDB modes from.
2646 (gdb-display-disassembly-for-thread)
2647 (gdb-frame-disassembly-for-thread): New commands for threads
2648 buffer.
2649
2650 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
2651 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
a5c9f540
DD
2652 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
2653 (gdb-update): We now store all GDB buffers in a list so that they
2654 can be updated by traversing a list instead of calling invalidate
7b6fefac 2655 triggers explicitly.
a5c9f540
DD
2656 (def-gdb-trigger-and-handler): New macro to define trigger-handler
2657 pair for GDB buffer.
2658 (gdb-stack-buffer-name): Add thread information.
e7086683
DD
2659 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
2660 handle pending triggers.
2661 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
2662 (def-gdb-thread-buffer-simple-command)
2663 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
2664 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
7b6fefac
JB
2665 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
2666 New commands which show buffers bound to thread.
e7086683 2667 (gdb-stack-list-locals-regexp): Removed unused regexp.
4a31122c 2668
7b6fefac
JB
2669 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
2670 (gdb-locals-buffer-name, gdb-registers-buffer-name)
4a31122c
DD
2671 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
2672 to (gud-comint-buffer) in *-buffer-name functions
2673 because (gdb-get-target-string) already does that.
2674 (gdb-locals-handler-custom, gdb-registers-handler-custom)
2675 (gdb-changed-registers-handler): Rewritten without regexps.
2676
2677 * progmodes/gdb-mi.el Basic thread selection support.
2678 (gdb-thread-number): New variable.
2679 (gdb-current-context-command): New macro which adds --thread
2680 option to command.
7b6fefac 2681 (gdb-threads-mode-map): Select thread with SPC.
4a31122c 2682 (gdb-thread-list-handler-custom): Mark current thread with overlay
7b6fefac 2683 arrow. Synchronize GDB thread and Emacs thread.
4a31122c
DD
2684 (gdb-select-thread): New command which selects current thread.
2685 (gdb-invalidate-frames, gdb-invalidate-locals)
2686 (gdb-invalidate-registers): Use --thread option.
20f12ed8 2687
2ac33804
MA
26882009-08-04 Michael Albinus <michael.albinus@gmx.de>
2689
2690 * net/tramp.el (top): Make check for tramp-gvfs loading more
8e754ea2 2691 robust. (Bug#3977)
2ac33804
MA
2692 (tramp-handle-insert-file-contents): `unwind-protect' must be
2693 inside `with-parsed-tramp-file-name'.
2694
2695 * net/tramp-gvfs.el (top): Remove superfluous message when loading
2696 fails.
2697
39d0296f
NR
26982009-08-03 Nick Roberts <nickrob@snap.net.nz>
2699
2700 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
2701 directory if CLASSPATH is not set.
2702
adcbca53
MA
27032009-08-03 Michael Albinus <michael.albinus@gmx.de>
2704
7b6fefac
JB
2705 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
2706 New defconst.
7ef849b6 2707 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
adcbca53 2708
30924b0b
CY
27092009-08-02 Kevin Ryde <user42@zip.com.au>
2710
7b6fefac
JB
2711 * net/newst-backend.el (newsticker--raw-url-list-defaults):
2712 Update freshmeat link. Delete newsforge.com as it seems gone.
30924b0b 2713
b6ce92f1
CY
27142009-08-02 Chong Yidong <cyd@stupidchicken.com>
2715
d977a092
CY
2716 * select.el (x-set-selection): Doc fix (Bug#4021).
2717
2718 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
2719
b6ce92f1
CY
2720 * help-fns.el (describe-variable): Treat list return values from
2721 dir-locals-find-file properly (Bug#4005).
2722
7b6fefac 27232009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
3eedbc85
MA
2724
2725 * net/tramp.el (tramp-debug-message): Print also microseconds.
2726
27272009-08-02 Michael Albinus <michael.albinus@gmx.de>
2728
2729 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
2730 or END is non-nil.
2731 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
2732 (tramp-get-debug-buffer): Change `outline-regexp' according to new
2733 format.
2734
2735 * net/tramp-cache.el (tramp-cache-inhibit-cache ): New defvar.
2736 (tramp-get-file-property): Use it.
2737
2738 * autorevert.el (auto-revert-handler): Allow
2739 `auto-revert-tail-mode' for remote files.
2740
2aafe808
JR
27412009-08-02 Jason Rumney <jasonr@gnu.org>
2742
2743 * minibuffer.el (read-file-name): Treat confirm options to
7b6fefac 2744 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
2aafe808 2745
e094097c
CY
27462009-08-02 Chong Yidong <cyd@stupidchicken.com>
2747
2748 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
2749 (font-lock-variable-name-face, font-lock-constant-face): Darken
2750 the colors for light backgrounds.
2751
de94f281
EZ
27522009-08-01 Eli Zaretskii <eliz@gnu.org>
2753
2754 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
2755 month names. (Bug#3987)
2756
54b99340
CY
27572009-07-31 Chong Yidong <cyd@stupidchicken.com>
2758
2759 * simple.el (line-move-finish): Pass whole number to
2760 line-move-to-column.
34be836c 2761 (line-move-visual): Perform hscroll to the recorded position.
54b99340 2762
38216c30
JB
27632009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
2764
2765 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
2766
c779896d
CY
27672009-07-29 Alan Mackenzie <acm@muc.de>
2768
2769 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
2770
592ccae0
DD
27712009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
2772
35edc6c6
DD
2773 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
2774 (gdb-place-breakpoints): Use full path when setting breakpoints.
592ccae0 2775
5a9e3ab7
JB
27762009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
2777
2778 * calc/calc.el (calc-mode-map): Add keybinding for
2779 `calc-transpose-lines'.
2780
7b6fefac 27812009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
5a9e3ab7
JB
2782
2783 * calc/calc-misc.el (calc-transpose-lines): New function.
2784
905fb90e
MA
27852009-07-28 Michael Albinus <michael.albinus@gmx.de>
2786
2787 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
2788 Simplify check for out-of-band methods.
2789 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
2790 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
2791
76e14464
DN
27922009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
2793
2794 * vc-git.el (vc-git-checkin): Fix typo.
2795
6088b51f 27962009-07-28 Steve Yegge <steve.yegge@gmail.com>
af077012
SY
2797
2798 * progmodes/js2-mode.el: New file.
2799
b85157fe
NR
28002009-07-28 Nick Roberts <nickrob@snap.net.nz>
2801
2802 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
2803 (gud-menu-map): Adjust tooltip accordingly.
2804
d43c2b06
DN
28052009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
2806
1c0f0c3b
DN
2807 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
2808 (vc-bzr-log-view-mode): Adjust log-view-file-re.
2809
d43c2b06
DN
2810 * add-log.el (change-log-mode-map): Add a menu.
2811
3dec5c36
MA
28122009-07-27 Michael Albinus <michael.albinus@gmx.de>
2813
2814 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
2815 function returns nil.
2816 (dbus-handle-event): Handle special return value :ignore.
2817 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
2818
5704140c
CY
28192009-07-26 Chong Yidong <cyd@stupidchicken.com>
2820
2821 * view.el (view-mode-enable): Don't define Helper-return-blurb if
2822 it's not needed.
2823
3077d1f6
EZ
28242009-07-25 Eli Zaretskii <eliz@gnu.org>
2825
2826 Fix Bug#3888:
2827
2828 * w32-vars.el (x-select-enable-clipboard): Doc fix.
2829
2830 * term/pc-win.el (x-display-name, x-colors)
2831 (x-select-enable-clipboard, x-select-text): Doc fix.
2832
2833 * term/common-win.el (x-display-name, x-colors): Doc fix.
2834
2835 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
2836 (xw-defined-colors): Doc fix.
2837
2838 * w32-fns.el (x-select-text, x-setup-function-keys)
2839 (x-get-selection, x-set-selection): Doc fix.
2840
2841 * term/x-win.el (x-select-text, x-setup-function-keys)
2842 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
2843
2844 * select.el (x-set-selection): Doc fix.
2845
51768bc8
MA
28462009-07-25 Michael Albinus <michael.albinus@gmx.de>
2847
2848 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
2849 instead of "IsNSSSupportAvailable". Avahi ought to work also when
2850 "IsNSSSupportAvailable" method is not available. Reported by
2851 Steve Youngs <steve@sxemacs.org>.
2852
b11c2874
KH
28532009-07-24 Kenichi Handa <handa@m17n.org>
2854
2855 * international/characters.el: Fix setting of category ?C, ?|, ?K,
7b6fefac 2856 and ?H. Fix setting of case for Latin Extended and Greek Extended.
b11c2874
KH
2857 (build-unicode-category-table): Fix range checks.
2858
ba83b7b6
DN
28592009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
2860
2861 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
2862 the buffer we try to sync is current when calling
2863 vc-resynch-buffer.
2864
2865 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
2866 not show up to date files.
2867
7a8ae964
GM
28682009-07-24 Glenn Morris <rgm@gnu.org>
2869
2870 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
2871 Add autoload cookies. If necessary, initialize.
2872 (elint-log): Handle non-file buffers.
2873 (elint-initialize): Add optional argument to reinitialize.
2874 (elint-find-builtin-variables): Save excursion.
2875
a707eb05
DN
28762009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
2877
2878 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
2879 for Lint.
2880
0a2ddfa6
DN
28812009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
2882
d6a62b0d
DN
2883 * vc.el (vc-print-log-internal): New function, split out from ...
2884 (vc-print-log): ... here.
10b5dcad 2885 (vc-dir-move-to-goal-column): Declare.
d6a62b0d 2886
0a2ddfa6
DN
2887 * vc-git.el (vc-git-add-signoff): New variable.
2888 (vc-git-checkin): Use it.
2889 (vc-git-toggle-signoff): New function.
2890 (vc-git-extra-menu-map): Bind it to menu.
2a0e3379
DN
2891 (vc-git--run-command-string): Accept a nil FILE argument.
2892 (vc-git-stash-list): New function.
2893 (vc-git-dir-extra-headers): Use it.
0a2ddfa6 2894
589a99f2
GM
28952009-07-23 Glenn Morris <rgm@gnu.org>
2896
2897 * help-fns.el (describe-variable): Describe ignored and risky local
2898 variables in a similar way to that in which we describe safe ones.
2899
2900 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
2901 (byte-compile-output-file-form, byte-compile-output-docform)
2902 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
2903 Give some more local variables with common names a "bytecomp-" prefix,
2904 so as not to shadow things during compilation.
2905 * emacs-lisp/cl-macs.el (load-time-value)
2906 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
2907 `outbuffer' to `bytecomp-outbuffer'.
2908
2909 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
2910 since the next two variables cover them automatically now.
2911 (elint-builtin-variables, elint-autoloaded-variables): New.
2912 (elint-unknown-builtin-args): Remove all members, since they can be
2913 parsed automatically now.
2914 (elint-extra-errors): New.
2915 (elint-env-add-env, elint-env-add-macro): Use cadr.
2916 (elint-current-buffer): Use or. Change final message.
2917 (elint-get-top-forms): Use line-end-position.
2918 (elint-init-env): Use cadr. Handle autoload, declare-function,
2919 and defalias.
2920 (elint-add-required-env): Doc fix. Use or. Standardize error.
2921 (regexp-assoc): Remove unused function.
2922 (elint-top-form): Set elint-current-pos, to record the start of the
2923 top-level form, for compilation-mode.
2924 (elint-form): Trap errors in macro expansion. Use dolist.
2925 (elint-unbound-variable): Use elint-builtin-variables and
2926 elint-autoloaded-variables.
2927 (elint-get-args): Use cadr, or.
2928 (elint-check-cond-form): Use dolist, cadr.
2929 (elint-check-condition-case-form): Doc fix. Use cadr.
2930 Use elint-extra-errors.
2931 (elint-log): New function.
2932 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
2933 Distinguish errors and warnings.
2934 (elint-log-message): Use with-current-buffer. Inhibit read-only.
2935 Use a bytecomp-style format.
2936 (elint-clear-log): Preserve default-directory. Inhibit read-only.
2937 (elint-get-log-buffer): Use compilation mode. Disable undo.
2938 Don't truncate lines.
2939 (elint-initialize): Set builtin and autoloaded variable lists.
2940 Only process elint-unknown-builtin-args if non-nil.
2941 (elint-find-builtin-variables, elint-find-autoloaded-variables):
2942 New functions.
2943 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
2944
855b42a2
GM
29452009-07-22 Kevin Ryde <user42@zip.com.au>
2946
2947 * net/newst-backend.el (newsticker--parse-atom-1.0)
2948 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
2949 (newsticker--parse-rss-1.0):
2950 * progmodes/idlwave.el (idlwave-mode):
2951 * progmodes/idlw-shell.el (idlwave-shell-mode):
2952 * progmodes/vera-mode.el (vera-mode):
2953 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
2954 * progmodes/vhdl-mode.el (vhdl-mode):
2955 * textmodes/table.el (table-generate-source)
2956 (table--warn-incompatibility):
2957 Hyperlink urls in docstrings with URL `...'.
2958
fd413a37
GM
29592009-07-22 Glenn Morris <rgm@gnu.org>
2960
cb711556
GM
2961 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
2962 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
2963 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
2964 Remove leading * from defcustom docs.
2965
fd413a37
GM
2966 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
2967
2968 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
2969 defcustom doc.
2970 (list-load-path-shadows): Optionally, just return shadows as a string.
2971
2972 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
2973
a4f69701
CY
29742009-07-21 Chong Yidong <cyd@stupidchicken.com>
2975
2976 * mail/rmailedit.el (rmail-edit-mode): Use
2977 auto-save-include-big-deletions.
2978
2979 * mail/rmail.el (rmail-variables): Use
2980 auto-save-include-big-deletions.
2981
2982 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
2983 changes.
2984
ec06459c
JB
29852009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
2986
2987 * calc/calc.el (calc-undo-length): New variable.
2988 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
2989
b41b0976
RS
29902009-07-21 Richard Stallman <rms@gnu.org>
2991
2992 * files.el (auto-save-mode): Handle buffer-save-size = -2
2993 for toggling mode.
2994
4ed32706
GM
29952009-07-21 Glenn Morris <rgm@gnu.org>
2996
531b1264
GM
2997 * textmodes/ispell.el (ispell-looking-back): Update declaration.
2998
55d27f41
GM
2999 * calendar/todo-mode.el (calendar-current-date): Update declaration.
3000
02df3f4d
GM
3001 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
3002 silence compiler. Instead...
3003 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
3004 (ps-print-ensure-fontified): Update for above function name changes.
3005
fdd8417e
GM
3006 * printing.el (pr-mh-get-msg-num, pr-mh-show)
3007 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
3008 silence compiler. Instead...
3009 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
3010 (mh-show-buffer): Only define for compiler.
3011 (pr-mh-current-message): Update for above function name changes.
3012
4ed32706
GM
3013 * files.el (abort-if-file-too-large): Explicitly pass `filename'
3014 as an argument.
3015 (find-file-noselect, insert-file-1): Update for above change.
3016
3017 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
3018
3019 * mail/mailclient.el (mailclient-send-it): Fix message.
3020
3021 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
3022 (edebug-eval): Check cl-debug-env is bound.
3023 (print-level, print-circle): Don't redefine built-in variables.
3024
3025 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
3026 (custom-print-vectors): Remove old comments from doc.
3027
3028 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
3029 (emerge-version): Make the variable an obsolete alias for the
3030 emacs-version variable. Make the function obsolete.
3031 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
3032 Emerge options, rather than merging in into the main Options menu.
3033 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
3034 and auto advance modes. Disable edit/fast items when not relevant.
3035
86812144
CY
30362009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
3037
3038 * term/vt420.el (terminal-init-vt420): Fix typo.
3039
6bb90094
SS
30402009-07-20 Sam Steingold <sds@gnu.org>
3041
3042 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
3043 variable (removed from compile.el on 2004-03-11).
3044
42e0a725
CY
30452009-07-20 Chong Yidong <cyd@stupidchicken.com>
3046
3047 * files.el (hack-local-variables-filter): Fix last change.
3048
2ee20f24
JL
30492009-07-19 Juri Linkov <juri@jurta.org>
3050
3051 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
3052 (dir-local-variables-alist): New buffer-local variable.
3053 (hack-local-variables-filter): If variable is not dir-local,
3054 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
3055 because file-local overrides dir-local.
3056 (c-postprocess-file-styles)<declare-function>:
3057 Remove obsolete declaration.
3058 (hack-dir-local-variables): Add dir-local variable/value pair to
3059 `dir-local-variables-alist' and remove duplicates. Doc fix.
3060
3061 * help-fns.el (describe-variable): Add information about
3062 file-local and dir-local variables.
3063
89bf83cd
CY
30642009-07-19 Chong Yidong <cyd@stupidchicken.com>
3065
3066 * files.el (hack-local-variables-filter): Rewrite.
3067
1a8d3541
GM
30682009-07-19 Glenn Morris <rgm@gnu.org>
3069
d9e8a018
GM
3070 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
3071 Silence compiler by only defining on XEmacs.
3072
da332cfb
GM
3073 * international/mule.el (auto-coding-regexp-alist): Only match
3074 BABYL... at the start of buffer, not of lines. (Bug#3790)
3075
1a8d3541
GM
3076 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
3077 non-calendar buffers (Bug#3862). Restore "not on a date" message.
3078 (cal-menu-context-mouse-menu): Doc fix.
3079
3080 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
3081
3082 * simple.el (mail-user-agent): Doc fix. Set :version tag.
3083
d842b103
JL
30842009-07-18 Juri Linkov <juri@jurta.org>
3085
3086 * info.el: Virtual Info keyword finder.
3087 (add-to-list)<Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
3088 (Info-finder-file): New variable.
3089 (Info-finder-find-file): New function.
3090 (finder-known-keywords, finder-package-info)
3091 (find-library-name, lm-commentary): Use defvar and
3092 declare-function to silence compiler warnings.
3093 (Info-finder-find-node): New function.
3094 (info-finder): New command.
3095
3096 * subr.el (process-kill-buffer-query-function): New function.
3097 (add-hook)<kill-buffer-query-functions>: Add hook
3098 `process-kill-buffer-query-function'.
3099
10d37df7
AM
31002009-07-18 Alan Mackenzie <acm@muc.de>
3101
7b6fefac 3102 * progmodes/cc-mode.el (c-before-hack-hook)
10d37df7
AM
3103 (c-postprocess-file-styles): Give invocation of `c-set-style'
3104 DONT-OVERRIDE parameter of t. Already set style variables will
3105 thus not be overridden by style settings given by `c-file-syle'.
3106
3107 * files.el (hack-local-variables-filter): Remove entries with
3108 duplicate keys from `file-local-variables-alist'.
3109
102e1a41
EZ
31102009-07-18 Eli Zaretskii <eliz@gnu.org>
3111
3112 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
3113 x-set-selection if display-selections-p returns nil for the
3114 current frame.
3115
16f2e9fc
CY
31162009-07-18 Chong Yidong <cyd@stupidchicken.com>
3117
3118 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
3119
f22693fc
EZ
31202009-07-18 Eli Zaretskii <eliz@gnu.org>
3121
a6c2c80c
EZ
3122 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
3123 Accept nil in addition to a regexp.
3124 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
3125 Accept nil in addition to a regexp.
3126 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
3127 buffers that have an associated file. Handle nil values of
3128 desktop-buffers-not-to-save and desktop-files-not-to-save.
3129 (Bug#3833)
3130
f22693fc
EZ
3131 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3132 (x-disown-selection-internal): New functions.
3133
e456379a
NR
31342009-07-18 Nick Roberts <nickrob@snap.net.nz>
3135
3136 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
3137 warning.
3138 (gdb-breakpoints-header): Move forward to avoid compiler warning.
3139 (gdb-make-header-line-mouse-map): Remove duplicate definition.
3140
0013b70f
CY
31412009-07-18 David De La Harpe Golden <david@harpegolden.net>
3142
3143 * simple.el (set-mark): Revert last change.
3144
0855c2ca
CY
31452009-07-17 Tassilo Horn <tassilo@member.fsf.org>
3146
3147 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
3148 rendering of pngs is not possible instead of messaging a long
3149 description.
3150
3f5c9cad
CY
31512009-07-17 David De La Harpe Golden <david@harpegolden.net>
3152
3153 * w32-fns.el (x-selection-owner-p): New function.
3154
3155 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
6c6a75d5
CY
3156 (mouse-yank-at-click, mouse-yank-primary): If
3157 select-active-regions is non-nil, deactivate the mark before
3158 insertion.
3f5c9cad
CY
3159
3160 * simple.el (deactivate-mark, set-mark): Only save selection if we
3161 own it.
3162
1fc87f9b
KH
31632009-07-17 Kenichi Handa <handa@m17n.org>
3164
3165 * case-table.el (describe-buffer-case-table): Fix for the case
3166 that KEY is a cons.
3167
d56fdcd2
DN
31682009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
3169
3170 * vc-rcs.el (vc-rcs-find-file-hook):
3171 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
3172
bede3e9f
MA
31732009-07-16 Michael Albinus <michael.albinus@gmx.de>
3174
3175 * net/tramp.el (tramp-wait-for-output): Handle the case when
3176 commands do not return a newline but a null byte before the shell
3177 prompt. (Bug#3858)
3178
7653ca1d
YM
31792009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
3180
3181 * term/ns-win.el (ns-set-alpha): Don't declare.
3182 (ns-set-background-alpha): Remove function.
3183
ed2a52e9
SM
31842009-07-16 Kevin Ryde <user42@zip.com.au>
3185
3186 * emacs-lisp/copyright.el (copyright-update): Save match-data across
3187 y-or-n-p, for safety.
3188
7a907299
RS
31892009-07-16 Richard Stallman <rms@gnu.org>
3190
3191 * files.el (auto-save-mode): If buffer-saved-size is -2,
3192 don't clobber it.
3193
3194 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
3195 (rmail-retry-ignored-headers): Add more uninteresting fields.
3196
c0db3477
CY
31972009-07-15 Jari Aalto <jari.aalto@cante.net>
3198
3199 * net/rcirc.el (rcirc): Use history variables.
3200 (rcirc-server-name-history, rcirc-nick-name-history)
3201 (rcirc-server-port-history): New variables.
3202
6c875452
KH
32032009-07-15 Kenichi Handa <handa@m17n.org>
3204
bf974dc9
KH
3205 * international/mule-cmds.el (set-language-environment-charset):
3206 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
3207 ignore them.
3208
6c875452
KH
3209 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
3210 Delete unibyte-display.
3211
2066b4fe
CY
32122009-07-15 Chong Yidong <cyd@stupidchicken.com>
3213
3214 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
3215
f9be2e35
CY
32162009-07-15 Chong Yidong <cyd@stupidchicken.com>
3217
3218 * simple.el (deactivate-mark): Optional argument FORCE.
3219 (set-mark): Use deactivate-mark.
3220
3221 * info.el (Info-search): No need to check transient-mark-mode
3222 before calling deactivate-mark.
3223
3224 * select.el (x-set-selection): Doc fix.
3225 (x-valid-simple-selection-p): Allow buffer values.
3226 (xselect--selection-bounds): Handle buffer values. Suggested by
3227 David De La Harpe Golden.
3228
3229 * mouse.el (mouse-set-region, mouse-drag-track): Call
3230 copy-region-as-kill before setting the mark, to let
3231 select-active-regions work.
3232
be3e598a 32332009-07-15 David De La Harpe Golden <david@harpegolden.net>
f9be2e35
CY
3234
3235 * simple.el (deactivate-mark): If select-active-regions is
3236 non-nil, copy the selection data into a string.
3237 (activate-mark): If select-active-regions is non-nil, set the
3238 selection to the current buffer.
3239 (set-mark): Update selection if select-active-regions is non-nil.
3240
3241 * select.el (x-valid-simple-selection-p): Allow buffer values.
3242
cbd61418
SM
32432009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
3244
3245 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
3246 and more featureful message-mode.
3247
f470187f
CY
32482009-07-14 Chong Yidong <cyd@stupidchicken.com>
3249
3250 * select.el (x-set-selection): Doc fix.
3251 (x-valid-simple-selection-p): Disallow selection data consisting
3252 of a list or cons of integers, since that is not used.
3253 (xselect--selection-bounds, xselect--int-to-cons): New functions.
3254 (xselect-convert-to-string, xselect-convert-to-length)
3255 (xselect-convert-to-filename, xselect-convert-to-charpos)
3256 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
3257
bfc99364
DD
32582009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
3259
3260 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
3261 output in -break-info command (Emacs bug #3794).
3262
e32721f5
GM
32632009-07-14 Glenn Morris <rgm@gnu.org>
3264
1e46f9e4
GM
3265 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
3266 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
3267 (edebug-print-length, edebug-print-level, edebug-print-circle)
3268 (edebug-sit-for-seconds, edebug-view-outside)
3269 (edebug-bounce-point, edebug-set-global-break-condition)
3270 (edebug-Go-nonstop-mode, edebug-trace-mode)
3271 (edebug-Trace-fast-mode, edebug-continue-mode)
3272 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
3273 (edebug-visit-eval-list): Doc fixes.
3274
e32721f5
GM
3275 * subr.el (def-edebug-spec): Doc fix.
3276
66a85e76
KH
32772009-07-14 Kenichi Handa <handa@m17n.org>
3278
3279 * international/characters.el: Fix setting of category ?C.
3280
28571246
JD
32812009-07-13 Jan Djärv <jan.h.d@swipnet.se>
3282
7b6fefac 3283 * term/ns-win.el (x-select-font): defalias x-select-font to
28571246
JD
3284 ns-popup-font-panel instead of generate-fontset-menu.
3285
5d74672c
EZ
32862009-07-12 Eli Zaretskii <eliz@gnu.org>
3287
7b6fefac 3288 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
5d74672c 3289
eb1727a4
CY
32902009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
3291
3292 * arc-mode.el (archive-find-type): Allow for a PK00 string before
3293 the PK\003\004 header (Bug#3770).
3294
208384c5
CY
32952009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
3296
3297 * pcomplete.el (pcomplete-comint-setup): Check for
3298 shell-dynamic-complete-filename too.
3299
774409a1
CY
33002009-07-11 Chong Yidong <cyd@stupidchicken.com>
3301
3302 * simple.el (temporary-goal-column): Change the value for
3303 line-move-visual to a cons cell.
3304 (line-move-visual): Record or set the window hscroll, if
3305 necessary (Bug#3494).
3306 (line-move-1): Handle cons value of temporary-goal-column.
3307
1639ee1d
KH
33082009-07-11 Kenichi Handa <handa@m17n.org>
3309
3310 * international/mule-diag.el (describe-character-set): Don't show
3311 width.
3312
2b1d2412
SS
33132009-07-10 Sam Steingold <sds@gnu.org>
3314
3315 * progmodes/compile.el (compilation-mode-font-lock-keywords):
3316 Omake sometimes indents the errors it prints, so allow all
3317 regexps to start with spaces.
3318
ed3a5691
EZ
33192009-07-10 Eli Zaretskii <eliz@gnu.org>
3320
ed2a52e9
SM
3321 * cus-edit.el (customize-changed-options-previous-release):
3322 Bump value to 22.1. (Bug#3804)
ed3a5691 3323
49405d0e
SS
33242009-07-08 Sam Steingold <sds@gnu.org>
3325
3326 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
3327 to be a cons cell (test . ignored-directory) to selectively ignore
3328 some directories depending on the location of the search.
3329
93c3eb7c
MA
33302009-07-08 Michael Albinus <michael.albinus@gmx.de>
3331
3332 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
3333 remote user is root, on the local host.
3334 (tramp-local-host-p): Either the local user or the remote user
3335 must be root. (Bug#3771)
3336
6f2a8484
NR
33372009-07-08 Nick Roberts <nickrob@snap.net.nz>
3338
3339 * progmodes/gdb-mi.el (gdb): Remove description of
3340 gdb-use-separate-io-buffer.
69cb8d82 3341 (menu): Don't allow toggling of or enable
6f2a8484
NR
3342 gdb-use-separate-io-buffer from menubar.
3343
88d03607
CY
33442009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
3345
3346 * mail/unrmail.el (unrmail): Make sure the message ends with two
3347 newlines (Bug#3769).
3348
7ef5b8b2
GM
33492009-07-08 Glenn Morris <rgm@gnu.org>
3350
3351 * calendar/calendar.el (calendar-current-date): Rework previous change.
3352
3ce82f97
GM
33532009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
3354
3355 * calendar/calendar.el (calendar-current-date):
3356 Add an optional argument giving an offset from today.
3357
f35fc841
GM
33582009-07-08 Glenn Morris <rgm@gnu.org>
3359
3360 * tutorial.el (tutorial--describe-nonstandard-key):
3361 Adjust the message for when a key has been unbound.
3362 (help-with-tutorial): Hide the arch-tag.
3363
40149292
KH
33642009-07-08 Kenichi Handa <handa@m17n.org>
3365
69cb8d82
KH
3366 * international/fontset.el (setup-default-fontset): For each
3367 script, append (not set) font-specs.
3368
40149292
KH
3369 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
3370 docstring.
3371
ff0c4194
NR
33722009-07-08 Nick Roberts <nickrob@snap.net.nz>
3373
3374 * progmodes/gdb-mi.el (gdb-init-1): Move sending
3375 -data-list-register-names to ...
3376 (gdb-starting): ... here because GDB 7.0 requires execution to
3377 have started when using this MI command.
3378 (gdb-set-header): New function to distinguish select and
3379 unselected tabs in gdb buffers.
3380 (gdb-propertize-header): New macro that uses gdb-set-header.
3381 (gdb-breakpoints-header, gdb-locals-header): Use it.
6f2a8484 3382 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
ff0c4194 3383
8954c675
CY
33842009-07-07 Chong Yidong <cyd@stupidchicken.com>
3385
3386 * Makefile.in (ELCFILES): Remove fadr.elc.
3387
0996385d
DD
33882009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
3389
dc6b4519
DD
3390 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
3391 may contain frame information, so `string-match' should be used.
3392 (gdb-update): Disassembly is invalidated through
3393 `gdb-get-selected-frame'.
3394 (gdb-pad-string): New function to pad string with spaces.
3395 (gdb-invalidate-disassembly): Invalidate only if the buffer
3396 exists.
3397 (gdb-disassembly-handler-custom): Column alignment.
3398 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
3399 placing new ones.
3400 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
3401 end of line, too.
3402 (gdb-frame-handler): Match convention to for disassembly buffer
3403 mode name.
17c1380b 3404 (gdb-stack-list-frames-handler): Rewritten without regexps.
e7006f27
DD
3405 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
3406 not highlight breakpoints without line information.
69a197a2 3407 (gdb-input): Add trailing newline to command.
dc6b4519 3408
14340b25
DD
3409 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
3410 buffer properly.
3411 (gdb-breakpoints-list-handler-custom): Replacement for
7b6fefac 3412 `gdb-break-list-handler'. Using real parser instead of regexps
dc6b4519
DD
3413 now.
3414 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
3415 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
3416 to place breakpoints.
14340b25
DD
3417 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
3418 functions.
3419 (gdb-disassembly-handler-custom): Show overlay arrow.
3420 (gdb-disassembly-place-breakpoints): Show breakpoints in
3421 disassembly buffer.
3422 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
dc6b4519 3423 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
7b6fefac 3424 instead of parsing breakpoints buffer. Fixed old menu references
dc6b4519 3425 in `gud-menu-map'.
14340b25 3426
38d4f316 3427 * fadr.el: Remove.
1f2a6224 3428
7b6fefac 3429 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
0996385d 3430 (gdb-memory-address): New variable which holds top address of
7b6fefac 3431 memory page shown in memory buffer.
0996385d
DD
3432 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit): New
3433 customization variables.
3434 New functions:
3435 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
3436 display the memory buffer.
3437 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
3438 buffer display parameters.
3439 (def-gdb-memory-format, gdb-memory-format-binary)
3440 (gdb-memory-format-octal, gdb-memory-format-unsigned)
3441 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
3442 Functions for setting memory buffer format.
3443 (gdb-memory-unit-word, gdb-memory-unit-halfword)
3444 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
3445 unit size used in memory buffer.
3446 (gdb-memory-show-next-page, gdb-memory-show-previous-page): Switch
3447 to next/previous page of memory buffer.
28d67a53 3448 Now using (bindat-get-field) instead of fadr functions.
0996385d 3449
9ba562d3
SS
34502009-07-07 Sam Steingold <sds@gnu.org>
3451
3452 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
3453 non-top-level files.
3454
a43977db
KH
34552009-07-07 Kenichi Handa <handa@m17n.org>
3456
3457 * international/mule-cmds.el (reset-language-environment): Put
3458 the highset priority to the charset iso-8859-1.
3459
d44d05e8
CY
34602009-07-06 Chong Yidong <cyd@stupidchicken.com>
3461
3462 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
3463 to the end of the line when locating the block (Bug#700).
3464
3e2fa353
MA
34652009-07-06 Michael Albinus <michael.albinus@gmx.de>
3466
3467 * net/tramp.el (tramp-handle-write-region): Flush file properties
3468 in case of short track.
3469
be3e598a 34702009-07-06 Michael McNamara <mac@mail.brushroad.com>
d88782c3
DN
3471
3472 * verilog-mode.el (verilog-error-regexp-emacs-alist): Coded custom
3473 representation of verilog error regular expressions to work with
3474 Emacs-22's new format.
3475 (verilog-error-regexp-xemacs-alist): Coded custom representation
7b6fefac 3476 of verilog error regular expressions to work with XEmacs format.
d88782c3
DN
3477 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
3478 error recognition into XEmacs.
3479 (verilog-error-regexp-add-emacs): Hook routine to install verilog
3480 error recognition into Emacs-22.
3481
25c6f63e
CY
34822009-07-06 Chong Yidong <cyd@stupidchicken.com>
3483
3484 * woman.el: Remove stand-alone closing parentheses.
3485 (woman-file-name, woman2-format-paragraphs)
3486 (woman-leave-blank-lines): Code cleanup.
3487 (woman-use-own-frame): Change default to nil.
3488 (woman-italic, woman-bold, woman-unknown, woman-addition): Change
3489 defaults to inherit from default faces.
3490 (woman2-process-escapes): Consume the newline after a stand-alone
3491 filler character (Bug#3651).
3492
f176290e
GM
34932009-07-06 Glenn Morris <rgm@gnu.org>
3494
3495 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
3496 (top-level): Move provide to the end.
3497 (ffap): Remove defunct URL from custom group.
3498
3499 * subr.el (eval-after-load): Doc fix.
3500
7b6fefac 35012009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
e4a5a307
JB
3502
3503 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
3504 `calc-embedded-word' is called twice.
3505
4b8b1ec5
SM
35062009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
3507
3508 * files.el (find-alternate-file-other-window, find-alternate-file):
3509 Obey confirm-nonexistent-file-or-buffer.
3510
d6ceb380
MA
35112009-07-05 Michael Albinus <michael.albinus@gmx.de>
3512
3513 * dired-aux.el (dired-show-file-type): Handle remote files.
3514
be3e598a 35152009-07-05 Jari Aalto <jari.aalto@cante.net>
c760f19e 3516
4b8b1ec5
SM
3517 * desktop.el (desktop-globals-to-save):
3518 Add file-name-history (Bug#2750).
c760f19e 3519
6d00ce04
CY
35202009-07-05 Chong Yidong <cyd@stupidchicken.com>
3521
4b8b1ec5 3522 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
6d00ce04 3523
6ee21b07
JB
35242009-07-04 Johan Bockgård <bojohan@gnu.org>
3525
3526 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
3527 property on entire argument since this is what eshell-lisp-command
3528 expects.
3529
f0dbdc25
MA
35302009-07-03 Michael Albinus <michael.albinus@gmx.de>
3531
3532 * net/tramp-gvfs.el (tramp-gvfs-methods)
3533 (tramp-gvfs-zeroconf-domain)
3534 (tramp-bluez-discover-devices-timeout): Add version flag.
3535 (tramp-gvfs-handler-mounted-unmounted)
3536 (tramp-gvfs-connection-mounted-p): Polish handling of
3537 incompatibilities between GVFS 0.2 and 1.0.
3538
e044e4fc
JD
35392009-07-03 Jan Djärv <jan.h.d@swipnet.se>
3540
4b8b1ec5 3541 * cus-start.el (all): Add make-pointer-invisible.
e044e4fc 3542
2e9b968b
JB
35432009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
3544
3545 * calc-math.el (math-use-emacs-fn): Make sure that the number is
3546 formatted correctly.
3547
baf1a55e
JL
35482009-07-02 Juri Linkov <juri@jurta.org>
3549
3550 * info.el: Virtual Info files and nodes.
3551 (Info-virtual-files, Info-virtual-nodes): New variables.
3552 (Info-current-node-virtual): New variable.
3553 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
3554 New functions.
3555 (Info-file-supports-index-cookies): Use Info-virtual-file-p
3556 to check for a virtual file instead of checking a fixed list
3557 of node names.
3558 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
3559 instead of ad-hoc processing of "dir" and (apropos history toc).
3560 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
3561 instead of ad-hoc processing of "dir" and (apropos history toc).
3562 Reread a file when moving from a virtual node.
3563 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
3564 (Info-directory-toc-nodes, Info-directory-find-file)
3565 (Info-directory-find-node): New functions.
3566 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
3567 (Info-history): Move part of code to
3568 `Info-history-find-node'.
3569 (Info-history-toc-nodes, Info-history-find-file)
3570 (Info-history-find-node): New functions.
3571 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
3572 (Info-toc): Move part of code to `Info-toc-find-node'.
3573 (Info-toc-find-node): New function.
4b8b1ec5 3574 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
baf1a55e
JL
3575 the current Info file name to references because now the node
3576 "*TOC*" belongs to the same Info manual.
4b8b1ec5 3577 (Info-toc-build): Rename from `Info-build-toc'.
baf1a55e
JL
3578 (Info-toc-nodes): Rename input argument `file' to `filename'.
3579 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
3580 instead of ad-hoc processing of ("dir" apropos history toc).
3581 (Info-index-nodes): Use Info-virtual-file-p
3582 to check for a virtual file instead of checking a fixed list
3583 of node names.
3584 (Info-index-node): Add check for `Info-current-node-virtual'.
3585 Raise `save-match-data' higher up the tree to contain
3586 `search-forward' too (bug fix).
3587 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
3588 (Info-virtual-index-nodes): New variable.
3589 (Info-virtual-index-find-node, Info-virtual-index): New functions.
3590 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
3591 (Info-apropos-file, Info-apropos-nodes): New variables.
3592 (Info-apropos-toc-nodes, Info-apropos-find-file)
3593 (Info-apropos-find-node, Info-apropos-matches): New functions.
3594 (info-apropos): Move part of code to `Info-apropos-find-node' and
3595 `Info-apropos-matches'.
3596 (Info-mode-map): Bind "I" to `Info-virtual-index'.
3597 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
3598 for a virtual file instead of checking a fixed list of node names.
3599
3600 * simple.el (async-shell-command): New command.
3601
3602 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
3603
3604 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
3605 instead of `mount-info'.
3606
d04bc496
MA
36072009-07-02 Michael Albinus <michael.albinus@gmx.de>
3608
3609 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
4b8b1ec5 3610 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
d04bc496 3611
af0403e0
KH
36122009-07-02 Kenichi Handa <handa@m17n.org>
3613
3614 * international/mule.el (set-keyboard-coding-system): Force *-unix
3615 coding-system to avoid eol conversion.
3616
99278f8a
MA
36172009-07-01 Michael Albinus <michael.albinus@gmx.de>
3618
4b8b1ec5
SM
3619 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3620 Add handler for `process-file', `shell-command' and
99278f8a
MA
3621 `start-file-process'.
3622 (tramp-gvfs-handle-shell-command)
3623 (tramp-gvfs-handle-start-file-process)
3624 (tramp-gvfs-handle-process-file): New defuns.
4b8b1ec5 3625 (tramp-synce-list-devices): Simplify check for existence of property.
99278f8a 3626
3f1c6666
JD
36272009-07-01 Jan Djärv <jan.h.d@swipnet.se>
3628
3629 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
3630
3f396bac
KH
36312009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
3632
3633 * language/korean.el (set-language-info-alist): Add korean-cp949,
3634 cp949 to spec.
3635
c1185193
KH
36362009-07-01 Kenichi Handa <handa@m17n.org>
3637
3638 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
3639
3640 * international/encoded-kb.el: Deleted.
3641
3642 * international/mule.el (set-keyboard-coding-system): Perform the
3643 necessary setup here instead of calling encoded-kbd-setup-display.
3644
3f150a60
GM
36452009-07-01 Glenn Morris <rgm@gnu.org>
3646
3647 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
3648
b0d5b05b
GM
36492009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
3650
3651 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
3652
4f4126e6
MA
36532009-06-30 Michael Albinus <michael.albinus@gmx.de>
3654
4b8b1ec5
SM
3655 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
3656 Handle also the 'rename case, when setting file modes. (Bug#3712)
974647ac 3657 (tramp-default-file-modes) Remove execute permissions.
4f4126e6 3658
7ae3ea65 3659 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
d6ceb380
MA
3660 (top): Add a default for "synce" in `tramp-default-user-alist'.
3661 Add completion function for "synce" method.
3662 (tramp-hal-service, tramp-hal-path-manager)
4b8b1ec5
SM
3663 (tramp-hal-interface-manager, tramp-hal-interface-device):
3664 New defconst.
3665 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
3666 (tramp-synce-list-devices, tramp-synce-parse-device-names):
3667 New defuns.
d6ceb380
MA
3668
3669 * net/trampver.el: Update release number.
7ae3ea65 3670
0ad6626b
KH
36712009-06-30 Kenichi Handa <handa@m17n.org>
3672
3673 * international/fontset.el (setup-default-fontset): Add CJK fonts
3674 for symbols and the other miscellaneous characters.
3675
4b8b1ec5
SM
3676 * language/korea-util.el (setup-korean-environment-internal):
3677 Make char-width-table suitable for Korean environments.
0ad6626b
KH
3678 (exit-korean-environment): Cancel above.
3679
3680 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
3681 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
3682 setup-funcion to make char-widht-table suitable for respective
3683 environments, and an exit-function to cancel that.
3684
3685 * language/japan-util.el (setup-japanese-environment-internal):
3686 Call use-cjk-char-width-table with arg `ja_JP'.
3687
3688 * international/characters.el (cjk-char-width-table): Delete it.
3689 (cjk-char-width-table-list): New variable.
3690 (use-cjk-char-width-table): New arg local-name.
3691 (use-default-char-width-table): Fix for the case that Emacs is
3692 already using the default char-width-table.
3693
fd46e893
MA
36942009-06-29 Michael Albinus <michael.albinus@gmx.de>
3695
3696 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
3697 modes mandatory. (Bug#3712)
3698
b87d9f96
AM
36992009-06-29 Alan Mackenzie <acm@muc.de>
3700
3701 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
4b8b1ec5 3702 correction between the visible width of TABs and their number of bytes.
b87d9f96 3703
2d25aa5a
CY
37042009-06-29 Chong Yidong <cyd@stupidchicken.com>
3705
3706 * server.el (server-buffer-done): Prevent kill-buffer from
3707 prompting by clearing the buffer modification flag (Bug#3696).
3708
a3a8b002
DN
37092009-06-28 Michael McNamara <mac@mail.brushroad.com>
3710
3711 * verilog-mode.el (verilog-beg-of-statement)
4b8b1ec5 3712 (verilog-endcomment-reason-re): Support unique case and priority case.
a3a8b002
DN
3713 (verilog-basic-complete-re): Support localparam lineup.
3714 (verilog-beg-of-statement-1): Fix for robustness, unique case.
3715 (verilog-set-auto-endcomments): Fix for unique case, always_comb
3716 commenting.
3717 (verilog-leap-to-case-head): Now support *nested* unique &
3718 priority case statements.
3719 (verilog-auto-lineup): Make just declarations the default (as it
3720 had been).
4b8b1ec5 3721 (verilog-leap-to-case-head): Support priority/unique case statements.
a3a8b002 3722 (verilog-auto-lineup): Rework to give users radio buttons to
7b6fefac 3723 select the various styles of automatic lineup.
a3a8b002
DN
3724 (verilog-error-regexp-alist): Rework to support the XEmacs style
3725 of error regular expressions from compilers, lint tools &
3726 simulators. Note that GNU Emacs has made it impossible for a mode
3727 to load such things.
3728 (electric-verilog-terminate-line, verilog-indent-declaration)
3729 (verilog-auto-wiure): Rework for radio button selection of
3730 auto-lineup selection of specification of auto lineup.
3731 (verilog-beg-of-statement-1): Redesign to support proper operation
3732 in additional code, based on testing with auto-lineup.
3733 (verilog-calculate-indent, assignments & declarations)
3734 (verilog-backward-token): Enhance to support auto-lineup of
3735 assignments & declarations.
3736 (verilog-in-directive-p, verilog-at-struct-p): New function for
3737 easy test of whether we are.
3738 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
3739 to support safe execution at almost anyline.
3740 (verilog-calc-1): Properly support indenting deep inside generate
3741 blocks.
3742 (verilog-init-font) Remove definition & use of verilog-init-font,
3743 as it is redundant with font-lock-defaults.
3744 (verilog-mode): Alter the definition of verilog-font-lock-defualts
3745 to avoid circular calls if syntax-ppss is a function (as is the
3746 case now in 22.x GNU Emacs) as that function would sometimes call
7b6fefac 3747 itself, leading to (nearly) infinite recursion.
a3a8b002
DN
3748 (verilog-ovm-begin-re, verilog-ovm-end-re)
3749 (verilog-ovm-statement-re, verilog-leap-to-head)
3750 (verilog-backward-token): Add support for OVM macros. Some are
3751 complete statements, and others open and close scopes like begin
3752 and end.
3753 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
3754 (verilog-defun-level-generate-only-re): Really fix the defun-list
7b6fefac 3755 compilation issue.
a3a8b002 3756 (verilog-calc-1) (verilog-beg-of-statement): Enhance support for
7b6fefac 3757 coverpoint, constraint and cross statements.
a3a8b002
DN
3758 (verilog-defun-level-list, verilog-generate-defun-level-list)
3759 (verilog-all-defun-level-list): Redo these specifications - it is
3760 too hard to support eval-when compile aggregation of lists also
3761 built at when-compile time.
3762 (verilog-defun-level-list): Place defconsts of variables used in
3763 building regular expressions which are built in eval-when-compile
3764 bodies in the same eval-when-compile body to facilitate compile
3765 without load.
3766 (verilog-beg-block-re-ordered): Support indenting
3767 virtual/protected tasks and functions.
7b6fefac 3768 (verilog-defun-level-list, verilog-in-generate-region-p)
a3a8b002
DN
3769 (verilog-backward-ws&directives, verilog-calc-1): Speed up
3770 indentation of some module items (generate items).
3771 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
3772 across virtual/protected tasks and functions.
3773
37742009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
3775
4b8b1ec5
SM
3776 * verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
3777 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
a3a8b002
DN
3778 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
3779 in concatenations. Reported by Yishay Belkind.
3780 (verilog-auto-ascii-enum): Support one-hot state machines in
3781 AUTOASCIIENUM. Suggested by Lloyd Gomez.
3782 (verilog-auto-inst, verilog-auto-inst-port): Include interface
3783 modport in AUTOINST and add vl-modport for users. Reported by
3784 David Rogoff.
3785 (verilog-auto-inout-module, verilog-auto-inst)
3786 (verilog-decls-get-interfaces, verilog-insert-definition)
3787 (verilog-insert-one-definition, verilog-read-decls)
3788 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
3789 (verilog-sig-modport, verilog-signals-combine-bus)
3790 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
3791 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
3792 Suggested by David Rogoff.
3793 (verilog-repair-open-comma): Fix non-insertion of comma when
3794 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
3795 (verilog-make-width-expression): Simplify [A-1:0] expression
3796 widths to just {A{1'b0}}.
3797 (verilog-mode): Cleanup checkdoc warnings.
4b8b1ec5
SM
3798 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
3799 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
a3a8b002
DN
3800 inputs/outputs or data type. Suggested by Vasu Kandadi.
3801 (next-error-last-buffer): Fix byte-compiler warning.
3802 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
3803 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
4b8b1ec5 3804 or shell command text during AUTO expansion. Suggested by Tad Truex.
a3a8b002 3805 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
4b8b1ec5
SM
3806 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
3807 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
7b6fefac 3808 in AUTOINOUT. Reported by Matthew Lovell.
a3a8b002
DN
3809 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
3810 causing use of <= assignments. Reported by Alex Reed.
3811 (verilog-read-decls): Fix triand, trior, wand, wor to be
3812 recognized by AUTOWIRE. Reported by Spencer Isaacson.
3813 (verilog-extended-complete-re): Support import "DPI-C" functions.
3814 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
4b8b1ec5 3815 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
a3a8b002
DN
3816 (verilog-insert-date, verilog-insert-year)
3817 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
3818 Windows systems. Reported by Michael Potts.
3819 (verilog-read-module-name): Fix AUTOINST when the child module
7b6fefac 3820 declaration's name is a tick define. Reported by Elliot Mednick.
a3a8b002 3821 (verilog-read-decls): Fix V2K parameter bit subscripts getting
7b6fefac 3822 passed to next parameter's definition. Reported by Bruce T.
a3a8b002
DN
3823 (verilog-read-decls): Fix detecting "parameter int" when using
3824 AUTOINSTPARAM. Reported by Bruce T.
3825 (verilog-goto-defun): Fix goto not finding modules unless first
7b6fefac 3826 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
4b8b1ec5 3827 (verilog-mode): Expand -f flag arguments on entry to mode so
a3a8b002
DN
3828 verilog-goto-defun will work. Reported by Lawrence Butcher.
3829 (verilog-getopt): Expand environment variables in -f file
3830 arguments. Suggested by Lawrence Butcher.
4b8b1ec5 3831 (verilog-set-define): Fix "Symbol's value as variable is void"
a3a8b002
DN
3832 when reading enumerations.
3833 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
3834 Suggested by Stephen Peltan.
4b8b1ec5 3835 (verilog-read-defines): Fix reading of enumerations in include
a3a8b002
DN
3836 files. Reported by Steve Peltan.
3837
f7c0d931
CY
38382009-06-28 David De La Harpe Golden <david@harpegolden.net>
3839
3840 * files.el (trash-directory): Fix defcustom type.
3841
baf1a55e 38422009-06-28 Juri Linkov <juri@jurta.org>
cebabb67
CY
3843
3844 * help-fns.el (describe-function-1): Correctly locate adviced
3845 functions in hyperlink (Bug#2438).
3846
d63a01ef
CY
38472009-06-28 Chong Yidong <cyd@stupidchicken.com>
3848
3849 * files.el (trash-directory): Change default to nil.
3850 (move-file-to-trash): If trash-directory is nil and
3851 system-move-file-to-trash is unbound, perform freedesktop-style
3852 trashing.
3853
38542009-06-28 David De La Harpe Golden <david@harpegolden.net>
3855
3856 * files.el (move-file-to-trash): Add freedesktop trash
3857 support (Bug#973).
3858
fc2f6a26
GM
38592009-06-28 Glenn Morris <rgm@gnu.org>
3860
3861 * autorevert.el (global-auto-revert-non-file-buffers)
3862 (global-auto-revert-mode): Doc fixes.
3863
00242b07
JB
38642009-06-27 Johan Bockgård <bojohan@gnu.org>
3865
3866 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
3867
f5594f03
CY
38682009-06-27 Chong Yidong <cyd@stupidchicken.com>
3869
e8a2b2da
CY
3870 * faces.el (x-handle-named-frame-geometry): Ensure that we have
3871 opened an X connection before calling x-get-resource (Bug#3194).
3872
f5594f03
CY
3873 * play/doctor.el: Remove reference to obsolete website.
3874 (make-doctor-variables): Correct grammar mistake (Bug#2633).
3875
3c3bf6ce
DN
38762009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
3877
3878 Remove find-file-not-found-hook VC method. (Bug#2757)
3879 * vc-hooks.el (vc-file-not-found-hook)
3880 (vc-default-find-file-not-found-hook): Remove functions.
3881 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
3882 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
3883 * vc.el:
3884 * vc-hg.el:
3885 * vc-git.el: Do not mention find-file-not-found-hook VC method.
3886
e26a7bc0
AM
38872009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
3888
3889 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
7b6fefac 3890 compatibility function for `looking-back'.
e26a7bc0 3891
4b8b1ec5 3892 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
7b6fefac 3893 Use `ispell-looking-back'.
e26a7bc0 3894
d9848600
MA
38952009-06-24 Michael Albinus <michael.albinus@gmx.de>
3896
3897 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
fc2f6a26 3898 rather than `filename'.
d9848600 3899
05fbc4a9
MB
39002009-06-23 Miles Bader <miles@gnu.org>
3901
3902 * face-remap.el (text-scale-set): New function.
3903
f86ca715
GM
39042009-06-23 Glenn Morris <rgm@gnu.org>
3905
33e2c2e5
GM
3906 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
3907
f529f302
GM
3908 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
3909
34995333
GM
3910 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
3911
cc80ccee
GM
3912 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
3913
84cb770d
GM
3914 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
3915 Simplify Persian conditionals.
3916
d916c965
GM
3917 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
3918 variable `filename'.
3919
b6a44b27
GM
3920 * comint.el (comint-insert-input): Doc fix.
3921
f86ca715
GM
3922 * Makefile.in (ELCFILES): Fix typo in previous change.
3923
666e158e
MB
39242009-06-23 Miles Bader <miles@gnu.org>
3925
3926 * cus-start.el: Add entry for `recenter-redisplay'.
3927
be3e598a 39282009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
77bf3f54
DN
3929
3930 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
3931 Add an optional argument for the backend, use it instead of
3932 calling vc-backend.
4b8b1ec5
SM
3933 (vc-mode-line): Add an optional argument for the backend.
3934 Pass the backend to vc-state and vc-working-revision. Move code for
77bf3f54
DN
3935 special handling for vc-state being a buffer to ...
3936
3937 * vc-rcs.el (vc-rcs-find-file-hook):
3938 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
3939
3940 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
3941 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
3942 vc-stay-local-p and vc-mode-line calls.
3943
3944 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
3945 (vc-cvs-diff, vc-cvs-annotate-command)
3946 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
3947 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
3948 vc-mode-line calls.
3949
3950 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
3951 direct comparison.
3952 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
3953 backend when calling vc-mode-line.
3954 (vc-register): Do not create a closure for calling the vc register
3955 function, call it directly.
3956
2764748c
DN
39572009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
3958
3959 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
3960 to make it obvious item can be clicked.
f5a0b281
DN
3961
3962 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
3963
d4a885b2
KH
39642009-06-23 Kenichi Handa <handa@m17n.org>
3965
3966 * language/korea-util.el (korean-key-bindings): Change the binding
3967 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
3968 same command.
3969
e3610693
MA
39702009-06-22 Michael Albinus <michael.albinus@gmx.de>
3971
3972 Sync with Tramp 2.1.16.
3973
3974 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
3975
3976 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
3977 when a loading of a package fails. Completion function for rsync
3978 is `tramp-completion-function-alist-ssh'.
3979 (all): Replace all calls of `split-string' and
3980 `tramp-split-string' by `tramp-compat-split-string'.
3981 (tramp-default-method): Use `tramp-compat-process-running-p'.
3982 (tramp-default-proxies-alist): Allow also Lisp forms.
3983 (tramp-remote-path): Add choice "Private Directories".
4b8b1ec5 3984 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
e3610693
MA
3985 (tramp-domain-regexp): Allow also "-", "_" and ".".
3986 (tramp-end-of-output): Remove newlines, and add "$" at the end.
3987 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
3988 (tramp-debug-message): Insert header line in debug buffer.
4b8b1ec5
SM
3989 (tramp-handle-directory-files-and-attributes-with-stat):
3990 Care about filenames with spaces, or starting with "-".
e3610693
MA
3991 (tramp-handle-dired-uncache): New defun.
3992 (tramp-handle-insert-directory): Don't flush the directory from
3993 cache, this is handled by `dired-uncache' now.
3994 (tramp-handle-insert-file-contents): Improve error handling.
3995 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3996 Quote `tramp-end-of-output'.
3997 (tramp-action-password): Improve trace message.
4b8b1ec5
SM
3998 (tramp-check-for-regexp): Both echoes must be present, before removing.
3999 (tramp-open-connection-setup-interactive-shell): Trace coding system.
e3610693
MA
4000 (tramp-compute-multi-hops): Eval cons cells of
4001 `tramp-default-proxies-alist'.
4002 (tramp-maybe-open-connection): Use the same command pattern for
4003 first hop and further hops.
4004 (tramp-wait-for-output): Remove handling of newlines.
4005 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
4006 (tramp-split-string): Remove function. It is handled in
4007 tramp-compat now.
4008
4b8b1ec5
SM
4009 * net/tramp-cmds.el (tramp-bug):
4010 Recommend `tramp-cleanup-all-connections' in the bug mail.
e3610693
MA
4011
4012 * net/tramp-compat.el (tramp-compat-split-string)
4013 (tramp-compat-process-running-p): New defuns.
4014
4015 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
4016 for `dired-uncache'.
4017
4018 * net/tramp-gvfs.el: New package.
4019
4b8b1ec5
SM
4020 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4021 Add handler for `dired-uncache'.
e3610693
MA
4022 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
4023
4024 * net/trampver.el: Update release number. Make version check fit
4025 for SXEmacs 22.
4026
13a3f374
JM
40272009-06-22 Jim Meyering <meyering@redhat.com>
4028
e0a28a3b 4029 Automatically handle .xz suffix (XZ-compressed files), too.
13a3f374
JM
4030 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
4031 XZ is the successor to LZMA: <http://tukaani.org/xz/>
4032
5242671e 40332009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
e0a28a3b 4034 Nick Roberts <nickrob@snap.net.nz>
13a3f374 4035
e0a28a3b 4036 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
5242671e
NR
4037 repository (http://sphinx.net.ru/hg/gdb-mi/).
4038
3fde45af
GM
40392009-06-22 Glenn Morris <rgm@gnu.org>
4040
46253b34
GM
4041 * files.el (dir-locals-collect-mode-variables): Allow for any number of
4042 `mode' and `eval' entries. (Bug#3430)
4043
97e18192
GM
4044 * Makefile.in (ELCFILES): Add fadr.elc.
4045
731a00fb
GM
4046 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
4047 differing behavior of \n and ^ in strings. (Bug#3385)
4048
c66cd0ff
GM
4049 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
4050
3fde45af
GM
4051 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
4052 property.
4053 (lisp-indent-function): Make it a defcustom.
4054
db2241a0
NR
40552009-06-21 Nick Roberts <nickrob@snap.net.nz>
4056
4057 * progmodes/gdb-ui.el: Replace with ...
5242671e 4058 * progmodes/gdb-mi.el: ... this file.
db2241a0 4059 * progmodes/gud.el: Modify for gdb-mi.el.
fca428fe
GM
4060
40612009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
4062
db2241a0
NR
4063 * fadr.el: New file.
4064
38d4f316 4065See ChangeLog.14 for earlier changes.
e3d51b27
MR
4066
4067;; Local Variables:
4068;; coding: utf-8
e3d51b27
MR
4069;; End:
4070
38d4f316 4071 Copyright (C) 2009 Free Software Foundation, Inc.
e3d51b27
MR
4072
4073 This file is part of GNU Emacs.
4074
4075 GNU Emacs is free software: you can redistribute it and/or modify
4076 it under the terms of the GNU General Public License as published by
4077 the Free Software Foundation, either version 3 of the License, or
4078 (at your option) any later version.
4079
4080 GNU Emacs is distributed in the hope that it will be useful,
4081 but WITHOUT ANY WARRANTY; without even the implied warranty of
4082 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4083 GNU General Public License for more details.
4084
4085 You should have received a copy of the GNU General Public License
4086 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
4087
38d4f316 4088;; arch-tag: d3e45e38-19e2-49b6-8dc2-7cb26adcc5a1