1 2009-09-26 Eli Zaretskii <eliz@gnu.org>
3 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
4 subdirectories) and eieio.
6 2009-09-26 Alan Mackenzie <acm@muc.de>
8 * progmodes/cc-engine.el (c-beginning-of-statement-1): Correct
11 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
12 character constants (as case labels).
14 2009-09-25 Juri Linkov <juri@jurta.org>
16 * files.el (safe-local-eval-forms): Allow time-stamp in
17 before-save-hook (Bug#4554).
19 2009-09-25 Drew Adams <drew.adams@oracle.com>
21 * menu-bar.el (list-buffers-directory): Doc fix.
23 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
25 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
26 Try and avoid copying twice the same paragraph.
27 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
28 Remove save-excursion.
29 (log-edit-changelog-entry): Do it here instead.
31 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
33 * bs.el (bs--get-file-name): Use `list-buffers-directory'
34 when available, instead of hardcoding mode names. Doc fix.
36 * menu-bar.el (list-buffers-directory): Add docstring.
37 Make automatically buffer-local.
39 * dired.el (dired-mode):
40 * files.el (cd-absolute):
41 * pcvs.el (cvs-temp-buffer):
42 * pcvs-util.el (cvs-get-buffer-create):
43 * shell.el (shell-mode):
44 * vc-dir.el (vc-dir-mode):
45 Don't make `list-buffers-directory' buffer local.
47 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
49 * comint.el (comint-exec, comint-run, make-comint):
52 2009-09-25 Glenn Morris <rgm@gnu.org>
54 * mail/rmailmm.el (rmail-mime): New custom group.
55 Move all defcustoms in this file into this group.
56 (rmail-mime-media-type-handlers-alist): Revert previous change.
57 (rmail-mime-show-images): New option.
58 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
59 references to it, since it wasn't actually used for anything.
60 (rmail-mime-insert-image): New function.
61 (rmail-mime-image): Use rmail-mime-insert-image.
62 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
63 obey the value of `rmail-mime-show-images' option. Print the size of
66 2009-09-25 David Engster <deng@randomsample.de>
68 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
70 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
72 * whitespace.el: Does not highlight trailing spaces While point is
73 at end of line. Does not highligt spaces at beginning of buffer
74 while point is at beginning of buffer. Does not highlight spaces
75 at end of buffer while point is at end of buffer. (Bug#4177)
77 (whitespace-display-mappings): Adjust initialization.
78 (whitespace-point, whitespace-font-lock-refontify): New vars.
79 (whitespace-color-on, whitespace-color-off): Adjust code.
80 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
81 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
82 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
84 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
86 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
88 * textmodes/sgml-mode.el: Remove xml-mode alias.
90 * files.el (auto-mode-alist, conf-mode-maybe)
91 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
93 2009-09-24 Alan Mackenzie <acm@muc.de>
95 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
96 c-forward-conditionals, but it doesn't move point and doesn't set
98 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
99 (c-down-conditional-with-else, c-backward-conditional)
100 (c-forward-conditional): Refactor to use c-scan-conditionals.
102 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
104 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
105 (help-default-arg-highlight): Remove.
106 (help-highlight-arg): New function.
107 (help-do-arg-highlight): Use it.
108 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
110 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
112 * term.el (term-set-scroll-region, term-handle-ansi-escape):
113 Undo last change, which didn't fix the problem and introduced others.
115 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
117 * progmodes/gdb-mi.el: Don't require speedbar.
118 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
120 2009-09-24 Glenn Morris <rgm@gnu.org>
122 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
124 * term/ns-win.el (ns-reg-to-script): Define for compiler.
126 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
127 there is no newline after the final mime boundary. (Bug#4539)
128 Move markers on insertion so that any buttons inserted don't end up in
129 the next part of a multipart message.
130 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
131 (rmail-mime-bulk-handler): Optionally handle images.
132 (rmail-mime-image): New button action.
133 (rmail-mime-image-handler): New function.
134 (rmail-mime-mode): New mode.
135 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
137 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
139 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
140 than just dropping elements from it (bug#4504).
142 * term.el (term-set-scroll-region): Don't move cursor any more.
143 (term-handle-ansi-escape): Call term-goto here instead.
144 Suggested by Ivan Kanis <apple@kanis.eu>.
146 * term.el: Require CL.
147 (term-ansi-reset): New function.
148 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
149 (term-handle-colors-array): Simplify.
151 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
153 * allout.el (allout-overlay-interior-modification-handler)
154 (allout-obtain-passphrase):
155 * epa-file.el (epa-file-write-region):
156 * ps-print.el (ps-begin-job):
157 * vc-hooks.el (vc-toggle-read-only):
158 * vc-rcs.el (vc-rcs-rollback):
159 * vc-sccs.el (vc-sccs-rollback):
160 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
161 (vc-version-diff, vc-revert, vc-rollback):
162 * wdired.el (wdired-check-kill-buffer):
163 * emacs-lisp/authors.el (authors):
164 * net/socks.el (socks-open-connection):
165 * net/zeroconf.el (zeroconf-service-add-hook):
166 * obsolete/vc-mcvs.el (vc-mcvs-register):
167 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
169 * progmodes/grep.el (lgrep, rgrep):
170 * progmodes/idlw-help.el (idlwave-help-check-locations)
171 (idlwave-help-html-link, idlwave-help-assistant-open-link):
172 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
173 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
174 (reftex-toc-rename-label): Fix typos in error messages.
176 * dired-aux.el (dired-do-shell-command): Reflow docstring.
177 (dired-copy-how-to-fn): Doc fix.
178 (dired-files-attributes, dired-read-shell-command):
179 Fix typos in docstrings.
181 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
182 (dired-x-find-file-other-window): Reflow docstrings.
183 (dired-omit-marker-char, dired-read-shell-command)
184 (dired-x-submit-report): Fix typos in docstrings.
186 * shell.el (shell-mode-hook):
187 * view.el (View-scroll-line-forward):
188 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
189 Fix typos in docstrings.
191 * net/dig.el (dig-invoke): Fix typo in docstring.
192 (query-dig): Reflow docstring.
194 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
195 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
196 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
197 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
198 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
199 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
200 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
201 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
202 (idlwave-completion-map, idlwave-current-indent)
203 (idlwave-custom-ampersand-surround, idlwave-customize)
204 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
205 (idlwave-define-abbrev, idlwave-determine-class-special)
206 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
207 (idlwave-end-block-reg, idlwave-end-of-statement)
208 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
209 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
210 (idlwave-explicit-class-listed, idlwave-file-header)
211 (idlwave-fill-paragraph, idlwave-find-class-definition)
212 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
213 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
214 (idlwave-in-quote, idlwave-indent-action-table)
215 (idlwave-indent-expand-table, idlwave-indent-line)
216 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
217 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
218 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
219 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
220 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
221 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
222 (idlwave-outlawed-buffers, idlwave-popup-select)
223 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
224 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
225 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
226 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
227 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
228 (idlwave-statement-type, idlwave-struct-skip)
229 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
230 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
231 (idlwave-what-module-find-class): Fix typos in docstrings.
232 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
233 (idlwave-calculate-cont-indent, idlwave-expand-equal)
234 (idlwave-find-module, idlwave-find-structure-definition)
235 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
236 (idlwave-list-load-path-shadows, idlwave-next-statement)
237 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
238 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
239 (idlwave-template): Reflow docstrings.
241 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
242 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
243 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
244 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
245 (idlwave-shell-display-line, idlwave-shell-display-wframe)
246 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
247 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
248 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
249 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
250 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
251 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
252 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
253 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
254 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
255 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
256 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
257 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
258 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
259 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
260 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
261 Fix typos in docstrings.
262 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
263 (idlwave-shell-hide-output, idlwave-shell-mode)
264 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
267 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
269 2009-09-24 Ivan Kanis <apple@kanis.eu>
271 * term.el (term-bold-attribute): New var.
272 (term-handle-colors-array): Use it.
274 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
276 * progmodes/gdb-mi.el (gdb-version): New variable.
277 (gdb-non-stop-handler): Set gdb-version.
278 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
279 Condition "--thread" option on gdb-version.
280 (gdb-invalidate-threads): Remove unused argument.
282 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
284 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
285 to looking-back to avoid ridiculous slow down in large files (bug#4511).
287 2009-09-23 Glenn Morris <rgm@gnu.org>
289 * mail/rmail.el (rmail-reply): Don't try to add a References header when
290 replying to mail without References or Message-Id. (Bug#4525)
292 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
294 * term/ns-win.el (ns-reg-to-script): New variable.
296 2009-09-23 Daiki Ueno <ueno@unixuser.org>
298 * epg.el (epg-wait-for-status): Preserve existing 'error results.
300 2009-09-22 Sam Steingold <sds@gnu.org>
302 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
303 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
304 to 1 because hg returns status 1 when nothing is found.
305 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
307 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
309 * textmodes/fill.el: Convert to utf-8 encoding.
310 (fill-french-nobreak-p): Remove redundant » and « inherited from our
313 * add-log.el (change-log-fill-forward-paragraph): New function.
314 (change-log-mode): Use it so fill-region DTRT.
315 Set fill-indent-according-to-mode here rather than in
316 change-log-fill-paragraph.
317 (change-log-fill-paragraph): Remove.
319 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
321 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
322 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
324 2009-09-22 Glenn Morris <rgm@gnu.org>
326 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
327 the scroll-bar scroll the calendar window rather than the buffer.
329 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
330 commands that move point (as opposed to scrolling).
332 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
334 * emacs-lisp/elint.el (elint): New custom group.
335 (elint-log-buffer): Make it a defcustom.
336 (elint-scan-preloaded, elint-ignored-warnings)
337 (elint-directory-skip-re): New options.
338 (elint-builtin-variables): Doc fix.
339 (elint-preloaded-env): New variable.
340 (elint-unknown-builtin-args): Add an entry for encode-time.
341 (elint-extra-errors): Make it a variable rather than a constant.
342 (elint-preloaded-skip-re): New constant.
343 (elint-directory): Skip files matching elint-directory-skip-re.
344 (elint-features): New variable, local to linted buffers.
345 (elint-update-env): Initialize elint-features. Possibly add
346 elint-preloaded-env to the buffer's environment.
347 (elint-get-top-forms): Bind elint-current-pos, for log messages.
349 (elint-init-form): New function, extracted from elint-init-env.
350 Make non-list forms a warning rather than an error.
351 Add the mode-map for define-derived-mode. Handle define-minor-mode,
352 easy-menu-define, put that adds an error-condition, and provide.
353 When requiring cl, also require cl-macs. Really require cl, to handle
354 some cl macros. Store required libraries in the list elint-features,
355 so as not to re-load them. Treat cc-require like require.
356 (elint-init-env): Call elint-init-form to do the work.
357 Handle eval-and-compile and such like.
358 (elint-add-required-env): Do not clear messages.
359 (elint-special-forms): Add handlers for function, defalias, if, when,
361 (elint-form): Add optional argument to ignore elint-special-forms,
362 useful to prevent recursive calls from handlers. Doc fix.
363 Respect elint-ignored-warnings.
364 (elint-form): Respect elint-ignored-warnings.
365 (elint-bound-variable, elint-bound-function): New variables.
366 (elint-unbound-variable): Respect elint-bound-variable.
367 (elint-get-args): Respect elint-bound-function.
368 (elint-check-cond-form): Add some simple handling for (f)boundp and
370 (elint-check-defalias-form): New handler.
371 (elint-check-let-form): Make an empty let a warning rather than an
373 (elint-check-setq-form): Make an empty setq a warning rather than an
374 error. Respect elint-ignored-warnings.
375 (elint-check-defvar-form): Accept null doc-strings.
376 (elint-check-conditional-form): New handler. Does some simple-minded
377 checking of featurep and (f)boundp tests.
378 (elint-put-function-args): New function.
379 (elint-initialize): Use elint-scan-doc-file rather than
380 elint-find-builtin-variables. Use elint-put-function-args.
381 Possibly scan preloaded-file-list.
382 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
383 extend to handle functions as well.
385 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
387 * linum.el (linum-delete-overlays, linum-update-window):
388 Do not modify the right margin. (Bug#3971)
390 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
392 * files.el (conf-mode-maybe, magic-fallback-mode-alist): Use
393 nxml-mode instead of xml-mode.
395 2009-09-21 Kevin Ryde <user42@zip.com.au>
397 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
399 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
401 * net/dig.el (dig-mode): Use define-derived-mode.
403 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
405 * vc-dispatcher.el (vc-do-command): Return the process object in
406 the asynchronous case. Use when instead of if. Do not run
407 vc-exec-after to display a message if not enabled.
409 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
410 properties to the stash strings.
411 (vc-git-stash-list): Return a list of strings.
412 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
413 (vc-git-stash-show-at-point): New functions.
414 (vc-git-stash-map): New keymap.
416 * register.el (ctl-x-r-map): Define the keys here instead of
419 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
421 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
422 list, to workaround performance problem (bug#4485).
424 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
426 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
428 2009-09-20 Daiki Ueno <ueno@unixuser.org>
430 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
431 Document that this option is not recommended to use.
433 2009-09-19 Glenn Morris <rgm@gnu.org>
435 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
438 * calc/calc-alg.el (var):
439 * calc/calcalg2.el (var): Define for compiler.
441 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
443 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
446 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
448 * time-stamp.el (time-stamp-month-dd-yyyy)
449 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
450 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
451 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
452 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
453 Remove functions that have been obsolete since 1995 (Bug#4436).
455 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
456 indent buffer only if called interactively (Bug#4452).
458 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
459 Eli Zaretskii <eliz@gnu.org>
461 This fixes bug#4197 (merged to bug#865, though not identical).
462 * server.el (server-auth-dir): Add docstring note about FAT32.
463 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
464 but warn against using them.
466 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
468 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
469 older GDB where there is no has_more field.
471 2009-09-19 Glenn Morris <rgm@gnu.org>
473 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
475 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
477 * files.el (auto-mode-alist): Change default for XML files to nXML
480 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
482 * server.el (server-ensure-safe-dir): Pass 'integer
483 to `file-attributes', as suggested.
485 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
487 * dired-aux.el (dired-query-alist): Remove spurious backslash.
488 (dired-query): Use read-key.
490 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
492 * cus-start.el (ns-use-qd-smoothing): Remove.
494 2009-09-18 Glenn Morris <rgm@gnu.org>
496 * allout.el (top-level): Remove unnecessary progn.
498 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
500 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
501 definition of abbrev table.
503 * speedbar.el (speedbar-track-mouse):
504 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
505 * net/eudc.el (eudc-expand-inline):
506 * net/newst-backend.el (newsticker--cache-read-feed):
507 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
508 condition-case handlers.
510 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
512 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
513 (gdb-var-list): Add an element for has_more field.
514 (gdb-non-stop-handler): Enable pretty printing for STL containers.
515 (gdb-var-create-handler, gdb-var-list-children-handler-1)
516 (gdb-var-update-handler-1): Parse output of dynamic variable
517 objects (STL containers).
518 (gdb-var-delete-1): Pass var1 as an explicit second argument.
519 (gdb-get-field): Delete alias. Use bindat-get-field directly.
521 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
523 (gud-speedbar-buttons): Make node expandable if expression "has more"
526 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
528 * startup.el (emacs-quick-startup): Remove variable and all uses.
529 (command-line): Set `inhibit-x-resources' instead.
530 (command-line-1): Use `inhibit-x-resources' instead.
532 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
534 * subr.el: Fix last change to avoid using the `unless' macro,
535 which breaks bootstrapping.
537 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
539 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
540 extended definitions, in case we reload subr.el after having
542 (eval-next-after-load): Mark as obsolete.
544 2009-09-17 Juri Linkov <juri@jurta.org>
546 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
547 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
548 (menu-bar-showhide-menu, menu-bar-tools-menu)
549 (menu-bar-describe-menu, menu-bar-help-menu)
550 (minibuffer-local-completion-map, minibuffer-local-map):
553 2009-09-17 Glenn Morris <rgm@gnu.org>
555 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
556 arguments, whether or not it has a handler.
558 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
560 * simple.el (hard-newline): Give it a doc-string.
562 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
563 (lisp-mode-syntax-table): Give them doc-strings.
565 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
567 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
568 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
569 (menu-bar-options-menu, menu-bar-showhide-menu)
570 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
571 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
572 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
573 (menu-bar-options-menu, menu-bar-tools-menu)
574 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
575 (menu-bar-help-menu):
576 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
579 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
580 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
581 calls for the menu names and :help.
583 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
585 * mouse.el (minor-mode-menu-from-indicator): Pay attention
586 to :minor-mode-function (bug#4455).
588 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
590 * startup.el (command-line): Initialize the window-system after
591 processing the command-line.
593 * textmodes/page.el (what-page): Make sure we don't inf-loop if
594 page-delimiter matches the empty string.
596 2009-09-16 Glenn Morris <rgm@gnu.org>
598 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
599 byte-compile-not-obsolete-var. It's a list now.
600 (byte-compile-not-obsolete-funcs): New variable.
601 (byte-compile-warn-obsolete): Don't warn about functions if they are in
602 byte-compile-not-obsolete-funcs.
603 (byte-compile-variable-ref, byte-compile-defvar): Update for
604 byte-compile-not-obsolete-vars name-change and list nature.
605 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
606 and variables behind (f)boundp tests.
607 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
609 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
611 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
613 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
615 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
616 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
619 2009-09-15 Stephen Eglen <stephen@gnu.org>
621 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
622 the virtual-buffers, use the name of the buffer specified by
623 find-file-noselect, as the match may be a symlink. (This was a
624 problem if the target and the symlink had different names.)
626 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
628 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
630 * desktop.el (desktop-path): Check user-emacs-directory.
632 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
634 * loadup.el: Use after-load-functions to GC after loading each file.
635 Remove the explicit GC calls that used to be sprinkled around.
637 * subr.el (after-load-functions): New hook.
638 (do-after-load-evaluation): Run it. Use string-match-p to detect
639 `obsolete' packages, rather than painfully extracting the relevant
642 2009-09-15 Glenn Morris <rgm@gnu.org>
644 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
647 * dired.el (dired-mode-map): Add menu entry for async shell command.
649 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
650 variables, also consider the .elc files, since the .el files are
651 normally gzipped (subsequent code locates the .el.gz from the .elc).
653 * calc/calc-prog.el (arglist): Define for compiler.
655 * calendar/diary-lib.el (diary-display-function): Change the default to
657 (body): Define for compiler.
659 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
660 (byte-compile-file-form, byte-compile-lambda)
661 (byte-compile-top-level-body, byte-compile-form)
662 (byte-compile-variable-ref, byte-compile-setq)
663 (byte-compile-setq-default, byte-compile-body)
664 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
665 (batch-byte-compile): Give some more local variables with common names
666 a "bytecomp-" prefix to avoid masking warnings about free variables.
668 * startup.el (command-line-1): Give local variables with common names a
669 distinguishing prefix, so as not to hide free variable warnings during
672 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
673 clever and add a suffix to make a unique name, just let the user decide
674 whether or not to overwrite it. If the input is a directory, write the
675 default filename to that directory. (Bug#4388)
676 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
677 is a filename-as-a-directory.
679 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
681 * textmodes/page.el (what-page): Don't move to beginning of line.
682 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
684 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
686 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
688 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
690 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
691 * help.el (help-for-help-internal): Add purecopy calls for text.
693 * vc.el (top): print-log method now takes an optional SHORTLOG
694 argument. Add a new method: root.
695 (vc-root-diff, vc-print-root-log): New functions.
696 (vc-log-short-style): New variable.
697 (vc-print-log-internal): Add support for showing short logs.
699 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
700 vc-print-root-log and vc-print-root-diff.
702 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
703 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
704 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
707 * vc-cvs.el (vc-cvs-print-log):
708 * vc-mtn.el (vc-mtn-print-log):
709 * vc-rcs.el (vc-rcs-print-log):
710 * vc-sccs.el (vc-sccs-print-log):
711 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
712 that is ignored for now.
714 * vc-mtn.el (vc-mtn-annotate-command):
715 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
717 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
719 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
720 to function-key-map, and give them ascii-character property.
721 * term/x-win.el (x-alternatives-map):
722 * term/ns-win.el (ns-alternatives-map):
723 * term/internal.el (msdos-key-remapping-map):
724 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
726 2009-09-14 Glenn Morris <rgm@gnu.org>
728 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
729 temp-buffers (2009-09-12).
731 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
733 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
734 the new read-key function.
736 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
738 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
739 is defined (Bug#4405).
741 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
743 * recentf.el (recentf-cleanup): Use a hash table to find
744 duplicates (Bug#4407).
746 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
748 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
749 kp-0 to ascii equivalents (Bug#4325).
751 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
753 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
756 * eshell/em-dirs.el (eshell-complete-user-reference):
757 Declare pcomplete functions and variables to avoid compiler warnings.
759 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
761 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
762 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
763 * eshell/em-alias.el (eshell-aliases-file):
764 * eshell/em-hist.el (eshell-history-file-name):
765 Use expand-file-name instead of concat to make file names (Bug#4308).
767 2009-09-13 Glenn Morris <rgm@gnu.org>
769 * ediff-merg.el (ediff-do-merge):
770 * filesets.el (filesets-run-cmd):
771 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
772 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
773 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
774 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
775 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
776 Replace empty `let's with `progn'.
778 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
780 * mail/sendmail.el (send-mail-function):
781 * tooltip.el (tooltip-mode):
782 * simple.el (transient-mark-mode):
783 * rfn-eshadow.el (file-name-shadow-mode):
784 * frame.el (blink-cursor-mode):
785 * font-core.el (global-font-lock-mode):
786 * files.el (temporary-file-directory)
787 (small-temporary-file-directory, auto-save-file-name-transforms):
788 * epa-hook.el (auto-encryption-mode):
789 * composite.el (global-auto-composition-mode):
790 Use custom-initialize-delay.
791 * startup.el (command-line): Don't explicitly call
792 custom-reevaluate-setting for all the above vars.
793 * custom.el (custom-initialize-safe-set)
794 (custom-initialize-safe-default): Delete.
796 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
798 * term/x-win.el (x-initialize-window-system):
799 * term/w32-win.el (w32-initialize-window-system):
800 * term/ns-win.el (ns-initialize-window-system): Don't call
801 mouse-wheel-mode since it's enabled globally by default already.
803 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
804 actually define the variable, but only silences the byte-compiler.
805 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
806 before looking it up.
807 (mouse-wheel-scroll-amount): Also reset the bindings if this value
810 2009-09-12 Glenn Morris <rgm@gnu.org>
812 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
814 (elint-add-required-env): Don't beep on error.
815 (elint-forms): In case of error, return ENV unchanged.
816 (elint-init-env): Skip non-list forms.
817 (elint-log): Handle unknown file positions.
819 2009-09-12 Daiki Ueno <ueno@unixuser.org>
821 * epg.el (epg-make-context): Add autoload cookie.
822 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
823 (epg-decrypt-string, epg-start-verify, epg-verify-file)
824 (epg-verify-string, epg-start-sign, epg-sign-file)
825 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
826 (epg-encrypt-string, epg-start-export-keys)
827 (epg-export-keys-to-file, epg-export-keys-to-string)
828 (epg-start-import-keys, epg-import-keys-from-file)
829 (epg-import-keys-from-string, epg-start-receive-keys)
830 (epg-receive-keys, epg-import-keys-from-server)
831 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
832 (epg-sign-keys, epg-start-generate-key)
833 (epg-generate-key-from-file, epg-generate-key-from-string):
834 Remove autoload cookie.
836 2009-09-12 Eli Zaretskii <eliz@gnu.org>
838 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
839 reevaluation of trash-directory.
841 * mwheel.el: Fix last change.
842 (mouse-wheel-mode): New defvar.
843 (mouse-wheel-mode): Remove autoload cookie.
845 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
847 * mwheel.el (mwheel-installed-bindings): New var.
848 (mouse-wheel-mode): Use it, so as to make sure we really remove all
849 the bindings we set last time. Use custom-initialize-delay.
850 * loadup.el: Load mwheel after term/*-win.el.
851 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
852 and mouse-wheel-up-event now that their first evaluation is done
853 sufficiently late to be correct.
855 * startup.el (tutorial-directory): Make it a defcustom.
856 Use custom-initialize-delay rather than eval-at-startup to set it.
857 * image.el (image-load-path): Make it a defcustom.
858 Use custom-initialize-delay rather than eval-at-startup to set it.
859 * subr.el (eval-at-startup): Remove.
860 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
862 * subr.el (do-after-load-evaluation): Warn the user after loading an
865 2009-09-12 Glenn Morris <rgm@gnu.org>
867 * proced.el (proced-mark-alt): Remove alias.
868 (proced-mode-map): Remove proced-mark-alt.
870 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
871 Elint file and directory. Remove initialization entry.
873 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
875 (elint-current-buffer): Set mode-line-process.
876 (elint-init-env): Handle define-derived-mode.
877 Fix declare-function with unspecified arglist. Guard against odd
878 defalias statements (eg iso-insert's 8859-1-map).
879 (elint-add-required-env): Use a temp buffer.
880 (elint-form): Just print the function/macro name, not the whole form.
881 Return env unchanged if we fail to parse a macro.
882 (elint-forms): Guard against parse errors.
883 (elint-output): New function, to handle batch mode.
884 (elint-log-message): Add optional argument. Use elint-output.
885 (elint-set-mode-line): New function.
887 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
889 * emacs-lisp/elp.el (elp-not-profilable): Add more
890 functions (Bug#4233).
892 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
894 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
895 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
897 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
899 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
900 (gdb-var-list-children): Use json parsing.
902 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
904 * progmodes/js.el (js--proper-indentation): Handle the case where
905 char-before is null. Reported by Deniz Dogan.
907 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
909 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
911 2009-09-11 Daiki Ueno <ueno@unixuser.org>
913 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
914 (epg-digest-algorithm-alist): Add SHA224.
915 (epg-context-set-passphrase-callback)
916 (epg-context-set-progress-callback): Add description about
919 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
921 * custom.el (custom-delayed-init-variables): New var.
922 (custom-initialize-delay): New function.
923 * startup.el (command-line): "Re"evaluate all vars in
924 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
926 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
927 to avoid creating a ~/.emacs.d at build-time (bug#4347).
929 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
931 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
933 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
934 (gdb-var-update-handler): Use json parsing.
936 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
938 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
939 decode annotated text, regardless of language environment. (Bug#2741)
941 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
943 * Makefile.in (autoloads): Make rmail.el writable as well.
945 2009-09-11 Glenn Morris <rgm@gnu.org>
947 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
949 * dired.el: Regenerate with extracted autoloads.
950 * Makefile.in (autoloads): Make dired.el writable.
952 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
953 * ibuffer.el: Regenerate with extracted autoloads.
954 * Makefile.in (autoloads): Make ibuffer.el writable.
956 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
957 * version.el (emacs-copyright, emacs-major-version)
958 (emacs-minor-version): Reformat doc-strings for make-docfile.
960 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
961 functions and variables, since they must be stuff specific to some other
963 (apropos-print): Make mouse-click message less specific about button.
965 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
966 that records where a macro was defined.
967 * help-fns.el (describe-function-1): Mention if a function has a
969 * help-mode.el (help-function-cmacro): New button.
971 * locate.el (top-level): Always require dired.
972 (locate-mode-map): Initialize inside the defvar.
974 * net/ange-ftp.el (dired-compress-file): Declare.
975 (ange-ftp-dired-compress-file): Add doc string.
977 * term/ns-win.el (x-display-name, x-setup-function-keys):
978 Unify doc-strings with X versions.
980 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
982 * emulation/crisp.el (crisp-mode-map): Move initialization
984 (crisp-mode): Use define-minor-mode.
986 * progmodes/xscheme.el (xscheme-evaluation-commands):
987 Put a :advertised-binding property rather than using
988 advertised-xscheme-send-previous-expression.
989 (advertised-xscheme-send-previous-expression): Declare obsolete.
990 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
992 (crisp-mode): Add corresponding bindings to
993 undo's :advertised-binding instead.
994 * dired.el (dired-mode-map): Put a :advertised-binding property rather
995 than using dired-advertised-find-file.
996 (dired-advertised-find-file):
997 * simple.el (advertised-undo):
998 * wid-edit.el (advertised-widget-backward): Declare obsolete.
999 (widget-keymap): Put a :advertised-binding property rather
1000 than using advertised-widget-backward.
1001 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
1002 than using advertised-undo.
1003 * tutorial.el (tutorial--default-keys): Adjust accordingly.
1005 2009-09-10 Simon South <ssouth@slowcomputing.org>
1007 * progmodes/delphi.el (delphi-tab): Indent region when Transient
1008 Mark mode is enabled and region is active; otherwise indent or
1009 insert TAB as usual.
1010 (delphi-mode): Update description of TAB-key binding.
1012 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
1014 * subr.el (define-key-rebound-commands): Mark obsolete.
1015 * startup.el (precompute-menubar-bindings): Remove.
1016 (normal-top-level): Remove obsolete code that tried to precompute
1018 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
1019 define-key-rebound-commands and precompute-menubar-bindings.
1021 2009-09-10 Glenn Morris <rgm@gnu.org>
1023 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
1025 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
1026 (byte-compile-file-form-autoload): Don't warn about unknown functions
1027 where the autoload statement comes after the use.
1028 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
1029 that any handlers inside the body (eg require) are in turn respected.
1031 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
1034 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
1035 and syntax and abbrev tables basic docs, if they don't have any.
1037 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
1039 * international/mule-cmds.el (top-level): Require cl when compiling.
1040 (view-hello-file): Use default-value rather than
1041 default-enable-multibyte-characters.
1043 * progmodes/fortran.el: Move all safe and risky properties into the
1046 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
1047 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
1049 Put autoloads in rmail.el rather than loaddefs.el.
1050 * mail/rmail.el: Regenerate with extracted autoloads.
1052 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
1053 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
1055 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
1057 Reported in thread for Bug#4375.
1058 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
1059 "-data-evaluate-expression" instead of print.
1060 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
1061 (gdb-tooltip-print): Parse output from above MI command.
1062 (gdb): Revert 2009-08-11 change. User should detach inferior
1065 Remove the word "separate" from IO functions as inferior
1066 output is now never displayed in the GUD buffer.
1068 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
1070 * startup.el (command-line-normalize-file-name): On Windows and
1071 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
1073 2009-09-10 Juri Linkov <juri@jurta.org>
1075 * isearch.el (isearch-text-char-description): Propertize escape
1076 character sequences with the `escape-glyph' face. (Bug#4344)
1078 * simple.el (shell-command): Set asynchronous process filter to
1079 `comint-output-filter'. (Bug#4343)
1081 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
1082 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
1083 the list. Move "asm" to the bottom.
1084 (grep-find-ignored-directories): Add `choice' with nil value
1085 to empty the list easily.
1086 (grep-find-ignored-files): New option.
1087 (grep-files-history): Set to nil by default instead of '("ch" "el").
1088 (grep-compute-defaults): Add "<X>" to `grep-template'.
1089 (grep-read-files): Bind new local variables `default-alias' and
1090 `default-extension'. Use a list of default values for the file prompt.
1091 (lgrep): Add `--exclude=' command line options composed from
1092 `grep-find-ignored-files'.
1093 (rgrep): Add `-name' command line options composed from
1094 `grep-find-ignored-files'. (Bug#4301)
1096 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
1098 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
1101 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
1103 * calendar/time-date.el (autoload):
1104 Expand define-obsolete-function-alias into defalias and make-obsolete
1105 for old Emacsen that Gnus supports.
1106 (with-no-warnings): Define it for old Emacsen.
1107 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
1109 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
1110 float-time is available; suppress compile warning for time-to-seconds.
1112 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
1114 * net/imap.el (imap-message-map): Docstring fix.
1116 2009-09-09 Glenn Morris <rgm@gnu.org>
1118 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
1119 line numbers too. (Bug#4374)
1121 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
1123 * smerge-mode.el (smerge-remove-props, smerge-refine):
1124 Use with-silent-modifications (bug#4342).
1126 * subr.el (with-silent-modifications): New macro.
1128 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
1130 * files.el (top-level): Require `cl' when compiling.
1132 2009-09-07 Glenn Morris <rgm@gnu.org>
1134 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
1136 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
1137 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
1139 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
1141 * vc-git.el (vc-git-annotate-command): Use separator to parse
1142 arguments correctly.
1144 2009-09-06 Eli Zaretskii <eliz@gnu.org>
1146 * proced.el (proced-mode): Doc fix.
1148 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
1150 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
1152 (tramp-do-file-attributes-with-ls): Check for file existence at
1154 (tramp-do-file-attributes-with-stat): Likewise.
1155 (tramp-convert-file-attributes): Return nil when attr is nil.
1157 2009-09-05 Glenn Morris <rgm@gnu.org>
1159 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
1160 properties to this button.
1161 (diary-fancy-display): Don't extend the button to the final newline.
1162 (diary-fancy-display-mode): Continue to define "q" as a local key.
1164 * calendar/cal-china.el (holiday-chinese): Make it slightly more
1167 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
1169 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
1170 (byte-compile-dest-file-function): New option.
1171 (byte-compile-dest-file): Doc fix.
1172 Obey byte-compile-dest-file-function.
1173 (byte-compile-cl-file-p): New function.
1174 (byte-compile-eval): Only suppress noruntime warnings about cl functions
1175 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
1176 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
1177 than for file being previously loaded.
1178 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
1179 (byte-compile-file-form-require): Handle the case where requiring a file
1180 indirectly causes CL to be loaded.
1182 2009-09-05 Karl Fogel <kfogel@red-bean.com>
1184 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
1185 before killing the old buffer, since by the time `kill-buffer' is
1186 run so many buffer variables have been set to nil that it may not
1187 behave as expected. (Bug#4061)
1189 2009-09-05 Karl Fogel <kfogel@red-bean.com>
1191 * files.el (find-alternate-file): If the old buffer is modified
1192 and visiting a file, behave similarly to `kill-buffer' when
1193 killing it, thus reverting to the pre-1.878 behavior; see
1194 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
1195 for discussion. Also, consult `buffer-file-name' as a variable
1196 not as a function, for consistency with the rest of the code.
1198 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
1200 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
1201 also when adding a new directory.
1203 * net/tramp-compat.el (tramp-compat-line-beginning-position): New
1206 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
1208 * files.el (locate-file-completion-table): Make it provide boundary
1209 information, so partial-completion works better.
1211 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
1213 * mail/footnote.el (Footnote-text-under-cursor):
1214 Check footnote-text-marker-alist before using it (bug#4324).
1216 2009-09-04 Glenn Morris <rgm@gnu.org>
1218 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
1219 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
1220 * play/solitaire.el, play/tetris.el:
1221 Remove leading * from defcustom and defface docs.
1223 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
1225 (diary-fancy-overriding-map): New variable.
1226 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
1229 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
1232 2009-09-03 Glenn Morris <rgm@gnu.org>
1234 * arc-mode.el (archive-mode):
1235 * dos-fns.el (set-default-process-coding-system):
1236 * man.el (Man-getpage-in-background):
1237 * menu-bar.el (menu-bar-describe-menu):
1238 * server.el (server-process-filter):
1239 * startup.el (command-line):
1240 * tar-mode.el (tar-header-block-tokenize, tar-extract):
1241 * w32-fns.el (set-default-process-coding-system):
1242 * x-dnd.el (x-dnd-handle-file-name):
1243 * international/mule-cmds.el (mule-menu-keymap)
1244 (set-default-coding-systems, language-info-alist, set-language-info)
1245 (set-language-environment, standard-display-european-internal)
1246 (set-locale-environment):
1247 * international/mule-diag.el (mule-diag):
1248 * mail/emacsbug.el (report-emacs-bug):
1249 * mail/rmail.el (rmail-mode):
1250 * mail/sendmail.el (mail-setup):
1251 Use default-value rather than default-enable-multibyte-characters.
1253 * progmodes/f90.el: Move all safe properties into the defcustoms.
1254 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
1256 * calendar/appt.el (appt-check):
1257 * calendar/diary-lib.el (diary-set-header, diary-live-p)
1258 (diary-check-diary-file, diary-list-entries)
1259 (diary-include-other-diary-files, diary-simple-display)
1260 (diary-fancy-display, diary-print-entries)
1261 (diary-mark-included-diary-files, diary-make-entry):
1262 Don't call substitute-in-file-name on diary-file.
1264 2009-09-03 Eduard Wiebe <usenet@pusto.de>
1265 Stefan Monnier <monnier@iro.umontreal.ca>
1267 * mail/footnote.el (footnote-prefix): Make it a defcustom.
1268 (footnote-mode-map): Move initialization into the declaration.
1269 (footnote-minor-mode-map): Define it rather than changing global-map.
1270 (footnote-mode): Use define-minor-mode.
1272 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
1274 * net/tramp.el (tramp-handle-file-attributes-with-ls)
1275 (tramp-do-file-attributes-with-perl)
1276 (tramp-do-file-attributes-with-stat): Rename from
1277 `tramp-handle-file-attributes-with-*'.
1278 (tramp-handle-file-attributes): Use them.
1279 (tramp-do-directory-files-and-attributes-with-perl)
1280 (tramp-do-directory-files-and-attributes-with-stat): Rename from
1281 `tramp-handle-directory-files-and-attributes-with-*'.
1282 (tramp-handle-directory-files-and-attributes): Use them.
1283 (tramp-method-out-of-band-p): Additional parameter SIZE.
1284 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
1285 (tramp-handle-write-region): Use it.
1286 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
1287 (tramp-handle-vc-registered): Check, whether the first run did
1288 return files to be tested.
1289 (tramp-advice-make-auto-save-file-name): Do not call directly
1290 `tramp-handle-make-auto-save-file-name', because this would bypass
1291 the locking mechanism.
1293 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
1294 (file-remote-p, process-file, start-file-process, set-file-times)
1295 (tramp-compat-file-attributes): Compatibility functions shall not
1296 call directly `tramp-handle-*', because this would bypass the
1298 (tramp-compat-number-sequence): New defun.
1300 2009-09-02 Glenn Morris <rgm@gnu.org>
1302 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
1303 alias for float-time.
1304 (time-to-number-of-days): In Emacs, use float-time.
1305 * net/newst-backend.el (time-add): Suppress warnings from compat
1307 * time.el (emacs-uptime, emacs-init-time):
1308 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
1309 Use float-time rather than time-to-seconds.
1311 * minibuffer.el (completion-initials-expand): Fix typo.
1313 * faces.el (modeline, modeline-inactive, modeline-highlight)
1314 (modeline-buffer-id):
1315 * info.el (info-menu-5): Mark these face aliases as obsolete.
1317 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
1319 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
1321 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
1322 no "--thread" option.
1323 (gdb-stopped): Don't print "Switched to thread" message when it is
1326 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
1328 * minibuffer.el (completion-try-completion)
1329 (completion-all-completions): Remove ill-defined (and
1330 mistakenly installed and luckily never used nor documented)
1331 `completion-styles' property.
1332 (completion-initials-expand, completion-initials-all-completions)
1333 (completion-initials-try-completion): New functions.
1334 (completion-styles-alist): Add doc to each entry.
1335 Add new `initials' entry.
1337 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
1339 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
1340 MI command -var-evaluate-expression.
1341 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
1342 and tweak for case of string child.
1343 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
1345 2009-09-01 Glenn Morris <rgm@gnu.org>
1347 * add-log.el (change-log-date-face, change-log-name-face)
1348 (change-log-email-face, change-log-file-face, change-log-list-face)
1349 (change-log-conditionals-face, change-log-function-face)
1350 (change-log-acknowledgement-face):
1351 * cus-edit.el (custom-invalid-face, custom-rogue-face)
1352 (custom-modified-face, custom-set-face, custom-changed-face)
1353 (custom-saved-face, custom-button-face, custom-button-pressed-face)
1354 (custom-documentation-face, custom-state-face, custom-comment-face)
1355 (custom-comment-tag-face, custom-variable-tag-face)
1356 (custom-variable-button-face, custom-face-tag-face)
1357 (custom-group-tag-face-1, custom-group-tag-face):
1358 * diff-mode.el (diff-header-face, diff-file-header-face)
1359 (diff-index-face, diff-hunk-header-face, diff-removed-face)
1360 (diff-added-face, diff-changed-face, diff-function-face)
1361 (diff-context-face, diff-nonexistent-face):
1362 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
1363 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
1364 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
1365 (Info-title-4-face):
1366 * isearch.el (isearch-lazy-highlight-face):
1367 * log-view.el (log-view-file-face, log-view-message-face):
1368 * paren.el (show-paren-match-face, show-paren-mismatch-face):
1369 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
1370 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
1372 * smerge-mode.el (smerge-mine-face, smerge-other-face)
1373 (smerge-base-face, smerge-markers-face):
1374 * wid-edit.el (widget-documentation-face, widget-button-face)
1375 (widget-field-face, widget-single-line-field-face)
1376 (widget-inactive-face, widget-button-pressed-face):
1377 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
1378 (woman-addition-face):
1379 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
1380 (eshell-ls-executable-face, eshell-ls-readonly-face)
1381 (eshell-ls-unreadable-face, eshell-ls-special-face)
1382 (eshell-ls-missing-face, eshell-ls-archive-face)
1383 (eshell-ls-backup-face, eshell-ls-product-face)
1384 (eshell-ls-clutter-face):
1385 * eshell/em-prompt.el (eshell-prompt-face):
1386 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
1387 * obsolete/old-whitespace.el (whitespace-highlight-face):
1388 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
1389 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
1390 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
1391 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
1392 (antlr-font-lock-literal-face):
1393 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
1394 (ebrowse-root-class-face, ebrowse-file-name-face)
1395 (ebrowse-default-face, ebrowse-member-attribute-face)
1396 (ebrowse-member-class-face, ebrowse-progress-face):
1397 * progmodes/make-mode.el (makefile-space-face):
1398 * progmodes/sh-script.el (sh-heredoc-face):
1399 * textmodes/flyspell.el (flyspell-incorrect-face)
1400 (flyspell-duplicate-face):
1401 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
1402 * textmodes/texinfo.el (texinfo-heading-face):
1403 Mark face aliases with "-face" suffix as obsolete.
1405 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
1408 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
1409 (eudc-bob-sound-menu): Use defvar rather than defconst, since
1410 easy-menu-define wants to modify these.
1412 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
1414 * net/browse-url.el (browse-url-file-url):
1415 * term/internal.el (dos-codepage-setup):
1416 Use default-value rather than default-enable-multibyte-characters.
1418 * progmodes/etags.el (etags-goto-tag-location):
1419 * progmodes/flymake.el (flymake-highlight-line)
1420 (flymake-goto-file-and-line, flymake-goto-line):
1421 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
1422 (gdb-goto-breakpoint):
1423 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
1424 * progmodes/python.el (python-find-function)
1425 (python-pdbtrack-track-stack-file):
1426 * progmodes/verilog-mode.el (verilog-surelint-off):
1427 * term/ns-win.el (ns-open-file-select-line):
1428 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
1429 Use forward-line rather than goto-line.
1431 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
1432 * textmodes/reftex-index.el (reftex-display-index):
1433 * textmodes/reftex-ref.el (reftex-offer-label-menu):
1434 * textmodes/reftex-toc.el (reftex-toc):
1435 Remove unnecessary bindings of default-major-mode (all are followed by
1436 major-mode check and possible mode switch).
1438 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
1440 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1441 Handle watchpoints (bug#4282).
1442 (def-gdb-thread-buffer-command): Enable thread to be selected by
1443 clicking without selecting threads buffer first.
1444 (gdb-current-context-command): Use selected frame so that "up",
1445 "down" etc work in the GUD buffer.
1446 (gdb-update): Find selected frame before rendering stack buffer.
1447 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
1449 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
1451 * progmodes/sym-comp.el (displayed-completions): Remove.
1452 (symbol-complete): Use minibuffer-complete.
1454 2009-08-31 Glenn Morris <rgm@gnu.org>
1456 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
1458 * apropos.el (apropos-symbols-internal):
1459 Handle (obsolete) face aliases.
1461 * faces.el (describe-face): Adjust the output format to be more like
1462 describe-variable, and to mention (obsolete) face aliases.
1463 Adjust the whitespace so that help-setup-xref works.
1465 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
1466 * calendar/diary-lib.el (diary-button-face):
1467 Mark these face aliases as obsolete.
1469 * calendar/calendar.el (calendar-today): Doc fix.
1471 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
1473 * progmodes/gdb-mi.el (gdb-control-all-threads)
1474 (gdb-control-current-thread): Force tool bar update.
1475 (gdb-non-stop-handler): New function.
1476 (gdb-init-1): Use it to test if non-stop mode is supported.
1477 Remove unused gdbmi buffer type.
1479 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
1481 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
1482 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
1484 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
1486 * comint.el (comint-exec-1): Check command is non-null first.
1487 Part of gdb-mi.el change (2009-08-28).
1489 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
1491 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
1493 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
1495 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
1496 instead of `dolist' to avoid a recursive require when bootstrapping.
1498 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
1500 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
1502 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
1504 * net/imap.el (imap-send-command): Simplify.
1505 (imap-wait-for-tag): point-max -> buffer-size.
1507 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
1509 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
1510 with constant argument.
1512 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
1514 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
1516 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
1517 Change default, since most of our files don't have a history.
1518 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
1521 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1524 * calc/calc.el: Improve commenting convention.
1525 (calc-digit-map, toplevel): Simplify.
1527 * comint.el (comint-insert-input): Be careful to only set point if we
1528 don't delegate to some other command.
1530 * proced.el (proced-signal-list): Make it an alist.
1531 (proced-grammar-alist): Capitalize names.
1532 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
1533 Disable undo manually and make it read-only.
1534 Use completion-annotate-function.
1536 * minibuffer.el (minibuffer-message): If the current buffer is not
1537 a minibuffer, insert the message in the echo area rather than at the
1539 (completion-annotate-function): New variable.
1540 (minibuffer-completion-help): Use it.
1541 (completion--embedded-envvar-table): Environment vars are
1542 always case-sensitive.
1544 2009-08-30 Glenn Morris <rgm@gnu.org>
1546 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
1547 from fortran-current-defun.
1548 (fortran-beginning-of-subprogram): Be more precise about finding the
1549 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
1550 (fortran-end-of-subprogram): Simplify.
1551 (fortran-current-defun): Use fortran-start-prog-re.
1553 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
1555 * subr.el (do-after-load-evaluation): Simplify.
1557 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
1559 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
1561 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
1562 (vc-rcs-print-log): Use it.
1564 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
1566 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
1568 * paths.el (abbrev-file-name): Move to abbrev.el.
1569 * abbrev.el (abbrev-file-name): Move from paths.el.
1570 Obey user-emacs-directory.
1571 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
1572 user-emacs-directory.
1573 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
1574 abbrev-file-name and calc-settings-file any more.
1575 * startup.el (command-line): Recompute abbrev-file-name and
1576 abbreviated-home-dir.
1577 (normal-no-mouse-startup-screen): Improve the generic code and get rid
1578 of the special code for when C-h bindings haven't been changed.
1579 (display-startup-echo-area-message): Use with-current-buffer.
1580 (command-line-1): Use a list of strings, rather than a list of lists
1581 of strings for longopts.
1583 * files.el (get-free-disk-space): Use / for default-directory.
1585 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
1586 Use with-current-buffer.
1588 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
1589 Recognize immutable variables like most-positive-fixnum.
1590 (byte-compile-setq-default): Check and warn if trying to assign
1591 to an immutable variable, or a non-variable.
1593 * progmodes/cc-vars.el (c-comment-continuation-stars):
1594 * progmodes/cc-engine.el (c-looking-at-bos):
1595 * progmodes/cc-cmds.el (c-toggle-auto-state)
1596 (c-forward-into-nomenclature, c-backward-into-nomenclature)
1597 (c-comment-line-break-function): Add version of obsolescence.
1599 2009-08-28 Juri Linkov <juri@jurta.org>
1601 * files.el (magic-fallback-mode-alist): Add ZIP magic number
1602 associated with `archive-mode'.
1604 * image.el (image-type-header-regexps): Use only JPEG magic number
1605 to determine JPEG images, and don't use `image-jpeg-p' because
1606 Emacs can display non-JFIF non-Exif JPEG images.
1608 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
1610 * arc-mode.el (archive-mode):
1611 * emacs-lisp/re-builder.el (re-builder-unload-function):
1612 Protect against the default value of `major-mode' being nil.
1614 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
1616 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
1617 Fix typos in docstrings.
1619 * progmodes/js.el (js--macro-decl-re): Doc fix.
1620 (js--plain-method-re, js--split-name): Refloc docstring.
1621 (js--class-styles, js--make-merged-item, js--splice-into-items):
1622 Fix typos in docstrings; reflow docstrings.
1623 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
1624 (js--variable-decl-matcher, js--inside-pitem-p)
1625 (js--parse-state-at-point, js--get-all-known-symbols)
1626 (js--symbol-history, js-find-symbol, js--js-references)
1627 (js--moz-interactor, js--js-encode-value, js--read-tab):
1628 Fix typos in docstrings.
1630 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1632 * textmodes/reftex.el (reftex-get-file-buffer-force):
1633 * progmodes/verilog-mode.el (verilog-batch-execute-func):
1634 * emulation/viper.el (viper-go-away, viper-set-hooks):
1635 * emacs-lisp/re-builder.el (re-builder-unload-function):
1636 * emacs-lisp/bytecomp.el (byte-compile-file):
1637 * ses.el (ses-unload-function):
1638 * hexl.el (hexl-find-file):
1639 * files.el (normal-mode):
1640 * ehelp.el (with-electric-help):
1641 * autoinsert.el (auto-insert-alist):
1642 * arc-mode.el (archive-mode):
1643 Use (default-value 'major-mode) instead of default-major-mode.
1645 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
1646 * international/mule.el (load-with-code-conversion):
1647 * emacs-lisp/debug.el (debug):
1648 * ediff-vers.el (ediff-rcs-get-output-buffer):
1649 * dired.el (dired-internal-noselect): Don't let-bind
1650 default-major-mode around code that doesn't use it.
1651 E.g. buffer creation via get-buffer-create doesn't use it.
1653 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
1655 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
1656 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
1657 when writing the temp file. Otherwise, epa-file gets confused.
1658 (tramp-register-file-name-handlers): Make it a defun. Move also
1659 `epa-file-handler' to the front of `file-name-handler-alist'.
1661 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1663 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
1664 start right after a ^M.
1665 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
1666 (tramp-completion-file-name-regexp-separate)
1667 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
1668 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
1669 Don't modify last-coding-system-used by accident.
1670 (tramp-completion-file-name-handler): Apply the checks here,
1671 instead during registration.
1672 (tramp-register-file-name-handlers) Renamed from
1673 `tramp-register-file-name-handler'. Register both
1674 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
1675 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
1677 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
1679 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
1681 (gdb-init-1, gdb-display-separate-io-buffer)
1682 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
1684 (gdb-inferior-io-mode): Use make-comint-in-buffer.
1685 (gdb-inferior-filter): Use comint-output-filter to stop
1686 echoing and remove ^M characters.
1688 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1690 * emulation/viper-init.el (viper-restore-cursor-type):
1691 * emulation/cua-base.el (cua--update-indications):
1692 Replace default-cursor-type with (default-value 'cursor-type).
1694 * mail/sendmail.el (mail-recover-1):
1695 * international/mule-diag.el (describe-current-coding-system-briefly)
1696 (describe-current-coding-system):
1697 * international/mule-cmds.el (select-safe-coding-system)
1698 (select-message-coding-system)
1699 (set-language-environment-coding-systems, set-locale-environment):
1700 * hexl.el (hexl-insert-multibyte-char):
1701 * dos-w32.el (find-buffer-file-type-coding-system):
1702 * simple.el (what-cursor-position):
1703 Replace uses of default-buffer-file-coding-system
1704 with (default-value 'buffer-file-coding-system).
1706 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
1707 Replace uses of default-cursor-in-non-selected-windows
1708 with (default-value 'cursor-in-non-selected-windows).
1709 Use with-current-buffer.
1711 * mail/feedmail.el: Use CL macros.
1712 (feedmail-run-the-queue, feedmail-send-it-immediately):
1713 * dos-w32.el (find-buffer-file-type): Replace uses of
1714 default-buffer-file-type with (default-value 'buffer-file-type).
1716 2009-08-28 Glenn Morris <rgm@gnu.org>
1718 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
1719 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
1720 Use default-value of major-mode rather than default-major-mode.
1722 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
1724 * Makefile.in (update-elcfiles): Report left over elc files.
1726 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
1727 expand-file-name and with-current-buffer.
1728 (mail-get-names, mail-directory): Use with-current-buffer.
1730 * vc.el (vc-read-revision): New function.
1731 (vc-version-diff, vc-merge): Use it.
1733 2009-08-27 Sam Steingold <sds@gnu.org>
1735 * simple.el (kill-do-not-save-duplicates): New user option.
1736 (kill-new): When it is non-nil, and the new string is the same as
1737 the latest kill, set replace to t to avoid duplicates in kill-ring.
1739 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
1741 * net/tramp.el (tramp-handle-process-file): Do not flush all
1742 caches when `process-file-side-effects' is set.
1743 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
1744 instead of `tramp-find-file-exists-command'.
1745 Unset `process-file-side-effects'.
1747 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
1749 * net/tramp.el (tramp-methods): New method "rsyncc".
1750 (top): Add completion function for "rsyncc".
1751 (tramp-message-show-message): New defvar.
1752 (tramp-message, tramp-error): Use it.
1753 (tramp-do-copy-or-rename-file-directly): Extend check for direct
1755 (tramp-do-copy-or-rename-file-out-of-band): Handle new
1756 `tramp-methods' entry `copy-env' of "rsyncc".
1757 (tramp-vc-registered-read-file-names): New defconst.
1758 (tramp-vc-registered-file-names): New defvar.
1759 (tramp-handle-vc-registered): Implement optimization strategy.
1760 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
1761 (tramp-vc-file-name-handler): New defun.
1762 (tramp-get-ls-command, tramp-get-test-command)
1763 (tramp-get-file-exists-command, tramp-get-remote-ln)
1764 (tramp-get-remote-perl, tramp-get-remote-stat)
1765 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
1767 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
1768 (tramp-cache-inhibit-cache): Extend doc string. It allows also
1770 (tramp-get-file-property): Check for timestamps in
1771 `tramp-cache-inhibit-cache'.
1772 (tramp-set-file-property): Write timestamp.
1774 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
1776 * language/japan-util.el (japanese-symbol-table): Add entries for
1779 * international/characters.el: Add category `j' to cp932-2-byte.
1781 2009-08-27 Kenichi Handa <handa@m17n.org>
1783 * international/fontset.el (build-default-fontset-data): New macro.
1784 (setup-default-fontset): Use build-default-fontset-data for CJK,
1785 tibetan, ethiopic, and ipa.
1787 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
1789 * cus-start.el (default-major-mode): Customize `major-mode' instead.
1790 (enable-multibyte-characters): Not customizable any more.
1792 * subr.el (default-mode-line-format, default-header-line-format)
1793 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
1794 (default-direction-reversed, default-truncate-lines)
1795 (default-left-margin, default-tab-width, default-case-fold-search)
1796 (default-left-margin-width, default-right-margin-width)
1797 (default-left-fringe-width, default-right-fringe-width)
1798 (default-fringes-outside-margins, default-scroll-bar-width)
1799 (default-vertical-scroll-bar, default-indicate-empty-lines)
1800 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
1801 (default-fringe-cursor-alist, default-scroll-up-aggressively)
1802 (default-scroll-down-aggressively, default-fill-column)
1803 (default-cursor-type, default-buffer-file-type)
1804 (default-cursor-in-non-selected-windows)
1805 (default-buffer-file-coding-system, default-major-mode)
1806 (default-enable-multibyte-characters): Mark as obsolete.
1808 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
1810 * vc-dir.el (vc-dir-update): Remove debug helper.
1812 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
1814 2009-08-26 Sam Steingold <sds@gnu.org>
1816 * simple.el (save-interprogram-paste-before-kill): New user option.
1817 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
1818 save the interprogram-paste into kill-ring before overriding it
1819 with the Emacs kill.
1821 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
1823 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
1824 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
1825 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
1826 and move to vc-rcs.el.
1827 (vc-default-next-revision): Rename to vc-rcs-next-revision and
1829 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
1830 (vc-rcs-update-changelog): Remove.
1831 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
1832 and move to vc-rcs.el.
1834 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
1835 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
1837 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
1838 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
1839 vc.el, renamed to be RCS specific.
1841 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
1843 (vc-cvs-update-changelog): Move here from vc.el.
1845 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
1848 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
1850 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
1852 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
1854 * vc-git.el (vc-git-register): Use "git add" for directories.
1855 (vc-git-stash, vc-git-stash-show): New functions.
1856 (vc-git-extra-menu-map): Bind them.
1858 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
1859 directory correctly in case the item is a directory itself.
1861 * vc.el: Document the desired behavior for reverted files in the
1863 (vc-default-prettify-state-info): Remove function, unused.
1865 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
1867 2009-08-26 Glenn Morris <rgm@gnu.org>
1869 * bindings.el (standard-mode-line-format): Reposition dashes in
1870 which-func entry. (Bug#4217)
1872 * files.el (enable-local-variables, enable-local-eval)
1873 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
1875 (auto-mode-alist, ignored-local-variables)
1876 (save-some-buffers-action-alist): Move risky declarations to the
1878 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
1879 (font-lock-defaults, format-alist, imenu--index-alist)
1880 (imenu-generic-expression, input-method-alist, minor-mode-alist)
1881 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
1882 (mode-line-modified, mode-line-mule-info, mode-line-position)
1883 (mode-line-process, mode-line-remote, outline-level)
1884 (parse-time-rules, rmail-output-file-alist)
1885 (special-display-buffer-names, vc-mode):
1886 Move risky declarations to the relevant files.
1887 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
1888 (mode-line-modified, mode-line-process, mode-line-position)
1889 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
1890 * font-core.el (font-lock-defaults):
1891 * format.el (format-alist):
1892 * vc-hooks.el (vc-mode):
1893 * window.el (special-display-buffer-names):
1894 * international/mule-cmds.el (input-method-alist):
1895 Define riskiness here (dumped file) rather than in files.el.
1896 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
1897 * imenu.el (imenu-generic-expression, imenu--index-alist):
1898 * outline.el (outline-level):
1899 * time.el (display-time-string):
1900 * calendar/parse-time.el (parse-time-rules):
1901 * mail/rmailout.el (rmail-output-file-alist):
1902 Autoload riskiness here, rather than placing in files.el.
1904 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
1906 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
1908 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
1910 * simple.el (process-file-side-effects): New defvar.
1912 * dired-aux.el (dired-show-file-type):
1913 * vc.el (vc-diff-internal):
1914 * vc-arch.el (vc-arch-diff):
1915 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
1916 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
1917 * vc-git.el (vc-git-registered, vc-git-working-revision)
1918 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
1919 (vc-git--empty-db-p):
1920 * vc-hooks.el (vc-user-login-name):
1921 * vc-svn.el (vc-svn-registered, vc-svn-state)
1922 (vc-svn-dir-extra-headers, vc-svn-find-revision):
1923 * progmodes/grep.el (grep-probe): Let-bind
1924 `process-file-side-effects' with nil.
1926 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
1928 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
1929 daemon. Replace ping by checking for running service for bluez
1930 and zeroconf. (Bug#4239)
1932 2009-08-25 Kevin Ryde <user42@zip.com.au>
1934 * net/dig.el (dig): Add autoload cookie.
1936 2009-08-25 Glenn Morris <rgm@gnu.org>
1938 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
1939 load-history for absolute file-names.
1940 (byte-compile-file-form-require): Warn about use of the cl package.
1942 * format.el (format-alist): Doc fix.
1944 * play/bubbles.el (top-level): Don't require cl at run-time.
1946 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
1949 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
1951 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
1953 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
1955 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
1957 * calc/calc-alg.el (math-trig-rewrite)
1958 (math-hyperbolic-trig-rewrite): New functions.
1959 (calc-simplify): Simplify trig functions when asked.
1961 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
1963 * diff-mode.el (diff-find-source-location): Avoid goto-line.
1965 2009-08-24 Kenichi Handa <handa@m17n.org>
1967 * language/ind-util.el (mapthread): Delete it.
1968 (combinatorial): New function.
1969 (indian--puthash-cv): Use combinatorial instead of mapthread.
1971 2009-08-22 Kevin Ryde <user42@zip.com.au>
1973 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
1974 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
1975 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
1976 Clarify docstring that the value is strings not symbols.
1977 (checkdoc-list-of-strings-p): New function.
1979 2009-08-22 Glenn Morris <rgm@gnu.org>
1981 * files.el (auto-mode-alist):
1982 * hippie-exp.el (he-concat-directory-file-name):
1983 * lpr.el (lpr-windows-system, printer-name):
1984 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
1985 * ps-print.el (ps-windows-system):
1986 * startup.el (command-line):
1987 * emulation/viper-ex.el (viper-glob-function):
1988 * international/mule-cmds.el (set-language-environment-coding-systems):
1989 * net/ange-ftp.el (ange-ftp-write-region):
1990 * obsolete/fast-lock.el (fast-lock-cache-name):
1991 Remove code for defunct system-types emx, macos, mswindows, next-mach,
1992 unisoft-unix, vax-vms, win32, w32.
1994 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
1995 given name if the pattern is not more specific.
1997 * calendar/lunar.el (lunar-phase-names): New option.
1998 (lunar-phase): Doc fix.
1999 (lunar-cycles-per-year): New constant.
2000 (lunar-index): New function.
2001 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
2002 (lunar-phase-name): Use lunar-phase-names.
2003 (calendar-lunar-phases): Use format.
2004 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
2006 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
2007 Copy imenu-example--name-and-position function here for own use.
2008 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
2010 * bs.el (bs--redisplay):
2011 * cus-edit.el (custom-redraw):
2012 * ibuffer.el (ibuffer-bury-buffer):
2013 * server.el (server-goto-line-column):
2014 * startup.el (command-line-1):
2015 * strokes.el (strokes-xpm-for-stroke):
2016 * term.el (term-display-buffer-line):
2017 * view.el (View-goto-line):
2018 * calc/calc.el (calc-do, calc-trail-buffer):
2019 * play/gamegrid.el (gamegrid-add-score-insecure):
2020 * progmodes/ada-mode.el (ada-compile-goto-error):
2021 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
2022 (ebrowse-select-1st-to-9nth):
2023 * progmodes/cperl-mode.el (cperl-time-fontification):
2024 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
2025 * progmodes/gud.el (gud-display-line):
2026 (idlwave-shell-display-line):
2027 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
2028 * progmodes/make-mode.el (makefile-browser-toggle):
2029 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
2030 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
2031 * textmodes/picture.el (picture-draw-rectangle):
2032 * textmodes/reftex-index.el (reftex-index-goto-letter):
2033 (reftex-select-jump-to-previous):
2034 * textmodes/reftex-sel.el (reftex-find-start-point)
2035 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
2036 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
2037 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
2038 * textmodes/tex-mode.el (tex-compilation-parse-errors):
2039 * textmodes/two-column.el (2C-associated-buffer):
2040 Use forward-line rather than goto-line.
2042 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
2045 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
2046 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
2047 (quick-check-list-to-regexp): Declare.
2049 * progmodes/make-mode.el (makefile-browser-insert-selection):
2050 Use goto-char rather than goto-line.
2052 * progmodes/prolog.el (compilation-error-regexp-alist)
2053 (compilation-forget-errors): Declare.
2055 2009-08-22 Juri Linkov <juri@jurta.org>
2057 * progmodes/grep.el (lgrep, rgrep): At the beginning
2058 set `dir' to `default-directory' unless `dir' is a non-nil
2059 readable directory. (Bug#4052)
2060 (lgrep, rgrep): Change a weird way to report an error
2061 from using `read-string' to using `error'.
2062 Instead of using interactive arguments in the function body,
2063 add new argument `confirm'.
2065 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
2067 * textmodes/remember.el (remember-buffer):
2068 * progmodes/cperl-mode.el (cperl-vc-header-alist):
2069 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
2070 (icalendar-extract-ical-from-buffer):
2071 * net/newst-treeview.el (newsticker-groups-filename):
2072 * net/newst-backend.el (newsticker-cache-filename):
2073 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
2074 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
2075 (speedbar-add-ignored-path-regexp, speedbar-line-path)
2076 (speedbar-buffers-line-path, speedbar-path-line)
2077 (speedbar-buffers-line-path):
2078 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
2080 * epa.el (epa-display-verify-result):
2081 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
2083 2009-08-21 Glenn Morris <rgm@gnu.org>
2085 * progmodes/js.el (inferior-moz-process): Fix declaration.
2087 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
2089 * obsolete/rnewspost.el (news-mail-reply):
2090 Use goto-char rather than goto-line.
2092 * term/ns-win.el (ns-open-file-select-line):
2093 Use line-beginning-position rather than goto-line.
2095 * apropos.el (apropos-command):
2096 * ehelp.el (electric-helpify):
2097 * printing.el (pr-show-setup):
2098 * strokes.el (strokes-help):
2099 * tutorial.el (tutorial--describe-nonstandard-key)
2100 (tutorial--detailed-help):
2101 * woman.el (woman-mini-help, woman-display-extended-fonts):
2102 * calc/calc-help.el (calc-describe-key):
2103 * emulation/edt.el (edt-electric-helpify):
2104 * international/mule-diag.el (mule-diag):
2105 * play/yow.el (apropos-zippy):
2106 * progmodes/python.el (python-describe-symbol):
2107 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
2108 * textmodes/table.el (*table--cell-describe-mode)
2109 (*table--cell-describe-bindings):
2110 Use help-print-return-message rather than the now obsolete alias.
2112 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
2113 (calendar-cursor-to-visible-date):
2114 * play/5x5.el (5x5-position-cursor):
2115 * play/decipher.el (decipher):
2116 * play/gomoku.el (gomoku-goto-xy):
2117 * play/landmark.el (lm-goto-xy):
2118 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
2120 Use forward-line, not goto-line.
2122 * mail/rmail.el (rmail-obsolete): Delete custom group.
2123 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
2124 (rmail-remote-password, rmail-remote-password-required):
2125 Remove unneeded :set-after and :set properties.
2127 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
2129 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
2131 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
2133 * loadup.el: Remove leftover macos code.
2135 * vc-git.el (vc-git-annotate-command): Run asynchronously.
2136 Explicitly pass the date format to git blame so that user local
2137 so that the output format can be parsed.
2139 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
2141 * net/dbus.el (top): Don't check for (getenv
2142 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
2144 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
2146 * log-edit.el (log-edit-strip-single-file-name): New var.
2147 (log-edit-insert-changelog): Use it. Bug#3571
2149 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
2151 * subr.el (read-passwd): Use read-key so keypad keys work as well.
2154 * help.el (help-print-return-message): Rename from
2155 print-help-return-message.
2157 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
2158 cvs-mode-map parent hack.
2159 (log-view-mode): Derive from special-mode.
2161 * linum.el (linum-mode): window-size-change-functions is redundant.
2162 Adapt to new window-configuration-change-hook behavior.
2163 (linum-after-size, linum-after-config): Remove.
2165 * imenu.el (imenu-example--name-and-position)
2166 (imenu-example--lisp-extract-index-name)
2167 (imenu-example--create-lisp-index, imenu-example--create-c-index):
2170 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
2171 (inferior-prolog-mode): Use it.
2172 (inferior-prolog-load-file): Reset list of errors.
2174 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
2176 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
2178 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
2180 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
2182 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
2185 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
2187 * subr.el (listify-key-sequence-1): Use normal syntax since those
2188 integers are nowadays always represented by the same (positive) number
2190 (read-key-empty-map): New const.
2191 (read-key-delay): New var.
2192 (read-key): New function.
2193 (force-mode-line-update): Use with-current-buffer.
2194 (locate-user-emacs-file): Don't forget to abbreviate the file name.
2195 (start-process-shell-command, start-file-process-shell-command):
2196 Discourage the use of command-args.
2198 2009-08-19 Glenn Morris <rgm@gnu.org>
2200 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
2202 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
2204 * simple.el (choose-completion-string): Don't rely on
2205 minibuffer-completing-file-name and ad-hoc checks to decide whether
2206 to continue completion or not.
2208 * minibuffer.el (minibuffer-hide-completions): New function.
2209 (completion--do-completion): Use it.
2210 (completions-annotations): New face.
2211 (completion--insert-strings): Use it.
2212 (completion-pcm--delim-wild-regex): Add docstring.
2213 (completion-pcm--string->pattern): Add support for 0-width delimiters
2214 in completion-pcm--delim-wild-regex.
2216 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
2218 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
2219 Remove unused var `buffer-modified-p'.
2221 * minibuffer.el (completion--do-completion): Move point for the #b001
2222 case as well (bug#4176).
2223 (minibuffer-complete, minibuffer-complete-word): Don't move point.
2225 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
2227 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
2230 2009-08-18 Kenichi Handa <handa@m17n.org>
2232 * international/ucs-normalize.el (ucs-normalize-version):
2234 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
2235 (utf-8-hfs): Make it perform normalization on encoding too.
2237 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
2238 (sentence-end-without-space): Delete duplicated chars.
2239 (sentence-end-base): Likewise.
2241 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
2242 (html-mode): Delete duplicated chars from sentence-end-base.
2244 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
2245 (texinfo-mode): Delete duplicated chars from sentence-end-base.
2247 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
2249 * files.el (hack-one-local-variable): If the mode function is for
2250 a minor mode, pass it an argument (Bug#4148).
2252 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
2254 * net/tramp.el (tramp-register-completion-file-name-handler):
2255 Check also for (member 'partial-completion completion-styles).
2257 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
2259 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
2262 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
2264 * progmodes/cperl-mode.el: Merge upstream 6.2.
2265 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
2266 (cperl-forward-re): Check cperl-brace-recursing.
2267 (cperl-highlight-charclass): New function.
2268 (cperl-find-pods-heres): Use it.
2269 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
2270 (cperl-beautify-regexp-piece): Fix column calculation.
2271 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
2272 (cperl-beautify-level): Don't process entire regexp.
2273 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
2275 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
2276 (cperl-init-faces): Build a list in the normal way.
2278 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
2280 * calendar/parse-time.el (parse-time-string-chars): Save match
2283 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
2285 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
2286 (sql-product): Use it.
2287 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
2288 (sql-set-product): Add completion.
2289 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
2290 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
2291 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
2292 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
2293 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
2294 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
2295 (sql-highlight-db2-keywords): Remove.
2296 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
2297 (sql-highlight-product): Use derived-mode-p.
2298 (sql-set-sqli-buffer): Use with-current-buffer.
2299 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
2302 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
2304 * term.el: Fix commenting convention, turn comments into docstrings.
2306 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
2308 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
2310 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
2312 * calendar/parse-time.el (parse-time-string-chars): Compute using
2313 character classes, to handle non-ascii characters (Bug#3190).
2315 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
2317 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
2318 another heredoc if the user adds another < (Bug#3226).
2320 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
2321 Don't initialize based on window-system (Bug#4124).
2323 * facemenu.el (facemenu-read-color): Use a completion function
2324 that accepts any defined color, such as RGB triplets (Bug#3677).
2326 * files.el (get-free-disk-space): Change fallback default
2327 directory to /. Expand DIR argument before switching to fallback.
2328 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
2330 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
2332 * files.el (load-library): Doc fix.
2334 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
2336 * viper-cmd.el (viper-insert-isearch-string): New function.
2337 (viper-if-string): Redefine C-s in the minibuffer to insert the last
2338 incremental search string.
2340 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
2343 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
2344 (ediff-merge-region-is-non-clash)
2345 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
2346 Also check if the job is really a merge job.
2348 * ediff.el (ediff-current-file): New function.
2350 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
2352 * progmodes/js.el: Edit docstrings throughout to follow Emacs
2354 (js-insert-and-indent): Delete function.
2355 (js-mode-map): Don't bind keys to js-insert-and-indent.
2356 (js-beginning-of-defun): Rename from js--beginning-of-defun.
2357 (js-end-of-defun): Rename from js--end-of-defun.
2358 (js-auto-indent-flag): Delete variable.
2360 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
2362 * progmodes/js.el: Remove proclaim statement.
2363 Defvar which-func-imenu-joiner-function to silence compiler.
2365 * files.el (auto-mode-alist): Use js-mode for .js files.
2367 * progmodes/js2-mode.el: Remove file.
2369 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
2371 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
2373 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
2375 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
2376 Karl Landstrom <karl.landstrom@brgeight.se>
2378 * progmodes/js.el: New file.
2380 2009-08-14 Mark A. Hershberger <mah@everybody.org>
2382 * timezone.el (timezone-parse-date): Add ability to understand ISO
2383 basic format (minimal separators) dates in addition to the
2384 already-supported extended format dates.
2386 2009-08-14 Eli Zaretskii <eliz@gnu.org>
2388 * international/ucs-normalize.el: Add a `coding' file variable.
2390 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
2392 2009-08-14 Sam Steingold <sds@gnu.org>
2394 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
2396 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
2398 * faces.el (help-argument-name): Define it here instead of
2399 help-fns.el, because in daemon mode help-fns.el may be loaded when
2400 faces are still uninitialized (Bug#1078).
2402 * help-fns.el (help-argument-name): Move defface to faces.el.
2404 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
2406 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
2407 create buffer with a pty but no process so that GDB can make the
2408 inferior the controlling process.
2410 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
2412 * international/ucs-normalize.el: New file.
2414 2009-08-13 Richard Stallman <rms@gnu.org>
2416 * mail/rmail.el (rmail-get-attr-names):
2417 Accept an attribute header that is too short.
2419 * mail/rmail.el (rmail-forget-messages):
2420 Ignore nil elt in rmail-message-vector. Use dotimes.
2422 * progmodes/compile.el (compilation-goto-locus):
2423 Use next-error-move-function.
2425 * simple.el (next-error-move-function): New variable.
2427 2009-08-12 Juri Linkov <juri@jurta.org>
2429 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
2430 always non-nil. (Bug#4052)
2432 * replace.el (read-regexp): Return empty string when
2433 `default-value' is nil.
2434 (keep-lines-read-args): Don't use empty string as the
2435 default value for `read-regexp'. (Bug#2495)
2437 2009-08-12 Juri Linkov <juri@jurta.org>
2439 * international/mule-cmds.el (ucs-insert): Change arguments
2440 from `arg' to `character', `count', `inherit' to be the same
2441 as in `insert-char'. Doc fix. (Bug#4039)
2443 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
2445 2009-08-12 Juri Linkov <juri@jurta.org>
2447 * files-x.el: New file.
2449 * files.el: Move code that deals with adding/deleting
2450 file/directory-local variables to files-x.el.
2452 * Makefile.in (ELCFILES): Add files-x.elc.
2454 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
2456 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
2458 (gdb-place-breakpoints, gdb-get-location): Rewritten without
2460 (gdb-invalidate-disassembly): Do not refresh upon receiving
2461 'update signal. Instead, update all disassembly buffers only after
2463 (gdb): Send -target-detach when buffer is killed (Bug#3794).
2464 (gdb-starting): Moved -data-list-register-names...
2465 (gdb-stopped): ...here so it's sent when first thread stops.
2466 (gdb-registers-handler-custom): Do nothing if register names are
2469 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
2470 from `gdb-mi.el' to avoid extra tangling.
2472 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
2473 change which breaks `gud-def' definitions used in `gdb'.
2474 (gdb-update-gud-running): No extra fuss for updating frame number.
2476 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2478 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
2479 (describe-language-environment-map, setup-language-environment-map)
2480 (set-coding-system-map): Move initialization into declaration.
2481 (set-language-info-alist): Last arg to define-key-after can be skipped.
2483 * international/quail.el (quail-completion-1): Simplify.
2484 (quail-define-rules): Use slightly more compact code.
2485 (quail-insert-decode-map): Propertize keys, compact columns.
2487 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2490 2009-08-10 Miles Bader <miles@gnu.org>
2492 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
2493 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
2494 (js2-instance-member, js2-private-member, js2-private-function-call)
2495 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
2496 (js2-magic-paren, js2-external-variable):
2497 Remove "-face" suffix from face names.
2498 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
2499 (js2-highlight-undeclared-vars, js2-peek-token)
2500 (js2-parse-function-params, js2-mode-show-errors)
2501 (js2-mode-show-warnings, js2-make-magic-delimiter)
2502 (js2-mode-highlight-magic-parens): Update to use new face names.
2504 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
2506 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
2507 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
2509 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
2511 * subr.el: Provide hashtable-print-readable.
2513 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
2514 hs-c-like-adjust-block-beginning.
2515 (hs-hide-block-at-point): Stop hiding at the beginning of
2516 hs-block-end-regexp (Bug#700).
2518 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
2520 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
2522 (gdb-registers-handler-custom): Do not fail when register names
2525 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
2527 * progmodes/gdb-mi.el (gdb-control-all-threads)
2528 (gdb-control-current-thread): Interactive setters for
2529 `gdb-gud-control-all-threads' to use in menu.
2530 (gdb-show-run-p): Show «Go» when process is not active.
2531 (gud-tool-bar-map): Add non-stop/A,T indicator. Uses
2532 gud/thread.xpm and gud/all.xpm.
2534 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
2536 * net/net-utils.el (net-utils-font-lock-keywords): New var.
2537 (nslookup-font-lock-keywords): Make it a variable.
2538 (net-utils-mode): New mode for viewing diagnostic network output.
2539 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
2540 (net-utils-run-simple): New function.
2541 (ifconfig, iwconfig, netstat, arp, route): Use it.
2543 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
2545 * progmodes/gdb-mi.el (gdb-read-memory-custom)
2546 (gdb-memory-set-address, def-gdb-set-positive-number)
2547 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
2548 after changing settings.
2549 (gdb-invalidate-disassembly): Update when first shown.
2550 (gdb-edit-locals-value): Fixed.
2551 (gdb-registers-handler-custom): Print registers in right order and
2552 allow changing register values (only for current thread yet).
2553 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
2554 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
2555 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
2556 (gdb-locals-handler-custom, gdb-registers-handler-custom): Thread
2558 (gdb-registers-mode-map): TAB to switch to locals.
2560 2009-08-08 Eli Zaretskii <eliz@gnu.org>
2562 * mail/rmail.el (rmail-add-mbox-headers)
2563 (rmail-set-message-counters-counter): Search for
2564 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
2566 2009-08-08 Glenn Morris <rgm@gnu.org>
2568 * Makefile.in (ELCFILES): Update.
2570 2009-08-07 Eli Zaretskii <eliz@gnu.org>
2572 * mail/sendmail.el (mail-yank-original): Set
2573 buffer-file-coding-system from the one used by the message whose
2576 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
2577 to "windows" when "pgnuplot" is used.
2578 (calc-graph-command, calc-gnuplot-command, calc-graph-init): Don't
2579 call accept-process-output if "pgnuplot" is used.
2580 (calc-graph-init): Don't send -display and -geometry to
2581 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
2582 running "pgnuplot -V" with shell-command-to-string.
2584 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
2587 2009-08-07 Eli Zaretskii <eliz@gnu.org>
2589 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
2592 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
2594 * vc-dispatcher.el (vc-resynch-window): Update comment.
2596 * term.el (term-handle-ansi-escape): Add comments with the
2597 terminfo capabilities implemented.
2599 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
2601 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
2602 (gdb-var-create-handler): Rewritten using JSON parser.
2603 (gdb-propertize-header): Moved earlier.
2604 (gdb-set-header): Removed to avoid duplication.
2605 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
2606 Refresh disassembly buffers only after threads list have been
2608 (gdb-threads-header, gdb-registers-header): Per-buffer header line
2611 2009-08-04 Juri Linkov <juri@jurta.org>
2613 * files.el: Commands to add/delete file/directory-local variables.
2614 (read-file-local-variable, read-file-local-variable-value)
2615 (read-file-local-variable-mode, modify-file-local-variable)
2616 (modify-file-local-variable-prop-line)
2617 (modify-dir-local-variable): New functions.
2618 (add-file-local-variable, delete-file-local-variable)
2619 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
2620 (add-dir-local-variable, delete-dir-local-variable)
2621 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
2622 (copy-dir-locals-to-file-locals-prop-line): New commands.
2624 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
2626 * abbrev.el (insert-abbrev-table-description): Prettify output.
2627 Suggested by Karl Chen.
2629 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
2631 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
2632 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
2633 (gdb-overlay-arrow-position, gdb-thread-position)
2634 (gdb-disassembly-position): Declare variables.
2635 (gdb-wait-for-pending): Function now.
2636 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
2637 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
2638 compilation goes smoothly.
2639 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
2640 (gdb-non-stop-setting): New customization setting which replaces
2641 `gdb-non-stop' so changing it doesn't break active GDB session.
2642 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
2643 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
2644 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
2645 (gdb-show-threads-by-default): New customization options.
2646 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
2648 (gdb-get-buffer-create): Send buffers update signal when they are
2650 (gdb-invalidate-locals, gdb-invalidate-registers)
2651 (gdb-invalidate-breakpoints)
2652 (gdb-invalidate-threads, gdb-invalidate-disassembly)
2653 (gdb-invalidate-memory): Accept update signal.
2654 (gdb-current-context-command): Use --frame option.
2655 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
2656 Implement `gdb-frame-number' selection logic.
2657 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
2658 whether to show GUD toolbar buttons.
2659 (gdb-thread-exited): Unselect current thread when it exits.
2660 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
2661 (gdb-mark-line): Routine which sets overlay arrow or inverses
2662 video on fringeless displays.
2663 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
2664 to build aligned columns of data in GDB buffers and set text
2665 properties line-by-line.
2666 (gdb-invalidate-breakpoints)
2667 (gdb-breakpoints-list-handler-custom)
2668 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
2669 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
2670 (gdb-registers-handler-custom): Align data columns.
2671 (gdb-locals-handler-custom): Now prints data like in variable
2673 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
2674 Removed confusing buttons.
2675 (gdb-invalidate-threads): Append --frame.
2676 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
2677 between breakpoints/threads buffers.
2678 (gdb-set-window-buffer): Now can ignore dedicated windows.
2679 (gdb-propertize-header): Use `gdb-set-window-buffer'.
2680 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
2681 (def-gdb-thread-buffer-gud-command): Replaces
2682 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
2683 for fine thread control.
2684 (gdb-preempt-existing-or-display-buffer): New function used to
2685 display bound buffers without breaking window layout.
2686 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
2687 (gdb-select-frame): New version of `gdb-frames-select' which now
2688 sets `gdb-frame-number' so commands may use --frame option instead
2689 of inner debugger state.
2690 (gdb-frame-handler): Do not set `gdb-frame-number'.
2691 (gdb-threads-mode-map): Select threads with mouse.
2693 * progmodes/gud.el (gdb-gud-context-call): Declare function to
2694 avoid compilation warning.
2695 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
2698 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
2699 Argument `key' renamed to `buffer-type'.
2700 (gdb-current-context-buffer-name): Do not add thread info to
2701 buffer name when no thread is selected.
2702 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
2704 (gdb-thread-selected): Handle `=thread-selected' notification.
2705 (gdb-wait-for-pending): New macro to deal with congestion problems.
2706 (gdb-breakpoints-list-handler-custom): Don't fail on pending
2708 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
2709 This fixes problem similar to one described in bug 3947.
2710 (gud-menu-map): More menu items.
2711 (gdb-init-1): Reset `gdb-thread-number' to nil.
2713 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
2716 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
2717 (gdb-current-context-command): Do not append --thread if
2718 `gdb-thread-number' is nil.
2719 (gdb-running-threads-count, gdb-stopped-threads-count): New
2721 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
2722 (gdb-stopped-hooks, gdb-switch-when-another-stopped): New
2723 customization options.
2724 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
2726 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
2727 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
2728 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
2729 set `gdb-thread-number' and update `gud-running' properly.
2730 (gdb-running): Update threads list when new threads appear.
2731 (gdb-stopped): Support non-stop operation and new thread switching
2733 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
2734 (gdb-json-partial-output): New set of JSON routines.
2735 (def-gdb-auto-update-trigger): New `signal-list' optional
2737 (gdb-thread-list-handler-custom): Update `gud-running',
2738 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
2739 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
2740 (gdb-continue-thread, gdb-step-thread): New commands for fine
2741 thread execution control.
2742 (gud-menu-map): New menu items to switch non-stop options.
2743 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
2744 (gdb-send): Mimic RET properly (bug 3794).
2746 * progmodes/gdb-mi.el (gdb-rules-name-maker)
2747 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
2749 (def-gdb-auto-update-handler): New nopreserve optional argument.
2750 (gdb-stack-list-frames-custom): Print stack from top to bottom.
2752 * progmodes/gdb-mi.el (gdb-pc-address): Removed unused variable.
2753 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
2754 (gdb-parent-mode): New mode to derive other GDB modes from.
2755 (gdb-display-disassembly-for-thread)
2756 (gdb-frame-disassembly-for-thread): New commands for threads
2759 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
2760 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
2761 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
2762 (gdb-update): We now store all GDB buffers in a list so that they
2763 can be updated by traversing a list instead of calling invalidate
2764 triggers explicitly.
2765 (def-gdb-trigger-and-handler): New macro to define trigger-handler
2766 pair for GDB buffer.
2767 (gdb-stack-buffer-name): Add thread information.
2768 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
2769 handle pending triggers.
2770 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
2771 (def-gdb-thread-buffer-simple-command)
2772 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
2773 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
2774 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
2775 New commands which show buffers bound to thread.
2776 (gdb-stack-list-locals-regexp): Removed unused regexp.
2778 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
2779 (gdb-locals-buffer-name, gdb-registers-buffer-name)
2780 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
2781 to (gud-comint-buffer) in *-buffer-name functions
2782 because (gdb-get-target-string) already does that.
2783 (gdb-locals-handler-custom, gdb-registers-handler-custom)
2784 (gdb-changed-registers-handler): Rewritten without regexps.
2786 * progmodes/gdb-mi.el Basic thread selection support.
2787 (gdb-thread-number): New variable.
2788 (gdb-current-context-command): New macro which adds --thread
2790 (gdb-threads-mode-map): Select thread with SPC.
2791 (gdb-thread-list-handler-custom): Mark current thread with overlay
2792 arrow. Synchronize GDB thread and Emacs thread.
2793 (gdb-select-thread): New command which selects current thread.
2794 (gdb-invalidate-frames, gdb-invalidate-locals)
2795 (gdb-invalidate-registers): Use --thread option.
2797 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
2799 * net/tramp.el (top): Make check for tramp-gvfs loading more
2801 (tramp-handle-insert-file-contents): `unwind-protect' must be
2802 inside `with-parsed-tramp-file-name'.
2804 * net/tramp-gvfs.el (top): Remove superfluous message when loading
2807 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
2809 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
2810 directory if CLASSPATH is not set.
2812 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
2814 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
2816 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
2818 2009-08-02 Kevin Ryde <user42@zip.com.au>
2820 * net/newst-backend.el (newsticker--raw-url-list-defaults):
2821 Update freshmeat link. Delete newsforge.com as it seems gone.
2823 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
2825 * select.el (x-set-selection): Doc fix (Bug#4021).
2827 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
2829 * help-fns.el (describe-variable): Treat list return values from
2830 dir-locals-find-file properly (Bug#4005).
2832 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
2834 * net/tramp.el (tramp-debug-message): Print also microseconds.
2836 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
2838 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
2840 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
2841 (tramp-get-debug-buffer): Change `outline-regexp' according to new
2844 * net/tramp-cache.el (tramp-cache-inhibit-cache ): New defvar.
2845 (tramp-get-file-property): Use it.
2847 * autorevert.el (auto-revert-handler): Allow
2848 `auto-revert-tail-mode' for remote files.
2850 2009-08-02 Jason Rumney <jasonr@gnu.org>
2852 * minibuffer.el (read-file-name): Treat confirm options to
2853 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
2855 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
2857 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
2858 (font-lock-variable-name-face, font-lock-constant-face): Darken
2859 the colors for light backgrounds.
2861 2009-08-01 Eli Zaretskii <eliz@gnu.org>
2863 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
2864 month names. (Bug#3987)
2866 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
2868 * simple.el (line-move-finish): Pass whole number to
2869 line-move-to-column.
2870 (line-move-visual): Perform hscroll to the recorded position.
2872 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
2874 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
2876 2009-07-29 Alan Mackenzie <acm@muc.de>
2878 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
2880 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
2882 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
2883 (gdb-place-breakpoints): Use full path when setting breakpoints.
2885 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
2887 * calc/calc.el (calc-mode-map): Add keybinding for
2888 `calc-transpose-lines'.
2890 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
2892 * calc/calc-misc.el (calc-transpose-lines): New function.
2894 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
2896 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
2897 Simplify check for out-of-band methods.
2898 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
2899 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
2901 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
2903 * vc-git.el (vc-git-checkin): Fix typo.
2905 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
2907 * progmodes/js2-mode.el: New file.
2909 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
2911 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
2912 (gud-menu-map): Adjust tooltip accordingly.
2914 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
2916 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
2917 (vc-bzr-log-view-mode): Adjust log-view-file-re.
2919 * add-log.el (change-log-mode-map): Add a menu.
2921 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
2923 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
2924 function returns nil.
2925 (dbus-handle-event): Handle special return value :ignore.
2926 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
2928 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
2930 * view.el (view-mode-enable): Don't define Helper-return-blurb if
2933 2009-07-25 Eli Zaretskii <eliz@gnu.org>
2937 * w32-vars.el (x-select-enable-clipboard): Doc fix.
2939 * term/pc-win.el (x-display-name, x-colors)
2940 (x-select-enable-clipboard, x-select-text): Doc fix.
2942 * term/common-win.el (x-display-name, x-colors): Doc fix.
2944 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
2945 (xw-defined-colors): Doc fix.
2947 * w32-fns.el (x-select-text, x-setup-function-keys)
2948 (x-get-selection, x-set-selection): Doc fix.
2950 * term/x-win.el (x-select-text, x-setup-function-keys)
2951 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
2953 * select.el (x-set-selection): Doc fix.
2955 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
2957 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
2958 instead of "IsNSSSupportAvailable". Avahi ought to work also when
2959 "IsNSSSupportAvailable" method is not available. Reported by
2960 Steve Youngs <steve@sxemacs.org>.
2962 2009-07-24 Kenichi Handa <handa@m17n.org>
2964 * international/characters.el: Fix setting of category ?C, ?|, ?K,
2965 and ?H. Fix setting of case for Latin Extended and Greek Extended.
2966 (build-unicode-category-table): Fix range checks.
2968 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
2970 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
2971 the buffer we try to sync is current when calling
2974 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
2975 not show up to date files.
2977 2009-07-24 Glenn Morris <rgm@gnu.org>
2979 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
2980 Add autoload cookies. If necessary, initialize.
2981 (elint-log): Handle non-file buffers.
2982 (elint-initialize): Add optional argument to reinitialize.
2983 (elint-find-builtin-variables): Save excursion.
2985 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
2987 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
2990 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
2992 * vc.el (vc-print-log-internal): New function, split out from ...
2993 (vc-print-log): ... here.
2994 (vc-dir-move-to-goal-column): Declare.
2996 * vc-git.el (vc-git-add-signoff): New variable.
2997 (vc-git-checkin): Use it.
2998 (vc-git-toggle-signoff): New function.
2999 (vc-git-extra-menu-map): Bind it to menu.
3000 (vc-git--run-command-string): Accept a nil FILE argument.
3001 (vc-git-stash-list): New function.
3002 (vc-git-dir-extra-headers): Use it.
3004 2009-07-23 Glenn Morris <rgm@gnu.org>
3006 * help-fns.el (describe-variable): Describe ignored and risky local
3007 variables in a similar way to that in which we describe safe ones.
3009 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
3010 (byte-compile-output-file-form, byte-compile-output-docform)
3011 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
3012 Give some more local variables with common names a "bytecomp-" prefix,
3013 so as not to shadow things during compilation.
3014 * emacs-lisp/cl-macs.el (load-time-value)
3015 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
3016 `outbuffer' to `bytecomp-outbuffer'.
3018 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
3019 since the next two variables cover them automatically now.
3020 (elint-builtin-variables, elint-autoloaded-variables): New.
3021 (elint-unknown-builtin-args): Remove all members, since they can be
3022 parsed automatically now.
3023 (elint-extra-errors): New.
3024 (elint-env-add-env, elint-env-add-macro): Use cadr.
3025 (elint-current-buffer): Use or. Change final message.
3026 (elint-get-top-forms): Use line-end-position.
3027 (elint-init-env): Use cadr. Handle autoload, declare-function,
3029 (elint-add-required-env): Doc fix. Use or. Standardize error.
3030 (regexp-assoc): Remove unused function.
3031 (elint-top-form): Set elint-current-pos, to record the start of the
3032 top-level form, for compilation-mode.
3033 (elint-form): Trap errors in macro expansion. Use dolist.
3034 (elint-unbound-variable): Use elint-builtin-variables and
3035 elint-autoloaded-variables.
3036 (elint-get-args): Use cadr, or.
3037 (elint-check-cond-form): Use dolist, cadr.
3038 (elint-check-condition-case-form): Doc fix. Use cadr.
3039 Use elint-extra-errors.
3040 (elint-log): New function.
3041 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
3042 Distinguish errors and warnings.
3043 (elint-log-message): Use with-current-buffer. Inhibit read-only.
3044 Use a bytecomp-style format.
3045 (elint-clear-log): Preserve default-directory. Inhibit read-only.
3046 (elint-get-log-buffer): Use compilation mode. Disable undo.
3047 Don't truncate lines.
3048 (elint-initialize): Set builtin and autoloaded variable lists.
3049 Only process elint-unknown-builtin-args if non-nil.
3050 (elint-find-builtin-variables, elint-find-autoloaded-variables):
3052 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
3054 2009-07-22 Kevin Ryde <user42@zip.com.au>
3056 * net/newst-backend.el (newsticker--parse-atom-1.0)
3057 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
3058 (newsticker--parse-rss-1.0):
3059 * progmodes/idlwave.el (idlwave-mode):
3060 * progmodes/idlw-shell.el (idlwave-shell-mode):
3061 * progmodes/vera-mode.el (vera-mode):
3062 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
3063 * progmodes/vhdl-mode.el (vhdl-mode):
3064 * textmodes/table.el (table-generate-source)
3065 (table--warn-incompatibility):
3066 Hyperlink urls in docstrings with URL `...'.
3068 2009-07-22 Glenn Morris <rgm@gnu.org>
3070 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
3071 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
3072 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
3073 Remove leading * from defcustom docs.
3075 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
3077 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
3079 (list-load-path-shadows): Optionally, just return shadows as a string.
3081 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
3083 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
3085 * mail/rmailedit.el (rmail-edit-mode): Use
3086 auto-save-include-big-deletions.
3088 * mail/rmail.el (rmail-variables): Use
3089 auto-save-include-big-deletions.
3091 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
3094 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
3096 * calc/calc.el (calc-undo-length): New variable.
3097 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
3099 2009-07-21 Richard Stallman <rms@gnu.org>
3101 * files.el (auto-save-mode): Handle buffer-save-size = -2
3104 2009-07-21 Glenn Morris <rgm@gnu.org>
3106 * textmodes/ispell.el (ispell-looking-back): Update declaration.
3108 * calendar/todo-mode.el (calendar-current-date): Update declaration.
3110 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
3111 silence compiler. Instead...
3112 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
3113 (ps-print-ensure-fontified): Update for above function name changes.
3115 * printing.el (pr-mh-get-msg-num, pr-mh-show)
3116 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
3117 silence compiler. Instead...
3118 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
3119 (mh-show-buffer): Only define for compiler.
3120 (pr-mh-current-message): Update for above function name changes.
3122 * files.el (abort-if-file-too-large): Explicitly pass `filename'
3124 (find-file-noselect, insert-file-1): Update for above change.
3126 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
3128 * mail/mailclient.el (mailclient-send-it): Fix message.
3130 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
3131 (edebug-eval): Check cl-debug-env is bound.
3132 (print-level, print-circle): Don't redefine built-in variables.
3134 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
3135 (custom-print-vectors): Remove old comments from doc.
3137 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
3138 (emerge-version): Make the variable an obsolete alias for the
3139 emacs-version variable. Make the function obsolete.
3140 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
3141 Emerge options, rather than merging in into the main Options menu.
3142 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
3143 and auto advance modes. Disable edit/fast items when not relevant.
3145 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
3147 * term/vt420.el (terminal-init-vt420): Fix typo.
3149 2009-07-20 Sam Steingold <sds@gnu.org>
3151 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
3152 variable (removed from compile.el on 2004-03-11).
3154 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
3156 * files.el (hack-local-variables-filter): Fix last change.
3158 2009-07-19 Juri Linkov <juri@jurta.org>
3160 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
3161 (dir-local-variables-alist): New buffer-local variable.
3162 (hack-local-variables-filter): If variable is not dir-local,
3163 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
3164 because file-local overrides dir-local.
3165 (c-postprocess-file-styles)<declare-function>:
3166 Remove obsolete declaration.
3167 (hack-dir-local-variables): Add dir-local variable/value pair to
3168 `dir-local-variables-alist' and remove duplicates. Doc fix.
3170 * help-fns.el (describe-variable): Add information about
3171 file-local and dir-local variables.
3173 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
3175 * files.el (hack-local-variables-filter): Rewrite.
3177 2009-07-19 Glenn Morris <rgm@gnu.org>
3179 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
3180 Silence compiler by only defining on XEmacs.
3182 * international/mule.el (auto-coding-regexp-alist): Only match
3183 BABYL... at the start of buffer, not of lines. (Bug#3790)
3185 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
3186 non-calendar buffers (Bug#3862). Restore "not on a date" message.
3187 (cal-menu-context-mouse-menu): Doc fix.
3189 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
3191 * simple.el (mail-user-agent): Doc fix. Set :version tag.
3193 2009-07-18 Juri Linkov <juri@jurta.org>
3195 * info.el: Virtual Info keyword finder.
3196 (add-to-list)<Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
3197 (Info-finder-file): New variable.
3198 (Info-finder-find-file): New function.
3199 (finder-known-keywords, finder-package-info)
3200 (find-library-name, lm-commentary): Use defvar and
3201 declare-function to silence compiler warnings.
3202 (Info-finder-find-node): New function.
3203 (info-finder): New command.
3205 * subr.el (process-kill-buffer-query-function): New function.
3206 (add-hook)<kill-buffer-query-functions>: Add hook
3207 `process-kill-buffer-query-function'.
3209 2009-07-18 Alan Mackenzie <acm@muc.de>
3211 * progmodes/cc-mode.el (c-before-hack-hook)
3212 (c-postprocess-file-styles): Give invocation of `c-set-style'
3213 DONT-OVERRIDE parameter of t. Already set style variables will
3214 thus not be overridden by style settings given by `c-file-syle'.
3216 * files.el (hack-local-variables-filter): Remove entries with
3217 duplicate keys from `file-local-variables-alist'.
3219 2009-07-18 Eli Zaretskii <eliz@gnu.org>
3221 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
3222 x-set-selection if display-selections-p returns nil for the
3225 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
3227 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
3229 2009-07-18 Eli Zaretskii <eliz@gnu.org>
3231 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
3232 Accept nil in addition to a regexp.
3233 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
3234 Accept nil in addition to a regexp.
3235 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
3236 buffers that have an associated file. Handle nil values of
3237 desktop-buffers-not-to-save and desktop-files-not-to-save.
3240 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3241 (x-disown-selection-internal): New functions.
3243 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
3245 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
3247 (gdb-breakpoints-header): Move forward to avoid compiler warning.
3248 (gdb-make-header-line-mouse-map): Remove duplicate definition.
3250 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
3252 * simple.el (set-mark): Revert last change.
3254 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
3256 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
3257 rendering of pngs is not possible instead of messaging a long
3260 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
3262 * w32-fns.el (x-selection-owner-p): New function.
3264 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
3265 (mouse-yank-at-click, mouse-yank-primary): If
3266 select-active-regions is non-nil, deactivate the mark before
3269 * simple.el (deactivate-mark, set-mark): Only save selection if we
3272 2009-07-17 Kenichi Handa <handa@m17n.org>
3274 * case-table.el (describe-buffer-case-table): Fix for the case
3277 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
3279 * vc-rcs.el (vc-rcs-find-file-hook):
3280 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
3282 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
3284 * net/tramp.el (tramp-wait-for-output): Handle the case when
3285 commands do not return a newline but a null byte before the shell
3288 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
3290 * term/ns-win.el (ns-set-alpha): Don't declare.
3291 (ns-set-background-alpha): Remove function.
3293 2009-07-16 Kevin Ryde <user42@zip.com.au>
3295 * emacs-lisp/copyright.el (copyright-update): Save match-data across
3296 y-or-n-p, for safety.
3298 2009-07-16 Richard Stallman <rms@gnu.org>
3300 * files.el (auto-save-mode): If buffer-saved-size is -2,
3303 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
3304 (rmail-retry-ignored-headers): Add more uninteresting fields.
3306 2009-07-15 Jari Aalto <jari.aalto@cante.net>
3308 * net/rcirc.el (rcirc): Use history variables.
3309 (rcirc-server-name-history, rcirc-nick-name-history)
3310 (rcirc-server-port-history): New variables.
3312 2009-07-15 Kenichi Handa <handa@m17n.org>
3314 * international/mule-cmds.el (set-language-environment-charset):
3315 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
3318 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
3319 Delete unibyte-display.
3321 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
3323 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
3325 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
3327 * simple.el (deactivate-mark): Optional argument FORCE.
3328 (set-mark): Use deactivate-mark.
3330 * info.el (Info-search): No need to check transient-mark-mode
3331 before calling deactivate-mark.
3333 * select.el (x-set-selection): Doc fix.
3334 (x-valid-simple-selection-p): Allow buffer values.
3335 (xselect--selection-bounds): Handle buffer values. Suggested by
3336 David De La Harpe Golden.
3338 * mouse.el (mouse-set-region, mouse-drag-track): Call
3339 copy-region-as-kill before setting the mark, to let
3340 select-active-regions work.
3342 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
3344 * simple.el (deactivate-mark): If select-active-regions is
3345 non-nil, copy the selection data into a string.
3346 (activate-mark): If select-active-regions is non-nil, set the
3347 selection to the current buffer.
3348 (set-mark): Update selection if select-active-regions is non-nil.
3350 * select.el (x-valid-simple-selection-p): Allow buffer values.
3352 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
3354 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
3355 and more featureful message-mode.
3357 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
3359 * select.el (x-set-selection): Doc fix.
3360 (x-valid-simple-selection-p): Disallow selection data consisting
3361 of a list or cons of integers, since that is not used.
3362 (xselect--selection-bounds, xselect--int-to-cons): New functions.
3363 (xselect-convert-to-string, xselect-convert-to-length)
3364 (xselect-convert-to-filename, xselect-convert-to-charpos)
3365 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
3367 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
3369 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
3370 output in -break-info command (Emacs bug #3794).
3372 2009-07-14 Glenn Morris <rgm@gnu.org>
3374 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
3375 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
3376 (edebug-print-length, edebug-print-level, edebug-print-circle)
3377 (edebug-sit-for-seconds, edebug-view-outside)
3378 (edebug-bounce-point, edebug-set-global-break-condition)
3379 (edebug-Go-nonstop-mode, edebug-trace-mode)
3380 (edebug-Trace-fast-mode, edebug-continue-mode)
3381 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
3382 (edebug-visit-eval-list): Doc fixes.
3384 * subr.el (def-edebug-spec): Doc fix.
3386 2009-07-14 Kenichi Handa <handa@m17n.org>
3388 * international/characters.el: Fix setting of category ?C.
3390 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
3392 * term/ns-win.el (x-select-font): defalias x-select-font to
3393 ns-popup-font-panel instead of generate-fontset-menu.
3395 2009-07-12 Eli Zaretskii <eliz@gnu.org>
3397 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
3399 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
3401 * arc-mode.el (archive-find-type): Allow for a PK00 string before
3402 the PK\003\004 header (Bug#3770).
3404 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
3406 * pcomplete.el (pcomplete-comint-setup): Check for
3407 shell-dynamic-complete-filename too.
3409 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
3411 * simple.el (temporary-goal-column): Change the value for
3412 line-move-visual to a cons cell.
3413 (line-move-visual): Record or set the window hscroll, if
3414 necessary (Bug#3494).
3415 (line-move-1): Handle cons value of temporary-goal-column.
3417 2009-07-11 Kenichi Handa <handa@m17n.org>
3419 * international/mule-diag.el (describe-character-set): Don't show
3422 2009-07-10 Sam Steingold <sds@gnu.org>
3424 * progmodes/compile.el (compilation-mode-font-lock-keywords):
3425 Omake sometimes indents the errors it prints, so allow all
3426 regexps to start with spaces.
3428 2009-07-10 Eli Zaretskii <eliz@gnu.org>
3430 * cus-edit.el (customize-changed-options-previous-release):
3431 Bump value to 22.1. (Bug#3804)
3433 2009-07-08 Sam Steingold <sds@gnu.org>
3435 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
3436 to be a cons cell (test . ignored-directory) to selectively ignore
3437 some directories depending on the location of the search.
3439 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
3441 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
3442 remote user is root, on the local host.
3443 (tramp-local-host-p): Either the local user or the remote user
3444 must be root. (Bug#3771)
3446 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
3448 * progmodes/gdb-mi.el (gdb): Remove description of
3449 gdb-use-separate-io-buffer.
3450 (menu): Don't allow toggling of or enable
3451 gdb-use-separate-io-buffer from menubar.
3453 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
3455 * mail/unrmail.el (unrmail): Make sure the message ends with two
3456 newlines (Bug#3769).
3458 2009-07-08 Glenn Morris <rgm@gnu.org>
3460 * calendar/calendar.el (calendar-current-date): Rework previous change.
3462 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
3464 * calendar/calendar.el (calendar-current-date):
3465 Add an optional argument giving an offset from today.
3467 2009-07-08 Glenn Morris <rgm@gnu.org>
3469 * tutorial.el (tutorial--describe-nonstandard-key):
3470 Adjust the message for when a key has been unbound.
3471 (help-with-tutorial): Hide the arch-tag.
3473 2009-07-08 Kenichi Handa <handa@m17n.org>
3475 * international/fontset.el (setup-default-fontset): For each
3476 script, append (not set) font-specs.
3478 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
3481 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
3483 * progmodes/gdb-mi.el (gdb-init-1): Move sending
3484 -data-list-register-names to ...
3485 (gdb-starting): ... here because GDB 7.0 requires execution to
3486 have started when using this MI command.
3487 (gdb-set-header): New function to distinguish select and
3488 unselected tabs in gdb buffers.
3489 (gdb-propertize-header): New macro that uses gdb-set-header.
3490 (gdb-breakpoints-header, gdb-locals-header): Use it.
3491 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
3493 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
3495 * Makefile.in (ELCFILES): Remove fadr.elc.
3497 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
3499 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
3500 may contain frame information, so `string-match' should be used.
3501 (gdb-update): Disassembly is invalidated through
3502 `gdb-get-selected-frame'.
3503 (gdb-pad-string): New function to pad string with spaces.
3504 (gdb-invalidate-disassembly): Invalidate only if the buffer
3506 (gdb-disassembly-handler-custom): Column alignment.
3507 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
3509 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
3511 (gdb-frame-handler): Match convention to for disassembly buffer
3513 (gdb-stack-list-frames-handler): Rewritten without regexps.
3514 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
3515 not highlight breakpoints without line information.
3516 (gdb-input): Add trailing newline to command.
3518 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
3520 (gdb-breakpoints-list-handler-custom): Replacement for
3521 `gdb-break-list-handler'. Using real parser instead of regexps
3523 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
3524 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
3525 to place breakpoints.
3526 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
3528 (gdb-disassembly-handler-custom): Show overlay arrow.
3529 (gdb-disassembly-place-breakpoints): Show breakpoints in
3531 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
3532 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
3533 instead of parsing breakpoints buffer. Fixed old menu references
3538 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
3539 (gdb-memory-address): New variable which holds top address of
3540 memory page shown in memory buffer.
3541 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit): New
3542 customization variables.
3544 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
3545 display the memory buffer.
3546 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
3547 buffer display parameters.
3548 (def-gdb-memory-format, gdb-memory-format-binary)
3549 (gdb-memory-format-octal, gdb-memory-format-unsigned)
3550 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
3551 Functions for setting memory buffer format.
3552 (gdb-memory-unit-word, gdb-memory-unit-halfword)
3553 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
3554 unit size used in memory buffer.
3555 (gdb-memory-show-next-page, gdb-memory-show-previous-page): Switch
3556 to next/previous page of memory buffer.
3557 Now using (bindat-get-field) instead of fadr functions.
3559 2009-07-07 Sam Steingold <sds@gnu.org>
3561 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
3562 non-top-level files.
3564 2009-07-07 Kenichi Handa <handa@m17n.org>
3566 * international/mule-cmds.el (reset-language-environment): Put
3567 the highset priority to the charset iso-8859-1.
3569 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
3571 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
3572 to the end of the line when locating the block (Bug#700).
3574 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
3576 * net/tramp.el (tramp-handle-write-region): Flush file properties
3577 in case of short track.
3579 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
3581 * verilog-mode.el (verilog-error-regexp-emacs-alist): Coded custom
3582 representation of verilog error regular expressions to work with
3583 Emacs-22's new format.
3584 (verilog-error-regexp-xemacs-alist): Coded custom representation
3585 of verilog error regular expressions to work with XEmacs format.
3586 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
3587 error recognition into XEmacs.
3588 (verilog-error-regexp-add-emacs): Hook routine to install verilog
3589 error recognition into Emacs-22.
3591 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
3593 * woman.el: Remove stand-alone closing parentheses.
3594 (woman-file-name, woman2-format-paragraphs)
3595 (woman-leave-blank-lines): Code cleanup.
3596 (woman-use-own-frame): Change default to nil.
3597 (woman-italic, woman-bold, woman-unknown, woman-addition): Change
3598 defaults to inherit from default faces.
3599 (woman2-process-escapes): Consume the newline after a stand-alone
3600 filler character (Bug#3651).
3602 2009-07-06 Glenn Morris <rgm@gnu.org>
3604 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
3605 (top-level): Move provide to the end.
3606 (ffap): Remove defunct URL from custom group.
3608 * subr.el (eval-after-load): Doc fix.
3610 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
3612 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
3613 `calc-embedded-word' is called twice.
3615 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
3617 * files.el (find-alternate-file-other-window, find-alternate-file):
3618 Obey confirm-nonexistent-file-or-buffer.
3620 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
3622 * dired-aux.el (dired-show-file-type): Handle remote files.
3624 2009-07-05 Jari Aalto <jari.aalto@cante.net>
3626 * desktop.el (desktop-globals-to-save):
3627 Add file-name-history (Bug#2750).
3629 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
3631 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
3633 2009-07-04 Johan Bockgård <bojohan@gnu.org>
3635 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
3636 property on entire argument since this is what eshell-lisp-command
3639 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
3641 * net/tramp-gvfs.el (tramp-gvfs-methods)
3642 (tramp-gvfs-zeroconf-domain)
3643 (tramp-bluez-discover-devices-timeout): Add version flag.
3644 (tramp-gvfs-handler-mounted-unmounted)
3645 (tramp-gvfs-connection-mounted-p): Polish handling of
3646 incompatibilities between GVFS 0.2 and 1.0.
3648 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
3650 * cus-start.el (all): Add make-pointer-invisible.
3652 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
3654 * calc-math.el (math-use-emacs-fn): Make sure that the number is
3655 formatted correctly.
3657 2009-07-02 Juri Linkov <juri@jurta.org>
3659 * info.el: Virtual Info files and nodes.
3660 (Info-virtual-files, Info-virtual-nodes): New variables.
3661 (Info-current-node-virtual): New variable.
3662 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
3664 (Info-file-supports-index-cookies): Use Info-virtual-file-p
3665 to check for a virtual file instead of checking a fixed list
3667 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
3668 instead of ad-hoc processing of "dir" and (apropos history toc).
3669 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
3670 instead of ad-hoc processing of "dir" and (apropos history toc).
3671 Reread a file when moving from a virtual node.
3672 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
3673 (Info-directory-toc-nodes, Info-directory-find-file)
3674 (Info-directory-find-node): New functions.
3675 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
3676 (Info-history): Move part of code to
3677 `Info-history-find-node'.
3678 (Info-history-toc-nodes, Info-history-find-file)
3679 (Info-history-find-node): New functions.
3680 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
3681 (Info-toc): Move part of code to `Info-toc-find-node'.
3682 (Info-toc-find-node): New function.
3683 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
3684 the current Info file name to references because now the node
3685 "*TOC*" belongs to the same Info manual.
3686 (Info-toc-build): Rename from `Info-build-toc'.
3687 (Info-toc-nodes): Rename input argument `file' to `filename'.
3688 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
3689 instead of ad-hoc processing of ("dir" apropos history toc).
3690 (Info-index-nodes): Use Info-virtual-file-p
3691 to check for a virtual file instead of checking a fixed list
3693 (Info-index-node): Add check for `Info-current-node-virtual'.
3694 Raise `save-match-data' higher up the tree to contain
3695 `search-forward' too (bug fix).
3696 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
3697 (Info-virtual-index-nodes): New variable.
3698 (Info-virtual-index-find-node, Info-virtual-index): New functions.
3699 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
3700 (Info-apropos-file, Info-apropos-nodes): New variables.
3701 (Info-apropos-toc-nodes, Info-apropos-find-file)
3702 (Info-apropos-find-node, Info-apropos-matches): New functions.
3703 (info-apropos): Move part of code to `Info-apropos-find-node' and
3704 `Info-apropos-matches'.
3705 (Info-mode-map): Bind "I" to `Info-virtual-index'.
3706 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
3707 for a virtual file instead of checking a fixed list of node names.
3709 * simple.el (async-shell-command): New command.
3711 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
3713 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
3714 instead of `mount-info'.
3716 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
3718 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
3719 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
3721 2009-07-02 Kenichi Handa <handa@m17n.org>
3723 * international/mule.el (set-keyboard-coding-system): Force *-unix
3724 coding-system to avoid eol conversion.
3726 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
3728 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3729 Add handler for `process-file', `shell-command' and
3730 `start-file-process'.
3731 (tramp-gvfs-handle-shell-command)
3732 (tramp-gvfs-handle-start-file-process)
3733 (tramp-gvfs-handle-process-file): New defuns.
3734 (tramp-synce-list-devices): Simplify check for existence of property.
3736 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
3738 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
3740 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
3742 * language/korean.el (set-language-info-alist): Add korean-cp949,
3745 2009-07-01 Kenichi Handa <handa@m17n.org>
3747 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
3749 * international/encoded-kb.el: Deleted.
3751 * international/mule.el (set-keyboard-coding-system): Perform the
3752 necessary setup here instead of calling encoded-kbd-setup-display.
3754 2009-07-01 Glenn Morris <rgm@gnu.org>
3756 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
3758 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
3760 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
3762 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
3764 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
3765 Handle also the 'rename case, when setting file modes. (Bug#3712)
3766 (tramp-default-file-modes) Remove execute permissions.
3768 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
3769 (top): Add a default for "synce" in `tramp-default-user-alist'.
3770 Add completion function for "synce" method.
3771 (tramp-hal-service, tramp-hal-path-manager)
3772 (tramp-hal-interface-manager, tramp-hal-interface-device):
3774 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
3775 (tramp-synce-list-devices, tramp-synce-parse-device-names):
3778 * net/trampver.el: Update release number.
3780 2009-06-30 Kenichi Handa <handa@m17n.org>
3782 * international/fontset.el (setup-default-fontset): Add CJK fonts
3783 for symbols and the other miscellaneous characters.
3785 * language/korea-util.el (setup-korean-environment-internal):
3786 Make char-width-table suitable for Korean environments.
3787 (exit-korean-environment): Cancel above.
3789 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
3790 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
3791 setup-funcion to make char-widht-table suitable for respective
3792 environments, and an exit-function to cancel that.
3794 * language/japan-util.el (setup-japanese-environment-internal):
3795 Call use-cjk-char-width-table with arg `ja_JP'.
3797 * international/characters.el (cjk-char-width-table): Delete it.
3798 (cjk-char-width-table-list): New variable.
3799 (use-cjk-char-width-table): New arg local-name.
3800 (use-default-char-width-table): Fix for the case that Emacs is
3801 already using the default char-width-table.
3803 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
3805 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
3806 modes mandatory. (Bug#3712)
3808 2009-06-29 Alan Mackenzie <acm@muc.de>
3810 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
3811 correction between the visible width of TABs and their number of bytes.
3813 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
3815 * server.el (server-buffer-done): Prevent kill-buffer from
3816 prompting by clearing the buffer modification flag (Bug#3696).
3818 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
3820 * verilog-mode.el (verilog-beg-of-statement)
3821 (verilog-endcomment-reason-re): Support unique case and priority case.
3822 (verilog-basic-complete-re): Support localparam lineup.
3823 (verilog-beg-of-statement-1): Fix for robustness, unique case.
3824 (verilog-set-auto-endcomments): Fix for unique case, always_comb
3826 (verilog-leap-to-case-head): Now support *nested* unique &
3827 priority case statements.
3828 (verilog-auto-lineup): Make just declarations the default (as it
3830 (verilog-leap-to-case-head): Support priority/unique case statements.
3831 (verilog-auto-lineup): Rework to give users radio buttons to
3832 select the various styles of automatic lineup.
3833 (verilog-error-regexp-alist): Rework to support the XEmacs style
3834 of error regular expressions from compilers, lint tools &
3835 simulators. Note that GNU Emacs has made it impossible for a mode
3836 to load such things.
3837 (electric-verilog-terminate-line, verilog-indent-declaration)
3838 (verilog-auto-wiure): Rework for radio button selection of
3839 auto-lineup selection of specification of auto lineup.
3840 (verilog-beg-of-statement-1): Redesign to support proper operation
3841 in additional code, based on testing with auto-lineup.
3842 (verilog-calculate-indent, assignments & declarations)
3843 (verilog-backward-token): Enhance to support auto-lineup of
3844 assignments & declarations.
3845 (verilog-in-directive-p, verilog-at-struct-p): New function for
3846 easy test of whether we are.
3847 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
3848 to support safe execution at almost anyline.
3849 (verilog-calc-1): Properly support indenting deep inside generate
3851 (verilog-init-font) Remove definition & use of verilog-init-font,
3852 as it is redundant with font-lock-defaults.
3853 (verilog-mode): Alter the definition of verilog-font-lock-defualts
3854 to avoid circular calls if syntax-ppss is a function (as is the
3855 case now in 22.x GNU Emacs) as that function would sometimes call
3856 itself, leading to (nearly) infinite recursion.
3857 (verilog-ovm-begin-re, verilog-ovm-end-re)
3858 (verilog-ovm-statement-re, verilog-leap-to-head)
3859 (verilog-backward-token): Add support for OVM macros. Some are
3860 complete statements, and others open and close scopes like begin
3862 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
3863 (verilog-defun-level-generate-only-re): Really fix the defun-list
3865 (verilog-calc-1) (verilog-beg-of-statement): Enhance support for
3866 coverpoint, constraint and cross statements.
3867 (verilog-defun-level-list, verilog-generate-defun-level-list)
3868 (verilog-all-defun-level-list): Redo these specifications - it is
3869 too hard to support eval-when compile aggregation of lists also
3870 built at when-compile time.
3871 (verilog-defun-level-list): Place defconsts of variables used in
3872 building regular expressions which are built in eval-when-compile
3873 bodies in the same eval-when-compile body to facilitate compile
3875 (verilog-beg-block-re-ordered): Support indenting
3876 virtual/protected tasks and functions.
3877 (verilog-defun-level-list, verilog-in-generate-region-p)
3878 (verilog-backward-ws&directives, verilog-calc-1): Speed up
3879 indentation of some module items (generate items).
3880 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
3881 across virtual/protected tasks and functions.
3883 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
3885 * verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
3886 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
3887 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
3888 in concatenations. Reported by Yishay Belkind.
3889 (verilog-auto-ascii-enum): Support one-hot state machines in
3890 AUTOASCIIENUM. Suggested by Lloyd Gomez.
3891 (verilog-auto-inst, verilog-auto-inst-port): Include interface
3892 modport in AUTOINST and add vl-modport for users. Reported by
3894 (verilog-auto-inout-module, verilog-auto-inst)
3895 (verilog-decls-get-interfaces, verilog-insert-definition)
3896 (verilog-insert-one-definition, verilog-read-decls)
3897 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
3898 (verilog-sig-modport, verilog-signals-combine-bus)
3899 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
3900 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
3901 Suggested by David Rogoff.
3902 (verilog-repair-open-comma): Fix non-insertion of comma when
3903 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
3904 (verilog-make-width-expression): Simplify [A-1:0] expression
3905 widths to just {A{1'b0}}.
3906 (verilog-mode): Cleanup checkdoc warnings.
3907 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
3908 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
3909 inputs/outputs or data type. Suggested by Vasu Kandadi.
3910 (next-error-last-buffer): Fix byte-compiler warning.
3911 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
3912 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
3913 or shell command text during AUTO expansion. Suggested by Tad Truex.
3914 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
3915 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
3916 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
3917 in AUTOINOUT. Reported by Matthew Lovell.
3918 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
3919 causing use of <= assignments. Reported by Alex Reed.
3920 (verilog-read-decls): Fix triand, trior, wand, wor to be
3921 recognized by AUTOWIRE. Reported by Spencer Isaacson.
3922 (verilog-extended-complete-re): Support import "DPI-C" functions.
3923 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
3924 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
3925 (verilog-insert-date, verilog-insert-year)
3926 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
3927 Windows systems. Reported by Michael Potts.
3928 (verilog-read-module-name): Fix AUTOINST when the child module
3929 declaration's name is a tick define. Reported by Elliot Mednick.
3930 (verilog-read-decls): Fix V2K parameter bit subscripts getting
3931 passed to next parameter's definition. Reported by Bruce T.
3932 (verilog-read-decls): Fix detecting "parameter int" when using
3933 AUTOINSTPARAM. Reported by Bruce T.
3934 (verilog-goto-defun): Fix goto not finding modules unless first
3935 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
3936 (verilog-mode): Expand -f flag arguments on entry to mode so
3937 verilog-goto-defun will work. Reported by Lawrence Butcher.
3938 (verilog-getopt): Expand environment variables in -f file
3939 arguments. Suggested by Lawrence Butcher.
3940 (verilog-set-define): Fix "Symbol's value as variable is void"
3941 when reading enumerations.
3942 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
3943 Suggested by Stephen Peltan.
3944 (verilog-read-defines): Fix reading of enumerations in include
3945 files. Reported by Steve Peltan.
3947 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
3949 * files.el (trash-directory): Fix defcustom type.
3951 2009-06-28 Juri Linkov <juri@jurta.org>
3953 * help-fns.el (describe-function-1): Correctly locate adviced
3954 functions in hyperlink (Bug#2438).
3956 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
3958 * files.el (trash-directory): Change default to nil.
3959 (move-file-to-trash): If trash-directory is nil and
3960 system-move-file-to-trash is unbound, perform freedesktop-style
3963 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
3965 * files.el (move-file-to-trash): Add freedesktop trash
3968 2009-06-28 Glenn Morris <rgm@gnu.org>
3970 * autorevert.el (global-auto-revert-non-file-buffers)
3971 (global-auto-revert-mode): Doc fixes.
3973 2009-06-27 Johan Bockgård <bojohan@gnu.org>
3975 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
3977 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
3979 * faces.el (x-handle-named-frame-geometry): Ensure that we have
3980 opened an X connection before calling x-get-resource (Bug#3194).
3982 * play/doctor.el: Remove reference to obsolete website.
3983 (make-doctor-variables): Correct grammar mistake (Bug#2633).
3985 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
3987 Remove find-file-not-found-hook VC method. (Bug#2757)
3988 * vc-hooks.el (vc-file-not-found-hook)
3989 (vc-default-find-file-not-found-hook): Remove functions.
3990 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
3991 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
3994 * vc-git.el: Do not mention find-file-not-found-hook VC method.
3996 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
3998 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
3999 compatibility function for `looking-back'.
4001 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
4002 Use `ispell-looking-back'.
4004 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
4006 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
4007 rather than `filename'.
4009 2009-06-23 Miles Bader <miles@gnu.org>
4011 * face-remap.el (text-scale-set): New function.
4013 2009-06-23 Glenn Morris <rgm@gnu.org>
4015 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
4017 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
4019 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
4021 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
4023 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
4024 Simplify Persian conditionals.
4026 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
4027 variable `filename'.
4029 * comint.el (comint-insert-input): Doc fix.
4031 * Makefile.in (ELCFILES): Fix typo in previous change.
4033 2009-06-23 Miles Bader <miles@gnu.org>
4035 * cus-start.el: Add entry for `recenter-redisplay'.
4037 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
4039 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
4040 Add an optional argument for the backend, use it instead of
4042 (vc-mode-line): Add an optional argument for the backend.
4043 Pass the backend to vc-state and vc-working-revision. Move code for
4044 special handling for vc-state being a buffer to ...
4046 * vc-rcs.el (vc-rcs-find-file-hook):
4047 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
4049 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
4050 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
4051 vc-stay-local-p and vc-mode-line calls.
4053 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
4054 (vc-cvs-diff, vc-cvs-annotate-command)
4055 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
4056 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
4059 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
4061 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
4062 backend when calling vc-mode-line.
4063 (vc-register): Do not create a closure for calling the vc register
4064 function, call it directly.
4066 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
4068 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
4069 to make it obvious item can be clicked.
4071 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
4073 2009-06-23 Kenichi Handa <handa@m17n.org>
4075 * language/korea-util.el (korean-key-bindings): Change the binding
4076 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
4079 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
4081 Sync with Tramp 2.1.16.
4083 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
4085 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
4086 when a loading of a package fails. Completion function for rsync
4087 is `tramp-completion-function-alist-ssh'.
4088 (all): Replace all calls of `split-string' and
4089 `tramp-split-string' by `tramp-compat-split-string'.
4090 (tramp-default-method): Use `tramp-compat-process-running-p'.
4091 (tramp-default-proxies-alist): Allow also Lisp forms.
4092 (tramp-remote-path): Add choice "Private Directories".
4093 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
4094 (tramp-domain-regexp): Allow also "-", "_" and ".".
4095 (tramp-end-of-output): Remove newlines, and add "$" at the end.
4096 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
4097 (tramp-debug-message): Insert header line in debug buffer.
4098 (tramp-handle-directory-files-and-attributes-with-stat):
4099 Care about filenames with spaces, or starting with "-".
4100 (tramp-handle-dired-uncache): New defun.
4101 (tramp-handle-insert-directory): Don't flush the directory from
4102 cache, this is handled by `dired-uncache' now.
4103 (tramp-handle-insert-file-contents): Improve error handling.
4104 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4105 Quote `tramp-end-of-output'.
4106 (tramp-action-password): Improve trace message.
4107 (tramp-check-for-regexp): Both echoes must be present, before removing.
4108 (tramp-open-connection-setup-interactive-shell): Trace coding system.
4109 (tramp-compute-multi-hops): Eval cons cells of
4110 `tramp-default-proxies-alist'.
4111 (tramp-maybe-open-connection): Use the same command pattern for
4112 first hop and further hops.
4113 (tramp-wait-for-output): Remove handling of newlines.
4114 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
4115 (tramp-split-string): Remove function. It is handled in
4118 * net/tramp-cmds.el (tramp-bug):
4119 Recommend `tramp-cleanup-all-connections' in the bug mail.
4121 * net/tramp-compat.el (tramp-compat-split-string)
4122 (tramp-compat-process-running-p): New defuns.
4124 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
4125 for `dired-uncache'.
4127 * net/tramp-gvfs.el: New package.
4129 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4130 Add handler for `dired-uncache'.
4131 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
4133 * net/trampver.el: Update release number. Make version check fit
4136 2009-06-22 Jim Meyering <meyering@redhat.com>
4138 Automatically handle .xz suffix (XZ-compressed files), too.
4139 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
4140 XZ is the successor to LZMA: <http://tukaani.org/xz/>
4142 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
4143 Nick Roberts <nickrob@snap.net.nz>
4145 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
4146 repository (http://sphinx.net.ru/hg/gdb-mi/).
4148 2009-06-22 Glenn Morris <rgm@gnu.org>
4150 * files.el (dir-locals-collect-mode-variables): Allow for any number of
4151 `mode' and `eval' entries. (Bug#3430)
4153 * Makefile.in (ELCFILES): Add fadr.elc.
4155 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
4156 differing behavior of \n and ^ in strings. (Bug#3385)
4158 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
4160 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
4162 (lisp-indent-function): Make it a defcustom.
4164 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
4166 * progmodes/gdb-ui.el: Replace with ...
4167 * progmodes/gdb-mi.el: ... this file.
4168 * progmodes/gud.el: Modify for gdb-mi.el.
4170 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
4172 * fadr.el: New file.
4174 See ChangeLog.14 for earlier changes.
4180 Copyright (C) 2009 Free Software Foundation, Inc.
4182 This file is part of GNU Emacs.
4184 GNU Emacs is free software: you can redistribute it and/or modify
4185 it under the terms of the GNU General Public License as published by
4186 the Free Software Foundation, either version 3 of the License, or
4187 (at your option) any later version.
4189 GNU Emacs is distributed in the hope that it will be useful,
4190 but WITHOUT ANY WARRANTY; without even the implied warranty of
4191 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4192 GNU General Public License for more details.
4194 You should have received a copy of the GNU General Public License
4195 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
4197 ;; arch-tag: d3e45e38-19e2-49b6-8dc2-7cb26adcc5a1