1 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
3 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
5 2012-11-30 Samuel Bronson <naesten@gmail.com>
7 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
8 flag to xargs, for compatibility with BSD xargs (Bug#11703).
10 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
12 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
13 by move-to-column (Bug#3234).
15 2012-11-30 Chong Yidong <cyd@gnu.org>
17 * longlines.el (longlines-wrap-line, longlines-encode-region):
18 Preserve text properties (Bug#1425).
20 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
22 * vc/vc.el (vc-register): Allow registering a file which is
23 already registered with a different backend (Bug#10589).
25 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
26 Stefan Monnier <monnier@iro.umontreal.ca>
28 * icomplete.el: Change separator; add ido-style commands.
29 (icomplete-show-key-bindings): Remove custom var.
30 (icomplete-get-keys): Remove function.
31 (icomplete-forward-completions, icomplete-backward-completions):
33 (icomplete-minibuffer-map): New var.
34 (icomplete-minibuffer-setup): Use it.
35 (icomplete-exhibit): Don't delay if the list of completions is known.
36 (icomplete-separator): New custom.
37 (icomplete-completions): Use it.
38 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
39 (minibuffer-force-complete-and-exit): New command.
40 (minibuffer--complete-and-exit): New function extracted from
41 minibuffer-complete-and-exit.
42 (minibuffer-complete-and-exit): Use it.
44 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
45 error message when the file doesn't exist (bug#12974).
47 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
49 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
51 2012-11-29 Glenn Morris <rgm@gnu.org>
53 * files.el (hack-dir-local-variables): Warn if try to set
54 coding via dir-locals, since it doesn't work. (Bug#7169)
56 Add desktop support for restoring vc-dir buffers. (Bug#10606)
57 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
58 Set buffer-local value of desktop-save-buffer.
59 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
61 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
62 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
64 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
65 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
67 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
70 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
72 * calc/calc-forms.el (calc-date-notation): Fix regexp
73 used to find time codes. Fix symbol for seconds.
75 2012-11-27 Glenn Morris <rgm@gnu.org>
77 * emacs-lisp/derived.el (derived-mode-make-docstring):
78 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
80 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
82 * textmodes/table.el (table-insert): Don't use `symbol-name' on
83 lexically scoped variables (bug#13005).
85 2012-11-27 Glenn Morris <rgm@gnu.org>
87 * vc/vc-hooks.el (vc-mistrust-permissions):
88 Default to t, to avoid data-loss. (Bug#11490)
90 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
92 * progmodes/python.el (python-indent-guess-indent-offset):
93 If indentation is guessed make python-indent-offset buffer-local.
96 * progmodes/python.el (python-nav-beginning-of-defun):
97 Fix forward movement when statement(s) separates point from defun.
98 (python-imenu-prev-index-position): New function.
100 2012-11-27 Eli Zaretskii <eliz@gnu.org>
102 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
104 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
105 Don't set buffer-file-type. Return nil. (Bug#12989)
107 2012-11-27 Glenn Morris <rgm@gnu.org>
109 * hippie-exp.el (hippie-expand-try-functions-list):
110 Re-autoload it. (Bug#12982)
112 2012-11-27 Eli Zaretskii <eliz@gnu.org>
114 * descr-text.el (describe-char-padded-string):
115 Call internal-char-font only on GUI frames. (Bug#11964)
117 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
119 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
120 and obsoletion message.
122 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
124 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
125 the constructs to keep outside of the `cl-block' (bug#12977).
127 2012-11-27 Chong Yidong <cyd@gnu.org>
129 * mouse.el (mouse-drag-line): Even if the line is not draggable,
130 keep reading until we get the up-event anyway, in order to process
131 the up-event for mouse-1-click-follows-link (Bug#12971).
133 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
135 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
136 base function is not yet defined (bug#12965).
137 (ad-activate-advised-definition): Use ad-compile-function.
138 (ad-activate): Use cond.
140 2012-11-25 Leo Liu <sdl.web@gmail.com>
142 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
145 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
147 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
148 reftex-section-info-function in order to be compatible with
151 * textmodes/reftex.el (reftex-section-pre-regexp)
152 (reftex-section-post-regexp, reftex-section-info-function):
154 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
155 reftex-section-post-regexp, and reftex-section-info-function in order
156 to be compatible with Texinfo integration.
158 * textmodes/reftex-toc.el (reftex-toc-promote-action):
159 use reftex-section-pre-regexp variable in order to be compatible with
162 2012-11-25 Chong Yidong <cyd@gnu.org>
164 * faces.el: Make face-spec-set more analogous to setq.
165 (face-spec-set): Change the third arg to specify whether this
166 function is being called via defface, customize, or a third party.
167 Set the appropriate symbol properties. Clear the override spec if
168 setting via Custom. Initialize face if necessary. (Bug#4988)
169 (face-spec-recalc): Allow theme faces to completely replace the
170 defface spec, in the same way as custom faces (Bug#8454).
172 * cus-face.el (custom-declare-face): Move face initialization to
174 (custom-theme-set-faces): Don't initialize the face name here, as
175 that is now done in face-spec-set.
177 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
178 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
179 Simplify by using the new arg to face-spec-set.
181 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
182 reset face-override-spec too, and use custom-declare-face.
184 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
186 * term/ns-win.el (ns-initialize-window-system): Move creation of
187 fontsets here (Bug#11964).
189 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
191 * ses.el (ses-rename-cell): Correct bug on mode-line update after
194 2012-11-24 Chong Yidong <cyd@gnu.org>
196 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
199 * custom.el (custom-theme-set-variables): Use a topological sort
200 for ordering by custom dependencies (Bug#12952).
201 (custom--sort-vars, custom--sort-vars-1): New functions.
203 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
205 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
206 lexical-binding (bug#12938).
208 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
210 * image-mode.el (image-transform-check-size): Use assertions only
211 for images of type imagemagick.
213 Otherwise no error, image-transform-fit-to-{width,height} is
214 silently ignored, as before. Doc fix.
216 2012-11-24 Chong Yidong <cyd@gnu.org>
218 * faces.el (color-defined-p): Doc fix (Bug#12853).
220 2012-11-24 Juri Linkov <juri@jurta.org>
222 * dired.el (dired-mark): Add optional arg `interactive'.
223 Check for `use-region-p' if `interactive' is non-nil.
224 (dired-unmark, dired-flag-file-deletion): Add optional arg
225 `interactive'. Call `dired-mark' with the arg `interactive'.
228 * wdired.el: Revert 2012-10-17 change partly and replace it with
229 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
230 (wdired-finish-edit): Add marks for new file names to
231 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
232 after `revert-buffer'.
233 (wdired-do-renames): Remove calls to `dired-remove-file',
234 `dired-add-file', `dired-add-entry'. (Bug#11795)
236 2012-11-24 Alan Mackenzie <acm@muc.de>
238 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
240 Fix bugs in the state cache. Enhance a debugging mechanism.
241 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
242 "brace at column zero" strategy for C++.
243 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
244 (c-parse-state-point): New variable.
245 (c-record-parse-state-state): Record old parse state with
246 `copy-tree'. Record previous value of point.
247 (c-debug-parse-state-double-cons): New debugging function.
248 (c-debug-parse-state): Call the above new function.
249 (c-toggle-parse-state-debug): Output a confirmatory message.
251 * progmodes/cc-mode.el (c-before-change, c-after-change):
252 Call c-invalidate-state-cache from `c-before-change' instead of
255 2012-11-23 Chong Yidong <cyd@gnu.org>
257 * find-cmd.el (find-constituents): Add executable, ipath,
258 readable, samefile, writable, daystart, regextype (Bug#12856).
260 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
262 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
264 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
266 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
267 definition. This fixes a bootstrap failure.
268 (calc-gregorian-switch): In menu, put dates before regions.
269 This is easier to follow, lines up better in the menu, and lets us
270 coalesce regions that switch at the same time. Give country
271 names, not "Vatican", as that's better for non-expert users.
272 Use names that are stable between the date of switch and now, e.g.,
273 Bohemia and Moravia (which existed then and now) and not
274 Czechoslovakia (which didn't exist then and doesn't exist now).
275 What is now the U.S. mostly did not switch at the same time as
276 Britain, so omit the U.S. Correct spelling of "Britain".
277 Catholic Switzerland was too much of a mess, so omit it.
279 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
281 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
282 after the variable is changed.
284 2012-11-21 Daniel Colascione <dancol@dancol.org>
286 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
287 in SQL declarations for font-lock.
288 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
290 2012-11-21 Glenn Morris <rgm@gnu.org>
292 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
293 (face-italic-p): Add optional argument "inherit".
295 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
296 Remove -p suffix from names, for consistency with other set-face-*.
297 (set-face-inverse-video): Fix interactive spec.
298 * play/gamegrid.el (gamegrid-make-mono-tty-face):
299 * textmodes/table.el (table--update-cell-face):
300 Use set-face-inverse-video rather than now obsolete alias.
302 2012-11-21 Eli Zaretskii <eliz@gnu.org>
304 * simple.el (line-move): Don't call line-move-partial if
305 scroll-conservatively is in effect. (Bug#12927)
307 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
309 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
310 Fallback on completion-at-point rather than
311 pcomplete-expand-and-complete, and only if pcomplete actually failed.
312 (eshell-cmpl-initialize): Setup completion-at-point.
314 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
316 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
318 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
320 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
321 are remote, check out-of-band property for both.
323 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
325 * window.el (switch-to-buffer): Re-add the warning that was lost in the
328 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
330 More minor time fixes.
331 * calendar/time-date.el: Commentary fix.
332 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
333 too much other code depends on (0 0) time stamps.
334 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
335 Add a couple of FIXME comments.
337 Minor cleanup for times as lists of four integers.
338 * files.el (dir-locals-directory-cache):
339 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
341 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
342 * ps-bdf.el (bdf-file-newer-than-time):
343 Process four-integers time stamps, not two. Doc fixes.
345 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
347 * uniquify.el (uniquify-managed): Use defvar-local.
348 (rename-buffer, create-file-buffer): Advise with advice-add.
349 (uniquify-unload-function): Unadvise accordingly.
351 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
352 (trace-buffer): Don't purecopy.
353 (trace-entry-message, trace-exit-message): Add `context' arg.
354 (trace--timer): New var.
355 (trace-make-advice): Adjust for use in nadvice.
356 Add `context' argument. Delay `display-buffer' via a timer.
357 (trace-function-internal): Use advice-add.
358 (trace--read-args): New function.
359 (trace-function-foreground, trace-function-background): Use it.
360 (trace-function): Rename to trace-function-foreground and redefine as
361 an alias to that new name.
362 (untrace-function, untrace-all): Adjust to the use of nadvice.
364 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
366 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
368 * subr.el (called-interactively-p-functions): New var.
369 (internal--called-interactively-p--get-frame): New macro.
370 (called-interactively-p, interactive-p): Rewrite in Lisp.
371 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
372 (called-interactively-p-functions): Use it.
373 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
374 (called-interactively-p-functions): Use it.
375 * allout.el (allout-called-interactively-p): Don't assume
376 called-interactively-p is a subr.
378 2012-11-20 Glenn Morris <rgm@gnu.org>
380 * profiler.el (profiler-report-mode-map): Add a menu.
381 No need to bind `q' because we derive from special-mode.
382 (profiler-report-find-entry): Handle calls from the menu-bar.
384 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
386 * emacs-lisp/byte-run.el (defun-declarations-alist):
387 Allow a compiler-macro to be a lambda expression.
389 * progmodes/python.el: Use cl-lib. Move var declarations outside of
391 (python-syntax-context): Add compiler-macro.
392 (python-font-lock-keywords): Simplify with De Morgan.
394 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
396 * files.el (load-file): Require match in minibuffer selection, as was
397 the case in Emacs-20 before we changed the spec to allow .elc files
400 * json.el: Don't require cl since we don't use it.
401 * color.el: Don't require cl.
402 (color-complement): `caddr' -> `nth 2'.
404 * calendar/time-date.el (time-to-seconds): De-obsolete.
406 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
408 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
410 (math-date-to-julian-dt): Adjust the initial approximation for the
411 year to deal with the new definition of the DATE.
413 2012-11-19 Daniel Colascione <dancol@dancol.org>
415 * term/w32-win.el (cygwin-convert-path-from-windows):
416 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
418 2012-11-18 Chong Yidong <cyd@gnu.org>
420 * filecache.el (file-cache--read-list): New function.
421 (file-cache-add-directory-list, file-cache-add-file-list)
422 (file-cache-delete-file-list, file-cache-delete-directory-list):
423 Use it to read a list of files or directories (Bug#12846).
424 (file-cache-add-file, file-cache-add-directory)
425 (file-cache-delete-file-list, file-cache-delete-file-regexp)
426 (file-cache-delete-directory): Print an message.
428 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
430 * calc/calc-forms.el (math-date-to-dt): Use integer date when
431 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
433 2012-11-18 Glenn Morris <rgm@gnu.org>
435 * image.el (insert-image, insert-sliced-image): Doc fix.
437 2012-11-18 Chong Yidong <cyd@gnu.org>
439 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
442 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
444 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
445 response when the target file is in a subdirectory (Bug#12757).
447 2012-11-18 Chong Yidong <cyd@gnu.org>
449 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
451 2012-11-18 Glenn Morris <rgm@gnu.org>
453 * emacs-lisp/cl-lib.el (face-underline-p):
454 Use set-face-underline rather than the alias set-face-underline-p.
456 * window.el (with-temp-buffer-window): Doc fix.
457 * subr.el (with-output-to-temp-buffer):
458 Add doc xref to with-temp-buffer-window.
460 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
462 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
463 * calc/calc.el (math-format-date-cache): Declare.
465 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
467 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
468 It also uses January 1, 1 AD as its day number 1.
469 * calc/calc-forms.el (math-julian-date-beginning)
470 (math-julian-date-beginning-int): Implement this.
472 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
474 * descr-text.el (quail-find-key):
475 * dired.el (desktop-file-name):
476 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
477 * generic-x.el (comint-mode, comint-exec):
478 * image-dired.el (widget-forward):
479 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
480 (speedbar-change-expand-button-char)
481 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
482 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
483 * printing.el (easy-menu-add-item, easy-menu-remove-item)
484 (widget-field-action, widget-value-set):
485 * speedbar.el (imenu--make-index-alist):
486 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
487 (ring-length, ring-insert):
488 * vcursor.el (compare-windows-skip-whitespace):
489 * woman.el (dired-get-filename):
492 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
494 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
496 * calc/calc.el (calc-gregorian-switch): New variable.
498 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
499 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
500 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
501 (math-leap-year-p): Add option to distinguish between Julian
502 and Gregorian calendars.
503 (math-day-number): Use `math-day-in-year' to do the computations.
504 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
505 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
506 to do the computations.
507 (math-date-to-dt): Use `math-date-to-julian-dt' and
508 `math-date-to-gregorian-dt' to do the computations.
509 (calcFunc-weekday, math-format-date-part): Use the new version of
510 the DATE to determine the weekday.
511 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
514 2012-11-17 Eli Zaretskii <eliz@gnu.org>
516 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
517 Cygwin; otherwise use 'file:'. (Bug#12914)
518 (cygwin-convert-path-from-windows): Declare, to avoid
519 byte-compiler warnings.
521 2012-11-17 Andreas Politz <politza@fh-trier.de>
523 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
524 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
525 prefix and negative numeric prefix args (Bug#12795).
527 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
529 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
530 Don't signal an error with a score that is too low to add to the
531 list of top scores. (Bug#12779)
533 2012-11-17 Chong Yidong <cyd@gnu.org>
535 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
537 * filecache.el (file-cache-add-file): Handle relative file name in
538 the argument (Bug#12694).
540 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
542 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
544 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
546 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
548 * emacs-lisp/cl-lib.el: Set more meaningful version number.
550 2012-11-16 Martin Rudalics <rudalics@gmx.at>
552 * window.el (enlarge-window, shrink-window): Don't mention return
553 value in doc-string (Bug#12896).
554 (window--display-buffer): Don't resize frames - it won't work
555 with all window managers and defeat pop-up-frame-alist.
556 (display-buffer-alist): In doc-string explain that CONDITION can
557 be a function and which arguments are passed to it (Bug#12854).
558 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
559 expressions (Bug#12854).
560 (display-buffer): Pass ACTION argument to
561 display-buffer-assq-regexp.
563 2012-11-16 Glenn Morris <rgm@gnu.org>
565 * window.el (fit-frame-to-buffer-bottom-margin)
566 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
568 * faces.el (face-underline-p): Use face-attribute-specified-or.
570 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
572 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
574 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
576 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
578 2012-11-16 Glenn Morris <rgm@gnu.org>
580 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
581 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
583 * faces.el (face-underline-p): Doc fix. Handle :underline being
584 things other than `t' (a string, a list).
585 (face-inverse-video-p): Doc fix.
586 (set-face-underline): Rename it back from set-face-underline-p.
587 Doc fix. Allow interactive input of values other than t.
588 (read-face-attribute): Apply formatting to :underline,
589 since like :box and :stipple it can take list values.
591 * term.el (ansi-term): Don't let C-x escape-char binding
592 clobber the more standard C-c binding. (Bug#12842)
594 * subr.el (set-temporary-overlay-map): Doc fix.
596 2012-11-16 Martin Rudalics <rudalics@gmx.at>
598 * window.el (record-window-buffer)
599 (display-buffer-record-window): When copying the markers to
600 window-point preserve window-point-insertion-type. (Bug#12588)
602 2012-11-16 Glenn Morris <rgm@gnu.org>
604 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
605 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
606 Use new names for hooks rather than obsolete aliases.
608 2012-11-15 Daniel Colascione <dancol@dancol.org>
610 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
611 prefix instead of "file:" so that when FILE-NAME begins with "//",
612 as it does when the target file is on a network share, url-handler
615 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
617 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
618 a preactivated advice from an old advice.el; they're not compatible!
620 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
622 * emacs-lisp/nadvice.el (advice--make-interactive-form):
623 Fix string-spec case.
625 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
627 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
629 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
630 (advice--buffer-local-function-sample): New var.
631 (advice--set-buffer-local, advice--buffer-local): New functions.
632 (add-function, remove-function): Use them.
634 2012-11-15 Drew Adams <drew.adams@oracle.com>
636 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
638 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
640 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
641 potential binding of print-gensym to t, and prettify (back)quotes in
642 case they appear in args's default values (bug#12884).
644 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
646 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
647 (advice-eval-interactive-spec): New function.
648 (advice--make-interactive-form): Support around advice (bug#12844).
650 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
652 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
653 more strict. Add docstring.
654 (ruby-expression-expansion-re): Extract from
655 `ruby-match-expression-expansion'.
656 (ruby-syntax-propertize-function): After everything else, search
657 for expansions in string literals, mark their insides as
658 whitespace syntax and save match data for font-lock.
659 (ruby-font-lock-keywords): Use the 2nd group from expression
661 (ruby-match-expression-expansion): Use the match data saved to the
662 text property in ruby-syntax-propertize-function.
664 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
666 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
669 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
671 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
672 start/end keyword a bit harder. Works with different values of N.
674 (ruby-end-of-block): Update accordingly.
676 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
678 * woman.el (woman-file-name): Don't mess with unread-command-events
681 * emacs-lisp/advice.el: Layer on top of nadvice.el.
682 Remove out of date self-require hack.
683 (ad-do-advised-functions): Use simple `dolist'.
684 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
685 (ad-advice-definition): Redefine as functions.
686 (ad-advice-classes): Move before first use.
687 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
688 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
689 (ad--defalias-fset): Remove functions.
690 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
691 (ad-get-orig-definition): Rewrite.
692 (ad-make-advised-definition-docstring): Change base docstring.
693 (ad-real-orig-definition): Rewrite.
694 (ad-map-arglists): Change name of called function.
695 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
696 (ad-make-advised-definition): Simplify.
697 (ad-assemble-advised-definition): Tweak for new calling context.
698 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
699 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
700 function and call ad-activate if needed.
701 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
702 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
703 (ad-compile-function): Compile ad-Advice-*.
704 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
705 (ad-start-advice, ad-stop-advice): Remove.
707 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
709 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
710 period before class method names, not after. Remove handling of
711 one impossible case. Add comments.
713 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
715 * emacs-lisp/advice.el: Remove support for freezing.
716 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
717 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
718 Remove support for `freeze'.
720 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
721 override the default.
722 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
724 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
727 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
729 (advice--strip-macro): New function.
730 (advice--defalias-fset): Use them to handle macros.
731 (advice-add): Use them.
732 (advice-member-p): Correctly handle macros.
734 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
736 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
737 Never font-lock the beginning of singleton class as heredoc.
739 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
741 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
743 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
745 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
746 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
747 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
749 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
751 Fix end-of-defun misbehavior.
752 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
753 python-beginning-of-defun-function. Handle nested defuns
755 (python-nav-end-of-defun): Rename from
756 python-end-of-defun-function. Ensure forward movement.
757 (python-info-current-defun): Reimplement to work as intended
758 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
759 parent defuns as soon as possible.
761 2012-11-13 Glenn Morris <rgm@gnu.org>
763 * progmodes/flymake.el (flymake-error-bitmap)
764 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
765 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
767 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
769 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
770 backward, always stop at indentation. Reverts the change from
771 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
773 2012-11-13 Glenn Morris <rgm@gnu.org>
775 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
776 Add ibuffer-filter-by-derived-mode.
778 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
779 the same name shadowing each other.
781 * window.el (with-temp-buffer-window): Doc tweak.
783 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
785 * help.el (temp-buffer-max-height):
786 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
787 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
789 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
791 * emacs-lisp/nadvice.el: New package.
792 * subr.el (special-form-p): New function.
793 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
794 (elp-all-instrumented-list): Remove var.
795 (elp-not-profilable): Remove elp-wrapper.
796 (elp-profilable-p): Use autoloadp and special-form-p.
797 (elp--advice-name): New const.
798 (elp-instrument-function): Use advice-add.
799 (elp--instrumented-p): New predicate.
800 (elp-restore-function): Use advice-remove.
801 (elp-restore-all, elp-reset-all): Use mapatoms.
802 (elp-set-master): Use elp--instrumented-p.
803 (elp--make-wrapper): Rename from elp-wrapper, return a function
804 suitable for advice-add. Use cl-inf.
805 (elp-results): Use mapatoms+elp--instrumented-p.
806 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
807 (debug-function-list): Remove var.
808 (debug): Rename arg, and then let-bind it explicitly inside.
809 (debugger-setup-buffer): Rename arg.
810 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
811 (debugger-frame-number): Adjust to new debug-on-entry setup.
812 (debug--implement-debug-on-entry): Rename from
813 implement-debug-on-entry, add argument.
814 (debugger-special-form-p): Remove, use special-form-p instead.
815 (debug-on-entry): Use advice-add.
816 (debug--function-list): New function.
817 (cancel-debug-on-entry): Use it, along with advice-remove.
818 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
819 (debugger-list-functions): Use debug--function-list instead of
821 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
822 (ad-special-form-p): Remove, use special-form-p instead.
823 (ad-set-advice-info): Use add-function and remove-function.
824 (ad--defalias-fset): Adjust accordingly.
826 2012-11-10 Glenn Morris <rgm@gnu.org>
828 * mail/emacsbug.el (report-emacs-bug-tracker-url)
829 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
830 (report-emacs-bug-create-existing-bugs-buffer)
831 (report-emacs-bug-parse-query-results)
832 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
834 * term.el (term-default-fg-color, term-default-bg-color):
835 Make obsolete, rather than just saying "deprecated" in the doc.
837 * term.el (term): Rename from `term-face'.
838 (term-current-face, ansi-term-color-vector)
839 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
842 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
844 * server.el (server-create-window-system-frame): Handle Nextstep
845 specially (Bug#12780).
847 2012-11-10 Glenn Morris <rgm@gnu.org>
849 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
850 Unautoload, and make obsolete. (Bug#7449)
852 2012-11-10 Chong Yidong <cyd@gnu.org>
854 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
855 rename from diff-remove-trailing-whitespace (Bug#12831).
857 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
859 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
860 miscompilation of trace.el.
862 2012-11-10 Glenn Morris <rgm@gnu.org>
864 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
866 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
868 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
871 2012-11-10 Chong Yidong <cyd@gnu.org>
873 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
874 a defcustom with an appropriate :set function.
875 (minibuffer-default--in-prompt-regexps): New function.
877 2012-11-10 Glenn Morris <rgm@gnu.org>
879 * emacs-lisp/cl.el (define-setf-expander, defsetf)
880 (define-modify-macro): Doc fixes.
882 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
883 (gv-define-simple-setter): Update doc of `fix-return'.
885 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
887 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
888 twice when `fix-return' is set (bug#12813).
890 * emacs-lisp/cl.el (defsetf): Pass the third arg to
891 gv-define-simple-setter (bug#12812).
893 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
896 2012-11-10 Glenn Morris <rgm@gnu.org>
898 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
900 * emacs-lisp/cl-extra.el (cl-prettyexpand):
901 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
902 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
903 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
905 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
907 2012-11-10 Leo Liu <sdl.web@gmail.com>
909 * ido.el (ido-set-matches-1): Improve flex matching performance by
910 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
912 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
914 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
915 (ad--defalias-fset): New function.
916 (ad-safe-fset): Remove.
917 (ad-make-freeze-definition): Use cl-letf*.
919 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
921 * subr.el (dolist): Don't bind VAR in RESULT.
923 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
924 (fset, documentation): Don't save real def since we don't advise.
925 (ad-do-advised-functions): Remove problematic `result-form'.
926 (ad-safe-fset): `ad-real-fset' => `fset'.
927 (ad-read-advised-function): Don't assume that ad-do-advised-functions
928 uses CL's dolist internally.
929 (ad-arglist): Remove unused arg `name'.
930 (ad-docstring, ad-make-advised-docstring):
931 `ad-real-documentation' => `documentation'.
932 (warning-suppress-types): Declare.
933 (ad-set-arguments): Simple CSE.
934 (ad-recover-normality): Sanity check.
936 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
937 (funcall '(lambda ..) ..) into ((lambda ..) ..).
939 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
941 * ses.el: symbol to coordinate mapping is made by symbol property
942 `ses-cell'. This means that the same mapping is done for all SES
943 sheets. That is good enough for cells with standard A1 names, but
944 not for named cell. So a hash map is added for the latter.
945 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
946 (ses-sym-rowcol): Use hashmap for named cell.
947 (ses-is-cell-sym-p): New defun.
948 (ses-decode-cell-symbol): New defun.
949 (ses-create-cell-variable): Add cell to hashmap when name is not
951 (ses-rename-cell): Check that cell new name is not already in
952 spreadsheet with the use of ses-is-cell-sym-p
953 (ses-rename-cell): Use hash map for named cells, but accept also
954 renaming back to A1-like.
956 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
958 * emacs-lisp/advice.el: Use new dynamic docstrings.
959 (ad-make-advised-definition-docstring, ad-advised-definition-p):
960 Use dynamic-docstring-function instead of ad-advice-info.
961 (ad--make-advised-docstring): New function extracted from
962 ad-make-advised-docstring.
963 (ad-make-advised-docstring): Use it.
964 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
966 (sql-help): Use it with dynamic-docstring-function.
968 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
970 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
972 * files.el (hack-one-local-variable--obsolete): New function.
973 (hack-one-local-variable): Use it for obsolete settings.
975 * subr.el (locate-user-emacs-file): If both old and new name exist, use
978 * progmodes/js.el (js--filling-paragraph): New var.
979 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
980 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
983 2012-11-08 Julien Danjou <julien@danjou.info>
985 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
986 `auto-mode-alist' (Bug#12835).
988 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
990 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
991 (perl--prettify-symbols-alist): New const.
992 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
994 (perl-font-lock-keywords-2): Use them.
995 (perl-electric-noindent-p): New function.
996 (perl-mode): Use it to set up electric-indent-mode.
997 (perl-electric-terminator, perl-indent-command): Mark obsolete.
998 (perl-mode-map): Remove bindings for them.
999 (perl-imenu-generic-expression, perl-outline-level):
1000 Match functions&packages in column>0.
1002 * env.el (env--substitute-vars-regexp): New const.
1003 (substitute-env-vars): Use it. Add `only-defined' arg.
1004 * net/tramp.el (tramp-replace-environment-variables): Use it.
1006 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
1007 Byte-compile *before* eval in eval-and-compile.
1008 (byte-compile-log-warning): Remove redundant inhibit-read-only.
1009 (byte-compile-file-form-autoload): Don't hide actual definition.
1010 (byte-compile-maybe-guarded): Accept `functionp' as well.
1012 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
1014 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
1016 * notifications.el (notifications-get-server-information-method):
1018 (notifications-get-capabilities): Fix docstring.
1019 (notifications-get-server-information): New defun.
1021 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1023 * textmodes/ispell.el (ispell-region): Standard re-indent for better
1026 * textmodes/ispell.el: Experimental support for support debugging.
1027 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
1029 (ispell-print-if-debug): New function to print stuff to
1030 `ispell-debug-buffer' if debugging is enabled.
1031 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
1032 show some debugging info.
1033 (ispell-buffer-with-debug): New function that creates a debugging
1034 buffer and calls `ispell-buffer' with debugging enabled.
1036 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
1037 comment in autoconf mode. (Bug#12768)
1039 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
1041 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
1042 frame-first-window, frame-root-window, frame-selected-window,
1043 minibuffer-selected-window, minibuffer-window,
1044 window-absolute-pixel-edges, window-at, window-body-height,
1045 window-body-width, window-display-table, window-combination-limit,
1046 window-frame, window-fringes, window-inside-absolute-pixel-edges,
1047 window-inside-edges, window-inside-pixel-edges, window-left-child,
1048 window-left-column, window-margins, window-next-buffers,
1049 window-next-sibling, window-new-normal, window-new-total,
1050 window-normal-size, window-parameter, window-parameters, window-parent,
1051 window-pixel-edges, window-point, window-prev-buffers,
1052 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
1053 window-start, window-text-height, window-top-child, window-top-line,
1054 window-total-height, window-total-width and window-use-time to the list
1055 of functions without side-effects.
1056 (toplevel): Add window-valid-p to the list of error-free functions
1057 without side-effects.
1059 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1061 * textmodes/ispell.el (ispell-program-name):
1062 Update spellchecker parameters when customized.
1064 2012-11-04 Glenn Morris <rgm@gnu.org>
1066 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
1068 2012-11-04 Chong Yidong <cyd@gnu.org>
1070 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
1071 same-window-* variables.
1073 2012-11-04 Juri Linkov <juri@jurta.org>
1075 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
1076 (isearch-describe-key, isearch-describe-mode): Use a display
1077 action instead of binding same-window-* variables (Bug#10040).
1079 2012-11-03 Glenn Morris <rgm@gnu.org>
1081 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
1082 Rename handler properties back from cl-- to cl-. (Bug#12788)
1084 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
1086 2012-11-03 Eli Zaretskii <eliz@gnu.org>
1088 * term/pc-win.el: Don't load term/internal from here.
1090 * loadup.el: Load term/internal from here.
1092 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
1094 * progmodes/python.el (inferior-python-mode): Fix hang in
1095 jit-lock (Bug#12645).
1097 2012-11-03 Martin Rudalics <rudalics@gmx.at>
1099 * window.el (switch-to-visible-buffer)
1100 (switch-to-buffer-preserve-window-point): Fix doc-strings.
1102 2012-11-03 Glenn Morris <rgm@gnu.org>
1104 * emacs-lisp/cl-lib.el (cl--random-time):
1105 Rename from cl-random-time. (Bug#12773)
1106 (cl--gensym-counter, cl--random-state): Update callers.
1107 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
1109 2012-11-03 Chong Yidong <cyd@gnu.org>
1111 * cus-start.el: Make cursor-type customizable (Bug#11633).
1113 2012-11-02 Glenn Morris <rgm@gnu.org>
1115 * filecache.el: No need to load find-lisp when compiling.
1116 (find-lisp-find-files): Autoload it.
1117 (file-cache-add-directory-recursively): Don't require find-lisp.
1119 * image.el (image-type-from-file-name): Trivial simplification.
1121 * emacs-lisp/bytecomp.el (byte-compile-eval):
1122 Decouple "noruntime" and "cl-functions" warnings.
1124 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
1126 * play/gomoku.el (gomoku-display-statistics): Update mode line
1127 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
1129 2012-10-31 Martin Rudalics <rudalics@gmx.at>
1131 * window.el (quit-restore-window): If the window has been
1132 created on an existing frame and ended up as the sole window on
1133 that frame, do not delete it (Bug#12764).
1135 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
1137 * progmodes/sh-script.el (sh--inside-noncommand-expression):
1138 Rename from sh--inside-arithmetic-expression, handle more cases
1141 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
1142 (sh-font-lock-open-heredoc): Use it (bug#12770).
1144 2012-10-30 Glenn Morris <rgm@gnu.org>
1146 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
1148 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
1150 2012-10-29 Chong Yidong <cyd@gnu.org>
1152 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
1153 function key is stored in a keyboard macro (Bug#4894).
1155 * thingatpt.el (number-at-point): Apply a thing-at-point property.
1157 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1159 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
1161 (diff-unified->context, diff-context->unified)
1162 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
1164 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
1166 * files.el (find-alternate-file): Only ask one question (bug#12487).
1168 2012-10-29 Chong Yidong <cyd@gnu.org>
1170 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
1171 Suggested by Dan Nicolaescu (Bug#6326).
1173 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
1175 * startup.el (fancy-about-screen): Don't message (Bug#12680).
1177 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
1179 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
1181 * face-remap.el (face-remap-add-relative): Handle the case where a
1182 face-remapping-alist entry is a cons cell (Bug#12762).
1184 2012-10-29 Kevin Ryde <user42@zip.com.au>
1186 * woman.el (woman-parse-numeric-value): Handle picas correctly
1189 2012-10-29 Glenn Morris <rgm@gnu.org>
1191 * emacs-lisp/cl.el (defsetf): Doc fix.
1193 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1195 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
1196 syntax to the matching opener, if any (bug#12547).
1197 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
1198 matching open as a "case-(".
1199 (sh-smie-rc-grammar): Add a corresponding rule for it.
1201 2012-10-28 Daniel Hackney <dan@haxney.org>
1203 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
1204 "PKGNAME-autoloads.el" in case we created it.
1206 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1208 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
1209 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
1210 (completion--twq-all): Disable too-strict assertions.
1212 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
1214 2012-10-27 Eli Zaretskii <eliz@gnu.org>
1216 * profiler.el (profiler-report-make-entry-part): Fix help-echo
1217 text to match the real keybindings.
1219 2012-10-27 Juri Linkov <juri@jurta.org>
1221 * wdired.el (wdired-keep-marker-rename): New defcustom.
1222 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
1225 * dired.el (dired-keep-marker-rename): Add reference to
1226 `wdired-keep-marker-rename' in the docstring.
1227 Add default character value ?R to display initially in
1228 Customization UI instead of ?@.
1230 2012-10-27 Martin Rudalics <rudalics@gmx.at>
1232 * window.el (display-buffer): In doc-string describe
1233 window-height and window-width alist entries.
1235 * time.el (display-time-world): Restore fit-window-to-buffer
1238 2012-10-27 Chong Yidong <cyd@gnu.org>
1240 * subr.el (insert-buffer-substring-as-yank): Doc fix.
1242 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
1244 * minibuffer.el (completion-category-overrides): New completion
1245 category `bookmark' (bug#11131).
1247 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
1249 * emacs-lisp/advice.el (ad-assemble-advised-definition):
1250 Silence bogus compiler warnings for ad-do-it.
1252 * bookmark.el (bookmark-completing-read): Set the completion category
1253 to `bookmark' (bug#11131).
1255 2012-10-26 Bastien <bzg@altern.org>
1256 Stefan Monnier <monnier@iro.umontreal.ca>
1258 * face-remap.el: Use lexical-binding.
1259 (text-scale-adjust): Improve docstring. Use itself for the temporary
1260 overlay-map bindings, so as to repeat the "Use..." message each time.
1262 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
1264 * emacs-lisp/macroexp.el (macroexp--expand-all):
1265 Obey byte-compile-warning-enabled-p (bug#12486).
1267 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
1268 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
1270 2012-10-26 Martin Rudalics <rudalics@gmx.at>
1272 * mouse.el (mouse-drag-line): Move last form into preceding when
1275 * help.el (resize-temp-buffer-window): Fix doc-string.
1277 2012-10-25 David Engster <deng@randomsample.de>
1279 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
1280 Remove. This feature is already integrated in imenu.
1282 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
1283 always loaded. Require `speedbar' unconditionally.
1285 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1287 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
1289 * minibuffer.el (minibuffer-force-complete): Fix thinko.
1291 * net/ldap.el (ldap-search-internal): The official ldif format starts
1292 with a "version: 1" header (bug#12724).
1294 * emacs-lisp/package.el (package-installed-p): Warn if not ready
1297 2012-10-25 Glenn Morris <rgm@gnu.org>
1299 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
1301 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1303 * minibuffer.el (minibuffer-force-complete): Use one more marker
1304 for the temporary-overlay-map command (bug#12619).
1306 2012-10-24 Chong Yidong <cyd@gnu.org>
1308 * time.el (display-time-world-mode): Derive from special-mode.
1309 (display-time-world): Use display-buffer (Bug#12708).
1310 (display-time-world-mode-map): Variable deleted.
1311 (display-time-world-display): Wrap the final delete-char inside
1314 2012-10-24 Chong Yidong <cyd@gnu.org>
1316 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
1319 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
1321 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1323 * minibuffer.el (completion--all-sorted-completions-location): New var.
1324 (completion--cache-all-sorted-completions)
1325 (completion--flush-all-sorted-completions): Use it.
1326 (completion-in-region, completion-in-region--postch)
1327 (completion-at-point, completion-help-at-point): Use markers in
1328 completion-in-region--data (bug#12619).
1330 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1332 * progmodes/compile.el (compilation-start): Try to handle common
1333 quoting of `cd' argument (bug#12640).
1335 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
1338 2012-10-23 Glenn Morris <rgm@gnu.org>
1340 * progmodes/gud.el (gud-menu-map):
1341 Check gdb-active-process is bound. (Bug#12358)
1343 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1345 * repeat.el (repeat): Set real-this-command (bug#12232).
1347 * htmlfontify.el (hfy-post-html-hook):
1348 * filesets.el (filesets-cache-fill-content-hook):
1349 * arc-mode.el (archive-extract-hook):
1350 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
1351 * net/rcirc.el (rcirc-sentinel-functions)
1352 (rcirc-receive-message-functions, rcirc-activity-functions)
1353 (rcirc-print-functions):
1354 * net/dbus.el (dbus-event-error-functions):
1355 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
1356 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
1357 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
1358 * term/sun.el (sun-raw-prefix-hooks):
1359 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
1361 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
1363 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
1364 Set `tramp-chunksize' to 1. This improves the performance.
1365 (tramp-smb-wait-for-output): Add timeout to
1366 `tramp-accept-process-output' calls.
1368 2012-10-23 Chong Yidong <cyd@gnu.org>
1370 * faces.el (font-list-limit): Define as an obsolete variable.
1372 * startup.el (command-line):
1373 * cus-start.el: Don't refer to font-list-limit.
1375 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
1377 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1379 * subr.el (internal-temp-output-buffer-show): Rename from
1380 temp-output-buffer-show, since previously compiled files expect this name.
1382 2012-10-23 Glenn Morris <rgm@gnu.org>
1384 * image.el (image-type-from-file-name): If multiple types match,
1385 return the first one that is supported. (Bug#9045)
1387 2012-10-22 Glenn Morris <rgm@gnu.org>
1389 * image.el (imagemagick-enabled-types): Doc fix.
1391 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
1393 * progmodes/which-func.el (which-func-current): The hash-table may have
1394 an explicit nil (bug#12338).
1396 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1398 * electric.el (electric-pair-delete-selection-self-insert-function):
1399 Rename to electric-pair-will-use-region, return a boolean.
1400 (electric-pair-mode): Adjust accordingly. Don't require delsel.
1402 * delsel.el (delete-selection-helper): Use a function instead of a hook.
1403 (delete-selection-pre-hook): Use use-region-p.
1404 (delete-selection-self-insert-function): Remove.
1405 (self-insert-command): Obey self-insert-uses-region-functions.
1406 (self-insert-iso): Revert to previous setting, since we don't actually
1407 know what that command does.
1408 (delete-selection-self-insert-hooks): Remove.
1410 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
1412 * delsel.el (delete-selection-helper): New function, extracted from
1413 delete-selection-pre-hook.
1414 (delete-selection-pre-hook): Use it.
1415 (delete-selection-self-insert-function): New function.
1416 (delete-selection-self-insert-hooks): New hook.
1417 (self-insert-command, self-insert-iso): Use it.
1418 * electric.el (electric-pair-syntax): New function, extracted from
1419 electric-pair-post-self-insert-function.
1420 (electric-pair-post-self-insert-function): Use it.
1421 (electric-pair-delete-selection-self-insert-function): New function.
1422 (electric-pair-mode): Require delsel and setup
1423 delete-selection-self-insert-hooks (bug#11520).
1425 2012-10-20 Chong Yidong <cyd@gnu.org>
1427 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
1428 no changes to show (Bug#12586).
1430 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
1431 list explicitly (Bug#12571).
1433 2012-10-20 Arne Jørgensen <arne@arnested.dk>
1435 * progmodes/flymake.el (flymake-create-temp-inplace):
1438 2012-10-20 Eli Zaretskii <eliz@gnu.org>
1440 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
1442 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
1444 * calc/calc-units.el (math-extract-units): Properly extract powers
1447 2012-10-20 Daniel Colascione <dancol@dancol.org>
1449 * frame.el (make-frame): Set x-display-name as we used to in order
1450 to unbreak creating an X11 frame from an Emacs daemon started
1453 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1455 * minibuffer.el (minibuffer-force-complete): Make the next completion use
1456 the same completion-field (bug#12221).
1458 2012-10-19 Martin Rudalics <rudalics@gmx.at>
1460 * emacs-lisp/debug.el (debug): Record height of debugger window
1461 also when debugger will be back (Bug#8789).
1463 2012-10-18 Chong Yidong <cyd@gnu.org>
1465 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
1466 Convert to defcustom.
1467 (gdb-get-source-file): Don't bind pop-up-windows.
1469 * progmodes/gud.el (gud-display-line): Don't specially re-use
1470 other frames for the gdb-mi case (Bug#12648).
1472 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
1474 * emacs-lisp/advice.el: Clean up commentary a bit.
1475 (ad-do-advised-functions, ad-with-originals): Use `declare'.
1476 (byte-code-function-p): Never redefine.
1478 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
1480 2012-10-18 Glenn Morris <rgm@gnu.org>
1482 * dired.el (dired-sort-toggle): Some ls implementations only allow
1483 a single option string. (Bug#12666)
1485 * minibuffer.el (completion-cycle-threshold): Doc fix.
1487 2012-10-17 Kenichi Handa <handa@gnu.org>
1489 * international/mule.el (set-keyboard-coding-system):
1490 Recover input meta mode when the new coding system doesn not use 8-bit.
1491 Supply TERMINAL arg to set-input-meta-mode.
1493 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
1495 * wdired.el (wdired-old-marks): New variable.
1496 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
1497 (wdired-do-renames): Move point with renamed file and don't lose
1498 mark status (Bug#11795).
1500 2012-10-16 Juri Linkov <juri@jurta.org>
1502 * replace.el (query-replace-help): Mention multi-buffer replacement
1503 keys in the Help message. (Bug#12655)
1505 2012-10-15 Chong Yidong <cyd@gnu.org>
1507 * emacs-lisp/byte-run.el (defsubst): Doc fix.
1509 2012-10-14 Eli Zaretskii <eliz@gnu.org>
1511 * window.el (display-buffer): Doc fix.
1513 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1514 Adjust the msft regexp to the output of Studio 2010, and move msft
1515 before edg-1. See the discussion on emacs-devel,
1516 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
1519 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
1521 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
1522 (oset): Move uses of object-class-fast macro after its definition.
1524 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
1526 2012-10-13 Chong Yidong <cyd@gnu.org>
1528 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
1529 enabled, re-enable it (Bug#11963).
1531 2012-10-13 Martin Rudalics <rudalics@gmx.at>
1533 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
1534 non-nil, restore window configuration (Bug#12623).
1536 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1538 * help-fns.el (describe-variable, describe-function-1):
1539 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
1541 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
1543 2012-10-12 Glenn Morris <rgm@gnu.org>
1545 * mail/rmailsum.el (rmail-header-summary):
1546 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
1548 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
1550 * progmodes/python.el (python-mode-map):
1551 Replace subtitute-key-definition with proper command remapping.
1552 (python-nav--up-list): Fix behavior for blocks on the same level.
1554 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1556 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
1558 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
1559 changes to the format of load-history.
1561 * international/mule-cmds.el (read-char-by-name): Move let-binding of
1562 completion-ignore-case in case that var is buffer-local (bug#12615).
1564 2012-10-11 Kenichi Handa <handa@gnu.org>
1566 * international/eucjp-ms.el: Re-generated.
1568 2012-10-10 Kenichi Handa <handa@gnu.org>
1570 * select.el (xselect--encode-string): If a coding is specified for
1571 selection, and that is compatible with COMPOUND_TEXT, use it.
1573 2012-10-10 Martin Rudalics <rudalics@gmx.at>
1575 * window.el (switch-to-buffer-preserve-window-point): New option.
1577 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
1579 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1581 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
1582 Don't document nil as a useful value (bug#12583).
1584 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
1586 * net/tramp.el (tramp-debug-message):
1587 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1588 (with-tramp-progress-reporter): Rename from
1589 `tramp-with-progress-reporter'.
1590 (with-tramp-file-property, with-tramp-connection-property):
1591 Move from tramp-cache.el, rename from `with-file-property' and
1592 `with-connection-property', respectively.
1594 * net/tramp-cache.el: Remove `with-file-property' and
1595 `with-connection-property'.
1598 * net/tramp-gvfs.el:
1600 * net/tramp-smb.el: Adapt callees.
1602 * net/trampver.el: Update release number.
1604 2012-10-09 Glenn Morris <rgm@gnu.org>
1606 * w32-fns.el (set-message-beep):
1607 * term/w32-win.el (set-message-beep): Update declarations.
1609 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1611 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
1612 (mode-line-widen, mode-line-input-method-map)
1613 (mode-line-coding-system-map, mode-line-remote)
1614 (mode-line-unbury-buffer, mode-line-bury-buffer)
1615 (mode-line-next-buffer, mode-line-previous-buffer):
1616 Replace save-selected-window+select-window => with-selected-window.
1618 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
1619 * progmodes/cc-vars.el (bq-process): Remove, unused.
1621 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
1623 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
1625 Implemented `backward-up-list'-like navigation.
1626 * progmodes/python.el (python-nav-up-list)
1627 (python-nav-backward-up-list): New functions.
1628 (python-mode-map): Define substitute key for backward-up-list to
1629 python-nav-backward-up-list.
1631 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1633 * progmodes/python.el (python-fill-paragraph): Rename from
1634 python-fill-paragraph-function. Fixed fill-paragraph for
1635 decorators (Bug#12605).
1637 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1639 * progmodes/python.el (python-shell-output-filter): Handle extra
1640 carriage return in OSX (Bug#12409).
1642 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1644 Fix shell handling of unbalanced quotes and parens in output.
1645 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
1646 (python-syntax-propertize-function): Use it.
1647 (python-shell-output-syntax-table): New var.
1648 (inferior-python-mode): Prevent unbalanced parens/quotes from
1649 previous output mess with current input context.
1651 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
1653 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
1654 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
1656 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
1658 * ffap.el (ffap-replace-file-component): Support Tramp file name
1659 syntax, not only ange-ftp's one.
1661 2012-10-08 Glenn Morris <rgm@gnu.org>
1663 * cus-start.el (message-log-max): Set :version.
1665 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
1667 2012-10-08 Martin Rudalics <rudalics@gmx.at>
1669 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
1670 the minibuffer window (Bug#10851).
1672 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1674 Enhancements on forward-sexp movement.
1675 * progmodes/python.el (python-nav-beginning-of-statement)
1676 (python-nav-end-of-statement): Return point-marker.
1677 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
1678 (python-info-current-symbol)
1679 (python-info-statement-starts-block-p): Rename from
1680 python-info-beginning-of-block-p.
1681 (python-info-statement-ends-block-p): Rename from
1682 python-info-end-of-block-p.
1683 (python-info-beginning-of-statement-p)
1684 (python-info-end-of-statement-p)
1685 (python-info-beginning-of-block-p, python-info-end-of-block-p):
1688 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1690 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
1691 frame-selected-windows.
1693 2012-10-08 Daniel Colascione <dancol@dancol.org>
1695 * battery.el (battery-status-function): Check for
1696 w32-battery-status itself, not system-time windows-nt.
1698 * frame.el: Require cl-lib.
1699 (display-format-alist): New variable mapping frame types to
1700 functions that initialize them.
1701 (window-system-for-display): New function: interprets
1702 display-format-alist.
1703 (make-frame-on-display): Remove existing display-selection logic
1704 and just forward to make-frame, which will now DTRT.
1705 (make-frame): Restructure to use window-system-for-display to
1706 figure out how to create a frame on a given display.
1707 (display-mouse-p): Look for frame-type w32, not a particular
1710 * loadup.el: Load w32 lisp code when we have the w32 feature.
1712 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
1713 system-type windows-nt.
1715 * server.el (server-create-window-system-frame): Look for window
1717 (server-proces-filter): Only force a window system when windows-nt
1718 _and_ w32. Explain why.
1720 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
1721 of window systems we configure for the mode.
1723 * startup.el (command-line): Mark window system is initialized
1724 after we've done it.
1726 * common-win.el (x-select-text): Look for w32, not windows-nt.
1728 * ns-win.el: Require cl-lib. Add ourselves to
1729 display-format-alist.
1730 (ns-initialize-window-system): Assert we're not initialized twice.
1732 * w32-win.el: Enable lexical binding; require cl-lib; add
1733 ourselves to display-format-alist.
1734 (w32-handle-dropped-file): Convert incoming dropped files from
1735 Windows paths to Cygwin ones before passing them on to the rest of
1737 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
1738 (w32-initialize-window-system): Assert we're not initialized twice.
1740 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
1741 (x-initialize-window-system): Assert we're not initialized twice.
1743 * w32-common-fns.el: New File.
1744 (w32-version, w32-using-nt, w32-get-clipboard-data)
1745 (w32-set-clipboard-data, x-set-selection, x-get-selection)
1746 (w32-charset-info-alist, x-last-selected, text)
1747 (x-get-selection-value, x-selection-value): Move here.
1749 * w32-fns.el: Require w32-common-fns.
1750 (w32-version, w32-using-nt, w32-get-clipboard-data)
1751 (w32-set-clipboard-data, x-set-selection, x-get-selection)
1752 (w32-charset-info-alist, x-last-selected, text)
1753 (x-get-selection-value, x-selection-value): Move to
1757 (w32-allow-system-shell, w32-system-shells): Define only in
1760 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1762 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
1763 (read-passwd): Remove a few more potential sources of leaks.
1765 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1767 * progmodes/python.el (inferior-python-mode)
1768 (python-shell-make-comint): Fix initialization of local
1769 variables copied from parent buffer.
1771 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
1773 * term/ns-win.el (ns-read-file-name): Update declaration to match
1775 (ns-respond-to-change-font): Change fontsize separatly so we are sure
1776 it is set when font is acted upon.
1778 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1780 Enhancements to indentation.
1781 * progmodes/python.el (python-indent-context): Give priority to
1782 inside-string context. Make comments indentation markers.
1783 (python-indent-region): Do not mess with strings, unless it's the
1784 enclosing set of quotes.
1786 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1788 * window.el (internal--before-save-selected-window)
1789 (internal--after-save-selected-window): New functions extracted from
1790 save-selected-window. Make sure we return the `alist' we construct.
1791 (save-selected-window): Use them.
1793 * textmodes/tex-mode.el (tex-recenter-output-buffer):
1794 Use with-selected-window.
1796 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
1797 forms that define macros (bug#12593).
1799 2012-10-07 Kenichi Handa <handa@gnu.org>
1801 * international/mule-conf.el (compound-text-with-extensions):
1802 Add :mime-charset property as x-ctext.
1804 2012-10-07 Stefan Merten <smerten@oekonux.de>
1806 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
1807 (rst-indent-literal-normal, rst-indent-literal-minimized)
1808 (rst-indent-comment): Correct :version tag.
1809 (rst-official-cvs-rev): Correct version string.
1811 2012-10-07 Glenn Morris <rgm@gnu.org>
1813 * mail/rmailmm.el (rmail-mime-process-multipart):
1814 Do not confuse a multipart message with an epilogue
1815 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
1817 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1819 Fix shell output retrieval and comint-prompt-regexp init.
1820 * progmodes/python.el (inferior-python-mode):
1821 (python-shell-make-comint): Fix initialization of
1822 comint-prompt-regexp from copied file local variables.
1823 (python-shell-fetched-lines): Remove var.
1824 (python-shell-output-filter-in-progress): Rename from
1825 python-shell-fetch-lines-in-progress.
1826 (python-shell-output-filter-buffer): Rename from
1827 python-shell-fetch-lines-string.
1828 (python-shell-fetch-lines-filter): Delete function.
1829 (python-shell-output-filter): New function.
1830 (python-shell-send-string-no-output): Use them.
1832 2012-10-07 Glenn Morris <rgm@gnu.org>
1834 * hi-lock.el (hi-lock-process-phrase):
1835 Try to make it less fragile. (Bug#7161)
1837 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
1839 2012-10-06 Glenn Morris <rgm@gnu.org>
1841 * ehelp.el (electric-help-mode): Use help-mode rather than
1842 non-existent mode `help'.
1843 (electric-help-map): Use button-buffer-map. (Bug#10917)
1845 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
1846 (reftex-create-bibtex-footer): Fix custom types.
1848 * progmodes/sh-script.el (sh-indent-after-continuation):
1849 Add explicit :group.
1851 * textmodes/rst.el (rst-preferred-decorations)
1852 (rst-shift-basic-offset): Clarify obsolescence versions.
1854 * profiler.el (profiler): Add missing group :version tag.
1855 * avoid.el (mouse-avoidance-banish-position):
1856 * proced.el (proced-renice-command):
1857 * calc/calc.el (calc-ensure-consistent-units):
1858 * calendar/icalendar.el (icalendar-import-format-uid):
1859 * net/tramp.el (tramp-save-ad-hoc-proxies):
1860 * progmodes/bug-reference.el (bug-reference-bug-regexp):
1861 * progmodes/flymake.el (flymake-error-bitmap)
1862 (flymake-warning-bitmap, flymake-fringe-indicator-position):
1863 * progmodes/sh-script.el (sh-indent-after-continuation):
1864 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
1865 (verilog-before-save-font-hook, verilog-after-save-font-hook):
1866 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
1867 (vhdl-array-index-record-field-in-sensitivity-list)
1868 (vhdl-indent-comment-like-next-code-line):
1869 * textmodes/reftex-vars.el (reftex-ref-style-alist)
1870 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
1871 (reftex-cite-key-separator, reftex-create-bibtex-header)
1872 (reftex-create-bibtex-footer):
1873 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
1874 (rst-indent-literal-normal, rst-indent-literal-minimized)
1875 (rst-indent-comment): Add missing custom :version tags.
1877 * calendar/timeclock.el (timeclock-modeline-display):
1878 Add missing obsolete alias for renamed user option.
1880 * strokes.el (strokes-modeline-string):
1881 * emulation/crisp.el (crisp-mode-modeline-string):
1882 * eshell/esh-mode.el (eshell-status-in-modeline):
1883 Aliases to defcustoms must come before the defcustom.
1885 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
1886 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
1887 (cal-tex-cursor-week-monday): Doc fixes.
1888 (cal-tex-cursor-week2-summary): Doc fix.
1889 Rename from cal-tex-cursor-week-at-a-glance.
1891 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
1892 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
1894 * calendar/calendar.el (calendar-mode-map):
1895 Add cal-tex-cursor-week2-summary.
1897 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
1899 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
1901 * subr.el (read-passwd-map): New var.
1902 (read-passwd): Use `read-string' again.
1903 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
1905 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
1907 * register.el (append-to-register, prepend-to-register):
1908 Deactivate mark, as does `copy-to-register' (bug#12389).
1910 2012-10-06 Chong Yidong <cyd@gnu.org>
1912 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
1914 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
1916 * international/characters.el: Fix simple mistake ((car chars) ->
1917 elt), delete duplicated code.
1919 2012-10-06 Glenn Morris <rgm@gnu.org>
1921 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
1923 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
1925 * color.el (color-hsl-to-rgb): Fix incorrect results for
1926 small and large hue values. (Bug#12559)
1928 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
1930 Enhancements to docstring formatting when filling paragraphs.
1931 * progmodes/python.el (python-fill-docstring-style): Rename from
1932 python-fill-string-style. Added new style.
1933 (python-fill-string): Use new style. Better checks for
1936 2012-10-05 Glenn Morris <rgm@gnu.org>
1938 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
1940 * color.el (color-name-to-rgb, color-rgb-to-hex)
1941 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
1942 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
1943 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
1944 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
1946 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
1948 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
1950 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
1951 to get the correct size across symlinks.
1953 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
1955 2012-10-04 Juri Linkov <juri@jurta.org>
1957 * replace.el (query-replace-interactive): Declare obsolete.
1958 (query-replace-read-from): Add the last incremental search string
1959 to the list of default values accessible via M-n.
1960 (map-query-replace-regexp): Use `read-regexp'.
1961 (query-replace, query-replace-regexp, query-replace-regexp-eval)
1962 (map-query-replace-regexp, replace-string, replace-regexp):
1963 Fix docstrings to replace mentions of `query-replace-interactive'
1964 with alternatives. (Bug#12526)
1966 2012-10-04 Juri Linkov <juri@jurta.org>
1968 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
1969 (dired-pop-to-buffer): Declare obsolete.
1970 (dired-mark-pop-up): Doc fix.
1972 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
1974 Allow user to set docstring style for fill-paragraph.
1975 * progmodes/python.el
1976 (python-fill-comment-function, python-fill-string-function)
1977 (python-fill-decorator-function, python-fill-paren-function):
1978 Remove :safe for defcustoms.
1979 (python-fill-string-style): New defcustom
1980 (python-fill-paragraph-function): Enhance context detection.
1981 (python-fill-string): Honor python-fill-string-style settings.
1983 2012-10-04 Martin Rudalics <rudalics@gmx.at>
1985 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
1986 after setting its buffer (Bug#10805).
1988 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
1990 Fix cornercase for string syntax.
1991 * progmodes/python.el (python-syntax-propertize-function):
1992 Simplify and enhance the regexp for unescaped quotes. Now it also
1993 matches quotes in weird situations like the single quote in
1995 (python-syntax-stringify): Simplify num-quotes detecting code.
1997 2012-10-03 Glenn Morris <rgm@gnu.org>
1999 * help-macro.el (three-step-help):
2000 Revert 2012-09-29 change. (Bug#12567)
2002 2012-10-03 Martin Rudalics <rudalics@gmx.at>
2004 * menu-bar.el (kill-this-buffer): Don't do anything when
2005 `menu-frame' is not alive or visible (Bug#8184).
2007 * emacs-lisp/debug.el (debug): When quitting the debugger window
2008 restore current buffer (Bug#12502).
2010 2012-10-02 Chong Yidong <cyd@gnu.org>
2012 * progmodes/hideif.el (hif-lookup, hif-defined):
2013 Handle semantic-c-takeover-hideif.
2015 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
2017 Change sampling interval units from ms to ns.
2018 * profiler.el (profiler-sampling-interval): Change units
2019 from ms to ns, multiplying the default by 1000000 so that
2021 (profiler-report-cpu-line-format): Give enough room for
2022 the maximum counters on 64-bit hosts.
2023 (profiler-report-render-calltree-1): Call them "CPU samples",
2024 not "Time (ms)", since they are not milliseconds now (and
2027 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
2029 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
2030 Fix querying BBDB for entries without a last name (Bug#11580).
2032 2012-10-02 Chong Yidong <cyd@gnu.org>
2034 * emacs-lisp/eieio.el: Restore Version header.
2036 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
2038 * vc/diff-mode.el (diff--auto-refine-data): New var.
2039 (diff-hunk): Use it to delay refinement.
2040 (diff-mode): Remove overlays when we turn off font-lock.
2042 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
2043 (table-initialize-table-fixed-width-mode)
2044 (table-set-table-fixed-width-mode): Remove functions.
2045 (table-command-list): Move initialization into declaration.
2046 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
2047 (table-with-cache-buffer): Use `declare'.
2048 (table-span-cell): Simplify via CSE.
2049 (table-fixed-width-mode): Use define-minor-mode.
2050 (table-call-interactively, table-funcall, table-apply): Remove.
2051 (table-function): New function, to replace them.
2053 * bookmark.el (bookmark-search-pattern): Remove var.
2054 (bookmark-read-search-input): Remove function.
2055 (bookmark-bmenu-search): Reimplement using a minibuffer.
2057 * faces.el (modeline): Remove obsolete face name.
2059 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
2060 and give a non-nil default value.
2061 (add-change-log-entry): Simplify accordingly.
2063 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
2065 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
2066 (vc-git-log-edit-toggle-amend): New function.
2067 (vc-git-log-edit-toggle-signoff): New function.
2068 (vc-git-log-edit-mode): New major mode.
2069 (vc-git-log-edit-mode-map): Keymap for it.
2070 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
2072 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
2074 (log-edit-toggle-header): New function.
2075 (log-edit-extract-headers): Accept function values in HEADERS alist.
2077 2012-10-01 David Engster <deng@randomsample.de>
2079 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
2080 from symbol property and change message to be more consistent with
2082 (eieio-describe-generic): Add filename for each implementation.
2083 Fix indices for generic and normal methods.
2084 (eieio-method-def, eieio-class-def): New buttons.
2085 (eieio-help-find-method-definition)
2086 (eieio-help-find-class-definition): New functions.
2087 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
2088 class, constructor and method definitions.
2090 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
2091 information in symbol property.
2092 (scoped-class): Remove.
2093 (eieio-slot-name-index, call-next-method): Check if it is bound.
2095 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
2097 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
2098 (eieio-custom-mode): New major mode.
2099 (eieio-customize-object): Use it.
2101 2012-10-01 Eric Ludlam <zappo@gnu.org>
2103 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
2104 specifying the expected class, and whether subclassing is allowed.
2105 (eieio-persistent-convert-list-to-object):
2106 (eieio-persistent-validate/fix-slot-value)
2107 (eieio-persistent-slot-type-is-class-p): New functions.
2108 (eieio-named::slot-missing): Doc fix.
2110 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
2111 Stop using unused publd variable.
2113 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
2114 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
2115 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
2116 (eieio-speedbar-handle-click): Do not specify a class for the
2117 method. Fixes method invocation order problems with EDE.
2119 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2121 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
2122 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
2124 2012-10-01 Karl Fogel <kfogel@red-bean.com>
2126 * bookmark.el (bookmark-version-control): Give tags in the
2127 :type choices (Bug#12309), and improve doc string.
2128 (bookmark-write-file): Bind `print-circle' to `t' to allow
2129 circular custom bookmark types. (Bug#12503)
2131 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
2133 Revert the FOLLOW-SYMLINKS change for file-attributes.
2134 * files.el (remote-file-name-inhibit-cache, after-find-file):
2135 * time.el (display-time-file-nonempty-p): Undo last change.
2137 * profiler.el (profiler-sampling-interval): Change default back to 1.
2138 See Stefan Monnier in
2139 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
2141 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
2143 Shell output catching a la gud-gdb.
2144 * progmodes/python.el (python-shell-fetch-lines-in-progress)
2145 (python-shell-fetch-lines-string, python-shell-fetched-lines):
2147 (python-shell-fetch-lines-filter): New function.
2148 (python-shell-send-string-no-output): Use them.
2150 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
2152 * profiler.el (profiler-sampling-interval): Rename from
2153 profiler-sample-interval.
2154 (profiler-sampling-interval): Default to 10.
2155 (profiler-find-profile): New command (was profiler-find-log).
2156 (profiler-find-profile-other-window): New command.
2157 (profiler-find-profile-other-frame): New command.
2158 (profiler-profile): Introduce API-level data structure.
2160 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
2162 file-attributes has a new optional arg FOLLOW-SYMLINKS.
2163 * files.el (remote-file-name-inhibit-cache):
2164 * time.el (display-time-file-nonempty-p): Use it.
2165 * files.el (after-find-file): Don't chase links before calling
2166 file-exists-p, as file-exists-p already does the right thing.
2168 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
2170 Merge from standalone RefTeX repository.
2172 The following ChangeLog entries are shortened versions of the
2173 original ones with file paths adapted. A not so strongly edited
2174 version of the original ChangeLog can be found in the commit log.
2176 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
2177 (reftex-arg-cite): Use `reftex-cite-key-separator'.
2178 Correctly handle new value type returned by `reftex-citation'.
2180 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
2181 that entries with whitespace at various places are found.
2182 Doc fix. Include entries that are cross-referenced from cited entries.
2183 Include @String definitions in the resulting bib file. Add header
2184 and footer defined in `reftex-create-bibtex-header' and
2185 `reftex-create-bibtex-footer'.
2186 (reftex-do-citation): Make it possible again to insert
2187 non-existent entries. Save match data when asking for optional
2188 arguments. Return all keys, not just the first one.
2189 (reftex-all-used-citation-keys): Fix regexp to correctly extract
2190 all citations in the same line.
2191 (reftex-parse-bibtex-entry): Accept additional optional argument
2192 `raw' and keep quotes or braces if it is non-nil. Match fields
2193 containing hyphens besides word constituents.
2194 (reftex-get-string-refs): New function.
2195 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
2196 and ask if it should be reread in case it did.
2197 (reftex-pop-to-bibtex-entry)
2198 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
2199 entries with spaces or tabs in front of arguments.
2200 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
2201 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
2202 Match entries containing numbers and symbol constituents.
2203 (reftex-do-citation, reftex-figure-out-cite-format):
2204 Use `reftex-cite-key-separator'.
2206 * textmodes/reftex-dcr.el: Move provide statement to end of file.
2207 (reftex-mouse-view-crossref): Explain why point is set.
2209 * textmodes/reftex-global.el: Whitespace changes.
2211 * textmodes/reftex-index.el: Move provide statement to end of
2213 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
2214 (reftex-index-visit-phrases-buffer): Set marker when visiting
2215 buffer. This allows for returning from the phrases file to the
2216 file one was just editing instead of the file where the last
2217 phrases was added from.
2218 (reftex-index-phrases-syntax-table): New variable. Give ?\"
2219 punctuation syntax as it usually is not used as string quote in
2220 TeX-related modes and may occur unmatched. The change also
2221 prevents fontification of quoted content.
2222 (reftex-index-phrases-mode): Use it.
2224 * textmodes/reftex-parse.el (reftex-parse-from-file):
2225 Move backward one char if a `\' was matched after a section macro.
2226 (reftex-parse-from-file): Use beginning of match instead of end as
2229 * textmodes/reftex-ref.el: Adapt creation of
2230 `reftex-<package>-<macro>' functions to new structure of
2231 `reftex-ref-style-alist'.
2232 (reftex-reference): Use `reftex-ref-style-list' function.
2233 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
2234 reference macro if `reftex-ref-macro-prompt' is non-nil.
2235 (reftex-reference): Pass refstyle to `reftex-format-special'.
2236 Determine reference macro by looking at
2237 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
2238 Use only one special format function.
2239 (reftex-varioref-vref, reftex-fancyref-fref)
2240 (reftex-fancyref-Fref): Remove definitions. The functions are now
2241 generated from `reftex-ref-style-alist'.
2242 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
2244 (reftex-format-special): New function.
2246 * textmodes/reftex-sel.el
2247 (reftex-select-cycle-ref-style-internal): Adapt to new structure
2248 of `reftex-ref-style-alist'. Remove code for testing macro type.
2249 (reftex-select-toggle-varioref)
2250 (reftex-select-toggle-fancyref): Remove.
2251 (reftex-select-cycle-ref-style-internal)
2252 (reftex-select-cycle-ref-style-forward)
2253 (reftex-select-cycle-ref-style-backward): New functions.
2254 (reftex-select-label-map): Use `v' and `V' for general cycling
2255 through reference styles. Add `p' for switching between number
2256 and page reference types.
2258 * textmodes/reftex-toc.el (reftex-re-enlarge):
2259 Call `enlarge-window' only if there is something to do because in Emacs
2260 the horizontal version throws an error even if the parameter is 0.
2262 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
2263 (reftex-plug-into-AUCTeX): Doc fix.
2264 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
2265 string. Adapt to new name.
2266 (reftex-ref-style-alist): Change structure so that it is not
2267 possible to use multiple different package names within a style.
2268 Remove the symbols for symbols for macro type distinction.
2269 Add characters for macro selection.
2270 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
2271 (reftex-create-bibtex-footer): New variables.
2272 (reftex-format-ref-function): Mention third argument of special
2274 (reftex-ref-style-alist, reftex-ref-style-default-list):
2276 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
2277 to new implementation. Mark as obsolete. Add compatibility code
2278 for honoring the variable values in case they are set.
2279 (reftex-cite-format-builtin, reftex-bibliography-commands):
2280 Add support for ConTeXt.
2281 (reftex-format-ref-function, reftex-format-cite-function):
2283 (reftex-cite-key-separator): New variable.
2285 * textmodes/reftex.el (reftex-syntax-table-for-bib)
2286 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
2287 `reftex-syntax-table' because parens have to retain their paren
2288 syntax in order for parsing of BibTeX entries like @book(...) to
2290 (reftex-in-comment): Do not error out if `comment-start-skip' is
2291 not set. Deal correctly with escaped comment characters.
2292 (reftex-tie-multifile-symbols): Add doc string.
2293 Initialize `reftex-ref-style-list'.
2294 (reftex-untie-multifile-symbols): Add doc string.
2295 (reftex-add-index-macros): Doc fix.
2296 (reftex-ref-style-activate, reftex-ref-style-toggle)
2297 (reftex-ref-style-list): New functions.
2298 (reftex-mode-menu): Use them. Adapt to new structure of
2299 `reftex-ref-style-alist'.
2300 (reftex-select-with-char): Kill the RefTeX Select buffer when
2302 (reftex-remove-if): New function.
2303 (reftex-erase-all-selection-and-index-buffers)
2304 (reftex-mode-menu): Reference styles are now computed from
2305 `reftex-ref-style-alist'. Fix typo.
2306 (reftex-report-bug): New function.
2307 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
2308 algorithms with O(n log n). Introduce optional argument SORT (not
2311 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
2313 Enhancements for triple-quote string syntax.
2314 * progmodes/python.el (python-syntax-propertize-function):
2315 Match both quote cases in one regexp.
2316 (python-syntax-stringify): Handle matches properly.
2318 2012-09-30 Juri Linkov <juri@jurta.org>
2320 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
2321 to nil around the call to `insert' to prevent
2322 directory time modification by lock_file. (Bug#2295)
2323 * tar-mode.el (tar-summarize-buffer): Idem.
2325 2012-09-30 Juri Linkov <juri@jurta.org>
2327 * facemenu.el (list-colors-sort): Add option "Luminance".
2328 (list-colors-sort-key): Implement it.
2330 * vc/diff-mode.el (diff-refine-removed):
2331 * vc/ediff-init.el (ediff-fine-diff-A):
2332 * vc/smerge-mode.el (smerge-refined-removed):
2333 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
2335 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
2337 * term/ns-win.el (x-file-dialog): New function.
2339 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
2341 * ido.el (ido-max-directory-size): Default to nil; the current
2342 default is small for POSIX systems, and impractical on Windows 7
2343 now that lstat returns directory sizes for NTFS.
2345 2012-09-30 Martin Rudalics <rudalics@gmx.at>
2347 In buffer display functions handle window-height/window-width
2348 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
2349 * window.el (window--display-buffer): New argument ALIST.
2350 Obey window-height and window-width alist entries.
2351 (window--try-to-split-window): New argument ALIST.
2352 Bind window-combination-limit to t when the window's size shall be
2353 changed and window-combination-limit equals `window-size'.
2354 (display-buffer-in-atom-window)
2355 (display-buffer-in-major-side-window)
2356 (display-buffer-in-side-window, display-buffer-same-window)
2357 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2358 (display-buffer-pop-up-window, display-buffer-below-selected)
2359 (display-buffer-at-bottom, display-buffer-in-previous-window)
2360 (display-buffer-use-some-window): Adjust all callers of
2361 window--display-buffer and window--try-to-split-window.
2362 (fit-frame-to-buffer): New option.
2363 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
2365 (display-buffer-in-major-side-window): Evaluate window-height /
2366 window-width alist entries.
2368 * help.el (temp-buffer-resize-frames)
2369 (temp-buffer-resize-regexps): Remove options.
2370 (temp-buffer-resize-mode): Adjust doc-string.
2371 (resize-temp-buffer-window): Don't consult
2372 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
2373 temp-buffer-resize-frames.
2375 * dired.el (dired-mark-pop-up):
2376 Call display-buffer-below-selected with a fit-window-to-buffer alist
2379 2012-09-30 Chong Yidong <cyd@gnu.org>
2381 * server.el (server-host): Document the security implications.
2382 (server-auth-key): Doc fix.
2384 * startup.el (initial-buffer-choice): Doc fix.
2386 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
2388 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
2391 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
2393 * help-fns.el (help-fns--obsolete): Fix last change.
2395 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
2397 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
2398 (minor-mode-map-alist): Remove redundant code.
2400 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
2401 visited in a buffer.
2402 (cvs-insert-visited-file): New function.
2403 (find-file-hook): Use it.
2405 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
2407 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
2409 (log-edit-empty-buffer-p): Don't require a space after a header.
2411 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
2413 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
2415 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
2416 a proper minor-mode.
2418 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
2420 2012-09-29 Glenn Morris <rgm@gnu.org>
2422 * winner.el (winner-mode): Remove variable (let define-minor-mode
2424 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
2426 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
2427 (winner-mode): Use define-minor-mode.
2429 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
2430 the full definition in loaddefs, rather than duplicating it.
2432 * help-macro.el (three-step-help): No need to autoload defcustom.
2434 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
2435 (inferior-lisp-program, inferior-lisp-load-command)
2436 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2437 No need to autoload defcustoms.
2439 * hippie-exp.el (hippie-expand-try-functions-list)
2440 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
2441 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
2442 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2443 (hippie-expand-only-buffers): No need to autoload defcustoms.
2444 * progmodes/vhdl-mode.el (vhdl-line-expand):
2445 Explicitly load hippie-exp, so it does not get autoloaded
2446 while hippie-expand-try-functions-list is let-bound.
2448 2012-09-28 Glenn Morris <rgm@gnu.org>
2450 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
2452 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
2453 Only "cl.el" counts as cl these days.
2455 2012-09-28 Juri Linkov <juri@jurta.org>
2457 Display archive errors in the echo area instead of inserting
2460 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
2461 to STDERR-TEST that can be a regexp matching a successful output.
2462 Create a temporary file and redirect stderr to it. Search for
2463 STDERR-TEST in the stderr output and display it in the echo area
2464 if no match is found.
2465 (archive-extract-by-file): New function like
2466 `archive-extract-by-stdout' but extracting archives to files
2467 and looking for successful matches in stdout. Function body is
2468 mostly copied from `archive-rar-extract'.
2469 (archive-rar-extract): Use `archive-extract-by-file'.
2470 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
2472 2012-09-28 Leo Liu <sdl.web@gmail.com>
2474 * pcomplete.el (pcomplete-show-completions):
2475 Use minibuffer-message to make pcomplete usable in minibuffer.
2477 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
2479 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2481 * type-break.el: Use lexical-binding.
2482 (type-break-mode): Use define-minor-mode.
2484 * emacs-lisp/pcase.el (pcase--mark-used): New.
2485 (pcase--u1): Use it (bug#12512).
2487 * custom.el (load-theme): Set buffer-file-name so the load is recorded
2488 in load-history with the right file name.
2490 2012-09-28 Tassilo Horn <tsdh@gnu.org>
2492 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
2493 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
2494 (doc-view-get-bounding-box): Make bounding box slicing work for
2495 ODF and DVI documents.
2497 2012-09-28 Glenn Morris <rgm@gnu.org>
2499 * type-break.el (type-break-mode, type-break-interval)
2500 (type-break-good-rest-interval, type-break-keystroke-threshold):
2501 No need to autoload.
2502 (type-break-good-rest-interval, type-break-keystroke-threshold):
2505 2012-09-28 Chong Yidong <cyd@gnu.org>
2507 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
2510 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2512 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
2514 2012-09-27 Glenn Morris <rgm@gnu.org>
2516 * faces.el (x-display-name): Declare (for without-x builds).
2518 * linum.el (linum-format): Don't autoload it. Improve :type.
2520 * progmodes/tcl.el: Don't require outline when compiling.
2521 (outline-regexp, outline-level): Declare.
2522 * textmodes/sgml-mode.el: Don't require outline when compiling.
2523 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
2525 * term.el (term-ansi-reset):
2526 Try setting term-ansi-face-already-done to nil. (Bug#11785)
2528 * vc/vc.el (vc-next-action): Only gripe about committing read-only
2529 files for RCS and SCCS. (Bug#9781)
2531 2012-09-27 Chong Yidong <cyd@gnu.org>
2533 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
2534 change; value should be t.
2536 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2538 * image-mode.el: Use lexical-binding.
2539 (image-mode-winprops): Use t to stand for the window of
2540 a buffer that's not displayed.
2541 * doc-view.el (doc-view-new-window-function): Handle the new
2543 (doc-view-enlarge): Make it a real nop if the size is not changed.
2544 (doc-view-display): Handle the case where the buffer is not (yet?)
2545 displayed in any window.
2546 (doc-view-saved-settings): New var.
2547 (doc-view-mode): Use it.
2548 (doc-view-fallback-mode): Set it.
2550 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
2551 Set lexical-binding.
2552 (minibuffer-eldef-shorten-default): New var.
2553 (minibuffer-default-in-prompt-regexps): Use it for new default.
2554 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
2556 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
2558 * international/uni-bidi.el:
2559 * international/uni-category.el:
2560 * international/uni-name.el:
2561 * international/uni-numeric.el: Regenerate.
2563 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
2564 Stefan Monnier <monnier@iro.umontreal.ca>
2566 * profiler.el: New file.
2568 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
2570 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
2571 (testcover-reinstrument): Simplify with CSE.
2573 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
2575 * window.el (temp-buffer-window-setup): Fix typo in docstring.
2577 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
2579 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
2580 (verilog-auto-input, verilog-auto-insert-lisp)
2581 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
2582 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
2583 (verilog-auto-unused, verilog-auto-wire)
2584 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
2585 newline. Reported by Andrew Jones.
2586 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
2587 Reported by Brad Dobbie.
2588 (verilog-batch-delete-trailing-whitespace):
2589 Create verilog-batch-delete-trailing-whitespace.
2590 Reported by Brad Dobbie.
2591 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
2592 parameters from another module. Reported by Dan Katz.
2593 (verilog-auto, verilog-auto-assign-modport)
2594 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
2595 AUTOINOUTMODPORT for UVM interface module shell generation.
2596 Reported by Brad Dobbie.
2597 (verilog-auto-inst-interfaced-ports): Make default nil, as more
2599 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
2600 Reported by Matt Martin.
2602 2012-09-25 Martin Rudalics <rudalics@gmx.at>
2604 * window.el (window--resize-child-windows): When resizing child
2605 windows proportionally, process them in reverse order to
2606 preserve the "when splitting a window the new one gets the odd
2608 (window--resize-root-window-vertically): When resizing the
2609 minibuffer window try to affect only windows at the bottom of the
2612 2012-09-25 Chong Yidong <cyd@gnu.org>
2614 * subr.el (declare): Doc fix.
2616 * help-fns.el (help-fns--obsolete): Handle macros properly.
2618 2012-09-25 Chong Yidong <cyd@gnu.org>
2620 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
2621 this function obsolete.
2623 * calendar/cal-x.el (calendar-two-frame-setup)
2624 (calendar-only-one-frame-setup, calendar-one-frame-setup):
2625 * calendar/calendar.el (american-calendar, european-calendar)
2626 (calendar-for-loop):
2627 * comint.el (comint-dynamic-simple-complete)
2628 (comint-dynamic-complete-as-filename, comint-unquote-filename):
2629 * desktop.el (desktop-load-default):
2630 * dired-x.el (dired-omit-here-always)
2631 (dired-hack-local-variables, dired-default-directory):
2632 * emacs-lisp/derived.el (derived-mode-class):
2633 * emacs-lisp/timer.el (timer-set-time-with-usecs):
2634 * emacs-lock.el (toggle-emacs-lock):
2635 * epa.el (epa-display-verify-result):
2636 * epg.el (epg-sign-keys, epg-start-sign-keys)
2637 (epg-passphrase-callback-function):
2638 * eshell/esh-util.el (eshell-for):
2639 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
2640 (eshell-add-to-window-buffer-names):
2641 * files.el (locate-file-completion):
2642 * imenu.el (imenu-example--create-c-index)
2643 (imenu-example--create-lisp-index)
2644 (imenu-example--lisp-extract-index-name)
2645 (imenu-example--name-and-position):
2646 * international/mule-cmds.el (princ-list):
2647 * international/mule-diag.el (decode-codepage-char):
2648 * international/mule-util.el (detect-coding-with-priority):
2649 * iswitchb.el (iswitchb-read-buffer):
2650 * mail/mailalias.el (mail-complete):
2651 * mail/sendmail.el (mail-sent-via):
2652 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
2653 (mouse-major-mode-menu):
2654 * password-cache.el (password-read-and-add):
2655 * pcomplete.el (pcomplete-parse-comint-arguments):
2656 * progmodes/sh-script.el (sh-maybe-here-document):
2657 * replace.el (query-replace-regexp-eval):
2658 * savehist.el (savehist-load):
2659 * simple.el (choose-completion-delete-max-match):
2660 * term.el (term-dynamic-simple-complete):
2661 * vc/ediff-init.el (ediff-check-version):
2662 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
2663 * vc/vc.el (vc-diff-switches-list):
2664 * view.el (view-return-to-alist-update): Likewise.
2666 * subr.el (eval-next-after-load, makehash, insert-string)
2667 (assoc-ignore-representation, assoc-ignore-case): Use declare to
2669 (mode-line-inverse-video): Variable deleted.
2671 * international/mule-util.el (string-to-sequence): Remove.
2673 * calendar/calendar.el (calendar-version):
2674 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
2675 (icalendar-convert-diary-to-ical):
2676 * cus-edit.el (custom-mode):
2677 * ansi-color.el (ansi-color-unfontify-region):
2678 * international/latin1-disp.el (latin1-char-displayable-p):
2679 * progmodes/cwarn.el (turn-on-cwarn-mode):
2680 * progmodes/which-func.el (which-func-update-1):
2681 Use define-obsolete-function-alias.
2683 * net/newst-backend.el (newsticker-cache-filename):
2684 * net/newst-treeview.el (newsticker-groups-filename):
2685 Fix incorrect obsolescence declaration.
2687 * allout.el (allout-passphrase-hint-string): Likewise.
2688 (allout-init): Use a declare form to mark obsolete.
2690 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
2691 this applies to functions.
2693 * iswitchb.el (iswitchb-read-buffer): Move code of
2694 iswitchb-define-mode-map here, and delete that obsolete function.
2696 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
2697 font-lock-reference-face.
2699 2012-09-25 Glenn Morris <rgm@gnu.org>
2701 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
2704 * eshell/em-term.el (eshell-term-name):
2705 Default to term-term-name. (Bug#12485)
2707 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
2709 * progmodes/python.el (python-shell-send-buffer): Better handling
2710 of "if __name__ == '__main__':" conditionals when sending the buffer.
2712 2012-09-24 Glenn Morris <rgm@gnu.org>
2714 * eshell/esh-cmd.el (eshell-find-alias-function):
2715 Tighten up file-name regexp. (Bug#12499)
2717 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
2719 Enhancements for triple-quote string syntax.
2720 * progmodes/python.el (python-quote-syntax): Remove.
2721 (python-syntax-propertize-function): New value.
2722 (python-syntax-count-quotes, python-syntax-stringify):
2725 2012-09-24 Chong Yidong <cyd@gnu.org>
2727 * mail/supercite.el (sc-version): Remove obsolete function.
2728 (sc-describe): Don't mark as obsolete, since it is bound.
2729 (sc-submit-bug-report): Remove.
2731 * vc/log-edit.el (cvs-changelog-full-paragraphs)
2732 (cvs-commit-buffer-require-final-newline): Remove.
2733 (log-edit-require-final-newline)
2734 (log-edit-changelog-full-paragraphs): Default to t.
2736 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
2737 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
2738 * vc/vc.el (vc-checkout-carefully): Likewise.
2740 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
2741 (emerge-version): Remove.
2743 * progmodes/compile.el (compile-internal): Remove.
2744 (compilation-parse-errors-function): Fix typo.
2746 * international/mule.el (set-char-table-default): Remove.
2747 (set-coding-priority, make-coding-system, generic-char-p)
2748 (charset-list, charset-bytes, charset-id): Use declare to mark
2749 functions as obsolete.
2751 * vc/pcvs-defs.el (cvs-buffer-name-alist)
2752 (cvs-invert-ignore-marks): Remove references to obsolete vars.
2753 * vc/vc-hooks.el (vc-default-registered): Don't use
2754 vc-master-templates.
2756 * font-lock.el (font-lock-reference-face):
2757 Use define-obsolete-variable-alias.
2759 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
2760 * calendar/calendar.el (calendar-font-lock-keywords):
2761 * calendar/diary-lib.el (diary-font-lock-keywords)
2762 (diary-fancy-font-lock-keywords):
2763 * textmodes/reftex-sel.el (reftex-insert-docstruct):
2764 * textmodes/reftex-index.el (reftex-insert-index):
2765 * textmodes/reftex-cite.el (reftex-format-bib-entry):
2766 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2767 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
2768 * progmodes/prolog.el (prolog-font-lock-keywords):
2769 * progmodes/idlwave.el (idlwave-idl-keywords):
2770 * progmodes/ada-mode.el (ada-font-lock-keywords):
2771 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
2773 2012-09-24 Glenn Morris <rgm@gnu.org>
2775 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
2777 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
2779 * progmodes/python.el (python-indent-line): More consistent cursor
2782 2012-09-23 Stefan Merten <smerten@oekonux.de>
2784 * textmodes/rst.el: Fix compiler warning.
2786 2012-09-23 Roland Winkler <winkler@gnu.org>
2788 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
2789 Transcribe also LaTeX hyphenation.
2790 (bibtex-reformat): Bug fix. Do not quote twice the elements of
2791 bibtex-reformat-previous-options.
2793 2012-09-23 Roland Winkler <winkler@gnu.org>
2795 * proced.el (proced-renice-command): New variable.
2796 (proced-marked-processes): New function.
2797 (proced-with-processes-buffer): New macro.
2798 (proced-send-signal): Use them.
2799 (proced-renice): New command bound to r.
2801 2012-09-23 Roland Winkler <winkler@gnu.org>
2803 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
2804 ibuffer-saved-filter-groups has one element, shortcut the call of
2805 completing-read. (Bug#12331)
2807 2012-09-23 Chong Yidong <cyd@gnu.org>
2809 * bindings.el (mode-line-toggle-read-only):
2810 * bs.el (bs-toggle-readonly):
2811 * buff-menu.el (Buffer-menu-toggle-read-only):
2812 * dired.el (dired-toggle-read-only):
2813 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
2815 2012-09-23 Chong Yidong <cyd@gnu.org>
2817 * image.el (image-type-available-p): Adapt to init-image-library
2820 2012-09-22 Juri Linkov <juri@jurta.org>
2822 * dired.el (dired-mode-map): Add [remap read-only-mode] for
2823 `dired-toggle-read-only'. (Bug#12462)
2825 2012-09-22 Martin Rudalics <rudalics@gmx.at>
2827 * subr.el (temp-output-buffer-show): New function.
2828 (with-output-to-temp-buffer): Call temp-output-buffer-show
2829 instead of internal-temp-output-buffer-show.
2831 2012-09-22 Chong Yidong <cyd@gnu.org>
2833 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
2836 * repeat.el (repeat): Doc fix (Bug#12348).
2838 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
2841 * simple.el (shell-command-on-region): Doc fix.
2842 (read-only-mode): Doc fix.
2844 2012-09-22 Eli Zaretskii <eliz@gnu.org>
2846 * emacs-lisp/timer.el (run-with-idle-timer)
2847 (timer-activate-when-idle): Warn against reinvoking an idle timer
2848 from within its own timer action. (Bug#12447)
2850 2012-09-22 Martin Rudalics <rudalics@gmx.at>
2852 * cus-start.el (window-combination-limit): Add new optional
2854 * window.el (temp-buffer-window-show)
2855 (window--try-to-split-window): Handle new values of
2856 window-combination-limit (Bug#1806).
2857 (split-window): Test window-combination-limit for t instead of
2859 (display-buffer-at-bottom): New buffer display action function.
2860 * help.el (temp-buffer-resize-regexps): New option.
2861 (temp-buffer-resize-mode): Rewrite doc-string.
2862 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
2863 Don't resize reused window. Suggested by Glenn Morris.
2865 2012-09-22 Stefan Merten <smerten@oekonux.de>
2867 * textmodes/rst.el: Revamp section title faces.
2868 (rst-official-version)
2869 (rst-package-emacs-version-alist): Sync with official version
2871 (rst-faces-defaults, rst-set-level-default)
2872 (rst-level-face-max, rst-level-face-base-color)
2873 (rst-level-face-base-light, rst-level-face-format-light)
2874 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
2875 (rst-adornment-faces-alist): Match new setup.
2876 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
2877 (rst-level-5, rst-level-6): New faces.
2879 2012-09-22 Chong Yidong <cyd@gnu.org>
2881 * simple.el (undo): Handle indirect buffers (Bug#8207).
2883 2012-09-21 Leo Liu <sdl.web@gmail.com>
2885 IDO: Disable match re-ordering for buffer switching.
2886 * ido.el (ido-buffer-disable-smart-matches): New variable.
2887 (ido-set-matches-1): Use it. (Bug#2042)
2889 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
2891 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
2892 Fix 2011-05-17 change. (Bug#12418)
2894 2012-09-21 Leo Liu <sdl.web@gmail.com>
2896 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
2898 2012-09-21 Glenn Morris <rgm@gnu.org>
2900 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
2901 Be more robust about locating simple.el.
2903 2012-09-21 Glenn Morris <rgm@gnu.org>
2905 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
2907 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
2909 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
2911 2012-09-20 Juri Linkov <juri@jurta.org>
2913 * replace.el (query-replace-read-from): Use `read-regexp' instead
2914 of `read-from-minibuffer' when `regexp-flag' is non-nil.
2915 (occur-read-primary-args): Use `read-regexp' instead of
2917 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
2918 `read-from-minibuffer'.
2919 * isearch.el (isearch-occur): Use `read-regexp' instead of
2921 * dired.el (dired-read-regexp): Use `read-regexp' instead of
2922 `read-from-minibuffer'.
2923 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
2924 of `read-string'. (Bug#7567)
2926 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
2927 and allow accepting a list of strings prepended to a list of
2928 standard default values. Doc fix. (Bug#12321)
2930 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
2932 * replace.el (read-regexp): Don't add ": " when PROMPT already
2933 ends with a colon and space. (Bug#12321)
2935 2012-09-20 Tassilo Horn <tsdh@gnu.org>
2937 * doc-view.el (doc-view-display): Better fix for the cl-assertion
2940 2012-09-20 Stefan Merten <smerten@oekonux.de>
2942 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
2943 Fixes feature request bug#11711.
2944 (rst-mode): Create `imenu-create-index-function'.
2945 (rst-get-stripped-line): Delete after refactoring.
2946 (rst-section-tree, rst-section-tree-rec)
2947 (rst-section-tree-point): Refactor and document properly.
2948 (rst-imenu-find-adornments-for-position)
2949 (rst-imenu-convert-cell, rst-imenu-create-index):
2952 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2954 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
2955 (macroexp--expand-all): Use it.
2956 (macroexp--funcall-and-return): Remove by folding it into its sole
2957 caller (macroexp--warn-and-return).
2958 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
2959 Use macroexp--obsolete-warning.
2961 * calc/calc.el: Fix last change by removing the whole chunk, since it
2962 was only needed back when Calc was not bundled.
2964 2012-09-20 Martin Rudalics <rudalics@gmx.at>
2966 * emacs-lisp/debug.el (debug): Restore assignment to
2967 debugger-old-buffer removed on 2012-09-08.
2969 2012-09-20 Juri Linkov <juri@jurta.org>
2971 * dired-aux.el (dired-diff): Remove (require 'diff) since
2972 `diff-latest-backup-file' is now autoloaded.
2974 2012-09-20 Chong Yidong <cyd@gnu.org>
2976 * vc/diff.el (diff-latest-backup-file): Autoload.
2978 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2980 * calc/calc.el: Remove redundant autoload shape check.
2981 (sel-mode): Don't defvar.
2982 (calc-get-stack-element): Add `sel-mode' arg instead.
2983 (calc-top, calc-top-list): Pass it this additional argument.
2984 * calc/calc-store.el (calc-store-map):
2985 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
2986 (calc-map-equation, calc-outer-product, calc-inner-product):
2987 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
2989 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
2991 2012-09-19 Juri Linkov <juri@jurta.org>
2993 * dired-aux.el (dired-diff): Add (require 'diff) because
2994 `diff-latest-backup-file' is not autoloaded.
2995 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
2996 of `dired-get-filename' to t to not report error when there is
2997 no default file on the current line.
2999 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3001 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
3002 macroexp--eval-if-compile.
3003 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
3004 (macroexp--expand-all): Use them (bug#12371).
3006 * doc-view.el (doc-view-guess-paper-size)
3007 (doc-view-scale-bounding-box): Fix unbound `caddr'.
3009 2012-09-19 Tassilo Horn <tsdh@gnu.org>
3011 New feature: set optimal slice from BoundingBox information.
3012 * doc-view.el (doc-view-mode-map): Add keybinding.
3013 (doc-view-menu): Add menu entry.
3014 (doc-view-set-slice): Adapt docstring.
3015 (doc-view-get-bounding-box, doc-view-guess-paper-size)
3016 (doc-view-scale-bounding-box)
3017 (doc-view-set-slice-from-bounding-box): New functions.
3018 (doc-view-paper-sizes): New defvar.
3020 2012-09-19 Glenn Morris <rgm@gnu.org>
3022 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
3023 (byte-compile-log-warning): Autoload. (Bug#12371)
3025 * calendar/calendar.el (calendar-american-month-header)
3026 (calendar-european-month-header, calendar-iso-month-header)
3027 (calendar-month-header): New options.
3028 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
3029 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
3031 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
3033 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
3035 2012-09-18 Juri Linkov <juri@jurta.org>
3037 * dired-aux.el (dired-diff): Restore original functionality of
3038 getting the default value, but keep new feature of using the
3039 latest existing backup file (`diff-latest-backup-file').
3041 2012-09-18 Juri Linkov <juri@jurta.org>
3043 * dired.el (dired-mark): If the region is active in Transient Mark
3044 mode, mark all files in the active region. Doc fix.
3045 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
3046 Doc fix. (Bug#10624)
3048 2012-09-18 Juri Linkov <juri@jurta.org>
3050 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
3051 attributes for M-n are pulled from the file at point.
3052 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
3053 Suggested by Drew Adams. (Bug#10624)
3055 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
3057 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
3058 whitespace after "end".
3059 (ruby-do-end-to-brace): Collapse block to one line if it fits
3062 2012-09-18 Martin Rudalics <rudalics@gmx.at>
3064 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
3066 (debug): Don't remove debugger window when debugger is expected
3069 2012-09-18 Chong Yidong <cyd@gnu.org>
3071 * custom.el (defface): Doc fix.
3073 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
3075 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
3077 * progmodes/compile.el (compilation-start): Use compilation-always-kill
3078 to initialize query-on-exit; then test that instead (bug#12288).
3080 2012-09-17 Stefan Merten <smerten@oekonux.de>
3082 * textmodes/rst.el: Add support for `testcover'.
3083 (rst-defcustom-testcover, rst-testcover-add-compose)
3084 (rst-testcover-add-1value): New functions.
3085 (rst-portable-mark-active-p): Replace by `use-region-p'.
3086 (rst-update-section, rst-classify-adornment)
3087 (rst-find-title-line): Mark `1value' forms.
3088 (rst-classify-adornment): Remove superfluous form.
3089 (rst-update-section, rst-get-adornments-around)
3090 (rst-adornment-complete-p, rst-get-next-adornment)
3091 (rst-adjust, rst-promote-region)
3092 (rst-display-adornments-hierarchy, rst-straighten-adornments)
3093 (rst-find-pfx-in-region, rst-section-tree-rec)
3094 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
3095 (rst-toc-node, rst-toc, rst-forward-section)
3096 (rst-iterate-leftmost-paragraphs)
3097 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
3098 (rst-bullet-list-region)
3099 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
3100 (rst-compile-find-conf, rst-compile)
3101 (rst-repeat-last-character): Fix style.
3103 2012-09-17 Chong Yidong <cyd@gnu.org>
3105 * comint.el (comint--complete-file-name-data): Don't add a space
3106 if the status is `sole'; that adds a gratuitous space in the
3107 completion-cycling case (Bug#12092).
3109 * pcomplete.el (pcomplete-completions-at-point): Likewise.
3111 2012-09-17 Richard Stallman <rms@gnu.org>
3113 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
3114 only in the mime-shown mode, not in raw mode.
3115 (rmail-mime): Toggle off mime by displaying the message without
3116 mime processing. (Bug#12305)
3118 * mail/rmail.el (rmail-retry-failure):
3119 Turn off mime processing first. (Bug#12037)
3121 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
3123 2012-09-17 Chong Yidong <cyd@gnu.org>
3125 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
3126 (shell-dynamic-complete-functions): Convert to defcustom.
3127 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
3129 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
3130 * comint.el (comint-prompt-read-only):
3131 * custom.el (defcustom):
3132 * hi-lock.el (hi-lock-mode):
3133 * ibuffer.el (ibuffer-formats):
3134 * ielm.el (ielm-prompt-read-only):
3135 * novice.el (disable-command):
3136 * saveplace.el (toggle-save-place):
3137 * speedbar.el (speedbar-supported-extension-expressions):
3138 * startup.el (auto-save-list-file-prefix, init-file-user)
3139 (after-init-hook, inhibit-startup-echo-area-message):
3140 * strokes.el (strokes-help):
3141 * time-stamp.el (time-stamp):
3142 * calendar/calendar.el (calendar, diary-file):
3143 * calendar/diary-lib.el (diary-mail-entries, diary)
3144 (diary-list-entries-hook):
3145 * calendar/holidays.el (holidays, calendar-holidays):
3146 * calendar/lunar.el (lunar-phases):
3147 * calendar/solar.el (sunrise-sunset):
3148 * emulation/edt.el (edt-load-keys):
3149 * emulation/viper.el (viper-mode):
3150 * eshell/em-alias.el (eshell-command-aliases-list):
3151 * eshell/esh-util.el (eshell-convert-numeric-arguments):
3152 * international/ogonek.el (ogonek-information):
3153 * net/tramp-cmds.el (tramp-bug):
3154 * net/quickurl.el (quickurl-reread-hook-postfix):
3155 * play/decipher.el (decipher-font-lock-keywords):
3156 * progmodes/cc-styles.el (c-set-style):
3157 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
3158 * progmodes/inf-lisp.el (inferior-lisp-prompt):
3159 * progmodes/octave-mod.el (octave-mode):
3160 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
3161 * progmodes/verilog-mode.el (verilog-read-defines):
3162 * textmodes/two-column.el (2C-mode): Likewise.
3164 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
3166 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
3167 that holds many addresses.
3169 2012-09-16 Chong Yidong <cyd@gnu.org>
3171 * align.el (align-areas): Call the indication function with
3172 positions instead of markers for arguments (Bug#12343).
3174 * files.el (parse-colon-path): Use split-string (Bug#12351).
3176 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
3177 (display-buffer-function): Mark as obsolete.
3179 * progmodes/compile.el (compilation-parse-errors): Accept list
3180 values similar to font-lock-keywords (Bug#12136).
3181 Suggested by Oleksandr Manzyuk.
3182 (compilation-error-regexp-alist): Doc fix.
3184 2012-09-15 Glenn Morris <rgm@gnu.org>
3186 * version.el (emacs-bzr-version-bzr): New function.
3187 (emacs-bzr-get-version): Add optional EXTERNAL argument.
3189 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
3190 checkouts, check the parent dirstate matches the branch.
3191 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
3194 * version.el (emacs-bzr-version): Doc fix.
3195 (emacs-bzr-version-dirstate): New function.
3196 (emacs-bzr-get-version): For lightweight checkouts, if the parent
3197 is local try and check that it matches the branch. If not, just
3198 use dirstate information. (Bug#12441)
3200 2012-09-14 Juri Linkov <juri@jurta.org>
3202 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
3205 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3207 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
3209 * emacs-lisp/edebug.el: Miscellaneous cleanup.
3210 Remove obsolete byte-compiler hack that tried to silence some warnings.
3211 (edebug-submit-bug-report): Remove.
3212 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
3213 Remove aliases, use the un-prefixed name instead.
3214 (edebug-pop-to-buffer): Consider other frames.
3215 (edebug-original-read):: Make it more obvious that it's always defined.
3216 (edebug--make-form-data-entry, edebug--form-data-name)
3217 (edebug--form-data-begin, edebug--form-data-end): Rename from the
3218 single-dashed name, and implement with cl-defstruct.
3219 (edebug-set-form-data-entry): Use the standard accessors.
3220 (edebug-make-top-form-data-entry): Use push.
3221 (edebug-no-match): Drop useless `funcall'.
3222 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
3224 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
3225 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
3226 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
3227 (easy-menu-define, with-custom-print): Remove redundant specs.
3228 (edebug-outside-overriding-local-map)
3229 (edebug-outside-overriding-terminal-local-map): Remove, unused.
3230 (edebug--display): Bind unread-command-events directly to nil rather
3231 than binding it to unread-command-events and later setting it to nil.
3232 (edebug--display): Kill edebug-eval-buffer here...
3233 (edebug--recursive-edit): ...rather than here.
3234 Bind standard-output and standard-input.
3235 (edebug-eval): Check cl-macroexpand-all is fboundp.
3236 (edebug-temp-display-freq-count): Fix last change.
3238 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
3239 * subr.el (noreturn, 1value): Add `debug' spec.
3240 * emacs-lisp/advice.el: Require cl-lib.
3241 (ad-copy-tree): Remove, use copy-tree instead.
3242 (ad-dolist): Remove use dolist or cl-dolist instead.
3243 (ad-do-return): Remove, use cl-return instead.
3244 (defadvice): Add `debug' spec.
3246 2012-09-13 Juri Linkov <juri@jurta.org>
3248 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
3251 2012-09-13 Glenn Morris <rgm@gnu.org>
3253 * calc/calc.el (math-compose-expr):
3254 * calc/calc-ext.el (math-compose-expr):
3255 * progmodes/cc-defs.el (cl-macroexpand-all):
3256 * progmodes/cc-langs.el (delete-duplicates, mapcan)
3257 (cl-macroexpand-all): Update declarations.
3259 * vc/vc.el: No need to require ediff.
3260 (ediff-load-version-control): Declare.
3261 (ediff-vc-internal): Fix declaration.
3262 (vc-version-ediff): Require ediff.
3264 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
3266 Use a more backwards-compatible timer format (Bug#12430).
3267 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
3268 being right after USECS, as that better supports old code that
3269 inadvisedly looked directly at the timer vector.
3271 2012-09-13 Kenichi Handa <handa@gnu.org>
3273 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
3274 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
3275 `coding-priority' property of these language environment.
3277 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
3279 Fix glitches caused by addition of psec to timers (Bug#12430).
3280 * image.el (image-animate-timer):
3281 * time.el (display-time-world-timer):
3282 Use timer--function and timer--args rather than raw access to
3285 2012-09-13 Glenn Morris <rgm@gnu.org>
3287 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
3288 If not compiling a file, try using load-file-name.
3290 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3292 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
3294 (edebug-update-eval-list): Use `push'.
3296 * emacs-lisp/edebug.el: Use lexical-binding.
3297 Remove the "edebug-" prefix from non-dynamically-scoped variables.
3298 Mark unused args with underscore.
3299 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
3300 (edebug-form-data): Use defvar-local.
3301 (edebug-make-before-and-after-form, edebug-make-after-form):
3303 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
3304 Not dynamically scoped any more.
3305 (edebug--enter-trace): Add arguments `function' and `args'.
3306 Rename from edebug-enter-trace.
3307 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
3308 (edebug--update-coverage): Add `after-index' and `value' args.
3309 Rename from edebug-update-coverage.
3310 (edebug-slow-after): Call it accordingly.
3311 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
3312 edebug-recursive-edit.
3313 (edebug--display): Call it accordingly. Add args `value',
3314 `offset-index', and `arg-mode'. Rename from edebug-display.
3315 (edebug-debugger, edebug): Call it accordingly.
3316 (edebug-eval-display-list): Use dolist.
3318 2012-09-12 Juri Linkov <juri@jurta.org>
3320 * info.el (Info-search): Don't check for isearch-mode and
3321 isearch-regexp before let-binding search-spaces-regexp to
3322 Info-search-whitespace-regexp.
3323 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
3324 search-whitespace-regexp if isearch-lax-whitespace or
3325 isearch-regexp-lax-whitespace is non-nil.
3326 (Info-mode): Don't set local variable search-whitespace-regexp.
3327 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
3329 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3331 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
3332 (debugger-env-macro): Remove support for unread-command-char.
3334 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
3335 the temporary map re-appearing on emulation-mode-map-alists.
3337 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
3340 * ehelp.el (with-electric-help): Accept functions in
3341 electric-help-form-to-execute.
3342 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
3343 And replace unread-command-char -> unread-command-events.
3345 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
3347 Sync with Tramp 2.2.6.
3349 * net/tramp.el (tramp-accept-process-output): Don't use
3350 JUST-THIS-ONE in the XEmacs case.
3352 * net/trampver.el: Update release number.
3354 2012-09-12 Martin Rudalics <rudalics@gmx.at>
3356 * emacs-lisp/debug.el (debugger-previous-window-height):
3358 (debug): When debugger-jumping-flag is non-nil try to restore
3359 height of debugger window. (Bug#8789)
3361 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3363 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
3364 overriding-local-map and pre/post-command-hook here.
3365 (edebug-recursive-edit): Do it here instead (bug#12345).
3366 (edebug-outside-unread-command-char): Remove all uses of
3367 unread-command-char.
3369 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
3370 inhibit-debugger is bound instead.
3372 2012-09-11 Bastien Guerry <bzg@gnu.org>
3374 * subr.el (set-temporary-overlay-map): Add a docstring.
3377 2012-09-11 Bastien Guerry <bzg@gnu.org>
3379 * minibuffer.el (completion-table-subvert): Fix docstring.
3382 2012-09-11 Bastien Guerry <bzg@gnu.org>
3384 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
3386 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
3388 * progmodes/sql.el: Version 3.1
3389 (sql-db2-escape-newlines): New variable.
3390 (sql-escape-newlines-filter): Use it.
3392 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
3394 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
3396 2012-09-10 Dan Nicolaescu <dann@gnu.org>
3398 * vc/diff-mode.el (diff-mode-menu):
3399 Bind diff-remove-trailing-whitespace.
3401 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3403 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
3404 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
3405 (emacs-lisp-byte-code-mode): New functions.
3406 (eval-sexp-add-defvars): Don't skip defvars in column >0.
3407 (eval-defun-2): Remove bogus interactive spec.
3408 (lisp-indent-line): Remove redundant whole-exp code, now done in
3409 indent-according-to-mode.
3410 (save-match-data): Remove redundant indent data.
3412 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
3415 2012-09-09 Juri Linkov <juri@jurta.org>
3417 * replace.el (replace-regexp-lax-whitespace): New defcustom.
3418 (replace-lax-whitespace, query-replace-regexp)
3419 (query-replace-regexp-eval, replace-regexp): Doc fix.
3420 (perform-replace, replace-highlight): Let-bind
3421 isearch-lax-whitespace to replace-lax-whitespace and
3422 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
3424 * isearch.el (isearch-query-replace): Let-bind
3425 replace-lax-whitespace to isearch-lax-whitespace and
3426 replace-regexp-lax-whitespace to
3427 isearch-regexp-lax-whitespace. (Bug#10885)
3429 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
3431 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
3433 2012-09-09 Alan Mackenzie <acm@muc.de>
3435 * progmodes/cc-engine.el (c-state-cache-init):
3436 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
3437 (c-record-parse-state-state):
3438 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
3440 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
3442 * register.el (register-separator): Rename from
3443 separator-register. All uses changed. Doc fix.
3444 (register): Fix version.
3446 2012-09-09 Chong Yidong <cyd@gnu.org>
3448 * replace.el (query-replace-map): Bind four new symbols for
3449 requesting window scrolling.
3451 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
3452 query-replace-map (Bug#8948).
3454 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
3456 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
3457 since they are now in query-replace-map.
3459 * window.el (scroll-other-window-down): Make the arg optional.
3461 2012-09-09 Chong Yidong <cyd@gnu.org>
3463 * files.el (hack-local-variables-confirm): Use quit-window to kill
3464 the *Local Variables* buffer.
3466 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
3468 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
3469 not just expect to be at its beginning. Adjust callees.
3470 Succeed when do-end block has no space before the pipe character.
3471 (ruby-brace-to-do-end): When the original block is one-liner,
3472 convert to multiline. Reindent the result.
3474 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
3476 * register.el (register): New group.
3477 (separator-register): New user option.
3478 (increment-register): Route it to `append-to-register', if
3479 register contains text. Implication is that `C-x r +' can now be
3480 used for appending to a text register (bug#12217).
3481 (append-to-register, prepend-to-register): Add separator based on
3482 `separator-register'.
3484 2012-09-08 Alan Mackenzie <acm@muc.de>
3486 AWK Mode: make auto-newline work when there's "==" in the pattern.
3487 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
3489 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
3490 Test more rigorously for "=" token.
3492 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
3494 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
3495 Only fail when reached LIMIT.
3497 2012-09-08 Chong Yidong <cyd@gnu.org>
3499 * dired.el (dired-mode-map): Don't bind M-=.
3501 * dired-aux.el (dired-diff): Use backup file as default.
3503 2012-09-08 Drew Adams <drew.adams@oracle.com>
3505 * subr.el (add-to-history): Fix delete usage (Bug#12314).
3507 2012-09-08 Chong Yidong <cyd@gnu.org>
3509 * subr.el (syntax-after, syntax-class): Doc fix.
3511 2012-09-08 Martin Rudalics <rudalics@gmx.at>
3513 * window.el (display-buffer-in-previous-window): New buffer
3514 display action function.
3516 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
3517 (debugger-previous-window): New variable.
3518 (debug): Rewrite using display-buffer-in-previous-window,
3519 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
3521 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
3523 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
3525 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
3527 * progmodes/python.el (python-shell-send-string):
3528 When default-directory is remote, create temp file on remote
3530 (python-shell-send-file): When file is remote, pass local view of
3531 file paths to remote Python interpreter. (Bug#12340)
3533 2012-09-07 Chong Yidong <cyd@gnu.org>
3535 * window.el (switch-to-buffer): Doc fix (Bug#12181).
3537 * files.el (after-find-file): Don't fail on a read-only buffer if
3538 require-final-newline is `visit' or `visit-save' (Bug#11156).
3540 * subr.el (read-char-choice): Allow quitting via ESC ESC.
3542 * userlock.el (ask-user-about-supersession-threat):
3543 Use read-char-choice (Bug#12093).
3545 2012-09-07 Chong Yidong <cyd@gnu.org>
3547 * subr.el (buffer-narrowed-p): New function.
3549 * ses.el (ses-widen):
3550 * simple.el (count-words--buffer-message):
3551 * net/browse-url.el (browse-url-of-buffer): Use it.
3553 * simple.el (count-words-region): Don't signal an error if there
3554 is a non-nil prefix arg and the mark is not set.
3556 * help.el (describe-key-briefly): Allow the message to be seen
3557 when invoked from the minibuffer (Bug#7014).
3559 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
3561 * progmodes/ruby-mode.el (ruby-end-of-defun)
3562 (ruby-beginning-of-defun): Simplify, allow indentation before
3563 block beginning and end keywords.
3564 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
3565 (ruby-end-of-defun): Expect that the point is at the beginning of
3568 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3570 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
3572 (cl--make-usage-args): Strip _ from argument names.
3574 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3576 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
3577 obsolete alias speedbar-key-map.
3578 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
3579 (vhdl-index-menu-init): Don't use obsolete variable
3580 font-lock-maximum-size.
3582 2012-09-06 Chong Yidong <cyd@gnu.org>
3584 * frame.el (window-system-version): Mark as obsolete.
3586 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
3587 of obsolete variable speedbar-key-map.
3589 2012-09-06 Juri Linkov <juri@jurta.org>
3591 * replace.el (replace-lax-whitespace): New defcustom.
3592 (query-replace, query-replace-regexp, query-replace-regexp-eval)
3593 (replace-string, replace-regexp): Mention it in docstrings.
3594 (perform-replace, replace-highlight): Let-bind
3595 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
3596 to the values of replace-lax-whitespace and regexp-flag.
3597 Don't let-bind search-whitespace-regexp. (Bug#10885)
3599 * isearch.el (isearch-query-replace): Let-bind
3600 replace-lax-whitespace instead of let-binding
3601 replace-search-function and replace-re-search-function.
3602 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
3603 and isearch-regexp-lax-whitespace to lazy-highlight variables.
3604 (isearch-toggle-symbol): Set isearch-regexp to nil
3605 in isearch-word mode (like in isearch-toggle-word).
3607 2012-09-06 Juri Linkov <juri@jurta.org>
3609 * replace.el (replace-search-function)
3610 (replace-re-search-function): Set default values to nil.
3611 (perform-replace): Let-bind isearch-related variables based on
3612 replace-related values, call `isearch-search-fun' and let-bind
3613 the result to `search-function'. Remove code that sets
3614 `search-function' and `search-string' separately for
3616 (replace-highlight): Add new argument `delimited-flag' and
3617 rename other arguments to the names used in `perform-replace'.
3618 Let-bind `isearch-word' to the argument `delimited-flag'.
3619 (Bug#10885, bug#10887)
3621 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
3623 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
3624 ruby-beginning-of-indent, simplify, allow all keywords to have
3625 indentation before them.
3626 (ruby-beginning-of-indent): Adjust for above. Search until the
3627 found point is not inside a string or comment.
3628 (ruby-font-lock-keywords): Allow symbols to start with "@"
3629 character, give them higher priority than variables.
3630 (ruby-syntax-propertize-function)
3631 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
3632 matchers. Expression expansions are not comments when inside a
3633 string, and there comment syntax status is irrelevant.
3634 (ruby-match-expression-expansion): New function. Check that
3635 expression expansion is inside a string, and it's not escaped.
3636 (ruby-font-lock-keywords): Use it.
3638 2012-09-05 Martin Rudalics <rudalics@gmx.at>
3640 * help.el (temp-buffer-max-height): New default value.
3641 (temp-buffer-resize-frames): New option.
3642 (resize-temp-buffer-window): Optionally resize frame.
3644 * window.el (fit-frame-to-buffer-bottom-margin): New option.
3645 (fit-frame-to-buffer): New function.
3647 2012-09-05 Glenn Morris <rgm@gnu.org>
3649 * emulation/cua-rect.el (cua--init-rectangles):
3650 * textmodes/picture.el (picture-mode-map):
3651 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
3652 like forward-char and backward-char. (Bug#12317)
3654 2012-09-05 Leo Liu <sdl.web@gmail.com>
3656 * progmodes/flymake.el (flymake-warning-re): New variable.
3657 (flymake-parse-line): Use it.
3659 2012-09-05 Glenn Morris <rgm@gnu.org>
3661 * calendar/holidays.el (holiday-christian-holidays):
3662 Rename an entry. (Bug#12289)
3664 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3666 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
3669 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3671 * loadup.el: Load macroexp. Remove hack.
3672 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
3673 (macroexp--expand-all): Use it to get better warnings.
3674 (macroexp--backtrace, macroexp--trim-backtrace-frame)
3675 (internal-macroexpand-for-load): New functions.
3676 (macroexp--pending-eager-loads): New var.
3677 (emacs-startup-hook): New hack to replace one in loadup.el.
3678 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
3679 (cl--compiler-macro-cXXr): Move to top, before they can be used.
3680 (cl-psetf): Simplify.
3681 (cl-defstruct): Add indent rule.
3683 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
3685 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
3686 over `user-mail-address' for the SMTP MAIL FROM envelope.
3687 (smtpmail-via-smtp): Ditto.
3689 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
3691 * progmodes/ruby-mode.el: Clean up keybindings.
3692 (ruby-mode-map): Don't bind ruby-electric-brace,
3693 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
3694 backward-kill-word, reindent-then-newline-and-indent.
3695 (ruby-mark-defun): Remove.
3696 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
3697 (ruby-mode): Set local beginning-of-defun-function and
3698 end-of-defun-function values.
3700 2012-09-03 Martin Rudalics <rudalics@gmx.at>
3702 * window.el (temp-buffer-window-setup-hook)
3703 (temp-buffer-window-show-hook): New hooks.
3704 (temp-buffer-window-setup, temp-buffer-window-show)
3705 (with-temp-buffer-window): New functions.
3706 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
3707 (special-display-popup-frame): Make sure the window used shows BUFFER.
3709 * help.el (temp-buffer-resize-mode): Fix doc-string.
3710 (resize-temp-buffer-window): New optional argument WINDOW.
3712 * files.el (recover-file, save-buffers-kill-emacs):
3713 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
3715 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
3717 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
3718 remote definition of `default-directory', ensure we can connect.
3720 2012-09-02 Juri Linkov <juri@jurta.org>
3722 Toggle whitespace matching mode with M-s SPC.
3723 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
3725 * isearch.el (search-whitespace-regexp): Doc fix.
3726 Remove cons cell customization.
3727 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
3728 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
3730 (isearch-forward, isearch-forward-regexp): Doc fix.
3731 (isearch-toggle-lax-whitespace): New command.
3732 (search-forward-lax-whitespace, search-backward-lax-whitespace)
3733 (re-search-forward-lax-whitespace)
3734 (re-search-backward-lax-whitespace): New functions.
3735 (isearch-whitespace-regexp): Remove function.
3736 (isearch-query-replace): Let-bind replace-search-function and
3737 replace-re-search-function.
3738 (isearch-occur): Let-bind search-spaces-regexp according to the
3739 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
3740 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
3741 condition for C-q SPC.
3742 (isearch-search-fun-default): Use new functions mentioned above.
3743 (isearch-search-forward, isearch-search-backward): Remove functions.
3744 (isearch-search): Don't let-bind search-spaces-regexp.
3745 (isearch-lazy-highlight-space-regexp): Remove variable.
3746 (isearch-lazy-highlight-lax-whitespace)
3747 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
3748 (isearch-lazy-highlight-new-loop): Use them.
3749 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
3751 2012-09-02 Chong Yidong <cyd@gnu.org>
3753 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
3755 2012-09-02 Glenn Morris <rgm@gnu.org>
3757 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
3759 2012-09-01 Glenn Morris <rgm@gnu.org>
3761 * term.el: Tidy up menu definitions.
3762 (term-mode-map): Use easymenu for In/Out, Complete menus.
3763 (term-pager-break-map): Initialize in the defvar.
3764 (term-terminal-menu, term-signals-menu): Define with easymenu.
3765 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
3766 (term-pager-menu): New, extracted from term-process-pager.
3767 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
3768 (term-update-mode-line): Propertize line/char and page items.
3769 (term-process-pager): Move keymap initialization elsewhere.
3771 2012-09-01 Martin Rudalics <rudalics@gmx.at>
3773 * window.el (switch-to-prev-buffer): Handle additional values of
3774 BURY-OR-KILL argument. Don't switch in minibuffer window.
3775 (switch-to-next-buffer): Don't switch in minibuffer window.
3776 (quit-restore-window): New function based on quit-window.
3777 Handle additional values of former KILL argument.
3778 (quit-window): Call quit-restore-window with appropriate
3779 interpretation of KILL argument.
3780 (display-buffer-below-selected): New buffer display action
3783 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
3785 * minibuffer.el (completion-at-point-functions): Complete docstring
3788 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
3790 Better seed support for (random).
3791 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
3792 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
3793 * play/mpuz.el, play/tetris.el, play/zone.el:
3794 * calc/calc-comb.el (math-init-random-base):
3795 * play/blackbox.el (bb-init-board):
3796 * play/life.el (life):
3797 * server.el (server-use-tcp):
3798 * type-break.el (type-break):
3799 Remove unnecessary call to (random t).
3800 * net/sasl.el (sasl-unique-id-function):
3801 Change (random t) to (random), now that the latter is more random.
3802 * play/life.el (life-initialized): Remove no-longer-needed var.
3804 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
3806 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3807 Consider frame's buffer predicate when choosing the buffer.
3810 2012-08-30 Richard Stallman <rms@gnu.org>
3812 * simple.el (special-mode-map): Delete binding for `z'.
3814 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
3816 * progmodes/compile.el (compilation-always-kill): Doc fix.
3818 2012-08-30 Chong Yidong <cyd@gnu.org>
3820 * window.el (display-buffer-reuse-frames): Make the obsolescence
3821 message more informative.
3823 2012-08-30 Glenn Morris <rgm@gnu.org>
3825 * paren.el (show-paren-delay):
3826 Add a :set function. Doc fix. (Bug#12297)
3828 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
3830 * progmodes/compile.el (compilation-always-kill): New var.
3831 (compilation-start): Use it.
3833 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3835 * simple.el (read-only-mode): Move from files.el for bootstrapping.
3836 * files.el (read-only-mode): Move to simple.el.
3838 * files.el (read-only-mode): New minor mode.
3839 (toggle-read-only): Use it and mark obsolete.
3840 (find-file--read-only):
3841 * vc/vc.el (vc-next-action, vc-checkout):
3842 * vc/vc-cvs.el (vc-cvs-checkout):
3843 * obsolete/vc-mcvs.el (vc-mcvs-update):
3844 * ffap.el (ffap--toggle-read-only): Update callers.
3846 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
3848 * eshell/esh-ext.el (eshell-external-command): Do not examine
3849 remote shell scripts.
3850 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
3852 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
3855 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3857 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
3859 2012-08-28 Leo Liu <sdl.web@gmail.com>
3861 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
3862 completion-at-point. (Bug#12220)
3864 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
3866 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
3868 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3870 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
3871 be buffer-local; add delete-trailing-whitespace (bug#12259).
3873 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
3875 * progmodes/hideif.el (hif-compress-define-list):
3876 Fix typo. (Bug#11951)
3878 2012-08-28 Dan Nicolaescu <dann@gnu.org>
3880 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
3881 buffer local setting.
3883 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
3884 rcirc-encode-coding-system.
3886 2012-08-28 Leo Liu <sdl.web@gmail.com>
3888 * net/rcirc.el (rcirc-split-message): New function.
3889 (rcirc-send-message): Use it. (Bug#12051)
3891 2012-08-28 Juri Linkov <juri@jurta.org>
3893 * info.el (Info-fontify-node): Hide empty lines at the end of
3894 the node. (Bug#12272)
3896 2012-08-27 Drew Adams <drew.adams@oracle.com>
3898 * dired.el (dired-pop-to-buffer): Make window start at beginning
3899 of buffer (Bug#12281).
3901 2012-08-26 Chong Yidong <cyd@gnu.org>
3903 * window.el (special-display-regexps, special-display-frame-alist)
3904 (special-display-buffer-names, special-display-function)
3905 (display-buffer-reuse-frames): Mark as obsolete.
3907 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
3909 * help.el (help-print-return-message): Don't treat
3910 display-buffer-reuse-frames specially.
3912 2012-08-26 Chong Yidong <cyd@gnu.org>
3914 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
3915 New variable, replacing gdb-frame-parameters.
3916 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
3917 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
3918 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
3919 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
3920 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
3921 the functions directly with gdb-display-buffer-other-frame-action.
3922 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
3923 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
3924 (gdb-display-stack-buffer, gdb-display-locals-buffer)
3925 (gdb-display-registers-buffer): Define directly.
3926 (def-gdb-display-buffer): Macro deleted.
3927 (gdb-display-buffer): Remove second and third args, callers don't
3928 use them. Defer to the default display-buffer behavior, apart
3929 from making windows dedicated.
3930 (gdb-setup-windows): Don't call display-buffer unnecessarily.
3932 * progmodes/gud.el (gud-display-line): Just use display-buffer.
3934 * window.el (display-buffer-pop-up-frame): Handle a
3935 pop-up-frame-parameters alist entry.
3936 (display-buffer): Document it.
3938 2012-08-26 Chong Yidong <cyd@gnu.org>
3940 * isearch.el (search-whitespace-regexp): Make string and nil
3941 values apply to both ordinary and regexp search. Allow a cons
3942 cell value to distinguish between the two.
3943 (isearch-whitespace-regexp, isearch-search-forward)
3944 (isearch-search-backward): New functions.
3945 (isearch-occur, isearch-search-fun-default, isearch-search)
3946 (isearch-lazy-highlight-new-loop): Use them.
3947 (isearch-forward, isearch-forward-regexp): Doc fix.
3949 2012-08-26 Chong Yidong <cyd@gnu.org>
3951 * faces.el (help-argument-name): Always inherit from italic
3954 2012-08-25 Martin Rudalics <rudalics@gmx.at>
3956 * window.el (window--even-window-heights): Even heights when
3957 WINDOW and the selected window form a vertical combination.
3958 (display-buffer-use-some-window): Provide that window used gets
3959 sized back by quit-window. (Bug#11880) and (Bug#12091)
3961 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
3963 Fix file time stamp problem with bzr and CVS (Bug#12001).
3964 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
3965 in the file's time stamp, since the version control system loses
3968 2012-08-22 Juri Linkov <juri@jurta.org>
3970 * info.el (Info-fontify-node): Hide the suffix of the
3971 Info file name in the header line. (Bug#12187)
3973 2012-08-22 Glenn Morris <rgm@gnu.org>
3975 * calendar/cal-tex.el (cal-tex-weekly-common):
3976 Restore leading blank page.
3978 2012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
3980 * misc.el (forward-to-word, backward-to-word): Activate or extend
3981 the region under `shift-select-mode'. (Bug#12231)
3983 2012-08-22 Bastien Guerry <bzg@gnu.org>
3985 * progmodes/executable.el (executable-prefix): Set to "#!" instead
3986 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
3987 gives details on why the space is never needed.
3989 2012-08-22 Martin Rudalics <rudalics@gmx.at>
3991 * window.el (walk-window-tree, window-with-parameter):
3992 New optional argument MINIBUF to control whether these functions
3993 should run on the minibuffer window.
3994 (window-at-side-list): Don't operate on minibuffer window.
3995 (window-in-direction): Simplify and rewrite doc-string.
3996 (window--size-ignore): Rename to window--size-ignore-p.
3998 (display-buffer-in-atom-window, window--major-non-side-window)
3999 (window--major-side-window, display-buffer-in-major-side-window)
4000 (delete-side-window, display-buffer-in-side-window):
4002 (window--side-check, window-deletable-p, delete-window)
4003 (delete-other-windows, split-window): Handle side windows and
4004 atomic windows appropriately.
4005 (window--display-buffer): Call display-buffer-record-window also
4006 when the window buffer did not change.
4008 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
4010 * help-fns.el (help-fns--key-bindings):
4011 Abbreviate non-symbol remap targets. (Bug#12174)
4013 2012-08-22 Martin Rudalics <rudalics@gmx.at>
4015 * dired.el (dired-mark-remembered): Don't clobber point.
4018 2012-08-22 Glenn Morris <rgm@gnu.org>
4020 * progmodes/bug-reference.el (bug-reference): New custom group.
4021 (bug-reference-bug-regexp): Make it a defcustom.
4023 2012-08-22 Daiki Ueno <ueno@unixuser.org>
4025 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
4026 (js-paren-indent-offset, js-square-indent-offset)
4027 (js-curly-indent-offset): Add :safe (Bug#12257).
4029 2012-08-22 Edward O'Connor <hober0@gmail.com>
4031 * json.el (json-key-format): Add error properties.
4032 (json-encode-key): New function.
4033 (json-encode-hash-table, json-encode-alist, json-encode-plist):
4034 Use json-encode-key.
4036 2012-08-22 Glenn Morris <rgm@gnu.org>
4038 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
4039 (cal-tex-leftday, cal-tex-rightday): Remove functions.
4040 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
4041 Update for above change.
4043 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
4045 * cus-face.el (custom-face-attributes): Fix customize type for the
4046 :underline attribute. (Bug#11805)
4048 2012-08-21 Martin Rudalics <rudalics@gmx.at>
4050 * window.el (window-point-1, set-window-point-1): Remove.
4051 (window-in-direction, record-window-buffer)
4052 (set-window-buffer-start-and-point, split-window-below)
4053 (window--state-get-1, display-buffer-record-window):
4054 Replace calls to window-point-1 and set-window-point-1 by calls to
4055 window-point and set-window-point respectively.
4057 2012-08-21 Glenn Morris <rgm@gnu.org>
4059 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
4060 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
4063 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
4064 (cal-tex-shortday): New function.
4065 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
4066 (cal-tex-cursor-filofax-daily): Use the above.
4068 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
4070 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
4071 (cal-tex-cursor-filofax-week): Use them.
4073 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
4075 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
4076 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
4078 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
4079 (cal-tex-end-document): Don't rely on buffer name.
4081 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
4083 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
4084 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
4085 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
4088 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
4089 (cal-tex-cursor-week, cal-tex-cursor-week2)
4090 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
4091 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
4092 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
4093 (cal-tex-insert-preamble, cal-tex-b-document)
4094 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
4095 Improve cal-tex-cmd usage.
4097 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
4098 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
4099 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
4100 (cal-tex-weekly-paper): New function.
4101 (cal-tex-cursor-week, cal-tex-cursor-week2)
4102 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
4103 (cal-tex-cursor-day): Use it.
4105 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
4106 (cal-tex-cursor-filofax-week): Remove leading blank page.
4108 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
4109 Add autoload cookie. For now at least, don't use color, since
4110 no other cal-tex function does.
4112 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
4113 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
4114 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
4116 2012-08-21 Juri Linkov <juri@jurta.org>
4118 * info.el (Info-file-attributes): New variable.
4119 (info-insert-file-contents): Add file attributes to
4120 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
4121 `Info-toc-nodes' when previous modtime of the Info file is less
4123 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
4124 of info.el. (Bug#12230)
4126 2012-08-20 Glenn Morris <rgm@gnu.org>
4128 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
4129 * calendar/holidays.el (calendar-holiday-list):
4130 Report errors with display-warning rather than beep'n'sleep.
4132 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
4134 * net/tramp.el (tramp-accept-process-output): Accept only output
4135 from PROC. Otherwise, process filters and sentinels might be
4136 confused. (Bug#12145)
4138 2012-08-20 Chong Yidong <cyd@gnu.org>
4140 * descr-text.el (describe-text-properties-1): Use overlays-in to
4141 report on empty overlays (Bug#3322).
4143 2012-08-20 Glenn Morris <rgm@gnu.org>
4145 * mail/rmailout.el (rmail-output-read-file-name):
4146 Trap and report errors in rmail-output-file-alist elements.
4148 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
4149 since most non-font-lock faces are not also variables).
4151 2012-08-20 Edward Reingold <reingold@iit.edu>
4153 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
4154 New function. (Bug12160)
4156 2012-08-19 Glenn Morris <rgm@gnu.org>
4158 * mail/rmailout.el (rmail-output-read-file-name):
4159 Fix previous change (when the alist is nil or does not match).
4161 2012-08-19 Chong Yidong <cyd@gnu.org>
4163 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
4166 2012-08-18 Chong Yidong <cyd@gnu.org>
4168 * simple.el (yank-handled-properties): New defcustom.
4169 (yank-excluded-properties): Add font-lock-face and category.
4172 * subr.el (remove-yank-excluded-properties):
4173 Obey yank-handled-properties. The special handling of font-lock-face
4174 and category is now done this way, instead of being hard-coded.
4175 (insert-for-yank-1): Remove font-lock-face handling.
4176 (yank-handle-font-lock-face-property)
4177 (yank-handle-category-property): New function.
4179 2012-08-17 Glenn Morris <rgm@gnu.org>
4181 * mail/rmailout.el (rmail-output-read-file-name):
4182 Check rmail-output-file-alist against the full message body
4183 in the correct rmail buffer. (Bug#12214)
4185 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
4187 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4188 Eliminate superfluous prompt. (Bug#12203)
4190 2012-08-17 Chong Yidong <cyd@gnu.org>
4192 * mouse.el (mouse-appearance-menu): If x-select-font returns a
4193 font spec, set the font directly (Bug#3228).
4195 2012-08-17 Martin Rudalics <rudalics@gmx.at>
4197 * window.el (delete-window): Fix last fix.
4199 2012-08-16 Martin Rudalics <rudalics@gmx.at>
4201 * window.el (window-valid-p): Move to window.c.
4202 (window-child, window-child-count, window-last-child)
4203 (window-normalize-window, window-combined-p)
4204 (window-combinations, window-atom-root, window-min-size)
4205 (window-sizable, window-sizable-p, window-size-fixed-p)
4206 (window-min-delta, window-max-delta, window--resizable)
4207 (window--resizable-p, window-resizable, window-total-size)
4208 (window-full-height-p, window-full-width-p, window-body-size)
4209 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
4210 (minimize-window, window-deletable-p, delete-window)
4211 (delete-other-windows, set-window-buffer-start-and-point)
4212 (next-buffer, previous-buffer, split-window, balance-windows-2)
4213 (set-window-text-height, window-buffer-height)
4214 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
4215 (truncated-partial-width-window-p): Minor code adjustments.
4216 In doc-strings state whether the argument window has to denote a
4217 live, valid or any window.
4219 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
4221 * progmodes/subword.el (subword-forward-function)
4222 (subword-backward-function, subword-forward-regexp)
4223 (subword-backward-regexp): New variables.
4224 (subword-forward, subword-forward-internal, subword-backward-internal):
4225 Use new variables, eg so that different "word" definitions
4226 can be easily used. (Bug#11411)
4228 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4230 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
4231 for composite selectors.
4232 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
4233 operation just because we can't find a previous revision.
4235 2012-08-15 Chong Yidong <cyd@gnu.org>
4237 * frame.el (set-frame-font): Accept font objects.
4239 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4241 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
4243 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
4245 * man.el (Man-overstrike-face, Man-underline-face)
4246 (Man-reverse-face): Remove variables.
4247 (Man-overstrike, Man-underline, Man-reverse): New faces.
4248 (Man-fontify-manpage): Use them instead of the variables.
4249 (Man-cleanup-manpage): Comment change.
4250 (Man-ansi-color-map): New variable.
4251 (Man-fontify-manpage): Use it.
4252 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
4254 Implement ANSI SGR parameters 22-27 (bug#12146).
4255 * ansi-color.el (ansi-colors): Doc fix.
4256 (ansi-color-context, ansi-color-context-region): Doc fix.
4257 (ansi-color--find-face): New function.
4258 (ansi-color-apply, ansi-color-apply-on-region): Use it.
4259 Rename the local variable `face' to `codes' since it is now a list of
4260 ansi codes. Doc fix.
4261 (ansi-color-get-face): Remove.
4262 (ansi-color-parse-sequence): New function, derived from
4263 ansi-color-get-face.
4264 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
4267 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
4269 * subr.el (read-passwd): Allow use from a minibuffer.
4271 2012-08-14 Eli Zaretskii <eliz@gnu.org>
4273 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
4274 inside comments and strings as identifiers.
4276 * progmodes/gud.el (gud-tooltip-print-command): Quote the
4277 expression to evaluate. This allows to evaluate expressions with
4278 embedded whitespace.
4279 (gud-tooltip-tips): Add a blank before the newline in the
4280 message-box text, for the benefit of message-box emulation on
4283 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
4284 messages from GDB, pop them up in a tooltip to give feedback to
4286 (gdb-tooltip-print-1): Quote the expression to evaluate.
4287 This allows to evaluate expressions with embedded whitespace.
4288 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
4289 if the TTY name is nil or empty (which happens when communicating
4290 with the inferior via pipes, e.g. on MS-Windows).
4291 (gdb-internals): If GDB sends a "&\n" empty debugging message,
4292 don't send that to the GUD buffer.
4294 2012-08-14 Glenn Morris <rgm@gnu.org>
4296 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
4297 Optimize away setq-default with no args, as for setq. (Bug#12195)
4299 2012-08-14 Chong Yidong <cyd@gnu.org>
4301 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
4303 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
4306 2012-08-14 Glenn Morris <rgm@gnu.org>
4308 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
4310 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
4312 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
4313 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4314 Use cached shell name.
4316 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
4318 * progmodes/python.el (python-shell-send-string):
4319 (python-shell-send-setup-code): Do not use `format' with `message'.
4321 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
4323 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
4324 (ruby-percent-literal-beg-re): New constant.
4325 (ruby-syntax-general-delimiters-goto-beg): Rename to
4326 `ruby-syntax-enclosing-percent-literal', improve literal type check.
4327 (ruby-syntax-propertize-general-delimiters): Rename to
4328 `ruby-syntax-propertize-percent-literal', it's a shorter and more
4329 popular term. Adjust comments everywhere.
4330 (ruby-syntax-propertize-percent-literal): Only propertize when not
4331 inside a simple string or comment. When the literal is unclosed,
4332 leave the text after it unpropertized.
4333 (ruby-syntax-methods-before-regexp): New constant.
4334 (ruby-syntax-propertize-function): Use it to recognize regexps.
4335 Don't look at the text after regexp, just use the whitelist.
4337 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
4339 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
4340 non-nil always load the compiled file if it exists. (Bug#12197)
4342 2012-08-14 Chong Yidong <cyd@gnu.org>
4344 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
4345 (hi-lock-set-pattern): When deciding whether to use font lock or
4346 overlays, look at font-lock-mode instead of font-lock-fontified
4348 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
4349 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
4351 2012-08-14 Daiki Ueno <ueno@unixuser.org>
4353 * subr.el (internal--after-with-selected-window): Fix typo
4356 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
4358 Use `completion-table-dynamic' for completion functions.
4359 * progmodes/python.el
4360 (python-shell-completion--do-completion-at-point)
4361 (python-shell-completion--get-completions):
4363 (python-shell-completion-complete-at-point): New function.
4364 (python-completion-complete-at-point): Use it.
4366 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
4368 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
4369 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
4371 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4373 * subr.el (function-get): Refine `autoload' arg so it can also
4374 autoload functions for gv.el (bug#12191).
4375 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
4378 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
4379 Prefer pcase-let over destructuring-bind.
4380 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
4381 Also, remove whitespace as we go, rather than after accumulating the
4384 * subr.el (internal--before-with-selected-window)
4385 (internal--after-with-selected-window): Fix typo seleted->selected.
4386 (with-selected-window): Adjust callers.
4387 Reported by Dmitry Gutov <dgutov@yandex.ru>.
4389 2012-08-13 Bastien Guerry <bzg@gnu.org>
4391 * window.el (special-display-popup-frame): Minor docstring
4392 enhancement. (Bug#12172)
4394 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
4396 * tar-mode.el (tar-header-data-end): Only ignore size for files of
4398 (tar-header-block-summarize, tar-get-descriptor): Handle pax
4401 * files.el (hack-local-variables-filter): Remove useless eval.
4403 2012-08-13 Martin Rudalics <rudalics@gmx.at>
4405 * subr.el (with-selected-window): Fix last change.
4407 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4409 * subr.el (internal--before-with-seleted-window)
4410 (internal--after-with-seleted-window): New functions.
4411 (with-selected-window): Use them, to replace dependency on
4414 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
4416 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
4417 binding for `newline'.
4418 (ruby-move-to-block): When moving backward, stop at block opening,
4420 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
4421 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
4422 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4423 `ruby-toggle-block'.
4425 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4427 * ibuffer.el (ibuffer-do-toggle-read-only):
4428 * dired.el (dired-toggle-read-only):
4429 * buff-menu.el (Buffer-menu-toggle-read-only):
4430 * bindings.el (mode-line-toggle-read-only):
4431 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
4433 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
4435 * descr-text.el (describe-char): Put the overlays over the
4436 "displayed as" character.
4438 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
4440 * calc/calc-units.el (math-default-units-table): Give an
4442 (math-put-default-units): Add options to put composite units and
4443 unit systems in the default units table.
4444 (calc-convert-units): Send composite units to
4445 `math-put-default-units' when appropriate.
4447 2012-08-11 Glenn Morris <rgm@gnu.org>
4449 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
4451 * tutorial.el (help-with-tutorial):
4452 * emacs-lisp/copyright.el (copyright-update-directory):
4453 * emacs-lisp/autoload.el (autoload-find-generated-file)
4454 (autoload-find-file): Disable local eval: (for insurance).
4456 * files.el (hack-local-variables-filter): If an eval: form is not
4457 known to be safe, and enable-local-variables is :safe, then ignore
4458 the form totally, as is done for non-eval forms. (Bug#12155)
4459 This is CVE-2012-3479.
4461 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4463 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
4464 (rx-form): Simplify.
4466 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
4468 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
4469 ?, _, and : are symbol constituents, ! is not (but kinda should be).
4470 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
4471 (ruby-syntax-propertize-function): Adjust for changes in
4472 `ruby-syntax-propertize-heredoc'.
4474 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
4476 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
4477 binding (use `M-;' instead).
4478 (ruby-singleton-class-p): New function.
4479 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
4481 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4483 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
4485 2012-08-10 Chong Yidong <cyd@gnu.org>
4487 * progmodes/python.el (python-shell-get-process-name): Don't mess
4488 with same-window-buffer-names.
4490 * eshell/eshell.el (eshell-add-to-window-buffer-names)
4491 (eshell-remove-from-window-buffer-names): Make obsolete.
4492 (eshell-buffer-name, eshell-unload-hook): Don't use them.
4493 (eshell): Just use pop-to-buffer-same-window instead.
4495 2012-08-10 Chong Yidong <cyd@gnu.org>
4497 * bindings.el: Bind M-= back to count-words-region.
4499 * simple.el (count-words-region): Accept a prefix arg for acting
4500 on the entire buffer.
4501 (count-words--buffer-message): New helper function.
4503 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4505 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
4506 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
4507 (event-start, event-end): Use posn-at-point to return a more
4509 (posnp): New function.
4510 * mouse.el (popup-menu-normalize-position): Use it.
4512 2012-08-10 Masatake YAMATO <yamato@redhat.com>
4514 * mouse.el (popup-menu-normalize-position): New function.
4515 (popup-menu): Use `popup-menu-normalize-position' to normalize
4516 the form for POSITION argument.
4518 * term/x-win.el (x-menu-bar-open):
4519 Use the value returend from (posn-at-point) as position
4520 passed to `popup-menu'.
4522 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
4524 * calc/calccomp.el (math-compose-expr): Add extra argument
4525 indicating that parentheses should be put around products in
4526 denominators. Give multiplication precedence over division during
4529 2012-08-09 Chong Yidong <cyd@gnu.org>
4531 * man.el (Man-switches, Man-sed-command, Man-awk-command)
4532 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
4533 (Man-untabify-command, manual-program): Convert to defcustom
4536 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
4538 * descr-text.el (describe-char): Don't insert extra newlines
4541 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
4542 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
4544 * align.el (align-region): Delete temporary markers (Bug#10047).
4545 Plus some code cleanups.
4547 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
4549 * progmodes/python.el (python-pdbtrack-tracked-buffer)
4550 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
4551 (python-shell-internal-last-output): Use make-local-variable
4552 instead of make-variable-buffer-local.
4554 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
4556 * progmodes/python.el: Enhancements to forward-sexp.
4557 (python-nav-forward-sexp): Rename from
4558 python-nav-forward-sexp-function.
4559 (python-nav--forward-sexp, python-nav--backward-sexp):
4562 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
4564 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
4565 modes and simplification modes.
4567 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4569 * delsel.el (delete-selection-pre-hook): Don't propagate the
4570 file-supersession signals (bug#12161).
4572 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4574 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
4575 (cl-map-extents): Add compatibility aliases (bug#12135).
4577 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
4579 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
4580 tests by `ignore-error'.
4581 (tramp-find-shell): Open also a new shell, when cache is already
4582 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
4584 2012-08-08 Juri Linkov <juri@jurta.org>
4586 * bookmark.el: Add `defaults' property to the bookmark record.
4587 (bookmark-current-buffer): Doc fix.
4588 (bookmark-make-record): Add `defaults' property with default values
4589 to the bookmark record.
4590 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
4591 with `bookmark-insert-current-bookmark'.
4592 (bookmark-set): Get `defaults' property from the bookmark record
4593 and use it in `read-from-minibuffer'.
4594 (bookmark-insert-current-bookmark): Remove function.
4596 * info.el (Info-bookmark-make-record): Add `defaults' property
4597 with values of canonical Info node name, the current Info file
4598 name and the current Info node name. (Bug#12107)
4600 2012-08-08 Juri Linkov <juri@jurta.org>
4602 * files.el (basic-save-buffer): Use `buffer-name' as the default
4603 of `read-file-name' when buffer is not visiting a file (bug#12128).
4605 2012-08-08 Juri Linkov <juri@jurta.org>
4607 * info.el (Info-isearch-search): Doc fix.
4608 (Info-search): Change search-failed message from "initial node" to
4609 "end of node" (bug#12078).
4610 (Info-isearch-search): Change `isearch-string-state' to
4611 `isearch--state-string'.
4613 2012-08-08 Glenn Morris <rgm@gnu.org>
4615 * language/persian.el: Remove file.
4616 * language/misc-lang.el: Move unique part of persian.el here.
4617 * loadup.el: Remove language/persian.
4619 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
4621 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
4623 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
4625 * progmodes/python.el Fixed defsubst warning.
4626 (python-syntax-context) Rename from python-info-ppss-context.
4627 (python-syntax-context-type): Rename from
4628 python-info-ppss-context-type.
4629 (python-syntax-comment-or-string-p): Rename from
4630 python-info-ppss-comment-or-string-p.
4632 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
4634 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
4636 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
4638 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
4639 a defcustom that is quoted with backquote.
4641 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
4642 Fix handling of interactive spec when the body uses return.
4643 (math-do-arg-check, math-define-function-body): Use backquote forms.
4644 * calc/calc-ext.el (math-defcache): Likewise.
4645 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
4646 * allout.el (allout-new-exposure): Likewise.
4647 * calc/calcalg2.el (math-tracing-integral): Likewise.
4648 * info.el (Info-last-menu-item): Likewise.
4649 * emulation/vip.el (vip-loop): Likewise.
4650 * textmodes/artist.el (artist-funcall): Likewise.
4651 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
4652 Construct menu-item directly.
4654 * progmodes/autoconf.el (font-lock-syntactic-keywords):
4657 2012-08-07 Chong Yidong <cyd@gnu.org>
4659 * simple.el (deactivate-mark): Preserve text properties when
4660 saving the primary selection (Bug#8384).
4662 2012-08-07 Kevin Ryde <user42@zip.com.au>
4664 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
4665 (woman-parse-numeric-value): On a bad .IP line, issue a warning
4666 and continue processing (Bug#12110).
4668 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
4670 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
4671 syntax-propertize-function (bug#10095).
4673 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
4675 * help-fns.el (help-fns--key-bindings, help-fns--signature)
4676 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
4677 describe-function-1.
4678 (describe-function-1): Use them. Move compiler macro after sig.
4679 (help-fns--compiler-macro): Use function-get. Assume we're already in
4680 standard-output. Adjust layout to new call order.
4682 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
4683 re-binding a symbol that has a symbol-macro (bug#12119).
4685 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
4687 * language/persian.el: New file. (Bug#11812)
4688 * loadup.el: Add language/persian.el.
4690 2012-08-06 Chong Yidong <cyd@gnu.org>
4692 * window.el (window--maybe-raise-frame): New function.
4693 (window--display-buffer): Split off from here.
4694 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4695 (display-buffer-pop-up-window, display-buffer-use-some-window):
4696 Obey an inhibit-switch-frame action alist entry.
4697 (display-buffer): Update doc.
4699 * replace.el (occur-after-change-function): Avoid losing focus by
4700 using the inhibit-switch-frame display parameter (Bug#12139).
4702 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
4704 Make internal shell process buffer names start with space.
4705 * progmodes/python.el (python-shell-make-comint): Add optional
4707 (run-python-internal): Use it.
4708 (python-shell-internal-get-or-create-process): Check for new
4709 internal buffer names.
4711 2012-08-06 Glenn Morris <rgm@gnu.org>
4713 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
4714 Do less getting and setting of environment variables.
4716 2012-08-05 Chong Yidong <cyd@gnu.org>
4718 * proced.el (proced): Add substitution string to docstring to
4719 trigger autoloading of the proced library on C-h f (Bug#1768).
4721 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4722 Don't show defvars which have no second argument (Bug#8638).
4724 * imenu.el (imenu-generic-expression): Move documentation here
4725 from imenu--generic-function.
4726 (imenu--generic-function): Refer to imenu-generic-expression.
4728 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
4730 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
4731 indentation declaration.
4732 (viper-loop): Add indentation declaration (Bug#7025).
4734 2012-08-05 Chong Yidong <cyd@gnu.org>
4736 * help-fns.el (describe-variable): Add hyperlink for
4737 directory-local variables files. Improve buffer-local and
4738 permanent-local reporting; suggested by MON KEY (Bug#6644).
4740 * help-mode.el (help-dir-local-var-def): New button type.
4742 * files.el (kill-buffer-hook): Provide a defvar.
4744 2012-08-05 Glenn Morris <rgm@gnu.org>
4746 * eshell/esh-ext.el (eshell/addpath):
4747 Also update eshell-path-env. (Bug#12013)
4749 2012-08-05 Chong Yidong <cyd@gnu.org>
4751 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
4753 * fringe.el (fringe-styles): Add docstring.
4754 (fringe--check-mode): New function.
4755 (set-fringe-mode, set-fringe-style): Use it.
4756 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
4758 * files.el (set-auto-mode): Fix invalid setq call.
4760 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4762 * isearch.el: Misc simplification; use defstruct.
4763 (isearch-mode-map): Dense maps now work like sparse ones.
4764 (isearch--state): New defstruct.
4765 (isearch-string-state, isearch-message-state, isearch-point-state)
4766 (isearch-success-state, isearch-forward-state)
4767 (isearch-other-end-state, isearch-word-state, isearch-error-state)
4768 (isearch-wrapped-state, isearch-barrier-state)
4769 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
4770 replaced by defstruct's accessors.
4771 (isearch--set-state): Rename from isearch-top-state and change
4773 (isearch-push-state): Use new isearch--get-state.
4774 (isearch-toggle-word): Disable regexp when enabling word.
4775 (isearch-message-prefix): Remove unused arg _c-q-hack.
4776 (isearch-message-suffix): Remove unused arg _ellipsis.
4778 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
4780 * simple.el (list-processes--refresh): For a server use :host or
4781 :local as the address.
4782 (list-processes): Doc fix.
4784 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
4786 * lisp/mpc.el: Support password in host argument.
4787 (mpc--proc-connect): Parse and use new password element.
4788 Set mpc-proc variable instead of returning process.
4789 (mpc-proc): Adjust accordingly.
4791 2012-08-03 Eli Zaretskii <eliz@gnu.org>
4793 * whitespace.el (whitespace-display-mappings): Use Unicode
4794 codepoints, instead of emacs-mule codepoints. See
4795 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
4798 * files.el (file-truename): Don't skip symlink-chasing part on
4799 windows-nt. Incorporate the resolution of 8+3 short aliases on
4800 Windows into the loop that recursively chases symlinks.
4801 Compare directory and its parent case-insensitively on MS-Windows and
4804 2012-08-03 Chong Yidong <cyd@gnu.org>
4806 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
4808 * sort.el (sort-regexp-fields): Doc fix.
4810 2012-08-03 Tassilo Horn <tsdh@gnu.org>
4812 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
4813 labels regex position point at the expected place.
4815 2012-08-03 MON KEY <monkey@sandpframing.com>
4817 * net/imap.el (imap-interactive-login, imap-authenticate)
4818 (imap-mailbox-lsub, imap-mailbox-list)
4819 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
4820 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
4821 (imap-parse-response): Doc fix.
4823 2012-08-03 João Távora <joaotavora@gmail.com>
4825 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
4826 if sexp scanning does not move point (Bug#5734).
4828 2012-08-02 Tassilo Horn <tsdh@gnu.org>
4830 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
4831 Add listings, minted, and ctable packages.
4832 (reftex-label-alist-builtin): Move listings, minted, and ctable
4833 entries before LaTeX.
4834 (reftex-label-alist): Docfix.
4836 2012-08-02 Bastien Guerry <bzg@gnu.org>
4838 * replace.el (occur): Fix docstring (bug#12122).
4840 2012-08-02 Glenn Morris <rgm@gnu.org>
4842 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
4844 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
4846 Obsolete alias inactivate-current-input-method-function (Bug#10150).
4847 * international/mule-cmds.el: Create
4848 inactivate-current-input-method-function as an obsolete alias for
4849 deactivate-current-input-method-function. See Katsumi Yamaoka in
4850 <http://bugs.gnu.org/10150#46>.
4852 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
4854 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
4857 2012-08-01 Glenn Morris <rgm@gnu.org>
4859 * progmodes/autoconf.el (autoconf-definition-regexp):
4860 Add AH_TEMPLATE, adjust submatch numbering.
4861 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
4862 (autoconf-current-defun-function): Update for above change.
4863 (autoconf-current-defun-function): First skip to end of current word.
4865 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
4867 * calendar/cal-html.el (cal-html-insert-agenda-days):
4868 Fix typo. (Bug#12018)
4870 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
4872 Shell processes: enhancements to startup and CEDET compatibility.
4873 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
4874 (python-shell-make-comint): accept-process-output at startup.
4875 (run-python-internal): Set inferior-python-mode-hook to nil.
4876 (python-shell-internal-get-or-create-process): call sit-for.
4877 (python-preoutput-result): Add obsolete alias.
4878 (python-shell-internal-send-string): Use it.
4879 (python-shell-send-setup-code): Remove call to
4880 accept-process-output.
4882 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
4884 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
4887 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
4889 * calc-mode.el (calc-basic-simplification-mode): Rename from
4890 `calc-limited-simplification-mode'.
4891 (calc-alg-simplification-mode): New function.
4892 (calc-set-simplify-mode): Adjust message.
4894 * calc.el (calc-set-mode-line): Adjust mode line display for
4895 basic simplification mode.
4897 * calc-help.el (calc-m-prefix-help): Update help message.
4899 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
4900 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
4902 2012-07-31 Bastien Guerry <bzg@gnu.org>
4904 * man.el (man): Fix comment. (bug#12101)
4906 2012-07-31 Martin Rudalics <rudalics@gmx.at>
4908 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
4909 Don't return a non-nil value when no suitable buffer was found.
4911 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
4913 * progmodes/python.el (run-python-internal): Disable font lock for
4916 2012-07-30 Stefan Merten <smerten@oekonux.de>
4918 * textmodes/rst.el: Silence `checkdoc-ispell'.
4919 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
4920 (rst-official-version, rst-official-cvs-rev)
4921 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
4922 (rst-mode-map): New key binding.
4924 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
4926 Update .PHONY listings in makefiles.
4927 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
4928 autoloads, update-subdirs, updates, bzr-update, update-authors,
4929 compile-onefile, compile-calc, backup-compiled-files,
4930 compile-after-backup, compile-one-process, mh-autoloads,
4931 bootstrap-clean, distclean, maintainer-clean.
4933 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
4935 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
4936 (calc-set-mode-line): Don't display "AlgSimp ".
4938 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
4939 (calc-lim-simplify-mode): New function.
4940 (calc-set-simplify-mode): Default to 'alg.
4941 (calc-default-simplify-mode): Make algebraic simplifications
4944 * calc/calc-ext.el (calc-init-extensions): Remove binding for
4945 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
4947 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4948 indicate new simplification modes.
4950 * calc/README: Mention new default simplification mode.
4952 * calc/calc.el (math-normalize-error): New variable.
4953 (math-normalize): Set `math-normalize-error' to t
4954 when there's an error.
4956 * calc/calc-alg.el (math-simplify): Don't simplify when
4957 `math-normalize' returns an error.
4959 2012-07-29 Eli Zaretskii <eliz@gnu.org>
4961 * international/mule-cmds.el (set-locale-environment): Revert last
4962 change, since display-graphic-p returns nil when this function is
4963 called during startup. Instead...
4965 * term/w32console.el (terminal-init-w32console): ...setup the
4966 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
4968 2012-07-29 Juri Linkov <juri@jurta.org>
4970 * simple.el (goto-line): Don't display default line number in the
4971 prompt because it should be displayed by `read-number' (bug#9952).
4972 Add the current line number to the defaults of `goto-line' to
4973 allow its easier modification by users with `M-n' (bug#9201).
4975 * subr.el (read-number): Support multiple default values like in
4976 other minibuffer reading functions. Replace `read' with
4977 `string-to-number' for consistency with `number-to-string'.
4979 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
4981 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
4982 * emulation/viper-init.el (viper-deactivate-input-method-action):
4983 Rename from viper-inactivate-input-method-action.
4984 (viper-deactivate-input-method):
4985 Rename from viper-inactivate-input-method.
4986 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
4987 * international/mule-cmds.el (deactivate-input-method):
4988 Rename from inactivate-input-method.
4989 Also run input-method-deactivate-hook.
4990 (deactivate-current-input-method-function):
4991 Rename from inactivate-current-input-method-function.
4992 (input-method-deactivate-hook): New hook.
4993 (input-method-inactivate-hook): Mark obsolete.
4994 (inactivate-input-method): Mark obsolete.
4996 * international/quail.el (quail-activate):
4997 Also run quail-deactivate-hook.
4998 (quail-deactivate): Rename from quail-inactivate.
4999 * international/robin.el (robin-activate):
5000 Also run robin-deactivate-hook.
5001 (robin-deactivate): Rename from robin-inactivate.
5003 2012-07-29 Chong Yidong <cyd@gnu.org>
5005 * simple.el (indicate-copied-region): New function.
5006 (kill-ring-save): Split off from here.
5008 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
5009 (kill-rectangle): Set deactivate-mark to t on read-only error.
5011 * register.el (copy-to-register, copy-rectangle-to-register):
5012 Deactivate the mark, and use indicate-copied-region (Bug#10056).
5013 (append-to-register, prepend-to-register): Call indicate-copied-region.
5015 2012-07-29 Juri Linkov <juri@jurta.org>
5017 * simple.el (async-shell-command-buffer): New defcustom.
5018 (shell-command): Use it. (Bug#4719)
5020 2012-07-28 Eli Zaretskii <eliz@gnu.org>
5022 * international/mule-cmds.el (set-locale-environment): In a
5023 console session on MS-Windows, set up keyboard and terminal
5024 encoding from the OEM codepage, not the ANSI codepage.
5027 2012-07-28 Chong Yidong <cyd@gnu.org>
5029 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
5032 2012-07-28 Leo Liu <sdl.web@gmail.com>
5034 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
5035 the alist (bug#12029).
5037 2012-07-28 Eli Zaretskii <eliz@gnu.org>
5039 * makefile.w32-in (custom-deps, finder-data, updates, compile)
5040 (compile-always, compile-first)
5041 ($(lisp)/calendar/cal-loaddefs.el)
5042 ($(lisp)/calendar/diary-loaddefs.el)
5043 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
5044 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
5045 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
5046 instead of on update-subdirs.
5047 (bootstrap-clean): Delete $(lisp)/subdirs.el.
5049 2012-07-28 Chong Yidong <cyd@gnu.org>
5051 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
5052 directory if vc-deduce-backend returns nil (Bug#7350).
5054 * simple.el (delete-trailing-lines): New option.
5055 (delete-trailing-whitespace): Obey it (Bug#11879).
5057 2012-07-28 David Engster <deng@randomsample.de>
5059 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
5060 Explanation of new 'symbol-qnames feature in doc-strings.
5061 (xml-maybe-do-ns): Return expanded names as plain symbols if
5062 'symbol-qnames was provided in XML-NS argument (Bug#11916).
5063 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
5065 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
5067 Consistent completion in inferior python with emacs -nw.
5068 * progmodes/python.el (inferior-python-mode): replace "<tab>"
5069 binding in inferior-python-mode-map with "\t".
5070 (python-shell-completion-complete-at-point)
5071 (python-completion-complete-at-point): Remove interactive spec.
5073 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
5075 * calc/calccomp.el (math-compose-expr): Undo previous change.
5077 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
5079 * progmodes/python.el (python-mode-map): Add keybinding for
5081 (python-shell-make-comint): Fix pop-to-buffer call.
5082 (run-python): Autoload. New arg SHOW.
5083 (python-shell-get-or-create-process): Do not pop python process
5086 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
5088 * notifications.el (notifications-on-action-signal)
5089 (notifications-on-closed-signal): Use also the bus address for the map.
5090 (notifications-notify, notifications-close-notification)
5091 (notifications-get-capabilities): Add optional argument BUS.
5093 2012-07-27 Tassilo Horn <tsdh@gnu.org>
5095 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5096 Add support for the lstlisting and minted environments, and for the
5098 * textmodes/reftex.el (reftex-compile-variables): Also recognize
5099 labels written in keyvals syntax.
5101 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
5103 * calc/calccomp.el (math-compose-expr): Use parentheses when
5104 there is a product in the denominator of a fraction.
5106 2012-07-26 Eli Zaretskii <eliz@gnu.org>
5108 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
5109 ($(lisp)/calendar/diary-loaddefs.el)
5110 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
5111 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
5112 Fixes failures in parallel bootstrap because subdirs.el is being
5113 rewritten while the autoload files are built at the same time,
5114 which needs to load subdirs.el.
5116 2012-07-26 Martin Rudalics <rudalics@gmx.at>
5118 * mouse.el (popup-menu): Fix doc-string and re-indent code.
5119 (mouse-drag-line): Don't exit tracking when a switch-frame or
5120 switch-window event occurs (Bug#12006).
5122 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5124 * mouse.el (popup-menu): Fix last change.
5126 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5128 Autoload from Lisp with more care. Follow aliases when looking for
5129 function properties.
5130 * subr.el (autoloadp): New function.
5131 (symbol-file): Use it.
5132 (function-get): New function.
5133 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
5135 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
5136 (lisp-indent-function):
5137 * emacs-lisp/gv.el (gv-get):
5138 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
5139 * emacs-lisp/byte-opt.el (byte-optimize-form):
5140 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
5141 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
5143 * emacs-lisp/cl.el: Don't propagate function properties any more.
5145 * speedbar.el (speedbar-add-localized-speedbar-support):
5146 * emacs-lisp/disass.el (disassemble-internal):
5147 * desktop.el (desktop-load-file):
5148 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
5149 (describe-function-1):
5150 * emacs-lisp/find-func.el (find-function-noselect):
5151 * emacs-lisp/elp.el (elp-instrument-function):
5152 * emacs-lisp/advice.el (ad-has-proper-definition):
5153 * apropos.el (apropos-safe-documentation, apropos-macrop):
5154 * emacs-lisp/debug.el (debug-on-entry):
5155 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
5156 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
5157 * calc/calc.el (name): Use autoloadp & autoload-do-load.
5159 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
5161 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
5162 function, not an obsolete variable (Bug#12046).
5164 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
5166 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
5168 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
5170 * emacs-lisp/pp.el (pp-display-expression): Select old selected
5171 window only if it is still live (Bug#12034).
5173 2012-07-25 Martin Rudalics <rudalics@gmx.at>
5175 * subr.el (redirect-frame-focus): Add advertised calling
5176 convention (Bug#12030).
5178 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
5180 Prefer typical American spelling for "acknowledgment".
5181 * vc/add-log.el (change-log-acknowledgment): Rename from
5182 change-log-acknowledgement, with an alias for the old name.
5184 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
5186 * calc-alg.el (math-simplify-divide): Don't cross multiply
5187 in an equation when the lhs is a variable.
5189 2012-07-24 Julien Danjou <julien@danjou.info>
5191 * net/netrc.el (netrc-find-service-number, netrc-store-data):
5194 2012-07-23 Eli Zaretskii <eliz@gnu.org>
5196 * startup.el (command-line): Don't display an empty user name in
5197 the error message about non-existent home directory, when
5198 init-file-user was set to an empty string. See
5199 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
5200 for the details and context.
5202 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
5204 * ses.el (ses-cell-formula-aset): New macro.
5205 (ses-cell-references-aset): New macro.
5206 (ses-cell-p): New function.
5207 (ses-rename-cell): Do no longer rely on complex operations like
5208 ses-cell-set-formula or ses-set-cell to change the cell and handle
5209 the undo at the same time, but rather use lower level new macros
5210 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
5211 the undo directly. Refresh the mode line.
5213 2012-07-21 Leo Liu <sdl.web@gmail.com>
5215 * progmodes/cc-cmds.el (c-defun-name):
5216 Use match-string-no-properties instead for consistency.
5218 2012-07-20 Leo Liu <sdl.web@gmail.com>
5220 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
5223 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
5225 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
5227 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
5228 * progmodes/bug-reference.el, misearch.el: Provide themselves
5231 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
5232 of narrowed buffer (bug#11966).
5234 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
5236 * ses.el (ses-rename-cell): Set new name also in reference list of
5237 cells of which the renamed cell depends.
5239 2012-07-20 Masatake YAMATO <yamato@redhat.com>
5241 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
5242 to check whether menu-bar is shown or not. If not shown,
5243 show the menu-bar as a popup menu instead of using tmm.
5244 * mouse.el (popup-menu): Accept `point' as `position' argument.
5246 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
5248 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
5249 up inside string symbol literal (bug#11923).
5251 2012-07-20 Eli Zaretskii <eliz@gnu.org>
5253 * startup.el (fancy-startup-text): Read the whole tutorial, not
5254 just its first 256 bytes. Prevents gibberish in display of the
5257 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
5259 Drop idle buffer compaction due to an absence of the
5261 * compact.el: Remove.
5263 2012-07-19 Sam Steingold <sds@gnu.org>
5265 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
5266 vc-bzr-pull & vc-bzr-merge-branch.
5267 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
5268 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
5269 for consistency with compilation-error-regexp-alist.
5270 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
5271 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
5272 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
5273 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
5275 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
5277 * emacs-lisp/chart.el: Use lexical-binding.
5278 (chart-emacs-storage): Don't hardcode the list of entries.
5280 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
5282 Next round of tweaks caused by Fgarbage_collect changes.
5283 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
5285 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
5287 Compact buffers when idle.
5288 * compact.el: New file.
5290 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
5292 * subr.el (eventp): Presume that if it looks vaguely like an event,
5293 it's an event (bug#10190).
5295 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
5297 Enhancements to ppss related code (thanks Stefan).
5298 * progmodes/python.el (python-indent-context)
5299 (python-indent-calculate-indentation, python-indent-dedent-line)
5300 (python-indent-electric-colon, python-nav-forward-block)
5301 (python-mode-abbrev-table)
5302 (python-info-assignment-continuation-line-p): Simplify checks
5304 (python-info-continuation-line-p): Cleanup.
5305 (python-info-ppss-context): Do not catch 'quote.
5306 (python-info-ppss-context-type)
5307 (python-info-ppss-comment-or-string-p): Simplify.
5309 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
5311 * progmodes/python.el: Enhancements to eldoc support.
5312 (python-info-current-symbol): New function.
5313 (python-eldoc-at-point): Use python-info-current-symbol.
5314 (python-info-current-defun): Fix cornercase on first defun scan.
5315 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
5316 and signal error when no inferior python process is available.
5318 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
5320 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
5321 assume it's always t.
5322 (vc-git-registered): Remove caching, the function is only called
5324 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
5326 2012-07-18 Chong Yidong <cyd@gnu.org>
5328 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
5330 * simple.el (count-words): Report on narrowing (Bug#9959).
5332 * bindings.el: Bind M-= to count-words.
5334 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
5336 2012-07-18 Masatake YAMATO <yamato@redhat.com>
5338 * progmodes/sh-script.el (sh-imenu-generic-expression):
5339 Capture a function with `function' keyword and without parentheses
5340 like "function FOO" (bug#11856).
5342 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
5344 * window.el (split-window-sensibly): Make WINDOW argument
5347 2012-07-18 Chong Yidong <cyd@gnu.org>
5349 * subr.el (keyboard-translate): Doc fix (Bug#7261).
5351 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
5352 and make C-x 8 RET exit isearch (Bug#11439).
5354 * international/iso-transl.el: Move isearch-mode-map key
5355 definitions to isearch.el.
5357 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
5359 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
5360 (eieio-defclass): Use gv-define-setter when possible.
5362 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
5364 Reflect recent changes in Fgarbage_collect.
5365 * emacs-lisp/chart.el (chart-emacs-storage): Change to
5366 reflect new format of data returned by Fgarbage_collect.
5368 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
5370 New utility functions + python-info-ppss-context fix (Bug#11910).
5371 * progmodes/python.el (python-info-beginning-of-block-statement-p)
5372 (python-info-ppss-comment-or-string-p): New functions.
5373 (python-info-ppss-context): Small fix for string check.
5375 2012-07-17 Juri Linkov <juri@jurta.org>
5377 * dired-aux.el (dired-do-async-shell-command): Doc fix.
5378 (dired-do-async-shell-command): Don't add `*' at the end of the
5379 command (Bug#11815).
5380 (dired-do-shell-command): Doc fix.
5381 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
5382 Join the individual commands using either "&" or ";" as the
5383 separator depending on the values of these trailing characters.
5384 At the end re-add the trailing "&". (Bug#10598)
5386 * simple.el (async-shell-command): Sync the interactive spec with
5387 `shell-command'. Doc fix.
5388 (shell-command): Doc fix.
5390 2012-07-17 Juri Linkov <juri@jurta.org>
5392 * descr-text.el (describe-char): Fix format args. (Bug#10129)
5394 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
5396 Final renames and doc fixes for movement commands (bug#11899).
5397 * progmodes/python.el (python-nav-beginning-of-statement):
5398 Rename from python-nav-statement-start.
5399 (python-nav-end-of-statement): Rename from
5400 python-nav-statement-end.
5401 (python-nav-beginning-of-block): Rename from
5402 python-nav-block-start.
5403 (python-nav-end-of-block): Rename from python-nav-block-end.
5405 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
5407 * progmodes/python.el (python-shell-send-string-no-output):
5408 Allow accept-process-output to quit, keeping shell process ready for
5409 future interactions (Bug#11868).
5411 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
5413 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
5415 * emacs-lisp/elint.el (elint-find-args-in-code):
5416 Use help-function-arglist, so as to handle lexical byte-code.
5418 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
5421 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
5423 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
5424 Avoid spuriously marking the buffer as modified because of c-is-sws.
5426 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
5427 as not-a-comment (bug#11946).
5429 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
5430 for uninterned vars.
5432 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
5433 Use read-event since we don't really want to read chars but bytes.
5435 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
5436 $$..$$ but also $..$ using regexps (bug#11953).
5437 Use tex-verbatim for \url and \path.
5438 (tex-font-lock-keywords): Define as defconst like the others.
5439 (tex-common-initialization): Don't use font-lock-syntax-table any more.
5441 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
5443 * international/mule-cmds.el (ucs-insert): Make it an obsolete
5444 alias for insert-char.
5446 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
5448 * progmodes/python.el: Simplified imenu implementation.
5449 (python-nav-jump-to-defun): Remove command.
5450 (python-mode-map): Use `imenu' instead.
5451 (python-nav-list-defun-positions-cache)
5452 (python-imenu-include-defun-type, python-imenu-make-tree)
5453 (python-imenu-subtree-root-label, python-imenu-index-alist):
5455 (python-nav-list-defun-positions, python-nav-read-defun)
5456 (python-imenu-tree-assoc, python-imenu-make-element-tree)
5457 (python-imenu-make-tree, python-imenu-create-index):
5459 (python-mode): Update to interact with imenu by setting
5460 `imenu-extract-index-name-function' only.
5462 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
5464 * progmodes/python.el: Enhancements to navigation commands.
5465 (python-nav-backward-sentence)
5466 (python-nav-forward-sentence): Remove.
5467 (python-nav-backward-statement, python-nav-forward-statement)
5468 (python-nav-statement-start, python-nav-statement-end)
5469 (python-nav-backward-block, python-nav-forward-block)
5470 (python-nav-block-start, python-nav-block-end)
5471 (python-nav-forward-sexp-function)
5472 (python-info-current-line-comment-p)
5473 (python-info-current-line-empty-p): New functions.
5474 (python-indent-context): Use `python-nav-statement-start'.
5476 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
5478 * eshell/em-ls.el (eshell/ls): Use `apply'.
5480 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
5481 multi-hops, instead of Tramp internals.
5483 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
5485 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
5486 when F1 and F2 are located on different hosts.
5488 2012-07-14 Chong Yidong <cyd@gnu.org>
5490 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
5491 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
5492 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
5493 (xterm-mouse--read-event-sequence-1000)
5494 (xterm-mouse--read-event-sequence-1006): New functions. For old
5495 mouse protocol, handle M-mouse-X events correctly.
5496 (xterm-mouse-event): New arg specifying mouse protocol.
5497 (turn-on-xterm-mouse-tracking-on-terminal)
5498 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
5499 sequence to toggle extended coordinates on newer XTerms.
5500 This appears to be harmless on terminals which do not support this.
5502 2012-07-14 Leo Liu <sdl.web@gmail.com>
5504 Add fringe bitmap indicators for flymake. (Bug#11253)
5505 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
5506 (flymake-make-overlay): New arg BITMAP.
5507 (flymake-error-bitmap, flymake-warning-bitmap)
5508 (flymake-fringe-indicator-position): New user variables.
5510 * fringe.el: New bitmap exclamation-mark.
5512 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
5514 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
5517 2012-07-14 Chong Yidong <cyd@gnu.org>
5519 * electric.el (electric-pair-post-self-insert-function): Fix pair
5520 insertion in empty-region case (Bug#11520).
5522 2012-07-14 Chong Yidong <cyd@gnu.org>
5524 * bindings.el: Consolidate ctl-x-r-map bindings.
5525 Bind copy-rectangle-as-kill to C-x r w.
5527 * rect.el, register.el: Move bindings to bindings.el.
5529 2012-07-14 Reuben Thomas <rrt@sc3d.org>
5531 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
5533 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
5535 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
5537 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
5539 * bindings.el (top): Use `mapc' instead of `mapcar'.
5541 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
5543 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
5545 * progmodes/sql.el (sql-comint): Suppress the check for program on
5546 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
5549 2012-07-13 Chong Yidong <cyd@gnu.org>
5551 * bindings.el: Assign a non-nil permanent-local property to
5552 per-buffer variables which lack a default value (Bug#11930).
5554 * help-fns.el (describe-variable): In the "automatically becomes
5555 local" notice, take note of permanent-local variables.
5557 2012-07-13 Chong Yidong <cyd@gnu.org>
5559 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
5560 to allow printing the message when called from Lisp.
5562 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5563 Remove toggle-read-only.
5565 * bs.el (bs-toggle-readonly):
5566 * buff-menu.el (Buffer-menu-toggle-read-only):
5567 Remove with-no-warnings around toggle-read-only.
5569 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
5570 Remove with-no-warnings around toggle-read-only.
5571 (ffap-read-only, ffap-read-only-other-window)
5572 (ffap-read-only-other-frame): Callers changed.
5574 * help-mode.el: Don't require view package.
5575 (help-mode-finish): Set buffer-read-only instead of calling
5578 * bindings.el (mode-line-toggle-read-only):
5579 * dired.el (dired-toggle-read-only):
5580 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
5581 with non-nil second arg.
5583 * emacs-lisp/eieio-custom.el (eieio-customize-object):
5584 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
5587 2012-07-12 Eli Zaretskii <eliz@gnu.org>
5589 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
5592 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
5594 More CL cleanups and reduction of use of cl.el.
5595 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
5596 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
5597 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
5598 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
5599 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
5600 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
5601 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
5602 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
5603 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
5604 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
5605 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
5606 * eshell/em-cmpl.el, eshell/em-banner.el:
5607 * calendar/parse-time.el: Use cl-lib.
5608 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
5609 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
5610 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
5611 * term/ns-win.el, term.el, shell.el, ps-samp.el:
5612 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
5613 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
5614 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
5615 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
5616 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
5617 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
5618 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
5619 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
5620 `lambda' rather than with `quote'.
5621 (eshell-do-opt): Adjust accordingly.
5622 (eshell-process-option): Simplify.
5623 * eshell/esh-var.el:
5624 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
5625 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
5626 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
5627 to `pcase--dontcare'.
5628 * emacs-lisp/cl.el (labels): Mark obsolete.
5629 (cl--letf, letf): Move to cl-lib.
5630 (cl--letf*, letf*): Remove.
5631 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
5632 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
5633 (cl-progv): Rewrite.
5634 (cl--letf, cl-letf): Move from cl.el.
5635 (cl-letf*): New macro.
5636 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
5638 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
5640 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
5642 2012-07-11 Chong Yidong <cyd@gnu.org>
5644 * vc/log-edit.el (log-edit-vc-backend): New variable.
5645 (log-edit): Doc fix.
5647 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
5648 argument of log-edit to set up all local variables.
5649 (vc-start-logentry): New optional arg specifying VC backend.
5651 * vc/vc.el (vc-checkin): Use it.
5652 (vc-deduce-fileset): Handle Log Edit buffers.
5653 (vc-diff): Make first argument optional too.
5655 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
5657 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
5659 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
5660 command, just in case. The function is not needed anymore.
5661 (eshell-external-command): Do not call `eshell-remote-command'.
5663 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
5665 Reduce use of (require 'cl).
5666 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
5667 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
5668 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
5669 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
5670 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
5671 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
5672 * battery.el, avoid.el, abbrev.el: Use cl-lib.
5673 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
5674 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
5675 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
5676 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
5677 * calculator.el, autorevert.el, apropos.el: Don't require CL.
5678 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
5679 (byte-compile-unfold-bcf, byte-compile-check-variable):
5680 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
5681 (byte-compile-nilconstp):
5682 * emacs-lisp/autoload.el (make-autoload): Use pcase.
5683 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
5685 * emacs-lisp/gv.el (cond): Make it a valid place.
5686 (if): Simplify slightly.
5688 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
5689 (pcase--self-quoting-p): New function.
5690 (pcase--u1): Use it.
5692 2012-07-10 Glenn Morris <rgm@gnu.org>
5694 * emacs-lisp/authors.el (authors-fixed-entries):
5695 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
5697 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
5699 Rename configure.in to configure.ac (Bug#11603).
5700 * emacs-lisp/authors.el (authors-canonical-file-name):
5701 * progmodes/autoconf.el (autoconf-mode):
5702 Prefer configure.ac to configure.in.
5704 2012-07-08 Chong Yidong <cyd@gnu.org>
5706 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
5707 Implement the mouse-1-click-follows-link handling properly.
5709 * info.el (Info-link-keymap): Use follow-link mechanism for
5710 header-line links (Bug#374).
5712 * simple.el (deactivate-mark): Do not set the primary selection
5713 if another program has acquired it (Bug#11772).
5715 2012-07-07 Kevin Ryde <user42@zip.com.au>
5717 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
5718 (woman-decode-region): Replace escaped-escapes without destroying
5719 bold or underline (Bug#11552).
5720 (woman2-process-escapes): Handle nofill regions (Bug#11591).
5722 2012-07-07 Chong Yidong <cyd@gnu.org>
5724 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
5725 (interprogram-cut-function, interprogram-paste-function):
5726 Mention that we typically mean the clipboard.
5728 2012-07-06 Glenn Morris <rgm@gnu.org>
5730 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
5732 * files.el (toggle-read-only): Restrict message to interactive use.
5734 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
5736 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
5738 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
5740 2012-07-06 Glenn Morris <rgm@gnu.org>
5742 * Makefile.in (compile-one-process): Rename from "recompile".
5744 * Makefile.in (bzr-update): "compile" is the same as "recompile
5745 autoloads", but parallelizable, so use that instead.
5747 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
5749 * window.el (quit-window): Always restore window height when
5750 it's saved in quit-restore parameter (Bug#11810).
5752 2012-07-06 Glenn Morris <rgm@gnu.org>
5754 * simple.el (kill-whole-line): Doc tweak.
5756 2012-07-06 Eli Zaretskii <eliz@gnu.org>
5758 * files.el (file-relative-name): Compare file names
5759 case-insensitively if on MS-Windows or MS-DOS, or if
5760 read-file-name-completion-ignore-case is non-nil. Don't use
5761 case-fold-search for this purpose. (Bug#11827)
5763 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
5765 * calendar/cal-dst.el (calendar-current-time-zone):
5766 Return calendar-current-time-zone-cache if non-nil.
5768 2012-07-17 Masatake YAMATO <yamato@redhat.com>
5769 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
5771 * calendar/cal-dst.el (calendar-current-time-zone):
5772 Return calendar-current-time-zone-cache if non-nil.
5774 2012-07-06 Glenn Morris <rgm@gnu.org>
5776 * Makefile.in (cvs-update): Remove old alias.
5778 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
5780 Sync with Tramp 2.2.6-pre.
5782 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
5783 compatible declaration.
5785 * net/tramp-cmds.el (tramp-append-tramp-buffers):
5786 Protect `list-load-path-shadows' call.
5788 * net/tramp-compat.el (top): Require packages, which aren't
5789 autoloaded anymore for XEmacs. Protect call of
5790 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
5791 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
5792 it hurts at least for SXEmacs.
5793 (tramp-compat-temporary-file-directory): In XEmacs, there is no
5794 standard-value for `temporary-file-directory'.
5796 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
5797 Redirect stderr to /dev/null.
5798 (tramp-sh-handle-write-region): uid and gid can be floats.
5799 Reported by Russell Sim <russell.sim@gmail.com>.
5800 (tramp-sh-handle-vc-registered): Hide errors.
5801 (tramp-vc-file-name-handler): Use dummy results for `process-file'
5802 and `start-file-process'.
5803 (tramp-maybe-open-connection): Check also whether `non-essential'
5806 2012-07-04 Chong Yidong <cyd@gnu.org>
5808 * xml.el (xml--parse-buffer): Use xml-syntax-table.
5809 (xml-parse-tag): Likewise, and avoid changing entity tables.
5810 (xml-syntax-table): Define from scratch, making sure not to give
5811 x2000 and other Unicode spaces whitespace syntax, since those are
5813 (xml-parse-fragment): Delete unused function.
5814 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
5815 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
5816 (xml-entity-ref, xml-pe-reference-re)
5817 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
5818 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
5819 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
5820 (xml-entity-value-re): Use syntax references in regexps where
5821 possible; no need to define inside a let-binding.
5822 (xml-parse-dtd): Use xml-pe-reference-re.
5823 (xml-entity-or-char-ref-re): New defconst.
5824 (xml-parse-string, xml-substitute-special): Use it.
5826 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
5828 * files.el (locate-dominating-file): Allow `name' to be a predicate.
5829 (find-file--read-only): New function.
5830 (find-file-read-only, find-file-read-only-other-window)
5831 (find-file-read-only-other-frame): Use it.
5832 (insert-file-contents-literally): Don't `fset'.
5833 (get-free-disk-space): Use locate-dominating-file.
5835 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
5836 function is already compiled.
5838 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
5840 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
5842 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
5843 files on the same host.
5845 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
5847 * help-fns.el (describe-function-1): Only call
5848 help-fns--autoloaded-p when we have a file name. (Bug#11848)
5850 2012-07-03 Chong Yidong <cyd@gnu.org>
5852 * xml.el: Protect parser against XML bombs.
5853 (xml-entity-expansion-limit): New variable.
5854 (xml-parse-string, xml-substitute-special): Use it.
5855 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
5857 2012-07-03 Glenn Morris <rgm@gnu.org>
5859 * progmodes/bug-reference.el (bug-reference-bug-regexp):
5860 Allow linking to specific messages in debbugs reports (eg 123#5).
5862 2012-07-02 Chong Yidong <cyd@gnu.org>
5864 * xml.el: Fix entity and character reference expansion, allowing
5865 them to expand into markup as per XML spec.
5866 (xml-default-ns): New variable.
5867 (xml-entity-alist): Use XML spec definitions for lt and amp.
5868 (xml-parse-region): Make first two arguments optional.
5869 Discard text properties.
5870 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
5871 All callers changed.
5872 (xml-parse-tag): Call xml-parse-tag-1. For backward
5873 compatibility, this function should not modify buffer contents.
5874 (xml-parse-tag-1): Fix opening-tag regexp.
5875 (xml-parse-string): Rewrite, handling entity and character
5876 references properly.
5877 (xml--entity-replacement-text): Signal an error if a parameter
5878 entity is undefined.
5880 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
5882 * comint.el (comint-output-filter): Filter out repeated prompts.
5884 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
5885 and file-name-absolute-p.
5886 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
5889 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
5892 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
5893 Rename from byte-compile--refiy-function. All uses changed.
5895 2012-07-01 Chong Yidong <cyd@gnu.org>
5897 * xml.el (xml--parse-buffer): New function. Move most of
5898 xml-parse-region here.
5899 (xml-parse-region): Copy region into a temporary buffer, since
5900 parameter entity substitution requires changing buffer contents.
5901 Use xml--parse-buffer.
5902 (xml-parse-file): Use xml--parse-buffer.
5903 (xml-parse-dtd): Make parameter entity substitution work right.
5904 Use proper regexps for ELEMENT declarations (Bug#7172).
5906 2012-06-30 Glenn Morris <rgm@gnu.org>
5908 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
5910 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
5911 Remove outdated and unnecessary dbus declarations.
5913 2012-06-30 Eli Zaretskii <eliz@gnu.org>
5915 * emacs-lisp/timer.el (timer-until): Subtract results of
5916 float-time, instead of taking float-time of the result of
5917 time-subtract, since float-time signals an error for negative time
5920 2012-06-30 Chong Yidong <cyd@gnu.org>
5922 * xml.el (xml-*-re): Convert defvars into defconsts, and
5923 eval-and-compile them so eval-and-compile works on derivatives.
5924 (xml--entity-replacement-text): Use eval-and-comple.
5926 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
5928 * vc/vc-git.el (vc-git-registered): Use cache property
5930 (vc-git-mode-line-string): Call `vc-working-revision' instead of
5931 `vc-git-working-revision' in order to benefit from the cache.
5932 (vc-git-root): Use cache property `git-root'. (Bug#11757)
5934 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
5936 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
5937 removed (likely outside Emacs). (Bug#11757)
5939 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
5941 * emacs-lisp/cl-lib.el: Require macroexp.
5943 2012-06-30 Chong Yidong <cyd@gnu.org>
5945 * xml.el: Implement XML parameter entities.
5946 (xml-parameter-entity-alist): New variable.
5947 (xml-parse-region, xml-parse-fragment): Preserve previous values
5948 of xml-entity-alist and xml-parameter-entity-alist, so that
5949 repeated calls on different documents do not change them.
5950 (xml-parse-tag): Fix doctype regexp.
5951 (xml--entity-replacement-text): New function.
5952 (xml-parse-dtd): Use it. Don't handle system entities; doing that
5953 properly requires url retrieval which is unimplemented.
5954 (xml-escape-string): Doc fix.
5956 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
5958 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
5960 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
5962 * fringe.el (fringe-mode): Doc fix.
5964 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
5966 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
5968 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
5969 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
5971 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
5973 * calendar/cal-dst.el (calendar-current-time-zone):
5974 Return calendar-current-time-zone-cache if non-nil.
5976 2012-06-29 Masatake YAMATO <yamato@redhat.com>
5978 * progmodes/which-func.el (which-func-format):
5979 Add mouse-face. (Bug#11698)
5981 2012-06-29 Leo Liu <sdl.web@gmail.com>
5983 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
5985 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
5987 * minibuffer.el (minibuffer-confirm-exit-commands):
5988 Add completion-at-point (bug#11725).
5990 2012-06-29 Glenn Morris <rgm@gnu.org>
5992 * progmodes/f90.el (f90-font-lock-keywords-2):
5993 Add some preprocessor elements. (Bug#10499)
5995 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
5997 * progmodes/cperl-mode.el (cperl-update-syntaxification):
5998 Use syntax-propertize (bug#11739).
6000 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
6002 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
6004 2012-06-28 Julien Danjou <julien@danjou.info>
6006 * term.el (term-handle-colors-array): Use a set of new faces to
6007 color the terminal. Also uses :inverse-video property.
6008 (term-default-fg-color): Set to nil by default, deprecate in favor
6010 (term-default-bg-color): Set to nil by default, deprecate in favor
6012 (term-current-face): Use `term-face' by default.
6013 (term-bold-attribute): Variable deleted.
6015 2012-06-28 Glenn Morris <rgm@gnu.org>
6017 * simple.el (completion-list-mode-finish):
6018 Don't use toggle-read-only. (Since completion-list-mode has
6019 a special mode-class, it wasn't doing anything extra anyway.)
6021 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
6023 Make inlining of other-mode interpreted functions work (bug#11799).
6024 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
6025 (byte-compile): Use it to fix compilation of lexical-binding closures.
6026 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
6027 function, if needed.
6029 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
6031 * help-mode.el (help-make-xrefs): Don't just withstand
6032 cyclic-variable-indirection but any error in documentation-property.
6034 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
6036 * bindings.el (bindings--define-key): New function.
6037 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
6038 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
6039 * bindings.el: Use it to purecopy define-key bindings.
6041 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
6043 * emacs-lisp/cl.el (flet): Mark obsolete.
6044 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
6045 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
6046 * progmodes/js.el (js-c-fill-paragraph):
6047 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
6048 (ebrowse-switch-member-buffer-to-derived-class):
6049 * play/5x5.el (5x5-solver): Use cl-flet.
6051 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
6052 (cl--symbol-function): New macro.
6053 (cl--letf, cl--letf*): Use it.
6055 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
6056 Strip "toggle-" if any.
6058 2012-06-27 Glenn Morris <rgm@gnu.org>
6060 * info.el (Info-default-directory-list): Move here from paths.el.
6061 * paths.el: Remove file, which is now empty.
6062 * loadup.el: No longer load "paths".
6064 * custom.el (custom-initialize-delay): Doc fix.
6066 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6067 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
6068 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
6069 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
6070 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
6071 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
6072 * eshell/eshell.el (eshell-defgroup): Remove alias.
6074 2012-06-27 Chong Yidong <cyd@gnu.org>
6076 * help.el (help-enable-auto-load): New variable.
6078 * help-fns.el (help-fns--autoloaded-p): New function.
6079 (describe-function-1): Refer to a function as "autoloaded" if it
6080 was autoloaded at any time in the past. Perform autoloading if
6081 help-enable-auto-load is non-nil.
6083 2012-06-26 Eli Zaretskii <eliz@gnu.org>
6085 * makefile.w32-in (compile, compile-always): Depend on
6086 update-subdirs, not on subdirs.el. Otherwise, several different
6087 sub-targets of 'bootstrap' running in parallel could
6088 simultaneously write to subdirs.el, producing a garbled file.
6090 2012-06-26 Sam Steingold <sds@gnu.org>
6092 * files.el (file-name-base): New convenience function.
6093 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
6094 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
6095 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
6096 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
6097 * textmodes/ispell.el, textmodes/reftex-ref.el:
6098 * textmodes/tex-mode.el: Use it.
6099 Did not touch cedet and org because they are maintained elsewhere.
6101 2012-06-26 Martin Rudalics <rudalics@gmx.at>
6103 * calendar/calendar.el (calendar-exit): Don't try to delete or
6104 iconify last frame. See:
6105 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
6107 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
6109 * server.el (server-process-filter): Remember dir in the
6110 process's `server-client-directory' properties.
6112 2012-06-24 Chong Yidong <cyd@gnu.org>
6114 * xml.el (xml-parse-tag): Correctly handle comment embedded in
6117 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
6119 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
6121 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
6123 * help-fns.el (describe-variable): Don't croak when doc is not found.
6124 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
6125 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
6126 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
6127 * emacs-lisp/smie.el (smie-next-sexp): CSE.
6128 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
6130 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
6132 2012-06-23 Chong Yidong <cyd@gnu.org>
6134 * info.el (Info-mouse-follow-link): Accept symbol values of
6135 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
6136 (Info-fontify-node): Use Info-link-keymap for all navigation
6137 buttons, with link-args property to perform the desired action.
6138 (Info-link-keymap): Doc fix.
6139 (Info-next-link-keymap, Info-prev-link-keymap)
6140 (Info-up-link-keymap): Delete now-unused keymaps.
6142 2012-06-23 Chong Yidong <cyd@gnu.org>
6144 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
6146 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
6149 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
6151 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
6153 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
6156 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
6157 the requote function doesn't work properly (bug#11714).
6159 2012-06-23 Glenn Morris <rgm@gnu.org>
6161 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
6163 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6165 Further GV/CL cleanups.
6166 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
6168 (gv--defun-declaration): New function.
6169 (defun-declarations-alist): Use it.
6170 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
6171 (gv-place): Autoload.
6172 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
6173 original definition of dotimes and dolist.
6174 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
6175 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
6176 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
6177 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
6178 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
6179 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
6180 to the function's definition.
6181 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
6185 * env.el: Don't use CL.
6187 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
6189 Support higher-resolution time stamps (Bug#9000).
6191 * calendar/time-date.el (with-decoded-time-value): New arg
6192 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
6193 (encode-time-value): New optional arg PICO. New type 3.
6194 (time-to-seconds) [!float-time]: Support the new picoseconds
6195 component if it's used.
6196 (seconds-to-time, time-subtract, time-add):
6197 Support ps-resolution time stamps as well.
6199 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
6200 (timerp): Timer vectors now have length 9, not 8.
6201 (timer--time): Support new-style (4-part) time stamps.
6202 (timer-next-integral-multiple-of-time): Time stamps now have
6203 picosecond resolution, so take a bit more care about rounding.
6204 (timer-relative-time, timer-inc-time): New optional arg psecs.
6205 (timer-set-time-with-usecs): Set psecs to 0.
6206 (timer--activate): Check psecs component, too.
6208 * proced.el (proced-time-lessp): Support ps-resolution stamps.
6210 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6212 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
6213 Move the non-essential binding to the post/pre-command-hook where it is
6214 more obviously correct.
6216 * subr.el (read-passwd): Don't use a history at all.
6217 * savehist.el (savehist-save): Remove password saved accidentally
6218 because of the above bug.
6220 2012-06-22 Bastien Guerry <bzg@gnu.org>
6222 * files.el (toggle-read-only): Display a message telling whether
6223 the buffer is read-only or not (bug#11726).
6225 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6227 * emacs-lisp/gv.el: New file.
6228 * subr.el (push, pop): Extend to generalized variables.
6229 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
6230 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
6231 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
6232 gv-define-simple-setter, and gv-define-expander.
6233 Remove setf-methods defined in gv. Rename cl-setf -> setf.
6234 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
6235 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
6236 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
6237 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
6239 (cl-defstruct): Don't define setf-method any more.
6240 * emacs-lisp/cl.el (flet): Don't autoload.
6241 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
6242 (define-setf-expander, defsetf, define-modify-macro)
6243 (cl-struct-setf-expander): Move from cl-lib.el.
6244 * emacs-lisp/syntax.el:
6245 * emacs-lisp/ewoc.el:
6246 * emacs-lisp/smie.el:
6247 * emacs-lisp/cconv.el:
6248 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
6249 (timer--time): Use gv-define-simple-setter.
6250 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
6251 to avoid coding-system problems in subr.el. Adjust all users.
6252 (macroexp--maxsize, macroexp-small-p): New functions.
6253 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
6254 * scroll-bar.el (scroll-bar-mode):
6255 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
6256 (normal-erase-is-backspace-mode): Don't use the `eq' place.
6257 * winner.el (winner-configuration, winner-make-point-alist)
6258 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
6259 * files.el (locate-file-completion-table): Avoid list*.
6261 2012-06-22 Chong Yidong <cyd@gnu.org>
6263 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
6264 (dired-create-files): Doc fix (Bug#11329).
6265 (dired-do-copy): Doc fix (Bug#11334).
6266 (dired-mark-read-string): Doc fix (Bug#11553).
6268 * dired.el (dired-recursive-copies, dired-recursive-deletes):
6269 Doc fix (Bug#11326).
6270 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
6271 (dired-dwim-target): Doc fix.
6273 * wdired.el (wdired-mode): Doc fix.
6275 2012-06-22 Glenn Morris <rgm@gnu.org>
6277 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
6278 (pcmpl-rpm-cache-stamp-file): New constant.
6279 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
6280 (pcmpl-rpm-packages): Optionally cache list of packages.
6282 * pcmpl-rpm.el (pcmpl-rpm): New group.
6283 (pcmpl-rpm-query-options): New option.
6284 (pcmpl-rpm-packages): No need to inline it.
6285 Use pcmpl-rpm-query-options.
6287 * calendar/calendar.el (calendar-in-read-only-buffer):
6288 Avoid some needless mode changes.
6290 2012-06-21 Chong Yidong <cyd@gnu.org>
6292 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
6293 (desktop-path): Remove . from the default value (Bug#10977).
6294 (desktop-read): Use user-emacs-directory if desktop-path is nil.
6296 2012-06-20 Chong Yidong <cyd@gnu.org>
6298 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
6300 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
6302 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
6305 2012-06-20 Chong Yidong <cyd@gnu.org>
6307 * term.el (term-window-width): Handle the case of a missing right
6309 (term-check-size): Use window-text-height (Bug#5445).
6310 (term-mode): Use define-derived-mode. Minor cleanups.
6311 Set font-lock-defaults (Bug#7692).
6312 (term-move-columns, term-insert-char, term-emulate-terminal)
6313 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
6315 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
6317 * net/ange-ftp.el (ange-ftp-get-passwd):
6318 Bind `enable-recursive-minibuffers'.
6319 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
6321 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
6323 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
6325 2012-06-19 Glenn Morris <rgm@gnu.org>
6327 * progmodes/python.el (python-mode): Derive from prog-mode.
6329 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
6331 * emulation/edt.el (edt-default-menu-bar-update-buffers)
6332 (edt-user-menu-bar-update-buffers): New functions.
6333 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
6335 2012-06-19 Chong Yidong <cyd@gnu.org>
6337 * subr.el (with-selected-window): Preserve the selected window's
6338 terminal's top-frame (Bug#4702).
6340 * window.el (save-selected-window): Likewise.
6342 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6344 * progmodes/python.el (python-rx-constituents): Move backquote.
6345 (python-skeleton-define, python-define-auxiliary-skeleton):
6348 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
6350 * minibuffer.el (read-file-name-default): Revert the patch from
6353 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6355 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
6356 (pcase--u1, pcase--q1): Don't use apply-partially.
6358 2012-06-18 Glenn Morris <rgm@gnu.org>
6360 * progmodes/python.el (python-proc, python-buffer)
6361 (python-send-receive, python-send-string): Fix obsolete versions.
6363 2012-06-18 Martin Rudalics <rudalics@gmx.at>
6365 * window.el (special-display-p): Completely remove stringp
6366 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
6368 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
6370 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
6372 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
6374 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
6375 * net/tramp-sh.el (tramp-maybe-open-connection):
6376 Throw if `non-essential' is non-nil.
6378 2012-06-17 Martin Rudalics <rudalics@gmx.at>
6380 * window.el (special-display-p): Signal an error if BUFFER-NAME
6381 is not a string (Bug#11713).
6383 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
6385 * progmodes/python.el (python-info-beginning-of-backslash):
6386 Rename from python-info-beginning-of-backlash, as a spelling fix.
6388 2012-06-17 Chong Yidong <cyd@gnu.org>
6390 * term.el (term-emulate-terminal): If term-check-size is called,
6391 move point to the process mark without resetting point (Bug#4635).
6393 2012-06-17 Glenn Morris <rgm@gnu.org>
6395 * international/mule-cmds.el (mule-menu-keymap)
6396 (set-language-environment, set-locale-environment): Doc tweaks.
6398 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
6400 * cus-face.el (custom-face-attributes): Add wave-style underline
6402 * faces.el (set-face-attribute): Update docstring to describe
6403 wave-style underline attribute.
6405 2012-06-16 Chong Yidong <cyd@gnu.org>
6407 * term/xterm.el (terminal-init-xterm): Discard input before
6408 querying background mode (Bug#10959).
6410 2012-06-16 Stefan Merten <smerten@oekonux.de>
6412 * textmodes/rst.el: Added and corrected some comments.
6413 (rst-re-alist-def): Improve symbol syntax.
6414 (rst-mode-syntax-table): Correct syntax entries.
6415 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
6416 (rst-official-version, rst-official-cvs-rev): Update version
6419 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
6421 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
6422 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
6424 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
6426 * progmodes/python.el: New python.el merge.
6427 (python-guess-indent): Obsolete var.
6428 (python-indent-guess-indent-offset): New defcustom.
6429 (python-indent): Obsolete var.
6430 (python-indent-offset): New defcustom.
6431 (python-python-command, python-jython-command): Delete var.
6432 (python-shell-interpreter): New defcustom.
6433 (python-pdbtrack-do-tracking-p): Delete var.
6434 (python-pdbtrack-activate): New defcustom.
6435 (python-use-skeletons): Obsolete var.
6436 (python-skeleton-autoinsert): New defcustom.
6437 (inferior-python-filter-regexp, python-continuation-offset)
6438 (python-honour-comment-indentation, python-indent-string-contents)
6439 (python-jython-packages, python-mode-hook)
6440 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
6441 (python-shell-prompt-alist)
6442 (python-source-modes): Delete defcustoms.
6443 (python-check-buffer-name, python-eldoc-setup-code)
6444 (python-eldoc-string-code, python-ffap-setup-code)
6445 (python-ffap-string-code, python-fill-comment-function)
6446 (python-fill-decorator-function, python-fill-paren-function)
6447 (python-fill-string-function, python-imenu-include-defun-type)
6448 (python-imenu-make-tree, python-imenu-subtree-root-label)
6449 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
6450 (python-shell-compilation-regexp-alist)
6451 (python-shell-completion-module-string-code)
6452 (python-shell-completion-pdb-string-code)
6453 (python-shell-completion-setup-code)
6454 (python-shell-completion-string-code)
6455 (python-shell-enable-font-lock, python-shell-exec-path)
6456 (python-shell-extra-pythonpaths)
6457 (python-shell-internal-buffer-name, python-shell-interpreter-args)
6458 (python-shell-process-environment)
6459 (python-shell-prompt-block-regexp)
6460 (python-shell-prompt-output-regexp)
6461 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
6462 (python-shell-send-setup-max-wait, python-shell-setup-codes)
6463 (python-shell-virtualenv-path): New defcustoms.
6464 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
6465 (inferior-python-mode-syntax-table, python--prompt-regexp)
6466 (python-buffer, python-command python-python-command)
6467 (python-default-template, python-imports, python-indent-index)
6468 (python-indent-list, python-indent-list-length)
6469 (python-mode-running, python-pdbtrack-is-tracking-p)
6470 (python-preoutput-continuation, python-preoutput-leftover)
6471 (python-preoutput-result, python-preoutput-skip-next-prompt)
6472 (python-prev-dir/file, python-recursing)
6473 (python-saved-check-command, python-version-checked)
6474 (python-which-func-length-limit)
6475 (view-return-to-alist): Delete vars.
6476 (python-check-custom-command, python-dotty-syntax-table)
6477 (python-imenu-index-alist, python-indent-current-level)
6478 (python-indent-dedenters, python-indent-levels)
6479 (python-nav-beginning-of-defun-regexp)
6480 (python-nav-list-defun-positions-cache)
6481 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
6482 (python-shell-internal-buffer)
6483 (python-skeleton-available): New vars.
6484 (def-python-skeleton): Delete macro.
6485 (python-skeleton-define): New macro.
6486 (python-define-auxiliary-skeleton, python-rx): New macros.
6487 (python-insert-class): Delete command.
6488 (python-skeleton-class): New command.
6489 (python-insert-def): Delete command.
6490 (python-skeleton-def): New command.
6491 (python-insert-for): Delete command.
6492 (python-skeleton-for): New command.
6493 (python-insert-if): Delete command.
6494 (python-skeleton-if): New command.
6495 (python-insert-try/except, python-insert-try/finally): Delete commands.
6496 (python-skeleton-try): New command.
6497 (python-insert-while): Delete command.
6498 (python-skeleton-while): New command.
6499 (python-backspace): Delete command.
6500 (python-indent-dedent-line-backspace): New command.
6501 (python-electric-colon): Delete command.
6502 (python-indent-electric-colon): New command.
6503 (python-guess-indent): Delete command.
6504 (python-indent-guess-indent-offset): New command.
6505 (python-shift-left): Delete command.
6506 (python-indent-shift-left): New command.
6507 (python-shift-right): Delete command.
6508 (python-indent-shift-right): New command.
6509 (python-find-function): Delete command.
6510 (python-nav-jump-to-defun): New command.
6511 (python-next-statement): Delete command.
6512 (python-nav-forward-sentence): New command.
6513 (python-previous-statement): Delete command.
6514 (python-nav-backward-sentence): New command.
6515 (python-fill-paragraph): Delete command.
6516 (python-fill-paragraph-function): New command.
6517 (python-send-buffer): Delete command.
6518 (python-shell-send-buffer): New command.
6519 (python-send-defun): Delete command.
6520 (python-shell-send-defun): New command.
6521 (python-send-region, python-send-region-and-go): Delete commands.
6522 (python-shell-send-region)
6523 (python-shell-switch-to-shell): New commands.
6524 (python-send-string): Delete command.
6525 (python-shell-send-string): New command.
6526 (python-switch-to-python): Delete command.
6527 (python-shell-switch-to-shell): New command.
6528 (python-describe-symbol): Delete command.
6529 (python-eldoc-at-point): New command.
6530 (python--set-prompt-regexp, python-args-to-list)
6531 (python-after-info-look, python-check-version)
6532 (python-check-comint-prompt, python-find-imports)
6533 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
6534 (python-unload-function, python-expand-template)
6535 (python-maybe-jython, python-preoutput-filter)
6536 (python-pdbtrack-get-source-buffer)
6537 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
6538 (python-pdbtrack-toggle-stack-tracking)
6539 (python-pdbtrack-track-stack-file, python-initial-text)
6540 (python-first-word, python-comment-line-p, python-send-command)
6541 (python-setup-brm, python-sentinel, python-set-proc)
6542 (python-skip-out, python-input-filter, python-outdent-p)
6543 (python-outline-level, python-backslash-continuation-line-p)
6544 (python-end-of-block, python-end-of-statement, python-mark-block)
6545 (python-beginning-of-block, python-beginning-of-statement)
6546 (python-blank-line-p, python-beginning-of-string)
6547 (python-open-block-statement-p): Delete functions.
6548 (python-indent-line, python-indent-line-1): Delete functions.
6549 (python-indent-line): New function.
6550 (python-indentation-levels): Delete function.
6551 (python-indent-calculate-levels): New function.
6552 (python-proc): Delete function.
6553 (python-shell-get-process): New function.
6554 (python-send-receive): Delete function.
6555 (python-shell-send-string-no-output): New function.
6556 (python-module-path): Delete function.
6557 (python-ffap-module-path): New function.
6558 (python-completion-at-point)
6559 (python-symbol-completions): Delete functions.
6560 (python-completion-complete-at-point): New function.
6561 (python-load-file): Delete function.
6562 (python-shell-send-file): New function.
6563 (python-calculate-indentation): Delete function.
6564 (python-indent-calculate-indentation): New function.
6565 (python-skip-comments/blanks): Delete function.
6566 (python-util-forward-comment): New function.
6567 (python-continuation-line-p): Delete function.
6568 (python-info-continuation-line-p): New function.
6569 (python-which-func, python-current-defun): Delete function.
6570 (python-info-current-defun): New function.
6571 (python-beginning-of-defun): Delete function.
6572 (python-nav-beginning-of-defun): New function.
6573 (python-close-block-statement-p)
6574 (python-block-end-p): Delete function.
6575 (python-info-closing-block): New function.
6576 (python-comint-output-filter-function)
6577 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
6578 (python-fill-comment, python-fill-decorator, python-fill-paren)
6579 (python-fill-string, python-imenu-make-element-tree)
6580 (python-imenu-make-tree, python-imenu-tree-assoc)
6581 (python-indent-context, python-indent-dedent-line)
6582 (python-indent-line-function)
6583 (python-indent-post-self-insert-function)
6584 (python-indent-toggle-levels)
6585 (python-info-assignment-continuation-line-p)
6586 (python-info-beginning-of-backlash)
6587 (python-info-block-continuation-line-p)
6588 (python-info-closing-block-message)
6589 (python-info-line-ends-backslash-p)
6590 (python-info-looking-at-beginning-of-defun)
6591 (python-info-ppss-context, python-info-ppss-context-type)
6592 (python-nav-list-defun-positions, python-nav-read-defun)
6593 (python-nav-sentence-end, python-nav-sentence-start)
6594 (python-pdbtrack-comint-output-filter-function)
6595 (python-pdbtrack-set-tracked-buffer)
6596 (python-shell-calculate-exec-path)
6597 (python-shell-calculate-process-environment)
6598 (python-shell-completion--do-completion-at-point)
6599 (python-shell-completion--get-completions)
6600 (python-shell-completion-complete-at-point)
6601 (python-shell-completion-complete-or-indent)
6602 (python-shell-get-or-create-process)
6603 (python-shell-get-process-name)
6604 (python-shell-internal-get-or-create-process)
6605 (python-shell-internal-get-process-name)
6606 (python-shell-internal-send-string, python-shell-make-comint)
6607 (python-shell-parse-command, python-shell-send-setup-code)
6608 (python-skeleton-add-menu-items)
6609 (python-util-clone-local-variables, python-util-position)
6610 (run-python-internal, python-indentation-levels)
6611 (python-nav-beginning-of-defun)
6612 (python-completion-complete-at-point): New functions.
6613 (run-python): Change arguments. New API requirements.
6615 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6617 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
6620 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
6621 (macroexp--expand-all): Use it.
6623 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
6624 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
6625 Use `cl-function' instead.
6627 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
6629 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
6630 Suggested by Stefan Monnier while discussing bug#11657.
6632 2012-06-14 Sam Steingold <sds@gnu.org>
6634 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
6636 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
6638 * play/doctor.el (doctor-doc): Remove parameter and use
6639 doctor-sent instead of sent.
6640 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
6642 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6644 * files.el: Require cl-lib.
6645 (file-name-non-special): Replace case -> cl-case.
6647 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
6649 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
6650 mapping from #' to function*.
6652 2012-06-13 Chong Yidong <cyd@gnu.org>
6654 * mouse.el (mouse-drag-track): Do not set the mark if the user
6655 releases the mouse without selecting anything (Bug#11588).
6657 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6659 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
6660 as well (bug#11646).
6662 * loadup.el: Count byte-code functions as well.
6664 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
6665 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
6667 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
6668 (bug#11649). Add cl-defun and cl-defmacro.
6670 2012-06-13 Drew Adams <drew.adams@oracle.com>
6672 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
6675 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
6677 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
6678 Otherwise, it blocks in batch mode.
6680 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
6682 * help-mode.el (bookmark-make-record-default): Declare.
6684 2012-06-13 Chong Yidong <cyd@gnu.org>
6686 * emacs-lisp/package.el (list-packages): Compute a list of
6687 packages that are newly-available since the last list-packages
6689 (package-menu--new-package-list): New var.
6690 (package-menu--generate, package-menu--print-info)
6691 (package-menu--status-predicate, package-menu-mark-install):
6692 Handle new status label "new".
6694 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6696 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
6697 conversion to backquotes.
6699 2012-06-12 Chong Yidong <cyd@gnu.org>
6701 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
6702 Rename from gud-inhibit-global-bindings.
6704 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
6706 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
6707 hook from nxml-glyph-set-hook.
6709 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
6712 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
6714 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
6715 Convert to defcustom.
6717 2012-06-12 Drew Adams <drew.adams@oracle.com>
6719 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
6721 (help-mode): Use them.
6723 2012-06-11 Glenn Morris <rgm@gnu.org>
6725 * progmodes/fortran.el (fortran-font-lock-keywords-3):
6726 Use preprocessor face for directives.
6727 (fortran-directive-re): Doc fix.
6729 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6731 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
6732 conversion to backquotes (bug#11652).
6734 Fix compiler-expansion of CL's cXXr functions (bug#11673).
6735 * emacs-lisp/cl-lib.el (cl--defalias): New function.
6736 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
6737 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
6738 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
6739 (cl-ninth, cl-tenth): Mark them as inlinable.
6740 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
6741 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
6742 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
6743 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
6744 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
6745 (cl-list*, cl-adjoin): Don't put an autoload manually.
6746 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
6747 (cl--compiler-macro-list*): Add autoload cookie.
6748 (cl--compiler-macro-cXXr): New function.
6750 * help-fns.el (help-fns--compiler-macro): New function extracted from
6751 describe-function-1; follow aliases and use `compiler-macro' property.
6752 (describe-function-1): Use it.
6754 2012-06-11 Chong Yidong <cyd@gnu.org>
6756 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
6757 is uninstalled, if imagemagick is installed.
6759 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6761 * emacs-lisp/cl-lib.el: Use lexical-binding.
6762 (cl-map-extents, cl-maclisp-member): Remove.
6763 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
6764 (cl--set-substring, cl--block-wrapper, cl--block-throw)
6765 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
6766 * emacs-lisp/cl-extra.el: Use lexical-binding.
6767 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
6768 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
6769 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
6770 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
6771 * emacs-lisp/cl-seq.el: Use lexical-binding.
6772 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
6773 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
6774 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
6775 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
6776 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
6779 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
6781 Sync with Tramp 2.2.6-pre.
6783 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
6784 `print-length' and `print-level' to nil, in order to avoid
6785 truncation. Reported by Christopher Schmidt
6786 <christopher@ristopher.com>.
6788 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
6790 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
6792 (tramp-compat-copy-directory): Add optional argument
6793 COPY-CONTENTS. It is not handled yet.
6795 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
6796 (tramp-ftp-file-name-p): Simplify.
6798 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
6799 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
6802 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
6803 (tramp-methods): Do not use `tramp-password-end-of-line'.
6804 (tramp-completion-function-alist-putty): Handle UNIX case.
6805 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
6806 (tramp-do-file-attributes-with-stat)
6807 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
6808 gid as real numbers. They could run out of integer range on cygwin.
6809 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
6810 (tramp-sh-handle-expand-file-name): Handle hops.
6811 (tramp-open-connection-setup-interactive-shell):
6812 Use `tramp-cleanup'. Move check for busyboxes ...
6813 (tramp-find-shell): ... here. Simplify implementation.
6814 Set "remote-shell" property also for alternative shells.
6815 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
6816 If failing, a regular file would be written otherwise.
6817 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
6818 (tramp-find-inline-encoding): Cache the coding commands in the
6819 process cache. Apply test command on the remote side, if defined.
6820 (tramp-find-inline-compress): Cache the compress commands in the
6822 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
6823 when requested. Handle hops.
6824 (tramp-current-connection): New defvar.
6825 (tramp-maybe-open-connection): Use `tramp-cleanup'.
6826 Throw `suppress', if there was a failed connection shortly before.
6827 Handle user interrupt. (Bug#10187)
6828 (tramp-get-inline-compress, tramp-get-inline-coding):
6829 Read connection properties from the process cache.
6831 * net/tramp-smb.el (tramp-smb-server-version)
6832 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
6834 (tramp-smb-prompt): Extend for powershell prompt.
6835 (tramp-smb-file-name-handler-alist): Add handlers for
6836 `process-file', `shell-command' and `start-file-process'.
6837 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
6838 (tramp-smb-winexe-shell-command-switch): New defcustoms.
6839 (tramp-smb-file-name-p): Simplify.
6840 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
6841 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
6842 (tramp-smb-shell-quote-argument): New defuns.
6843 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
6844 Implement using "tar". By this, time-stamps are preserved.
6845 (tramp-smb-handle-copy-file): Handle also the case of directories.
6846 (tramp-smb-do-file-attributes-with-stat)
6847 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
6848 Use `tramp-get-connection-buffer').
6849 (tramp-smb-handle-rename-file): Use "rename", when source and
6850 target are on the same share.
6851 (tramp-smb-maybe-open-connection): Handle wrong passwords.
6852 Use `tramp-smb-server-version'.
6853 (tramp-smb-wait-for-output): Remove prompt.
6855 * net/tramp.el (top): Require 'cl.
6856 (tramp-methods, tramp-rsh-end-of-line):
6857 Remove `tramp-password-end-of-line' from docstring.
6858 (tramp-save-ad-hoc-proxies): New defcustom.
6859 (tramp-completion-function-alist): Adapt docstring.
6860 (tramp-default-password-end-of-line): Remove defcustom.
6861 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
6862 (tramp-user-regexp, tramp-file-name-regexp-unified)
6863 (tramp-file-name-regexp-url): Extend regexp by hop separator.
6864 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
6865 (tramp-remote-file-name-spec-regexp): New defconst.
6866 (tramp-file-name-structure): Extend structure for hops.
6867 (tramp-get-method-parameter): Move up.
6868 (tramp-file-name-p, tramp-dissect-file-name)
6869 (with-parsed-tramp-file-name): Handle hops.
6870 (tramp-file-name-hop): New defun.
6871 (tramp-make-tramp-file-name): New optional arg HOP.
6872 (tramp-message-show-progress-reporter-message): New defvar.
6873 (tramp-with-progress-reporter): Use it. We cannot use
6874 `tramp-message-show-message' here, because this suppresses also
6876 (tramp-error-with-buffer): Suppress buffer view, if
6877 `tramp-message-show-message' is nil.
6878 Use `tramp-get-connection-buffer'.
6879 (tramp-cleanup): New defun.
6880 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
6881 (tramp-file-name-handler): If `debug-on-error' is set, propagate
6883 (tramp-completion-handle-file-name-all-completions): Handle hops.
6884 Fix an error when called from ido.
6885 (tramp-completion-dissect-file-name): Use better local variable
6886 name. Add hop to the vector.
6887 (tramp-handle-insert-file-contents): Use progress-reporter for the
6889 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
6891 (tramp-check-for-regexp): Simplify search.
6892 (tramp-enter-password): Remove it. Move implementation ...
6893 (tramp-action-password): ... here.
6894 (tramp-mode-string-to-int, tramp-local-host-p)
6895 (tramp-make-tramp-temp-file, tramp-read-passwd)
6896 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
6897 Set tramp-autoload cookie.
6899 * net/trampver.el: Update release number.
6901 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6902 Michael Albinus <michael.albinus@gmx.de>
6904 * net/tramp.el (tramp-set-completion-function): Fix docstring.
6905 (tramp-parse-group, tramp-parse-file)
6906 (tramp-parse-shostkeys-sknownhosts): New defuns.
6907 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
6908 (tramp-parse-shosts-group, tramp-parse-sconfig)
6909 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
6910 (tramp-parse-sknownhosts, tramp-parse-hosts)
6911 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
6913 (tramp-parse-passwd-group, tramp-parse-netrc-group)
6914 (tramp-parse-putty-group): Don't narrow.
6915 (tramp-parse-putty): Make a loop.
6916 (tramp-file-name-handler): Catch the `suppress' signal.
6918 2012-06-11 Chong Yidong <cyd@gnu.org>
6920 * image.el (imagemagick-register-types): Put the ImageMagick entry
6921 at the end of image-type-file-name-regexps.
6923 2012-06-11 Johan Bockgård <bojohan@gnu.org>
6925 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
6926 (pcase, pcase-let*, pcase-dolist): Use them.
6928 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6930 * emacs-lisp/pcase.el (pcase--let*): New function.
6931 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
6932 (pcase--expand): Use macroexp-let².
6934 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
6936 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
6937 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
6938 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
6939 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
6940 * emacs-lisp/derived.el: Use pcase instead of `cl'.
6941 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
6943 2012-06-10 Glenn Morris <rgm@gnu.org>
6945 * mail/rmail.el (rmail-yank-current-message): Leave point at
6946 correct position. (Bug#11660)
6948 2012-06-10 Chong Yidong <cyd@gnu.org>
6950 * allout-widgets.el: Fix code header.
6952 2012-06-10 Chong Yidong <cyd@gnu.org>
6954 * cus-edit.el (customize-changed-options-previous-release):
6957 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
6959 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
6961 2012-06-09 Chong Yidong <cyd@gnu.org>
6963 * ebuff-menu.el (electric-buffer-list): Preserve header line.
6965 2012-06-09 Martin Rudalics <rudalics@gmx.at>
6967 * window.el (special-display-popup-frame): Don't use
6968 window--display-buffer (Bug#11651).
6970 2012-06-09 Eli Zaretskii <eliz@gnu.org>
6972 Fix parallel builds: make sure loaddefs.el is not being written
6973 while Lisp files are compiled.
6974 (compile): Don't depend on 'mh-autoloads'.
6975 (compile-CMD, compile-SH): Depend on 'autoloads'.
6976 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
6978 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
6980 2012-06-09 Chong Yidong <cyd@gnu.org>
6982 * face-remap.el (face-remap-add-relative, face-remap-set-base)
6983 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
6984 Doc fixes (Bug#11225).
6986 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
6988 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
6989 a function if there's a clear indication that it has a compiler-macro.
6990 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
6991 (macro-declarations-alist): Add arglist to declaration functions.
6992 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
6993 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
6994 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
6995 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
6996 Also add autoload to find the compiler macro.
6997 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
6998 (cl--compiler-macro-member, cl--compiler-macro-assoc)
6999 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
7000 (cl--compiler-macro-get): New functions, replacing calls to
7001 cl-define-compiler-macro.
7002 (cl-typep) [compiler-macro]: Use macroexp-let².
7004 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
7006 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
7007 string properly, fixes Bug#11473.
7009 2012-06-08 Chong Yidong <cyd@gnu.org>
7011 * faces.el (set-face-attribute): Doc fix.
7012 (modify-face): Don't use :bold and :italic.
7013 (error, warning, success): Tweak definitions.
7015 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
7016 (custom-modified, custom-set, custom-changed, custom-themed)
7017 (custom-saved, custom-button, custom-button-mouse)
7018 (custom-button-pressed, custom-state, custom-comment-tag)
7019 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
7020 (custom-group-subtitle): Use new-style face specs.
7021 (custom-invalid-face, custom-rogue-face, custom-modified-face)
7022 (custom-set-face, custom-changed-face, custom-saved-face)
7023 (custom-button-face, custom-button-pressed-face)
7024 (custom-documentation-face, custom-state-face)
7025 (custom-comment-face, custom-comment-tag-face)
7026 (custom-variable-tag-face, custom-variable-button-face)
7027 (custom-face-tag-face, custom-group-tag-face-1)
7028 (custom-group-tag-face): Remove obsolete face alias.
7030 * epa.el (epa-validity-high, epa-validity-medium)
7031 (epa-validity-low, epa-mark, epa-field-name, epa-string)
7032 (epa-field-name, epa-field-body):
7033 * font-lock.el (font-lock-comment-face, font-lock-string-face)
7034 (font-lock-keyword-face, font-lock-builtin-face)
7035 (font-lock-function-name-face, font-lock-variable-name-face)
7036 (font-lock-type-face, font-lock-constant-face):
7037 * ido.el (ido-first-match, ido-only-match, ido-subdir)
7038 (ido-virtual, ido-indicator, ido-incomplete-regexp):
7039 * speedbar.el (speedbar-button-face, speedbar-file-face)
7040 (speedbar-directory-face, speedbar-tag-face)
7041 (speedbar-selected-face, speedbar-highlight-face)
7042 (speedbar-separator-face):
7043 * whitespace.el (whitespace-newline, whitespace-space)
7044 (whitespace-hspace, whitespace-tab, whitespace-trailing)
7045 (whitespace-line, whitespace-space-before-tab)
7046 (whitespace-space-after-tab, whitespace-indentation)
7048 * emulation/cua-base.el (cua-global-mark):
7049 * eshell/em-prompt.el (eshell-prompt):
7050 * net/newst-plainview.el (newsticker-new-item-face)
7051 (newsticker-old-item-face, newsticker-immortal-item-face)
7052 (newsticker-obsolete-item-face, newsticker-date-face)
7053 (newsticker-statistics-face, newsticker-default-face):
7054 * net/newst-reader.el (newsticker-feed-face)
7055 (newsticker-extra-face, newsticker-enclosure-face):
7056 * net/newst-treeview.el (newsticker-treeview-face)
7057 (newsticker-treeview-new-face, newsticker-treeview-old-face)
7058 (newsticker-treeview-immortal-face)
7059 (newsticker-treeview-obsolete-face)
7060 (newsticker-treeview-selection-face):
7061 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
7062 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
7063 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
7064 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
7065 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
7066 (nxml-outline-active-indicator, nxml-outline-ellipsis):
7067 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
7069 * progmodes/vera-mode.el (vera-font-lock-number)
7070 (vera-font-lock-function, vera-font-lock-interface):
7071 * textmodes/table.el (table-cell): Use new-style face specs, and
7072 don't use the old :bold and :italic attributes.
7074 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
7075 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
7076 (ebrowse-member-class, ebrowse-progress): Likewise.
7077 (ebrowse-tree-mark-face, ebrowse-root-class-face)
7078 (ebrowse-file-name-face, ebrowse-default-face)
7079 (ebrowse-member-attribute-face, ebrowse-member-class-face)
7080 (ebrowse-progress-face): Remove obsolete faces.
7082 * progmodes/flymake.el (flymake-errline, flymake-warnline):
7083 Inherit from error and warning faces respectively.
7085 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
7087 (flyspell-incorrect-face, flyspell-duplicate-face):
7088 Remove obsolete aliases.
7090 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
7092 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
7095 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
7097 * startup.el (argv, argi): Make lexically scoped.
7098 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
7099 * emacs-lisp/cl-macs.el: Use lexical-binding.
7100 Rename cl-bind-* to cl--bind-*.
7101 * files.el: Don't require `cl' since it doesn't use it.
7102 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
7104 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
7106 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
7107 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
7108 instead of calling external sort utility.
7109 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
7111 2012-06-08 Eli Zaretskii <eliz@gnu.org>
7113 * descr-text.el (describe-char): Mention how to insert the
7114 character, if the current input method doesn't support it.
7115 See the discussion in this thread for the details:
7116 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
7118 2012-06-08 Sam Steingold <sds@gnu.org>
7120 * bindings.el (global-map): Bind XF86Forward to next-buffer and
7121 XF86Back to previous-buffer.
7122 (minibuffer-local-map): Bind them to next-history-element and
7123 previous-history-element respectively.
7124 * help-mode.el (help-mode-map): Bind them to help-go-forward and
7125 help-go-back respectively.
7126 * info.el (Info-mode-map): Bind them to Info-history-forward and
7127 Info-history-back respectively.
7128 These are the keys next to Up on the ThinkPad keyboard.
7130 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
7132 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
7133 * emacs-lisp/cl-macs.el: Provide itself.
7134 (cl--labels-convert-cache): New var.
7135 (cl--labels-convert): New function.
7136 (cl-flet, cl-labels): New implementation with new semantics, relying on
7138 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
7139 (cl-closure-vars, cl--function-convert-cache)
7140 (cl--function-convert): Move from cl-macs.el.
7141 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
7142 rename by removing the "cl-" prefix.
7143 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
7145 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7147 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
7148 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
7149 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
7150 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
7151 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
7152 (cl-hash-table-count): Add old compatibility aliases.
7154 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
7155 Use macroexpand-all-environment instead.
7156 (cl--old-macroexpand): New var.
7157 (cl--sm-macroexpand): New function.
7158 (cl-symbol-macrolet): Use it during macro expansion.
7159 (cl--function-convert-cache): New var.
7160 (cl--function-convert): New function, extracted from
7162 (cl-lexical-let): Use it.
7164 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
7165 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
7166 (cl-member): Remove old alias.
7168 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
7169 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
7170 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
7171 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
7172 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
7173 (cl-macroexpand-cmacs): Remove var.
7174 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
7175 Use macroexpand-all instead.
7177 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7179 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
7180 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
7181 (macroexp-copyable-p): New functions and macros.
7182 * emacs-lisp/edebug.el (edebug-unwrap):
7183 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
7184 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
7185 (pcase--let*): Remove.
7186 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
7187 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
7188 macroexp-const-p instead.
7189 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
7191 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
7192 instead of "cl-" for internal definitions. Use macroexp-const-p.
7193 (cl-old-bc-file-form): Remove var.
7194 (cl-const-exprs-p): Remove fun.
7195 (cl-labels, cl-macrolet): Use backquote.
7196 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
7197 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
7198 (cl-define-setf-expander): Rename from cl-define-setf-method.
7199 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
7201 * international/mule-cmds.el: Don't require CL.
7202 (view-hello-file): Don't use `letf'.
7204 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7206 * tmm.el (tmm-prompt): Use string-prefix-p.
7207 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
7208 (tmm-add-prompt): Use minibuffer-completion-help.
7209 (tmm-delete-map): Remove.
7211 * subr.el (kbd): Make it its own function.
7213 2012-06-07 Stefan Merten <smerten@oekonux.de>
7215 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
7216 Silence compiler warnings. Fix versions.
7217 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7218 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
7219 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7220 (rst-package-emacs-version-alist): Correct Emacs version to
7221 represent major merge with upstream.
7222 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7224 2012-06-06 Glenn Morris <rgm@gnu.org>
7226 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
7227 Only print environment variables if set.
7229 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
7231 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
7232 (macroexp--cons): Rename from maybe-cons.
7233 (macroexp--accumulate): Rename from macroexp-accumulate.
7234 (macroexp--all-forms): Rename from macroexpand-all-forms.
7235 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
7236 (macroexp--expand-all): Rename from macroexpand-all-1.
7238 2012-06-06 Sam Steingold <sds@gnu.org>
7240 * calendar/calendar.el (calendar-in-read-only-buffer):
7241 Call `special-mode' to enable the standard read-only keybindings.
7243 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
7245 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
7246 with "loading" messages (bug#11635).
7248 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
7250 * files.el (enable-remote-dir-locals): New option.
7251 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
7253 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
7254 Ensure, that the temp directory is local.
7256 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
7257 `temporary-file-directory'.
7259 * progmodes/python.el (python-send-region): Ensure, that the
7260 temporary file is created also in the remote case.
7262 2012-06-06 Glenn Morris <rgm@gnu.org>
7264 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
7265 (vc-rcs-update-changelog): Use it.
7267 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
7269 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
7270 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
7271 (vc-sccs-diff): Replace use of the external vcdiff script.
7273 2012-06-05 Glenn Morris <rgm@gnu.org>
7275 * ledit.el: Move to obsolete/.
7277 2012-06-05 Sam Steingold <sds@gnu.org>
7279 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
7282 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7284 * emacs-lisp/cust-print.el: Move to obsolete.
7286 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
7287 compiler-macro expansion.
7289 Add native compiler-macro support.
7290 * emacs-lisp/macroexp.el (macroexpand-all-1):
7291 Support compiler-macros directly. Properly follow aliases and apply
7292 the compiler macros more thoroughly.
7293 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
7294 macroexpand now properly follows aliases.
7295 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
7296 (cl-compiler-macroexpand): Use new prop.
7297 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
7299 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
7301 2012-06-05 Martin Rudalics <rudalics@gmx.at>
7303 * window.el (get-lru-window, get-mru-window, get-largest-window):
7304 New argument NOT-SELECTED to avoid picking the selected window.
7305 (window--display-buffer-1, window--display-buffer-2): Replace by
7306 new function window--display-buffer
7307 (display-buffer-same-window, display-buffer-reuse-window)
7308 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7309 Use window--display-buffer.
7310 (display-buffer-use-some-window): Remove temporary dedication
7311 hack by calling get-lru-window and get-largest-window with
7312 NOT-SELECTED argument non-nil. Call window--display-buffer.
7314 2012-06-05 Glenn Morris <rgm@gnu.org>
7316 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
7317 Replace external vcdiff script.
7319 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
7321 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
7323 2012-06-04 Chong Yidong <cyd@gnu.org>
7325 * image.el (imagemagick-types-inhibit): Revert last change.
7327 (imagemagick-enabled-types): Remove CIN and EPS*.
7329 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
7331 * emacs-lisp/cl-lib.el: Rename from cl.el.
7332 * emacs-lisp/cl.el: New compatibility file.
7333 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
7334 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
7335 to obey the "cl-" prefix.
7336 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
7338 2012-06-03 Glenn Morris <rgm@gnu.org>
7340 * emacs-lisp/authors.el (authors-aliases): Addition.
7342 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
7345 2012-06-03 Stefan Merten <smerten@oekonux.de>
7347 * textmodes/rst.el: Add comments.
7348 (rst-transition, rst-adornment): New faces.
7349 (rst-adornment-faces-alist): Make default safe to reevaluate.
7351 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
7352 Improve customization tags.
7353 (rst-define-level-faces): Clarify meaning.
7355 2012-06-03 Chong Yidong <cyd@gnu.org>
7357 * progmodes/compile.el (compilation-mode-line-fail)
7358 (compilation-mode-line-run, compilation-mode-line-exit):
7360 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
7362 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
7364 * progmodes/which-func.el (which-func-update-ediff-windows):
7365 New function. Use it in ediff-select-hook (Bug#11478).
7367 2012-06-03 Chong Yidong <cyd@gnu.org>
7369 * bindings.el: Remove explicit help text from format-mode-line.
7370 It is now supplied by mode-line-default-help-echo.
7371 (mode-line-front-space, mode-line-end-spaces)
7372 (mode-line-misc-info): New variables.
7373 (mode-line-modes, mode-line-position): Move the default value to
7374 the variable definition.
7375 (mode-line-default-help-echo): New defcustom.
7376 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
7377 (mode-line-modified-help-echo): New functions.
7378 (mode-line-mule-info, mode-line-modified): Use them.
7379 (mode-line-eol-desc, propertized-buffer-identification):
7380 Consistency fixes for help text.
7381 (mode-line-coding-system-map): Allow using mouse-3 to invoke
7382 set-buffer-file-coding-system (Bug#289).
7383 (mode-line-mule-info-help-echo): Update help text.
7385 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7387 * simple.el (execute-extended-command): Set real-this-command
7390 2012-06-02 Chong Yidong <cyd@gnu.org>
7392 Remove incorrect uses of "modeline" in comments, docstrings, and
7393 function/variable names (Bug#10329).
7395 * cus-edit.el (mode-line):
7396 * dframe.el (dframe-mouse-hscroll):
7397 * emacs-lisp/re-builder.el:
7398 * emacs-lisp/easy-mmode.el (define-minor-mode):
7399 * frame.el (set-frame-name):
7400 * help.el (lookup-minor-mode-from-indicator):
7401 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
7402 * progmodes/cc-cmds.el (c-toggle-auto-newline)
7403 (c-toggle-hungry-state):
7404 * progmodes/antlr-mode.el (antlr-language-alist):
7405 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
7406 * progmodes/vhdl-mode.el (vhdl-mode):
7407 * progmodes/which-func.el (which-func, which-func-cleanup-function):
7408 * term/ns-win.el (ns-face-at-pos):
7409 * term/sup-mouse.el (sup-mouse-report):
7410 * textmodes/flyspell.el (flyspell-mode-line-string):
7411 * textmodes/ispell.el (ispell-highlight-face):
7412 * textmodes/reftex-global.el:
7413 * vc/vc-arch.el (vc-arch-mode-line-string):
7414 * vc/vc-cvs.el (vc-cvs-mode-line-string):
7415 * vc/vc-git.el (vc-git-mode-line-string):
7416 * vc/vc-hooks.el (vc-display-status)
7417 (vc-default-mode-line-string):
7418 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
7420 * ansi-color.el (ansi-color-faces-vector): Change default faces.
7422 * dired.el (dired-sort-set-mode-line): Rename from
7423 dired-sort-set-modeline. All callers changed.
7425 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
7426 eshell-status-in-modeline.
7428 * foldout.el (foldout-mode-line-string): Rename from
7429 foldout-modeline-string. All callers changed.
7430 (foldout-update-mode-line): Rename from foldout-update-modeline.
7432 * subr.el (redraw-modeline): Make into obsolete alias.
7434 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
7435 timeclock-modeline-display. Make old name an alias.
7436 (timeclock-update-mode-line): Likewise. All callers changed.
7437 (timeclock-mode-line-display): No need to check before using
7439 (timeclock-relative, timeclock-day-over-hook)
7440 (timeclock-use-elapsed, timeclock-mode-string)
7441 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
7443 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
7444 crisp-mode-modeline-string.
7446 * play/solitaire.el (solitaire-build-mode-line): Rename from
7447 solitaire-build-modeline. All callers changed.
7449 * play/zone.el (zone-hiding-mode-line): Rename from
7450 zone-hiding-modeline. All callers changed.
7451 (zone): Remove unusued `modeline-hidden-level' property.
7453 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
7454 xscheme-modeline-initialize. All callers changed.
7456 * strokes.el (strokes-lighter): Rename from
7457 strokes-modeline-string.
7459 * textmodes/sgml-mode.el (html-face-tag-alist)
7460 (html-tag-face-alist): Use mode-line face instead of obsolete
7463 2012-06-02 Stefan Merten <smerten@oekonux.de>
7465 * textmodes/rst.el: Always require `cl'.
7466 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
7468 2012-06-02 Chong Yidong <cyd@gnu.org>
7470 * image.el (imagemagick-enabled-types): Rename from
7471 imagemagick-types-enable. Add many more types.
7472 (imagemagick-types-inhibit): Change default to nil.
7473 (imagemagick-filter-types): Caller changed.
7475 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
7477 * emacs-lisp/cl-macs.el: Use backquotes.
7478 (cl-transform-function-property): Use eval-and-compile rather than
7480 (defstruct): Use declare-function instead of with-no-warnings.
7482 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
7483 (byte-compile-output-docform): Re-add the print-circle bindings.
7484 (byte-compile-fix-header): Use #$ just because it's shorter.
7485 (byte-compile-output-file-form): Remove defun/defmacro.
7487 2012-06-01 Martin Rudalics <rudalics@gmx.at>
7489 * simple.el (choose-completion): Remove now obsolete binding for
7492 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
7494 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
7495 in order to avoid "Stack overflow in regexp matcher".
7497 2012-05-31 Glenn Morris <rgm@gnu.org>
7499 * image.el: For clarity, call imagemagick-register-types at
7500 top-level, rather than relying on a custom :initialize.
7501 (imagemagick-types-enable): New option. (Bug#11557)
7502 (imagemagick-filter-types): New function. (Bug#7406)
7503 (imagemagick-register-types): Use imagemagick-filter-types.
7504 If disabling support, remove elements altogether rather
7505 than using an impossible regexp.
7506 (imagemagick-types-inhibit): Give it the default init function.
7508 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7510 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
7511 Handle arbitrary file name lengths (Bug#11585).
7513 2012-05-31 Martin Rudalics <rudalics@gmx.at>
7515 * desktop.el (desktop-read): Clear previous and next buffers for
7516 all windows and bury *Messages* buffer (bug#11556).
7518 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7520 Add `declare' for `defun'. Align `defmacro's with it.
7521 * emacs-lisp/easy-mmode.el (define-minor-mode)
7522 (define-globalized-minor-mode): Don't autoload the var definitions.
7523 * emacs-lisp/byte-run.el: Use lexical-binding.
7524 (defun-declarations-alist, macro-declarations-alist): New vars.
7525 (defmacro, defun): Use them.
7526 (make-obsolete, define-obsolete-function-alias)
7527 (make-obsolete-variable, define-obsolete-variable-alias):
7529 (macro-declaration-function): Mark obsolete.
7530 * emacs-lisp/autoload.el: Use lexical-binding.
7531 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
7533 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7535 * textmodes/ispell.el (ispell-with-no-warnings):
7537 (ispell-kill-ispell, ispell-change-dictionary):
7538 Use `called-interactively-p' for Emacs instead of obsolete
7541 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7543 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
7544 (macro-declaration-function): Move var from C code.
7545 (macro-declaration-function): Define function with defalias.
7546 * emacs-lisp/macroexp.el (macroexpand-all-1):
7547 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
7548 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
7549 defun/defmacro any more.
7550 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
7551 Provide fallback for unknown arglist.
7552 (byte-compile-arglist-warn): Change calling convention.
7553 (byte-compile-output-file-form): Move print-vars binding.
7554 (byte-compile-output-docform): Simplify accordingly.
7555 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
7556 (byte-compile-defmacro-declaration): Remove.
7557 (byte-compile-file-form-defmumble): Generalize to defalias.
7558 (byte-compile-output-as-comment): Return byte-positions.
7559 Simplify callers accordingly.
7560 (byte-compile-lambda): Use `assert'.
7561 (byte-compile-defun, byte-compile-defmacro): Remove.
7562 (byte-compile-file-form-defalias):
7563 Use byte-compile-file-form-defmumble.
7564 (byte-compile-defalias-warn): Remove.
7566 2012-05-29 Stefan Merten <smerten@oekonux.de>
7568 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
7569 possible. Fix authors. Improve comments. Improve loading of `cl'.
7571 (rst-mode-abbrev-table): Merge definition.
7572 (rst-mode): Make sure `font-lock-defaults' is buffer local.
7573 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
7575 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
7577 * calendar/icalendar.el
7578 (icalendar-export-region): Export UID properly.
7580 2012-05-29 Leo Liu <sdl.web@gmail.com>
7581 * calendar/icalendar.el (icalendar-import-format):
7582 Add `icalendar-import-format-uid' (Bug#11525).
7583 (icalendar-import-format-uid): New.
7584 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
7587 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7589 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
7590 different alternative patterns.
7591 (pcase-codegen): Be more careful to preserve identity.
7592 (pcase--u1): Don't forget to mark vars as used.
7594 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
7595 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
7596 (byte-compile-from-buffer): ...rather than here.
7598 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
7599 functions from byte-compile-function-environment.
7601 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
7603 * window.el (window-deletable-p): Avoid deleting the root window
7604 of a frame with an active minibuffer.
7606 2012-05-29 Martin Rudalics <rudalics@gmx.at>
7608 * simple.el (choose-completion): Use quit-window (Bug#11567).
7610 2012-05-29 Chong Yidong <cyd@gnu.org>
7612 * whitespace.el (whitespace-cleanup): Fix usage of
7613 whitespace-empty-at-bob-regexp (Bug#11492).
7615 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7617 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
7620 2012-05-29 Juri Linkov <juri@jurta.org>
7622 * isearch.el (isearch-mode-map): Bind `M-s _' to
7623 `isearch-toggle-symbol'. Bind `M-s c' to
7624 `isearch-toggle-case-fold'.
7625 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
7626 (isearch-forward): Add `M-s _' to the docstring.
7627 (isearch-forward-symbol, isearch-toggle-case-fold)
7628 (isearch-symbol-regexp): New functions. (Bug#11381)
7630 2012-05-29 Juri Linkov <juri@jurta.org>
7632 * isearch.el (isearch-word): Add docstring. (Bug#11381)
7633 (isearch-occur, isearch-search-and-update): If `isearch-word' is
7634 a function, call it to get the regexp.
7635 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
7636 property `isearch-message-prefix' instead of the string "word ".
7637 (isearch-search-fun-default): For the case of `isearch-word',
7638 return a lambda that calls re-search-forward/re-search-backward
7639 with a regexp returned by `word-search-regexp' or by the function
7642 2012-05-29 Juri Linkov <juri@jurta.org>
7644 * isearch.el (isearch-search-fun-default): New function.
7645 (isearch-search-fun): Move default part to the new function
7646 `isearch-search-fun-default'.
7647 (isearch-search-fun-function): Set the default value to
7648 `isearch-search-fun-default'. (Bug#11381)
7650 * comint.el (comint-history-isearch-end):
7651 Use `isearch-search-fun-default'.
7652 (comint-history-isearch-search): Use `isearch-search-fun-default'
7653 and remove spacial case for `isearch-word'.
7654 (comint-history-isearch-wrap): Remove spacial case for
7657 * hexl.el (hexl-isearch-search-function):
7658 Use `isearch-search-fun-default'.
7660 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
7661 Use `word-search-regexp' for `isearch-word'.
7663 * misearch.el (multi-isearch-search-fun):
7664 Use `isearch-search-fun-default'.
7666 * simple.el (minibuffer-history-isearch-search):
7667 Use `isearch-search-fun-default' and remove spacial case for
7669 (minibuffer-history-isearch-wrap): Remove spacial case for
7672 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
7673 Remove spacial case for `isearch-word'.
7674 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
7676 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7678 Decrease XEmacs incompatibilities.
7679 * textmodes/flyspell.el (flyspell-check-pre-word-p):
7681 (flyspell-delete-region-overlays): Use alternative definition for
7683 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
7684 (flyspell-word): Use `process-kill-without-query' if XEmacs.
7685 (flyspell-mode-on): Use `interactive-p' if XEmacs.
7686 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
7687 `define-obsolete-face-alias' under XEmacs, but old method.
7689 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
7690 `with-no-warnings' definition or Emacs alias.
7691 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
7692 (ispell-word): Do not use `region-p' if XEmacs.
7694 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7696 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
7697 Check for `ispell-dictionary-base-alist' instead of full
7698 `ispell-dictionary-alist'.
7699 (ispell-init-process): Show spellchecker when starting new Ispell
7702 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
7704 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
7705 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
7707 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
7709 * version.el (motif-version-string, gtk-version-string)
7710 (ns-version-string): Declare.
7712 2012-05-27 Juri Linkov <juri@jurta.org>
7714 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
7715 after the `eval-defun-1' specialcaseing
7716 like in `edebug-eval-defun' (bug#10181).
7718 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
7719 like in `eval-defun-1'.
7721 2012-05-27 Eli Zaretskii <eliz@gnu.org>
7723 * mail/sendmail.el (mail-yank-region):
7724 Recognize rmail-yank-current-message in addition to insert-buffer.
7725 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
7726 a *mail* buffer created through rmail-start-mail with sendmail as
7729 2012-05-27 Chong Yidong <cyd@gnu.org>
7731 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
7732 Default to 256 (Bug#11267).
7734 * help.el (describe-mode): Doc fix.
7736 2012-05-26 Glenn Morris <rgm@gnu.org>
7738 * w32-fns.el (w32-init-info): Remove.
7739 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
7741 * info.el (info-initialize): For self-contained NS builds, put the
7742 included info/ directory at the front. (Bug#2791)
7744 * paths.el (Info-default-directory-list): Make it a defcustom,
7745 mainly so that we can use custom-initialize-delay.
7747 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
7749 * subr.el (buffer-has-markers-at): Mark obsolete.
7751 * subr.el (lambda): Use declare.
7753 * emacs-lisp/lisp-mode.el (lambda):
7754 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
7756 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7758 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
7760 2012-05-26 Glenn Morris <rgm@gnu.org>
7762 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
7764 2012-05-25 Glenn Morris <rgm@gnu.org>
7766 * paths.el: Remove no-byte-compile.
7767 * loadup.el: No need to load paths.el uncompiled.
7769 * image.el (imagemagick-types-inhibit): Doc fix.
7771 * version.el: Remove no-byte-compile and associated formatting.
7772 * loadup.el: No need to load version.el uncompiled. AFAICS, this
7773 is ancient code from when there was an "inc-vers.el".
7775 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7777 * progmodes/gdb-mi.el: Minor style changes.
7778 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
7779 Turn into minor modes.
7780 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
7781 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
7782 (gdb-shell): Remove unneeded let-binding.
7783 (gdb-get-many-fields): Eliminate O(n²) behavior.
7785 2012-05-25 Eli Zaretskii <eliz@gnu.org>
7787 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
7788 platforms that don't link in fontset.c.
7790 2012-05-25 Juri Linkov <juri@jurta.org>
7792 Use the same diff color scheme as in modern VCSes (bug#10181).
7794 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
7795 to avoid confusion with `diff-added' that now uses green colors.
7796 (diff-removed): Use shades of red.
7797 (diff-added): Use shades of green.
7798 (diff-changed): Leave just the yellow color.
7799 (diff-use-changed-face): New variable.
7800 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
7801 how to highlight context diff changes.
7802 (diff-refine-change): Use shades of yellow.
7803 (diff-refine-removed): New face that uses shades of red.
7804 (diff-refine-added): New face that uses shades of green.
7805 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
7806 `diff-refine-removed' in the call to `smerge-refine-subst'
7807 depending on the value of `diff-use-changed-face'.
7809 * vc/smerge-mode.el (smerge-mine): Use shades of red.
7810 (smerge-other): Use shades of green.
7811 (smerge-base): Use shades of yellow.
7812 (smerge-refined-change): Empty face.
7813 (smerge-refined-removed): New face that uses shades of red.
7814 (smerge-refined-added): New face that uses shades of green.
7815 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
7816 args `props-r' and `props-a', and use them. Doc fix.
7817 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
7818 on its value use different faces `smerge-refined-change',
7819 `smerge-refined-removed', `smerge-refined-added' in the call to
7820 `smerge-refine-subst'.
7822 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
7823 Add face condition `min-colors 88' with shades of red.
7824 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
7825 `min-colors 88' with shades of green.
7826 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
7827 `min-colors 88' with shades of yellow.
7829 2012-05-24 Glenn Morris <rgm@gnu.org>
7831 * paths.el (prune-directory-list, remote-shell-program): Move to...
7832 * files.el (prune-directory-list, remote-shell-program): ...here.
7833 For the latter, delay initialization, prefer ssh, just search PATH.
7835 * paths.el (term-file-prefix): Move to faces.el (the only user).
7836 * faces.el (term-file-prefix): Move here, make it a defcustom.
7838 * paths.el (news-directory, news-path, news-inews-program):
7839 Move to gnus/nnspool.el.
7841 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
7843 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
7844 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
7845 Make the latter a defcustom, with a delayed initialization.
7847 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
7848 These were deleted from Gnus itself late 2010.
7850 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
7852 * progmodes/which-func.el (which-func-ff-hook):
7853 Check against user-error, not error.
7855 * emacs-lisp/edebug.el (top): Do not load or set up loading of
7856 cl-specs.el, which no longer exists.
7858 2012-05-22 Glenn Morris <rgm@gnu.org>
7860 * info.el (info-emacs-bug): New command.
7861 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
7862 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
7864 2012-05-21 Glenn Morris <rgm@gnu.org>
7866 * makefile.w32-in (update-subdirs-SH):
7867 * Makefile.in (update-subdirs): Update for moved update-subdirs.
7869 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
7871 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
7873 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7874 Simplify Maven regexp, and make sure the file can't start with a space
7877 2012-05-21 Glenn Morris <rgm@gnu.org>
7879 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7880 Scrap superfluous subshells.
7882 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
7884 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
7885 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
7887 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
7889 * calc/calc.el (calc-ensure-consistent-units): New variable.
7891 * calc/calc-units.el (math-consistent-units-p)
7892 (math-check-unit-consistency): New functions.
7893 (calc-quick-units, calc-convert-units):
7894 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
7896 (calc-extract-units): Fix typo.
7898 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7900 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
7902 * textmodes/flyspell.el: Commenting style, plus code simplifications.
7903 (flyspell-default-deplacement-commands): Don't spell check after
7904 repeated window/frame switches (e.g. triggered by mouse-movement).
7905 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
7906 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
7907 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
7908 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
7910 (flyspell-get-casechars, flyspell-get-not-casechars):
7911 Simplify; Don't bother removing a ] just to add it back.
7912 * textmodes/ispell.el (ispell-program-name): Use executable-find.
7914 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7916 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
7918 (math-function-table): Add support for more C functions.
7920 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7922 * textmodes/flyspell.el (flyspell-check-pre-word-p)
7923 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
7924 Protect delay handling for otherchars against empty otherchars.
7926 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7928 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
7929 their respective macro declarations.
7930 * skeleton.el (define-skeleton):
7931 * progmodes/compile.el (define-compilation-mode):
7932 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
7933 (define-ibuffer-filter):
7934 * emacs-lisp/generic.el (define-generic-mode):
7935 * emacs-lisp/easy-mmode.el (define-minor-mode)
7936 (define-globalized-minor-mode):
7937 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
7938 * emacs-lisp/byte-run.el (defsubst):
7939 * custom.el (deftheme): Add doc-string metadata.
7941 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7943 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
7945 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7947 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
7949 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
7950 * emacs-lisp/cl-macs.el: Idem.
7951 * emacs-lisp/cl-specs.el: Remove.
7953 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7955 Minor renaming of internal CL functions and variables.
7956 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
7957 (cl--position): Rename from cl-position.
7958 (cl--delete-duplicates): Rename from cl-delete-duplicates.
7959 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
7960 (cl--random-state): Rename from *random-state*.
7962 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7964 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
7965 parens around the arg list (bug#11499).
7967 2012-05-17 Juri Linkov <juri@jurta.org>
7969 * isearch.el (word-search-regexp, word-search-backward)
7970 (word-search-forward, word-search-backward-lax)
7971 (word-search-forward-lax): Move functions from search.c
7972 (bug#10145, bug#11381).
7974 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7976 * textmodes/flyspell.el (flyspell-check-pre-word-p)
7977 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
7978 Delay for otherchars as for normal word components.
7980 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
7982 * minibuffer.el (completion--sifn-requote): Fix last change.
7983 (minibuffer-local-must-match-filename-map):
7984 Move define-obsolete-variable-alias before its var.
7986 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7988 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
7990 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
7992 (completion--string-equal-p): New function.
7993 (completion--twq-all): Use it to get better assertion failure data.
7995 Only handle ".." and '..' quoting in shell-mode (bug#11466).
7996 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
7997 (shell--requote-argument): New functions.
7998 (shell-completion-vars): Use them.
7999 (shell--parse-pcomplete-arguments): Rename from
8000 shell-parse-pcomplete-arguments.
8001 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
8002 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
8003 Obey comint-file-name-quote-list.
8005 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
8006 (smie-indent-keyword): Use it.
8008 2012-05-14 Stefan Merten <smerten@oekonux.de>
8010 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
8012 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
8014 * net/rlogin.el (rlogin-mode-map): Fix last change.
8016 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8018 * mail/smtpmail.el (smtpmail-send-command): Send the command and
8019 the following \r\n using a single `process-send-string', since the
8020 Lotus SMTP server refuses to accept any commands if they are sent
8021 with two `process-send-string's (Bug#11444).
8023 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
8025 * shell.el (shell-parse-pcomplete-arguments):
8026 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
8028 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
8030 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
8031 (image-transform-scale, image-transform-right-angle-fudge): New vars.
8032 (image-transform-width, image-transform-fit-width): New functions.
8033 (image-transform-properties): Use them.
8034 (image-transform-check-size): New function.
8035 (image-toggle-display-image): Use it (for testing).
8036 (image-transform-set-rotation): Reduce angle mod 360.
8037 Delete obsolete comment.
8039 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
8041 * image-mode.el: Fix scaling (bug#11399).
8042 (image-transform-resize): Doc fix.
8043 (image-transform-properties): Default scale is 1 and height should
8046 2012-05-13 Johan Bockgård <bojohan@gnu.org>
8048 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
8049 than hard-coding `car', to fix misbehavior when moving forward.
8051 2012-05-13 Chong Yidong <cyd@gnu.org>
8053 * emacs-lisp/tabulated-list.el (tabulated-list-format)
8054 (tabulated-list-entries, tabulated-list-padding)
8055 (tabulated-list-sort-key): Make permanent-local.
8057 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
8058 (electric-buffer-list): Put electric buffer menu
8059 command descriptions in this docstring, instead of the docstring
8060 of electric-buffer-menu-mode. Code cleanups.
8061 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
8062 Electric-buffer-menu-mode.
8063 (electric-buffer-update-highlight): Minor code cleanup.
8065 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
8067 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
8070 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
8072 Move define-obsolete-variable-alias before the var's definition.
8073 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
8074 * tooltip.el (tooltip-hook):
8075 * textmodes/reftex-toc.el (reftex-toc-map):
8076 * textmodes/reftex-sel.el (reftex-select-label-map)
8077 (reftex-select-bib-map):
8078 * textmodes/reftex-index.el (reftex-index-map)
8079 (reftex-index-phrases-map):
8080 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
8081 * progmodes/meta-mode.el (meta-mode-map):
8082 * novice.el (disabled-command-hook):
8083 * loadhist.el (unload-hook-features-list):
8084 * frame.el (blink-cursor):
8085 * files.el (find-file-not-found-hooks, write-file-hooks)
8086 (write-contents-hooks):
8087 * emulation/tpu-edt.el (GOLD-map):
8088 * emacs-lock.el (emacs-lock-from-exiting):
8089 * emacs-lisp/generic.el (generic-font-lock-defaults):
8090 * emacs-lisp/chart.el (chart-map):
8091 * dos-fns.el (register-name-alist):
8092 * dired-x.el (dired-omit-files-p):
8093 * desktop.el (desktop-enable):
8094 * cus-edit.el (custom-mode-hook):
8095 * buff-menu.el (buffer-menu-mode-hook):
8096 * bookmark.el (bookmark-read-annotation-text-func)
8097 (bookmark-exit-hooks):
8098 * allout.el (allout-mode-deactivate-hook)
8099 (allout-exposure-change-hook, allout-structure-added-hook)
8100 (allout-structure-deleted-hook, allout-structure-shifted-hook):
8101 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
8102 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
8103 comes before the corresponding variable's definition.
8105 2012-05-12 Chong Yidong <cyd@gnu.org>
8107 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
8108 (Buffer-menu-mouse-select): Restore function (Bug#11459).
8109 (Buffer-menu-mode-map): Bind it.
8110 (Buffer-menu--pretty-name): Add a mouse-face property.
8112 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
8114 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
8115 (prolog-upper-case-string, prolog-lower-case-string)
8116 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
8117 (prolog-use-smie, prolog-smie-grammar): New vars.
8118 (prolog-smie-forward-token, prolog-smie-backward-token)
8119 (prolog-smie-rules): New funs.
8120 (prolog-comment-indent): Remove.
8121 (prolog-mode-variables): Use default comment indentation instead.
8123 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
8124 (prolog-mode): Don't call them any more.
8125 (prolog-electric-colon, prolog-electric-dash)
8126 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
8128 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
8130 * minibuffer.el (completion--twq-all): Again, allow case differences.
8132 * term.el: Move keymap initialization code to be more idiomatic.
8133 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
8134 (term-terminal-menu): Move initialization into declaration.
8135 (term-escape-char): Let the user set it in her .emacs.
8137 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
8138 Provide SMIE-based indentation (not enabled by default yet).
8139 (sh-mode-map): Don't bind electric keys.
8140 Use electric-pair-mode instead of skeleton-pair.
8141 (sh-assignment-regexp): Fit within 80 columns.
8142 (sh-indent-supported): Specify actual shell name instead of boolean.
8143 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
8144 (sh-maybe-here-document): Use it. Make obsolete.
8145 (sh-electric-here-document-mode) New minor mode.
8146 (sh-mode): Use it. Don't set sh-indent-supported-here here.
8147 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
8148 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
8149 (sh-smie-rc-grammar, sh-use-smie): New vars.
8150 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
8151 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
8152 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
8153 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
8154 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
8155 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
8156 (sh-set-shell): Use smie-setup if requested.
8158 * term.el (term-set-escape-char): Properly set term-escape-char.
8159 See http://stackoverflow.com/questions/10524656.
8161 2012-05-10 Chong Yidong <cyd@gnu.org>
8163 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
8164 Use url-generic-parse-url, and handle host names and Windows
8166 (ffap-url-unwrap-remote): Use url-generic-parse-url.
8167 (ffap-url-unwrap-remote): Accept list values, specifying a list of
8168 URL schemes to work on.
8169 (ffap--toggle-read-only): New function.
8170 (ffap-read-only, ffap-read-only-other-window)
8171 (ffap-read-only-other-frame): Use it.
8172 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
8173 necessary for ffap-url-unwrap-remote.
8175 2012-05-10 Dave Abrahams <dave@boostpro.com>
8177 * cus-start.el (create-lockfiles): Add it.
8179 2012-05-09 Chong Yidong <cyd@gnu.org>
8181 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
8182 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
8184 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8186 * shell.el (shell-completion-vars): Fix last change (bug#11348).
8188 2012-05-09 Chong Yidong <cyd@gnu.org>
8190 * ansi-color.el (ansi-color-process-output): Check for validity of
8191 comint-last-output-start before using it. This avoids a bad
8192 interaction with gdb-mi's input/output buffer.
8194 2012-05-09 Glenn Morris <rgm@gnu.org>
8196 * files.el (dir-locals-read-from-file):
8197 Mention dir-locals in any error message.
8199 2012-05-09 Chong Yidong <cyd@gnu.org>
8201 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
8202 package (Bug#11410).
8204 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
8205 variables into description.
8207 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8209 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
8210 shell-delimiter-argument-list (bug#11348).
8211 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
8213 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
8215 * textmodes/rst.el: Silence byte-compiler warnings.
8216 (rst-re-alist, rst-reset-section-caches): Move around.
8217 (rst-re): Use `characterp', not `char-valid-p'.
8218 (font-lock-beg, font-lock-end): Declare.
8220 * progmodes/idlw-shell.el (specs): Remove reference to deleted
8221 variable `idlwave-shell-activate-alt-keybindings' and simplify.
8223 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
8225 2012-05-08 Glenn Morris <rgm@gnu.org>
8227 * files.el (auto-mode-alist): Treat ".make" like ".mk".
8229 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8231 * vc/log-edit.el: Add GNU coding standards highlighting.
8232 (log-edit-font-lock-gnu-style)
8233 (log-edit-font-lock-gnu-keywords): New vars.
8234 (log-edit-font-lock-keywords): New fun.
8235 (log-edit-mode): Don't fold case in font-lock.
8236 (log-edit-font-lock-keywords): Do not assume case-folding.
8238 * imenu.el: Misc cleanup. Make docstrings out of comments.
8239 Use lexical-binding.
8240 (imenu--index-alist, imenu--last-menubar-index-alist)
8241 (imenu-menubar-modified-tick): Use defvar-local.
8242 (imenu--split-menu): Remove unused var.
8243 (imenu--cleanup-seen): Declare as global.
8244 (imenu--cleanup): Use dolist.
8246 * subr.el (defvar-local): Add debug spec and doc-string position.
8248 2012-05-08 Glenn Morris <rgm@gnu.org>
8250 * language/burmese.el, language/cham.el, language/czech.el:
8251 * language/english.el, language/georgian.el, language/greek.el:
8252 * language/japanese.el, language/khmer.el, language/korean.el:
8253 * language/lao.el, language/misc-lang.el, language/romanian.el:
8254 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
8255 * language/thai.el, language/utf-8-lang.el:
8256 Remove no-byte-compile setting.
8258 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
8260 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8262 * progmodes/make-mode.el (makefile-browse):
8263 Remove unnecessary interactive. (Bug#11324)
8265 2012-05-07 Glenn Morris <rgm@gnu.org>
8267 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
8269 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
8271 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8273 * loadup.el: Preload newcomment.el.
8274 * newcomment.el: Move autoload-only code to toplevel.
8276 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
8277 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8278 Handle new :right-align column property.
8279 (tabulated-list-print-col): Idem, plus use `display' text-property to
8280 try and preserve alignment for variable pitch fonts.
8282 2012-05-07 Chong Yidong <cyd@gnu.org>
8284 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
8285 (tabulated-list-use-header-line): New var.
8286 (tabulated-list-init-header): Use it.
8287 (tabulated-list-print-fake-header): New function.
8288 (tabulated-list-print): Use it.
8289 (tabulated-list-sort-button-map): Add non-header-line commands.
8290 (tabulated-list-init-header): Add column name property to basic
8292 (tabulated-list-col-sort): Handle non-header-line button case.
8293 (tabulated-list--sort-by-column-name): Fix a corner case.
8295 * buff-menu.el (list-buffers--refresh):
8296 Handle Buffer-menu-use-header-line.
8298 2012-05-06 Chong Yidong <cyd@gnu.org>
8300 * buff-menu.el: Convert to Tabulated List mode.
8301 (Buffer-menu-buffer+size-width): Make obsolete.
8302 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
8303 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
8304 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
8305 documentation into docstring of buffer-menu.
8306 (Buffer-menu-toggle-files-only): Add an informative message.
8307 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
8308 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
8309 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
8310 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
8311 (Buffer-menu-execute, Buffer-menu-select)
8312 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
8313 (Buffer-menu-bury): Use Tabulated List machinery.
8314 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
8315 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
8317 (list-buffers--refresh): New function.
8318 (list-buffers-noselect): Use it.
8319 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
8320 (Buffer-menu--pretty-file-name): New helper functions.
8322 * loadup.el: Preload tabulated-list.
8324 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
8325 tabulated-list-sort-column.
8326 (tabulated-list-init-header): Add the initial aligning space even
8327 if tabulated-list-padding is zero.
8329 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
8331 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
8332 whose cdr is not a cons cell correctly (bug#11038).
8334 2012-05-06 Chong Yidong <cyd@gnu.org>
8336 * emacs-lisp/tabulated-list.el (tabulated-list-format):
8337 Accept additional plist in column descriptors.
8338 (tabulated-list-init-header): Obey it.
8339 (tabulated-list-get-entry): New function.
8340 (tabulated-list-put-tag): Use it. Use string-width instead of
8342 (tabulated-list--column-number): New function.
8343 (tabulated-list-print): Use it.
8344 (tabulated-list-print-col): New function.
8345 Set `tabulated-list-column-name' property on each column's text.
8346 (tabulated-list-print-entry): Use it.
8347 (tabulated-list-delete-entry, tabulated-list-set-col):
8349 (tabulated-list-sort-column): New command (Bug#11337).
8351 * buff-menu.el (list-buffers): Move C-x C-b binding from
8352 buff-menu.el to bindings.el.
8354 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
8355 :advertised-binding feature.
8357 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
8359 * progmodes/compile.el (compilation-internal-error-properties):
8360 Calculate start position correctly when end-col is set but
8361 end-line is not (Bug#11382).
8363 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
8365 * man.el (Man-unindent): Use text-property-default-nonsticky to
8366 prevent untabify from inheriting face properties (Bug#11408).
8368 2012-05-05 Stefan Merten <smerten@oekonux.de>
8370 * textmodes/rst.el: Major merge with upstream development up to
8371 Docutils SVN r7399 / rst.el V1.2.1.
8373 Clarify maintainership and authors.
8375 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
8376 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
8377 (rst-official-version, rst-official-cvs-rev, rst-version)
8378 (rst-package-emacs-version-alist): New functions and variables
8379 for version information.
8381 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
8382 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
8383 (rst-mode-syntax-table, rst-mode): New and corrected functions
8384 and variables representing reStructuredText features.
8386 (rst-re): New function for reStructuredText regexes. Use in
8389 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
8390 (rst-mode-map): Rebind keys.
8392 (rst-mode-lazy, rst-font-lock-keywords)
8393 (rst-font-lock-extend-region)
8394 (rst-font-lock-extend-region-internal)
8395 (rst-font-lock-extend-region-extend)
8396 (rst-font-lock-find-unindented-line-limit)
8397 (rst-font-lock-find-unindented-line-match)
8398 (rst-adornment-level, rst-font-lock-adornment-level)
8399 (rst-font-lock-adornment-match)
8400 (rst-font-lock-handle-adornment-pre-match-form)
8401 (rst-font-lock-handle-adornment-matcher): Major revision of
8402 font-locking. Integrate with other code. Use `jit-lock-mode'.
8404 (rst-preferred-adornments, rst-adjust-hook)
8405 (rst-new-adornment-down, rst-preferred-bullets)
8406 (rst-preferred-bullets, rst-indent, rst-indent-width)
8407 (rst-indent-field, rst-indent-literal-normal)
8408 (rst-indent-literal-minimized, rst-indent-comment): Change,
8409 extend and improve customization.
8411 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
8412 (rst-normalize-cursor-position, rst-get-decoration)
8413 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
8414 (rst-rstrip, rst-toc-insert-find-delete-contents)
8415 (rst-shift-fill-region, rst-compute-bullet-tabs)
8416 (rst-debug-print-tabs, rst-debug-mark-found)
8417 (rst-shift-region-guts, rst-shift-region-right)
8418 (rst-shift-region-left, rst-use-char-classes)
8419 (rst-font-lock-keywords-function)
8420 (rst-font-lock-indentation-point)
8421 (rst-font-lock-find-unindented-line-begin)
8422 (rst-font-lock-find-unindented-line-end)
8423 (rst-font-lock-find-unindented-line)
8424 (rst-font-lock-adornment-point, rst-font-lock-level)
8425 (rst-adornment-level-alist): Remove functions and variables.
8427 (rst-compare-adornments, rst-get-adornment-match)
8428 (rst-suggest-new-adornment, rst-get-adornments-around)
8429 (rst-adornment-complete-p, rst-get-next-adornment)
8430 (rst-adjust-adornment, rst-display-adornments-hierarchy)
8431 (rst-straighten-adornments): Standardize function names to
8432 use "adornment" instead of "decoration". Correct callers.
8433 Similar standardizing in many places.
8435 (rst-update-section, rst-adjust, rst-promote-region)
8436 (rst-enumerate-region, rst-bullet-list-region)
8437 (rst-repeat-last-character): Correct use of `interactive'.
8439 (rst-classify-adornment, rst-find-all-adornments)
8440 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
8441 (rst-find-leftmost-column, rst-repeat-last-character):
8444 (rst-find-title-line, rst-reset-section-caches)
8445 (rst-get-adornments-around, rst-adjust-adornment-work)
8446 (rst-arabic-to-roman, rst-roman-to-arabic)
8447 (rst-insert-list-pos, rst-insert-list-new-item)
8448 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
8451 (rst-all-sections, rst-section-hierarchy)
8452 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
8455 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
8456 configuration instead of only buffer. Change where necessary.
8458 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
8459 (rst-shift-region, rst-adaptive-fill): New functions for
8460 indentation and filling.
8462 (rst-comment-line-break, rst-comment-indent)
8463 (rst-comment-insert-comment, rst-comment-region)
8464 (rst-uncomment-region): New functions for handling comments.
8466 (rst-compile): Quote shell arguments.
8468 (rst-compile-pdf-preview, rst-compile-slides-preview):
8469 Delete temporary files after use.
8471 2012-05-05 Glenn Morris <rgm@gnu.org>
8473 * calendar/cal-html.el: Optionally include holidays in the output.
8474 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
8475 (cal-html-holidays): New option.
8476 (cal-html-css-default): Add holiday entry.
8477 (holiday-in-range): Autoload it.
8478 (cal-html-htmlify-entry): Add optional class argument.
8479 (cal-html-htmlify-list): Add optional holidays argument.
8480 (cal-html-insert-agenda-days): Include holidays in the output.
8481 (cal-html-one-month): Maybe include holidays.
8483 * calendar/holidays.el (holiday-in-range):
8484 Move here from cal-tex-list-holidays.
8485 * calendar/cal-tex.el (cal-tex-list-holidays):
8486 Make it an obsolete alias for holiday-in-range. Update all callers.
8488 2012-05-05 Chong Yidong <cyd@gnu.org>
8490 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
8493 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
8495 * files.el (file-auto-mode-skip): New var.
8496 (set-auto-mode-1): Use it.
8498 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8500 * repeat.el: Use lexical-binding.
8501 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
8502 (repeat-undo-count): Remove.
8504 * progmodes/octave-mod.el (octave-abbrev-start):
8505 * progmodes/f90.el (f90-abbrev-start):
8506 * face-remap.el (text-scale-adjust):
8507 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
8509 * emacs-lisp/pcase.el (pcase--let*): New function.
8510 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
8512 (pcase--split-pred): Be more clever about ruling out overlap between
8513 a predicate and some constant pattern.
8514 (pcase--q1): Use `null' instead of (eq foo nil).
8516 * subr.el (setq-local, defvar-local): New macros.
8517 (kbd): Redefine as an alias.
8518 (with-selected-window): Leave unrelated frames alone.
8519 (set-temporary-overlay-map): New function.
8521 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8523 * subr.el (user-error): New function.
8524 * window.el (switch-to-buffer):
8525 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
8526 (smerge-match-conflict):
8527 * simple.el (previous-matching-history-element)
8528 (next-matching-history-element, goto-history-element, undo-more)
8530 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
8531 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
8532 (next-file, tags-loop-scan, list-tags, complete-tag):
8533 * progmodes/compile.el (compilation-loop):
8534 * mouse.el (mouse-minibuffer-check):
8535 * man.el (Man-bgproc-sentinel, Man-goto-page):
8536 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
8537 (Info-history-forward, Info-follow-reference, Info-menu)
8538 (Info-extract-menu-item, Info-extract-menu-counting)
8539 (Info-forward-node, Info-backward-node, Info-next-menu-item)
8540 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
8541 (Info-next-reference, Info-prev-reference, Info-index)
8542 (Info-index-next, Info-follow-nearest-node)
8543 (Info-copy-current-node-name):
8544 * imenu.el (imenu--make-index-alist)
8545 (imenu-default-create-index-function, imenu-add-to-menubar):
8546 * files.el (basic-save-buffer, recover-file):
8547 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
8548 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
8549 (checkdoc-message-text, checkdoc-defun):
8550 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
8551 * cus-edit.el (customize-changed-options, customize-rogue)
8552 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
8553 (custom-variable-mark-to-reset-standard)
8554 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
8556 * completion.el (check-completion-length):
8557 * comint.el (comint-search-arg)
8558 (comint-previous-matching-input-string-position)
8559 (comint-previous-matching-input)
8560 (comint-replace-by-expanded-history-before-point, comint-send-input)
8561 (comint-copy-old-input, comint-backward-matching-input)
8562 (comint-goto-process-mark, comint-set-process-mark):
8563 * calendar/calendar.el (calendar-cursor-to-date): Use it.
8564 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
8566 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8568 * dabbrev.el (dabbrev--ignore-case-p): New function.
8569 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
8572 * files.el (automount-dir-prefix): Mark as obsolete.
8574 2012-05-04 Glenn Morris <rgm@gnu.org>
8576 * patcomp.el, play/bruce.el: Move to obsolete/.
8578 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
8580 Fix minor Y10k bugs.
8581 * arc-mode.el (archive-unixdate):
8582 * autoinsert.el (auto-insert-alist):
8583 * calc/calc-forms.el (math-this-year):
8584 * emacs-lisp/copyright.el (copyright-current-year)
8585 (copyright-update-year, copyright):
8586 * tar-mode.el (tar-clip-time-string):
8587 * time.el (display-time-update):
8588 Don't assume years have 4 digits.
8590 2012-05-04 Chong Yidong <cyd@gnu.org>
8592 * dos-w32.el (file-name-buffer-file-type-alist)
8593 (direct-print-region-use-command-dot-com):
8594 * ffap.el (ffap-menu-regexp):
8595 * find-file.el (ff-special-constructs):
8596 * follow.el (follow-debug):
8597 * forms.el (forms--debug):
8598 * iswitchb.el (iswitchb-all-frames):
8599 * ido.el (ido-all-frames):
8600 * emacs-lisp/timer.el (timer-max-repeats):
8601 * mail/feedmail.el (feedmail-mail-send-hook)
8602 (feedmail-mail-send-hook-queued):
8603 * mail/footnote.el (footnote-signature-separator):
8604 * mail/mailabbrev.el (mail-alias-separator-string)
8605 (mail-abbrev-mode-regexp):
8606 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
8607 * progmodes/idlwave.el (idlwave-libinfo-file)
8608 (idlwave-default-completion-case-is-down)
8609 (idlwave-library-routines): Convert defvars to defcustoms.
8611 * mail/rmail.el (rmail-decode-mime-charset):
8612 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
8613 (idlwave-shell-fix-inserted-breaks)
8614 (idlwave-shell-activate-alt-keybindings)
8615 (idlwave-shell-use-breakpoint-glyph):
8616 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
8618 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8620 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
8622 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
8624 * progmodes/verilog-mode.el (font-lock-keywords):
8625 Fix mis-highligting auto. Reported by Craig Barner.
8626 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
8627 defines from global name space. Reported by Dan Dever.
8628 (verilog-auto-reset, verilog-auto-reset-widths)
8629 (verilog-auto-tieoff): Support using unbased numbers for
8630 AUTORESET and AUTOTIEOFF.
8631 (verilog-submit-bug-report): Update variable list.
8632 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
8633 parenthesis from not matching. Reported by Michael Rytting.
8634 (verilog-auto-template-lint): Fix hash error when linting modules
8635 with no used templates.
8636 (verilog-warn, verilog-warn-error)
8637 (verilog-warn-fatal): When non-interactive report multiple
8638 warnings before exiting. Suggested by Brad Dobbie.
8639 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
8640 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
8641 to report unused template errors. Reported by Brad Dobbie.
8642 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
8643 nets, bug438. Reported by Vns Blore.
8644 (verilog-auto-inout-module, verilog-auto-reg)
8645 (verilog-read-decls, verilog-read-sub-decls-sig)
8646 (verilog-signals-edit-wire-reg, verilog-signals-with):
8647 Fix passing of Verilog data types in ANSI input/output ports
8648 such as "output logic" into the AUTOs. Special case "wire" and
8649 "reg" for backwards compatibility presuming Verilog 2001.
8650 (verilog-auto-ascii-enum): Add "auto enum" as alias.
8651 (verilog-preprocess): Fix replication of preprocess output.
8652 Reported by Brad Dobbie.
8653 (verilog-auto-inst-interfaced-ports):
8654 Create verilog-auto-inst-interfaced-ports, bug429.
8655 Reported by Julian Gorfajn.
8656 (verilog-after-save-font-hook)
8657 (verilog-before-save-font-hook): New variable.
8658 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
8659 (verilog-save-font-mods): Wrap disabling fontification, reported
8661 (verilog-do-indent, verilog-pretty-declarations-auto)
8662 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
8663 Reported by Pierre-David Pfister.
8664 (verilog-set-auto-endcomments): Fix endtask auto comments outside
8665 of class declarations, bug292. Reported by Kevin Heilman.
8666 (verilog-read-decls): Fix 'parameter type' not appearing in
8667 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
8668 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
8669 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
8670 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
8671 Reported by David Kravitz.
8673 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
8675 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
8676 assignment with tests in ifs and for loops.
8677 (verilog-extended-complete-re, verilog-complete-reg): Change so
8678 that DPI inport functions don't look like fuction declarations.
8679 (verilog-pretty-expr): Don't line up assignment
8680 operations to the test and increment in if and for loops
8681 (verilog-extended-complete-re, verilog-complete-reg): Change so
8682 that DPI inport functions don't look like fuction declarations.
8684 2012-05-03 Kenichi Handa <handa@m17n.org>
8686 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
8687 decoding, and show a warning message without signaling an error
8690 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8692 * emacs-lisp/bytecomp.el
8693 (byte-compile-file-form-custom-declare-variable): Compile all elements,
8694 since cconv.el might have introduced :fun-body, internal-make-closure,
8695 and friends for bytecomp to handle (bug#11391).
8696 * custom.el (defcustom): Avoid ((λ ..) ..).
8698 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
8700 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
8702 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
8704 * notifications.el (dbus-debug):
8705 * term/linux.el (gpm-mouse-enable):
8706 * term/screen.el (xterm-register-default-colors): Declare.
8708 2012-05-02 Chong Yidong <cyd@gnu.org>
8710 * cus-start.el (gc-cons-percentage, exec-suffixes)
8711 (dos-display-scancodes, dos-hyper-key, dos-super-key)
8712 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
8713 (make-cursor-line-fully-visible, void-text-area-pointer)
8714 (font-list-limit): Add customization data.
8716 * allout.el (allout-exposure-change-functions)
8717 (allout-structure-added-functions)
8718 (allout-structure-deleted-functions)
8719 (allout-structure-shifted-functions): Rename abnormal hooks from
8720 *-hook, and convert to defcustoms.
8721 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
8722 Convert to defcustoms.
8723 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
8725 * allout-widgets.el: Hook callers changed.
8727 2012-05-02 Eli Zaretskii <eliz@gnu.org>
8729 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
8730 the yanked message in preference to the default value of
8731 buffer-file-coding-system.
8733 2012-05-02 Martin Rudalics <rudalics@gmx.at>
8735 * window.el (display-buffer--action-function-custom-type):
8738 2012-05-02 Alan Mackenzie <acm@muc.de>
8740 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
8742 2012-05-01 Glenn Morris <rgm@gnu.org>
8744 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
8746 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
8748 * cus-edit.el (custom-variable-documentation): Simplify with format.
8750 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8751 Stefan Monnier <monnier@iro.umontreal.ca>
8753 * simple.el (suggest-key-bindings, execute-extended-command):
8754 Move from keyboard.c.
8756 2012-05-01 Chong Yidong <cyd@gnu.org>
8758 * follow.el: Eliminate advice.
8759 (set-process-filter, process-filter, sit-for): Advice deleted.
8760 (follow-mode-off-hook): Obsolete hook removed.
8761 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
8763 (follow-auto): Use a :set function.
8764 (follow-mode): Rewritten. Don't advise process filters.
8765 (follow-switch-to-current-buffer-all, follow-scroll-up)
8766 (follow-scroll-down): Assume follow-mode is bound.
8767 (follow-comint-scroll-to-bottom)
8768 (follow-align-compilation-windows): New functions.
8769 (follow--window-sorter): New function.
8770 (follow-all-followers): Use it to explicitly sort windows by their
8771 positions; don't make assumptions about next-window order.
8772 (follow-windows-start-end, follow-delete-other-windows-and-split)
8773 (follow-calc-win-start): Doc fix.
8774 (follow-windows-aligned-p, follow-select-if-visible): Don't call
8775 vertical-motion unnecessarily.
8776 (follow-adjust-window): New function.
8777 (follow-post-command-hook): Use it.
8778 (follow-call-set-process-filter, follow-call-process-filter)
8779 (follow-intercept-process-output, follow-tidy-process-filter-alist)
8780 (follow-stop-intercept-process-output, follow-generic-filter):
8782 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
8783 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
8784 New functions, replacing advice on scroll-bar-* commands.
8785 (follow-mwheel-scroll): New function (Bug#4112).
8787 * comint.el (comint-adjust-point): New function.
8788 (comint-postoutput-scroll-to-bottom): Use it.
8789 Call follow-comint-scroll-to-bottom for Follow mode buffers.
8791 2012-05-01 Glenn Morris <rgm@gnu.org>
8793 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
8794 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
8795 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
8796 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
8797 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
8798 Remove no-byte-compile setting.
8800 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
8802 * minibuffer.el (completion-table-with-quoting): Fix compatibility
8803 all-completions code to not return a number in the last cdr.
8805 2012-04-30 Leo Liu <sdl.web@gmail.com>
8807 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
8810 2012-04-29 Chong Yidong <cyd@gnu.org>
8812 * follow.el (follow-calc-win-end): Rewrite to handle partial
8813 screen lines correctly (Bug#8390).
8814 (follow-avoid-tail-recenter): Minor cleanup.
8816 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8818 Avoid the obsolete `assoc' package.
8819 * speedbar.el (speedbar-refresh): Avoid adelete.
8820 (speedbar-file-lists): Simplify and avoid aput.
8821 * man.el (Man--sections, Man--refpages): New vars, replacing
8822 Man-sections-alist and Man-refpages-alist.
8823 (Man-build-section-alist, Man-build-references-alist):
8824 Use them; avoid aput.
8825 (Man--last-section, Man--last-refpage): New vars.
8826 (Man-follow-manual-reference): Use them.
8827 Use the `default' arg of completing-read.
8828 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
8830 2012-04-27 Chong Yidong <cyd@gnu.org>
8832 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
8834 * startup.el (x-apply-session-resources): New function.
8836 * term/ns-win.el (ns-initialize-window-system):
8837 * term/w32-win.el (w32-initialize-window-system):
8838 * term/x-win.el (x-initialize-window-system): Use it to properly
8839 set menu-bar-mode and other vars from X resources, even if the
8840 initial frame is not a window-system frame (Bug#2299).
8842 * subr.el (read-key): Avoid running filter function when setting
8843 up temporary tool bar entries (Bug#9922).
8845 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
8847 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
8850 2012-04-27 Chong Yidong <cyd@gnu.org>
8852 * select.el (xselect--encode-string): New function, split from
8853 xselect-convert-to-string.
8854 (xselect-convert-to-string): Use it.
8855 (xselect-convert-to-filename, xselect-convert-to-os)
8856 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
8857 returned strings are properly encoded (Bug#11315).
8859 2012-04-27 Chong Yidong <cyd@gnu.org>
8861 * simple.el (delete-active-region): Move to killing custom group.
8863 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
8865 * progmodes/which-func.el (which-func-current): Quote %
8866 characters for mode-line processing.
8868 2012-04-27 Chong Yidong <cyd@gnu.org>
8870 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
8871 reaching eob (Bug#11286).
8873 2012-04-27 Eli Zaretskii <eliz@gnu.org>
8875 * progmodes/gdb-mi.el (gdb-control-level): New variable.
8876 (gdb): Make it buffer-local and init to zero.
8877 (gdb-control-commands-regexp): New variable.
8878 (gdb-send): Don't wrap in "-interpreter-exec console" if
8879 gdb-control-level is positive. Increment gdb-control-level
8880 whenever the command matches gdb-control-commands-regexp, and
8881 decrement it each time the command is "end". (Bug#11279)
8883 2012-04-27 Martin Rudalics <rudalics@gmx.at>
8885 * window.el (adjust-window-trailing-edge, enlarge-window)
8886 (shrink-window, window-resize):
8887 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
8888 windows (Bug#11276).
8890 2012-04-27 Chong Yidong <cyd@gnu.org>
8892 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
8893 fix "missing prefix" warning. All callers changed.
8895 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8897 * emacs-lisp/assoc.el: Move to obsolete/.
8899 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8901 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
8903 * term/ns-win.el (ns-define-service):
8904 * progmodes/pascal.el (pascal-goto-defun):
8905 * progmodes/js.el (js--read-tab):
8906 * progmodes/etags.el (tags-lazy-completion-table):
8907 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
8908 * emacs-lisp/ewoc.el (ewoc--wrap):
8909 * emacs-lisp/assoc.el (aput, adelete, amake):
8910 * doc-view.el (doc-view-convert-current-doc):
8911 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
8913 2012-04-26 Chong Yidong <cyd@gnu.org>
8915 * image.el (image-type-from-buffer): Only return supported image
8918 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
8919 value, for symmetry with diff-end-of-hunk.
8920 (diff-split-hunk, diff-find-source-location)
8921 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
8922 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
8923 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
8924 compute the relevant hunk or file properly (Bug#6005).
8925 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
8927 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8936 * vc/vc.el: Replace lexical-let by lexical-binding.
8937 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
8938 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
8939 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
8941 2012-04-26 Chong Yidong <cyd@gnu.org>
8943 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
8944 (diff-mode-shared-map): Bind it to / and [remap undo].
8946 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
8947 (ediff-window-setup-function): Use it as the default, to set up
8948 windows based on whether the current frame is graphical (Bug#2138).
8949 (ediff-choose-window-setup-function-automatically): Make obsolete.
8951 * vc/ediff-init.el: Always define ediff-pixel-width/height.
8953 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8955 * ffap.el: Remove old code for obsolete package.
8956 (ffap-complete-as-file-p): Remove.
8958 Use completion-table-with-quoting for comint and pcomplete.
8959 * comint.el (comint--unquote&requote-argument)
8960 (comint--unquote-argument, comint--requote-argument): New functions.
8961 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
8962 (comint-quote-filename): Use regexp-opt-charset.
8963 (comint--common-suffix, comint--common-quoted-suffix)
8964 (comint--table-subvert): Remove.
8965 (comint-unquote-function, comint-requote-function): New vars.
8966 (comint--complete-file-name-data): Use them with
8967 completion-table-with-quoting.
8968 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
8969 * pcomplete.el (pcomplete-arg-quote-list)
8970 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
8971 (pcomplete-unquote-argument-function): Default to non-nil.
8972 (pcomplete-unquote-argument): Simplify.
8973 (pcomplete--common-quoted-suffix): Remove.
8974 (pcomplete-requote-argument-function): New var.
8975 (pcomplete--common-suffix): New function.
8976 (pcomplete-completions-at-point): Use completion-table-with-quoting
8977 and completion-table-subvert.
8979 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
8980 (minibuffer--double-dollars): Preserve properties.
8981 (completion--sifn-requote): New function.
8982 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
8984 * minibuffer.el: Add support for completion of quoted/escaped data.
8985 (completion-table-with-quoting, completion-table-subvert): New funs.
8986 (completion--twq-try, completion--twq-all): New functions.
8987 (completion--nth-completion): New function.
8988 (completion-try-completion, completion-all-completions): Use it.
8990 2012-04-25 Leo Liu <sdl.web@gmail.com>
8992 * progmodes/python.el (python-pdbtrack-get-source-buffer):
8993 Use compilation-message if available to find real filename.
8995 2012-04-25 Chong Yidong <cyd@gnu.org>
8997 * vc/diff-mode.el (diff-setup-whitespace): New function.
8998 (diff-mode): Use it.
9000 * vc/diff.el (diff-sentinel):
9001 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
9002 Whitespace mode variables based on diff style (Bug#8612).
9004 2012-04-25 Leo Liu <sdl.web@gmail.com>
9006 * progmodes/python.el (python-send-region): Add suffix .py to the
9009 * files.el (auto-mode-alist): Use javascript-mode instead.
9011 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
9013 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
9015 * net/soap-client.el (soap-resolve-references-for-sequence-type)
9016 (soap-resolve-references-for-array-type): Hack to prevent self
9017 references, see Bug#9.
9018 (soap-parse-envelope): Report the contents of the 'detail' node
9019 when receiving a fault reply.
9020 (soap-parse-envelope): Report the contents of the entire 'detail' node.
9022 * net/soap-inspect.el (soap-sample-value-for-simple-type)
9023 (soap-inspect-simple-type): New function.
9025 * net/soap-client.el (soap-simple-type): New struct.
9026 (soap-default-xsd-types, soap-default-soapenc-types)
9027 (soap-decode-basic-type, soap-encode-basic-type):
9028 support unsignedInt and double basic types.
9029 (soap-resolve-references-for-simple-type)
9030 (soap-parse-simple-type, soap-encode-simple-type): New function.
9031 (soap-parse-schema): Parse xsd:simpleType declarations.
9033 * net/soap-client.el (soap-default-xsd-types)
9034 (soap-default-soapenc-types): Add integer, byte and anyURI types.
9035 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
9036 the local name of "soapenc:Array".
9037 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
9038 decoding integer, byte and anyURI xsd types.
9040 2012-04-25 Chong Yidong <cyd@gnu.org>
9042 * cus-edit.el (custom-buffer-create-internal): Update header text.
9044 2012-04-25 Eli Zaretskii <eliz@gnu.org>
9046 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
9047 settings on 'system-type', not on 'window-system'. On MS-Windows,
9048 set interactive-mode on in GDB.
9050 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9052 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
9053 (ruby-syntax-propertize-regexp): Remove.
9054 (ruby-syntax-propertize-function): Split regexp into chunks.
9055 Match following code directly.
9057 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
9059 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
9060 (ruby-syntax-propertize-regexp): New function.
9061 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
9062 by a special keyword.
9064 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
9065 (ruby-syntax-general-delimiters-goto-beg)
9066 (ruby-syntax-propertize-general-delimiters): New functions.
9067 (ruby-syntax-propertize-function): Use them to handle GDL.
9068 (ruby-font-lock-keywords): Move old handling of GDL...
9069 (ruby-font-lock-syntactic-keywords): .. to here.
9070 (ruby-calculate-indent): Adjust indentation for GDL.
9072 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
9074 * notifications.el (top): Remove unneeded declarations.
9075 (notifications-specification-version): Change to "1.2".
9076 (notifications-interface, notifications-notify-method)
9077 (notifications-close-notification-method): Fix docstring.
9078 (notifications-get-capabilities-method): New defconst.
9079 (notifications-notify): Add :action-items, :resident and
9080 :transient hints. Change "image_data" to "image-data" and
9081 "image_path" to "image-path".
9082 (notifications-get-capabilities): New defun.
9084 2012-04-24 Leo Liu <sdl.web@gmail.com>
9086 * progmodes/python.el: Move hideshow setup to the end.
9088 2012-04-24 Martin Rudalics <rudalics@gmx.at>
9090 * window.el (handle-select-window): Clear echo area since this is
9091 no more done by read_char (Bug#11304).
9093 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9095 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
9096 and `/ M' to filter-derived-mode.
9097 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
9098 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
9099 (ibuffer-mark-by-mode): Use default rather than initial-input.
9100 (ibuffer-filter-by-derived-mode): Autoload and require-match.
9102 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
9104 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
9105 (ibuffer-filter-by-derived-mode): New filter.
9106 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
9108 2012-04-23 Andreas Politz <politza@fh-trier.de>
9110 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
9112 2012-04-23 Chong Yidong <cyd@gnu.org>
9114 * cus-edit.el (customize-apropos, customize-apropos-options):
9115 Disable matching of non-option variables (Bug#11176).
9116 (customize-option, customize-option-other-window)
9117 (customize-changed-options): Doc fix.
9118 (customize-apropos-options, customize-apropos-faces)
9119 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
9121 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
9122 Fix word list splitting (Bug#11132).
9123 (apropos-symbol, apropos-keybinding, apropos-label)
9124 (apropos-property, apropos-function-button)
9125 (apropos-variable-button, apropos-misc-button): New faces.
9126 (apropos-symbol-face, apropos-keybinding-face)
9127 (apropos-label-face, apropos-property-face, apropos-match-face):
9128 Variables removed (Bug#8396).
9129 (apropos-library-button, apropos-format-plist, apropos-print)
9130 (apropos-print-doc, apropos-describe-plist): Callers changed.
9132 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
9134 * net/xesam.el (xesam-mode-map): Use let-bound map in
9135 initialization. (Bug#11292)
9137 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9139 Preserve ispell session localwords when switching back to
9142 * textmodes/ispell.el (ispell-buffer-session-localwords):
9143 New buffer-local variable to hold buffer session localwords.
9144 (ispell-kill-ispell): Add option 'clear to delete session
9146 (ispell-command-loop, ispell-change-dictionary)
9147 (ispell-buffer-local-words): Preserve session localwords when
9150 * textmodes/flyspell.el (flyspell-process-localwords)
9151 (flyspell-do-correct): Preserve session localwords when needed.
9153 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9155 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
9156 using obsolete `translation-table-for-input'.
9157 (ispell-word, ispell-process-line, ispell-complete-word):
9158 Use plain `insert' instead of removed `ispell-insert-word'.
9160 2012-04-22 Chong Yidong <cyd@gnu.org>
9162 * cus-edit.el (custom-variable-menu)
9163 (custom-variable-reset-saved, custom-face-menu)
9164 (custom-face-reset-saved): If there is no saved value, make the
9165 "reset-saved" operation bring back the default (Bug#9509).
9166 (custom-face-state): Properly detect themed faces.
9168 * faces.el (face-spec-set): Stop supporting deprecated form of
9171 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
9173 Move functions from C to Lisp. Make non-blocking method calls
9174 the default. Implement further D-Bus standard interfaces.
9176 * net/dbus.el (dbus-message-internal): Declare function.
9177 Remove unneeded function declarations.
9178 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
9179 (dbus-message-type-method-return, dbus-message-type-error)
9180 (dbus-message-type-signal): Declare variables. Remove local
9182 (dbus-interface-dbus, dbus-interface-peer)
9183 (dbus-interface-introspectable, dbus-interface-properties)
9184 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
9186 (dbus-interface-objectmanager): New defconst.
9187 (dbus-call-method, dbus-call-method-asynchronously)
9188 (dbus-send-signal, dbus-method-return-internal)
9189 (dbus-method-error-internal, dbus-register-service)
9190 (dbus-register-signal, dbus-register-method): New defuns, moved
9192 (dbus-call-method-handler, dbus-setenv)
9193 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
9195 (dbus-call-method-non-blocking): Make it an obsolete function.
9196 (dbus-unregister-object, dbus-unregister-service)
9197 (dbus-handle-event, dbus-register-property)
9198 (dbus-property-handler): Obey the new structure of
9199 `bus-registered-objects'.
9200 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
9201 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
9202 Use `dbus-call-method'.
9204 2012-04-22 Chong Yidong <cyd@gnu.org>
9206 * cus-edit.el (custom-commands, custom-reset-menu)
9207 (Custom-reset-standard): Tweak labels.
9208 (custom-reset-button-menu): Change default to t.
9209 (custom-buffer-create-internal): For the custom-reset-button-menu
9210 case, put the revert button first.
9211 (custom-group-subtitle): New face.
9212 (custom-group-value-create): Align docstring to a specific column.
9214 * wid-edit.el (widget-documentation-link-add): Don't handle
9215 indentation in this function.
9216 (widget-documentation-string-indent-to): New function.
9217 (widget-documentation-string-value-create): Use it.
9219 * autorevert.el (auto-revert):
9220 * epg-config.el (epg):
9221 * ibuffer.el (ibuffer):
9224 * eshell/eshell.el (eshell):
9225 * net/ange-ftp.el (ange-ftp):
9226 * progmodes/ebnf2ps.el (postscript):
9227 * progmodes/flymake.el (flymake):
9228 * progmodes/prolog.el (prolog):
9229 * progmodes/verilog-mode.el (verilog-mode):
9230 * progmodes/which-func.el (which-func):
9231 * term/xterm.el (xterm):
9232 * textmodes/picture.el (picture):
9233 * textmodes/tildify.el (tildify):
9234 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
9235 customization buffers.
9237 2012-04-22 Alan Mackenzie <acm@muc.de>
9239 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
9240 Adding a ) can hide the resulting (..) from searches. Fix it.
9241 Bound the backward search to the position of the existing (.
9243 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
9245 * progmodes/verilog-mode.el (verilog-mode): Check whether
9246 which-func-modes is t before adding verilog-mode.
9247 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
9249 2012-04-21 Leo Liu <sdl.web@gmail.com>
9251 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
9253 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
9255 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
9256 filling of the last column of a table (Bug#5635).
9257 (woman-find-next-control-line): New arg, specifying an additional
9258 regexp component for the control line.
9259 (woman2-roff-buffer): Use it.
9260 (woman-break-table): New function.
9261 (woman2-TS): Use it.
9263 2012-04-21 Chong Yidong <cyd@gnu.org>
9265 * woman.el (woman-set-buffer-display-table, woman-decode-region)
9266 (woman-horizontal-escapes, woman-negative-vertical-space)
9267 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
9268 (WoMan-warn-ignored): Use ?\s instead of ?\ .
9270 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9272 * minibuffer.el (completion-file-name-table): Complete user names.
9274 2012-04-20 Leo Liu <sdl.web@gmail.com>
9276 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
9279 2012-04-20 Chong Yidong <cyd@gnu.org>
9281 * server.el (server-execute): Respect initial-buffer-choice if it
9282 is a string and there are no files to open (Bug#2825).
9283 (server-create-window-system-frame, server-create-tty-frame):
9284 Don't switch buffers here.
9285 (server-process-filter): Only try to open a window system frame if
9286 compiled with graphical support (Bug#8314).
9288 2012-04-20 Dan Nicolaescu <dann@gnu.org>
9290 * battery.el (battery-echo-area-format): Display remaining time
9291 for sysfs backend too (Bug#11269).
9292 (battery-linux-sysfs): Fix conditional for the charge.
9294 2012-04-20 Chong Yidong <cyd@gnu.org>
9296 * progmodes/gdb-mi.el (gdb): Revert previous change.
9297 (gdb-inferior-io--init-proc): New function.
9298 (gdb-init-1): Use it.
9299 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
9300 responsible for allocating a new pty and hooking it to gdb when
9301 the old pty gets an EIO due to process exit.
9302 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
9303 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
9304 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
9306 2012-04-20 Eli Zaretskii <eliz@gnu.org>
9308 * window.el (window-min-size, window-sizable, window-min-delta)
9309 (window-max-delta, window--resizable, window-resizable)
9310 (window-total-size, window-full-height-p, window-full-width-p)
9311 (window-in-direction, window--resize-mini-window, window-resize)
9312 (window--resize-child-windows-normal)
9313 (window--resize-child-windows, window--resize-siblings)
9314 (window--resize-this-window, adjust-window-trailing-edge)
9315 (enlarge-window, shrink-window): Doc fixes.
9317 2012-04-20 Chong Yidong <cyd@gnu.org>
9319 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
9320 New function to call delete-process on the gdb-inferior buffer's pty.
9321 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
9322 pty process (Bug#11273).
9323 (gdb-update): New arg to suppress talking to the gdb process.
9324 (gdb-done-or-error): Use it.
9325 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
9326 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
9327 sentinel not being called.
9329 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
9331 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
9333 2012-04-20 Glenn Morris <rgm@gnu.org>
9335 * net/network-stream.el (open-network-stream): Doc fix.
9337 2012-04-20 Chong Yidong <cyd@gnu.org>
9339 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
9341 2012-04-20 Alan Mackenzie <acm@muc.de>
9343 Ensure searching for keywords is case sensitive.
9345 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
9346 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
9347 (c-defun-name, c-mark-function, c-cpp-define-name)
9348 (c-comment-indent, c-scan-conditionals, c-indent-defun)
9349 (c-context-line-break): Bind case-fold-search to nil.
9351 * progmodes/cc-mode.el (c-font-lock-fontify-region):
9352 Bind case-fold-search to nil.
9354 2012-04-20 Chong Yidong <cyd@gnu.org>
9356 * mail/sendmail.el (mail-bury): Call return action with the right
9357 Rmail buffer (Bug#11242).
9359 * server.el (server-process-filter): Handle corner case where both
9360 tty and nowait options are present (Bug#11102).
9362 2012-04-20 Eli Zaretskii <eliz@gnu.org>
9364 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
9365 (top level): Put into the executable the ident-style '$Id:' tag on
9368 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9370 * electric.el (electric-indent-post-self-insert-function): Check that
9371 electric-indent-mode is enabled in current buffer.
9373 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
9375 * imenu.el (imenu-progress-message): Restore; it is "used" in
9376 erc/erc-imenu.el and net/snmp-mode.el.
9378 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
9380 * avoid.el (mouse-avoidance-mode): Mark unused arg.
9381 (mouse-avoidance-nudge-mouse): Remove unused binding.
9383 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
9385 * descr-text.el (describe-char):
9386 * progmodes/python.el (python-describe-symbol):
9387 Don't call `toggle-read-only', set `buffer-read-only'.
9389 * imenu.el (imenu-default-goto-function): Mark unused args.
9390 (imenu-progress-message): Remove obsolete macro; all callers changed.
9392 * subr.el (keymap-canonicalize): Remove unused binding.
9393 (read-passwd): Mark unused arg.
9395 * tutorial.el (tutorial--display-changes): Remove unused binding.
9396 (tutorial--save-tutorial-to): Remove unused variable.
9398 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
9399 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
9400 (package-generate-autoloads, package-menu--generate)
9401 (package-menu--find-upgrades): Remove unused bindings.
9403 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
9404 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
9405 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
9406 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
9407 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
9408 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
9409 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
9410 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
9411 (cua-delete-char-rectangle): Mark unused args.
9412 (cua-align-rectangle): Remove unused binding.
9414 * mail/rmail.el (compilation--message->loc)
9415 (epa--find-coding-system-for-mime-charset): Declare.
9417 * net/dbus.el (dbus-register-service): Declare.
9418 (dbus-name-owner-changed-handler): Remove unused binding.
9420 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
9421 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
9422 (nxml-scan-backward-within): Mark unused arg.
9423 (nxml-dynamic-markup-word): Remove unused binding.
9425 * mouse.el (mouse-menu-major-mode-map):
9426 * emacs-lisp/authors.el (authors-scan-change-log)
9427 (authors-add-to-author-list):
9428 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
9429 * emacs-lisp/smie.el (smie-auto-fill):
9430 * mail/sendmail.el (mail-bury):
9431 * mail/unrmail.el (unrmail):
9432 * net/tls.el (open-tls-stream):
9433 * textmodes/picture.el (picture-mouse-set-point):
9434 Remove unused bindings.
9436 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
9438 * net/tramp.el (tramp-action-password): Let-bind
9439 `enable-recursive-minibuffers' to t.
9441 2012-04-18 Sam Steingold <sds@gnu.org>
9443 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
9444 instead of 'string to accommodate values like [f11].
9445 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
9446 * progmodes/gdb-mi.el: Likewise.
9448 2012-04-18 Leo Liu <sdl.web@gmail.com>
9450 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
9452 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
9455 2012-04-18 Chong Yidong <cyd@gnu.org>
9457 * simple.el (line-move): Use forward-line if in batch mode
9460 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
9462 * files.el (after-find-file): Do not try to add a final newline if
9463 the buffer is read-only (Bug#11156).
9465 2012-04-17 Richard Stallman <rms@gnu.org>
9467 * mail/rmail.el (rmail-start-mail):
9468 Pass (rmail-mail-return...) for the return-action.
9469 Pass (rmail-yank-current-message...) for the yank-action.
9470 (rmail-yank-current-message): New function.
9471 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
9472 (rmail-reply): Likewise.
9473 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
9475 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
9476 buffer, not the last. Reject temp buffers. Use the rmail-mode
9479 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
9481 * server.el (server-ensure-safe-dir): Simplify.
9483 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9485 * emacs-lisp/smie.el: Provide smarter auto-filling.
9486 (smie-auto-fill): New function.
9487 (smie-setup): Use it.
9489 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
9491 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
9493 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
9494 (comment-indent): Use it.
9496 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
9498 * ses.el: The overall change is to add cell renaming, that is
9499 setting fancy names for cell symbols other than name matching
9500 "\\`[A-Z]+[0-9]+\\'" regexp .
9501 (ses-localvars): Add ses--renamed-cell-symb-list.
9502 (ses-create-cell-variable): New defun.
9503 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
9504 (ses-relocate-formula): Relocate formulas only for cells the
9505 symbols of which are not renamed, i.e. symbols whose names do not
9506 match regexp "\\`[A-Z]+[0-9]+\\'".
9507 (ses-relocate-all): Relocate values only for cells the symbols of
9508 which are not renamed.
9509 (ses-load): Create cells variables as the (ses-cell ...) are read,
9510 in order to check row col consistency with cell symbol name only
9511 for cells that are not renamed.
9512 (ses-replace-name-in-formula): New defun.
9513 (ses-rename-cell): New defun.
9515 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
9517 * progmodes/perl-mode.el (perl-indent-parens-as-block):
9518 New option (bug#11118).
9519 (perl-calculate-indent): Respect it.
9521 2012-04-17 Glenn Morris <rgm@gnu.org>
9523 * dired-aux.el (dired-mark-read-string): Doc fix.
9525 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
9527 * dired-aux.el (dired-mark-read-string): Offer optional completion.
9528 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
9530 2012-04-17 Glenn Morris <rgm@gnu.org>
9532 * mouse.el (mouse-drag-track):
9533 * speedbar.el (speedbar-frame-mode):
9534 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
9536 2012-04-16 Leo Liu <sdl.web@gmail.com>
9538 * progmodes/python.el: Trivial cleanup.
9540 2012-04-16 Glenn Morris <rgm@gnu.org>
9542 * vc/vc.el (vc-string-prefix-p):
9543 * vc/pcvs-util.el (cvs-string-prefix-p):
9544 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
9545 * mpc.el (mpc-string-prefix-p):
9546 Make all of these into obsolete aliases for string-prefix-p.
9548 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
9550 * textmodes/two-column.el: Move custom options to the start.
9551 (frame-width): Remove compat definition.
9552 (2C-associate-buffer, 2C-dissociate):
9553 Use with-current-buffer rather than save-excursion.
9554 (2C-dissociate): Force a mode-line update.
9555 (2C-autoscroll): Use ignore-errors.
9557 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
9560 * emacs-lisp/cl-extra.el (*random-state*):
9561 Remove unnecessary declaration.
9563 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
9565 * play/cookie1.el (cookie-snarf):
9566 Give an explicit error if input file cannot be read.
9568 * play/yow.el (yow-file): Use expand-file-name rather than concat.
9570 * progmodes/perl-mode.el (c-macro-expand):
9571 Remove unnecessary autoload (it is in loaddefs.el).
9573 * textmodes/picture.el (picture-desired-column)
9574 (picture-update-desired-column): Convert comments to doc-strings.
9575 (picture-substitute): Remove function.
9576 (picture-mode-map): Initialize in the defvar.
9578 * woman.el: Remove eval-after-load for tar-mode.
9579 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
9580 (woman-tar-extract-file): Autoload it.
9582 * frame.el (automatic-hscrolling): Make this alias obsolete.
9584 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9586 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
9587 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
9588 (ispell-dictionary-base-alist): Revert to original XEmacs
9589 friendly version for default. [:alpha:] will be added in
9590 `ispell-set-spellchecker-params' if needed.
9592 2012-04-16 Chong Yidong <cyd@gnu.org>
9594 * image.el (imagemagick--file-regexp): New variable.
9595 (imagemagick-register-types): Use it.
9596 (imagemagick-types-inhibit): Add :set function. Allow new value
9597 of t to inhibit all types.
9599 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
9600 so we can preload it.
9602 * loadup.el (fboundp): Preload regexp-opt, needed by
9603 imagemagick-register-types.
9605 2012-04-15 Chong Yidong <cyd@gnu.org>
9607 * frame.el (scrolling): Remove nearly unused customization group.
9609 * scroll-all.el (scroll-all-mode): Move to windows group.
9611 2012-04-15 Chong Yidong <cyd@gnu.org>
9613 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
9615 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9617 Avoid the use of ((lambda ...) ...) in lexical-binding code.
9618 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
9620 2012-04-15 Glenn Morris <rgm@gnu.org>
9622 * simple.el (process-file-side-effects): Doc fix.
9624 2012-04-15 Glenn Morris <rgm@gnu.org>
9626 * international/mule-cmds.el (set-language-environment): Doc fix.
9628 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
9630 * server.el (server-auth-key, server-generate-key): Doc fixes.
9631 (server-get-auth-key): Doc fix. Use `string-match-p'.
9632 (server-start): Reflow docstring.
9634 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
9636 * server.el (server-generate-key): `called-interactively-p'
9637 requires a parameter.
9639 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
9641 * server.el (server-auth-key): New variable.
9642 (server-generate-key, server-get-auth-key): New function.
9643 (server-start): Use the new variable and functions to allow
9644 setting a permanent server key (bug#9423).
9646 2012-04-14 Leo Liu <sdl.web@gmail.com>
9648 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
9650 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
9653 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
9654 Emacs uses American spelling.
9656 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
9658 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
9659 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
9660 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
9661 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
9663 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9665 * progmodes/which-func.el (which-func-modes): Change default.
9667 2012-04-14 Kim F. Storm <storm@cua.dk>
9669 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
9670 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
9672 2012-04-14 Chong Yidong <cyd@gnu.org>
9674 * custom.el (custom-theme-set-variables): Doc fix.
9676 2012-04-14 Glenn Morris <rgm@gnu.org>
9678 * international/mule.el (set-auto-coding-for-load): Doc fix.
9680 2012-04-14 Alan Mackenzie <acm@muc.de>
9682 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
9683 imenu work again for Objective C Mode. Correct the *-index values,
9684 these having been disturbed by a previous change in 2011-08.
9686 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
9687 Correct two search limits.
9689 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9691 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
9693 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
9695 * international/characters.el: Fix sorting.
9697 2012-04-14 Eli Zaretskii <eliz@gnu.org>
9699 * international/characters.el: Add more missing Latin case pairs.
9701 2012-04-14 Glenn Morris <rgm@gnu.org>
9703 * files.el (dir-locals-set-class-variables): Doc fix.
9705 2012-04-14 Eli Zaretskii <eliz@gnu.org>
9707 * international/characters.el: Add set-case-syntax-pair call for
9708 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
9709 counterpart. (Bug#11209)
9711 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
9713 2012-04-14 Glenn Morris <rgm@gnu.org>
9715 * calendar/holidays.el (calendar-check-holidays): Doc fix.
9717 2012-04-14 Eli Zaretskii <eliz@gnu.org>
9719 * textmodes/ispell.el (ispell-dictionary-base-alist):
9720 Add data for Hebrew.
9722 2012-04-14 Chong Yidong <cyd@gnu.org>
9724 * net/rcirc.el (rcirc-cmd-quit):
9725 Revert 2012-03-18 change (Bug#11192).
9727 2012-04-14 Glenn Morris <rgm@gnu.org>
9729 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
9731 2012-04-14 Eli Zaretskii <eliz@gnu.org>
9733 * minibuffer.el (completion-in-region-mode-map):
9734 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
9736 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
9738 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
9740 2012-04-13 Masatake YAMATO <yamato@redhat.com>
9742 * minibuffer.el (minibuffer-local-filename-syntax): New variable
9743 to allow `C-M-f' and `C-M-b' to move to the nearest path
9744 separator (bug#9511).
9746 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
9748 * avoid.el: Require cl when compiling. And also move the
9749 `provide' to the end.
9751 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9753 * avoid.el (mouse-avoidance-banish-position): New variable.
9754 (mouse-avoidance-banish-destination): Use it (bug#10165).
9756 2012-04-13 Leo Liu <sdl.web@gmail.com>
9758 * progmodes/which-func.el (which-func-modes): Add objc-mode.
9760 2012-04-13 Ken Brown <kbrown@cornell.edu>
9762 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
9763 this is no longer needed now that cygstart understands file:// URLs.
9764 (browse-url-filename-alist): For the same reason, don't modify
9765 file:// URLs on Cygwin.
9767 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
9769 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
9770 the region on shift if the binding is already shifted (bug#11221).
9772 2012-04-12 Glenn Morris <rgm@gnu.org>
9774 * mail/mailpost.el: Move to obsolete/.
9776 2012-04-12 Drew Adams <drew.adams@oracle.com>
9778 * imenu.el (imenu--generic-function): Ignore invisible definitions
9781 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
9783 * hexl.el (hexl-bits): New variable.
9784 (hexl-options): Mention the variable in the doc string.
9785 (hexl-rulerise, hexl-line-displen): New functions.
9786 (hexl-mode): Mention the new variable.
9787 (hexl-mode, hexl-current-address, hexl-current-address):
9789 (hexl-ascii-start-column): New function.
9790 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
9791 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
9793 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9795 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
9796 '("-i" ENCODING), in 2 separate command-line arguments, to specify
9797 the encoding, as expected by hunspell.
9799 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
9801 * battery.el (battery--linux-sysfs-regexp): New const.
9802 (battery-status-function): Use it. Remove yeeloong special case.
9803 (battery-yeeloong-sysfs): Remove.
9804 (battery-echo-area-format): Remove yeeloong special case.
9806 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9808 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
9809 Reported by Noah Friedman.
9811 * subr.el (read-passwd): Use read-string.
9813 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9815 * vcursor.el (vcursor-move): Increase the priority of the overlay
9818 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
9820 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
9821 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
9823 2012-04-11 William Stevenson <yhvh2000@gmail.com>
9825 * textmodes/artist.el (artist-mode): Convert artist-mode to use
9826 define-minor-mode (bug#10760).
9828 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
9830 * progmodes/grep.el (rgrep): Tweak the find command line so
9831 that directories matching `grep-find-ignored-files' won't be
9834 2012-04-11 Chong Yidong <cyd@gnu.org>
9836 * startup.el (command-line): Remove support for long-obsolete
9837 variable font-lock-face-attributes.
9839 2012-04-11 Glenn Morris <rgm@gnu.org>
9841 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
9843 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9845 * window.el (window--state-get-1): Obey window-point-insertion-type.
9847 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
9849 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
9850 to previous function when point is on the first character of a
9851 function. Take care of that in `narrow-to-defun' (bug#6157).
9853 2012-04-11 Glenn Morris <rgm@gnu.org>
9855 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
9856 not just file-errors.
9858 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
9859 (vc-bzr-sha1): Use internal sha1.
9861 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9863 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
9865 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
9867 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
9868 that start in the middle of the line (bug#10496).
9870 2012-04-10 Dan Nicolaescu <dann@gnu.org>
9872 * battery.el (battery-linux-proc-acpi): Only one battery is
9873 discharged at a time, but that seems to confuse battery.el when
9874 computing `rate-type' for the battery not being discharged
9877 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
9879 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
9881 * international/quail.el: Use dolist and simplify.
9882 (quail-define-package, quail-update-keyboard-layout)
9883 (quail-define-rules): Use dolist.
9884 (quail-insert-kbd-layout, quail-get-translation): CSE.
9886 * tmm.el: Use dolist, remove left over hook.
9887 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
9889 (calendar-load-hook): Don't mess with it.
9891 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
9892 Use derived-mode-p. Run the diff asynchronously.
9894 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9896 * obsolete/mouse-sel.el: Add an Obsolete-since header.
9898 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
9900 * misc.el: Display absolute path of loaded DLLs (bug#10424).
9901 (list-dynamic-libraries--loaded): New function.
9902 (list-dynamic-libraries--refresh): Use it.
9904 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
9906 * progmodes/python.el (python-fill-paragraph):
9907 Make python-fill-region in a multiline string work when font-lock is
9908 disabled (bug#7018).
9910 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
9912 * language/european.el (cp775): Add oem/legacy (en)coding on
9913 DOS/MS Windows for the Baltic languages. There are still plenty
9914 of texts written in this encoding/codepage (bug#6519).
9916 2012-04-10 Glenn Morris <rgm@gnu.org>
9918 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
9919 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
9921 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
9923 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
9924 next-line "n" and previous-line "p" in order to make recentf more
9925 consistent with ibuffer, dired or org-mode (bug#9387).
9927 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9929 * image.el (put-image): Return the overlay created instead of the
9930 optional input string (bug#7834). Note that this may break code
9931 that is (for some reason or other) depending on `put-image'
9932 returning the string.
9934 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
9936 * simple.el (zap-to-char): Allow zapping using input methods
9939 * textmodes/fill.el (fill-region): Leave point and mark where they
9940 were before filling (bug#5399).
9942 2012-04-09 Glenn Morris <rgm@gnu.org>
9944 * version.el (emacs-bzr-get-version):
9945 Handle lightweight checkouts of local branches.
9947 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
9949 * international/characters.el: Recover lost case pairs. (Bug#11209)
9951 2012-04-09 Chong Yidong <cyd@gnu.org>
9953 * custom.el (custom-variable-p): Return nil for non-symbol
9954 arguments instead of signaling an error.
9955 (user-variable-p): Obsolete alias for custom-variable-p.
9957 * apropos.el (apropos-variable):
9958 * files-x.el (read-file-local-variable):
9959 * simple.el (set-variable):
9960 * woman.el (woman-mini-help):
9961 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
9963 2012-04-09 Glenn Morris <rgm@gnu.org>
9965 * startup.el (normal-top-level): Don't look for leim-list.el
9966 in places where it will not be found. (Bug#910)
9968 * international/mule-cmds.el (set-default-coding-systems):
9969 * files.el (normal-mode):
9970 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
9971 This function was removed with ucs-tables.el in 2008.
9973 2012-04-08 Eli Zaretskii <eliz@gnu.org>
9975 * textmodes/ispell.el (ispell-check-version): For hunspell, set
9976 ispell-encoding8-command to "-i", without a trailing space.
9977 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
9978 separate command-line arguments, to specify the encoding, since
9979 that's how hunspell expects it.
9981 2012-04-08 Glenn Morris <rgm@gnu.org>
9983 * loadup.el: Load bindings before cus-start.
9984 This reduces somewhat the number of "rogue" settings in emacs -Q.
9986 2012-04-07 Glenn Morris <rgm@gnu.org>
9988 * version.el (emacs-bzr-get-version): New function.
9989 (emacs-bzr-version): New variable.
9990 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
9991 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
9993 2012-04-07 Eli Zaretskii <eliz@gnu.org>
9995 * international/uni-bidi.el, international/uni-category.el:
9996 * international/uni-combining.el, international/uni-decimal.el:
9997 * international/uni-decomposition.el, international/uni-digit.el:
9998 * international/uni-lowercase.el, international/uni-mirrored.el:
9999 * international/uni-name.el, international/uni-numeric.el:
10000 * international/uni-titlecase.el, international/uni-uppercase.el:
10001 Update for Unicode 6.1.
10003 2012-04-07 Eli Zaretskii <eliz@gnu.org>
10005 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
10007 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
10009 * window.el (shrink-window): Mention the `window-min-height'
10010 variable in the doc string.
10012 2012-04-05 Bastien Guerry <bzg@altern.org>
10014 * color.el (color-lighten-name): Fix typo.
10016 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10018 * server.el (server--on-display-p): New function.
10019 (server--on-display-p): Use it.
10021 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
10023 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
10026 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10028 * comint.el (comint--common-quoted-suffix): Check string boundary
10029 before comparing (bug#11158).
10030 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
10032 2012-04-04 Chong Yidong <cyd@gnu.org>
10034 * minibuffer.el (completion-extra-properties): Doc fix.
10036 * subr.el (delayed-warnings-hook): Doc fix.
10038 2012-04-04 Daiki Ueno <ueno@unixuser.org>
10040 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
10041 selection (Bug#11159).
10042 (epa-insert-keys): Inform that the default public key will be
10043 exported if no key is selected.
10045 2012-04-04 Richard Stallman <rms@gnu.org>
10047 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
10049 2012-04-03 Chong Yidong <cyd@gnu.org>
10051 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
10052 mail-insert-file, not its obsolete alias mail-attach-file.
10054 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
10056 * notifications.el (notifications-notify): Fix docstring.
10058 2012-04-02 Glenn Morris <rgm@gnu.org>
10060 * emacs-lisp/authors.el (authors-aliases): Another addition.
10062 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
10064 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
10065 `tramp-compat-call-process' instead of `tramp-local-call-process'.
10066 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
10068 2012-04-01 Chong Yidong <cyd@gnu.org>
10070 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
10071 Handle root directory properly.
10072 (copy-directory): Caller changed.
10074 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
10075 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
10077 2012-03-31 Glenn Morris <rgm@gnu.org>
10079 * term/xterm.el (xterm-extra-capabilities): Doc fix.
10081 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
10083 * calendar/calendar.el (calendar-window-list)
10084 (calendar-hide-window): Restore. (Bug#11140)
10085 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
10087 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
10089 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10091 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
10092 Check if file is a symlink (Bug#10489).
10094 * files.el (copy-directory): Likewise.
10096 2012-03-30 Chong Yidong <cyd@gnu.org>
10098 * image.el (imagemagick-types-inhibit)
10099 (imagemagick-register-types): Doc fix.
10101 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10103 * textmodes/ispell.el (ispell-get-extended-character-mode):
10104 Disable extended-char-mode for hunspell. hunspell does not support it
10105 and treats ~word as ordinary words in pipe mode.
10107 2012-03-30 Glenn Morris <rgm@gnu.org>
10109 * tutorial.el (help-with-tutorial): Ensure local variables don't
10110 happen to make the buffer read-only. (Bug#11127)
10112 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
10114 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
10115 (perl-calculate-indent): Return `noindent' in strings.
10117 2012-03-28 Sam Steingold <sds@gnu.org>
10119 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
10120 instead of the broken adhockery which does not prevent calendar
10121 buffers from being displayed at random after exit.
10122 (calendar-window-list, calendar-hide-window): Remove the broken
10125 2012-03-28 Glenn Morris <rgm@gnu.org>
10127 * replace.el (query-replace-map): Doc fix.
10129 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
10131 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
10132 contents. (Bug#11109)
10134 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10136 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
10138 (avl-tree--check, avl-tree--check-node): New funs.
10140 2012-03-27 Martin Rudalics <rudalics@gmx.at>
10142 * window.el (switch-to-visible-buffer): New option.
10143 (switch-to-prev-buffer, switch-to-next-buffer):
10144 Observe switch-to-visible-buffer. Make sure that checking for a window
10145 showing a buffer already is done on the same frame.
10147 2012-03-27 Glenn Morris <rgm@gnu.org>
10149 * startup.el (mail-host-address): Doc fix.
10151 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10153 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
10154 than 197 variables.
10156 2012-03-26 Ami Fischman <ami@fischman.org>
10158 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
10160 2012-03-26 Glenn Morris <rgm@gnu.org>
10162 * files.el (save-buffers-kill-emacs): Doc fix.
10164 * startup.el (normal-top-level, command-line, command-line-1):
10165 Give them doc strings.
10167 2012-03-25 Eli Zaretskii <eliz@gnu.org>
10169 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
10170 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
10172 2012-03-25 Chong Yidong <cyd@gnu.org>
10174 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
10175 theme if it was previously enabled before (Bug#11031).
10177 * cus-theme.el (custom-theme-write-faces): Retrieve current face
10178 spec with custom-face-get-current-spec if its :shown-value is not
10179 determined yet (Bug#9337).
10180 (customize-create-theme, custom-theme-revert): Doc fixes.
10182 * button.el (button-at): Minor addition to docstring.
10184 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
10186 * vc/vc.el (vc-merge): Fix a prompt.
10188 2012-03-24 Chong Yidong <cyd@gnu.org>
10190 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
10193 * button.el (button-at): Minor addition to docstring.
10195 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
10197 * newcomment.el (comment-choose-indent): No space after BOL.
10199 2012-03-22 Sam Steingold <sds@gnu.org>
10201 * window.el (switch-to-prev-buffer): Revert last patch because the
10202 bug turned out to be an advertised feature (Elisp manual 28.14).
10204 2012-03-22 Glenn Morris <rgm@gnu.org>
10206 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
10207 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
10209 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10211 * net/network-stream.el (network-stream-open-starttls): Make error
10212 message under Windows be less misleading.
10214 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
10216 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
10217 understands (bug#9942).
10219 2012-03-22 Chong Yidong <cyd@gnu.org>
10221 * simple.el (end-of-visible-line): Handle return value of
10222 next-single-property-change properly (Bug#9371).
10224 2012-03-22 Kenichi Handa <handa@m17n.org>
10226 * international/quail.el (quail-insert-kbd-layout): Fix previous
10227 change. To avoid unwanted bidi reordering, use
10228 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
10230 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
10232 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
10233 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
10234 (ruby-beginning-of-indent): Be more careful with the difference
10235 between word-boundary and symbol boundary.
10236 (ruby-mode-syntax-table): Make : a symbol constituent.
10238 2012-03-21 Andreas Politz <politza@fh-trier.de>
10240 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
10242 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
10244 * progmodes/etags.el (tags-completion-at-point-function):
10247 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
10249 2012-03-21 Sam Steingold <sds@gnu.org>
10251 * progmodes/etags.el (tags-completion-at-point-function):
10252 Avoid the error when point is inside the pattern.
10254 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
10256 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
10259 2012-03-21 Drew Adams <drew.adams@oracle.com>
10261 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
10263 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
10265 * ido.el (ido-set-current-directory, ido-read-internal)
10266 (ido-choose-completion-string, ido-completion-help): Handle nil
10267 value of ido-completion-buffer (Bug#11008).
10269 2012-03-21 Sam Steingold <sds@gnu.org>
10271 * window.el (switch-to-prev-buffer): Do not switch to a visible
10272 window previous buffer, just like with the frame previous buffers.
10274 2012-03-21 Chong Yidong <cyd@gnu.org>
10276 * faces.el (make-face, make-empty-face, copy-face):
10277 * face-remap.el (face-remap-add-relative, face-remap-set-base):
10280 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
10282 * wid-edit.el (widget-complete-field): Remove (bug#11051).
10283 (widget-complete): Remove broken use of it.
10285 2012-03-20 Chong Yidong <cyd@gnu.org>
10287 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10288 Use string-width and truncate-string-width to handle arbitrary
10291 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
10293 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
10294 to draw rectangles, not squares. (Regression introduced by revno
10295 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
10297 2012-03-18 Chong Yidong <cyd@gnu.org>
10299 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
10300 it is not yet defined (for temacs).
10302 2012-03-18 Leo Liu <sdl.web@gmail.com>
10304 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
10307 2012-03-17 Eli Zaretskii <eliz@gnu.org>
10309 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
10310 (ispell-choices-win-default-height, ispell-silently-savep)
10311 (ispell-dictionary-alist, ispell-encoding8-command)
10312 (ispell-check-version, ispell-aspell-find-dictionary)
10313 (ispell-valid-dictionary-list, ispell-words-keyword)
10314 (ispell-get-word, ispell-internal-change-dictionary)
10315 (ispell-region, ispell-skip-region-list)
10316 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
10317 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
10318 (ispell-message-text-end, ispell-message)
10319 (ispell-buffer-local-parsing): Doc fix.
10321 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
10323 * htmlfontify.el: Add support for code block fontification for ODT
10324 export (Bug #9914).
10325 (hfy-optimisations): Define new option
10327 (hfy-fontify-buffer): Honor above setting.
10328 (hfy-begin-span, hfy-end-span): New routines factored out form
10329 `hfy-fontify-buffer'.
10330 (hfy-begin-span-handler, hfy-end-span-handler): New variables
10331 that permit insertion of custom tags.
10332 (hfy-fontify-buffer): Use above handlers.
10333 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
10334 (hfy-face-to-css): Re-defined to be a variable.
10335 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
10336 over multiple runs. This is made possible by having the caller let
10337 bind a special variable `hfy-user-sheet-assoc'.
10338 (htmlfontify-string): New defun.
10339 (hfy-compile-face-map): Make sure that the last char in the
10340 buffer is correctly fontified.
10341 (hfy-face-resolve-face): Whitespace only change.
10343 2012-03-17 Eli Zaretskii <eliz@gnu.org>
10345 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
10346 message more clear.
10348 2012-03-16 Leo Liu <sdl.web@gmail.com>
10350 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
10352 2012-03-16 Alan Mackenzie <acm@muc.de>
10354 Further optimise the handling of large macros.
10356 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
10357 limit to a call of `c-literal-limits'.
10358 (c-determine-+ve-limit): New function.
10359 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
10360 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
10361 In CASE 5B, restrict a search limit to 500.
10362 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
10364 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
10365 Restrict macro bounds to +-500 from after-change's BEG END.
10367 2012-03-16 Leo Liu <sdl.web@gmail.com>
10369 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
10371 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
10373 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
10374 `special-mode' setting of `buffer-read-only'. (Bug#11010)
10376 2012-03-16 Glenn Morris <rgm@gnu.org>
10378 * view.el (view-buffer, view-buffer-other-window)
10379 (view-buffer-other-frame): Doc fixes re special mode-class.
10381 * subr.el (eval-after-load): If named feature is provided not from
10382 a file, run after-load forms. (Bug#10946)
10384 * calendar/calendar.el (calendar-insert-at-column):
10385 Handle non-unit-width characters a bit better. (Bug#10978)
10387 2012-03-15 Chong Yidong <cyd@gnu.org>
10389 * emacs-lisp/ring.el (ring-extend): New function.
10390 (ring-insert+extend): Extend the ring correctly (Bug#11019).
10392 * comint.el (comint-read-input-ring)
10393 (comint-add-to-input-history): Grow comint-input-ring lazily.
10395 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
10397 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
10398 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
10400 * imenu.el: Fix multiple inheritance breakage (bug#9199).
10401 (imenu-add-to-menubar): Don't add a redundant index.
10402 (imenu-update-menubar): Handle a dynamically composed keymap.
10404 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
10406 * mail/sendmail.el (mail-encode-header):
10407 Bind rfc2047-encode-encoded-words to nil.
10409 2012-03-13 Glenn Morris <rgm@gnu.org>
10411 * calendar/calendar.el (calendar-string-spread):
10412 Handle non-unit-width characters a bit better. (Bug#10978)
10414 2012-03-13 Leo Liu <sdl.web@gmail.com>
10416 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
10417 directory and file as argument (Bug#10822).
10419 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
10421 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
10422 For dynamically generated code, follow $PC.
10423 (gdb-disassembly-handler-custom): Handle no function name case.
10425 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
10427 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
10428 * emulation/ws-mode.el (ws-query-replace):
10429 * sort.el (sort-regexp-fields):
10430 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
10432 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10434 * dabbrev.el: Fix cycle completion order (bug#10963).
10435 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
10436 (dabbrev-completion): Don't use an obarray; provide
10437 a cycle-sort-function.
10439 2012-03-12 Leo Liu <sdl.web@gmail.com>
10441 * simple.el (kill-new): Use equal-including-properties for comparison.
10442 (kill-do-not-save-duplicates): Doc fix.
10444 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10446 * dabbrev.el: Fix cycle completion (bug#10963).
10447 Use lexical binding and wrap to 80 columns.
10448 (dabbrev-completion): Delay computing the list of completions.
10450 2012-03-12 Kenichi Handa <handa@m17n.org>
10452 * international/quail.el (quail-insert-kbd-layout): Surround each
10453 row by LRO and PDF instead of inserting many LRMs. Pad the left
10454 and right of each non-spacing marks. Insert invisible space
10455 between lower and upper characters to prevent composition.
10457 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10459 * minibuffer.el (minibuffer-complete): Don't get confused when the
10460 function is run twice via different commands (bug#10958).
10461 (complete-with-action): Fix docstring.
10463 2012-03-12 Chong Yidong <cyd@gnu.org>
10465 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
10466 (nxml-completion-at-point-function): New function.
10467 (nxml-mode): Use it.
10468 (nxml-bind-meta-tab-to-complete-flag): Default to t.
10470 * emacs-lisp/package.el (package-unpack, package-unpack-single):
10471 Load generated autoloads file before byte compiling (Bug#10970).
10472 (package--make-autoloads-and-compile): New helper fun.
10474 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
10476 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
10478 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
10480 * autorevert.el (auto-revert-handler): Ensure, that
10481 file-readable-p is applied only for local files or in
10482 auto-revert-tail-mode.
10484 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
10486 * server.el (server-eval-at): Handle non-tcp connections.
10487 Decode result string.
10489 * server.el (server-msg-size): New constant.
10490 (server-reply-print): New function.
10491 (server-eval-and-print): Use it.
10492 (server-eval-at): Use server-quote-arg and server-unquote-arg.
10493 Handle -print-nonl.
10495 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
10497 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
10500 2012-03-11 Chong Yidong <cyd@gnu.org>
10502 * simple.el (goto-line): Doc fix (Bug#9938).
10504 * subr.el (save-window-excursion): Doc fix (Bug#9979).
10506 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
10507 when finished (Bug#10963).
10509 2012-03-11 Martin Rudalics <rudalics@gmx.at>
10511 * window.el (split-window-below): Fix bug in case where
10512 split-window-keep-point is nil (Bug#10971).
10514 2012-03-11 Juri Linkov <juri@jurta.org>
10516 * replace.el (replace-highlight): Set isearch-word to nil
10517 unconditionally. (Bug#10887)
10519 2012-03-10 Eli Zaretskii <eliz@gnu.org>
10521 * net/mairix.el (mairix-replace-invalid-chars): Rename from
10522 mairix-replace-illegal-chars; all callers changed. Don't remove
10523 ^, ~, and = characters: they are meaningful in mairix search specs.
10524 (mairix-widget-create-query): Add usage information about mairix
10525 search forms: negating words, searching for substrings, etc.
10527 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
10529 * international/fontset.el (font-encoding-alist): Add an entry for
10530 ksx1001 (Bug#5667).
10532 2012-03-10 Richard Stallman <rms@gnu.org>
10534 * mail/sendmail.el (mail-encode-header):
10535 Set rfc2047-encode-encoded-words.
10537 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
10539 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
10540 view buffer means not swapped.
10541 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
10542 (rmail-write-region-annotate): Error if real text has disappeared.
10544 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
10546 2012-03-10 Chong Yidong <cyd@gnu.org>
10548 * emulation/cua-rect.el (cua--init-rectangles):
10549 * emulation/cua-base.el (cua--init-keymaps):
10550 Add delete-forward-char to remappings (Bug#9666).
10552 2012-03-10 Martin Rudalics <rudalics@gmx.at>
10554 * speedbar.el (speedbar-unhighlight-one-tag-line):
10555 Avoid unhighlighting due to frame switching (Bug#10275).
10557 2012-03-10 Chong Yidong <cyd@gnu.org>
10559 * minibuffer.el (completion-in-region, completion-help-at-point):
10560 Give the completion field overlay a high priority (Bug#6830).
10562 * dired.el (dired-goto-file): Recognize absolute file name
10563 listings (Bug#7126).
10564 (dired-goto-file-1): New helper function.
10565 (dired-toggle-read-only): Inhibit warnings.
10567 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
10569 * net/dbus.el (dbus-property-handler): Return empty array if
10570 there are no properties.
10572 2012-03-09 Leo Liu <sdl.web@gmail.com>
10574 * savehist.el (savehist-printable): Stricter check for string
10577 2012-03-09 Eli Zaretskii <eliz@gnu.org>
10579 * mail/smtpmail.el (smtpmail-send-it):
10580 Bind coding-system-for-write to *-unix, so that FCC files are kept in
10583 2012-03-09 Glenn Morris <rgm@gnu.org>
10585 * files.el (dir-locals-find-file):
10586 Don't check result is regular, readable.
10587 (dir-locals-read-from-file): Demote errors.
10589 2012-03-08 Eli Zaretskii <eliz@gnu.org>
10591 * international/quail.el (quail-insert-kbd-layout):
10592 Insert invisible LRM characters before each character in a keyboard
10593 layout cell, to prevent their reordering by bidi display engine.
10594 For details, see the discussion in
10595 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
10597 2012-03-08 Alan Mackenzie <acm@muc.de>
10599 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
10600 the starting position; make it extend the marked region when
10601 invoked repeatedly - all under appropriate circumstances.
10602 Fixes bugs #5525, #10906.
10604 2012-03-08 Glenn Morris <rgm@gnu.org>
10606 * files.el (locate-dominating-file, dir-locals-find-file):
10607 Undo 2012-03-06 change.
10609 2012-03-07 Eli Zaretskii <eliz@gnu.org>
10611 * international/quail.el (quail-help):
10612 Force bidi-paragraph-direction be left-to-right. See discussion in
10613 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
10616 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
10618 Avoid superfluous registering of signals. (Bug#10807)
10620 * notifications.el (notifications-on-action-object)
10621 (notifications-on-close-object): New defvars.
10622 (notifications-on-action-signal, notifications-on-closed-signal):
10623 Unregister the signal if not needed any longer.
10624 (notifications-notify): Register `notifications-action-signal' or
10625 `notifications-closed-signal', if :on-action or :on-close has been
10626 passed as argument.
10628 2012-03-07 Chong Yidong <cyd@gnu.org>
10630 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
10633 2012-03-06 Glenn Morris <rgm@gnu.org>
10635 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
10636 (x-disown-selection-internal, x-get-selection-internal):
10637 Doc fix (add arglist signatures). (Bug#10783)
10639 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
10641 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
10642 Handle breakpoints with no "type".
10644 2012-03-06 Glenn Morris <rgm@gnu.org>
10646 * files.el (locate-dominating-file): Add optional predicate argument.
10647 (dir-locals-find-file): Make use of above change.
10649 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
10651 * info.el (Info-insert-dir): Also try "dir.gz".
10653 2012-03-06 Glenn Morris <rgm@gnu.org>
10655 * files.el (dir-locals-find-file):
10656 Ignore non-readable or non-regular files. (Bug#10928)
10658 * files.el (locate-dominating-file): Doc fix.
10660 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
10662 * calendar/calendar.el (calendar-set-mode-line):
10663 `getenv' returns a string. (Bug#10951)
10665 2012-03-05 Leo Liu <sdl.web@gmail.com>
10667 * simple.el (backward-delete-char-untabify): Constrain point to
10670 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
10672 2012-03-05 Chong Yidong <cyd@gnu.org>
10674 * simple.el (count-words): If called from Lisp, return the word
10675 count, for symmetry with `count-lines'. Arglist changed.
10676 (count-words--message): Args changed. Consolidate counting code
10677 from count-words and count-words-region.
10678 (count-words-region): Caller changed.
10679 (count-lines-region): Make it an obsolete alias.
10681 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
10683 * saveplace.el (save-place-to-alist)
10684 (save-place-ignore-files-regexp): Allow value nil to disable this
10687 2012-03-04 Chong Yidong <cyd@gnu.org>
10689 * faces.el (face-spec-reset-face): For the default face, reset the
10690 attributes to default values (Bug#10748).
10692 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10694 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
10695 previous patch: Check `message-send-mail-function', and not the
10696 default function (bug#10897).
10698 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
10700 * notifications.el (notifications-on-action-signal)
10701 (notifications-on-closed-signal): Check for unique service name of
10702 incoming event. Fix error in removing entry.
10703 (top): Register for signals with wildcard service name.
10704 (notifications-notify): Use daemon unique service name for map entries.
10706 2012-03-04 Chong Yidong <cyd@gnu.org>
10708 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
10710 2012-03-04 Glenn Morris <rgm@gnu.org>
10712 * abbrev.el (copy-abbrev-table, abbrev-table-p)
10713 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
10714 (expand-abbrev, define-abbrev-table): Doc fixes.
10716 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10718 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
10719 `message-default-send-mail-function' and not `send-mail-function'
10720 when doing the prompting for `sendmail-query-once' before sending
10721 in Message buffers (bug#10897).
10723 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
10724 This is inconsistent with all the other stream functions, which leave
10725 the setting up to the higher levels (if so wanted) (bug#10931).
10727 2012-03-02 Alan Mackenzie <acm@muc.de>
10729 Depessimize the handling of very large macros.
10731 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
10732 (c-macro-cache-syntactic): New variables to implement a one
10733 element macro cache.
10734 (c-invalidate-macro-cache): New function.
10735 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
10736 Adapt to use the new cache.
10737 (c-state-safe-place): Use better the cache of safe positions.
10738 (c-state-semi-nonlit-pos-cache)
10739 (c-state-semi-nonlit-pos-cache-limit):
10740 New variables for...
10741 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
10742 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
10743 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
10744 Use c-state-semi-safe-place.
10746 * progmodes/cc-langs.el (c-get-state-before-change-functions):
10747 Add c-invalidate-macro-cache to the C, C++, Obj entries.
10749 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
10751 * jka-compr.el (jka-compr-call-process):
10752 Apply `file-accessible-directory-p' only when the default directory is
10755 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
10757 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
10758 access of FILE2, if FILE1 does not exist.
10760 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
10761 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
10763 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
10764 Add "PAGER=" to `process-environment'.
10766 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
10768 * progmodes/sql.el: Bug fix
10769 (sql-get-login-ext): Save login values in globals.
10770 (sql-get-login): Use new version of `sql-get-login-ext'.
10771 (sql-interactive-mode): Set global `sql-connection' to nil.
10772 (sql-connect): Set global values for connection.
10773 (sql-product-interactive): Save global values as buffer local.
10775 2012-02-29 Leo Liu <sdl.web@gmail.com>
10777 * abbrev.el (define-abbrevs): Reset sys to nil.
10779 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10781 * files.el (file-equal-p): Rename from `files-equal-p'.
10782 Return nil when one or both files don't exist.
10783 (file-subdir-of-p): Now only top directory must exists,
10784 return nil if it doesn't.
10785 (copy-directory): No need to test with `file-subdir-of-p' after
10787 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
10790 2012-02-28 Glenn Morris <rgm@gnu.org>
10792 * shell.el (shell-mode):
10793 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
10794 * play/landmark.el (landmark-font-lock-face-O):
10795 * play/handwrite.el (handwrite):
10796 * play/gomoku.el (gomoku-O):
10797 * net/browse-url.el (browse-url-browser-display):
10798 * international/mule.el (define-charset):
10799 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
10800 * filesets.el (filesets-find-file-delay):
10801 * eshell/em-xtra.el (eshell-xtra):
10802 * eshell/em-unix.el (eshell-grep):
10803 * emulation/viper.el (viper-mode):
10804 * emacs-lisp/regexp-opt.el (regexp-opt-group):
10805 * emacs-lisp/easymenu.el (easy-menu-define):
10806 * calendar/timeclock.el (timeclock-use-display-time):
10808 * bookmark.el (bookmark-save-flag):
10809 Doc fix (standardize possessive apostrophe usage).
10811 2012-02-27 Chong Yidong <cyd@gnu.org>
10813 * emulation/viper-cmd.el (viper-intercept-ESC-key):
10814 Fix key-binding lookup for ESC key (Bug#9146).
10816 * font-lock.el (font-lock-specified-p): Rename from
10817 font-lock-spec-present. Callers changed.
10819 2012-02-27 Daniel Hackney <dan@haxney.org>
10821 * emacs-lisp/package.el (package-compute-transaction):
10822 Handle holding a package version to t in package-load-list.
10824 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
10826 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
10827 (tramp-get-inode, tramp-get-device): Use cached values.
10829 2012-02-26 Alan Mackenzie <acm@muc.de>
10831 Check there is a font-lock specification before doing initial
10834 * font-core.el (font-lock-mode): Move the conditional from
10835 :after-hook to font-lock-initial-fontify.
10836 (font-lock-default-function): Move the check for a specification
10837 to font-lock-spec-present.
10839 * font-lock.el (font-lock-initial-fontify): Call ...
10840 (font-lock-spec-present): New function.
10842 2012-02-26 Jim Blandy <jimb@red-bean.com>
10844 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
10845 (gdb-send): Apply it to the operand of the '-interpreter-exec
10846 console' command, so that we can pass arguments with (say) quotes
10847 in them. Store exact string sent in gdb-debug-log (Bug#10765).
10849 2012-02-26 Chong Yidong <cyd@gnu.org>
10851 * help-fns.el (describe-function-1): Clarify description of
10852 remapping (Bug#10844).
10854 * files.el (files-equal-p): Doc fix.
10855 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
10856 and quit the loop once a mismatch is found.
10858 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
10860 * bs.el (bs--show-with-configuration): Don't throw an error
10861 if the window cannot be split; otherwise, subsequent calls to
10862 bs-show fail, restoring a stale window config. (Bug#10882)
10864 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
10866 * term/ns-win.el (global-map): Bind ns-drag-file to
10867 ns-find-file (Bug#5855, Bug#10050).
10869 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
10871 * calendar/parse-time.el (parse-time-string): Allow extractor to
10874 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
10876 * net/tramp.el (tramp-file-name-for-operation):
10877 Add `files-equal-p' and `file-subdir-of-p'.
10879 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
10880 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
10881 Add COPY-CONTENTS argument.
10883 2012-02-25 Chong Yidong <cyd@gnu.org>
10885 Add custom groups for VC backends, for consistency with vc-bzr.
10887 * vc/vc-arch.el (vc-arch):
10888 * vc/vc-cvs.el (vc-cvs):
10889 * vc/vc-git.el (vc-git):
10890 * vc/vc-hg.el (vc-hg):
10891 * vc/vc-mtn.el (vc-mtn):
10892 * vc/vc-rcs.el (vc-rcs):
10893 * vc/vc-sccs.el (vc-sccs):
10894 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
10895 All relevant defcustoms reassigned.
10897 2012-02-25 Chong Yidong <cyd@gnu.org>
10899 * newcomment.el (comment-styles): Add autoload (Bug#10868).
10901 * term/x-win.el (x-initialize-window-system): Reduce default for
10902 x-selection-timeout to 5 seconds (Bug#8869).
10904 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10906 * files.el (files-equal-p, file-subdir-of-p): New functions.
10907 (copy-directory): Error when trying to copy a directory on itself.
10908 Add missing copy-contents arg to tramp handler.
10909 * dired-aux.el (dired-copy-file-recursive): Same.
10910 (dired-create-files): Modify destination when source is equal to
10911 dest when copying files.
10912 Return also when dest is a subdir of source. (Bug#10489)
10914 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
10916 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
10919 2012-02-23 Alan Mackenzie <acm@muc.de>
10921 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
10922 parameter "after-hook:" to allow the expansion to run code after
10923 the execution of the mode hooks.
10925 * font-lock.el (font-lock-initial-fontify): New function extracted
10926 from font-lock-mode-internal.
10928 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
10931 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
10933 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
10934 (completion--cache-all-sorted-completions): New function.
10935 (completion-all-sorted-completions): Use it.
10936 (completion--do-completion, minibuffer-force-complete):
10937 Use it to re-instate the flush hook.
10939 * icomplete.el (icomplete-completions): Replace last fix with a better
10942 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
10944 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
10945 when it might call us back infinitely (bug#10797).
10947 2012-02-23 Glenn Morris <rgm@gnu.org>
10949 * minibuffer.el (completion-category-overrides): Doc fix.
10951 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
10953 * minibuffer.el (completion-table-with-context): Fix inf-loop.
10954 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
10956 2012-02-23 Glenn Morris <rgm@gnu.org>
10958 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
10959 (authors-obsolete-files-regexps, authors-ignored-files)
10960 (authors-ambiguous-files, authors-renamed-files-alist):
10963 2012-02-23 Juri Linkov <juri@jurta.org>
10965 * isearch.el (isearch-occur): Sync interactive spec with occur's
10966 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
10968 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
10970 2012-02-22 Juri Linkov <juri@jurta.org>
10972 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
10973 (ucs-insert): Doc fix. Check for hex digits in the string.
10974 Don't display `nil' in the error message. (Bug#10857)
10976 2012-02-22 Alan Mackenzie <acm@muc.de>
10978 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
10980 2012-02-22 Glenn Morris <rgm@gnu.org>
10982 * ffap.el (ffap-c-path):
10983 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
10985 2012-02-22 Chong Yidong <cyd@gnu.org>
10987 * custom.el (load-theme): Doc fix.
10989 2012-02-22 Glenn Morris <rgm@gnu.org>
10991 * dired-x.el (dired-guess-shell-alist-default):
10992 Remove escape sequences from nroff output. (Bug#172)
10994 2012-02-21 Glenn Morris <rgm@gnu.org>
10996 * vc/emerge.el (emerge-defvar-local):
10997 Set `permanent-local' property rather than unused `preserved'.
10999 * textmodes/picture.el (picture-delete-char): New alias.
11000 (picture-mode-map): Use it. (Bug#10860)
11001 (picture-mode): Doc fix.
11003 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
11005 * newcomment.el (uncomment-region-default): Remove unused binding.
11007 2012-02-21 Glenn Morris <rgm@gnu.org>
11009 * textmodes/picture.el (picture-motion, picture-motion-reverse)
11010 (picture-self-insert, picture-tab-chars): Doc fix.
11011 (picture-mode-map): Fix C-a, C-e.
11013 2012-02-20 Glenn Morris <rgm@gnu.org>
11015 * emacs-lisp/authors.el (authors-aliases): Add another entry.
11017 2012-02-20 Leo Liu <sdl.web@gmail.com>
11019 * icomplete.el (icomplete-completions): Check FROM arg before
11020 passing to substring (Bug#10850).
11022 2012-02-19 Chong Yidong <cyd@gnu.org>
11024 * comint.el: Require ansi-color.
11025 (comint-output-filter-functions): Add ansi-color-process-output.
11027 * ansi-color.el: Don't set comint-output-filter-functions; it is
11028 now in the initial value defined in comint.el.
11029 (ansi-color-apply-face-function): New variable.
11030 (ansi-color-apply-on-region): Use it.
11031 (ansi-color-apply-overlay-face): New function.
11033 * shell.el (shell): No need to require ansi-color.
11034 (shell-mode): Use ansi-color-apply-face-function to highlight
11035 color escapes using font-lock-face property (Bug#10835).
11037 2012-02-19 Chong Yidong <cyd@gnu.org>
11039 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
11040 mode-line formats (Bug#10839).
11042 2012-02-18 Glenn Morris <rgm@gnu.org>
11044 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
11046 * mail/undigest.el (unforward-rmail-message): Doc fix.
11048 * saveplace.el (save-place-ignore-files-regexp): Add :version.
11050 2012-02-18 Eli Zaretskii <eliz@gnu.org>
11052 * international/characters.el (script-list): Sync with the latest
11053 Unicode Character Database.
11055 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
11057 * international/titdic-cnv.el: Remove duplicate coding tag.
11058 * language/cham.el: Likewise.
11059 * language/tai-viet.el: Likewise.
11061 2012-02-18 Glenn Morris <rgm@gnu.org>
11063 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
11064 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
11065 (calendar-bahai-all-holidays-flag, calendar-other-dates):
11066 * calendar/diary-lib.el (diary-abbreviated-year-flag):
11067 * calendar/holidays.el (holiday-bahai-holidays)
11068 (calendar-holidays, list-holidays):
11069 Use utf-8 Bahá'í in doc-strings, menus, etc.
11071 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
11073 * saveplace.el (save-place-ignore-files-regexp): New variable
11074 allowing for excluding files from saving their location of point.
11075 The default value matches the temporary commit message editing
11076 files from Git, SVN, Bazaar, and Mercurial.
11077 (save-place-to-alist): Use it.
11079 2012-02-17 Lawrence Mitchell <wence@gmx.li>
11080 Stefan Monnier <monnier@iro.umontreal.ca>
11082 * newcomment.el (uncomment-region-default): Don't leave extra space
11083 when an arg is provided (bug#8150).
11085 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
11087 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
11089 2012-02-17 Glenn Morris <rgm@gnu.org>
11091 * net/socks.el: Require network-stream. (Bug#10599)
11093 2012-02-17 Kenichi Handa <handa@m17n.org>
11095 * international/charprop.el:
11096 * international/uni-name.el:
11097 * international/uni-old-name.el:
11098 * international/uni-comment.el: Regenerate.
11100 2012-02-16 Glenn Morris <rgm@gnu.org>
11102 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
11103 Interactively in calendar buffer, give an error if not on a date.
11105 2012-02-15 Glenn Morris <rgm@gnu.org>
11107 * shell.el (shell-delimiter-argument-list):
11108 Revert 2011-02-17 change. (Bug#8027)
11110 2012-02-15 Chong Yidong <cyd@gnu.org>
11112 * minibuffer.el (completion-at-point-functions): Doc fix.
11114 * custom.el (defcustom): Doc fix; note use of defvar.
11116 2012-02-15 Glenn Morris <rgm@gnu.org>
11118 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
11121 2012-02-14 Glenn Morris <rgm@gnu.org>
11123 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
11125 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
11127 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
11128 way the ports list is computed.
11129 (smtpmail-query-smtp-server): Prompt the user for a port number if
11130 we can't connect to any of the standard ports (bug#10810).
11132 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
11134 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
11136 2012-02-13 Glenn Morris <rgm@gnu.org>
11138 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
11140 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
11142 * net/gnutls.el (gnutls-trustfiles): New variable.
11143 (gnutls-negotiate): Use it.
11145 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
11147 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
11148 does its stuff if Gnus is running.
11150 2012-02-13 Alan Mackenzie <acm@muc.de>
11152 Fix a loop in c-set-fl-decl-start.
11154 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
11155 c-backward-syntactic-ws actually moves backwards.
11157 2012-02-13 Leo Liu <sdl.web@gmail.com>
11159 * net/rcirc.el (rcirc-markup-attributes): Move point to the
11160 beginning so that all \C-o chars are removed.
11162 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
11164 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
11166 2012-02-12 Alan Mackenzie <acm@muc.de>
11168 Fix infinite loop with long macros.
11169 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
11171 2012-02-12 Chong Yidong <cyd@gnu.org>
11173 * window.el (display-buffer): Doc fix (Bug#10785).
11175 2012-02-12 Glenn Morris <rgm@gnu.org>
11177 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
11178 (x-disown-selection-internal, x-get-selection-internal):
11179 Sync docs with the xselect.c versions.
11181 * allout-widgets.el: Add missing license notice.
11183 2012-02-11 Glenn Morris <rgm@gnu.org>
11185 * select.el (x-get-selection-internal, x-own-selection-internal)
11186 (x-disown-selection-internal):
11187 * x-dnd.el (x-get-selection-internal): Update declarations.
11189 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
11191 * window.el (window-sides-slots):
11192 * tool-bar.el (tool-bar-position):
11193 * term/xterm.el (xterm-extra-capabilities):
11194 * ses.el (ses-self-reference-early-detection):
11195 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
11196 (verilog-auto-wire-type)
11197 (verilog-auto-delete-trailing-whitespace)
11198 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
11199 (verilog-auto-tieoff-declaration):
11200 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
11201 (sql-oracle-statement-starters, sql-oracle-scan-on):
11202 * progmodes/prolog.el (prolog-align-comments-flag)
11203 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
11204 (prolog-left-indent-regexp, prolog-paren-indent-p)
11205 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
11206 (prolog-types, prolog-mode-specificators)
11207 (prolog-determinism-specificators, prolog-directives)
11208 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
11209 (prolog-electric-dot-flag)
11210 (prolog-electric-dot-full-predicate-template)
11211 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
11212 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
11213 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
11214 (prolog-program-switches, prolog-prompt-regexp)
11215 (prolog-debug-on-string, prolog-debug-off-string)
11216 (prolog-trace-on-string, prolog-trace-off-string)
11217 (prolog-zip-on-string, prolog-zip-off-string)
11218 (prolog-use-standard-consult-compile-method-flag)
11219 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
11220 (prolog-imenu-max-lines, prolog-info-predicate-index)
11221 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
11222 (prolog-char-quote-workaround):
11223 * progmodes/cc-vars.el (c-defun-tactic):
11224 * net/tramp.el (tramp-encoding-command-interactive)
11225 (tramp-local-end-of-line):
11226 * net/soap-client.el (soap-client):
11227 * net/netrc.el (netrc-file):
11228 * net/gnutls.el (gnutls):
11229 * minibuffer.el (completion-category-overrides)
11230 (completion-cycle-threshold)
11231 (completion-pcm-complete-word-inserts-delimiters):
11232 * man.el (Man-name-local-regexp):
11233 * mail/feedmail.el (feedmail-display-full-frame):
11234 * international/characters.el (glyphless-char-display-control):
11235 * eshell/em-ls.el (eshell-ls-date-format):
11236 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
11237 (lisp-lambda-list-keyword-parameter-indentation)
11238 (lisp-lambda-list-keyword-parameter-alignment):
11239 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
11240 * dired-x.el (dired-omit-verbose):
11241 * cus-theme.el (custom-theme-allow-multiple-selections):
11242 * calc/calc.el (calc-highlight-selections-with-faces)
11243 (calc-lu-field-reference, calc-lu-power-reference)
11244 (calc-note-threshold):
11245 * battery.el (battery-mode-line-limit):
11246 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
11247 (archive-7z-update):
11248 * allout.el (allout-prefixed-keybindings)
11249 (allout-unprefixed-keybindings)
11250 (allout-inhibit-auto-fill-on-headline)
11251 (allout-flattened-numbering-abbreviation):
11252 * allout-widgets.el (allout-widgets-auto-activation)
11253 (allout-widgets-icons-dark-subdir)
11254 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
11255 (allout-widgets-theme-dark-background)
11256 (allout-widgets-theme-light-background)
11257 (allout-widgets-item-image-properties-emacs)
11258 (allout-widgets-item-image-properties-xemacs)
11259 (allout-widgets-run-unit-tests-on-load)
11260 (allout-widgets-time-decoration-activity)
11261 (allout-widgets-hook-error-post-time)
11262 (allout-widgets-track-decoration):
11263 Add missing :version tags to new defcustoms and defgroups.
11265 * progmodes/sql.el (sql-ansi-statement-starters)
11266 (sql-oracle-statement-starters): Add custom type.
11268 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
11269 (prolog-system-version): Give it a type.
11271 2012-02-11 Eli Zaretskii <eliz@gnu.org>
11273 * term/pc-win.el (x-select-text, x-selection-owner-p)
11274 (x-own-selection-internal, x-disown-selection-internal)
11275 (x-get-selection-internal): Sync doc strings and argument lists
11276 with xselect.c, common-win.el and x-win.el. (Bug#10783)
11278 2012-02-11 Leo Liu <sdl.web@gmail.com>
11280 * progmodes/python.el (python-end-of-statement): Fix infinite
11283 2012-02-10 Glenn Morris <rgm@gnu.org>
11285 * international/mule-cmds.el (unify-8859-on-encoding-mode)
11286 (unify-8859-on-decoding-mode): Properly mark as obsolete.
11288 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
11290 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
11291 about SMTP before checking the From header.
11293 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
11294 into own function for reuse by emacsbug.el.
11296 2012-02-10 Leo Liu <sdl.web@gmail.com>
11298 * subr.el (condition-case-unless-debug): Rename from
11299 condition-case-no-debug. All callers changed.
11300 (with-demoted-errors): Fix caller.
11302 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
11303 * nxml/rng-valid.el (rng-do-some-validation):
11304 * emacs-lisp/package.el (package-refresh-contents)
11305 (package-menu-execute):
11306 * desktop.el (desktop-create-buffer):
11307 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
11309 2012-02-10 Glenn Morris <rgm@gnu.org>
11311 * textmodes/bibtex.el:
11312 Add missing :version tags for new/changed defcustoms.
11314 * files.el (remote-file-name-inhibit-cache): Doc fixes.
11316 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
11318 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
11319 (smtpmail-via-smtp): Use it, or fall back on the From address.
11320 (smtpmail-send-it): Ditto.
11322 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
11324 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
11325 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
11326 (byte-compile-tmp-var): New const.
11327 (byte-compile-defvar): Use it to minimize .elc size.
11328 Just use `defvar' rather than simulate it (bug#10761).
11330 2012-02-09 Glenn Morris <rgm@gnu.org>
11332 * files.el (rename-uniquely): Doc fix. (Bug#3806)
11334 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
11337 * progmodes/compile.el (compilation-error-screen-columns)
11338 (compilation-first-column, compilation-filter-start): Doc fixes.
11340 * vc/log-view.el (log-view-toggle-entry-display):
11341 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
11343 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
11344 (report-emacs-bug-can-use-xdg-email):
11345 (report-emacs-bug-insert-to-mailer): Doc fixes.
11346 (report-emacs-bug): Message fix.
11348 * net/browse-url.el (browse-url-can-use-xdg-open)
11349 (browse-url-xdg-open): Doc fixes.
11351 * electric.el (electric-indent-mode, electric-pair-mode)
11352 (electric-layout-rules, electric-layout-mode): Doc fixes.
11353 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
11355 2012-02-08 Martin Rudalics <rudalics@gmx.at>
11357 * server.el (server-unselect-display): Don't inadvertently kill
11358 the current buffer. (Bug#10729)
11360 2012-02-08 Glenn Morris <rgm@gnu.org>
11362 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
11363 (sql-list-table): Doc fixes.
11365 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
11366 Comment out (does nothing).
11368 * completion.el (dynamic-completion-mode):
11369 * dirtrack.el (dirtrack-debug-mode):
11370 * electric.el (electric-layout-mode):
11371 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
11372 * face-remap.el (text-scale-mode, buffer-face-mode):
11373 * iimage.el (iimage-mode):
11374 * image-mode.el (image-transform-mode):
11375 * minibuffer.el (completion-in-region-mode):
11376 * scroll-lock.el (scroll-lock-mode):
11377 * simple.el (next-error-follow-minor-mode):
11378 * tar-mode.el (tar-subfile-mode):
11379 * tooltip.el (tooltip-mode):
11380 * vcursor.el (vcursor-use-vcursor-map):
11381 * wid-browse.el (widget-minor-mode):
11382 * emulation/tpu-edt.el (tpu-edt-mode):
11383 * emulation/tpu-extras.el (tpu-cursor-free-mode):
11384 * international/iso-ascii.el (iso-ascii-mode):
11385 * language/thai-util.el (thai-word-mode):
11386 * mail/supercite.el (sc-minor-mode):
11387 * net/goto-addr.el (goto-address-mode):
11388 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
11389 * progmodes/cwarn.el (cwarn-mode):
11390 * progmodes/flymake.el (flymake-mode):
11391 * progmodes/glasses.el (glasses-mode):
11392 * progmodes/hideshow.el (hs-minor-mode):
11393 * progmodes/pascal.el (pascal-outline-mode):
11394 * textmodes/enriched.el (enriched-mode):
11395 * vc/smerge-mode.el (smerge-mode):
11396 Doc fixes (minor mode argument).
11398 2012-02-07 Eli Zaretskii <eliz@gnu.org>
11400 * ls-lisp.el (ls-lisp-sanitize): New function.
11401 (ls-lisp-insert-directory): Use it to fix or remove any elements
11402 in file-alist with missing attributes. (Bug#4673)
11404 2012-02-07 Alan Mackenzie <acm@muc.de>
11406 Fix spurious recognition of c-in-knr-argdecl.
11408 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
11409 putative K&R region.
11411 2012-02-07 Alan Mackenzie <acm@muc.de>
11413 * progmodes/cc-engine.el (c-forward-objc-directive):
11414 Prevent looping in "#pragma mark @implementation".
11416 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
11418 * notifications.el (notifications-on-closed-signal): Make `reason'
11419 optional. (Bug#10744)
11421 2012-02-07 Glenn Morris <rgm@gnu.org>
11423 * emacs-lisp/easy-mmode.el (define-minor-mode):
11424 Doc fixes for the macro and the mode it defines.
11426 * image.el (imagemagick-types-inhibit): Doc fix.
11428 * cus-start.el (imagemagick-render-type): Add it.
11430 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
11432 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
11433 Set the default at load time, too, so that `font-lock-fontify-buffer'
11434 can be called without setting up the entire mode first. This fixes
11435 a bug in `mm-inline-text' with C MIME parts.
11437 2012-02-06 Chong Yidong <cyd@gnu.org>
11439 * simple.el (list-processes--refresh): Delete exited processes
11442 * comint.el (comint-next-prompt): next-single-char-property-change
11443 and prev-single-char-property-change never return nil (Bug#8657).
11445 * custom.el (defcustom): Doc fix (Bug#9711).
11447 2012-02-05 Chong Yidong <cyd@gnu.org>
11449 * cus-edit.el (custom-variable-reset-backup): Quote the value
11450 before storing it in the customized-value property (Bug#6712).
11451 (custom-display): Add a customization type tag.
11452 (custom-buffer-create-internal): Improve tooltip message.
11454 * wid-edit.el (widget-field-value-get): New optional arg to
11455 suppress trailing whitespace truncation.
11456 (character): Use it (Bug#2689).
11458 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
11460 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
11461 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
11463 2012-02-05 Chong Yidong <cyd@gnu.org>
11465 * cus-edit.el (custom-variable-value-create): For mismatched
11466 types, show the current value (Bug#7600).
11468 * custom.el (defcustom): Doc fix.
11470 2012-02-05 Glenn Morris <rgm@gnu.org>
11472 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
11474 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
11476 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
11477 (pp-buffer): Use `ignore-errors', `looking-at-p'.
11478 (pp-last-sexp): Use `looking-at-p'.
11480 2012-02-04 Glenn Morris <rgm@gnu.org>
11482 * files.el (revert-buffer):
11483 Doc fix (mention revert-buffer-in-progress-p).
11485 * emacs-lisp/ert-x.el (ert-simulate-command):
11486 Check deferred-action-list (which is obsolete) is bound.
11488 * subr.el (with-wrapper-hook): Doc fixes.
11490 * simple.el (filter-buffer-substring-functions)
11491 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
11493 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
11495 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
11496 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
11498 2012-02-04 Leo Liu <sdl.web@gmail.com>
11500 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
11502 2012-02-04 Glenn Morris <rgm@gnu.org>
11504 * image.el (image-extension-data): Add obsolete alias.
11506 * isearch.el (isearch-update): Doc fix.
11508 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
11510 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
11512 2012-02-03 Glenn Morris <rgm@gnu.org>
11514 * image.el (image-animated-p): Doc fix. Use image-animated-types.
11515 (image-animate-timeout): Doc fix.
11517 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
11519 2012-02-02 Glenn Morris <rgm@gnu.org>
11521 * server.el (server-auth-dir): Doc fix.
11522 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
11524 * subr.el (run-mode-hooks): Doc fix.
11526 2012-02-02 Juri Linkov <juri@jurta.org>
11528 * image-mode.el (image-toggle-display-image): Remove tautological
11529 `major-mode' from the `derived-mode-p' test.
11531 2012-02-02 Kenichi Handa <handa@m17n.org>
11533 * composite.el (compose-region): Cancel previous change.
11535 2012-02-02 Kenichi Handa <handa@m17n.org>
11537 * composite.el (compose-region, compose-string): Signal error for
11538 a null string component (Bug#6988).
11540 2012-02-01 Chong Yidong <cyd@gnu.org>
11542 * view.el (view-buffer-other-window, view-buffer-other-frame):
11543 Handle special modes like view-buffer (Bug#10650).
11544 (view-buffer): Simplify.
11546 * frame.el (set-frame-font): Tweak meaning of third argument.
11548 * dynamic-setting.el (font-setting-change-default-font):
11549 Use set-frame-font (Bug#9982).
11551 2012-02-01 Glenn Morris <rgm@gnu.org>
11553 * progmodes/compile.el (compilation-internal-error-properties):
11554 Respect compilation-first-column in the "*compilation*" buffer.
11556 * emacs-lisp/easy-mmode.el (define-minor-mode):
11557 Relax :variable's test for a named function.
11559 2012-01-31 Alan Mackenzie <acm@muc.de>
11561 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
11564 2012-01-31 Chong Yidong <cyd@gnu.org>
11566 * frame.el (set-frame-font): New arg ALL-FRAMES.
11568 * menu-bar.el (menu-set-font): Use set-frame-font.
11570 * faces.el (face-spec-reset-face): Don't apply unspecified
11571 attribute values to the default face.
11573 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
11575 * progmodes/cwarn.el (cwarn): Remove dead link.
11576 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
11577 Remove * from defcustom docstrings.
11578 (turn-on-cwarn-mode): Make obsolete.
11579 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
11580 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
11582 2012-01-31 Glenn Morris <rgm@gnu.org>
11584 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
11585 Fix :variable handling of mode a symbol not equal to modefun.
11586 Allow named functions to be used as the cdr of :variable.
11588 2012-01-30 Glenn Morris <rgm@gnu.org>
11590 * emacs-lisp/authors.el (authors-fixed-entries):
11591 Remove reference to deleted file rnewspost.el.
11593 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
11595 * window.el (window-with-parameter): Remove unused variable `windows'.
11596 (window--side-check): Remove unused variable `code'.
11597 (window--resize-siblings): Remove unused variable `first'.
11598 (adjust-window-trailing-edge): Remove unused variable `failed'.
11599 (window-deletable-p, window--delete): Remove unused variable `buffer'.
11600 Use `let', not `let*'.
11601 (balance-windows-2): Remove unused variable `found'.
11602 (window--state-put-2): Remove unused variable `splits'.
11603 (window-state-put): Remove unused variable `selected'.
11604 (same-window-p): Use `string-match-p'.
11605 (display-buffer-assq-regexp): Remove unused variable `value'.
11606 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11607 Mark argument ALIST as ignored.
11608 (pop-to-buffer): Remove unused variable `old-window'.
11610 2012-01-29 Eli Zaretskii <eliz@gnu.org>
11612 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
11613 and .lzma compressed files.
11615 2012-01-29 Chong Yidong <cyd@gnu.org>
11617 * frame.el (window-system-default-frame-alist): Doc fix.
11619 * dynamic-setting.el (font-setting-change-default-font): Don't
11620 change the default face if SET-FONT argument is non-nil (Bug#9982).
11622 2012-01-29 Samuel Bronson <naesten@gmail.com>
11624 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
11626 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
11628 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
11629 breakpoints in files outside current directory (Bug#6098).
11631 2012-01-29 Chong Yidong <cyd@gnu.org>
11633 * progmodes/python.el: Require ansi-color at top-level.
11635 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
11636 Define and use in Emacs Lisp mode (Bug#9360).
11637 (lisp-mode-abbrev-table): Add doc.
11638 (lisp-mode-variables): Don't set local-abbrev-table.
11639 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
11641 2012-01-28 Roland Winkler <winkler@gnu.org>
11643 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
11645 2012-01-28 Roland Winkler <winkler@gnu.org>
11647 * textmodes/bibtex.el (bibtex-entry-alist): New function.
11648 (bibtex-set-dialect): Use it. Either set global values of
11649 dialect-dependent variables or bind these variables buffer-locally
11651 (bibtex-mode): Call bibtex-set-dialect via
11652 hack-local-variables-hook.
11653 (bibtex-dialect): Update docstring.
11654 Add safe-local-variable predicate.
11655 (bibtex-entry-alist, bibtex-field-alist): Initialize via
11656 bibtex-set-dialect.
11657 (bibtex-mode-map): Define menu for each dialect.
11658 (bibtex-entry): Fix docstring.
11660 2012-01-28 Chong Yidong <cyd@gnu.org>
11662 * eshell/esh-arg.el (eshell-quote-argument): New function.
11664 * eshell/esh-ext.el (eshell-invoke-batch-file):
11665 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
11666 first arg to eshell-parse-command (Bug#10523).
11668 2012-01-28 Drew Adams <drew.adams@oracle.com>
11670 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
11671 `default-directory' is non-nil.
11673 2012-01-28 Eli Zaretskii <eliz@gnu.org>
11675 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
11676 line that displays system-configuration-options. (Bug#9924)
11678 2012-01-28 Drew Adams <drew.adams@oracle.com>
11680 * descr-text.el (describe-char): Show information about POS, in
11681 addition to information about the character at POS. Improve and
11682 update the doc string. Change "code point" to "code point in
11683 charset", to avoid confusion with the character's Unicode code
11684 point shown above that. (Bug#10129)
11686 2012-01-28 Eli Zaretskii <eliz@gnu.org>
11688 * descr-text.el (describe-char): Show the raw character, not only
11689 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
11690 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
11693 2012-01-28 Phil Hagelberg <phil@hagelb.org>
11695 * emacs-lisp/package.el (package-install):
11696 Run package-refresh-contents if there is no archive yet (Bug#9798).
11698 2012-01-28 Chong Yidong <cyd@gnu.org>
11700 * emacs-lisp/package.el (package-maybe-load-descriptor):
11701 New function, split from package-maybe-load-descriptor.
11702 (package-maybe-load-descriptor): Use it.
11703 (package-download-transaction): Fully load required packages
11704 inside the loop, so that `require' calls work (Bug#10593).
11705 (package-install): No need to call package-initialize now.
11707 2012-01-28 Chong Yidong <cyd@gnu.org>
11709 * simple.el (deactivate-mark): Doc fix (Bug#8614).
11711 * tooltip.el (tooltip-mode): Doc fix.
11712 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
11714 * frame.el (set-cursor-color): Doc fix (Bug#352).
11716 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
11717 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
11719 * cus-edit.el (custom-buffer-create-internal): Fix search button
11720 action (Bug#10542).
11721 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
11723 2012-01-27 Eduard Wiebe <usenet@pusto.de>
11725 * dired.el (dired-mark-files-regexp):
11726 Include any subdirectory components. (Bug#10445)
11728 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
11730 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
11731 Handle [host]:port syntax. (Bug#10533)
11733 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
11735 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
11737 2012-01-26 Glenn Morris <rgm@gnu.org>
11739 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
11740 * term.el (term-raw-escape-map): Use Control-X-prefix.
11741 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
11743 2012-01-25 Martin Rudalics <rudalics@gmx.at>
11745 * window.el (window-state-get, window--state-get-1): Don't deal
11746 with fixed-sizeness of windows. Simplify code.
11748 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
11750 * window.el (window--state-get-1, window--state-put-2):
11751 Don't save and restore the mark.
11753 2012-01-25 Chong Yidong <cyd@gnu.org>
11755 * custom.el (custom-variable-p): Doc fix.
11757 2012-01-25 Glenn Morris <rgm@gnu.org>
11759 * dired.el (dired-goto-file): Handle some of the more common
11760 characters that `ls -b' escapes. (Bug#10596)
11762 * progmodes/compile.el (compilation-next-error-function):
11763 Respect compilation-first-column in the "*compilation*" buffer.
11764 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
11766 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
11768 2012-01-24 Glenn Morris <rgm@gnu.org>
11770 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
11772 2012-01-24 Julien Danjou <julien@danjou.info>
11774 * color.el (color-rgb-to-hsl): Fix value computing.
11775 (color-hue-to-rgb): New function.
11776 (color-hsl-to-rgb): New function.
11777 (color-clamp, color-saturate-hsl, color-saturate-name)
11778 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
11779 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
11781 2012-01-24 Glenn Morris <rgm@gnu.org>
11783 * vc/vc-rcs.el (vc-rcs-create-tag):
11784 * vc/vc-sccs.el (vc-sccs-create-tag):
11785 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
11787 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
11789 * eshell/esh-util.el (eshell-read-hosts-file):
11790 Skip comment lines. (Bug#10549)
11792 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
11794 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
11796 * subr.el (display-delayed-warnings): Doc fix.
11797 (collapse-delayed-warnings): New function to collapse identical
11799 (delayed-warnings-hook): Add it.
11801 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
11803 * net/tramp.el (tramp-action-login): Set connection property "login-as".
11805 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
11806 (tramp-default-user-alist): Don't add "pscp".
11807 (tramp-do-copy-or-rename-file-out-of-band): Use connection
11808 property "login-as", if set. (Bug#10530)
11810 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
11812 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
11813 "plink1" and "psftp". (Bug#10530)
11815 2012-01-21 Kenichi Handa <handa@m17n.org>
11817 * international/mule-cmds.el (prefer-coding-system): Show a
11818 warning message if the default value of file-name-coding-system
11821 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
11823 * windmove.el (windmove-reference-loc):
11824 Fix windmove-reference-loc miscalculation.
11826 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
11828 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
11831 2012-01-21 Glenn Morris <rgm@gnu.org>
11833 * international/mule.el (auto-coding-alist): Add .tbz.
11835 * files.el (local-enable-local-variables): Doc fix.
11836 (inhibit-local-variables-regexps): Rename from
11837 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
11838 Doc fix. Add some extensions from auto-coding-alist.
11839 (inhibit-local-variables-suffixes):
11840 Rename from inhibit-first-line-modes-suffixes. Doc fix.
11841 (inhibit-local-variables-p):
11842 New function, extracted from set-auto-mode-1.
11843 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
11844 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
11845 (hack-local-variables): Doc fix. Make the mode-only case
11846 respect enable-local-variables and friends.
11847 Respect inhibit-local-variables-regexps for file-locals, but
11848 not for directory-locals.
11849 (set-visited-file-name):
11850 Take account of inhibit-local-variables-regexps.
11851 Whether it applies may change as the file name is changed.
11852 * jka-cmpr-hook.el (jka-compr-install):
11853 * jka-compr.el (jka-compr-uninstall):
11854 Update for inhibit-first-line-modes-suffixes name change.
11856 2012-01-20 Martin Rudalics <rudalics@gmx.at>
11858 * help-macro.el (make-help-screen): Temporarily restore original
11859 binding for minor-mode-map-alist (Bug#10454).
11861 2012-01-19 Julien Danjou <julien@danjou.info>
11863 * color.el (color-name-to-rgb): Use the white color to find the max
11864 color component value and return correctly computed values.
11865 (color-name-to-rgb): Add missing float conversion for max value.
11867 2012-01-19 Martin Rudalics <rudalics@gmx.at>
11869 * window.el (window--state-get-1, window-state-get): Do not use
11870 special state value for window-persistent-parameters.
11871 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
11872 (window--state-put-2): Reset all window parameters to nil before
11873 assigning values of persistent parameters.
11875 2012-01-18 Alan Mackenzie <acm@muc.de>
11877 Eliminate sluggishness and hangs in fontification of "semicolon
11880 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
11881 Change value 10000 -> 3000.
11882 (c-state-safe-place): Reformulate so it doesn't stack up an
11883 infinite number of wrong entries in c-state-nonlit-pos-cache.
11884 (c-determine-limit-get-base, c-determine-limit): New functions to
11885 determine backward search limits disregarding literals.
11886 (c-find-decl-spots): Amend commenting.
11887 (c-cheap-inside-bracelist-p): New function which detects "={".
11889 * progmodes/cc-fonts.el
11890 (c-make-font-lock-BO-decl-search-function): Give a limit to a
11892 (c-font-lock-declarations): Fix an occurrence of point being
11893 undefined. Check additionally for point being in a bracelist or
11894 near a macro invocation without a semicolon so as to avoid a
11895 fruitless time consuming search for a declarator. Give a more
11896 precise search limit for declarators using the new
11899 2012-01-18 Glenn Morris <rgm@gnu.org>
11901 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
11902 (set-auto-mode): Doc fixes.
11904 2012-01-17 Glenn Morris <rgm@gnu.org>
11906 * isearch.el (search-nonincremental-instead): Fix doc typo.
11908 * dired.el (dired-insert-directory): Handle newlines in directory name.
11909 (dired-build-subdir-alist): Unescape newlines in directory name.
11911 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
11913 * net/tramp.el (tramp-local-end-of-line): New defcustom.
11914 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
11915 (tramp-action-terminal): Use it. (Bug#10530)
11917 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
11919 * minibuffer.el (completion--replace): Strip properties (bug#10062).
11921 2012-01-16 Martin Rudalics <rudalics@gmx.at>
11923 * window.el (window-state-ignored-parameters): Remove variable.
11924 (window--state-get-1): Rename argument MARKERS to IGNORE.
11925 Handle persistent window parameters. Make copy of clone-of
11926 parameter only if requested. (Bug#10348)
11927 (window--state-put-2): Install a window parameter only if it has
11928 a non-nil value or an existing parameter shall be overwritten.
11930 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
11932 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
11934 2012-01-14 Eli Zaretskii <eliz@gnu.org>
11936 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
11937 don't pass the (nil) value of `upnode' to string-match.
11939 2012-01-14 Chong Yidong <cyd@gnu.org>
11941 * startup.el (command-line): Fix X resource class for cursorColor.
11942 Fix values recognized by the cursorBlink resource.
11944 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
11946 * epg.el (epg--make-temp-file): Avoid permission race condition
11947 when running on old Emacs versions (bug#10403).
11949 2012-01-14 Glenn Morris <rgm@gnu.org>
11951 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
11953 2012-01-13 Alan Mackenzie <acm@muc.de>
11955 Fix filling for when filladapt mode is enabled.
11957 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
11958 c-mask-paragraph, pass in `fill-paragraph' rather than
11959 `fill-region-as-paragraph'. (This is a reversion of a previous
11961 * progmodes/cc-mode.el (c-basic-common-init):
11962 Make fill-paragraph-handle-comment buffer local and set it to nil.
11964 2012-01-13 Glenn Morris <rgm@gnu.org>
11966 * dired.el (dired-switches-escape-p): New function.
11967 (dired-insert-directory): Use dired-switches-escape-p.
11968 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
11970 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
11972 2012-01-12 Glenn Morris <rgm@gnu.org>
11974 * mail/sendmail.el (mail-mode): Update paragraph-separate for
11975 changes in adaptive-fill-regexp. (Bug#10276)
11977 2012-01-11 Alan Mackenzie <acm@muc.de>
11979 Fix Emacs bug #10463 - put `widen's around the critical spots.
11981 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
11982 widen around each invocation of c-state-pp-to-literal. Remove an
11983 unused let variable.
11985 2012-01-11 Glenn Morris <rgm@gnu.org>
11987 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
11990 2012-01-10 Chong Yidong <cyd@gnu.org>
11992 * net/network-stream.el (network-stream-open-starttls):
11993 Avoid emitting a confusing error message when the server gives a bad
11994 response to the capability command.
11996 2012-01-10 Glenn Morris <rgm@gnu.org>
11998 * mail/unrmail.el (unrmail): Tweak previous change.
12000 2012-01-09 Chong Yidong <cyd@gnu.org>
12002 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
12004 2012-01-08 Alan Mackenzie <acm@muc.de>
12006 Optimise font locking in long enum definitions.
12008 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
12009 arm to a cond form to handle enums.
12010 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
12011 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
12013 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
12015 * files.el (move-file-to-trash): Preserve default file modes on error.
12018 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12020 * faces.el (set-face-attribute): Clarify the meaning of the nil
12023 * subr.el (with-selected-frame): Mention that the selected frame
12024 is restored (bug#9980).
12026 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
12029 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
12030 (password-read): Don't autoload unused function.
12032 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
12034 * progmodes/which-func.el (which-func-mode): Turn into a
12035 non-interactive function and mark as obsolete (bug#10428).
12037 2012-01-06 Chong Yidong <cyd@gnu.org>
12039 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
12040 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
12041 functions, along with 1 and -1.
12043 2012-01-06 Eli Zaretskii <eliz@gnu.org>
12045 * time.el (display-time-load-average)
12046 (display-time-default-load-average): Doc fixes. See the thread
12048 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
12051 2012-01-06 Glenn Morris <rgm@gnu.org>
12053 * mail/unrmail.el (unrmail): Give an explicit error if the input file
12054 has no messages. (Bug#10377)
12056 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
12057 than Info-edit. (Bug#10385)
12059 * time.el (display-time-load-average, display-time-next-load-average):
12062 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
12063 local setting of buffer-read-only to the input buffer. (Bug#10419)
12065 * calendar/calendar.el (calendar-mode):
12066 Locally set scroll-margin to 0. (Bug#10379)
12068 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
12070 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
12072 2012-01-05 Glenn Morris <rgm@gnu.org>
12074 * eshell/em-unix.el (diff-no-select): Autoload it.
12075 (eshell/diff): Use diff-no-select. (Bug#10420)
12077 2012-01-05 Chong Yidong <cyd@gnu.org>
12079 * shell.el (shell-dynamic-complete-functions): Revert last change.
12080 (shell-command-completion-function): New function.
12081 (shell-completion-vars): Use it to implement
12082 shell-completion-execonly (Bug#10417).
12084 * custom.el (enable-theme): Don't set custom-safe-themes.
12086 * cus-theme.el (custom-theme-merge-theme):
12087 Ignore custom-enabled-themes and custom-safe-themes.
12089 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
12091 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
12092 first prompt in `sql-interacive-mode'.
12093 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
12095 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
12096 (sql-product-interactive): Bug fix: Set `sql-buffer' in
12097 context of original buffer. Invoke `sql-login-hook'.
12099 2012-01-04 Eli Zaretskii <eliz@gnu.org>
12101 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
12102 letters in cite-prefix.
12104 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12106 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
12108 2012-01-03 Chong Yidong <cyd@gnu.org>
12110 * shell.el (shell-dynamic-complete-functions):
12111 Put pcomplete-completions-at-point, so as to try
12112 comint-filename-completion first (Bug#10417).
12114 2012-01-02 Richard Stallman <rms@gnu.org>
12116 * battery.el (battery-status-function):
12117 Detect when to use battery-yeeloong-sysfs.
12118 (battery-echo-area-format): Add string for Yeeloong.
12119 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
12120 (battery-yeeloong-sysfs): New function.
12122 2012-01-02 Chong Yidong <cyd@gnu.org>
12124 * dirtrack.el (dirtrack-list): Eliminate unused third element.
12125 (dirtrack): Merge code for handling relative filenames in prompt
12126 from shell-dir-cookie-watcher.
12127 (dirtrack-debug-message): New arg to avoid excess format calls.
12129 * shell.el (shell-dir-cookie-re): Variable deleted.
12130 (shell-dir-cookie-watcher): Function deleted.
12131 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
12132 with dirtrack-mode.
12134 2012-01-01 Eli Zaretskii <eliz@gnu.org>
12136 * term/w32-win.el (dynamic-library-alist) <gnutls>:
12137 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
12140 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
12142 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
12144 2011-12-31 Eli Zaretskii <eliz@gnu.org>
12146 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
12147 headers of non-MIME messages, when rmail-enable-mime is non-nil.
12149 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
12151 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
12152 also for alternative shells.
12153 (tramp-open-connection-setup-interactive-shell): Check, whether
12154 the shell is a busybox.
12155 (tramp-send-command): Don't suppress multiple prompts for
12156 busyboxes, it hurts.
12158 2011-12-28 Chong Yidong <cyd@gnu.org>
12160 * progmodes/gdb-mi.el (gdb-get-source-file-list)
12161 (gdb-get-source-file): Move mode line update to
12162 gdb-get-source-file (Bug#10087).
12164 2011-12-25 Chong Yidong <cyd@gnu.org>
12166 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
12167 gud-gdb-marker-filter without taking it as an argument.
12168 (gud-gdb-run-command-fetch-lines): Caller changed.
12169 (gud-gdb-completion-function): New variable.
12170 (gud-gdb-completion-at-point): Use it.
12171 (gud-gdb-completions-1): Split from gud-gdb-completions.
12173 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
12174 function as separate arguments.
12175 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
12176 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
12177 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
12178 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
12179 (gdb-stopped, def-gdb-auto-update-trigger)
12180 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
12181 (gdb-get-changed-registers, gdb-get-main-selected-frame):
12183 (gud-gdbmi-completions): New function.
12184 (gdb): Use it for generating the completion table.
12186 2011-12-24 Alan Mackenzie <acm@muc.de>
12188 Introduce a mechanism to widen the region used in context font
12189 locking. Use this to protect declarations from losing their contexts.
12191 * progmodes/cc-langs.el (c-before-font-lock-functions):
12192 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
12193 (c-before-context-fontification-functions): New defvar, a list of
12194 functions to be run just before context (etc.) font locking.
12196 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
12197 New, functionality extracted from
12198 c-neutralize-syntax-in-and-mark-CPP.
12199 (c-in-after-change-fontification): New variable.
12200 (c-after-change): Set c-in-after-change-fontification.
12201 (c-set-fl-decl-start): Rejig its interface, so it can be called
12202 from both after-change and context fontifying.
12203 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
12205 (c-standard-font-lock-fontify-region-function): New variable.
12206 (c-font-lock-fontify-region): New function.
12208 2011-12-24 Juri Linkov <juri@jurta.org>
12210 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
12213 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
12215 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
12216 existence of source file. (Bug#10325)
12218 2011-12-23 Alan Mackenzie <acm@muc.de>
12220 Fix unstable fontification inside templates.
12222 * progmodes/cc-langs.el (c-before-font-lock-functions):
12223 Newly created from the singular version. The (c c++ objc) entry now
12224 additionally has c-set-fl-decl-start. The other languages (apart
12225 from AWK) have that as a single entry.
12227 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
12228 The functionality for "local" declarations has been extracted to
12229 c-set-fl-decl-start.
12231 * progmodes/cc-mode.el (c-common-init, c-after-change):
12232 Changes due to pluralisation of c-before-font-lock-functions.
12233 (c-set-fl-decl-start): New function, extracted from
12234 c-font-lock-enclosing-decls and enhanced.
12236 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
12238 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
12240 2011-12-22 Juri Linkov <juri@jurta.org>
12242 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
12244 2011-12-22 Chong Yidong <cyd@gnu.org>
12246 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
12248 2011-12-21 Drew Adams <drew.adams@oracle.com>
12250 * files.el (file-remote-p): Fix docstring. (Bug#10319)
12252 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
12254 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
12256 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
12258 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
12259 highlighting and support. Fix up comments for capitalization.
12260 (cfengine-mode-debug): New var.
12261 (cfengine3-mode): Change the modeline indicator to "CFE3".
12262 (cfengine3-font-lock-keywords): Improve defun highlighting.
12263 (cfengine2-actions): Rename from `cfengine-actions'.
12264 (cfengine2-font-lock-keywords): Rename from
12265 `cfengine-font-lock-keywords'.
12266 (cfengine2-imenu-expression): Rename from
12267 `cfengine-imenu-expression'.
12268 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
12269 (cfengine2-beginning-of-defun): Rename from
12270 `cfengine-beginning-of-defun'.
12271 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
12272 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
12273 (cfengine2-mode): Rename from `cfengine-mode'. Change the
12274 modeline indicator to "CFE2".
12275 (cfengine-mode): Defalias to `cfengine-auto-mode'.
12276 (cfengine-mode-abbrevs): Mark obsolete.
12278 2011-12-21 Chong Yidong <cyd@gnu.org>
12280 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
12283 2011-12-20 Martin Rudalics <rudalics@gmx.at>
12285 * window.el (window-normalize-buffer-to-display): Remove.
12286 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
12288 2011-12-19 Chong Yidong <cyd@gnu.org>
12290 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
12291 Don't signal an error in a predicate function; return non-nil.
12292 (vc-dir-mark-file): Move the error here.
12293 (vc-dir-mark-unmark): If acting on the region, keep going if one
12294 of the entries cannot be marked/unmarked.
12295 (vc-dir-mark-all-files): If current entry is a directory, mark
12296 only child files, as documented.
12298 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
12300 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
12301 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
12304 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
12306 * term/ns-win.el (ns-get-selection-internal)
12307 (ns-store-selection-internal): Declare.
12308 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
12309 Declare as obsolete.
12310 (ns-get-pasteboard, ns-paste-secondary):
12311 Use ns-get-selection-internal.
12312 (ns-set-pasteboard, ns-copy-including-secondary):
12313 Use ns-store-selection-internal.
12315 2011-12-17 Chong Yidong <cyd@gnu.org>
12317 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
12318 (vc-deduce-fileset): Doc fix.
12320 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
12322 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
12324 2011-12-13 Sam Steingold <sds@gnu.org>
12326 * man.el (Man-getpage-in-background): When running under a
12327 window-system, ignore $MANWIDTH and $COLUMNS.
12329 2011-12-15 Kenichi Handa <handa@m17n.org>
12331 * language/ethio-util.el: Change coding tag to utf-8-emacs.
12332 (setup-ethiopic-environment-internal): Comment out key-binding for
12333 ethio-toggle-punctuation.
12335 2011-12-13 Alan Mackenzie <acm@muc.de>
12337 Add the switch statement to AWK Mode.
12339 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
12340 "default" to the keywords regexp.
12342 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
12343 expression as the rest.
12344 (c-nonlabel-token-key): Allow string literals for AWK.
12345 Refactor for the other modes.
12347 Large brace-block initialisation makes CC Mode slow: Fix.
12348 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
12349 routines. Limit backward searching in c-font-lock-enclosing.decl.
12351 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
12352 pp-state and literal type in addition to the limits.
12353 (c-state-safe-place): New defun, extracted from c-state-literal-at.
12354 (c-state-literal-at): Use the above new defun.
12355 (c-slow-in-literal, c-fast-in-literal): Remove.
12356 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
12358 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
12359 being in a literal. Add a limit for backward searching.
12361 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
12364 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
12366 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
12368 2011-12-13 Martin Rudalics <rudalics@gmx.at>
12370 * window.el (delete-other-windows): Use correct frame in call to
12371 window-with-parameter.
12373 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
12375 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
12376 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
12377 (makefile-gmake-statements, makefile-makepp-statements):
12378 Use it and add new makepp keywords.
12379 (makefile-makepp-font-lock-keywords): Add new patterns.
12380 (makefile-match-function-end): Match new [...] and [[...]].
12382 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
12384 * ses.el (ses-call-printer-return, ses-cell-property-get)
12385 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
12386 (ses-create-cell-variable, ses-reset-header-string)
12387 (ses-cell-set-formula, ses-repair-cell-reference-all)
12388 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
12389 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
12390 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
12391 (ses-aset-with-undo, ses-load, ses-truncate-cell)
12392 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
12393 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
12394 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
12395 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
12396 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
12397 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
12398 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
12399 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
12401 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
12403 * ses.el: The overall change is to add cell renaming, that is
12404 setting fancy names for cell symbols other than name matching
12405 "\\`[A-Z]+[0-9]+\\'" regexp .
12406 (ses-create-cell-variable): New defun.
12407 (ses-relocate-formula): Relocate formulas only for cells the
12408 symbols of which are not renamed, i.e. symbols whose names do not
12409 match regexp "\\`[A-Z]+[0-9]+\\'".
12410 (ses-relocate-all): Relocate values only for cells the symbols of
12411 which are not renamed.
12412 (ses-load): Create cells variables as the (ses-cell ...) are read,
12413 in order to check row col consistency with cell symbol name only
12414 for cells that are not renamed.
12415 (ses-replace-name-in-formula): New defun.
12416 (ses-rename-cell): New defun.
12418 2011-12-11 Chong Yidong <cyd@gnu.org>
12420 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
12421 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
12423 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
12425 * window.el (other-window): Fix docstring.
12427 2011-12-10 Eli Zaretskii <eliz@gnu.org>
12429 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
12430 `from' or `to' address before taking its substring.
12431 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
12432 encoded name is chopped in the middle of the encoded string, and
12433 thus displayed encoded.
12435 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
12437 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
12439 2011-12-10 Eli Zaretskii <eliz@gnu.org>
12441 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
12442 to use texinfo-update-node and commands that call it if the
12443 Texinfo file uses @node lines without next/prev/up pointers.
12444 Correct outdated description about texinfo-master-menu.
12445 (texinfo-all-menus-update, texinfo-master-menu)
12446 (texinfo-update-node, texinfo-every-node-update)
12447 (texinfo-multiple-files-update): Doc fix. Warn against updating
12448 all the @node lines.
12449 (texinfo-master-menu): Only call texinfo-update-node if the prefix
12450 argument is numeric. Explain better in the doc string what the
12451 function really does.
12452 (texinfo-insert-master-menu-list): Improve the error message
12453 displayed if there's no menu in the Top node.
12454 (Bug#2975) See also this thread:
12455 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
12457 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
12459 * speedbar.el (speedbar-supported-extension-expressions):
12460 Add .adb and .ads, commonly used for Ada source code (bug#10256).
12462 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
12464 * printing.el (pr-mode-alist):
12465 * simple.el (filter-buffer-substring-functions)
12466 (completion-list-insert-choice-function):
12467 * window.el (window-with-parameter, window-atom-root)
12468 (window-sides-slots, window-size-fixed, window-min-delta)
12469 (window-max-delta, window--resize-mini-window)
12470 (window--resize-child-windows-normal, window-tree)
12471 (delete-other-windows, quit-window, split-window)
12472 (display-buffer-record-window, special-display-buffer-names)
12473 (special-display-regexps, special-display-popup-frame)
12474 (same-window-p, split-window-sensibly)
12475 (display-buffer-overriding-action, display-buffer-alist)
12476 (display-buffer-base-action, display-buffer, switch-to-buffer)
12477 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
12478 (fit-window-to-buffer, recenter-positions)
12479 (mouse-autoselect-window-state, mouse-autoselect-window-select):
12480 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
12481 and remove unneeded backslashes in docstrings.
12483 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
12485 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
12487 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
12488 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
12490 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
12491 when reading the makefile (bug#10116).
12493 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
12495 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
12498 2011-12-06 Glenn Morris <rgm@gnu.org>
12500 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
12502 2011-12-06 Chong Yidong <cyd@gnu.org>
12504 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
12506 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
12508 * textmodes/table.el (table-shorten-cell): Fix typo.
12510 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
12512 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
12514 2011-12-05 Eli Zaretskii <eliz@gnu.org>
12516 * descr-text.el (describe-char): Fix display of strong
12517 right-to-left characters and directional embeddings and overrides.
12519 * simple.el (what-cursor-position): Fix display of codepoints of
12520 strong right-to-left characters.
12522 2011-12-05 Chong Yidong <cyd@gnu.org>
12524 * faces.el (read-color): Doc fix.
12526 2011-12-05 Glenn Morris <rgm@gnu.org>
12528 * align.el (align--set-marker): Add doc-string.
12529 Don't try to move something that is not a marker. (Bug#10216)
12531 2011-12-04 Glenn Morris <rgm@gnu.org>
12533 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
12534 overly zealous deletion of trailing whitespace.
12536 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
12538 * server.el (server-delete-client): On Windows, do not try to delete
12540 (server-process-filter): On Windows, treat requests for a tty frame as
12541 if they were for a GUI frame if the running server is in GUI mode.
12543 2011-12-03 Glenn Morris <rgm@gnu.org>
12545 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
12547 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
12549 * electric.el: Streamline electric-indent's hook.
12550 (electric-indent-chars): Revert to simple list.
12551 (electric-indent-functions): New var.
12552 (electric-indent-post-self-insert-function): Use it.
12554 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
12555 there's no inferior buffer (bug#10196).
12556 (prolog-consult-compile): Don't use toggle-read-only.
12558 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
12560 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
12561 interrupt. (Bug#10187)
12563 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
12565 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
12568 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
12571 2011-12-02 Juri Linkov <juri@jurta.org>
12573 * info.el (Info-search): Display "end of manual" when Isearch
12574 reaches the end of single-file Info manual. (Bug#9918)
12576 2011-12-02 Eli Zaretskii <eliz@gnu.org>
12578 * isearch.el (isearch-message-prefix): Run the input method part
12579 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
12581 2011-12-02 Juri Linkov <juri@jurta.org>
12583 * isearch.el (isearch-occur): Use `word-search-regexp' for
12585 (isearch-search-and-update): Add condition for `isearch-word' and
12586 call `word-search-regexp'. (Bug#10145)
12588 2011-12-01 Glenn Morris <rgm@gnu.org>
12590 * eshell/em-hist.el (eshell-hist-initialize):
12591 Handle eshell-history-size nil and HISTSIZE set or unset.
12592 (eshell-history-file-name, eshell-history-size): Fix custom type.
12594 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
12596 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
12598 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
12600 * progmodes/verilog-mode.el (verilog-pretty-expr):
12601 Rework verilog-pretty-expr to handle new assignment operators in system
12602 verilog, such as += *= and the like.
12603 (verilog-assignment-operator-re): Regular expression to find the
12604 assigment operator in a verilog assignment.
12605 (verilog-assignment-operation-re): Regular expression to find an
12606 assignment statement for pretty-expr.
12607 (verilog-in-attribute-p): Query returns true if point is in an
12608 attribute context; used to skip these for expression line up from
12610 (verilog-in-parameter-p): Query returns true if point is in an
12611 parameter definition context; used to skip these for expression
12612 line up from pretty-expr.
12613 (verilog-in-parenthesis-p): Query returns true if point is in a
12614 parenthetical expression, specifically ( ) but not [ ] or { };
12615 used by pretty-expr.
12616 (verilog-just-one-space): If there is no space, don't add one.
12617 (verilog-get-lineup-indent-2): Specifically skip just attribute
12618 contexts for expression lineup, rather than skipping all
12619 parenthetical expressions.
12620 (verilog-calculate-indent): Fix comment, and fix indent.
12621 (verilog-do-indent): Indent declarations in lists (suggested by
12623 (verilog-mode-abbrev-table): Populate abbrev mode with the various
12625 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
12628 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
12630 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
12631 parameters with embedded comments. Reported by Ray Stevens.
12632 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
12633 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
12634 Reported by Tim Holt.
12635 (verilog-auto): Fix AUTOing a upper module then AUTOing module
12636 instantiated by upper module causing wrong expansion until AUTOed a
12637 second time. Reported by K C Buckenmaier.
12638 (verilog-diff-auto): Fix showing .* as a difference when
12639 `verilog-auto-star-save' off. Reported by Dan Dever.
12640 (verilog-auto-reset, verilog-read-always-signals)
12641 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
12642 temporary signals in reset list if
12643 verilog-auto-reset-blocking-in-non is nil, and match assignment
12644 style to each signal's assignment type, bug381.
12645 Reported by Thomas Esposito.
12646 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
12647 (verilog-uvm-statement-re): Support UVM indentation and
12648 highlighting, with old OVM keywords only.
12649 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
12650 Support AUTOTIEOFF creating non-wire data types.
12651 Suggested by Jonathan Greenlaw.
12652 (verilog-auto-insert-lisp, verilog-delete-to-paren)
12653 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
12654 (verilog-inject-sense, verilog-read-inst-pins)
12655 (verilog-read-sub-decls, verilog-read-sub-decls-line):
12656 Fix mismatching parenthesis inside commented out code when deleting
12657 AUTOINST, bug383. Reported by Jonathan Greenlaw.
12658 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
12659 non-numeric vector width. Reported by Alex Reed.
12660 (verilog-auto-ascii-enum): Add "onehot" option to work around not
12661 detecting signals with parameter widths. Reported by Alex Reed.
12662 (verilog-auto-delete-trailing-whitespace):
12663 With `verilog-auto-delete-trailing-whitespace' remove trailing
12664 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
12665 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
12666 Fix verilog-scan-cache corruption when running user AUTO expansion
12667 hooks that call indentation routines.
12668 (verilog-simplify-range-expression): Fix typo ignoring lower case
12670 (verilog-delete-auto): Fix delete-autos to also remove user created
12671 automatics, as long as they start with AUTO.
12672 (verilog-batch-diff-auto, verilog-diff-auto)
12673 (verilog-diff-function): Add `verilog-diff-auto' and bind to
12674 "C-c?" to report differences in AUTO expansion, ignoring spaces.
12675 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
12676 (verilog-in-paren-quick, verilog-re-search-backward-quick)
12677 (verilog-re-search-forward-quick, verilog-syntax-ppss):
12678 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
12679 is disabled and its cache will get corrupt, causing AUTOS not to
12680 expand. Instead use only -quick functions.
12681 (verilog-scan-region): Fix scanning over escaped quotes.
12682 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
12683 (verilog-re-search-backward-quick)
12684 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
12685 related functions now ignore strings, to fix misparsing of strings
12686 with magic comments embedded in them.
12687 (verilog-read-auto-template):
12688 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
12689 Reported by Brad Dobbie.
12690 (verilog-read-auto-template):
12691 Fix 'verilog-auto-inst-template-numbers' with comments.
12692 Reported by Brad Dobbie.
12693 (verilog-auto-inst, verilog-auto-inst-param)
12694 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
12695 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
12696 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
12697 debugging templates without merge conflicts, bug357.
12698 Reported by Brad Dobbie.
12699 (verilog-read-auto-template):
12700 Fix verilog-auto-inst-template-numbers with multiple templates.
12701 Reported by Brad Dobbie.
12702 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
12703 abbrevs so user won't be asked to save.
12704 (verilog-read-auto-lisp-present): Fix to start at beginning of
12705 buffer in case called outside of verilog-auto.
12706 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
12707 to "X-2". Reported by Matthew Myers.
12708 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
12709 all inputs from module templates. Reported by Leith Johnson.
12710 (verilog-module-inside-filename-p): Fix locating programs as with
12712 (verilog-auto-inst-port): Fix vl-width expressions when using
12713 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
12714 (verilog-decls-get-regs, verilog-decls-get-signals,
12715 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
12716 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
12717 verilog-read-decls): Combine reg and wire structures into one var
12718 structure to represent SystemVerilog concepts.
12719 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
12720 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
12721 (verilog-auto-wire-type, verilog-insert-definition):
12722 Add verilog-auto-wire-type and AUTOLOGIC to support using
12723 SystemVerilog "logic" keyword instead of "wire"/"reg".
12724 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
12725 to declares outputs that also have assignments (presumably in an
12726 ifdef or generate if so there's not a driver conflict).
12727 Reported by Matthew Myers.
12728 (verilog-auto-declare-nettype, verilog-insert-definition):
12729 Add verilog-auto-declare-nettype to fix declarations using
12730 `default_nettype none. Reported by Julian Gorfajn.
12731 (verilog-read-always-signals-recurse, verilog-read-decls)
12732 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
12733 malformed end statement, bug325. Reported by Joshua Wise and
12735 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
12736 (verilog-inst-comment-re): Fix not deleting Interfaced comment
12737 when expanding .* in interfaces, bug320.
12738 Reported by Pierre-David Pfister.
12739 (verilog-read-module-name): Fix import statements between module
12740 name and open parenthesis, bug317.
12741 Reported by Pierre-David Pfister.
12742 (verilog-simplify-range-expression): Fix simplification of
12743 multiplications inside AUTOWIRE connections, bug303.
12744 (verilog-auto-inst-port): Support parameter expansion in
12745 multidimensional arrays.
12746 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
12747 after "assert property". Reported by Julian Gorfajn.
12748 (verilog-simplify-range-expression): Fix "couldn't merge" errors
12749 with multiplication, bug303.
12750 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
12751 Reported by Jan Frode Lonnum.
12753 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
12755 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
12756 (hfy-shell-file-name, hfy-shell):
12757 * international/fontset.el (x-decompose-font-name): Fix typos.
12759 2011-11-29 Ken Brown <kbrown@cornell.edu>
12761 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
12762 (gdb-version): Remove defvar.
12763 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
12764 (gdb-gud-context-command, gdb-non-stop-handler)
12765 (gdb-current-context-command, gdb-stopped): Use it.
12766 (gdb-init-1): Enable pretty printing here.
12767 (gdb-non-stop-handler): Don't enable pretty-printing here.
12768 Check to see if the target supports non-stop mode; if not, turn off
12769 non-stop mode. Use the following.
12770 (gdb-check-target-async): New defun.
12771 (gud-watch, gdb-stopped): Fix whitespace.
12772 (gdb-get-source-file): Don't try to display the source file if
12773 `gdb-main-file' is nil.
12775 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
12777 * align.el: Try to generate fewer markers (bug#10047).
12778 (align--set-marker): New macro.
12779 (align-region): Use it.
12781 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
12783 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
12785 2011-11-29 Chong Yidong <cyd@gnu.org>
12787 * indent.el (indent-for-tab-command, indent-according-to-mode):
12789 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
12791 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
12793 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
12794 aware of remote file names. (Bug#10124)
12796 2011-11-29 Chong Yidong <cyd@gnu.org>
12798 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
12800 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
12802 * files.el (find-file): Don't use force-same-window (bug#10144).
12803 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
12804 use pop-to-buffer if the selected window can't be used.
12805 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
12807 2011-11-28 Eli Zaretskii <eliz@gnu.org>
12809 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
12812 2011-11-28 Chong Yidong <cyd@gnu.org>
12814 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
12816 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
12818 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
12819 gdb-get-source-file-list on gdb-create-source-file-list.
12821 2011-11-26 Eli Zaretskii <eliz@gnu.org>
12823 * whitespace.el (whitespace-newline): Use a different foreground
12824 color for 16-color light-background displays.
12826 2011-11-24 Chong Yidong <cyd@gnu.org>
12828 * window.el (display-buffer--special-action): Doc fix.
12830 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
12832 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
12833 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
12834 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
12835 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
12836 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
12837 (avl-tree-stack-first):
12838 * emacs-lisp/cconv.el (cconv--analyse-use):
12839 * net/gnutls.el (gnutls-negotiate): Fix typos.
12841 2011-11-24 Glenn Morris <rgm@gnu.org>
12843 * lpr.el (lpr-windows-system, lpr-lp-system):
12844 * mail/binhex.el (binhex-begin-line):
12845 * progmodes/grep.el (grep-history, grep-find-history):
12846 * textmodes/flyspell.el:
12847 * vc/pcvs-defs.el (cvs-global-menu):
12848 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
12849 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
12850 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
12852 * net/tls.el: Fix case of "GnuTLS".
12854 * paths.el (rmail-file-name): Format doc-string for make-docfile.
12856 * version.el (emacs-build-system): Give it a doc-string.
12858 2011-11-24 Juri Linkov <juri@jurta.org>
12860 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
12862 2011-11-24 Glenn Morris <rgm@gnu.org>
12864 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
12865 if called on a non-mime message just toggle the headers. (Bug#8006)
12867 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
12869 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
12870 (allout-lead-with-comment-string, allout-structure-deleted-hook)
12871 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
12872 (allout-rebullet-heading, allout-open-sibtopic)
12873 (allout-toggle-current-subtree-encryption)
12874 (allout-toggle-subtree-encryption, allout-encrypt-string)
12875 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
12876 (allout-distinctive-bullets-string, allout-auto-activation):
12877 * window.el (window-normalize-buffer-to-display):
12878 * progmodes/verilog-mode.el (verilog-batch-indent):
12879 * textmodes/bibtex.el (bibtex-field-braces-opt)
12880 (bibtex-field-strings-opt):
12881 * vc/cvs-status.el (cvs-tree-merge):
12884 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
12886 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
12887 `non-essential' to t, in order to avoid remote connections.
12889 2011-11-23 Eli Zaretskii <eliz@gnu.org>
12891 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12892 On MS-DOS and MS-Windows, compare with loaddefs.el
12893 case-insensitively.
12895 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12897 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
12899 2011-11-23 Glenn Morris <rgm@gnu.org>
12901 * paths.el (rmail-file-name): Reformat the doc-string so that it
12904 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
12905 (rmail-auto-file): Ignore case in the "special" field names,
12906 as mail-fetch-field does for all others.
12908 * mail/rmail.el (rmail-forward):
12909 * mail/rmailkwd.el (rmail-set-label):
12910 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
12911 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
12913 * mail/rmail.el (rmail-current-message): Doc fix.
12915 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
12917 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
12919 * server.el (server-eval-and-print): Allow C-g (bug#6585).
12921 2011-11-22 Glenn Morris <rgm@gnu.org>
12923 * mail/rmailmm.el (test-rmail-mime-handler)
12924 (test-rmail-mime-bulk-handler)
12925 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
12927 2011-11-21 Juri Linkov <juri@jurta.org>
12929 * calc/calc.el (calc-read-key-sequence):
12930 Let-bind `input-method-function' to nil. (Bug#10018)
12932 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12934 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
12935 Tell the caller that the next line needs recomputation, even
12936 though it doesn't start a sexp (bug#10094).
12938 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
12940 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
12942 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
12944 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12945 Use force-same-window.
12947 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
12949 * descr-text.el (describe-char-unicode-data):
12950 * json.el (json-string-escape):
12951 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
12952 (Footnote-unicode, Footnote-style-p):
12953 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
12955 2011-11-20 Chong Yidong <cyd@gnu.org>
12957 * window.el (replace-buffer-in-windows): Restore interactive spec.
12959 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
12961 * electric.el (electric-indent-mode): Fix last change (too optimistic).
12963 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
12964 (byte-compile-global-not-obsolete-vars): New var.
12965 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
12967 (byte-compile-warn-obsolete): Align text with the one in *Help*.
12969 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
12971 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
12972 * progmodes/pascal.el (electric-pascal-equal):
12973 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
12974 * xml.el (xml-substitute-special): Fix typos.
12976 2011-11-20 Glenn Morris <rgm@gnu.org>
12978 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
12979 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
12981 (rmail-decode-mime-charset): Mark as obsolete.
12983 * mail/rmailsum.el (rmail-message-regexp-p-1):
12984 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
12985 Before using mime functions, check they are set. (Bug#10077)
12987 2011-11-19 Juri Linkov <juri@jurta.org>
12989 * info.el (Info-finder-find-node): Use `package--builtins' instead
12990 of `package-alist'. Use node names formed by the pattern "Keyword "
12991 and the keyword name.
12993 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
12995 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
12997 2011-11-19 Juri Linkov <juri@jurta.org>
12999 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
13000 that calls `revert-buffer' on all Info buffers. (Bug#9915)
13001 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
13002 `old-history', `old-history-forward'. Add let-binding
13003 `window-selected'. Remove calls to `kill-buffer',
13004 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
13005 before calling `Info-find-node', so `Info-find-node-2' will reread
13006 the Info file. Restore window positions only when `window-selected'
13009 2011-11-19 Juri Linkov <juri@jurta.org>
13011 * isearch.el (isearch-lazy-highlight-new-loop):
13012 Remove condition `(not isearch-error)'. (Bug#9918)
13014 * misearch.el (multi-isearch-search-fun): Add condition
13015 `(not bound)' to ignore lazy-highlighting search.
13016 Add the search-failed message "end of multi" when the end of
13017 multi-sequence is reached. Uncapitalize the search-failed
13018 message "Repeat for next buffer".
13020 * info.el (Info-search): Add the search-failed message
13021 "end of the manual" when the end of the manual is reached
13024 2011-11-19 Juri Linkov <juri@jurta.org>
13026 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
13027 Use non-destructive `remove' instead of `delete' because
13028 `Info-history-list' stored to `Info-isearch-initial-history-list' in
13029 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
13031 2011-11-19 Juri Linkov <juri@jurta.org>
13033 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
13034 to nil instead of binding `search-ring' and `regexp-search-ring'.
13037 2011-11-19 Eli Zaretskii <eliz@gnu.org>
13039 * simple.el (line-move): Force movement by logical lines for any
13040 hscrolled window, not only when auto-hscroll-mode is on.
13041 (line-move-visual): Update doc string to that effect. (Bug#10076)
13043 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
13045 * language/european.el (macintosh): Define as alias for mac-roman.
13047 2011-11-19 Eli Zaretskii <eliz@gnu.org>
13049 * mail/rmailmm.el (rmail-mime-display-header)
13050 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
13051 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
13052 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
13053 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
13054 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
13056 (rmail-mime-entity-segment): To get past the tagline, move forward
13057 2 more lines, to account for the 2 empty lines that precede and
13058 follow the line with the buttons.
13059 (rmail-mime-update-tagline): Move one more line, to get past the
13060 empty line that follows the buttons in the tagline. (Bug#9520)
13062 2011-11-19 Martin Rudalics <rudalics@gmx.at>
13064 * window.el (window-max-delta-1, window-min-delta-1)
13065 (window-min-size-1, window-state-get-1, window-state-put-1)
13066 (window-state-put-2): Use "window--" prefix.
13068 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
13070 * emacs-lisp/smie.el: Improve warnings and conflict detection.
13071 (smie-warning-count): New var.
13072 (smie-set-prec2tab): Use it.
13073 (smie-bnf->prec2): Improve warnings. Add docstring.
13074 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
13075 (smie-bnf--set-class): New function.
13076 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
13079 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
13080 (compilation-error-properties, compilation-move-to-column):
13081 Handle compilation-first-column while in the target buffer.
13083 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
13084 Don't hardcode point-min==1.
13086 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
13087 (eshell-rewrite-for-command): Remove workaround.
13088 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
13089 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
13090 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
13092 * files-x.el (modify-file-local-variable): Obey commenting conventions.
13094 2011-11-17 Glenn Morris <rgm@gnu.org>
13096 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13097 Ignore buffer-local generated-autoload-file if it is the same
13098 as the global value. (Bug#10049)
13100 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
13102 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
13103 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
13104 (reftex-toc-previous-heading, reftex-toc-max-level)
13105 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
13106 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
13107 (reftex-toc-do-promote, reftex-toc-promote-prepare)
13108 (reftex-toc-promote-action, reftex-toc-extract-section-number)
13109 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
13110 (reftex-toc-rename-label, reftex-toc-visit-location)
13111 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
13112 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
13113 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
13114 leaving "*toc*" only for references to the buffer.
13116 2011-11-17 Martin Rudalics <rudalics@gmx.at>
13118 * window.el (window-resize, delete-window, split-window):
13119 Replace window-splits by window-combination-resize.
13120 * cus-start.el (window-splits): Replace by window-combination-resize.
13122 2011-11-17 Glenn Morris <rgm@gnu.org>
13124 * progmodes/sh-script.el (sh-font-lock-keywords-var):
13125 Make bash entry derive from sh entry, not shell entry.
13127 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
13129 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
13132 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
13134 * menu-bar.el (menu-bar-file-menu):
13135 * printing.el (pr-ps-utility):
13136 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
13137 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
13138 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
13139 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
13140 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
13141 (icalendar--convert-cyclic-to-ical)
13142 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
13143 (icalendar--convert-ical-to-diary)
13144 (icalendar--convert-recurring-to-diary)
13145 (icalendar--convert-non-recurring-all-day-to-diary)
13146 (icalendar-import-format-sample):
13147 * progmodes/idlw-shell.el (idlwave-shell-mode):
13148 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
13149 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
13150 (vhdl-ps-print-init): Fix typos.
13152 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
13154 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
13155 FSF and collapse date sequence, obscure author/maintainer email address
13156 better, remove extra version line, track relocation of author's webpage.
13158 * progmodes/python.el (python-pdbtrack-input-prompt)
13159 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
13160 regular python pdb prompts. Adjustments shamelessly taken exactly as
13161 suggested in EmacsWiki page (tiny change):
13162 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
13164 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
13166 * expand.el (expand-pos, expand-index, expand-point):
13167 Remove redundant info from docstring.
13168 (expand-add-abbrevs): Doc fix.
13169 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
13170 (expand-sample-perl-mode-expand-list): Fix typos.
13172 * net/dbus.el (dbus-event-member-name):
13173 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
13174 * term/pc-win.el (msdos-create-frame-with-faces):
13175 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
13177 2011-11-16 Martin Rudalics <rudalics@gmx.at>
13179 * window.el (split-window, window-state-get-1)
13180 (window-state-put-1, window-state-put-2): Rename occurrences of
13181 window-nest to window-combination-limit.
13182 * cus-start.el (window-nest): Rename to window-combination-limit.
13184 2011-11-16 Chong Yidong <cyd@gnu.org>
13186 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
13187 regexp (Bug#10033).
13189 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
13191 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
13192 `completing-read' will remove *Completions* and will preserve
13193 current-buffer for us.
13194 (tmm-add-prompt): Users of *Completions* will always (re)set its
13196 (tmm-old-comp-map): Remove.
13198 2011-11-16 Glenn Morris <rgm@gnu.org>
13200 * mail/rmailedit.el: Require rmailmm when compiling.
13201 (rmail-old-mime-state): New declaration.
13202 (rmail-edit-current-message): If editing a mime message,
13203 edit the "raw" message from the mbox buffer.
13204 (rmail-cease-edit): Handle mime messages. (Bug#9840)
13206 2011-11-15 Glenn Morris <rgm@gnu.org>
13208 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
13209 which wasn't being used. Add optional arg to force given state.
13210 (rmail-mime): Add optional arg to force given state.
13212 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
13214 * allout.el (allout-encryption-plaintext-sanitization-regexps):
13215 * frame.el (display-mm-dimensions-alist):
13216 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
13217 (outline-move-subtree-down):
13218 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
13219 (newsticker--treeview-do-get-node):
13220 * net/quickurl.el (quickurl-list-buffer-name):
13221 * progmodes/dcl-mode.el (dcl-mode):
13222 * progmodes/gdb-mi.el (gdb-mapcar*):
13223 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
13225 2011-11-15 Glenn Morris <rgm@gnu.org>
13227 * mail/rmail.el (rmail-file-coding-system): It's only ever used
13228 in a boolean sense, so just make it a boolean, and fix the doc.
13229 (rmail-show-mime-function, rmail-mime-feature)
13230 (rmail-require-mime-maybe): Doc fixes.
13231 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
13233 * mail/rmailmm.el (rmail-show-mime): Doc fix.
13235 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
13237 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
13238 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
13239 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
13240 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
13242 2011-11-15 Glenn Morris <rgm@gnu.org>
13244 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
13245 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
13246 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
13247 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
13248 (rmail-mime, rmail-show-mime): Doc fixes.
13250 * term/ns-win.el (mode-line-frame-identification):
13251 Leave it alone. (Bug#10051)
13253 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
13255 * mail/rmailout.el (rmail-output-to-rmail-buffer):
13256 Handle empty buffers. (Bug#9978)
13258 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
13260 * international/mule.el (define-charset):
13261 * mail/rmailmm.el (rmail-mime-find-header-encoding):
13262 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
13263 * progmodes/verilog-mode.el (verilog-backward-token):
13264 * textmodes/ispell.el (lookup-words):
13265 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
13267 2011-11-14 Glenn Morris <rgm@gnu.org>
13269 * progmodes/executable.el
13270 (executable-make-buffer-file-executable-if-script-p):
13271 Handle file-modes returning nil.
13273 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
13274 message - not necessary, and causes problems. (Bug#9831)
13276 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
13278 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
13280 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
13281 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
13282 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
13284 2011-11-12 Martin Rudalics <rudalics@gmx.at>
13286 * window.el (window-resize, delete-window): Use window-splits
13287 variable instead of function.
13288 (window-state-get-1, window-state-put-2, window-state-put):
13289 Don't deal with windows' splits status.
13291 2011-11-12 Glenn Morris <rgm@gnu.org>
13293 * apropos.el (apropos-do-all, apropos-library, apropos-value)
13294 (apropos-documentation): Doc fixes.
13296 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
13298 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
13299 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
13301 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
13303 * electric.el (electric-indent-post-self-insert-function): Make it
13304 possible for a char to only indent in some circumstances.
13305 (electric-indent-mode): Simplify.
13307 2011-11-11 Martin Rudalics <rudalics@gmx.at>
13309 * window.el (windows-with-parameter): Remove unused function.
13310 (windows-at-side): Rename to window-at-side-list.
13311 (window-check, window-atom-check, window-atom-check-1)
13312 (window-side-check, window-size-ignore, window-size-fixed-1)
13313 (window-in-direction-2): Prefix with "window--".
13314 (window-tree-1): Rename to window--subtree, fix doc-string.
13316 2011-11-11 Glenn Morris <rgm@gnu.org>
13318 * subr.el (eval-after-load): If FILE is already loaded,
13319 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
13321 2011-11-10 Glenn Morris <rgm@gnu.org>
13323 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
13324 Call svn via vc-svn-command rather than vc-do-command.
13325 (vc-svn-command): Add --non-interactive. (Bug#9993)
13326 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
13328 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13329 Add toggle-read-only. (Bug#7292)
13330 * files.el (toggle-read-only): Mention that it should only
13331 be used interactively. (Bug#10006)
13333 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
13335 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13336 Adjust regexp for OCaml warnings.
13338 * electric.el (electric-pair-post-self-insert-function): Let user
13339 turn it off buffer-locally (bug#9932).
13341 * progmodes/python.el (python-beginning-of-statement):
13342 Rewrite (bug#2703).
13344 * progmodes/compile.el: Better handle TABs (bug#9749).
13345 (compilation-internal-error-properties)
13346 (compilation-next-error-function): Obey the target buffer's
13347 compilation-error-screen-columns.
13349 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
13351 * progmodes/meta-mode.el: Remove obsolete comments.
13352 (meta-right-comment-regexp, meta-ignore-comment-regexp):
13353 Fix typos in docstrings.
13355 2011-11-09 Martin Rudalics <rudalics@gmx.at>
13357 * window.el (window-size-fixed-p): Rewrite doc-string.
13358 (window-resizable-p): Rename to window--resizable-p. Update callers.
13359 (window--resizable): New function. Make all callers of
13360 window-resizable call window--resizable instead.
13361 (window-resizable): Rewrite in terms of window--resizable.
13363 2011-11-08 Glenn Morris <rgm@gnu.org>
13365 * progmodes/delphi.el (delphi-mode-syntax-table):
13366 Let define-derived-mode define a proper syntax table. (Bug#9994)
13368 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
13370 * window.el: Stay away from defsubst.
13371 (window-list-no-nils): Remove.
13372 (window-state-get-1, window-state-get): Use backquote instead.
13374 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13376 * emacs-lisp/find-func.el (find-function-read):
13377 Fix incorrect use of default argument in `completing-read'.
13379 2011-11-08 Martin Rudalics <rudalics@gmx.at>
13381 * window.el (display-buffer-function, special-display-function):
13382 Mention display-buffer-record-window but do not mention
13383 help-setup parameter in doc-strings.
13384 (window-min-delta): Fix doc-string typo.
13386 2011-11-08 Chong Yidong <cyd@gnu.org>
13388 * window.el (window-total-height, window-total-width): Doc fix.
13389 (window-body-size): Move from C.
13390 (window-body-height, window-body-width): Move to C.
13392 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
13394 * window.el: Make special-display like display-buffer-alist (bug#9532).
13395 (display-buffer--special-action): New function, morphed
13396 from display-buffer--special.
13397 (display-buffer): Use it to handle special-display-buffers at higher
13398 priority (just after display-buffer-alist).
13399 (display-buffer-fallback-action, display-buffer--other-frame-action)
13400 (pop-to-buffer-same-window): Remove display-buffer--special.
13402 2011-11-07 Glenn Morris <rgm@gnu.org>
13404 * calendar/cal-menu.el (cal-menu-set-date-title):
13405 Do nothing if not in a calendar. (Bug#9976)
13407 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
13409 * files.el (find-file): Always use selected-window.
13411 2011-11-07 Martin Rudalics <rudalics@gmx.at>
13413 * window.el (window-combinations): Make WINDOW argument
13414 mandatory. Rewrite doc-string.
13415 (walk-window-subtree, window-atom-check, window-min-delta)
13416 (window-max-delta, window--resize-this-window)
13417 (window--resize-root-window-vertically, window-tree)
13418 (balance-windows, window-state-put): Rewrite doc-strings as to
13419 not mention the term "subwindow".
13420 (window--resize-subwindows-skip-p): Rename to
13421 window--resize-child-windows-skip-p.
13422 (window--resize-subwindows-normal): Rename to
13423 window--resize-child-windows-normal.
13424 (window--resize-subwindows): Rename to
13425 window--resize-child-windows.
13426 (window-or-subwindow-p): Rename to window--in-subtree-p.
13428 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
13430 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
13431 Ensure that mbox format messages end in two newlines (Bug#9974).
13433 2011-11-06 Chong Yidong <cyd@gnu.org>
13435 * window.el (window-combination-p): Function deleted; its
13436 side-effect is not used in any existing code.
13437 (window-combinations, window-combined-p): Call window-*-child
13440 2011-11-05 Chong Yidong <cyd@gnu.org>
13442 * window.el (window-valid-p): Rename from window-any-p.
13443 (window-size-ignore, window-state-get): Callers changed.
13444 (window-normalize-window): Rename from window-normalize-any-window.
13445 New arg LIVE-ONLY, replacing window-normalize-live-window.
13446 (window-normalize-live-window): Delete.
13447 (window-combination-p, window-combined-p, window-combinations)
13448 (walk-window-subtree, window-atom-root, window-min-size)
13449 (window-sizable, window-sizable-p, window-size-fixed-p)
13450 (window-min-delta, window-max-delta, window-resizable)
13451 (window-resizable-p, window-full-height-p, window-full-width-p)
13452 (window-current-scroll-bars, window-point-1, set-window-point-1)
13453 (window-at-side-p, window-in-direction, window-resize)
13454 (adjust-window-trailing-edge, maximize-window, minimize-window)
13455 (window-deletable-p, delete-window, delete-other-windows)
13456 (record-window-buffer, unrecord-window-buffer)
13457 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
13458 (quit-window, split-window, window-state-put)
13459 (set-window-text-height, fit-window-to-buffer)
13460 (shrink-window-if-larger-than-buffer): Callers changed.
13462 2011-11-04 Eli Zaretskii <eliz@gnu.org>
13464 * mail/rmail.el (rmail-simplified-subject): Decode subject with
13465 rfc2047-decode-string.
13466 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
13469 * window.el (window-body-height, window-body-width): Mention in
13470 the doc string that the return values are in frame's canonical
13473 2011-11-03 Alan Mackenzie <acm@muc.de>
13475 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
13476 change in cc-engine.el.
13478 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
13480 * window.el (switch-to-buffer): Use `force-same-window' interactively.
13482 2011-11-02 Martin Rudalics <rudalics@gmx.at>
13484 * window.el (quit-window): Call unrecord-window-buffer after
13485 showing another buffer in the window. (Bug#9937)
13486 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
13488 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
13490 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
13491 Accept status with more than 9 shelves. (Bug#9935)
13492 Reported by Colin D Bennett <colin@gibibit.com>.
13494 2011-11-01 Martin Rudalics <rudalics@gmx.at>
13496 * help.el (with-help-window): Don't reference
13497 temp-buffer-show-specifiers in doc-string.
13499 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
13501 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
13504 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13506 * whitespace.el: New version 13.2.2.
13507 (whitespace-newline-mode): Disable properly. Reported by Sarah
13510 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
13512 * net/newst-treeview.el: Remove "Time-stamp".
13513 (newsticker--group-manage-orphan-feeds): Do not call
13514 newsticker--treeview-tree-update.
13515 (newsticker-treeview-update, newsticker-treeview):
13516 Call newsticker--treeview-tree-update if necessary.
13518 2011-10-30 Martin Rudalics <rudalics@gmx.at>
13520 * window.el (window-iso-combination-p, window-iso-combined-p)
13521 (window-iso-combinations): Remove "iso-" infix.
13522 Suggested by Chong Yidong.
13523 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
13524 (window-max-delta-1, window-resize, window--resize-siblings)
13525 (window--resize-this-window, adjust-window-trailing-edge)
13526 (split-window, balance-windows-1)
13527 (shrink-window-if-larger-than-buffer):
13528 * calendar/calendar.el (calendar-generate-window):
13529 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
13531 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
13533 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
13534 in place (bug#9907).
13535 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
13536 (eshell-rewrite-if-command, eshell-rewrite-for-command)
13537 (eshell-structure-basic-command, eshell-rewrite-while-command)
13538 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
13539 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
13540 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
13541 (eshell-do-pipelines-synchronously, eshell-eval-command):
13542 Use backquotes and prefer setq to set.
13543 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
13544 (eshell-macrop): Use functionp.
13545 (eshell-do-eval): Handle multiple expressions in `while' body.
13547 2011-10-30 Chong Yidong <cyd@gnu.org>
13549 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
13550 instead of set-mark (Bug#9810).
13552 2011-10-30 Chong Yidong <cyd@gnu.org>
13554 * window.el (split-window-below, split-window-right): Rename from
13555 split-window-above-each-other and split-window-side-by-side
13556 respectively. All callers changed.
13557 (split-window-sensibly, split-window-sensibly): Use them.
13558 (split-window-keep-point): Doc fix.
13560 * isearch.el: Add isearch-scroll property to split-window-below
13561 and split-window-right.
13563 * follow.el (follow-mode):
13564 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
13565 * progmodes/ada-xref.el (ada-gdb-application):
13566 * emulation/vip.el (vip-buffer-in-two-windows):
13567 * image-dired.el (image-dired-dired-with-window-configuration):
13568 * dired-x.el (dired-do-find-marked-files):
13569 * dired.el (dired-pop-to-buffer):
13570 * bs.el (bs--show-with-configuration):
13571 * vc/emerge.el (emerge-setup-windows):
13572 * textmodes/two-column.el (2C-two-columns):
13573 * textmodes/reftex-toc.el (reftex-toc):
13574 * progmodes/gdb-mi.el (gdb-setup-windows):
13575 * progmodes/fortran.el (fortran-window-create):
13576 * net/newst-treeview.el (newsticker--treeview-window-init):
13577 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
13578 * emulation/tpu-edt.el (tpu-gold-map):
13579 * emulation/crisp.el (crisp-mode-map):
13580 * calendar/calendar.el (calendar-basic-setup): Callers changed.
13582 2011-10-29 Chong Yidong <cyd@gnu.org>
13584 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
13586 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
13588 * textmodes/flyspell.el (flyspell-word): Fix char offset for
13589 forged Ispell output (Bug#7904).
13591 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
13593 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13595 * doc-view.el: Avoid ugly errors about not finding nil.
13596 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
13597 (doc-view-dvipdf-program, doc-view-unoconv-program)
13598 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
13599 Avoid nil or absolute file name as default value.
13600 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
13602 2011-10-28 Alan Mackenzie <acm@muc.de>
13604 * progmodes/cc-defs.el (c-version): -> 5.32.2.
13606 2011-10-28 Alan Mackenzie <acm@muc.de>
13608 Amend the handling of c-beginning/end-of-defun in nested declaration
13611 * progmodes/cc-vars.el (c-defun-tactic): Move here from
13612 cc-langs.el. Change it to a defcustom.
13614 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
13617 * progmodes/cc-engine.el (c-beginning-of-statement-1):
13618 Prevent "class foo : bar" being spuriously recognized as a label.
13620 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
13621 Add parameter `inclusive' (to include enclosing braces in the region).
13622 (c-widen-to-enclosing-decl-scope): New function.
13623 (c-while-widening-to-decl-block): New macro.
13624 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
13625 outward for defun boundaries, and correspondingly change symbol
13626 `respect-enclosure' to `go-outward'.
13627 (c-declaration-limits): Change algorithm to report only the "innermost"
13628 defun's boundaries.
13630 2011-10-28 Deniz Dogan <deniz@dogan.se>
13632 * net/rcirc.el (rcirc-mode): Use hard newlines.
13634 2011-10-28 Alan Mackenzie <acm@muc.de>
13636 Amend to indent and fontify macros "which include their own semicolon"
13637 correctly, using the "virtual semicolon" mechanism.
13639 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
13641 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
13642 Recode to scan one line at a time rather than having \n and \r
13643 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
13644 (c-forward-label): Amend for virtual semicolons.
13645 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
13647 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
13648 of the new C macros.
13650 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
13651 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
13652 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
13653 (c-opt-cpp-macro-define): Make into a full language variable.
13654 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
13655 AWK Mode (including \n, \r) removed, no longer needed.
13657 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
13658 Invoke c-make-macro-with-semi-re.
13660 * progmodes/cc-vars.el (c-macro-with-semi-re):
13661 (c-macro-names-with-semicolon): New variables.
13662 (c-make-macro-with-semi-re): New function.
13664 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13666 * vc/log-edit.el: Fill empty field rather than adding new one.
13667 (log-edit-add-field): New function.
13668 (log-edit-insert-changelog): Use it.
13670 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
13672 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
13674 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13676 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
13677 (gdb--check-interpreter): New function.
13680 2011-10-27 Glenn Morris <rgm@gnu.org>
13682 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
13683 (least-positive-float, least-negative-float)
13684 (least-positive-normalized-float, least-negative-normalized-float)
13685 (float-epsilon, float-negative-epsilon):
13686 Remove unnecessary declarations.
13688 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
13689 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
13690 (least-positive-float, least-negative-float)
13691 (least-positive-normalized-float, least-negative-normalized-float)
13692 (float-epsilon, float-negative-epsilon): Add doc-strings,
13693 based on those in cl.texi.
13695 * files.el (set-visited-file-name): If the major-mode changed,
13696 reload the local variables. (Bug#9796)
13698 2011-10-27 Chong Yidong <cyd@gnu.org>
13700 * subr.el (change-major-mode-after-body-hook): New hook.
13701 (run-mode-hooks): Run it.
13703 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13704 Use change-major-mode-before-body-hook.
13706 * simple.el (fundamental-mode):
13707 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
13708 change introducing fundamental-mode-hook.
13710 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
13712 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
13714 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
13716 * ido.el (ido-file-name-all-completions-1): Do not require
13717 tramp.el explicitly. (Bug#7583)
13719 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
13721 * progmodes/octave-mod.el:
13722 * progmodes/octave-inf.el: Update maintainer.
13724 2011-10-26 Chong Yidong <cyd@gnu.org>
13726 * subr.el (with-wrapper-hook): Rewrite doc.
13728 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
13730 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
13731 filenames "/method:foo:". (Bug#9793)
13733 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
13735 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
13738 2011-10-24 Glenn Morris <rgm@gnu.org>
13740 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
13742 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
13744 * notifications.el: Add the requirement of a running D-Bus session
13745 bus to the Commentary.
13747 2011-10-24 Juri Linkov <juri@jurta.org>
13749 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
13750 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
13753 2011-10-24 Juri Linkov <juri@jurta.org>
13755 * info.el (Info-following-node-name-re): Add newline to the list
13756 of allowed characters for leading space. (Bug#9824)
13758 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
13760 * progmodes/octave-inf.el (inferior-octave-mode-map):
13761 Fix C-c C-h binding.
13762 * progmodes/octave-mod.el (octave-help): Remove.
13764 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
13766 Sync with Tramp 2.2.3.
13768 * net/tramp-cache.el (top): Pacify byte-compiler using
13769 `init-file-user' and `site-run-file'.
13771 * net/trampver.el: Update release number.
13773 2011-10-23 Chong Yidong <cyd@gnu.org>
13775 * files.el (toggle-read-only): Remove obsolete comment about
13778 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
13779 for toggle-read-only. Note that this hasn't called vc-next-action
13780 since 2008-05-02, though it wasn't documented at the time.
13782 * vc/ediff-init.el (ediff-toggle-read-only-function):
13783 Use toggle-read-only.
13785 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
13787 Fix bug #9560, sporadic wrong indentation; improve instrumentation
13790 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
13791 correct faulty logical expression.
13792 (c-parse-state-state, c-record-parse-state-state):
13793 (c-replay-parse-state-state): New defvar/defuns.
13794 (c-debug-parse-state): Use new functions.
13796 2011-10-22 Martin Rudalics <rudalics@gmx.at>
13798 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
13799 last fix. Use window-in-direction correctly.
13801 2011-10-21 Chong Yidong <cyd@gnu.org>
13803 * progmodes/idlwave.el (idlwave-mode):
13804 * progmodes/vera-mode.el (vera-mode): No need to set
13805 require-final-newline; that's done in prog-mode.
13806 Suggested by Stefan Monnier.
13808 2011-10-21 Martin Rudalics <rudalics@gmx.at>
13810 * mouse.el (mouse-drag-window-above)
13811 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
13812 (mouse-drag-mode-line-1, mouse-drag-header-line)
13813 (mouse-drag-vertical-line-rightward-window): Remove.
13814 (mouse-drag-line): New function.
13815 (mouse-drag-mode-line, mouse-drag-header-line)
13816 (mouse-drag-vertical-line): Call mouse-drag-line.
13817 * window.el (window-at-side-p, windows-at-side): New functions.
13819 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
13821 * tar-mode.el (tar-grind-file-mode):
13822 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
13824 2011-10-21 Chong Yidong <cyd@gnu.org>
13826 * progmodes/idlwave.el (idlwave-mode):
13827 * progmodes/vera-mode.el (vera-mode):
13828 Use mode-require-final-newline.
13830 2011-10-20 Glenn Morris <rgm@gnu.org>
13832 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
13834 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
13836 * emulation/cua-base.el (cua-set-mark): Fix case of string.
13838 2011-10-20 Chong Yidong <cyd@gnu.org>
13840 * emulation/cua-base.el (cua-mode):
13841 * mail/footnote.el (footnote-mode):
13842 * mail/mailabbrev.el (mail-abbrevs-mode):
13843 * net/xesam.el (xesam-minor-mode):
13844 * progmodes/bug-reference.el (bug-reference-mode):
13845 * progmodes/cap-words.el (capitalized-words-mode):
13846 * progmodes/compile.el (compilation-minor-mode)
13847 (compilation-shell-minor-mode):
13848 * progmodes/gud.el (gud-tooltip-mode):
13849 * progmodes/hideif.el (hide-ifdef-mode):
13850 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
13851 * progmodes/subword.el (subword-mode):
13852 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
13853 * progmodes/which-func.el (which-function-mode):
13854 * term/tvi970.el (tvi970-set-keypad-mode):
13855 * term/vt100.el (vt100-wide-mode):
13856 * textmodes/flyspell.el (flyspell-mode):
13857 * textmodes/ispell.el (ispell-minor-mode):
13858 * textmodes/nroff-mode.el (nroff-electric-mode):
13859 * textmodes/paragraphs.el (use-hard-newlines):
13860 * textmodes/refill.el (refill-mode):
13861 * textmodes/reftex.el (reftex-mode):
13862 * textmodes/rst.el (rst-minor-mode):
13863 * textmodes/sgml-mode.el (html-autoview-mode)
13864 (sgml-electric-tag-pair-mode):
13865 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
13866 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
13867 * emulation/crisp.el (crisp-mode):
13868 * emacs-lisp/eldoc.el (eldoc-mode):
13869 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
13870 minor mode behavior.
13872 2011-10-19 Juri Linkov <juri@jurta.org>
13874 * descr-text.el (describe-char): Add #x2010 and #x2011 to
13875 the list of hard-coded chars with escape-glyph face.
13877 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
13879 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
13881 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
13883 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
13886 2011-10-19 Glenn Morris <rgm@gnu.org>
13888 * vc/vc-bzr.el (vc-bzr-after-dir-status):
13889 Ignore ignored files. (Bug#9726)
13891 2011-10-19 Chong Yidong <cyd@gnu.org>
13893 Doc fix for minor modes, stating that an omitted argument enables
13894 the mode unconditionally when called from Lisp.
13896 * abbrev.el (abbrev-mode):
13897 * allout.el (allout-mode):
13898 * autoinsert.el (auto-insert-mode):
13899 * autoarg.el (autoarg-mode, autoarg-kp-mode):
13900 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13901 (global-auto-revert-mode):
13902 * battery.el (display-battery-mode):
13903 * composite.el (global-auto-composition-mode)
13904 (auto-composition-mode):
13905 * delsel.el (delete-selection-mode):
13906 * desktop.el (desktop-save-mode):
13907 * dired-x.el (dired-omit-mode):
13908 * dirtrack.el (dirtrack-mode):
13909 * doc-view.el (doc-view-minor-mode):
13910 * double.el (double-mode):
13911 * electric.el (electric-indent-mode, electric-pair-mode):
13912 * emacs-lock.el (emacs-lock-mode):
13913 * epa-hook.el (auto-encryption-mode):
13914 * follow.el (follow-mode):
13915 * font-core.el (font-lock-mode):
13916 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
13917 * help.el (temp-buffer-resize-mode):
13918 * hilit-chg.el (highlight-changes-mode)
13919 (highlight-changes-visible-mode):
13920 * hi-lock.el (hi-lock-mode):
13921 * hl-line.el (hl-line-mode, global-hl-line-mode):
13922 * icomplete.el (icomplete-mode):
13923 * ido.el (ido-everywhere):
13924 * image-file.el (auto-image-file-mode):
13925 * image-mode.el (image-minor-mode):
13926 * iswitchb.el (iswitchb-mode):
13927 * jka-cmpr-hook.el (auto-compression-mode):
13928 * linum.el (linum-mode):
13929 * longlines.el (longlines-mode):
13930 * master.el (master-mode):
13931 * mb-depth.el (minibuffer-depth-indicate-mode):
13932 * menu-bar.el (menu-bar-mode):
13933 * minibuf-eldef.el (minibuffer-electric-default-mode):
13934 * mouse-sel.el (mouse-sel-mode):
13935 * msb.el (msb-mode):
13936 * mwheel.el (mouse-wheel-mode):
13937 * outline.el (outline-minor-mode):
13938 * paren.el (show-paren-mode):
13939 * recentf.el (recentf-mode):
13940 * reveal.el (reveal-mode, global-reveal-mode):
13941 * rfn-eshadow.el (file-name-shadow-mode):
13942 * ruler-mode.el (ruler-mode):
13943 * savehist.el (savehist-mode):
13944 * scroll-all.el (scroll-all-mode):
13945 * scroll-bar.el (scroll-bar-mode):
13946 * server.el (server-mode):
13947 * shell.el (shell-dirtrack-mode):
13948 * simple.el (auto-fill-mode, transient-mark-mode)
13949 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
13950 (line-number-mode, column-number-mode, size-indication-mode)
13951 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
13952 * strokes.el (strokes-mode):
13953 * time.el (display-time-mode):
13954 * t-mouse.el (gpm-mouse-mode):
13955 * tool-bar.el (tool-bar-mode):
13956 * tooltip.el (tooltip-mode):
13957 * type-break.el (type-break-mode-line-message-mode)
13958 (type-break-query-mode):
13959 * view.el (view-mode):
13960 * whitespace.el (whitespace-mode, whitespace-newline-mode)
13961 (global-whitespace-mode, global-whitespace-newline-mode):
13962 * xt-mouse.el (xterm-mouse-mode): Doc fix.
13964 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13965 Fix autogenerated docstring.
13967 2011-10-19 Juri Linkov <juri@jurta.org>
13969 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
13970 by checking environment variables "DESKTOP_SESSION" and
13971 "XDG_CURRENT_DESKTOP". (Bug#9779)
13973 2011-10-19 Juri Linkov <juri@jurta.org>
13975 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
13976 (browse-url-chromium-program, browse-url-chromium-arguments):
13978 (browse-url-default-browser): Check for `browse-url-chromium' and
13979 call `browse-url-chromium-program'.
13980 (browse-url-chromium): New command. (Bug#9779)
13982 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
13984 * facemenu.el (list-colors-duplicates): On Windows, detect more
13985 duplicates by assuming that only colors matching "^System" are
13986 special "system colors". (Bug#9722)
13988 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
13990 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
13991 to distinguish the author from the committer.
13993 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
13995 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
13997 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
13999 * international/mule.el (sgml-html-meta-auto-coding-function):
14000 Add support for detecting encoding in HTML5 specified only as
14001 <meta charset="UTF-8">. Implementation just makes http-equiv and
14002 content-type parts from HTML4 encoding string optional. (Bug#9716)
14004 2011-10-18 Glenn Morris <rgm@gnu.org>
14006 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
14008 2011-10-18 Chong Yidong <cyd@gnu.org>
14010 * faces.el (cursor): Doc fix.
14012 2011-10-17 Chong Yidong <cyd@gnu.org>
14014 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
14016 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
14018 * dirtrack.el (dirtrack): Support shell buffers with path
14019 prefixes, e.g. tramp-based remote shells. (Bug#9647)
14021 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
14023 * json.el: Bump version to 1.3 and note change in History.
14024 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
14026 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
14028 * comint.el (comint-insert-input, comint-send-input)
14029 (comint-get-old-input-default, comint-backward-matching-input)
14030 (comint-next-prompt): Use nil instead of `input' for field property of
14031 past user input (bug#114).
14033 * minibuffer.el (completion--replace): Inherit surrounding properties
14035 (minibuffer-complete-and-exit): Use it.
14037 * comint.el (comint--table-subvert): Quote the all-completions output
14040 2011-10-17 Martin Rudalics <rudalics@gmx.at>
14042 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
14044 * menu-bar.el (menu-bar-file-menu): Add entry for making new
14045 window on right of selected. (Bug#9350) Reword other window
14046 entries and separate them from frame entries.
14048 2011-10-15 Glenn Morris <rgm@gnu.org>
14050 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
14053 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
14055 * net/network-stream.el (network-stream-open-starttls):
14056 Improve detection of failure due to lack of TLS support.
14058 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
14059 putting the input text in front and in bold.
14061 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
14063 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
14065 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
14068 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
14069 unread-command-events rather than pushing yet-another event.
14071 2011-10-14 Eli Zaretskii <eliz@gnu.org>
14073 * mail/sendmail.el (sendmail-query-once): Improve the wording of
14074 the explanation of the possible choices. Make the options passed
14075 to completing-read shorter.
14077 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14079 * textmodes/flyspell.el (flyspell-large-region): Make sure
14080 extended character mode is used if defined (Bug#1339).
14082 2011-10-13 Eli Zaretskii <eliz@gnu.org>
14084 * simple.el (what-cursor-position): Fix the display of the
14085 character info for LRE, LRO, RLE, and RLO characters by appending
14088 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
14090 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
14091 even in case of error; add debug spec; simplify data flow.
14092 (with-timeout-handler): Remove.
14094 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
14096 Fix Bug#6019, Bug#9315.
14098 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
14099 complete `buffer-file-name', the local file name part could look
14100 remotely (for example on VMS).
14102 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
14103 `tramp-run-real-handler'.
14104 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
14105 already quoted by '"'.
14107 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
14108 Let `file-name-handler-alist' be nil, the local file name part
14109 could look remotely (for example on VMS).
14111 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
14113 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
14115 (flyspell-post-command-hook): ...to here.
14117 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
14119 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
14121 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
14122 using completion. Protect against "slow" callers.
14123 Remove the "message hack".
14125 2011-10-11 Juri Linkov <juri@jurta.org>
14127 * isearch.el (isearch-lazy-highlight-word): New variable.
14128 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
14131 2011-10-11 Glenn Morris <rgm@gnu.org>
14133 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
14134 like f90-previous-statement does.
14136 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14138 * eshell/eshell.el (eshell-command): History should be saved
14139 only in interactive use, to avoid error.
14141 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
14143 * minibuffer.el (completion-file-name-table): Fix last change,
14144 i.e. ignore normal errors but not the other ones.
14146 2011-10-10 Martin Rudalics <rudalics@gmx.at>
14148 * window.el (special-display-buffer-names)
14149 (special-display-regexps): Remove some remnants of earlier
14150 changes from doc-strings.
14151 (quit-windows-on): New function.
14153 * vc/vc.el (vc-revert, vc-rollback):
14154 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
14155 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
14156 (Bug#6183) (Bug#7074) (Bug#7447)
14158 2011-10-09 Martin Rudalics <rudalics@gmx.at>
14160 * window.el (frame-auto-hide-function): Add version tag.
14163 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
14165 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
14168 2011-10-09 Leo Liu <sdl.web@gmail.com>
14170 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
14173 2011-10-08 Glenn Morris <rgm@gnu.org>
14175 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
14176 before the first code statement zero indent. (Bug#9690)
14178 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
14180 * simple.el (count-words-region): Always count in the region.
14181 Report the number of lines and characters too.
14182 (count-words): New command, which counts in the buffer if the
14183 region is inactive, as count-words-region used to.
14184 (count-words--message): New function. Handle plurals.
14185 (count-lines-region): Make it an alias for count-words-region.
14187 * bindings.el (esc-map): Replace count-lines-region with
14188 count-words-region.
14190 2011-10-08 Martin Rudalics <rudalics@gmx.at>
14192 * window.el (window--delete): Delete dedicated frame
14193 unconditionally when argument KILL is non-nil. (Bug#9699)
14194 (switch-to-buffer): Fix doc-string typo.
14196 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14198 * eshell/eshell.el (eshell-command): Avoid using hooks.
14200 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
14202 * bindings.el ([M-left],[M-right]): Bind to left-word and
14203 right-word respectively.
14205 2011-10-07 Glenn Morris <rgm@gnu.org>
14207 * cus-start.el (debug-on-quit): Fix custom type.
14209 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14211 * subr.el (define-key-after): Clarify that the function is not
14212 useful for non-menu keymaps.
14214 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
14216 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14218 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
14219 in current minibuffer (Fix bug with recursive minibuffers).
14221 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
14223 * progmodes/gdb-mi.el (gdb): Doc fix.
14225 2011-10-05 Martin Rudalics <rudalics@gmx.at>
14227 * window.el (frame-auto-hide-function): New option replacing
14228 frame-auto-delete. Suggested by Stefan Monnier.
14229 (window--delete): Call frame-auto-hide-function instead of
14230 investigating frame-auto-delete.
14231 (window-point-1, set-window-point-1): New functions.
14232 (window-in-direction, record-window-buffer, window-state-get-1)
14233 (display-buffer-record-window): Use window-point-1 instead of
14235 (set-window-buffer-start-and-point): Use set-window-point-1.
14237 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
14239 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
14241 2011-10-05 Glenn Morris <rgm@gnu.org>
14243 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
14244 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
14246 2011-10-05 Leo Liu <sdl.web@gmail.com>
14248 * subr.el (read-char-choice): Fix argument to buffer-live-p which
14249 works with buffer object.
14251 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
14253 * mpc.el (mpc-tool-bar-map): Add labels.
14255 2011-10-04 Glenn Morris <rgm@gnu.org>
14257 * calendar/holidays.el (calendar-check-holidays): Doc fix.
14259 2011-10-04 Martin Rudalics <rudalics@gmx.at>
14261 * window.el (window--delete): New function.
14262 (frame-auto-delete): Resuscitate option.
14263 (bury-buffer, replace-buffer-in-windows)
14264 (quit-window): Rewrite using window--delete.
14265 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14266 Pass display-buffer-mark-dedicated to window--display-buffer-2
14269 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
14271 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
14272 returns a list (bug#9554). Add remote file name completion.
14273 * comint.el (comint--table-subvert): Curry and get quote&unquote
14274 functions as arguments.
14275 (comint--complete-file-name-data): Adjust call accordingly.
14276 * pcomplete.el (pcomplete--table-subvert): Remove.
14277 (pcomplete-completions-at-point): Use comint--table-subvert instead.
14279 * minibuffer.el (completion-table-case-fold): Use currying.
14280 (completion--styles-type, completion--cycling-threshold-type):
14282 (completion-styles, completion-category-overrides)
14283 (completion-cycle-threshold): Use them.
14284 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
14285 completion-table-case-fold.
14287 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
14289 * minibuffer.el (completion-category-overrides): Fix type of styles
14290 and add more user friendly tags (bug#9660).
14292 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
14294 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
14295 (mule-input-method-string): New widget.
14296 (default-input-method, language-info-custom-alist): Use it.
14298 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
14300 * pcomplete.el: Require comint.
14301 (pcomplete--common-suffix): Remove.
14302 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
14303 (pcomplete--table-subvert): Sync with comint--table-subvert.
14304 (pcomplete--entries): Use comint-completion-file-name-table.
14305 * comint.el (comint-unquote-filename): Simplify.
14306 (comint-completion-file-name-table): New function (bug#9616).
14307 (comint--complete-file-name-data): Use it.
14309 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
14310 (pcmpl-gnu-tar-buffer): Remove.
14311 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
14312 around. Make sure pcomplete-suffix-list is only changed temporarily.
14313 Don't look inside the tar's file if it's too large.
14315 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
14317 * cus-edit.el (custom-mode-map):
14318 * epa.el (epa-key-list-mode-map):
14319 * man.el (Man-mode-map):
14320 * startup.el (splash-screen-keymap):
14321 * simple.el (special-mode-map): Use scroll-up-command and
14322 scroll-down-command.
14324 * progmodes/idlw-help.el (idlwave-help-mode-map):
14325 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
14326 * net/newst-plainview.el (newsticker-mode-map):
14327 * emulation/ws-mode.el (wordstar-mode-map):
14328 * emulation/vi.el (vi-com-map):
14329 * calc/calc-graph.el (calc-graph-show-dumb):
14330 * term/sun.el (terminal-init-sun):
14331 * term/ns-win.el (global-map):
14332 * progmodes/grep.el (grep-mode-map):
14333 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
14334 * mail/rmail.el (rmail-mode-map):
14335 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
14337 * custom.el (custom-safe-themes, load-theme): Treat value of t for
14338 custom-safe-themes as special.
14340 2011-10-01 Julien Danjou <julien@danjou.info>
14342 * notifications.el (notifications-notify): Fix docstring.
14344 2011-10-01 Per Starbäck <per@starback.se>
14346 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
14348 2011-09-30 Martin Rudalics <rudalics@gmx.at>
14350 * startup.el (command-line-1): Fix last fix by inserting
14351 initial-scratch-message into *scratch* before displaying it.
14352 (Bug#9605) and (Bug#9636)
14354 2011-09-29 Eli Zaretskii <eliz@gnu.org>
14356 * simple.el (line-move): If auto-hscroll-mode is disabled and the
14357 window is hscrolled, move by logical lines. (Bug#9607)
14358 (line-move-visual): Update the doc string to the above effect.
14360 2011-09-29 Martin Rudalics <rudalics@gmx.at>
14362 * window.el (display-buffer-record-window): When WINDOW is the
14363 selected window use `point' instead of `window-point'. (Bug#9626)
14365 * startup.el (command-line-1): Use insert-before-markers when
14366 inserting initial-scratch-message. (Bug#9605)
14368 * help.el (help-window): Remove variable.
14370 2011-09-29 Glenn Morris <rgm@gnu.org>
14372 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
14374 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
14376 * descr-text.el (describe-char-categories): Accept category
14377 descriptions more than one line long.
14379 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
14381 * simple.el (delete-trailing-whitespace): Fix last change.
14383 * progmodes/perl-mode.el (perl-syntax-propertize-function):
14384 Don't confuse "y => 3" as the beginning of a `y' operation.
14386 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
14387 object has more than 4 slots (bug#9613).
14389 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
14391 * subr.el (with-output-to-temp-buffer):
14392 * net/quickurl.el (quickurl, quickurl-browse-url):
14393 Fix typos in docstrings.
14395 2011-09-27 Eli Zaretskii <eliz@gnu.org>
14397 * minibuffer.el (completion-styles)
14398 (completion-category-overrides): Cross reference each other in doc
14401 2011-09-27 Glenn Morris <rgm@gnu.org>
14403 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
14404 to split-string. (Bug#9606)
14406 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
14408 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
14411 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
14413 * emacs-lisp/package.el (list-packages): Fix echo area message.
14415 2011-09-27 Leo Liu <sdl.web@gmail.com>
14417 * ido.el (ido-read-internal): Accept cons cell HIST arg.
14419 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
14421 * net/dbus.el (dbus-unregister-object): Don't release services for
14422 registered signals. (Bug#9581)
14424 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
14426 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
14427 function that picks between cfengine 2 and 3 support
14428 automatically. Update docs accordingly.
14430 2011-09-22 Kenichi Handa <handa@m17n.org>
14432 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
14434 (indian-itrans-v5-table-for-tamil): New variable.
14435 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
14437 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
14439 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
14440 that's true if the current command involved collapsing of text.
14441 It's reset to false at the beginning of the next command.
14442 (allout-post-command-business): Move the cursor to the beginning
14443 of entry if the cursor is hidden and collapsing activity just
14446 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
14448 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
14449 tracking (Bug#9541).
14451 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
14453 * net/newst-reader.el (newsticker-html-renderer)
14454 (newsticker-show-news): Automatically load html rendering package
14455 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
14456 because w3m-fill-column is let-bound" and the error "Symbol's value
14457 as variable is void: w3m-fill-column".
14459 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
14461 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
14462 Release services only if they are defined. (Bug#9581)
14464 2011-09-23 Richard Stallman <rms@gnu.org>
14466 * textmodes/paragraphs.el (forward-sentence): For backwards case,
14467 distinguish start of paragraph from start of its text.
14469 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
14471 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
14472 (rmail-generate-viewer-buffer): Put that hook on view buffer.
14473 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
14475 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
14477 * international/mule-diag.el (mule-diag): Insert a newline after
14478 each fontset description.
14480 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
14482 * simple.el (delete-trailing-whitespace):
14483 Document last change; simplify.
14485 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
14487 * simple.el (delete-trailing-whitespace): Also delete
14488 extra newlines at the end of the buffer.
14490 * textmodes/picture.el: Make motion commands obey shift-select-mode.
14491 (picture-newline): Use forward-line so as to ignore fields.
14493 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
14495 * subr.el (with-wrapper-hook): Fix edebug spec.
14497 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
14499 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
14502 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
14504 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
14505 Fix nasty bug using wrong cached values.
14507 2011-09-23 Alan Mackenzie <acm@muc.de>
14509 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
14511 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
14513 * window.el (pop-to-buffer): Ensure right window is selected if we
14514 chose another frame.
14516 2011-09-22 Eli Zaretskii <eliz@gnu.org>
14518 * simple.el (what-cursor-position): Use get-char-property-change
14519 and next-single-char-property-change, to be able to show display
14520 properties that come from overlays as well as text properties.
14522 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
14524 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
14526 * cmuscheme.el (run-scheme, switch-to-scheme):
14527 * cus-edit.el (customize-group, custom-buffer-create)
14528 (customize-browse):
14530 * shell.el (shell):
14531 * mail/sendmail.el (mail):
14532 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
14534 2011-09-22 Richard Stallman <rms@gnu.org>
14536 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
14537 move back only to line beg, don't move back over blank lines.
14539 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
14541 * files.el (copy-directory): Set directory attributes only in case
14542 they could be retrieved from the source directory. (Bug#9565)
14544 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
14546 * progmodes/hideshow.el (hs-looking-at-block-start-p)
14547 (hs-find-block-beginning, hs-hide-level-recursive):
14548 Ignore strings as well as comments. (Bug#9502)
14550 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
14552 * progmodes/sql.el (sql-comint-postgres):
14553 Convert port number to a string. (Bug#9566)
14555 2011-09-22 Martin Rudalics <rudalics@gmx.at>
14557 * window.el (quit-window): Undedicate window when switching to
14558 previous buffer. Reported by Thierry Volpiatto
14559 <thierry.volpiatto@gmail.com>.
14560 (special-display-popup-frame): When popping up a new frame reset
14561 its previous buffers to nil. Simplify code.
14563 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
14565 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
14566 and process filter, as done also in `shell-command'.
14568 2011-09-21 Martin Rudalics <rudalics@gmx.at>
14570 * window.el (set-window-buffer-start-and-point):
14571 Call set-window-start with NOFORCE argument t.
14572 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
14573 (quit-window): Reword doc-string. Handle new format of
14574 quit-restore parameter. Don't delete window if it has a
14575 previous buffer we can show instead of the present one.
14576 (display-buffer-record-window): Rewrite using a new format for
14577 the quit-restore window parameter
14578 (special-display-popup-frame, display-buffer-same-window)
14579 (display-buffer-reuse-window, display-buffer-pop-up-frame)
14580 (display-buffer-pop-up-window, display-buffer-use-some-window):
14581 Adapt symbol passed to display-buffer-record-window.
14582 * help.el (help-window-setup): Handle new format of quit-restore
14585 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
14587 * faces.el (face-list): Fix docstring (bug#9564).
14589 * window.el (display-buffer--action-function-custom-type):
14590 Don't include internal functions in the Custom interface.
14592 2011-09-20 Juri Linkov <juri@jurta.org>
14594 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
14595 (Info-forward-node, Info-backward-node, Info-next-preorder)
14596 (Info-last-preorder): Use it. (Bug#9528)
14598 2011-09-20 Juri Linkov <juri@jurta.org>
14600 * info.el (Info-last-preorder): Visit last menu item only when
14601 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
14603 2011-09-20 Julien Danjou <julien@danjou.info>
14605 * password-cache.el (password-cache-remove): Remove entries even if the
14606 value is nil, so that password with a nil value (negative caching) is
14607 possible to invalidate.
14609 2011-09-20 Lawrence Mitchell <wence@gmx.li>
14611 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
14612 all whitespace around breakpoint. (Bug#9553)
14613 (f90-find-breakpoint): Only break at whitespace inside a comment.
14615 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
14617 * minibuffer.el (completion-file-name-table): Keep track of errors.
14618 (completion-table-with-predicate): Handle the case where pred1 is nil.
14619 * pcomplete.el (pcomplete-completions-at-point): Simplify.
14621 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
14623 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
14624 (debugger-return-value): Signal an error if the debugging context does
14625 not await any return value.
14627 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
14628 * image-mode.el (image-toggle-display-text)
14629 (image-toggle-display-image): Stay away from evil `intangible'.
14631 2011-09-19 Leo Liu <sdl.web@gmail.com>
14633 * replace.el (occur-revert-arguments): Make it permanent-local.
14634 (occur-mode): Don't call font-lock-defontify.
14636 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
14638 * net/ldap.el (ldap-search-internal): Don't push empty search
14641 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
14643 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
14645 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
14647 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
14648 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
14650 2011-09-18 Juri Linkov <juri@jurta.org>
14652 * buff-menu.el (Buffer-menu-mode-map):
14653 * dired.el (dired-mode-map):
14654 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
14655 (lisp-interaction-mode-map):
14656 * emacs-lisp/package.el (package-menu-mode-map):
14657 * epa.el (epa-key-list-mode-map):
14658 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
14659 (menu-bar-options-menu):
14660 * outline.el (outline-mode-menu-bar-map):
14661 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
14662 * vc/vc-dir.el (vc-dir-menu-map):
14663 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
14664 Capitalize non-function content words in menu item strings.
14666 * dired.el (dired-mode-map): Add menu item for
14667 `image-dired-dired-toggle-marked-thumbs'.
14669 2011-09-18 Juri Linkov <juri@jurta.org>
14671 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
14672 to `isearch-case-fold-search' and restore its original value
14673 after the `isearch-mode' call.
14675 2011-09-18 Juri Linkov <juri@jurta.org>
14677 * progmodes/grep.el (grep-process-setup): Don't check code for 1
14678 because `zgrep' returns 1 for successful matches (bug#9226).
14680 2011-09-18 Juri Linkov <juri@jurta.org>
14682 * info.el (Info-extract-menu-node-name): Check the second match
14683 for empty string (second test-case of bug#9528).
14684 (Info-last-preorder): Let-bind `Info-history' to nil to not add
14685 intermediate nodes to the history (first test-case of bug#9528).
14687 2011-09-18 Juri Linkov <juri@jurta.org>
14689 * info.el (Info-mode-syntax-table): New variable.
14690 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
14692 2011-09-18 Juri Linkov <juri@jurta.org>
14694 * info.el (Info-file-supports-index-cookies):
14695 Increment line-beginning-position's arg from 3 to 4 because makeinfo
14696 outputs one more line for long file names (bug#4142).
14698 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
14700 * newcomment.el (comment-normalize-vars): If prompting for
14701 comment-start, set comment-start-skip too (Bug#8424).
14703 2011-09-18 Johan Bockgård <bojohan@gnu.org>
14705 * icomplete.el: Fix previous fix of Bug#5849.
14706 (icomplete-mode): Don't set completion-show-inline-help.
14707 (icomplete-minibuffer-setup): Set completion-show-inline-help
14708 locally during icompletion.
14710 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
14712 * woman.el (woman2-process-escapes): Don't delete unrecognized
14713 escapes (Bug#7843).
14715 * files.el (inhibit-first-line-modes-regexps): Add image files.
14716 (hack-local-variables-prop-line): Return nil for malformed
14717 prop-lines (Bug#9044).
14719 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
14721 * net/tramp.el (top): Don't require 'shell.
14722 (tramp-methods): Fix docstring.
14723 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
14724 Return complete remote file name. Handle "smb" case.
14725 Use `tramp-tmpdir', if defined for the respective method.
14726 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
14728 * net/tramp-compat.el (top): Require 'shell.
14730 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
14731 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
14732 `tramp-current-host'.
14733 (tramp-get-remote-tmpdir): Remove.
14735 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
14736 `tramp-tmpdir' entries.
14737 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
14738 (tramp-smb-handle-file-attributes): Ignore errors.
14739 (tramp-smb-wait-for-output): Check also for process end.
14741 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
14743 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
14744 when sending QUIT (bug#9312).
14746 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
14748 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
14749 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
14750 occur-mode-display-occurrence.
14751 (occur-edit-mode): Add usage message.
14752 (occur-cease-edit): New command.
14753 (occur-after-change-function): Use text properties to find the
14754 position of the prefix text.
14755 (occur-engine): Set stickiness of prefix text properties.
14757 2011-09-17 Glenn Morris <rgm@gnu.org>
14759 * progmodes/etags.el (complete-tag):
14760 Fix call to completion-in-region. (Bug#9526)
14762 2011-09-17 Juri Linkov <juri@jurta.org>
14764 * textmodes/ispell.el (ispell-word): Add to the error message
14765 the word, ispell program name and current dictionary (bug#9121).
14766 (ispell-tex-arg-end): Capitalize "error" in the error message.
14768 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
14770 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
14773 2011-09-17 Juri Linkov <juri@jurta.org>
14775 * window.el (window-safe-min-height, window-safe-min-width):
14776 Fix typos (followup to bug#9522).
14778 2011-09-17 Sven Joachim <svenjoac@gmx.de>
14780 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
14782 2011-09-16 Eli Zaretskii <eliz@gnu.org>
14784 * simple.el (line-move): If goal-column is set, move by logical
14785 lines, not by display lines. (Bug#971)
14786 (next-line, previous-line, goal-column, line-move-visual): Doc fix
14787 to reflect the above change.
14789 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
14791 * image.el (imagemagick-register-types): Use regexp-opt.
14793 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
14795 * window.el (display-buffer-base-action): Rename from
14796 display-buffer-default-action. Make default value empty.
14797 (display-buffer-overriding-action): Convert to defvar.
14798 (display-buffer-fallback-action): New var.
14800 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
14802 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
14804 (package--add-to-archive-contents): If there is a duplicate entry
14805 with an older version, remove it.
14806 (package-menu-mark-delete, package-menu-mark-install)
14807 (package-menu-mark-unmark): Make unused args optional.
14808 (package-menu-mark-obsolete-for-deletion):
14809 Use package-menu-get-status instead of a regexp search.
14810 (package-menu-get-status): Use tabulated-list-entry.
14811 (package-menu-mark-upgrades): New command.
14812 (package-menu-mode-map): Bind it to U. Add it to menu bar.
14813 (package-menu-execute): Do installation before deletion.
14814 (package-menu-refresh, package-menu-execute): Use derived-mode-p
14815 instead of checking major-mode.
14816 (package-menu--find-upgrades): New function.
14818 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14820 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
14821 passwords in the log buffer.
14822 (smtpmail-process-filter): Update the process marker so that the
14823 "broken by peer" status message is inserted in the right place.
14825 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
14827 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
14828 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
14829 bibtex-completion-at-point-function.
14830 (bibtex-completion-at-point-function): Use them.
14832 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
14834 * mpc.el (mpc-constraints-tag-lookup): New function.
14835 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
14836 also to browser "album|playlist".
14838 2011-09-14 Juri Linkov <juri@jurta.org>
14840 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
14841 (isearch-edit-string): Use length of `isearch-string' when
14842 `isearch-fail-pos' returns nil.
14843 (isearch-message): Remove duplicate code and call
14844 `isearch-fail-pos' with arg `t'.
14846 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
14848 * replace.el (occur-mode-goto-occurrence): Don't force using other
14851 * dired-aux.el (dired-do-chmod): Don't provide initial input.
14853 2011-09-14 Martin Rudalics <rudalics@gmx.at>
14855 * window.el (display-buffer-window): Remove.
14856 (display-buffer-record-window): Use help-setup window parameter
14857 instead of variable display-buffer-window.
14858 (display-buffer-function, special-display-buffer-names)
14859 (special-display-function): Mention help-setup parameter instead
14860 of display-buffer-window in doc-string.
14861 * help.el (help-window-setup): New argument help-window.
14862 Use help-window-setup parameter instead of display-buffer-window.
14863 Reword some messages.
14864 (with-help-window): Pass window used for displaying the buffer
14865 to help-window-setup. Don't set display-buffer-window.
14867 2011-09-13 Glenn Morris <rgm@gnu.org>
14869 * emacs-lisp/debug.el (debugger-make-xrefs):
14870 Preserve point. (Bug#9462)
14872 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
14874 * window.el (window-deletable-p): Use next-frame.
14876 2011-09-13 Martin Rudalics <rudalics@gmx.at>
14878 * window.el (window-auto-delete): Remove.
14879 (window-deletable-p): Remove argument FORCE. Don't deal with
14880 dedication and previous buffers.
14881 (switch-to-prev-buffer): Don't delete window.
14882 (delete-windows-on): Delete a window's frame if and only if the
14883 window is dedicated.
14884 (replace-buffer-in-windows): Delete buffer's window or frame if
14885 and only if window is dedicated.
14886 (quit-window): Handle quit-restore as before last change.
14887 (bury-buffer): Delete window only if window-deletable-p returns t.
14889 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
14891 * window.el (window-deletable-p): Never delete the last frame on a
14894 2011-09-13 Glenn Morris <rgm@gnu.org>
14896 * help.el (describe-key-briefly): Copy previous standard-output change.
14898 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
14900 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
14902 2011-09-13 Glenn Morris <rgm@gnu.org>
14904 * emacs-lisp/lisp-mode.el (lisp-indent-function):
14905 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
14907 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
14909 * dired-aux.el (dired-mark-read-string): Don't return default
14910 value on empty input (Bug#9361).
14911 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
14912 Omit initial minibuffer contents.
14913 (dired-do-chmod): Signal an error on empty input.
14914 (dired-mark-read-string): Don't return default on empty input.
14916 * files.el (file-modes-symbolic-to-number): Doc fix.
14918 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
14920 * international/mule-cmds.el (ucs-completions): Remove.
14921 (read-char-by-name): Use complete-with-action instead; add metadata.
14923 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
14925 * window.el (display-buffer--action-function-custom-type)
14926 (display-buffer--action-custom-type): New vars.
14927 (display-buffer-alist, display-buffer-default-action)
14928 (display-buffer-overriding-action): Add defcustom types.
14930 * frame.el (delete-other-frames): Doc fix (Bug#276).
14932 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14934 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
14936 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
14938 Change modes that used same-window-* vars to use switch-to-buffer.
14940 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
14941 Use switch-to-buffer.
14943 * cus-edit.el (customize-group, custom-buffer-create)
14944 (customize-browse, custom-buffer-create-other-window):
14945 Use switch-to-buffer or switch-to-buffer-other-window.
14947 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
14948 (Info-prev, Info-up, Info-speedbar-goto-node)
14949 (info-display-manual): Use switch-to-buffer.
14950 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
14952 * mail/sendmail.el (mail): Use switch-to-buffer.
14953 (mail-recover): Use switch-to-buffer-other-window.
14955 * cmuscheme.el (run-scheme, switch-to-scheme):
14957 * shell.el (shell):
14958 * net/rlogin.el (rlogin):
14959 * net/telnet.el (telnet, rsh):
14960 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
14962 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
14964 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
14966 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14968 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
14969 so don't mention it (bug#9301).
14970 (dired-sort-toggle-or-edit): Clarify string further.
14972 * faces.el (face-spec-set-match-display): Make `(type graphic)'
14973 match `x', `w32' and `ns', like the manual says (bug#9029).
14975 * subr.el (eval-after-load): Doc string clarification (bug#9125).
14976 (process-kill-buffer-query-function): Mention the buffer name in
14979 * image-mode.el (image-next-line): The line parameter is mandatory
14982 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
14983 which can be useful (bug#9301).
14985 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
14987 * subr.el (match-string): Mention that the current buffer should
14988 be the same as the search was done in (bug#9282).
14990 * facemenu.el: Disable the remove-* commands if the mark isn't
14993 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
14995 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
14997 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
14999 * replace.el (occur-mode-goto-occurrence)
15000 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
15001 and display-buffer.
15003 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
15006 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
15007 special-display and same-window variables.
15008 (mail-other-window): Use switch-to-buffer-other-window.
15009 (mail-other-frame): USe switch-to-buffer-other-frame.
15011 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
15012 Use display-buffer-other-frame.
15013 (gdb-display-gdb-buffer): Use pop-to-buffer.
15015 * progmodes/gud.el (gud-goto-info): Use info-other-window.
15017 * progmodes/python.el: Don't set same-window-buffer-names.
15019 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
15021 * window.el (display-buffer-alist): Add *Python*.
15023 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
15025 * window.el (display-buffer-alist): Add entry for buffers
15026 previously handled same-window-*.
15027 (display-buffer-alist, display-buffer-default-action)
15028 (display-buffer-overriding-action): Mark as risky.
15029 (display-buffer-alist): Document action function changes.
15030 (display-buffer--same-window-action)
15031 (display-buffer--other-frame-action): New variables.
15032 (switch-to-buffer, display-buffer-other-frame): Use them.
15033 (display-buffer): Rename reuse-frame entry to reusable-frames.
15034 (display-buffer-reuse-selected-window): Function deleted.
15035 (display-buffer-reuse-window): Handle reusable-frames alist entry.
15036 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
15037 (display-buffer-special): New function.
15038 (display-buffer--maybe-pop-up-frame-or-window): Rename from
15039 display-buffer-reuse-or-pop-window. Split off special-display
15040 part into display-buffer-special.
15041 (display-buffer-use-some-window): Don't perform any special
15042 pop-up-frames handling.
15043 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
15044 (display-buffer--maybe-same-window): Rename from
15045 display-buffer-maybe-same-window.
15047 * info.el: Don't set same-window-regexps.
15048 (info-setup): New function.
15049 (info-other-window, info): Call it.
15051 * cus-edit.el: Don't set same-window-regexps.
15052 (customize-group): New argument.
15053 (customize-group-other-window): Use it.
15054 (customize-face, customize-face-other-window): Likewise.
15055 (custom-buffer-create-other-window): Use pop-to-buffer directly.
15059 * progmodes/gud.el: Don't set same-window-regexps.
15064 * mail/sendmail.el:
15065 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
15067 2011-09-10 Juri Linkov <juri@jurta.org>
15069 * isearch.el (isearch-edit-string): Remove obsolete mention of
15070 `C-w' (`isearch-yank-word-or-char') from docstring.
15071 (isearch-query-replace): Fix typo in docstring (bug#9466).
15073 2011-09-10 Juri Linkov <juri@jurta.org>
15075 * paren.el (show-paren-function): Don't show escaped parens.
15076 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
15078 2011-09-10 Eli Zaretskii <eliz@gnu.org>
15080 * mail/sendmail.el (mml-to-mime, mml-attach-file)
15081 (mm-default-file-encoding): Remove autoload forms, they are
15082 replaced with autoload cookies in mml.el and mm-encode.el.
15083 (mail-add-attachment): New command.
15084 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
15085 (mail-mode): Mention mail-insert-file and mail-add-attachment in
15087 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
15089 2011-09-10 Reuben Thomas <rrt@sc3d.org>
15091 * simple.el (count-words-region): Use buffer if there's no region
15094 2011-09-09 Juri Linkov <juri@jurta.org>
15096 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
15097 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
15098 (wdired-isearch-filter-read-only): New function. (Bug#6362)
15100 2011-09-09 Alan Mackenzie <acm@muc.de>
15102 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
15103 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
15105 2011-09-09 Eli Zaretskii <eliz@gnu.org>
15107 Fix for Savannah bug#9392.
15108 * simple.el (mail-encode-mml): New defvar.
15110 * mail/rmail.el (mail-encode-mml): Add a defvar.
15111 (rmail-enable-mime-composing): Default to t.
15112 (rmail-forward): Use MIME method of forwarding only if both
15113 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
15114 Set mail-encode-mml non-nil if the MIME method was used.
15116 * mail/sendmail.el (mml-to-mime): Add autoload form.
15117 (mail-encode-mml): Add a defvar.
15118 (mail-mode): Make mail-encode-mml buffer-local and initialize it
15120 (mail-send): If mail-encode-mml is non-nil, run the outgoing
15121 message through mml-to-mime, and reset mail-encode-mml to nil.
15123 2011-09-09 Glenn Morris <rgm@gnu.org>
15125 * woman.el (woman-if-body): When processing an .el block,
15126 do not delete the next .el block as well. (Bug#9447)
15127 (woman-special-characters): Add oq, cq, and hy characters.
15129 2011-09-08 Martin Rudalics <rudalics@gmx.at>
15131 * window.el (window-deletable-p): Make sure window is live before
15132 invoking window-prev-buffers.
15134 2011-09-08 Leo Liu <sdl.web@gmail.com>
15136 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
15138 2011-09-08 Juri Linkov <juri@jurta.org>
15140 * progmodes/compile.el (compilation-environment): Make it
15141 a defcustom (bug#8340).
15143 2011-09-08 Martin Rudalics <rudalics@gmx.at>
15145 * window.el (frame-auto-delete): Rename to window-auto-delete.
15146 Make it control auto-deletion of windows and/or frames.
15147 (window-deletable-p): New argument FORCE. Rewrite conditions
15148 for deleting window/frame. (Bug#9419)
15149 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
15150 Rewrite handling of case when window/frame can be deleted.
15151 (delete-windows-on): Call window-deletable-p with new FORCE
15152 argument t. (Bug#9456)
15154 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
15156 * help-mode.el (help-mode): Restore autoload.
15158 2011-09-07 Juri Linkov <juri@jurta.org>
15160 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
15161 `compilation-environment'. Set buffer-local
15162 `compilation-environment' to `thisenv' later after (funcall mode).
15165 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
15166 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
15167 instead of replacing its value. (Bug#8340)
15169 2011-09-07 Juri Linkov <juri@jurta.org>
15171 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
15172 based on text properties put by `grep-filter' instead of matching
15174 (grep-mode): Set buffer-local `compilation-error-screen-columns'
15175 to the value of `grep-error-screen-columns' (bug#9438).
15177 2011-09-07 Juri Linkov <juri@jurta.org>
15179 * simple.el (next-error-highlight, next-error-highlight-no-select):
15180 Doc fix (bug#9432).
15182 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
15184 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15185 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
15187 2011-09-07 Leo Liu <sdl.web@gmail.com>
15189 * net/rcirc.el (rcirc-mode): Conditionally initialize
15192 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
15194 * emacs-lisp/find-func.el (find-function-C-source): Only set
15195 find-function-C-source-directory after checking that we found a source
15196 file there (bug#9440).
15198 2011-09-06 Alan Mackenzie <acm@muc.de>
15200 * isearch.el (isearch-other-meta-char): Wherever a key list is
15201 unread, "unread" the prefix arg, too. This fixes bug #8901.
15203 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
15205 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
15207 2011-09-05 Juri Linkov <juri@jurta.org>
15209 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
15211 2011-09-05 Juri Linkov <juri@jurta.org>
15213 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
15214 keeping point where processing of grep matches begins, and
15215 continue to delete remaining escape sequences from the same point.
15216 (grep-filter): Make leading zero optional in "0?1;31m" because
15217 git-grep emits "\033[1;31m" escape sequences unlike expected
15218 "\033[01;31m" as GNU Grep does (bug#9408).
15219 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
15221 2011-09-05 Juri Linkov <juri@jurta.org>
15223 * subr.el (y-or-n-p): Capitalize "yes".
15225 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
15227 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
15228 `tramp-cache-unload-hook' where appropriate.
15229 (tramp-methods): Rename `tramp-remote-sh' to
15230 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
15231 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
15233 * net/tramp-sh.el (top): Don't require 'shell.
15234 (tramp-methods): Add `tramp-remote-shell' and
15235 `tramp-remote-shell-args' entries.
15236 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
15237 (tramp-sh-handle-shell-command): Remove.
15238 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
15239 Use `tramp-remote-shell'.
15241 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
15243 * mail/sendmail.el (sendmail-query-once-function): Delete.
15244 (sendmail-query-once): Save directly to send-mail-function.
15245 Update message-send-mail-function too.
15247 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
15249 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
15251 * progmodes/python.el (python-mode-map): Use correct function to
15252 start python interpreter from menu-bar (as reported by Geert
15254 (inferior-python-mode-map): Fix typo.
15255 (python-shell-map): Remove.
15257 2011-09-03 Deniz Dogan <deniz@dogan.se>
15259 * net/rcirc.el (rcirc-print): Simplify code for
15260 rcirc-scroll-show-maximum-output. There is no need to walk
15261 through all windows to find the right one.
15263 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
15265 * help.el (help-return-method): Doc fix.
15267 2011-09-03 Martin Rudalics <rudalics@gmx.at>
15269 * window.el (window-deletable-p): Don't return a non-nil value
15270 when there's a buffer that was shown in the window before.
15272 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15273 Set window's previous buffers to nil.
15275 2011-09-03 Eli Zaretskii <eliz@gnu.org>
15277 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
15278 newline before and after the tag line, so it doesn't interfere
15279 with determining the paragraph direction of bidirectional text.
15281 2011-09-03 Leo Liu <sdl.web@gmail.com>
15283 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
15285 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
15287 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
15288 (pop-to-buffer): Change interactive spec. Pass second argument
15289 directly to display-buffer.
15290 (display-buffer): Fix interactive spec. Use functionp to
15291 distinguish between a function and a list of functions.
15293 * abbrev.el (edit-abbrevs):
15294 * arc-mode.el (archive-extract):
15295 * autoinsert.el (auto-insert):
15296 * bookmark.el (bookmark-bmenu-list):
15297 * files.el (find-file):
15298 * view.el (view-buffer):
15299 * progmodes/compile.el (compilation-goto-locus):
15300 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
15302 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
15304 * window.el (display-buffer-alist): Doc fix.
15305 (display-buffer): Add docstring. Don't treat
15306 display-buffer-default specially.
15307 (display-buffer-reuse-selected-window)
15308 (display-buffer-same-window, display-buffer-maybe-same-window)
15309 (display-buffer-reuse-window, display-buffer-pop-up-frame)
15310 (display-buffer-pop-up-window)
15311 (display-buffer-reuse-or-pop-window)
15312 (display-buffer-use-some-window): New functions.
15313 (display-buffer-default-action): Use them.
15314 (display-buffer-default): Delete.
15315 (pop-to-buffer-1): Fix choice of actions.
15317 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
15319 * minibuffer.el (completion--insert-strings): Don't get confused by
15320 completion entries that end with an LF char.
15322 2011-09-01 Eli Zaretskii <eliz@gnu.org>
15324 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
15326 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
15328 * window.el (display-buffer): Restore interactive spec.
15329 (display-buffer-same-window, display-buffer-other-window):
15331 (pop-to-buffer-1): New function. Use the above.
15332 (pop-to-buffer, pop-to-buffer-same-window): Use it.
15333 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
15335 * view.el (view-buffer-other-window, view-buffer-other-frame):
15336 Just use pop-to-buffer.
15338 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15340 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
15342 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
15344 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
15346 2011-08-31 Richard Stallman <rms@gnu.org>
15348 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
15349 of the separation of rmail-view-buffer from rmail-buffer.
15350 If you say no to "replace original", the decrypt is in the
15351 view buffer. If you say yes, the decrypt goes into the
15354 2011-08-31 Martin Rudalics <rudalics@gmx.at>
15356 * window.el (display-buffer-window): Rewrite doc-string.
15357 (display-buffer-record-window): New function.
15358 (display-buffer-macro-specifiers)
15359 (display-buffer-even-window-sizes, display-buffer-set-height)
15360 (display-buffer-set-width, display-buffer-in-window)
15361 (display-buffer-reuse-window, display-buffer-split-specifiers)
15362 (display-buffer-side-specifiers, display-buffer-split-window-1)
15363 (display-buffer-split-window, display-buffer-split-atom-window)
15364 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
15365 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
15366 (display-buffer-other-window-means-other-frame)
15367 (display-buffer-normalize-special)
15368 (display-buffer-normalize-default)
15369 (display-buffer-normalize-argument)
15370 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
15371 (display-buffer-normalize-specifiers, display-buffer-frame)
15372 (display-buffer-same-window, display-buffer-same-frame)
15373 (display-buffer-other-window)
15374 (display-buffer-same-frame-other-window)
15375 (display-buffer-other-frame, pop-to-buffer-same-window)
15376 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
15377 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
15378 (switch-to-buffer-same-frame)
15379 (switch-to-buffer-other-window-same-frame)
15380 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
15381 (display-buffer-alist-set-1, display-buffer-alist-set-2)
15382 (display-buffer-alist-set): Remove.
15383 (display-buffer-function, special-display-buffer-names)
15384 (special-display-regexps, special-display-function):
15385 In doc-string refer to display-buffer-window and quit-restore
15387 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
15388 (special-display-frame-alist, special-display-popup-frame)
15389 (same-window-buffer-names, same-window-regexps, same-window-p)
15390 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15391 (split-window-preferred-function, split-height-threshold)
15392 (split-width-threshold, window-splittable-p)
15393 (split-window-sensibly, window--try-to-split-window)
15394 (window--frame-usable-p, even-window-heights)
15395 (window--even-window-heights, window--display-buffer-1)
15396 (window--display-buffer-2, display-buffer-other-frame):
15397 Restore old Emacs 23 code, order and doc-strings where applicable.
15398 (display-buffer-default, display-buffer-assq-regexp): New functions.
15399 (display-buffer-alist): Rewrite doc-string.
15400 (display-buffer-default-action)
15401 (display-buffer-overriding-action): New variables.
15402 (display-buffer, switch-to-buffer): Rewrite.
15403 (pop-to-buffer): Restore Emacs 23 behavior but use
15404 window-normalize-buffer-to-display.
15405 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
15406 Restore Emacs 23 behavior but use
15407 window-normalize-buffer-to-switch-to.
15408 (pop-to-buffer-same-window): Rewrite.
15409 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
15410 Rewrite using Emacs 23 options.
15412 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
15414 * net/tramp.el (tramp-root-regexp): Remove.
15415 (tramp-completion-file-name-regexp-unified)
15416 (tramp-completion-file-name-regexp-separate)
15417 (tramp-completion-file-name-regexp-url): Don't use leading volume
15418 letter on w32 systems. (Bug#5303, Bug#9311)
15419 (tramp-drop-volume-letter): Simplify definition.
15420 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
15422 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
15424 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
15427 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
15429 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
15431 2011-08-29 Juri Linkov <juri@jurta.org>
15433 * isearch.el (isearch-done): Don't display message "Mark saved"
15434 when arg `edit' is non-nil to prevent its flicker in the echo area.
15436 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
15438 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
15439 obsolete packages for deletion.
15441 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
15443 * help-mode.el (help-mode-map): Add special-mode-map to parent.
15444 (help-mode): Derive help-mode from special-mode. Don't invoke
15445 view-mode from help-mode.
15446 (help-xref-override-view-map): Remove.
15447 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
15448 view-mode is not used anymore.
15450 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
15452 * server.el (server-port): Doc fix.
15454 * cus-theme.el (custom-theme-choose-mode): Inherit from
15455 special-mode (Bug#9124).
15456 (custom-theme-choose-mode-map): Add special-mode to parent.
15458 2011-08-28 Alan Mackenzie <acm@muc.de>
15460 * progmodes/cc-fonts.el
15461 (c-make-font-lock-BO-decl-search-function): New function.
15462 (c-basic-matchers-after - "Fontify the clauses after various
15463 keywords"): Extract the three keyword lists for the 3 erroneous
15464 constructs from the list of four, and use the new function above
15465 in place of an old one.
15467 2011-08-28 Deniz Dogan <deniz@dogan.se>
15469 * net/rcirc.el (rcirc-insert-prev-input)
15470 (rcirc-insert-next-input): Remove unused argument.
15472 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
15474 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
15476 2011-08-27 Alan Mackenzie <acm@muc.de>
15478 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
15479 handle function pointer parameters properly.
15481 2011-08-27 Martin Rudalics <rudalics@gmx.at>
15483 * window.el (display-buffer-reuse-window): Fix case where
15484 selected window was reused with non-nil OTHER-WINDOW argument.
15487 2011-08-27 Deniz Dogan <deniz@dogan.se>
15489 * net/rcirc.el (rcirc-check-auth-status): Adding support for
15490 oftc's NickServ messages.
15492 2011-08-27 Glenn Morris <rgm@gnu.org>
15494 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
15496 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
15498 * emacs-lisp/package.el (package-install): Call package-initialize
15499 if called interactively.
15501 2011-08-26 Leo Liu <sdl.web@gmail.com>
15503 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
15505 2011-08-25 Juri Linkov <juri@jurta.org>
15507 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
15508 `search-whitespace-regexp' (bug#9364).
15510 2011-08-25 Juri Linkov <juri@jurta.org>
15512 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
15513 `regexp-search-ring' to their global values to protect from
15514 updating by `read-from-minibuffer' (bug#9185).
15516 2011-08-25 Juri Linkov <juri@jurta.org>
15518 * textmodes/ispell.el (ispell-command-loop): Add newline
15519 at the end of the "Use option `i'..." line.
15521 2011-08-25 Juri Linkov <juri@jurta.org>
15523 * battery.el (display-battery-mode): If `battery-status-function'
15524 or `battery-mode-line-format' is nil, display the message and set
15525 `display-battery-mode' to nil (bug#9363).
15527 2011-08-25 Eli Zaretskii <eliz@gnu.org>
15529 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
15530 bidi-string-mark-left-to-right; they are unnecessary now.
15532 2011-08-25 Deniz Dogan <deniz@dogan.se>
15534 * net/quickurl.el: Documentation typo fixes.
15536 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
15538 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
15540 2011-08-25 Glenn Morris <rgm@gnu.org>
15542 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
15544 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
15545 (smtpmail-via-smtp): Handle nil response from smtp.
15547 2011-08-24 Juri Linkov <juri@jurta.org>
15549 * proced.el (proced-marked): Inherit from `error' instead of
15550 `font-lock-warning-face'.
15552 * ibuffer.el (ibuffer-marked-face): Change default face from
15553 `font-lock-warning-face' to `warning'.
15554 (ibuffer-deletion-face): Change default face from
15555 `font-lock-type-face' to `error'.
15557 * battery.el (battery-update): Use the face `error' instead of
15558 `font-lock-warning-face' (bug#6117).
15560 2011-08-24 Juri Linkov <juri@jurta.org>
15562 * faces.el (success): Change face color from "Green3" to
15563 "ForestGreen" on light background (bug#9353).
15565 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
15567 * window.el (quit-window): Rename from quit-restore-window.
15568 Use same arglist as old quit-window.
15569 (frame-auto-delete): Doc fix.
15571 * view.el (view-mode-exit): Use quit-window.
15573 2011-08-24 Juri Linkov <juri@jurta.org>
15575 * isearch.el (isearch-ring-adjust1): Start visiting previous
15576 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
15577 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
15578 for empty search string (when the last search string is reused
15579 automatically) to adjust the isearch ring to the last element and
15580 prepare the correct index for further M-p commands (bug#9185).
15582 2011-08-24 Kenichi Handa <handa@m17n.org>
15584 * international/ucs-normalize.el: If decomposition property of
15585 CHAR is the default one (i.e. a list of CHAR itself), treat it as
15587 (nfd, nfkd): Likewise.
15589 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
15591 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
15592 from process filters aren't reliably transmitted to the surrounding
15593 accept-process-output.
15594 (mpc-proc-check): New function.
15595 (mpc-proc-sync): Use it (bug#8293)
15597 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
15599 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
15600 Add compatibility functions (bug#9313).
15602 2011-08-23 Eli Zaretskii <eliz@gnu.org>
15604 * cus-start.el (all): Add entry for bidi-paragraph-direction.
15606 * international/uni-bidi.el: Regenerate.
15608 2011-08-23 Kenichi Handa <handa@m17n.org>
15610 * international/charprop.el:
15611 * international/uni-bidi.el:
15612 * international/uni-category.el:
15613 * international/uni-combining.el:
15614 * international/uni-comment.el:
15615 * international/uni-decimal.el:
15616 * international/uni-decomposition.el:
15617 * international/uni-digit.el:
15618 * international/uni-lowercase.el:
15619 * international/uni-mirrored.el:
15620 * international/uni-name.el:
15621 * international/uni-numeric.el:
15622 * international/uni-old-name.el:
15623 * international/uni-titlecase.el:
15624 * international/uni-uppercase.el: Regenerate.
15626 2011-08-23 Martin Rudalics <rudalics@gmx.at>
15628 * help.el (help-window-setup): Fix message displayed when other
15629 window is reused. (Bug#9341)
15631 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
15633 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
15634 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
15636 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
15638 * shell.el (shell-parse-pcomplete-arguments): New function.
15639 (shell-completion-vars): Use it instead (bug#9160).
15641 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
15643 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
15644 strings and comments (bug#9333).
15646 * emacs-lisp/debug.el (debug-arglist): New function.
15647 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
15648 (debug-on-entry-1): Handle interpreted closures (bug#9120).
15650 2011-08-22 Juri Linkov <juri@jurta.org>
15652 * progmodes/compile.el (compilation-mode-font-lock-keywords):
15653 Revert regexp that highlights output switches to its old
15654 pre-2010-10-28 value and remove one `?' from it (bug#9319).
15656 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
15657 to check for empty output (bug#9226).
15659 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
15661 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
15662 symbol-constituent as the default, as that stops font-lock from
15663 working properly (Bug#8843).
15665 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15667 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
15668 `coding-system-for-*' around the process open call to avoid
15669 auth-source side effects.
15670 (smtpmail-try-auth-methods): Expand the secret password.
15671 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
15674 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
15676 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
15678 * emacs-lisp/find-func.el (find-function-noselect): New arg
15681 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
15682 signal an error for built-in functions (Bug#6664).
15684 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15686 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
15687 (smtpmail-try-auth-methods): Use it.
15689 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
15691 * font-lock.el (font-lock-fontify-region)
15692 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
15693 (font-lock-default-unfontify-buffer)
15694 (font-lock-default-fontify-region)
15695 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
15697 * progmodes/compile.el (compilation-error-properties):
15698 Fix confusion between file struct and message struct (Bug#9319).
15699 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
15702 * net/browse-url.el (browse-url-firefox): Don't call
15703 browse-url-firefox-sentinel unless using -remote (Bug#9328).
15705 2011-08-20 Glenn Morris <rgm@gnu.org>
15707 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
15709 * tutorial.el (tutorial--default-keys): Update some default bindings.
15711 * files.el (hack-local-variables): Fully ignore case for "mode:".
15713 2011-08-20 Alan Mackenzie <acm@muc.de>
15715 Resolve invalid use of a regexp in regexp-opt.
15717 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
15718 detection for a java annotation.
15720 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
15721 detection for a java annotation.
15723 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
15725 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
15727 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
15729 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
15732 2011-08-20 Alan Mackenzie <acm@muc.de>
15734 Fontify CPP expressions correctly when starting in the middle of
15735 such a construct. Mainly for when jit-lock etc. starts a chunk
15738 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
15740 (c-make-font-lock-search-form): New function, extracted from
15741 c-make-font-lock-search-function.
15742 (c-make-font-lock-search-function): Use the above function.
15743 (c-make-font-lock-context-search-function): New function.
15744 (c-cpp-matchers): Enhance the preprocessor expression case with
15746 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
15747 which takes an expression.
15749 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
15751 2011-08-20 Martin Rudalics <rudalics@gmx.at>
15753 * window.el (display-buffer-reuse-window)
15754 (display-buffer-pop-up-window): Don't reuse or split a side
15757 2011-08-19 Glenn Morris <rgm@gnu.org>
15759 * files.el (hack-local-variables-prop-line, hack-local-variables):
15760 Downcase "Mode:". (Bug#9331)
15762 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
15764 * international/characters.el: Add L and R categories.
15766 * subr.el (bidi-string-mark-left-to-right): Rename from
15767 string-mark-left-to-right. Use category search.
15769 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
15771 2011-08-18 Juri Linkov <juri@jurta.org>
15773 * faces.el (error, warning, success): New faces with definitions
15774 copied from old default values of `font-lock-warning-face',
15775 `compilation-warning', `compilation-info' (bug#6117).
15777 * font-lock.el (font-lock-warning-face): Inherit from `error'.
15779 * progmodes/compile.el (compilation-error): Inherit from `error'.
15780 (compilation-warning): Inherit from `warning'.
15781 (compilation-info): Inherit from `success'.
15783 * dired.el (dired-marked): Inherit from `warning'.
15784 (dired-flagged): Inherit from `error'.
15786 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15788 * mail/smtpmail.el (auth-source): Require to avoid problems with
15789 binding variables (bug#9298). Also clean up some unused
15792 * net/network-stream.el (network-stream-open-starttls):
15793 Support using starttls.el without using gnutls-cli.
15795 2011-08-17 Juri Linkov <juri@jurta.org>
15797 * progmodes/grep.el (rgrep): Handle the case when
15798 `grep-find-command' is a cons cell (bug#9278).
15800 2011-08-17 Martin Rudalics <rudalics@gmx.at>
15802 * window.el (display-buffer-pop-up-frame): Run frame creation
15803 function with BUFFER current (as special-display-popup-frame
15804 does). Reported by Drew Adams.
15806 2011-08-17 Daiki Ueno <ueno@unixuser.org>
15808 * epa-mail.el: Simplify GnuPG group expansion using
15810 (epa-mail-group-alist, epa-mail-group-modtime)
15811 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
15812 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
15813 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
15816 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
15818 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
15820 2011-08-16 Alan Mackenzie <acm@muc.de>
15822 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
15823 Correct, to avoid the inside of macros.
15825 2011-08-16 Richard Stallman <rms@gnu.org>
15827 * epa-mail.el: Handle GnuPG group definitions.
15828 (epa-mail-group-alist, epa-mail-group-modtime)
15829 (epa-mail-gnupg-conf-file): New variables.
15830 (epa-mail-parse-groups, epa-mail-sync-groups)
15831 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
15832 (epa-mail-expand-recipients): New functions.
15833 (epa-mail-encrypt): Call epa-mail-expand-recipients.
15835 * mail/rmail.el (rmail-epa-decrypt): New command.
15837 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
15838 Don't bind buffer-read-only, just inhibit-read-only.
15839 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
15840 (epa-decrypt-armor-in-region): Make error message clearer.
15842 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
15844 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
15845 and "a2b" to "ab" for `prefix'.
15847 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
15849 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
15851 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
15852 Fourquet (Bug#8804).
15854 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
15856 * startup.el (argi): Declare as global variable (bug#9275).
15858 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
15860 * subr.el (string-mark-left-to-right): Search the entire string
15861 for RTL script, not just the terminating character. Doc fix.
15863 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
15865 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
15867 (js--regexp-literal, js-syntax-propertize-function): Remove.
15868 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
15869 (js-mode-map): Don't rebind electric keys.
15870 (js-insert-and-indent): Remove.
15871 (js-mode): Setup electric-layout and electric-indent instead.
15873 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
15875 2011-08-12 Daiki Ueno <ueno@unixuser.org>
15877 * epa.el (epa-progress-callback-function): Fix the logic of
15878 displaying progress.
15879 * epa-file.el (epa-file-insert-file-contents): Make progress
15880 display more user-friendly.
15881 (epa-file-write-region): Ditto.
15883 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
15885 * subr.el (string-mark-left-to-right): New function.
15887 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
15888 Use string-mark-left-to-right.
15889 (list-buffers-noselect): Caller changed.
15891 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15892 Use string-mark-left-to-right.
15893 (tabulated-list-print): Recenter after moving point.
15895 2011-08-10 Juri Linkov <juri@jurta.org>
15897 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
15898 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
15899 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
15901 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
15903 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
15906 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
15908 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
15909 character. (Bug#6594)
15911 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
15913 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
15914 (image-dired--with-db-file): New macro.
15915 (image-dired-write-tags, image-dired-remove-tag)
15916 (image-dired-create-gallery-lists, image-dired-write-comments)
15917 (image-dired-get-comment, image-dired-mark-tagged-files)
15918 (image-dired-list-tags, image-dired-gallery-generate): Use it.
15919 (image-dired-gallery-generate): Use insert-file-contents.
15921 * time.el (display-time-world-list, display-time-world-display):
15922 * time-stamp.el (time-stamp-string):
15923 * vc/add-log.el (add-change-log-entry): Use setenv instead of
15924 set-time-zone-rule (Bug#7337).
15926 2011-08-08 Daiki Ueno <ueno@unixuser.org>
15928 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
15929 (epg-error-to-string, epg-errors-to-string): New function.
15930 (epg-wait-for-completion): Reverse errors list.
15931 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
15932 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
15933 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
15934 (epg-sign-keys, epg-generate-key-from-file)
15935 (epg-generate-key-from-string): Format errors by using
15936 epg-errors-to-string (bug#9255).
15937 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
15939 2011-08-07 Juri Linkov <juri@jurta.org>
15941 * faces.el (list-faces-display): Remove extra angle bracket
15942 from `help-mode-map'.
15944 * info.el (Info-history-toc-nodes): Doc fix.
15946 * longlines.el (longlines-mode): Doc fix.
15948 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
15950 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
15951 of statements and in a few more cases (bug#9183).
15953 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
15955 (cl-transform-lambda): Use them (bug#9239).
15957 2011-08-05 Martin Rudalics <rudalics@gmx.at>
15959 * window.el (display-buffer-same-window)
15960 (display-buffer-same-frame, display-buffer-other-window)
15961 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
15962 (pop-to-buffer-other-window)
15963 (pop-to-buffer-same-frame-other-window)
15964 (pop-to-buffer-other-frame): Make them defuns.
15965 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
15967 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
15969 * subr.el (make-composed-keymap): Move from C. Change calling
15970 convention, and improve docstring to bring attention to a subtle point.
15971 * minibuffer.el (completing-read-default): Adjust accordingly.
15973 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
15975 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
15976 (tramp-open-shell): Use `tramp-shell-quote-argument'.
15978 * net/trampver.el: Update release number.
15980 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
15982 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
15985 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15987 * mail/sendmail.el (sendmail-query-once): Restore the current
15988 buffer after querying (bug#9074).
15990 * dired.el (dired-flagged): Use different faces for marked and
15991 flagged files (bug#6117).
15993 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
15996 * ido.el (ido-mode): Switch off the message if called
15999 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
16000 before 587, since it appears that that's more likely to work for
16003 * cus-edit.el (custom-file): When running under emacs -q, always
16004 refuse to save the customizations, even if the .emacs file doesn't
16007 * info.el: Remove the `Info-beginning-of-buffer' function
16010 * net/network-stream.el (network-stream-open-starttls):
16011 Use `starttls-available-p' to see whether starttls.el can be used.
16013 2011-08-01 Martin Rudalics <rudalics@gmx.at>
16015 * window.el (display-buffer-in-window): Don't set dedicated status
16016 of window here (Bug#9215).
16017 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
16018 (display-buffer-pop-up-side-window)
16019 (display-buffer-in-side-window): Set dedicated status of window here.
16021 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
16023 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
16024 before binding generated-autoload-file.
16026 2011-08-01 Deniz Dogan <deniz@dogan.se>
16028 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
16030 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
16032 Sync with Tramp 2.2.2.
16034 * net/trampver.el: Update release number.
16036 2011-07-30 Juri Linkov <juri@jurta.org>
16038 * dired-aux.el (dired-touch-initial): Remove function.
16039 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
16040 current time, and `default' to the last modification time of the
16041 current marked file (bug#6887).
16043 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
16045 * simple.el (goto-line): Use string-to-number to provide a
16046 numeric argument to read-number (bug#9163).
16048 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
16050 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
16051 connection process, it could be nil.
16053 2011-07-27 Leo Liu <sdl.web@gmail.com>
16055 Simplify url handling in rcirc-mode.
16057 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
16058 (rcirc-browse-url-at-mouse): Remove.
16059 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
16061 2011-07-26 Alan Mackenzie <acm@muc.de>
16063 Fontify bitfield declarations properly.
16065 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
16066 (c-symbol-chars): Now exported as a lang variable.
16067 (c-not-primitive-type-keywords): New lang variable.
16069 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
16070 QT keyword "more" to prevent "more slots: ...." being spuriously
16071 parsed as a bitfield declaration.
16073 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16074 Refactor and enhance to handle bitfield declarations.
16075 (c-punctuation-in): New function.
16076 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
16077 declarations properly.
16079 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
16081 * calendar/icalendar.el (icalendar--all-events): Take care of
16082 multiple vcalendars in a single file.
16083 (icalendar--convert-float-to-ical): Checkdoc fixes.
16085 2011-07-25 Deniz Dogan <deniz@dogan.se>
16087 * image.el (insert-image): Clarifying docstring.
16089 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
16091 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
16092 `tramp-send-command-and-check' if there is no error.
16093 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
16095 2011-07-22 Alan Mackenzie <acm@muc.de>
16097 Prevent cc-langs.elc being loaded at run time.
16099 * progmodes/cc-mode.el: Remove two autoload forms which loaded
16102 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
16103 "(require 'cc-langs)". Quote a form so it will evaluate at
16104 (cc-mode's) compilation time.
16106 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
16108 * net/tramp.el (tramp-file-name-handler): Avoid recursive
16109 loading. (Bug#9114)
16111 2011-07-21 Martin Rudalics <rudalics@gmx.at>
16113 * window.el (display-buffer-pop-up-window)
16114 (display-buffer-pop-up-side-window)
16115 (display-buffer-in-side-window): Call display-buffer-set-height
16116 and display-buffer-set-width after setting the new window's
16117 buffer so `fit-window-to-buffer' and friends work on the right buffer.
16119 2011-07-20 Sam Steingold <sds@gnu.org>
16121 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
16122 (etags-tags-included-tables): Call `convert-standard-filename' on
16123 the file names contained in TAGS so that windows Emacs can handle
16124 TAGS files created by cygwin ctags.
16126 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
16128 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
16129 which apparently didn't work.
16131 2011-07-19 Roland Winkler <winkler@gnu.org>
16133 * proced.el (proced-send-signal): For *Marked Processes* buffer
16134 put point at beginning of buffer.
16136 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
16138 * proced.el (proced-format): Make header lines align with the text
16141 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
16143 * view.el (view-buffer): Allow running in `special' modes if we're
16144 visiting a file (bug#8615).
16146 2011-07-19 Martin Rudalics <rudalics@gmx.at>
16148 * window.el (display-buffer-alist-of-strings-p)
16149 (display-buffer-alist-set-1, display-buffer-alist-set-2):
16151 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
16154 2011-07-18 Alan Mackenzie <acm@muc.de>
16156 Fontify declarators properly when, e.g., a jit-lock chunk begins
16157 inside a declaration.
16159 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
16161 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
16163 (c-complex-decl-matchers): Insert reference to
16164 c-font-lock-enclosing-decls.
16166 * progmodes/cc-engine.el (c-backward-single-comment):
16167 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
16168 to nil around calls to (forward-comment -1).
16170 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16172 * image.el (put-image): Doc typo fix.
16174 * progmodes/etags.el (tags-search): Doc typo fix.
16176 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
16177 password if we get errors 550 to 554.
16179 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
16181 * net/gnutls.el (gnutls-log-level): Remove.
16183 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
16184 indentation character (bug#6380).
16186 * files.el (buffer-offer-save): Made permanently local (bug#6241).
16188 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
16189 to clarify what the problem is (bug#4291).
16191 * simple.el (current-kill): Clarify what
16192 `interprogram-paste-function' does (bug#7500).
16193 (auto-fill-mode): Document `auto-fill-function' in relation to
16194 `auto-fill-mode' (bug#2470).
16196 2011-07-16 Lawrence Mitchell <wence@gmx.li>
16198 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
16199 method if slot is read-only (bug#9035).
16201 2011-07-16 Martin Rudalics <rudalics@gmx.at>
16203 * frame.el (select-frame-set-input-focus): New argument NORECORD.
16204 * window.el (pop-to-buffer): Select window used even if it was
16205 selected before, see discussion of (Bug#8615), (Bug#6954).
16206 Pass argument NORECORD on to select-frame-set-input-focus.
16208 2011-07-15 Glenn Morris <rgm@gnu.org>
16210 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
16213 2011-07-09 Lawrence Mitchell <wence@gmx.li>
16215 * net/gnutls.el (gnutls-min-prime-bits): New variable.
16216 (gnutls-negotiate): Use it.
16218 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16220 * net/gnutls.el (gnutls-negotiate):
16221 Upcase `gnutls-algorithm-priority'.
16223 2011-07-15 Glenn Morris <rgm@gnu.org>
16225 * jka-compr.el (jka-compr-verbose): Move from here...
16226 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
16227 Add missing :version tag.
16228 * info.el: No need to require jka-compr when compiling.
16230 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16232 * net/gnutls.el (gnutls-algorithm-priority): New variable.
16233 (gnutls-negotiate): Use it.
16235 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
16237 * info.el (Info-beginning-of-buffer): New command.
16238 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
16239 announcing `b' as the key (bug#8325).
16240 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
16242 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
16244 * international/mule-cmds.el
16245 (describe-specified-language-support): Make the error message
16246 clearer (bug#8905).
16248 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
16250 * isearch.el (isearch-barrier): Add a doc string, since it's
16251 mentioned in a function doc string (bug#8678).
16253 2011-07-15 Martin Rudalics <rudalics@gmx.at>
16255 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
16256 buffer argument (Bug#9083) and self-identifying label argument.
16258 2011-07-15 Glenn Morris <rgm@gnu.org>
16260 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
16262 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
16264 * man.el (Man-fontify-manpage): Fix message when formatting the
16265 man page (bug#7929).
16267 2011-07-14 Eli Zaretskii <eliz@gnu.org>
16269 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
16270 argument LRM; if non-nil, append an invisible LRM character to the
16272 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
16273 last argument non-nil, when formatting buffer names.
16274 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
16275 paragraph direction.
16277 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
16279 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
16280 the man page name (bug#7929).
16282 * image.el (put-image): Mention the `put-image' overlay property
16285 * scroll-bar.el (set-scroll-bar-mode): Mention that
16286 `scroll-bar-mode' lists the values (bug#7772).
16288 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
16289 command (bug#7729).
16291 * rect.el (apply-on-rectangle): Return the point after the last
16293 (string-rectangle): Go to the point after the last operation
16296 * printing.el (pr-toggle-region): Clarify the documentation
16297 slightly (bug#7493).
16299 * time.el (display-time-update):
16300 Allow `display-time-mail-function' to return nil (bug#7158).
16301 Fix suggested by Detlev Zundel.
16303 * vc/diff.el (diff): Clarify the order the file names are read
16306 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
16307 the doc string (bug#7015).
16309 * font-lock.el (font-lock-maximum-decoration): Mention what
16310 numeric levels mean (bug#6935).
16312 * startup.el (initial-buffer-choice): Don't mention the `none'
16313 selection, which is against policy.
16315 2011-07-14 Martin Rudalics <rudalics@gmx.at>
16317 * window.el (display-buffer-normalize-special):
16318 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
16320 2011-07-14 Eli Zaretskii <eliz@gnu.org>
16322 * subr.el (version<, version<=, version=): Mention "-CVS" and
16323 "-12345" alpha version numbers.
16325 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
16327 * bindings.el: Add advertised binding for set-mark-command
16330 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
16332 * bindings.el (mode-line-other-buffer):
16333 * bookmark.el (bookmark-bmenu-2-window):
16334 * bs.el (bs-cycle-next, bs-cycle-previous):
16335 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
16338 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
16341 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
16343 * follow.el (follow-debug-message, follow-redisplay):
16344 * jka-cmpr-hook.el (with-auto-compression-mode):
16345 Fix typos in docstrings.
16347 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16349 * subr.el (with-silent-modifications): Clarify somewhat what the
16350 macro inhibits (bug#6525).
16352 * simple.el (eval-expression): Note what it does if called
16353 interactively (bug#6495).
16355 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
16357 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
16358 Use pop-to-buffer buffer-or-name if it is nil.
16360 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16361 Remove switch-to-buffer.
16363 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16365 * files.el (make-directory): Clarify that an error will be raised
16366 if there's an error (bug#6397).
16368 * startup.el (initial-buffer-choice): Add `none' as a choice
16371 * subr.el (add-hook): Clarify section about buffer-local hooks
16374 * dired.el (dired-flagged): Clarify doc string (bug#6117).
16376 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
16378 * tabify.el (untabify): Preserve the current column so that point
16379 doesn't move (bug#6032).
16381 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16383 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
16384 Rewrite to avoid awkward possessive "s" (bug#5986).
16386 2011-07-13 Glenn Morris <rgm@gnu.org>
16388 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
16389 (dired-insert-directory): Give a message the first time
16390 if ls is found not to support --dired.
16392 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16394 * simple.el (toggle-truncate-lines): Clarify what is toggled
16395 (bug#5580). Text by Drew Adams.
16397 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
16399 * simple.el (blink-matching-open): Make the error message from the
16400 last change less verbose.
16402 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
16404 * font-lock.el (font-lock-comment-face): Use the high contrast
16405 "yellow" color for font-lock-comment-face on low color terminals
16406 using a dark background color (bug#4221).
16408 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16410 * dired.el (dired-insert-set-properties): Make the doc string
16411 reflect what it does now (bug#5325).
16413 * simple.el (blink-matching-open): Say that we were unable to find
16414 the match within the limit, if we're limited (bug#5122).
16416 * international/mule-cmds.el (prefer-coding-system): Add an
16417 example (bug#4869).
16419 * progmodes/etags.el (tags-search): Document `file-list-form'
16422 2011-07-13 Lawrence Mitchell <wence@gmx.li>
16424 * net/browse-url.el (browse-url-default-browser)
16425 (browse-url-browser-function): Make the default browser choice a
16426 bit more logical (bug#4300). Also clean up the doc string.
16428 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
16430 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
16431 binary endings (bug#4440).
16433 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16435 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
16436 which can be pretty annoying (bug#8971).
16438 * jka-compr.el (jka-compr-verbose): New variable, and use
16439 throughout (bug#8971).
16441 * info.el (Info-find-file): Fall back on the installation
16442 directory if we can't find the info node anywhere else.
16444 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
16446 * vc/vc.el (vc-revert-file):
16447 Don't set file time-stamp in the past. (Bug#5181)
16449 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16451 * files.el (after-find-file): Give a better error message when
16452 trying to find a symlink that points to a file that doesn't exist
16455 * progmodes/cc-vars.el: Remove (probably) misleading comment
16458 2011-07-12 Johan Bockgård <bojohan@gnu.org>
16460 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
16462 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
16464 * mouse-sel.el: Hack restoring functionality, while keeping
16465 compatibility with 2010-07-03 changes to mouse selection.
16466 (mouse-sel-primary-overlay): New var.
16467 (mouse-sel-selection-alist): Use it.
16468 (mouse-sel-mode): Doc fix; remove points that are default features
16471 2011-07-12 Johan Bockgård <bojohan@gnu.org>
16473 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16474 Fix previous fix (bug#2490).
16476 2011-07-12 Roland Winkler <winkler@gnu.org>
16478 * textmodes/bibtex.el (bibtex-initialize):
16479 Use pop-to-buffer-same-window.
16480 (bibtex-search-entries): Fix interactive call.
16482 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16484 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16485 Fontise bytecomp Error lines more correctly (bug#2490).
16486 Fix suggested by Johan Bockgård.
16488 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
16490 * dired-x.el (dired-guess-default): Use `delete-dups'.
16492 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
16494 * dired.el (dired-mark-prompt):
16495 * dired-aux.el (dired-read-shell-command): Doc fix.
16497 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16499 * mail/sendmail.el (sendmail-query-once):
16500 Use `customize-save-variable' unconditionally, now that it works under
16503 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
16505 * cus-edit.el (custom-file): Take an optional no-error variable.
16506 (customize-save-variable): Set the variable, and give a warning if
16507 running under "emacs -q".
16509 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
16511 * loadhist.el (unload-feature-special-hooks):
16512 Add `auto-coding-functions', `fill-nobreak-predicate' and
16513 `find-directory-functions' (bug#5327).
16515 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16517 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
16519 * cus-edit.el (custom-guess-name-alist): -alist variables should
16520 use the `alist' type (bug#3120). Suggested by Drew Adams.
16522 * printing.el: Add documentation to all the `pr-toggle-' commands.
16524 2011-07-11 Leo Liu <sdl.web@gmail.com>
16526 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
16527 backends where it makes sense (bug#2623).
16529 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16531 * dired-x.el (dired-guess-default): Remove duplicate shell command
16532 entries (bug#2028).
16533 (dired-guess-default): Fix grammar in doc string (bug#2028).
16534 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
16536 * subr.el (remove-duplicates): New conveniency function.
16538 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
16540 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
16543 2011-07-10 Martin Rudalics <rudalics@gmx.at>
16545 * window.el (display-buffer-normalize-default): Don't invert
16546 meaning of even-window-heights. Reported by Eli Zaretskii
16549 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
16551 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
16553 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
16555 * window.el (display-buffer): Fix arguments to
16556 display-buffer-reuse-window in last change.
16558 * faces.el (link): Use a less saturated blue on light backgrounds.
16560 * startup.el (fancy-startup-text, fancy-about-text)
16561 (fancy-startup-tail): Use font-lock faces, for background safety.
16563 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
16565 * emulation/viper-cmd.el (viper-change-state-to-vi):
16566 Limit triggering of abbrev expansion (Bug#9038).
16568 2011-07-09 Martin Rudalics <rudalics@gmx.at>
16570 * window.el (display-buffer-default-specifiers): Remove.
16571 (display-buffer-macro-specifiers): Remove default specifiers.
16572 (display-buffer-alist): Default to nil.
16573 (display-buffer-reuse-window): New optional argument other-window.
16574 (display-buffer-pop-up-window): Allow splitting internal
16575 windows. Check whether a live window was created.
16576 (display-buffer-other-window-means-other-frame)
16577 (display-buffer-normalize-arguments): Rename to
16578 display-buffer-normalize-argument and rewrite. Set the
16579 other-window specifier.
16580 (display-buffer-normalize-special): New function.
16581 (display-buffer-normalize-options): Rename to
16582 display-buffer-normalize-default and rewrite.
16583 (display-buffer-normalize-options-inhibit): Remove.
16584 (display-buffer-normalize-specifiers): Rewrite.
16585 (display-buffer): Process other-window specifier and call
16586 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
16588 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
16589 (display-buffer-alist-set): Don't handle 'unset default values.
16590 (display-buffer-in-window, display-buffer-alist-set):
16591 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
16592 <tassilo@member.fsf.org>.
16594 2011-07-09 Leo Liu <sdl.web@gmail.com>
16596 * register.el (insert-register): Restore accidental change on
16597 2011-06-26. (Bug#9028)
16599 2011-07-09 Glenn Morris <rgm@gnu.org>
16601 * subr.el (remq): Handle the empty list. (Bug#9024)
16603 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
16605 * mail/sendmail.el (send-mail-function): No longer delay custom
16607 * custom.el (custom-initialize-delay): Doc fix.
16609 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
16611 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
16613 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
16615 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
16616 human-friendly prompt.
16618 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
16620 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
16621 provided by a particular plugin.
16623 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
16625 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
16626 save customizations (with "emacs -Q"), just set the variable
16627 instead of erroring out.
16629 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
16631 2011-07-08 Juri Linkov <juri@jurta.org>
16633 * arc-mode.el (archive-zip-expunge, archive-zip-update)
16634 (archive-zip-update-case): Use 7z if found by `executable-find'.
16635 The order of searching the available programs is the same as in
16636 `archive-zip-extract' (bug#8968).
16638 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
16640 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
16641 (menu-bar-options-menu): Tweak descriptions.
16643 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16645 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
16646 menu items into verb phrases (bug#1421). Also refill to fit under
16649 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
16651 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
16652 (Info-read-node-name): Doc fix (Bug#1084).
16654 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
16655 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
16656 (end-of-sexp, beginning-of-sexp)
16657 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
16658 (forward-symbol, forward-same-syntax, word-at-point)
16659 (sentence-at-point): Doc fix (Bug#1144).
16661 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16663 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
16664 should cover it (bug#1281).
16666 * cus-edit.el (custom-show): Mark as obsolete.
16668 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
16669 negotiation fails, then possibly try again with a non-encrypted
16670 connection (bug#9017).
16672 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
16675 2011-07-07 Richard Stallman <rms@gnu.org>
16677 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
16678 property, and handle its changed format.
16679 Look for the correct line number.
16680 Use file's line contents (but not past first =) to find
16681 correct line in message.
16683 2011-07-07 Kenichi Handa <handa@m17n.org>
16685 * international/characters.el (build-unicode-category-table):
16687 (unicode-category-table): Set it by unicode-property-table-internal.
16689 * international/mule-cmds.el (char-code-property-alist): Move to
16691 (get-char-code-property): Call unicode-property-table-internal to
16692 load a file. Call get-unicode-property-internal where necessary.
16693 (put-char-code-property): Call unicode-property-table-internal to
16694 load a file. Call put-unicode-property-internal where necessary.
16695 put-unicode-property-internal where necessary.
16696 (char-code-property-description):
16697 Call unicode-property-table-internal to load a file.
16699 * international/charprop.el:
16700 * international/uni-bidi.el:
16701 * international/uni-category.el:
16702 * international/uni-combining.el:
16703 * international/uni-comment.el:
16704 * international/uni-decimal.el:
16705 * international/uni-decomposition.el:
16706 * international/uni-digit.el:
16707 * international/uni-lowercase.el:
16708 * international/uni-mirrored.el:
16709 * international/uni-name.el:
16710 * international/uni-numeric.el:
16711 * international/uni-old-name.el:
16712 * international/uni-titlecase.el:
16713 * international/uni-uppercase.el: Regenerate.
16715 * loadup.el: Load international/charprop.el before
16716 international/characters.
16718 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
16720 * window.el (next-buffer, previous-buffer): Signal an error if
16721 called from a minibuffer window.
16723 * bindings.el: Revert 2011-07-04 change.
16725 2011-07-06 Richard Stallman <rms@gnu.org>
16727 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
16728 (rmail-mime-insert-bulk, rmail-mime-insert-text):
16729 Treat markers like ints.
16730 (rmail-mime-entity): Doc fix.
16732 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16734 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
16735 defcustom again for backwards compatibility.
16737 * simple.el (shell-command-on-region): Fill.
16739 * dired-aux.el (dired-kill-line): Add a doc string.
16741 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
16742 to "\\sw\\|\\s_" (bug#358).
16744 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
16745 (dired-unmark-backward): Ditto.
16746 (dired-flag-backup-files): Ditto.
16748 * dired-x.el (dired-mark-sexp): Ditto.
16750 2011-07-06 Richard Stallman <rms@gnu.org>
16752 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
16753 (rmail-mime-entity): New arg TRUNCATED.
16754 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
16756 (rmail-mime-save): Warn if entity is truncated.
16757 (rmail-mime-toggle-hidden): Likewise, for showing.
16758 (rmail-mime-process-multipart): Record when an entity is truncated.
16760 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
16761 if ENTITY is a string.
16763 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16765 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
16766 of faces when `M-C-x'-ing their definitions (bug#8378).
16767 Also clean up the code slightly.
16769 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
16770 because that makes the colors go away.
16772 * mail/sendmail.el (send-mail-function): Change the default to
16773 `sendmail-query-once'.
16774 (sendmail-query-once): Add an autoload cookie.
16776 * net/network-stream.el (network-stream-open-starttls): Try using
16777 a plain connection even if the server offered STARTTLS, and we
16778 kinda wanted to use it, if Emacs doesn't have any STARTTLS
16779 capability. This should make smtpmail.el work in slightly more
16782 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
16784 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
16786 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
16788 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
16790 * progmodes/sql.el: Version 3.0
16791 (sql-product-alist): Add product :completion-object,
16792 :completion-column, and :statement attributes.
16793 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
16794 (sql-mode-syntax-table): Mark all punctuation.
16795 (sql-font-lock-keywords-builder): Temporarily remove fallback on
16797 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
16798 (sql-mode-oracle-font-lock-keywords): Improve.
16799 (sql-oracle-show-reserved-words): New function for development.
16800 (sql-product-font-lock): Simplify for source code buffers.
16801 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
16803 (sql-highlight-product): Set product specific syntax table.
16804 (sql-mode-map): Add statement movement functions.
16805 (sql-ansi-statement-starters, sql-oracle-statement-starters):
16807 (sql-statement-regexp, sql-beginning-of-statement)
16808 (sql-end-of-statement, sql-signum): New functions.
16809 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
16810 (sql-show-sqli-buffer): Bug fix.
16811 (sql-interactive-mode): Store connection data as buffer local.
16812 (sql-connect): Add NEW-NAME parameter. Redesign interaction
16813 with sql-interactive-mode.
16814 (sql-save-connection): Save buffer local settings.
16815 (sql-connection-menu-filter): Change menu entry name.
16816 (sql-product-interactive): Bug fix.
16817 (sql-preoutput-hold): New variable.
16818 (sql-interactive-remove-continuation-prompt): Bug fixes.
16819 (sql-debug-redirect): New variable.
16820 (sql-str-literal): New function.
16821 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
16823 (sql-oracle-save-settings, sql-oracle-restore-settings)
16824 (sql-oracle-list-all, sql-oracle-list-table): New functions.
16825 (sql-completion-object, sql-completion-column)
16826 (sql-completion-sqlbuf): New variables.
16827 (sql-build-completions-1, sql-build-completions)
16828 (sql-try-completion): New functions.
16829 (sql-read-table-name): Use them.
16830 (sql-contains-names): New buffer local variable.
16831 (sql-list-all, sql-list-table): Use it.
16832 (sql-oracle-completion-types): New variable.
16833 (sql-oracle-completion-object, sql-sqlite-completion-object)
16834 (sql-postgres-completion-object): New functions.
16836 2011-07-06 Glenn Morris <rgm@gnu.org>
16838 * window.el (pop-to-buffer): Doc fix.
16840 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
16842 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
16844 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
16846 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
16848 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
16850 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
16852 * button.el (button): Inherit from link face. Suggested by Dan
16855 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16857 * progmodes/gdb-mi.el: Fit in 80 columns.
16858 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
16861 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
16862 if imenu is simply not configured (bug#8941).
16864 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
16866 * allout.el (allout-post-undo-hook): New allout outline-change
16867 event hook to signal undo activity.
16868 (allout-post-command-business): Run allout-post-undo-hook if an
16869 undo just occurred.
16870 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
16871 * allout-widgets.el (allout-widgets-after-undo-function):
16872 Ensure the integrity of the current item's decoration after it has been
16873 in the vicinity of an undo.
16874 (allout-widgets-mode): Include allout-widgets-after-undo-function
16875 on the new allout-post-undo-hook.
16877 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16879 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
16880 Let define-derived-mode define it.
16881 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
16882 cycles of abbrev-table inheritance (bug#8998).
16884 2011-07-05 Roland Winkler <winkler@gnu.org>
16886 * textmodes/bibtex.el: Add support for biblatex.
16887 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
16888 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
16889 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
16890 (bibtex-entry-alist, bibtex-field-alist): New variables.
16891 (bibtex-entry-field-alist): Obsolete alias for
16892 bibtex-BibTeX-entry-alist.
16893 (bibtex-entry-alist, bibtex-field-alist): New widgets.
16894 (bibtex-set-dialect): New command.
16895 (bibtex-entry-type, bibtex-entry-head)
16896 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
16897 Bind via bibtex-set-dialect.
16898 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
16899 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
16900 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
16901 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
16902 Define via bibtex-set-dialect.
16903 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
16904 Obey bibtex-no-opt-remove-re.
16905 (bibtex-vec-push, bibtex-vec-incr): New functions.
16906 (bibtex-format-entry, bibtex-field-list)
16907 (bibtex-print-help-message, bibtex-validate)
16908 (bibtex-search-entries): Use new format of bibtex-entry-alist.
16910 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16912 * progmodes/compile.el (compilation-goto-locus):
16913 * net/tramp-cmds.el (tramp-append-tramp-buffers):
16914 * bs.el (bs-cycle-next, bs-cycle-previous):
16915 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
16916 * bindings.el (mode-line-other-buffer):
16917 * autoinsert.el (auto-insert):
16918 * arc-mode.el (archive-extract):
16919 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
16921 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
16923 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
16924 Fix check of `emacs-lock-unlockable-modes'.
16925 Coerce true values of `emacs-lock--try-unlocking' to t.
16927 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
16929 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
16930 * emacs-lock.el: New file.
16932 2011-07-05 Julien Danjou <julien@danjou.info>
16934 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
16935 than `boundp' to check if face is set.
16937 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
16939 * register.el (registerv-make):
16940 * window.el (window-min-height): Fix typos in docstrings.
16942 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
16944 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
16947 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
16949 * server.el (server-execute): Catch quit and call
16950 `server-return-error' to pass the error back to emacsclient and
16951 close the connection (bug#8942).
16953 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
16955 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
16956 insecure exception for current topic. Also note that auto-saves
16957 are handled differently.
16959 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
16960 State variables for tracking auto-save inhibition situation.
16962 (allout-write-contents-hook-handler): Rename from
16963 'allout-write-file-hook-handler', and describe how it depends on
16964 write-contents-functions sensitivity to non-nil value to prevent
16967 (allout-auto-save-hook-handler): Remove. auto-save does not check
16968 this in individual buffers, only in the starting buffer, so this
16969 is not the right way for us to inhibit auto-save in a buffer
16970 according to its condition.
16972 (allout-mode): Use new allout-write-contents-hook-handler, and
16973 only with write-contents-functions. Remove auto-save provisions -
16974 they're implemented elsewhere.
16976 (allout-before-change-handler): If undo is in progress, note that
16977 for attention of allout-post-command-business.
16979 (allout-post-command-business): If the command we're following was
16980 an undo, check for change in the status of encrypted items and
16981 adjust auto-save inhibitions accordingly.
16983 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
16984 according to whether there are or aren't any plain-text topics
16985 pending encryption.
16987 (allout-inhibit-auto-save-info-for-decryption):
16988 Adjust buffer-saved-size and some allout state to inhibit auto-saves
16989 if there are plain-text topics pending encryption.
16991 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
16992 buffer-saved-size and some allout state to not inhibit auto-saves
16993 if there are no longer any plain-text topics pending encryption.
16995 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
16996 No longer provide for exemption of the current topic.
16998 2011-07-04 Juri Linkov <juri@jurta.org>
17000 Add 7z operations to delete and save changed members (bug#8968).
17001 * arc-mode.el (archive-7z-expunge, archive-7z-update):
17003 (archive-7z-write-file-member): New function.
17004 (archive-7z-summarize): Fix the number of dashes in the
17007 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
17009 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
17012 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
17014 * bindings.el: Ignore next-buffer and previous-buffer in
17015 minibuffer-local-map.
17017 * font-lock.el (font-lock-builtin-face): Change light background
17018 color to dark slate blue (Bug#6693).
17020 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
17022 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
17024 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
17026 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
17027 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17028 Add switch-to-buffer.
17030 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
17032 * isearch.el (isearch-search-fun-function): Clarify further the
17033 meaning of the function returned.
17035 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
17037 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
17039 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
17040 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
17042 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
17043 `tramp-default-remote-path' does not exist.
17044 (tramp-send-command-and-read): New optional argument NOERROR.
17045 (tramp-open-connection-setup-interactive-shell)
17046 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
17047 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
17048 (tramp-process-sentinel): Flush also process' connection property.
17049 (tramp-sh-handle-start-file-process): Do not set process
17050 sentinel. It is done now ...
17051 (tramp-maybe-open-connection): ... here. (Bug#8929)
17053 2011-07-04 MON KEY <monkey@sandpframing.com>
17055 * play/animate.el (animate-string): Doc fixes and allow changing
17056 the buffer name (bug#5417).
17058 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
17060 * play/animate.el (animation-buffer-name): Rename from *animate*.
17062 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
17064 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
17065 This is simpler and helps future-proof the code.
17066 (timer-until): Use time-subtract and float-time.
17067 (timer--time-less-p): Use time-less-p.
17069 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
17071 * type-break.el (timep): Use the value of `float-time' to avoid a
17072 byte-compiler warning.
17074 * server.el (server-eval-and-print): Return any result, even nil.
17076 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
17078 * type-break.el: Accept time formats that the builtins accept.
17079 (timep, type-break-time-difference): Accept any format that
17080 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
17081 This is simpler and helps future-proof the code.
17082 (type-break-time-difference): Round rather than ignoring
17083 subseconds components.
17085 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17087 * info.el (Info-apropos-matches): Make non-interactive, since it
17088 doesn't seem to do anything useful as a command (bug#8829).
17090 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
17092 * frame.el (frame-background-mode, frame-set-background-mode):
17093 Move from faces.el.
17094 (frame-default-terminal-background): New function.
17096 * custom.el (custom-push-theme): Don't record faces in `changed'
17097 theme; this doesn't work correctly for per-frame face settings.
17098 (disable-theme): Use face-set-after-frame-default to reset faces.
17099 (custom--frame-color-default): New function.
17101 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17103 * dired.el (dired-flagging-regexp): Remove unused variable
17106 2011-03-29 Kevin Ryde <user42@zip.com.au>
17108 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17109 `perl-Test2' extend to match possible "fail #N" rep count
17112 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17114 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
17115 `smtpmail-via-smtp' now returns the error instead of nil.
17117 * isearch.el (isearch-search-fun-function): Clarify the doc string
17120 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
17122 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
17123 unnecessary spaces (bug#8987).
17125 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17127 * net/network-stream.el (open-network-stream): Use the
17128 :end-of-capability command thoughout.
17130 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
17132 * net/network-stream.el (open-network-stream): Add the
17133 :end-of-capability command parameter, used by pop3.el.
17135 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17137 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
17139 * fringe.el (fringe-query-style): Remove redundant text " (type ?
17140 for list)" (bug#6475).
17142 * files.el (file-expand-wildcards): Ignore non-readable
17143 sub-directories while trying to find matches instead of signaling
17144 an error (bug#6297).
17146 * man.el (Man-reference-regexp): Allow matching possible
17147 word-wrapped references (bug#6289).
17149 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
17150 for consistency with the other vc buffers (bug#6197).
17151 (vc-checkin): Ditto.
17153 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
17155 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
17157 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17159 * custom.el (defcustom): Clarify that :set is only used in the
17160 Customize user interface (bug#6089).
17162 * progmodes/flymake.el (flymake-mode): If the buffer isn't
17163 associated with a file, refuse to run instead of erroring out
17166 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
17167 the doc string, since it appears that using `fill-column' always
17168 controls the width (bug#7845).
17170 * simple.el (shell-command-on-region): Say where the error output
17171 went if `shell-command-default-error-buffer' is set (bug#6857).
17173 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
17175 * allout.el (allout-yank-processing): Adjust cursor position for
17176 backwards-deleted space.
17178 (allout-rebullet-heading): Register changes with
17179 allout-exposure-changed-hook, so the modified topic is properly
17182 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17184 * minibuffer.el (completion-in-region): Document PREDICATE
17187 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
17188 of keyword/argument pairs (bug#6904).
17190 * replace.el (multi-occur):
17191 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
17193 2011-07-02 Drew Adams <drew.adams@oracle.com>
17195 * dired.el (dired-mark-if): Make the message about whether it's
17196 marking or unmarking clearer (bug#8523).
17198 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17200 * disp-table.el (display-table-print-array): New function.
17201 (describe-display-table): Use it to print the vectors more pretty
17204 2011-07-02 Martin Rudalics <rudalics@gmx.at>
17206 * window.el (window-state-get-1): Don't assign clone numbers.
17207 Add clone-of item to list of window parameters.
17208 (window-state-put-2): Don't process clone numbers.
17209 (display-buffer-alist): Fix doc-string.
17211 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
17213 * subr.el (remq): Don't allocate if it's not needed.
17214 (keymap--menu-item-binding, keymap--menu-item-with-binding)
17215 (keymap--merge-bindings): New functions.
17216 (keymap-canonicalize): Use them to refine the canonicalization.
17217 * minibuffer.el (minibuffer-local-completion-map)
17218 (minibuffer-local-must-match-map): Move initialization from C.
17219 (minibuffer-local-filename-completion-map): Move initialization from C;
17220 don't inherit from anything here.
17221 (minibuffer-local-filename-must-match-map): Make obsolete.
17222 (completing-read-default): Use make-composed-keymap to combine
17223 minibuffer-local-filename-completion-map with either
17224 minibuffer-local-must-match-map or
17225 minibuffer-local-filename-completion-map.
17227 2011-07-01 Glenn Morris <rgm@gnu.org>
17229 * type-break.el (type-break-time-sum): Use dolist.
17231 * textmodes/flyspell.el (flyspell-word-search-backward):
17232 Replace CL function.
17234 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
17236 * mouse.el (mouse--strip-first-event): New function.
17237 (function-key-map): Use it to map fringe clicks to normal clicks
17240 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
17241 (vc-bzr-revision-completion-table): Add support for annotate and date.
17243 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
17244 inherit from parent.
17246 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
17248 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
17249 (dired-show-file-type): Doc fixup (bug#8818).
17251 * dired.el (dired-mode): Fix up the doc string as suggested by
17252 Drew Adams (bug#8817).
17254 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
17255 cookie, since the manual says that it should be possible to add
17256 this function to `find-file-hook' (bug#8709).
17258 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
17260 * progmodes/cfengine.el: Moved all cfengine3.el functionality
17261 here. Noted Ted Zlatanov as the maintainer.
17262 (cfengine-common-settings, cfengine-common-syntax): New functions
17263 to set up common things between `cfengine-mode' and
17265 (cfengine3-mode): New mode.
17266 (cfengine3-defuns cfengine3-defuns-regex
17267 (cfengine3-class-selector-regex cfengine3-category-regex)
17268 (cfengine3-vartypes cfengine3-font-lock-keywords)
17269 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
17270 (cfengine3-indent-line): Add from cfengine3.el.
17272 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
17274 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
17276 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
17278 2011-07-01 Martin Rudalics <rudalics@gmx.at>
17280 * window.el (same-window-buffer-names, same-window-regexps)
17281 (same-window-p, special-display-frame-alist)
17282 (special-display-popup-frame, special-display-function)
17283 (special-display-buffer-names, special-display-regexps)
17284 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
17285 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17286 (split-window-preferred-function, split-height-threshold)
17287 (split-width-threshold, even-window-heights)
17288 (display-buffer-mark-dedicated, window-splittable-p)
17289 (split-window-sensibly, window-safely-shrinkable-p):
17291 (display-buffer): Don't spread args with function specifier
17292 because special-display-popup-frame won't like it.
17294 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
17296 Time-stamp simplifications and fixes.
17297 These improve accuracy slightly, and future-proof the code
17298 against some potential changes to current-time format.
17300 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
17301 by using time-since and float-time.
17303 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
17304 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
17305 + NNN microseconds".
17307 * type-break.el (type-break-time-sum): Rewrite using time-add.
17309 * play/hanoi.el (hanoi-current-time-float): Remove.
17310 All uses replaced by float-time.
17312 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
17313 This yields a more-accurate answer.
17314 (rng-time-to-float): Remove; no longer needed.
17316 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
17318 * calendar/timeclock.el (timeclock-seconds-to-time):
17319 Defalias to seconds-to-time, since they're the same thing.
17321 * emacs-lisp/elp.el (elp-elapsed-time):
17322 * emacs-lisp/benchmark.el (benchmark-elapse):
17323 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
17325 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
17327 * window.el (bury-buffer): Don't iconify the only frame.
17328 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
17329 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
17331 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
17333 * eshell/em-smart.el (eshell-smart-display-navigate-list):
17334 Add mouse-yank-primary.
17336 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
17338 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
17340 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
17342 * emacs-lisp/find-func.el (find-library--load-name): New fun.
17343 (find-library-name): Use it to find relative load names when provided
17344 absolute file name (bug#8803).
17346 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
17348 * textmodes/flyspell.el (flyspell-word): Consider words that
17349 differ only in case as potential doublons (bug#5687).
17351 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
17352 Remove two rather uninteresting debugging-like messages to make
17353 debbugs.el more silent.
17355 * comint.el (comint-password-prompt-regexp): Accept "Response" as
17356 a password-like phrase.
17358 2011-06-30 Masatake YAMATO <yamato@redhat.com>
17360 * progmodes/cc-guess.el: New file.
17362 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
17364 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
17365 derived from `c-basic-common-init'.
17367 * progmodes/cc-mode.el (top-level): Require cc-guess.
17368 (c-basic-common-init): Use `cc-choose-style-for-mode'.
17370 2011-06-30 Lawrence Mitchell <wence@gmx.li>
17372 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
17374 2011-06-30 Alan Mackenzie <acm@muc.de>
17376 * progmodes/cc-engine.el (c-guess-continued-construct):
17377 Correct the handling of template-args-cont, particularly for when font
17378 lock is disabled. Name this case as "CASE G".
17380 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
17382 * allout.el (allout-yank-processing): Fix injection of extra space
17383 between bullet and non-whitespace character in first topic when
17384 pasting, ensuring that the actual spacing in the pasted topic
17385 following the bullet char is preserved. This extra space was
17386 causing pasted encrypted topics to get a decrypted status even
17387 when the content was actually still encrypted. Now the decryption
17388 status from before the paste is preserved.
17390 (allout-flag-region): Set all allout overlays so they evaporate
17391 when reduced to zero length (evanescent), to prevent overlay
17394 2011-06-30 Glenn Morris <rgm@gnu.org>
17396 * w32-fns.el (w32-charset-info-alist): Declare.
17398 * find-dired.el (find-grep-options): Simplify.
17400 * term/ns-win.el (ns-set-resource): Declare.
17402 * ses.el (row, col): Declare dynamic variables honestly.
17404 * textmodes/reftex-parse.el (index-tags): Declare.
17406 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
17408 * cus-edit.el (customize-push-and-save): New function.
17410 * files.el (hack-local-variables-confirm): Use it.
17412 * custom.el (load-theme): New arg NO-CONFIRM.
17413 Use customize-push-and-save (Bug#8720).
17414 (custom-enabled-themes): Doc fix.
17416 * cus-theme.el (customize-create-theme)
17417 (custom-theme-merge-theme): Callers to load-theme changed.
17419 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
17421 * thingatpt.el (thing-at-point-short-url-regexp): Require that
17422 short URLs have at least one dot in them (bug #7614).
17424 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
17425 nil, because using a pty is apparently too slow (bug #895).
17427 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
17429 * mail/sendmail.el (sendmail-query-once): New function.
17430 (sendmail-query-once-function): New variable.
17432 2011-06-29 Glenn Morris <rgm@gnu.org>
17434 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
17436 * ses.el (top-level): Require cl when compiling.
17437 (ses-set-localvars): Fix error statement.
17438 Call it at compile time to silence a storm of warnings.
17440 2011-06-29 Martin Rudalics <rudalics@gmx.at>
17442 * window.el (normalize-live-buffer): Rename to
17443 window-normalize-buffer.
17444 (normalize-live-frame): Rename to window-normalize-frame.
17445 (normalize-any-window): Rename to window-normalize-any-window.
17446 (normalize-live-window): Rename to window-normalize-live-window.
17447 (make-window-atom): Rename to window-make-atom.
17448 (window-resize-reset): Rename to window--resize-reset.
17449 (window-resize-reset-1): Rename to window--resize-reset-1.
17450 (resize-mini-window): Rename to window--resize-mini-window.
17451 (resize-subwindows-skip-p): Rename to
17452 window--resize-subwindows-skip-p.
17453 (resize-subwindows-normal): Rename to
17454 window--resize-subwindows-normal.
17455 (resize-subwindows): Rename to window--resize-subwindows.
17456 (resize-other-windows): Rename to window--resize-siblings.
17457 (resize-this-window): Rename to window--resize-this-window.
17458 (resize-root-window): Rename to window--resize-root-window.
17459 (resize-root-window-vertically): Rename to
17460 window--resize-root-window-vertically.
17461 (normalize-buffer-to-display): Rename to
17462 window-normalize-buffer-to-display.
17463 (normalize-buffer-to-switch-to): Rename to
17464 window-normalize-buffer-to-switch-to.
17465 Correspondingly update all callers of the functions listed
17467 (display-buffer-alist, display-buffer-normalize-arguments)
17468 (display-buffer-normalize-options, display-buffer)
17469 (display-buffer-alist-set): Use "function" instead of
17472 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
17474 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
17475 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
17476 debbugs.gnu.org. Mention acknowledgment email.
17478 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
17480 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
17481 buffer multibyteness, since it shouldn't matter.
17483 2011-06-28 Martin Rudalics <rudalics@gmx.at>
17485 * window.el (display-buffer-in-side-window): Handle dedicated
17486 windows as in display-buffer-reuse-window.
17487 (display-buffer-normalize-alist): Use value of override
17489 (display-buffer-normalize-specifiers): Use value of
17490 other-window-means-other-frame specifier.
17491 (display-buffer-alist): Rewrite some texts in widgets.
17492 (display-buffer): Spread arguments when calling function
17493 specified by fun-with-args.
17495 2011-06-28 Deniz Dogan <deniz@dogan.se>
17497 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
17500 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
17501 selectors (Bug#5732).
17502 (css-proprietary-nmstart-re): Use `regexp-opt'.
17504 2011-06-27 Jari Aalto <jari.aalto@cante.net>
17506 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
17507 (eshell-ls-date-format): New defcustom.
17508 (eshell-ls-file): Use it.
17510 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
17512 * help-fns.el (describe-variable): Fix message for terminal-local vars.
17514 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
17516 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
17517 (ange-ftp-make-tmp-name): New arg.
17518 (ange-ftp-file-local-copy): Use it.
17520 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
17522 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
17523 no-conversion (Bug#8870).
17525 2011-06-27 Martin Rudalics <rudalics@gmx.at>
17527 * window.el (window-right, window-left, window-child)
17528 (window-child-count, window-last-child)
17529 (window-iso-combination-p, walk-window-tree-1)
17530 (window-atom-check-1, window-tree-1, delete-window)
17531 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
17532 new naming conventions - window-vchild, window-hchild,
17533 window-next and window-prev are now called window-top-child,
17534 window-left-child, window-next-sibling and window-prev-sibling
17536 (resize-window-reset): Rename to window-resize-reset.
17537 (resize-window-reset-1): Rename to window-resize-reset-1.
17538 (resize-window): Rename to window-resize.
17539 (window-min-height, window-min-width)
17540 (resize-mini-window, resize-this-window, resize-root-window)
17541 (resize-root-window-vertically, adjust-window-trailing-edge)
17542 (enlarge-window, shrink-window, maximize-window)
17543 (minimize-window, delete-window, quit-restore-window)
17544 (split-window, balance-windows, balance-windows-area-adjust)
17545 (balance-windows-area, window-state-put-2)
17546 (display-buffer-even-window-sizes, display-buffer-set-height)
17547 (display-buffer-set-width, set-window-text-height)
17548 (fit-window-to-buffer): Rename all "resize-window" prefixed
17549 calls to use the "window-resize" prefix convention.
17550 (display-buffer-alist): Fix symbol for label specifier.
17551 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
17552 corresponding specifier.
17553 Reported by Juanma Barranquero <lekktu@gmail.com>.
17555 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
17557 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
17559 (ses-call-printer): Does not pass an empty string to formatter when the
17560 cell is empty to keep from barking printer Calc math-format-value.
17562 2011-06-27 Richard Stallman <rms@gnu.org>
17564 * battery.el (battery-mode-line-limit): New variable.
17565 (battery-update): Handle it.
17567 * mail/rmailmm.el (rmail-mime-process-multipart):
17568 Handle truncated messages.
17570 2011-06-27 Glenn Morris <rgm@gnu.org>
17572 * progmodes/flymake.el (flymake-err-line-patterns):
17573 Allow for column numbers in the ant/javac pattern. (Bug#8866)
17575 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
17577 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
17578 (ses--clean-!, ses--clean-_): New functions.
17579 (ses-range): Add configurability of readout order, and conversion
17582 * ses.el (ses-repair-cell-reference-all): New function.
17583 (ses-cell-symbol): Set macro as safe, so that it can be used in
17586 * ses.el: Update cycle detection algorithm.
17587 (ses-localvars): Add ses--Dijkstra-attempt-nb and
17588 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
17589 (ses-set-localvars): New function.
17590 (ses-make-cell): Add property-list as a cell element.
17591 (ses-cell-property-get-fun, ses-cell-property-get)
17592 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
17593 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
17595 (ses-cell-property-set, ses-cell-property-pop)
17596 (ses-cell-property-get-handle): New macro.
17597 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
17598 New aliases, used for code readability.
17599 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
17601 (ses-self-reference-early-detection): New defcustom.
17602 (ses-formula-references): Robustify against self-referring cells.
17603 (ses-mode): Use ses-set-localvars.
17604 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
17605 before lauching the update processing.
17606 (ses-initialize-Dijkstra-attempt): New function.
17607 (ses-recalculate-cell): Update for cycle detection based on
17608 Dijkstra algorithm.
17610 * ses.el: Fix commenting and indenting convention.
17612 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
17614 * bs.el (bs-cycle-next): Complete last change.
17616 2011-06-27 Drew Adams <drew.adams@oracle.com>
17618 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
17620 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
17622 * net/network-stream.el (network-stream-open-starttls):
17623 Don't re-get capabilities unless we've reestablished connection.
17624 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
17626 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
17627 to binary to possibly avoid line encoding issues on Windows (among
17630 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
17632 * net/network-stream.el (open-network-stream): Return an :error
17633 saying what the problem was, if possible.
17635 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
17638 * net/network-stream.el (network-stream-open-starttls): If we
17639 wanted to use STARTTLS, and the server offered it, but we weren't
17640 able to because we had no STARTTLS support, then close the connection.
17641 (open-network-stream): Return an :error element, if present.
17643 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
17645 * hl-line.el (hl-line-sticky-flag): Doc fix.
17646 (global-hl-line-sticky-flag): New option (Bug#8323).
17647 (global-hl-line-highlight): Obey it.
17649 * vc/vc.el (vc-revert-show-diff): Default to t.
17651 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
17653 * allout-widgets.el (allout-widgets-post-command-business):
17654 Stop decorating intermediate isearch matches. They're not being
17655 undecorated when an isearch is continued past, and isearch
17656 automatically collapses them. This leads to "widget leaks", where
17657 decorated items accumulate in collapsed areas. Lines with lots of
17658 hidden widgets can slow down cursor travel, substantially.
17659 Too much complicated machinery would be needed to ensure undecoration,
17660 so we're doing without this nicety.
17662 (allout-widgets-tally-string): Don't try to do a hash-table-count
17663 of allout-widgets-tally when it's nil. This eliminates spurious "Error
17664 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
17665 *Messages* when allout-widgets-maintain-tally is t.
17667 2011-06-26 Martin Rudalics <rudalics@gmx.at>
17669 * window.el (display-buffer-normalize-argument): Rename to
17670 display-buffer-normalize-arguments. Handle special meaning of
17671 LABEL argument. Respect special-display-function when popping up
17672 a new frame. Fix code searching for a window showing the buffer
17674 (display-buffer-normalize-specifiers):
17675 Call display-buffer-normalize-arguments.
17676 (display-buffer-in-window): Don't undedicate the window if its
17677 buffer remains the same.
17678 Reported by Drew Adams <drew.adams@oracle.com>.
17679 (display-buffer-alist): Add choice for same-window macro
17681 (display-buffer): Mention special meaning of LABEL argument in
17682 doc-string. Fix quoting. Don't pop up a new frame even as
17685 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
17687 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
17688 avoid deleting the current window in some cases (bug#8911).
17690 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
17692 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
17695 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
17697 * net/network-stream.el (network-stream-open-starttls):
17698 Use built-in TLS support if `gnutls-available-p' is true.
17699 (network-stream-open-tls): Ditto.
17701 2011-06-26 Leo Liu <sdl.web@gmail.com>
17703 * register.el (registerv): New struct.
17704 (registerv-make): New function.
17705 (jump-to-register, describe-register-1, insert-register):
17706 Support the jump-func, print-func and insert-func slot of a registerv
17709 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
17711 * vc/vc.el (vc-revert-show-diff): New defcustom.
17712 (vc-diff-internal): New arg specifying diff buffer.
17713 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
17714 reuse an existing *vc-diff* buffer (Bug#8927).
17716 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
17718 2011-06-26 Glenn Morris <rgm@gnu.org>
17720 * progmodes/f90.el (f90-critical-indent): New option.
17721 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
17722 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
17723 (f90-mode): Doc fix.
17724 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
17725 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
17726 (f90-beginning-of-block, f90-next-block, f90-indent-region)
17727 (f90-match-end): Handle block, critical.
17729 2011-06-25 Glenn Morris <rgm@gnu.org>
17731 * calendar/diary-lib.el (diary-included-files): Doc fix.
17732 (diary-include-files): New function, extracted from
17733 diary-include-other-diary-files and diary-mark-included-diary-files.
17734 (diary-include-other-diary-files, diary-mark-included-diary-files):
17735 Just call diary-include-files.
17736 (diary-mark-entries): Reset diary-included-files on first call.
17738 * calendar/diary-lib.el (diary-mark-entries)
17739 (diary-mark-included-diary-files):
17740 Visit included diary-files in temp buffers.
17742 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
17743 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
17744 (f90-start-block-re, f90-imenu-generic-expression)
17745 (f90-looking-at-program-block-start, f90-no-block-limit):
17746 Add support for submodules.
17748 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
17749 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
17751 2011-06-25 Eli Zaretskii <eliz@gnu.org>
17753 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
17754 buffer-file-type before setting its value, to avoid disastrous
17755 global effects on decoding files for DOS/Windows systems. (Bug#8780)
17757 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
17759 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
17761 * ses.el (ses-unload-function):
17762 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
17764 * proced.el (proced-unload-function):
17765 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
17767 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
17769 * server.el (server-create-window-system-frame): Add parameters arg.
17770 (server-process-filter): Doc fix. Handle frame-parameters.
17772 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
17774 Fix bug#8730, bug#8781.
17776 * loadhist.el (unload--set-major-mode): New function.
17777 (unload-feature): Use it.
17779 * progmodes/python.el (python-after-info-look): Add autoload cookie.
17780 (python-unload-function): New function.
17782 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
17784 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
17786 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
17788 * net/browse-url.el (browse-url-firefox-program): Add icecat to
17789 the candidates list.
17791 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
17793 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
17795 2011-06-23 Richard Stallman <rms@gnu.org>
17797 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
17798 (rmail-variables): Set next-error-move-function.
17799 (rmail-what-message): Take argument POS.
17800 (rmail-next-error-move): New function.
17802 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
17804 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
17805 messages for adjacent non-terminals.
17807 2011-06-23 Richard Stallman <rms@gnu.org>
17809 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
17810 (rmail-show-message-1): Preserve buffer modified flag.
17811 (rmail-start-mail): Don't specify use of rmail-mail-return;
17812 that's done by mail-bury now.
17813 (rmail-mail-return): Handle arg NEWBUF.
17815 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
17817 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
17820 2011-06-23 Martin Rudalics <rudalics@gmx.at>
17822 * window.el (get-lru-window, get-mru-window)
17823 (get-largest-window): Never return a minibuffer window.
17824 (display-buffer-pop-up-window): Fix a bug that could lead to
17825 reusing the minibuffer window.
17826 (display-buffer): Pass original specifier argument to
17827 display-buffer-function instead of the normalized one.
17828 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
17830 2011-06-22 Leo Liu <sdl.web@gmail.com>
17832 * minibuffer.el (completing-read-function)
17833 (completing-read-default): Move from minibuf.c.
17835 2011-06-22 Richard Stallman <rms@gnu.org>
17837 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
17838 to Rmail even if not started by a special Rmail command.
17840 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
17841 Copy the buffer currently showing just one message.
17843 2011-06-22 Roland Winkler <winkler@gnu.org>
17845 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
17846 (bibtex-clean-entry): First delete the old key so that a
17847 customized algorithm for generating the new key does not get
17848 confused by the old key.
17849 (bibtex-url): Obey regexp of first step.
17850 (bibtex-search-entries): Do not use add-to-list with local
17853 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
17855 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
17856 stored a user name, then query for the password first, instead of
17857 waiting for SMTP to give an error message and the trying again.
17859 2011-06-22 Lawrence Mitchell <wence@gmx.li>
17861 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
17862 BUFFER in call-process.
17864 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
17866 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
17868 (smtpmail-try-auth-methods): Require user name and password from
17871 2011-06-22 Martin Rudalics <rudalics@gmx.at>
17873 * window.el (display-buffer-default-specifiers)
17874 (display-buffer-alist): Remove entries for pop-up-frame-alist.
17875 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
17876 (split-window): Normalize SIDE argument (Bug#8916).
17878 * frame.el (pop-up-frame-alist, pop-up-frame-function)
17879 (special-display-frame-alist, special-display-popup-frame):
17880 Remove duplicate declarations. These are now in window.el.
17882 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17884 * mail/smtpmail.el (smtpmail-via-smtp):
17885 Set :use-starttls-if-possible so that we always use STARTTLS if the
17886 server supports it. SMTP servers that support STARTTLS commonly
17889 * net/network-stream.el (network-stream-open-starttls): Support
17890 upgrading to STARTTLS always, even if we don't have built-in support.
17891 (open-network-stream): Add the :always-query-capabilities keyword.
17893 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
17894 upgrades with `open-network-stream', and rely solely on
17895 auth-source for all credentials. Big changes throughout the file,
17897 (smtpmail-auth-credentials): Remove.
17898 (smtpmail-starttls-credentials): Remove.
17899 (smtpmail-via-smtp): Check for servers saying they want AUTH after
17902 * net/network-stream.el (network-stream-open-starttls):
17903 Provide support for client certificates both for external and built-in
17905 (auth-source): Require.
17906 (open-network-stream): Document the :client-certificate keyword.
17907 (network-stream-certificate): Change cert-cert to cert and
17910 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
17912 * net/tramp-cache.el (top): Don't load the persistency file when
17913 "emacs -Q" has been called.
17915 2011-06-21 Tim Harper <timcharper@gmail.com>
17917 * term/ns-win.el (ns-initialize-window-system):
17918 Set application-specific `ApplePressAndHoldEnabled' system
17919 resource to NO as it is not yet supported by the NS port.
17921 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
17923 * misc.el (list-dynamic-libraries--refresh): Compute header here...
17924 (list-dynamic-libraries): ...not here.
17926 2011-06-21 Leo Liu <sdl.web@gmail.com>
17928 * subr.el (sha1): Implement sha1 using secure-hash.
17930 2011-06-21 Martin Rudalics <rudalics@gmx.at>
17932 * window.el (display-buffer-alist): In default value do not
17933 enforce searching a window on any but the selected frame.
17934 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
17935 (display-buffer-select-window): Remove function.
17936 (display-buffer-in-window): When a window on another frame gets
17937 reused, do not select it any more but just raise its frame if
17938 necessary (Bug#8851) and (Bug#8856).
17939 (display-buffer-normalize-options): Handle pop-up-frames related
17940 options more faithfully.
17941 (pop-to-buffer): Don't rely on `display-buffer' selecting the
17942 window if it is on another frame.
17943 (display-buffer-alist, display-buffer-default-specifiers):
17944 Don't make new frame unsplittable by default.
17945 (display-buffer-normalize-argument): Fix doc-string typo and use
17946 'same-frame-other-window instead of 'other-window when associating
17947 with display-buffer-macro-specifiers.
17949 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
17951 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
17953 (5x5-mode-map, 5x5-mode-menu): Bind them.
17954 (5x5-draw-grid): Tweak the solver's rendering.
17956 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
17958 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
17959 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
17961 2011-06-21 Drew Adams <drew.adams@oracle.com>
17963 * menu-bar.el: Use function variable instead of switch-to-buffer.
17964 (menu-bar-select-buffer-function): New variable.
17965 (menu-bar-update-buffers): Use it (bug#8876).
17967 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
17969 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
17972 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
17974 * x-dnd.el (x-dnd-version-from-flags)
17975 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
17976 and long as number (Bug#8899).
17977 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
17979 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
17981 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
17982 (completion-try-completion, completion-all-completions): Compute the
17983 metadata argument if it's missing; make it optional (bug#8795).
17985 * wid-edit.el: Use lex-bind and move towards completion-at-point.
17986 (widget-complete): Use new :completion-function property.
17987 (widget-completions-at-point): New function.
17988 (default): Use :completion-function instead of :complete.
17989 (widget-default-completions): Rename from widget-default-complete;
17991 (widget-string-complete, widget-file-complete, widget-color-complete):
17993 (file, symbol, function, variable, coding-system, color):
17994 * international/mule-cmds.el (default-input-method, charset)
17995 (language-info-custom-alist):
17996 * cus-edit.el (face): Use new property :completions.
17998 * progmodes/pascal.el (pascal-completions-at-point): New function.
17999 (pascal-mode): Use it.
18000 (pascal-mode-map): Use completion-at-point.
18001 (pascal-toggle-completions): Make obsolete.
18002 (pascal-complete-word, pascal-show-completions):
18003 * progmodes/octave-mod.el (octave-complete-symbol):
18004 Redefine as obsolete alias.
18005 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
18006 Signal absence of completion info for old Octave,
18007 (inferior-octave-complete): Redefine as obsolete alias.
18008 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
18009 (meta-completions-at-point): Rename from meta-complete-symbol and
18010 adapt it for use on completion-at-point-functions.
18011 (meta-common-mode): Use it.
18012 (meta-looking-at-backward, meta-match-buffer): Remove.
18013 (meta-complete-symbol): Redefine as obsolete alias.
18014 (meta-common-mode-map): Use completion-at-point.
18015 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
18016 (makefile-mode-map): Use completion-at-point.
18017 (makefile-completions-at-point): Rename from makefile-complete and
18018 adapt it for use on completion-at-point-functions.
18019 (makefile-mode): Use it.
18020 (makefile-complete): Redefine as obsolete alias.
18022 2011-06-20 Deniz Dogan <deniz@dogan.se>
18024 * net/rcirc.el: Delete trailing whitespaces once and for all.
18026 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
18028 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
18030 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
18032 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
18034 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
18036 2011-06-19 Martin Rudalics <rudalics@gmx.at>
18038 * window.el (display-buffer-other-window-means-other-frame):
18039 Call display-buffer-normalize-alist.
18040 (display-buffer-normalize-specifiers-1): Rename to
18041 display-buffer-normalize-argument. New argument other-frame.
18043 (display-buffer-normalize-specifiers-2): Rename to
18044 display-buffer-normalize-options.
18045 (display-buffer-normalize-alist-1): New function.
18046 (display-buffer-normalize-specifiers-3): Rename to
18047 display-buffer-normalize-alist.
18048 Call display-buffer-normalize-alist-1.
18049 (display-buffer-normalize-options-inhibit): New variable.
18050 (display-buffer-normalize-specifiers): Rewrite calling
18051 display-buffer-normalize-alist,
18052 display-buffer-normalize-argument, and
18053 display-buffer-normalize-options. Don't call the latter if
18054 display-buffer-normalize-options-inhibit is non-nil.
18055 (frame-auto-delete): New option.
18056 (window-deletable-p): Use frame-auto-delete.
18057 (window-list-no-nils, window-state-ignored-parameters)
18058 (window-state-get-1, window-state-get, window-state-put-list)
18059 (window-state-put-1, window-state-put-2, window-state-put):
18061 (display-buffer-normalize-options): Move special-display-p group
18062 after pop-up-frame group (Bug#8851) and (Bug#8856).
18064 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
18066 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
18068 (rx-submatch-n): New function.
18071 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
18074 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
18076 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
18078 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
18079 anytime existing face settings are present (Bug#8889).
18081 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
18082 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
18083 Remove unused argument.
18085 2011-06-18 Martin Rudalics <rudalics@gmx.at>
18087 * window.el (display-buffer-default-specifiers):
18088 Remove pop-up-frame. Add pop-up-window-min-height,
18089 pop-up-window-min-width, and another reuse-window specifier
18090 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
18091 (display-buffer-normalize-specifiers-2):
18092 Handle split-height-threshold and split-width-threshold also when
18093 pop-up-windows is unset. Add a reuse-window specifier for the
18094 case popping up a new window fails.
18095 (special-display-popup-frame): Remove double quoting.
18096 (display-buffer-normalize-specifiers-1): Fix thinko.
18098 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
18100 * shell.el (shell-completion-vars): Set pcomplete-termination-string
18101 according to comint-completion-addsuffix.
18103 * pcomplete.el: Convert to lexical binding and fix bug#8819.
18104 (pcomplete-suffix-list): Mark as obsolete.
18105 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
18106 pcomplete-seen in the closure.
18107 (pcomplete-comint-setup): Setup completion-at-point as well.
18108 (pcomplete--entries): New function.
18109 (pcomplete--env-regexp): New var.
18110 (pcomplete-entries): Rewrite to work with partial-completion and
18111 without relying on pcomplete-suffix-list.
18112 (pcomplete-pare-list): Remove, unused.
18114 2011-06-17 Martin Rudalics <rudalics@gmx.at>
18116 * window.el (display-buffer-alist): Set pop-up-window-min-height
18117 and pop-up-window-min-width in default value. Reported by
18118 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
18119 other-window-means-other-frame.
18120 (display-buffer-macro-specifiers): Comment out entry for
18121 other-window specifier.
18122 (display-buffer-other-window-means-other-frame): New function.
18123 (display-buffer-normalize-specifiers-1): New arguments
18124 buffer-name and label. Treat other-window case specially.
18125 (display-buffer-normalize-specifiers-2): Treat other-window case
18127 (display-buffer-normalize-specifiers-3): New function.
18128 (display-buffer-normalize-specifiers):
18129 Call display-buffer-normalize-specifiers-3.
18131 2011-06-17 Martin Rudalics <rudalics@gmx.at>
18133 * window.el (same-window-p): Fix two typos introduced when
18134 adding with-no-warnings.
18135 (display-buffer-normalize-specifiers-1): Don't check
18136 pop-up-frames for 'unset initialization.
18137 (display-buffer-normalize-specifiers-2): Major rewrite using
18138 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
18139 (pop-up-frames, display-buffer-reuse-frames)
18140 (display-buffer-mark-dedicated): Don't initialize to 'unset.
18141 Suggested by David Engster <deng@randomsample.de>.
18142 (even-window-heights): Initialize to 'unset.
18143 (display-buffer-alist-set): Handle new 'unset initializations.
18144 (display-buffer-macro-specifiers): Don't pop up a new frame in the
18147 2011-06-16 Martin Rudalics <rudalics@gmx.at>
18149 * window.el (display-buffer-normalize-specifiers-1):
18150 Respect current value of pop-up-frames for most reasonable values of
18151 second argument of display-buffer (Bug#8865).
18152 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
18153 (switch-to-buffer-other-window-same-frame)
18154 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
18156 (display-buffer): Don't check noninteractive when calling
18157 display-buffer-pop-up-frame.
18158 (display-buffer-pop-up-frame): Never pop up a frame in
18159 noninteractive mode (Bug#8857).
18160 (enlarge-window, shrink-window): Don't report an error when the
18161 window can't be resized as requested (Bug#8862).
18163 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
18165 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
18167 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
18169 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
18171 2011-06-15 Alan Mackenzie <acm@muc.de>
18173 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
18174 for declarators, disable knr checking to speed up for normal files.
18175 2: Refactor, replacing a sequence of nested if forms by a cond form.
18177 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
18179 * net/network-stream.el (open-network-stream): Add the keyword
18180 :always-query-capabilities for the case where you want to force a
18181 `plain' network connection, but the protocol still requires the
18182 capabilitiy command (i.e., SMTP and EHLO).
18184 * subr.el (process-live-p): Rename from `process-alive-p' for
18185 consistency with other `-live-p' functions.
18187 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
18189 * window.el (same-window-buffer-names, same-window-regexps)
18190 (special-display-frame-alist, special-display-popup-frame)
18191 (special-display-function, special-display-buffer-names)
18192 (special-display-regexps, pop-up-frame-alist)
18193 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
18194 (pop-up-windows, split-window-preferred-function)
18195 (split-height-threshold, split-width-threshold, even-window-heights)
18196 (display-buffer-mark-dedicated): Don't encourage the use of
18197 display-buffer-alist from Elisp code.
18199 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
18201 * progmodes/python.el (python-mode): Derive from prog-mode.
18202 * progmodes/ps-mode.el (ps-mode):
18203 * progmodes/mixal-mode.el (mixal-mode):
18204 * progmodes/cfengine.el (cfengine-mode):
18205 * progmodes/ld-script.el (ld-script-mode): Likewise.
18207 2011-06-15 Martin Rudalics <rudalics@gmx.at>
18209 * window.el (display-buffer-alist): Trim default value to avoid
18210 popping up a new frame (Bug#8857) or reusing an arbitrary window
18212 (display-buffer): Do not fall back on popping up a new frame in
18213 batch mode (Bug#8857).
18215 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
18217 * cus-theme.el (describe-theme-1): Use custom-theme-p.
18218 (custom-theme-summary): New function.
18219 (customize-themes): Use it.
18221 2011-06-13 Glenn Morris <rgm@gnu.org>
18223 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
18225 2011-06-13 Martin Rudalics <rudalics@gmx.at>
18227 * help.el (help-window): Remove variable.
18228 (help-window-point-marker, temp-buffer-max-height)
18229 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
18230 (help-print-return-message): Don't set help-window.
18231 (resize-temp-buffer-window): Rewrite cod eand doc-string.
18232 (help-window-setup-finish): Remove.
18233 (help-window-display-message, help-window-setup)
18234 (with-help-window): Major rewrite based on new
18235 display-buffer-window variable.
18237 * help-mode.el (help-mode-finish): Remove help-window related
18240 * view.el (view-exits-all-viewing-windows): Remove reference to
18241 view-return-to-alist in doc-string.
18242 (view-return-to-alist): Make obsolete.
18243 (view-buffer): Call pop-to-buffer-same-window and remove
18245 (view-buffer-other-window): Call pop-to-buffer-other-window and
18246 simplify code. Ignore second argument.
18247 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
18248 simplify code. Ignore second argument.
18249 (view-return-to-alist-update): Make obsolete.
18250 (view-mode-enter): Rename second argument to QUIT-RESTORE.
18251 Rewrite using quit-restore window parameters.
18252 (view-mode-exit): Rename second argument to EXIT-ONLY.
18253 Rewrite using quit-restore-window.
18254 (View-exit, View-exit-and-edit, View-leave, View-quit)
18255 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
18256 appropriate arguments.
18257 (view-end-message): Use quit-restore window parameter.
18259 * window.el (display-buffer-function): Rewrite doc-string.
18260 (display-buffer-window, display-buffer-alist): New variables.
18261 (display-buffer-split-specifiers)
18262 (display-buffer-side-specifiers)
18263 (display-buffer-macro-specifiers): New constants.
18264 (display-buffer-even-window-sizes, display-buffer-set-height)
18265 (display-buffer-set-width, display-buffer-select-window)
18266 (display-buffer-in-window, display-buffer-reuse-window)
18267 (display-buffer-split-window-1, display-buffer-split-window)
18268 (display-buffer-split-atom-window, display-buffer-pop-up-window)
18269 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
18270 (display-buffer-in-side-window, normalize-buffer-to-display)
18271 (display-buffer-normalize-specifiers-1)
18272 (display-buffer-normalize-specifiers-2)
18273 (display-buffer-normalize-specifiers, display-buffer-frame):
18275 (display-buffer): Major rewrite.
18276 (display-buffer-other-window, display-buffer-other-frame)
18277 (pop-to-buffer, switch-to-buffer-other-window)
18278 (switch-to-buffer-other-frame): Rewrite.
18279 (display-buffer-same-window, display-buffer-same-frame)
18280 (display-buffer-same-frame-other-window)
18281 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
18282 (pop-to-buffer-other-window)
18283 (pop-to-buffer-same-frame-other-window)
18284 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
18285 (switch-to-buffer-other-window-same-frame): New functions.
18286 (same-window-p, special-display-p): Rewrite disabling warnings.
18288 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18289 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
18291 (same-window-buffer-names, same-window-regexps)
18292 (special-display-frame-alist, special-display-popup-frame)
18293 (special-display-function, special-display-buffer-names)
18294 (special-display-regexps, pop-up-frame-alist)
18295 (pop-up-frame-function, split-window-preferred-function)
18296 (split-height-threshold, split-width-threshold)
18297 (even-window-heights): Make obsolete.
18299 2011-06-12 Glenn Morris <rgm@gnu.org>
18301 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
18302 Misc simplifications.
18304 2011-06-12 Martin Rudalics <rudalics@gmx.at>
18306 * window.el (window-safely-shrinkable-p): Restore function which
18307 was inadvertently removed in change from 2011-06-11. Declare as
18310 * calendar/calendar.el (calendar-generate-window):
18311 Use window-iso-combined-p instead of combination of one-window-p and
18312 window-safely-shrinkable-p.
18314 2011-06-12 Glenn Morris <rgm@gnu.org>
18316 * progmodes/fortran.el (fortran-mode-syntax-table):
18317 * progmodes/f90.el (f90-mode-syntax-table):
18318 Set % to punctuation. (Bug#8820)
18319 (f90-find-tag-default): Remove, no longer needed.
18321 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
18323 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
18325 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
18327 * image.el (image-animated-p): Return animation delay in seconds.
18328 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
18329 (image-animate-timeout): Remove DELAY argument. Don't assume
18330 every subimage has the same delay; get it from image-animated-p.
18331 (image-animate): Caller changed.
18333 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
18335 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
18336 to ignored backtrace functions.
18338 2011-06-11 Glenn Morris <rgm@gnu.org>
18340 * calendar/appt.el (appt-disp-window-function): Doc fix.
18341 (appt-check): Handle overlapping appointments. (Bug#8337)
18343 2011-06-11 Martin Rudalics <rudalics@gmx.at>
18345 * window.el (window-tree-1, window-tree): New functions, moving
18346 the latter to window.el.
18347 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
18348 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
18349 (bw-refresh-edges): Remove.
18350 (balance-windows-1, balance-windows-2): New functions.
18351 (balance-windows): Rewrite in terms of window tree functions,
18352 balance-windows-1 and balance-windows-2.
18353 (bw-adjust-window): Remove.
18354 (balance-windows-area-adjust): New function with functionality of
18355 bw-adjust-window but using resize-window.
18356 (set-window-text-height): Rewrite doc-string.
18357 Use normalize-live-window and resize-window.
18358 (enlarge-window-horizontally, shrink-window-horizontally):
18359 Rename argument to DELTA.
18360 (window-buffer-height): New function.
18361 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
18362 Rewrite using new window resize routines.
18363 (kill-buffer-and-window, mouse-autoselect-window-select):
18364 Use ignore-errors instead of condition-case.
18365 (quit-window): Call delete-frame instead of delete-windows-on
18366 for the only buffer on frame.
18368 2011-06-10 Martin Rudalics <rudalics@gmx.at>
18370 * loadup.el (top-level): Load window before files for the sake
18371 of replace-buffer-in-windows.
18373 * files.el (read-buffer-to-switch)
18374 (switch-to-buffer-other-window)
18375 (switch-to-buffer-other-frame, display-buffer-other-frame):
18378 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
18379 (previous-buffer): Move to window.el.
18381 * bindings.el (unbury-buffer): Move to window.el.
18383 * window.el (delete-other-windows-vertically): Move after
18384 definition of delete-other-windows.
18385 (other-window, delete-windows-on, replace-buffer-in-windows):
18386 Move here from window.c.
18387 (record-window-buffer, unrecord-window-buffer)
18388 (set-window-buffer-start-and-point, switch-to-prev-buffer)
18389 (switch-to-next-buffer): New functions.
18390 (get-next-valid-buffer, last-buffer, next-buffer): Move here
18391 from simple.el. Call switch-to-next-buffer.
18392 (previous-buffer): Move here from simple.el.
18393 Call switch-to-prev-buffer.
18394 (bury-buffer): Move here from buffer.c. Switch to previous
18395 buffer when window cannot be deleted.
18396 (unbury-buffer): Move here from bindings.el.
18397 (ctl-x-map): Move binding for other-window from window.c to
18399 (read-buffer-to-switch, switch-to-buffer-other-window)
18400 (switch-to-buffer-other-frame): Move here from files.el.
18401 (normalize-buffer-to-switch-to): New functions.
18402 (switch-to-buffer): Move here from buffer.c.
18403 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
18405 2011-06-10 Martin Rudalics <rudalics@gmx.at>
18407 * window.el (window-min-height, window-min-width): Move here
18408 from window.c. Add defcustoms and rewrite doc-strings.
18409 (resize-mini-window, resize-window): New functions.
18410 (adjust-window-trailing-edge, enlarge-window, shrink-window):
18411 Move here from window.c.
18412 (maximize-window, minimize-window): New functions.
18413 (delete-window, delete-other-windows, split-window): Move here
18415 (window-split-min-size): New function.
18416 (split-window-keep-point): Mention split-window-above-each-other
18417 instead of split-window-vertically.
18418 (split-window-above-each-other, split-window-vertically):
18419 Rename split-window-vertically to split-window-above-each-other
18420 and provide defalias for old definition.
18421 (split-window-side-by-side, split-window-horizontally):
18422 Rename split-window-horizontally to split-window-side-by-side
18423 and provide defalias for the old definition.
18424 (ctl-x-map): Move bindings for delete-window,
18425 delete-other-windows and enlarge-window here from window.c.
18426 Replace bindings for split-window-vertically and
18427 split-window-horizontally by bindings for
18428 split-window-above-each-other and split-window-side-by-side.
18430 * cus-start.el (all): Remove entries for window-min-height and
18431 window-min-width. Add entries for window-splits and
18434 2011-06-09 Glenn Morris <rgm@gnu.org>
18436 * calendar/appt.el (appt-mode-line): New function.
18437 (appt-check, appt-disp-window): Use it.
18439 * files.el (hack-one-local-variable-eval-safep):
18440 Allow minor-modes with explicit +/-1 arguments.
18442 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
18444 * term/xterm.el (xterm): Add defgroup.
18445 (xterm-extra-capabilities): Add defcustom to supply known xterm
18446 capabilities, skip querying them, or query them (default).
18447 (terminal-init-xterm): Use it.
18448 (terminal-init-xterm-modify-other-keys): New function to set up
18449 modifyOtherKeys support to simplify `terminal-init-xterm'.
18451 2011-06-09 Martin Rudalics <rudalics@gmx.at>
18453 * window.el (resize-window-reset, resize-window-reset-1)
18454 (resize-subwindows-skip-p, resize-subwindows-normal)
18455 (resize-subwindows, resize-other-windows, resize-this-window)
18456 (resize-root-window, resize-root-window-vertically)
18457 (window-deletable-p, window-or-subwindow-p)
18458 (frame-root-window-p): New functions.
18460 2011-06-09 Glenn Morris <rgm@gnu.org>
18462 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
18463 (ange-ftp-get-files): Use it.
18465 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
18467 * mail/sendmail.el (mail-recover-1, mail-recover):
18468 * files.el (recover-file, recover-session):
18469 Handle dired-listing-switches not being just a single short option.
18471 2011-06-09 Glenn Morris <rgm@gnu.org>
18473 * calendar/appt.el (appt-display-message, appt-disp-window):
18474 Handle lists of appointments.
18476 2011-06-08 Martin Rudalics <rudalics@gmx.at>
18478 * window.el (one-window-p): Move down in code.
18479 Rewrite doc-string.
18480 (window-current-scroll-bars): Rewrite doc-string.
18481 Normalize live window argument.
18482 (walk-windows, get-window-with-predicate, count-windows):
18483 Rewrite doc-string. Use window-list-1.
18484 (window-in-direction-2, window-in-direction, get-mru-window):
18487 2011-06-08 Reuben Thomas <rrt@sc3d.org>
18489 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
18490 Doc fix (Bug#8713).
18492 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
18494 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
18496 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
18498 * loadhist.el (unload-feature-special-hooks):
18499 Add `comint-output-filter-functions'.
18501 2011-06-08 Ivan Kanis <gnu@kanis.fr>
18503 * calendar/appt.el (appt-check): Move some initializations into the let.
18505 2011-06-08 Martin Rudalics <rudalics@gmx.at>
18507 * window.el (window-height): Defalias to window-total-height.
18508 (window-width): Defalias to window-body-width.
18510 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
18512 * image-mode.el (image-toggle-animation): New command.
18513 (image-mode-map): Bind it to RET.
18514 (image-mode): Update message.
18515 (image-toggle-display-image): Avoid a spurious cache flush.
18516 (image-transform-rotation): Doc fix.
18517 (image-transform-properties): Return quickly in the normal case.
18518 (image-animate-loop): Rename from image-animate-max-time.
18520 * image.el (image-animate-max-time): Move to image-mode.el.
18521 (create-animated-image): Remove unnecessary function.
18522 (image-animate): Rename from image-animate-start. New arg.
18523 (image-animate-stop): Remove; just use image-animate-timer.
18524 (image-animate-timer): Use car-safe.
18525 (image-animate-timeout): Rename argument.
18527 2011-06-07 Martin Rudalics <rudalics@gmx.at>
18529 * window.el (get-lru-window, get-largest-window): Move here from
18530 window.c. Rename first argument to ALL-FRAMES.
18531 Rephrase doc-strings.
18532 (get-buffer-window-list): Rewrite using window-list-1.
18533 Rephrase doc-string.
18534 (window-safe-min-height, window-safe-min-width): New constants.
18535 (window-size-ignore, window-min-size, window-min-size-1)
18536 (window-sizable, window-sizable-p, window-size-fixed-1)
18537 (window-size-fixed-p, window-min-delta-1, window-min-delta)
18538 (window-max-delta-1, window-max-delta, window-resizable)
18539 (window-resizable-p, window-total-height, window-total-width)
18540 (window-body-width): New functions.
18541 (window-full-height-p, window-full-width-p): Rewrite using
18543 (window-body-height): Rewrite using window-body-size.
18545 2011-06-06 Martin Rudalics <rudalics@gmx.at>
18547 * window.el (window-right, window-left, window-child)
18548 (window-child-count, window-last-child, window-any-p)
18549 (normalize-live-buffer, normalize-live-frame)
18550 (normalize-any-window, normalize-live-window)
18551 (window-iso-combination-p, window-iso-combined-p)
18552 (window-iso-combinations)
18553 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
18554 (windows-with-parameter, window-with-parameter)
18555 (window-atom-root, make-window-atom, window-atom-check-1)
18556 (window-atom-check, window-side-check, window-check):
18558 (ignore-window-parameters, window-sides, window-sides-vertical)
18559 (window-sides-slots): New variables.
18560 (window-size-fixed): Move down in code. Minor doc-string fix.
18562 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
18564 * comint.el (comint-dynamic-complete-as-filename)
18565 (comint-dynamic-complete-filename): Correctly call
18566 completion-in-region.
18568 2011-06-05 Deniz Dogan <deniz@dogan.se>
18570 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
18573 2011-06-05 Deniz Dogan <deniz@dogan.se>
18575 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
18576 (rcirc): Use it to prompt for encryption.
18578 2011-06-05 Roland Winkler <winkler@gnu.org>
18580 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
18581 (bibtex-search-entries): New command bound to C-c C-a.
18582 (bibtex-display-entries): New function.
18584 2011-06-05 Roland Winkler <winkler@gnu.org>
18586 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
18587 (bibtex-insert-kill): After yanking insert newline if necessary.
18588 (bibtex-initialize): Call bibtex-string-files-init only once.
18589 (bibtex-mode): Do not call easy-menu-add.
18590 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
18591 (bibtex-yank): Set arg properly if nil.
18593 2011-06-05 Roland Winkler <winkler@gnu.org>
18595 * textmodes/bibtex.el (bibtex-search-entry-globally):
18597 (bibtex-search-entry): Use it.
18599 2011-06-05 Roland Winkler <winkler@gnu.org>
18601 * textmodes/bibtex.el (bibtex-entry-format): New option
18603 (bibtex-format-entry, bibtex-reformat): Honor this option.
18604 (bibtex-parse-entry): Return fields in proper order.
18606 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
18608 * doc-view.el (doc-view-remove-if): Move computation of result out
18609 of `dolist' to silence misleading lexical-binding warning.
18611 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
18613 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
18614 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
18616 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
18618 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
18621 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
18623 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
18624 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
18625 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
18626 (tramp-parse-putty):
18627 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
18628 (tramp-completion-function-alist-ssh)
18629 (tramp-completion-function-alist-telnet)
18630 (tramp-completion-function-alist-su)
18631 (tramp-completion-function-alist-putty): Set `tramp-autoload'
18634 * net/tramp-ftp.el:
18636 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
18637 load "tramp.el" `tramp-set-completion-function'.
18639 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
18641 * shell.el: Require and use pcomplete.
18642 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
18643 (shell-completion-vars): Set pcomplete-default-completion-function.
18645 2011-06-04 Deniz Dogan <deniz@dogan.se>
18647 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
18650 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
18652 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
18654 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
18656 * bs.el (bs--mark-unmark, bs--nth-wrapper):
18657 * mpc.el (mpc-select-extend, mpc-songpointer-context):
18658 * vc/log-view.el (log-view-beginning-of-defun):
18659 * vc/smerge-mode.el (smerge-apply-resolution-patch)
18660 (smerge-refine-forward, smerge-refine-chopup-region):
18661 Silence warning for unused `dotimes' counter variables.
18663 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
18665 * net/tramp.el (tramp-with-progress-reporter): Rename from
18666 with-progress-reporter. Use `declare'.
18667 * net/tramp-smb.el:
18669 * net/tramp-gvfs.el: Update all uses.
18671 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
18673 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
18674 buffer isn't killed before making it current.
18676 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
18678 Silence various byte-compiler warnings.
18679 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
18680 `access-type' and new obsolescence format.
18681 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
18683 (byte-compile-check-variable): New `access-type' argument.
18684 Only warn if the access-type is obsolete.
18685 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
18686 (byte-compile-variable-set): Adjust callers.
18687 * help-fns.el (describe-variable): Adjust to new obsolescence format.
18688 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
18689 setting it as obsolete.
18690 * simple.el (minibuffer-completing-symbol):
18691 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
18692 access as obsolete.
18693 * minibuffer.el (minibuffer-completing-file-name): Don't make it
18695 * international/quail.el (quail-mouse-choose-completion): Remove unused
18696 code referring to obsolete var.
18697 (quail-choose-completion-string): Remove.
18698 * server.el (server-clients-with, server-kill-buffer-query-function)
18699 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
18700 * proced.el (proced-send-signal):
18701 * emacs-lisp/lisp.el (lisp-complete-symbol):
18702 Replace completion-annotate-function with completion-extra-properties.
18704 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
18706 * simple.el (goto-line): Use read-number.
18707 (overriding-map-is-bound): Remove.
18708 (saved-overriding-map): Change default.
18709 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
18710 Take the map as argument.
18711 (universal-argument, negative-argument, digit-argument): Use it.
18712 (restore-overriding-map): Adjust.
18713 (do-auto-fill): Use fill-forward-paragraph.
18714 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
18716 * minibuffer.el (minibuffer-inactive-mode-map): New var.
18717 (minibuffer-inactive-mode): New major mode.
18718 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
18719 the *Messages* buffer" hack.
18720 (mouse-popup-menubar): Don't burp if the event is a normal key.
18722 Miscellaneous tweaks.
18723 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
18724 lexical scoping as in subr.el's dolist and dotimes.
18725 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
18726 Silence compiler warning.
18727 * thingatpt.el (forward-whitespace): Trivial coding style fix.
18728 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
18729 * international/ccl.el (ccl-compile): Trivial simplification.
18730 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
18731 * emacs-lisp/testcover.el (testcover-end): Remove spurious
18732 `printflag' argument.
18733 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
18734 Purecopy the whole obsolescence data.
18736 2011-06-01 Leo Liu <sdl.web@gmail.com>
18738 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
18739 improve doc-string as suggested by Marco Pessotto
18740 <melmothx@gmail.com>.
18741 (rcirc-print): Fix last change.
18743 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18745 * minibuffer.el (complete-with-action): Return nil for the metadata and
18746 boundaries of non-functional tables.
18747 (completion-table-dynamic): Return nil for the metadata.
18748 (completion-table-with-terminator): Add default case, using
18749 complete-with-action.
18750 (completion--metadata): New function.
18751 (completion-all-sorted-completions, minibuffer-completion-help): Use it
18752 to try and avoid pathological performance problems.
18753 (completion--embedded-envvar-table): Return `category' metadata.
18755 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
18757 * subr.el (process-alive-p): New tiny convenience function.
18759 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18761 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
18762 content but also its previous major mode.
18764 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
18766 * emacs-lisp/debug.el (debug): Restore the previous content of the
18767 *Backtrace* buffer when we exit with C-M-c.
18769 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18771 * minibuffer.el: Add metadata method to completion tables.
18772 (completion-category-overrides): New defcustom.
18773 (completion-metadata, completion--field-metadata)
18774 (completion-metadata-get, completion--styles)
18775 (completion--cycle-threshold): New functions.
18776 (completion-try-completion, completion-all-completions):
18777 Add `metadata' argument to choose completion-styles.
18778 (completion--do-completion): Use metadata to choose cycling.
18779 (completion-all-sorted-completions): Use metadata for sorting.
18780 Remove :completion-cycle-penalty which is not needed any more.
18781 (completion--try-word-completion): Add `metadata' argument.
18782 (minibuffer-completion-help): Check metadata for annotation function
18784 (completion-file-name-table): Return `category' metadata.
18785 (minibuffer-completing-file-name): Make obsolete.
18786 * simple.el (minibuffer-completing-symbol): Make obsolete.
18787 * icomplete.el (icomplete-completions): Pass new `metadata' param to
18788 completion-try-completion.
18790 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
18792 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
18794 2011-05-30 Leo Liu <sdl.web@gmail.com>
18796 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
18797 (rcirc-print): Decode all incoming messages (bug#8744).
18798 (rcirc-decode-coding-system): Allow value nil for automatic coding
18801 2011-06-01 Glenn Morris <rgm@gnu.org>
18803 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
18805 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
18807 * image.el (image-animate-max-time): Allow nil and t values.
18809 (create-animated-image): Doc fix.
18810 (image-animate-start): Remove second arg; just use
18811 image-animate-max-time.
18812 (image-animate-timeout): Doc fix. Args changed.
18814 * image-mode.el (image-toggle-display-image): Ensure that the
18815 image spec passed to the animate timer is the same object as in
18816 the buffer's display property (Bug#6981).
18817 (image-transform-properties): Doc fix.
18819 * image.el (image-animate-max-time): Default to nil.
18821 2011-05-29 Martin Rudalics <rudalics@gmx.at>
18823 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
18824 entire buffer list (Bug#8184).
18826 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
18828 * image.el (imagemagick-types-inhibit)
18829 (imagemagick-register-types): Doc fix.
18831 2011-05-29 Deniz Dogan <deniz@dogan.se>
18833 * net/rcirc.el (rcirc): Use the user's stored encryption method by
18836 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
18838 * select.el: Don't perform clipboard-manager saving in hooks;
18839 leave the hooks empty.
18841 2011-05-28 Leo Liu <sdl.web@gmail.com>
18843 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
18844 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
18845 (occur-edit-mode): New major mode (Bug#8463).
18846 (occur-after-change-function): New function.
18847 (occur-engine): Give Occur tags a read-only property.
18849 2011-05-28 Kevin Ryde <user42@zip.com.au>
18851 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
18853 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
18855 * bindings.el (help-echo): Make the initial non-indicator dash
18856 empty on graphical terminals (Bug#7295).
18858 * files.el (auto-mode-alist): Move config rule after the
18859 in-stripping one (Bug#8547).
18861 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
18863 * startup.el (normal-splash-screen): Remove gratuitous mode-line
18864 setting (Bug#8740).
18866 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
18868 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
18869 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
18872 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
18874 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
18876 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
18878 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
18879 (hs-hide-block-at-point, hs-find-block-beginning)
18880 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
18883 2011-05-28 Glenn Morris <rgm@gnu.org>
18885 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
18887 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
18889 * help-fns.el (describe-function-1): If the function is a derived
18890 major mode, print the parent mode.
18892 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
18893 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
18895 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
18897 * minibuffer.el (completion--capf-wrapper): Check applicability before
18898 returning non-nil for non-exclusive completion data.
18899 * progmodes/etags.el (tags-completion-at-point-function):
18900 * info-look.el (info-lookup-completions-at-point): Mark as
18902 (info-complete): Adjust accordingly.
18904 * info-look.el: Convert to lexical-binding and completion-at-point.
18905 (info-lookup-completions-at-point): New function.
18906 (info-complete): Use it and completion-in-region.
18908 2011-05-28 Drew Adams <drew.adams@oracle.com>
18910 * isearch.el: Let M-e start with point at the first mismatched char.
18911 (isearch-fail-pos): New function.
18912 (isearch-edit-string): Use it.
18914 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
18916 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
18918 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
18920 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
18921 traversal functions for avl-trees.
18922 (avl-tree--stack): New struct.
18923 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
18924 (avl-tree-enter): Add optional `updatefun' arg.
18925 (avl-tree--do-enter): Add optional `updatefun' arg.
18926 Change return value.
18927 (avl-tree-delete): Add optional `test' and `nilflag' args.
18928 (avl-tree--do-delete): Add `test' and `nilflag' args.
18929 Change return value.
18930 (avl-tree-member): Add optional `nilflag'
18931 (avl-tree-member-p): New function.
18932 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
18933 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
18934 (avl-tree-stack-empty-p): New functions.
18936 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
18937 avl-tree--del-balance1 and make it work both ways.
18938 (avl-tree--del-balance2): Remove.
18939 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
18940 make it work both ways.
18941 (avl-tree--enter-balance2): Remove.
18942 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
18944 (avl-tree--mapc, avl-tree-map): Add direction argument.
18946 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
18948 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
18950 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
18952 * select.el: Support clipboard managers with built-in function
18953 x-clipboard-manager-save, via delete-frame-functions and
18955 (xselect-convert-to-targets): Add MULTIPLE target to list.
18956 (xselect-convert-to-save-targets): New function.
18958 2011-05-27 Kenichi Handa <handa@m17n.org>
18960 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
18961 let-binding rfc2047-encode-encoded-words to nil.
18963 2011-05-27 Glenn Morris <rgm@gnu.org>
18965 * mail/emacsbug.el: Don't require url-util.
18967 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
18969 * files.el (set-auto-mode):
18970 Also respect mode: entries at the end of the file. (Bug#8586)
18972 2011-05-26 Glenn Morris <rgm@gnu.org>
18974 * files.el (hack-local-variables-prop-line, hack-local-variables):
18975 Downcase mode names, as seems to be traditional.
18976 (hack-local-variables, hack-local-variables-apply): Doc fixes.
18978 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
18979 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
18981 2011-05-25 Julien Danjou <julien@danjou.info>
18983 * textmodes/rst.el (rst-define-level-faces): Do not define face
18984 symbol if it is already defined.
18986 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
18988 * play/5x5.el (5x5-new-game, 5x5-randomize):
18989 Reset 5x5-solver-output to nil when a new grid is cast.
18990 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
18991 these debugging traces, as defmacro breaks the compiled code.
18993 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
18995 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
18997 2011-05-24 Leo Liu <sdl.web@gmail.com>
18999 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
19000 (vc-bzr-sha1): Adapt.
19002 * sha1.el: Remove. Function `sha1' is now builtin.
19004 * bindings.el: Provide sha1 feature.
19006 2011-05-24 Kenichi Handa <handa@m17n.org>
19008 * mail/sendmail.el: Require `rfc2047'.
19009 (mail-insert-from-field): Do not perform RFC2047 encoding.
19010 (mail-encode-header): New function.
19011 (sendmail-send-it): Set buffer-file-coding-system of the work
19012 buffer to the return value of select-message-coding-system.
19013 Call mail-encode-header.
19015 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
19017 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
19019 * mail/supercite.el (sc-default-cite-frame):
19020 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
19022 2011-05-24 Glenn Morris <rgm@gnu.org>
19024 * progmodes/python.el (brm-menu): Declare.
19026 * emulation/viper.el (viper-set-hooks): Declare.
19028 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
19029 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
19030 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
19031 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
19032 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
19033 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
19035 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
19037 Add an :exit-function for completion-at-point.
19039 * minibuffer.el (completion--done): New fun.
19040 (completion--do-completion): Use it. New arg `expect-exact'.
19041 (minibuffer-complete, minibuffer-complete-word): Don't output message,
19042 since completion--do-completion does it for us now.
19043 (minibuffer-force-complete): Use completion--done and
19044 completion--replace. Handle sole-completion case with more care.
19045 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
19046 (completion-extra-properties): New var.
19047 (completion-annotate-function): Make obsolete.
19048 (minibuffer-completion-help): Adjust accordingly.
19049 Use completion-list-insert-choice-function.
19050 (completion-at-point, completion-help-at-point):
19051 Bind completion-extra-properties.
19052 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
19053 * simple.el (completion-list-insert-choice-function): New var.
19054 (completion-setup-function): Preserve it.
19055 (choose-completion): Pay attention to it, shuffle the code a bit.
19056 (choose-completion-string): New arg `insert-function'.
19058 * textmodes/bibtex.el: Convert to lexical binding.
19059 (bibtex-mode-map): Use completion-at-point.
19060 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
19061 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
19062 (bibtex-complete): Define as obsolete alias.
19063 (bibtex-complete-internal): Remove.
19064 (bibtex-format-entry): Remove unused sub-group in regexp.
19065 * shell.el (shell--command-completion-data)
19066 (shell-environment-variable-completion):
19067 * pcomplete.el (pcomplete-completions-at-point):
19068 * comint.el (comint--complete-file-name-data): Use :exit-function
19069 instead of completion-table-with-terminator so it also works for
19072 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
19074 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
19076 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
19079 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
19081 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
19083 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
19084 customization variable and implement: If non-nil, auto-fill will
19085 be inhibited while on topic's header line.
19087 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
19089 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
19090 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
19091 always have a solution in grid size = 5 cases.
19092 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
19093 (5x5-solver-output, 5x5-log-buffer): New vars.
19094 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
19095 Make these variables buffer local to achieve 5x5 multi-session-ness.
19096 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
19097 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
19098 (5x5-solve-suggest): New funs.
19099 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
19100 randomize a grid so that we ensure that there is always a solution.
19101 (5x5-make-random-grid): Allow other movement than flipping.
19103 2011-05-23 Kevin Ryde <user42@zip.com.au>
19105 * emacs-lisp/advice.el (ad-read-advised-function):
19106 Use `function-called-at-point' as the default, if it has
19107 advice and passes PREDICATE.
19109 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
19111 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
19112 byte-compile-lambda if it's actually a lambda.
19114 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
19115 Fix function quoting. Use backquote better.
19117 2011-05-22 Yuanle Song <sylecn@gmail.com>
19119 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
19120 matching (Bug#8516).
19122 2011-01-22 Jari Aalto <jari.aalto@cante.net>
19124 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
19125 different face (Bug#8178).
19127 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
19129 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
19130 defface (Bug#8144).
19132 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
19134 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
19135 funcall as well (bug#8712). Warn when performing those conversions.
19136 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
19138 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
19140 2011-05-22 Glenn Morris <rgm@gnu.org>
19142 * files.el (hack-local-variables-prop-line): Small simplifications.
19143 (hack-local-variables, hack-local-variables-prop-line):
19144 If MODE-ONLY, return the mode, rather than just `t'.
19146 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
19148 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
19150 2011-05-21 Glenn Morris <rgm@gnu.org>
19152 * files.el (hack-local-variables-prop-line, hack-local-variables):
19153 If only interested in the mode, don't bother doing the other stuff.
19155 * image-mode.el (image-after-revert-hook):
19156 Redraw all frames on which the image is visible. (Bug#8567)
19158 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
19160 * wid-edit.el (widget-checklist-match-inline):
19161 Fix 2011-04-19 change. (Bug#8649)
19163 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
19165 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
19166 Also allow singlespace after single-letter capitals followed by a dot.
19168 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
19169 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
19171 2011-05-20 Nix <nix@esperi.org.uk>
19173 * files.el (basic-save-buffer-2):
19174 Fix handling of break-hardlink-on-save with non-existent files.
19176 2011-05-19 Deniz Dogan <deniz@dogan.se>
19178 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
19179 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
19181 2011-05-19 Glenn Morris <rgm@gnu.org>
19183 * progmodes/f90.el (f90-type-def-re):
19184 Handle "type, bind(c)". (Bug#8691)
19186 * emacs-lisp/autoload.el (batch-update-autoloads):
19187 Set autoload-excludes by parsing loadup.el rather than Makefiles.
19189 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
19191 * net/tramp.el (tramp-process-actions): Set "first-password-request"
19192 property for the correct connection in case of multihops.
19194 2011-05-18 Glenn Morris <rgm@gnu.org>
19196 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
19197 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
19199 Rationalize calendar handling of day and month abbrev-arrays.
19200 * calendar/calendar.el (calendar-customized-p): New function.
19201 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
19202 (calendar-day-name-array, calendar-month-name-array): Doc fix.
19204 (calendar-abbrev-length, calendar-day-abbrev-array)
19205 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
19206 (calendar-day-abbrev-array, calendar-month-abbrev-array):
19207 Elements may no longer be nil.
19208 (calendar-day-name, calendar-month-name):
19209 Update for changed nature of abbrev arrays.
19210 * calendar/diary-lib.el (diary-name-pattern):
19211 Update for changed nature of abbrev arrays.
19212 (diary-mark-entries-1): Update calendar-make-alist calls.
19213 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
19214 * calendar/cal-html.el (cal-html-day-abbrev-array):
19215 Simply inherit from calendar-day-abbrev-array.
19217 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
19219 * progmodes/grep.el (grep-mode): Disable default
19220 compilation-directory-matcher setting (bug#8684).
19222 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
19224 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
19225 instead of "head" and "tail". There were problems with SunOS 5.9,
19226 and it performs better.
19228 2011-05-17 Glenn Morris <rgm@gnu.org>
19230 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
19232 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
19233 Replace obsolete function.
19235 * shell.el (pcomplete-parse-arguments-function): Declare.
19237 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
19238 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
19239 (appt-check): Doc fixes.
19240 (appt-disp-window-function, appt-delete-window-function):
19241 Remove needless special case in custom :type.
19242 (appt-display-count): Default to 0, not nil.
19243 (appt-check): Reset appt-display-count to 0, not nil.
19245 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
19247 * progmodes/python.el (python-font-lock-keywords):
19248 Add the Python 3.X keyword "nonlocal" (bug#8639).
19250 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
19252 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
19254 2011-05-16 Kevin Ryde <user42@zip.com.au>
19256 * info-look.el (makefile-automake-mode): New setups, looking in
19257 automake manual, then makefile-mode.
19258 (makefile-mode): Remove automake manual, have it just in
19259 makefile-automake-mode since there's various things different or
19260 not relevant to plain make.
19261 (makefile-mode): Remove "other-modes" non-existent automake-mode,
19262 believe a hypothetical automake-mode would go to makefile-mode,
19263 not the other way around.
19265 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
19267 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
19268 hunk-end tags (Bug#8672).
19270 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
19271 vc-annotate-show-diff-revision-at-line (Bug#8671).
19273 2011-05-14 Glenn Morris <rgm@gnu.org>
19275 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
19276 in the middle of an existing one with multiple authors. (Bug#8645)
19277 (change-log-font-lock-keywords): Also handle multiple author lines
19278 with leading tabs. (Bug#8644)
19280 * calendar/appt.el (appt-check): Rename some local variables.
19281 Some simplification/reordering.
19283 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
19284 (feedmail-sendmail-f-doesnt-sell-me-out)
19285 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
19286 (feedmail-debug-sit-for, feedmail-queue-express-hook)
19287 (feedmail-queue-runner-message-sender): Set :version.
19288 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
19289 (bbdb-dwim-net-address, vm-mail): Declare.
19290 (feedmail-binmail-gnulinuxish-template):
19291 Rename from feedmail-binmail-linuxish-template.
19292 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
19293 Use insert-buffer-substring.
19295 2011-05-14 Bill Carpenter <bill@carpenter.org>
19297 * mail/feedmail.el (feedmail-patch-level): Increase.
19298 (feedmail-debug): New custom group.
19299 (feedmail-confirm-outgoing-timeout)
19300 (feedmail-sendmail-f-doesnt-sell-me-out)
19301 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
19302 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
19303 (feedmail-sender-line, feedmail-from-line)
19304 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
19305 (feedmail-spray-this-address)
19306 (feedmail-spray-address-fiddle-plex-list)
19307 (feedmail-queue-use-send-time-for-date)
19308 (feedmail-queue-use-send-time-for-message-id)
19309 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
19310 (feedmail-buffer-eating-function):
19312 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
19313 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
19314 (feedmail-message-action-scroll-down): New functions.
19315 (feedmail-queue-directory, feedmail-queue-draft-directory):
19316 Use expand-file-name.
19317 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
19318 Remove C-v help entry.
19319 (feedmail-queue-buffer-file-name): New variable.
19320 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
19321 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
19322 (feedmail-message-action-send-strong, feedmail-message-action-edit)
19323 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
19324 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
19325 (feedmail-message-action-toggle-spray)
19326 (feedmail-run-the-queue-no-prompts)
19327 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
19328 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
19329 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
19330 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
19331 (feedmail-envelope-deducer, feedmail-fiddle-from)
19332 (feedmail-fiddle-sender, feedmail-default-date-generator)
19333 (feedmail-fiddle-date, feedmail-fiddle-message-id)
19334 (feedmail-fiddle-spray-address)
19335 (feedmail-fiddle-list-of-spray-fiddle-plexes)
19336 (feedmail-fiddle-list-of-fiddle-plexes)
19337 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
19338 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
19339 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
19340 Change default. Doc fix.
19341 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
19342 (feedmail-binmail-linuxish-template): New constant.
19343 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
19344 Respect feedmail-sendmail-f-doesnt-sell-me-out.
19345 (feedmail-send-it): Add debug call.
19346 Use feedmail-queue-buffer-file-name, and
19347 feedmail-send-it-immediately-wrapper.
19348 (feedmail-message-action-send): Add debug call.
19349 Use feedmail-send-it-immediately-wrapper.
19350 (feedmail-queue-express-to-queue): Add debug call.
19351 Run feedmail-queue-express-hook.
19352 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
19353 (feedmail-message-action-help-blat):
19354 Rename from feedmail-queue-send-edit-prompt-help-first.
19355 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
19356 Check line-endings. Handle errors better.
19357 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
19358 Doc fix. Add debug call.
19359 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
19360 Use feedmail-queue-send-edit-prompt-inner.
19361 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
19362 (feedmail-queue-send-edit-prompt-inner): New function, extracted
19363 from feedmail-queue-send-edit-prompt.
19364 (feedmail-queue-send-edit-prompt-help)
19365 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
19366 (feedmail-tidy-up-slug): Add debug call.
19367 Respect feedmail-queue-slug-suspect-regexp.
19368 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
19369 (feedmail-dump-message-to-queue): Add debug call.
19370 Expand queue-directory.
19371 (feedmail-dump-message-to-queue): Change message slightly.
19372 Use feedmail-say-chatter.
19373 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
19374 (feedmail-send-it-immediately-wrapper): New function.
19375 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
19376 Insert empty string rather than newline. Handle full-frame case.
19377 Use catch/throw. Use feedmail-say-chatter.
19378 (feedmail-fiddle-from): Try mail-host-address.
19379 (feedmail-default-message-id-generator): Doc fix.
19380 Bind system-time-locale. Handle missing end.
19381 (feedmail-fiddle-x-mailer): Add debug call.
19382 Handle feedmail-x-mailer-line being nil.
19383 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
19384 Add debug call. Use buffer-substring-no-properties.
19385 (feedmail-say-debug, feedmail-say-chatter): New functions.
19386 (feedmail-find-eoh): Give an explicit error.
19388 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
19390 * net/newst-treeview.el (newsticker-treeview-face): Change default
19391 family from helvetica to sans.
19392 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
19393 etc/images/newsticker.
19395 * net/newst-reader.el (newsticker-feed-face): Change default
19396 family from helvetica to sans.
19398 * net/newst-plainview.el (newsticker-new-item-face)
19399 (newsticker-old-item-face, newsticker-immortal-item-face)
19400 (newsticker-obsolete-item-face, newsticker-date-face)
19401 (newsticker-statistics-face): Change default family from
19403 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
19404 etc/images/newsticker.
19406 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
19407 (newsticker--process-auto-mark-filter-match): Tell user about
19410 2011-05-13 Didier Verna <didier@xemacs.org>
19412 Common Lisp indentation improvements on defmethod and lambda-lists.
19413 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
19415 (lisp-lambda-list-keyword-parameter-indentation)
19416 (lisp-lambda-list-keyword-parameter-alignment)
19417 (lisp-lambda-list-keyword-alignment): New customizable user options.
19418 (lisp-indent-defun-method): Improve docstring.
19419 (extended-loop-p): Fix comment.
19420 (lisp-indent-lambda-list-keywords-regexp): New variable.
19421 (lisp-indent-lambda-list): New function.
19422 (lisp-indent-259): Use it.
19423 (lisp-indent-defmethod): Support for more than one
19424 method qualifier and properly indent methods lambda-lists.
19425 (defgeneric): Provide a missing common-lisp-indent-function property.
19427 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
19429 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
19430 bounds for the empty string (bug#8667).
19432 2011-05-13 Glenn Morris <rgm@gnu.org>
19434 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
19436 * mail/sendmail.el (sendmail-program): Try executable-find first.
19437 (sendmail-send-it): `sendmail-program' cannot be unbound.
19439 * calendar/appt.el (appt-make-list): Simplify.
19440 (appt-time-msg-list): Doc fix.
19441 (appt-check): Change mode-line message at the time of the appointment.
19443 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
19445 * progmodes/ld-script.el (ld-script-keywords)
19446 (ld-script-builtins): Update keywords list.
19448 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
19450 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
19452 * shell.el (shell-completion-vars): New function.
19454 * simple.el (read-shell-command): Use it.
19455 (blink-matching-open): No need for " [...]" in minibuffer-message.
19457 2011-05-12 Glenn Morris <rgm@gnu.org>
19459 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
19460 (appt-check): Simplify.
19462 2011-05-12 Eli Zaretskii <eliz@gnu.org>
19464 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
19465 literal "/dev/null".
19467 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
19469 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
19472 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
19474 * progmodes/which-func.el (which-function):
19475 Use add-log-current-defun instead of add-log-current-defun-function,
19476 which might not be defined (Bug#8260).
19478 2011-05-12 Glenn Morris <rgm@gnu.org>
19480 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
19481 Let byte-compile-initial-macro-environment always take precedence.
19483 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
19485 * net/rcirc.el: Add support for SSL/TLS connections.
19486 (rcirc-server-alist): New field `encryption'.
19487 (rcirc): Check `encryption' settings.
19488 (rcirc-connect): New arg `encryption'. Use open-network-stream.
19489 Merge make-local-variable into `set'.
19490 (rcirc--connection-open-p): New function.
19491 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
19492 the process is not a network process (e.g. running gnutls-cli).
19493 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
19494 Make rcirc-(en|de)code-coding-system local here.
19495 (rcirc-mode): Merge make-local-variable into `set'.
19496 (rcirc-parent-buffer): Make permanent buffer-local.
19497 (rcirc-multiline-minor-mode): Don't do it here.
19498 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
19499 there's no server buffer.
19501 2011-05-11 Glenn Morris <rgm@gnu.org>
19503 * newcomment.el (comment-kill): Prefix "unused" local.
19505 * term/w32console.el (get-screen-color): Declare.
19507 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
19508 Handle symbol elements of byte-compile-initial-macro-environment.
19510 2011-05-10 Leo Liu <sdl.web@gmail.com>
19512 * bookmark.el (bookmark-bmenu-mode-map):
19513 Bind bookmark-bmenu-search to `/'.
19515 * mail/footnote.el: Convert to utf-8 encoding.
19516 (footnote-unicode-string, footnote-unicode-regexp): New variable.
19517 (Footnote-unicode): New function.
19518 (footnote-style-alist): Add unicode style to the list.
19519 (footnote-style): Doc fix.
19521 2011-05-10 Jim Meyering <meyering@redhat.com>
19523 Fix doubled-word typos.
19524 * international/quail.el (quail-insert-kbd-layout): and and -> and
19525 * kermit.el: and and -> and
19526 * net/ldap.el (ldap-search-internal): to to -> to
19527 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
19528 * progmodes/js.el (js-mode): and and -> and
19529 * textmodes/artist.el (artist-move-to-xy): at at -> at
19530 (artist-draw-region-trim-line-endings): if if -> if
19531 And Safetyc -> Safety.
19532 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
19534 2011-05-10 Glenn Morris <rgm@gnu.org>
19535 Stefan Monnier <monnier@iro.umontreal.ca>
19537 * files.el (hack-one-local-variable-eval-safep):
19538 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
19540 2011-05-10 Glenn Morris <rgm@gnu.org>
19542 * calendar/diary-lib.el (diary-list-entries-hook)
19543 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
19544 (diary-nongregorian-marking-hook, diary-list-entries)
19545 (diary-include-other-diary-files, diary-mark-entries)
19546 (diary-mark-included-diary-files): Doc fixes.
19548 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
19550 * misc.el: Require tabulated-list.el during compilation.
19552 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
19554 * progmodes/compile.el (compilation-start):
19555 Run compilation-filter-hook for the async case too.
19556 (compilation-filter-hook): Doc fix.
19558 2011-05-09 Deniz Dogan <deniz@dogan.se>
19560 * wdired.el: Remove outdated installation comment. Fix usage
19563 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
19565 * misc.el: Implement new command `list-dynamic-libraries'.
19566 (list-dynamic-libraries--loaded-only-p): New variable.
19567 (list-dynamic-libraries--refresh): New function.
19568 (list-dynamic-libraries): New command.
19570 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
19572 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19573 Fix the ant regexp to handle end-line and end-column info from jikes.
19574 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
19575 higher priority to avoid clobbering by gnu.
19577 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
19579 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
19580 if the face has existing theme settings (Bug#8454).
19582 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
19584 * progmodes/perl-mode.el (perl-imenu-generic-expression):
19585 Only match variables declared via `my' or `our' (Bug#8261).
19587 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
19588 special file names `.' and `..' (Bug#8259).
19590 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
19592 * progmodes/grep.el (grep-mode-font-lock-keywords):
19593 Remove buffer-changing entries.
19594 (grep-filter): New function.
19595 (grep-mode): Add it to compilation-filter-hook.
19597 * progmodes/compile.el (compilation-filter-hook)
19598 (compilation-filter-start): New defvars.
19599 (compilation-filter): Call compilation-filter-hook prior to
19600 updating the process mark.
19602 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
19604 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
19606 2011-05-07 Eli Zaretskii <eliz@gnu.org>
19608 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
19609 mailclient-send-it even if window-system is nil. (Bug#8595)
19611 * term/w32console.el (terminal-init-w32console):
19612 Call get-screen-color and use its output to set the frame
19613 background-mode. (Bug#8597)
19615 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
19617 Make bytecomp.el understand that defmethod defines funs (bug#8631).
19618 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
19620 (defgeneric, eieio--defmethod): Use them.
19621 (eieio-defgeneric): Remove.
19622 (defmethod): Call defgeneric in a way visible to the byte-compiler.
19624 2011-05-07 Glenn Morris <rgm@gnu.org>
19626 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
19627 Use let rather than let*.
19628 (timeclock-find-discrep): Remove unused local.
19630 * calendar/diary-lib.el (diary-comment-start): Doc fix.
19632 * calendar/appt.el (appt-time-msg-list): Doc fix.
19634 2011-05-06 Noah Friedman <friedman@splode.com>
19636 * apropos.el (apropos-print-doc): Only use
19637 emacs-lisp-docstring-fill-column when it is bound to an integer,
19638 per that variable's documentation.
19640 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
19642 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
19643 and warnings are not silently discarded (e.g. use -d instead of -P).
19645 2011-05-06 Glenn Morris <rgm@gnu.org>
19647 * calendar/appt.el (appt-message-warning-time): Doc fix.
19648 (appt-warning-time-regexp): New option.
19649 (appt-make-list): Respect appt-message-warning-time.
19651 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
19653 (diary-add-to-list): Strip comments from the displayed string.
19654 (diary-mode): Set comment-start and comment-end.
19656 * vc/diff-mode.el (smerge-refine-subst): Declare.
19657 (diff-refine-hunk): Don't require smerge-mode when compiling.
19659 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
19661 * simple.el (list-processes): Return nil as the docstring says.
19663 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
19665 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
19667 (ange-ftp-write-region, ange-ftp-insert-file-contents)
19668 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
19669 determining of binary transfer. (Bug#7383)
19671 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
19673 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19674 Fix port computation bug. (Bug#8618)
19676 2011-05-05 Glenn Morris <rgm@gnu.org>
19678 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
19680 * simple.el (shell-dynamic-complete-functions)
19681 (comint-dynamic-complete-functions): Declare.
19683 * net/network-stream.el (gnutls-negotiate):
19684 * simple.el (tabulated-list-print): Fix declarations.
19686 * progmodes/gud.el (syntax-symbol, syntax-point):
19687 Remove unnecessary and incorrect declarations.
19689 * emacs-lisp/check-declare.el (check-declare-scan):
19690 Handle byte-compile-initial-macro-environment in bytecomp.el.
19692 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
19694 Fix earlier half-done eieio-defmethod change (bug#8338).
19695 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
19696 Streamline and change calling convention.
19697 (defmethod): Adjust accordingly and simplify.
19698 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
19699 new eieio--defmethod.
19700 (slot-boundp): Minor CSE simplification.
19702 2011-05-05 Milan Zamazal <pdm@zamazal.org>
19704 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
19705 (glasses-make-readable): Use glasses-separate-capital-groups.
19707 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
19709 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
19710 (warning-series): Doc fix.
19711 (display-warning): Don't try to create the buffer if we just found it.
19713 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
19715 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
19716 (autoload-find-generated-file): New function.
19717 (generate-file-autoloads): Bind generated-autoload-file to
19719 (update-file-autoloads, update-directory-autoloads):
19720 Use autoload-find-generated-file. If called interactively, prompt for
19721 output file (Bug#7989).
19722 (batch-update-autoloads): Doc fix.
19724 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
19726 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
19728 2011-05-04 Glenn Morris <rgm@gnu.org>
19730 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
19731 function, so it follows changes in calendar-date-style.
19732 (diary-fancy-date-matcher): New function.
19733 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
19734 (diary-fancy-font-lock-fontify-region-function):
19735 Use diary-fancy-date-pattern as a function.
19737 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
19738 non-numbers for `year' etc pseudo-variables. (Bug#8583)
19740 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
19742 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
19743 instead of positional arguments. Allow :keylist and :crlfiles
19745 (open-gnutls-stream): Call it.
19747 * net/network-stream.el (network-stream-open-starttls): Adjust to
19748 call `gnutls-negotiate' with :process and :hostname arguments.
19750 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
19752 * minibuffer.el (completion--message): New function.
19753 (completion--do-completion, minibuffer-complete)
19754 (minibuffer-force-complete, minibuffer-complete-word): Use it.
19755 (completion--do-completion): Don't ignore completion-auto-help when in
19758 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
19759 internal encoding (e.g. tibetan zero is not whitespace).
19760 (global-whitespace-mode): Prefer save-current-buffer.
19761 (whitespace-trailing-regexp): Remove useless save-match-data.
19762 (whitespace-empty-at-bob-regexp): Minor simplification.
19764 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
19766 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
19768 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
19770 * textmodes/ispell.el (ispell-add-per-file-word-list):
19771 Use `concat' to create string for insertion.
19773 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
19775 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
19776 Avoid open-line which runs post-self-insert-hook.
19777 (bibtex-fill-entry): Remove unused `end' var.
19779 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
19781 * textmodes/ispell.el (ispell-add-per-file-word-list):
19782 Protect against `nil' value of `comment-start' (Bug#8579).
19784 2011-05-03 Leo Liu <sdl.web@gmail.com>
19786 * isearch.el (isearch-yank-pop): New command.
19787 (isearch-mode-map): Bind it to `M-y'.
19788 (isearch-forward): Mention it.
19790 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
19792 * simple.el (minibuffer-complete-shell-command): Remove.
19793 (minibuffer-local-shell-command-map): Use completion-at-point.
19794 (read-shell-command): Setup completion vars here instead.
19795 (read-expression-map): Bind TAB to symbol completion.
19797 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
19798 error directly rather via storing it into `results'.
19800 2011-05-02 Leo Liu <sdl.web@gmail.com>
19802 * vc/diff.el: Fix description.
19804 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19806 * server.el (server-eval-at): New function.
19808 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
19810 * net/network-stream.el (open-network-stream): Take a :nowait
19811 parameter and pass it on to `make-network-process'.
19812 (network-stream-open-plain): Ditto.
19814 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
19816 * faces.el (face-spec-set-match-display): Don't match toolkit
19817 options on terminal frames.
19819 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
19821 * progmodes/pascal.el: Use lexical binding.
19822 (pascal-mode-map): Remove author preferences.
19824 * pcomplete.el (pcomplete-std-complete): Don't abuse
19825 completion-at-point.
19827 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
19829 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
19830 removing code that has been dead since 1991 or so.
19832 * startup.el (command-line): When warning about "_emacs", use a
19833 delayed warning to allow the user to filter it out.
19835 2011-04-28 Deniz Dogan <deniz@dogan.se>
19837 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
19838 user has not joined.
19840 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
19842 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
19843 aren't any completions at point.
19845 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
19847 * subr.el (display-delayed-warnings): New function.
19848 (delayed-warnings-hook): New variable.
19850 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
19852 * minibuffer.el (completion-at-point, completion-help-at-point):
19853 Don't presume that a given completion-at-point-function will always
19854 use the same calling convention.
19856 * pcomplete.el (pcomplete-completions-at-point):
19857 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
19858 pcomplete-seen is non-nil.
19859 (pcomplete-comint-setup): Also recognize the new comint/shell
19860 completion functions.
19861 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
19862 pcomplete-seen is non-nil.
19864 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
19866 * calendar/icalendar.el (diary-lib): Add require statement.
19867 (icalendar--create-uid): Read out a uid from a text-property on
19868 the first character in the entry. This allows for code to add its
19869 own uid to the entry.
19870 (icalendar--convert-float-to-ical): Add export of
19871 `diary-float'-entries save for those with the optional DAY
19874 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
19876 * subr.el (shell-quote-argument): Use alternate escaping strategy
19877 when we spot a variable reference in a string.
19879 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
19881 * cus-start.el (all): Define customization for debug-on-event.
19883 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
19885 * subr.el (shell-quote-argument): Escape correctly under Windows.
19887 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
19889 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
19891 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
19893 * net/tramp.el (tramp-process-actions): Add POS argument.
19894 Delete region between POS and (pos).
19896 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19897 Use `nil' position in `tramp-process-actions' call.
19898 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
19900 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
19901 position in `tramp-process-actions' call.
19903 * net/trampver.el: Update release number.
19905 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
19907 * custom.el (defcustom): Obey lexical-binding.
19909 Fix octave-inf completion problems reported by Alexander Klimov.
19910 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
19911 Inherit from octave-mode-syntax-table.
19912 (inferior-octave-mode): Set info-lookup-mode.
19913 (inferior-octave-completion-at-point): New function.
19914 (inferior-octave-complete): Use it and completion-in-region.
19915 (inferior-octave-dynamic-complete-functions): Use it as well, and use
19916 comint-filename-completion.
19917 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
19918 symbol elements which shouldn't be word elements.
19919 (octave-font-lock-keywords, octave-beginning-of-defun)
19920 (octave-function-header-regexp): Adjust regexps accordingly.
19921 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
19923 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
19925 * net/gnutls.el (gnutls-errorp): Declare before first use.
19927 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
19929 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
19930 verify-error, and verify-hostname-error parameters. Check whether
19931 default trustfile exists before going to use it. Add missing
19932 argument to gnutls-message-maybe call. Return value.
19933 Reported by Claudio Bley <claudio.bley@gmail.com>.
19934 (open-gnutls-stream): Add usage example.
19936 * net/network-stream.el (network-stream-open-starttls): Give host
19937 parameter to `gnutls-negotiate'.
19938 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
19939 * subr.el (shell-quote-argument): Escape correctly under Windows.
19941 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
19943 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
19944 Use correct match group (bug#8438).
19946 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
19948 * emacs-lisp/package.el (package-built-in-p): Fix typo.
19949 (package-menu--generate): New arg specifying packages to show.
19950 (package-menu-refresh, package-menu-execute, list-packages):
19952 (package-show-package-list): New function, replacing deleted
19953 package--list-packages (renamed because it is non-internal).
19955 * finder.el (finder-list-matches): Use package-show-package-list
19956 instead of deleted package--list-packages.
19958 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
19959 Based on a previous implementation by Juanma Barranquero (Bug#8366).
19960 (vc-annotate-mode-map): Bind it to RET.
19962 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
19964 * progmodes/etags.el (next-file): Don't use set-buffer to change
19965 buffers (Bug#8478).
19967 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
19969 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
19971 * apropos.el (apropos-label-face): Avoid variable-pitch face.
19972 (apropos-accumulator): Doc fix.
19973 (apropos-function, apropos-macro, apropos-command)
19974 (apropos-variable, apropos-face, apropos-group, apropos-widget)
19975 (apropos-plist): Add face property.
19976 (apropos-symbols-internal): Fix indentation.
19977 (apropos-print): Simplify help, and recognize apropos-multi-type.
19978 (apropos-print-doc): Use button-type-get to extract the button's
19979 face property. Fill docstring (Bug#8352).
19981 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
19983 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
19985 * play/mpuz.el (mpuz-silent): Doc fix.
19986 (mpuz-mode-map): Use mapc.
19987 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
19988 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
19989 Fix typos in docstrings.
19991 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
19992 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
19994 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
19996 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
19998 * minibuffer.el (completion--do-completion): Avoid the "Next char
19999 not unique" prompt if icomplete-mode is enabled (Bug#5849).
20001 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
20002 mouse-2 into unread-command-events, it is interpreted correctly.
20004 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
20005 (image-toggle-display): Doc fix.
20007 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
20009 * textmodes/page.el (what-page): Use line-number-at-pos to
20010 calculate line number (Bug#6825).
20012 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
20014 * eshell/esh-mode.el (find-tag-interactive): Declare function.
20015 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
20016 Pass argument NO-DEFAULT to `find-tag-interactive'.
20018 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
20020 Lexical-binding cleanup.
20022 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
20023 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
20024 * progmodes/ada-prj.el (ada-prj-initialize-values)
20025 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
20026 (ada-prj-show-value):
20027 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
20028 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
20029 (antlr-invalidate-context-cache, antlr-options-menu-filter)
20030 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
20031 * progmodes/bug-reference.el (bug-reference-push-button):
20032 * progmodes/fortran.el (fortran-line-length):
20033 * progmodes/glasses.el (glasses-change):
20034 * progmodes/octave-mod.el (octave-fill-paragraph):
20035 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
20036 (python-pdbtrack-grub-for-buffer, python-sentinel):
20037 * progmodes/sql.el (sql-save-connection):
20038 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
20039 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
20040 Mark unused parameters.
20042 * progmodes/compile.el (compilation--flush-directory-cache)
20043 (compilation--flush-parse, compile-internal): Mark unused parameters.
20044 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
20045 (compilation-next-error-function): Remove unused variable `timestamp'.
20047 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
20048 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
20050 * progmodes/dcl-mode.el (dcl-end-of-command):
20051 Remove unused variable `start'.
20052 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
20053 (dcl-option-value-basic, dcl-option-value-offset)
20054 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
20055 Mark unused parameters.
20056 (dcl-save-local-variable): Remove unused variable `val'.
20059 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
20060 Mark unused parameters.
20061 (delphi-ignore-changes): Move before first use.
20062 (delphi-charset-token-at): Remove unused variable `start'.
20063 (delphi-else-start): Remove unused variable `if-count'.
20064 (delphi-comment-block-start, delphi-comment-block-end):
20065 Remove unused variable `kind'.
20066 (delphi-indent-line): Remove unused variable `new-point'.
20068 * progmodes/ebrowse.el (ebrowse-files-list)
20069 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
20070 Mark unused parameters. Don't quote `lambda'.
20071 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
20072 Don't quote `lambda'.
20073 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
20074 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
20075 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
20076 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
20077 Use `ignore-errors'.
20078 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
20079 (ebrowse-view/find-file-and-search-pattern)
20080 (ebrowse-view/find-member-declaration/definition):
20081 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
20082 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
20083 Rename parameter PREFIX-ARG to PREFIX.
20084 (ebrowse-tags-read-name): Remove unused variables `start' and
20086 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
20089 * progmodes/etags.el (local-find-tag-hook): Declare.
20090 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
20091 Mark unused parameters.
20093 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
20094 (executable-interpret): Mark unused parameter.
20096 * progmodes/flymake.el (flymake-process-sentinel)
20097 (flymake-after-change-function)
20098 (flymake-create-temp-with-folder-structure)
20099 (flymake-get-include-dirs-dot): Mark unused parameters.
20100 (flymake-safe-delete-directory): Remove unused variable `err'.
20102 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
20103 (speedbar-timer-fn, speedbar-line-text)
20104 (speedbar-change-expand-button-char, speedbar-delete-subblock)
20105 (speedbar-center-buffer-smartly): Declare functions.
20106 (gdb-find-watch-expression): Remove unused variable `array'.
20107 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
20108 (gdb-starting): Mark unused parameters.
20109 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
20110 (gdb-table-string): Remove unused variable `res'.
20111 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
20112 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
20113 (gdb-display-buffer): Remove unused variable `cur-size'.
20115 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
20116 allow lexical-binding compilation.
20117 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
20118 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
20119 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
20120 Mark unused parameters.
20121 (gud-gdb-marker-filter): Remove unused variable `match'.
20122 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
20123 lambda expressions and funcall them, instead of using `fset'.
20125 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
20126 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
20128 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
20129 variable `header-beg'; use `let'.
20131 * progmodes/icon.el (indent-icon-exp): Remove unused variables
20132 `restart', `last-sexp' and `at-do'.
20134 * progmodes/js.el (js--debug): Mark unused parameter.
20135 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
20136 (js--splice-into-items): Remove unused variable `item'.
20137 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
20139 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
20140 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
20141 (makefile-complete): Remove unused variable `try'.
20142 (makefile-fill-paragraph, makefile-match-function-end):
20143 Mark unused parameters.
20145 * progmodes/octave-inf.el (inferior-octave-complete):
20146 Remove unused variable `proc'.
20147 (inferior-octave-output-digest): Mark unused parameter.
20149 * progmodes/perl-mode.el (perl-calculate-indent):
20150 Remove unused variable `err'.
20152 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
20153 (prolog-indent-line): Mark unused parameters.
20154 (prolog-indent-line): Remove unused variable `beg'.
20156 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
20157 (reporter-dont-compact-list): Declare.
20159 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
20160 Remove unused variable `char'.
20161 (sh-debug): Mark unused parameter.
20162 (sh-get-indent-info): Remove unused variable `start'.
20163 (sh-calculate-indent): Remove unused variable `var'.
20165 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
20166 (simula-electric-keyword): Remove unused variable `null'.
20167 (simula-search-backward, simula-search-forward): Remove unused
20168 variables `begin' and `end'.
20170 * progmodes/vera-mode.el (vera-guess-basic-syntax):
20171 Remove unused variable `pos'.
20172 (vera-electric-tab, vera-comment-uncomment-region):
20173 Mark unused parameters.
20174 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
20176 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
20178 * emacs-lisp/package.el (package--builtins, package-alist)
20179 (package-load-descriptor, package-built-in-p, package-activate)
20180 (define-package, package-installed-p)
20181 (package-compute-transaction, package-buffer-info)
20182 (package--push): Doc fix. Distinguish more clearly between
20183 version strings and version lists.
20185 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
20187 Lexical-binding cleanup.
20189 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
20190 (5x5-make-mutate-best):
20191 * play/fortune.el (fortune-in-buffer):
20192 * play/gomoku.el (gomoku-init-display):
20193 * play/solitaire.el (solitaire, solitaire-do-check):
20194 * play/tetris.el (tetris-default-update-speed-function):
20195 Mark unused parameters.
20197 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
20198 (bubbles--shift): Remove unused variable `char-org'.
20199 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
20200 (bubbles--show-images): Remove unused variable `char'.
20202 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
20203 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
20204 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
20205 (decipher-analyze-buffer): Use ?\s.
20206 (decipher-make-checkpoint): Remove unused variable `mapping'.
20208 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
20210 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
20211 Remove unused variable `result'; use `let'.
20213 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
20214 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
20215 (gametree-children-shown-p, gametree-compute-reduced-score):
20216 Use `ignore-errors'.
20218 * play/handwrite.el (ps-lpr-switches): Declare.
20219 (handwrite): Remove unused variables `pmin' and `lastp'.
20221 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
20223 * play/landmark.el (landmark-init-display)
20224 (landmark-update-naught-weights): Mark unused parameters.
20225 (landmark-y): Remove unused variable `noise'. Simplify.
20226 (landmark-human-plays): Remove unused variable `score'.
20228 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
20229 (mpuz-try-proposal): Remove unused variable `game'.
20231 * play/zone.el (life-patterns): Declare.
20233 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
20235 * vc/vc.el (ediff-vc-internal): Declare function.
20237 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
20239 * shell.el: Use lexical-binding and std completion UI.
20240 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
20241 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
20242 comint-preoutput-filter-functions rather than on
20243 comint-output-filter-functions.
20244 (shell-command-completion, shell--command-completion-data)
20245 (shell-filename-completion, shell-environment-variable-completion)
20246 (shell-c-a-p-replace-by-expanded-directory): New functions.
20247 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
20248 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
20249 (shell-dynamic-complete-environment-variable): Use them.
20250 (shell-dynamic-complete-as-environment-variable)
20251 (shell-dynamic-complete-as-command): Remove.
20252 (shell-match-partial-variable): Match past point.
20253 * comint.el: Clean up use of completion-at-point-functions.
20254 (comint-completion-at-point): New function.
20255 (comint-mode): Use it completion-at-point-functions.
20256 (comint-dynamic-complete): Make it obsolete.
20257 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
20258 (comint-c-a-p-replace-by-expanded-history): New function.
20259 (comint-dynamic-complete-functions)
20260 (comint-replace-by-expanded-history): Use it.
20261 * minibuffer.el (completion-table-with-terminator): Allow dynamic
20262 termination strings. Try harder to avoid second try-completion.
20263 (completion-in-region-mode-map): Disable bindings that don't work yet.
20265 * comint.el: Use lexical-binding. Require CL.
20266 (comint-dynamic-complete-functions): Use comint-filename-completion.
20267 (comint-completion-addsuffix): Tweak custom type.
20268 (comint-filename-completion, comint--common-suffix)
20269 (comint--common-quoted-suffix, comint--table-subvert)
20270 (comint--complete-file-name-data): New functions.
20271 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
20272 (comint-dynamic-list-filename-completions): Use them.
20273 (comint-dynamic-simple-complete): Make obsolete.
20275 * minibuffer.el (completion-in-region-mode):
20276 Keep completion-in-region-mode--predicate global.
20277 (completion-in-region--postch):
20278 Assume completion-in-region-mode--predicate is not null.
20280 * progmodes/flymake.el (flymake-start-syntax-check-process):
20281 Obey `dir'. Simplify.
20283 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
20284 we're in VC after all.
20286 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
20288 * vc/vc.el (vc-diff-build-argument-list-internal)
20289 (vc-version-ediff, vc-ediff): New commands.
20290 (vc-version-diff): Use vc-diff-build-argument-list-internal.
20292 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
20294 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
20297 * obsolete/erc-hecomplete.el: Make obsolete.
20298 * obsolete/: Standardize obsolescence info in the header.
20300 2011-04-20 Glenn Morris <rgm@gnu.org>
20302 * calendar/solar.el (solar-horizontal-coordinates):
20303 Use the longitude argument rather than `calendar-longitude'.
20304 (solar-date-next-longitude): Remove unused locals.
20306 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
20308 * whitespace.el: New version 13.2.1.
20310 2011-04-20 felix <EmacsWiki> (tiny change)
20312 * whitespace.el (global-whitespace-mode): Keep highlight when
20313 switching between major modes on a file.
20315 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
20317 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
20318 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
20319 multi-line comments as well.
20321 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
20323 Lexical-binding cleanup.
20325 * arc-mode.el (archive-mode-revert):
20326 * cmuscheme.el (scheme-interactively-start-process):
20327 * custom.el (custom-initialize-delay):
20328 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
20329 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
20330 * emacs-lock.el (emacs-lock-clear-sentinel):
20331 * ezimage.el (defezimage):
20332 * follow.el (follow-avoid-tail-recenter):
20333 * fringe.el (set-fringe-mode-1):
20334 * generic-x.el (bat-generic-mode-compile):
20335 * help-mode.el (help-info-variable, help-do-xref)
20336 (help-mode-revert-buffer):
20337 * help.el (view-emacs-todo):
20338 * iswitchb.el (iswitchb-completion-help):
20339 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
20340 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
20341 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
20342 * locate.el (locate-update):
20343 * longlines.el (longlines-encode-region)
20344 (longlines-after-change-function):
20345 * outline.el (outline-isearch-open-invisible):
20346 * ps-def.el (declare-function, charset-dimension, char-width)
20348 * ps-mule.el (ps-mule-plot-string):
20349 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
20350 (recentf-edit-list-select, recentf-edit-list-validate)
20351 (recentf-open-files-action):
20352 * rect.el (delete-whitespace-rectangle-line)
20353 (rectangle-number-line-callback):
20354 * register.el (window-configuration-to-register)
20355 (frame-configuration-to-register):
20356 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
20357 * select.el (xselect-convert-to-string, xselect-convert-to-length)
20358 (xselect-convert-to-targets, xselect-convert-to-delete)
20359 (xselect-convert-to-filename, xselect-convert-to-charpos)
20360 (xselect-convert-to-lineno, xselect-convert-to-colno)
20361 (xselect-convert-to-os, xselect-convert-to-host)
20362 (xselect-convert-to-user, xselect-convert-to-class)
20363 (xselect-convert-to-name, xselect-convert-to-integer)
20364 (xselect-convert-to-atom, xselect-convert-to-identity):
20365 * subr.el (declare, ignore, process-kill-without-query)
20366 (text-clone-maintain):
20367 * terminal.el (te-get-char, te-tic-sentinel):
20368 * tool-bar.el (tool-bar-make-keymap):
20369 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
20370 * type-break.el (type-break-mode, type-break-noninteractive-query):
20371 * view.el (View-back-to-mark):
20372 * wid-browse.el (widget-browse-action, widget-browse-widget)
20373 (widget-browse-widgets, widget-browse-sexp):
20374 * widget.el (define-widget-keywords):
20375 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
20376 Mark unused parameters.
20378 * align.el (align-adjust-col-for-rule): Mark unused parameter.
20379 (align-areas): Remove unused variable `look'.
20380 (align-region): Remove unused variables `real-end' and `pos-list'.
20382 * apropos.el (apropos-score-doc): Remove unused variable `i'.
20384 * bindings.el (mode-line-modified, mode-line-remote):
20385 Mark unused parameters.
20386 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
20388 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
20389 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
20391 * comint.el (comint-history-isearch-pop-state)
20392 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
20393 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
20394 (comint-substitute-in-file-name): Doc fix.
20396 * completion.el (cmpl-statistics-block): Mark unused parameter.
20397 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
20398 (save-completions-to-file, load-completions-from-file):
20399 Remove unused local variable `e'.
20401 * composite.el (compose-chars): Remove unused variable `len'.
20402 (lgstring-insert-glyph): Remove unused variable `g'.
20403 (compose-glyph-string): Remove unused variables `ascent',
20404 `descent', `lbearing' and `rbearing'.
20405 (compose-glyph-string-relative): Remove unused variables
20406 `lbearing', `rbearing' and `wadjust'.
20407 (compose-gstring-for-graphic): Remove unused variables `header',
20408 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
20409 (compose-gstring-for-terminal): Remove unused variables `header'
20410 and `nchars'. Use `let', not `let*'.
20412 * cus-edit.el (Custom-set, Custom-save, custom-reset)
20413 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
20414 (Custom-buffer-done, custom-buffer-create-internal)
20415 (custom-browse-visibility-action, custom-browse-group-tag-action)
20416 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
20417 (widget-magic-mouse-down-action, custom-toggle-parent)
20418 (custom-add-parent-links, custom-toggle-hide-variable)
20419 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
20420 (custom-toggle-hide-face, face, hook, custom-group-link-action)
20421 (custom-face-menu-create, custom-variable-menu-create, get)
20422 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
20423 (custom-reset-standard-save-and-update): Remove unused variable `value'.
20424 (customize-apropos): Remove unused variable `tests'.
20425 (custom-group-value-create): Remove unused variable `hidden-p'.
20426 (sort-fold-case): Declare.
20428 * cus-theme.el (custom-reset-standard-faces-list)
20429 (custom-reset-standard-variables-list): Declare.
20430 (customize-create-theme, custom-theme-revert, custom-theme-write)
20431 (custom-theme-choose-mode, customize-themes, custom-theme-save):
20432 Mark unused parameters.
20434 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
20436 * delim-col.el (delimit-columns-max): Move defvar before first use.
20438 * descr-text.el (describe-char-categories): Don't quote `lambda'.
20439 (describe-char): Don't quote `lambda'. Mark unused parameter.
20441 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
20442 (auto-insert): Declare.
20443 (desktop-restore-file-buffer): Rename desktop-* parameters;
20445 (desktop-create-buffer): Rename desktop-* parameters and bind them.
20446 (desktop-buffer): Rename desktop-* parameters.
20448 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
20449 (dframe-reposition-frame-xemacs, dframe-help-echo)
20450 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
20451 Mark unused parameters.
20453 * dired-aux.el (backup-extract-version-start, overwrite-query)
20454 (overwrite-backup-query, rename-regexp-query)
20455 (rename-non-directory-query): Declare.
20456 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
20457 (dired-add-entry): Remove unused variable `orig-file-name'.
20458 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
20459 Use parameter PRESERVE-TIME instead of accessing dynamic variable
20460 `dired-copy-preserve-time' directly.
20461 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
20462 (dired-insert-subdir-newpos): Rename unused variable `pos'.
20464 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
20465 (dired-virtual-revert, dired-make-relative-symlink):
20466 Mark unused parameters.
20467 (manual-program): Declare.
20468 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
20469 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
20470 wrapped in `with-no-warnings' to avoid replacing one warning by another.
20472 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
20474 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
20476 * echistory.el (electric-history-in-progress, Helper-return-blurb):
20479 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
20481 * electric.el (Electric-command-loop): Rename parameter
20482 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
20484 * expand.el (expand-in-literal): Remove unused variable `here'.
20486 * facemenu.el (facemenu-add-new-color):
20487 Remove unused variable `docstring'.
20489 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
20490 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
20491 (face-attr-construct): Mark unused parameter. Doc fix.
20492 (read-color): Remove unused variable `hex-string'.
20494 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
20495 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
20496 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
20497 (display-buffer-other-frame): Remove unused variable `old-window'.
20498 (kill-buffer-hook): Declare.
20499 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
20500 Mark unused parameters.
20501 (after-find-file): Pass 1 to `auto-save-mode', not t.
20503 * files-x.el (auto-insert): Declare.
20504 (modify-file-local-variable-prop-line): Remove unused variable `val'.
20506 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
20507 variable `buf'. Mark unused parameter.
20508 (find-lisp-insert-directory): Mark unused parameter.
20510 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
20511 (format-encode-region): Remove unused variables `cur-buf' and `result'.
20512 (format-common-tail): Remove, unused.
20513 (format-deannotate-region): Remove unused variable `loc'.
20514 (format-annotate-region): Remove unused variable `p'.
20515 (format-annotate-single-property-change): Remove unused variables
20516 `default' and `tail'.
20518 * forms.el (read-file-filter): Declare.
20519 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
20521 * frame.el (frame-creation-function-alist): Mark unused parameter.
20522 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
20524 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
20525 Remove unused parameters.
20526 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
20527 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
20529 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
20530 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
20531 (hfy-prepare-tag-map): Mark unused parameters.
20532 (htmlfontify-buffer): Use `called-interactively-p'.
20534 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
20535 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
20536 (ibuffer-do-occur): Mark unused parameters.
20537 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
20538 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
20540 * ibuffer.el: Don't quote `lambda'.
20541 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
20542 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
20543 Mark unused parameters.
20545 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
20546 (ido-completing-read): Mark unused parameters.
20547 (ido-copy-current-word): Mark unused parameters;
20548 remove unused variable `name'.
20549 (ido-sort-merged-list): Remove unused parameter `dirs'.
20551 * ielm.el (ielm-input-sender): Mark unused parameter.
20552 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
20553 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
20554 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
20555 `ielm-string' as a dynamic variable accessible from the IELM prompt.
20556 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
20558 * image-dired.el (image-dired-display-thumbs): Remove unused
20559 variables `curr-file' and `count'.
20560 (image-dired-remove-tag): Remove unused variable `start'.
20561 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
20562 variable `curr-file'
20563 (image-dired-rotate-original): Remove unused variable `temp-file'.
20564 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
20565 Remove unused variable `file'.
20566 (image-dired-gallery-generate): Remove unused variable `curr'.
20567 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
20569 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
20571 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
20573 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
20575 * isearch.el (minibuffer-history-symbol): Declare.
20576 (isearch-edit-string): Remove unused variable `err'.
20577 (isearch-message-prefix, isearch-message-suffix):
20578 Mark unused parameters.
20580 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
20582 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
20584 * makesum.el (double-column): Remove unused variable `cnt'.
20586 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
20587 (ido-ignore-item-temp-list): Declare.
20589 * mouse-drag.el (mouse-drag-throw): Remove unused variables
20590 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
20591 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
20592 (mouse-drag-drag): Remove unused variables `mouse-delta' and
20595 * mouse-sel.el (mouse-extend-internal):
20596 Remove unused variable `orig-window-frame'.
20598 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
20599 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
20600 Move declarations before first use.
20601 (pcomplete-opt): Mark unused parameters; doc fix.
20603 * proced.el (proced-revert): Mark unused parameter.
20604 (proced-send-signal): Remove unused variable `err'.
20606 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
20607 Rename parameter PREFIX-ARG to ARG.
20608 (ps-basic-plot-string, ps-basic-plot-whitespace):
20609 Mark unused parameters.
20611 * replace.el (replace-count): Define.
20612 (occur-revert-function): Mark unused parameters.
20613 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
20614 (isearch-case-fold-search, isearch-string): Declare.
20615 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
20616 bind `case-fold-search'. Remove unused variables `beg' and `end',
20618 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
20619 COUNT and bind `replace-count'.
20620 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
20623 * savehist.el (print-readably, print-string-length): Declare.
20625 * shadowfile.el (shadow-expand-cluster-in-file-name):
20626 Remove unused variable `cluster'.
20627 (shadow-copy-file): Remove unused variable `i'.
20628 (shadow-noquery, shadow-clusters, shadow-site-cluster)
20629 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
20630 (shadow-define-literal-group, shadow-define-regexp-group)
20631 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
20633 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
20634 (shell): Use `called-interactively-p'.
20635 (shell-directory-tracker): Remove unused variable `chdir-failure'.
20637 * simple.el (compilation-context-lines, comint-file-name-quote-list)
20638 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
20639 (delete-backward-char): Remove unused variable `ocol'.
20640 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
20641 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
20642 (event-apply-hyper-modifier, event-apply-shift-modifier)
20643 (event-apply-control-modifier, event-apply-meta-modifier):
20644 Mark unused parameters.
20645 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
20646 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
20648 * speedbar.el (speedbar-ignored-directory-expressions)
20649 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
20650 (speedbar-find-file, speedbar-dir-follow)
20651 (speedbar-directory-buttons-follow, speedbar-tag-find)
20652 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
20653 (speedbar-buffers-line-directory, speedbar-buffer-click):
20654 Mark unused parameters.
20655 (speedbar-tag-file): Remove unused variable `mode'.
20656 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
20658 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
20660 * talk.el (talk): Remove unused variable `display'.
20662 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
20663 (tar-write-region-annotate): Mark unused parameter.
20665 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
20666 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
20667 Declare them, wrapped in `with-no-warnings' to avoid replacing one
20668 warning by another.
20670 * time-stamp.el (time-stamp-string-preprocess):
20671 Remove unused variable `require-padding'.
20673 * tree-widget.el (widget-glyph-enable): Declare.
20674 (tree-widget-action): Mark unused parameter.
20676 * w32-fns.el (x-get-selection): Mark unused parameter.
20677 (autoload-make-program, generated-autoload-file): Declare.
20679 * wdired.el (wdired-revert): Mark unused parameters.
20680 (wdired-xcase-word): Remove unused variable `err'.
20682 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
20683 (whitespace-help-scroll): Remove unused variable `data-help'.
20685 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
20686 (widget-image-insert, widget-after-change, default)
20687 (widget-default-format-handler, widget-default-notify)
20688 (widget-default-prompt-value, widget-info-link-action)
20689 (widget-url-link-action, widget-function-link-action)
20690 (widget-variable-link-action, widget-file-link-action)
20691 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
20692 (widget-field-prompt-internal, widget-field-action, widget-field-match)
20693 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
20694 (widget-insert-button-action, widget-delete-button-action, visibility)
20695 (widget-documentation-link-action, widget-documentation-string-action)
20696 (widget-const-prompt-value, widget-regexp-match, symbol)
20697 (widget-coding-system-prompt-value)
20698 (widget-key-sequence-value-to-external, sexp)
20699 (widget-sexp-value-to-internal, character, vector, cons)
20700 (widget-choice-prompt-value, widget-boolean-prompt-value)
20701 (widget-color--choose-action): Mark unused parameters.
20702 (widget-item-match-inline, widget-choice-match-inline)
20703 (widget-checklist-match, widget-checklist-match-inline)
20704 (widget-group-match): Rename parameter VALUES to VALS.
20705 (widget-field-value-set): Remove unused variable `size'.
20706 (widget-color-action): Remove unused variables `value' and `start'.
20708 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
20709 variable `dir'. Doc fix.
20710 (windmove-find-other-window): Don't pass it.
20712 * window.el (count-windows): Mark unused parameter.
20713 (bw-adjust-window): Remove unused variable `err'.
20715 * woman.el (woman-file-name): Remove unused variable `default'.
20716 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
20717 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
20718 (global-font-lock-mode): Declare.
20719 (woman-decode-region): Mark unused parameter.
20720 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
20722 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
20723 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
20724 (x-dnd-handle-moz-url): Remove unused variable `title'.
20725 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
20727 * xml.el (xml-parse-tag, xml-parse-attlist):
20728 Remove unused variable `pos'.
20730 2011-04-19 Glenn Morris <rgm@gnu.org>
20732 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
20733 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
20734 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
20735 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
20736 * calendar/cal-html.el (cal-html-insert-minical):
20737 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
20738 (calendar-mark-date-pattern):
20739 Prefix "unused" locals.
20741 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
20742 optional argument `style'.
20744 * calendar/appt.el (appt-make-list):
20745 * calendar/cal-china.el (calendar-chinese-date-string):
20746 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
20747 (diary-hebrew-yahrzeit):
20748 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
20749 * calendar/calendar.el (calendar-generate-window):
20750 * calendar/time-date.el (time-to-days):
20751 Remove unused local variables.
20753 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
20755 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
20756 glyphless-char-display table.
20757 (tabulated-list-glyphless-char-display): New var.
20759 2011-04-18 Sam Steingold <sds@gnu.org>
20761 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
20762 to acknowledgments.
20764 2011-04-17 Glenn Morris <rgm@gnu.org>
20766 * calendar/diary-lib.el (diary-sexp-entry):
20767 * calendar/holidays.el (holiday-sexp):
20768 Set debug-on-error rather than the removed stack-trace-on-error.
20770 2011-04-16 Glenn Morris <rgm@gnu.org>
20772 * progmodes/f90.el: Use lexical-binding.
20773 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
20775 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
20777 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
20778 (mail-mode): Setup mailalias completion here instead.
20779 * mail/mailalias.el: Use lexical-binding.
20780 (pattern, mailalias-done): Declare dynamic.
20781 (mail-completion-at-point-function): New function, from mail-complete.
20782 (mail-complete): Use it.
20783 (mail-completion-expand): New function.
20784 (mail-get-names): Use it.
20785 (mail-directory, mail-directory-process, mail-directory-stream):
20786 Don't use `pattern' for lexically bound arg.
20788 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
20790 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
20791 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
20792 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
20794 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
20795 (byte-save-window-excursion, byte-temp-output-buffer-setup)
20796 (byte-interactive-p): Define them again, for use when inlining
20799 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
20801 * loadup.el: Use `string-to-number', not `string-to-int'.
20803 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
20805 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
20806 gud-gdb-complete-command.
20807 (gud-gdb-completions): New function, from gud-gdb-complete-command.
20808 (gud-gdb-completion-at-point): New function.
20809 (gud-gdb-completions): Remove.
20811 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
20813 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
20814 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
20815 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
20816 whether `executable-find' is bound.
20818 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
20820 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
20822 * minibuffer.el (completion-in-region-mode-predicate)
20823 (completion-in-region-mode--predicate): New vars.
20824 (completion-in-region, completion-in-region--postch)
20825 (completion-in-region-mode): Use them.
20826 (completion--capf-wrapper): Also return the hook function.
20827 (completion-at-point, completion-help-at-point):
20828 Adjust and provide a predicate.
20830 Preserve arg names for advice of subr and lexical functions (bug#8457).
20831 * help-fns.el (help-function-arglist): Consolidate the subr and
20832 new-byte-code cases. Add argument `preserve-names' to extract names
20833 from the docstring when needed.
20834 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
20835 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
20836 (ad-arglist): Use help-function-arglist's new arg.
20837 (ad-definition-type): Use cond.
20839 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
20841 * autorevert.el (auto-revert-handler):
20842 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
20843 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
20844 Don't quote lambda.
20846 * image-mode.el (image-transform-set-scale):
20847 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
20849 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20851 * net/network-stream.el (network-stream-open-starttls): Only do
20852 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
20853 Upgrades via gnutls-cli are too slow to be done opportunistically.
20855 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
20857 * dframe.el (dframe-current-frame): Remove spurious quote.
20859 2011-04-12 Glenn Morris <rgm@gnu.org>
20861 * calendar/cal-tex.el (cal-tex-end-document):
20862 Try to automatically use latin1 input if needed.
20864 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
20865 Don't try to cons a mark onto an empty element.
20867 2011-04-11 Leo Liu <sdl.web@gmail.com>
20869 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
20871 (ido-kill-buffer-at-head): Support killing virtual buffers.
20873 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
20875 * minibuffer.el (completion-show-inline-help): New var.
20876 (completion--do-completion, minibuffer-complete)
20877 (minibuffer-force-complete, minibuffer-complete-word):
20878 Inhibit minibuffer messages if completion-show-inline-help is nil.
20880 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
20881 to avoid interference from inline help (Bug#5849).
20883 2011-04-10 Leo Liu <sdl.web@gmail.com>
20885 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
20888 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
20890 * image-mode.el (image-toggle-display-image): Signal an error if
20892 (image-transform-mode, image-transform-resize)
20893 (image-transform-set-rotation): Doc fix.
20894 (image-transform-set-resize): Delete.
20895 (image-transform-set-scale, image-transform-fit-to-height)
20896 (image-transform-fit-to-width): Handle image-toggle-display-image
20897 and image-transform-resize directly.
20899 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
20901 * doc-view.el (doc-view-fit-width-to-window)
20902 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
20903 New functions for fitting the shown image to the Emacs window size.
20904 (doc-view-mode-map): Add bindings for the new functions.
20906 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
20908 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
20909 Fix typo in docstring.
20911 2011-04-08 Eli Zaretskii <eliz@gnu.org>
20913 * files.el (file-size-human-readable): Produce one digit after
20914 decimal, like "ls -lh" does.
20916 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
20917 the file size representation.
20919 * simple.el (list-processes): If async subprocesses are not
20920 available, error out with a clear error message.
20922 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
20924 * help.el (help-form-show): New function, to be called from C.
20925 Put help-form output in a buffer named differently than *Help*.
20927 2011-04-08 Eli Zaretskii <eliz@gnu.org>
20929 * files.el (file-size-human-readable): New function.
20931 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
20932 computing the representation inline. Don't require `cl'.
20934 2011-04-08 Glenn Morris <rgm@gnu.org>
20936 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
20938 * net/browse-url.el (browse-url-firefox):
20939 Test system-type, not system-configuration.
20941 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
20942 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
20943 Use log-edit-empty-buffer-p. (Bug#7598)
20945 * net/rlogin.el (rlogin-process-connection-type): Simplify.
20946 (rlogin-mode-map): Initialize in the defvar.
20947 (rlogin): Use ignore-errors.
20949 * replace.el (occur-mode-map): Some fixes for menu items.
20951 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
20953 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
20955 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
20957 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
20958 issuing unused warnings.
20960 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
20963 * simple.el: Lisp reimplement of list-processes. Based on an
20964 earlier reimplementation by Leo Liu, but using tabulated-list.el.
20965 (process-menu-mode): New major mode.
20966 (list-processes--refresh, list-processes):
20967 (process-menu-visit-buffer): New functions.
20969 * files.el (save-buffers-kill-emacs): Don't assume any return
20970 value of list-processes, which is undocumented anyway.
20972 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
20974 * emacs-lisp/tabulated-list.el: New file.
20976 * emacs-lisp/package.el: Use Tabulated List mode.
20977 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
20978 (package-menu-mode): Derive from tabulated-list-mode. Set up the
20979 table format using Tabulated List mode variables.
20980 (package--push): New macro, replacing package-list-maybe-add.
20981 (package-menu--generate): Use package--push. Renamed from
20982 package--generate-package-list.
20983 (package-menu-refresh, list-packages): Use it.
20984 (package-menu--print-info): Rename from package-print-package.
20985 Return insertion data instead of inserting it directly.
20986 (package-menu-describe-package, package-menu-execute):
20987 Use tabulated-list-get-id.
20988 (package-menu-mark-delete, package-menu-mark-install)
20989 (package-menu-mark-unmark, package-menu-backup-unmark)
20990 (package-menu-mark-obsolete-for-deletion):
20991 Use tabulated-list-put-tag.
20992 (package--list-packages, package-menu-revert)
20993 (package-menu-get-package, package-menu-get-version)
20994 (package-menu-sort-by-column): Functions deleted.
20995 (package-menu-package-list, package-menu-sort-key): Vars deleted.
20996 (package-menu--status-predicate, package-menu--version-predicate)
20997 (package-menu--name-predicate)
20998 (package-menu--description-predicate): Handle arguments in the
20999 Tabulated List format.
21000 (package-list-packages-no-fetch): Call list-packages.
21002 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
21004 * files.el (after-find-file-from-revert-buffer): Remove variable.
21005 (after-find-file): Don't bind it.
21006 (revert-buffer-in-progress-p): New variable.
21007 (revert-buffer): Bind it.
21008 Pass nil for `after-find-file-from-revert-buffer'.
21010 * saveplace.el (save-place-find-file-hook): Use new variable
21011 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
21013 2011-04-06 Glenn Morris <rgm@gnu.org>
21015 * Makefile.in (AUTOGEN_VCS): New variable.
21016 (autoloads): Use $AUTOGEN_VCS.
21018 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
21019 * calendar/calendar.el (calendar-mode-map):
21020 Check for toolkit scroll bars. (Bug#8305)
21022 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
21024 * minibuffer.el (completion-in-region--postch)
21025 (completion-in-region-mode): Remove unnecessary messages.
21027 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
21029 * font-lock.el (font-lock-refresh-defaults):
21030 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
21031 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
21033 * info.el (Info-directory-list, Info-read-node-name-2)
21034 (Info-split-parameter-string): Doc fixes.
21035 (Info-virtual-nodes): Reflow docstring.
21036 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
21037 (Info-apropos-toc-nodes, info-finder, Info-get-token)
21038 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
21039 Fix typos in docstrings.
21040 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
21041 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
21042 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
21043 (Info-restore-desktop-buffer): Mark unused parameters.
21044 (Info-directory-find-file, Info-directory-find-node)
21045 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
21046 (Info-virtual-index-find-node, Info-apropos-find-file)
21047 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
21048 Mark unused parameters; fix typos in docstrings.
21049 (Info-virtual-index): Remove unused local variable `nodename'.
21051 2011-04-05 Deniz Dogan <deniz@dogan.se>
21053 * net/rcirc.el: Update my e-mail address.
21054 (rcirc-mode-map): Remove M-o binding.
21056 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
21058 * startup.el (command-line): Save the cursor's theme-face
21059 directly, instead of using face-override-spec.
21061 * custom.el (load-theme): Minor optimization in assigning faces.
21063 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
21065 * help-fns.el (describe-variable): Complete all variables having
21066 documentation, including keywords.
21067 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
21069 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
21071 Convert to lexical-binding.
21073 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
21074 (bs--get-marked-string, bs--get-modified-string)
21075 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
21076 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
21077 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
21079 * ehelp.el (electric-help-execute-extended)
21080 (electric-help-ctrl-x-prefix):
21081 * hexl.el (hexl-revert-buffer-function):
21082 * linum.el (linum-after-change, linum-after-scroll):
21083 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
21085 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
21087 2011-04-04 Daiki Ueno <ueno@unixuser.org>
21094 * epg.el: Use lexical binding.
21096 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
21098 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
21100 * textmodes/flyspell.el (flyspell-word): Recognize default
21101 dictionary case for flyspell-mark-duplications-exceptions.
21102 Use regexp matching for languages.
21103 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
21104 default dictionary (Bug#7926).
21106 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
21108 * emacs-lisp/package.el (package--with-work-buffer):
21109 Recognize https URLs.
21111 * net/network-stream.el: Move from gnus/proto-stream.el.
21112 Change prefix to network-stream throughout.
21113 (open-protocol-stream): Merge into open-network-stream, leaving
21114 open-protocol-stream as an alias. Handle nil BUFFER args.
21116 * subr.el (open-network-stream): Move to net/network-stream.el.
21118 2011-04-02 Glenn Morris <rgm@gnu.org>
21120 * find-dired.el (find-exec-terminator): New option.
21121 (find-ls-option): Test for -ls support.
21122 (find-ls-subdir-switches): Test for -b in find-ls-option.
21123 (find-dired, find-grep-dired): Doc fixes.
21124 (find-dired): Use find-exec-terminator.
21126 * find-dired.el (find-ls-option, find-ls-subdir-switches)
21127 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
21128 (find-name-arg): Remove purecopy.
21130 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
21131 (grep-compute-defaults): Check for `-exec COMMAND +' support.
21132 Set grep-find-use-xargs, grep-find-command, and grep-find-template
21133 accordingly. Don't add the null-device if not needed.
21135 * files.el (save-some-buffers): Doc fix.
21137 2011-04-02 Eli Zaretskii <eliz@gnu.org>
21139 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
21141 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
21143 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
21144 Use `dolist' rather than `mapcar'.
21146 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
21148 Add lexical binding.
21150 * subr.el (apply-partially): Use new closures rather than CL.
21151 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
21152 (dolist, dotimes): Use slightly different expansion for lexical code.
21153 (functionp): Move to C.
21154 (letrec): New macro.
21155 (with-wrapper-hook): Use it and apply-partially instead of CL.
21156 (eval-after-load): Preserve lexical-binding.
21157 (save-window-excursion, with-output-to-temp-buffer): Turn them
21160 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
21162 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
21164 (help-add-fundoc-usage): Don't add `Not documented'.
21165 (help-function-arglist): Handle closures, subroutines, and new
21166 byte-code-functions.
21167 (help-make-usage): Remove leading underscores.
21168 (describe-function-1): Handle closures.
21169 (describe-variable): Use special-variable-p for completion.
21171 * files.el (lexical-binding): Declare safe.
21173 * emacs-lisp/pcase.el: Don't use destructuring-bind.
21174 (pcase--memoize): Rename from pcase-memoize. Change weakness.
21175 (pcase): Add `let' pattern.
21176 Change memoization so it actually works.
21177 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
21178 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
21181 * emacs-lisp/macroexp.el: Use lexical binding.
21182 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
21183 Don't convert ' to #' without checking that it's indeed quoting
21186 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
21187 Use eval-sexp-add-defvars.
21188 (eval-sexp-add-defvars): New fun.
21190 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
21192 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
21194 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
21195 than the internal `byte-compile-lambda'.
21196 (defmethod): Don't hide code under quotes.
21197 (eieio-defmethod): New `code' argument.
21199 * emacs-lisp/eieio-comp.el: Remove.
21201 * emacs-lisp/edebug.el (edebug-eval-defun)
21202 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
21203 (edebug-toggle): Avoid `eval'.
21205 * emacs-lisp/disass.el (disassemble-internal): Handle new
21207 (disassemble-1): Handle new byte codes.
21209 * emacs-lisp/cl.el (pushnew): Silence warning.
21211 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
21212 (cl-byte-compile-throw): Remove.
21213 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
21215 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
21218 * emacs-lisp/cconv.el: New file.
21220 * emacs-lisp/bytecomp.el: Use lexical binding instead of
21221 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
21222 (byte-compile-initial-macro-environment):
21223 Handle declare-function here.
21224 (byte-compile--lexical-environment): New var.
21225 (byte-stack-ref, byte-stack-set, byte-discardN)
21226 (byte-discardN-preserve-tos): New lap codes.
21227 (byte-interactive-p): Don't use any more.
21228 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
21230 (byte-compile-lapcode): Use them and handle new lap codes.
21231 (byte-compile-obsolete): Remove.
21232 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
21233 (byte-compile-arglist-warn): Check late def of inlinable funs.
21234 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
21235 since they should have been expanded by now.
21236 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
21237 (byte-compile-from-buffer): Remove unused second arg.
21238 (byte-compile-preprocess): New function.
21239 (byte-compile-toplevel-file-form): New function to distinguish
21240 file-form calls from outside from file-form calls from hunk-handlers.
21241 (byte-compile-file-form): Simplify.
21242 (byte-compile-file-form-defsubst): Remove.
21243 (byte-compile-file-form-defmumble): Simplify now that
21244 byte-compile-lambda always returns a byte-code-function.
21245 (byte-compile): Preprocess.
21246 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
21247 Remove, not used any more.
21248 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
21249 (byte-compile-make-args-desc): New funs.
21250 (byte-compile-lambda): Handle lexical functions. Always return
21251 a byte-code-function.
21252 (byte-compile-reserved-constants): New var, to make up room for
21253 closed-over variables.
21254 (byte-compile-constants-vector): Obey it.
21255 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
21256 (byte-compile-macroexpand-declare-function): New function.
21257 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
21258 byte-code-functions.
21259 (byte-compile-form): Check obsolescence here.
21260 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
21261 (byte-compile-variable-ref): Remove.
21262 (byte-compile-dynamic-variable-op): New fun.
21263 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
21264 (byte-compile-variable-set): New funs.
21265 (byte-compile-discard): Add 2 args.
21266 (byte-compile-stack-ref, byte-compile-stack-set)
21267 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
21268 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
21269 macroexpand-all instead.
21270 (byte-compile-quote-form): Remove.
21271 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
21272 (byte-compile-bind, byte-compile-unbind): New funs.
21273 (byte-compile-let): Handle let* and lexical binding.
21274 (byte-compile-let*): Remove.
21275 (byte-compile-catch, byte-compile-unwind-protect)
21276 (byte-compile-track-mouse, byte-compile-condition-case):
21277 Handle a new :fun-body form, used for lexical scoping.
21278 (byte-compile-save-window-excursion)
21279 (byte-compile-with-output-to-temp-buffer): Remove.
21280 (byte-compile-defun): Simplify.
21281 (byte-compile-stack-adjustment): New fun.
21282 (byte-compile-out): Use it.
21283 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
21285 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
21288 * emacs-lisp/byte-opt.el: Use lexical binding.
21289 (byte-inline-lapcode): Remove (to bytecomp).
21290 (byte-compile-inline-expand): Pay attention to inlining to/from
21291 lexically bound code.
21292 (byte-compile-unfold-lambda): Don't handle byte-code-functions
21294 (byte-optimize-form-code-walker): Don't handle save-window-excursion
21295 any more and don't call compiler-macros.
21296 (byte-compile-splice-in-already-compiled-code): Remove.
21297 (byte-code): Don't inline any more.
21298 (disassemble-offset): Receive `bytes' as argument rather than via
21300 (byte-compile-tag-number): Declare before first use.
21301 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
21302 `return' even if make-spliceable.
21303 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
21304 obsolete interactive-p.
21305 (byte-optimize-lapcode): Optimize new lap-codes.
21306 Don't trip up on new form of `byte-constant' lap code.
21308 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
21310 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
21312 * custom.el (custom-initialize-default, custom-declare-variable):
21315 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
21317 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
21318 (COMPILE_FIRST): Add macroexp and cconv.
21319 * makefile.w32-in: Mirror changes in Makefile.in.
21321 * vc/cvs-status.el:
21325 * vc/smerge-mode.el:
21326 * textmodes/bibtex-style.el:
21327 * textmodes/css-mode.el:
21335 * emacs-lisp/smie.el:
21338 * abbrev.el: Use lexical binding.
21340 2011-04-01 Eli Zaretskii <eliz@gnu.org>
21342 * info.el (info-display-manual): New function.
21344 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
21346 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
21348 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
21350 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
21351 an entry for that server in rcirc-authinfo. (Bug#8385)
21353 2011-03-31 Glenn Morris <rgm@gnu.org>
21355 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
21357 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
21359 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
21361 * progmodes/python.el (python-default-interpreter)
21362 (python-python-command-args, python-jython-command-args)
21363 (python-which-shell, python-which-args, python-which-bufname)
21364 (python-file-queue, python-comint-output-filter-function)
21365 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
21366 variables and functions.
21368 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
21370 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
21371 (completion-in-region-mode): New minor mode.
21372 (completion-in-region): Use it.
21373 (completion-in-region--data, completion-in-region-mode-map): New vars.
21374 (completion-in-region--postch): New function.
21375 (completion--capf-misbehave-funs, completion--capf-safe-funs):
21377 (completion--capf-wrapper): New function.
21378 (completion-at-point): Use it to track well-behavedness of
21380 (completion-help-at-point): New command.
21382 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
21384 * vc/add-log.el (add-change-log-entry): Don't use whitespace
21385 syntax class to search for whitespace on a single line
21386 (Message-ID: <4D938140.4030905@redhat.com>).
21388 2011-03-30 Leo Liu <sdl.web@gmail.com>
21390 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
21392 (edit-abbrevs-map): Bind them here.
21393 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
21395 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
21397 * allout.el (allout-hide-by-annotation, allout-flag-region):
21398 Reduce possibility of overlay leakage by making them volatile.
21400 * allout-widgets.el (allout-widgets-tally): Define as nil so the
21401 hash is not shared between buffers. Mode initialization is
21402 responsible for giving it a useful starting value.
21403 (allout-item-span): Reduce possibility of overlay leakage by
21404 making them volatile.
21405 (allout-widgets-count-buttons-in-region): Add diagnostic function
21406 for tracking down button overlay leaks.
21408 2011-03-29 Leo Liu <sdl.web@gmail.com>
21410 * ido.el (ido-read-internal): Use the default history var
21411 minibuffer-history if no HISTORY is specified.
21413 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
21415 * net/imap.el (imap-shell-open, imap-process-connection-type):
21416 Use imap-process-connection-type for 'shell' streams as well as
21417 Kerberos, SSL, other subprocesses.
21419 2011-03-28 Leo Liu <sdl.web@gmail.com>
21421 * abbrev.el (abbrev-table-empty-p): New function.
21422 (prepare-abbrev-list-buffer): Place empty abbrev tables after
21423 nonempty ones. (Bug#5937)
21425 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
21427 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
21429 2011-03-27 Leo Liu <sdl.web@gmail.com>
21431 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
21432 for foreground and background colors.
21433 (ansi-color-make-color-map): Adapt.
21435 2011-03-25 Leo Liu <sdl.web@gmail.com>
21437 * midnight.el (midnight-time-float): Remove. Note it calculates
21438 the microsecond component incorrectly and seconds-to-time does the
21440 Remove redundant (require 'timer).
21442 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
21443 (ido-completions): Remove unused arguments. (Bug#8329)
21445 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
21447 * minibuffer.el (completion--flush-all-sorted-completions):
21448 Remove itself from hook.
21449 (completion-at-point): Let the functions perform the completion
21450 immediately and return nil or t.
21451 * comint.el (comint-dynamic-complete-functions): Now identical to
21452 completion-at-point-functions.
21453 (comint-dynamic-list-input-ring): Remove unused var `index'.
21454 (comint--match-partial-filename, comint--unquote&expand-filename):
21455 New funs, split from comint-match-partial-filename.
21456 (comint-dynamic-complete): Use completion-at-point.
21457 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
21459 2011-03-24 Drew Adams <drew.adams@oracle.com>
21461 * thingatpt.el: Support `defun'.
21463 2011-03-23 Leo Liu <sdl.web@gmail.com>
21465 * abbrevlist.el: Move to obsolete/abbrevlist.el.
21467 * help-mode.el (help-mode-finish): Tweak regexp.
21469 2011-03-23 Glenn Morris <rgm@gnu.org>
21471 * eshell/esh-opt.el (eshell-eval-using-options):
21472 Do not bind unused local variable `eshell-option-stub'.
21474 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
21476 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
21478 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
21479 keymap variable in `with-no-warnings' to avoid a warning when the
21480 keymap has been already `defconst'ed.
21482 2011-03-22 Leo Liu <sdl.web@gmail.com>
21484 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
21485 encode all chars in abbrevs; otherwise use emacs-mule or
21486 utf-8-emacs. (Bug#8308)
21488 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
21490 * simple.el (backward-delete-char-untabify):
21491 Avoid warning about using `delete-backward-char'.
21493 * image.el (image-type-file-name-regexps): Make it variable.
21494 `imagemagick-register-types' modifies it, and the user may want
21495 to add new extensions for known image types.
21496 (imagemagick-register-types): Throw error if not using ImageMagick.
21498 2011-03-22 Leo Liu <sdl.web@gmail.com>
21500 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
21501 located before rcirc-prompt-end-marker.
21502 (rcirc-complete): Error if point is not after rcirc prompt.
21503 Handle the case when table is nil.
21504 (rcirc-user-authenticated): Define to fix compiler warning.
21506 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
21508 * custom.el (custom--inhibit-theme-enable): Make it affect only
21509 custom-theme-set-variables and custom-theme-set-faces.
21510 (provide-theme): Ignore custom--inhibit-theme-enable.
21511 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
21512 (custom-enabling-themes): Delete variable.
21513 (enable-theme): Accept only loaded themes as arguments.
21514 Ignore the special custom-enabled-themes variable.
21515 (custom-enabled-themes): Forbid themes from setting this.
21516 Eliminate use of custom-enabling-themes.
21517 (custom-push-theme): Quote "changed" custom var entry.
21519 2011-03-21 Leo Liu <sdl.web@gmail.com>
21521 * ido.el (ido-read-internal): Add ido-selected to history instead
21524 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
21526 * subr.el (deferred-action-list, deferred-action-function):
21529 2011-03-21 Leo Liu <sdl.web@gmail.com>
21531 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
21532 change on 2011-02-13 (bug#8309).
21534 * minibuffer.el (read-file-name-function): Change default value.
21535 (read-file-name--defaults): Rename from read-file-name-defaults.
21536 (read-file-name-default): Rename from read-file-name.
21537 (read-file-name): Call read-file-name-function.
21539 2011-03-21 Glenn Morris <rgm@gnu.org>
21541 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
21544 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
21546 * cus-theme.el: Add missing provide statement.
21547 (customize-create-theme): Extract theme value correctly.
21548 (custom-theme-visit-theme): Autoload.
21549 (customize-create-theme): Prompt before inserting default faces.
21551 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
21553 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
21554 units and musical notes.
21556 2011-03-20 Leo Liu <sdl.web@gmail.com>
21558 * ido.el (ido-read-internal): Use completing-read-default.
21559 (ido-completing-read): Fix compatibility with completing-read.
21561 2011-03-20 Christian Ohler <ohler@gnu.org>
21563 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
21564 (ert-delete-all-tests): Use `called-interactively-p' rather than
21566 (ert--make-xrefs-region): Respect END.
21568 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
21570 * dired-aux.el (dired-create-directory): Signal an error if the
21571 directory already exists (Bug#8246).
21573 * facemenu.el (list-colors-display): Call list-faces-display
21574 inside with-help-window.
21575 (list-colors-print): Use display property to align the final
21576 column, instead of checking window-width.
21578 2011-03-19 Eli Zaretskii <eliz@gnu.org>
21580 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
21581 windows-nt systems.
21582 (emerge-protect-metachars): Quote correctly for ms-dos and
21583 windows-nt systems.
21585 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
21587 * info.el (info-initialize): Replace all uses of `:' with
21588 path-separator for compatibility with non-Unix systems.
21589 Cache quoting of path-separator. (Bug#8258)
21591 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
21593 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
21594 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
21595 (mouse-avoidance-mode): Fix typos in docstrings.
21597 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
21599 * startup.el (package-subdirectory-regexp): Move from package.el.
21600 Omit \\` and \\', and let callers add them.
21602 * emacs-lisp/package.el (package-strip-version)
21603 (package-load-all-descriptors): Add \\` and \\' to
21604 package-subdirectory-regexp before using it.
21605 (package-untar-buffer): New arg DIR; ensure that file untars only
21606 into this expected directory. Remove superfluous delete-region.
21607 (package-unpack): Caller changed.
21608 (package-tar-file-info): Use package-subdirectory-regexp.
21610 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
21612 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
21613 diff-mode-shared-map (bug#8284).
21614 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
21616 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21618 * calendar/time-date.el (format-seconds): Use assoc instead of
21619 assoc-string, since assoc-string doesn't exist in XEmacs.
21621 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
21623 * custom.el (custom-known-themes): Reflow docstring.
21624 (custom-theme-load-path): Fix typo in docstring.
21625 (load-theme): Fix typo in error message.
21626 (custom-available-themes, custom-variable-theme-value):
21627 Use `let', not `let*'.
21629 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
21631 * calc/README: Mention inclusion of musical notes.
21633 * calc/calc-units.el (calc-lu-quant): Rename from
21634 `calc-logunits-quantity'.
21635 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
21636 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
21637 (calc-db): Rename from `calc-dblevel'.
21638 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
21639 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
21640 (calc-np): Rename from `calc-nplevel'.
21641 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
21642 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
21643 (calc-lu-plus): Rename from `calc-logunits-add'.
21644 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
21645 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
21646 (calc-lu-minus): Rename from `calc-logunits-sub'.
21647 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
21648 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
21649 (calc-lu-times): Rename from `calc-logunits-mul'.
21650 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
21651 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
21652 (calc-lu-divide): Rename from `calc-logunits-div'.
21653 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
21654 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
21656 * calc/calc-ext.el (calc-init-extensions): Update the names of the
21657 functions being autoloaded.
21659 * calc/calc.el (calc-lu-power-reference): Rename from
21660 `calc-logunits-power-reference'.
21661 (calc-lu-field-reference): Rename from
21662 `calc-logunits-field-reference'.
21664 * calc/calc-help.el (calc-l-prefix-help):
21665 Mention musical note functions.
21667 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
21669 * minibuffer.el (completion-all-sorted-completions):
21670 Use :completion-cycle-penalty text property if present.
21672 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
21674 * allout.el (allout-yank-processing): Adjust for new rebulleting
21675 regime so bullet being yanked is used without prompting the user
21678 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
21680 * startup.el (command-line): Warn the user that _emacs is deprecated.
21682 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
21684 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
21685 (delphi-verbose, delphi-comment-face, delphi-string-face)
21686 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
21687 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
21688 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
21689 (delphi-new-comment-line, delphi-font-lock-defaults)
21690 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
21691 Fix typos in docstrings.
21693 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
21695 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
21696 Invert the roles of character and string values for INSTEAD, so a
21697 string is used for the more common case of a defaulting prompt.
21699 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21701 * progmodes/ruby-mode.el (ruby-backward-sexp):
21702 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
21703 * play/gamegrid.el (gamegrid-make-face):
21704 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
21705 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
21706 * notifications.el (notifications-notify):
21707 * net/xesam.el (xesam-search-engines):
21708 * net/quickurl.el (quickurl-list-insert):
21709 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
21711 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
21713 * startup.el (command-line): Update package subdirectory regexp.
21715 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21717 * allout.el (allout-abbreviate-flattened-numbering)
21718 (allout-mode-deactivate-hook): Fix up obsolescence "date".
21720 * subr.el (read-char-choice): Only show the cursor after the prompt,
21721 not after the answer.
21723 2011-03-15 Kevin Ryde <user42@zip.com.au>
21725 * help-fns.el (variable-at-point): Skip leading quotes, if any
21728 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21730 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
21733 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
21735 * shell.el (shell): When called interactively, offer to change the
21736 shell file name on remote hosts.
21738 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
21740 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
21741 integration for LDAP parameters. The host, base, user or binddn,
21742 and secret tokens can be specified in a netrc file, for instance.
21743 This is optional because an `auth-source' parameter must be
21744 specified in the search attributes.
21746 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
21748 * help.el (describe-mode): Link to the mode's definition (bug#8185).
21750 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
21752 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
21753 into declaration. Remove redundant and harmful binding.
21755 2011-03-12 Eli Zaretskii <eliz@gnu.org>
21757 * files.el (file-ownership-preserved-p): Pass `integer' as an
21758 explicit 2nd argument to `file-attributes'. If the file's owner
21759 is the Administrators group on Windows, and the current user is
21760 Administrator, consider that a match.
21762 * server.el (server-ensure-safe-dir): Consider server directory
21763 safe on MS-Windows if its owner is the Administrators group while
21764 the current Emacs user is Administrator. Use `=' to compare
21765 numerical UIDs, since they could be integers or floats.
21767 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
21769 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
21771 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
21773 Sync with Tramp 2.2.1.
21775 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
21777 * net/trampver.el: Update release number.
21779 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
21781 * progmodes/compile.el (compilation--previous-directory): Fix up
21782 various nil/dead-marker mismatches (bug#8014).
21783 (compilation-directory-properties, compilation-error-properties):
21784 Don't call it at a position past the one we're about to change.
21786 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
21787 Disable obsolescence warnings in the file that declares it.
21789 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
21791 * allout-widgets.el (allout-widgets-tally):
21792 Initialize allout-widgets-tally as a hash table rather than nil to
21793 prevent mode-line redisplay warnings. Also, clarify the module
21794 description and fix a comment typo.
21796 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
21798 * help-fns.el (describe-variable): Don't complete keywords.
21799 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
21801 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
21803 * emacs-lisp/package.el (package-version-join): Impose a standard
21804 string representation for pre/alpha/beta version lists.
21805 (package-unpack-single): Standardize the directory name by passing
21806 it through package-version-join.
21807 (package-strip-rcs-id): Accept any version string that does not
21808 signal an error in version-to-list.
21810 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
21812 * simple.el (delete-trailing-whitespace): Return nil for the
21813 benefit of `write-file-functions'.
21815 2011-03-10 Glenn Morris <rgm@gnu.org>
21817 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
21819 * vc/vc-git.el (vc-git-program): New option.
21820 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
21821 (vc-git--call): Use it.
21823 * eshell/esh-util.el (eshell-condition-case): Doc fix.
21825 * cus-edit.el (Custom-newline): If no button at point, look
21826 for a subgroup button at start-of-line. (Bug#2298)
21828 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
21830 2011-03-10 Julien Danjou <julien@danjou.info>
21832 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
21833 `cursor-type' is nil.
21835 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
21837 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
21839 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
21841 * allout.el: Change so yank of distinctive-bullet items
21842 preserves the existing header prefix, rebulleting it if necessary,
21843 rather than replacing it. This is necessary for proper operation
21844 of cooperative addons like allout-widgets.
21845 (allout-make-topic-prefix, allout-rebullet-heading):
21846 Change SOLICIT arg to INSTEAD, and interpret additionally a string
21847 value as alternate bullet to be used, instead of prompting the user
21848 for a bullet character.
21850 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
21852 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
21853 Do not use `tramp-file-name-port', because this returns also
21854 `tramp-default-port'.
21856 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
21858 * net/rcirc.el (rcirc-handler-001): Remove useless
21859 with-rcirc-process-buffer.
21860 (rcirc-check-auth-status): Swap arguments to string-match.
21862 2011-03-09 Glenn Morris <rgm@gnu.org>
21864 * shell.el (shell-mode):
21865 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
21867 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
21868 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
21870 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
21872 * emacs-lisp/package.el (package-refresh-contents)
21873 (package-menu-execute): Use condition-case-no-debug.
21875 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
21877 * simple.el (shell-command-to-string): Use `process-file'.
21879 * emacs-lisp/package.el (package-tar-file-info): Handle also
21882 * emacs-lisp/package-x.el (package-upload-buffer-internal):
21883 Use `equal' for upload base check.
21885 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
21887 * textmodes/texinfo.el (texinfo-environments):
21888 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
21890 2011-03-08 Glenn Morris <rgm@gnu.org>
21892 * cus-start.el (cursor-in-non-selected-windows):
21893 Fix :set quoting oddness. (Bug#8192)
21895 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
21896 in some setf expressions. (Bug#2159)
21898 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
21900 * custom.el (custom-available-themes): Return themes in
21901 alphabetical order.
21903 See ChangeLog.15 for earlier changes.
21905 ;; Local Variables:
21909 Copyright (C) 2011-2012 Free Software Foundation, Inc.
21911 This file is part of GNU Emacs.
21913 GNU Emacs is free software: you can redistribute it and/or modify
21914 it under the terms of the GNU General Public License as published by
21915 the Free Software Foundation, either version 3 of the License, or
21916 (at your option) any later version.
21918 GNU Emacs is distributed in the hope that it will be useful,
21919 but WITHOUT ANY WARRANTY; without even the implied warranty of
21920 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21921 GNU General Public License for more details.
21923 You should have received a copy of the GNU General Public License
21924 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.