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