1 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
3 * bs.el (bs--get-file-name): Use `list-buffers-directory'
4 when available, instead of hardcoding mode names. Doc fix.
6 * menu-bar.el (list-buffers-directory): Add docstring.
7 Make automatically buffer-local.
9 * dired.el (dired-mode):
10 * files.el (cd-absolute):
11 * pcvs.el (cvs-temp-buffer):
12 * pcvs-util.el (cvs-get-buffer-create):
13 * shell.el (shell-mode):
14 * vc-dir.el (vc-dir-mode):
15 Don't make `list-buffers-directory' buffer local.
17 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
19 * comint.el (comint-exec, comint-run, make-comint): Doc
22 2009-09-25 Glenn Morris <rgm@gnu.org>
24 * mail/rmailmm.el (rmail-mime): New custom group.
25 Move all defcustoms in this file into this group.
26 (rmail-mime-media-type-handlers-alist): Revert previous change.
27 (rmail-mime-show-images): New option.
28 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
29 references to it, since it wasn't actually used for anything.
30 (rmail-mime-insert-image): New function.
31 (rmail-mime-image): Use rmail-mime-insert-image.
32 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
33 obey the value of `rmail-mime-show-images' option. Print the size of
36 2009-09-25 David Engster <deng@randomsample.de>
38 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
40 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
42 * whitespace.el: Does not highlight trailing spaces While point is
43 at end of line. Does not highligt spaces at beginning of buffer
44 while point is at beginning of buffer. Does not highlight spaces
45 at end of buffer while point is at end of buffer. (Bug#4177)
47 (whitespace-display-mappings): Adjust initialization.
48 (whitespace-point, whitespace-font-lock-refontify): New vars.
49 (whitespace-color-on, whitespace-color-off): Adjust code.
50 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
51 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
52 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
54 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
56 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
58 * textmodes/sgml-mode.el: Remove xml-mode alias.
60 * files.el (auto-mode-alist, conf-mode-maybe)
61 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21
64 2009-09-24 Alan Mackenzie <acm@muc.de>
66 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
67 c-forward-conditionals, but it doesn't move point and doesn't set
69 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
70 (c-down-conditional-with-else, c-backward-conditional)
71 (c-forward-conditional): Refactor to use c-scan-conditionals.
73 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
75 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
76 (help-default-arg-highlight): Remove.
77 (help-highlight-arg): New function.
78 (help-do-arg-highlight): Use it.
79 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
81 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
83 * term.el (term-set-scroll-region, term-handle-ansi-escape):
84 Undo last change, which didn't fix the problem and introduced others.
86 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
88 * progmodes/gdb-mi.el: Don't require speedbar.
89 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
91 2009-09-24 Glenn Morris <rgm@gnu.org>
93 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
95 * term/ns-win.el (ns-reg-to-script): Define for compiler.
97 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
98 there is no newline after the final mime boundary. (Bug#4539)
99 Move markers on insertion so that any buttons inserted don't end up in
100 the next part of a multipart message.
101 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
102 (rmail-mime-bulk-handler): Optionally handle images.
103 (rmail-mime-image): New button action.
104 (rmail-mime-image-handler): New function.
105 (rmail-mime-mode): New mode.
106 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
108 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
110 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
111 than just dropping elements from it (bug#4504).
113 * term.el (term-set-scroll-region): Don't move cursor any more.
114 (term-handle-ansi-escape): Call term-goto here instead.
115 Suggested by Ivan Kanis <apple@kanis.eu>.
117 * term.el: Require CL.
118 (term-ansi-reset): New function.
119 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
120 (term-handle-colors-array): Simplify.
122 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
124 * allout.el (allout-overlay-interior-modification-handler)
125 (allout-obtain-passphrase):
126 * epa-file.el (epa-file-write-region):
127 * ps-print.el (ps-begin-job):
128 * vc-hooks.el (vc-toggle-read-only):
129 * vc-rcs.el (vc-rcs-rollback):
130 * vc-sccs.el (vc-sccs-rollback):
131 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
132 (vc-version-diff, vc-revert, vc-rollback):
133 * wdired.el (wdired-check-kill-buffer):
134 * emacs-lisp/authors.el (authors):
135 * net/socks.el (socks-open-connection):
136 * net/zeroconf.el (zeroconf-service-add-hook):
137 * obsolete/vc-mcvs.el (vc-mcvs-register):
138 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
140 * progmodes/grep.el (lgrep, rgrep):
141 * progmodes/idlw-help.el (idlwave-help-check-locations)
142 (idlwave-help-html-link, idlwave-help-assistant-open-link):
143 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
144 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
145 (reftex-toc-rename-label): Fix typos in error messages.
147 * dired-aux.el (dired-do-shell-command): Reflow docstring.
148 (dired-copy-how-to-fn): Doc fix.
149 (dired-files-attributes, dired-read-shell-command):
150 Fix typos in docstrings.
152 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
153 (dired-x-find-file-other-window): Reflow docstrings.
154 (dired-omit-marker-char, dired-read-shell-command)
155 (dired-x-submit-report): Fix typos in docstrings.
157 * shell.el (shell-mode-hook):
158 * view.el (View-scroll-line-forward):
159 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
160 Fix typos in docstrings.
162 * net/dig.el (dig-invoke): Fix typo in docstring.
163 (query-dig): Reflow docstring.
165 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
166 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
167 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
168 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
169 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
170 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
171 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
172 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
173 (idlwave-completion-map, idlwave-current-indent)
174 (idlwave-custom-ampersand-surround, idlwave-customize)
175 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
176 (idlwave-define-abbrev, idlwave-determine-class-special)
177 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
178 (idlwave-end-block-reg, idlwave-end-of-statement)
179 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
180 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
181 (idlwave-explicit-class-listed, idlwave-file-header)
182 (idlwave-fill-paragraph, idlwave-find-class-definition)
183 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
184 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
185 (idlwave-in-quote, idlwave-indent-action-table)
186 (idlwave-indent-expand-table, idlwave-indent-line)
187 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
188 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
189 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
190 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
191 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
192 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
193 (idlwave-outlawed-buffers, idlwave-popup-select)
194 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
195 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
196 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
197 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
198 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
199 (idlwave-statement-type, idlwave-struct-skip)
200 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
201 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
202 (idlwave-what-module-find-class): Fix typos in docstrings.
203 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
204 (idlwave-calculate-cont-indent, idlwave-expand-equal)
205 (idlwave-find-module, idlwave-find-structure-definition)
206 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
207 (idlwave-list-load-path-shadows, idlwave-next-statement)
208 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
209 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
210 (idlwave-template): Reflow docstrings.
212 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
213 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
214 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
215 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
216 (idlwave-shell-display-line, idlwave-shell-display-wframe)
217 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
218 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
219 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
220 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
221 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
222 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
223 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
224 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
225 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
226 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
227 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
228 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
229 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
230 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
231 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
232 Fix typos in docstrings.
233 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
234 (idlwave-shell-hide-output, idlwave-shell-mode)
235 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
238 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
240 2009-09-24 Ivan Kanis <apple@kanis.eu>
242 * term.el (term-bold-attribute): New var.
243 (term-handle-colors-array): Use it.
245 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
247 * progmodes/gdb-mi.el (gdb-version): New variable.
248 (gdb-non-stop-handler): Set gdb-version.
249 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
250 Condition "--thread" option on gdb-version.
251 (gdb-invalidate-threads): Remove unused argument.
253 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
255 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
256 to looking-back to avoid ridiculous slow down in large files (bug#4511).
258 2009-09-23 Glenn Morris <rgm@gnu.org>
260 * mail/rmail.el (rmail-reply): Don't try to add a References header when
261 replying to mail without References or Message-Id. (Bug#4525)
263 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
265 * term/ns-win.el (ns-reg-to-script): New variable.
267 2009-09-23 Daiki Ueno <ueno@unixuser.org>
269 * epg.el (epg-wait-for-status): Preserve existing 'error results.
271 2009-09-22 Sam Steingold <sds@gnu.org>
273 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
274 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
275 to 1 because hg returns status 1 when nothing is found.
276 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
278 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
280 * textmodes/fill.el: Convert to utf-8 encoding.
281 (fill-french-nobreak-p): Remove redundant » and « inherited from our
284 * add-log.el (change-log-fill-forward-paragraph): New function.
285 (change-log-mode): Use it so fill-region DTRT.
286 Set fill-indent-according-to-mode here rather than in
287 change-log-fill-paragraph.
288 (change-log-fill-paragraph): Remove.
290 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
292 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
293 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
295 2009-09-22 Glenn Morris <rgm@gnu.org>
297 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
298 the scroll-bar scroll the calendar window rather than the buffer.
300 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
301 commands that move point (as opposed to scrolling).
303 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
305 * emacs-lisp/elint.el (elint): New custom group.
306 (elint-log-buffer): Make it a defcustom.
307 (elint-scan-preloaded, elint-ignored-warnings)
308 (elint-directory-skip-re): New options.
309 (elint-builtin-variables): Doc fix.
310 (elint-preloaded-env): New variable.
311 (elint-unknown-builtin-args): Add an entry for encode-time.
312 (elint-extra-errors): Make it a variable rather than a constant.
313 (elint-preloaded-skip-re): New constant.
314 (elint-directory): Skip files matching elint-directory-skip-re.
315 (elint-features): New variable, local to linted buffers.
316 (elint-update-env): Initialize elint-features. Possibly add
317 elint-preloaded-env to the buffer's environment.
318 (elint-get-top-forms): Bind elint-current-pos, for log messages.
320 (elint-init-form): New function, extracted from elint-init-env.
321 Make non-list forms a warning rather than an error.
322 Add the mode-map for define-derived-mode. Handle define-minor-mode,
323 easy-menu-define, put that adds an error-condition, and provide.
324 When requiring cl, also require cl-macs. Really require cl, to handle
325 some cl macros. Store required libraries in the list elint-features,
326 so as not to re-load them. Treat cc-require like require.
327 (elint-init-env): Call elint-init-form to do the work.
328 Handle eval-and-compile and such like.
329 (elint-add-required-env): Do not clear messages.
330 (elint-special-forms): Add handlers for function, defalias, if, when,
332 (elint-form): Add optional argument to ignore elint-special-forms,
333 useful to prevent recursive calls from handlers. Doc fix.
334 Respect elint-ignored-warnings.
335 (elint-form): Respect elint-ignored-warnings.
336 (elint-bound-variable, elint-bound-function): New variables.
337 (elint-unbound-variable): Respect elint-bound-variable.
338 (elint-get-args): Respect elint-bound-function.
339 (elint-check-cond-form): Add some simple handling for (f)boundp and
341 (elint-check-defalias-form): New handler.
342 (elint-check-let-form): Make an empty let a warning rather than an
344 (elint-check-setq-form): Make an empty setq a warning rather than an
345 error. Respect elint-ignored-warnings.
346 (elint-check-defvar-form): Accept null doc-strings.
347 (elint-check-conditional-form): New handler. Does some simple-minded
348 checking of featurep and (f)boundp tests.
349 (elint-put-function-args): New function.
350 (elint-initialize): Use elint-scan-doc-file rather than
351 elint-find-builtin-variables. Use elint-put-function-args.
352 Possibly scan preloaded-file-list.
353 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
354 extend to handle functions as well.
356 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
358 * linum.el (linum-delete-overlays, linum-update-window):
359 Do not modify the right margin. (Bug#3971)
361 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
363 * files.el (conf-mode-maybe, magic-fallback-mode-alist): Use
364 nxml-mode instead of xml-mode.
366 2009-09-21 Kevin Ryde <user42@zip.com.au>
368 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
370 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
372 * net/dig.el (dig-mode): Use define-derived-mode.
374 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
376 * vc-dispatcher.el (vc-do-command): Return the process object in
377 the asynchronous case. Use when instead of if. Do not run
378 vc-exec-after to display a message if not enabled.
380 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
381 properties to the stash strings.
382 (vc-git-stash-list): Return a list of strings.
383 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
384 (vc-git-stash-show-at-point): New functions.
385 (vc-git-stash-map): New keymap.
387 * register.el (ctl-x-r-map): Define the keys here instead of
390 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
392 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
393 list, to workaround performance problem (bug#4485).
395 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
397 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
399 2009-09-20 Daiki Ueno <ueno@unixuser.org>
401 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
402 Document that this option is not recommended to use.
404 2009-09-19 Glenn Morris <rgm@gnu.org>
406 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
409 * calc/calc-alg.el (var):
410 * calc/calcalg2.el (var): Define for compiler.
412 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
414 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
417 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
419 * time-stamp.el (time-stamp-month-dd-yyyy)
420 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
421 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
422 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
423 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
424 Remove functions that have been obsolete since 1995 (Bug#4436).
426 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
427 indent buffer only if called interactively (Bug#4452).
429 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
430 Eli Zaretskii <eliz@gnu.org>
432 This fixes bug#4197 (merged to bug#865, though not identical).
433 * server.el (server-auth-dir): Add docstring note about FAT32.
434 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
435 but warn against using them.
437 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
439 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
440 older GDB where there is no has_more field.
442 2009-09-19 Glenn Morris <rgm@gnu.org>
444 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
446 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
448 * files.el (auto-mode-alist): Change default for XML files to nXML
451 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
453 * server.el (server-ensure-safe-dir): Pass 'integer
454 to `file-attributes', as suggested.
456 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
458 * dired-aux.el (dired-query-alist): Remove spurious backslash.
459 (dired-query): Use read-key.
461 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
463 * cus-start.el (ns-use-qd-smoothing): Remove.
465 2009-09-18 Glenn Morris <rgm@gnu.org>
467 * allout.el (top-level): Remove unnecessary progn.
469 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
471 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
472 definition of abbrev table.
474 * speedbar.el (speedbar-track-mouse):
475 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
476 * net/eudc.el (eudc-expand-inline):
477 * net/newst-backend.el (newsticker--cache-read-feed):
478 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
479 condition-case handlers.
481 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
483 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
484 (gdb-var-list): Add an element for has_more field.
485 (gdb-non-stop-handler): Enable pretty printing for STL containers.
486 (gdb-var-create-handler, gdb-var-list-children-handler-1)
487 (gdb-var-update-handler-1): Parse output of dynamic variable
488 objects (STL containers).
489 (gdb-var-delete-1): Pass var1 as an explicit second argument.
490 (gdb-get-field): Delete alias. Use bindat-get-field directly.
492 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
494 (gud-speedbar-buttons): Make node expandable if expression "has more"
497 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
499 * startup.el (emacs-quick-startup): Remove variable and all uses.
500 (command-line): Set `inhibit-x-resources' instead.
501 (command-line-1): Use `inhibit-x-resources' instead.
503 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
505 * subr.el: Fix last change to avoid using the `unless' macro,
506 which breaks bootstrapping.
508 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
510 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
511 extended definitions, in case we reload subr.el after having
513 (eval-next-after-load): Mark as obsolete.
515 2009-09-17 Juri Linkov <juri@jurta.org>
517 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
518 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
519 (menu-bar-showhide-menu, menu-bar-tools-menu)
520 (menu-bar-describe-menu, menu-bar-help-menu)
521 (minibuffer-local-completion-map, minibuffer-local-map):
524 2009-09-17 Glenn Morris <rgm@gnu.org>
526 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
527 arguments, whether or not it has a handler.
529 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
531 * simple.el (hard-newline): Give it a doc-string.
533 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
534 (lisp-mode-syntax-table): Give them doc-strings.
536 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
538 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
539 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
540 (menu-bar-options-menu, menu-bar-showhide-menu)
541 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
542 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
543 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
544 (menu-bar-options-menu, menu-bar-tools-menu)
545 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
546 (menu-bar-help-menu):
547 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
550 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
551 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
552 calls for the menu names and :help.
554 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
556 * mouse.el (minor-mode-menu-from-indicator): Pay attention
557 to :minor-mode-function (bug#4455).
559 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
561 * startup.el (command-line): Initialize the window-system after
562 processing the command-line.
564 * textmodes/page.el (what-page): Make sure we don't inf-loop if
565 page-delimiter matches the empty string.
567 2009-09-16 Glenn Morris <rgm@gnu.org>
569 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
570 byte-compile-not-obsolete-var. It's a list now.
571 (byte-compile-not-obsolete-funcs): New variable.
572 (byte-compile-warn-obsolete): Don't warn about functions if they are in
573 byte-compile-not-obsolete-funcs.
574 (byte-compile-variable-ref, byte-compile-defvar): Update for
575 byte-compile-not-obsolete-vars name-change and list nature.
576 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
577 and variables behind (f)boundp tests.
578 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
580 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
582 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
584 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
586 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
587 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
590 2009-09-15 Stephen Eglen <stephen@gnu.org>
592 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
593 the virtual-buffers, use the name of the buffer specified by
594 find-file-noselect, as the match may be a symlink. (This was a
595 problem if the target and the symlink had different names.)
597 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
599 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
601 * desktop.el (desktop-path): Check user-emacs-directory.
603 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
605 * loadup.el: Use after-load-functions to GC after loading each file.
606 Remove the explicit GC calls that used to be sprinkled around.
608 * subr.el (after-load-functions): New hook.
609 (do-after-load-evaluation): Run it. Use string-match-p to detect
610 `obsolete' packages, rather than painfully extracting the relevant
613 2009-09-15 Glenn Morris <rgm@gnu.org>
615 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
618 * dired.el (dired-mode-map): Add menu entry for async shell command.
620 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
621 variables, also consider the .elc files, since the .el files are
622 normally gzipped (subsequent code locates the .el.gz from the .elc).
624 * calc/calc-prog.el (arglist): Define for compiler.
626 * calendar/diary-lib.el (diary-display-function): Change the default to
628 (body): Define for compiler.
630 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
631 (byte-compile-file-form, byte-compile-lambda)
632 (byte-compile-top-level-body, byte-compile-form)
633 (byte-compile-variable-ref, byte-compile-setq)
634 (byte-compile-setq-default, byte-compile-body)
635 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
636 (batch-byte-compile): Give some more local variables with common names
637 a "bytecomp-" prefix to avoid masking warnings about free variables.
639 * startup.el (command-line-1): Give local variables with common names a
640 distinguishing prefix, so as not to hide free variable warnings during
643 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
644 clever and add a suffix to make a unique name, just let the user decide
645 whether or not to overwrite it. If the input is a directory, write the
646 default filename to that directory. (Bug#4388)
647 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
648 is a filename-as-a-directory.
650 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
652 * textmodes/page.el (what-page): Don't move to beginning of line.
653 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
655 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
657 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
659 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
661 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
662 * help.el (help-for-help-internal): Add purecopy calls for text.
664 * vc.el (top): print-log method now takes an optional SHORTLOG
665 argument. Add a new method: root.
666 (vc-root-diff, vc-print-root-log): New functions.
667 (vc-log-short-style): New variable.
668 (vc-print-log-internal): Add support for showing short logs.
670 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
671 vc-print-root-log and vc-print-root-diff.
673 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
674 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
675 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
678 * vc-cvs.el (vc-cvs-print-log):
679 * vc-mtn.el (vc-mtn-print-log):
680 * vc-rcs.el (vc-rcs-print-log):
681 * vc-sccs.el (vc-sccs-print-log):
682 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
683 that is ignored for now.
685 * vc-mtn.el (vc-mtn-annotate-command):
686 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
688 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
690 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
691 to function-key-map, and give them ascii-character property.
692 * term/x-win.el (x-alternatives-map):
693 * term/ns-win.el (ns-alternatives-map):
694 * term/internal.el (msdos-key-remapping-map):
695 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
697 2009-09-14 Glenn Morris <rgm@gnu.org>
699 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
700 temp-buffers (2009-09-12).
702 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
704 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
705 the new read-key function.
707 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
709 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
710 is defined (Bug#4405).
712 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
714 * recentf.el (recentf-cleanup): Use a hash table to find
715 duplicates (Bug#4407).
717 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
719 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
720 kp-0 to ascii equivalents (Bug#4325).
722 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
724 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
727 * eshell/em-dirs.el (eshell-complete-user-reference):
728 Declare pcomplete functions and variables to avoid compiler warnings.
730 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
732 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
733 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
734 * eshell/em-alias.el (eshell-aliases-file):
735 * eshell/em-hist.el (eshell-history-file-name):
736 Use expand-file-name instead of concat to make file names (Bug#4308).
738 2009-09-13 Glenn Morris <rgm@gnu.org>
740 * ediff-merg.el (ediff-do-merge):
741 * filesets.el (filesets-run-cmd):
742 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
743 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
744 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
745 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
746 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
747 Replace empty `let's with `progn'.
749 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
751 * mail/sendmail.el (send-mail-function):
752 * tooltip.el (tooltip-mode):
753 * simple.el (transient-mark-mode):
754 * rfn-eshadow.el (file-name-shadow-mode):
755 * frame.el (blink-cursor-mode):
756 * font-core.el (global-font-lock-mode):
757 * files.el (temporary-file-directory)
758 (small-temporary-file-directory, auto-save-file-name-transforms):
759 * epa-hook.el (auto-encryption-mode):
760 * composite.el (global-auto-composition-mode):
761 Use custom-initialize-delay.
762 * startup.el (command-line): Don't explicitly call
763 custom-reevaluate-setting for all the above vars.
764 * custom.el (custom-initialize-safe-set)
765 (custom-initialize-safe-default): Delete.
767 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
769 * term/x-win.el (x-initialize-window-system):
770 * term/w32-win.el (w32-initialize-window-system):
771 * term/ns-win.el (ns-initialize-window-system): Don't call
772 mouse-wheel-mode since it's enabled globally by default already.
774 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
775 actually define the variable, but only silences the byte-compiler.
776 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
777 before looking it up.
778 (mouse-wheel-scroll-amount): Also reset the bindings if this value
781 2009-09-12 Glenn Morris <rgm@gnu.org>
783 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
785 (elint-add-required-env): Don't beep on error.
786 (elint-forms): In case of error, return ENV unchanged.
787 (elint-init-env): Skip non-list forms.
788 (elint-log): Handle unknown file positions.
790 2009-09-12 Daiki Ueno <ueno@unixuser.org>
792 * epg.el (epg-make-context): Add autoload cookie.
793 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
794 (epg-decrypt-string, epg-start-verify, epg-verify-file)
795 (epg-verify-string, epg-start-sign, epg-sign-file)
796 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
797 (epg-encrypt-string, epg-start-export-keys)
798 (epg-export-keys-to-file, epg-export-keys-to-string)
799 (epg-start-import-keys, epg-import-keys-from-file)
800 (epg-import-keys-from-string, epg-start-receive-keys)
801 (epg-receive-keys, epg-import-keys-from-server)
802 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
803 (epg-sign-keys, epg-start-generate-key)
804 (epg-generate-key-from-file, epg-generate-key-from-string):
805 Remove autoload cookie.
807 2009-09-12 Eli Zaretskii <eliz@gnu.org>
809 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
810 reevaluation of trash-directory.
812 * mwheel.el: Fix last change.
813 (mouse-wheel-mode): New defvar.
814 (mouse-wheel-mode): Remove autoload cookie.
816 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
818 * mwheel.el (mwheel-installed-bindings): New var.
819 (mouse-wheel-mode): Use it, so as to make sure we really remove all
820 the bindings we set last time. Use custom-initialize-delay.
821 * loadup.el: Load mwheel after term/*-win.el.
822 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
823 and mouse-wheel-up-event now that their first evaluation is done
824 sufficiently late to be correct.
826 * startup.el (tutorial-directory): Make it a defcustom.
827 Use custom-initialize-delay rather than eval-at-startup to set it.
828 * image.el (image-load-path): Make it a defcustom.
829 Use custom-initialize-delay rather than eval-at-startup to set it.
830 * subr.el (eval-at-startup): Remove.
831 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
833 * subr.el (do-after-load-evaluation): Warn the user after loading an
836 2009-09-12 Glenn Morris <rgm@gnu.org>
838 * proced.el (proced-mark-alt): Remove alias.
839 (proced-mode-map): Remove proced-mark-alt.
841 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
842 Elint file and directory. Remove initialization entry.
844 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
846 (elint-current-buffer): Set mode-line-process.
847 (elint-init-env): Handle define-derived-mode.
848 Fix declare-function with unspecified arglist. Guard against odd
849 defalias statements (eg iso-insert's 8859-1-map).
850 (elint-add-required-env): Use a temp buffer.
851 (elint-form): Just print the function/macro name, not the whole form.
852 Return env unchanged if we fail to parse a macro.
853 (elint-forms): Guard against parse errors.
854 (elint-output): New function, to handle batch mode.
855 (elint-log-message): Add optional argument. Use elint-output.
856 (elint-set-mode-line): New function.
858 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
860 * emacs-lisp/elp.el (elp-not-profilable): Add more
861 functions (Bug#4233).
863 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
865 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
866 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
868 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
870 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
871 (gdb-var-list-children): Use json parsing.
873 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
875 * progmodes/js.el (js--proper-indentation): Handle the case where
876 char-before is null. Reported by Deniz Dogan.
878 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
880 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
882 2009-09-11 Daiki Ueno <ueno@unixuser.org>
884 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
885 (epg-digest-algorithm-alist): Add SHA224.
886 (epg-context-set-passphrase-callback)
887 (epg-context-set-progress-callback): Add description about
890 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
892 * custom.el (custom-delayed-init-variables): New var.
893 (custom-initialize-delay): New function.
894 * startup.el (command-line): "Re"evaluate all vars in
895 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
897 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
898 to avoid creating a ~/.emacs.d at build-time (bug#4347).
900 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
902 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
904 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
905 (gdb-var-update-handler): Use json parsing.
907 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
909 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
910 decode annotated text, regardless of language environment. (Bug#2741)
912 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
914 * Makefile.in (autoloads): Make rmail.el writable as well.
916 2009-09-11 Glenn Morris <rgm@gnu.org>
918 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
920 * dired.el: Regenerate with extracted autoloads.
921 * Makefile.in (autoloads): Make dired.el writable.
923 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
924 * ibuffer.el: Regenerate with extracted autoloads.
925 * Makefile.in (autoloads): Make ibuffer.el writable.
927 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
928 * version.el (emacs-copyright, emacs-major-version)
929 (emacs-minor-version): Reformat doc-strings for make-docfile.
931 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
932 functions and variables, since they must be stuff specific to some other
934 (apropos-print): Make mouse-click message less specific about button.
936 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
937 that records where a macro was defined.
938 * help-fns.el (describe-function-1): Mention if a function has a
940 * help-mode.el (help-function-cmacro): New button.
942 * locate.el (top-level): Always require dired.
943 (locate-mode-map): Initialize inside the defvar.
945 * net/ange-ftp.el (dired-compress-file): Declare.
946 (ange-ftp-dired-compress-file): Add doc string.
948 * term/ns-win.el (x-display-name, x-setup-function-keys):
949 Unify doc-strings with X versions.
951 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
953 * emulation/crisp.el (crisp-mode-map): Move initialization
955 (crisp-mode): Use define-minor-mode.
957 * progmodes/xscheme.el (xscheme-evaluation-commands):
958 Put a :advertised-binding property rather than using
959 advertised-xscheme-send-previous-expression.
960 (advertised-xscheme-send-previous-expression): Declare obsolete.
961 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
963 (crisp-mode): Add corresponding bindings to
964 undo's :advertised-binding instead.
965 * dired.el (dired-mode-map): Put a :advertised-binding property rather
966 than using dired-advertised-find-file.
967 (dired-advertised-find-file):
968 * simple.el (advertised-undo):
969 * wid-edit.el (advertised-widget-backward): Declare obsolete.
970 (widget-keymap): Put a :advertised-binding property rather
971 than using advertised-widget-backward.
972 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
973 than using advertised-undo.
974 * tutorial.el (tutorial--default-keys): Adjust accordingly.
976 2009-09-10 Simon South <ssouth@slowcomputing.org>
978 * progmodes/delphi.el (delphi-tab): Indent region when Transient
979 Mark mode is enabled and region is active; otherwise indent or
981 (delphi-mode): Update description of TAB-key binding.
983 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
985 * subr.el (define-key-rebound-commands): Mark obsolete.
986 * startup.el (precompute-menubar-bindings): Remove.
987 (normal-top-level): Remove obsolete code that tried to precompute
989 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
990 define-key-rebound-commands and precompute-menubar-bindings.
992 2009-09-10 Glenn Morris <rgm@gnu.org>
994 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
996 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
997 (byte-compile-file-form-autoload): Don't warn about unknown functions
998 where the autoload statement comes after the use.
999 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
1000 that any handlers inside the body (eg require) are in turn respected.
1002 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
1005 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
1006 and syntax and abbrev tables basic docs, if they don't have any.
1008 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
1010 * international/mule-cmds.el (top-level): Require cl when compiling.
1011 (view-hello-file): Use default-value rather than
1012 default-enable-multibyte-characters.
1014 * progmodes/fortran.el: Move all safe and risky properties into the
1017 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
1018 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
1020 Put autoloads in rmail.el rather than loaddefs.el.
1021 * mail/rmail.el: Regenerate with extracted autoloads.
1023 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
1024 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
1026 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
1028 Reported in thread for Bug#4375.
1029 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
1030 "-data-evaluate-expression" instead of print.
1031 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
1032 (gdb-tooltip-print): Parse output from above MI command.
1033 (gdb): Revert 2009-08-11 change. User should detach inferior
1036 Remove the word "separate" from IO functions as inferior
1037 output is now never displayed in the GUD buffer.
1039 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
1041 * startup.el (command-line-normalize-file-name): On Windows and
1042 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
1044 2009-09-10 Juri Linkov <juri@jurta.org>
1046 * isearch.el (isearch-text-char-description): Propertize escape
1047 character sequences with the `escape-glyph' face. (Bug#4344)
1049 * simple.el (shell-command): Set asynchronous process filter to
1050 `comint-output-filter'. (Bug#4343)
1052 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
1053 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
1054 the list. Move "asm" to the bottom.
1055 (grep-find-ignored-directories): Add `choice' with nil value
1056 to empty the list easily.
1057 (grep-find-ignored-files): New option.
1058 (grep-files-history): Set to nil by default instead of '("ch" "el").
1059 (grep-compute-defaults): Add "<X>" to `grep-template'.
1060 (grep-read-files): Bind new local variables `default-alias' and
1061 `default-extension'. Use a list of default values for the file prompt.
1062 (lgrep): Add `--exclude=' command line options composed from
1063 `grep-find-ignored-files'.
1064 (rgrep): Add `-name' command line options composed from
1065 `grep-find-ignored-files'. (Bug#4301)
1067 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
1069 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
1072 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
1074 * calendar/time-date.el (autoload):
1075 Expand define-obsolete-function-alias into defalias and make-obsolete
1076 for old Emacsen that Gnus supports.
1077 (with-no-warnings): Define it for old Emacsen.
1078 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
1080 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
1081 float-time is available; suppress compile warning for time-to-seconds.
1083 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
1085 * net/imap.el (imap-message-map): Docstring fix.
1087 2009-09-09 Glenn Morris <rgm@gnu.org>
1089 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
1090 line numbers too. (Bug#4374)
1092 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
1094 * smerge-mode.el (smerge-remove-props, smerge-refine):
1095 Use with-silent-modifications (bug#4342).
1097 * subr.el (with-silent-modifications): New macro.
1099 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
1101 * files.el (top-level): Require `cl' when compiling.
1103 2009-09-07 Glenn Morris <rgm@gnu.org>
1105 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
1107 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
1108 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
1110 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
1112 * vc-git.el (vc-git-annotate-command): Use separator to parse
1113 arguments correctly.
1115 2009-09-06 Eli Zaretskii <eliz@gnu.org>
1117 * proced.el (proced-mode): Doc fix.
1119 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
1121 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
1123 (tramp-do-file-attributes-with-ls): Check for file existence at
1125 (tramp-do-file-attributes-with-stat): Likewise.
1126 (tramp-convert-file-attributes): Return nil when attr is nil.
1128 2009-09-05 Glenn Morris <rgm@gnu.org>
1130 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
1131 properties to this button.
1132 (diary-fancy-display): Don't extend the button to the final newline.
1133 (diary-fancy-display-mode): Continue to define "q" as a local key.
1135 * calendar/cal-china.el (holiday-chinese): Make it slightly more
1138 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
1140 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
1141 (byte-compile-dest-file-function): New option.
1142 (byte-compile-dest-file): Doc fix.
1143 Obey byte-compile-dest-file-function.
1144 (byte-compile-cl-file-p): New function.
1145 (byte-compile-eval): Only suppress noruntime warnings about cl functions
1146 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
1147 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
1148 than for file being previously loaded.
1149 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
1150 (byte-compile-file-form-require): Handle the case where requiring a file
1151 indirectly causes CL to be loaded.
1153 2009-09-05 Karl Fogel <kfogel@red-bean.com>
1155 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
1156 before killing the old buffer, since by the time `kill-buffer' is
1157 run so many buffer variables have been set to nil that it may not
1158 behave as expected. (Bug#4061)
1160 2009-09-05 Karl Fogel <kfogel@red-bean.com>
1162 * files.el (find-alternate-file): If the old buffer is modified
1163 and visiting a file, behave similarly to `kill-buffer' when
1164 killing it, thus reverting to the pre-1.878 behavior; see
1165 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
1166 for discussion. Also, consult `buffer-file-name' as a variable
1167 not as a function, for consistency with the rest of the code.
1169 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
1171 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
1172 also when adding a new directory.
1174 * net/tramp-compat.el (tramp-compat-line-beginning-position): New
1177 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
1179 * files.el (locate-file-completion-table): Make it provide boundary
1180 information, so partial-completion works better.
1182 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
1184 * mail/footnote.el (Footnote-text-under-cursor):
1185 Check footnote-text-marker-alist before using it (bug#4324).
1187 2009-09-04 Glenn Morris <rgm@gnu.org>
1189 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
1190 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
1191 * play/solitaire.el, play/tetris.el:
1192 Remove leading * from defcustom and defface docs.
1194 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
1196 (diary-fancy-overriding-map): New variable.
1197 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
1200 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
1203 2009-09-03 Glenn Morris <rgm@gnu.org>
1205 * arc-mode.el (archive-mode):
1206 * dos-fns.el (set-default-process-coding-system):
1207 * man.el (Man-getpage-in-background):
1208 * menu-bar.el (menu-bar-describe-menu):
1209 * server.el (server-process-filter):
1210 * startup.el (command-line):
1211 * tar-mode.el (tar-header-block-tokenize, tar-extract):
1212 * w32-fns.el (set-default-process-coding-system):
1213 * x-dnd.el (x-dnd-handle-file-name):
1214 * international/mule-cmds.el (mule-menu-keymap)
1215 (set-default-coding-systems, language-info-alist, set-language-info)
1216 (set-language-environment, standard-display-european-internal)
1217 (set-locale-environment):
1218 * international/mule-diag.el (mule-diag):
1219 * mail/emacsbug.el (report-emacs-bug):
1220 * mail/rmail.el (rmail-mode):
1221 * mail/sendmail.el (mail-setup):
1222 Use default-value rather than default-enable-multibyte-characters.
1224 * progmodes/f90.el: Move all safe properties into the defcustoms.
1225 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
1227 * calendar/appt.el (appt-check):
1228 * calendar/diary-lib.el (diary-set-header, diary-live-p)
1229 (diary-check-diary-file, diary-list-entries)
1230 (diary-include-other-diary-files, diary-simple-display)
1231 (diary-fancy-display, diary-print-entries)
1232 (diary-mark-included-diary-files, diary-make-entry):
1233 Don't call substitute-in-file-name on diary-file.
1235 2009-09-03 Eduard Wiebe <usenet@pusto.de>
1236 Stefan Monnier <monnier@iro.umontreal.ca>
1238 * mail/footnote.el (footnote-prefix): Make it a defcustom.
1239 (footnote-mode-map): Move initialization into the declaration.
1240 (footnote-minor-mode-map): Define it rather than changing global-map.
1241 (footnote-mode): Use define-minor-mode.
1243 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
1245 * net/tramp.el (tramp-handle-file-attributes-with-ls)
1246 (tramp-do-file-attributes-with-perl)
1247 (tramp-do-file-attributes-with-stat): Rename from
1248 `tramp-handle-file-attributes-with-*'.
1249 (tramp-handle-file-attributes): Use them.
1250 (tramp-do-directory-files-and-attributes-with-perl)
1251 (tramp-do-directory-files-and-attributes-with-stat): Rename from
1252 `tramp-handle-directory-files-and-attributes-with-*'.
1253 (tramp-handle-directory-files-and-attributes): Use them.
1254 (tramp-method-out-of-band-p): Additional parameter SIZE.
1255 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
1256 (tramp-handle-write-region): Use it.
1257 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
1258 (tramp-handle-vc-registered): Check, whether the first run did
1259 return files to be tested.
1260 (tramp-advice-make-auto-save-file-name): Do not call directly
1261 `tramp-handle-make-auto-save-file-name', because this would bypass
1262 the locking mechanism.
1264 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
1265 (file-remote-p, process-file, start-file-process, set-file-times)
1266 (tramp-compat-file-attributes): Compatibility functions shall not
1267 call directly `tramp-handle-*', because this would bypass the
1269 (tramp-compat-number-sequence): New defun.
1271 2009-09-02 Glenn Morris <rgm@gnu.org>
1273 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
1274 alias for float-time.
1275 (time-to-number-of-days): In Emacs, use float-time.
1276 * net/newst-backend.el (time-add): Suppress warnings from compat
1278 * time.el (emacs-uptime, emacs-init-time):
1279 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
1280 Use float-time rather than time-to-seconds.
1282 * minibuffer.el (completion-initials-expand): Fix typo.
1284 * faces.el (modeline, modeline-inactive, modeline-highlight)
1285 (modeline-buffer-id):
1286 * info.el (info-menu-5): Mark these face aliases as obsolete.
1288 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
1290 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
1292 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
1293 no "--thread" option.
1294 (gdb-stopped): Don't print "Switched to thread" message when it is
1297 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
1299 * minibuffer.el (completion-try-completion)
1300 (completion-all-completions): Remove ill-defined (and
1301 mistakenly installed and luckily never used nor documented)
1302 `completion-styles' property.
1303 (completion-initials-expand, completion-initials-all-completions)
1304 (completion-initials-try-completion): New functions.
1305 (completion-styles-alist): Add doc to each entry.
1306 Add new `initials' entry.
1308 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
1310 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
1311 MI command -var-evaluate-expression.
1312 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
1313 and tweak for case of string child.
1314 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
1316 2009-09-01 Glenn Morris <rgm@gnu.org>
1318 * add-log.el (change-log-date-face, change-log-name-face)
1319 (change-log-email-face, change-log-file-face, change-log-list-face)
1320 (change-log-conditionals-face, change-log-function-face)
1321 (change-log-acknowledgement-face):
1322 * cus-edit.el (custom-invalid-face, custom-rogue-face)
1323 (custom-modified-face, custom-set-face, custom-changed-face)
1324 (custom-saved-face, custom-button-face, custom-button-pressed-face)
1325 (custom-documentation-face, custom-state-face, custom-comment-face)
1326 (custom-comment-tag-face, custom-variable-tag-face)
1327 (custom-variable-button-face, custom-face-tag-face)
1328 (custom-group-tag-face-1, custom-group-tag-face):
1329 * diff-mode.el (diff-header-face, diff-file-header-face)
1330 (diff-index-face, diff-hunk-header-face, diff-removed-face)
1331 (diff-added-face, diff-changed-face, diff-function-face)
1332 (diff-context-face, diff-nonexistent-face):
1333 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
1334 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
1335 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
1336 (Info-title-4-face):
1337 * isearch.el (isearch-lazy-highlight-face):
1338 * log-view.el (log-view-file-face, log-view-message-face):
1339 * paren.el (show-paren-match-face, show-paren-mismatch-face):
1340 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
1341 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
1343 * smerge-mode.el (smerge-mine-face, smerge-other-face)
1344 (smerge-base-face, smerge-markers-face):
1345 * wid-edit.el (widget-documentation-face, widget-button-face)
1346 (widget-field-face, widget-single-line-field-face)
1347 (widget-inactive-face, widget-button-pressed-face):
1348 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
1349 (woman-addition-face):
1350 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
1351 (eshell-ls-executable-face, eshell-ls-readonly-face)
1352 (eshell-ls-unreadable-face, eshell-ls-special-face)
1353 (eshell-ls-missing-face, eshell-ls-archive-face)
1354 (eshell-ls-backup-face, eshell-ls-product-face)
1355 (eshell-ls-clutter-face):
1356 * eshell/em-prompt.el (eshell-prompt-face):
1357 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
1358 * obsolete/old-whitespace.el (whitespace-highlight-face):
1359 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
1360 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
1361 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
1362 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
1363 (antlr-font-lock-literal-face):
1364 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
1365 (ebrowse-root-class-face, ebrowse-file-name-face)
1366 (ebrowse-default-face, ebrowse-member-attribute-face)
1367 (ebrowse-member-class-face, ebrowse-progress-face):
1368 * progmodes/make-mode.el (makefile-space-face):
1369 * progmodes/sh-script.el (sh-heredoc-face):
1370 * textmodes/flyspell.el (flyspell-incorrect-face)
1371 (flyspell-duplicate-face):
1372 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
1373 * textmodes/texinfo.el (texinfo-heading-face):
1374 Mark face aliases with "-face" suffix as obsolete.
1376 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
1379 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
1380 (eudc-bob-sound-menu): Use defvar rather than defconst, since
1381 easy-menu-define wants to modify these.
1383 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
1385 * net/browse-url.el (browse-url-file-url):
1386 * term/internal.el (dos-codepage-setup):
1387 Use default-value rather than default-enable-multibyte-characters.
1389 * progmodes/etags.el (etags-goto-tag-location):
1390 * progmodes/flymake.el (flymake-highlight-line)
1391 (flymake-goto-file-and-line, flymake-goto-line):
1392 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
1393 (gdb-goto-breakpoint):
1394 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
1395 * progmodes/python.el (python-find-function)
1396 (python-pdbtrack-track-stack-file):
1397 * progmodes/verilog-mode.el (verilog-surelint-off):
1398 * term/ns-win.el (ns-open-file-select-line):
1399 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
1400 Use forward-line rather than goto-line.
1402 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
1403 * textmodes/reftex-index.el (reftex-display-index):
1404 * textmodes/reftex-ref.el (reftex-offer-label-menu):
1405 * textmodes/reftex-toc.el (reftex-toc):
1406 Remove unnecessary bindings of default-major-mode (all are followed by
1407 major-mode check and possible mode switch).
1409 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
1411 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1412 Handle watchpoints (bug#4282).
1413 (def-gdb-thread-buffer-command): Enable thread to be selected by
1414 clicking without selecting threads buffer first.
1415 (gdb-current-context-command): Use selected frame so that "up",
1416 "down" etc work in the GUD buffer.
1417 (gdb-update): Find selected frame before rendering stack buffer.
1418 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
1420 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
1422 * progmodes/sym-comp.el (displayed-completions): Remove.
1423 (symbol-complete): Use minibuffer-complete.
1425 2009-08-31 Glenn Morris <rgm@gnu.org>
1427 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
1429 * apropos.el (apropos-symbols-internal):
1430 Handle (obsolete) face aliases.
1432 * faces.el (describe-face): Adjust the output format to be more like
1433 describe-variable, and to mention (obsolete) face aliases.
1434 Adjust the whitespace so that help-setup-xref works.
1436 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
1437 * calendar/diary-lib.el (diary-button-face):
1438 Mark these face aliases as obsolete.
1440 * calendar/calendar.el (calendar-today): Doc fix.
1442 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
1444 * progmodes/gdb-mi.el (gdb-control-all-threads)
1445 (gdb-control-current-thread): Force tool bar update.
1446 (gdb-non-stop-handler): New function.
1447 (gdb-init-1): Use it to test if non-stop mode is supported.
1448 Remove unused gdbmi buffer type.
1450 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
1452 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
1453 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
1455 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
1457 * comint.el (comint-exec-1): Check command is non-null first.
1458 Part of gdb-mi.el change (2009-08-28).
1460 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
1462 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
1464 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
1466 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
1467 instead of `dolist' to avoid a recursive require when bootstrapping.
1469 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
1471 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
1473 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
1475 * net/imap.el (imap-send-command): Simplify.
1476 (imap-wait-for-tag): point-max -> buffer-size.
1478 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
1480 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
1481 with constant argument.
1483 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
1485 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
1487 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
1488 Change default, since most of our files don't have a history.
1489 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
1492 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1495 * calc/calc.el: Improve commenting convention.
1496 (calc-digit-map, toplevel): Simplify.
1498 * comint.el (comint-insert-input): Be careful to only set point if we
1499 don't delegate to some other command.
1501 * proced.el (proced-signal-list): Make it an alist.
1502 (proced-grammar-alist): Capitalize names.
1503 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
1504 Disable undo manually and make it read-only.
1505 Use completion-annotate-function.
1507 * minibuffer.el (minibuffer-message): If the current buffer is not
1508 a minibuffer, insert the message in the echo area rather than at the
1510 (completion-annotate-function): New variable.
1511 (minibuffer-completion-help): Use it.
1512 (completion--embedded-envvar-table): Environment vars are
1513 always case-sensitive.
1515 2009-08-30 Glenn Morris <rgm@gnu.org>
1517 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
1518 from fortran-current-defun.
1519 (fortran-beginning-of-subprogram): Be more precise about finding the
1520 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
1521 (fortran-end-of-subprogram): Simplify.
1522 (fortran-current-defun): Use fortran-start-prog-re.
1524 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
1526 * subr.el (do-after-load-evaluation): Simplify.
1528 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
1530 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
1532 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
1533 (vc-rcs-print-log): Use it.
1535 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
1537 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
1539 * paths.el (abbrev-file-name): Move to abbrev.el.
1540 * abbrev.el (abbrev-file-name): Move from paths.el.
1541 Obey user-emacs-directory.
1542 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
1543 user-emacs-directory.
1544 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
1545 abbrev-file-name and calc-settings-file any more.
1546 * startup.el (command-line): Recompute abbrev-file-name and
1547 abbreviated-home-dir.
1548 (normal-no-mouse-startup-screen): Improve the generic code and get rid
1549 of the special code for when C-h bindings haven't been changed.
1550 (display-startup-echo-area-message): Use with-current-buffer.
1551 (command-line-1): Use a list of strings, rather than a list of lists
1552 of strings for longopts.
1554 * files.el (get-free-disk-space): Use / for default-directory.
1556 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
1557 Use with-current-buffer.
1559 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
1560 Recognize immutable variables like most-positive-fixnum.
1561 (byte-compile-setq-default): Check and warn if trying to assign
1562 to an immutable variable, or a non-variable.
1564 * progmodes/cc-vars.el (c-comment-continuation-stars):
1565 * progmodes/cc-engine.el (c-looking-at-bos):
1566 * progmodes/cc-cmds.el (c-toggle-auto-state)
1567 (c-forward-into-nomenclature, c-backward-into-nomenclature)
1568 (c-comment-line-break-function): Add version of obsolescence.
1570 2009-08-28 Juri Linkov <juri@jurta.org>
1572 * files.el (magic-fallback-mode-alist): Add ZIP magic number
1573 associated with `archive-mode'.
1575 * image.el (image-type-header-regexps): Use only JPEG magic number
1576 to determine JPEG images, and don't use `image-jpeg-p' because
1577 Emacs can display non-JFIF non-Exif JPEG images.
1579 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
1581 * arc-mode.el (archive-mode):
1582 * emacs-lisp/re-builder.el (re-builder-unload-function):
1583 Protect against the default value of `major-mode' being nil.
1585 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
1587 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
1588 Fix typos in docstrings.
1590 * progmodes/js.el (js--macro-decl-re): Doc fix.
1591 (js--plain-method-re, js--split-name): Refloc docstring.
1592 (js--class-styles, js--make-merged-item, js--splice-into-items):
1593 Fix typos in docstrings; reflow docstrings.
1594 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
1595 (js--variable-decl-matcher, js--inside-pitem-p)
1596 (js--parse-state-at-point, js--get-all-known-symbols)
1597 (js--symbol-history, js-find-symbol, js--js-references)
1598 (js--moz-interactor, js--js-encode-value, js--read-tab):
1599 Fix typos in docstrings.
1601 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1603 * textmodes/reftex.el (reftex-get-file-buffer-force):
1604 * progmodes/verilog-mode.el (verilog-batch-execute-func):
1605 * emulation/viper.el (viper-go-away, viper-set-hooks):
1606 * emacs-lisp/re-builder.el (re-builder-unload-function):
1607 * emacs-lisp/bytecomp.el (byte-compile-file):
1608 * ses.el (ses-unload-function):
1609 * hexl.el (hexl-find-file):
1610 * files.el (normal-mode):
1611 * ehelp.el (with-electric-help):
1612 * autoinsert.el (auto-insert-alist):
1613 * arc-mode.el (archive-mode):
1614 Use (default-value 'major-mode) instead of default-major-mode.
1616 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
1617 * international/mule.el (load-with-code-conversion):
1618 * emacs-lisp/debug.el (debug):
1619 * ediff-vers.el (ediff-rcs-get-output-buffer):
1620 * dired.el (dired-internal-noselect): Don't let-bind
1621 default-major-mode around code that doesn't use it.
1622 E.g. buffer creation via get-buffer-create doesn't use it.
1624 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
1626 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
1627 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
1628 when writing the temp file. Otherwise, epa-file gets confused.
1629 (tramp-register-file-name-handlers): Make it a defun. Move also
1630 `epa-file-handler' to the front of `file-name-handler-alist'.
1632 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1634 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
1635 start right after a ^M.
1636 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
1637 (tramp-completion-file-name-regexp-separate)
1638 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
1639 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
1640 Don't modify last-coding-system-used by accident.
1641 (tramp-completion-file-name-handler): Apply the checks here,
1642 instead during registration.
1643 (tramp-register-file-name-handlers) Renamed from
1644 `tramp-register-file-name-handler'. Register both
1645 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
1646 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
1648 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
1650 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
1652 (gdb-init-1, gdb-display-separate-io-buffer)
1653 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
1655 (gdb-inferior-io-mode): Use make-comint-in-buffer.
1656 (gdb-inferior-filter): Use comint-output-filter to stop
1657 echoing and remove ^M characters.
1659 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1661 * emulation/viper-init.el (viper-restore-cursor-type):
1662 * emulation/cua-base.el (cua--update-indications):
1663 Replace default-cursor-type with (default-value 'cursor-type).
1665 * mail/sendmail.el (mail-recover-1):
1666 * international/mule-diag.el (describe-current-coding-system-briefly)
1667 (describe-current-coding-system):
1668 * international/mule-cmds.el (select-safe-coding-system)
1669 (select-message-coding-system)
1670 (set-language-environment-coding-systems, set-locale-environment):
1671 * hexl.el (hexl-insert-multibyte-char):
1672 * dos-w32.el (find-buffer-file-type-coding-system):
1673 * simple.el (what-cursor-position):
1674 Replace uses of default-buffer-file-coding-system
1675 with (default-value 'buffer-file-coding-system).
1677 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
1678 Replace uses of default-cursor-in-non-selected-windows
1679 with (default-value 'cursor-in-non-selected-windows).
1680 Use with-current-buffer.
1682 * mail/feedmail.el: Use CL macros.
1683 (feedmail-run-the-queue, feedmail-send-it-immediately):
1684 * dos-w32.el (find-buffer-file-type): Replace uses of
1685 default-buffer-file-type with (default-value 'buffer-file-type).
1687 2009-08-28 Glenn Morris <rgm@gnu.org>
1689 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
1690 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
1691 Use default-value of major-mode rather than default-major-mode.
1693 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
1695 * Makefile.in (update-elcfiles): Report left over elc files.
1697 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
1698 expand-file-name and with-current-buffer.
1699 (mail-get-names, mail-directory): Use with-current-buffer.
1701 * vc.el (vc-read-revision): New function.
1702 (vc-version-diff, vc-merge): Use it.
1704 2009-08-27 Sam Steingold <sds@gnu.org>
1706 * simple.el (kill-do-not-save-duplicates): New user option.
1707 (kill-new): When it is non-nil, and the new string is the same as
1708 the latest kill, set replace to t to avoid duplicates in kill-ring.
1710 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
1712 * net/tramp.el (tramp-handle-process-file): Do not flush all
1713 caches when `process-file-side-effects' is set.
1714 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
1715 instead of `tramp-find-file-exists-command'.
1716 Unset `process-file-side-effects'.
1718 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
1720 * net/tramp.el (tramp-methods): New method "rsyncc".
1721 (top): Add completion function for "rsyncc".
1722 (tramp-message-show-message): New defvar.
1723 (tramp-message, tramp-error): Use it.
1724 (tramp-do-copy-or-rename-file-directly): Extend check for direct
1726 (tramp-do-copy-or-rename-file-out-of-band): Handle new
1727 `tramp-methods' entry `copy-env' of "rsyncc".
1728 (tramp-vc-registered-read-file-names): New defconst.
1729 (tramp-vc-registered-file-names): New defvar.
1730 (tramp-handle-vc-registered): Implement optimization strategy.
1731 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
1732 (tramp-vc-file-name-handler): New defun.
1733 (tramp-get-ls-command, tramp-get-test-command)
1734 (tramp-get-file-exists-command, tramp-get-remote-ln)
1735 (tramp-get-remote-perl, tramp-get-remote-stat)
1736 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
1738 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
1739 (tramp-cache-inhibit-cache): Extend doc string. It allows also
1741 (tramp-get-file-property): Check for timestamps in
1742 `tramp-cache-inhibit-cache'.
1743 (tramp-set-file-property): Write timestamp.
1745 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
1747 * language/japan-util.el (japanese-symbol-table): Add entries for
1750 * international/characters.el: Add category `j' to cp932-2-byte.
1752 2009-08-27 Kenichi Handa <handa@m17n.org>
1754 * international/fontset.el (build-default-fontset-data): New macro.
1755 (setup-default-fontset): Use build-default-fontset-data for CJK,
1756 tibetan, ethiopic, and ipa.
1758 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
1760 * cus-start.el (default-major-mode): Customize `major-mode' instead.
1761 (enable-multibyte-characters): Not customizable any more.
1763 * subr.el (default-mode-line-format, default-header-line-format)
1764 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
1765 (default-direction-reversed, default-truncate-lines)
1766 (default-left-margin, default-tab-width, default-case-fold-search)
1767 (default-left-margin-width, default-right-margin-width)
1768 (default-left-fringe-width, default-right-fringe-width)
1769 (default-fringes-outside-margins, default-scroll-bar-width)
1770 (default-vertical-scroll-bar, default-indicate-empty-lines)
1771 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
1772 (default-fringe-cursor-alist, default-scroll-up-aggressively)
1773 (default-scroll-down-aggressively, default-fill-column)
1774 (default-cursor-type, default-buffer-file-type)
1775 (default-cursor-in-non-selected-windows)
1776 (default-buffer-file-coding-system, default-major-mode)
1777 (default-enable-multibyte-characters): Mark as obsolete.
1779 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
1781 * vc-dir.el (vc-dir-update): Remove debug helper.
1783 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
1785 2009-08-26 Sam Steingold <sds@gnu.org>
1787 * simple.el (save-interprogram-paste-before-kill): New user option.
1788 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
1789 save the interprogram-paste into kill-ring before overriding it
1790 with the Emacs kill.
1792 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
1794 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
1795 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
1796 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
1797 and move to vc-rcs.el.
1798 (vc-default-next-revision): Rename to vc-rcs-next-revision and
1800 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
1801 (vc-rcs-update-changelog): Remove.
1802 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
1803 and move to vc-rcs.el.
1805 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
1806 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
1808 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
1809 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
1810 vc.el, renamed to be RCS specific.
1812 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
1814 (vc-cvs-update-changelog): Move here from vc.el.
1816 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
1819 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
1821 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
1823 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
1825 * vc-git.el (vc-git-register): Use "git add" for directories.
1826 (vc-git-stash, vc-git-stash-show): New functions.
1827 (vc-git-extra-menu-map): Bind them.
1829 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
1830 directory correctly in case the item is a directory itself.
1832 * vc.el: Document the desired behavior for reverted files in the
1834 (vc-default-prettify-state-info): Remove function, unused.
1836 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
1838 2009-08-26 Glenn Morris <rgm@gnu.org>
1840 * bindings.el (standard-mode-line-format): Reposition dashes in
1841 which-func entry. (Bug#4217)
1843 * files.el (enable-local-variables, enable-local-eval)
1844 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
1846 (auto-mode-alist, ignored-local-variables)
1847 (save-some-buffers-action-alist): Move risky declarations to the
1849 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
1850 (font-lock-defaults, format-alist, imenu--index-alist)
1851 (imenu-generic-expression, input-method-alist, minor-mode-alist)
1852 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
1853 (mode-line-modified, mode-line-mule-info, mode-line-position)
1854 (mode-line-process, mode-line-remote, outline-level)
1855 (parse-time-rules, rmail-output-file-alist)
1856 (special-display-buffer-names, vc-mode):
1857 Move risky declarations to the relevant files.
1858 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
1859 (mode-line-modified, mode-line-process, mode-line-position)
1860 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
1861 * font-core.el (font-lock-defaults):
1862 * format.el (format-alist):
1863 * vc-hooks.el (vc-mode):
1864 * window.el (special-display-buffer-names):
1865 * international/mule-cmds.el (input-method-alist):
1866 Define riskiness here (dumped file) rather than in files.el.
1867 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
1868 * imenu.el (imenu-generic-expression, imenu--index-alist):
1869 * outline.el (outline-level):
1870 * time.el (display-time-string):
1871 * calendar/parse-time.el (parse-time-rules):
1872 * mail/rmailout.el (rmail-output-file-alist):
1873 Autoload riskiness here, rather than placing in files.el.
1875 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
1877 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
1879 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
1881 * simple.el (process-file-side-effects): New defvar.
1883 * dired-aux.el (dired-show-file-type):
1884 * vc.el (vc-diff-internal):
1885 * vc-arch.el (vc-arch-diff):
1886 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
1887 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
1888 * vc-git.el (vc-git-registered, vc-git-working-revision)
1889 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
1890 (vc-git--empty-db-p):
1891 * vc-hooks.el (vc-user-login-name):
1892 * vc-svn.el (vc-svn-registered, vc-svn-state)
1893 (vc-svn-dir-extra-headers, vc-svn-find-revision):
1894 * progmodes/grep.el (grep-probe): Let-bind
1895 `process-file-side-effects' with nil.
1897 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
1899 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
1900 daemon. Replace ping by checking for running service for bluez
1901 and zeroconf. (Bug#4239)
1903 2009-08-25 Kevin Ryde <user42@zip.com.au>
1905 * net/dig.el (dig): Add autoload cookie.
1907 2009-08-25 Glenn Morris <rgm@gnu.org>
1909 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
1910 load-history for absolute file-names.
1911 (byte-compile-file-form-require): Warn about use of the cl package.
1913 * format.el (format-alist): Doc fix.
1915 * play/bubbles.el (top-level): Don't require cl at run-time.
1917 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
1920 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
1922 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
1924 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
1926 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
1928 * calc/calc-alg.el (math-trig-rewrite)
1929 (math-hyperbolic-trig-rewrite): New functions.
1930 (calc-simplify): Simplify trig functions when asked.
1932 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
1934 * diff-mode.el (diff-find-source-location): Avoid goto-line.
1936 2009-08-24 Kenichi Handa <handa@m17n.org>
1938 * language/ind-util.el (mapthread): Delete it.
1939 (combinatorial): New function.
1940 (indian--puthash-cv): Use combinatorial instead of mapthread.
1942 2009-08-22 Kevin Ryde <user42@zip.com.au>
1944 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
1945 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
1946 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
1947 Clarify docstring that the value is strings not symbols.
1948 (checkdoc-list-of-strings-p): New function.
1950 2009-08-22 Glenn Morris <rgm@gnu.org>
1952 * files.el (auto-mode-alist):
1953 * hippie-exp.el (he-concat-directory-file-name):
1954 * lpr.el (lpr-windows-system, printer-name):
1955 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
1956 * ps-print.el (ps-windows-system):
1957 * startup.el (command-line):
1958 * emulation/viper-ex.el (viper-glob-function):
1959 * international/mule-cmds.el (set-language-environment-coding-systems):
1960 * net/ange-ftp.el (ange-ftp-write-region):
1961 * obsolete/fast-lock.el (fast-lock-cache-name):
1962 Remove code for defunct system-types emx, macos, mswindows, next-mach,
1963 unisoft-unix, vax-vms, win32, w32.
1965 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
1966 given name if the pattern is not more specific.
1968 * calendar/lunar.el (lunar-phase-names): New option.
1969 (lunar-phase): Doc fix.
1970 (lunar-cycles-per-year): New constant.
1971 (lunar-index): New function.
1972 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
1973 (lunar-phase-name): Use lunar-phase-names.
1974 (calendar-lunar-phases): Use format.
1975 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
1977 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
1978 Copy imenu-example--name-and-position function here for own use.
1979 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
1981 * bs.el (bs--redisplay):
1982 * cus-edit.el (custom-redraw):
1983 * ibuffer.el (ibuffer-bury-buffer):
1984 * server.el (server-goto-line-column):
1985 * startup.el (command-line-1):
1986 * strokes.el (strokes-xpm-for-stroke):
1987 * term.el (term-display-buffer-line):
1988 * view.el (View-goto-line):
1989 * calc/calc.el (calc-do, calc-trail-buffer):
1990 * play/gamegrid.el (gamegrid-add-score-insecure):
1991 * progmodes/ada-mode.el (ada-compile-goto-error):
1992 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
1993 (ebrowse-select-1st-to-9nth):
1994 * progmodes/cperl-mode.el (cperl-time-fontification):
1995 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
1996 * progmodes/gud.el (gud-display-line):
1997 (idlwave-shell-display-line):
1998 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
1999 * progmodes/make-mode.el (makefile-browser-toggle):
2000 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
2001 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
2002 * textmodes/picture.el (picture-draw-rectangle):
2003 * textmodes/reftex-index.el (reftex-index-goto-letter):
2004 (reftex-select-jump-to-previous):
2005 * textmodes/reftex-sel.el (reftex-find-start-point)
2006 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
2007 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
2008 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
2009 * textmodes/tex-mode.el (tex-compilation-parse-errors):
2010 * textmodes/two-column.el (2C-associated-buffer):
2011 Use forward-line rather than goto-line.
2013 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
2016 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
2017 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
2018 (quick-check-list-to-regexp): Declare.
2020 * progmodes/make-mode.el (makefile-browser-insert-selection):
2021 Use goto-char rather than goto-line.
2023 * progmodes/prolog.el (compilation-error-regexp-alist)
2024 (compilation-forget-errors): Declare.
2026 2009-08-22 Juri Linkov <juri@jurta.org>
2028 * progmodes/grep.el (lgrep, rgrep): At the beginning
2029 set `dir' to `default-directory' unless `dir' is a non-nil
2030 readable directory. (Bug#4052)
2031 (lgrep, rgrep): Change a weird way to report an error
2032 from using `read-string' to using `error'.
2033 Instead of using interactive arguments in the function body,
2034 add new argument `confirm'.
2036 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
2038 * textmodes/remember.el (remember-buffer):
2039 * progmodes/cperl-mode.el (cperl-vc-header-alist):
2040 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
2041 (icalendar-extract-ical-from-buffer):
2042 * net/newst-treeview.el (newsticker-groups-filename):
2043 * net/newst-backend.el (newsticker-cache-filename):
2044 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
2045 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
2046 (speedbar-add-ignored-path-regexp, speedbar-line-path)
2047 (speedbar-buffers-line-path, speedbar-path-line)
2048 (speedbar-buffers-line-path):
2049 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
2051 * epa.el (epa-display-verify-result):
2052 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
2054 2009-08-21 Glenn Morris <rgm@gnu.org>
2056 * progmodes/js.el (inferior-moz-process): Fix declaration.
2058 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
2060 * obsolete/rnewspost.el (news-mail-reply):
2061 Use goto-char rather than goto-line.
2063 * term/ns-win.el (ns-open-file-select-line):
2064 Use line-beginning-position rather than goto-line.
2066 * apropos.el (apropos-command):
2067 * ehelp.el (electric-helpify):
2068 * printing.el (pr-show-setup):
2069 * strokes.el (strokes-help):
2070 * tutorial.el (tutorial--describe-nonstandard-key)
2071 (tutorial--detailed-help):
2072 * woman.el (woman-mini-help, woman-display-extended-fonts):
2073 * calc/calc-help.el (calc-describe-key):
2074 * emulation/edt.el (edt-electric-helpify):
2075 * international/mule-diag.el (mule-diag):
2076 * play/yow.el (apropos-zippy):
2077 * progmodes/python.el (python-describe-symbol):
2078 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
2079 * textmodes/table.el (*table--cell-describe-mode)
2080 (*table--cell-describe-bindings):
2081 Use help-print-return-message rather than the now obsolete alias.
2083 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
2084 (calendar-cursor-to-visible-date):
2085 * play/5x5.el (5x5-position-cursor):
2086 * play/decipher.el (decipher):
2087 * play/gomoku.el (gomoku-goto-xy):
2088 * play/landmark.el (lm-goto-xy):
2089 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
2091 Use forward-line, not goto-line.
2093 * mail/rmail.el (rmail-obsolete): Delete custom group.
2094 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
2095 (rmail-remote-password, rmail-remote-password-required):
2096 Remove unneeded :set-after and :set properties.
2098 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
2100 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
2102 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
2104 * loadup.el: Remove leftover macos code.
2106 * vc-git.el (vc-git-annotate-command): Run asynchronously.
2107 Explicitly pass the date format to git blame so that user local
2108 so that the output format can be parsed.
2110 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
2112 * net/dbus.el (top): Don't check for (getenv
2113 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
2115 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
2117 * log-edit.el (log-edit-strip-single-file-name): New var.
2118 (log-edit-insert-changelog): Use it. Bug#3571
2120 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
2122 * subr.el (read-passwd): Use read-key so keypad keys work as well.
2125 * help.el (help-print-return-message): Rename from
2126 print-help-return-message.
2128 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
2129 cvs-mode-map parent hack.
2130 (log-view-mode): Derive from special-mode.
2132 * linum.el (linum-mode): window-size-change-functions is redundant.
2133 Adapt to new window-configuration-change-hook behavior.
2134 (linum-after-size, linum-after-config): Remove.
2136 * imenu.el (imenu-example--name-and-position)
2137 (imenu-example--lisp-extract-index-name)
2138 (imenu-example--create-lisp-index, imenu-example--create-c-index):
2141 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
2142 (inferior-prolog-mode): Use it.
2143 (inferior-prolog-load-file): Reset list of errors.
2145 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
2147 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
2149 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
2151 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
2153 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
2156 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
2158 * subr.el (listify-key-sequence-1): Use normal syntax since those
2159 integers are nowadays always represented by the same (positive) number
2161 (read-key-empty-map): New const.
2162 (read-key-delay): New var.
2163 (read-key): New function.
2164 (force-mode-line-update): Use with-current-buffer.
2165 (locate-user-emacs-file): Don't forget to abbreviate the file name.
2166 (start-process-shell-command, start-file-process-shell-command):
2167 Discourage the use of command-args.
2169 2009-08-19 Glenn Morris <rgm@gnu.org>
2171 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
2173 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
2175 * simple.el (choose-completion-string): Don't rely on
2176 minibuffer-completing-file-name and ad-hoc checks to decide whether
2177 to continue completion or not.
2179 * minibuffer.el (minibuffer-hide-completions): New function.
2180 (completion--do-completion): Use it.
2181 (completions-annotations): New face.
2182 (completion--insert-strings): Use it.
2183 (completion-pcm--delim-wild-regex): Add docstring.
2184 (completion-pcm--string->pattern): Add support for 0-width delimiters
2185 in completion-pcm--delim-wild-regex.
2187 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
2189 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
2190 Remove unused var `buffer-modified-p'.
2192 * minibuffer.el (completion--do-completion): Move point for the #b001
2193 case as well (bug#4176).
2194 (minibuffer-complete, minibuffer-complete-word): Don't move point.
2196 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
2198 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
2201 2009-08-18 Kenichi Handa <handa@m17n.org>
2203 * international/ucs-normalize.el (ucs-normalize-version):
2205 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
2206 (utf-8-hfs): Make it perform normalization on encoding too.
2208 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
2209 (sentence-end-without-space): Delete duplicated chars.
2210 (sentence-end-base): Likewise.
2212 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
2213 (html-mode): Delete duplicated chars from sentence-end-base.
2215 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
2216 (texinfo-mode): Delete duplicated chars from sentence-end-base.
2218 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
2220 * files.el (hack-one-local-variable): If the mode function is for
2221 a minor mode, pass it an argument (Bug#4148).
2223 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
2225 * net/tramp.el (tramp-register-completion-file-name-handler):
2226 Check also for (member 'partial-completion completion-styles).
2228 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
2230 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
2233 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
2235 * progmodes/cperl-mode.el: Merge upstream 6.2.
2236 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
2237 (cperl-forward-re): Check cperl-brace-recursing.
2238 (cperl-highlight-charclass): New function.
2239 (cperl-find-pods-heres): Use it.
2240 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
2241 (cperl-beautify-regexp-piece): Fix column calculation.
2242 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
2243 (cperl-beautify-level): Don't process entire regexp.
2244 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
2246 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
2247 (cperl-init-faces): Build a list in the normal way.
2249 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
2251 * calendar/parse-time.el (parse-time-string-chars): Save match
2254 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
2256 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
2257 (sql-product): Use it.
2258 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
2259 (sql-set-product): Add completion.
2260 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
2261 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
2262 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
2263 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
2264 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
2265 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
2266 (sql-highlight-db2-keywords): Remove.
2267 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
2268 (sql-highlight-product): Use derived-mode-p.
2269 (sql-set-sqli-buffer): Use with-current-buffer.
2270 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
2273 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
2275 * term.el: Fix commenting convention, turn comments into docstrings.
2277 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
2279 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
2281 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
2283 * calendar/parse-time.el (parse-time-string-chars): Compute using
2284 character classes, to handle non-ascii characters (Bug#3190).
2286 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
2288 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
2289 another heredoc if the user adds another < (Bug#3226).
2291 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
2292 Don't initialize based on window-system (Bug#4124).
2294 * facemenu.el (facemenu-read-color): Use a completion function
2295 that accepts any defined color, such as RGB triplets (Bug#3677).
2297 * files.el (get-free-disk-space): Change fallback default
2298 directory to /. Expand DIR argument before switching to fallback.
2299 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
2301 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
2303 * files.el (load-library): Doc fix.
2305 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
2307 * viper-cmd.el (viper-insert-isearch-string): New function.
2308 (viper-if-string): Redefine C-s in the minibuffer to insert the last
2309 incremental search string.
2311 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
2314 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
2315 (ediff-merge-region-is-non-clash)
2316 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
2317 Also check if the job is really a merge job.
2319 * ediff.el (ediff-current-file): New function.
2321 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
2323 * progmodes/js.el: Edit docstrings throughout to follow Emacs
2325 (js-insert-and-indent): Delete function.
2326 (js-mode-map): Don't bind keys to js-insert-and-indent.
2327 (js-beginning-of-defun): Rename from js--beginning-of-defun.
2328 (js-end-of-defun): Rename from js--end-of-defun.
2329 (js-auto-indent-flag): Delete variable.
2331 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
2333 * progmodes/js.el: Remove proclaim statement.
2334 Defvar which-func-imenu-joiner-function to silence compiler.
2336 * files.el (auto-mode-alist): Use js-mode for .js files.
2338 * progmodes/js2-mode.el: Remove file.
2340 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
2342 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
2344 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
2346 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
2347 Karl Landstrom <karl.landstrom@brgeight.se>
2349 * progmodes/js.el: New file.
2351 2009-08-14 Mark A. Hershberger <mah@everybody.org>
2353 * timezone.el (timezone-parse-date): Add ability to understand ISO
2354 basic format (minimal separators) dates in addition to the
2355 already-supported extended format dates.
2357 2009-08-14 Eli Zaretskii <eliz@gnu.org>
2359 * international/ucs-normalize.el: Add a `coding' file variable.
2361 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
2363 2009-08-14 Sam Steingold <sds@gnu.org>
2365 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
2367 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
2369 * faces.el (help-argument-name): Define it here instead of
2370 help-fns.el, because in daemon mode help-fns.el may be loaded when
2371 faces are still uninitialized (Bug#1078).
2373 * help-fns.el (help-argument-name): Move defface to faces.el.
2375 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
2377 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
2378 create buffer with a pty but no process so that GDB can make the
2379 inferior the controlling process.
2381 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
2383 * international/ucs-normalize.el: New file.
2385 2009-08-13 Richard Stallman <rms@gnu.org>
2387 * mail/rmail.el (rmail-get-attr-names):
2388 Accept an attribute header that is too short.
2390 * mail/rmail.el (rmail-forget-messages):
2391 Ignore nil elt in rmail-message-vector. Use dotimes.
2393 * progmodes/compile.el (compilation-goto-locus):
2394 Use next-error-move-function.
2396 * simple.el (next-error-move-function): New variable.
2398 2009-08-12 Juri Linkov <juri@jurta.org>
2400 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
2401 always non-nil. (Bug#4052)
2403 * replace.el (read-regexp): Return empty string when
2404 `default-value' is nil.
2405 (keep-lines-read-args): Don't use empty string as the
2406 default value for `read-regexp'. (Bug#2495)
2408 2009-08-12 Juri Linkov <juri@jurta.org>
2410 * international/mule-cmds.el (ucs-insert): Change arguments
2411 from `arg' to `character', `count', `inherit' to be the same
2412 as in `insert-char'. Doc fix. (Bug#4039)
2414 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
2416 2009-08-12 Juri Linkov <juri@jurta.org>
2418 * files-x.el: New file.
2420 * files.el: Move code that deals with adding/deleting
2421 file/directory-local variables to files-x.el.
2423 * Makefile.in (ELCFILES): Add files-x.elc.
2425 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
2427 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
2429 (gdb-place-breakpoints, gdb-get-location): Rewritten without
2431 (gdb-invalidate-disassembly): Do not refresh upon receiving
2432 'update signal. Instead, update all disassembly buffers only after
2434 (gdb): Send -target-detach when buffer is killed (Bug#3794).
2435 (gdb-starting): Moved -data-list-register-names...
2436 (gdb-stopped): ...here so it's sent when first thread stops.
2437 (gdb-registers-handler-custom): Do nothing if register names are
2440 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
2441 from `gdb-mi.el' to avoid extra tangling.
2443 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
2444 change which breaks `gud-def' definitions used in `gdb'.
2445 (gdb-update-gud-running): No extra fuss for updating frame number.
2447 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2449 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
2450 (describe-language-environment-map, setup-language-environment-map)
2451 (set-coding-system-map): Move initialization into declaration.
2452 (set-language-info-alist): Last arg to define-key-after can be skipped.
2454 * international/quail.el (quail-completion-1): Simplify.
2455 (quail-define-rules): Use slightly more compact code.
2456 (quail-insert-decode-map): Propertize keys, compact columns.
2458 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2461 2009-08-10 Miles Bader <miles@gnu.org>
2463 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
2464 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
2465 (js2-instance-member, js2-private-member, js2-private-function-call)
2466 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
2467 (js2-magic-paren, js2-external-variable):
2468 Remove "-face" suffix from face names.
2469 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
2470 (js2-highlight-undeclared-vars, js2-peek-token)
2471 (js2-parse-function-params, js2-mode-show-errors)
2472 (js2-mode-show-warnings, js2-make-magic-delimiter)
2473 (js2-mode-highlight-magic-parens): Update to use new face names.
2475 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
2477 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
2478 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
2480 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
2482 * subr.el: Provide hashtable-print-readable.
2484 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
2485 hs-c-like-adjust-block-beginning.
2486 (hs-hide-block-at-point): Stop hiding at the beginning of
2487 hs-block-end-regexp (Bug#700).
2489 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
2491 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
2493 (gdb-registers-handler-custom): Do not fail when register names
2496 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
2498 * progmodes/gdb-mi.el (gdb-control-all-threads)
2499 (gdb-control-current-thread): Interactive setters for
2500 `gdb-gud-control-all-threads' to use in menu.
2501 (gdb-show-run-p): Show «Go» when process is not active.
2502 (gud-tool-bar-map): Add non-stop/A,T indicator. Uses
2503 gud/thread.xpm and gud/all.xpm.
2505 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
2507 * net/net-utils.el (net-utils-font-lock-keywords): New var.
2508 (nslookup-font-lock-keywords): Make it a variable.
2509 (net-utils-mode): New mode for viewing diagnostic network output.
2510 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
2511 (net-utils-run-simple): New function.
2512 (ifconfig, iwconfig, netstat, arp, route): Use it.
2514 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
2516 * progmodes/gdb-mi.el (gdb-read-memory-custom)
2517 (gdb-memory-set-address, def-gdb-set-positive-number)
2518 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
2519 after changing settings.
2520 (gdb-invalidate-disassembly): Update when first shown.
2521 (gdb-edit-locals-value): Fixed.
2522 (gdb-registers-handler-custom): Print registers in right order and
2523 allow changing register values (only for current thread yet).
2524 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
2525 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
2526 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
2527 (gdb-locals-handler-custom, gdb-registers-handler-custom): Thread
2529 (gdb-registers-mode-map): TAB to switch to locals.
2531 2009-08-08 Eli Zaretskii <eliz@gnu.org>
2533 * mail/rmail.el (rmail-add-mbox-headers)
2534 (rmail-set-message-counters-counter): Search for
2535 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
2537 2009-08-08 Glenn Morris <rgm@gnu.org>
2539 * Makefile.in (ELCFILES): Update.
2541 2009-08-07 Eli Zaretskii <eliz@gnu.org>
2543 * mail/sendmail.el (mail-yank-original): Set
2544 buffer-file-coding-system from the one used by the message whose
2547 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
2548 to "windows" when "pgnuplot" is used.
2549 (calc-graph-command, calc-gnuplot-command, calc-graph-init): Don't
2550 call accept-process-output if "pgnuplot" is used.
2551 (calc-graph-init): Don't send -display and -geometry to
2552 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
2553 running "pgnuplot -V" with shell-command-to-string.
2555 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
2558 2009-08-07 Eli Zaretskii <eliz@gnu.org>
2560 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
2563 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
2565 * vc-dispatcher.el (vc-resynch-window): Update comment.
2567 * term.el (term-handle-ansi-escape): Add comments with the
2568 terminfo capabilities implemented.
2570 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
2572 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
2573 (gdb-var-create-handler): Rewritten using JSON parser.
2574 (gdb-propertize-header): Moved earlier.
2575 (gdb-set-header): Removed to avoid duplication.
2576 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
2577 Refresh disassembly buffers only after threads list have been
2579 (gdb-threads-header, gdb-registers-header): Per-buffer header line
2582 2009-08-04 Juri Linkov <juri@jurta.org>
2584 * files.el: Commands to add/delete file/directory-local variables.
2585 (read-file-local-variable, read-file-local-variable-value)
2586 (read-file-local-variable-mode, modify-file-local-variable)
2587 (modify-file-local-variable-prop-line)
2588 (modify-dir-local-variable): New functions.
2589 (add-file-local-variable, delete-file-local-variable)
2590 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
2591 (add-dir-local-variable, delete-dir-local-variable)
2592 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
2593 (copy-dir-locals-to-file-locals-prop-line): New commands.
2595 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
2597 * abbrev.el (insert-abbrev-table-description): Prettify output.
2598 Suggested by Karl Chen.
2600 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
2602 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
2603 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
2604 (gdb-overlay-arrow-position, gdb-thread-position)
2605 (gdb-disassembly-position): Declare variables.
2606 (gdb-wait-for-pending): Function now.
2607 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
2608 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
2609 compilation goes smoothly.
2610 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
2611 (gdb-non-stop-setting): New customization setting which replaces
2612 `gdb-non-stop' so changing it doesn't break active GDB session.
2613 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
2614 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
2615 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
2616 (gdb-show-threads-by-default): New customization options.
2617 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
2619 (gdb-get-buffer-create): Send buffers update signal when they are
2621 (gdb-invalidate-locals, gdb-invalidate-registers)
2622 (gdb-invalidate-breakpoints)
2623 (gdb-invalidate-threads, gdb-invalidate-disassembly)
2624 (gdb-invalidate-memory): Accept update signal.
2625 (gdb-current-context-command): Use --frame option.
2626 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
2627 Implement `gdb-frame-number' selection logic.
2628 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
2629 whether to show GUD toolbar buttons.
2630 (gdb-thread-exited): Unselect current thread when it exits.
2631 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
2632 (gdb-mark-line): Routine which sets overlay arrow or inverses
2633 video on fringeless displays.
2634 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
2635 to build aligned columns of data in GDB buffers and set text
2636 properties line-by-line.
2637 (gdb-invalidate-breakpoints)
2638 (gdb-breakpoints-list-handler-custom)
2639 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
2640 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
2641 (gdb-registers-handler-custom): Align data columns.
2642 (gdb-locals-handler-custom): Now prints data like in variable
2644 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
2645 Removed confusing buttons.
2646 (gdb-invalidate-threads): Append --frame.
2647 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
2648 between breakpoints/threads buffers.
2649 (gdb-set-window-buffer): Now can ignore dedicated windows.
2650 (gdb-propertize-header): Use `gdb-set-window-buffer'.
2651 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
2652 (def-gdb-thread-buffer-gud-command): Replaces
2653 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
2654 for fine thread control.
2655 (gdb-preempt-existing-or-display-buffer): New function used to
2656 display bound buffers without breaking window layout.
2657 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
2658 (gdb-select-frame): New version of `gdb-frames-select' which now
2659 sets `gdb-frame-number' so commands may use --frame option instead
2660 of inner debugger state.
2661 (gdb-frame-handler): Do not set `gdb-frame-number'.
2662 (gdb-threads-mode-map): Select threads with mouse.
2664 * progmodes/gud.el (gdb-gud-context-call): Declare function to
2665 avoid compilation warning.
2666 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
2669 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
2670 Argument `key' renamed to `buffer-type'.
2671 (gdb-current-context-buffer-name): Do not add thread info to
2672 buffer name when no thread is selected.
2673 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
2675 (gdb-thread-selected): Handle `=thread-selected' notification.
2676 (gdb-wait-for-pending): New macro to deal with congestion problems.
2677 (gdb-breakpoints-list-handler-custom): Don't fail on pending
2679 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
2680 This fixes problem similar to one described in bug 3947.
2681 (gud-menu-map): More menu items.
2682 (gdb-init-1): Reset `gdb-thread-number' to nil.
2684 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
2687 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
2688 (gdb-current-context-command): Do not append --thread if
2689 `gdb-thread-number' is nil.
2690 (gdb-running-threads-count, gdb-stopped-threads-count): New
2692 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
2693 (gdb-stopped-hooks, gdb-switch-when-another-stopped): New
2694 customization options.
2695 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
2697 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
2698 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
2699 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
2700 set `gdb-thread-number' and update `gud-running' properly.
2701 (gdb-running): Update threads list when new threads appear.
2702 (gdb-stopped): Support non-stop operation and new thread switching
2704 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
2705 (gdb-json-partial-output): New set of JSON routines.
2706 (def-gdb-auto-update-trigger): New `signal-list' optional
2708 (gdb-thread-list-handler-custom): Update `gud-running',
2709 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
2710 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
2711 (gdb-continue-thread, gdb-step-thread): New commands for fine
2712 thread execution control.
2713 (gud-menu-map): New menu items to switch non-stop options.
2714 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
2715 (gdb-send): Mimic RET properly (bug 3794).
2717 * progmodes/gdb-mi.el (gdb-rules-name-maker)
2718 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
2720 (def-gdb-auto-update-handler): New nopreserve optional argument.
2721 (gdb-stack-list-frames-custom): Print stack from top to bottom.
2723 * progmodes/gdb-mi.el (gdb-pc-address): Removed unused variable.
2724 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
2725 (gdb-parent-mode): New mode to derive other GDB modes from.
2726 (gdb-display-disassembly-for-thread)
2727 (gdb-frame-disassembly-for-thread): New commands for threads
2730 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
2731 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
2732 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
2733 (gdb-update): We now store all GDB buffers in a list so that they
2734 can be updated by traversing a list instead of calling invalidate
2735 triggers explicitly.
2736 (def-gdb-trigger-and-handler): New macro to define trigger-handler
2737 pair for GDB buffer.
2738 (gdb-stack-buffer-name): Add thread information.
2739 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
2740 handle pending triggers.
2741 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
2742 (def-gdb-thread-buffer-simple-command)
2743 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
2744 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
2745 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
2746 New commands which show buffers bound to thread.
2747 (gdb-stack-list-locals-regexp): Removed unused regexp.
2749 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
2750 (gdb-locals-buffer-name, gdb-registers-buffer-name)
2751 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
2752 to (gud-comint-buffer) in *-buffer-name functions
2753 because (gdb-get-target-string) already does that.
2754 (gdb-locals-handler-custom, gdb-registers-handler-custom)
2755 (gdb-changed-registers-handler): Rewritten without regexps.
2757 * progmodes/gdb-mi.el Basic thread selection support.
2758 (gdb-thread-number): New variable.
2759 (gdb-current-context-command): New macro which adds --thread
2761 (gdb-threads-mode-map): Select thread with SPC.
2762 (gdb-thread-list-handler-custom): Mark current thread with overlay
2763 arrow. Synchronize GDB thread and Emacs thread.
2764 (gdb-select-thread): New command which selects current thread.
2765 (gdb-invalidate-frames, gdb-invalidate-locals)
2766 (gdb-invalidate-registers): Use --thread option.
2768 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
2770 * net/tramp.el (top): Make check for tramp-gvfs loading more
2772 (tramp-handle-insert-file-contents): `unwind-protect' must be
2773 inside `with-parsed-tramp-file-name'.
2775 * net/tramp-gvfs.el (top): Remove superfluous message when loading
2778 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
2780 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
2781 directory if CLASSPATH is not set.
2783 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
2785 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
2787 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
2789 2009-08-02 Kevin Ryde <user42@zip.com.au>
2791 * net/newst-backend.el (newsticker--raw-url-list-defaults):
2792 Update freshmeat link. Delete newsforge.com as it seems gone.
2794 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
2796 * select.el (x-set-selection): Doc fix (Bug#4021).
2798 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
2800 * help-fns.el (describe-variable): Treat list return values from
2801 dir-locals-find-file properly (Bug#4005).
2803 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
2805 * net/tramp.el (tramp-debug-message): Print also microseconds.
2807 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
2809 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
2811 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
2812 (tramp-get-debug-buffer): Change `outline-regexp' according to new
2815 * net/tramp-cache.el (tramp-cache-inhibit-cache ): New defvar.
2816 (tramp-get-file-property): Use it.
2818 * autorevert.el (auto-revert-handler): Allow
2819 `auto-revert-tail-mode' for remote files.
2821 2009-08-02 Jason Rumney <jasonr@gnu.org>
2823 * minibuffer.el (read-file-name): Treat confirm options to
2824 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
2826 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
2828 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
2829 (font-lock-variable-name-face, font-lock-constant-face): Darken
2830 the colors for light backgrounds.
2832 2009-08-01 Eli Zaretskii <eliz@gnu.org>
2834 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
2835 month names. (Bug#3987)
2837 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
2839 * simple.el (line-move-finish): Pass whole number to
2840 line-move-to-column.
2841 (line-move-visual): Perform hscroll to the recorded position.
2843 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
2845 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
2847 2009-07-29 Alan Mackenzie <acm@muc.de>
2849 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
2851 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
2853 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
2854 (gdb-place-breakpoints): Use full path when setting breakpoints.
2856 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
2858 * calc/calc.el (calc-mode-map): Add keybinding for
2859 `calc-transpose-lines'.
2861 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
2863 * calc/calc-misc.el (calc-transpose-lines): New function.
2865 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
2867 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
2868 Simplify check for out-of-band methods.
2869 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
2870 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
2872 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
2874 * vc-git.el (vc-git-checkin): Fix typo.
2876 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
2878 * progmodes/js2-mode.el: New file.
2880 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
2882 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
2883 (gud-menu-map): Adjust tooltip accordingly.
2885 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
2887 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
2888 (vc-bzr-log-view-mode): Adjust log-view-file-re.
2890 * add-log.el (change-log-mode-map): Add a menu.
2892 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
2894 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
2895 function returns nil.
2896 (dbus-handle-event): Handle special return value :ignore.
2897 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
2899 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
2901 * view.el (view-mode-enable): Don't define Helper-return-blurb if
2904 2009-07-25 Eli Zaretskii <eliz@gnu.org>
2908 * w32-vars.el (x-select-enable-clipboard): Doc fix.
2910 * term/pc-win.el (x-display-name, x-colors)
2911 (x-select-enable-clipboard, x-select-text): Doc fix.
2913 * term/common-win.el (x-display-name, x-colors): Doc fix.
2915 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
2916 (xw-defined-colors): Doc fix.
2918 * w32-fns.el (x-select-text, x-setup-function-keys)
2919 (x-get-selection, x-set-selection): Doc fix.
2921 * term/x-win.el (x-select-text, x-setup-function-keys)
2922 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
2924 * select.el (x-set-selection): Doc fix.
2926 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
2928 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
2929 instead of "IsNSSSupportAvailable". Avahi ought to work also when
2930 "IsNSSSupportAvailable" method is not available. Reported by
2931 Steve Youngs <steve@sxemacs.org>.
2933 2009-07-24 Kenichi Handa <handa@m17n.org>
2935 * international/characters.el: Fix setting of category ?C, ?|, ?K,
2936 and ?H. Fix setting of case for Latin Extended and Greek Extended.
2937 (build-unicode-category-table): Fix range checks.
2939 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
2941 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
2942 the buffer we try to sync is current when calling
2945 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
2946 not show up to date files.
2948 2009-07-24 Glenn Morris <rgm@gnu.org>
2950 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
2951 Add autoload cookies. If necessary, initialize.
2952 (elint-log): Handle non-file buffers.
2953 (elint-initialize): Add optional argument to reinitialize.
2954 (elint-find-builtin-variables): Save excursion.
2956 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
2958 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
2961 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
2963 * vc.el (vc-print-log-internal): New function, split out from ...
2964 (vc-print-log): ... here.
2965 (vc-dir-move-to-goal-column): Declare.
2967 * vc-git.el (vc-git-add-signoff): New variable.
2968 (vc-git-checkin): Use it.
2969 (vc-git-toggle-signoff): New function.
2970 (vc-git-extra-menu-map): Bind it to menu.
2971 (vc-git--run-command-string): Accept a nil FILE argument.
2972 (vc-git-stash-list): New function.
2973 (vc-git-dir-extra-headers): Use it.
2975 2009-07-23 Glenn Morris <rgm@gnu.org>
2977 * help-fns.el (describe-variable): Describe ignored and risky local
2978 variables in a similar way to that in which we describe safe ones.
2980 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
2981 (byte-compile-output-file-form, byte-compile-output-docform)
2982 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
2983 Give some more local variables with common names a "bytecomp-" prefix,
2984 so as not to shadow things during compilation.
2985 * emacs-lisp/cl-macs.el (load-time-value)
2986 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
2987 `outbuffer' to `bytecomp-outbuffer'.
2989 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
2990 since the next two variables cover them automatically now.
2991 (elint-builtin-variables, elint-autoloaded-variables): New.
2992 (elint-unknown-builtin-args): Remove all members, since they can be
2993 parsed automatically now.
2994 (elint-extra-errors): New.
2995 (elint-env-add-env, elint-env-add-macro): Use cadr.
2996 (elint-current-buffer): Use or. Change final message.
2997 (elint-get-top-forms): Use line-end-position.
2998 (elint-init-env): Use cadr. Handle autoload, declare-function,
3000 (elint-add-required-env): Doc fix. Use or. Standardize error.
3001 (regexp-assoc): Remove unused function.
3002 (elint-top-form): Set elint-current-pos, to record the start of the
3003 top-level form, for compilation-mode.
3004 (elint-form): Trap errors in macro expansion. Use dolist.
3005 (elint-unbound-variable): Use elint-builtin-variables and
3006 elint-autoloaded-variables.
3007 (elint-get-args): Use cadr, or.
3008 (elint-check-cond-form): Use dolist, cadr.
3009 (elint-check-condition-case-form): Doc fix. Use cadr.
3010 Use elint-extra-errors.
3011 (elint-log): New function.
3012 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
3013 Distinguish errors and warnings.
3014 (elint-log-message): Use with-current-buffer. Inhibit read-only.
3015 Use a bytecomp-style format.
3016 (elint-clear-log): Preserve default-directory. Inhibit read-only.
3017 (elint-get-log-buffer): Use compilation mode. Disable undo.
3018 Don't truncate lines.
3019 (elint-initialize): Set builtin and autoloaded variable lists.
3020 Only process elint-unknown-builtin-args if non-nil.
3021 (elint-find-builtin-variables, elint-find-autoloaded-variables):
3023 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
3025 2009-07-22 Kevin Ryde <user42@zip.com.au>
3027 * net/newst-backend.el (newsticker--parse-atom-1.0)
3028 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
3029 (newsticker--parse-rss-1.0):
3030 * progmodes/idlwave.el (idlwave-mode):
3031 * progmodes/idlw-shell.el (idlwave-shell-mode):
3032 * progmodes/vera-mode.el (vera-mode):
3033 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
3034 * progmodes/vhdl-mode.el (vhdl-mode):
3035 * textmodes/table.el (table-generate-source)
3036 (table--warn-incompatibility):
3037 Hyperlink urls in docstrings with URL `...'.
3039 2009-07-22 Glenn Morris <rgm@gnu.org>
3041 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
3042 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
3043 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
3044 Remove leading * from defcustom docs.
3046 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
3048 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
3050 (list-load-path-shadows): Optionally, just return shadows as a string.
3052 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
3054 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
3056 * mail/rmailedit.el (rmail-edit-mode): Use
3057 auto-save-include-big-deletions.
3059 * mail/rmail.el (rmail-variables): Use
3060 auto-save-include-big-deletions.
3062 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
3065 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
3067 * calc/calc.el (calc-undo-length): New variable.
3068 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
3070 2009-07-21 Richard Stallman <rms@gnu.org>
3072 * files.el (auto-save-mode): Handle buffer-save-size = -2
3075 2009-07-21 Glenn Morris <rgm@gnu.org>
3077 * textmodes/ispell.el (ispell-looking-back): Update declaration.
3079 * calendar/todo-mode.el (calendar-current-date): Update declaration.
3081 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
3082 silence compiler. Instead...
3083 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
3084 (ps-print-ensure-fontified): Update for above function name changes.
3086 * printing.el (pr-mh-get-msg-num, pr-mh-show)
3087 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
3088 silence compiler. Instead...
3089 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
3090 (mh-show-buffer): Only define for compiler.
3091 (pr-mh-current-message): Update for above function name changes.
3093 * files.el (abort-if-file-too-large): Explicitly pass `filename'
3095 (find-file-noselect, insert-file-1): Update for above change.
3097 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
3099 * mail/mailclient.el (mailclient-send-it): Fix message.
3101 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
3102 (edebug-eval): Check cl-debug-env is bound.
3103 (print-level, print-circle): Don't redefine built-in variables.
3105 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
3106 (custom-print-vectors): Remove old comments from doc.
3108 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
3109 (emerge-version): Make the variable an obsolete alias for the
3110 emacs-version variable. Make the function obsolete.
3111 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
3112 Emerge options, rather than merging in into the main Options menu.
3113 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
3114 and auto advance modes. Disable edit/fast items when not relevant.
3116 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
3118 * term/vt420.el (terminal-init-vt420): Fix typo.
3120 2009-07-20 Sam Steingold <sds@gnu.org>
3122 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
3123 variable (removed from compile.el on 2004-03-11).
3125 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
3127 * files.el (hack-local-variables-filter): Fix last change.
3129 2009-07-19 Juri Linkov <juri@jurta.org>
3131 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
3132 (dir-local-variables-alist): New buffer-local variable.
3133 (hack-local-variables-filter): If variable is not dir-local,
3134 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
3135 because file-local overrides dir-local.
3136 (c-postprocess-file-styles)<declare-function>:
3137 Remove obsolete declaration.
3138 (hack-dir-local-variables): Add dir-local variable/value pair to
3139 `dir-local-variables-alist' and remove duplicates. Doc fix.
3141 * help-fns.el (describe-variable): Add information about
3142 file-local and dir-local variables.
3144 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
3146 * files.el (hack-local-variables-filter): Rewrite.
3148 2009-07-19 Glenn Morris <rgm@gnu.org>
3150 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
3151 Silence compiler by only defining on XEmacs.
3153 * international/mule.el (auto-coding-regexp-alist): Only match
3154 BABYL... at the start of buffer, not of lines. (Bug#3790)
3156 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
3157 non-calendar buffers (Bug#3862). Restore "not on a date" message.
3158 (cal-menu-context-mouse-menu): Doc fix.
3160 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
3162 * simple.el (mail-user-agent): Doc fix. Set :version tag.
3164 2009-07-18 Juri Linkov <juri@jurta.org>
3166 * info.el: Virtual Info keyword finder.
3167 (add-to-list)<Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
3168 (Info-finder-file): New variable.
3169 (Info-finder-find-file): New function.
3170 (finder-known-keywords, finder-package-info)
3171 (find-library-name, lm-commentary): Use defvar and
3172 declare-function to silence compiler warnings.
3173 (Info-finder-find-node): New function.
3174 (info-finder): New command.
3176 * subr.el (process-kill-buffer-query-function): New function.
3177 (add-hook)<kill-buffer-query-functions>: Add hook
3178 `process-kill-buffer-query-function'.
3180 2009-07-18 Alan Mackenzie <acm@muc.de>
3182 * progmodes/cc-mode.el (c-before-hack-hook)
3183 (c-postprocess-file-styles): Give invocation of `c-set-style'
3184 DONT-OVERRIDE parameter of t. Already set style variables will
3185 thus not be overridden by style settings given by `c-file-syle'.
3187 * files.el (hack-local-variables-filter): Remove entries with
3188 duplicate keys from `file-local-variables-alist'.
3190 2009-07-18 Eli Zaretskii <eliz@gnu.org>
3192 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
3193 x-set-selection if display-selections-p returns nil for the
3196 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
3198 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
3200 2009-07-18 Eli Zaretskii <eliz@gnu.org>
3202 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
3203 Accept nil in addition to a regexp.
3204 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
3205 Accept nil in addition to a regexp.
3206 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
3207 buffers that have an associated file. Handle nil values of
3208 desktop-buffers-not-to-save and desktop-files-not-to-save.
3211 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3212 (x-disown-selection-internal): New functions.
3214 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
3216 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
3218 (gdb-breakpoints-header): Move forward to avoid compiler warning.
3219 (gdb-make-header-line-mouse-map): Remove duplicate definition.
3221 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
3223 * simple.el (set-mark): Revert last change.
3225 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
3227 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
3228 rendering of pngs is not possible instead of messaging a long
3231 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
3233 * w32-fns.el (x-selection-owner-p): New function.
3235 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
3236 (mouse-yank-at-click, mouse-yank-primary): If
3237 select-active-regions is non-nil, deactivate the mark before
3240 * simple.el (deactivate-mark, set-mark): Only save selection if we
3243 2009-07-17 Kenichi Handa <handa@m17n.org>
3245 * case-table.el (describe-buffer-case-table): Fix for the case
3248 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
3250 * vc-rcs.el (vc-rcs-find-file-hook):
3251 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
3253 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
3255 * net/tramp.el (tramp-wait-for-output): Handle the case when
3256 commands do not return a newline but a null byte before the shell
3259 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
3261 * term/ns-win.el (ns-set-alpha): Don't declare.
3262 (ns-set-background-alpha): Remove function.
3264 2009-07-16 Kevin Ryde <user42@zip.com.au>
3266 * emacs-lisp/copyright.el (copyright-update): Save match-data across
3267 y-or-n-p, for safety.
3269 2009-07-16 Richard Stallman <rms@gnu.org>
3271 * files.el (auto-save-mode): If buffer-saved-size is -2,
3274 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
3275 (rmail-retry-ignored-headers): Add more uninteresting fields.
3277 2009-07-15 Jari Aalto <jari.aalto@cante.net>
3279 * net/rcirc.el (rcirc): Use history variables.
3280 (rcirc-server-name-history, rcirc-nick-name-history)
3281 (rcirc-server-port-history): New variables.
3283 2009-07-15 Kenichi Handa <handa@m17n.org>
3285 * international/mule-cmds.el (set-language-environment-charset):
3286 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
3289 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
3290 Delete unibyte-display.
3292 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
3294 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
3296 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
3298 * simple.el (deactivate-mark): Optional argument FORCE.
3299 (set-mark): Use deactivate-mark.
3301 * info.el (Info-search): No need to check transient-mark-mode
3302 before calling deactivate-mark.
3304 * select.el (x-set-selection): Doc fix.
3305 (x-valid-simple-selection-p): Allow buffer values.
3306 (xselect--selection-bounds): Handle buffer values. Suggested by
3307 David De La Harpe Golden.
3309 * mouse.el (mouse-set-region, mouse-drag-track): Call
3310 copy-region-as-kill before setting the mark, to let
3311 select-active-regions work.
3313 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
3315 * simple.el (deactivate-mark): If select-active-regions is
3316 non-nil, copy the selection data into a string.
3317 (activate-mark): If select-active-regions is non-nil, set the
3318 selection to the current buffer.
3319 (set-mark): Update selection if select-active-regions is non-nil.
3321 * select.el (x-valid-simple-selection-p): Allow buffer values.
3323 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
3325 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
3326 and more featureful message-mode.
3328 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
3330 * select.el (x-set-selection): Doc fix.
3331 (x-valid-simple-selection-p): Disallow selection data consisting
3332 of a list or cons of integers, since that is not used.
3333 (xselect--selection-bounds, xselect--int-to-cons): New functions.
3334 (xselect-convert-to-string, xselect-convert-to-length)
3335 (xselect-convert-to-filename, xselect-convert-to-charpos)
3336 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
3338 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
3340 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
3341 output in -break-info command (Emacs bug #3794).
3343 2009-07-14 Glenn Morris <rgm@gnu.org>
3345 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
3346 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
3347 (edebug-print-length, edebug-print-level, edebug-print-circle)
3348 (edebug-sit-for-seconds, edebug-view-outside)
3349 (edebug-bounce-point, edebug-set-global-break-condition)
3350 (edebug-Go-nonstop-mode, edebug-trace-mode)
3351 (edebug-Trace-fast-mode, edebug-continue-mode)
3352 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
3353 (edebug-visit-eval-list): Doc fixes.
3355 * subr.el (def-edebug-spec): Doc fix.
3357 2009-07-14 Kenichi Handa <handa@m17n.org>
3359 * international/characters.el: Fix setting of category ?C.
3361 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
3363 * term/ns-win.el (x-select-font): defalias x-select-font to
3364 ns-popup-font-panel instead of generate-fontset-menu.
3366 2009-07-12 Eli Zaretskii <eliz@gnu.org>
3368 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
3370 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
3372 * arc-mode.el (archive-find-type): Allow for a PK00 string before
3373 the PK\003\004 header (Bug#3770).
3375 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
3377 * pcomplete.el (pcomplete-comint-setup): Check for
3378 shell-dynamic-complete-filename too.
3380 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
3382 * simple.el (temporary-goal-column): Change the value for
3383 line-move-visual to a cons cell.
3384 (line-move-visual): Record or set the window hscroll, if
3385 necessary (Bug#3494).
3386 (line-move-1): Handle cons value of temporary-goal-column.
3388 2009-07-11 Kenichi Handa <handa@m17n.org>
3390 * international/mule-diag.el (describe-character-set): Don't show
3393 2009-07-10 Sam Steingold <sds@gnu.org>
3395 * progmodes/compile.el (compilation-mode-font-lock-keywords):
3396 Omake sometimes indents the errors it prints, so allow all
3397 regexps to start with spaces.
3399 2009-07-10 Eli Zaretskii <eliz@gnu.org>
3401 * cus-edit.el (customize-changed-options-previous-release):
3402 Bump value to 22.1. (Bug#3804)
3404 2009-07-08 Sam Steingold <sds@gnu.org>
3406 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
3407 to be a cons cell (test . ignored-directory) to selectively ignore
3408 some directories depending on the location of the search.
3410 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
3412 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
3413 remote user is root, on the local host.
3414 (tramp-local-host-p): Either the local user or the remote user
3415 must be root. (Bug#3771)
3417 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
3419 * progmodes/gdb-mi.el (gdb): Remove description of
3420 gdb-use-separate-io-buffer.
3421 (menu): Don't allow toggling of or enable
3422 gdb-use-separate-io-buffer from menubar.
3424 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
3426 * mail/unrmail.el (unrmail): Make sure the message ends with two
3427 newlines (Bug#3769).
3429 2009-07-08 Glenn Morris <rgm@gnu.org>
3431 * calendar/calendar.el (calendar-current-date): Rework previous change.
3433 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
3435 * calendar/calendar.el (calendar-current-date):
3436 Add an optional argument giving an offset from today.
3438 2009-07-08 Glenn Morris <rgm@gnu.org>
3440 * tutorial.el (tutorial--describe-nonstandard-key):
3441 Adjust the message for when a key has been unbound.
3442 (help-with-tutorial): Hide the arch-tag.
3444 2009-07-08 Kenichi Handa <handa@m17n.org>
3446 * international/fontset.el (setup-default-fontset): For each
3447 script, append (not set) font-specs.
3449 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
3452 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
3454 * progmodes/gdb-mi.el (gdb-init-1): Move sending
3455 -data-list-register-names to ...
3456 (gdb-starting): ... here because GDB 7.0 requires execution to
3457 have started when using this MI command.
3458 (gdb-set-header): New function to distinguish select and
3459 unselected tabs in gdb buffers.
3460 (gdb-propertize-header): New macro that uses gdb-set-header.
3461 (gdb-breakpoints-header, gdb-locals-header): Use it.
3462 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
3464 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
3466 * Makefile.in (ELCFILES): Remove fadr.elc.
3468 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
3470 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
3471 may contain frame information, so `string-match' should be used.
3472 (gdb-update): Disassembly is invalidated through
3473 `gdb-get-selected-frame'.
3474 (gdb-pad-string): New function to pad string with spaces.
3475 (gdb-invalidate-disassembly): Invalidate only if the buffer
3477 (gdb-disassembly-handler-custom): Column alignment.
3478 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
3480 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
3482 (gdb-frame-handler): Match convention to for disassembly buffer
3484 (gdb-stack-list-frames-handler): Rewritten without regexps.
3485 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
3486 not highlight breakpoints without line information.
3487 (gdb-input): Add trailing newline to command.
3489 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
3491 (gdb-breakpoints-list-handler-custom): Replacement for
3492 `gdb-break-list-handler'. Using real parser instead of regexps
3494 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
3495 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
3496 to place breakpoints.
3497 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
3499 (gdb-disassembly-handler-custom): Show overlay arrow.
3500 (gdb-disassembly-place-breakpoints): Show breakpoints in
3502 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
3503 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
3504 instead of parsing breakpoints buffer. Fixed old menu references
3509 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
3510 (gdb-memory-address): New variable which holds top address of
3511 memory page shown in memory buffer.
3512 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit): New
3513 customization variables.
3515 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
3516 display the memory buffer.
3517 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
3518 buffer display parameters.
3519 (def-gdb-memory-format, gdb-memory-format-binary)
3520 (gdb-memory-format-octal, gdb-memory-format-unsigned)
3521 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
3522 Functions for setting memory buffer format.
3523 (gdb-memory-unit-word, gdb-memory-unit-halfword)
3524 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
3525 unit size used in memory buffer.
3526 (gdb-memory-show-next-page, gdb-memory-show-previous-page): Switch
3527 to next/previous page of memory buffer.
3528 Now using (bindat-get-field) instead of fadr functions.
3530 2009-07-07 Sam Steingold <sds@gnu.org>
3532 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
3533 non-top-level files.
3535 2009-07-07 Kenichi Handa <handa@m17n.org>
3537 * international/mule-cmds.el (reset-language-environment): Put
3538 the highset priority to the charset iso-8859-1.
3540 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
3542 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
3543 to the end of the line when locating the block (Bug#700).
3545 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
3547 * net/tramp.el (tramp-handle-write-region): Flush file properties
3548 in case of short track.
3550 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
3552 * verilog-mode.el (verilog-error-regexp-emacs-alist): Coded custom
3553 representation of verilog error regular expressions to work with
3554 Emacs-22's new format.
3555 (verilog-error-regexp-xemacs-alist): Coded custom representation
3556 of verilog error regular expressions to work with XEmacs format.
3557 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
3558 error recognition into XEmacs.
3559 (verilog-error-regexp-add-emacs): Hook routine to install verilog
3560 error recognition into Emacs-22.
3562 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
3564 * woman.el: Remove stand-alone closing parentheses.
3565 (woman-file-name, woman2-format-paragraphs)
3566 (woman-leave-blank-lines): Code cleanup.
3567 (woman-use-own-frame): Change default to nil.
3568 (woman-italic, woman-bold, woman-unknown, woman-addition): Change
3569 defaults to inherit from default faces.
3570 (woman2-process-escapes): Consume the newline after a stand-alone
3571 filler character (Bug#3651).
3573 2009-07-06 Glenn Morris <rgm@gnu.org>
3575 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
3576 (top-level): Move provide to the end.
3577 (ffap): Remove defunct URL from custom group.
3579 * subr.el (eval-after-load): Doc fix.
3581 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
3583 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
3584 `calc-embedded-word' is called twice.
3586 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
3588 * files.el (find-alternate-file-other-window, find-alternate-file):
3589 Obey confirm-nonexistent-file-or-buffer.
3591 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
3593 * dired-aux.el (dired-show-file-type): Handle remote files.
3595 2009-07-05 Jari Aalto <jari.aalto@cante.net>
3597 * desktop.el (desktop-globals-to-save):
3598 Add file-name-history (Bug#2750).
3600 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
3602 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
3604 2009-07-04 Johan Bockgård <bojohan@gnu.org>
3606 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
3607 property on entire argument since this is what eshell-lisp-command
3610 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
3612 * net/tramp-gvfs.el (tramp-gvfs-methods)
3613 (tramp-gvfs-zeroconf-domain)
3614 (tramp-bluez-discover-devices-timeout): Add version flag.
3615 (tramp-gvfs-handler-mounted-unmounted)
3616 (tramp-gvfs-connection-mounted-p): Polish handling of
3617 incompatibilities between GVFS 0.2 and 1.0.
3619 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
3621 * cus-start.el (all): Add make-pointer-invisible.
3623 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
3625 * calc-math.el (math-use-emacs-fn): Make sure that the number is
3626 formatted correctly.
3628 2009-07-02 Juri Linkov <juri@jurta.org>
3630 * info.el: Virtual Info files and nodes.
3631 (Info-virtual-files, Info-virtual-nodes): New variables.
3632 (Info-current-node-virtual): New variable.
3633 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
3635 (Info-file-supports-index-cookies): Use Info-virtual-file-p
3636 to check for a virtual file instead of checking a fixed list
3638 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
3639 instead of ad-hoc processing of "dir" and (apropos history toc).
3640 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
3641 instead of ad-hoc processing of "dir" and (apropos history toc).
3642 Reread a file when moving from a virtual node.
3643 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
3644 (Info-directory-toc-nodes, Info-directory-find-file)
3645 (Info-directory-find-node): New functions.
3646 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
3647 (Info-history): Move part of code to
3648 `Info-history-find-node'.
3649 (Info-history-toc-nodes, Info-history-find-file)
3650 (Info-history-find-node): New functions.
3651 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
3652 (Info-toc): Move part of code to `Info-toc-find-node'.
3653 (Info-toc-find-node): New function.
3654 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
3655 the current Info file name to references because now the node
3656 "*TOC*" belongs to the same Info manual.
3657 (Info-toc-build): Rename from `Info-build-toc'.
3658 (Info-toc-nodes): Rename input argument `file' to `filename'.
3659 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
3660 instead of ad-hoc processing of ("dir" apropos history toc).
3661 (Info-index-nodes): Use Info-virtual-file-p
3662 to check for a virtual file instead of checking a fixed list
3664 (Info-index-node): Add check for `Info-current-node-virtual'.
3665 Raise `save-match-data' higher up the tree to contain
3666 `search-forward' too (bug fix).
3667 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
3668 (Info-virtual-index-nodes): New variable.
3669 (Info-virtual-index-find-node, Info-virtual-index): New functions.
3670 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
3671 (Info-apropos-file, Info-apropos-nodes): New variables.
3672 (Info-apropos-toc-nodes, Info-apropos-find-file)
3673 (Info-apropos-find-node, Info-apropos-matches): New functions.
3674 (info-apropos): Move part of code to `Info-apropos-find-node' and
3675 `Info-apropos-matches'.
3676 (Info-mode-map): Bind "I" to `Info-virtual-index'.
3677 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
3678 for a virtual file instead of checking a fixed list of node names.
3680 * simple.el (async-shell-command): New command.
3682 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
3684 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
3685 instead of `mount-info'.
3687 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
3689 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
3690 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
3692 2009-07-02 Kenichi Handa <handa@m17n.org>
3694 * international/mule.el (set-keyboard-coding-system): Force *-unix
3695 coding-system to avoid eol conversion.
3697 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
3699 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3700 Add handler for `process-file', `shell-command' and
3701 `start-file-process'.
3702 (tramp-gvfs-handle-shell-command)
3703 (tramp-gvfs-handle-start-file-process)
3704 (tramp-gvfs-handle-process-file): New defuns.
3705 (tramp-synce-list-devices): Simplify check for existence of property.
3707 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
3709 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
3711 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
3713 * language/korean.el (set-language-info-alist): Add korean-cp949,
3716 2009-07-01 Kenichi Handa <handa@m17n.org>
3718 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
3720 * international/encoded-kb.el: Deleted.
3722 * international/mule.el (set-keyboard-coding-system): Perform the
3723 necessary setup here instead of calling encoded-kbd-setup-display.
3725 2009-07-01 Glenn Morris <rgm@gnu.org>
3727 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
3729 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
3731 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
3733 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
3735 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
3736 Handle also the 'rename case, when setting file modes. (Bug#3712)
3737 (tramp-default-file-modes) Remove execute permissions.
3739 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
3740 (top): Add a default for "synce" in `tramp-default-user-alist'.
3741 Add completion function for "synce" method.
3742 (tramp-hal-service, tramp-hal-path-manager)
3743 (tramp-hal-interface-manager, tramp-hal-interface-device):
3745 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
3746 (tramp-synce-list-devices, tramp-synce-parse-device-names):
3749 * net/trampver.el: Update release number.
3751 2009-06-30 Kenichi Handa <handa@m17n.org>
3753 * international/fontset.el (setup-default-fontset): Add CJK fonts
3754 for symbols and the other miscellaneous characters.
3756 * language/korea-util.el (setup-korean-environment-internal):
3757 Make char-width-table suitable for Korean environments.
3758 (exit-korean-environment): Cancel above.
3760 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
3761 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
3762 setup-funcion to make char-widht-table suitable for respective
3763 environments, and an exit-function to cancel that.
3765 * language/japan-util.el (setup-japanese-environment-internal):
3766 Call use-cjk-char-width-table with arg `ja_JP'.
3768 * international/characters.el (cjk-char-width-table): Delete it.
3769 (cjk-char-width-table-list): New variable.
3770 (use-cjk-char-width-table): New arg local-name.
3771 (use-default-char-width-table): Fix for the case that Emacs is
3772 already using the default char-width-table.
3774 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
3776 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
3777 modes mandatory. (Bug#3712)
3779 2009-06-29 Alan Mackenzie <acm@muc.de>
3781 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
3782 correction between the visible width of TABs and their number of bytes.
3784 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
3786 * server.el (server-buffer-done): Prevent kill-buffer from
3787 prompting by clearing the buffer modification flag (Bug#3696).
3789 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
3791 * verilog-mode.el (verilog-beg-of-statement)
3792 (verilog-endcomment-reason-re): Support unique case and priority case.
3793 (verilog-basic-complete-re): Support localparam lineup.
3794 (verilog-beg-of-statement-1): Fix for robustness, unique case.
3795 (verilog-set-auto-endcomments): Fix for unique case, always_comb
3797 (verilog-leap-to-case-head): Now support *nested* unique &
3798 priority case statements.
3799 (verilog-auto-lineup): Make just declarations the default (as it
3801 (verilog-leap-to-case-head): Support priority/unique case statements.
3802 (verilog-auto-lineup): Rework to give users radio buttons to
3803 select the various styles of automatic lineup.
3804 (verilog-error-regexp-alist): Rework to support the XEmacs style
3805 of error regular expressions from compilers, lint tools &
3806 simulators. Note that GNU Emacs has made it impossible for a mode
3807 to load such things.
3808 (electric-verilog-terminate-line, verilog-indent-declaration)
3809 (verilog-auto-wiure): Rework for radio button selection of
3810 auto-lineup selection of specification of auto lineup.
3811 (verilog-beg-of-statement-1): Redesign to support proper operation
3812 in additional code, based on testing with auto-lineup.
3813 (verilog-calculate-indent, assignments & declarations)
3814 (verilog-backward-token): Enhance to support auto-lineup of
3815 assignments & declarations.
3816 (verilog-in-directive-p, verilog-at-struct-p): New function for
3817 easy test of whether we are.
3818 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
3819 to support safe execution at almost anyline.
3820 (verilog-calc-1): Properly support indenting deep inside generate
3822 (verilog-init-font) Remove definition & use of verilog-init-font,
3823 as it is redundant with font-lock-defaults.
3824 (verilog-mode): Alter the definition of verilog-font-lock-defualts
3825 to avoid circular calls if syntax-ppss is a function (as is the
3826 case now in 22.x GNU Emacs) as that function would sometimes call
3827 itself, leading to (nearly) infinite recursion.
3828 (verilog-ovm-begin-re, verilog-ovm-end-re)
3829 (verilog-ovm-statement-re, verilog-leap-to-head)
3830 (verilog-backward-token): Add support for OVM macros. Some are
3831 complete statements, and others open and close scopes like begin
3833 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
3834 (verilog-defun-level-generate-only-re): Really fix the defun-list
3836 (verilog-calc-1) (verilog-beg-of-statement): Enhance support for
3837 coverpoint, constraint and cross statements.
3838 (verilog-defun-level-list, verilog-generate-defun-level-list)
3839 (verilog-all-defun-level-list): Redo these specifications - it is
3840 too hard to support eval-when compile aggregation of lists also
3841 built at when-compile time.
3842 (verilog-defun-level-list): Place defconsts of variables used in
3843 building regular expressions which are built in eval-when-compile
3844 bodies in the same eval-when-compile body to facilitate compile
3846 (verilog-beg-block-re-ordered): Support indenting
3847 virtual/protected tasks and functions.
3848 (verilog-defun-level-list, verilog-in-generate-region-p)
3849 (verilog-backward-ws&directives, verilog-calc-1): Speed up
3850 indentation of some module items (generate items).
3851 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
3852 across virtual/protected tasks and functions.
3854 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
3856 * verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
3857 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
3858 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
3859 in concatenations. Reported by Yishay Belkind.
3860 (verilog-auto-ascii-enum): Support one-hot state machines in
3861 AUTOASCIIENUM. Suggested by Lloyd Gomez.
3862 (verilog-auto-inst, verilog-auto-inst-port): Include interface
3863 modport in AUTOINST and add vl-modport for users. Reported by
3865 (verilog-auto-inout-module, verilog-auto-inst)
3866 (verilog-decls-get-interfaces, verilog-insert-definition)
3867 (verilog-insert-one-definition, verilog-read-decls)
3868 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
3869 (verilog-sig-modport, verilog-signals-combine-bus)
3870 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
3871 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
3872 Suggested by David Rogoff.
3873 (verilog-repair-open-comma): Fix non-insertion of comma when
3874 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
3875 (verilog-make-width-expression): Simplify [A-1:0] expression
3876 widths to just {A{1'b0}}.
3877 (verilog-mode): Cleanup checkdoc warnings.
3878 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
3879 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
3880 inputs/outputs or data type. Suggested by Vasu Kandadi.
3881 (next-error-last-buffer): Fix byte-compiler warning.
3882 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
3883 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
3884 or shell command text during AUTO expansion. Suggested by Tad Truex.
3885 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
3886 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
3887 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
3888 in AUTOINOUT. Reported by Matthew Lovell.
3889 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
3890 causing use of <= assignments. Reported by Alex Reed.
3891 (verilog-read-decls): Fix triand, trior, wand, wor to be
3892 recognized by AUTOWIRE. Reported by Spencer Isaacson.
3893 (verilog-extended-complete-re): Support import "DPI-C" functions.
3894 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
3895 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
3896 (verilog-insert-date, verilog-insert-year)
3897 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
3898 Windows systems. Reported by Michael Potts.
3899 (verilog-read-module-name): Fix AUTOINST when the child module
3900 declaration's name is a tick define. Reported by Elliot Mednick.
3901 (verilog-read-decls): Fix V2K parameter bit subscripts getting
3902 passed to next parameter's definition. Reported by Bruce T.
3903 (verilog-read-decls): Fix detecting "parameter int" when using
3904 AUTOINSTPARAM. Reported by Bruce T.
3905 (verilog-goto-defun): Fix goto not finding modules unless first
3906 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
3907 (verilog-mode): Expand -f flag arguments on entry to mode so
3908 verilog-goto-defun will work. Reported by Lawrence Butcher.
3909 (verilog-getopt): Expand environment variables in -f file
3910 arguments. Suggested by Lawrence Butcher.
3911 (verilog-set-define): Fix "Symbol's value as variable is void"
3912 when reading enumerations.
3913 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
3914 Suggested by Stephen Peltan.
3915 (verilog-read-defines): Fix reading of enumerations in include
3916 files. Reported by Steve Peltan.
3918 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
3920 * files.el (trash-directory): Fix defcustom type.
3922 2009-06-28 Juri Linkov <juri@jurta.org>
3924 * help-fns.el (describe-function-1): Correctly locate adviced
3925 functions in hyperlink (Bug#2438).
3927 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
3929 * files.el (trash-directory): Change default to nil.
3930 (move-file-to-trash): If trash-directory is nil and
3931 system-move-file-to-trash is unbound, perform freedesktop-style
3934 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
3936 * files.el (move-file-to-trash): Add freedesktop trash
3939 2009-06-28 Glenn Morris <rgm@gnu.org>
3941 * autorevert.el (global-auto-revert-non-file-buffers)
3942 (global-auto-revert-mode): Doc fixes.
3944 2009-06-27 Johan Bockgård <bojohan@gnu.org>
3946 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
3948 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
3950 * faces.el (x-handle-named-frame-geometry): Ensure that we have
3951 opened an X connection before calling x-get-resource (Bug#3194).
3953 * play/doctor.el: Remove reference to obsolete website.
3954 (make-doctor-variables): Correct grammar mistake (Bug#2633).
3956 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
3958 Remove find-file-not-found-hook VC method. (Bug#2757)
3959 * vc-hooks.el (vc-file-not-found-hook)
3960 (vc-default-find-file-not-found-hook): Remove functions.
3961 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
3962 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
3965 * vc-git.el: Do not mention find-file-not-found-hook VC method.
3967 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
3969 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
3970 compatibility function for `looking-back'.
3972 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
3973 Use `ispell-looking-back'.
3975 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
3977 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
3978 rather than `filename'.
3980 2009-06-23 Miles Bader <miles@gnu.org>
3982 * face-remap.el (text-scale-set): New function.
3984 2009-06-23 Glenn Morris <rgm@gnu.org>
3986 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
3988 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
3990 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
3992 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
3994 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
3995 Simplify Persian conditionals.
3997 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
3998 variable `filename'.
4000 * comint.el (comint-insert-input): Doc fix.
4002 * Makefile.in (ELCFILES): Fix typo in previous change.
4004 2009-06-23 Miles Bader <miles@gnu.org>
4006 * cus-start.el: Add entry for `recenter-redisplay'.
4008 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
4010 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
4011 Add an optional argument for the backend, use it instead of
4013 (vc-mode-line): Add an optional argument for the backend.
4014 Pass the backend to vc-state and vc-working-revision. Move code for
4015 special handling for vc-state being a buffer to ...
4017 * vc-rcs.el (vc-rcs-find-file-hook):
4018 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
4020 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
4021 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
4022 vc-stay-local-p and vc-mode-line calls.
4024 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
4025 (vc-cvs-diff, vc-cvs-annotate-command)
4026 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
4027 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
4030 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
4032 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
4033 backend when calling vc-mode-line.
4034 (vc-register): Do not create a closure for calling the vc register
4035 function, call it directly.
4037 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
4039 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
4040 to make it obvious item can be clicked.
4042 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
4044 2009-06-23 Kenichi Handa <handa@m17n.org>
4046 * language/korea-util.el (korean-key-bindings): Change the binding
4047 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
4050 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
4052 Sync with Tramp 2.1.16.
4054 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
4056 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
4057 when a loading of a package fails. Completion function for rsync
4058 is `tramp-completion-function-alist-ssh'.
4059 (all): Replace all calls of `split-string' and
4060 `tramp-split-string' by `tramp-compat-split-string'.
4061 (tramp-default-method): Use `tramp-compat-process-running-p'.
4062 (tramp-default-proxies-alist): Allow also Lisp forms.
4063 (tramp-remote-path): Add choice "Private Directories".
4064 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
4065 (tramp-domain-regexp): Allow also "-", "_" and ".".
4066 (tramp-end-of-output): Remove newlines, and add "$" at the end.
4067 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
4068 (tramp-debug-message): Insert header line in debug buffer.
4069 (tramp-handle-directory-files-and-attributes-with-stat):
4070 Care about filenames with spaces, or starting with "-".
4071 (tramp-handle-dired-uncache): New defun.
4072 (tramp-handle-insert-directory): Don't flush the directory from
4073 cache, this is handled by `dired-uncache' now.
4074 (tramp-handle-insert-file-contents): Improve error handling.
4075 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4076 Quote `tramp-end-of-output'.
4077 (tramp-action-password): Improve trace message.
4078 (tramp-check-for-regexp): Both echoes must be present, before removing.
4079 (tramp-open-connection-setup-interactive-shell): Trace coding system.
4080 (tramp-compute-multi-hops): Eval cons cells of
4081 `tramp-default-proxies-alist'.
4082 (tramp-maybe-open-connection): Use the same command pattern for
4083 first hop and further hops.
4084 (tramp-wait-for-output): Remove handling of newlines.
4085 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
4086 (tramp-split-string): Remove function. It is handled in
4089 * net/tramp-cmds.el (tramp-bug):
4090 Recommend `tramp-cleanup-all-connections' in the bug mail.
4092 * net/tramp-compat.el (tramp-compat-split-string)
4093 (tramp-compat-process-running-p): New defuns.
4095 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
4096 for `dired-uncache'.
4098 * net/tramp-gvfs.el: New package.
4100 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4101 Add handler for `dired-uncache'.
4102 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
4104 * net/trampver.el: Update release number. Make version check fit
4107 2009-06-22 Jim Meyering <meyering@redhat.com>
4109 Automatically handle .xz suffix (XZ-compressed files), too.
4110 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
4111 XZ is the successor to LZMA: <http://tukaani.org/xz/>
4113 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
4114 Nick Roberts <nickrob@snap.net.nz>
4116 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
4117 repository (http://sphinx.net.ru/hg/gdb-mi/).
4119 2009-06-22 Glenn Morris <rgm@gnu.org>
4121 * files.el (dir-locals-collect-mode-variables): Allow for any number of
4122 `mode' and `eval' entries. (Bug#3430)
4124 * Makefile.in (ELCFILES): Add fadr.elc.
4126 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
4127 differing behavior of \n and ^ in strings. (Bug#3385)
4129 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
4131 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
4133 (lisp-indent-function): Make it a defcustom.
4135 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
4137 * progmodes/gdb-ui.el: Replace with ...
4138 * progmodes/gdb-mi.el: ... this file.
4139 * progmodes/gud.el: Modify for gdb-mi.el.
4141 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
4143 * fadr.el: New file.
4145 See ChangeLog.14 for earlier changes.
4151 Copyright (C) 2009 Free Software Foundation, Inc.
4153 This file is part of GNU Emacs.
4155 GNU Emacs is free software: you can redistribute it and/or modify
4156 it under the terms of the GNU General Public License as published by
4157 the Free Software Foundation, either version 3 of the License, or
4158 (at your option) any later version.
4160 GNU Emacs is distributed in the hope that it will be useful,
4161 but WITHOUT ANY WARRANTY; without even the implied warranty of
4162 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4163 GNU General Public License for more details.
4165 You should have received a copy of the GNU General Public License
4166 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
4168 ;; arch-tag: d3e45e38-19e2-49b6-8dc2-7cb26adcc5a1