1 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
5 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
7 * subr.el (called-interactively-p-functions): New var.
8 (internal--called-interactively-p--get-frame): New macro.
9 (called-interactively-p, interactive-p): Rewrite in Lisp.
10 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
11 (called-interactively-p-functions): Use it.
12 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
13 (called-interactively-p-functions): Use it.
14 * allout.el (allout-called-interactively-p): Don't assume
15 called-interactively-p is a subr.
17 2012-11-20 Glenn Morris <rgm@gnu.org>
19 * profiler.el (profiler-report-mode-map): Add a menu.
20 No need to bind `q' because we derive from special-mode.
21 (profiler-report-find-entry): Handle calls from the menu-bar.
23 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
25 * emacs-lisp/byte-run.el (defun-declarations-alist):
26 Allow a compiler-macro to be a lambda expression.
28 * progmodes/python.el: Use cl-lib. Move var declarations outside of
30 (python-syntax-context): Add compiler-macro.
31 (python-font-lock-keywords): Simplify with De Morgan.
33 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
35 * files.el (load-file): Require match in minibuffer selection, as was
36 the case in Emacs-20 before we changed the spec to allow .elc files
39 * json.el: Don't require cl since we don't use it.
40 * color.el: Don't require cl.
41 (color-complement): `caddr' -> `nth 2'.
43 * calendar/time-date.el (time-to-seconds): De-obsolete.
45 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
47 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
49 (math-date-to-julian-dt): Adjust the initial approximation for the
50 year to deal with the new definition of the DATE.
52 2012-11-19 Daniel Colascione <dancol@dancol.org>
54 * term/w32-win.el (cygwin-convert-path-from-windows):
55 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
57 2012-11-18 Chong Yidong <cyd@gnu.org>
59 * filecache.el (file-cache--read-list): New function.
60 (file-cache-add-directory-list, file-cache-add-file-list)
61 (file-cache-delete-file-list, file-cache-delete-directory-list):
62 Use it to read a list of files or directories (Bug#12846).
63 (file-cache-add-file, file-cache-add-directory)
64 (file-cache-delete-file-list, file-cache-delete-file-regexp)
65 (file-cache-delete-directory): Print an message.
67 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
69 * calc/calc-forms.el (math-date-to-dt): Use integer date when
70 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
72 2012-11-18 Glenn Morris <rgm@gnu.org>
74 * image.el (insert-image, insert-sliced-image): Doc fix.
76 2012-11-18 Chong Yidong <cyd@gnu.org>
78 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
81 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
83 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
84 response when the target file is in a subdirectory (Bug#12757).
86 2012-11-18 Chong Yidong <cyd@gnu.org>
88 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
90 2012-11-18 Glenn Morris <rgm@gnu.org>
92 * emacs-lisp/cl-lib.el (face-underline-p):
93 Use set-face-underline rather than the alias set-face-underline-p.
95 * window.el (with-temp-buffer-window): Doc fix.
96 * subr.el (with-output-to-temp-buffer):
97 Add doc xref to with-temp-buffer-window.
99 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
101 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
102 * calc/calc.el (math-format-date-cache): Declare.
104 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
106 * calc/calc-forms.el (math-julian-date-beginning)
107 (math-julian-date-beginning-int): Implement [new date numbering].
109 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
111 * descr-text.el (quail-find-key):
112 * dired.el (desktop-file-name):
113 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
114 * generic-x.el (comint-mode, comint-exec):
115 * image-dired.el (widget-forward):
116 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
117 (speedbar-change-expand-button-char)
118 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
119 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
120 * printing.el (easy-menu-add-item, easy-menu-remove-item)
121 (widget-field-action, widget-value-set):
122 * speedbar.el (imenu--make-index-alist):
123 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
124 (ring-length, ring-insert):
125 * vcursor.el (compare-windows-skip-whitespace):
126 * woman.el (dired-get-filename):
129 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
131 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
133 * calc/calc.el (calc-gregorian-switch): New variable.
135 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
136 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
137 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
138 (math-leap-year-p): Add option to distinguish between Julian
139 and Gregorian calendars.
140 (math-day-number): Use `math-day-in-year' to do the computations.
141 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
142 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
143 to do the computations.
144 (math-date-to-dt): Use `math-date-to-julian-dt' and
145 `math-date-to-gregorian-dt' to do the computations.
146 (calcFunc-weekday, math-format-date-part): Use the new version of
147 the DATE to determine the weekday.
148 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
151 2012-11-17 Eli Zaretskii <eliz@gnu.org>
153 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
154 Cygwin; otherwise use 'file:'. (Bug#12914)
155 (cygwin-convert-path-from-windows): Declare, to avoid
156 byte-compiler warnings.
158 2012-11-17 Andreas Politz <politza@fh-trier.de>
160 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
161 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
162 prefix and negative numeric prefix args (Bug#12795).
164 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
166 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
167 Don't signal an error with a score that is too low to add to the
168 list of top scores. (Bug#12779)
170 2012-11-17 Chong Yidong <cyd@gnu.org>
172 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
174 * filecache.el (file-cache-add-file): Handle relative file name in
175 the argument (Bug#12694).
177 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
179 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
181 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
183 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
185 * emacs-lisp/cl-lib.el: Set more meaningful version number.
187 2012-11-16 Martin Rudalics <rudalics@gmx.at>
189 * window.el (enlarge-window, shrink-window): Don't mention return
190 value in doc-string (Bug#12896).
191 (window--display-buffer): Don't resize frames - it won't work
192 with all window managers and defeat pop-up-frame-alist.
193 (display-buffer-alist): In doc-string explain that CONDITION can
194 be a function and which arguments are passed to it (Bug#12854).
195 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
196 expressions (Bug#12854).
197 (display-buffer): Pass ACTION argument to
198 display-buffer-assq-regexp.
200 2012-11-16 Glenn Morris <rgm@gnu.org>
202 * window.el (fit-frame-to-buffer-bottom-margin)
203 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
205 * faces.el (face-underline-p): Use face-attribute-specified-or.
207 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
209 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
211 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
213 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
215 2012-11-16 Glenn Morris <rgm@gnu.org>
217 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
218 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
220 * faces.el (face-underline-p): Doc fix. Handle :underline being
221 things other than `t' (a string, a list).
222 (face-inverse-video-p): Doc fix.
223 (set-face-underline): Rename it back from set-face-underline-p.
224 Doc fix. Allow interactive input of values other than t.
225 (read-face-attribute): Apply formatting to :underline,
226 since like :box and :stipple it can take list values.
228 * term.el (ansi-term): Don't let C-x escape-char binding
229 clobber the more standard C-c binding. (Bug#12842)
231 * subr.el (set-temporary-overlay-map): Doc fix.
233 2012-11-16 Martin Rudalics <rudalics@gmx.at>
235 * window.el (record-window-buffer)
236 (display-buffer-record-window): When copying the markers to
237 window-point preserve window-point-insertion-type. (Bug#12588)
239 2012-11-16 Glenn Morris <rgm@gnu.org>
241 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
242 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
243 Use new names for hooks rather than obsolete aliases.
245 2012-11-15 Daniel Colascione <dancol@dancol.org>
247 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
248 prefix instead of "file:" so that when FILE-NAME begins with "//",
249 as it does when the target file is on a network share, url-handler
252 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
254 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
255 a preactivated advice from an old advice.el; they're not compatible!
257 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
259 * emacs-lisp/nadvice.el (advice--make-interactive-form):
260 Fix string-spec case.
262 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
264 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
266 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
267 (advice--buffer-local-function-sample): New var.
268 (advice--set-buffer-local, advice--buffer-local): New functions.
269 (add-function, remove-function): Use them.
271 2012-11-15 Drew Adams <drew.adams@oracle.com>
273 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
275 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
277 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
278 potential binding of print-gensym to t, and prettify (back)quotes in
279 case they appear in args's default values (bug#12884).
281 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
283 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
284 (advice-eval-interactive-spec): New function.
285 (advice--make-interactive-form): Support around advice (bug#12844).
287 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
289 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
290 more strict. Add docstring.
291 (ruby-expression-expansion-re): Extract from
292 `ruby-match-expression-expansion'.
293 (ruby-syntax-propertize-function): After everything else, search
294 for expansions in string literals, mark their insides as
295 whitespace syntax and save match data for font-lock.
296 (ruby-font-lock-keywords): Use the 2nd group from expression
298 (ruby-match-expression-expansion): Use the match data saved to the
299 text property in ruby-syntax-propertize-function.
301 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
303 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
306 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
308 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
309 start/end keyword a bit harder. Works with different values of N.
311 (ruby-end-of-block): Update accordingly.
313 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
315 * woman.el (woman-file-name): Don't mess with unread-command-events
318 * emacs-lisp/advice.el: Layer on top of nadvice.el.
319 Remove out of date self-require hack.
320 (ad-do-advised-functions): Use simple `dolist'.
321 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
322 (ad-advice-definition): Redefine as functions.
323 (ad-advice-classes): Move before first use.
324 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
325 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
326 (ad--defalias-fset): Remove functions.
327 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
328 (ad-get-orig-definition): Rewrite.
329 (ad-make-advised-definition-docstring): Change base docstring.
330 (ad-real-orig-definition): Rewrite.
331 (ad-map-arglists): Change name of called function.
332 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
333 (ad-make-advised-definition): Simplify.
334 (ad-assemble-advised-definition): Tweak for new calling context.
335 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
336 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
337 function and call ad-activate if needed.
338 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
339 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
340 (ad-compile-function): Compile ad-Advice-*.
341 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
342 (ad-start-advice, ad-stop-advice): Remove.
344 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
346 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
347 period before class method names, not after. Remove handling of
348 one impossible case. Add comments.
350 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
352 * emacs-lisp/advice.el: Remove support for freezing.
353 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
354 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
355 Remove support for `freeze'.
357 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
358 override the default.
359 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
361 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
364 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
366 (advice--strip-macro): New function.
367 (advice--defalias-fset): Use them to handle macros.
368 (advice-add): Use them.
369 (advice-member-p): Correctly handle macros.
371 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
373 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
374 Never font-lock the beginning of singleton class as heredoc.
376 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
378 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
380 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
382 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
383 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
384 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
386 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
388 Fix end-of-defun misbehavior.
389 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
390 python-beginning-of-defun-function. Handle nested defuns
392 (python-nav-end-of-defun): Rename from
393 python-end-of-defun-function. Ensure forward movement.
394 (python-info-current-defun): Reimplement to work as intended
395 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
396 parent defuns as soon as possible.
398 2012-11-13 Glenn Morris <rgm@gnu.org>
400 * progmodes/flymake.el (flymake-error-bitmap)
401 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
402 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
404 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
406 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
407 backward, always stop at indentation. Reverts the change from
408 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
410 2012-11-13 Glenn Morris <rgm@gnu.org>
412 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
413 Add ibuffer-filter-by-derived-mode.
415 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
416 the same name shadowing each other.
418 * window.el (with-temp-buffer-window): Doc tweak.
420 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
422 * help.el (temp-buffer-max-height):
423 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
424 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
426 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
428 * emacs-lisp/nadvice.el: New package.
429 * subr.el (special-form-p): New function.
430 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
431 (elp-all-instrumented-list): Remove var.
432 (elp-not-profilable): Remove elp-wrapper.
433 (elp-profilable-p): Use autoloadp and special-form-p.
434 (elp--advice-name): New const.
435 (elp-instrument-function): Use advice-add.
436 (elp--instrumented-p): New predicate.
437 (elp-restore-function): Use advice-remove.
438 (elp-restore-all, elp-reset-all): Use mapatoms.
439 (elp-set-master): Use elp--instrumented-p.
440 (elp--make-wrapper): Rename from elp-wrapper, return a function
441 suitable for advice-add. Use cl-inf.
442 (elp-results): Use mapatoms+elp--instrumented-p.
443 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
444 (debug-function-list): Remove var.
445 (debug): Rename arg, and then let-bind it explicitly inside.
446 (debugger-setup-buffer): Rename arg.
447 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
448 (debugger-frame-number): Adjust to new debug-on-entry setup.
449 (debug--implement-debug-on-entry): Rename from
450 implement-debug-on-entry, add argument.
451 (debugger-special-form-p): Remove, use special-form-p instead.
452 (debug-on-entry): Use advice-add.
453 (debug--function-list): New function.
454 (cancel-debug-on-entry): Use it, along with advice-remove.
455 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
456 (debugger-list-functions): Use debug--function-list instead of
458 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
459 (ad-special-form-p): Remove, use special-form-p instead.
460 (ad-set-advice-info): Use add-function and remove-function.
461 (ad--defalias-fset): Adjust accordingly.
463 2012-11-10 Glenn Morris <rgm@gnu.org>
465 * mail/emacsbug.el (report-emacs-bug-tracker-url)
466 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
467 (report-emacs-bug-create-existing-bugs-buffer)
468 (report-emacs-bug-parse-query-results)
469 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
471 * term.el (term-default-fg-color, term-default-bg-color):
472 Make obsolete, rather than just saying "deprecated" in the doc.
474 * term.el (term): Rename from `term-face'.
475 (term-current-face, ansi-term-color-vector)
476 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
479 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
481 * server.el (server-create-window-system-frame): Handle Nextstep
482 specially (Bug#12780).
484 2012-11-10 Glenn Morris <rgm@gnu.org>
486 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
487 Unautoload, and make obsolete. (Bug#7449)
489 2012-11-10 Chong Yidong <cyd@gnu.org>
491 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
492 rename from diff-remove-trailing-whitespace (Bug#12831).
494 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
496 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
497 miscompilation of trace.el.
499 2012-11-10 Glenn Morris <rgm@gnu.org>
501 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
503 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
505 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
508 2012-11-10 Chong Yidong <cyd@gnu.org>
510 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
511 a defcustom with an appropriate :set function.
512 (minibuffer-default--in-prompt-regexps): New function.
514 2012-11-10 Glenn Morris <rgm@gnu.org>
516 * emacs-lisp/cl.el (define-setf-expander, defsetf)
517 (define-modify-macro): Doc fixes.
519 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
520 (gv-define-simple-setter): Update doc of `fix-return'.
522 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
524 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
525 twice when `fix-return' is set (bug#12813).
527 * emacs-lisp/cl.el (defsetf): Pass the third arg to
528 gv-define-simple-setter (bug#12812).
530 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
533 2012-11-10 Glenn Morris <rgm@gnu.org>
535 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
537 * emacs-lisp/cl-extra.el (cl-prettyexpand):
538 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
539 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
540 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
542 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
544 2012-11-10 Leo Liu <sdl.web@gmail.com>
546 * ido.el (ido-set-matches-1): Improve flex matching performance by
547 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
549 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
551 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
552 (ad--defalias-fset): New function.
553 (ad-safe-fset): Remove.
554 (ad-make-freeze-definition): Use cl-letf*.
556 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
558 * subr.el (dolist): Don't bind VAR in RESULT.
560 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
561 (fset, documentation): Don't save real def since we don't advise.
562 (ad-do-advised-functions): Remove problematic `result-form'.
563 (ad-safe-fset): `ad-real-fset' => `fset'.
564 (ad-read-advised-function): Don't assume that ad-do-advised-functions
565 uses CL's dolist internally.
566 (ad-arglist): Remove unused arg `name'.
567 (ad-docstring, ad-make-advised-docstring):
568 `ad-real-documentation' => `documentation'.
569 (warning-suppress-types): Declare.
570 (ad-set-arguments): Simple CSE.
571 (ad-recover-normality): Sanity check.
573 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
574 (funcall '(lambda ..) ..) into ((lambda ..) ..).
576 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
578 * ses.el: symbol to coordinate mapping is made by symbol property
579 `ses-cell'. This means that the same mapping is done for all SES
580 sheets. That is good enough for cells with standard A1 names, but
581 not for named cell. So a hash map is added for the latter.
582 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
583 (ses-sym-rowcol): Use hashmap for named cell.
584 (ses-is-cell-sym-p): New defun.
585 (ses-decode-cell-symbol): New defun.
586 (ses-create-cell-variable): Add cell to hashmap when name is not
588 (ses-rename-cell): Check that cell new name is not already in
589 spreadsheet with the use of ses-is-cell-sym-p
590 (ses-rename-cell): Use hash map for named cells, but accept also
591 renaming back to A1-like.
593 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
595 * emacs-lisp/advice.el: Use new dynamic docstrings.
596 (ad-make-advised-definition-docstring, ad-advised-definition-p):
597 Use dynamic-docstring-function instead of ad-advice-info.
598 (ad--make-advised-docstring): New function extracted from
599 ad-make-advised-docstring.
600 (ad-make-advised-docstring): Use it.
601 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
603 (sql-help): Use it with dynamic-docstring-function.
605 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
607 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
609 * files.el (hack-one-local-variable--obsolete): New function.
610 (hack-one-local-variable): Use it for obsolete settings.
612 * subr.el (locate-user-emacs-file): If both old and new name exist, use
615 * progmodes/js.el (js--filling-paragraph): New var.
616 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
617 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
620 2012-11-08 Julien Danjou <julien@danjou.info>
622 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
623 `auto-mode-alist' (Bug#12835).
625 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
627 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
628 (perl--prettify-symbols-alist): New const.
629 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
631 (perl-font-lock-keywords-2): Use them.
632 (perl-electric-noindent-p): New function.
633 (perl-mode): Use it to set up electric-indent-mode.
634 (perl-electric-terminator, perl-indent-command): Mark obsolete.
635 (perl-mode-map): Remove bindings for them.
636 (perl-imenu-generic-expression, perl-outline-level):
637 Match functions&packages in column>0.
639 * env.el (env--substitute-vars-regexp): New const.
640 (substitute-env-vars): Use it. Add `only-defined' arg.
641 * net/tramp.el (tramp-replace-environment-variables): Use it.
643 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
644 Byte-compile *before* eval in eval-and-compile.
645 (byte-compile-log-warning): Remove redundant inhibit-read-only.
646 (byte-compile-file-form-autoload): Don't hide actual definition.
647 (byte-compile-maybe-guarded): Accept `functionp' as well.
649 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
651 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
653 * notifications.el (notifications-get-server-information-method):
655 (notifications-get-capabilities): Fix docstring.
656 (notifications-get-server-information): New defun.
658 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
660 * textmodes/ispell.el (ispell-region): Standard re-indent for better
663 * textmodes/ispell.el: Experimental support for support debugging.
664 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
666 (ispell-print-if-debug): New function to print stuff to
667 `ispell-debug-buffer' if debugging is enabled.
668 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
669 show some debugging info.
670 (ispell-buffer-with-debug): New function that creates a debugging
671 buffer and calls `ispell-buffer' with debugging enabled.
673 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
674 comment in autoconf mode. (Bug#12768)
676 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
678 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
679 frame-first-window, frame-root-window, frame-selected-window,
680 minibuffer-selected-window, minibuffer-window,
681 window-absolute-pixel-edges, window-at, window-body-height,
682 window-body-width, window-display-table, window-combination-limit,
683 window-frame, window-fringes, window-inside-absolute-pixel-edges,
684 window-inside-edges, window-inside-pixel-edges, window-left-child,
685 window-left-column, window-margins, window-next-buffers,
686 window-next-sibling, window-new-normal, window-new-total,
687 window-normal-size, window-parameter, window-parameters, window-parent,
688 window-pixel-edges, window-point, window-prev-buffers,
689 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
690 window-start, window-text-height, window-top-child, window-top-line,
691 window-total-height, window-total-width and window-use-time to the list
692 of functions without side-effects.
693 (toplevel): Add window-valid-p to the list of error-free functions
694 without side-effects.
696 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
698 * textmodes/ispell.el (ispell-program-name):
699 Update spellchecker parameters when customized.
701 2012-11-04 Glenn Morris <rgm@gnu.org>
703 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
705 2012-11-04 Chong Yidong <cyd@gnu.org>
707 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
708 same-window-* variables.
710 2012-11-04 Juri Linkov <juri@jurta.org>
712 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
713 (isearch-describe-key, isearch-describe-mode): Use a display
714 action instead of binding same-window-* variables (Bug#10040).
716 2012-11-03 Glenn Morris <rgm@gnu.org>
718 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
719 Rename handler properties back from cl-- to cl-. (Bug#12788)
721 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
723 2012-11-03 Eli Zaretskii <eliz@gnu.org>
725 * term/pc-win.el: Don't load term/internal from here.
727 * loadup.el: Load term/internal from here.
729 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
731 * progmodes/python.el (inferior-python-mode): Fix hang in
732 jit-lock (Bug#12645).
734 2012-11-03 Martin Rudalics <rudalics@gmx.at>
736 * window.el (switch-to-visible-buffer)
737 (switch-to-buffer-preserve-window-point): Fix doc-strings.
739 2012-11-03 Glenn Morris <rgm@gnu.org>
741 * emacs-lisp/cl-lib.el (cl--random-time):
742 Rename from cl-random-time. (Bug#12773)
743 (cl--gensym-counter, cl--random-state): Update callers.
744 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
746 2012-11-03 Chong Yidong <cyd@gnu.org>
748 * cus-start.el: Make cursor-type customizable (Bug#11633).
750 2012-11-02 Glenn Morris <rgm@gnu.org>
752 * filecache.el: No need to load find-lisp when compiling.
753 (find-lisp-find-files): Autoload it.
754 (file-cache-add-directory-recursively): Don't require find-lisp.
756 * image.el (image-type-from-file-name): Trivial simplification.
758 * emacs-lisp/bytecomp.el (byte-compile-eval):
759 Decouple "noruntime" and "cl-functions" warnings.
761 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
763 * play/gomoku.el (gomoku-display-statistics): Update mode line
764 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
766 2012-10-31 Martin Rudalics <rudalics@gmx.at>
768 * window.el (quit-restore-window): If the window has been
769 created on an existing frame and ended up as the sole window on
770 that frame, do not delete it (Bug#12764).
772 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
774 * progmodes/sh-script.el (sh--inside-noncommand-expression):
775 Rename from sh--inside-arithmetic-expression, handle more cases
778 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
779 (sh-font-lock-open-heredoc): Use it (bug#12770).
781 2012-10-30 Glenn Morris <rgm@gnu.org>
783 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
785 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
787 2012-10-29 Chong Yidong <cyd@gnu.org>
789 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
790 function key is stored in a keyboard macro (Bug#4894).
792 * thingatpt.el (number-at-point): Apply a thing-at-point property.
794 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
796 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
798 (diff-unified->context, diff-context->unified)
799 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
801 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
803 * files.el (find-alternate-file): Only ask one question (bug#12487).
805 2012-10-29 Chong Yidong <cyd@gnu.org>
807 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
808 Suggested by Dan Nicolaescu (Bug#6326).
810 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
812 * startup.el (fancy-about-screen): Don't message (Bug#12680).
814 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
816 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
818 * face-remap.el (face-remap-add-relative): Handle the case where a
819 face-remapping-alist entry is a cons cell (Bug#12762).
821 2012-10-29 Kevin Ryde <user42@zip.com.au>
823 * woman.el (woman-parse-numeric-value): Handle picas correctly
826 2012-10-29 Glenn Morris <rgm@gnu.org>
828 * emacs-lisp/cl.el (defsetf): Doc fix.
830 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
832 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
833 syntax to the matching opener, if any (bug#12547).
834 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
835 matching open as a "case-(".
836 (sh-smie-rc-grammar): Add a corresponding rule for it.
838 2012-10-28 Daniel Hackney <dan@haxney.org>
840 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
841 "PKGNAME-autoloads.el" in case we created it.
843 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
845 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
846 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
847 (completion--twq-all): Disable too-strict assertions.
849 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
851 2012-10-27 Eli Zaretskii <eliz@gnu.org>
853 * profiler.el (profiler-report-make-entry-part): Fix help-echo
854 text to match the real keybindings.
856 2012-10-27 Juri Linkov <juri@jurta.org>
858 * wdired.el (wdired-keep-marker-rename): New defcustom.
859 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
862 * dired.el (dired-keep-marker-rename): Add reference to
863 `wdired-keep-marker-rename' in the docstring.
864 Add default character value ?R to display initially in
865 Customization UI instead of ?@.
867 2012-10-27 Martin Rudalics <rudalics@gmx.at>
869 * window.el (display-buffer): In doc-string describe
870 window-height and window-width alist entries.
872 * time.el (display-time-world): Restore fit-window-to-buffer
875 2012-10-27 Chong Yidong <cyd@gnu.org>
877 * subr.el (insert-buffer-substring-as-yank): Doc fix.
879 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
881 * minibuffer.el (completion-category-overrides): New completion
882 category `bookmark' (bug#11131).
884 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
886 * emacs-lisp/advice.el (ad-assemble-advised-definition):
887 Silence bogus compiler warnings for ad-do-it.
889 * bookmark.el (bookmark-completing-read): Set the completion category
890 to `bookmark' (bug#11131).
892 2012-10-26 Bastien <bzg@altern.org>
893 Stefan Monnier <monnier@iro.umontreal.ca>
895 * face-remap.el: Use lexical-binding.
896 (text-scale-adjust): Improve docstring. Use itself for the temporary
897 overlay-map bindings, so as to repeat the "Use..." message each time.
899 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
901 * emacs-lisp/macroexp.el (macroexp--expand-all):
902 Obey byte-compile-warning-enabled-p (bug#12486).
904 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
905 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
907 2012-10-26 Martin Rudalics <rudalics@gmx.at>
909 * mouse.el (mouse-drag-line): Move last form into preceding when
912 * help.el (resize-temp-buffer-window): Fix doc-string.
914 2012-10-25 David Engster <deng@randomsample.de>
916 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
917 Remove. This feature is already integrated in imenu.
919 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
920 always loaded. Require `speedbar' unconditionally.
922 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
924 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
926 * minibuffer.el (minibuffer-force-complete): Fix thinko.
928 * net/ldap.el (ldap-search-internal): The official ldif format starts
929 with a "version: 1" header (bug#12724).
931 * emacs-lisp/package.el (package-installed-p): Warn if not ready
934 2012-10-25 Glenn Morris <rgm@gnu.org>
936 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
938 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
940 * minibuffer.el (minibuffer-force-complete): Use one more marker
941 for the temporary-overlay-map command (bug#12619).
943 2012-10-24 Chong Yidong <cyd@gnu.org>
945 * time.el (display-time-world-mode): Derive from special-mode.
946 (display-time-world): Use display-buffer (Bug#12708).
947 (display-time-world-mode-map): Variable deleted.
948 (display-time-world-display): Wrap the final delete-char inside
951 2012-10-24 Chong Yidong <cyd@gnu.org>
953 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
956 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
958 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
960 * minibuffer.el (completion--all-sorted-completions-location): New var.
961 (completion--cache-all-sorted-completions)
962 (completion--flush-all-sorted-completions): Use it.
963 (completion-in-region, completion-in-region--postch)
964 (completion-at-point, completion-help-at-point): Use markers in
965 completion-in-region--data (bug#12619).
967 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
969 * progmodes/compile.el (compilation-start): Try to handle common
970 quoting of `cd' argument (bug#12640).
972 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
975 2012-10-23 Glenn Morris <rgm@gnu.org>
977 * progmodes/gud.el (gud-menu-map):
978 Check gdb-active-process is bound. (Bug#12358)
980 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
982 * repeat.el (repeat): Set real-this-command (bug#12232).
984 * htmlfontify.el (hfy-post-html-hook):
985 * filesets.el (filesets-cache-fill-content-hook):
986 * arc-mode.el (archive-extract-hook):
987 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
988 * net/rcirc.el (rcirc-sentinel-functions)
989 (rcirc-receive-message-functions, rcirc-activity-functions)
990 (rcirc-print-functions):
991 * net/dbus.el (dbus-event-error-functions):
992 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
993 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
994 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
995 * term/sun.el (sun-raw-prefix-hooks):
996 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
998 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
1000 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
1001 Set `tramp-chunksize' to 1. This improves the performance.
1002 (tramp-smb-wait-for-output): Add timeout to
1003 `tramp-accept-process-output' calls.
1005 2012-10-23 Chong Yidong <cyd@gnu.org>
1007 * faces.el (font-list-limit): Define as an obsolete variable.
1009 * startup.el (command-line):
1010 * cus-start.el: Don't refer to font-list-limit.
1012 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
1014 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1016 * subr.el (internal-temp-output-buffer-show): Rename from
1017 temp-output-buffer-show, since previously compiled files expect this name.
1019 2012-10-23 Glenn Morris <rgm@gnu.org>
1021 * image.el (image-type-from-file-name): If multiple types match,
1022 return the first one that is supported. (Bug#9045)
1024 2012-10-22 Glenn Morris <rgm@gnu.org>
1026 * image.el (imagemagick-enabled-types): Doc fix.
1028 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
1030 * progmodes/which-func.el (which-func-current): The hash-table may have
1031 an explicit nil (bug#12338).
1033 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1035 * electric.el (electric-pair-delete-selection-self-insert-function):
1036 Rename to electric-pair-will-use-region, return a boolean.
1037 (electric-pair-mode): Adjust accordingly. Don't require delsel.
1039 * delsel.el (delete-selection-helper): Use a function instead of a hook.
1040 (delete-selection-pre-hook): Use use-region-p.
1041 (delete-selection-self-insert-function): Remove.
1042 (self-insert-command): Obey self-insert-uses-region-functions.
1043 (self-insert-iso): Revert to previous setting, since we don't actually
1044 know what that command does.
1045 (delete-selection-self-insert-hooks): Remove.
1047 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
1049 * delsel.el (delete-selection-helper): New function, extracted from
1050 delete-selection-pre-hook.
1051 (delete-selection-pre-hook): Use it.
1052 (delete-selection-self-insert-function): New function.
1053 (delete-selection-self-insert-hooks): New hook.
1054 (self-insert-command, self-insert-iso): Use it.
1055 * electric.el (electric-pair-syntax): New function, extracted from
1056 electric-pair-post-self-insert-function.
1057 (electric-pair-post-self-insert-function): Use it.
1058 (electric-pair-delete-selection-self-insert-function): New function.
1059 (electric-pair-mode): Require delsel and setup
1060 delete-selection-self-insert-hooks (bug#11520).
1062 2012-10-20 Chong Yidong <cyd@gnu.org>
1064 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
1065 no changes to show (Bug#12586).
1067 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
1068 list explicitly (Bug#12571).
1070 2012-10-20 Arne Jørgensen <arne@arnested.dk>
1072 * progmodes/flymake.el (flymake-create-temp-inplace):
1075 2012-10-20 Eli Zaretskii <eliz@gnu.org>
1077 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
1079 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
1081 * calc/calc-units.el (math-extract-units): Properly extract powers
1084 2012-10-20 Daniel Colascione <dancol@dancol.org>
1086 * frame.el (make-frame): Set x-display-name as we used to in order
1087 to unbreak creating an X11 frame from an Emacs daemon started
1090 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1092 * minibuffer.el (minibuffer-force-complete): Make the next completion use
1093 the same completion-field (bug#12221).
1095 2012-10-19 Martin Rudalics <rudalics@gmx.at>
1097 * emacs-lisp/debug.el (debug): Record height of debugger window
1098 also when debugger will be back (Bug#8789).
1100 2012-10-18 Chong Yidong <cyd@gnu.org>
1102 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
1103 Convert to defcustom.
1104 (gdb-get-source-file): Don't bind pop-up-windows.
1106 * progmodes/gud.el (gud-display-line): Don't specially re-use
1107 other frames for the gdb-mi case (Bug#12648).
1109 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
1111 * emacs-lisp/advice.el: Clean up commentary a bit.
1112 (ad-do-advised-functions, ad-with-originals): Use `declare'.
1113 (byte-code-function-p): Never redefine.
1115 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
1117 2012-10-18 Glenn Morris <rgm@gnu.org>
1119 * dired.el (dired-sort-toggle): Some ls implementations only allow
1120 a single option string. (Bug#12666)
1122 * minibuffer.el (completion-cycle-threshold): Doc fix.
1124 2012-10-17 Kenichi Handa <handa@gnu.org>
1126 * international/mule.el (set-keyboard-coding-system):
1127 Recover input meta mode when the new coding system doesn not use 8-bit.
1128 Supply TERMINAL arg to set-input-meta-mode.
1130 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
1132 * wdired.el (wdired-old-marks): New variable.
1133 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
1134 (wdired-do-renames): Move point with renamed file and don't lose
1135 mark status (Bug#11795).
1137 2012-10-16 Juri Linkov <juri@jurta.org>
1139 * replace.el (query-replace-help): Mention multi-buffer replacement
1140 keys in the Help message. (Bug#12655)
1142 2012-10-15 Chong Yidong <cyd@gnu.org>
1144 * emacs-lisp/byte-run.el (defsubst): Doc fix.
1146 2012-10-14 Eli Zaretskii <eliz@gnu.org>
1148 * window.el (display-buffer): Doc fix.
1150 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1151 Adjust the msft regexp to the output of Studio 2010, and move msft
1152 before edg-1. See the discussion on emacs-devel,
1153 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
1156 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
1158 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
1159 (oset): Move uses of object-class-fast macro after its definition.
1161 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
1163 2012-10-13 Chong Yidong <cyd@gnu.org>
1165 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
1166 enabled, re-enable it (Bug#11963).
1168 2012-10-13 Martin Rudalics <rudalics@gmx.at>
1170 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
1171 non-nil, restore window configuration (Bug#12623).
1173 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1175 * help-fns.el (describe-variable, describe-function-1):
1176 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
1178 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
1180 2012-10-12 Glenn Morris <rgm@gnu.org>
1182 * mail/rmailsum.el (rmail-header-summary):
1183 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
1185 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
1187 * progmodes/python.el (python-mode-map):
1188 Replace subtitute-key-definition with proper command remapping.
1189 (python-nav--up-list): Fix behavior for blocks on the same level.
1191 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1193 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
1195 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
1196 changes to the format of load-history.
1198 * international/mule-cmds.el (read-char-by-name): Move let-binding of
1199 completion-ignore-case in case that var is buffer-local (bug#12615).
1201 2012-10-11 Kenichi Handa <handa@gnu.org>
1203 * international/eucjp-ms.el: Re-generated.
1205 2012-10-10 Kenichi Handa <handa@gnu.org>
1207 * select.el (xselect--encode-string): If a coding is specified for
1208 selection, and that is compatible with COMPOUND_TEXT, use it.
1210 2012-10-10 Martin Rudalics <rudalics@gmx.at>
1212 * window.el (switch-to-buffer-preserve-window-point): New option.
1214 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
1216 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1218 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
1219 Don't document nil as a useful value (bug#12583).
1221 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
1223 * net/tramp.el (tramp-debug-message):
1224 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1225 (with-tramp-progress-reporter): Rename from
1226 `tramp-with-progress-reporter'.
1227 (with-tramp-file-property, with-tramp-connection-property):
1228 Move from tramp-cache.el, rename from `with-file-property' and
1229 `with-connection-property', respectively.
1231 * net/tramp-cache.el: Remove `with-file-property' and
1232 `with-connection-property'.
1235 * net/tramp-gvfs.el:
1237 * net/tramp-smb.el: Adapt callees.
1239 * net/trampver.el: Update release number.
1241 2012-10-09 Glenn Morris <rgm@gnu.org>
1243 * w32-fns.el (set-message-beep):
1244 * term/w32-win.el (set-message-beep): Update declarations.
1246 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1248 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
1249 (mode-line-widen, mode-line-input-method-map)
1250 (mode-line-coding-system-map, mode-line-remote)
1251 (mode-line-unbury-buffer, mode-line-bury-buffer)
1252 (mode-line-next-buffer, mode-line-previous-buffer):
1253 Replace save-selected-window+select-window => with-selected-window.
1255 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
1256 * progmodes/cc-vars.el (bq-process): Remove, unused.
1258 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
1260 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
1262 Implemented `backward-up-list'-like navigation.
1263 * progmodes/python.el (python-nav-up-list)
1264 (python-nav-backward-up-list): New functions.
1265 (python-mode-map): Define substitute key for backward-up-list to
1266 python-nav-backward-up-list.
1268 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1270 * progmodes/python.el (python-fill-paragraph): Rename from
1271 python-fill-paragraph-function. Fixed fill-paragraph for
1272 decorators (Bug#12605).
1274 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1276 * progmodes/python.el (python-shell-output-filter): Handle extra
1277 carriage return in OSX (Bug#12409).
1279 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1281 Fix shell handling of unbalanced quotes and parens in output.
1282 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
1283 (python-syntax-propertize-function): Use it.
1284 (python-shell-output-syntax-table): New var.
1285 (inferior-python-mode): Prevent unbalanced parens/quotes from
1286 previous output mess with current input context.
1288 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
1290 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
1291 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
1293 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
1295 * ffap.el (ffap-replace-file-component): Support Tramp file name
1296 syntax, not only ange-ftp's one.
1298 2012-10-08 Glenn Morris <rgm@gnu.org>
1300 * cus-start.el (message-log-max): Set :version.
1302 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
1304 2012-10-08 Martin Rudalics <rudalics@gmx.at>
1306 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
1307 the minibuffer window (Bug#10851).
1309 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1311 Enhancements on forward-sexp movement.
1312 * progmodes/python.el (python-nav-beginning-of-statement)
1313 (python-nav-end-of-statement): Return point-marker.
1314 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
1315 (python-info-current-symbol)
1316 (python-info-statement-starts-block-p): Rename from
1317 python-info-beginning-of-block-p.
1318 (python-info-statement-ends-block-p): Rename from
1319 python-info-end-of-block-p.
1320 (python-info-beginning-of-statement-p)
1321 (python-info-end-of-statement-p)
1322 (python-info-beginning-of-block-p, python-info-end-of-block-p):
1325 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1327 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
1328 frame-selected-windows.
1330 2012-10-08 Daniel Colascione <dancol@dancol.org>
1332 * battery.el (battery-status-function): Check for
1333 w32-battery-status itself, not system-time windows-nt.
1335 * frame.el: Require cl-lib.
1336 (display-format-alist): New variable mapping frame types to
1337 functions that initialize them.
1338 (window-system-for-display): New function: interprets
1339 display-format-alist.
1340 (make-frame-on-display): Remove existing display-selection logic
1341 and just forward to make-frame, which will now DTRT.
1342 (make-frame): Restructure to use window-system-for-display to
1343 figure out how to create a frame on a given display.
1344 (display-mouse-p): Look for frame-type w32, not a particular
1347 * loadup.el: Load w32 lisp code when we have the w32 feature.
1349 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
1350 system-type windows-nt.
1352 * server.el (server-create-window-system-frame): Look for window
1354 (server-proces-filter): Only force a window system when windows-nt
1355 _and_ w32. Explain why.
1357 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
1358 of window systems we configure for the mode.
1360 * startup.el (command-line): Mark window system is initialized
1361 after we've done it.
1363 * common-win.el (x-select-text): Look for w32, not windows-nt.
1365 * ns-win.el: Require cl-lib. Add ourselves to
1366 display-format-alist.
1367 (ns-initialize-window-system): Assert we're not initialized twice.
1369 * w32-win.el: Enable lexical binding; require cl-lib; add
1370 ourselves to display-format-alist.
1371 (w32-handle-dropped-file): Convert incoming dropped files from
1372 Windows paths to Cygwin ones before passing them on to the rest of
1374 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
1375 (w32-initialize-window-system): Assert we're not initialized twice.
1377 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
1378 (x-initialize-window-system): Assert we're not initialized twice.
1380 * w32-common-fns.el: New File.
1381 (w32-version, w32-using-nt, w32-get-clipboard-data)
1382 (w32-set-clipboard-data, x-set-selection, x-get-selection)
1383 (w32-charset-info-alist, x-last-selected, text)
1384 (x-get-selection-value, x-selection-value): Move here.
1386 * w32-fns.el: Require w32-common-fns.
1387 (w32-version, w32-using-nt, w32-get-clipboard-data)
1388 (w32-set-clipboard-data, x-set-selection, x-get-selection)
1389 (w32-charset-info-alist, x-last-selected, text)
1390 (x-get-selection-value, x-selection-value): Move to
1394 (w32-allow-system-shell, w32-system-shells): Define only in
1397 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1399 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
1400 (read-passwd): Remove a few more potential sources of leaks.
1402 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1404 * progmodes/python.el (inferior-python-mode)
1405 (python-shell-make-comint): Fix initialization of local
1406 variables copied from parent buffer.
1408 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
1410 * term/ns-win.el (ns-read-file-name): Update declaration to match
1412 (ns-respond-to-change-font): Change fontsize separatly so we are sure
1413 it is set when font is acted upon.
1415 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1417 Enhancements to indentation.
1418 * progmodes/python.el (python-indent-context): Give priority to
1419 inside-string context. Make comments indentation markers.
1420 (python-indent-region): Do not mess with strings, unless it's the
1421 enclosing set of quotes.
1423 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1425 * window.el (internal--before-save-selected-window)
1426 (internal--after-save-selected-window): New functions extracted from
1427 save-selected-window. Make sure we return the `alist' we construct.
1428 (save-selected-window): Use them.
1430 * textmodes/tex-mode.el (tex-recenter-output-buffer):
1431 Use with-selected-window.
1433 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
1434 forms that define macros (bug#12593).
1436 2012-10-07 Kenichi Handa <handa@gnu.org>
1438 * international/mule-conf.el (compound-text-with-extensions):
1439 Add :mime-charset property as x-ctext.
1441 2012-10-07 Stefan Merten <smerten@oekonux.de>
1443 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
1444 (rst-indent-literal-normal, rst-indent-literal-minimized)
1445 (rst-indent-comment): Correct :version tag.
1446 (rst-official-cvs-rev): Correct version string.
1448 2012-10-07 Glenn Morris <rgm@gnu.org>
1450 * mail/rmailmm.el (rmail-mime-process-multipart):
1451 Do not confuse a multipart message with an epilogue
1452 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
1454 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1456 Fix shell output retrieval and comint-prompt-regexp init.
1457 * progmodes/python.el (inferior-python-mode):
1458 (python-shell-make-comint): Fix initialization of
1459 comint-prompt-regexp from copied file local variables.
1460 (python-shell-fetched-lines): Remove var.
1461 (python-shell-output-filter-in-progress): Rename from
1462 python-shell-fetch-lines-in-progress.
1463 (python-shell-output-filter-buffer): Rename from
1464 python-shell-fetch-lines-string.
1465 (python-shell-fetch-lines-filter): Delete function.
1466 (python-shell-output-filter): New function.
1467 (python-shell-send-string-no-output): Use them.
1469 2012-10-07 Glenn Morris <rgm@gnu.org>
1471 * hi-lock.el (hi-lock-process-phrase):
1472 Try to make it less fragile. (Bug#7161)
1474 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
1476 2012-10-06 Glenn Morris <rgm@gnu.org>
1478 * ehelp.el (electric-help-mode): Use help-mode rather than
1479 non-existent mode `help'.
1480 (electric-help-map): Use button-buffer-map. (Bug#10917)
1482 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
1483 (reftex-create-bibtex-footer): Fix custom types.
1485 * progmodes/sh-script.el (sh-indent-after-continuation):
1486 Add explicit :group.
1488 * textmodes/rst.el (rst-preferred-decorations)
1489 (rst-shift-basic-offset): Clarify obsolescence versions.
1491 * profiler.el (profiler): Add missing group :version tag.
1492 * avoid.el (mouse-avoidance-banish-position):
1493 * proced.el (proced-renice-command):
1494 * calc/calc.el (calc-ensure-consistent-units):
1495 * calendar/icalendar.el (icalendar-import-format-uid):
1496 * net/tramp.el (tramp-save-ad-hoc-proxies):
1497 * progmodes/bug-reference.el (bug-reference-bug-regexp):
1498 * progmodes/flymake.el (flymake-error-bitmap)
1499 (flymake-warning-bitmap, flymake-fringe-indicator-position):
1500 * progmodes/sh-script.el (sh-indent-after-continuation):
1501 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
1502 (verilog-before-save-font-hook, verilog-after-save-font-hook):
1503 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
1504 (vhdl-array-index-record-field-in-sensitivity-list)
1505 (vhdl-indent-comment-like-next-code-line):
1506 * textmodes/reftex-vars.el (reftex-ref-style-alist)
1507 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
1508 (reftex-cite-key-separator, reftex-create-bibtex-header)
1509 (reftex-create-bibtex-footer):
1510 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
1511 (rst-indent-literal-normal, rst-indent-literal-minimized)
1512 (rst-indent-comment): Add missing custom :version tags.
1514 * calendar/timeclock.el (timeclock-modeline-display):
1515 Add missing obsolete alias for renamed user option.
1517 * strokes.el (strokes-modeline-string):
1518 * emulation/crisp.el (crisp-mode-modeline-string):
1519 * eshell/esh-mode.el (eshell-status-in-modeline):
1520 Aliases to defcustoms must come before the defcustom.
1522 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
1523 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
1524 (cal-tex-cursor-week-monday): Doc fixes.
1525 (cal-tex-cursor-week2-summary): Doc fix.
1526 Rename from cal-tex-cursor-week-at-a-glance.
1528 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
1529 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
1531 * calendar/calendar.el (calendar-mode-map):
1532 Add cal-tex-cursor-week2-summary.
1534 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
1536 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
1538 * subr.el (read-passwd-map): New var.
1539 (read-passwd): Use `read-string' again.
1540 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
1542 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
1544 * register.el (append-to-register, prepend-to-register):
1545 Deactivate mark, as does `copy-to-register' (bug#12389).
1547 2012-10-06 Chong Yidong <cyd@gnu.org>
1549 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
1551 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
1553 * international/characters.el: Fix simple mistake ((car chars) ->
1554 elt), delete duplicated code.
1556 2012-10-06 Glenn Morris <rgm@gnu.org>
1558 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
1560 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
1562 * color.el (color-hsl-to-rgb): Fix incorrect results for
1563 small and large hue values. (Bug#12559)
1565 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
1567 Enhancements to docstring formatting when filling paragraphs.
1568 * progmodes/python.el (python-fill-docstring-style): Rename from
1569 python-fill-string-style. Added new style.
1570 (python-fill-string): Use new style. Better checks for
1573 2012-10-05 Glenn Morris <rgm@gnu.org>
1575 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
1577 * color.el (color-name-to-rgb, color-rgb-to-hex)
1578 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
1579 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
1580 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
1581 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
1583 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
1585 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
1587 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
1588 to get the correct size across symlinks.
1590 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
1592 2012-10-04 Juri Linkov <juri@jurta.org>
1594 * replace.el (query-replace-interactive): Declare obsolete.
1595 (query-replace-read-from): Add the last incremental search string
1596 to the list of default values accessible via M-n.
1597 (map-query-replace-regexp): Use `read-regexp'.
1598 (query-replace, query-replace-regexp, query-replace-regexp-eval)
1599 (map-query-replace-regexp, replace-string, replace-regexp):
1600 Fix docstrings to replace mentions of `query-replace-interactive'
1601 with alternatives. (Bug#12526)
1603 2012-10-04 Juri Linkov <juri@jurta.org>
1605 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
1606 (dired-pop-to-buffer): Declare obsolete.
1607 (dired-mark-pop-up): Doc fix.
1609 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
1611 Allow user to set docstring style for fill-paragraph.
1612 * progmodes/python.el
1613 (python-fill-comment-function, python-fill-string-function)
1614 (python-fill-decorator-function, python-fill-paren-function):
1615 Remove :safe for defcustoms.
1616 (python-fill-string-style): New defcustom
1617 (python-fill-paragraph-function): Enhance context detection.
1618 (python-fill-string): Honor python-fill-string-style settings.
1620 2012-10-04 Martin Rudalics <rudalics@gmx.at>
1622 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
1623 after setting its buffer (Bug#10805).
1625 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
1627 Fix cornercase for string syntax.
1628 * progmodes/python.el (python-syntax-propertize-function):
1629 Simplify and enhance the regexp for unescaped quotes. Now it also
1630 matches quotes in weird situations like the single quote in
1632 (python-syntax-stringify): Simplify num-quotes detecting code.
1634 2012-10-03 Glenn Morris <rgm@gnu.org>
1636 * help-macro.el (three-step-help):
1637 Revert 2012-09-29 change. (Bug#12567)
1639 2012-10-03 Martin Rudalics <rudalics@gmx.at>
1641 * menu-bar.el (kill-this-buffer): Don't do anything when
1642 `menu-frame' is not alive or visible (Bug#8184).
1644 * emacs-lisp/debug.el (debug): When quitting the debugger window
1645 restore current buffer (Bug#12502).
1647 2012-10-02 Chong Yidong <cyd@gnu.org>
1649 * progmodes/hideif.el (hif-lookup, hif-defined):
1650 Handle semantic-c-takeover-hideif.
1652 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
1654 Change sampling interval units from ms to ns.
1655 * profiler.el (profiler-sampling-interval): Change units
1656 from ms to ns, multiplying the default by 1000000 so that
1658 (profiler-report-cpu-line-format): Give enough room for
1659 the maximum counters on 64-bit hosts.
1660 (profiler-report-render-calltree-1): Call them "CPU samples",
1661 not "Time (ms)", since they are not milliseconds now (and
1664 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
1666 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
1667 Fix querying BBDB for entries without a last name (Bug#11580).
1669 2012-10-02 Chong Yidong <cyd@gnu.org>
1671 * emacs-lisp/eieio.el: Restore Version header.
1673 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
1675 * vc/diff-mode.el (diff--auto-refine-data): New var.
1676 (diff-hunk): Use it to delay refinement.
1677 (diff-mode): Remove overlays when we turn off font-lock.
1679 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
1680 (table-initialize-table-fixed-width-mode)
1681 (table-set-table-fixed-width-mode): Remove functions.
1682 (table-command-list): Move initialization into declaration.
1683 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
1684 (table-with-cache-buffer): Use `declare'.
1685 (table-span-cell): Simplify via CSE.
1686 (table-fixed-width-mode): Use define-minor-mode.
1687 (table-call-interactively, table-funcall, table-apply): Remove.
1688 (table-function): New function, to replace them.
1690 * bookmark.el (bookmark-search-pattern): Remove var.
1691 (bookmark-read-search-input): Remove function.
1692 (bookmark-bmenu-search): Reimplement using a minibuffer.
1694 * faces.el (modeline): Remove obsolete face name.
1696 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
1697 and give a non-nil default value.
1698 (add-change-log-entry): Simplify accordingly.
1700 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
1702 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
1703 (vc-git-log-edit-toggle-amend): New function.
1704 (vc-git-log-edit-toggle-signoff): New function.
1705 (vc-git-log-edit-mode): New major mode.
1706 (vc-git-log-edit-mode-map): Keymap for it.
1707 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
1709 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
1711 (log-edit-toggle-header): New function.
1712 (log-edit-extract-headers): Accept function values in HEADERS alist.
1714 2012-10-01 David Engster <deng@randomsample.de>
1716 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
1717 from symbol property and change message to be more consistent with
1719 (eieio-describe-generic): Add filename for each implementation.
1720 Fix indices for generic and normal methods.
1721 (eieio-method-def, eieio-class-def): New buttons.
1722 (eieio-help-find-method-definition)
1723 (eieio-help-find-class-definition): New functions.
1724 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
1725 class, constructor and method definitions.
1727 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
1728 information in symbol property.
1729 (scoped-class): Remove.
1730 (eieio-slot-name-index, call-next-method): Check if it is bound.
1732 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
1734 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
1735 (eieio-custom-mode): New major mode.
1736 (eieio-customize-object): Use it.
1738 2012-10-01 Eric Ludlam <zappo@gnu.org>
1740 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
1741 specifying the expected class, and whether subclassing is allowed.
1742 (eieio-persistent-convert-list-to-object):
1743 (eieio-persistent-validate/fix-slot-value)
1744 (eieio-persistent-slot-type-is-class-p): New functions.
1745 (eieio-named::slot-missing): Doc fix.
1747 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
1748 Stop using unused publd variable.
1750 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
1751 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
1752 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
1753 (eieio-speedbar-handle-click): Do not specify a class for the
1754 method. Fixes method invocation order problems with EDE.
1756 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1758 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
1759 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
1761 2012-10-01 Karl Fogel <kfogel@red-bean.com>
1763 * bookmark.el (bookmark-version-control): Give tags in the
1764 :type choices (Bug#12309), and improve doc string.
1765 (bookmark-write-file): Bind `print-circle' to `t' to allow
1766 circular custom bookmark types. (Bug#12503)
1768 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
1770 Revert the FOLLOW-SYMLINKS change for file-attributes.
1771 * files.el (remote-file-name-inhibit-cache, after-find-file):
1772 * time.el (display-time-file-nonempty-p): Undo last change.
1774 * profiler.el (profiler-sampling-interval): Change default back to 1.
1775 See Stefan Monnier in
1776 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
1778 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
1780 Shell output catching a la gud-gdb.
1781 * progmodes/python.el (python-shell-fetch-lines-in-progress)
1782 (python-shell-fetch-lines-string, python-shell-fetched-lines):
1784 (python-shell-fetch-lines-filter): New function.
1785 (python-shell-send-string-no-output): Use them.
1787 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
1789 * profiler.el (profiler-sampling-interval): Rename from
1790 profiler-sample-interval.
1791 (profiler-sampling-interval): Default to 10.
1792 (profiler-find-profile): New command (was profiler-find-log).
1793 (profiler-find-profile-other-window): New command.
1794 (profiler-find-profile-other-frame): New command.
1795 (profiler-profile): Introduce API-level data structure.
1797 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
1799 file-attributes has a new optional arg FOLLOW-SYMLINKS.
1800 * files.el (remote-file-name-inhibit-cache):
1801 * time.el (display-time-file-nonempty-p): Use it.
1802 * files.el (after-find-file): Don't chase links before calling
1803 file-exists-p, as file-exists-p already does the right thing.
1805 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
1807 Merge from standalone RefTeX repository.
1809 The following ChangeLog entries are shortened versions of the
1810 original ones with file paths adapted. A not so strongly edited
1811 version of the original ChangeLog can be found in the commit log.
1813 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
1814 (reftex-arg-cite): Use `reftex-cite-key-separator'.
1815 Correctly handle new value type returned by `reftex-citation'.
1817 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
1818 that entries with whitespace at various places are found.
1819 Doc fix. Include entries that are cross-referenced from cited entries.
1820 Include @String definitions in the resulting bib file. Add header
1821 and footer defined in `reftex-create-bibtex-header' and
1822 `reftex-create-bibtex-footer'.
1823 (reftex-do-citation): Make it possible again to insert
1824 non-existent entries. Save match data when asking for optional
1825 arguments. Return all keys, not just the first one.
1826 (reftex-all-used-citation-keys): Fix regexp to correctly extract
1827 all citations in the same line.
1828 (reftex-parse-bibtex-entry): Accept additional optional argument
1829 `raw' and keep quotes or braces if it is non-nil. Match fields
1830 containing hyphens besides word constituents.
1831 (reftex-get-string-refs): New function.
1832 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
1833 and ask if it should be reread in case it did.
1834 (reftex-pop-to-bibtex-entry)
1835 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
1836 entries with spaces or tabs in front of arguments.
1837 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
1838 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
1839 Match entries containing numbers and symbol constituents.
1840 (reftex-do-citation, reftex-figure-out-cite-format):
1841 Use `reftex-cite-key-separator'.
1843 * textmodes/reftex-dcr.el: Move provide statement to end of file.
1844 (reftex-mouse-view-crossref): Explain why point is set.
1846 * textmodes/reftex-global.el: Whitespace changes.
1848 * textmodes/reftex-index.el: Move provide statement to end of
1850 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
1851 (reftex-index-visit-phrases-buffer): Set marker when visiting
1852 buffer. This allows for returning from the phrases file to the
1853 file one was just editing instead of the file where the last
1854 phrases was added from.
1855 (reftex-index-phrases-syntax-table): New variable. Give ?\"
1856 punctuation syntax as it usually is not used as string quote in
1857 TeX-related modes and may occur unmatched. The change also
1858 prevents fontification of quoted content.
1859 (reftex-index-phrases-mode): Use it.
1861 * textmodes/reftex-parse.el (reftex-parse-from-file):
1862 Move backward one char if a `\' was matched after a section macro.
1863 (reftex-parse-from-file): Use beginning of match instead of end as
1866 * textmodes/reftex-ref.el: Adapt creation of
1867 `reftex-<package>-<macro>' functions to new structure of
1868 `reftex-ref-style-alist'.
1869 (reftex-reference): Use `reftex-ref-style-list' function.
1870 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
1871 reference macro if `reftex-ref-macro-prompt' is non-nil.
1872 (reftex-reference): Pass refstyle to `reftex-format-special'.
1873 Determine reference macro by looking at
1874 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
1875 Use only one special format function.
1876 (reftex-varioref-vref, reftex-fancyref-fref)
1877 (reftex-fancyref-Fref): Remove definitions. The functions are now
1878 generated from `reftex-ref-style-alist'.
1879 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
1881 (reftex-format-special): New function.
1883 * textmodes/reftex-sel.el
1884 (reftex-select-cycle-ref-style-internal): Adapt to new structure
1885 of `reftex-ref-style-alist'. Remove code for testing macro type.
1886 (reftex-select-toggle-varioref)
1887 (reftex-select-toggle-fancyref): Remove.
1888 (reftex-select-cycle-ref-style-internal)
1889 (reftex-select-cycle-ref-style-forward)
1890 (reftex-select-cycle-ref-style-backward): New functions.
1891 (reftex-select-label-map): Use `v' and `V' for general cycling
1892 through reference styles. Add `p' for switching between number
1893 and page reference types.
1895 * textmodes/reftex-toc.el (reftex-re-enlarge):
1896 Call `enlarge-window' only if there is something to do because in Emacs
1897 the horizontal version throws an error even if the parameter is 0.
1899 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
1900 (reftex-plug-into-AUCTeX): Doc fix.
1901 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
1902 string. Adapt to new name.
1903 (reftex-ref-style-alist): Change structure so that it is not
1904 possible to use multiple different package names within a style.
1905 Remove the symbols for symbols for macro type distinction.
1906 Add characters for macro selection.
1907 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
1908 (reftex-create-bibtex-footer): New variables.
1909 (reftex-format-ref-function): Mention third argument of special
1911 (reftex-ref-style-alist, reftex-ref-style-default-list):
1913 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
1914 to new implementation. Mark as obsolete. Add compatibility code
1915 for honoring the variable values in case they are set.
1916 (reftex-cite-format-builtin, reftex-bibliography-commands):
1917 Add support for ConTeXt.
1918 (reftex-format-ref-function, reftex-format-cite-function):
1920 (reftex-cite-key-separator): New variable.
1922 * textmodes/reftex.el (reftex-syntax-table-for-bib)
1923 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
1924 `reftex-syntax-table' because parens have to retain their paren
1925 syntax in order for parsing of BibTeX entries like @book(...) to
1927 (reftex-in-comment): Do not error out if `comment-start-skip' is
1928 not set. Deal correctly with escaped comment characters.
1929 (reftex-tie-multifile-symbols): Add doc string.
1930 Initialize `reftex-ref-style-list'.
1931 (reftex-untie-multifile-symbols): Add doc string.
1932 (reftex-add-index-macros): Doc fix.
1933 (reftex-ref-style-activate, reftex-ref-style-toggle)
1934 (reftex-ref-style-list): New functions.
1935 (reftex-mode-menu): Use them. Adapt to new structure of
1936 `reftex-ref-style-alist'.
1937 (reftex-select-with-char): Kill the RefTeX Select buffer when
1939 (reftex-remove-if): New function.
1940 (reftex-erase-all-selection-and-index-buffers)
1941 (reftex-mode-menu): Reference styles are now computed from
1942 `reftex-ref-style-alist'. Fix typo.
1943 (reftex-report-bug): New function.
1944 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
1945 algorithms with O(n log n). Introduce optional argument SORT (not
1948 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
1950 Enhancements for triple-quote string syntax.
1951 * progmodes/python.el (python-syntax-propertize-function):
1952 Match both quote cases in one regexp.
1953 (python-syntax-stringify): Handle matches properly.
1955 2012-09-30 Juri Linkov <juri@jurta.org>
1957 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
1958 to nil around the call to `insert' to prevent
1959 directory time modification by lock_file. (Bug#2295)
1960 * tar-mode.el (tar-summarize-buffer): Idem.
1962 2012-09-30 Juri Linkov <juri@jurta.org>
1964 * facemenu.el (list-colors-sort): Add option "Luminance".
1965 (list-colors-sort-key): Implement it.
1967 * vc/diff-mode.el (diff-refine-removed):
1968 * vc/ediff-init.el (ediff-fine-diff-A):
1969 * vc/smerge-mode.el (smerge-refined-removed):
1970 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
1972 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
1974 * term/ns-win.el (x-file-dialog): New function.
1976 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
1978 * ido.el (ido-max-directory-size): Default to nil; the current
1979 default is small for POSIX systems, and impractical on Windows 7
1980 now that lstat returns directory sizes for NTFS.
1982 2012-09-30 Martin Rudalics <rudalics@gmx.at>
1984 In buffer display functions handle window-height/window-width
1985 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
1986 * window.el (window--display-buffer): New argument ALIST.
1987 Obey window-height and window-width alist entries.
1988 (window--try-to-split-window): New argument ALIST.
1989 Bind window-combination-limit to t when the window's size shall be
1990 changed and window-combination-limit equals `window-size'.
1991 (display-buffer-in-atom-window)
1992 (display-buffer-in-major-side-window)
1993 (display-buffer-in-side-window, display-buffer-same-window)
1994 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1995 (display-buffer-pop-up-window, display-buffer-below-selected)
1996 (display-buffer-at-bottom, display-buffer-in-previous-window)
1997 (display-buffer-use-some-window): Adjust all callers of
1998 window--display-buffer and window--try-to-split-window.
1999 (fit-frame-to-buffer): New option.
2000 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
2002 (display-buffer-in-major-side-window): Evaluate window-height /
2003 window-width alist entries.
2005 * help.el (temp-buffer-resize-frames)
2006 (temp-buffer-resize-regexps): Remove options.
2007 (temp-buffer-resize-mode): Adjust doc-string.
2008 (resize-temp-buffer-window): Don't consult
2009 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
2010 temp-buffer-resize-frames.
2012 * dired.el (dired-mark-pop-up):
2013 Call display-buffer-below-selected with a fit-window-to-buffer alist
2016 2012-09-30 Chong Yidong <cyd@gnu.org>
2018 * server.el (server-host): Document the security implications.
2019 (server-auth-key): Doc fix.
2021 * startup.el (initial-buffer-choice): Doc fix.
2023 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
2025 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
2028 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
2030 * help-fns.el (help-fns--obsolete): Fix last change.
2032 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
2034 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
2035 (minor-mode-map-alist): Remove redundant code.
2037 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
2038 visited in a buffer.
2039 (cvs-insert-visited-file): New function.
2040 (find-file-hook): Use it.
2042 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
2044 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
2046 (log-edit-empty-buffer-p): Don't require a space after a header.
2048 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
2050 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
2052 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
2053 a proper minor-mode.
2055 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
2057 2012-09-29 Glenn Morris <rgm@gnu.org>
2059 * winner.el (winner-mode): Remove variable (let define-minor-mode
2061 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
2063 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
2064 (winner-mode): Use define-minor-mode.
2066 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
2067 the full definition in loaddefs, rather than duplicating it.
2069 * help-macro.el (three-step-help): No need to autoload defcustom.
2071 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
2072 (inferior-lisp-program, inferior-lisp-load-command)
2073 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2074 No need to autoload defcustoms.
2076 * hippie-exp.el (hippie-expand-try-functions-list)
2077 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
2078 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
2079 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2080 (hippie-expand-only-buffers): No need to autoload defcustoms.
2081 * progmodes/vhdl-mode.el (vhdl-line-expand):
2082 Explicitly load hippie-exp, so it does not get autoloaded
2083 while hippie-expand-try-functions-list is let-bound.
2085 2012-09-28 Glenn Morris <rgm@gnu.org>
2087 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
2089 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
2090 Only "cl.el" counts as cl these days.
2092 2012-09-28 Juri Linkov <juri@jurta.org>
2094 Display archive errors in the echo area instead of inserting
2097 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
2098 to STDERR-TEST that can be a regexp matching a successful output.
2099 Create a temporary file and redirect stderr to it. Search for
2100 STDERR-TEST in the stderr output and display it in the echo area
2101 if no match is found.
2102 (archive-extract-by-file): New function like
2103 `archive-extract-by-stdout' but extracting archives to files
2104 and looking for successful matches in stdout. Function body is
2105 mostly copied from `archive-rar-extract'.
2106 (archive-rar-extract): Use `archive-extract-by-file'.
2107 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
2109 2012-09-28 Leo Liu <sdl.web@gmail.com>
2111 * pcomplete.el (pcomplete-show-completions):
2112 Use minibuffer-message to make pcomplete usable in minibuffer.
2114 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
2116 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2118 * type-break.el: Use lexical-binding.
2119 (type-break-mode): Use define-minor-mode.
2121 * emacs-lisp/pcase.el (pcase--mark-used): New.
2122 (pcase--u1): Use it (bug#12512).
2124 * custom.el (load-theme): Set buffer-file-name so the load is recorded
2125 in load-history with the right file name.
2127 2012-09-28 Tassilo Horn <tsdh@gnu.org>
2129 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
2130 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
2131 (doc-view-get-bounding-box): Make bounding box slicing work for
2132 ODF and DVI documents.
2134 2012-09-28 Glenn Morris <rgm@gnu.org>
2136 * type-break.el (type-break-mode, type-break-interval)
2137 (type-break-good-rest-interval, type-break-keystroke-threshold):
2138 No need to autoload.
2139 (type-break-good-rest-interval, type-break-keystroke-threshold):
2142 2012-09-28 Chong Yidong <cyd@gnu.org>
2144 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
2147 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2149 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
2151 2012-09-27 Glenn Morris <rgm@gnu.org>
2153 * faces.el (x-display-name): Declare (for without-x builds).
2155 * linum.el (linum-format): Don't autoload it. Improve :type.
2157 * progmodes/tcl.el: Don't require outline when compiling.
2158 (outline-regexp, outline-level): Declare.
2159 * textmodes/sgml-mode.el: Don't require outline when compiling.
2160 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
2162 * term.el (term-ansi-reset):
2163 Try setting term-ansi-face-already-done to nil. (Bug#11785)
2165 * vc/vc.el (vc-next-action): Only gripe about committing read-only
2166 files for RCS and SCCS. (Bug#9781)
2168 2012-09-27 Chong Yidong <cyd@gnu.org>
2170 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
2171 change; value should be t.
2173 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2175 * image-mode.el: Use lexical-binding.
2176 (image-mode-winprops): Use t to stand for the window of
2177 a buffer that's not displayed.
2178 * doc-view.el (doc-view-new-window-function): Handle the new
2180 (doc-view-enlarge): Make it a real nop if the size is not changed.
2181 (doc-view-display): Handle the case where the buffer is not (yet?)
2182 displayed in any window.
2183 (doc-view-saved-settings): New var.
2184 (doc-view-mode): Use it.
2185 (doc-view-fallback-mode): Set it.
2187 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
2188 Set lexical-binding.
2189 (minibuffer-eldef-shorten-default): New var.
2190 (minibuffer-default-in-prompt-regexps): Use it for new default.
2191 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
2193 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
2195 * international/uni-bidi.el:
2196 * international/uni-category.el:
2197 * international/uni-name.el:
2198 * international/uni-numeric.el: Regenerate.
2200 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
2201 Stefan Monnier <monnier@iro.umontreal.ca>
2203 * profiler.el: New file.
2205 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
2207 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
2208 (testcover-reinstrument): Simplify with CSE.
2210 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
2212 * window.el (temp-buffer-window-setup): Fix typo in docstring.
2214 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
2216 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
2217 (verilog-auto-input, verilog-auto-insert-lisp)
2218 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
2219 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
2220 (verilog-auto-unused, verilog-auto-wire)
2221 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
2222 newline. Reported by Andrew Jones.
2223 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
2224 Reported by Brad Dobbie.
2225 (verilog-batch-delete-trailing-whitespace):
2226 Create verilog-batch-delete-trailing-whitespace.
2227 Reported by Brad Dobbie.
2228 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
2229 parameters from another module. Reported by Dan Katz.
2230 (verilog-auto, verilog-auto-assign-modport)
2231 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
2232 AUTOINOUTMODPORT for UVM interface module shell generation.
2233 Reported by Brad Dobbie.
2234 (verilog-auto-inst-interfaced-ports): Make default nil, as more
2236 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
2237 Reported by Matt Martin.
2239 2012-09-25 Martin Rudalics <rudalics@gmx.at>
2241 * window.el (window--resize-child-windows): When resizing child
2242 windows proportionally, process them in reverse order to
2243 preserve the "when splitting a window the new one gets the odd
2245 (window--resize-root-window-vertically): When resizing the
2246 minibuffer window try to affect only windows at the bottom of the
2249 2012-09-25 Chong Yidong <cyd@gnu.org>
2251 * subr.el (declare): Doc fix.
2253 * help-fns.el (help-fns--obsolete): Handle macros properly.
2255 2012-09-25 Chong Yidong <cyd@gnu.org>
2257 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
2258 this function obsolete.
2260 * calendar/cal-x.el (calendar-two-frame-setup)
2261 (calendar-only-one-frame-setup, calendar-one-frame-setup):
2262 * calendar/calendar.el (american-calendar, european-calendar)
2263 (calendar-for-loop):
2264 * comint.el (comint-dynamic-simple-complete)
2265 (comint-dynamic-complete-as-filename, comint-unquote-filename):
2266 * desktop.el (desktop-load-default):
2267 * dired-x.el (dired-omit-here-always)
2268 (dired-hack-local-variables, dired-default-directory):
2269 * emacs-lisp/derived.el (derived-mode-class):
2270 * emacs-lisp/timer.el (timer-set-time-with-usecs):
2271 * emacs-lock.el (toggle-emacs-lock):
2272 * epa.el (epa-display-verify-result):
2273 * epg.el (epg-sign-keys, epg-start-sign-keys)
2274 (epg-passphrase-callback-function):
2275 * eshell/esh-util.el (eshell-for):
2276 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
2277 (eshell-add-to-window-buffer-names):
2278 * files.el (locate-file-completion):
2279 * imenu.el (imenu-example--create-c-index)
2280 (imenu-example--create-lisp-index)
2281 (imenu-example--lisp-extract-index-name)
2282 (imenu-example--name-and-position):
2283 * international/mule-cmds.el (princ-list):
2284 * international/mule-diag.el (decode-codepage-char):
2285 * international/mule-util.el (detect-coding-with-priority):
2286 * iswitchb.el (iswitchb-read-buffer):
2287 * mail/mailalias.el (mail-complete):
2288 * mail/sendmail.el (mail-sent-via):
2289 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
2290 (mouse-major-mode-menu):
2291 * password-cache.el (password-read-and-add):
2292 * pcomplete.el (pcomplete-parse-comint-arguments):
2293 * progmodes/sh-script.el (sh-maybe-here-document):
2294 * replace.el (query-replace-regexp-eval):
2295 * savehist.el (savehist-load):
2296 * simple.el (choose-completion-delete-max-match):
2297 * term.el (term-dynamic-simple-complete):
2298 * vc/ediff-init.el (ediff-check-version):
2299 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
2300 * vc/vc.el (vc-diff-switches-list):
2301 * view.el (view-return-to-alist-update): Likewise.
2303 * subr.el (eval-next-after-load, makehash, insert-string)
2304 (assoc-ignore-representation, assoc-ignore-case): Use declare to
2306 (mode-line-inverse-video): Variable deleted.
2308 * international/mule-util.el (string-to-sequence): Remove.
2310 * calendar/calendar.el (calendar-version):
2311 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
2312 (icalendar-convert-diary-to-ical):
2313 * cus-edit.el (custom-mode):
2314 * ansi-color.el (ansi-color-unfontify-region):
2315 * international/latin1-disp.el (latin1-char-displayable-p):
2316 * progmodes/cwarn.el (turn-on-cwarn-mode):
2317 * progmodes/which-func.el (which-func-update-1):
2318 Use define-obsolete-function-alias.
2320 * net/newst-backend.el (newsticker-cache-filename):
2321 * net/newst-treeview.el (newsticker-groups-filename):
2322 Fix incorrect obsolescence declaration.
2324 * allout.el (allout-passphrase-hint-string): Likewise.
2325 (allout-init): Use a declare form to mark obsolete.
2327 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
2328 this applies to functions.
2330 * iswitchb.el (iswitchb-read-buffer): Move code of
2331 iswitchb-define-mode-map here, and delete that obsolete function.
2333 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
2334 font-lock-reference-face.
2336 2012-09-25 Glenn Morris <rgm@gnu.org>
2338 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
2341 * eshell/em-term.el (eshell-term-name):
2342 Default to term-term-name. (Bug#12485)
2344 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
2346 * progmodes/python.el (python-shell-send-buffer): Better handling
2347 of "if __name__ == '__main__':" conditionals when sending the buffer.
2349 2012-09-24 Glenn Morris <rgm@gnu.org>
2351 * eshell/esh-cmd.el (eshell-find-alias-function):
2352 Tighten up file-name regexp. (Bug#12499)
2354 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
2356 Enhancements for triple-quote string syntax.
2357 * progmodes/python.el (python-quote-syntax): Remove.
2358 (python-syntax-propertize-function): New value.
2359 (python-syntax-count-quotes, python-syntax-stringify):
2362 2012-09-24 Chong Yidong <cyd@gnu.org>
2364 * mail/supercite.el (sc-version): Remove obsolete function.
2365 (sc-describe): Don't mark as obsolete, since it is bound.
2366 (sc-submit-bug-report): Remove.
2368 * vc/log-edit.el (cvs-changelog-full-paragraphs)
2369 (cvs-commit-buffer-require-final-newline): Remove.
2370 (log-edit-require-final-newline)
2371 (log-edit-changelog-full-paragraphs): Default to t.
2373 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
2374 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
2375 * vc/vc.el (vc-checkout-carefully): Likewise.
2377 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
2378 (emerge-version): Remove.
2380 * progmodes/compile.el (compile-internal): Remove.
2381 (compilation-parse-errors-function): Fix typo.
2383 * international/mule.el (set-char-table-default): Remove.
2384 (set-coding-priority, make-coding-system, generic-char-p)
2385 (charset-list, charset-bytes, charset-id): Use declare to mark
2386 functions as obsolete.
2388 * vc/pcvs-defs.el (cvs-buffer-name-alist)
2389 (cvs-invert-ignore-marks): Remove references to obsolete vars.
2390 * vc/vc-hooks.el (vc-default-registered): Don't use
2391 vc-master-templates.
2393 * font-lock.el (font-lock-reference-face):
2394 Use define-obsolete-variable-alias.
2396 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
2397 * calendar/calendar.el (calendar-font-lock-keywords):
2398 * calendar/diary-lib.el (diary-font-lock-keywords)
2399 (diary-fancy-font-lock-keywords):
2400 * textmodes/reftex-sel.el (reftex-insert-docstruct):
2401 * textmodes/reftex-index.el (reftex-insert-index):
2402 * textmodes/reftex-cite.el (reftex-format-bib-entry):
2403 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2404 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
2405 * progmodes/prolog.el (prolog-font-lock-keywords):
2406 * progmodes/idlwave.el (idlwave-idl-keywords):
2407 * progmodes/ada-mode.el (ada-font-lock-keywords):
2408 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
2410 2012-09-24 Glenn Morris <rgm@gnu.org>
2412 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
2414 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
2416 * progmodes/python.el (python-indent-line): More consistent cursor
2419 2012-09-23 Stefan Merten <smerten@oekonux.de>
2421 * textmodes/rst.el: Fix compiler warning.
2423 2012-09-23 Roland Winkler <winkler@gnu.org>
2425 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
2426 Transcribe also LaTeX hyphenation.
2427 (bibtex-reformat): Bug fix. Do not quote twice the elements of
2428 bibtex-reformat-previous-options.
2430 2012-09-23 Roland Winkler <winkler@gnu.org>
2432 * proced.el (proced-renice-command): New variable.
2433 (proced-marked-processes): New function.
2434 (proced-with-processes-buffer): New macro.
2435 (proced-send-signal): Use them.
2436 (proced-renice): New command bound to r.
2438 2012-09-23 Roland Winkler <winkler@gnu.org>
2440 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
2441 ibuffer-saved-filter-groups has one element, shortcut the call of
2442 completing-read. (Bug#12331)
2444 2012-09-23 Chong Yidong <cyd@gnu.org>
2446 * bindings.el (mode-line-toggle-read-only):
2447 * bs.el (bs-toggle-readonly):
2448 * buff-menu.el (Buffer-menu-toggle-read-only):
2449 * dired.el (dired-toggle-read-only):
2450 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
2452 2012-09-23 Chong Yidong <cyd@gnu.org>
2454 * image.el (image-type-available-p): Adapt to init-image-library
2457 2012-09-22 Juri Linkov <juri@jurta.org>
2459 * dired.el (dired-mode-map): Add [remap read-only-mode] for
2460 `dired-toggle-read-only'. (Bug#12462)
2462 2012-09-22 Martin Rudalics <rudalics@gmx.at>
2464 * subr.el (temp-output-buffer-show): New function.
2465 (with-output-to-temp-buffer): Call temp-output-buffer-show
2466 instead of internal-temp-output-buffer-show.
2468 2012-09-22 Chong Yidong <cyd@gnu.org>
2470 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
2473 * repeat.el (repeat): Doc fix (Bug#12348).
2475 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
2478 * simple.el (shell-command-on-region): Doc fix.
2479 (read-only-mode): Doc fix.
2481 2012-09-22 Eli Zaretskii <eliz@gnu.org>
2483 * emacs-lisp/timer.el (run-with-idle-timer)
2484 (timer-activate-when-idle): Warn against reinvoking an idle timer
2485 from within its own timer action. (Bug#12447)
2487 2012-09-22 Martin Rudalics <rudalics@gmx.at>
2489 * cus-start.el (window-combination-limit): Add new optional
2491 * window.el (temp-buffer-window-show)
2492 (window--try-to-split-window): Handle new values of
2493 window-combination-limit (Bug#1806).
2494 (split-window): Test window-combination-limit for t instead of
2496 (display-buffer-at-bottom): New buffer display action function.
2497 * help.el (temp-buffer-resize-regexps): New option.
2498 (temp-buffer-resize-mode): Rewrite doc-string.
2499 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
2500 Don't resize reused window. Suggested by Glenn Morris.
2502 2012-09-22 Stefan Merten <smerten@oekonux.de>
2504 * textmodes/rst.el: Revamp section title faces.
2505 (rst-official-version)
2506 (rst-package-emacs-version-alist): Sync with official version
2508 (rst-faces-defaults, rst-set-level-default)
2509 (rst-level-face-max, rst-level-face-base-color)
2510 (rst-level-face-base-light, rst-level-face-format-light)
2511 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
2512 (rst-adornment-faces-alist): Match new setup.
2513 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
2514 (rst-level-5, rst-level-6): New faces.
2516 2012-09-22 Chong Yidong <cyd@gnu.org>
2518 * simple.el (undo): Handle indirect buffers (Bug#8207).
2520 2012-09-21 Leo Liu <sdl.web@gmail.com>
2522 IDO: Disable match re-ordering for buffer switching.
2523 * ido.el (ido-buffer-disable-smart-matches): New variable.
2524 (ido-set-matches-1): Use it. (Bug#2042)
2526 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
2528 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
2529 Fix 2011-05-17 change. (Bug#12418)
2531 2012-09-21 Leo Liu <sdl.web@gmail.com>
2533 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
2535 2012-09-21 Glenn Morris <rgm@gnu.org>
2537 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
2538 Be more robust about locating simple.el.
2540 2012-09-21 Glenn Morris <rgm@gnu.org>
2542 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
2544 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
2546 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
2548 2012-09-20 Juri Linkov <juri@jurta.org>
2550 * replace.el (query-replace-read-from): Use `read-regexp' instead
2551 of `read-from-minibuffer' when `regexp-flag' is non-nil.
2552 (occur-read-primary-args): Use `read-regexp' instead of
2554 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
2555 `read-from-minibuffer'.
2556 * isearch.el (isearch-occur): Use `read-regexp' instead of
2558 * dired.el (dired-read-regexp): Use `read-regexp' instead of
2559 `read-from-minibuffer'.
2560 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
2561 of `read-string'. (Bug#7567)
2563 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
2564 and allow accepting a list of strings prepended to a list of
2565 standard default values. Doc fix. (Bug#12321)
2567 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
2569 * replace.el (read-regexp): Don't add ": " when PROMPT already
2570 ends with a colon and space. (Bug#12321)
2572 2012-09-20 Tassilo Horn <tsdh@gnu.org>
2574 * doc-view.el (doc-view-display): Better fix for the cl-assertion
2577 2012-09-20 Stefan Merten <smerten@oekonux.de>
2579 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
2580 Fixes feature request bug#11711.
2581 (rst-mode): Create `imenu-create-index-function'.
2582 (rst-get-stripped-line): Delete after refactoring.
2583 (rst-section-tree, rst-section-tree-rec)
2584 (rst-section-tree-point): Refactor and document properly.
2585 (rst-imenu-find-adornments-for-position)
2586 (rst-imenu-convert-cell, rst-imenu-create-index):
2589 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2591 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
2592 (macroexp--expand-all): Use it.
2593 (macroexp--funcall-and-return): Remove by folding it into its sole
2594 caller (macroexp--warn-and-return).
2595 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
2596 Use macroexp--obsolete-warning.
2598 * calc/calc.el: Fix last change by removing the whole chunk, since it
2599 was only needed back when Calc was not bundled.
2601 2012-09-20 Martin Rudalics <rudalics@gmx.at>
2603 * emacs-lisp/debug.el (debug): Restore assignment to
2604 debugger-old-buffer removed on 2012-09-08.
2606 2012-09-20 Juri Linkov <juri@jurta.org>
2608 * dired-aux.el (dired-diff): Remove (require 'diff) since
2609 `diff-latest-backup-file' is now autoloaded.
2611 2012-09-20 Chong Yidong <cyd@gnu.org>
2613 * vc/diff.el (diff-latest-backup-file): Autoload.
2615 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2617 * calc/calc.el: Remove redundant autoload shape check.
2618 (sel-mode): Don't defvar.
2619 (calc-get-stack-element): Add `sel-mode' arg instead.
2620 (calc-top, calc-top-list): Pass it this additional argument.
2621 * calc/calc-store.el (calc-store-map):
2622 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
2623 (calc-map-equation, calc-outer-product, calc-inner-product):
2624 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
2626 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
2628 2012-09-19 Juri Linkov <juri@jurta.org>
2630 * dired-aux.el (dired-diff): Add (require 'diff) because
2631 `diff-latest-backup-file' is not autoloaded.
2632 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
2633 of `dired-get-filename' to t to not report error when there is
2634 no default file on the current line.
2636 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2638 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
2639 macroexp--eval-if-compile.
2640 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
2641 (macroexp--expand-all): Use them (bug#12371).
2643 * doc-view.el (doc-view-guess-paper-size)
2644 (doc-view-scale-bounding-box): Fix unbound `caddr'.
2646 2012-09-19 Tassilo Horn <tsdh@gnu.org>
2648 New feature: set optimal slice from BoundingBox information.
2649 * doc-view.el (doc-view-mode-map): Add keybinding.
2650 (doc-view-menu): Add menu entry.
2651 (doc-view-set-slice): Adapt docstring.
2652 (doc-view-get-bounding-box, doc-view-guess-paper-size)
2653 (doc-view-scale-bounding-box)
2654 (doc-view-set-slice-from-bounding-box): New functions.
2655 (doc-view-paper-sizes): New defvar.
2657 2012-09-19 Glenn Morris <rgm@gnu.org>
2659 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
2660 (byte-compile-log-warning): Autoload. (Bug#12371)
2662 * calendar/calendar.el (calendar-american-month-header)
2663 (calendar-european-month-header, calendar-iso-month-header)
2664 (calendar-month-header): New options.
2665 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
2666 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
2668 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
2670 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
2672 2012-09-18 Juri Linkov <juri@jurta.org>
2674 * dired-aux.el (dired-diff): Restore original functionality of
2675 getting the default value, but keep new feature of using the
2676 latest existing backup file (`diff-latest-backup-file').
2678 2012-09-18 Juri Linkov <juri@jurta.org>
2680 * dired.el (dired-mark): If the region is active in Transient Mark
2681 mode, mark all files in the active region. Doc fix.
2682 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
2683 Doc fix. (Bug#10624)
2685 2012-09-18 Juri Linkov <juri@jurta.org>
2687 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
2688 attributes for M-n are pulled from the file at point.
2689 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
2690 Suggested by Drew Adams. (Bug#10624)
2692 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
2694 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
2695 whitespace after "end".
2696 (ruby-do-end-to-brace): Collapse block to one line if it fits
2699 2012-09-18 Martin Rudalics <rudalics@gmx.at>
2701 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
2703 (debug): Don't remove debugger window when debugger is expected
2706 2012-09-18 Chong Yidong <cyd@gnu.org>
2708 * custom.el (defface): Doc fix.
2710 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
2712 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
2714 * progmodes/compile.el (compilation-start): Use compilation-always-kill
2715 to initialize query-on-exit; then test that instead (bug#12288).
2717 2012-09-17 Stefan Merten <smerten@oekonux.de>
2719 * textmodes/rst.el: Add support for `testcover'.
2720 (rst-defcustom-testcover, rst-testcover-add-compose)
2721 (rst-testcover-add-1value): New functions.
2722 (rst-portable-mark-active-p): Replace by `use-region-p'.
2723 (rst-update-section, rst-classify-adornment)
2724 (rst-find-title-line): Mark `1value' forms.
2725 (rst-classify-adornment): Remove superfluous form.
2726 (rst-update-section, rst-get-adornments-around)
2727 (rst-adornment-complete-p, rst-get-next-adornment)
2728 (rst-adjust, rst-promote-region)
2729 (rst-display-adornments-hierarchy, rst-straighten-adornments)
2730 (rst-find-pfx-in-region, rst-section-tree-rec)
2731 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
2732 (rst-toc-node, rst-toc, rst-forward-section)
2733 (rst-iterate-leftmost-paragraphs)
2734 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
2735 (rst-bullet-list-region)
2736 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
2737 (rst-compile-find-conf, rst-compile)
2738 (rst-repeat-last-character): Fix style.
2740 2012-09-17 Chong Yidong <cyd@gnu.org>
2742 * comint.el (comint--complete-file-name-data): Don't add a space
2743 if the status is `sole'; that adds a gratuitous space in the
2744 completion-cycling case (Bug#12092).
2746 * pcomplete.el (pcomplete-completions-at-point): Likewise.
2748 2012-09-17 Richard Stallman <rms@gnu.org>
2750 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
2751 only in the mime-shown mode, not in raw mode.
2752 (rmail-mime): Toggle off mime by displaying the message without
2753 mime processing. (Bug#12305)
2755 * mail/rmail.el (rmail-retry-failure):
2756 Turn off mime processing first. (Bug#12037)
2758 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
2760 2012-09-17 Chong Yidong <cyd@gnu.org>
2762 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
2763 (shell-dynamic-complete-functions): Convert to defcustom.
2764 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
2766 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
2767 * comint.el (comint-prompt-read-only):
2768 * custom.el (defcustom):
2769 * hi-lock.el (hi-lock-mode):
2770 * ibuffer.el (ibuffer-formats):
2771 * ielm.el (ielm-prompt-read-only):
2772 * novice.el (disable-command):
2773 * saveplace.el (toggle-save-place):
2774 * speedbar.el (speedbar-supported-extension-expressions):
2775 * startup.el (auto-save-list-file-prefix, init-file-user)
2776 (after-init-hook, inhibit-startup-echo-area-message):
2777 * strokes.el (strokes-help):
2778 * time-stamp.el (time-stamp):
2779 * calendar/calendar.el (calendar, diary-file):
2780 * calendar/diary-lib.el (diary-mail-entries, diary)
2781 (diary-list-entries-hook):
2782 * calendar/holidays.el (holidays, calendar-holidays):
2783 * calendar/lunar.el (lunar-phases):
2784 * calendar/solar.el (sunrise-sunset):
2785 * emulation/edt.el (edt-load-keys):
2786 * emulation/viper.el (viper-mode):
2787 * eshell/em-alias.el (eshell-command-aliases-list):
2788 * eshell/esh-util.el (eshell-convert-numeric-arguments):
2789 * international/ogonek.el (ogonek-information):
2790 * net/tramp-cmds.el (tramp-bug):
2791 * net/quickurl.el (quickurl-reread-hook-postfix):
2792 * play/decipher.el (decipher-font-lock-keywords):
2793 * progmodes/cc-styles.el (c-set-style):
2794 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
2795 * progmodes/inf-lisp.el (inferior-lisp-prompt):
2796 * progmodes/octave-mod.el (octave-mode):
2797 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
2798 * progmodes/verilog-mode.el (verilog-read-defines):
2799 * textmodes/two-column.el (2C-mode): Likewise.
2801 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
2803 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
2804 that holds many addresses.
2806 2012-09-16 Chong Yidong <cyd@gnu.org>
2808 * align.el (align-areas): Call the indication function with
2809 positions instead of markers for arguments (Bug#12343).
2811 * files.el (parse-colon-path): Use split-string (Bug#12351).
2813 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
2814 (display-buffer-function): Mark as obsolete.
2816 * progmodes/compile.el (compilation-parse-errors): Accept list
2817 values similar to font-lock-keywords (Bug#12136).
2818 Suggested by Oleksandr Manzyuk.
2819 (compilation-error-regexp-alist): Doc fix.
2821 2012-09-15 Glenn Morris <rgm@gnu.org>
2823 * version.el (emacs-bzr-version-bzr): New function.
2824 (emacs-bzr-get-version): Add optional EXTERNAL argument.
2826 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
2827 checkouts, check the parent dirstate matches the branch.
2828 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
2831 * version.el (emacs-bzr-version): Doc fix.
2832 (emacs-bzr-version-dirstate): New function.
2833 (emacs-bzr-get-version): For lightweight checkouts, if the parent
2834 is local try and check that it matches the branch. If not, just
2835 use dirstate information. (Bug#12441)
2837 2012-09-14 Juri Linkov <juri@jurta.org>
2839 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
2842 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
2844 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
2846 * emacs-lisp/edebug.el: Miscellaneous cleanup.
2847 Remove obsolete byte-compiler hack that tried to silence some warnings.
2848 (edebug-submit-bug-report): Remove.
2849 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
2850 Remove aliases, use the un-prefixed name instead.
2851 (edebug-pop-to-buffer): Consider other frames.
2852 (edebug-original-read):: Make it more obvious that it's always defined.
2853 (edebug--make-form-data-entry, edebug--form-data-name)
2854 (edebug--form-data-begin, edebug--form-data-end): Rename from the
2855 single-dashed name, and implement with cl-defstruct.
2856 (edebug-set-form-data-entry): Use the standard accessors.
2857 (edebug-make-top-form-data-entry): Use push.
2858 (edebug-no-match): Drop useless `funcall'.
2859 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
2861 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
2862 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
2863 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
2864 (easy-menu-define, with-custom-print): Remove redundant specs.
2865 (edebug-outside-overriding-local-map)
2866 (edebug-outside-overriding-terminal-local-map): Remove, unused.
2867 (edebug--display): Bind unread-command-events directly to nil rather
2868 than binding it to unread-command-events and later setting it to nil.
2869 (edebug--display): Kill edebug-eval-buffer here...
2870 (edebug--recursive-edit): ...rather than here.
2871 Bind standard-output and standard-input.
2872 (edebug-eval): Check cl-macroexpand-all is fboundp.
2873 (edebug-temp-display-freq-count): Fix last change.
2875 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
2876 * subr.el (noreturn, 1value): Add `debug' spec.
2877 * emacs-lisp/advice.el: Require cl-lib.
2878 (ad-copy-tree): Remove, use copy-tree instead.
2879 (ad-dolist): Remove use dolist or cl-dolist instead.
2880 (ad-do-return): Remove, use cl-return instead.
2881 (defadvice): Add `debug' spec.
2883 2012-09-13 Juri Linkov <juri@jurta.org>
2885 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
2888 2012-09-13 Glenn Morris <rgm@gnu.org>
2890 * calc/calc.el (math-compose-expr):
2891 * calc/calc-ext.el (math-compose-expr):
2892 * progmodes/cc-defs.el (cl-macroexpand-all):
2893 * progmodes/cc-langs.el (delete-duplicates, mapcan)
2894 (cl-macroexpand-all): Update declarations.
2896 * vc/vc.el: No need to require ediff.
2897 (ediff-load-version-control): Declare.
2898 (ediff-vc-internal): Fix declaration.
2899 (vc-version-ediff): Require ediff.
2901 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2903 Use a more backwards-compatible timer format (Bug#12430).
2904 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
2905 being right after USECS, as that better supports old code that
2906 inadvisedly looked directly at the timer vector.
2908 2012-09-13 Kenichi Handa <handa@gnu.org>
2910 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
2911 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
2912 `coding-priority' property of these language environment.
2914 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2916 Fix glitches caused by addition of psec to timers (Bug#12430).
2917 * image.el (image-animate-timer):
2918 * time.el (display-time-world-timer):
2919 Use timer--function and timer--args rather than raw access to
2922 2012-09-13 Glenn Morris <rgm@gnu.org>
2924 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
2925 If not compiling a file, try using load-file-name.
2927 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2929 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
2931 (edebug-update-eval-list): Use `push'.
2933 * emacs-lisp/edebug.el: Use lexical-binding.
2934 Remove the "edebug-" prefix from non-dynamically-scoped variables.
2935 Mark unused args with underscore.
2936 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
2937 (edebug-form-data): Use defvar-local.
2938 (edebug-make-before-and-after-form, edebug-make-after-form):
2940 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
2941 Not dynamically scoped any more.
2942 (edebug--enter-trace): Add arguments `function' and `args'.
2943 Rename from edebug-enter-trace.
2944 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
2945 (edebug--update-coverage): Add `after-index' and `value' args.
2946 Rename from edebug-update-coverage.
2947 (edebug-slow-after): Call it accordingly.
2948 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
2949 edebug-recursive-edit.
2950 (edebug--display): Call it accordingly. Add args `value',
2951 `offset-index', and `arg-mode'. Rename from edebug-display.
2952 (edebug-debugger, edebug): Call it accordingly.
2953 (edebug-eval-display-list): Use dolist.
2955 2012-09-12 Juri Linkov <juri@jurta.org>
2957 * info.el (Info-search): Don't check for isearch-mode and
2958 isearch-regexp before let-binding search-spaces-regexp to
2959 Info-search-whitespace-regexp.
2960 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
2961 search-whitespace-regexp if isearch-lax-whitespace or
2962 isearch-regexp-lax-whitespace is non-nil.
2963 (Info-mode): Don't set local variable search-whitespace-regexp.
2964 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
2966 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2968 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
2969 (debugger-env-macro): Remove support for unread-command-char.
2971 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
2972 the temporary map re-appearing on emulation-mode-map-alists.
2974 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
2977 * ehelp.el (with-electric-help): Accept functions in
2978 electric-help-form-to-execute.
2979 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
2980 And replace unread-command-char -> unread-command-events.
2982 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
2984 Sync with Tramp 2.2.6.
2986 * net/tramp.el (tramp-accept-process-output): Don't use
2987 JUST-THIS-ONE in the XEmacs case.
2989 * net/trampver.el: Update release number.
2991 2012-09-12 Martin Rudalics <rudalics@gmx.at>
2993 * emacs-lisp/debug.el (debugger-previous-window-height):
2995 (debug): When debugger-jumping-flag is non-nil try to restore
2996 height of debugger window. (Bug#8789)
2998 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3000 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
3001 overriding-local-map and pre/post-command-hook here.
3002 (edebug-recursive-edit): Do it here instead (bug#12345).
3003 (edebug-outside-unread-command-char): Remove all uses of
3004 unread-command-char.
3006 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
3007 inhibit-debugger is bound instead.
3009 2012-09-11 Bastien Guerry <bzg@gnu.org>
3011 * subr.el (set-temporary-overlay-map): Add a docstring.
3014 2012-09-11 Bastien Guerry <bzg@gnu.org>
3016 * minibuffer.el (completion-table-subvert): Fix docstring.
3019 2012-09-11 Bastien Guerry <bzg@gnu.org>
3021 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
3023 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
3025 * progmodes/sql.el: Version 3.1
3026 (sql-db2-escape-newlines): New variable.
3027 (sql-escape-newlines-filter): Use it.
3029 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
3031 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
3033 2012-09-10 Dan Nicolaescu <dann@gnu.org>
3035 * vc/diff-mode.el (diff-mode-menu):
3036 Bind diff-remove-trailing-whitespace.
3038 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3040 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
3041 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
3042 (emacs-lisp-byte-code-mode): New functions.
3043 (eval-sexp-add-defvars): Don't skip defvars in column >0.
3044 (eval-defun-2): Remove bogus interactive spec.
3045 (lisp-indent-line): Remove redundant whole-exp code, now done in
3046 indent-according-to-mode.
3047 (save-match-data): Remove redundant indent data.
3049 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
3052 2012-09-09 Juri Linkov <juri@jurta.org>
3054 * replace.el (replace-regexp-lax-whitespace): New defcustom.
3055 (replace-lax-whitespace, query-replace-regexp)
3056 (query-replace-regexp-eval, replace-regexp): Doc fix.
3057 (perform-replace, replace-highlight): Let-bind
3058 isearch-lax-whitespace to replace-lax-whitespace and
3059 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
3061 * isearch.el (isearch-query-replace): Let-bind
3062 replace-lax-whitespace to isearch-lax-whitespace and
3063 replace-regexp-lax-whitespace to
3064 isearch-regexp-lax-whitespace. (Bug#10885)
3066 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
3068 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
3070 2012-09-09 Alan Mackenzie <acm@muc.de>
3072 * progmodes/cc-engine.el (c-state-cache-init):
3073 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
3074 (c-record-parse-state-state):
3075 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
3077 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
3079 * register.el (register-separator): Rename from
3080 separator-register. All uses changed. Doc fix.
3081 (register): Fix version.
3083 2012-09-09 Chong Yidong <cyd@gnu.org>
3085 * replace.el (query-replace-map): Bind four new symbols for
3086 requesting window scrolling.
3088 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
3089 query-replace-map (Bug#8948).
3091 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
3093 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
3094 since they are now in query-replace-map.
3096 * window.el (scroll-other-window-down): Make the arg optional.
3098 2012-09-09 Chong Yidong <cyd@gnu.org>
3100 * files.el (hack-local-variables-confirm): Use quit-window to kill
3101 the *Local Variables* buffer.
3103 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
3105 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
3106 not just expect to be at its beginning. Adjust callees.
3107 Succeed when do-end block has no space before the pipe character.
3108 (ruby-brace-to-do-end): When the original block is one-liner,
3109 convert to multiline. Reindent the result.
3111 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
3113 * register.el (register): New group.
3114 (separator-register): New user option.
3115 (increment-register): Route it to `append-to-register', if
3116 register contains text. Implication is that `C-x r +' can now be
3117 used for appending to a text register (bug#12217).
3118 (append-to-register, prepend-to-register): Add separator based on
3119 `separator-register'.
3121 2012-09-08 Alan Mackenzie <acm@muc.de>
3123 AWK Mode: make auto-newline work when there's "==" in the pattern.
3124 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
3126 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
3127 Test more rigorously for "=" token.
3129 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
3131 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
3132 Only fail when reached LIMIT.
3134 2012-09-08 Chong Yidong <cyd@gnu.org>
3136 * dired.el (dired-mode-map): Don't bind M-=.
3138 * dired-aux.el (dired-diff): Use backup file as default.
3140 2012-09-08 Drew Adams <drew.adams@oracle.com>
3142 * subr.el (add-to-history): Fix delete usage (Bug#12314).
3144 2012-09-08 Chong Yidong <cyd@gnu.org>
3146 * subr.el (syntax-after, syntax-class): Doc fix.
3148 2012-09-08 Martin Rudalics <rudalics@gmx.at>
3150 * window.el (display-buffer-in-previous-window): New buffer
3151 display action function.
3153 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
3154 (debugger-previous-window): New variable.
3155 (debug): Rewrite using display-buffer-in-previous-window,
3156 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
3158 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
3160 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
3162 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
3164 * progmodes/python.el (python-shell-send-string):
3165 When default-directory is remote, create temp file on remote
3167 (python-shell-send-file): When file is remote, pass local view of
3168 file paths to remote Python interpreter. (Bug#12340)
3170 2012-09-07 Chong Yidong <cyd@gnu.org>
3172 * window.el (switch-to-buffer): Doc fix (Bug#12181).
3174 * files.el (after-find-file): Don't fail on a read-only buffer if
3175 require-final-newline is `visit' or `visit-save' (Bug#11156).
3177 * subr.el (read-char-choice): Allow quitting via ESC ESC.
3179 * userlock.el (ask-user-about-supersession-threat):
3180 Use read-char-choice (Bug#12093).
3182 2012-09-07 Chong Yidong <cyd@gnu.org>
3184 * subr.el (buffer-narrowed-p): New function.
3186 * ses.el (ses-widen):
3187 * simple.el (count-words--buffer-message):
3188 * net/browse-url.el (browse-url-of-buffer): Use it.
3190 * simple.el (count-words-region): Don't signal an error if there
3191 is a non-nil prefix arg and the mark is not set.
3193 * help.el (describe-key-briefly): Allow the message to be seen
3194 when invoked from the minibuffer (Bug#7014).
3196 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
3198 * progmodes/ruby-mode.el (ruby-end-of-defun)
3199 (ruby-beginning-of-defun): Simplify, allow indentation before
3200 block beginning and end keywords.
3201 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
3202 (ruby-end-of-defun): Expect that the point is at the beginning of
3205 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3207 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
3209 (cl--make-usage-args): Strip _ from argument names.
3211 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3213 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
3214 obsolete alias speedbar-key-map.
3215 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
3216 (vhdl-index-menu-init): Don't use obsolete variable
3217 font-lock-maximum-size.
3219 2012-09-06 Chong Yidong <cyd@gnu.org>
3221 * frame.el (window-system-version): Mark as obsolete.
3223 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
3224 of obsolete variable speedbar-key-map.
3226 2012-09-06 Juri Linkov <juri@jurta.org>
3228 * replace.el (replace-lax-whitespace): New defcustom.
3229 (query-replace, query-replace-regexp, query-replace-regexp-eval)
3230 (replace-string, replace-regexp): Mention it in docstrings.
3231 (perform-replace, replace-highlight): Let-bind
3232 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
3233 to the values of replace-lax-whitespace and regexp-flag.
3234 Don't let-bind search-whitespace-regexp. (Bug#10885)
3236 * isearch.el (isearch-query-replace): Let-bind
3237 replace-lax-whitespace instead of let-binding
3238 replace-search-function and replace-re-search-function.
3239 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
3240 and isearch-regexp-lax-whitespace to lazy-highlight variables.
3241 (isearch-toggle-symbol): Set isearch-regexp to nil
3242 in isearch-word mode (like in isearch-toggle-word).
3244 2012-09-06 Juri Linkov <juri@jurta.org>
3246 * replace.el (replace-search-function)
3247 (replace-re-search-function): Set default values to nil.
3248 (perform-replace): Let-bind isearch-related variables based on
3249 replace-related values, call `isearch-search-fun' and let-bind
3250 the result to `search-function'. Remove code that sets
3251 `search-function' and `search-string' separately for
3253 (replace-highlight): Add new argument `delimited-flag' and
3254 rename other arguments to the names used in `perform-replace'.
3255 Let-bind `isearch-word' to the argument `delimited-flag'.
3256 (Bug#10885, bug#10887)
3258 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
3260 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
3261 ruby-beginning-of-indent, simplify, allow all keywords to have
3262 indentation before them.
3263 (ruby-beginning-of-indent): Adjust for above. Search until the
3264 found point is not inside a string or comment.
3265 (ruby-font-lock-keywords): Allow symbols to start with "@"
3266 character, give them higher priority than variables.
3267 (ruby-syntax-propertize-function)
3268 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
3269 matchers. Expression expansions are not comments when inside a
3270 string, and there comment syntax status is irrelevant.
3271 (ruby-match-expression-expansion): New function. Check that
3272 expression expansion is inside a string, and it's not escaped.
3273 (ruby-font-lock-keywords): Use it.
3275 2012-09-05 Martin Rudalics <rudalics@gmx.at>
3277 * help.el (temp-buffer-max-height): New default value.
3278 (temp-buffer-resize-frames): New option.
3279 (resize-temp-buffer-window): Optionally resize frame.
3281 * window.el (fit-frame-to-buffer-bottom-margin): New option.
3282 (fit-frame-to-buffer): New function.
3284 2012-09-05 Glenn Morris <rgm@gnu.org>
3286 * emulation/cua-rect.el (cua--init-rectangles):
3287 * textmodes/picture.el (picture-mode-map):
3288 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
3289 like forward-char and backward-char. (Bug#12317)
3291 2012-09-05 Leo Liu <sdl.web@gmail.com>
3293 * progmodes/flymake.el (flymake-warning-re): New variable.
3294 (flymake-parse-line): Use it.
3296 2012-09-05 Glenn Morris <rgm@gnu.org>
3298 * calendar/holidays.el (holiday-christian-holidays):
3299 Rename an entry. (Bug#12289)
3301 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3303 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
3306 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3308 * loadup.el: Load macroexp. Remove hack.
3309 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
3310 (macroexp--expand-all): Use it to get better warnings.
3311 (macroexp--backtrace, macroexp--trim-backtrace-frame)
3312 (internal-macroexpand-for-load): New functions.
3313 (macroexp--pending-eager-loads): New var.
3314 (emacs-startup-hook): New hack to replace one in loadup.el.
3315 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
3316 (cl--compiler-macro-cXXr): Move to top, before they can be used.
3317 (cl-psetf): Simplify.
3318 (cl-defstruct): Add indent rule.
3320 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
3322 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
3323 over `user-mail-address' for the SMTP MAIL FROM envelope.
3324 (smtpmail-via-smtp): Ditto.
3326 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
3328 * progmodes/ruby-mode.el: Clean up keybindings.
3329 (ruby-mode-map): Don't bind ruby-electric-brace,
3330 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
3331 backward-kill-word, reindent-then-newline-and-indent.
3332 (ruby-mark-defun): Remove.
3333 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
3334 (ruby-mode): Set local beginning-of-defun-function and
3335 end-of-defun-function values.
3337 2012-09-03 Martin Rudalics <rudalics@gmx.at>
3339 * window.el (temp-buffer-window-setup-hook)
3340 (temp-buffer-window-show-hook): New hooks.
3341 (temp-buffer-window-setup, temp-buffer-window-show)
3342 (with-temp-buffer-window): New functions.
3343 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
3344 (special-display-popup-frame): Make sure the window used shows BUFFER.
3346 * help.el (temp-buffer-resize-mode): Fix doc-string.
3347 (resize-temp-buffer-window): New optional argument WINDOW.
3349 * files.el (recover-file, save-buffers-kill-emacs):
3350 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
3352 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
3354 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
3355 remote definition of `default-directory', ensure we can connect.
3357 2012-09-02 Juri Linkov <juri@jurta.org>
3359 Toggle whitespace matching mode with M-s SPC.
3360 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
3362 * isearch.el (search-whitespace-regexp): Doc fix.
3363 Remove cons cell customization.
3364 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
3365 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
3367 (isearch-forward, isearch-forward-regexp): Doc fix.
3368 (isearch-toggle-lax-whitespace): New command.
3369 (search-forward-lax-whitespace, search-backward-lax-whitespace)
3370 (re-search-forward-lax-whitespace)
3371 (re-search-backward-lax-whitespace): New functions.
3372 (isearch-whitespace-regexp): Remove function.
3373 (isearch-query-replace): Let-bind replace-search-function and
3374 replace-re-search-function.
3375 (isearch-occur): Let-bind search-spaces-regexp according to the
3376 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
3377 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
3378 condition for C-q SPC.
3379 (isearch-search-fun-default): Use new functions mentioned above.
3380 (isearch-search-forward, isearch-search-backward): Remove functions.
3381 (isearch-search): Don't let-bind search-spaces-regexp.
3382 (isearch-lazy-highlight-space-regexp): Remove variable.
3383 (isearch-lazy-highlight-lax-whitespace)
3384 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
3385 (isearch-lazy-highlight-new-loop): Use them.
3386 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
3388 2012-09-02 Chong Yidong <cyd@gnu.org>
3390 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
3392 2012-09-02 Glenn Morris <rgm@gnu.org>
3394 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
3396 2012-09-01 Glenn Morris <rgm@gnu.org>
3398 * term.el: Tidy up menu definitions.
3399 (term-mode-map): Use easymenu for In/Out, Complete menus.
3400 (term-pager-break-map): Initialize in the defvar.
3401 (term-terminal-menu, term-signals-menu): Define with easymenu.
3402 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
3403 (term-pager-menu): New, extracted from term-process-pager.
3404 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
3405 (term-update-mode-line): Propertize line/char and page items.
3406 (term-process-pager): Move keymap initialization elsewhere.
3408 2012-09-01 Martin Rudalics <rudalics@gmx.at>
3410 * window.el (switch-to-prev-buffer): Handle additional values of
3411 BURY-OR-KILL argument. Don't switch in minibuffer window.
3412 (switch-to-next-buffer): Don't switch in minibuffer window.
3413 (quit-restore-window): New function based on quit-window.
3414 Handle additional values of former KILL argument.
3415 (quit-window): Call quit-restore-window with appropriate
3416 interpretation of KILL argument.
3417 (display-buffer-below-selected): New buffer display action
3420 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
3422 * minibuffer.el (completion-at-point-functions): Complete docstring
3425 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
3427 Better seed support for (random).
3428 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
3429 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
3430 * play/mpuz.el, play/tetris.el, play/zone.el:
3431 * calc/calc-comb.el (math-init-random-base):
3432 * play/blackbox.el (bb-init-board):
3433 * play/life.el (life):
3434 * server.el (server-use-tcp):
3435 * type-break.el (type-break):
3436 Remove unnecessary call to (random t).
3437 * net/sasl.el (sasl-unique-id-function):
3438 Change (random t) to (random), now that the latter is more random.
3439 * play/life.el (life-initialized): Remove no-longer-needed var.
3441 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
3443 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3444 Consider frame's buffer predicate when choosing the buffer.
3447 2012-08-30 Richard Stallman <rms@gnu.org>
3449 * simple.el (special-mode-map): Delete binding for `z'.
3451 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
3453 * progmodes/compile.el (compilation-always-kill): Doc fix.
3455 2012-08-30 Chong Yidong <cyd@gnu.org>
3457 * window.el (display-buffer-reuse-frames): Make the obsolescence
3458 message more informative.
3460 2012-08-30 Glenn Morris <rgm@gnu.org>
3462 * paren.el (show-paren-delay):
3463 Add a :set function. Doc fix. (Bug#12297)
3465 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
3467 * progmodes/compile.el (compilation-always-kill): New var.
3468 (compilation-start): Use it.
3470 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3472 * simple.el (read-only-mode): Move from files.el for bootstrapping.
3473 * files.el (read-only-mode): Move to simple.el.
3475 * files.el (read-only-mode): New minor mode.
3476 (toggle-read-only): Use it and mark obsolete.
3477 (find-file--read-only):
3478 * vc/vc.el (vc-next-action, vc-checkout):
3479 * vc/vc-cvs.el (vc-cvs-checkout):
3480 * obsolete/vc-mcvs.el (vc-mcvs-update):
3481 * ffap.el (ffap--toggle-read-only): Update callers.
3483 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
3485 * eshell/esh-ext.el (eshell-external-command): Do not examine
3486 remote shell scripts.
3487 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
3489 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
3492 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3494 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
3496 2012-08-28 Leo Liu <sdl.web@gmail.com>
3498 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
3499 completion-at-point. (Bug#12220)
3501 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
3503 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
3505 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3507 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
3508 be buffer-local; add delete-trailing-whitespace (bug#12259).
3510 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
3512 * progmodes/hideif.el (hif-compress-define-list):
3513 Fix typo. (Bug#11951)
3515 2012-08-28 Dan Nicolaescu <dann@gnu.org>
3517 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
3518 buffer local setting.
3520 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
3521 rcirc-encode-coding-system.
3523 2012-08-28 Leo Liu <sdl.web@gmail.com>
3525 * net/rcirc.el (rcirc-split-message): New function.
3526 (rcirc-send-message): Use it. (Bug#12051)
3528 2012-08-28 Juri Linkov <juri@jurta.org>
3530 * info.el (Info-fontify-node): Hide empty lines at the end of
3531 the node. (Bug#12272)
3533 2012-08-27 Drew Adams <drew.adams@oracle.com>
3535 * dired.el (dired-pop-to-buffer): Make window start at beginning
3536 of buffer (Bug#12281).
3538 2012-08-26 Chong Yidong <cyd@gnu.org>
3540 * window.el (special-display-regexps, special-display-frame-alist)
3541 (special-display-buffer-names, special-display-function)
3542 (display-buffer-reuse-frames): Mark as obsolete.
3544 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
3546 * help.el (help-print-return-message): Don't treat
3547 display-buffer-reuse-frames specially.
3549 2012-08-26 Chong Yidong <cyd@gnu.org>
3551 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
3552 New variable, replacing gdb-frame-parameters.
3553 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
3554 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
3555 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
3556 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
3557 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
3558 the functions directly with gdb-display-buffer-other-frame-action.
3559 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
3560 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
3561 (gdb-display-stack-buffer, gdb-display-locals-buffer)
3562 (gdb-display-registers-buffer): Define directly.
3563 (def-gdb-display-buffer): Macro deleted.
3564 (gdb-display-buffer): Remove second and third args, callers don't
3565 use them. Defer to the default display-buffer behavior, apart
3566 from making windows dedicated.
3567 (gdb-setup-windows): Don't call display-buffer unnecessarily.
3569 * progmodes/gud.el (gud-display-line): Just use display-buffer.
3571 * window.el (display-buffer-pop-up-frame): Handle a
3572 pop-up-frame-parameters alist entry.
3573 (display-buffer): Document it.
3575 2012-08-26 Chong Yidong <cyd@gnu.org>
3577 * isearch.el (search-whitespace-regexp): Make string and nil
3578 values apply to both ordinary and regexp search. Allow a cons
3579 cell value to distinguish between the two.
3580 (isearch-whitespace-regexp, isearch-search-forward)
3581 (isearch-search-backward): New functions.
3582 (isearch-occur, isearch-search-fun-default, isearch-search)
3583 (isearch-lazy-highlight-new-loop): Use them.
3584 (isearch-forward, isearch-forward-regexp): Doc fix.
3586 2012-08-26 Chong Yidong <cyd@gnu.org>
3588 * faces.el (help-argument-name): Always inherit from italic
3591 2012-08-25 Martin Rudalics <rudalics@gmx.at>
3593 * window.el (window--even-window-heights): Even heights when
3594 WINDOW and the selected window form a vertical combination.
3595 (display-buffer-use-some-window): Provide that window used gets
3596 sized back by quit-window. (Bug#11880) and (Bug#12091)
3598 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
3600 Fix file time stamp problem with bzr and CVS (Bug#12001).
3601 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
3602 in the file's time stamp, since the version control system loses
3605 2012-08-22 Juri Linkov <juri@jurta.org>
3607 * info.el (Info-fontify-node): Hide the suffix of the
3608 Info file name in the header line. (Bug#12187)
3610 2012-08-22 Glenn Morris <rgm@gnu.org>
3612 * calendar/cal-tex.el (cal-tex-weekly-common):
3613 Restore leading blank page.
3615 2012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
3617 * misc.el (forward-to-word, backward-to-word): Activate or extend
3618 the region under `shift-select-mode'. (Bug#12231)
3620 2012-08-22 Bastien Guerry <bzg@gnu.org>
3622 * progmodes/executable.el (executable-prefix): Set to "#!" instead
3623 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
3624 gives details on why the space is never needed.
3626 2012-08-22 Martin Rudalics <rudalics@gmx.at>
3628 * window.el (walk-window-tree, window-with-parameter):
3629 New optional argument MINIBUF to control whether these functions
3630 should run on the minibuffer window.
3631 (window-at-side-list): Don't operate on minibuffer window.
3632 (window-in-direction): Simplify and rewrite doc-string.
3633 (window--size-ignore): Rename to window--size-ignore-p.
3635 (display-buffer-in-atom-window, window--major-non-side-window)
3636 (window--major-side-window, display-buffer-in-major-side-window)
3637 (delete-side-window, display-buffer-in-side-window):
3639 (window--side-check, window-deletable-p, delete-window)
3640 (delete-other-windows, split-window): Handle side windows and
3641 atomic windows appropriately.
3642 (window--display-buffer): Call display-buffer-record-window also
3643 when the window buffer did not change.
3645 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
3647 * help-fns.el (help-fns--key-bindings):
3648 Abbreviate non-symbol remap targets. (Bug#12174)
3650 2012-08-22 Martin Rudalics <rudalics@gmx.at>
3652 * dired.el (dired-mark-remembered): Don't clobber point.
3655 2012-08-22 Glenn Morris <rgm@gnu.org>
3657 * progmodes/bug-reference.el (bug-reference): New custom group.
3658 (bug-reference-bug-regexp): Make it a defcustom.
3660 2012-08-22 Daiki Ueno <ueno@unixuser.org>
3662 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
3663 (js-paren-indent-offset, js-square-indent-offset)
3664 (js-curly-indent-offset): Add :safe (Bug#12257).
3666 2012-08-22 Edward O'Connor <hober0@gmail.com>
3668 * json.el (json-key-format): Add error properties.
3669 (json-encode-key): New function.
3670 (json-encode-hash-table, json-encode-alist, json-encode-plist):
3671 Use json-encode-key.
3673 2012-08-22 Glenn Morris <rgm@gnu.org>
3675 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
3676 (cal-tex-leftday, cal-tex-rightday): Remove functions.
3677 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
3678 Update for above change.
3680 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
3682 * cus-face.el (custom-face-attributes): Fix customize type for the
3683 :underline attribute. (Bug#11805)
3685 2012-08-21 Martin Rudalics <rudalics@gmx.at>
3687 * window.el (window-point-1, set-window-point-1): Remove.
3688 (window-in-direction, record-window-buffer)
3689 (set-window-buffer-start-and-point, split-window-below)
3690 (window--state-get-1, display-buffer-record-window):
3691 Replace calls to window-point-1 and set-window-point-1 by calls to
3692 window-point and set-window-point respectively.
3694 2012-08-21 Glenn Morris <rgm@gnu.org>
3696 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
3697 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
3700 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
3701 (cal-tex-shortday): New function.
3702 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
3703 (cal-tex-cursor-filofax-daily): Use the above.
3705 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
3707 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
3708 (cal-tex-cursor-filofax-week): Use them.
3710 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
3712 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
3713 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
3715 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
3716 (cal-tex-end-document): Don't rely on buffer name.
3718 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
3720 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
3721 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
3722 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
3725 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
3726 (cal-tex-cursor-week, cal-tex-cursor-week2)
3727 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
3728 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3729 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
3730 (cal-tex-insert-preamble, cal-tex-b-document)
3731 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
3732 Improve cal-tex-cmd usage.
3734 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
3735 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
3736 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
3737 (cal-tex-weekly-paper): New function.
3738 (cal-tex-cursor-week, cal-tex-cursor-week2)
3739 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
3740 (cal-tex-cursor-day): Use it.
3742 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
3743 (cal-tex-cursor-filofax-week): Remove leading blank page.
3745 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
3746 Add autoload cookie. For now at least, don't use color, since
3747 no other cal-tex function does.
3749 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
3750 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3751 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
3753 2012-08-21 Juri Linkov <juri@jurta.org>
3755 * info.el (Info-file-attributes): New variable.
3756 (info-insert-file-contents): Add file attributes to
3757 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
3758 `Info-toc-nodes' when previous modtime of the Info file is less
3760 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
3761 of info.el. (Bug#12230)
3763 2012-08-20 Glenn Morris <rgm@gnu.org>
3765 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
3766 * calendar/holidays.el (calendar-holiday-list):
3767 Report errors with display-warning rather than beep'n'sleep.
3769 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
3771 * net/tramp.el (tramp-accept-process-output): Accept only output
3772 from PROC. Otherwise, process filters and sentinels might be
3773 confused. (Bug#12145)
3775 2012-08-20 Chong Yidong <cyd@gnu.org>
3777 * descr-text.el (describe-text-properties-1): Use overlays-in to
3778 report on empty overlays (Bug#3322).
3780 2012-08-20 Glenn Morris <rgm@gnu.org>
3782 * mail/rmailout.el (rmail-output-read-file-name):
3783 Trap and report errors in rmail-output-file-alist elements.
3785 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
3786 since most non-font-lock faces are not also variables).
3788 2012-08-20 Edward Reingold <reingold@iit.edu>
3790 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
3791 New function. (Bug12160)
3793 2012-08-19 Glenn Morris <rgm@gnu.org>
3795 * mail/rmailout.el (rmail-output-read-file-name):
3796 Fix previous change (when the alist is nil or does not match).
3798 2012-08-19 Chong Yidong <cyd@gnu.org>
3800 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
3803 2012-08-18 Chong Yidong <cyd@gnu.org>
3805 * simple.el (yank-handled-properties): New defcustom.
3806 (yank-excluded-properties): Add font-lock-face and category.
3809 * subr.el (remove-yank-excluded-properties):
3810 Obey yank-handled-properties. The special handling of font-lock-face
3811 and category is now done this way, instead of being hard-coded.
3812 (insert-for-yank-1): Remove font-lock-face handling.
3813 (yank-handle-font-lock-face-property)
3814 (yank-handle-category-property): New function.
3816 2012-08-17 Glenn Morris <rgm@gnu.org>
3818 * mail/rmailout.el (rmail-output-read-file-name):
3819 Check rmail-output-file-alist against the full message body
3820 in the correct rmail buffer. (Bug#12214)
3822 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
3824 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3825 Eliminate superfluous prompt. (Bug#12203)
3827 2012-08-17 Chong Yidong <cyd@gnu.org>
3829 * mouse.el (mouse-appearance-menu): If x-select-font returns a
3830 font spec, set the font directly (Bug#3228).
3832 2012-08-17 Martin Rudalics <rudalics@gmx.at>
3834 * window.el (delete-window): Fix last fix.
3836 2012-08-16 Martin Rudalics <rudalics@gmx.at>
3838 * window.el (window-valid-p): Move to window.c.
3839 (window-child, window-child-count, window-last-child)
3840 (window-normalize-window, window-combined-p)
3841 (window-combinations, window-atom-root, window-min-size)
3842 (window-sizable, window-sizable-p, window-size-fixed-p)
3843 (window-min-delta, window-max-delta, window--resizable)
3844 (window--resizable-p, window-resizable, window-total-size)
3845 (window-full-height-p, window-full-width-p, window-body-size)
3846 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
3847 (minimize-window, window-deletable-p, delete-window)
3848 (delete-other-windows, set-window-buffer-start-and-point)
3849 (next-buffer, previous-buffer, split-window, balance-windows-2)
3850 (set-window-text-height, window-buffer-height)
3851 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
3852 (truncated-partial-width-window-p): Minor code adjustments.
3853 In doc-strings state whether the argument window has to denote a
3854 live, valid or any window.
3856 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
3858 * progmodes/subword.el (subword-forward-function)
3859 (subword-backward-function, subword-forward-regexp)
3860 (subword-backward-regexp): New variables.
3861 (subword-forward, subword-forward-internal, subword-backward-internal):
3862 Use new variables, eg so that different "word" definitions
3863 can be easily used. (Bug#11411)
3865 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3867 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
3868 for composite selectors.
3869 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
3870 operation just because we can't find a previous revision.
3872 2012-08-15 Chong Yidong <cyd@gnu.org>
3874 * frame.el (set-frame-font): Accept font objects.
3876 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3878 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
3880 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
3882 * man.el (Man-overstrike-face, Man-underline-face)
3883 (Man-reverse-face): Remove variables.
3884 (Man-overstrike, Man-underline, Man-reverse): New faces.
3885 (Man-fontify-manpage): Use them instead of the variables.
3886 (Man-cleanup-manpage): Comment change.
3887 (Man-ansi-color-map): New variable.
3888 (Man-fontify-manpage): Use it.
3889 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
3891 Implement ANSI SGR parameters 22-27 (bug#12146).
3892 * ansi-color.el (ansi-colors): Doc fix.
3893 (ansi-color-context, ansi-color-context-region): Doc fix.
3894 (ansi-color--find-face): New function.
3895 (ansi-color-apply, ansi-color-apply-on-region): Use it.
3896 Rename the local variable `face' to `codes' since it is now a list of
3897 ansi codes. Doc fix.
3898 (ansi-color-get-face): Remove.
3899 (ansi-color-parse-sequence): New function, derived from
3900 ansi-color-get-face.
3901 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
3904 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
3906 * subr.el (read-passwd): Allow use from a minibuffer.
3908 2012-08-14 Eli Zaretskii <eliz@gnu.org>
3910 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
3911 inside comments and strings as identifiers.
3913 * progmodes/gud.el (gud-tooltip-print-command): Quote the
3914 expression to evaluate. This allows to evaluate expressions with
3915 embedded whitespace.
3916 (gud-tooltip-tips): Add a blank before the newline in the
3917 message-box text, for the benefit of message-box emulation on
3920 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
3921 messages from GDB, pop them up in a tooltip to give feedback to
3923 (gdb-tooltip-print-1): Quote the expression to evaluate.
3924 This allows to evaluate expressions with embedded whitespace.
3925 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
3926 if the TTY name is nil or empty (which happens when communicating
3927 with the inferior via pipes, e.g. on MS-Windows).
3928 (gdb-internals): If GDB sends a "&\n" empty debugging message,
3929 don't send that to the GUD buffer.
3931 2012-08-14 Glenn Morris <rgm@gnu.org>
3933 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
3934 Optimize away setq-default with no args, as for setq. (Bug#12195)
3936 2012-08-14 Chong Yidong <cyd@gnu.org>
3938 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
3940 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
3943 2012-08-14 Glenn Morris <rgm@gnu.org>
3945 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
3947 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
3949 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
3950 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3951 Use cached shell name.
3953 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3955 * progmodes/python.el (python-shell-send-string):
3956 (python-shell-send-setup-code): Do not use `format' with `message'.
3958 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
3960 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
3961 (ruby-percent-literal-beg-re): New constant.
3962 (ruby-syntax-general-delimiters-goto-beg): Rename to
3963 `ruby-syntax-enclosing-percent-literal', improve literal type check.
3964 (ruby-syntax-propertize-general-delimiters): Rename to
3965 `ruby-syntax-propertize-percent-literal', it's a shorter and more
3966 popular term. Adjust comments everywhere.
3967 (ruby-syntax-propertize-percent-literal): Only propertize when not
3968 inside a simple string or comment. When the literal is unclosed,
3969 leave the text after it unpropertized.
3970 (ruby-syntax-methods-before-regexp): New constant.
3971 (ruby-syntax-propertize-function): Use it to recognize regexps.
3972 Don't look at the text after regexp, just use the whitelist.
3974 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
3976 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
3977 non-nil always load the compiled file if it exists. (Bug#12197)
3979 2012-08-14 Chong Yidong <cyd@gnu.org>
3981 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
3982 (hi-lock-set-pattern): When deciding whether to use font lock or
3983 overlays, look at font-lock-mode instead of font-lock-fontified
3985 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
3986 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
3988 2012-08-14 Daiki Ueno <ueno@unixuser.org>
3990 * subr.el (internal--after-with-selected-window): Fix typo
3993 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3995 Use `completion-table-dynamic' for completion functions.
3996 * progmodes/python.el
3997 (python-shell-completion--do-completion-at-point)
3998 (python-shell-completion--get-completions):
4000 (python-shell-completion-complete-at-point): New function.
4001 (python-completion-complete-at-point): Use it.
4003 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
4005 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
4006 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
4008 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4010 * subr.el (function-get): Refine `autoload' arg so it can also
4011 autoload functions for gv.el (bug#12191).
4012 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
4015 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
4016 Prefer pcase-let over destructuring-bind.
4017 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
4018 Also, remove whitespace as we go, rather than after accumulating the
4021 * subr.el (internal--before-with-selected-window)
4022 (internal--after-with-selected-window): Fix typo seleted->selected.
4023 (with-selected-window): Adjust callers.
4024 Reported by Dmitry Gutov <dgutov@yandex.ru>.
4026 2012-08-13 Bastien Guerry <bzg@gnu.org>
4028 * window.el (special-display-popup-frame): Minor docstring
4029 enhancement. (Bug#12172)
4031 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
4033 * tar-mode.el (tar-header-data-end): Only ignore size for files of
4035 (tar-header-block-summarize, tar-get-descriptor): Handle pax
4038 * files.el (hack-local-variables-filter): Remove useless eval.
4040 2012-08-13 Martin Rudalics <rudalics@gmx.at>
4042 * subr.el (with-selected-window): Fix last change.
4044 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4046 * subr.el (internal--before-with-seleted-window)
4047 (internal--after-with-seleted-window): New functions.
4048 (with-selected-window): Use them, to replace dependency on
4051 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
4053 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
4054 binding for `newline'.
4055 (ruby-move-to-block): When moving backward, stop at block opening,
4057 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
4058 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
4059 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4060 `ruby-toggle-block'.
4062 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4064 * ibuffer.el (ibuffer-do-toggle-read-only):
4065 * dired.el (dired-toggle-read-only):
4066 * buff-menu.el (Buffer-menu-toggle-read-only):
4067 * bindings.el (mode-line-toggle-read-only):
4068 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
4070 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
4072 * descr-text.el (describe-char): Put the overlays over the
4073 "displayed as" character.
4075 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
4077 * calc/calc-units.el (math-default-units-table): Give an
4079 (math-put-default-units): Add options to put composite units and
4080 unit systems in the default units table.
4081 (calc-convert-units): Send composite units to
4082 `math-put-default-units' when appropriate.
4084 2012-08-11 Glenn Morris <rgm@gnu.org>
4086 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
4088 * tutorial.el (help-with-tutorial):
4089 * emacs-lisp/copyright.el (copyright-update-directory):
4090 * emacs-lisp/autoload.el (autoload-find-generated-file)
4091 (autoload-find-file): Disable local eval: (for insurance).
4093 * files.el (hack-local-variables-filter): If an eval: form is not
4094 known to be safe, and enable-local-variables is :safe, then ignore
4095 the form totally, as is done for non-eval forms. (Bug#12155)
4096 This is CVE-2012-3479.
4098 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4100 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
4101 (rx-form): Simplify.
4103 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
4105 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
4106 ?, _, and : are symbol constituents, ! is not (but kinda should be).
4107 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
4108 (ruby-syntax-propertize-function): Adjust for changes in
4109 `ruby-syntax-propertize-heredoc'.
4111 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
4113 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
4114 binding (use `M-;' instead).
4115 (ruby-singleton-class-p): New function.
4116 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
4118 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4120 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
4122 2012-08-10 Chong Yidong <cyd@gnu.org>
4124 * progmodes/python.el (python-shell-get-process-name): Don't mess
4125 with same-window-buffer-names.
4127 * eshell/eshell.el (eshell-add-to-window-buffer-names)
4128 (eshell-remove-from-window-buffer-names): Make obsolete.
4129 (eshell-buffer-name, eshell-unload-hook): Don't use them.
4130 (eshell): Just use pop-to-buffer-same-window instead.
4132 2012-08-10 Chong Yidong <cyd@gnu.org>
4134 * bindings.el: Bind M-= back to count-words-region.
4136 * simple.el (count-words-region): Accept a prefix arg for acting
4137 on the entire buffer.
4138 (count-words--buffer-message): New helper function.
4140 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4142 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
4143 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
4144 (event-start, event-end): Use posn-at-point to return a more
4146 (posnp): New function.
4147 * mouse.el (popup-menu-normalize-position): Use it.
4149 2012-08-10 Masatake YAMATO <yamato@redhat.com>
4151 * mouse.el (popup-menu-normalize-position): New function.
4152 (popup-menu): Use `popup-menu-normalize-position' to normalize
4153 the form for POSITION argument.
4155 * term/x-win.el (x-menu-bar-open):
4156 Use the value returend from (posn-at-point) as position
4157 passed to `popup-menu'.
4159 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
4161 * calc/calccomp.el (math-compose-expr): Add extra argument
4162 indicating that parentheses should be put around products in
4163 denominators. Give multiplication precedence over division during
4166 2012-08-09 Chong Yidong <cyd@gnu.org>
4168 * man.el (Man-switches, Man-sed-command, Man-awk-command)
4169 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
4170 (Man-untabify-command, manual-program): Convert to defcustom
4173 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
4175 * descr-text.el (describe-char): Don't insert extra newlines
4178 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
4179 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
4181 * align.el (align-region): Delete temporary markers (Bug#10047).
4182 Plus some code cleanups.
4184 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
4186 * progmodes/python.el (python-pdbtrack-tracked-buffer)
4187 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
4188 (python-shell-internal-last-output): Use make-local-variable
4189 instead of make-variable-buffer-local.
4191 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
4193 * progmodes/python.el: Enhancements to forward-sexp.
4194 (python-nav-forward-sexp): Rename from
4195 python-nav-forward-sexp-function.
4196 (python-nav--forward-sexp, python-nav--backward-sexp):
4199 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
4201 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
4202 modes and simplification modes.
4204 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4206 * delsel.el (delete-selection-pre-hook): Don't propagate the
4207 file-supersession signals (bug#12161).
4209 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4211 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
4212 (cl-map-extents): Add compatibility aliases (bug#12135).
4214 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
4216 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
4217 tests by `ignore-error'.
4218 (tramp-find-shell): Open also a new shell, when cache is already
4219 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
4221 2012-08-08 Juri Linkov <juri@jurta.org>
4223 * bookmark.el: Add `defaults' property to the bookmark record.
4224 (bookmark-current-buffer): Doc fix.
4225 (bookmark-make-record): Add `defaults' property with default values
4226 to the bookmark record.
4227 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
4228 with `bookmark-insert-current-bookmark'.
4229 (bookmark-set): Get `defaults' property from the bookmark record
4230 and use it in `read-from-minibuffer'.
4231 (bookmark-insert-current-bookmark): Remove function.
4233 * info.el (Info-bookmark-make-record): Add `defaults' property
4234 with values of canonical Info node name, the current Info file
4235 name and the current Info node name. (Bug#12107)
4237 2012-08-08 Juri Linkov <juri@jurta.org>
4239 * files.el (basic-save-buffer): Use `buffer-name' as the default
4240 of `read-file-name' when buffer is not visiting a file (bug#12128).
4242 2012-08-08 Juri Linkov <juri@jurta.org>
4244 * info.el (Info-isearch-search): Doc fix.
4245 (Info-search): Change search-failed message from "initial node" to
4246 "end of node" (bug#12078).
4247 (Info-isearch-search): Change `isearch-string-state' to
4248 `isearch--state-string'.
4250 2012-08-08 Glenn Morris <rgm@gnu.org>
4252 * language/persian.el: Remove file.
4253 * language/misc-lang.el: Move unique part of persian.el here.
4254 * loadup.el: Remove language/persian.
4256 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
4258 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
4260 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
4262 * progmodes/python.el Fixed defsubst warning.
4263 (python-syntax-context) Rename from python-info-ppss-context.
4264 (python-syntax-context-type): Rename from
4265 python-info-ppss-context-type.
4266 (python-syntax-comment-or-string-p): Rename from
4267 python-info-ppss-comment-or-string-p.
4269 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
4271 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
4273 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
4275 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
4276 a defcustom that is quoted with backquote.
4278 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
4279 Fix handling of interactive spec when the body uses return.
4280 (math-do-arg-check, math-define-function-body): Use backquote forms.
4281 * calc/calc-ext.el (math-defcache): Likewise.
4282 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
4283 * allout.el (allout-new-exposure): Likewise.
4284 * calc/calcalg2.el (math-tracing-integral): Likewise.
4285 * info.el (Info-last-menu-item): Likewise.
4286 * emulation/vip.el (vip-loop): Likewise.
4287 * textmodes/artist.el (artist-funcall): Likewise.
4288 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
4289 Construct menu-item directly.
4291 * progmodes/autoconf.el (font-lock-syntactic-keywords):
4294 2012-08-07 Chong Yidong <cyd@gnu.org>
4296 * simple.el (deactivate-mark): Preserve text properties when
4297 saving the primary selection (Bug#8384).
4299 2012-08-07 Kevin Ryde <user42@zip.com.au>
4301 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
4302 (woman-parse-numeric-value): On a bad .IP line, issue a warning
4303 and continue processing (Bug#12110).
4305 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
4307 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
4308 syntax-propertize-function (bug#10095).
4310 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
4312 * help-fns.el (help-fns--key-bindings, help-fns--signature)
4313 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
4314 describe-function-1.
4315 (describe-function-1): Use them. Move compiler macro after sig.
4316 (help-fns--compiler-macro): Use function-get. Assume we're already in
4317 standard-output. Adjust layout to new call order.
4319 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
4320 re-binding a symbol that has a symbol-macro (bug#12119).
4322 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
4324 * language/persian.el: New file. (Bug#11812)
4325 * loadup.el: Add language/persian.el.
4327 2012-08-06 Chong Yidong <cyd@gnu.org>
4329 * window.el (window--maybe-raise-frame): New function.
4330 (window--display-buffer): Split off from here.
4331 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4332 (display-buffer-pop-up-window, display-buffer-use-some-window):
4333 Obey an inhibit-switch-frame action alist entry.
4334 (display-buffer): Update doc.
4336 * replace.el (occur-after-change-function): Avoid losing focus by
4337 using the inhibit-switch-frame display parameter (Bug#12139).
4339 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
4341 Make internal shell process buffer names start with space.
4342 * progmodes/python.el (python-shell-make-comint): Add optional
4344 (run-python-internal): Use it.
4345 (python-shell-internal-get-or-create-process): Check for new
4346 internal buffer names.
4348 2012-08-06 Glenn Morris <rgm@gnu.org>
4350 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
4351 Do less getting and setting of environment variables.
4353 2012-08-05 Chong Yidong <cyd@gnu.org>
4355 * proced.el (proced): Add substitution string to docstring to
4356 trigger autoloading of the proced library on C-h f (Bug#1768).
4358 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4359 Don't show defvars which have no second argument (Bug#8638).
4361 * imenu.el (imenu-generic-expression): Move documentation here
4362 from imenu--generic-function.
4363 (imenu--generic-function): Refer to imenu-generic-expression.
4365 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
4367 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
4368 indentation declaration.
4369 (viper-loop): Add indentation declaration (Bug#7025).
4371 2012-08-05 Chong Yidong <cyd@gnu.org>
4373 * help-fns.el (describe-variable): Add hyperlink for
4374 directory-local variables files. Improve buffer-local and
4375 permanent-local reporting; suggested by MON KEY (Bug#6644).
4377 * help-mode.el (help-dir-local-var-def): New button type.
4379 * files.el (kill-buffer-hook): Provide a defvar.
4381 2012-08-05 Glenn Morris <rgm@gnu.org>
4383 * eshell/esh-ext.el (eshell/addpath):
4384 Also update eshell-path-env. (Bug#12013)
4386 2012-08-05 Chong Yidong <cyd@gnu.org>
4388 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
4390 * fringe.el (fringe-styles): Add docstring.
4391 (fringe--check-mode): New function.
4392 (set-fringe-mode, set-fringe-style): Use it.
4393 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
4395 * files.el (set-auto-mode): Fix invalid setq call.
4397 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4399 * isearch.el: Misc simplification; use defstruct.
4400 (isearch-mode-map): Dense maps now work like sparse ones.
4401 (isearch--state): New defstruct.
4402 (isearch-string-state, isearch-message-state, isearch-point-state)
4403 (isearch-success-state, isearch-forward-state)
4404 (isearch-other-end-state, isearch-word-state, isearch-error-state)
4405 (isearch-wrapped-state, isearch-barrier-state)
4406 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
4407 replaced by defstruct's accessors.
4408 (isearch--set-state): Rename from isearch-top-state and change
4410 (isearch-push-state): Use new isearch--get-state.
4411 (isearch-toggle-word): Disable regexp when enabling word.
4412 (isearch-message-prefix): Remove unused arg _c-q-hack.
4413 (isearch-message-suffix): Remove unused arg _ellipsis.
4415 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
4417 * simple.el (list-processes--refresh): For a server use :host or
4418 :local as the address.
4419 (list-processes): Doc fix.
4421 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
4423 * lisp/mpc.el: Support password in host argument.
4424 (mpc--proc-connect): Parse and use new password element.
4425 Set mpc-proc variable instead of returning process.
4426 (mpc-proc): Adjust accordingly.
4428 2012-08-03 Eli Zaretskii <eliz@gnu.org>
4430 * whitespace.el (whitespace-display-mappings): Use Unicode
4431 codepoints, instead of emacs-mule codepoints. See
4432 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
4435 * files.el (file-truename): Don't skip symlink-chasing part on
4436 windows-nt. Incorporate the resolution of 8+3 short aliases on
4437 Windows into the loop that recursively chases symlinks.
4438 Compare directory and its parent case-insensitively on MS-Windows and
4441 2012-08-03 Chong Yidong <cyd@gnu.org>
4443 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
4445 * sort.el (sort-regexp-fields): Doc fix.
4447 2012-08-03 Tassilo Horn <tsdh@gnu.org>
4449 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
4450 labels regex position point at the expected place.
4452 2012-08-03 MON KEY <monkey@sandpframing.com>
4454 * net/imap.el (imap-interactive-login, imap-authenticate)
4455 (imap-mailbox-lsub, imap-mailbox-list)
4456 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
4457 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
4458 (imap-parse-response): Doc fix.
4460 2012-08-03 João Távora <joaotavora@gmail.com>
4462 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
4463 if sexp scanning does not move point (Bug#5734).
4465 2012-08-02 Tassilo Horn <tsdh@gnu.org>
4467 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
4468 Add listings, minted, and ctable packages.
4469 (reftex-label-alist-builtin): Move listings, minted, and ctable
4470 entries before LaTeX.
4471 (reftex-label-alist): Docfix.
4473 2012-08-02 Bastien Guerry <bzg@gnu.org>
4475 * replace.el (occur): Fix docstring (bug#12122).
4477 2012-08-02 Glenn Morris <rgm@gnu.org>
4479 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
4481 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
4483 Obsolete alias inactivate-current-input-method-function (Bug#10150).
4484 * international/mule-cmds.el: Create
4485 inactivate-current-input-method-function as an obsolete alias for
4486 deactivate-current-input-method-function. See Katsumi Yamaoka in
4487 <http://bugs.gnu.org/10150#46>.
4489 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
4491 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
4494 2012-08-01 Glenn Morris <rgm@gnu.org>
4496 * progmodes/autoconf.el (autoconf-definition-regexp):
4497 Add AH_TEMPLATE, adjust submatch numbering.
4498 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
4499 (autoconf-current-defun-function): Update for above change.
4500 (autoconf-current-defun-function): First skip to end of current word.
4502 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
4504 * calendar/cal-html.el (cal-html-insert-agenda-days):
4505 Fix typo. (Bug#12018)
4507 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
4509 Shell processes: enhancements to startup and CEDET compatibility.
4510 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
4511 (python-shell-make-comint): accept-process-output at startup.
4512 (run-python-internal): Set inferior-python-mode-hook to nil.
4513 (python-shell-internal-get-or-create-process): call sit-for.
4514 (python-preoutput-result): Add obsolete alias.
4515 (python-shell-internal-send-string): Use it.
4516 (python-shell-send-setup-code): Remove call to
4517 accept-process-output.
4519 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
4521 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
4524 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
4526 * calc-mode.el (calc-basic-simplification-mode): Rename from
4527 `calc-limited-simplification-mode'.
4528 (calc-alg-simplification-mode): New function.
4529 (calc-set-simplify-mode): Adjust message.
4531 * calc.el (calc-set-mode-line): Adjust mode line display for
4532 basic simplification mode.
4534 * calc-help.el (calc-m-prefix-help): Update help message.
4536 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
4537 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
4539 2012-07-31 Bastien Guerry <bzg@gnu.org>
4541 * man.el (man): Fix comment. (bug#12101)
4543 2012-07-31 Martin Rudalics <rudalics@gmx.at>
4545 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
4546 Don't return a non-nil value when no suitable buffer was found.
4548 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
4550 * progmodes/python.el (run-python-internal): Disable font lock for
4553 2012-07-30 Stefan Merten <smerten@oekonux.de>
4555 * textmodes/rst.el: Silence `checkdoc-ispell'.
4556 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
4557 (rst-official-version, rst-official-cvs-rev)
4558 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
4559 (rst-mode-map): New key binding.
4561 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
4563 Update .PHONY listings in makefiles.
4564 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
4565 autoloads, update-subdirs, updates, bzr-update, update-authors,
4566 compile-onefile, compile-calc, backup-compiled-files,
4567 compile-after-backup, compile-one-process, mh-autoloads,
4568 bootstrap-clean, distclean, maintainer-clean.
4570 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
4572 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
4573 (calc-set-mode-line): Don't display "AlgSimp ".
4575 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
4576 (calc-lim-simplify-mode): New function.
4577 (calc-set-simplify-mode): Default to 'alg.
4578 (calc-default-simplify-mode): Make algebraic simplifications
4581 * calc/calc-ext.el (calc-init-extensions): Remove binding for
4582 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
4584 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4585 indicate new simplification modes.
4587 * calc/README: Mention new default simplification mode.
4589 * calc/calc.el (math-normalize-error): New variable.
4590 (math-normalize): Set `math-normalize-error' to t
4591 when there's an error.
4593 * calc/calc-alg.el (math-simplify): Don't simplify when
4594 `math-normalize' returns an error.
4596 2012-07-29 Eli Zaretskii <eliz@gnu.org>
4598 * international/mule-cmds.el (set-locale-environment): Revert last
4599 change, since display-graphic-p returns nil when this function is
4600 called during startup. Instead...
4602 * term/w32console.el (terminal-init-w32console): ...setup the
4603 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
4605 2012-07-29 Juri Linkov <juri@jurta.org>
4607 * simple.el (goto-line): Don't display default line number in the
4608 prompt because it should be displayed by `read-number' (bug#9952).
4609 Add the current line number to the defaults of `goto-line' to
4610 allow its easier modification by users with `M-n' (bug#9201).
4612 * subr.el (read-number): Support multiple default values like in
4613 other minibuffer reading functions. Replace `read' with
4614 `string-to-number' for consistency with `number-to-string'.
4616 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
4618 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
4619 * emulation/viper-init.el (viper-deactivate-input-method-action):
4620 Rename from viper-inactivate-input-method-action.
4621 (viper-deactivate-input-method):
4622 Rename from viper-inactivate-input-method.
4623 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
4624 * international/mule-cmds.el (deactivate-input-method):
4625 Rename from inactivate-input-method.
4626 Also run input-method-deactivate-hook.
4627 (deactivate-current-input-method-function):
4628 Rename from inactivate-current-input-method-function.
4629 (input-method-deactivate-hook): New hook.
4630 (input-method-inactivate-hook): Mark obsolete.
4631 (inactivate-input-method): Mark obsolete.
4633 * international/quail.el (quail-activate):
4634 Also run quail-deactivate-hook.
4635 (quail-deactivate): Rename from quail-inactivate.
4636 * international/robin.el (robin-activate):
4637 Also run robin-deactivate-hook.
4638 (robin-deactivate): Rename from robin-inactivate.
4640 2012-07-29 Chong Yidong <cyd@gnu.org>
4642 * simple.el (indicate-copied-region): New function.
4643 (kill-ring-save): Split off from here.
4645 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
4646 (kill-rectangle): Set deactivate-mark to t on read-only error.
4648 * register.el (copy-to-register, copy-rectangle-to-register):
4649 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4650 (append-to-register, prepend-to-register): Call indicate-copied-region.
4652 2012-07-29 Juri Linkov <juri@jurta.org>
4654 * simple.el (async-shell-command-buffer): New defcustom.
4655 (shell-command): Use it. (Bug#4719)
4657 2012-07-28 Eli Zaretskii <eliz@gnu.org>
4659 * international/mule-cmds.el (set-locale-environment): In a
4660 console session on MS-Windows, set up keyboard and terminal
4661 encoding from the OEM codepage, not the ANSI codepage.
4664 2012-07-28 Chong Yidong <cyd@gnu.org>
4666 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
4669 2012-07-28 Leo Liu <sdl.web@gmail.com>
4671 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
4672 the alist (bug#12029).
4674 2012-07-28 Eli Zaretskii <eliz@gnu.org>
4676 * makefile.w32-in (custom-deps, finder-data, updates, compile)
4677 (compile-always, compile-first)
4678 ($(lisp)/calendar/cal-loaddefs.el)
4679 ($(lisp)/calendar/diary-loaddefs.el)
4680 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4681 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
4682 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
4683 instead of on update-subdirs.
4684 (bootstrap-clean): Delete $(lisp)/subdirs.el.
4686 2012-07-28 Chong Yidong <cyd@gnu.org>
4688 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
4689 directory if vc-deduce-backend returns nil (Bug#7350).
4691 * simple.el (delete-trailing-lines): New option.
4692 (delete-trailing-whitespace): Obey it (Bug#11879).
4694 2012-07-28 David Engster <deng@randomsample.de>
4696 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
4697 Explanation of new 'symbol-qnames feature in doc-strings.
4698 (xml-maybe-do-ns): Return expanded names as plain symbols if
4699 'symbol-qnames was provided in XML-NS argument (Bug#11916).
4700 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
4702 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
4704 Consistent completion in inferior python with emacs -nw.
4705 * progmodes/python.el (inferior-python-mode): replace "<tab>"
4706 binding in inferior-python-mode-map with "\t".
4707 (python-shell-completion-complete-at-point)
4708 (python-completion-complete-at-point): Remove interactive spec.
4710 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
4712 * calc/calccomp.el (math-compose-expr): Undo previous change.
4714 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
4716 * progmodes/python.el (python-mode-map): Add keybinding for
4718 (python-shell-make-comint): Fix pop-to-buffer call.
4719 (run-python): Autoload. New arg SHOW.
4720 (python-shell-get-or-create-process): Do not pop python process
4723 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
4725 * notifications.el (notifications-on-action-signal)
4726 (notifications-on-closed-signal): Use also the bus address for the map.
4727 (notifications-notify, notifications-close-notification)
4728 (notifications-get-capabilities): Add optional argument BUS.
4730 2012-07-27 Tassilo Horn <tsdh@gnu.org>
4732 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
4733 Add support for the lstlisting and minted environments, and for the
4735 * textmodes/reftex.el (reftex-compile-variables): Also recognize
4736 labels written in keyvals syntax.
4738 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
4740 * calc/calccomp.el (math-compose-expr): Use parentheses when
4741 there is a product in the denominator of a fraction.
4743 2012-07-26 Eli Zaretskii <eliz@gnu.org>
4745 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
4746 ($(lisp)/calendar/diary-loaddefs.el)
4747 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4748 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
4749 Fixes failures in parallel bootstrap because subdirs.el is being
4750 rewritten while the autoload files are built at the same time,
4751 which needs to load subdirs.el.
4753 2012-07-26 Martin Rudalics <rudalics@gmx.at>
4755 * mouse.el (popup-menu): Fix doc-string and re-indent code.
4756 (mouse-drag-line): Don't exit tracking when a switch-frame or
4757 switch-window event occurs (Bug#12006).
4759 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4761 * mouse.el (popup-menu): Fix last change.
4763 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4765 Autoload from Lisp with more care. Follow aliases when looking for
4766 function properties.
4767 * subr.el (autoloadp): New function.
4768 (symbol-file): Use it.
4769 (function-get): New function.
4770 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
4772 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
4773 (lisp-indent-function):
4774 * emacs-lisp/gv.el (gv-get):
4775 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
4776 * emacs-lisp/byte-opt.el (byte-optimize-form):
4777 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
4778 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
4780 * emacs-lisp/cl.el: Don't propagate function properties any more.
4782 * speedbar.el (speedbar-add-localized-speedbar-support):
4783 * emacs-lisp/disass.el (disassemble-internal):
4784 * desktop.el (desktop-load-file):
4785 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
4786 (describe-function-1):
4787 * emacs-lisp/find-func.el (find-function-noselect):
4788 * emacs-lisp/elp.el (elp-instrument-function):
4789 * emacs-lisp/advice.el (ad-has-proper-definition):
4790 * apropos.el (apropos-safe-documentation, apropos-macrop):
4791 * emacs-lisp/debug.el (debug-on-entry):
4792 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
4793 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4794 * calc/calc.el (name): Use autoloadp & autoload-do-load.
4796 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
4798 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
4799 function, not an obsolete variable (Bug#12046).
4801 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
4803 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
4805 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
4807 * emacs-lisp/pp.el (pp-display-expression): Select old selected
4808 window only if it is still live (Bug#12034).
4810 2012-07-25 Martin Rudalics <rudalics@gmx.at>
4812 * subr.el (redirect-frame-focus): Add advertised calling
4813 convention (Bug#12030).
4815 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
4817 Prefer typical American spelling for "acknowledgment".
4818 * vc/add-log.el (change-log-acknowledgment): Rename from
4819 change-log-acknowledgement, with an alias for the old name.
4821 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
4823 * calc-alg.el (math-simplify-divide): Don't cross multiply
4824 in an equation when the lhs is a variable.
4826 2012-07-24 Julien Danjou <julien@danjou.info>
4828 * net/netrc.el (netrc-find-service-number, netrc-store-data):
4831 2012-07-23 Eli Zaretskii <eliz@gnu.org>
4833 * startup.el (command-line): Don't display an empty user name in
4834 the error message about non-existent home directory, when
4835 init-file-user was set to an empty string. See
4836 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
4837 for the details and context.
4839 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
4841 * ses.el (ses-cell-formula-aset): New macro.
4842 (ses-cell-references-aset): New macro.
4843 (ses-cell-p): New function.
4844 (ses-rename-cell): Do no longer rely on complex operations like
4845 ses-cell-set-formula or ses-set-cell to change the cell and handle
4846 the undo at the same time, but rather use lower level new macros
4847 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
4848 the undo directly. Refresh the mode line.
4850 2012-07-21 Leo Liu <sdl.web@gmail.com>
4852 * progmodes/cc-cmds.el (c-defun-name):
4853 Use match-string-no-properties instead for consistency.
4855 2012-07-20 Leo Liu <sdl.web@gmail.com>
4857 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
4860 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
4862 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
4864 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
4865 * progmodes/bug-reference.el, misearch.el: Provide themselves
4868 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
4869 of narrowed buffer (bug#11966).
4871 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
4873 * ses.el (ses-rename-cell): Set new name also in reference list of
4874 cells of which the renamed cell depends.
4876 2012-07-20 Masatake YAMATO <yamato@redhat.com>
4878 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
4879 to check whether menu-bar is shown or not. If not shown,
4880 show the menu-bar as a popup menu instead of using tmm.
4881 * mouse.el (popup-menu): Accept `point' as `position' argument.
4883 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
4885 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
4886 up inside string symbol literal (bug#11923).
4888 2012-07-20 Eli Zaretskii <eliz@gnu.org>
4890 * startup.el (fancy-startup-text): Read the whole tutorial, not
4891 just its first 256 bytes. Prevents gibberish in display of the
4894 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
4896 Drop idle buffer compaction due to an absence of the
4898 * compact.el: Remove.
4900 2012-07-19 Sam Steingold <sds@gnu.org>
4902 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
4903 vc-bzr-pull & vc-bzr-merge-branch.
4904 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
4905 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
4906 for consistency with compilation-error-regexp-alist.
4907 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
4908 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
4909 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
4910 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
4912 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4914 * emacs-lisp/chart.el: Use lexical-binding.
4915 (chart-emacs-storage): Don't hardcode the list of entries.
4917 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4919 Next round of tweaks caused by Fgarbage_collect changes.
4920 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
4922 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4924 Compact buffers when idle.
4925 * compact.el: New file.
4927 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4929 * subr.el (eventp): Presume that if it looks vaguely like an event,
4930 it's an event (bug#10190).
4932 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
4934 Enhancements to ppss related code (thanks Stefan).
4935 * progmodes/python.el (python-indent-context)
4936 (python-indent-calculate-indentation, python-indent-dedent-line)
4937 (python-indent-electric-colon, python-nav-forward-block)
4938 (python-mode-abbrev-table)
4939 (python-info-assignment-continuation-line-p): Simplify checks
4941 (python-info-continuation-line-p): Cleanup.
4942 (python-info-ppss-context): Do not catch 'quote.
4943 (python-info-ppss-context-type)
4944 (python-info-ppss-comment-or-string-p): Simplify.
4946 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
4948 * progmodes/python.el: Enhancements to eldoc support.
4949 (python-info-current-symbol): New function.
4950 (python-eldoc-at-point): Use python-info-current-symbol.
4951 (python-info-current-defun): Fix cornercase on first defun scan.
4952 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
4953 and signal error when no inferior python process is available.
4955 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
4957 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
4958 assume it's always t.
4959 (vc-git-registered): Remove caching, the function is only called
4961 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
4963 2012-07-18 Chong Yidong <cyd@gnu.org>
4965 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
4967 * simple.el (count-words): Report on narrowing (Bug#9959).
4969 * bindings.el: Bind M-= to count-words.
4971 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
4973 2012-07-18 Masatake YAMATO <yamato@redhat.com>
4975 * progmodes/sh-script.el (sh-imenu-generic-expression):
4976 Capture a function with `function' keyword and without parentheses
4977 like "function FOO" (bug#11856).
4979 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
4981 * window.el (split-window-sensibly): Make WINDOW argument
4984 2012-07-18 Chong Yidong <cyd@gnu.org>
4986 * subr.el (keyboard-translate): Doc fix (Bug#7261).
4988 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
4989 and make C-x 8 RET exit isearch (Bug#11439).
4991 * international/iso-transl.el: Move isearch-mode-map key
4992 definitions to isearch.el.
4994 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
4996 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
4997 (eieio-defclass): Use gv-define-setter when possible.
4999 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
5001 Reflect recent changes in Fgarbage_collect.
5002 * emacs-lisp/chart.el (chart-emacs-storage): Change to
5003 reflect new format of data returned by Fgarbage_collect.
5005 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
5007 New utility functions + python-info-ppss-context fix (Bug#11910).
5008 * progmodes/python.el (python-info-beginning-of-block-statement-p)
5009 (python-info-ppss-comment-or-string-p): New functions.
5010 (python-info-ppss-context): Small fix for string check.
5012 2012-07-17 Juri Linkov <juri@jurta.org>
5014 * dired-aux.el (dired-do-async-shell-command): Doc fix.
5015 (dired-do-async-shell-command): Don't add `*' at the end of the
5016 command (Bug#11815).
5017 (dired-do-shell-command): Doc fix.
5018 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
5019 Join the individual commands using either "&" or ";" as the
5020 separator depending on the values of these trailing characters.
5021 At the end re-add the trailing "&". (Bug#10598)
5023 * simple.el (async-shell-command): Sync the interactive spec with
5024 `shell-command'. Doc fix.
5025 (shell-command): Doc fix.
5027 2012-07-17 Juri Linkov <juri@jurta.org>
5029 * descr-text.el (describe-char): Fix format args. (Bug#10129)
5031 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
5033 Final renames and doc fixes for movement commands (bug#11899).
5034 * progmodes/python.el (python-nav-beginning-of-statement):
5035 Rename from python-nav-statement-start.
5036 (python-nav-end-of-statement): Rename from
5037 python-nav-statement-end.
5038 (python-nav-beginning-of-block): Rename from
5039 python-nav-block-start.
5040 (python-nav-end-of-block): Rename from python-nav-block-end.
5042 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
5044 * progmodes/python.el (python-shell-send-string-no-output):
5045 Allow accept-process-output to quit, keeping shell process ready for
5046 future interactions (Bug#11868).
5048 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
5050 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
5052 * emacs-lisp/elint.el (elint-find-args-in-code):
5053 Use help-function-arglist, so as to handle lexical byte-code.
5055 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
5058 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
5060 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
5061 Avoid spuriously marking the buffer as modified because of c-is-sws.
5063 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
5064 as not-a-comment (bug#11946).
5066 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
5067 for uninterned vars.
5069 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
5070 Use read-event since we don't really want to read chars but bytes.
5072 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
5073 $$..$$ but also $..$ using regexps (bug#11953).
5074 Use tex-verbatim for \url and \path.
5075 (tex-font-lock-keywords): Define as defconst like the others.
5076 (tex-common-initialization): Don't use font-lock-syntax-table any more.
5078 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
5080 * international/mule-cmds.el (ucs-insert): Make it an obsolete
5081 alias for insert-char.
5083 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
5085 * progmodes/python.el: Simplified imenu implementation.
5086 (python-nav-jump-to-defun): Remove command.
5087 (python-mode-map): Use `imenu' instead.
5088 (python-nav-list-defun-positions-cache)
5089 (python-imenu-include-defun-type, python-imenu-make-tree)
5090 (python-imenu-subtree-root-label, python-imenu-index-alist):
5092 (python-nav-list-defun-positions, python-nav-read-defun)
5093 (python-imenu-tree-assoc, python-imenu-make-element-tree)
5094 (python-imenu-make-tree, python-imenu-create-index):
5096 (python-mode): Update to interact with imenu by setting
5097 `imenu-extract-index-name-function' only.
5099 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
5101 * progmodes/python.el: Enhancements to navigation commands.
5102 (python-nav-backward-sentence)
5103 (python-nav-forward-sentence): Remove.
5104 (python-nav-backward-statement, python-nav-forward-statement)
5105 (python-nav-statement-start, python-nav-statement-end)
5106 (python-nav-backward-block, python-nav-forward-block)
5107 (python-nav-block-start, python-nav-block-end)
5108 (python-nav-forward-sexp-function)
5109 (python-info-current-line-comment-p)
5110 (python-info-current-line-empty-p): New functions.
5111 (python-indent-context): Use `python-nav-statement-start'.
5113 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
5115 * eshell/em-ls.el (eshell/ls): Use `apply'.
5117 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
5118 multi-hops, instead of Tramp internals.
5120 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
5122 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
5123 when F1 and F2 are located on different hosts.
5125 2012-07-14 Chong Yidong <cyd@gnu.org>
5127 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
5128 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
5129 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
5130 (xterm-mouse--read-event-sequence-1000)
5131 (xterm-mouse--read-event-sequence-1006): New functions. For old
5132 mouse protocol, handle M-mouse-X events correctly.
5133 (xterm-mouse-event): New arg specifying mouse protocol.
5134 (turn-on-xterm-mouse-tracking-on-terminal)
5135 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
5136 sequence to toggle extended coordinates on newer XTerms.
5137 This appears to be harmless on terminals which do not support this.
5139 2012-07-14 Leo Liu <sdl.web@gmail.com>
5141 Add fringe bitmap indicators for flymake. (Bug#11253)
5142 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
5143 (flymake-make-overlay): New arg BITMAP.
5144 (flymake-error-bitmap, flymake-warning-bitmap)
5145 (flymake-fringe-indicator-position): New user variables.
5147 * fringe.el: New bitmap exclamation-mark.
5149 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
5151 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
5154 2012-07-14 Chong Yidong <cyd@gnu.org>
5156 * electric.el (electric-pair-post-self-insert-function): Fix pair
5157 insertion in empty-region case (Bug#11520).
5159 2012-07-14 Chong Yidong <cyd@gnu.org>
5161 * bindings.el: Consolidate ctl-x-r-map bindings.
5162 Bind copy-rectangle-as-kill to C-x r w.
5164 * rect.el, register.el: Move bindings to bindings.el.
5166 2012-07-14 Reuben Thomas <rrt@sc3d.org>
5168 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
5170 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
5172 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
5174 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
5176 * bindings.el (top): Use `mapc' instead of `mapcar'.
5178 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
5180 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
5182 * progmodes/sql.el (sql-comint): Suppress the check for program on
5183 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
5186 2012-07-13 Chong Yidong <cyd@gnu.org>
5188 * bindings.el: Assign a non-nil permanent-local property to
5189 per-buffer variables which lack a default value (Bug#11930).
5191 * help-fns.el (describe-variable): In the "automatically becomes
5192 local" notice, take note of permanent-local variables.
5194 2012-07-13 Chong Yidong <cyd@gnu.org>
5196 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
5197 to allow printing the message when called from Lisp.
5199 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5200 Remove toggle-read-only.
5202 * bs.el (bs-toggle-readonly):
5203 * buff-menu.el (Buffer-menu-toggle-read-only):
5204 Remove with-no-warnings around toggle-read-only.
5206 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
5207 Remove with-no-warnings around toggle-read-only.
5208 (ffap-read-only, ffap-read-only-other-window)
5209 (ffap-read-only-other-frame): Callers changed.
5211 * help-mode.el: Don't require view package.
5212 (help-mode-finish): Set buffer-read-only instead of calling
5215 * bindings.el (mode-line-toggle-read-only):
5216 * dired.el (dired-toggle-read-only):
5217 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
5218 with non-nil second arg.
5220 * emacs-lisp/eieio-custom.el (eieio-customize-object):
5221 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
5224 2012-07-12 Eli Zaretskii <eliz@gnu.org>
5226 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
5229 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
5231 More CL cleanups and reduction of use of cl.el.
5232 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
5233 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
5234 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
5235 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
5236 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
5237 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
5238 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
5239 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
5240 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
5241 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
5242 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
5243 * eshell/em-cmpl.el, eshell/em-banner.el:
5244 * calendar/parse-time.el: Use cl-lib.
5245 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
5246 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
5247 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
5248 * term/ns-win.el, term.el, shell.el, ps-samp.el:
5249 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
5250 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
5251 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
5252 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
5253 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
5254 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
5255 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
5256 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
5257 `lambda' rather than with `quote'.
5258 (eshell-do-opt): Adjust accordingly.
5259 (eshell-process-option): Simplify.
5260 * eshell/esh-var.el:
5261 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
5262 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
5263 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
5264 to `pcase--dontcare'.
5265 * emacs-lisp/cl.el (labels): Mark obsolete.
5266 (cl--letf, letf): Move to cl-lib.
5267 (cl--letf*, letf*): Remove.
5268 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
5269 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
5270 (cl-progv): Rewrite.
5271 (cl--letf, cl-letf): Move from cl.el.
5272 (cl-letf*): New macro.
5273 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
5275 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
5277 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
5279 2012-07-11 Chong Yidong <cyd@gnu.org>
5281 * vc/log-edit.el (log-edit-vc-backend): New variable.
5282 (log-edit): Doc fix.
5284 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
5285 argument of log-edit to set up all local variables.
5286 (vc-start-logentry): New optional arg specifying VC backend.
5288 * vc/vc.el (vc-checkin): Use it.
5289 (vc-deduce-fileset): Handle Log Edit buffers.
5290 (vc-diff): Make first argument optional too.
5292 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
5294 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
5296 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
5297 command, just in case. The function is not needed anymore.
5298 (eshell-external-command): Do not call `eshell-remote-command'.
5300 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
5302 Reduce use of (require 'cl).
5303 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
5304 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
5305 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
5306 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
5307 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
5308 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
5309 * battery.el, avoid.el, abbrev.el: Use cl-lib.
5310 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
5311 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
5312 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
5313 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
5314 * calculator.el, autorevert.el, apropos.el: Don't require CL.
5315 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
5316 (byte-compile-unfold-bcf, byte-compile-check-variable):
5317 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
5318 (byte-compile-nilconstp):
5319 * emacs-lisp/autoload.el (make-autoload): Use pcase.
5320 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
5322 * emacs-lisp/gv.el (cond): Make it a valid place.
5323 (if): Simplify slightly.
5325 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
5326 (pcase--self-quoting-p): New function.
5327 (pcase--u1): Use it.
5329 2012-07-10 Glenn Morris <rgm@gnu.org>
5331 * emacs-lisp/authors.el (authors-fixed-entries):
5332 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
5334 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
5336 Rename configure.in to configure.ac (Bug#11603).
5337 * emacs-lisp/authors.el (authors-canonical-file-name):
5338 * progmodes/autoconf.el (autoconf-mode):
5339 Prefer configure.ac to configure.in.
5341 2012-07-08 Chong Yidong <cyd@gnu.org>
5343 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
5344 Implement the mouse-1-click-follows-link handling properly.
5346 * info.el (Info-link-keymap): Use follow-link mechanism for
5347 header-line links (Bug#374).
5349 * simple.el (deactivate-mark): Do not set the primary selection
5350 if another program has acquired it (Bug#11772).
5352 2012-07-07 Kevin Ryde <user42@zip.com.au>
5354 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
5355 (woman-decode-region): Replace escaped-escapes without destroying
5356 bold or underline (Bug#11552).
5357 (woman2-process-escapes): Handle nofill regions (Bug#11591).
5359 2012-07-07 Chong Yidong <cyd@gnu.org>
5361 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
5362 (interprogram-cut-function, interprogram-paste-function):
5363 Mention that we typically mean the clipboard.
5365 2012-07-06 Glenn Morris <rgm@gnu.org>
5367 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
5369 * files.el (toggle-read-only): Restrict message to interactive use.
5371 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
5373 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
5375 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
5377 2012-07-06 Glenn Morris <rgm@gnu.org>
5379 * Makefile.in (compile-one-process): Rename from "recompile".
5381 * Makefile.in (bzr-update): "compile" is the same as "recompile
5382 autoloads", but parallelizable, so use that instead.
5384 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
5386 * window.el (quit-window): Always restore window height when
5387 it's saved in quit-restore parameter (Bug#11810).
5389 2012-07-06 Glenn Morris <rgm@gnu.org>
5391 * simple.el (kill-whole-line): Doc tweak.
5393 2012-07-06 Eli Zaretskii <eliz@gnu.org>
5395 * files.el (file-relative-name): Compare file names
5396 case-insensitively if on MS-Windows or MS-DOS, or if
5397 read-file-name-completion-ignore-case is non-nil. Don't use
5398 case-fold-search for this purpose. (Bug#11827)
5400 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
5402 * calendar/cal-dst.el (calendar-current-time-zone):
5403 Return calendar-current-time-zone-cache if non-nil.
5405 2012-07-17 Masatake YAMATO <yamato@redhat.com>
5406 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
5408 * calendar/cal-dst.el (calendar-current-time-zone):
5409 Return calendar-current-time-zone-cache if non-nil.
5411 2012-07-06 Glenn Morris <rgm@gnu.org>
5413 * Makefile.in (cvs-update): Remove old alias.
5415 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
5417 Sync with Tramp 2.2.6-pre.
5419 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
5420 compatible declaration.
5422 * net/tramp-cmds.el (tramp-append-tramp-buffers):
5423 Protect `list-load-path-shadows' call.
5425 * net/tramp-compat.el (top): Require packages, which aren't
5426 autoloaded anymore for XEmacs. Protect call of
5427 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
5428 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
5429 it hurts at least for SXEmacs.
5430 (tramp-compat-temporary-file-directory): In XEmacs, there is no
5431 standard-value for `temporary-file-directory'.
5433 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
5434 Redirect stderr to /dev/null.
5435 (tramp-sh-handle-write-region): uid and gid can be floats.
5436 Reported by Russell Sim <russell.sim@gmail.com>.
5437 (tramp-sh-handle-vc-registered): Hide errors.
5438 (tramp-vc-file-name-handler): Use dummy results for `process-file'
5439 and `start-file-process'.
5440 (tramp-maybe-open-connection): Check also whether `non-essential'
5443 2012-07-04 Chong Yidong <cyd@gnu.org>
5445 * xml.el (xml--parse-buffer): Use xml-syntax-table.
5446 (xml-parse-tag): Likewise, and avoid changing entity tables.
5447 (xml-syntax-table): Define from scratch, making sure not to give
5448 x2000 and other Unicode spaces whitespace syntax, since those are
5450 (xml-parse-fragment): Delete unused function.
5451 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
5452 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
5453 (xml-entity-ref, xml-pe-reference-re)
5454 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
5455 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
5456 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
5457 (xml-entity-value-re): Use syntax references in regexps where
5458 possible; no need to define inside a let-binding.
5459 (xml-parse-dtd): Use xml-pe-reference-re.
5460 (xml-entity-or-char-ref-re): New defconst.
5461 (xml-parse-string, xml-substitute-special): Use it.
5463 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
5465 * files.el (locate-dominating-file): Allow `name' to be a predicate.
5466 (find-file--read-only): New function.
5467 (find-file-read-only, find-file-read-only-other-window)
5468 (find-file-read-only-other-frame): Use it.
5469 (insert-file-contents-literally): Don't `fset'.
5470 (get-free-disk-space): Use locate-dominating-file.
5472 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
5473 function is already compiled.
5475 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
5477 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
5479 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
5480 files on the same host.
5482 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
5484 * help-fns.el (describe-function-1): Only call
5485 help-fns--autoloaded-p when we have a file name. (Bug#11848)
5487 2012-07-03 Chong Yidong <cyd@gnu.org>
5489 * xml.el: Protect parser against XML bombs.
5490 (xml-entity-expansion-limit): New variable.
5491 (xml-parse-string, xml-substitute-special): Use it.
5492 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
5494 2012-07-03 Glenn Morris <rgm@gnu.org>
5496 * progmodes/bug-reference.el (bug-reference-bug-regexp):
5497 Allow linking to specific messages in debbugs reports (eg 123#5).
5499 2012-07-02 Chong Yidong <cyd@gnu.org>
5501 * xml.el: Fix entity and character reference expansion, allowing
5502 them to expand into markup as per XML spec.
5503 (xml-default-ns): New variable.
5504 (xml-entity-alist): Use XML spec definitions for lt and amp.
5505 (xml-parse-region): Make first two arguments optional.
5506 Discard text properties.
5507 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
5508 All callers changed.
5509 (xml-parse-tag): Call xml-parse-tag-1. For backward
5510 compatibility, this function should not modify buffer contents.
5511 (xml-parse-tag-1): Fix opening-tag regexp.
5512 (xml-parse-string): Rewrite, handling entity and character
5513 references properly.
5514 (xml--entity-replacement-text): Signal an error if a parameter
5515 entity is undefined.
5517 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
5519 * comint.el (comint-output-filter): Filter out repeated prompts.
5521 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
5522 and file-name-absolute-p.
5523 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
5526 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
5529 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
5530 Rename from byte-compile--refiy-function. All uses changed.
5532 2012-07-01 Chong Yidong <cyd@gnu.org>
5534 * xml.el (xml--parse-buffer): New function. Move most of
5535 xml-parse-region here.
5536 (xml-parse-region): Copy region into a temporary buffer, since
5537 parameter entity substitution requires changing buffer contents.
5538 Use xml--parse-buffer.
5539 (xml-parse-file): Use xml--parse-buffer.
5540 (xml-parse-dtd): Make parameter entity substitution work right.
5541 Use proper regexps for ELEMENT declarations (Bug#7172).
5543 2012-06-30 Glenn Morris <rgm@gnu.org>
5545 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
5547 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
5548 Remove outdated and unnecessary dbus declarations.
5550 2012-06-30 Eli Zaretskii <eliz@gnu.org>
5552 * emacs-lisp/timer.el (timer-until): Subtract results of
5553 float-time, instead of taking float-time of the result of
5554 time-subtract, since float-time signals an error for negative time
5557 2012-06-30 Chong Yidong <cyd@gnu.org>
5559 * xml.el (xml-*-re): Convert defvars into defconsts, and
5560 eval-and-compile them so eval-and-compile works on derivatives.
5561 (xml--entity-replacement-text): Use eval-and-comple.
5563 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
5565 * vc/vc-git.el (vc-git-registered): Use cache property
5567 (vc-git-mode-line-string): Call `vc-working-revision' instead of
5568 `vc-git-working-revision' in order to benefit from the cache.
5569 (vc-git-root): Use cache property `git-root'. (Bug#11757)
5571 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
5573 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
5574 removed (likely outside Emacs). (Bug#11757)
5576 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
5578 * emacs-lisp/cl-lib.el: Require macroexp.
5580 2012-06-30 Chong Yidong <cyd@gnu.org>
5582 * xml.el: Implement XML parameter entities.
5583 (xml-parameter-entity-alist): New variable.
5584 (xml-parse-region, xml-parse-fragment): Preserve previous values
5585 of xml-entity-alist and xml-parameter-entity-alist, so that
5586 repeated calls on different documents do not change them.
5587 (xml-parse-tag): Fix doctype regexp.
5588 (xml--entity-replacement-text): New function.
5589 (xml-parse-dtd): Use it. Don't handle system entities; doing that
5590 properly requires url retrieval which is unimplemented.
5591 (xml-escape-string): Doc fix.
5593 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
5595 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
5597 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
5599 * fringe.el (fringe-mode): Doc fix.
5601 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
5603 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
5605 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
5606 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
5608 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
5610 * calendar/cal-dst.el (calendar-current-time-zone):
5611 Return calendar-current-time-zone-cache if non-nil.
5613 2012-06-29 Masatake YAMATO <yamato@redhat.com>
5615 * progmodes/which-func.el (which-func-format):
5616 Add mouse-face. (Bug#11698)
5618 2012-06-29 Leo Liu <sdl.web@gmail.com>
5620 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
5622 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
5624 * minibuffer.el (minibuffer-confirm-exit-commands):
5625 Add completion-at-point (bug#11725).
5627 2012-06-29 Glenn Morris <rgm@gnu.org>
5629 * progmodes/f90.el (f90-font-lock-keywords-2):
5630 Add some preprocessor elements. (Bug#10499)
5632 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
5634 * progmodes/cperl-mode.el (cperl-update-syntaxification):
5635 Use syntax-propertize (bug#11739).
5637 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
5639 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
5641 2012-06-28 Julien Danjou <julien@danjou.info>
5643 * term.el (term-handle-colors-array): Use a set of new faces to
5644 color the terminal. Also uses :inverse-video property.
5645 (term-default-fg-color): Set to nil by default, deprecate in favor
5647 (term-default-bg-color): Set to nil by default, deprecate in favor
5649 (term-current-face): Use `term-face' by default.
5650 (term-bold-attribute): Variable deleted.
5652 2012-06-28 Glenn Morris <rgm@gnu.org>
5654 * simple.el (completion-list-mode-finish):
5655 Don't use toggle-read-only. (Since completion-list-mode has
5656 a special mode-class, it wasn't doing anything extra anyway.)
5658 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
5660 Make inlining of other-mode interpreted functions work (bug#11799).
5661 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
5662 (byte-compile): Use it to fix compilation of lexical-binding closures.
5663 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
5664 function, if needed.
5666 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
5668 * help-mode.el (help-make-xrefs): Don't just withstand
5669 cyclic-variable-indirection but any error in documentation-property.
5671 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
5673 * bindings.el (bindings--define-key): New function.
5674 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
5675 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
5676 * bindings.el: Use it to purecopy define-key bindings.
5678 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
5680 * emacs-lisp/cl.el (flet): Mark obsolete.
5681 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
5682 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
5683 * progmodes/js.el (js-c-fill-paragraph):
5684 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
5685 (ebrowse-switch-member-buffer-to-derived-class):
5686 * play/5x5.el (5x5-solver): Use cl-flet.
5688 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
5689 (cl--symbol-function): New macro.
5690 (cl--letf, cl--letf*): Use it.
5692 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
5693 Strip "toggle-" if any.
5695 2012-06-27 Glenn Morris <rgm@gnu.org>
5697 * info.el (Info-default-directory-list): Move here from paths.el.
5698 * paths.el: Remove file, which is now empty.
5699 * loadup.el: No longer load "paths".
5701 * custom.el (custom-initialize-delay): Doc fix.
5703 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
5704 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
5705 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
5706 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
5707 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
5708 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
5709 * eshell/eshell.el (eshell-defgroup): Remove alias.
5711 2012-06-27 Chong Yidong <cyd@gnu.org>
5713 * help.el (help-enable-auto-load): New variable.
5715 * help-fns.el (help-fns--autoloaded-p): New function.
5716 (describe-function-1): Refer to a function as "autoloaded" if it
5717 was autoloaded at any time in the past. Perform autoloading if
5718 help-enable-auto-load is non-nil.
5720 2012-06-26 Eli Zaretskii <eliz@gnu.org>
5722 * makefile.w32-in (compile, compile-always): Depend on
5723 update-subdirs, not on subdirs.el. Otherwise, several different
5724 sub-targets of 'bootstrap' running in parallel could
5725 simultaneously write to subdirs.el, producing a garbled file.
5727 2012-06-26 Sam Steingold <sds@gnu.org>
5729 * files.el (file-name-base): New convenience function.
5730 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
5731 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
5732 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
5733 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
5734 * textmodes/ispell.el, textmodes/reftex-ref.el:
5735 * textmodes/tex-mode.el: Use it.
5736 Did not touch cedet and org because they are maintained elsewhere.
5738 2012-06-26 Martin Rudalics <rudalics@gmx.at>
5740 * calendar/calendar.el (calendar-exit): Don't try to delete or
5741 iconify last frame. See:
5742 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
5744 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
5746 * server.el (server-process-filter): Remember dir in the
5747 process's `server-client-directory' properties.
5749 2012-06-24 Chong Yidong <cyd@gnu.org>
5751 * xml.el (xml-parse-tag): Correctly handle comment embedded in
5754 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
5756 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
5758 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5760 * help-fns.el (describe-variable): Don't croak when doc is not found.
5761 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
5762 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
5763 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
5764 * emacs-lisp/smie.el (smie-next-sexp): CSE.
5765 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
5767 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
5769 2012-06-23 Chong Yidong <cyd@gnu.org>
5771 * info.el (Info-mouse-follow-link): Accept symbol values of
5772 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
5773 (Info-fontify-node): Use Info-link-keymap for all navigation
5774 buttons, with link-args property to perform the desired action.
5775 (Info-link-keymap): Doc fix.
5776 (Info-next-link-keymap, Info-prev-link-keymap)
5777 (Info-up-link-keymap): Delete now-unused keymaps.
5779 2012-06-23 Chong Yidong <cyd@gnu.org>
5781 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
5783 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
5786 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
5788 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5790 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
5793 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
5794 the requote function doesn't work properly (bug#11714).
5796 2012-06-23 Glenn Morris <rgm@gnu.org>
5798 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
5800 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5802 Further GV/CL cleanups.
5803 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
5805 (gv--defun-declaration): New function.
5806 (defun-declarations-alist): Use it.
5807 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
5808 (gv-place): Autoload.
5809 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
5810 original definition of dotimes and dolist.
5811 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
5812 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
5813 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
5814 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5815 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
5816 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
5817 to the function's definition.
5818 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
5822 * env.el: Don't use CL.
5824 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
5826 Support higher-resolution time stamps (Bug#9000).
5828 * calendar/time-date.el (with-decoded-time-value): New arg
5829 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
5830 (encode-time-value): New optional arg PICO. New type 3.
5831 (time-to-seconds) [!float-time]: Support the new picoseconds
5832 component if it's used.
5833 (seconds-to-time, time-subtract, time-add):
5834 Support ps-resolution time stamps as well.
5836 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
5837 (timerp): Timer vectors now have length 9, not 8.
5838 (timer--time): Support new-style (4-part) time stamps.
5839 (timer-next-integral-multiple-of-time): Time stamps now have
5840 picosecond resolution, so take a bit more care about rounding.
5841 (timer-relative-time, timer-inc-time): New optional arg psecs.
5842 (timer-set-time-with-usecs): Set psecs to 0.
5843 (timer--activate): Check psecs component, too.
5845 * proced.el (proced-time-lessp): Support ps-resolution stamps.
5847 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5849 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
5850 Move the non-essential binding to the post/pre-command-hook where it is
5851 more obviously correct.
5853 * subr.el (read-passwd): Don't use a history at all.
5854 * savehist.el (savehist-save): Remove password saved accidentally
5855 because of the above bug.
5857 2012-06-22 Bastien Guerry <bzg@gnu.org>
5859 * files.el (toggle-read-only): Display a message telling whether
5860 the buffer is read-only or not (bug#11726).
5862 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5864 * emacs-lisp/gv.el: New file.
5865 * subr.el (push, pop): Extend to generalized variables.
5866 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
5867 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
5868 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
5869 gv-define-simple-setter, and gv-define-expander.
5870 Remove setf-methods defined in gv. Rename cl-setf -> setf.
5871 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
5872 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
5873 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
5874 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
5876 (cl-defstruct): Don't define setf-method any more.
5877 * emacs-lisp/cl.el (flet): Don't autoload.
5878 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
5879 (define-setf-expander, defsetf, define-modify-macro)
5880 (cl-struct-setf-expander): Move from cl-lib.el.
5881 * emacs-lisp/syntax.el:
5882 * emacs-lisp/ewoc.el:
5883 * emacs-lisp/smie.el:
5884 * emacs-lisp/cconv.el:
5885 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
5886 (timer--time): Use gv-define-simple-setter.
5887 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
5888 to avoid coding-system problems in subr.el. Adjust all users.
5889 (macroexp--maxsize, macroexp-small-p): New functions.
5890 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
5891 * scroll-bar.el (scroll-bar-mode):
5892 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
5893 (normal-erase-is-backspace-mode): Don't use the `eq' place.
5894 * winner.el (winner-configuration, winner-make-point-alist)
5895 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
5896 * files.el (locate-file-completion-table): Avoid list*.
5898 2012-06-22 Chong Yidong <cyd@gnu.org>
5900 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
5901 (dired-create-files): Doc fix (Bug#11329).
5902 (dired-do-copy): Doc fix (Bug#11334).
5903 (dired-mark-read-string): Doc fix (Bug#11553).
5905 * dired.el (dired-recursive-copies, dired-recursive-deletes):
5906 Doc fix (Bug#11326).
5907 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
5908 (dired-dwim-target): Doc fix.
5910 * wdired.el (wdired-mode): Doc fix.
5912 2012-06-22 Glenn Morris <rgm@gnu.org>
5914 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
5915 (pcmpl-rpm-cache-stamp-file): New constant.
5916 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
5917 (pcmpl-rpm-packages): Optionally cache list of packages.
5919 * pcmpl-rpm.el (pcmpl-rpm): New group.
5920 (pcmpl-rpm-query-options): New option.
5921 (pcmpl-rpm-packages): No need to inline it.
5922 Use pcmpl-rpm-query-options.
5924 * calendar/calendar.el (calendar-in-read-only-buffer):
5925 Avoid some needless mode changes.
5927 2012-06-21 Chong Yidong <cyd@gnu.org>
5929 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
5930 (desktop-path): Remove . from the default value (Bug#10977).
5931 (desktop-read): Use user-emacs-directory if desktop-path is nil.
5933 2012-06-20 Chong Yidong <cyd@gnu.org>
5935 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
5937 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
5939 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
5942 2012-06-20 Chong Yidong <cyd@gnu.org>
5944 * term.el (term-window-width): Handle the case of a missing right
5946 (term-check-size): Use window-text-height (Bug#5445).
5947 (term-mode): Use define-derived-mode. Minor cleanups.
5948 Set font-lock-defaults (Bug#7692).
5949 (term-move-columns, term-insert-char, term-emulate-terminal)
5950 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
5952 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
5954 * net/ange-ftp.el (ange-ftp-get-passwd):
5955 Bind `enable-recursive-minibuffers'.
5956 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
5958 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
5960 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
5962 2012-06-19 Glenn Morris <rgm@gnu.org>
5964 * progmodes/python.el (python-mode): Derive from prog-mode.
5966 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
5968 * emulation/edt.el (edt-default-menu-bar-update-buffers)
5969 (edt-user-menu-bar-update-buffers): New functions.
5970 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
5972 2012-06-19 Chong Yidong <cyd@gnu.org>
5974 * subr.el (with-selected-window): Preserve the selected window's
5975 terminal's top-frame (Bug#4702).
5977 * window.el (save-selected-window): Likewise.
5979 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5981 * progmodes/python.el (python-rx-constituents): Move backquote.
5982 (python-skeleton-define, python-define-auxiliary-skeleton):
5985 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
5987 * minibuffer.el (read-file-name-default): Revert the patch from
5990 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5992 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
5993 (pcase--u1, pcase--q1): Don't use apply-partially.
5995 2012-06-18 Glenn Morris <rgm@gnu.org>
5997 * progmodes/python.el (python-proc, python-buffer)
5998 (python-send-receive, python-send-string): Fix obsolete versions.
6000 2012-06-18 Martin Rudalics <rudalics@gmx.at>
6002 * window.el (special-display-p): Completely remove stringp
6003 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
6005 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
6007 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
6009 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
6011 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
6012 * net/tramp-sh.el (tramp-maybe-open-connection):
6013 Throw if `non-essential' is non-nil.
6015 2012-06-17 Martin Rudalics <rudalics@gmx.at>
6017 * window.el (special-display-p): Signal an error if BUFFER-NAME
6018 is not a string (Bug#11713).
6020 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
6022 * progmodes/python.el (python-info-beginning-of-backslash):
6023 Rename from python-info-beginning-of-backlash, as a spelling fix.
6025 2012-06-17 Chong Yidong <cyd@gnu.org>
6027 * term.el (term-emulate-terminal): If term-check-size is called,
6028 move point to the process mark without resetting point (Bug#4635).
6030 2012-06-17 Glenn Morris <rgm@gnu.org>
6032 * international/mule-cmds.el (mule-menu-keymap)
6033 (set-language-environment, set-locale-environment): Doc tweaks.
6035 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
6037 * cus-face.el (custom-face-attributes): Add wave-style underline
6039 * faces.el (set-face-attribute): Update docstring to describe
6040 wave-style underline attribute.
6042 2012-06-16 Chong Yidong <cyd@gnu.org>
6044 * term/xterm.el (terminal-init-xterm): Discard input before
6045 querying background mode (Bug#10959).
6047 2012-06-16 Stefan Merten <smerten@oekonux.de>
6049 * textmodes/rst.el: Added and corrected some comments.
6050 (rst-re-alist-def): Improve symbol syntax.
6051 (rst-mode-syntax-table): Correct syntax entries.
6052 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
6053 (rst-official-version, rst-official-cvs-rev): Update version
6056 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
6058 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
6059 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
6061 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
6063 * progmodes/python.el: New python.el merge.
6064 (python-guess-indent): Obsolete var.
6065 (python-indent-guess-indent-offset): New defcustom.
6066 (python-indent): Obsolete var.
6067 (python-indent-offset): New defcustom.
6068 (python-python-command, python-jython-command): Delete var.
6069 (python-shell-interpreter): New defcustom.
6070 (python-pdbtrack-do-tracking-p): Delete var.
6071 (python-pdbtrack-activate): New defcustom.
6072 (python-use-skeletons): Obsolete var.
6073 (python-skeleton-autoinsert): New defcustom.
6074 (inferior-python-filter-regexp, python-continuation-offset)
6075 (python-honour-comment-indentation, python-indent-string-contents)
6076 (python-jython-packages, python-mode-hook)
6077 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
6078 (python-shell-prompt-alist)
6079 (python-source-modes): Delete defcustoms.
6080 (python-check-buffer-name, python-eldoc-setup-code)
6081 (python-eldoc-string-code, python-ffap-setup-code)
6082 (python-ffap-string-code, python-fill-comment-function)
6083 (python-fill-decorator-function, python-fill-paren-function)
6084 (python-fill-string-function, python-imenu-include-defun-type)
6085 (python-imenu-make-tree, python-imenu-subtree-root-label)
6086 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
6087 (python-shell-compilation-regexp-alist)
6088 (python-shell-completion-module-string-code)
6089 (python-shell-completion-pdb-string-code)
6090 (python-shell-completion-setup-code)
6091 (python-shell-completion-string-code)
6092 (python-shell-enable-font-lock, python-shell-exec-path)
6093 (python-shell-extra-pythonpaths)
6094 (python-shell-internal-buffer-name, python-shell-interpreter-args)
6095 (python-shell-process-environment)
6096 (python-shell-prompt-block-regexp)
6097 (python-shell-prompt-output-regexp)
6098 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
6099 (python-shell-send-setup-max-wait, python-shell-setup-codes)
6100 (python-shell-virtualenv-path): New defcustoms.
6101 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
6102 (inferior-python-mode-syntax-table, python--prompt-regexp)
6103 (python-buffer, python-command python-python-command)
6104 (python-default-template, python-imports, python-indent-index)
6105 (python-indent-list, python-indent-list-length)
6106 (python-mode-running, python-pdbtrack-is-tracking-p)
6107 (python-preoutput-continuation, python-preoutput-leftover)
6108 (python-preoutput-result, python-preoutput-skip-next-prompt)
6109 (python-prev-dir/file, python-recursing)
6110 (python-saved-check-command, python-version-checked)
6111 (python-which-func-length-limit)
6112 (view-return-to-alist): Delete vars.
6113 (python-check-custom-command, python-dotty-syntax-table)
6114 (python-imenu-index-alist, python-indent-current-level)
6115 (python-indent-dedenters, python-indent-levels)
6116 (python-nav-beginning-of-defun-regexp)
6117 (python-nav-list-defun-positions-cache)
6118 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
6119 (python-shell-internal-buffer)
6120 (python-skeleton-available): New vars.
6121 (def-python-skeleton): Delete macro.
6122 (python-skeleton-define): New macro.
6123 (python-define-auxiliary-skeleton, python-rx): New macros.
6124 (python-insert-class): Delete command.
6125 (python-skeleton-class): New command.
6126 (python-insert-def): Delete command.
6127 (python-skeleton-def): New command.
6128 (python-insert-for): Delete command.
6129 (python-skeleton-for): New command.
6130 (python-insert-if): Delete command.
6131 (python-skeleton-if): New command.
6132 (python-insert-try/except, python-insert-try/finally): Delete commands.
6133 (python-skeleton-try): New command.
6134 (python-insert-while): Delete command.
6135 (python-skeleton-while): New command.
6136 (python-backspace): Delete command.
6137 (python-indent-dedent-line-backspace): New command.
6138 (python-electric-colon): Delete command.
6139 (python-indent-electric-colon): New command.
6140 (python-guess-indent): Delete command.
6141 (python-indent-guess-indent-offset): New command.
6142 (python-shift-left): Delete command.
6143 (python-indent-shift-left): New command.
6144 (python-shift-right): Delete command.
6145 (python-indent-shift-right): New command.
6146 (python-find-function): Delete command.
6147 (python-nav-jump-to-defun): New command.
6148 (python-next-statement): Delete command.
6149 (python-nav-forward-sentence): New command.
6150 (python-previous-statement): Delete command.
6151 (python-nav-backward-sentence): New command.
6152 (python-fill-paragraph): Delete command.
6153 (python-fill-paragraph-function): New command.
6154 (python-send-buffer): Delete command.
6155 (python-shell-send-buffer): New command.
6156 (python-send-defun): Delete command.
6157 (python-shell-send-defun): New command.
6158 (python-send-region, python-send-region-and-go): Delete commands.
6159 (python-shell-send-region)
6160 (python-shell-switch-to-shell): New commands.
6161 (python-send-string): Delete command.
6162 (python-shell-send-string): New command.
6163 (python-switch-to-python): Delete command.
6164 (python-shell-switch-to-shell): New command.
6165 (python-describe-symbol): Delete command.
6166 (python-eldoc-at-point): New command.
6167 (python--set-prompt-regexp, python-args-to-list)
6168 (python-after-info-look, python-check-version)
6169 (python-check-comint-prompt, python-find-imports)
6170 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
6171 (python-unload-function, python-expand-template)
6172 (python-maybe-jython, python-preoutput-filter)
6173 (python-pdbtrack-get-source-buffer)
6174 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
6175 (python-pdbtrack-toggle-stack-tracking)
6176 (python-pdbtrack-track-stack-file, python-initial-text)
6177 (python-first-word, python-comment-line-p, python-send-command)
6178 (python-setup-brm, python-sentinel, python-set-proc)
6179 (python-skip-out, python-input-filter, python-outdent-p)
6180 (python-outline-level, python-backslash-continuation-line-p)
6181 (python-end-of-block, python-end-of-statement, python-mark-block)
6182 (python-beginning-of-block, python-beginning-of-statement)
6183 (python-blank-line-p, python-beginning-of-string)
6184 (python-open-block-statement-p): Delete functions.
6185 (python-indent-line, python-indent-line-1): Delete functions.
6186 (python-indent-line): New function.
6187 (python-indentation-levels): Delete function.
6188 (python-indent-calculate-levels): New function.
6189 (python-proc): Delete function.
6190 (python-shell-get-process): New function.
6191 (python-send-receive): Delete function.
6192 (python-shell-send-string-no-output): New function.
6193 (python-module-path): Delete function.
6194 (python-ffap-module-path): New function.
6195 (python-completion-at-point)
6196 (python-symbol-completions): Delete functions.
6197 (python-completion-complete-at-point): New function.
6198 (python-load-file): Delete function.
6199 (python-shell-send-file): New function.
6200 (python-calculate-indentation): Delete function.
6201 (python-indent-calculate-indentation): New function.
6202 (python-skip-comments/blanks): Delete function.
6203 (python-util-forward-comment): New function.
6204 (python-continuation-line-p): Delete function.
6205 (python-info-continuation-line-p): New function.
6206 (python-which-func, python-current-defun): Delete function.
6207 (python-info-current-defun): New function.
6208 (python-beginning-of-defun): Delete function.
6209 (python-nav-beginning-of-defun): New function.
6210 (python-close-block-statement-p)
6211 (python-block-end-p): Delete function.
6212 (python-info-closing-block): New function.
6213 (python-comint-output-filter-function)
6214 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
6215 (python-fill-comment, python-fill-decorator, python-fill-paren)
6216 (python-fill-string, python-imenu-make-element-tree)
6217 (python-imenu-make-tree, python-imenu-tree-assoc)
6218 (python-indent-context, python-indent-dedent-line)
6219 (python-indent-line-function)
6220 (python-indent-post-self-insert-function)
6221 (python-indent-toggle-levels)
6222 (python-info-assignment-continuation-line-p)
6223 (python-info-beginning-of-backlash)
6224 (python-info-block-continuation-line-p)
6225 (python-info-closing-block-message)
6226 (python-info-line-ends-backslash-p)
6227 (python-info-looking-at-beginning-of-defun)
6228 (python-info-ppss-context, python-info-ppss-context-type)
6229 (python-nav-list-defun-positions, python-nav-read-defun)
6230 (python-nav-sentence-end, python-nav-sentence-start)
6231 (python-pdbtrack-comint-output-filter-function)
6232 (python-pdbtrack-set-tracked-buffer)
6233 (python-shell-calculate-exec-path)
6234 (python-shell-calculate-process-environment)
6235 (python-shell-completion--do-completion-at-point)
6236 (python-shell-completion--get-completions)
6237 (python-shell-completion-complete-at-point)
6238 (python-shell-completion-complete-or-indent)
6239 (python-shell-get-or-create-process)
6240 (python-shell-get-process-name)
6241 (python-shell-internal-get-or-create-process)
6242 (python-shell-internal-get-process-name)
6243 (python-shell-internal-send-string, python-shell-make-comint)
6244 (python-shell-parse-command, python-shell-send-setup-code)
6245 (python-skeleton-add-menu-items)
6246 (python-util-clone-local-variables, python-util-position)
6247 (run-python-internal, python-indentation-levels)
6248 (python-nav-beginning-of-defun)
6249 (python-completion-complete-at-point): New functions.
6250 (run-python): Change arguments. New API requirements.
6252 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6254 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
6257 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
6258 (macroexp--expand-all): Use it.
6260 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
6261 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
6262 Use `cl-function' instead.
6264 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
6266 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
6267 Suggested by Stefan Monnier while discussing bug#11657.
6269 2012-06-14 Sam Steingold <sds@gnu.org>
6271 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
6273 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
6275 * play/doctor.el (doctor-doc): Remove parameter and use
6276 doctor-sent instead of sent.
6277 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
6279 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6281 * files.el: Require cl-lib.
6282 (file-name-non-special): Replace case -> cl-case.
6284 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
6286 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
6287 mapping from #' to function*.
6289 2012-06-13 Chong Yidong <cyd@gnu.org>
6291 * mouse.el (mouse-drag-track): Do not set the mark if the user
6292 releases the mouse without selecting anything (Bug#11588).
6294 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6296 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
6297 as well (bug#11646).
6299 * loadup.el: Count byte-code functions as well.
6301 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
6302 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
6304 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
6305 (bug#11649). Add cl-defun and cl-defmacro.
6307 2012-06-13 Drew Adams <drew.adams@oracle.com>
6309 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
6312 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
6314 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
6315 Otherwise, it blocks in batch mode.
6317 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
6319 * help-mode.el (bookmark-make-record-default): Declare.
6321 2012-06-13 Chong Yidong <cyd@gnu.org>
6323 * emacs-lisp/package.el (list-packages): Compute a list of
6324 packages that are newly-available since the last list-packages
6326 (package-menu--new-package-list): New var.
6327 (package-menu--generate, package-menu--print-info)
6328 (package-menu--status-predicate, package-menu-mark-install):
6329 Handle new status label "new".
6331 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6333 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
6334 conversion to backquotes.
6336 2012-06-12 Chong Yidong <cyd@gnu.org>
6338 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
6339 Rename from gud-inhibit-global-bindings.
6341 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
6343 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
6344 hook from nxml-glyph-set-hook.
6346 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
6349 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
6351 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
6352 Convert to defcustom.
6354 2012-06-12 Drew Adams <drew.adams@oracle.com>
6356 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
6358 (help-mode): Use them.
6360 2012-06-11 Glenn Morris <rgm@gnu.org>
6362 * progmodes/fortran.el (fortran-font-lock-keywords-3):
6363 Use preprocessor face for directives.
6364 (fortran-directive-re): Doc fix.
6366 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6368 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
6369 conversion to backquotes (bug#11652).
6371 Fix compiler-expansion of CL's cXXr functions (bug#11673).
6372 * emacs-lisp/cl-lib.el (cl--defalias): New function.
6373 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
6374 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
6375 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
6376 (cl-ninth, cl-tenth): Mark them as inlinable.
6377 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
6378 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
6379 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
6380 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
6381 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
6382 (cl-list*, cl-adjoin): Don't put an autoload manually.
6383 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
6384 (cl--compiler-macro-list*): Add autoload cookie.
6385 (cl--compiler-macro-cXXr): New function.
6387 * help-fns.el (help-fns--compiler-macro): New function extracted from
6388 describe-function-1; follow aliases and use `compiler-macro' property.
6389 (describe-function-1): Use it.
6391 2012-06-11 Chong Yidong <cyd@gnu.org>
6393 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
6394 is uninstalled, if imagemagick is installed.
6396 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6398 * emacs-lisp/cl-lib.el: Use lexical-binding.
6399 (cl-map-extents, cl-maclisp-member): Remove.
6400 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
6401 (cl--set-substring, cl--block-wrapper, cl--block-throw)
6402 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
6403 * emacs-lisp/cl-extra.el: Use lexical-binding.
6404 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
6405 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
6406 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
6407 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
6408 * emacs-lisp/cl-seq.el: Use lexical-binding.
6409 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
6410 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
6411 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
6412 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
6413 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
6416 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
6418 Sync with Tramp 2.2.6-pre.
6420 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
6421 `print-length' and `print-level' to nil, in order to avoid
6422 truncation. Reported by Christopher Schmidt
6423 <christopher@ristopher.com>.
6425 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
6427 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
6429 (tramp-compat-copy-directory): Add optional argument
6430 COPY-CONTENTS. It is not handled yet.
6432 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
6433 (tramp-ftp-file-name-p): Simplify.
6435 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
6436 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
6439 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
6440 (tramp-methods): Do not use `tramp-password-end-of-line'.
6441 (tramp-completion-function-alist-putty): Handle UNIX case.
6442 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
6443 (tramp-do-file-attributes-with-stat)
6444 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
6445 gid as real numbers. They could run out of integer range on cygwin.
6446 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
6447 (tramp-sh-handle-expand-file-name): Handle hops.
6448 (tramp-open-connection-setup-interactive-shell):
6449 Use `tramp-cleanup'. Move check for busyboxes ...
6450 (tramp-find-shell): ... here. Simplify implementation.
6451 Set "remote-shell" property also for alternative shells.
6452 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
6453 If failing, a regular file would be written otherwise.
6454 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
6455 (tramp-find-inline-encoding): Cache the coding commands in the
6456 process cache. Apply test command on the remote side, if defined.
6457 (tramp-find-inline-compress): Cache the compress commands in the
6459 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
6460 when requested. Handle hops.
6461 (tramp-current-connection): New defvar.
6462 (tramp-maybe-open-connection): Use `tramp-cleanup'.
6463 Throw `suppress', if there was a failed connection shortly before.
6464 Handle user interrupt. (Bug#10187)
6465 (tramp-get-inline-compress, tramp-get-inline-coding):
6466 Read connection properties from the process cache.
6468 * net/tramp-smb.el (tramp-smb-server-version)
6469 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
6471 (tramp-smb-prompt): Extend for powershell prompt.
6472 (tramp-smb-file-name-handler-alist): Add handlers for
6473 `process-file', `shell-command' and `start-file-process'.
6474 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
6475 (tramp-smb-winexe-shell-command-switch): New defcustoms.
6476 (tramp-smb-file-name-p): Simplify.
6477 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
6478 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
6479 (tramp-smb-shell-quote-argument): New defuns.
6480 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
6481 Implement using "tar". By this, time-stamps are preserved.
6482 (tramp-smb-handle-copy-file): Handle also the case of directories.
6483 (tramp-smb-do-file-attributes-with-stat)
6484 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
6485 Use `tramp-get-connection-buffer').
6486 (tramp-smb-handle-rename-file): Use "rename", when source and
6487 target are on the same share.
6488 (tramp-smb-maybe-open-connection): Handle wrong passwords.
6489 Use `tramp-smb-server-version'.
6490 (tramp-smb-wait-for-output): Remove prompt.
6492 * net/tramp.el (top): Require 'cl.
6493 (tramp-methods, tramp-rsh-end-of-line):
6494 Remove `tramp-password-end-of-line' from docstring.
6495 (tramp-save-ad-hoc-proxies): New defcustom.
6496 (tramp-completion-function-alist): Adapt docstring.
6497 (tramp-default-password-end-of-line): Remove defcustom.
6498 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
6499 (tramp-user-regexp, tramp-file-name-regexp-unified)
6500 (tramp-file-name-regexp-url): Extend regexp by hop separator.
6501 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
6502 (tramp-remote-file-name-spec-regexp): New defconst.
6503 (tramp-file-name-structure): Extend structure for hops.
6504 (tramp-get-method-parameter): Move up.
6505 (tramp-file-name-p, tramp-dissect-file-name)
6506 (with-parsed-tramp-file-name): Handle hops.
6507 (tramp-file-name-hop): New defun.
6508 (tramp-make-tramp-file-name): New optional arg HOP.
6509 (tramp-message-show-progress-reporter-message): New defvar.
6510 (tramp-with-progress-reporter): Use it. We cannot use
6511 `tramp-message-show-message' here, because this suppresses also
6513 (tramp-error-with-buffer): Suppress buffer view, if
6514 `tramp-message-show-message' is nil.
6515 Use `tramp-get-connection-buffer'.
6516 (tramp-cleanup): New defun.
6517 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
6518 (tramp-file-name-handler): If `debug-on-error' is set, propagate
6520 (tramp-completion-handle-file-name-all-completions): Handle hops.
6521 Fix an error when called from ido.
6522 (tramp-completion-dissect-file-name): Use better local variable
6523 name. Add hop to the vector.
6524 (tramp-handle-insert-file-contents): Use progress-reporter for the
6526 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
6528 (tramp-check-for-regexp): Simplify search.
6529 (tramp-enter-password): Remove it. Move implementation ...
6530 (tramp-action-password): ... here.
6531 (tramp-mode-string-to-int, tramp-local-host-p)
6532 (tramp-make-tramp-temp-file, tramp-read-passwd)
6533 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
6534 Set tramp-autoload cookie.
6536 * net/trampver.el: Update release number.
6538 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6539 Michael Albinus <michael.albinus@gmx.de>
6541 * net/tramp.el (tramp-set-completion-function): Fix docstring.
6542 (tramp-parse-group, tramp-parse-file)
6543 (tramp-parse-shostkeys-sknownhosts): New defuns.
6544 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
6545 (tramp-parse-shosts-group, tramp-parse-sconfig)
6546 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
6547 (tramp-parse-sknownhosts, tramp-parse-hosts)
6548 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
6550 (tramp-parse-passwd-group, tramp-parse-netrc-group)
6551 (tramp-parse-putty-group): Don't narrow.
6552 (tramp-parse-putty): Make a loop.
6553 (tramp-file-name-handler): Catch the `suppress' signal.
6555 2012-06-11 Chong Yidong <cyd@gnu.org>
6557 * image.el (imagemagick-register-types): Put the ImageMagick entry
6558 at the end of image-type-file-name-regexps.
6560 2012-06-11 Johan Bockgård <bojohan@gnu.org>
6562 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
6563 (pcase, pcase-let*, pcase-dolist): Use them.
6565 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6567 * emacs-lisp/pcase.el (pcase--let*): New function.
6568 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
6569 (pcase--expand): Use macroexp-let².
6571 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
6573 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
6574 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
6575 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
6576 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
6577 * emacs-lisp/derived.el: Use pcase instead of `cl'.
6578 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
6580 2012-06-10 Glenn Morris <rgm@gnu.org>
6582 * mail/rmail.el (rmail-yank-current-message): Leave point at
6583 correct position. (Bug#11660)
6585 2012-06-10 Chong Yidong <cyd@gnu.org>
6587 * allout-widgets.el: Fix code header.
6589 2012-06-10 Chong Yidong <cyd@gnu.org>
6591 * cus-edit.el (customize-changed-options-previous-release):
6594 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
6596 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
6598 2012-06-09 Chong Yidong <cyd@gnu.org>
6600 * ebuff-menu.el (electric-buffer-list): Preserve header line.
6602 2012-06-09 Martin Rudalics <rudalics@gmx.at>
6604 * window.el (special-display-popup-frame): Don't use
6605 window--display-buffer (Bug#11651).
6607 2012-06-09 Eli Zaretskii <eliz@gnu.org>
6609 Fix parallel builds: make sure loaddefs.el is not being written
6610 while Lisp files are compiled.
6611 (compile): Don't depend on 'mh-autoloads'.
6612 (compile-CMD, compile-SH): Depend on 'autoloads'.
6613 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
6615 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
6617 2012-06-09 Chong Yidong <cyd@gnu.org>
6619 * face-remap.el (face-remap-add-relative, face-remap-set-base)
6620 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
6621 Doc fixes (Bug#11225).
6623 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
6625 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
6626 a function if there's a clear indication that it has a compiler-macro.
6627 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
6628 (macro-declarations-alist): Add arglist to declaration functions.
6629 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
6630 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
6631 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
6632 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
6633 Also add autoload to find the compiler macro.
6634 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
6635 (cl--compiler-macro-member, cl--compiler-macro-assoc)
6636 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
6637 (cl--compiler-macro-get): New functions, replacing calls to
6638 cl-define-compiler-macro.
6639 (cl-typep) [compiler-macro]: Use macroexp-let².
6641 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
6643 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
6644 string properly, fixes Bug#11473.
6646 2012-06-08 Chong Yidong <cyd@gnu.org>
6648 * faces.el (set-face-attribute): Doc fix.
6649 (modify-face): Don't use :bold and :italic.
6650 (error, warning, success): Tweak definitions.
6652 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
6653 (custom-modified, custom-set, custom-changed, custom-themed)
6654 (custom-saved, custom-button, custom-button-mouse)
6655 (custom-button-pressed, custom-state, custom-comment-tag)
6656 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
6657 (custom-group-subtitle): Use new-style face specs.
6658 (custom-invalid-face, custom-rogue-face, custom-modified-face)
6659 (custom-set-face, custom-changed-face, custom-saved-face)
6660 (custom-button-face, custom-button-pressed-face)
6661 (custom-documentation-face, custom-state-face)
6662 (custom-comment-face, custom-comment-tag-face)
6663 (custom-variable-tag-face, custom-variable-button-face)
6664 (custom-face-tag-face, custom-group-tag-face-1)
6665 (custom-group-tag-face): Remove obsolete face alias.
6667 * epa.el (epa-validity-high, epa-validity-medium)
6668 (epa-validity-low, epa-mark, epa-field-name, epa-string)
6669 (epa-field-name, epa-field-body):
6670 * font-lock.el (font-lock-comment-face, font-lock-string-face)
6671 (font-lock-keyword-face, font-lock-builtin-face)
6672 (font-lock-function-name-face, font-lock-variable-name-face)
6673 (font-lock-type-face, font-lock-constant-face):
6674 * ido.el (ido-first-match, ido-only-match, ido-subdir)
6675 (ido-virtual, ido-indicator, ido-incomplete-regexp):
6676 * speedbar.el (speedbar-button-face, speedbar-file-face)
6677 (speedbar-directory-face, speedbar-tag-face)
6678 (speedbar-selected-face, speedbar-highlight-face)
6679 (speedbar-separator-face):
6680 * whitespace.el (whitespace-newline, whitespace-space)
6681 (whitespace-hspace, whitespace-tab, whitespace-trailing)
6682 (whitespace-line, whitespace-space-before-tab)
6683 (whitespace-space-after-tab, whitespace-indentation)
6685 * emulation/cua-base.el (cua-global-mark):
6686 * eshell/em-prompt.el (eshell-prompt):
6687 * net/newst-plainview.el (newsticker-new-item-face)
6688 (newsticker-old-item-face, newsticker-immortal-item-face)
6689 (newsticker-obsolete-item-face, newsticker-date-face)
6690 (newsticker-statistics-face, newsticker-default-face):
6691 * net/newst-reader.el (newsticker-feed-face)
6692 (newsticker-extra-face, newsticker-enclosure-face):
6693 * net/newst-treeview.el (newsticker-treeview-face)
6694 (newsticker-treeview-new-face, newsticker-treeview-old-face)
6695 (newsticker-treeview-immortal-face)
6696 (newsticker-treeview-obsolete-face)
6697 (newsticker-treeview-selection-face):
6698 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
6699 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
6700 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
6701 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
6702 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
6703 (nxml-outline-active-indicator, nxml-outline-ellipsis):
6704 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
6706 * progmodes/vera-mode.el (vera-font-lock-number)
6707 (vera-font-lock-function, vera-font-lock-interface):
6708 * textmodes/table.el (table-cell): Use new-style face specs, and
6709 don't use the old :bold and :italic attributes.
6711 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
6712 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
6713 (ebrowse-member-class, ebrowse-progress): Likewise.
6714 (ebrowse-tree-mark-face, ebrowse-root-class-face)
6715 (ebrowse-file-name-face, ebrowse-default-face)
6716 (ebrowse-member-attribute-face, ebrowse-member-class-face)
6717 (ebrowse-progress-face): Remove obsolete faces.
6719 * progmodes/flymake.el (flymake-errline, flymake-warnline):
6720 Inherit from error and warning faces respectively.
6722 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
6724 (flyspell-incorrect-face, flyspell-duplicate-face):
6725 Remove obsolete aliases.
6727 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
6729 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6732 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
6734 * startup.el (argv, argi): Make lexically scoped.
6735 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
6736 * emacs-lisp/cl-macs.el: Use lexical-binding.
6737 Rename cl-bind-* to cl--bind-*.
6738 * files.el: Don't require `cl' since it doesn't use it.
6739 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
6741 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
6743 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
6744 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
6745 instead of calling external sort utility.
6746 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
6748 2012-06-08 Eli Zaretskii <eliz@gnu.org>
6750 * descr-text.el (describe-char): Mention how to insert the
6751 character, if the current input method doesn't support it.
6752 See the discussion in this thread for the details:
6753 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
6755 2012-06-08 Sam Steingold <sds@gnu.org>
6757 * bindings.el (global-map): Bind XF86Forward to next-buffer and
6758 XF86Back to previous-buffer.
6759 (minibuffer-local-map): Bind them to next-history-element and
6760 previous-history-element respectively.
6761 * help-mode.el (help-mode-map): Bind them to help-go-forward and
6762 help-go-back respectively.
6763 * info.el (Info-mode-map): Bind them to Info-history-forward and
6764 Info-history-back respectively.
6765 These are the keys next to Up on the ThinkPad keyboard.
6767 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
6769 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
6770 * emacs-lisp/cl-macs.el: Provide itself.
6771 (cl--labels-convert-cache): New var.
6772 (cl--labels-convert): New function.
6773 (cl-flet, cl-labels): New implementation with new semantics, relying on
6775 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
6776 (cl-closure-vars, cl--function-convert-cache)
6777 (cl--function-convert): Move from cl-macs.el.
6778 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
6779 rename by removing the "cl-" prefix.
6780 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
6782 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6784 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
6785 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
6786 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
6787 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
6788 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
6789 (cl-hash-table-count): Add old compatibility aliases.
6791 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
6792 Use macroexpand-all-environment instead.
6793 (cl--old-macroexpand): New var.
6794 (cl--sm-macroexpand): New function.
6795 (cl-symbol-macrolet): Use it during macro expansion.
6796 (cl--function-convert-cache): New var.
6797 (cl--function-convert): New function, extracted from
6799 (cl-lexical-let): Use it.
6801 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
6802 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
6803 (cl-member): Remove old alias.
6805 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
6806 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
6807 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
6808 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
6809 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
6810 (cl-macroexpand-cmacs): Remove var.
6811 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
6812 Use macroexpand-all instead.
6814 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6816 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
6817 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
6818 (macroexp-copyable-p): New functions and macros.
6819 * emacs-lisp/edebug.el (edebug-unwrap):
6820 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
6821 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
6822 (pcase--let*): Remove.
6823 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
6824 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
6825 macroexp-const-p instead.
6826 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
6828 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
6829 instead of "cl-" for internal definitions. Use macroexp-const-p.
6830 (cl-old-bc-file-form): Remove var.
6831 (cl-const-exprs-p): Remove fun.
6832 (cl-labels, cl-macrolet): Use backquote.
6833 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
6834 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
6835 (cl-define-setf-expander): Rename from cl-define-setf-method.
6836 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
6838 * international/mule-cmds.el: Don't require CL.
6839 (view-hello-file): Don't use `letf'.
6841 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6843 * tmm.el (tmm-prompt): Use string-prefix-p.
6844 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
6845 (tmm-add-prompt): Use minibuffer-completion-help.
6846 (tmm-delete-map): Remove.
6848 * subr.el (kbd): Make it its own function.
6850 2012-06-07 Stefan Merten <smerten@oekonux.de>
6852 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
6853 Silence compiler warnings. Fix versions.
6854 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
6855 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
6856 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
6857 (rst-package-emacs-version-alist): Correct Emacs version to
6858 represent major merge with upstream.
6859 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
6861 2012-06-06 Glenn Morris <rgm@gnu.org>
6863 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
6864 Only print environment variables if set.
6866 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6868 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
6869 (macroexp--cons): Rename from maybe-cons.
6870 (macroexp--accumulate): Rename from macroexp-accumulate.
6871 (macroexp--all-forms): Rename from macroexpand-all-forms.
6872 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
6873 (macroexp--expand-all): Rename from macroexpand-all-1.
6875 2012-06-06 Sam Steingold <sds@gnu.org>
6877 * calendar/calendar.el (calendar-in-read-only-buffer):
6878 Call `special-mode' to enable the standard read-only keybindings.
6880 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6882 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
6883 with "loading" messages (bug#11635).
6885 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
6887 * files.el (enable-remote-dir-locals): New option.
6888 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
6890 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6891 Ensure, that the temp directory is local.
6893 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
6894 `temporary-file-directory'.
6896 * progmodes/python.el (python-send-region): Ensure, that the
6897 temporary file is created also in the remote case.
6899 2012-06-06 Glenn Morris <rgm@gnu.org>
6901 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
6902 (vc-rcs-update-changelog): Use it.
6904 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
6906 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
6907 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
6908 (vc-sccs-diff): Replace use of the external vcdiff script.
6910 2012-06-05 Glenn Morris <rgm@gnu.org>
6912 * ledit.el: Move to obsolete/.
6914 2012-06-05 Sam Steingold <sds@gnu.org>
6916 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
6919 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6921 * emacs-lisp/cust-print.el: Move to obsolete.
6923 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
6924 compiler-macro expansion.
6926 Add native compiler-macro support.
6927 * emacs-lisp/macroexp.el (macroexpand-all-1):
6928 Support compiler-macros directly. Properly follow aliases and apply
6929 the compiler macros more thoroughly.
6930 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
6931 macroexpand now properly follows aliases.
6932 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
6933 (cl-compiler-macroexpand): Use new prop.
6934 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
6936 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
6938 2012-06-05 Martin Rudalics <rudalics@gmx.at>
6940 * window.el (get-lru-window, get-mru-window, get-largest-window):
6941 New argument NOT-SELECTED to avoid picking the selected window.
6942 (window--display-buffer-1, window--display-buffer-2): Replace by
6943 new function window--display-buffer
6944 (display-buffer-same-window, display-buffer-reuse-window)
6945 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6946 Use window--display-buffer.
6947 (display-buffer-use-some-window): Remove temporary dedication
6948 hack by calling get-lru-window and get-largest-window with
6949 NOT-SELECTED argument non-nil. Call window--display-buffer.
6951 2012-06-05 Glenn Morris <rgm@gnu.org>
6953 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
6954 Replace external vcdiff script.
6956 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6958 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
6960 2012-06-04 Chong Yidong <cyd@gnu.org>
6962 * image.el (imagemagick-types-inhibit): Revert last change.
6964 (imagemagick-enabled-types): Remove CIN and EPS*.
6966 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6968 * emacs-lisp/cl-lib.el: Rename from cl.el.
6969 * emacs-lisp/cl.el: New compatibility file.
6970 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
6971 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
6972 to obey the "cl-" prefix.
6973 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
6975 2012-06-03 Glenn Morris <rgm@gnu.org>
6977 * emacs-lisp/authors.el (authors-aliases): Addition.
6979 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
6982 2012-06-03 Stefan Merten <smerten@oekonux.de>
6984 * textmodes/rst.el: Add comments.
6985 (rst-transition, rst-adornment): New faces.
6986 (rst-adornment-faces-alist): Make default safe to reevaluate.
6988 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
6989 Improve customization tags.
6990 (rst-define-level-faces): Clarify meaning.
6992 2012-06-03 Chong Yidong <cyd@gnu.org>
6994 * progmodes/compile.el (compilation-mode-line-fail)
6995 (compilation-mode-line-run, compilation-mode-line-exit):
6997 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
6999 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
7001 * progmodes/which-func.el (which-func-update-ediff-windows):
7002 New function. Use it in ediff-select-hook (Bug#11478).
7004 2012-06-03 Chong Yidong <cyd@gnu.org>
7006 * bindings.el: Remove explicit help text from format-mode-line.
7007 It is now supplied by mode-line-default-help-echo.
7008 (mode-line-front-space, mode-line-end-spaces)
7009 (mode-line-misc-info): New variables.
7010 (mode-line-modes, mode-line-position): Move the default value to
7011 the variable definition.
7012 (mode-line-default-help-echo): New defcustom.
7013 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
7014 (mode-line-modified-help-echo): New functions.
7015 (mode-line-mule-info, mode-line-modified): Use them.
7016 (mode-line-eol-desc, propertized-buffer-identification):
7017 Consistency fixes for help text.
7018 (mode-line-coding-system-map): Allow using mouse-3 to invoke
7019 set-buffer-file-coding-system (Bug#289).
7020 (mode-line-mule-info-help-echo): Update help text.
7022 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7024 * simple.el (execute-extended-command): Set real-this-command
7027 2012-06-02 Chong Yidong <cyd@gnu.org>
7029 Remove incorrect uses of "modeline" in comments, docstrings, and
7030 function/variable names (Bug#10329).
7032 * cus-edit.el (mode-line):
7033 * dframe.el (dframe-mouse-hscroll):
7034 * emacs-lisp/re-builder.el:
7035 * emacs-lisp/easy-mmode.el (define-minor-mode):
7036 * frame.el (set-frame-name):
7037 * help.el (lookup-minor-mode-from-indicator):
7038 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
7039 * progmodes/cc-cmds.el (c-toggle-auto-newline)
7040 (c-toggle-hungry-state):
7041 * progmodes/antlr-mode.el (antlr-language-alist):
7042 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
7043 * progmodes/vhdl-mode.el (vhdl-mode):
7044 * progmodes/which-func.el (which-func, which-func-cleanup-function):
7045 * term/ns-win.el (ns-face-at-pos):
7046 * term/sup-mouse.el (sup-mouse-report):
7047 * textmodes/flyspell.el (flyspell-mode-line-string):
7048 * textmodes/ispell.el (ispell-highlight-face):
7049 * textmodes/reftex-global.el:
7050 * vc/vc-arch.el (vc-arch-mode-line-string):
7051 * vc/vc-cvs.el (vc-cvs-mode-line-string):
7052 * vc/vc-git.el (vc-git-mode-line-string):
7053 * vc/vc-hooks.el (vc-display-status)
7054 (vc-default-mode-line-string):
7055 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
7057 * ansi-color.el (ansi-color-faces-vector): Change default faces.
7059 * dired.el (dired-sort-set-mode-line): Rename from
7060 dired-sort-set-modeline. All callers changed.
7062 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
7063 eshell-status-in-modeline.
7065 * foldout.el (foldout-mode-line-string): Rename from
7066 foldout-modeline-string. All callers changed.
7067 (foldout-update-mode-line): Rename from foldout-update-modeline.
7069 * subr.el (redraw-modeline): Make into obsolete alias.
7071 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
7072 timeclock-modeline-display. Make old name an alias.
7073 (timeclock-update-mode-line): Likewise. All callers changed.
7074 (timeclock-mode-line-display): No need to check before using
7076 (timeclock-relative, timeclock-day-over-hook)
7077 (timeclock-use-elapsed, timeclock-mode-string)
7078 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
7080 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
7081 crisp-mode-modeline-string.
7083 * play/solitaire.el (solitaire-build-mode-line): Rename from
7084 solitaire-build-modeline. All callers changed.
7086 * play/zone.el (zone-hiding-mode-line): Rename from
7087 zone-hiding-modeline. All callers changed.
7088 (zone): Remove unusued `modeline-hidden-level' property.
7090 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
7091 xscheme-modeline-initialize. All callers changed.
7093 * strokes.el (strokes-lighter): Rename from
7094 strokes-modeline-string.
7096 * textmodes/sgml-mode.el (html-face-tag-alist)
7097 (html-tag-face-alist): Use mode-line face instead of obsolete
7100 2012-06-02 Stefan Merten <smerten@oekonux.de>
7102 * textmodes/rst.el: Always require `cl'.
7103 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
7105 2012-06-02 Chong Yidong <cyd@gnu.org>
7107 * image.el (imagemagick-enabled-types): Rename from
7108 imagemagick-types-enable. Add many more types.
7109 (imagemagick-types-inhibit): Change default to nil.
7110 (imagemagick-filter-types): Caller changed.
7112 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
7114 * emacs-lisp/cl-macs.el: Use backquotes.
7115 (cl-transform-function-property): Use eval-and-compile rather than
7117 (defstruct): Use declare-function instead of with-no-warnings.
7119 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
7120 (byte-compile-output-docform): Re-add the print-circle bindings.
7121 (byte-compile-fix-header): Use #$ just because it's shorter.
7122 (byte-compile-output-file-form): Remove defun/defmacro.
7124 2012-06-01 Martin Rudalics <rudalics@gmx.at>
7126 * simple.el (choose-completion): Remove now obsolete binding for
7129 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
7131 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
7132 in order to avoid "Stack overflow in regexp matcher".
7134 2012-05-31 Glenn Morris <rgm@gnu.org>
7136 * image.el: For clarity, call imagemagick-register-types at
7137 top-level, rather than relying on a custom :initialize.
7138 (imagemagick-types-enable): New option. (Bug#11557)
7139 (imagemagick-filter-types): New function. (Bug#7406)
7140 (imagemagick-register-types): Use imagemagick-filter-types.
7141 If disabling support, remove elements altogether rather
7142 than using an impossible regexp.
7143 (imagemagick-types-inhibit): Give it the default init function.
7145 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7147 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
7148 Handle arbitrary file name lengths (Bug#11585).
7150 2012-05-31 Martin Rudalics <rudalics@gmx.at>
7152 * desktop.el (desktop-read): Clear previous and next buffers for
7153 all windows and bury *Messages* buffer (bug#11556).
7155 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7157 Add `declare' for `defun'. Align `defmacro's with it.
7158 * emacs-lisp/easy-mmode.el (define-minor-mode)
7159 (define-globalized-minor-mode): Don't autoload the var definitions.
7160 * emacs-lisp/byte-run.el: Use lexical-binding.
7161 (defun-declarations-alist, macro-declarations-alist): New vars.
7162 (defmacro, defun): Use them.
7163 (make-obsolete, define-obsolete-function-alias)
7164 (make-obsolete-variable, define-obsolete-variable-alias):
7166 (macro-declaration-function): Mark obsolete.
7167 * emacs-lisp/autoload.el: Use lexical-binding.
7168 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
7170 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7172 * textmodes/ispell.el (ispell-with-no-warnings):
7174 (ispell-kill-ispell, ispell-change-dictionary):
7175 Use `called-interactively-p' for Emacs instead of obsolete
7178 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7180 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
7181 (macro-declaration-function): Move var from C code.
7182 (macro-declaration-function): Define function with defalias.
7183 * emacs-lisp/macroexp.el (macroexpand-all-1):
7184 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
7185 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
7186 defun/defmacro any more.
7187 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
7188 Provide fallback for unknown arglist.
7189 (byte-compile-arglist-warn): Change calling convention.
7190 (byte-compile-output-file-form): Move print-vars binding.
7191 (byte-compile-output-docform): Simplify accordingly.
7192 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
7193 (byte-compile-defmacro-declaration): Remove.
7194 (byte-compile-file-form-defmumble): Generalize to defalias.
7195 (byte-compile-output-as-comment): Return byte-positions.
7196 Simplify callers accordingly.
7197 (byte-compile-lambda): Use `assert'.
7198 (byte-compile-defun, byte-compile-defmacro): Remove.
7199 (byte-compile-file-form-defalias):
7200 Use byte-compile-file-form-defmumble.
7201 (byte-compile-defalias-warn): Remove.
7203 2012-05-29 Stefan Merten <smerten@oekonux.de>
7205 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
7206 possible. Fix authors. Improve comments. Improve loading of `cl'.
7208 (rst-mode-abbrev-table): Merge definition.
7209 (rst-mode): Make sure `font-lock-defaults' is buffer local.
7210 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
7212 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
7214 * calendar/icalendar.el
7215 (icalendar-export-region): Export UID properly.
7217 2012-05-29 Leo Liu <sdl.web@gmail.com>
7218 * calendar/icalendar.el (icalendar-import-format):
7219 Add `icalendar-import-format-uid' (Bug#11525).
7220 (icalendar-import-format-uid): New.
7221 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
7224 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7226 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
7227 different alternative patterns.
7228 (pcase-codegen): Be more careful to preserve identity.
7229 (pcase--u1): Don't forget to mark vars as used.
7231 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
7232 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
7233 (byte-compile-from-buffer): ...rather than here.
7235 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
7236 functions from byte-compile-function-environment.
7238 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
7240 * window.el (window-deletable-p): Avoid deleting the root window
7241 of a frame with an active minibuffer.
7243 2012-05-29 Martin Rudalics <rudalics@gmx.at>
7245 * simple.el (choose-completion): Use quit-window (Bug#11567).
7247 2012-05-29 Chong Yidong <cyd@gnu.org>
7249 * whitespace.el (whitespace-cleanup): Fix usage of
7250 whitespace-empty-at-bob-regexp (Bug#11492).
7252 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7254 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
7257 2012-05-29 Juri Linkov <juri@jurta.org>
7259 * isearch.el (isearch-mode-map): Bind `M-s _' to
7260 `isearch-toggle-symbol'. Bind `M-s c' to
7261 `isearch-toggle-case-fold'.
7262 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
7263 (isearch-forward): Add `M-s _' to the docstring.
7264 (isearch-forward-symbol, isearch-toggle-case-fold)
7265 (isearch-symbol-regexp): New functions. (Bug#11381)
7267 2012-05-29 Juri Linkov <juri@jurta.org>
7269 * isearch.el (isearch-word): Add docstring. (Bug#11381)
7270 (isearch-occur, isearch-search-and-update): If `isearch-word' is
7271 a function, call it to get the regexp.
7272 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
7273 property `isearch-message-prefix' instead of the string "word ".
7274 (isearch-search-fun-default): For the case of `isearch-word',
7275 return a lambda that calls re-search-forward/re-search-backward
7276 with a regexp returned by `word-search-regexp' or by the function
7279 2012-05-29 Juri Linkov <juri@jurta.org>
7281 * isearch.el (isearch-search-fun-default): New function.
7282 (isearch-search-fun): Move default part to the new function
7283 `isearch-search-fun-default'.
7284 (isearch-search-fun-function): Set the default value to
7285 `isearch-search-fun-default'. (Bug#11381)
7287 * comint.el (comint-history-isearch-end):
7288 Use `isearch-search-fun-default'.
7289 (comint-history-isearch-search): Use `isearch-search-fun-default'
7290 and remove spacial case for `isearch-word'.
7291 (comint-history-isearch-wrap): Remove spacial case for
7294 * hexl.el (hexl-isearch-search-function):
7295 Use `isearch-search-fun-default'.
7297 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
7298 Use `word-search-regexp' for `isearch-word'.
7300 * misearch.el (multi-isearch-search-fun):
7301 Use `isearch-search-fun-default'.
7303 * simple.el (minibuffer-history-isearch-search):
7304 Use `isearch-search-fun-default' and remove spacial case for
7306 (minibuffer-history-isearch-wrap): Remove spacial case for
7309 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
7310 Remove spacial case for `isearch-word'.
7311 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
7313 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7315 Decrease XEmacs incompatibilities.
7316 * textmodes/flyspell.el (flyspell-check-pre-word-p):
7318 (flyspell-delete-region-overlays): Use alternative definition for
7320 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
7321 (flyspell-word): Use `process-kill-without-query' if XEmacs.
7322 (flyspell-mode-on): Use `interactive-p' if XEmacs.
7323 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
7324 `define-obsolete-face-alias' under XEmacs, but old method.
7326 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
7327 `with-no-warnings' definition or Emacs alias.
7328 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
7329 (ispell-word): Do not use `region-p' if XEmacs.
7331 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7333 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
7334 Check for `ispell-dictionary-base-alist' instead of full
7335 `ispell-dictionary-alist'.
7336 (ispell-init-process): Show spellchecker when starting new Ispell
7339 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
7341 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
7342 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
7344 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
7346 * version.el (motif-version-string, gtk-version-string)
7347 (ns-version-string): Declare.
7349 2012-05-27 Juri Linkov <juri@jurta.org>
7351 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
7352 after the `eval-defun-1' specialcaseing
7353 like in `edebug-eval-defun' (bug#10181).
7355 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
7356 like in `eval-defun-1'.
7358 2012-05-27 Eli Zaretskii <eliz@gnu.org>
7360 * mail/sendmail.el (mail-yank-region):
7361 Recognize rmail-yank-current-message in addition to insert-buffer.
7362 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
7363 a *mail* buffer created through rmail-start-mail with sendmail as
7366 2012-05-27 Chong Yidong <cyd@gnu.org>
7368 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
7369 Default to 256 (Bug#11267).
7371 * help.el (describe-mode): Doc fix.
7373 2012-05-26 Glenn Morris <rgm@gnu.org>
7375 * w32-fns.el (w32-init-info): Remove.
7376 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
7378 * info.el (info-initialize): For self-contained NS builds, put the
7379 included info/ directory at the front. (Bug#2791)
7381 * paths.el (Info-default-directory-list): Make it a defcustom,
7382 mainly so that we can use custom-initialize-delay.
7384 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
7386 * subr.el (buffer-has-markers-at): Mark obsolete.
7388 * subr.el (lambda): Use declare.
7390 * emacs-lisp/lisp-mode.el (lambda):
7391 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
7393 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7395 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
7397 2012-05-26 Glenn Morris <rgm@gnu.org>
7399 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
7401 2012-05-25 Glenn Morris <rgm@gnu.org>
7403 * paths.el: Remove no-byte-compile.
7404 * loadup.el: No need to load paths.el uncompiled.
7406 * image.el (imagemagick-types-inhibit): Doc fix.
7408 * version.el: Remove no-byte-compile and associated formatting.
7409 * loadup.el: No need to load version.el uncompiled. AFAICS, this
7410 is ancient code from when there was an "inc-vers.el".
7412 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7414 * progmodes/gdb-mi.el: Minor style changes.
7415 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
7416 Turn into minor modes.
7417 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
7418 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
7419 (gdb-shell): Remove unneeded let-binding.
7420 (gdb-get-many-fields): Eliminate O(n²) behavior.
7422 2012-05-25 Eli Zaretskii <eliz@gnu.org>
7424 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
7425 platforms that don't link in fontset.c.
7427 2012-05-25 Juri Linkov <juri@jurta.org>
7429 Use the same diff color scheme as in modern VCSes (bug#10181).
7431 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
7432 to avoid confusion with `diff-added' that now uses green colors.
7433 (diff-removed): Use shades of red.
7434 (diff-added): Use shades of green.
7435 (diff-changed): Leave just the yellow color.
7436 (diff-use-changed-face): New variable.
7437 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
7438 how to highlight context diff changes.
7439 (diff-refine-change): Use shades of yellow.
7440 (diff-refine-removed): New face that uses shades of red.
7441 (diff-refine-added): New face that uses shades of green.
7442 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
7443 `diff-refine-removed' in the call to `smerge-refine-subst'
7444 depending on the value of `diff-use-changed-face'.
7446 * vc/smerge-mode.el (smerge-mine): Use shades of red.
7447 (smerge-other): Use shades of green.
7448 (smerge-base): Use shades of yellow.
7449 (smerge-refined-change): Empty face.
7450 (smerge-refined-removed): New face that uses shades of red.
7451 (smerge-refined-added): New face that uses shades of green.
7452 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
7453 args `props-r' and `props-a', and use them. Doc fix.
7454 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
7455 on its value use different faces `smerge-refined-change',
7456 `smerge-refined-removed', `smerge-refined-added' in the call to
7457 `smerge-refine-subst'.
7459 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
7460 Add face condition `min-colors 88' with shades of red.
7461 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
7462 `min-colors 88' with shades of green.
7463 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
7464 `min-colors 88' with shades of yellow.
7466 2012-05-24 Glenn Morris <rgm@gnu.org>
7468 * paths.el (prune-directory-list, remote-shell-program): Move to...
7469 * files.el (prune-directory-list, remote-shell-program): ...here.
7470 For the latter, delay initialization, prefer ssh, just search PATH.
7472 * paths.el (term-file-prefix): Move to faces.el (the only user).
7473 * faces.el (term-file-prefix): Move here, make it a defcustom.
7475 * paths.el (news-directory, news-path, news-inews-program):
7476 Move to gnus/nnspool.el.
7478 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
7480 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
7481 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
7482 Make the latter a defcustom, with a delayed initialization.
7484 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
7485 These were deleted from Gnus itself late 2010.
7487 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
7489 * progmodes/which-func.el (which-func-ff-hook):
7490 Check against user-error, not error.
7492 * emacs-lisp/edebug.el (top): Do not load or set up loading of
7493 cl-specs.el, which no longer exists.
7495 2012-05-22 Glenn Morris <rgm@gnu.org>
7497 * info.el (info-emacs-bug): New command.
7498 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
7499 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
7501 2012-05-21 Glenn Morris <rgm@gnu.org>
7503 * makefile.w32-in (update-subdirs-SH):
7504 * Makefile.in (update-subdirs): Update for moved update-subdirs.
7506 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
7508 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
7510 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7511 Simplify Maven regexp, and make sure the file can't start with a space
7514 2012-05-21 Glenn Morris <rgm@gnu.org>
7516 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7517 Scrap superfluous subshells.
7519 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
7521 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
7522 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
7524 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
7526 * calc/calc.el (calc-ensure-consistent-units): New variable.
7528 * calc/calc-units.el (math-consistent-units-p)
7529 (math-check-unit-consistency): New functions.
7530 (calc-quick-units, calc-convert-units):
7531 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
7533 (calc-extract-units): Fix typo.
7535 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7537 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
7539 * textmodes/flyspell.el: Commenting style, plus code simplifications.
7540 (flyspell-default-deplacement-commands): Don't spell check after
7541 repeated window/frame switches (e.g. triggered by mouse-movement).
7542 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
7543 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
7544 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
7545 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
7547 (flyspell-get-casechars, flyspell-get-not-casechars):
7548 Simplify; Don't bother removing a ] just to add it back.
7549 * textmodes/ispell.el (ispell-program-name): Use executable-find.
7551 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7553 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
7555 (math-function-table): Add support for more C functions.
7557 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7559 * textmodes/flyspell.el (flyspell-check-pre-word-p)
7560 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
7561 Protect delay handling for otherchars against empty otherchars.
7563 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7565 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
7566 their respective macro declarations.
7567 * skeleton.el (define-skeleton):
7568 * progmodes/compile.el (define-compilation-mode):
7569 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
7570 (define-ibuffer-filter):
7571 * emacs-lisp/generic.el (define-generic-mode):
7572 * emacs-lisp/easy-mmode.el (define-minor-mode)
7573 (define-globalized-minor-mode):
7574 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
7575 * emacs-lisp/byte-run.el (defsubst):
7576 * custom.el (deftheme): Add doc-string metadata.
7578 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7580 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
7582 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7584 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
7586 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
7587 * emacs-lisp/cl-macs.el: Idem.
7588 * emacs-lisp/cl-specs.el: Remove.
7590 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7592 Minor renaming of internal CL functions and variables.
7593 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
7594 (cl--position): Rename from cl-position.
7595 (cl--delete-duplicates): Rename from cl-delete-duplicates.
7596 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
7597 (cl--random-state): Rename from *random-state*.
7599 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7601 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
7602 parens around the arg list (bug#11499).
7604 2012-05-17 Juri Linkov <juri@jurta.org>
7606 * isearch.el (word-search-regexp, word-search-backward)
7607 (word-search-forward, word-search-backward-lax)
7608 (word-search-forward-lax): Move functions from search.c
7609 (bug#10145, bug#11381).
7611 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7613 * textmodes/flyspell.el (flyspell-check-pre-word-p)
7614 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
7615 Delay for otherchars as for normal word components.
7617 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
7619 * minibuffer.el (completion--sifn-requote): Fix last change.
7620 (minibuffer-local-must-match-filename-map):
7621 Move define-obsolete-variable-alias before its var.
7623 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7625 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
7627 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
7629 (completion--string-equal-p): New function.
7630 (completion--twq-all): Use it to get better assertion failure data.
7632 Only handle ".." and '..' quoting in shell-mode (bug#11466).
7633 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
7634 (shell--requote-argument): New functions.
7635 (shell-completion-vars): Use them.
7636 (shell--parse-pcomplete-arguments): Rename from
7637 shell-parse-pcomplete-arguments.
7638 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
7639 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
7640 Obey comint-file-name-quote-list.
7642 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
7643 (smie-indent-keyword): Use it.
7645 2012-05-14 Stefan Merten <smerten@oekonux.de>
7647 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
7649 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
7651 * net/rlogin.el (rlogin-mode-map): Fix last change.
7653 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
7655 * mail/smtpmail.el (smtpmail-send-command): Send the command and
7656 the following \r\n using a single `process-send-string', since the
7657 Lotus SMTP server refuses to accept any commands if they are sent
7658 with two `process-send-string's (Bug#11444).
7660 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
7662 * shell.el (shell-parse-pcomplete-arguments):
7663 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
7665 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
7667 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
7668 (image-transform-scale, image-transform-right-angle-fudge): New vars.
7669 (image-transform-width, image-transform-fit-width): New functions.
7670 (image-transform-properties): Use them.
7671 (image-transform-check-size): New function.
7672 (image-toggle-display-image): Use it (for testing).
7673 (image-transform-set-rotation): Reduce angle mod 360.
7674 Delete obsolete comment.
7676 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
7678 * image-mode.el: Fix scaling (bug#11399).
7679 (image-transform-resize): Doc fix.
7680 (image-transform-properties): Default scale is 1 and height should
7683 2012-05-13 Johan Bockgård <bojohan@gnu.org>
7685 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
7686 than hard-coding `car', to fix misbehavior when moving forward.
7688 2012-05-13 Chong Yidong <cyd@gnu.org>
7690 * emacs-lisp/tabulated-list.el (tabulated-list-format)
7691 (tabulated-list-entries, tabulated-list-padding)
7692 (tabulated-list-sort-key): Make permanent-local.
7694 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
7695 (electric-buffer-list): Put electric buffer menu
7696 command descriptions in this docstring, instead of the docstring
7697 of electric-buffer-menu-mode. Code cleanups.
7698 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
7699 Electric-buffer-menu-mode.
7700 (electric-buffer-update-highlight): Minor code cleanup.
7702 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
7704 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
7707 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
7709 Move define-obsolete-variable-alias before the var's definition.
7710 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
7711 * tooltip.el (tooltip-hook):
7712 * textmodes/reftex-toc.el (reftex-toc-map):
7713 * textmodes/reftex-sel.el (reftex-select-label-map)
7714 (reftex-select-bib-map):
7715 * textmodes/reftex-index.el (reftex-index-map)
7716 (reftex-index-phrases-map):
7717 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
7718 * progmodes/meta-mode.el (meta-mode-map):
7719 * novice.el (disabled-command-hook):
7720 * loadhist.el (unload-hook-features-list):
7721 * frame.el (blink-cursor):
7722 * files.el (find-file-not-found-hooks, write-file-hooks)
7723 (write-contents-hooks):
7724 * emulation/tpu-edt.el (GOLD-map):
7725 * emacs-lock.el (emacs-lock-from-exiting):
7726 * emacs-lisp/generic.el (generic-font-lock-defaults):
7727 * emacs-lisp/chart.el (chart-map):
7728 * dos-fns.el (register-name-alist):
7729 * dired-x.el (dired-omit-files-p):
7730 * desktop.el (desktop-enable):
7731 * cus-edit.el (custom-mode-hook):
7732 * buff-menu.el (buffer-menu-mode-hook):
7733 * bookmark.el (bookmark-read-annotation-text-func)
7734 (bookmark-exit-hooks):
7735 * allout.el (allout-mode-deactivate-hook)
7736 (allout-exposure-change-hook, allout-structure-added-hook)
7737 (allout-structure-deleted-hook, allout-structure-shifted-hook):
7738 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
7739 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
7740 comes before the corresponding variable's definition.
7742 2012-05-12 Chong Yidong <cyd@gnu.org>
7744 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
7745 (Buffer-menu-mouse-select): Restore function (Bug#11459).
7746 (Buffer-menu-mode-map): Bind it.
7747 (Buffer-menu--pretty-name): Add a mouse-face property.
7749 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
7751 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
7752 (prolog-upper-case-string, prolog-lower-case-string)
7753 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
7754 (prolog-use-smie, prolog-smie-grammar): New vars.
7755 (prolog-smie-forward-token, prolog-smie-backward-token)
7756 (prolog-smie-rules): New funs.
7757 (prolog-comment-indent): Remove.
7758 (prolog-mode-variables): Use default comment indentation instead.
7760 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
7761 (prolog-mode): Don't call them any more.
7762 (prolog-electric-colon, prolog-electric-dash)
7763 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
7765 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
7767 * minibuffer.el (completion--twq-all): Again, allow case differences.
7769 * term.el: Move keymap initialization code to be more idiomatic.
7770 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
7771 (term-terminal-menu): Move initialization into declaration.
7772 (term-escape-char): Let the user set it in her .emacs.
7774 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
7775 Provide SMIE-based indentation (not enabled by default yet).
7776 (sh-mode-map): Don't bind electric keys.
7777 Use electric-pair-mode instead of skeleton-pair.
7778 (sh-assignment-regexp): Fit within 80 columns.
7779 (sh-indent-supported): Specify actual shell name instead of boolean.
7780 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
7781 (sh-maybe-here-document): Use it. Make obsolete.
7782 (sh-electric-here-document-mode) New minor mode.
7783 (sh-mode): Use it. Don't set sh-indent-supported-here here.
7784 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
7785 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
7786 (sh-smie-rc-grammar, sh-use-smie): New vars.
7787 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
7788 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
7789 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
7790 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
7791 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
7792 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
7793 (sh-set-shell): Use smie-setup if requested.
7795 * term.el (term-set-escape-char): Properly set term-escape-char.
7796 See http://stackoverflow.com/questions/10524656.
7798 2012-05-10 Chong Yidong <cyd@gnu.org>
7800 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
7801 Use url-generic-parse-url, and handle host names and Windows
7803 (ffap-url-unwrap-remote): Use url-generic-parse-url.
7804 (ffap-url-unwrap-remote): Accept list values, specifying a list of
7805 URL schemes to work on.
7806 (ffap--toggle-read-only): New function.
7807 (ffap-read-only, ffap-read-only-other-window)
7808 (ffap-read-only-other-frame): Use it.
7809 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
7810 necessary for ffap-url-unwrap-remote.
7812 2012-05-10 Dave Abrahams <dave@boostpro.com>
7814 * cus-start.el (create-lockfiles): Add it.
7816 2012-05-09 Chong Yidong <cyd@gnu.org>
7818 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
7819 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
7821 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7823 * shell.el (shell-completion-vars): Fix last change (bug#11348).
7825 2012-05-09 Chong Yidong <cyd@gnu.org>
7827 * ansi-color.el (ansi-color-process-output): Check for validity of
7828 comint-last-output-start before using it. This avoids a bad
7829 interaction with gdb-mi's input/output buffer.
7831 2012-05-09 Glenn Morris <rgm@gnu.org>
7833 * files.el (dir-locals-read-from-file):
7834 Mention dir-locals in any error message.
7836 2012-05-09 Chong Yidong <cyd@gnu.org>
7838 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
7839 package (Bug#11410).
7841 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
7842 variables into description.
7844 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7846 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
7847 shell-delimiter-argument-list (bug#11348).
7848 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
7850 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
7852 * textmodes/rst.el: Silence byte-compiler warnings.
7853 (rst-re-alist, rst-reset-section-caches): Move around.
7854 (rst-re): Use `characterp', not `char-valid-p'.
7855 (font-lock-beg, font-lock-end): Declare.
7857 * progmodes/idlw-shell.el (specs): Remove reference to deleted
7858 variable `idlwave-shell-activate-alt-keybindings' and simplify.
7860 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
7862 2012-05-08 Glenn Morris <rgm@gnu.org>
7864 * files.el (auto-mode-alist): Treat ".make" like ".mk".
7866 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7868 * vc/log-edit.el: Add GNU coding standards highlighting.
7869 (log-edit-font-lock-gnu-style)
7870 (log-edit-font-lock-gnu-keywords): New vars.
7871 (log-edit-font-lock-keywords): New fun.
7872 (log-edit-mode): Don't fold case in font-lock.
7873 (log-edit-font-lock-keywords): Do not assume case-folding.
7875 * imenu.el: Misc cleanup. Make docstrings out of comments.
7876 Use lexical-binding.
7877 (imenu--index-alist, imenu--last-menubar-index-alist)
7878 (imenu-menubar-modified-tick): Use defvar-local.
7879 (imenu--split-menu): Remove unused var.
7880 (imenu--cleanup-seen): Declare as global.
7881 (imenu--cleanup): Use dolist.
7883 * subr.el (defvar-local): Add debug spec and doc-string position.
7885 2012-05-08 Glenn Morris <rgm@gnu.org>
7887 * language/burmese.el, language/cham.el, language/czech.el:
7888 * language/english.el, language/georgian.el, language/greek.el:
7889 * language/japanese.el, language/khmer.el, language/korean.el:
7890 * language/lao.el, language/misc-lang.el, language/romanian.el:
7891 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
7892 * language/thai.el, language/utf-8-lang.el:
7893 Remove no-byte-compile setting.
7895 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
7897 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7899 * progmodes/make-mode.el (makefile-browse):
7900 Remove unnecessary interactive. (Bug#11324)
7902 2012-05-07 Glenn Morris <rgm@gnu.org>
7904 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
7906 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
7908 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7910 * loadup.el: Preload newcomment.el.
7911 * newcomment.el: Move autoload-only code to toplevel.
7913 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
7914 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7915 Handle new :right-align column property.
7916 (tabulated-list-print-col): Idem, plus use `display' text-property to
7917 try and preserve alignment for variable pitch fonts.
7919 2012-05-07 Chong Yidong <cyd@gnu.org>
7921 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
7922 (tabulated-list-use-header-line): New var.
7923 (tabulated-list-init-header): Use it.
7924 (tabulated-list-print-fake-header): New function.
7925 (tabulated-list-print): Use it.
7926 (tabulated-list-sort-button-map): Add non-header-line commands.
7927 (tabulated-list-init-header): Add column name property to basic
7929 (tabulated-list-col-sort): Handle non-header-line button case.
7930 (tabulated-list--sort-by-column-name): Fix a corner case.
7932 * buff-menu.el (list-buffers--refresh):
7933 Handle Buffer-menu-use-header-line.
7935 2012-05-06 Chong Yidong <cyd@gnu.org>
7937 * buff-menu.el: Convert to Tabulated List mode.
7938 (Buffer-menu-buffer+size-width): Make obsolete.
7939 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
7940 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
7941 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
7942 documentation into docstring of buffer-menu.
7943 (Buffer-menu-toggle-files-only): Add an informative message.
7944 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
7945 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
7946 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
7947 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
7948 (Buffer-menu-execute, Buffer-menu-select)
7949 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
7950 (Buffer-menu-bury): Use Tabulated List machinery.
7951 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
7952 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
7954 (list-buffers--refresh): New function.
7955 (list-buffers-noselect): Use it.
7956 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
7957 (Buffer-menu--pretty-file-name): New helper functions.
7959 * loadup.el: Preload tabulated-list.
7961 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
7962 tabulated-list-sort-column.
7963 (tabulated-list-init-header): Add the initial aligning space even
7964 if tabulated-list-padding is zero.
7966 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
7968 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
7969 whose cdr is not a cons cell correctly (bug#11038).
7971 2012-05-06 Chong Yidong <cyd@gnu.org>
7973 * emacs-lisp/tabulated-list.el (tabulated-list-format):
7974 Accept additional plist in column descriptors.
7975 (tabulated-list-init-header): Obey it.
7976 (tabulated-list-get-entry): New function.
7977 (tabulated-list-put-tag): Use it. Use string-width instead of
7979 (tabulated-list--column-number): New function.
7980 (tabulated-list-print): Use it.
7981 (tabulated-list-print-col): New function.
7982 Set `tabulated-list-column-name' property on each column's text.
7983 (tabulated-list-print-entry): Use it.
7984 (tabulated-list-delete-entry, tabulated-list-set-col):
7986 (tabulated-list-sort-column): New command (Bug#11337).
7988 * buff-menu.el (list-buffers): Move C-x C-b binding from
7989 buff-menu.el to bindings.el.
7991 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
7992 :advertised-binding feature.
7994 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
7996 * progmodes/compile.el (compilation-internal-error-properties):
7997 Calculate start position correctly when end-col is set but
7998 end-line is not (Bug#11382).
8000 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
8002 * man.el (Man-unindent): Use text-property-default-nonsticky to
8003 prevent untabify from inheriting face properties (Bug#11408).
8005 2012-05-05 Stefan Merten <smerten@oekonux.de>
8007 * textmodes/rst.el: Major merge with upstream development up to
8008 Docutils SVN r7399 / rst.el V1.2.1.
8010 Clarify maintainership and authors.
8012 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
8013 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
8014 (rst-official-version, rst-official-cvs-rev, rst-version)
8015 (rst-package-emacs-version-alist): New functions and variables
8016 for version information.
8018 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
8019 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
8020 (rst-mode-syntax-table, rst-mode): New and corrected functions
8021 and variables representing reStructuredText features.
8023 (rst-re): New function for reStructuredText regexes. Use in
8026 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
8027 (rst-mode-map): Rebind keys.
8029 (rst-mode-lazy, rst-font-lock-keywords)
8030 (rst-font-lock-extend-region)
8031 (rst-font-lock-extend-region-internal)
8032 (rst-font-lock-extend-region-extend)
8033 (rst-font-lock-find-unindented-line-limit)
8034 (rst-font-lock-find-unindented-line-match)
8035 (rst-adornment-level, rst-font-lock-adornment-level)
8036 (rst-font-lock-adornment-match)
8037 (rst-font-lock-handle-adornment-pre-match-form)
8038 (rst-font-lock-handle-adornment-matcher): Major revision of
8039 font-locking. Integrate with other code. Use `jit-lock-mode'.
8041 (rst-preferred-adornments, rst-adjust-hook)
8042 (rst-new-adornment-down, rst-preferred-bullets)
8043 (rst-preferred-bullets, rst-indent, rst-indent-width)
8044 (rst-indent-field, rst-indent-literal-normal)
8045 (rst-indent-literal-minimized, rst-indent-comment): Change,
8046 extend and improve customization.
8048 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
8049 (rst-normalize-cursor-position, rst-get-decoration)
8050 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
8051 (rst-rstrip, rst-toc-insert-find-delete-contents)
8052 (rst-shift-fill-region, rst-compute-bullet-tabs)
8053 (rst-debug-print-tabs, rst-debug-mark-found)
8054 (rst-shift-region-guts, rst-shift-region-right)
8055 (rst-shift-region-left, rst-use-char-classes)
8056 (rst-font-lock-keywords-function)
8057 (rst-font-lock-indentation-point)
8058 (rst-font-lock-find-unindented-line-begin)
8059 (rst-font-lock-find-unindented-line-end)
8060 (rst-font-lock-find-unindented-line)
8061 (rst-font-lock-adornment-point, rst-font-lock-level)
8062 (rst-adornment-level-alist): Remove functions and variables.
8064 (rst-compare-adornments, rst-get-adornment-match)
8065 (rst-suggest-new-adornment, rst-get-adornments-around)
8066 (rst-adornment-complete-p, rst-get-next-adornment)
8067 (rst-adjust-adornment, rst-display-adornments-hierarchy)
8068 (rst-straighten-adornments): Standardize function names to
8069 use "adornment" instead of "decoration". Correct callers.
8070 Similar standardizing in many places.
8072 (rst-update-section, rst-adjust, rst-promote-region)
8073 (rst-enumerate-region, rst-bullet-list-region)
8074 (rst-repeat-last-character): Correct use of `interactive'.
8076 (rst-classify-adornment, rst-find-all-adornments)
8077 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
8078 (rst-find-leftmost-column, rst-repeat-last-character):
8081 (rst-find-title-line, rst-reset-section-caches)
8082 (rst-get-adornments-around, rst-adjust-adornment-work)
8083 (rst-arabic-to-roman, rst-roman-to-arabic)
8084 (rst-insert-list-pos, rst-insert-list-new-item)
8085 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
8088 (rst-all-sections, rst-section-hierarchy)
8089 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
8092 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
8093 configuration instead of only buffer. Change where necessary.
8095 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
8096 (rst-shift-region, rst-adaptive-fill): New functions for
8097 indentation and filling.
8099 (rst-comment-line-break, rst-comment-indent)
8100 (rst-comment-insert-comment, rst-comment-region)
8101 (rst-uncomment-region): New functions for handling comments.
8103 (rst-compile): Quote shell arguments.
8105 (rst-compile-pdf-preview, rst-compile-slides-preview):
8106 Delete temporary files after use.
8108 2012-05-05 Glenn Morris <rgm@gnu.org>
8110 * calendar/cal-html.el: Optionally include holidays in the output.
8111 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
8112 (cal-html-holidays): New option.
8113 (cal-html-css-default): Add holiday entry.
8114 (holiday-in-range): Autoload it.
8115 (cal-html-htmlify-entry): Add optional class argument.
8116 (cal-html-htmlify-list): Add optional holidays argument.
8117 (cal-html-insert-agenda-days): Include holidays in the output.
8118 (cal-html-one-month): Maybe include holidays.
8120 * calendar/holidays.el (holiday-in-range):
8121 Move here from cal-tex-list-holidays.
8122 * calendar/cal-tex.el (cal-tex-list-holidays):
8123 Make it an obsolete alias for holiday-in-range. Update all callers.
8125 2012-05-05 Chong Yidong <cyd@gnu.org>
8127 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
8130 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
8132 * files.el (file-auto-mode-skip): New var.
8133 (set-auto-mode-1): Use it.
8135 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8137 * repeat.el: Use lexical-binding.
8138 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
8139 (repeat-undo-count): Remove.
8141 * progmodes/octave-mod.el (octave-abbrev-start):
8142 * progmodes/f90.el (f90-abbrev-start):
8143 * face-remap.el (text-scale-adjust):
8144 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
8146 * emacs-lisp/pcase.el (pcase--let*): New function.
8147 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
8149 (pcase--split-pred): Be more clever about ruling out overlap between
8150 a predicate and some constant pattern.
8151 (pcase--q1): Use `null' instead of (eq foo nil).
8153 * subr.el (setq-local, defvar-local): New macros.
8154 (kbd): Redefine as an alias.
8155 (with-selected-window): Leave unrelated frames alone.
8156 (set-temporary-overlay-map): New function.
8158 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8160 * subr.el (user-error): New function.
8161 * window.el (switch-to-buffer):
8162 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
8163 (smerge-match-conflict):
8164 * simple.el (previous-matching-history-element)
8165 (next-matching-history-element, goto-history-element, undo-more)
8167 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
8168 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
8169 (next-file, tags-loop-scan, list-tags, complete-tag):
8170 * progmodes/compile.el (compilation-loop):
8171 * mouse.el (mouse-minibuffer-check):
8172 * man.el (Man-bgproc-sentinel, Man-goto-page):
8173 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
8174 (Info-history-forward, Info-follow-reference, Info-menu)
8175 (Info-extract-menu-item, Info-extract-menu-counting)
8176 (Info-forward-node, Info-backward-node, Info-next-menu-item)
8177 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
8178 (Info-next-reference, Info-prev-reference, Info-index)
8179 (Info-index-next, Info-follow-nearest-node)
8180 (Info-copy-current-node-name):
8181 * imenu.el (imenu--make-index-alist)
8182 (imenu-default-create-index-function, imenu-add-to-menubar):
8183 * files.el (basic-save-buffer, recover-file):
8184 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
8185 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
8186 (checkdoc-message-text, checkdoc-defun):
8187 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
8188 * cus-edit.el (customize-changed-options, customize-rogue)
8189 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
8190 (custom-variable-mark-to-reset-standard)
8191 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
8193 * completion.el (check-completion-length):
8194 * comint.el (comint-search-arg)
8195 (comint-previous-matching-input-string-position)
8196 (comint-previous-matching-input)
8197 (comint-replace-by-expanded-history-before-point, comint-send-input)
8198 (comint-copy-old-input, comint-backward-matching-input)
8199 (comint-goto-process-mark, comint-set-process-mark):
8200 * calendar/calendar.el (calendar-cursor-to-date): Use it.
8201 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
8203 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8205 * dabbrev.el (dabbrev--ignore-case-p): New function.
8206 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
8209 * files.el (automount-dir-prefix): Mark as obsolete.
8211 2012-05-04 Glenn Morris <rgm@gnu.org>
8213 * patcomp.el, play/bruce.el: Move to obsolete/.
8215 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
8217 Fix minor Y10k bugs.
8218 * arc-mode.el (archive-unixdate):
8219 * autoinsert.el (auto-insert-alist):
8220 * calc/calc-forms.el (math-this-year):
8221 * emacs-lisp/copyright.el (copyright-current-year)
8222 (copyright-update-year, copyright):
8223 * tar-mode.el (tar-clip-time-string):
8224 * time.el (display-time-update):
8225 Don't assume years have 4 digits.
8227 2012-05-04 Chong Yidong <cyd@gnu.org>
8229 * dos-w32.el (file-name-buffer-file-type-alist)
8230 (direct-print-region-use-command-dot-com):
8231 * ffap.el (ffap-menu-regexp):
8232 * find-file.el (ff-special-constructs):
8233 * follow.el (follow-debug):
8234 * forms.el (forms--debug):
8235 * iswitchb.el (iswitchb-all-frames):
8236 * ido.el (ido-all-frames):
8237 * emacs-lisp/timer.el (timer-max-repeats):
8238 * mail/feedmail.el (feedmail-mail-send-hook)
8239 (feedmail-mail-send-hook-queued):
8240 * mail/footnote.el (footnote-signature-separator):
8241 * mail/mailabbrev.el (mail-alias-separator-string)
8242 (mail-abbrev-mode-regexp):
8243 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
8244 * progmodes/idlwave.el (idlwave-libinfo-file)
8245 (idlwave-default-completion-case-is-down)
8246 (idlwave-library-routines): Convert defvars to defcustoms.
8248 * mail/rmail.el (rmail-decode-mime-charset):
8249 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
8250 (idlwave-shell-fix-inserted-breaks)
8251 (idlwave-shell-activate-alt-keybindings)
8252 (idlwave-shell-use-breakpoint-glyph):
8253 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
8255 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8257 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
8259 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
8261 * progmodes/verilog-mode.el (font-lock-keywords):
8262 Fix mis-highligting auto. Reported by Craig Barner.
8263 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
8264 defines from global name space. Reported by Dan Dever.
8265 (verilog-auto-reset, verilog-auto-reset-widths)
8266 (verilog-auto-tieoff): Support using unbased numbers for
8267 AUTORESET and AUTOTIEOFF.
8268 (verilog-submit-bug-report): Update variable list.
8269 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
8270 parenthesis from not matching. Reported by Michael Rytting.
8271 (verilog-auto-template-lint): Fix hash error when linting modules
8272 with no used templates.
8273 (verilog-warn, verilog-warn-error)
8274 (verilog-warn-fatal): When non-interactive report multiple
8275 warnings before exiting. Suggested by Brad Dobbie.
8276 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
8277 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
8278 to report unused template errors. Reported by Brad Dobbie.
8279 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
8280 nets, bug438. Reported by Vns Blore.
8281 (verilog-auto-inout-module, verilog-auto-reg)
8282 (verilog-read-decls, verilog-read-sub-decls-sig)
8283 (verilog-signals-edit-wire-reg, verilog-signals-with):
8284 Fix passing of Verilog data types in ANSI input/output ports
8285 such as "output logic" into the AUTOs. Special case "wire" and
8286 "reg" for backwards compatibility presuming Verilog 2001.
8287 (verilog-auto-ascii-enum): Add "auto enum" as alias.
8288 (verilog-preprocess): Fix replication of preprocess output.
8289 Reported by Brad Dobbie.
8290 (verilog-auto-inst-interfaced-ports):
8291 Create verilog-auto-inst-interfaced-ports, bug429.
8292 Reported by Julian Gorfajn.
8293 (verilog-after-save-font-hook)
8294 (verilog-before-save-font-hook): New variable.
8295 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
8296 (verilog-save-font-mods): Wrap disabling fontification, reported
8298 (verilog-do-indent, verilog-pretty-declarations-auto)
8299 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
8300 Reported by Pierre-David Pfister.
8301 (verilog-set-auto-endcomments): Fix endtask auto comments outside
8302 of class declarations, bug292. Reported by Kevin Heilman.
8303 (verilog-read-decls): Fix 'parameter type' not appearing in
8304 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
8305 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
8306 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
8307 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
8308 Reported by David Kravitz.
8310 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
8312 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
8313 assignment with tests in ifs and for loops.
8314 (verilog-extended-complete-re, verilog-complete-reg): Change so
8315 that DPI inport functions don't look like fuction declarations.
8316 (verilog-pretty-expr): Don't line up assignment
8317 operations to the test and increment in if and for loops
8318 (verilog-extended-complete-re, verilog-complete-reg): Change so
8319 that DPI inport functions don't look like fuction declarations.
8321 2012-05-03 Kenichi Handa <handa@m17n.org>
8323 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
8324 decoding, and show a warning message without signaling an error
8327 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8329 * emacs-lisp/bytecomp.el
8330 (byte-compile-file-form-custom-declare-variable): Compile all elements,
8331 since cconv.el might have introduced :fun-body, internal-make-closure,
8332 and friends for bytecomp to handle (bug#11391).
8333 * custom.el (defcustom): Avoid ((λ ..) ..).
8335 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
8337 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
8339 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
8341 * notifications.el (dbus-debug):
8342 * term/linux.el (gpm-mouse-enable):
8343 * term/screen.el (xterm-register-default-colors): Declare.
8345 2012-05-02 Chong Yidong <cyd@gnu.org>
8347 * cus-start.el (gc-cons-percentage, exec-suffixes)
8348 (dos-display-scancodes, dos-hyper-key, dos-super-key)
8349 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
8350 (make-cursor-line-fully-visible, void-text-area-pointer)
8351 (font-list-limit): Add customization data.
8353 * allout.el (allout-exposure-change-functions)
8354 (allout-structure-added-functions)
8355 (allout-structure-deleted-functions)
8356 (allout-structure-shifted-functions): Rename abnormal hooks from
8357 *-hook, and convert to defcustoms.
8358 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
8359 Convert to defcustoms.
8360 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
8362 * allout-widgets.el: Hook callers changed.
8364 2012-05-02 Eli Zaretskii <eliz@gnu.org>
8366 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
8367 the yanked message in preference to the default value of
8368 buffer-file-coding-system.
8370 2012-05-02 Martin Rudalics <rudalics@gmx.at>
8372 * window.el (display-buffer--action-function-custom-type):
8375 2012-05-02 Alan Mackenzie <acm@muc.de>
8377 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
8379 2012-05-01 Glenn Morris <rgm@gnu.org>
8381 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
8383 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
8385 * cus-edit.el (custom-variable-documentation): Simplify with format.
8387 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8388 Stefan Monnier <monnier@iro.umontreal.ca>
8390 * simple.el (suggest-key-bindings, execute-extended-command):
8391 Move from keyboard.c.
8393 2012-05-01 Chong Yidong <cyd@gnu.org>
8395 * follow.el: Eliminate advice.
8396 (set-process-filter, process-filter, sit-for): Advice deleted.
8397 (follow-mode-off-hook): Obsolete hook removed.
8398 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
8400 (follow-auto): Use a :set function.
8401 (follow-mode): Rewritten. Don't advise process filters.
8402 (follow-switch-to-current-buffer-all, follow-scroll-up)
8403 (follow-scroll-down): Assume follow-mode is bound.
8404 (follow-comint-scroll-to-bottom)
8405 (follow-align-compilation-windows): New functions.
8406 (follow--window-sorter): New function.
8407 (follow-all-followers): Use it to explicitly sort windows by their
8408 positions; don't make assumptions about next-window order.
8409 (follow-windows-start-end, follow-delete-other-windows-and-split)
8410 (follow-calc-win-start): Doc fix.
8411 (follow-windows-aligned-p, follow-select-if-visible): Don't call
8412 vertical-motion unnecessarily.
8413 (follow-adjust-window): New function.
8414 (follow-post-command-hook): Use it.
8415 (follow-call-set-process-filter, follow-call-process-filter)
8416 (follow-intercept-process-output, follow-tidy-process-filter-alist)
8417 (follow-stop-intercept-process-output, follow-generic-filter):
8419 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
8420 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
8421 New functions, replacing advice on scroll-bar-* commands.
8422 (follow-mwheel-scroll): New function (Bug#4112).
8424 * comint.el (comint-adjust-point): New function.
8425 (comint-postoutput-scroll-to-bottom): Use it.
8426 Call follow-comint-scroll-to-bottom for Follow mode buffers.
8428 2012-05-01 Glenn Morris <rgm@gnu.org>
8430 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
8431 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
8432 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
8433 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
8434 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
8435 Remove no-byte-compile setting.
8437 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
8439 * minibuffer.el (completion-table-with-quoting): Fix compatibility
8440 all-completions code to not return a number in the last cdr.
8442 2012-04-30 Leo Liu <sdl.web@gmail.com>
8444 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
8447 2012-04-29 Chong Yidong <cyd@gnu.org>
8449 * follow.el (follow-calc-win-end): Rewrite to handle partial
8450 screen lines correctly (Bug#8390).
8451 (follow-avoid-tail-recenter): Minor cleanup.
8453 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8455 Avoid the obsolete `assoc' package.
8456 * speedbar.el (speedbar-refresh): Avoid adelete.
8457 (speedbar-file-lists): Simplify and avoid aput.
8458 * man.el (Man--sections, Man--refpages): New vars, replacing
8459 Man-sections-alist and Man-refpages-alist.
8460 (Man-build-section-alist, Man-build-references-alist):
8461 Use them; avoid aput.
8462 (Man--last-section, Man--last-refpage): New vars.
8463 (Man-follow-manual-reference): Use them.
8464 Use the `default' arg of completing-read.
8465 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
8467 2012-04-27 Chong Yidong <cyd@gnu.org>
8469 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
8471 * startup.el (x-apply-session-resources): New function.
8473 * term/ns-win.el (ns-initialize-window-system):
8474 * term/w32-win.el (w32-initialize-window-system):
8475 * term/x-win.el (x-initialize-window-system): Use it to properly
8476 set menu-bar-mode and other vars from X resources, even if the
8477 initial frame is not a window-system frame (Bug#2299).
8479 * subr.el (read-key): Avoid running filter function when setting
8480 up temporary tool bar entries (Bug#9922).
8482 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
8484 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
8487 2012-04-27 Chong Yidong <cyd@gnu.org>
8489 * select.el (xselect--encode-string): New function, split from
8490 xselect-convert-to-string.
8491 (xselect-convert-to-string): Use it.
8492 (xselect-convert-to-filename, xselect-convert-to-os)
8493 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
8494 returned strings are properly encoded (Bug#11315).
8496 2012-04-27 Chong Yidong <cyd@gnu.org>
8498 * simple.el (delete-active-region): Move to killing custom group.
8500 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
8502 * progmodes/which-func.el (which-func-current): Quote %
8503 characters for mode-line processing.
8505 2012-04-27 Chong Yidong <cyd@gnu.org>
8507 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
8508 reaching eob (Bug#11286).
8510 2012-04-27 Eli Zaretskii <eliz@gnu.org>
8512 * progmodes/gdb-mi.el (gdb-control-level): New variable.
8513 (gdb): Make it buffer-local and init to zero.
8514 (gdb-control-commands-regexp): New variable.
8515 (gdb-send): Don't wrap in "-interpreter-exec console" if
8516 gdb-control-level is positive. Increment gdb-control-level
8517 whenever the command matches gdb-control-commands-regexp, and
8518 decrement it each time the command is "end". (Bug#11279)
8520 2012-04-27 Martin Rudalics <rudalics@gmx.at>
8522 * window.el (adjust-window-trailing-edge, enlarge-window)
8523 (shrink-window, window-resize):
8524 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
8525 windows (Bug#11276).
8527 2012-04-27 Chong Yidong <cyd@gnu.org>
8529 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
8530 fix "missing prefix" warning. All callers changed.
8532 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8534 * emacs-lisp/assoc.el: Move to obsolete/.
8536 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8538 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
8540 * term/ns-win.el (ns-define-service):
8541 * progmodes/pascal.el (pascal-goto-defun):
8542 * progmodes/js.el (js--read-tab):
8543 * progmodes/etags.el (tags-lazy-completion-table):
8544 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
8545 * emacs-lisp/ewoc.el (ewoc--wrap):
8546 * emacs-lisp/assoc.el (aput, adelete, amake):
8547 * doc-view.el (doc-view-convert-current-doc):
8548 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
8550 2012-04-26 Chong Yidong <cyd@gnu.org>
8552 * image.el (image-type-from-buffer): Only return supported image
8555 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
8556 value, for symmetry with diff-end-of-hunk.
8557 (diff-split-hunk, diff-find-source-location)
8558 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
8559 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
8560 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
8561 compute the relevant hunk or file properly (Bug#6005).
8562 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
8564 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8573 * vc/vc.el: Replace lexical-let by lexical-binding.
8574 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
8575 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
8576 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
8578 2012-04-26 Chong Yidong <cyd@gnu.org>
8580 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
8581 (diff-mode-shared-map): Bind it to / and [remap undo].
8583 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
8584 (ediff-window-setup-function): Use it as the default, to set up
8585 windows based on whether the current frame is graphical (Bug#2138).
8586 (ediff-choose-window-setup-function-automatically): Make obsolete.
8588 * vc/ediff-init.el: Always define ediff-pixel-width/height.
8590 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8592 * ffap.el: Remove old code for obsolete package.
8593 (ffap-complete-as-file-p): Remove.
8595 Use completion-table-with-quoting for comint and pcomplete.
8596 * comint.el (comint--unquote&requote-argument)
8597 (comint--unquote-argument, comint--requote-argument): New functions.
8598 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
8599 (comint-quote-filename): Use regexp-opt-charset.
8600 (comint--common-suffix, comint--common-quoted-suffix)
8601 (comint--table-subvert): Remove.
8602 (comint-unquote-function, comint-requote-function): New vars.
8603 (comint--complete-file-name-data): Use them with
8604 completion-table-with-quoting.
8605 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
8606 * pcomplete.el (pcomplete-arg-quote-list)
8607 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
8608 (pcomplete-unquote-argument-function): Default to non-nil.
8609 (pcomplete-unquote-argument): Simplify.
8610 (pcomplete--common-quoted-suffix): Remove.
8611 (pcomplete-requote-argument-function): New var.
8612 (pcomplete--common-suffix): New function.
8613 (pcomplete-completions-at-point): Use completion-table-with-quoting
8614 and completion-table-subvert.
8616 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
8617 (minibuffer--double-dollars): Preserve properties.
8618 (completion--sifn-requote): New function.
8619 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
8621 * minibuffer.el: Add support for completion of quoted/escaped data.
8622 (completion-table-with-quoting, completion-table-subvert): New funs.
8623 (completion--twq-try, completion--twq-all): New functions.
8624 (completion--nth-completion): New function.
8625 (completion-try-completion, completion-all-completions): Use it.
8627 2012-04-25 Leo Liu <sdl.web@gmail.com>
8629 * progmodes/python.el (python-pdbtrack-get-source-buffer):
8630 Use compilation-message if available to find real filename.
8632 2012-04-25 Chong Yidong <cyd@gnu.org>
8634 * vc/diff-mode.el (diff-setup-whitespace): New function.
8635 (diff-mode): Use it.
8637 * vc/diff.el (diff-sentinel):
8638 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
8639 Whitespace mode variables based on diff style (Bug#8612).
8641 2012-04-25 Leo Liu <sdl.web@gmail.com>
8643 * progmodes/python.el (python-send-region): Add suffix .py to the
8646 * files.el (auto-mode-alist): Use javascript-mode instead.
8648 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
8650 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
8652 * net/soap-client.el (soap-resolve-references-for-sequence-type)
8653 (soap-resolve-references-for-array-type): Hack to prevent self
8654 references, see Bug#9.
8655 (soap-parse-envelope): Report the contents of the 'detail' node
8656 when receiving a fault reply.
8657 (soap-parse-envelope): Report the contents of the entire 'detail' node.
8659 * net/soap-inspect.el (soap-sample-value-for-simple-type)
8660 (soap-inspect-simple-type): New function.
8662 * net/soap-client.el (soap-simple-type): New struct.
8663 (soap-default-xsd-types, soap-default-soapenc-types)
8664 (soap-decode-basic-type, soap-encode-basic-type):
8665 support unsignedInt and double basic types.
8666 (soap-resolve-references-for-simple-type)
8667 (soap-parse-simple-type, soap-encode-simple-type): New function.
8668 (soap-parse-schema): Parse xsd:simpleType declarations.
8670 * net/soap-client.el (soap-default-xsd-types)
8671 (soap-default-soapenc-types): Add integer, byte and anyURI types.
8672 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
8673 the local name of "soapenc:Array".
8674 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
8675 decoding integer, byte and anyURI xsd types.
8677 2012-04-25 Chong Yidong <cyd@gnu.org>
8679 * cus-edit.el (custom-buffer-create-internal): Update header text.
8681 2012-04-25 Eli Zaretskii <eliz@gnu.org>
8683 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
8684 settings on 'system-type', not on 'window-system'. On MS-Windows,
8685 set interactive-mode on in GDB.
8687 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8689 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
8690 (ruby-syntax-propertize-regexp): Remove.
8691 (ruby-syntax-propertize-function): Split regexp into chunks.
8692 Match following code directly.
8694 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
8696 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
8697 (ruby-syntax-propertize-regexp): New function.
8698 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
8699 by a special keyword.
8701 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
8702 (ruby-syntax-general-delimiters-goto-beg)
8703 (ruby-syntax-propertize-general-delimiters): New functions.
8704 (ruby-syntax-propertize-function): Use them to handle GDL.
8705 (ruby-font-lock-keywords): Move old handling of GDL...
8706 (ruby-font-lock-syntactic-keywords): .. to here.
8707 (ruby-calculate-indent): Adjust indentation for GDL.
8709 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
8711 * notifications.el (top): Remove unneeded declarations.
8712 (notifications-specification-version): Change to "1.2".
8713 (notifications-interface, notifications-notify-method)
8714 (notifications-close-notification-method): Fix docstring.
8715 (notifications-get-capabilities-method): New defconst.
8716 (notifications-notify): Add :action-items, :resident and
8717 :transient hints. Change "image_data" to "image-data" and
8718 "image_path" to "image-path".
8719 (notifications-get-capabilities): New defun.
8721 2012-04-24 Leo Liu <sdl.web@gmail.com>
8723 * progmodes/python.el: Move hideshow setup to the end.
8725 2012-04-24 Martin Rudalics <rudalics@gmx.at>
8727 * window.el (handle-select-window): Clear echo area since this is
8728 no more done by read_char (Bug#11304).
8730 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8732 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
8733 and `/ M' to filter-derived-mode.
8734 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
8735 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
8736 (ibuffer-mark-by-mode): Use default rather than initial-input.
8737 (ibuffer-filter-by-derived-mode): Autoload and require-match.
8739 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
8741 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
8742 (ibuffer-filter-by-derived-mode): New filter.
8743 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
8745 2012-04-23 Andreas Politz <politza@fh-trier.de>
8747 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
8749 2012-04-23 Chong Yidong <cyd@gnu.org>
8751 * cus-edit.el (customize-apropos, customize-apropos-options):
8752 Disable matching of non-option variables (Bug#11176).
8753 (customize-option, customize-option-other-window)
8754 (customize-changed-options): Doc fix.
8755 (customize-apropos-options, customize-apropos-faces)
8756 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
8758 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
8759 Fix word list splitting (Bug#11132).
8760 (apropos-symbol, apropos-keybinding, apropos-label)
8761 (apropos-property, apropos-function-button)
8762 (apropos-variable-button, apropos-misc-button): New faces.
8763 (apropos-symbol-face, apropos-keybinding-face)
8764 (apropos-label-face, apropos-property-face, apropos-match-face):
8765 Variables removed (Bug#8396).
8766 (apropos-library-button, apropos-format-plist, apropos-print)
8767 (apropos-print-doc, apropos-describe-plist): Callers changed.
8769 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
8771 * net/xesam.el (xesam-mode-map): Use let-bound map in
8772 initialization. (Bug#11292)
8774 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8776 Preserve ispell session localwords when switching back to
8779 * textmodes/ispell.el (ispell-buffer-session-localwords):
8780 New buffer-local variable to hold buffer session localwords.
8781 (ispell-kill-ispell): Add option 'clear to delete session
8783 (ispell-command-loop, ispell-change-dictionary)
8784 (ispell-buffer-local-words): Preserve session localwords when
8787 * textmodes/flyspell.el (flyspell-process-localwords)
8788 (flyspell-do-correct): Preserve session localwords when needed.
8790 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8792 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
8793 using obsolete `translation-table-for-input'.
8794 (ispell-word, ispell-process-line, ispell-complete-word):
8795 Use plain `insert' instead of removed `ispell-insert-word'.
8797 2012-04-22 Chong Yidong <cyd@gnu.org>
8799 * cus-edit.el (custom-variable-menu)
8800 (custom-variable-reset-saved, custom-face-menu)
8801 (custom-face-reset-saved): If there is no saved value, make the
8802 "reset-saved" operation bring back the default (Bug#9509).
8803 (custom-face-state): Properly detect themed faces.
8805 * faces.el (face-spec-set): Stop supporting deprecated form of
8808 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
8810 Move functions from C to Lisp. Make non-blocking method calls
8811 the default. Implement further D-Bus standard interfaces.
8813 * net/dbus.el (dbus-message-internal): Declare function.
8814 Remove unneeded function declarations.
8815 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
8816 (dbus-message-type-method-return, dbus-message-type-error)
8817 (dbus-message-type-signal): Declare variables. Remove local
8819 (dbus-interface-dbus, dbus-interface-peer)
8820 (dbus-interface-introspectable, dbus-interface-properties)
8821 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
8823 (dbus-interface-objectmanager): New defconst.
8824 (dbus-call-method, dbus-call-method-asynchronously)
8825 (dbus-send-signal, dbus-method-return-internal)
8826 (dbus-method-error-internal, dbus-register-service)
8827 (dbus-register-signal, dbus-register-method): New defuns, moved
8829 (dbus-call-method-handler, dbus-setenv)
8830 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
8832 (dbus-call-method-non-blocking): Make it an obsolete function.
8833 (dbus-unregister-object, dbus-unregister-service)
8834 (dbus-handle-event, dbus-register-property)
8835 (dbus-property-handler): Obey the new structure of
8836 `bus-registered-objects'.
8837 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
8838 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
8839 Use `dbus-call-method'.
8841 2012-04-22 Chong Yidong <cyd@gnu.org>
8843 * cus-edit.el (custom-commands, custom-reset-menu)
8844 (Custom-reset-standard): Tweak labels.
8845 (custom-reset-button-menu): Change default to t.
8846 (custom-buffer-create-internal): For the custom-reset-button-menu
8847 case, put the revert button first.
8848 (custom-group-subtitle): New face.
8849 (custom-group-value-create): Align docstring to a specific column.
8851 * wid-edit.el (widget-documentation-link-add): Don't handle
8852 indentation in this function.
8853 (widget-documentation-string-indent-to): New function.
8854 (widget-documentation-string-value-create): Use it.
8856 * autorevert.el (auto-revert):
8857 * epg-config.el (epg):
8858 * ibuffer.el (ibuffer):
8861 * eshell/eshell.el (eshell):
8862 * net/ange-ftp.el (ange-ftp):
8863 * progmodes/ebnf2ps.el (postscript):
8864 * progmodes/flymake.el (flymake):
8865 * progmodes/prolog.el (prolog):
8866 * progmodes/verilog-mode.el (verilog-mode):
8867 * progmodes/which-func.el (which-func):
8868 * term/xterm.el (xterm):
8869 * textmodes/picture.el (picture):
8870 * textmodes/tildify.el (tildify):
8871 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
8872 customization buffers.
8874 2012-04-22 Alan Mackenzie <acm@muc.de>
8876 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
8877 Adding a ) can hide the resulting (..) from searches. Fix it.
8878 Bound the backward search to the position of the existing (.
8880 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
8882 * progmodes/verilog-mode.el (verilog-mode): Check whether
8883 which-func-modes is t before adding verilog-mode.
8884 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
8886 2012-04-21 Leo Liu <sdl.web@gmail.com>
8888 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
8890 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
8892 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
8893 filling of the last column of a table (Bug#5635).
8894 (woman-find-next-control-line): New arg, specifying an additional
8895 regexp component for the control line.
8896 (woman2-roff-buffer): Use it.
8897 (woman-break-table): New function.
8898 (woman2-TS): Use it.
8900 2012-04-21 Chong Yidong <cyd@gnu.org>
8902 * woman.el (woman-set-buffer-display-table, woman-decode-region)
8903 (woman-horizontal-escapes, woman-negative-vertical-space)
8904 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
8905 (WoMan-warn-ignored): Use ?\s instead of ?\ .
8907 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8909 * minibuffer.el (completion-file-name-table): Complete user names.
8911 2012-04-20 Leo Liu <sdl.web@gmail.com>
8913 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
8916 2012-04-20 Chong Yidong <cyd@gnu.org>
8918 * server.el (server-execute): Respect initial-buffer-choice if it
8919 is a string and there are no files to open (Bug#2825).
8920 (server-create-window-system-frame, server-create-tty-frame):
8921 Don't switch buffers here.
8922 (server-process-filter): Only try to open a window system frame if
8923 compiled with graphical support (Bug#8314).
8925 2012-04-20 Dan Nicolaescu <dann@gnu.org>
8927 * battery.el (battery-echo-area-format): Display remaining time
8928 for sysfs backend too (Bug#11269).
8929 (battery-linux-sysfs): Fix conditional for the charge.
8931 2012-04-20 Chong Yidong <cyd@gnu.org>
8933 * progmodes/gdb-mi.el (gdb): Revert previous change.
8934 (gdb-inferior-io--init-proc): New function.
8935 (gdb-init-1): Use it.
8936 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
8937 responsible for allocating a new pty and hooking it to gdb when
8938 the old pty gets an EIO due to process exit.
8939 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
8940 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
8941 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
8943 2012-04-20 Eli Zaretskii <eliz@gnu.org>
8945 * window.el (window-min-size, window-sizable, window-min-delta)
8946 (window-max-delta, window--resizable, window-resizable)
8947 (window-total-size, window-full-height-p, window-full-width-p)
8948 (window-in-direction, window--resize-mini-window, window-resize)
8949 (window--resize-child-windows-normal)
8950 (window--resize-child-windows, window--resize-siblings)
8951 (window--resize-this-window, adjust-window-trailing-edge)
8952 (enlarge-window, shrink-window): Doc fixes.
8954 2012-04-20 Chong Yidong <cyd@gnu.org>
8956 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
8957 New function to call delete-process on the gdb-inferior buffer's pty.
8958 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
8959 pty process (Bug#11273).
8960 (gdb-update): New arg to suppress talking to the gdb process.
8961 (gdb-done-or-error): Use it.
8962 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
8963 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
8964 sentinel not being called.
8966 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
8968 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
8970 2012-04-20 Glenn Morris <rgm@gnu.org>
8972 * net/network-stream.el (open-network-stream): Doc fix.
8974 2012-04-20 Chong Yidong <cyd@gnu.org>
8976 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
8978 2012-04-20 Alan Mackenzie <acm@muc.de>
8980 Ensure searching for keywords is case sensitive.
8982 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
8983 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
8984 (c-defun-name, c-mark-function, c-cpp-define-name)
8985 (c-comment-indent, c-scan-conditionals, c-indent-defun)
8986 (c-context-line-break): Bind case-fold-search to nil.
8988 * progmodes/cc-mode.el (c-font-lock-fontify-region):
8989 Bind case-fold-search to nil.
8991 2012-04-20 Chong Yidong <cyd@gnu.org>
8993 * mail/sendmail.el (mail-bury): Call return action with the right
8994 Rmail buffer (Bug#11242).
8996 * server.el (server-process-filter): Handle corner case where both
8997 tty and nowait options are present (Bug#11102).
8999 2012-04-20 Eli Zaretskii <eliz@gnu.org>
9001 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
9002 (top level): Put into the executable the ident-style '$Id:' tag on
9005 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9007 * electric.el (electric-indent-post-self-insert-function): Check that
9008 electric-indent-mode is enabled in current buffer.
9010 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
9012 * imenu.el (imenu-progress-message): Restore; it is "used" in
9013 erc/erc-imenu.el and net/snmp-mode.el.
9015 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
9017 * avoid.el (mouse-avoidance-mode): Mark unused arg.
9018 (mouse-avoidance-nudge-mouse): Remove unused binding.
9020 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
9022 * descr-text.el (describe-char):
9023 * progmodes/python.el (python-describe-symbol):
9024 Don't call `toggle-read-only', set `buffer-read-only'.
9026 * imenu.el (imenu-default-goto-function): Mark unused args.
9027 (imenu-progress-message): Remove obsolete macro; all callers changed.
9029 * subr.el (keymap-canonicalize): Remove unused binding.
9030 (read-passwd): Mark unused arg.
9032 * tutorial.el (tutorial--display-changes): Remove unused binding.
9033 (tutorial--save-tutorial-to): Remove unused variable.
9035 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
9036 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
9037 (package-generate-autoloads, package-menu--generate)
9038 (package-menu--find-upgrades): Remove unused bindings.
9040 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
9041 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
9042 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
9043 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
9044 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
9045 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
9046 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
9047 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
9048 (cua-delete-char-rectangle): Mark unused args.
9049 (cua-align-rectangle): Remove unused binding.
9051 * mail/rmail.el (compilation--message->loc)
9052 (epa--find-coding-system-for-mime-charset): Declare.
9054 * net/dbus.el (dbus-register-service): Declare.
9055 (dbus-name-owner-changed-handler): Remove unused binding.
9057 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
9058 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
9059 (nxml-scan-backward-within): Mark unused arg.
9060 (nxml-dynamic-markup-word): Remove unused binding.
9062 * mouse.el (mouse-menu-major-mode-map):
9063 * emacs-lisp/authors.el (authors-scan-change-log)
9064 (authors-add-to-author-list):
9065 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
9066 * emacs-lisp/smie.el (smie-auto-fill):
9067 * mail/sendmail.el (mail-bury):
9068 * mail/unrmail.el (unrmail):
9069 * net/tls.el (open-tls-stream):
9070 * textmodes/picture.el (picture-mouse-set-point):
9071 Remove unused bindings.
9073 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
9075 * net/tramp.el (tramp-action-password): Let-bind
9076 `enable-recursive-minibuffers' to t.
9078 2012-04-18 Sam Steingold <sds@gnu.org>
9080 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
9081 instead of 'string to accommodate values like [f11].
9082 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
9083 * progmodes/gdb-mi.el: Likewise.
9085 2012-04-18 Leo Liu <sdl.web@gmail.com>
9087 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
9089 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
9092 2012-04-18 Chong Yidong <cyd@gnu.org>
9094 * simple.el (line-move): Use forward-line if in batch mode
9097 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
9099 * files.el (after-find-file): Do not try to add a final newline if
9100 the buffer is read-only (Bug#11156).
9102 2012-04-17 Richard Stallman <rms@gnu.org>
9104 * mail/rmail.el (rmail-start-mail):
9105 Pass (rmail-mail-return...) for the return-action.
9106 Pass (rmail-yank-current-message...) for the yank-action.
9107 (rmail-yank-current-message): New function.
9108 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
9109 (rmail-reply): Likewise.
9110 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
9112 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
9113 buffer, not the last. Reject temp buffers. Use the rmail-mode
9116 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
9118 * server.el (server-ensure-safe-dir): Simplify.
9120 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9122 * emacs-lisp/smie.el: Provide smarter auto-filling.
9123 (smie-auto-fill): New function.
9124 (smie-setup): Use it.
9126 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
9128 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
9130 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
9131 (comment-indent): Use it.
9133 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
9135 * ses.el: The overall change is to add cell renaming, that is
9136 setting fancy names for cell symbols other than name matching
9137 "\\`[A-Z]+[0-9]+\\'" regexp .
9138 (ses-localvars): Add ses--renamed-cell-symb-list.
9139 (ses-create-cell-variable): New defun.
9140 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
9141 (ses-relocate-formula): Relocate formulas only for cells the
9142 symbols of which are not renamed, i.e. symbols whose names do not
9143 match regexp "\\`[A-Z]+[0-9]+\\'".
9144 (ses-relocate-all): Relocate values only for cells the symbols of
9145 which are not renamed.
9146 (ses-load): Create cells variables as the (ses-cell ...) are read,
9147 in order to check row col consistency with cell symbol name only
9148 for cells that are not renamed.
9149 (ses-replace-name-in-formula): New defun.
9150 (ses-rename-cell): New defun.
9152 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
9154 * progmodes/perl-mode.el (perl-indent-parens-as-block):
9155 New option (bug#11118).
9156 (perl-calculate-indent): Respect it.
9158 2012-04-17 Glenn Morris <rgm@gnu.org>
9160 * dired-aux.el (dired-mark-read-string): Doc fix.
9162 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
9164 * dired-aux.el (dired-mark-read-string): Offer optional completion.
9165 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
9167 2012-04-17 Glenn Morris <rgm@gnu.org>
9169 * mouse.el (mouse-drag-track):
9170 * speedbar.el (speedbar-frame-mode):
9171 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
9173 2012-04-16 Leo Liu <sdl.web@gmail.com>
9175 * progmodes/python.el: Trivial cleanup.
9177 2012-04-16 Glenn Morris <rgm@gnu.org>
9179 * vc/vc.el (vc-string-prefix-p):
9180 * vc/pcvs-util.el (cvs-string-prefix-p):
9181 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
9182 * mpc.el (mpc-string-prefix-p):
9183 Make all of these into obsolete aliases for string-prefix-p.
9185 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
9187 * textmodes/two-column.el: Move custom options to the start.
9188 (frame-width): Remove compat definition.
9189 (2C-associate-buffer, 2C-dissociate):
9190 Use with-current-buffer rather than save-excursion.
9191 (2C-dissociate): Force a mode-line update.
9192 (2C-autoscroll): Use ignore-errors.
9194 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
9197 * emacs-lisp/cl-extra.el (*random-state*):
9198 Remove unnecessary declaration.
9200 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
9202 * play/cookie1.el (cookie-snarf):
9203 Give an explicit error if input file cannot be read.
9205 * play/yow.el (yow-file): Use expand-file-name rather than concat.
9207 * progmodes/perl-mode.el (c-macro-expand):
9208 Remove unnecessary autoload (it is in loaddefs.el).
9210 * textmodes/picture.el (picture-desired-column)
9211 (picture-update-desired-column): Convert comments to doc-strings.
9212 (picture-substitute): Remove function.
9213 (picture-mode-map): Initialize in the defvar.
9215 * woman.el: Remove eval-after-load for tar-mode.
9216 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
9217 (woman-tar-extract-file): Autoload it.
9219 * frame.el (automatic-hscrolling): Make this alias obsolete.
9221 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9223 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
9224 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
9225 (ispell-dictionary-base-alist): Revert to original XEmacs
9226 friendly version for default. [:alpha:] will be added in
9227 `ispell-set-spellchecker-params' if needed.
9229 2012-04-16 Chong Yidong <cyd@gnu.org>
9231 * image.el (imagemagick--file-regexp): New variable.
9232 (imagemagick-register-types): Use it.
9233 (imagemagick-types-inhibit): Add :set function. Allow new value
9234 of t to inhibit all types.
9236 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
9237 so we can preload it.
9239 * loadup.el (fboundp): Preload regexp-opt, needed by
9240 imagemagick-register-types.
9242 2012-04-15 Chong Yidong <cyd@gnu.org>
9244 * frame.el (scrolling): Remove nearly unused customization group.
9246 * scroll-all.el (scroll-all-mode): Move to windows group.
9248 2012-04-15 Chong Yidong <cyd@gnu.org>
9250 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
9252 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9254 Avoid the use of ((lambda ...) ...) in lexical-binding code.
9255 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
9257 2012-04-15 Glenn Morris <rgm@gnu.org>
9259 * simple.el (process-file-side-effects): Doc fix.
9261 2012-04-15 Glenn Morris <rgm@gnu.org>
9263 * international/mule-cmds.el (set-language-environment): Doc fix.
9265 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
9267 * server.el (server-auth-key, server-generate-key): Doc fixes.
9268 (server-get-auth-key): Doc fix. Use `string-match-p'.
9269 (server-start): Reflow docstring.
9271 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
9273 * server.el (server-generate-key): `called-interactively-p'
9274 requires a parameter.
9276 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
9278 * server.el (server-auth-key): New variable.
9279 (server-generate-key, server-get-auth-key): New function.
9280 (server-start): Use the new variable and functions to allow
9281 setting a permanent server key (bug#9423).
9283 2012-04-14 Leo Liu <sdl.web@gmail.com>
9285 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
9287 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
9290 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
9291 Emacs uses American spelling.
9293 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
9295 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
9296 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
9297 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
9298 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
9300 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9302 * progmodes/which-func.el (which-func-modes): Change default.
9304 2012-04-14 Kim F. Storm <storm@cua.dk>
9306 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
9307 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
9309 2012-04-14 Chong Yidong <cyd@gnu.org>
9311 * custom.el (custom-theme-set-variables): Doc fix.
9313 2012-04-14 Glenn Morris <rgm@gnu.org>
9315 * international/mule.el (set-auto-coding-for-load): Doc fix.
9317 2012-04-14 Alan Mackenzie <acm@muc.de>
9319 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
9320 imenu work again for Objective C Mode. Correct the *-index values,
9321 these having been disturbed by a previous change in 2011-08.
9323 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
9324 Correct two search limits.
9326 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9328 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
9330 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
9332 * international/characters.el: Fix sorting.
9334 2012-04-14 Eli Zaretskii <eliz@gnu.org>
9336 * international/characters.el: Add more missing Latin case pairs.
9338 2012-04-14 Glenn Morris <rgm@gnu.org>
9340 * files.el (dir-locals-set-class-variables): Doc fix.
9342 2012-04-14 Eli Zaretskii <eliz@gnu.org>
9344 * international/characters.el: Add set-case-syntax-pair call for
9345 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
9346 counterpart. (Bug#11209)
9348 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
9350 2012-04-14 Glenn Morris <rgm@gnu.org>
9352 * calendar/holidays.el (calendar-check-holidays): Doc fix.
9354 2012-04-14 Eli Zaretskii <eliz@gnu.org>
9356 * textmodes/ispell.el (ispell-dictionary-base-alist):
9357 Add data for Hebrew.
9359 2012-04-14 Chong Yidong <cyd@gnu.org>
9361 * net/rcirc.el (rcirc-cmd-quit):
9362 Revert 2012-03-18 change (Bug#11192).
9364 2012-04-14 Glenn Morris <rgm@gnu.org>
9366 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
9368 2012-04-14 Eli Zaretskii <eliz@gnu.org>
9370 * minibuffer.el (completion-in-region-mode-map):
9371 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
9373 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
9375 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
9377 2012-04-13 Masatake YAMATO <yamato@redhat.com>
9379 * minibuffer.el (minibuffer-local-filename-syntax): New variable
9380 to allow `C-M-f' and `C-M-b' to move to the nearest path
9381 separator (bug#9511).
9383 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
9385 * avoid.el: Require cl when compiling. And also move the
9386 `provide' to the end.
9388 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9390 * avoid.el (mouse-avoidance-banish-position): New variable.
9391 (mouse-avoidance-banish-destination): Use it (bug#10165).
9393 2012-04-13 Leo Liu <sdl.web@gmail.com>
9395 * progmodes/which-func.el (which-func-modes): Add objc-mode.
9397 2012-04-13 Ken Brown <kbrown@cornell.edu>
9399 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
9400 this is no longer needed now that cygstart understands file:// URLs.
9401 (browse-url-filename-alist): For the same reason, don't modify
9402 file:// URLs on Cygwin.
9404 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
9406 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
9407 the region on shift if the binding is already shifted (bug#11221).
9409 2012-04-12 Glenn Morris <rgm@gnu.org>
9411 * mail/mailpost.el: Move to obsolete/.
9413 2012-04-12 Drew Adams <drew.adams@oracle.com>
9415 * imenu.el (imenu--generic-function): Ignore invisible definitions
9418 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
9420 * hexl.el (hexl-bits): New variable.
9421 (hexl-options): Mention the variable in the doc string.
9422 (hexl-rulerise, hexl-line-displen): New functions.
9423 (hexl-mode): Mention the new variable.
9424 (hexl-mode, hexl-current-address, hexl-current-address):
9426 (hexl-ascii-start-column): New function.
9427 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
9428 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
9430 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9432 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
9433 '("-i" ENCODING), in 2 separate command-line arguments, to specify
9434 the encoding, as expected by hunspell.
9436 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
9438 * battery.el (battery--linux-sysfs-regexp): New const.
9439 (battery-status-function): Use it. Remove yeeloong special case.
9440 (battery-yeeloong-sysfs): Remove.
9441 (battery-echo-area-format): Remove yeeloong special case.
9443 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9445 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
9446 Reported by Noah Friedman.
9448 * subr.el (read-passwd): Use read-string.
9450 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9452 * vcursor.el (vcursor-move): Increase the priority of the overlay
9455 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
9457 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
9458 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
9460 2012-04-11 William Stevenson <yhvh2000@gmail.com>
9462 * textmodes/artist.el (artist-mode): Convert artist-mode to use
9463 define-minor-mode (bug#10760).
9465 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
9467 * progmodes/grep.el (rgrep): Tweak the find command line so
9468 that directories matching `grep-find-ignored-files' won't be
9471 2012-04-11 Chong Yidong <cyd@gnu.org>
9473 * startup.el (command-line): Remove support for long-obsolete
9474 variable font-lock-face-attributes.
9476 2012-04-11 Glenn Morris <rgm@gnu.org>
9478 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
9480 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9482 * window.el (window--state-get-1): Obey window-point-insertion-type.
9484 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
9486 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
9487 to previous function when point is on the first character of a
9488 function. Take care of that in `narrow-to-defun' (bug#6157).
9490 2012-04-11 Glenn Morris <rgm@gnu.org>
9492 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
9493 not just file-errors.
9495 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
9496 (vc-bzr-sha1): Use internal sha1.
9498 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9500 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
9502 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
9504 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
9505 that start in the middle of the line (bug#10496).
9507 2012-04-10 Dan Nicolaescu <dann@gnu.org>
9509 * battery.el (battery-linux-proc-acpi): Only one battery is
9510 discharged at a time, but that seems to confuse battery.el when
9511 computing `rate-type' for the battery not being discharged
9514 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
9516 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
9518 * international/quail.el: Use dolist and simplify.
9519 (quail-define-package, quail-update-keyboard-layout)
9520 (quail-define-rules): Use dolist.
9521 (quail-insert-kbd-layout, quail-get-translation): CSE.
9523 * tmm.el: Use dolist, remove left over hook.
9524 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
9526 (calendar-load-hook): Don't mess with it.
9528 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
9529 Use derived-mode-p. Run the diff asynchronously.
9531 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9533 * obsolete/mouse-sel.el: Add an Obsolete-since header.
9535 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
9537 * misc.el: Display absolute path of loaded DLLs (bug#10424).
9538 (list-dynamic-libraries--loaded): New function.
9539 (list-dynamic-libraries--refresh): Use it.
9541 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
9543 * progmodes/python.el (python-fill-paragraph):
9544 Make python-fill-region in a multiline string work when font-lock is
9545 disabled (bug#7018).
9547 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
9549 * language/european.el (cp775): Add oem/legacy (en)coding on
9550 DOS/MS Windows for the Baltic languages. There are still plenty
9551 of texts written in this encoding/codepage (bug#6519).
9553 2012-04-10 Glenn Morris <rgm@gnu.org>
9555 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
9556 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
9558 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
9560 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
9561 next-line "n" and previous-line "p" in order to make recentf more
9562 consistent with ibuffer, dired or org-mode (bug#9387).
9564 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9566 * image.el (put-image): Return the overlay created instead of the
9567 optional input string (bug#7834). Note that this may break code
9568 that is (for some reason or other) depending on `put-image'
9569 returning the string.
9571 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
9573 * simple.el (zap-to-char): Allow zapping using input methods
9576 * textmodes/fill.el (fill-region): Leave point and mark where they
9577 were before filling (bug#5399).
9579 2012-04-09 Glenn Morris <rgm@gnu.org>
9581 * version.el (emacs-bzr-get-version):
9582 Handle lightweight checkouts of local branches.
9584 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
9586 * international/characters.el: Recover lost case pairs. (Bug#11209)
9588 2012-04-09 Chong Yidong <cyd@gnu.org>
9590 * custom.el (custom-variable-p): Return nil for non-symbol
9591 arguments instead of signaling an error.
9592 (user-variable-p): Obsolete alias for custom-variable-p.
9594 * apropos.el (apropos-variable):
9595 * files-x.el (read-file-local-variable):
9596 * simple.el (set-variable):
9597 * woman.el (woman-mini-help):
9598 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
9600 2012-04-09 Glenn Morris <rgm@gnu.org>
9602 * startup.el (normal-top-level): Don't look for leim-list.el
9603 in places where it will not be found. (Bug#910)
9605 * international/mule-cmds.el (set-default-coding-systems):
9606 * files.el (normal-mode):
9607 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
9608 This function was removed with ucs-tables.el in 2008.
9610 2012-04-08 Eli Zaretskii <eliz@gnu.org>
9612 * textmodes/ispell.el (ispell-check-version): For hunspell, set
9613 ispell-encoding8-command to "-i", without a trailing space.
9614 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
9615 separate command-line arguments, to specify the encoding, since
9616 that's how hunspell expects it.
9618 2012-04-08 Glenn Morris <rgm@gnu.org>
9620 * loadup.el: Load bindings before cus-start.
9621 This reduces somewhat the number of "rogue" settings in emacs -Q.
9623 2012-04-07 Glenn Morris <rgm@gnu.org>
9625 * version.el (emacs-bzr-get-version): New function.
9626 (emacs-bzr-version): New variable.
9627 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
9628 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
9630 2012-04-07 Eli Zaretskii <eliz@gnu.org>
9632 * international/uni-bidi.el, international/uni-category.el:
9633 * international/uni-combining.el, international/uni-decimal.el:
9634 * international/uni-decomposition.el, international/uni-digit.el:
9635 * international/uni-lowercase.el, international/uni-mirrored.el:
9636 * international/uni-name.el, international/uni-numeric.el:
9637 * international/uni-titlecase.el, international/uni-uppercase.el:
9638 Update for Unicode 6.1.
9640 2012-04-07 Eli Zaretskii <eliz@gnu.org>
9642 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
9644 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
9646 * window.el (shrink-window): Mention the `window-min-height'
9647 variable in the doc string.
9649 2012-04-05 Bastien Guerry <bzg@altern.org>
9651 * color.el (color-lighten-name): Fix typo.
9653 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9655 * server.el (server--on-display-p): New function.
9656 (server--on-display-p): Use it.
9658 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
9660 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
9663 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9665 * comint.el (comint--common-quoted-suffix): Check string boundary
9666 before comparing (bug#11158).
9667 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
9669 2012-04-04 Chong Yidong <cyd@gnu.org>
9671 * minibuffer.el (completion-extra-properties): Doc fix.
9673 * subr.el (delayed-warnings-hook): Doc fix.
9675 2012-04-04 Daiki Ueno <ueno@unixuser.org>
9677 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
9678 selection (Bug#11159).
9679 (epa-insert-keys): Inform that the default public key will be
9680 exported if no key is selected.
9682 2012-04-04 Richard Stallman <rms@gnu.org>
9684 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
9686 2012-04-03 Chong Yidong <cyd@gnu.org>
9688 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
9689 mail-insert-file, not its obsolete alias mail-attach-file.
9691 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
9693 * notifications.el (notifications-notify): Fix docstring.
9695 2012-04-02 Glenn Morris <rgm@gnu.org>
9697 * emacs-lisp/authors.el (authors-aliases): Another addition.
9699 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
9701 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
9702 `tramp-compat-call-process' instead of `tramp-local-call-process'.
9703 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
9705 2012-04-01 Chong Yidong <cyd@gnu.org>
9707 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
9708 Handle root directory properly.
9709 (copy-directory): Caller changed.
9711 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
9712 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
9714 2012-03-31 Glenn Morris <rgm@gnu.org>
9716 * term/xterm.el (xterm-extra-capabilities): Doc fix.
9718 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
9720 * calendar/calendar.el (calendar-window-list)
9721 (calendar-hide-window): Restore. (Bug#11140)
9722 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
9724 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
9726 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9728 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
9729 Check if file is a symlink (Bug#10489).
9731 * files.el (copy-directory): Likewise.
9733 2012-03-30 Chong Yidong <cyd@gnu.org>
9735 * image.el (imagemagick-types-inhibit)
9736 (imagemagick-register-types): Doc fix.
9738 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9740 * textmodes/ispell.el (ispell-get-extended-character-mode):
9741 Disable extended-char-mode for hunspell. hunspell does not support it
9742 and treats ~word as ordinary words in pipe mode.
9744 2012-03-30 Glenn Morris <rgm@gnu.org>
9746 * tutorial.el (help-with-tutorial): Ensure local variables don't
9747 happen to make the buffer read-only. (Bug#11127)
9749 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
9751 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
9752 (perl-calculate-indent): Return `noindent' in strings.
9754 2012-03-28 Sam Steingold <sds@gnu.org>
9756 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
9757 instead of the broken adhockery which does not prevent calendar
9758 buffers from being displayed at random after exit.
9759 (calendar-window-list, calendar-hide-window): Remove the broken
9762 2012-03-28 Glenn Morris <rgm@gnu.org>
9764 * replace.el (query-replace-map): Doc fix.
9766 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
9768 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
9769 contents. (Bug#11109)
9771 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9773 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
9775 (avl-tree--check, avl-tree--check-node): New funs.
9777 2012-03-27 Martin Rudalics <rudalics@gmx.at>
9779 * window.el (switch-to-visible-buffer): New option.
9780 (switch-to-prev-buffer, switch-to-next-buffer):
9781 Observe switch-to-visible-buffer. Make sure that checking for a window
9782 showing a buffer already is done on the same frame.
9784 2012-03-27 Glenn Morris <rgm@gnu.org>
9786 * startup.el (mail-host-address): Doc fix.
9788 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9790 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
9793 2012-03-26 Ami Fischman <ami@fischman.org>
9795 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
9797 2012-03-26 Glenn Morris <rgm@gnu.org>
9799 * files.el (save-buffers-kill-emacs): Doc fix.
9801 * startup.el (normal-top-level, command-line, command-line-1):
9802 Give them doc strings.
9804 2012-03-25 Eli Zaretskii <eliz@gnu.org>
9806 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
9807 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
9809 2012-03-25 Chong Yidong <cyd@gnu.org>
9811 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
9812 theme if it was previously enabled before (Bug#11031).
9814 * cus-theme.el (custom-theme-write-faces): Retrieve current face
9815 spec with custom-face-get-current-spec if its :shown-value is not
9816 determined yet (Bug#9337).
9817 (customize-create-theme, custom-theme-revert): Doc fixes.
9819 * button.el (button-at): Minor addition to docstring.
9821 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
9823 * vc/vc.el (vc-merge): Fix a prompt.
9825 2012-03-24 Chong Yidong <cyd@gnu.org>
9827 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
9830 * button.el (button-at): Minor addition to docstring.
9832 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
9834 * newcomment.el (comment-choose-indent): No space after BOL.
9836 2012-03-22 Sam Steingold <sds@gnu.org>
9838 * window.el (switch-to-prev-buffer): Revert last patch because the
9839 bug turned out to be an advertised feature (Elisp manual 28.14).
9841 2012-03-22 Glenn Morris <rgm@gnu.org>
9843 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
9844 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
9846 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9848 * net/network-stream.el (network-stream-open-starttls): Make error
9849 message under Windows be less misleading.
9851 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
9853 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
9854 understands (bug#9942).
9856 2012-03-22 Chong Yidong <cyd@gnu.org>
9858 * simple.el (end-of-visible-line): Handle return value of
9859 next-single-property-change properly (Bug#9371).
9861 2012-03-22 Kenichi Handa <handa@m17n.org>
9863 * international/quail.el (quail-insert-kbd-layout): Fix previous
9864 change. To avoid unwanted bidi reordering, use
9865 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
9867 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
9869 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
9870 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
9871 (ruby-beginning-of-indent): Be more careful with the difference
9872 between word-boundary and symbol boundary.
9873 (ruby-mode-syntax-table): Make : a symbol constituent.
9875 2012-03-21 Andreas Politz <politza@fh-trier.de>
9877 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
9879 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9881 * progmodes/etags.el (tags-completion-at-point-function):
9884 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
9886 2012-03-21 Sam Steingold <sds@gnu.org>
9888 * progmodes/etags.el (tags-completion-at-point-function):
9889 Avoid the error when point is inside the pattern.
9891 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
9893 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
9896 2012-03-21 Drew Adams <drew.adams@oracle.com>
9898 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
9900 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
9902 * ido.el (ido-set-current-directory, ido-read-internal)
9903 (ido-choose-completion-string, ido-completion-help): Handle nil
9904 value of ido-completion-buffer (Bug#11008).
9906 2012-03-21 Sam Steingold <sds@gnu.org>
9908 * window.el (switch-to-prev-buffer): Do not switch to a visible
9909 window previous buffer, just like with the frame previous buffers.
9911 2012-03-21 Chong Yidong <cyd@gnu.org>
9913 * faces.el (make-face, make-empty-face, copy-face):
9914 * face-remap.el (face-remap-add-relative, face-remap-set-base):
9917 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9919 * wid-edit.el (widget-complete-field): Remove (bug#11051).
9920 (widget-complete): Remove broken use of it.
9922 2012-03-20 Chong Yidong <cyd@gnu.org>
9924 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9925 Use string-width and truncate-string-width to handle arbitrary
9928 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
9930 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
9931 to draw rectangles, not squares. (Regression introduced by revno
9932 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
9934 2012-03-18 Chong Yidong <cyd@gnu.org>
9936 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
9937 it is not yet defined (for temacs).
9939 2012-03-18 Leo Liu <sdl.web@gmail.com>
9941 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
9944 2012-03-17 Eli Zaretskii <eliz@gnu.org>
9946 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
9947 (ispell-choices-win-default-height, ispell-silently-savep)
9948 (ispell-dictionary-alist, ispell-encoding8-command)
9949 (ispell-check-version, ispell-aspell-find-dictionary)
9950 (ispell-valid-dictionary-list, ispell-words-keyword)
9951 (ispell-get-word, ispell-internal-change-dictionary)
9952 (ispell-region, ispell-skip-region-list)
9953 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
9954 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
9955 (ispell-message-text-end, ispell-message)
9956 (ispell-buffer-local-parsing): Doc fix.
9958 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
9960 * htmlfontify.el: Add support for code block fontification for ODT
9962 (hfy-optimisations): Define new option
9964 (hfy-fontify-buffer): Honor above setting.
9965 (hfy-begin-span, hfy-end-span): New routines factored out form
9966 `hfy-fontify-buffer'.
9967 (hfy-begin-span-handler, hfy-end-span-handler): New variables
9968 that permit insertion of custom tags.
9969 (hfy-fontify-buffer): Use above handlers.
9970 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
9971 (hfy-face-to-css): Re-defined to be a variable.
9972 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
9973 over multiple runs. This is made possible by having the caller let
9974 bind a special variable `hfy-user-sheet-assoc'.
9975 (htmlfontify-string): New defun.
9976 (hfy-compile-face-map): Make sure that the last char in the
9977 buffer is correctly fontified.
9978 (hfy-face-resolve-face): Whitespace only change.
9980 2012-03-17 Eli Zaretskii <eliz@gnu.org>
9982 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
9985 2012-03-16 Leo Liu <sdl.web@gmail.com>
9987 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
9989 2012-03-16 Alan Mackenzie <acm@muc.de>
9991 Further optimise the handling of large macros.
9993 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
9994 limit to a call of `c-literal-limits'.
9995 (c-determine-+ve-limit): New function.
9996 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
9997 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
9998 In CASE 5B, restrict a search limit to 500.
9999 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
10001 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
10002 Restrict macro bounds to +-500 from after-change's BEG END.
10004 2012-03-16 Leo Liu <sdl.web@gmail.com>
10006 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
10008 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
10010 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
10011 `special-mode' setting of `buffer-read-only'. (Bug#11010)
10013 2012-03-16 Glenn Morris <rgm@gnu.org>
10015 * view.el (view-buffer, view-buffer-other-window)
10016 (view-buffer-other-frame): Doc fixes re special mode-class.
10018 * subr.el (eval-after-load): If named feature is provided not from
10019 a file, run after-load forms. (Bug#10946)
10021 * calendar/calendar.el (calendar-insert-at-column):
10022 Handle non-unit-width characters a bit better. (Bug#10978)
10024 2012-03-15 Chong Yidong <cyd@gnu.org>
10026 * emacs-lisp/ring.el (ring-extend): New function.
10027 (ring-insert+extend): Extend the ring correctly (Bug#11019).
10029 * comint.el (comint-read-input-ring)
10030 (comint-add-to-input-history): Grow comint-input-ring lazily.
10032 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
10034 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
10035 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
10037 * imenu.el: Fix multiple inheritance breakage (bug#9199).
10038 (imenu-add-to-menubar): Don't add a redundant index.
10039 (imenu-update-menubar): Handle a dynamically composed keymap.
10041 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
10043 * mail/sendmail.el (mail-encode-header):
10044 Bind rfc2047-encode-encoded-words to nil.
10046 2012-03-13 Glenn Morris <rgm@gnu.org>
10048 * calendar/calendar.el (calendar-string-spread):
10049 Handle non-unit-width characters a bit better. (Bug#10978)
10051 2012-03-13 Leo Liu <sdl.web@gmail.com>
10053 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
10054 directory and file as argument (Bug#10822).
10056 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
10058 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
10059 For dynamically generated code, follow $PC.
10060 (gdb-disassembly-handler-custom): Handle no function name case.
10062 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
10064 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
10065 * emulation/ws-mode.el (ws-query-replace):
10066 * sort.el (sort-regexp-fields):
10067 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
10069 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10071 * dabbrev.el: Fix cycle completion order (bug#10963).
10072 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
10073 (dabbrev-completion): Don't use an obarray; provide
10074 a cycle-sort-function.
10076 2012-03-12 Leo Liu <sdl.web@gmail.com>
10078 * simple.el (kill-new): Use equal-including-properties for comparison.
10079 (kill-do-not-save-duplicates): Doc fix.
10081 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10083 * dabbrev.el: Fix cycle completion (bug#10963).
10084 Use lexical binding and wrap to 80 columns.
10085 (dabbrev-completion): Delay computing the list of completions.
10087 2012-03-12 Kenichi Handa <handa@m17n.org>
10089 * international/quail.el (quail-insert-kbd-layout): Surround each
10090 row by LRO and PDF instead of inserting many LRMs. Pad the left
10091 and right of each non-spacing marks. Insert invisible space
10092 between lower and upper characters to prevent composition.
10094 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10096 * minibuffer.el (minibuffer-complete): Don't get confused when the
10097 function is run twice via different commands (bug#10958).
10098 (complete-with-action): Fix docstring.
10100 2012-03-12 Chong Yidong <cyd@gnu.org>
10102 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
10103 (nxml-completion-at-point-function): New function.
10104 (nxml-mode): Use it.
10105 (nxml-bind-meta-tab-to-complete-flag): Default to t.
10107 * emacs-lisp/package.el (package-unpack, package-unpack-single):
10108 Load generated autoloads file before byte compiling (Bug#10970).
10109 (package--make-autoloads-and-compile): New helper fun.
10111 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
10113 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
10115 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
10117 * autorevert.el (auto-revert-handler): Ensure, that
10118 file-readable-p is applied only for local files or in
10119 auto-revert-tail-mode.
10121 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
10123 * server.el (server-eval-at): Handle non-tcp connections.
10124 Decode result string.
10126 * server.el (server-msg-size): New constant.
10127 (server-reply-print): New function.
10128 (server-eval-and-print): Use it.
10129 (server-eval-at): Use server-quote-arg and server-unquote-arg.
10130 Handle -print-nonl.
10132 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
10134 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
10137 2012-03-11 Chong Yidong <cyd@gnu.org>
10139 * simple.el (goto-line): Doc fix (Bug#9938).
10141 * subr.el (save-window-excursion): Doc fix (Bug#9979).
10143 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
10144 when finished (Bug#10963).
10146 2012-03-11 Martin Rudalics <rudalics@gmx.at>
10148 * window.el (split-window-below): Fix bug in case where
10149 split-window-keep-point is nil (Bug#10971).
10151 2012-03-11 Juri Linkov <juri@jurta.org>
10153 * replace.el (replace-highlight): Set isearch-word to nil
10154 unconditionally. (Bug#10887)
10156 2012-03-10 Eli Zaretskii <eliz@gnu.org>
10158 * net/mairix.el (mairix-replace-invalid-chars): Rename from
10159 mairix-replace-illegal-chars; all callers changed. Don't remove
10160 ^, ~, and = characters: they are meaningful in mairix search specs.
10161 (mairix-widget-create-query): Add usage information about mairix
10162 search forms: negating words, searching for substrings, etc.
10164 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
10166 * international/fontset.el (font-encoding-alist): Add an entry for
10167 ksx1001 (Bug#5667).
10169 2012-03-10 Richard Stallman <rms@gnu.org>
10171 * mail/sendmail.el (mail-encode-header):
10172 Set rfc2047-encode-encoded-words.
10174 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
10176 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
10177 view buffer means not swapped.
10178 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
10179 (rmail-write-region-annotate): Error if real text has disappeared.
10181 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
10183 2012-03-10 Chong Yidong <cyd@gnu.org>
10185 * emulation/cua-rect.el (cua--init-rectangles):
10186 * emulation/cua-base.el (cua--init-keymaps):
10187 Add delete-forward-char to remappings (Bug#9666).
10189 2012-03-10 Martin Rudalics <rudalics@gmx.at>
10191 * speedbar.el (speedbar-unhighlight-one-tag-line):
10192 Avoid unhighlighting due to frame switching (Bug#10275).
10194 2012-03-10 Chong Yidong <cyd@gnu.org>
10196 * minibuffer.el (completion-in-region, completion-help-at-point):
10197 Give the completion field overlay a high priority (Bug#6830).
10199 * dired.el (dired-goto-file): Recognize absolute file name
10200 listings (Bug#7126).
10201 (dired-goto-file-1): New helper function.
10202 (dired-toggle-read-only): Inhibit warnings.
10204 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
10206 * net/dbus.el (dbus-property-handler): Return empty array if
10207 there are no properties.
10209 2012-03-09 Leo Liu <sdl.web@gmail.com>
10211 * savehist.el (savehist-printable): Stricter check for string
10214 2012-03-09 Eli Zaretskii <eliz@gnu.org>
10216 * mail/smtpmail.el (smtpmail-send-it):
10217 Bind coding-system-for-write to *-unix, so that FCC files are kept in
10220 2012-03-09 Glenn Morris <rgm@gnu.org>
10222 * files.el (dir-locals-find-file):
10223 Don't check result is regular, readable.
10224 (dir-locals-read-from-file): Demote errors.
10226 2012-03-08 Eli Zaretskii <eliz@gnu.org>
10228 * international/quail.el (quail-insert-kbd-layout):
10229 Insert invisible LRM characters before each character in a keyboard
10230 layout cell, to prevent their reordering by bidi display engine.
10231 For details, see the discussion in
10232 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
10234 2012-03-08 Alan Mackenzie <acm@muc.de>
10236 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
10237 the starting position; make it extend the marked region when
10238 invoked repeatedly - all under appropriate circumstances.
10239 Fixes bugs #5525, #10906.
10241 2012-03-08 Glenn Morris <rgm@gnu.org>
10243 * files.el (locate-dominating-file, dir-locals-find-file):
10244 Undo 2012-03-06 change.
10246 2012-03-07 Eli Zaretskii <eliz@gnu.org>
10248 * international/quail.el (quail-help):
10249 Force bidi-paragraph-direction be left-to-right. See discussion in
10250 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
10253 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
10255 Avoid superfluous registering of signals. (Bug#10807)
10257 * notifications.el (notifications-on-action-object)
10258 (notifications-on-close-object): New defvars.
10259 (notifications-on-action-signal, notifications-on-closed-signal):
10260 Unregister the signal if not needed any longer.
10261 (notifications-notify): Register `notifications-action-signal' or
10262 `notifications-closed-signal', if :on-action or :on-close has been
10263 passed as argument.
10265 2012-03-07 Chong Yidong <cyd@gnu.org>
10267 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
10270 2012-03-06 Glenn Morris <rgm@gnu.org>
10272 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
10273 (x-disown-selection-internal, x-get-selection-internal):
10274 Doc fix (add arglist signatures). (Bug#10783)
10276 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
10278 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
10279 Handle breakpoints with no "type".
10281 2012-03-06 Glenn Morris <rgm@gnu.org>
10283 * files.el (locate-dominating-file): Add optional predicate argument.
10284 (dir-locals-find-file): Make use of above change.
10286 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
10288 * info.el (Info-insert-dir): Also try "dir.gz".
10290 2012-03-06 Glenn Morris <rgm@gnu.org>
10292 * files.el (dir-locals-find-file):
10293 Ignore non-readable or non-regular files. (Bug#10928)
10295 * files.el (locate-dominating-file): Doc fix.
10297 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
10299 * calendar/calendar.el (calendar-set-mode-line):
10300 `getenv' returns a string. (Bug#10951)
10302 2012-03-05 Leo Liu <sdl.web@gmail.com>
10304 * simple.el (backward-delete-char-untabify): Constrain point to
10307 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
10309 2012-03-05 Chong Yidong <cyd@gnu.org>
10311 * simple.el (count-words): If called from Lisp, return the word
10312 count, for symmetry with `count-lines'. Arglist changed.
10313 (count-words--message): Args changed. Consolidate counting code
10314 from count-words and count-words-region.
10315 (count-words-region): Caller changed.
10316 (count-lines-region): Make it an obsolete alias.
10318 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
10320 * saveplace.el (save-place-to-alist)
10321 (save-place-ignore-files-regexp): Allow value nil to disable this
10324 2012-03-04 Chong Yidong <cyd@gnu.org>
10326 * faces.el (face-spec-reset-face): For the default face, reset the
10327 attributes to default values (Bug#10748).
10329 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10331 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
10332 previous patch: Check `message-send-mail-function', and not the
10333 default function (bug#10897).
10335 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
10337 * notifications.el (notifications-on-action-signal)
10338 (notifications-on-closed-signal): Check for unique service name of
10339 incoming event. Fix error in removing entry.
10340 (top): Register for signals with wildcard service name.
10341 (notifications-notify): Use daemon unique service name for map entries.
10343 2012-03-04 Chong Yidong <cyd@gnu.org>
10345 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
10347 2012-03-04 Glenn Morris <rgm@gnu.org>
10349 * abbrev.el (copy-abbrev-table, abbrev-table-p)
10350 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
10351 (expand-abbrev, define-abbrev-table): Doc fixes.
10353 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10355 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
10356 `message-default-send-mail-function' and not `send-mail-function'
10357 when doing the prompting for `sendmail-query-once' before sending
10358 in Message buffers (bug#10897).
10360 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
10361 This is inconsistent with all the other stream functions, which leave
10362 the setting up to the higher levels (if so wanted) (bug#10931).
10364 2012-03-02 Alan Mackenzie <acm@muc.de>
10366 Depessimize the handling of very large macros.
10368 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
10369 (c-macro-cache-syntactic): New variables to implement a one
10370 element macro cache.
10371 (c-invalidate-macro-cache): New function.
10372 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
10373 Adapt to use the new cache.
10374 (c-state-safe-place): Use better the cache of safe positions.
10375 (c-state-semi-nonlit-pos-cache)
10376 (c-state-semi-nonlit-pos-cache-limit):
10377 New variables for...
10378 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
10379 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
10380 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
10381 Use c-state-semi-safe-place.
10383 * progmodes/cc-langs.el (c-get-state-before-change-functions):
10384 Add c-invalidate-macro-cache to the C, C++, Obj entries.
10386 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
10388 * jka-compr.el (jka-compr-call-process):
10389 Apply `file-accessible-directory-p' only when the default directory is
10392 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
10394 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
10395 access of FILE2, if FILE1 does not exist.
10397 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
10398 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
10400 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
10401 Add "PAGER=" to `process-environment'.
10403 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
10405 * progmodes/sql.el: Bug fix
10406 (sql-get-login-ext): Save login values in globals.
10407 (sql-get-login): Use new version of `sql-get-login-ext'.
10408 (sql-interactive-mode): Set global `sql-connection' to nil.
10409 (sql-connect): Set global values for connection.
10410 (sql-product-interactive): Save global values as buffer local.
10412 2012-02-29 Leo Liu <sdl.web@gmail.com>
10414 * abbrev.el (define-abbrevs): Reset sys to nil.
10416 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10418 * files.el (file-equal-p): Rename from `files-equal-p'.
10419 Return nil when one or both files don't exist.
10420 (file-subdir-of-p): Now only top directory must exists,
10421 return nil if it doesn't.
10422 (copy-directory): No need to test with `file-subdir-of-p' after
10424 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
10427 2012-02-28 Glenn Morris <rgm@gnu.org>
10429 * shell.el (shell-mode):
10430 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
10431 * play/landmark.el (landmark-font-lock-face-O):
10432 * play/handwrite.el (handwrite):
10433 * play/gomoku.el (gomoku-O):
10434 * net/browse-url.el (browse-url-browser-display):
10435 * international/mule.el (define-charset):
10436 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
10437 * filesets.el (filesets-find-file-delay):
10438 * eshell/em-xtra.el (eshell-xtra):
10439 * eshell/em-unix.el (eshell-grep):
10440 * emulation/viper.el (viper-mode):
10441 * emacs-lisp/regexp-opt.el (regexp-opt-group):
10442 * emacs-lisp/easymenu.el (easy-menu-define):
10443 * calendar/timeclock.el (timeclock-use-display-time):
10445 * bookmark.el (bookmark-save-flag):
10446 Doc fix (standardize possessive apostrophe usage).
10448 2012-02-27 Chong Yidong <cyd@gnu.org>
10450 * emulation/viper-cmd.el (viper-intercept-ESC-key):
10451 Fix key-binding lookup for ESC key (Bug#9146).
10453 * font-lock.el (font-lock-specified-p): Rename from
10454 font-lock-spec-present. Callers changed.
10456 2012-02-27 Daniel Hackney <dan@haxney.org>
10458 * emacs-lisp/package.el (package-compute-transaction):
10459 Handle holding a package version to t in package-load-list.
10461 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
10463 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
10464 (tramp-get-inode, tramp-get-device): Use cached values.
10466 2012-02-26 Alan Mackenzie <acm@muc.de>
10468 Check there is a font-lock specification before doing initial
10471 * font-core.el (font-lock-mode): Move the conditional from
10472 :after-hook to font-lock-initial-fontify.
10473 (font-lock-default-function): Move the check for a specification
10474 to font-lock-spec-present.
10476 * font-lock.el (font-lock-initial-fontify): Call ...
10477 (font-lock-spec-present): New function.
10479 2012-02-26 Jim Blandy <jimb@red-bean.com>
10481 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
10482 (gdb-send): Apply it to the operand of the '-interpreter-exec
10483 console' command, so that we can pass arguments with (say) quotes
10484 in them. Store exact string sent in gdb-debug-log (Bug#10765).
10486 2012-02-26 Chong Yidong <cyd@gnu.org>
10488 * help-fns.el (describe-function-1): Clarify description of
10489 remapping (Bug#10844).
10491 * files.el (files-equal-p): Doc fix.
10492 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
10493 and quit the loop once a mismatch is found.
10495 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
10497 * bs.el (bs--show-with-configuration): Don't throw an error
10498 if the window cannot be split; otherwise, subsequent calls to
10499 bs-show fail, restoring a stale window config. (Bug#10882)
10501 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
10503 * term/ns-win.el (global-map): Bind ns-drag-file to
10504 ns-find-file (Bug#5855, Bug#10050).
10506 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
10508 * calendar/parse-time.el (parse-time-string): Allow extractor to
10511 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
10513 * net/tramp.el (tramp-file-name-for-operation):
10514 Add `files-equal-p' and `file-subdir-of-p'.
10516 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
10517 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
10518 Add COPY-CONTENTS argument.
10520 2012-02-25 Chong Yidong <cyd@gnu.org>
10522 Add custom groups for VC backends, for consistency with vc-bzr.
10524 * vc/vc-arch.el (vc-arch):
10525 * vc/vc-cvs.el (vc-cvs):
10526 * vc/vc-git.el (vc-git):
10527 * vc/vc-hg.el (vc-hg):
10528 * vc/vc-mtn.el (vc-mtn):
10529 * vc/vc-rcs.el (vc-rcs):
10530 * vc/vc-sccs.el (vc-sccs):
10531 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
10532 All relevant defcustoms reassigned.
10534 2012-02-25 Chong Yidong <cyd@gnu.org>
10536 * newcomment.el (comment-styles): Add autoload (Bug#10868).
10538 * term/x-win.el (x-initialize-window-system): Reduce default for
10539 x-selection-timeout to 5 seconds (Bug#8869).
10541 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10543 * files.el (files-equal-p, file-subdir-of-p): New functions.
10544 (copy-directory): Error when trying to copy a directory on itself.
10545 Add missing copy-contents arg to tramp handler.
10546 * dired-aux.el (dired-copy-file-recursive): Same.
10547 (dired-create-files): Modify destination when source is equal to
10548 dest when copying files.
10549 Return also when dest is a subdir of source. (Bug#10489)
10551 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
10553 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
10556 2012-02-23 Alan Mackenzie <acm@muc.de>
10558 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
10559 parameter "after-hook:" to allow the expansion to run code after
10560 the execution of the mode hooks.
10562 * font-lock.el (font-lock-initial-fontify): New function extracted
10563 from font-lock-mode-internal.
10565 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
10568 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
10570 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
10571 (completion--cache-all-sorted-completions): New function.
10572 (completion-all-sorted-completions): Use it.
10573 (completion--do-completion, minibuffer-force-complete):
10574 Use it to re-instate the flush hook.
10576 * icomplete.el (icomplete-completions): Replace last fix with a better
10579 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
10581 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
10582 when it might call us back infinitely (bug#10797).
10584 2012-02-23 Glenn Morris <rgm@gnu.org>
10586 * minibuffer.el (completion-category-overrides): Doc fix.
10588 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
10590 * minibuffer.el (completion-table-with-context): Fix inf-loop.
10591 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
10593 2012-02-23 Glenn Morris <rgm@gnu.org>
10595 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
10596 (authors-obsolete-files-regexps, authors-ignored-files)
10597 (authors-ambiguous-files, authors-renamed-files-alist):
10600 2012-02-23 Juri Linkov <juri@jurta.org>
10602 * isearch.el (isearch-occur): Sync interactive spec with occur's
10603 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
10605 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
10607 2012-02-22 Juri Linkov <juri@jurta.org>
10609 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
10610 (ucs-insert): Doc fix. Check for hex digits in the string.
10611 Don't display `nil' in the error message. (Bug#10857)
10613 2012-02-22 Alan Mackenzie <acm@muc.de>
10615 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
10617 2012-02-22 Glenn Morris <rgm@gnu.org>
10619 * ffap.el (ffap-c-path):
10620 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
10622 2012-02-22 Chong Yidong <cyd@gnu.org>
10624 * custom.el (load-theme): Doc fix.
10626 2012-02-22 Glenn Morris <rgm@gnu.org>
10628 * dired-x.el (dired-guess-shell-alist-default):
10629 Remove escape sequences from nroff output. (Bug#172)
10631 2012-02-21 Glenn Morris <rgm@gnu.org>
10633 * vc/emerge.el (emerge-defvar-local):
10634 Set `permanent-local' property rather than unused `preserved'.
10636 * textmodes/picture.el (picture-delete-char): New alias.
10637 (picture-mode-map): Use it. (Bug#10860)
10638 (picture-mode): Doc fix.
10640 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
10642 * newcomment.el (uncomment-region-default): Remove unused binding.
10644 2012-02-21 Glenn Morris <rgm@gnu.org>
10646 * textmodes/picture.el (picture-motion, picture-motion-reverse)
10647 (picture-self-insert, picture-tab-chars): Doc fix.
10648 (picture-mode-map): Fix C-a, C-e.
10650 2012-02-20 Glenn Morris <rgm@gnu.org>
10652 * emacs-lisp/authors.el (authors-aliases): Add another entry.
10654 2012-02-20 Leo Liu <sdl.web@gmail.com>
10656 * icomplete.el (icomplete-completions): Check FROM arg before
10657 passing to substring (Bug#10850).
10659 2012-02-19 Chong Yidong <cyd@gnu.org>
10661 * comint.el: Require ansi-color.
10662 (comint-output-filter-functions): Add ansi-color-process-output.
10664 * ansi-color.el: Don't set comint-output-filter-functions; it is
10665 now in the initial value defined in comint.el.
10666 (ansi-color-apply-face-function): New variable.
10667 (ansi-color-apply-on-region): Use it.
10668 (ansi-color-apply-overlay-face): New function.
10670 * shell.el (shell): No need to require ansi-color.
10671 (shell-mode): Use ansi-color-apply-face-function to highlight
10672 color escapes using font-lock-face property (Bug#10835).
10674 2012-02-19 Chong Yidong <cyd@gnu.org>
10676 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
10677 mode-line formats (Bug#10839).
10679 2012-02-18 Glenn Morris <rgm@gnu.org>
10681 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
10683 * mail/undigest.el (unforward-rmail-message): Doc fix.
10685 * saveplace.el (save-place-ignore-files-regexp): Add :version.
10687 2012-02-18 Eli Zaretskii <eliz@gnu.org>
10689 * international/characters.el (script-list): Sync with the latest
10690 Unicode Character Database.
10692 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
10694 * international/titdic-cnv.el: Remove duplicate coding tag.
10695 * language/cham.el: Likewise.
10696 * language/tai-viet.el: Likewise.
10698 2012-02-18 Glenn Morris <rgm@gnu.org>
10700 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
10701 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
10702 (calendar-bahai-all-holidays-flag, calendar-other-dates):
10703 * calendar/diary-lib.el (diary-abbreviated-year-flag):
10704 * calendar/holidays.el (holiday-bahai-holidays)
10705 (calendar-holidays, list-holidays):
10706 Use utf-8 Bahá'í in doc-strings, menus, etc.
10708 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
10710 * saveplace.el (save-place-ignore-files-regexp): New variable
10711 allowing for excluding files from saving their location of point.
10712 The default value matches the temporary commit message editing
10713 files from Git, SVN, Bazaar, and Mercurial.
10714 (save-place-to-alist): Use it.
10716 2012-02-17 Lawrence Mitchell <wence@gmx.li>
10717 Stefan Monnier <monnier@iro.umontreal.ca>
10719 * newcomment.el (uncomment-region-default): Don't leave extra space
10720 when an arg is provided (bug#8150).
10722 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
10724 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
10726 2012-02-17 Glenn Morris <rgm@gnu.org>
10728 * net/socks.el: Require network-stream. (Bug#10599)
10730 2012-02-17 Kenichi Handa <handa@m17n.org>
10732 * international/charprop.el:
10733 * international/uni-name.el:
10734 * international/uni-old-name.el:
10735 * international/uni-comment.el: Regenerate.
10737 2012-02-16 Glenn Morris <rgm@gnu.org>
10739 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
10740 Interactively in calendar buffer, give an error if not on a date.
10742 2012-02-15 Glenn Morris <rgm@gnu.org>
10744 * shell.el (shell-delimiter-argument-list):
10745 Revert 2011-02-17 change. (Bug#8027)
10747 2012-02-15 Chong Yidong <cyd@gnu.org>
10749 * minibuffer.el (completion-at-point-functions): Doc fix.
10751 * custom.el (defcustom): Doc fix; note use of defvar.
10753 2012-02-15 Glenn Morris <rgm@gnu.org>
10755 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
10758 2012-02-14 Glenn Morris <rgm@gnu.org>
10760 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
10762 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
10764 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
10765 way the ports list is computed.
10766 (smtpmail-query-smtp-server): Prompt the user for a port number if
10767 we can't connect to any of the standard ports (bug#10810).
10769 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
10771 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
10773 2012-02-13 Glenn Morris <rgm@gnu.org>
10775 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
10777 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
10779 * net/gnutls.el (gnutls-trustfiles): New variable.
10780 (gnutls-negotiate): Use it.
10782 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
10784 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
10785 does its stuff if Gnus is running.
10787 2012-02-13 Alan Mackenzie <acm@muc.de>
10789 Fix a loop in c-set-fl-decl-start.
10791 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
10792 c-backward-syntactic-ws actually moves backwards.
10794 2012-02-13 Leo Liu <sdl.web@gmail.com>
10796 * net/rcirc.el (rcirc-markup-attributes): Move point to the
10797 beginning so that all \C-o chars are removed.
10799 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
10801 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
10803 2012-02-12 Alan Mackenzie <acm@muc.de>
10805 Fix infinite loop with long macros.
10806 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
10808 2012-02-12 Chong Yidong <cyd@gnu.org>
10810 * window.el (display-buffer): Doc fix (Bug#10785).
10812 2012-02-12 Glenn Morris <rgm@gnu.org>
10814 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
10815 (x-disown-selection-internal, x-get-selection-internal):
10816 Sync docs with the xselect.c versions.
10818 * allout-widgets.el: Add missing license notice.
10820 2012-02-11 Glenn Morris <rgm@gnu.org>
10822 * select.el (x-get-selection-internal, x-own-selection-internal)
10823 (x-disown-selection-internal):
10824 * x-dnd.el (x-get-selection-internal): Update declarations.
10826 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
10828 * window.el (window-sides-slots):
10829 * tool-bar.el (tool-bar-position):
10830 * term/xterm.el (xterm-extra-capabilities):
10831 * ses.el (ses-self-reference-early-detection):
10832 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
10833 (verilog-auto-wire-type)
10834 (verilog-auto-delete-trailing-whitespace)
10835 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
10836 (verilog-auto-tieoff-declaration):
10837 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
10838 (sql-oracle-statement-starters, sql-oracle-scan-on):
10839 * progmodes/prolog.el (prolog-align-comments-flag)
10840 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
10841 (prolog-left-indent-regexp, prolog-paren-indent-p)
10842 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
10843 (prolog-types, prolog-mode-specificators)
10844 (prolog-determinism-specificators, prolog-directives)
10845 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
10846 (prolog-electric-dot-flag)
10847 (prolog-electric-dot-full-predicate-template)
10848 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
10849 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
10850 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
10851 (prolog-program-switches, prolog-prompt-regexp)
10852 (prolog-debug-on-string, prolog-debug-off-string)
10853 (prolog-trace-on-string, prolog-trace-off-string)
10854 (prolog-zip-on-string, prolog-zip-off-string)
10855 (prolog-use-standard-consult-compile-method-flag)
10856 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
10857 (prolog-imenu-max-lines, prolog-info-predicate-index)
10858 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
10859 (prolog-char-quote-workaround):
10860 * progmodes/cc-vars.el (c-defun-tactic):
10861 * net/tramp.el (tramp-encoding-command-interactive)
10862 (tramp-local-end-of-line):
10863 * net/soap-client.el (soap-client):
10864 * net/netrc.el (netrc-file):
10865 * net/gnutls.el (gnutls):
10866 * minibuffer.el (completion-category-overrides)
10867 (completion-cycle-threshold)
10868 (completion-pcm-complete-word-inserts-delimiters):
10869 * man.el (Man-name-local-regexp):
10870 * mail/feedmail.el (feedmail-display-full-frame):
10871 * international/characters.el (glyphless-char-display-control):
10872 * eshell/em-ls.el (eshell-ls-date-format):
10873 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
10874 (lisp-lambda-list-keyword-parameter-indentation)
10875 (lisp-lambda-list-keyword-parameter-alignment):
10876 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
10877 * dired-x.el (dired-omit-verbose):
10878 * cus-theme.el (custom-theme-allow-multiple-selections):
10879 * calc/calc.el (calc-highlight-selections-with-faces)
10880 (calc-lu-field-reference, calc-lu-power-reference)
10881 (calc-note-threshold):
10882 * battery.el (battery-mode-line-limit):
10883 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
10884 (archive-7z-update):
10885 * allout.el (allout-prefixed-keybindings)
10886 (allout-unprefixed-keybindings)
10887 (allout-inhibit-auto-fill-on-headline)
10888 (allout-flattened-numbering-abbreviation):
10889 * allout-widgets.el (allout-widgets-auto-activation)
10890 (allout-widgets-icons-dark-subdir)
10891 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
10892 (allout-widgets-theme-dark-background)
10893 (allout-widgets-theme-light-background)
10894 (allout-widgets-item-image-properties-emacs)
10895 (allout-widgets-item-image-properties-xemacs)
10896 (allout-widgets-run-unit-tests-on-load)
10897 (allout-widgets-time-decoration-activity)
10898 (allout-widgets-hook-error-post-time)
10899 (allout-widgets-track-decoration):
10900 Add missing :version tags to new defcustoms and defgroups.
10902 * progmodes/sql.el (sql-ansi-statement-starters)
10903 (sql-oracle-statement-starters): Add custom type.
10905 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
10906 (prolog-system-version): Give it a type.
10908 2012-02-11 Eli Zaretskii <eliz@gnu.org>
10910 * term/pc-win.el (x-select-text, x-selection-owner-p)
10911 (x-own-selection-internal, x-disown-selection-internal)
10912 (x-get-selection-internal): Sync doc strings and argument lists
10913 with xselect.c, common-win.el and x-win.el. (Bug#10783)
10915 2012-02-11 Leo Liu <sdl.web@gmail.com>
10917 * progmodes/python.el (python-end-of-statement): Fix infinite
10920 2012-02-10 Glenn Morris <rgm@gnu.org>
10922 * international/mule-cmds.el (unify-8859-on-encoding-mode)
10923 (unify-8859-on-decoding-mode): Properly mark as obsolete.
10925 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
10927 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
10928 about SMTP before checking the From header.
10930 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
10931 into own function for reuse by emacsbug.el.
10933 2012-02-10 Leo Liu <sdl.web@gmail.com>
10935 * subr.el (condition-case-unless-debug): Rename from
10936 condition-case-no-debug. All callers changed.
10937 (with-demoted-errors): Fix caller.
10939 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
10940 * nxml/rng-valid.el (rng-do-some-validation):
10941 * emacs-lisp/package.el (package-refresh-contents)
10942 (package-menu-execute):
10943 * desktop.el (desktop-create-buffer):
10944 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
10946 2012-02-10 Glenn Morris <rgm@gnu.org>
10948 * textmodes/bibtex.el:
10949 Add missing :version tags for new/changed defcustoms.
10951 * files.el (remote-file-name-inhibit-cache): Doc fixes.
10953 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
10955 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
10956 (smtpmail-via-smtp): Use it, or fall back on the From address.
10957 (smtpmail-send-it): Ditto.
10959 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
10961 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
10962 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
10963 (byte-compile-tmp-var): New const.
10964 (byte-compile-defvar): Use it to minimize .elc size.
10965 Just use `defvar' rather than simulate it (bug#10761).
10967 2012-02-09 Glenn Morris <rgm@gnu.org>
10969 * files.el (rename-uniquely): Doc fix. (Bug#3806)
10971 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
10974 * progmodes/compile.el (compilation-error-screen-columns)
10975 (compilation-first-column, compilation-filter-start): Doc fixes.
10977 * vc/log-view.el (log-view-toggle-entry-display):
10978 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
10980 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
10981 (report-emacs-bug-can-use-xdg-email):
10982 (report-emacs-bug-insert-to-mailer): Doc fixes.
10983 (report-emacs-bug): Message fix.
10985 * net/browse-url.el (browse-url-can-use-xdg-open)
10986 (browse-url-xdg-open): Doc fixes.
10988 * electric.el (electric-indent-mode, electric-pair-mode)
10989 (electric-layout-rules, electric-layout-mode): Doc fixes.
10990 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
10992 2012-02-08 Martin Rudalics <rudalics@gmx.at>
10994 * server.el (server-unselect-display): Don't inadvertently kill
10995 the current buffer. (Bug#10729)
10997 2012-02-08 Glenn Morris <rgm@gnu.org>
10999 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
11000 (sql-list-table): Doc fixes.
11002 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
11003 Comment out (does nothing).
11005 * completion.el (dynamic-completion-mode):
11006 * dirtrack.el (dirtrack-debug-mode):
11007 * electric.el (electric-layout-mode):
11008 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
11009 * face-remap.el (text-scale-mode, buffer-face-mode):
11010 * iimage.el (iimage-mode):
11011 * image-mode.el (image-transform-mode):
11012 * minibuffer.el (completion-in-region-mode):
11013 * scroll-lock.el (scroll-lock-mode):
11014 * simple.el (next-error-follow-minor-mode):
11015 * tar-mode.el (tar-subfile-mode):
11016 * tooltip.el (tooltip-mode):
11017 * vcursor.el (vcursor-use-vcursor-map):
11018 * wid-browse.el (widget-minor-mode):
11019 * emulation/tpu-edt.el (tpu-edt-mode):
11020 * emulation/tpu-extras.el (tpu-cursor-free-mode):
11021 * international/iso-ascii.el (iso-ascii-mode):
11022 * language/thai-util.el (thai-word-mode):
11023 * mail/supercite.el (sc-minor-mode):
11024 * net/goto-addr.el (goto-address-mode):
11025 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
11026 * progmodes/cwarn.el (cwarn-mode):
11027 * progmodes/flymake.el (flymake-mode):
11028 * progmodes/glasses.el (glasses-mode):
11029 * progmodes/hideshow.el (hs-minor-mode):
11030 * progmodes/pascal.el (pascal-outline-mode):
11031 * textmodes/enriched.el (enriched-mode):
11032 * vc/smerge-mode.el (smerge-mode):
11033 Doc fixes (minor mode argument).
11035 2012-02-07 Eli Zaretskii <eliz@gnu.org>
11037 * ls-lisp.el (ls-lisp-sanitize): New function.
11038 (ls-lisp-insert-directory): Use it to fix or remove any elements
11039 in file-alist with missing attributes. (Bug#4673)
11041 2012-02-07 Alan Mackenzie <acm@muc.de>
11043 Fix spurious recognition of c-in-knr-argdecl.
11045 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
11046 putative K&R region.
11048 2012-02-07 Alan Mackenzie <acm@muc.de>
11050 * progmodes/cc-engine.el (c-forward-objc-directive):
11051 Prevent looping in "#pragma mark @implementation".
11053 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
11055 * notifications.el (notifications-on-closed-signal): Make `reason'
11056 optional. (Bug#10744)
11058 2012-02-07 Glenn Morris <rgm@gnu.org>
11060 * emacs-lisp/easy-mmode.el (define-minor-mode):
11061 Doc fixes for the macro and the mode it defines.
11063 * image.el (imagemagick-types-inhibit): Doc fix.
11065 * cus-start.el (imagemagick-render-type): Add it.
11067 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
11069 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
11070 Set the default at load time, too, so that `font-lock-fontify-buffer'
11071 can be called without setting up the entire mode first. This fixes
11072 a bug in `mm-inline-text' with C MIME parts.
11074 2012-02-06 Chong Yidong <cyd@gnu.org>
11076 * simple.el (list-processes--refresh): Delete exited processes
11079 * comint.el (comint-next-prompt): next-single-char-property-change
11080 and prev-single-char-property-change never return nil (Bug#8657).
11082 * custom.el (defcustom): Doc fix (Bug#9711).
11084 2012-02-05 Chong Yidong <cyd@gnu.org>
11086 * cus-edit.el (custom-variable-reset-backup): Quote the value
11087 before storing it in the customized-value property (Bug#6712).
11088 (custom-display): Add a customization type tag.
11089 (custom-buffer-create-internal): Improve tooltip message.
11091 * wid-edit.el (widget-field-value-get): New optional arg to
11092 suppress trailing whitespace truncation.
11093 (character): Use it (Bug#2689).
11095 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
11097 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
11098 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
11100 2012-02-05 Chong Yidong <cyd@gnu.org>
11102 * cus-edit.el (custom-variable-value-create): For mismatched
11103 types, show the current value (Bug#7600).
11105 * custom.el (defcustom): Doc fix.
11107 2012-02-05 Glenn Morris <rgm@gnu.org>
11109 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
11111 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
11113 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
11114 (pp-buffer): Use `ignore-errors', `looking-at-p'.
11115 (pp-last-sexp): Use `looking-at-p'.
11117 2012-02-04 Glenn Morris <rgm@gnu.org>
11119 * files.el (revert-buffer):
11120 Doc fix (mention revert-buffer-in-progress-p).
11122 * emacs-lisp/ert-x.el (ert-simulate-command):
11123 Check deferred-action-list (which is obsolete) is bound.
11125 * subr.el (with-wrapper-hook): Doc fixes.
11127 * simple.el (filter-buffer-substring-functions)
11128 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
11130 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
11132 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
11133 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
11135 2012-02-04 Leo Liu <sdl.web@gmail.com>
11137 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
11139 2012-02-04 Glenn Morris <rgm@gnu.org>
11141 * image.el (image-extension-data): Add obsolete alias.
11143 * isearch.el (isearch-update): Doc fix.
11145 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
11147 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
11149 2012-02-03 Glenn Morris <rgm@gnu.org>
11151 * image.el (image-animated-p): Doc fix. Use image-animated-types.
11152 (image-animate-timeout): Doc fix.
11154 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
11156 2012-02-02 Glenn Morris <rgm@gnu.org>
11158 * server.el (server-auth-dir): Doc fix.
11159 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
11161 * subr.el (run-mode-hooks): Doc fix.
11163 2012-02-02 Juri Linkov <juri@jurta.org>
11165 * image-mode.el (image-toggle-display-image): Remove tautological
11166 `major-mode' from the `derived-mode-p' test.
11168 2012-02-02 Kenichi Handa <handa@m17n.org>
11170 * composite.el (compose-region): Cancel previous change.
11172 2012-02-02 Kenichi Handa <handa@m17n.org>
11174 * composite.el (compose-region, compose-string): Signal error for
11175 a null string component (Bug#6988).
11177 2012-02-01 Chong Yidong <cyd@gnu.org>
11179 * view.el (view-buffer-other-window, view-buffer-other-frame):
11180 Handle special modes like view-buffer (Bug#10650).
11181 (view-buffer): Simplify.
11183 * frame.el (set-frame-font): Tweak meaning of third argument.
11185 * dynamic-setting.el (font-setting-change-default-font):
11186 Use set-frame-font (Bug#9982).
11188 2012-02-01 Glenn Morris <rgm@gnu.org>
11190 * progmodes/compile.el (compilation-internal-error-properties):
11191 Respect compilation-first-column in the "*compilation*" buffer.
11193 * emacs-lisp/easy-mmode.el (define-minor-mode):
11194 Relax :variable's test for a named function.
11196 2012-01-31 Alan Mackenzie <acm@muc.de>
11198 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
11201 2012-01-31 Chong Yidong <cyd@gnu.org>
11203 * frame.el (set-frame-font): New arg ALL-FRAMES.
11205 * menu-bar.el (menu-set-font): Use set-frame-font.
11207 * faces.el (face-spec-reset-face): Don't apply unspecified
11208 attribute values to the default face.
11210 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
11212 * progmodes/cwarn.el (cwarn): Remove dead link.
11213 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
11214 Remove * from defcustom docstrings.
11215 (turn-on-cwarn-mode): Make obsolete.
11216 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
11217 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
11219 2012-01-31 Glenn Morris <rgm@gnu.org>
11221 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
11222 Fix :variable handling of mode a symbol not equal to modefun.
11223 Allow named functions to be used as the cdr of :variable.
11225 2012-01-30 Glenn Morris <rgm@gnu.org>
11227 * emacs-lisp/authors.el (authors-fixed-entries):
11228 Remove reference to deleted file rnewspost.el.
11230 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
11232 * window.el (window-with-parameter): Remove unused variable `windows'.
11233 (window--side-check): Remove unused variable `code'.
11234 (window--resize-siblings): Remove unused variable `first'.
11235 (adjust-window-trailing-edge): Remove unused variable `failed'.
11236 (window-deletable-p, window--delete): Remove unused variable `buffer'.
11237 Use `let', not `let*'.
11238 (balance-windows-2): Remove unused variable `found'.
11239 (window--state-put-2): Remove unused variable `splits'.
11240 (window-state-put): Remove unused variable `selected'.
11241 (same-window-p): Use `string-match-p'.
11242 (display-buffer-assq-regexp): Remove unused variable `value'.
11243 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11244 Mark argument ALIST as ignored.
11245 (pop-to-buffer): Remove unused variable `old-window'.
11247 2012-01-29 Eli Zaretskii <eliz@gnu.org>
11249 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
11250 and .lzma compressed files.
11252 2012-01-29 Chong Yidong <cyd@gnu.org>
11254 * frame.el (window-system-default-frame-alist): Doc fix.
11256 * dynamic-setting.el (font-setting-change-default-font): Don't
11257 change the default face if SET-FONT argument is non-nil (Bug#9982).
11259 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
11261 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
11263 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
11265 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
11266 breakpoints in files outside current directory (Bug#6098).
11268 2012-01-29 Chong Yidong <cyd@gnu.org>
11270 * progmodes/python.el: Require ansi-color at top-level.
11272 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
11273 Define and use in Emacs Lisp mode (Bug#9360).
11274 (lisp-mode-abbrev-table): Add doc.
11275 (lisp-mode-variables): Don't set local-abbrev-table.
11276 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
11278 2012-01-28 Roland Winkler <winkler@gnu.org>
11280 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
11282 2012-01-28 Roland Winkler <winkler@gnu.org>
11284 * textmodes/bibtex.el (bibtex-entry-alist): New function.
11285 (bibtex-set-dialect): Use it. Either set global values of
11286 dialect-dependent variables or bind these variables buffer-locally
11288 (bibtex-mode): Call bibtex-set-dialect via
11289 hack-local-variables-hook.
11290 (bibtex-dialect): Update docstring.
11291 Add safe-local-variable predicate.
11292 (bibtex-entry-alist, bibtex-field-alist): Initialize via
11293 bibtex-set-dialect.
11294 (bibtex-mode-map): Define menu for each dialect.
11295 (bibtex-entry): Fix docstring.
11297 2012-01-28 Chong Yidong <cyd@gnu.org>
11299 * eshell/esh-arg.el (eshell-quote-argument): New function.
11301 * eshell/esh-ext.el (eshell-invoke-batch-file):
11302 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
11303 first arg to eshell-parse-command (Bug#10523).
11305 2012-01-28 Drew Adams <drew.adams@oracle.com>
11307 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
11308 `default-directory' is non-nil.
11310 2012-01-28 Eli Zaretskii <eliz@gnu.org>
11312 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
11313 line that displays system-configuration-options. (Bug#9924)
11315 2012-01-28 Drew Adams <drew.adams@oracle.com>
11317 * descr-text.el (describe-char): Show information about POS, in
11318 addition to information about the character at POS. Improve and
11319 update the doc string. Change "code point" to "code point in
11320 charset", to avoid confusion with the character's Unicode code
11321 point shown above that. (Bug#10129)
11323 2012-01-28 Eli Zaretskii <eliz@gnu.org>
11325 * descr-text.el (describe-char): Show the raw character, not only
11326 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
11327 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
11330 2012-01-28 Phil Hagelberg <phil@hagelb.org>
11332 * emacs-lisp/package.el (package-install):
11333 Run package-refresh-contents if there is no archive yet (Bug#9798).
11335 2012-01-28 Chong Yidong <cyd@gnu.org>
11337 * emacs-lisp/package.el (package-maybe-load-descriptor):
11338 New function, split from package-maybe-load-descriptor.
11339 (package-maybe-load-descriptor): Use it.
11340 (package-download-transaction): Fully load required packages
11341 inside the loop, so that `require' calls work (Bug#10593).
11342 (package-install): No need to call package-initialize now.
11344 2012-01-28 Chong Yidong <cyd@gnu.org>
11346 * simple.el (deactivate-mark): Doc fix (Bug#8614).
11348 * tooltip.el (tooltip-mode): Doc fix.
11349 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
11351 * frame.el (set-cursor-color): Doc fix (Bug#352).
11353 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
11354 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
11356 * cus-edit.el (custom-buffer-create-internal): Fix search button
11357 action (Bug#10542).
11358 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
11360 2012-01-27 Eduard Wiebe <usenet@pusto.de>
11362 * dired.el (dired-mark-files-regexp):
11363 Include any subdirectory components. (Bug#10445)
11365 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
11367 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
11368 Handle [host]:port syntax. (Bug#10533)
11370 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
11372 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
11374 2012-01-26 Glenn Morris <rgm@gnu.org>
11376 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
11377 * term.el (term-raw-escape-map): Use Control-X-prefix.
11378 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
11380 2012-01-25 Martin Rudalics <rudalics@gmx.at>
11382 * window.el (window-state-get, window--state-get-1): Don't deal
11383 with fixed-sizeness of windows. Simplify code.
11385 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
11387 * window.el (window--state-get-1, window--state-put-2):
11388 Don't save and restore the mark.
11390 2012-01-25 Chong Yidong <cyd@gnu.org>
11392 * custom.el (custom-variable-p): Doc fix.
11394 2012-01-25 Glenn Morris <rgm@gnu.org>
11396 * dired.el (dired-goto-file): Handle some of the more common
11397 characters that `ls -b' escapes. (Bug#10596)
11399 * progmodes/compile.el (compilation-next-error-function):
11400 Respect compilation-first-column in the "*compilation*" buffer.
11401 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
11403 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
11405 2012-01-24 Glenn Morris <rgm@gnu.org>
11407 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
11409 2012-01-24 Julien Danjou <julien@danjou.info>
11411 * color.el (color-rgb-to-hsl): Fix value computing.
11412 (color-hue-to-rgb): New function.
11413 (color-hsl-to-rgb): New function.
11414 (color-clamp, color-saturate-hsl, color-saturate-name)
11415 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
11416 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
11418 2012-01-24 Glenn Morris <rgm@gnu.org>
11420 * vc/vc-rcs.el (vc-rcs-create-tag):
11421 * vc/vc-sccs.el (vc-sccs-create-tag):
11422 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
11424 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
11426 * eshell/esh-util.el (eshell-read-hosts-file):
11427 Skip comment lines. (Bug#10549)
11429 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
11431 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
11433 * subr.el (display-delayed-warnings): Doc fix.
11434 (collapse-delayed-warnings): New function to collapse identical
11436 (delayed-warnings-hook): Add it.
11438 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
11440 * net/tramp.el (tramp-action-login): Set connection property "login-as".
11442 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
11443 (tramp-default-user-alist): Don't add "pscp".
11444 (tramp-do-copy-or-rename-file-out-of-band): Use connection
11445 property "login-as", if set. (Bug#10530)
11447 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
11449 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
11450 "plink1" and "psftp". (Bug#10530)
11452 2012-01-21 Kenichi Handa <handa@m17n.org>
11454 * international/mule-cmds.el (prefer-coding-system): Show a
11455 warning message if the default value of file-name-coding-system
11458 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
11460 * windmove.el (windmove-reference-loc):
11461 Fix windmove-reference-loc miscalculation.
11463 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
11465 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
11468 2012-01-21 Glenn Morris <rgm@gnu.org>
11470 * international/mule.el (auto-coding-alist): Add .tbz.
11472 * files.el (local-enable-local-variables): Doc fix.
11473 (inhibit-local-variables-regexps): Rename from
11474 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
11475 Doc fix. Add some extensions from auto-coding-alist.
11476 (inhibit-local-variables-suffixes):
11477 Rename from inhibit-first-line-modes-suffixes. Doc fix.
11478 (inhibit-local-variables-p):
11479 New function, extracted from set-auto-mode-1.
11480 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
11481 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
11482 (hack-local-variables): Doc fix. Make the mode-only case
11483 respect enable-local-variables and friends.
11484 Respect inhibit-local-variables-regexps for file-locals, but
11485 not for directory-locals.
11486 (set-visited-file-name):
11487 Take account of inhibit-local-variables-regexps.
11488 Whether it applies may change as the file name is changed.
11489 * jka-cmpr-hook.el (jka-compr-install):
11490 * jka-compr.el (jka-compr-uninstall):
11491 Update for inhibit-first-line-modes-suffixes name change.
11493 2012-01-20 Martin Rudalics <rudalics@gmx.at>
11495 * help-macro.el (make-help-screen): Temporarily restore original
11496 binding for minor-mode-map-alist (Bug#10454).
11498 2012-01-19 Julien Danjou <julien@danjou.info>
11500 * color.el (color-name-to-rgb): Use the white color to find the max
11501 color component value and return correctly computed values.
11502 (color-name-to-rgb): Add missing float conversion for max value.
11504 2012-01-19 Martin Rudalics <rudalics@gmx.at>
11506 * window.el (window--state-get-1, window-state-get): Do not use
11507 special state value for window-persistent-parameters.
11508 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
11509 (window--state-put-2): Reset all window parameters to nil before
11510 assigning values of persistent parameters.
11512 2012-01-18 Alan Mackenzie <acm@muc.de>
11514 Eliminate sluggishness and hangs in fontification of "semicolon
11517 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
11518 Change value 10000 -> 3000.
11519 (c-state-safe-place): Reformulate so it doesn't stack up an
11520 infinite number of wrong entries in c-state-nonlit-pos-cache.
11521 (c-determine-limit-get-base, c-determine-limit): New functions to
11522 determine backward search limits disregarding literals.
11523 (c-find-decl-spots): Amend commenting.
11524 (c-cheap-inside-bracelist-p): New function which detects "={".
11526 * progmodes/cc-fonts.el
11527 (c-make-font-lock-BO-decl-search-function): Give a limit to a
11529 (c-font-lock-declarations): Fix an occurrence of point being
11530 undefined. Check additionally for point being in a bracelist or
11531 near a macro invocation without a semicolon so as to avoid a
11532 fruitless time consuming search for a declarator. Give a more
11533 precise search limit for declarators using the new
11536 2012-01-18 Glenn Morris <rgm@gnu.org>
11538 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
11539 (set-auto-mode): Doc fixes.
11541 2012-01-17 Glenn Morris <rgm@gnu.org>
11543 * isearch.el (search-nonincremental-instead): Fix doc typo.
11545 * dired.el (dired-insert-directory): Handle newlines in directory name.
11546 (dired-build-subdir-alist): Unescape newlines in directory name.
11548 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
11550 * net/tramp.el (tramp-local-end-of-line): New defcustom.
11551 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
11552 (tramp-action-terminal): Use it. (Bug#10530)
11554 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
11556 * minibuffer.el (completion--replace): Strip properties (bug#10062).
11558 2012-01-16 Martin Rudalics <rudalics@gmx.at>
11560 * window.el (window-state-ignored-parameters): Remove variable.
11561 (window--state-get-1): Rename argument MARKERS to IGNORE.
11562 Handle persistent window parameters. Make copy of clone-of
11563 parameter only if requested. (Bug#10348)
11564 (window--state-put-2): Install a window parameter only if it has
11565 a non-nil value or an existing parameter shall be overwritten.
11567 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
11569 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
11571 2012-01-14 Eli Zaretskii <eliz@gnu.org>
11573 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
11574 don't pass the (nil) value of `upnode' to string-match.
11576 2012-01-14 Chong Yidong <cyd@gnu.org>
11578 * startup.el (command-line): Fix X resource class for cursorColor.
11579 Fix values recognized by the cursorBlink resource.
11581 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
11583 * epg.el (epg--make-temp-file): Avoid permission race condition
11584 when running on old Emacs versions (bug#10403).
11586 2012-01-14 Glenn Morris <rgm@gnu.org>
11588 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
11590 2012-01-13 Alan Mackenzie <acm@muc.de>
11592 Fix filling for when filladapt mode is enabled.
11594 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
11595 c-mask-paragraph, pass in `fill-paragraph' rather than
11596 `fill-region-as-paragraph'. (This is a reversion of a previous
11598 * progmodes/cc-mode.el (c-basic-common-init):
11599 Make fill-paragraph-handle-comment buffer local and set it to nil.
11601 2012-01-13 Glenn Morris <rgm@gnu.org>
11603 * dired.el (dired-switches-escape-p): New function.
11604 (dired-insert-directory): Use dired-switches-escape-p.
11605 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
11607 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
11609 2012-01-12 Glenn Morris <rgm@gnu.org>
11611 * mail/sendmail.el (mail-mode): Update paragraph-separate for
11612 changes in adaptive-fill-regexp. (Bug#10276)
11614 2012-01-11 Alan Mackenzie <acm@muc.de>
11616 Fix Emacs bug #10463 - put `widen's around the critical spots.
11618 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
11619 widen around each invocation of c-state-pp-to-literal. Remove an
11620 unused let variable.
11622 2012-01-11 Glenn Morris <rgm@gnu.org>
11624 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
11627 2012-01-10 Chong Yidong <cyd@gnu.org>
11629 * net/network-stream.el (network-stream-open-starttls):
11630 Avoid emitting a confusing error message when the server gives a bad
11631 response to the capability command.
11633 2012-01-10 Glenn Morris <rgm@gnu.org>
11635 * mail/unrmail.el (unrmail): Tweak previous change.
11637 2012-01-09 Chong Yidong <cyd@gnu.org>
11639 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
11641 2012-01-08 Alan Mackenzie <acm@muc.de>
11643 Optimise font locking in long enum definitions.
11645 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
11646 arm to a cond form to handle enums.
11647 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
11648 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
11650 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
11652 * files.el (move-file-to-trash): Preserve default file modes on error.
11655 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11657 * faces.el (set-face-attribute): Clarify the meaning of the nil
11660 * subr.el (with-selected-frame): Mention that the selected frame
11661 is restored (bug#9980).
11663 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
11666 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
11667 (password-read): Don't autoload unused function.
11669 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
11671 * progmodes/which-func.el (which-func-mode): Turn into a
11672 non-interactive function and mark as obsolete (bug#10428).
11674 2012-01-06 Chong Yidong <cyd@gnu.org>
11676 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
11677 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
11678 functions, along with 1 and -1.
11680 2012-01-06 Eli Zaretskii <eliz@gnu.org>
11682 * time.el (display-time-load-average)
11683 (display-time-default-load-average): Doc fixes. See the thread
11685 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
11688 2012-01-06 Glenn Morris <rgm@gnu.org>
11690 * mail/unrmail.el (unrmail): Give an explicit error if the input file
11691 has no messages. (Bug#10377)
11693 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
11694 than Info-edit. (Bug#10385)
11696 * time.el (display-time-load-average, display-time-next-load-average):
11699 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
11700 local setting of buffer-read-only to the input buffer. (Bug#10419)
11702 * calendar/calendar.el (calendar-mode):
11703 Locally set scroll-margin to 0. (Bug#10379)
11705 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
11707 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
11709 2012-01-05 Glenn Morris <rgm@gnu.org>
11711 * eshell/em-unix.el (diff-no-select): Autoload it.
11712 (eshell/diff): Use diff-no-select. (Bug#10420)
11714 2012-01-05 Chong Yidong <cyd@gnu.org>
11716 * shell.el (shell-dynamic-complete-functions): Revert last change.
11717 (shell-command-completion-function): New function.
11718 (shell-completion-vars): Use it to implement
11719 shell-completion-execonly (Bug#10417).
11721 * custom.el (enable-theme): Don't set custom-safe-themes.
11723 * cus-theme.el (custom-theme-merge-theme):
11724 Ignore custom-enabled-themes and custom-safe-themes.
11726 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
11728 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
11729 first prompt in `sql-interacive-mode'.
11730 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
11732 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
11733 (sql-product-interactive): Bug fix: Set `sql-buffer' in
11734 context of original buffer. Invoke `sql-login-hook'.
11736 2012-01-04 Eli Zaretskii <eliz@gnu.org>
11738 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
11739 letters in cite-prefix.
11741 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11743 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
11745 2012-01-03 Chong Yidong <cyd@gnu.org>
11747 * shell.el (shell-dynamic-complete-functions):
11748 Put pcomplete-completions-at-point, so as to try
11749 comint-filename-completion first (Bug#10417).
11751 2012-01-02 Richard Stallman <rms@gnu.org>
11753 * battery.el (battery-status-function):
11754 Detect when to use battery-yeeloong-sysfs.
11755 (battery-echo-area-format): Add string for Yeeloong.
11756 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
11757 (battery-yeeloong-sysfs): New function.
11759 2012-01-02 Chong Yidong <cyd@gnu.org>
11761 * dirtrack.el (dirtrack-list): Eliminate unused third element.
11762 (dirtrack): Merge code for handling relative filenames in prompt
11763 from shell-dir-cookie-watcher.
11764 (dirtrack-debug-message): New arg to avoid excess format calls.
11766 * shell.el (shell-dir-cookie-re): Variable deleted.
11767 (shell-dir-cookie-watcher): Function deleted.
11768 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
11769 with dirtrack-mode.
11771 2012-01-01 Eli Zaretskii <eliz@gnu.org>
11773 * term/w32-win.el (dynamic-library-alist) <gnutls>:
11774 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
11777 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
11779 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
11781 2011-12-31 Eli Zaretskii <eliz@gnu.org>
11783 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
11784 headers of non-MIME messages, when rmail-enable-mime is non-nil.
11786 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
11788 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
11789 also for alternative shells.
11790 (tramp-open-connection-setup-interactive-shell): Check, whether
11791 the shell is a busybox.
11792 (tramp-send-command): Don't suppress multiple prompts for
11793 busyboxes, it hurts.
11795 2011-12-28 Chong Yidong <cyd@gnu.org>
11797 * progmodes/gdb-mi.el (gdb-get-source-file-list)
11798 (gdb-get-source-file): Move mode line update to
11799 gdb-get-source-file (Bug#10087).
11801 2011-12-25 Chong Yidong <cyd@gnu.org>
11803 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
11804 gud-gdb-marker-filter without taking it as an argument.
11805 (gud-gdb-run-command-fetch-lines): Caller changed.
11806 (gud-gdb-completion-function): New variable.
11807 (gud-gdb-completion-at-point): Use it.
11808 (gud-gdb-completions-1): Split from gud-gdb-completions.
11810 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
11811 function as separate arguments.
11812 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
11813 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
11814 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
11815 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
11816 (gdb-stopped, def-gdb-auto-update-trigger)
11817 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
11818 (gdb-get-changed-registers, gdb-get-main-selected-frame):
11820 (gud-gdbmi-completions): New function.
11821 (gdb): Use it for generating the completion table.
11823 2011-12-24 Alan Mackenzie <acm@muc.de>
11825 Introduce a mechanism to widen the region used in context font
11826 locking. Use this to protect declarations from losing their contexts.
11828 * progmodes/cc-langs.el (c-before-font-lock-functions):
11829 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
11830 (c-before-context-fontification-functions): New defvar, a list of
11831 functions to be run just before context (etc.) font locking.
11833 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
11834 New, functionality extracted from
11835 c-neutralize-syntax-in-and-mark-CPP.
11836 (c-in-after-change-fontification): New variable.
11837 (c-after-change): Set c-in-after-change-fontification.
11838 (c-set-fl-decl-start): Rejig its interface, so it can be called
11839 from both after-change and context fontifying.
11840 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
11842 (c-standard-font-lock-fontify-region-function): New variable.
11843 (c-font-lock-fontify-region): New function.
11845 2011-12-24 Juri Linkov <juri@jurta.org>
11847 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
11850 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
11852 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
11853 existence of source file. (Bug#10325)
11855 2011-12-23 Alan Mackenzie <acm@muc.de>
11857 Fix unstable fontification inside templates.
11859 * progmodes/cc-langs.el (c-before-font-lock-functions):
11860 Newly created from the singular version. The (c c++ objc) entry now
11861 additionally has c-set-fl-decl-start. The other languages (apart
11862 from AWK) have that as a single entry.
11864 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11865 The functionality for "local" declarations has been extracted to
11866 c-set-fl-decl-start.
11868 * progmodes/cc-mode.el (c-common-init, c-after-change):
11869 Changes due to pluralisation of c-before-font-lock-functions.
11870 (c-set-fl-decl-start): New function, extracted from
11871 c-font-lock-enclosing-decls and enhanced.
11873 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
11875 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
11877 2011-12-22 Juri Linkov <juri@jurta.org>
11879 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
11881 2011-12-22 Chong Yidong <cyd@gnu.org>
11883 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
11885 2011-12-21 Drew Adams <drew.adams@oracle.com>
11887 * files.el (file-remote-p): Fix docstring. (Bug#10319)
11889 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
11891 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
11893 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
11895 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
11896 highlighting and support. Fix up comments for capitalization.
11897 (cfengine-mode-debug): New var.
11898 (cfengine3-mode): Change the modeline indicator to "CFE3".
11899 (cfengine3-font-lock-keywords): Improve defun highlighting.
11900 (cfengine2-actions): Rename from `cfengine-actions'.
11901 (cfengine2-font-lock-keywords): Rename from
11902 `cfengine-font-lock-keywords'.
11903 (cfengine2-imenu-expression): Rename from
11904 `cfengine-imenu-expression'.
11905 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
11906 (cfengine2-beginning-of-defun): Rename from
11907 `cfengine-beginning-of-defun'.
11908 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
11909 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
11910 (cfengine2-mode): Rename from `cfengine-mode'. Change the
11911 modeline indicator to "CFE2".
11912 (cfengine-mode): Defalias to `cfengine-auto-mode'.
11913 (cfengine-mode-abbrevs): Mark obsolete.
11915 2011-12-21 Chong Yidong <cyd@gnu.org>
11917 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
11920 2011-12-20 Martin Rudalics <rudalics@gmx.at>
11922 * window.el (window-normalize-buffer-to-display): Remove.
11923 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
11925 2011-12-19 Chong Yidong <cyd@gnu.org>
11927 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
11928 Don't signal an error in a predicate function; return non-nil.
11929 (vc-dir-mark-file): Move the error here.
11930 (vc-dir-mark-unmark): If acting on the region, keep going if one
11931 of the entries cannot be marked/unmarked.
11932 (vc-dir-mark-all-files): If current entry is a directory, mark
11933 only child files, as documented.
11935 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
11937 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
11938 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
11941 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
11943 * term/ns-win.el (ns-get-selection-internal)
11944 (ns-store-selection-internal): Declare.
11945 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
11946 Declare as obsolete.
11947 (ns-get-pasteboard, ns-paste-secondary):
11948 Use ns-get-selection-internal.
11949 (ns-set-pasteboard, ns-copy-including-secondary):
11950 Use ns-store-selection-internal.
11952 2011-12-17 Chong Yidong <cyd@gnu.org>
11954 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
11955 (vc-deduce-fileset): Doc fix.
11957 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
11959 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
11961 2011-12-13 Sam Steingold <sds@gnu.org>
11963 * man.el (Man-getpage-in-background): When running under a
11964 window-system, ignore $MANWIDTH and $COLUMNS.
11966 2011-12-15 Kenichi Handa <handa@m17n.org>
11968 * language/ethio-util.el: Change coding tag to utf-8-emacs.
11969 (setup-ethiopic-environment-internal): Comment out key-binding for
11970 ethio-toggle-punctuation.
11972 2011-12-13 Alan Mackenzie <acm@muc.de>
11974 Add the switch statement to AWK Mode.
11976 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
11977 "default" to the keywords regexp.
11979 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
11980 expression as the rest.
11981 (c-nonlabel-token-key): Allow string literals for AWK.
11982 Refactor for the other modes.
11984 Large brace-block initialisation makes CC Mode slow: Fix.
11985 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
11986 routines. Limit backward searching in c-font-lock-enclosing.decl.
11988 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
11989 pp-state and literal type in addition to the limits.
11990 (c-state-safe-place): New defun, extracted from c-state-literal-at.
11991 (c-state-literal-at): Use the above new defun.
11992 (c-slow-in-literal, c-fast-in-literal): Remove.
11993 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
11995 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
11996 being in a literal. Add a limit for backward searching.
11998 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
12001 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
12003 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
12005 2011-12-13 Martin Rudalics <rudalics@gmx.at>
12007 * window.el (delete-other-windows): Use correct frame in call to
12008 window-with-parameter.
12010 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
12012 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
12013 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
12014 (makefile-gmake-statements, makefile-makepp-statements):
12015 Use it and add new makepp keywords.
12016 (makefile-makepp-font-lock-keywords): Add new patterns.
12017 (makefile-match-function-end): Match new [...] and [[...]].
12019 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
12021 * ses.el (ses-call-printer-return, ses-cell-property-get)
12022 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
12023 (ses-create-cell-variable, ses-reset-header-string)
12024 (ses-cell-set-formula, ses-repair-cell-reference-all)
12025 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
12026 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
12027 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
12028 (ses-aset-with-undo, ses-load, ses-truncate-cell)
12029 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
12030 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
12031 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
12032 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
12033 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
12034 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
12035 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
12036 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
12038 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
12040 * ses.el: The overall change is to add cell renaming, that is
12041 setting fancy names for cell symbols other than name matching
12042 "\\`[A-Z]+[0-9]+\\'" regexp .
12043 (ses-create-cell-variable): New defun.
12044 (ses-relocate-formula): Relocate formulas only for cells the
12045 symbols of which are not renamed, i.e. symbols whose names do not
12046 match regexp "\\`[A-Z]+[0-9]+\\'".
12047 (ses-relocate-all): Relocate values only for cells the symbols of
12048 which are not renamed.
12049 (ses-load): Create cells variables as the (ses-cell ...) are read,
12050 in order to check row col consistency with cell symbol name only
12051 for cells that are not renamed.
12052 (ses-replace-name-in-formula): New defun.
12053 (ses-rename-cell): New defun.
12055 2011-12-11 Chong Yidong <cyd@gnu.org>
12057 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
12058 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
12060 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
12062 * window.el (other-window): Fix docstring.
12064 2011-12-10 Eli Zaretskii <eliz@gnu.org>
12066 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
12067 `from' or `to' address before taking its substring.
12068 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
12069 encoded name is chopped in the middle of the encoded string, and
12070 thus displayed encoded.
12072 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
12074 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
12076 2011-12-10 Eli Zaretskii <eliz@gnu.org>
12078 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
12079 to use texinfo-update-node and commands that call it if the
12080 Texinfo file uses @node lines without next/prev/up pointers.
12081 Correct outdated description about texinfo-master-menu.
12082 (texinfo-all-menus-update, texinfo-master-menu)
12083 (texinfo-update-node, texinfo-every-node-update)
12084 (texinfo-multiple-files-update): Doc fix. Warn against updating
12085 all the @node lines.
12086 (texinfo-master-menu): Only call texinfo-update-node if the prefix
12087 argument is numeric. Explain better in the doc string what the
12088 function really does.
12089 (texinfo-insert-master-menu-list): Improve the error message
12090 displayed if there's no menu in the Top node.
12091 (Bug#2975) See also this thread:
12092 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
12094 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
12096 * speedbar.el (speedbar-supported-extension-expressions):
12097 Add .adb and .ads, commonly used for Ada source code (bug#10256).
12099 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
12101 * printing.el (pr-mode-alist):
12102 * simple.el (filter-buffer-substring-functions)
12103 (completion-list-insert-choice-function):
12104 * window.el (window-with-parameter, window-atom-root)
12105 (window-sides-slots, window-size-fixed, window-min-delta)
12106 (window-max-delta, window--resize-mini-window)
12107 (window--resize-child-windows-normal, window-tree)
12108 (delete-other-windows, quit-window, split-window)
12109 (display-buffer-record-window, special-display-buffer-names)
12110 (special-display-regexps, special-display-popup-frame)
12111 (same-window-p, split-window-sensibly)
12112 (display-buffer-overriding-action, display-buffer-alist)
12113 (display-buffer-base-action, display-buffer, switch-to-buffer)
12114 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
12115 (fit-window-to-buffer, recenter-positions)
12116 (mouse-autoselect-window-state, mouse-autoselect-window-select):
12117 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
12118 and remove unneeded backslashes in docstrings.
12120 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
12122 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
12124 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
12125 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
12127 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
12128 when reading the makefile (bug#10116).
12130 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
12132 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
12135 2011-12-06 Glenn Morris <rgm@gnu.org>
12137 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
12139 2011-12-06 Chong Yidong <cyd@gnu.org>
12141 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
12143 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
12145 * textmodes/table.el (table-shorten-cell): Fix typo.
12147 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
12149 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
12151 2011-12-05 Eli Zaretskii <eliz@gnu.org>
12153 * descr-text.el (describe-char): Fix display of strong
12154 right-to-left characters and directional embeddings and overrides.
12156 * simple.el (what-cursor-position): Fix display of codepoints of
12157 strong right-to-left characters.
12159 2011-12-05 Chong Yidong <cyd@gnu.org>
12161 * faces.el (read-color): Doc fix.
12163 2011-12-05 Glenn Morris <rgm@gnu.org>
12165 * align.el (align--set-marker): Add doc-string.
12166 Don't try to move something that is not a marker. (Bug#10216)
12168 2011-12-04 Glenn Morris <rgm@gnu.org>
12170 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
12171 overly zealous deletion of trailing whitespace.
12173 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
12175 * server.el (server-delete-client): On Windows, do not try to delete
12177 (server-process-filter): On Windows, treat requests for a tty frame as
12178 if they were for a GUI frame if the running server is in GUI mode.
12180 2011-12-03 Glenn Morris <rgm@gnu.org>
12182 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
12184 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
12186 * electric.el: Streamline electric-indent's hook.
12187 (electric-indent-chars): Revert to simple list.
12188 (electric-indent-functions): New var.
12189 (electric-indent-post-self-insert-function): Use it.
12191 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
12192 there's no inferior buffer (bug#10196).
12193 (prolog-consult-compile): Don't use toggle-read-only.
12195 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
12197 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
12198 interrupt. (Bug#10187)
12200 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
12202 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
12205 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
12208 2011-12-02 Juri Linkov <juri@jurta.org>
12210 * info.el (Info-search): Display "end of manual" when Isearch
12211 reaches the end of single-file Info manual. (Bug#9918)
12213 2011-12-02 Eli Zaretskii <eliz@gnu.org>
12215 * isearch.el (isearch-message-prefix): Run the input method part
12216 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
12218 2011-12-02 Juri Linkov <juri@jurta.org>
12220 * isearch.el (isearch-occur): Use `word-search-regexp' for
12222 (isearch-search-and-update): Add condition for `isearch-word' and
12223 call `word-search-regexp'. (Bug#10145)
12225 2011-12-01 Glenn Morris <rgm@gnu.org>
12227 * eshell/em-hist.el (eshell-hist-initialize):
12228 Handle eshell-history-size nil and HISTSIZE set or unset.
12229 (eshell-history-file-name, eshell-history-size): Fix custom type.
12231 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
12233 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
12235 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
12237 * progmodes/verilog-mode.el (verilog-pretty-expr):
12238 Rework verilog-pretty-expr to handle new assignment operators in system
12239 verilog, such as += *= and the like.
12240 (verilog-assignment-operator-re): Regular expression to find the
12241 assigment operator in a verilog assignment.
12242 (verilog-assignment-operation-re): Regular expression to find an
12243 assignment statement for pretty-expr.
12244 (verilog-in-attribute-p): Query returns true if point is in an
12245 attribute context; used to skip these for expression line up from
12247 (verilog-in-parameter-p): Query returns true if point is in an
12248 parameter definition context; used to skip these for expression
12249 line up from pretty-expr.
12250 (verilog-in-parenthesis-p): Query returns true if point is in a
12251 parenthetical expression, specifically ( ) but not [ ] or { };
12252 used by pretty-expr.
12253 (verilog-just-one-space): If there is no space, don't add one.
12254 (verilog-get-lineup-indent-2): Specifically skip just attribute
12255 contexts for expression lineup, rather than skipping all
12256 parenthetical expressions.
12257 (verilog-calculate-indent): Fix comment, and fix indent.
12258 (verilog-do-indent): Indent declarations in lists (suggested by
12260 (verilog-mode-abbrev-table): Populate abbrev mode with the various
12262 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
12265 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
12267 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
12268 parameters with embedded comments. Reported by Ray Stevens.
12269 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
12270 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
12271 Reported by Tim Holt.
12272 (verilog-auto): Fix AUTOing a upper module then AUTOing module
12273 instantiated by upper module causing wrong expansion until AUTOed a
12274 second time. Reported by K C Buckenmaier.
12275 (verilog-diff-auto): Fix showing .* as a difference when
12276 `verilog-auto-star-save' off. Reported by Dan Dever.
12277 (verilog-auto-reset, verilog-read-always-signals)
12278 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
12279 temporary signals in reset list if
12280 verilog-auto-reset-blocking-in-non is nil, and match assignment
12281 style to each signal's assignment type, bug381.
12282 Reported by Thomas Esposito.
12283 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
12284 (verilog-uvm-statement-re): Support UVM indentation and
12285 highlighting, with old OVM keywords only.
12286 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
12287 Support AUTOTIEOFF creating non-wire data types.
12288 Suggested by Jonathan Greenlaw.
12289 (verilog-auto-insert-lisp, verilog-delete-to-paren)
12290 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
12291 (verilog-inject-sense, verilog-read-inst-pins)
12292 (verilog-read-sub-decls, verilog-read-sub-decls-line):
12293 Fix mismatching parenthesis inside commented out code when deleting
12294 AUTOINST, bug383. Reported by Jonathan Greenlaw.
12295 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
12296 non-numeric vector width. Reported by Alex Reed.
12297 (verilog-auto-ascii-enum): Add "onehot" option to work around not
12298 detecting signals with parameter widths. Reported by Alex Reed.
12299 (verilog-auto-delete-trailing-whitespace):
12300 With `verilog-auto-delete-trailing-whitespace' remove trailing
12301 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
12302 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
12303 Fix verilog-scan-cache corruption when running user AUTO expansion
12304 hooks that call indentation routines.
12305 (verilog-simplify-range-expression): Fix typo ignoring lower case
12307 (verilog-delete-auto): Fix delete-autos to also remove user created
12308 automatics, as long as they start with AUTO.
12309 (verilog-batch-diff-auto, verilog-diff-auto)
12310 (verilog-diff-function): Add `verilog-diff-auto' and bind to
12311 "C-c?" to report differences in AUTO expansion, ignoring spaces.
12312 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
12313 (verilog-in-paren-quick, verilog-re-search-backward-quick)
12314 (verilog-re-search-forward-quick, verilog-syntax-ppss):
12315 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
12316 is disabled and its cache will get corrupt, causing AUTOS not to
12317 expand. Instead use only -quick functions.
12318 (verilog-scan-region): Fix scanning over escaped quotes.
12319 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
12320 (verilog-re-search-backward-quick)
12321 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
12322 related functions now ignore strings, to fix misparsing of strings
12323 with magic comments embedded in them.
12324 (verilog-read-auto-template):
12325 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
12326 Reported by Brad Dobbie.
12327 (verilog-read-auto-template):
12328 Fix 'verilog-auto-inst-template-numbers' with comments.
12329 Reported by Brad Dobbie.
12330 (verilog-auto-inst, verilog-auto-inst-param)
12331 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
12332 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
12333 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
12334 debugging templates without merge conflicts, bug357.
12335 Reported by Brad Dobbie.
12336 (verilog-read-auto-template):
12337 Fix verilog-auto-inst-template-numbers with multiple templates.
12338 Reported by Brad Dobbie.
12339 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
12340 abbrevs so user won't be asked to save.
12341 (verilog-read-auto-lisp-present): Fix to start at beginning of
12342 buffer in case called outside of verilog-auto.
12343 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
12344 to "X-2". Reported by Matthew Myers.
12345 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
12346 all inputs from module templates. Reported by Leith Johnson.
12347 (verilog-module-inside-filename-p): Fix locating programs as with
12349 (verilog-auto-inst-port): Fix vl-width expressions when using
12350 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
12351 (verilog-decls-get-regs, verilog-decls-get-signals,
12352 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
12353 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
12354 verilog-read-decls): Combine reg and wire structures into one var
12355 structure to represent SystemVerilog concepts.
12356 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
12357 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
12358 (verilog-auto-wire-type, verilog-insert-definition):
12359 Add verilog-auto-wire-type and AUTOLOGIC to support using
12360 SystemVerilog "logic" keyword instead of "wire"/"reg".
12361 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
12362 to declares outputs that also have assignments (presumably in an
12363 ifdef or generate if so there's not a driver conflict).
12364 Reported by Matthew Myers.
12365 (verilog-auto-declare-nettype, verilog-insert-definition):
12366 Add verilog-auto-declare-nettype to fix declarations using
12367 `default_nettype none. Reported by Julian Gorfajn.
12368 (verilog-read-always-signals-recurse, verilog-read-decls)
12369 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
12370 malformed end statement, bug325. Reported by Joshua Wise and
12372 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
12373 (verilog-inst-comment-re): Fix not deleting Interfaced comment
12374 when expanding .* in interfaces, bug320.
12375 Reported by Pierre-David Pfister.
12376 (verilog-read-module-name): Fix import statements between module
12377 name and open parenthesis, bug317.
12378 Reported by Pierre-David Pfister.
12379 (verilog-simplify-range-expression): Fix simplification of
12380 multiplications inside AUTOWIRE connections, bug303.
12381 (verilog-auto-inst-port): Support parameter expansion in
12382 multidimensional arrays.
12383 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
12384 after "assert property". Reported by Julian Gorfajn.
12385 (verilog-simplify-range-expression): Fix "couldn't merge" errors
12386 with multiplication, bug303.
12387 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
12388 Reported by Jan Frode Lonnum.
12390 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
12392 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
12393 (hfy-shell-file-name, hfy-shell):
12394 * international/fontset.el (x-decompose-font-name): Fix typos.
12396 2011-11-29 Ken Brown <kbrown@cornell.edu>
12398 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
12399 (gdb-version): Remove defvar.
12400 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
12401 (gdb-gud-context-command, gdb-non-stop-handler)
12402 (gdb-current-context-command, gdb-stopped): Use it.
12403 (gdb-init-1): Enable pretty printing here.
12404 (gdb-non-stop-handler): Don't enable pretty-printing here.
12405 Check to see if the target supports non-stop mode; if not, turn off
12406 non-stop mode. Use the following.
12407 (gdb-check-target-async): New defun.
12408 (gud-watch, gdb-stopped): Fix whitespace.
12409 (gdb-get-source-file): Don't try to display the source file if
12410 `gdb-main-file' is nil.
12412 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
12414 * align.el: Try to generate fewer markers (bug#10047).
12415 (align--set-marker): New macro.
12416 (align-region): Use it.
12418 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
12420 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
12422 2011-11-29 Chong Yidong <cyd@gnu.org>
12424 * indent.el (indent-for-tab-command, indent-according-to-mode):
12426 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
12428 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
12430 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
12431 aware of remote file names. (Bug#10124)
12433 2011-11-29 Chong Yidong <cyd@gnu.org>
12435 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
12437 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
12439 * files.el (find-file): Don't use force-same-window (bug#10144).
12440 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
12441 use pop-to-buffer if the selected window can't be used.
12442 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
12444 2011-11-28 Eli Zaretskii <eliz@gnu.org>
12446 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
12449 2011-11-28 Chong Yidong <cyd@gnu.org>
12451 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
12453 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
12455 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
12456 gdb-get-source-file-list on gdb-create-source-file-list.
12458 2011-11-26 Eli Zaretskii <eliz@gnu.org>
12460 * whitespace.el (whitespace-newline): Use a different foreground
12461 color for 16-color light-background displays.
12463 2011-11-24 Chong Yidong <cyd@gnu.org>
12465 * window.el (display-buffer--special-action): Doc fix.
12467 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
12469 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
12470 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
12471 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
12472 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
12473 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
12474 (avl-tree-stack-first):
12475 * emacs-lisp/cconv.el (cconv--analyse-use):
12476 * net/gnutls.el (gnutls-negotiate): Fix typos.
12478 2011-11-24 Glenn Morris <rgm@gnu.org>
12480 * lpr.el (lpr-windows-system, lpr-lp-system):
12481 * mail/binhex.el (binhex-begin-line):
12482 * progmodes/grep.el (grep-history, grep-find-history):
12483 * textmodes/flyspell.el:
12484 * vc/pcvs-defs.el (cvs-global-menu):
12485 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
12486 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
12487 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
12489 * net/tls.el: Fix case of "GnuTLS".
12491 * paths.el (rmail-file-name): Format doc-string for make-docfile.
12493 * version.el (emacs-build-system): Give it a doc-string.
12495 2011-11-24 Juri Linkov <juri@jurta.org>
12497 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
12499 2011-11-24 Glenn Morris <rgm@gnu.org>
12501 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
12502 if called on a non-mime message just toggle the headers. (Bug#8006)
12504 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
12506 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
12507 (allout-lead-with-comment-string, allout-structure-deleted-hook)
12508 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
12509 (allout-rebullet-heading, allout-open-sibtopic)
12510 (allout-toggle-current-subtree-encryption)
12511 (allout-toggle-subtree-encryption, allout-encrypt-string)
12512 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
12513 (allout-distinctive-bullets-string, allout-auto-activation):
12514 * window.el (window-normalize-buffer-to-display):
12515 * progmodes/verilog-mode.el (verilog-batch-indent):
12516 * textmodes/bibtex.el (bibtex-field-braces-opt)
12517 (bibtex-field-strings-opt):
12518 * vc/cvs-status.el (cvs-tree-merge):
12521 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
12523 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
12524 `non-essential' to t, in order to avoid remote connections.
12526 2011-11-23 Eli Zaretskii <eliz@gnu.org>
12528 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12529 On MS-DOS and MS-Windows, compare with loaddefs.el
12530 case-insensitively.
12532 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12534 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
12536 2011-11-23 Glenn Morris <rgm@gnu.org>
12538 * paths.el (rmail-file-name): Reformat the doc-string so that it
12541 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
12542 (rmail-auto-file): Ignore case in the "special" field names,
12543 as mail-fetch-field does for all others.
12545 * mail/rmail.el (rmail-forward):
12546 * mail/rmailkwd.el (rmail-set-label):
12547 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
12548 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
12550 * mail/rmail.el (rmail-current-message): Doc fix.
12552 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
12554 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
12556 * server.el (server-eval-and-print): Allow C-g (bug#6585).
12558 2011-11-22 Glenn Morris <rgm@gnu.org>
12560 * mail/rmailmm.el (test-rmail-mime-handler)
12561 (test-rmail-mime-bulk-handler)
12562 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
12564 2011-11-21 Juri Linkov <juri@jurta.org>
12566 * calc/calc.el (calc-read-key-sequence):
12567 Let-bind `input-method-function' to nil. (Bug#10018)
12569 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12571 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
12572 Tell the caller that the next line needs recomputation, even
12573 though it doesn't start a sexp (bug#10094).
12575 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
12577 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
12579 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
12581 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12582 Use force-same-window.
12584 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
12586 * descr-text.el (describe-char-unicode-data):
12587 * json.el (json-string-escape):
12588 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
12589 (Footnote-unicode, Footnote-style-p):
12590 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
12592 2011-11-20 Chong Yidong <cyd@gnu.org>
12594 * window.el (replace-buffer-in-windows): Restore interactive spec.
12596 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
12598 * electric.el (electric-indent-mode): Fix last change (too optimistic).
12600 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
12601 (byte-compile-global-not-obsolete-vars): New var.
12602 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
12604 (byte-compile-warn-obsolete): Align text with the one in *Help*.
12606 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
12608 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
12609 * progmodes/pascal.el (electric-pascal-equal):
12610 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
12611 * xml.el (xml-substitute-special): Fix typos.
12613 2011-11-20 Glenn Morris <rgm@gnu.org>
12615 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
12616 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
12618 (rmail-decode-mime-charset): Mark as obsolete.
12620 * mail/rmailsum.el (rmail-message-regexp-p-1):
12621 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
12622 Before using mime functions, check they are set. (Bug#10077)
12624 2011-11-19 Juri Linkov <juri@jurta.org>
12626 * info.el (Info-finder-find-node): Use `package--builtins' instead
12627 of `package-alist'. Use node names formed by the pattern "Keyword "
12628 and the keyword name.
12630 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
12632 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
12634 2011-11-19 Juri Linkov <juri@jurta.org>
12636 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
12637 that calls `revert-buffer' on all Info buffers. (Bug#9915)
12638 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
12639 `old-history', `old-history-forward'. Add let-binding
12640 `window-selected'. Remove calls to `kill-buffer',
12641 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
12642 before calling `Info-find-node', so `Info-find-node-2' will reread
12643 the Info file. Restore window positions only when `window-selected'
12646 2011-11-19 Juri Linkov <juri@jurta.org>
12648 * isearch.el (isearch-lazy-highlight-new-loop):
12649 Remove condition `(not isearch-error)'. (Bug#9918)
12651 * misearch.el (multi-isearch-search-fun): Add condition
12652 `(not bound)' to ignore lazy-highlighting search.
12653 Add the search-failed message "end of multi" when the end of
12654 multi-sequence is reached. Uncapitalize the search-failed
12655 message "Repeat for next buffer".
12657 * info.el (Info-search): Add the search-failed message
12658 "end of the manual" when the end of the manual is reached
12661 2011-11-19 Juri Linkov <juri@jurta.org>
12663 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
12664 Use non-destructive `remove' instead of `delete' because
12665 `Info-history-list' stored to `Info-isearch-initial-history-list' in
12666 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
12668 2011-11-19 Juri Linkov <juri@jurta.org>
12670 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
12671 to nil instead of binding `search-ring' and `regexp-search-ring'.
12674 2011-11-19 Eli Zaretskii <eliz@gnu.org>
12676 * simple.el (line-move): Force movement by logical lines for any
12677 hscrolled window, not only when auto-hscroll-mode is on.
12678 (line-move-visual): Update doc string to that effect. (Bug#10076)
12680 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
12682 * language/european.el (macintosh): Define as alias for mac-roman.
12684 2011-11-19 Eli Zaretskii <eliz@gnu.org>
12686 * mail/rmailmm.el (rmail-mime-display-header)
12687 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
12688 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
12689 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
12690 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
12691 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
12693 (rmail-mime-entity-segment): To get past the tagline, move forward
12694 2 more lines, to account for the 2 empty lines that precede and
12695 follow the line with the buttons.
12696 (rmail-mime-update-tagline): Move one more line, to get past the
12697 empty line that follows the buttons in the tagline. (Bug#9520)
12699 2011-11-19 Martin Rudalics <rudalics@gmx.at>
12701 * window.el (window-max-delta-1, window-min-delta-1)
12702 (window-min-size-1, window-state-get-1, window-state-put-1)
12703 (window-state-put-2): Use "window--" prefix.
12705 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
12707 * emacs-lisp/smie.el: Improve warnings and conflict detection.
12708 (smie-warning-count): New var.
12709 (smie-set-prec2tab): Use it.
12710 (smie-bnf->prec2): Improve warnings. Add docstring.
12711 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
12712 (smie-bnf--set-class): New function.
12713 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
12716 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
12717 (compilation-error-properties, compilation-move-to-column):
12718 Handle compilation-first-column while in the target buffer.
12720 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
12721 Don't hardcode point-min==1.
12723 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
12724 (eshell-rewrite-for-command): Remove workaround.
12725 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
12726 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
12727 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
12729 * files-x.el (modify-file-local-variable): Obey commenting conventions.
12731 2011-11-17 Glenn Morris <rgm@gnu.org>
12733 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12734 Ignore buffer-local generated-autoload-file if it is the same
12735 as the global value. (Bug#10049)
12737 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
12739 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
12740 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
12741 (reftex-toc-previous-heading, reftex-toc-max-level)
12742 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
12743 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
12744 (reftex-toc-do-promote, reftex-toc-promote-prepare)
12745 (reftex-toc-promote-action, reftex-toc-extract-section-number)
12746 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
12747 (reftex-toc-rename-label, reftex-toc-visit-location)
12748 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
12749 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
12750 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
12751 leaving "*toc*" only for references to the buffer.
12753 2011-11-17 Martin Rudalics <rudalics@gmx.at>
12755 * window.el (window-resize, delete-window, split-window):
12756 Replace window-splits by window-combination-resize.
12757 * cus-start.el (window-splits): Replace by window-combination-resize.
12759 2011-11-17 Glenn Morris <rgm@gnu.org>
12761 * progmodes/sh-script.el (sh-font-lock-keywords-var):
12762 Make bash entry derive from sh entry, not shell entry.
12764 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
12766 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
12769 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
12771 * menu-bar.el (menu-bar-file-menu):
12772 * printing.el (pr-ps-utility):
12773 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
12774 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
12775 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
12776 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
12777 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
12778 (icalendar--convert-cyclic-to-ical)
12779 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
12780 (icalendar--convert-ical-to-diary)
12781 (icalendar--convert-recurring-to-diary)
12782 (icalendar--convert-non-recurring-all-day-to-diary)
12783 (icalendar-import-format-sample):
12784 * progmodes/idlw-shell.el (idlwave-shell-mode):
12785 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
12786 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
12787 (vhdl-ps-print-init): Fix typos.
12789 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
12791 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
12792 FSF and collapse date sequence, obscure author/maintainer email address
12793 better, remove extra version line, track relocation of author's webpage.
12795 * progmodes/python.el (python-pdbtrack-input-prompt)
12796 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
12797 regular python pdb prompts. Adjustments shamelessly taken exactly as
12798 suggested in EmacsWiki page (tiny change):
12799 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
12801 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
12803 * expand.el (expand-pos, expand-index, expand-point):
12804 Remove redundant info from docstring.
12805 (expand-add-abbrevs): Doc fix.
12806 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
12807 (expand-sample-perl-mode-expand-list): Fix typos.
12809 * net/dbus.el (dbus-event-member-name):
12810 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
12811 * term/pc-win.el (msdos-create-frame-with-faces):
12812 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
12814 2011-11-16 Martin Rudalics <rudalics@gmx.at>
12816 * window.el (split-window, window-state-get-1)
12817 (window-state-put-1, window-state-put-2): Rename occurrences of
12818 window-nest to window-combination-limit.
12819 * cus-start.el (window-nest): Rename to window-combination-limit.
12821 2011-11-16 Chong Yidong <cyd@gnu.org>
12823 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
12824 regexp (Bug#10033).
12826 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
12828 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
12829 `completing-read' will remove *Completions* and will preserve
12830 current-buffer for us.
12831 (tmm-add-prompt): Users of *Completions* will always (re)set its
12833 (tmm-old-comp-map): Remove.
12835 2011-11-16 Glenn Morris <rgm@gnu.org>
12837 * mail/rmailedit.el: Require rmailmm when compiling.
12838 (rmail-old-mime-state): New declaration.
12839 (rmail-edit-current-message): If editing a mime message,
12840 edit the "raw" message from the mbox buffer.
12841 (rmail-cease-edit): Handle mime messages. (Bug#9840)
12843 2011-11-15 Glenn Morris <rgm@gnu.org>
12845 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
12846 which wasn't being used. Add optional arg to force given state.
12847 (rmail-mime): Add optional arg to force given state.
12849 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
12851 * allout.el (allout-encryption-plaintext-sanitization-regexps):
12852 * frame.el (display-mm-dimensions-alist):
12853 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
12854 (outline-move-subtree-down):
12855 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
12856 (newsticker--treeview-do-get-node):
12857 * net/quickurl.el (quickurl-list-buffer-name):
12858 * progmodes/dcl-mode.el (dcl-mode):
12859 * progmodes/gdb-mi.el (gdb-mapcar*):
12860 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
12862 2011-11-15 Glenn Morris <rgm@gnu.org>
12864 * mail/rmail.el (rmail-file-coding-system): It's only ever used
12865 in a boolean sense, so just make it a boolean, and fix the doc.
12866 (rmail-show-mime-function, rmail-mime-feature)
12867 (rmail-require-mime-maybe): Doc fixes.
12868 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
12870 * mail/rmailmm.el (rmail-show-mime): Doc fix.
12872 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
12874 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
12875 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
12876 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
12877 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
12879 2011-11-15 Glenn Morris <rgm@gnu.org>
12881 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
12882 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
12883 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
12884 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
12885 (rmail-mime, rmail-show-mime): Doc fixes.
12887 * term/ns-win.el (mode-line-frame-identification):
12888 Leave it alone. (Bug#10051)
12890 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
12892 * mail/rmailout.el (rmail-output-to-rmail-buffer):
12893 Handle empty buffers. (Bug#9978)
12895 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
12897 * international/mule.el (define-charset):
12898 * mail/rmailmm.el (rmail-mime-find-header-encoding):
12899 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
12900 * progmodes/verilog-mode.el (verilog-backward-token):
12901 * textmodes/ispell.el (lookup-words):
12902 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
12904 2011-11-14 Glenn Morris <rgm@gnu.org>
12906 * progmodes/executable.el
12907 (executable-make-buffer-file-executable-if-script-p):
12908 Handle file-modes returning nil.
12910 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
12911 message - not necessary, and causes problems. (Bug#9831)
12913 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
12915 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
12917 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
12918 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
12919 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
12921 2011-11-12 Martin Rudalics <rudalics@gmx.at>
12923 * window.el (window-resize, delete-window): Use window-splits
12924 variable instead of function.
12925 (window-state-get-1, window-state-put-2, window-state-put):
12926 Don't deal with windows' splits status.
12928 2011-11-12 Glenn Morris <rgm@gnu.org>
12930 * apropos.el (apropos-do-all, apropos-library, apropos-value)
12931 (apropos-documentation): Doc fixes.
12933 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
12935 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
12936 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
12938 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
12940 * electric.el (electric-indent-post-self-insert-function): Make it
12941 possible for a char to only indent in some circumstances.
12942 (electric-indent-mode): Simplify.
12944 2011-11-11 Martin Rudalics <rudalics@gmx.at>
12946 * window.el (windows-with-parameter): Remove unused function.
12947 (windows-at-side): Rename to window-at-side-list.
12948 (window-check, window-atom-check, window-atom-check-1)
12949 (window-side-check, window-size-ignore, window-size-fixed-1)
12950 (window-in-direction-2): Prefix with "window--".
12951 (window-tree-1): Rename to window--subtree, fix doc-string.
12953 2011-11-11 Glenn Morris <rgm@gnu.org>
12955 * subr.el (eval-after-load): If FILE is already loaded,
12956 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
12958 2011-11-10 Glenn Morris <rgm@gnu.org>
12960 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
12961 Call svn via vc-svn-command rather than vc-do-command.
12962 (vc-svn-command): Add --non-interactive. (Bug#9993)
12963 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
12965 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12966 Add toggle-read-only. (Bug#7292)
12967 * files.el (toggle-read-only): Mention that it should only
12968 be used interactively. (Bug#10006)
12970 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
12972 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12973 Adjust regexp for OCaml warnings.
12975 * electric.el (electric-pair-post-self-insert-function): Let user
12976 turn it off buffer-locally (bug#9932).
12978 * progmodes/python.el (python-beginning-of-statement):
12979 Rewrite (bug#2703).
12981 * progmodes/compile.el: Better handle TABs (bug#9749).
12982 (compilation-internal-error-properties)
12983 (compilation-next-error-function): Obey the target buffer's
12984 compilation-error-screen-columns.
12986 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
12988 * progmodes/meta-mode.el: Remove obsolete comments.
12989 (meta-right-comment-regexp, meta-ignore-comment-regexp):
12990 Fix typos in docstrings.
12992 2011-11-09 Martin Rudalics <rudalics@gmx.at>
12994 * window.el (window-size-fixed-p): Rewrite doc-string.
12995 (window-resizable-p): Rename to window--resizable-p. Update callers.
12996 (window--resizable): New function. Make all callers of
12997 window-resizable call window--resizable instead.
12998 (window-resizable): Rewrite in terms of window--resizable.
13000 2011-11-08 Glenn Morris <rgm@gnu.org>
13002 * progmodes/delphi.el (delphi-mode-syntax-table):
13003 Let define-derived-mode define a proper syntax table. (Bug#9994)
13005 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
13007 * window.el: Stay away from defsubst.
13008 (window-list-no-nils): Remove.
13009 (window-state-get-1, window-state-get): Use backquote instead.
13011 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13013 * emacs-lisp/find-func.el (find-function-read):
13014 Fix incorrect use of default argument in `completing-read'.
13016 2011-11-08 Martin Rudalics <rudalics@gmx.at>
13018 * window.el (display-buffer-function, special-display-function):
13019 Mention display-buffer-record-window but do not mention
13020 help-setup parameter in doc-strings.
13021 (window-min-delta): Fix doc-string typo.
13023 2011-11-08 Chong Yidong <cyd@gnu.org>
13025 * window.el (window-total-height, window-total-width): Doc fix.
13026 (window-body-size): Move from C.
13027 (window-body-height, window-body-width): Move to C.
13029 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
13031 * window.el: Make special-display like display-buffer-alist (bug#9532).
13032 (display-buffer--special-action): New function, morphed
13033 from display-buffer--special.
13034 (display-buffer): Use it to handle special-display-buffers at higher
13035 priority (just after display-buffer-alist).
13036 (display-buffer-fallback-action, display-buffer--other-frame-action)
13037 (pop-to-buffer-same-window): Remove display-buffer--special.
13039 2011-11-07 Glenn Morris <rgm@gnu.org>
13041 * calendar/cal-menu.el (cal-menu-set-date-title):
13042 Do nothing if not in a calendar. (Bug#9976)
13044 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
13046 * files.el (find-file): Always use selected-window.
13048 2011-11-07 Martin Rudalics <rudalics@gmx.at>
13050 * window.el (window-combinations): Make WINDOW argument
13051 mandatory. Rewrite doc-string.
13052 (walk-window-subtree, window-atom-check, window-min-delta)
13053 (window-max-delta, window--resize-this-window)
13054 (window--resize-root-window-vertically, window-tree)
13055 (balance-windows, window-state-put): Rewrite doc-strings as to
13056 not mention the term "subwindow".
13057 (window--resize-subwindows-skip-p): Rename to
13058 window--resize-child-windows-skip-p.
13059 (window--resize-subwindows-normal): Rename to
13060 window--resize-child-windows-normal.
13061 (window--resize-subwindows): Rename to
13062 window--resize-child-windows.
13063 (window-or-subwindow-p): Rename to window--in-subtree-p.
13065 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
13067 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
13068 Ensure that mbox format messages end in two newlines (Bug#9974).
13070 2011-11-06 Chong Yidong <cyd@gnu.org>
13072 * window.el (window-combination-p): Function deleted; its
13073 side-effect is not used in any existing code.
13074 (window-combinations, window-combined-p): Call window-*-child
13077 2011-11-05 Chong Yidong <cyd@gnu.org>
13079 * window.el (window-valid-p): Rename from window-any-p.
13080 (window-size-ignore, window-state-get): Callers changed.
13081 (window-normalize-window): Rename from window-normalize-any-window.
13082 New arg LIVE-ONLY, replacing window-normalize-live-window.
13083 (window-normalize-live-window): Delete.
13084 (window-combination-p, window-combined-p, window-combinations)
13085 (walk-window-subtree, window-atom-root, window-min-size)
13086 (window-sizable, window-sizable-p, window-size-fixed-p)
13087 (window-min-delta, window-max-delta, window-resizable)
13088 (window-resizable-p, window-full-height-p, window-full-width-p)
13089 (window-current-scroll-bars, window-point-1, set-window-point-1)
13090 (window-at-side-p, window-in-direction, window-resize)
13091 (adjust-window-trailing-edge, maximize-window, minimize-window)
13092 (window-deletable-p, delete-window, delete-other-windows)
13093 (record-window-buffer, unrecord-window-buffer)
13094 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
13095 (quit-window, split-window, window-state-put)
13096 (set-window-text-height, fit-window-to-buffer)
13097 (shrink-window-if-larger-than-buffer): Callers changed.
13099 2011-11-04 Eli Zaretskii <eliz@gnu.org>
13101 * mail/rmail.el (rmail-simplified-subject): Decode subject with
13102 rfc2047-decode-string.
13103 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
13106 * window.el (window-body-height, window-body-width): Mention in
13107 the doc string that the return values are in frame's canonical
13110 2011-11-03 Alan Mackenzie <acm@muc.de>
13112 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
13113 change in cc-engine.el.
13115 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
13117 * window.el (switch-to-buffer): Use `force-same-window' interactively.
13119 2011-11-02 Martin Rudalics <rudalics@gmx.at>
13121 * window.el (quit-window): Call unrecord-window-buffer after
13122 showing another buffer in the window. (Bug#9937)
13123 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
13125 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
13127 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
13128 Accept status with more than 9 shelves. (Bug#9935)
13129 Reported by Colin D Bennett <colin@gibibit.com>.
13131 2011-11-01 Martin Rudalics <rudalics@gmx.at>
13133 * help.el (with-help-window): Don't reference
13134 temp-buffer-show-specifiers in doc-string.
13136 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
13138 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
13141 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13143 * whitespace.el: New version 13.2.2.
13144 (whitespace-newline-mode): Disable properly. Reported by Sarah
13147 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
13149 * net/newst-treeview.el: Remove "Time-stamp".
13150 (newsticker--group-manage-orphan-feeds): Do not call
13151 newsticker--treeview-tree-update.
13152 (newsticker-treeview-update, newsticker-treeview):
13153 Call newsticker--treeview-tree-update if necessary.
13155 2011-10-30 Martin Rudalics <rudalics@gmx.at>
13157 * window.el (window-iso-combination-p, window-iso-combined-p)
13158 (window-iso-combinations): Remove "iso-" infix.
13159 Suggested by Chong Yidong.
13160 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
13161 (window-max-delta-1, window-resize, window--resize-siblings)
13162 (window--resize-this-window, adjust-window-trailing-edge)
13163 (split-window, balance-windows-1)
13164 (shrink-window-if-larger-than-buffer):
13165 * calendar/calendar.el (calendar-generate-window):
13166 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
13168 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
13170 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
13171 in place (bug#9907).
13172 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
13173 (eshell-rewrite-if-command, eshell-rewrite-for-command)
13174 (eshell-structure-basic-command, eshell-rewrite-while-command)
13175 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
13176 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
13177 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
13178 (eshell-do-pipelines-synchronously, eshell-eval-command):
13179 Use backquotes and prefer setq to set.
13180 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
13181 (eshell-macrop): Use functionp.
13182 (eshell-do-eval): Handle multiple expressions in `while' body.
13184 2011-10-30 Chong Yidong <cyd@gnu.org>
13186 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
13187 instead of set-mark (Bug#9810).
13189 2011-10-30 Chong Yidong <cyd@gnu.org>
13191 * window.el (split-window-below, split-window-right): Rename from
13192 split-window-above-each-other and split-window-side-by-side
13193 respectively. All callers changed.
13194 (split-window-sensibly, split-window-sensibly): Use them.
13195 (split-window-keep-point): Doc fix.
13197 * isearch.el: Add isearch-scroll property to split-window-below
13198 and split-window-right.
13200 * follow.el (follow-mode):
13201 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
13202 * progmodes/ada-xref.el (ada-gdb-application):
13203 * emulation/vip.el (vip-buffer-in-two-windows):
13204 * image-dired.el (image-dired-dired-with-window-configuration):
13205 * dired-x.el (dired-do-find-marked-files):
13206 * dired.el (dired-pop-to-buffer):
13207 * bs.el (bs--show-with-configuration):
13208 * vc/emerge.el (emerge-setup-windows):
13209 * textmodes/two-column.el (2C-two-columns):
13210 * textmodes/reftex-toc.el (reftex-toc):
13211 * progmodes/gdb-mi.el (gdb-setup-windows):
13212 * progmodes/fortran.el (fortran-window-create):
13213 * net/newst-treeview.el (newsticker--treeview-window-init):
13214 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
13215 * emulation/tpu-edt.el (tpu-gold-map):
13216 * emulation/crisp.el (crisp-mode-map):
13217 * calendar/calendar.el (calendar-basic-setup): Callers changed.
13219 2011-10-29 Chong Yidong <cyd@gnu.org>
13221 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
13223 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
13225 * textmodes/flyspell.el (flyspell-word): Fix char offset for
13226 forged Ispell output (Bug#7904).
13228 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
13230 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13232 * doc-view.el: Avoid ugly errors about not finding nil.
13233 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
13234 (doc-view-dvipdf-program, doc-view-unoconv-program)
13235 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
13236 Avoid nil or absolute file name as default value.
13237 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
13239 2011-10-28 Alan Mackenzie <acm@muc.de>
13241 * progmodes/cc-defs.el (c-version): -> 5.32.2.
13243 2011-10-28 Alan Mackenzie <acm@muc.de>
13245 Amend the handling of c-beginning/end-of-defun in nested declaration
13248 * progmodes/cc-vars.el (c-defun-tactic): Move here from
13249 cc-langs.el. Change it to a defcustom.
13251 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
13254 * progmodes/cc-engine.el (c-beginning-of-statement-1):
13255 Prevent "class foo : bar" being spuriously recognized as a label.
13257 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
13258 Add parameter `inclusive' (to include enclosing braces in the region).
13259 (c-widen-to-enclosing-decl-scope): New function.
13260 (c-while-widening-to-decl-block): New macro.
13261 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
13262 outward for defun boundaries, and correspondingly change symbol
13263 `respect-enclosure' to `go-outward'.
13264 (c-declaration-limits): Change algorithm to report only the "innermost"
13265 defun's boundaries.
13267 2011-10-28 Deniz Dogan <deniz@dogan.se>
13269 * net/rcirc.el (rcirc-mode): Use hard newlines.
13271 2011-10-28 Alan Mackenzie <acm@muc.de>
13273 Amend to indent and fontify macros "which include their own semicolon"
13274 correctly, using the "virtual semicolon" mechanism.
13276 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
13278 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
13279 Recode to scan one line at a time rather than having \n and \r
13280 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
13281 (c-forward-label): Amend for virtual semicolons.
13282 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
13284 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
13285 of the new C macros.
13287 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
13288 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
13289 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
13290 (c-opt-cpp-macro-define): Make into a full language variable.
13291 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
13292 AWK Mode (including \n, \r) removed, no longer needed.
13294 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
13295 Invoke c-make-macro-with-semi-re.
13297 * progmodes/cc-vars.el (c-macro-with-semi-re):
13298 (c-macro-names-with-semicolon): New variables.
13299 (c-make-macro-with-semi-re): New function.
13301 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13303 * vc/log-edit.el: Fill empty field rather than adding new one.
13304 (log-edit-add-field): New function.
13305 (log-edit-insert-changelog): Use it.
13307 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
13309 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
13311 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13313 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
13314 (gdb--check-interpreter): New function.
13317 2011-10-27 Glenn Morris <rgm@gnu.org>
13319 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
13320 (least-positive-float, least-negative-float)
13321 (least-positive-normalized-float, least-negative-normalized-float)
13322 (float-epsilon, float-negative-epsilon):
13323 Remove unnecessary declarations.
13325 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
13326 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
13327 (least-positive-float, least-negative-float)
13328 (least-positive-normalized-float, least-negative-normalized-float)
13329 (float-epsilon, float-negative-epsilon): Add doc-strings,
13330 based on those in cl.texi.
13332 * files.el (set-visited-file-name): If the major-mode changed,
13333 reload the local variables. (Bug#9796)
13335 2011-10-27 Chong Yidong <cyd@gnu.org>
13337 * subr.el (change-major-mode-after-body-hook): New hook.
13338 (run-mode-hooks): Run it.
13340 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13341 Use change-major-mode-before-body-hook.
13343 * simple.el (fundamental-mode):
13344 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
13345 change introducing fundamental-mode-hook.
13347 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
13349 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
13351 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
13353 * ido.el (ido-file-name-all-completions-1): Do not require
13354 tramp.el explicitly. (Bug#7583)
13356 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
13358 * progmodes/octave-mod.el:
13359 * progmodes/octave-inf.el: Update maintainer.
13361 2011-10-26 Chong Yidong <cyd@gnu.org>
13363 * subr.el (with-wrapper-hook): Rewrite doc.
13365 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
13367 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
13368 filenames "/method:foo:". (Bug#9793)
13370 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
13372 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
13375 2011-10-24 Glenn Morris <rgm@gnu.org>
13377 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
13379 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
13381 * notifications.el: Add the requirement of a running D-Bus session
13382 bus to the Commentary.
13384 2011-10-24 Juri Linkov <juri@jurta.org>
13386 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
13387 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
13390 2011-10-24 Juri Linkov <juri@jurta.org>
13392 * info.el (Info-following-node-name-re): Add newline to the list
13393 of allowed characters for leading space. (Bug#9824)
13395 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
13397 * progmodes/octave-inf.el (inferior-octave-mode-map):
13398 Fix C-c C-h binding.
13399 * progmodes/octave-mod.el (octave-help): Remove.
13401 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
13403 Sync with Tramp 2.2.3.
13405 * net/tramp-cache.el (top): Pacify byte-compiler using
13406 `init-file-user' and `site-run-file'.
13408 * net/trampver.el: Update release number.
13410 2011-10-23 Chong Yidong <cyd@gnu.org>
13412 * files.el (toggle-read-only): Remove obsolete comment about
13415 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
13416 for toggle-read-only. Note that this hasn't called vc-next-action
13417 since 2008-05-02, though it wasn't documented at the time.
13419 * vc/ediff-init.el (ediff-toggle-read-only-function):
13420 Use toggle-read-only.
13422 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
13424 Fix bug #9560, sporadic wrong indentation; improve instrumentation
13427 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
13428 correct faulty logical expression.
13429 (c-parse-state-state, c-record-parse-state-state):
13430 (c-replay-parse-state-state): New defvar/defuns.
13431 (c-debug-parse-state): Use new functions.
13433 2011-10-22 Martin Rudalics <rudalics@gmx.at>
13435 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
13436 last fix. Use window-in-direction correctly.
13438 2011-10-21 Chong Yidong <cyd@gnu.org>
13440 * progmodes/idlwave.el (idlwave-mode):
13441 * progmodes/vera-mode.el (vera-mode): No need to set
13442 require-final-newline; that's done in prog-mode.
13443 Suggested by Stefan Monnier.
13445 2011-10-21 Martin Rudalics <rudalics@gmx.at>
13447 * mouse.el (mouse-drag-window-above)
13448 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
13449 (mouse-drag-mode-line-1, mouse-drag-header-line)
13450 (mouse-drag-vertical-line-rightward-window): Remove.
13451 (mouse-drag-line): New function.
13452 (mouse-drag-mode-line, mouse-drag-header-line)
13453 (mouse-drag-vertical-line): Call mouse-drag-line.
13454 * window.el (window-at-side-p, windows-at-side): New functions.
13456 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
13458 * tar-mode.el (tar-grind-file-mode):
13459 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
13461 2011-10-21 Chong Yidong <cyd@gnu.org>
13463 * progmodes/idlwave.el (idlwave-mode):
13464 * progmodes/vera-mode.el (vera-mode):
13465 Use mode-require-final-newline.
13467 2011-10-20 Glenn Morris <rgm@gnu.org>
13469 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
13471 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
13473 * emulation/cua-base.el (cua-set-mark): Fix case of string.
13475 2011-10-20 Chong Yidong <cyd@gnu.org>
13477 * emulation/cua-base.el (cua-mode):
13478 * mail/footnote.el (footnote-mode):
13479 * mail/mailabbrev.el (mail-abbrevs-mode):
13480 * net/xesam.el (xesam-minor-mode):
13481 * progmodes/bug-reference.el (bug-reference-mode):
13482 * progmodes/cap-words.el (capitalized-words-mode):
13483 * progmodes/compile.el (compilation-minor-mode)
13484 (compilation-shell-minor-mode):
13485 * progmodes/gud.el (gud-tooltip-mode):
13486 * progmodes/hideif.el (hide-ifdef-mode):
13487 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
13488 * progmodes/subword.el (subword-mode):
13489 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
13490 * progmodes/which-func.el (which-function-mode):
13491 * term/tvi970.el (tvi970-set-keypad-mode):
13492 * term/vt100.el (vt100-wide-mode):
13493 * textmodes/flyspell.el (flyspell-mode):
13494 * textmodes/ispell.el (ispell-minor-mode):
13495 * textmodes/nroff-mode.el (nroff-electric-mode):
13496 * textmodes/paragraphs.el (use-hard-newlines):
13497 * textmodes/refill.el (refill-mode):
13498 * textmodes/reftex.el (reftex-mode):
13499 * textmodes/rst.el (rst-minor-mode):
13500 * textmodes/sgml-mode.el (html-autoview-mode)
13501 (sgml-electric-tag-pair-mode):
13502 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
13503 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
13504 * emulation/crisp.el (crisp-mode):
13505 * emacs-lisp/eldoc.el (eldoc-mode):
13506 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
13507 minor mode behavior.
13509 2011-10-19 Juri Linkov <juri@jurta.org>
13511 * descr-text.el (describe-char): Add #x2010 and #x2011 to
13512 the list of hard-coded chars with escape-glyph face.
13514 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
13516 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
13518 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
13520 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
13523 2011-10-19 Glenn Morris <rgm@gnu.org>
13525 * vc/vc-bzr.el (vc-bzr-after-dir-status):
13526 Ignore ignored files. (Bug#9726)
13528 2011-10-19 Chong Yidong <cyd@gnu.org>
13530 Doc fix for minor modes, stating that an omitted argument enables
13531 the mode unconditionally when called from Lisp.
13533 * abbrev.el (abbrev-mode):
13534 * allout.el (allout-mode):
13535 * autoinsert.el (auto-insert-mode):
13536 * autoarg.el (autoarg-mode, autoarg-kp-mode):
13537 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13538 (global-auto-revert-mode):
13539 * battery.el (display-battery-mode):
13540 * composite.el (global-auto-composition-mode)
13541 (auto-composition-mode):
13542 * delsel.el (delete-selection-mode):
13543 * desktop.el (desktop-save-mode):
13544 * dired-x.el (dired-omit-mode):
13545 * dirtrack.el (dirtrack-mode):
13546 * doc-view.el (doc-view-minor-mode):
13547 * double.el (double-mode):
13548 * electric.el (electric-indent-mode, electric-pair-mode):
13549 * emacs-lock.el (emacs-lock-mode):
13550 * epa-hook.el (auto-encryption-mode):
13551 * follow.el (follow-mode):
13552 * font-core.el (font-lock-mode):
13553 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
13554 * help.el (temp-buffer-resize-mode):
13555 * hilit-chg.el (highlight-changes-mode)
13556 (highlight-changes-visible-mode):
13557 * hi-lock.el (hi-lock-mode):
13558 * hl-line.el (hl-line-mode, global-hl-line-mode):
13559 * icomplete.el (icomplete-mode):
13560 * ido.el (ido-everywhere):
13561 * image-file.el (auto-image-file-mode):
13562 * image-mode.el (image-minor-mode):
13563 * iswitchb.el (iswitchb-mode):
13564 * jka-cmpr-hook.el (auto-compression-mode):
13565 * linum.el (linum-mode):
13566 * longlines.el (longlines-mode):
13567 * master.el (master-mode):
13568 * mb-depth.el (minibuffer-depth-indicate-mode):
13569 * menu-bar.el (menu-bar-mode):
13570 * minibuf-eldef.el (minibuffer-electric-default-mode):
13571 * mouse-sel.el (mouse-sel-mode):
13572 * msb.el (msb-mode):
13573 * mwheel.el (mouse-wheel-mode):
13574 * outline.el (outline-minor-mode):
13575 * paren.el (show-paren-mode):
13576 * recentf.el (recentf-mode):
13577 * reveal.el (reveal-mode, global-reveal-mode):
13578 * rfn-eshadow.el (file-name-shadow-mode):
13579 * ruler-mode.el (ruler-mode):
13580 * savehist.el (savehist-mode):
13581 * scroll-all.el (scroll-all-mode):
13582 * scroll-bar.el (scroll-bar-mode):
13583 * server.el (server-mode):
13584 * shell.el (shell-dirtrack-mode):
13585 * simple.el (auto-fill-mode, transient-mark-mode)
13586 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
13587 (line-number-mode, column-number-mode, size-indication-mode)
13588 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
13589 * strokes.el (strokes-mode):
13590 * time.el (display-time-mode):
13591 * t-mouse.el (gpm-mouse-mode):
13592 * tool-bar.el (tool-bar-mode):
13593 * tooltip.el (tooltip-mode):
13594 * type-break.el (type-break-mode-line-message-mode)
13595 (type-break-query-mode):
13596 * view.el (view-mode):
13597 * whitespace.el (whitespace-mode, whitespace-newline-mode)
13598 (global-whitespace-mode, global-whitespace-newline-mode):
13599 * xt-mouse.el (xterm-mouse-mode): Doc fix.
13601 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13602 Fix autogenerated docstring.
13604 2011-10-19 Juri Linkov <juri@jurta.org>
13606 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
13607 by checking environment variables "DESKTOP_SESSION" and
13608 "XDG_CURRENT_DESKTOP". (Bug#9779)
13610 2011-10-19 Juri Linkov <juri@jurta.org>
13612 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
13613 (browse-url-chromium-program, browse-url-chromium-arguments):
13615 (browse-url-default-browser): Check for `browse-url-chromium' and
13616 call `browse-url-chromium-program'.
13617 (browse-url-chromium): New command. (Bug#9779)
13619 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
13621 * facemenu.el (list-colors-duplicates): On Windows, detect more
13622 duplicates by assuming that only colors matching "^System" are
13623 special "system colors". (Bug#9722)
13625 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
13627 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
13628 to distinguish the author from the committer.
13630 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
13632 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
13634 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
13636 * international/mule.el (sgml-html-meta-auto-coding-function):
13637 Add support for detecting encoding in HTML5 specified only as
13638 <meta charset="UTF-8">. Implementation just makes http-equiv and
13639 content-type parts from HTML4 encoding string optional. (Bug#9716)
13641 2011-10-18 Glenn Morris <rgm@gnu.org>
13643 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
13645 2011-10-18 Chong Yidong <cyd@gnu.org>
13647 * faces.el (cursor): Doc fix.
13649 2011-10-17 Chong Yidong <cyd@gnu.org>
13651 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
13653 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
13655 * dirtrack.el (dirtrack): Support shell buffers with path
13656 prefixes, e.g. tramp-based remote shells. (Bug#9647)
13658 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
13660 * json.el: Bump version to 1.3 and note change in History.
13661 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
13663 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
13665 * comint.el (comint-insert-input, comint-send-input)
13666 (comint-get-old-input-default, comint-backward-matching-input)
13667 (comint-next-prompt): Use nil instead of `input' for field property of
13668 past user input (bug#114).
13670 * minibuffer.el (completion--replace): Inherit surrounding properties
13672 (minibuffer-complete-and-exit): Use it.
13674 * comint.el (comint--table-subvert): Quote the all-completions output
13677 2011-10-17 Martin Rudalics <rudalics@gmx.at>
13679 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
13681 * menu-bar.el (menu-bar-file-menu): Add entry for making new
13682 window on right of selected. (Bug#9350) Reword other window
13683 entries and separate them from frame entries.
13685 2011-10-15 Glenn Morris <rgm@gnu.org>
13687 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
13690 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
13692 * net/network-stream.el (network-stream-open-starttls):
13693 Improve detection of failure due to lack of TLS support.
13695 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
13696 putting the input text in front and in bold.
13698 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
13700 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
13702 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
13705 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
13706 unread-command-events rather than pushing yet-another event.
13708 2011-10-14 Eli Zaretskii <eliz@gnu.org>
13710 * mail/sendmail.el (sendmail-query-once): Improve the wording of
13711 the explanation of the possible choices. Make the options passed
13712 to completing-read shorter.
13714 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13716 * textmodes/flyspell.el (flyspell-large-region): Make sure
13717 extended character mode is used if defined (Bug#1339).
13719 2011-10-13 Eli Zaretskii <eliz@gnu.org>
13721 * simple.el (what-cursor-position): Fix the display of the
13722 character info for LRE, LRO, RLE, and RLO characters by appending
13725 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
13727 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
13728 even in case of error; add debug spec; simplify data flow.
13729 (with-timeout-handler): Remove.
13731 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
13733 Fix Bug#6019, Bug#9315.
13735 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
13736 complete `buffer-file-name', the local file name part could look
13737 remotely (for example on VMS).
13739 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
13740 `tramp-run-real-handler'.
13741 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
13742 already quoted by '"'.
13744 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
13745 Let `file-name-handler-alist' be nil, the local file name part
13746 could look remotely (for example on VMS).
13748 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
13750 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
13752 (flyspell-post-command-hook): ...to here.
13754 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
13756 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
13758 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
13759 using completion. Protect against "slow" callers.
13760 Remove the "message hack".
13762 2011-10-11 Juri Linkov <juri@jurta.org>
13764 * isearch.el (isearch-lazy-highlight-word): New variable.
13765 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
13768 2011-10-11 Glenn Morris <rgm@gnu.org>
13770 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
13771 like f90-previous-statement does.
13773 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13775 * eshell/eshell.el (eshell-command): History should be saved
13776 only in interactive use, to avoid error.
13778 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
13780 * minibuffer.el (completion-file-name-table): Fix last change,
13781 i.e. ignore normal errors but not the other ones.
13783 2011-10-10 Martin Rudalics <rudalics@gmx.at>
13785 * window.el (special-display-buffer-names)
13786 (special-display-regexps): Remove some remnants of earlier
13787 changes from doc-strings.
13788 (quit-windows-on): New function.
13790 * vc/vc.el (vc-revert, vc-rollback):
13791 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
13792 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
13793 (Bug#6183) (Bug#7074) (Bug#7447)
13795 2011-10-09 Martin Rudalics <rudalics@gmx.at>
13797 * window.el (frame-auto-hide-function): Add version tag.
13800 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
13802 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
13805 2011-10-09 Leo Liu <sdl.web@gmail.com>
13807 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
13810 2011-10-08 Glenn Morris <rgm@gnu.org>
13812 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
13813 before the first code statement zero indent. (Bug#9690)
13815 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
13817 * simple.el (count-words-region): Always count in the region.
13818 Report the number of lines and characters too.
13819 (count-words): New command, which counts in the buffer if the
13820 region is inactive, as count-words-region used to.
13821 (count-words--message): New function. Handle plurals.
13822 (count-lines-region): Make it an alias for count-words-region.
13824 * bindings.el (esc-map): Replace count-lines-region with
13825 count-words-region.
13827 2011-10-08 Martin Rudalics <rudalics@gmx.at>
13829 * window.el (window--delete): Delete dedicated frame
13830 unconditionally when argument KILL is non-nil. (Bug#9699)
13831 (switch-to-buffer): Fix doc-string typo.
13833 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13835 * eshell/eshell.el (eshell-command): Avoid using hooks.
13837 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
13839 * bindings.el ([M-left],[M-right]): Bind to left-word and
13840 right-word respectively.
13842 2011-10-07 Glenn Morris <rgm@gnu.org>
13844 * cus-start.el (debug-on-quit): Fix custom type.
13846 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13848 * subr.el (define-key-after): Clarify that the function is not
13849 useful for non-menu keymaps.
13851 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
13853 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13855 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
13856 in current minibuffer (Fix bug with recursive minibuffers).
13858 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
13860 * progmodes/gdb-mi.el (gdb): Doc fix.
13862 2011-10-05 Martin Rudalics <rudalics@gmx.at>
13864 * window.el (frame-auto-hide-function): New option replacing
13865 frame-auto-delete. Suggested by Stefan Monnier.
13866 (window--delete): Call frame-auto-hide-function instead of
13867 investigating frame-auto-delete.
13868 (window-point-1, set-window-point-1): New functions.
13869 (window-in-direction, record-window-buffer, window-state-get-1)
13870 (display-buffer-record-window): Use window-point-1 instead of
13872 (set-window-buffer-start-and-point): Use set-window-point-1.
13874 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13876 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
13878 2011-10-05 Glenn Morris <rgm@gnu.org>
13880 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
13881 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
13883 2011-10-05 Leo Liu <sdl.web@gmail.com>
13885 * subr.el (read-char-choice): Fix argument to buffer-live-p which
13886 works with buffer object.
13888 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13890 * mpc.el (mpc-tool-bar-map): Add labels.
13892 2011-10-04 Glenn Morris <rgm@gnu.org>
13894 * calendar/holidays.el (calendar-check-holidays): Doc fix.
13896 2011-10-04 Martin Rudalics <rudalics@gmx.at>
13898 * window.el (window--delete): New function.
13899 (frame-auto-delete): Resuscitate option.
13900 (bury-buffer, replace-buffer-in-windows)
13901 (quit-window): Rewrite using window--delete.
13902 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13903 Pass display-buffer-mark-dedicated to window--display-buffer-2
13906 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13908 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
13909 returns a list (bug#9554). Add remote file name completion.
13910 * comint.el (comint--table-subvert): Curry and get quote&unquote
13911 functions as arguments.
13912 (comint--complete-file-name-data): Adjust call accordingly.
13913 * pcomplete.el (pcomplete--table-subvert): Remove.
13914 (pcomplete-completions-at-point): Use comint--table-subvert instead.
13916 * minibuffer.el (completion-table-case-fold): Use currying.
13917 (completion--styles-type, completion--cycling-threshold-type):
13919 (completion-styles, completion-category-overrides)
13920 (completion-cycle-threshold): Use them.
13921 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
13922 completion-table-case-fold.
13924 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
13926 * minibuffer.el (completion-category-overrides): Fix type of styles
13927 and add more user friendly tags (bug#9660).
13929 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13931 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
13932 (mule-input-method-string): New widget.
13933 (default-input-method, language-info-custom-alist): Use it.
13935 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
13937 * pcomplete.el: Require comint.
13938 (pcomplete--common-suffix): Remove.
13939 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
13940 (pcomplete--table-subvert): Sync with comint--table-subvert.
13941 (pcomplete--entries): Use comint-completion-file-name-table.
13942 * comint.el (comint-unquote-filename): Simplify.
13943 (comint-completion-file-name-table): New function (bug#9616).
13944 (comint--complete-file-name-data): Use it.
13946 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
13947 (pcmpl-gnu-tar-buffer): Remove.
13948 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
13949 around. Make sure pcomplete-suffix-list is only changed temporarily.
13950 Don't look inside the tar's file if it's too large.
13952 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
13954 * cus-edit.el (custom-mode-map):
13955 * epa.el (epa-key-list-mode-map):
13956 * man.el (Man-mode-map):
13957 * startup.el (splash-screen-keymap):
13958 * simple.el (special-mode-map): Use scroll-up-command and
13959 scroll-down-command.
13961 * progmodes/idlw-help.el (idlwave-help-mode-map):
13962 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
13963 * net/newst-plainview.el (newsticker-mode-map):
13964 * emulation/ws-mode.el (wordstar-mode-map):
13965 * emulation/vi.el (vi-com-map):
13966 * calc/calc-graph.el (calc-graph-show-dumb):
13967 * term/sun.el (terminal-init-sun):
13968 * term/ns-win.el (global-map):
13969 * progmodes/grep.el (grep-mode-map):
13970 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
13971 * mail/rmail.el (rmail-mode-map):
13972 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
13974 * custom.el (custom-safe-themes, load-theme): Treat value of t for
13975 custom-safe-themes as special.
13977 2011-10-01 Julien Danjou <julien@danjou.info>
13979 * notifications.el (notifications-notify): Fix docstring.
13981 2011-10-01 Per Starbäck <per@starback.se>
13983 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
13985 2011-09-30 Martin Rudalics <rudalics@gmx.at>
13987 * startup.el (command-line-1): Fix last fix by inserting
13988 initial-scratch-message into *scratch* before displaying it.
13989 (Bug#9605) and (Bug#9636)
13991 2011-09-29 Eli Zaretskii <eliz@gnu.org>
13993 * simple.el (line-move): If auto-hscroll-mode is disabled and the
13994 window is hscrolled, move by logical lines. (Bug#9607)
13995 (line-move-visual): Update the doc string to the above effect.
13997 2011-09-29 Martin Rudalics <rudalics@gmx.at>
13999 * window.el (display-buffer-record-window): When WINDOW is the
14000 selected window use `point' instead of `window-point'. (Bug#9626)
14002 * startup.el (command-line-1): Use insert-before-markers when
14003 inserting initial-scratch-message. (Bug#9605)
14005 * help.el (help-window): Remove variable.
14007 2011-09-29 Glenn Morris <rgm@gnu.org>
14009 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
14011 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
14013 * descr-text.el (describe-char-categories): Accept category
14014 descriptions more than one line long.
14016 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
14018 * simple.el (delete-trailing-whitespace): Fix last change.
14020 * progmodes/perl-mode.el (perl-syntax-propertize-function):
14021 Don't confuse "y => 3" as the beginning of a `y' operation.
14023 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
14024 object has more than 4 slots (bug#9613).
14026 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
14028 * subr.el (with-output-to-temp-buffer):
14029 * net/quickurl.el (quickurl, quickurl-browse-url):
14030 Fix typos in docstrings.
14032 2011-09-27 Eli Zaretskii <eliz@gnu.org>
14034 * minibuffer.el (completion-styles)
14035 (completion-category-overrides): Cross reference each other in doc
14038 2011-09-27 Glenn Morris <rgm@gnu.org>
14040 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
14041 to split-string. (Bug#9606)
14043 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
14045 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
14048 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
14050 * emacs-lisp/package.el (list-packages): Fix echo area message.
14052 2011-09-27 Leo Liu <sdl.web@gmail.com>
14054 * ido.el (ido-read-internal): Accept cons cell HIST arg.
14056 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
14058 * net/dbus.el (dbus-unregister-object): Don't release services for
14059 registered signals. (Bug#9581)
14061 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
14063 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
14064 function that picks between cfengine 2 and 3 support
14065 automatically. Update docs accordingly.
14067 2011-09-22 Kenichi Handa <handa@m17n.org>
14069 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
14071 (indian-itrans-v5-table-for-tamil): New variable.
14072 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
14074 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
14076 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
14077 that's true if the current command involved collapsing of text.
14078 It's reset to false at the beginning of the next command.
14079 (allout-post-command-business): Move the cursor to the beginning
14080 of entry if the cursor is hidden and collapsing activity just
14083 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
14085 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
14086 tracking (Bug#9541).
14088 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
14090 * net/newst-reader.el (newsticker-html-renderer)
14091 (newsticker-show-news): Automatically load html rendering package
14092 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
14093 because w3m-fill-column is let-bound" and the error "Symbol's value
14094 as variable is void: w3m-fill-column".
14096 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
14098 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
14099 Release services only if they are defined. (Bug#9581)
14101 2011-09-23 Richard Stallman <rms@gnu.org>
14103 * textmodes/paragraphs.el (forward-sentence): For backwards case,
14104 distinguish start of paragraph from start of its text.
14106 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
14108 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
14109 (rmail-generate-viewer-buffer): Put that hook on view buffer.
14110 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
14112 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
14114 * international/mule-diag.el (mule-diag): Insert a newline after
14115 each fontset description.
14117 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
14119 * simple.el (delete-trailing-whitespace):
14120 Document last change; simplify.
14122 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
14124 * simple.el (delete-trailing-whitespace): Also delete
14125 extra newlines at the end of the buffer.
14127 * textmodes/picture.el: Make motion commands obey shift-select-mode.
14128 (picture-newline): Use forward-line so as to ignore fields.
14130 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
14132 * subr.el (with-wrapper-hook): Fix edebug spec.
14134 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
14136 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
14139 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
14141 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
14142 Fix nasty bug using wrong cached values.
14144 2011-09-23 Alan Mackenzie <acm@muc.de>
14146 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
14148 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
14150 * window.el (pop-to-buffer): Ensure right window is selected if we
14151 chose another frame.
14153 2011-09-22 Eli Zaretskii <eliz@gnu.org>
14155 * simple.el (what-cursor-position): Use get-char-property-change
14156 and next-single-char-property-change, to be able to show display
14157 properties that come from overlays as well as text properties.
14159 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
14161 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
14163 * cmuscheme.el (run-scheme, switch-to-scheme):
14164 * cus-edit.el (customize-group, custom-buffer-create)
14165 (customize-browse):
14167 * shell.el (shell):
14168 * mail/sendmail.el (mail):
14169 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
14171 2011-09-22 Richard Stallman <rms@gnu.org>
14173 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
14174 move back only to line beg, don't move back over blank lines.
14176 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
14178 * files.el (copy-directory): Set directory attributes only in case
14179 they could be retrieved from the source directory. (Bug#9565)
14181 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
14183 * progmodes/hideshow.el (hs-looking-at-block-start-p)
14184 (hs-find-block-beginning, hs-hide-level-recursive):
14185 Ignore strings as well as comments. (Bug#9502)
14187 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
14189 * progmodes/sql.el (sql-comint-postgres):
14190 Convert port number to a string. (Bug#9566)
14192 2011-09-22 Martin Rudalics <rudalics@gmx.at>
14194 * window.el (quit-window): Undedicate window when switching to
14195 previous buffer. Reported by Thierry Volpiatto
14196 <thierry.volpiatto@gmail.com>.
14197 (special-display-popup-frame): When popping up a new frame reset
14198 its previous buffers to nil. Simplify code.
14200 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
14202 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
14203 and process filter, as done also in `shell-command'.
14205 2011-09-21 Martin Rudalics <rudalics@gmx.at>
14207 * window.el (set-window-buffer-start-and-point):
14208 Call set-window-start with NOFORCE argument t.
14209 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
14210 (quit-window): Reword doc-string. Handle new format of
14211 quit-restore parameter. Don't delete window if it has a
14212 previous buffer we can show instead of the present one.
14213 (display-buffer-record-window): Rewrite using a new format for
14214 the quit-restore window parameter
14215 (special-display-popup-frame, display-buffer-same-window)
14216 (display-buffer-reuse-window, display-buffer-pop-up-frame)
14217 (display-buffer-pop-up-window, display-buffer-use-some-window):
14218 Adapt symbol passed to display-buffer-record-window.
14219 * help.el (help-window-setup): Handle new format of quit-restore
14222 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
14224 * faces.el (face-list): Fix docstring (bug#9564).
14226 * window.el (display-buffer--action-function-custom-type):
14227 Don't include internal functions in the Custom interface.
14229 2011-09-20 Juri Linkov <juri@jurta.org>
14231 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
14232 (Info-forward-node, Info-backward-node, Info-next-preorder)
14233 (Info-last-preorder): Use it. (Bug#9528)
14235 2011-09-20 Juri Linkov <juri@jurta.org>
14237 * info.el (Info-last-preorder): Visit last menu item only when
14238 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
14240 2011-09-20 Julien Danjou <julien@danjou.info>
14242 * password-cache.el (password-cache-remove): Remove entries even if the
14243 value is nil, so that password with a nil value (negative caching) is
14244 possible to invalidate.
14246 2011-09-20 Lawrence Mitchell <wence@gmx.li>
14248 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
14249 all whitespace around breakpoint. (Bug#9553)
14250 (f90-find-breakpoint): Only break at whitespace inside a comment.
14252 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
14254 * minibuffer.el (completion-file-name-table): Keep track of errors.
14255 (completion-table-with-predicate): Handle the case where pred1 is nil.
14256 * pcomplete.el (pcomplete-completions-at-point): Simplify.
14258 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
14260 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
14261 (debugger-return-value): Signal an error if the debugging context does
14262 not await any return value.
14264 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
14265 * image-mode.el (image-toggle-display-text)
14266 (image-toggle-display-image): Stay away from evil `intangible'.
14268 2011-09-19 Leo Liu <sdl.web@gmail.com>
14270 * replace.el (occur-revert-arguments): Make it permanent-local.
14271 (occur-mode): Don't call font-lock-defontify.
14273 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
14275 * net/ldap.el (ldap-search-internal): Don't push empty search
14278 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
14280 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
14282 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
14284 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
14285 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
14287 2011-09-18 Juri Linkov <juri@jurta.org>
14289 * buff-menu.el (Buffer-menu-mode-map):
14290 * dired.el (dired-mode-map):
14291 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
14292 (lisp-interaction-mode-map):
14293 * emacs-lisp/package.el (package-menu-mode-map):
14294 * epa.el (epa-key-list-mode-map):
14295 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
14296 (menu-bar-options-menu):
14297 * outline.el (outline-mode-menu-bar-map):
14298 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
14299 * vc/vc-dir.el (vc-dir-menu-map):
14300 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
14301 Capitalize non-function content words in menu item strings.
14303 * dired.el (dired-mode-map): Add menu item for
14304 `image-dired-dired-toggle-marked-thumbs'.
14306 2011-09-18 Juri Linkov <juri@jurta.org>
14308 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
14309 to `isearch-case-fold-search' and restore its original value
14310 after the `isearch-mode' call.
14312 2011-09-18 Juri Linkov <juri@jurta.org>
14314 * progmodes/grep.el (grep-process-setup): Don't check code for 1
14315 because `zgrep' returns 1 for successful matches (bug#9226).
14317 2011-09-18 Juri Linkov <juri@jurta.org>
14319 * info.el (Info-extract-menu-node-name): Check the second match
14320 for empty string (second test-case of bug#9528).
14321 (Info-last-preorder): Let-bind `Info-history' to nil to not add
14322 intermediate nodes to the history (first test-case of bug#9528).
14324 2011-09-18 Juri Linkov <juri@jurta.org>
14326 * info.el (Info-mode-syntax-table): New variable.
14327 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
14329 2011-09-18 Juri Linkov <juri@jurta.org>
14331 * info.el (Info-file-supports-index-cookies):
14332 Increment line-beginning-position's arg from 3 to 4 because makeinfo
14333 outputs one more line for long file names (bug#4142).
14335 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
14337 * newcomment.el (comment-normalize-vars): If prompting for
14338 comment-start, set comment-start-skip too (Bug#8424).
14340 2011-09-18 Johan Bockgård <bojohan@gnu.org>
14342 * icomplete.el: Fix previous fix of Bug#5849.
14343 (icomplete-mode): Don't set completion-show-inline-help.
14344 (icomplete-minibuffer-setup): Set completion-show-inline-help
14345 locally during icompletion.
14347 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
14349 * woman.el (woman2-process-escapes): Don't delete unrecognized
14350 escapes (Bug#7843).
14352 * files.el (inhibit-first-line-modes-regexps): Add image files.
14353 (hack-local-variables-prop-line): Return nil for malformed
14354 prop-lines (Bug#9044).
14356 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
14358 * net/tramp.el (top): Don't require 'shell.
14359 (tramp-methods): Fix docstring.
14360 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
14361 Return complete remote file name. Handle "smb" case.
14362 Use `tramp-tmpdir', if defined for the respective method.
14363 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
14365 * net/tramp-compat.el (top): Require 'shell.
14367 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
14368 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
14369 `tramp-current-host'.
14370 (tramp-get-remote-tmpdir): Remove.
14372 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
14373 `tramp-tmpdir' entries.
14374 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
14375 (tramp-smb-handle-file-attributes): Ignore errors.
14376 (tramp-smb-wait-for-output): Check also for process end.
14378 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
14380 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
14381 when sending QUIT (bug#9312).
14383 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
14385 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
14386 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
14387 occur-mode-display-occurrence.
14388 (occur-edit-mode): Add usage message.
14389 (occur-cease-edit): New command.
14390 (occur-after-change-function): Use text properties to find the
14391 position of the prefix text.
14392 (occur-engine): Set stickiness of prefix text properties.
14394 2011-09-17 Glenn Morris <rgm@gnu.org>
14396 * progmodes/etags.el (complete-tag):
14397 Fix call to completion-in-region. (Bug#9526)
14399 2011-09-17 Juri Linkov <juri@jurta.org>
14401 * textmodes/ispell.el (ispell-word): Add to the error message
14402 the word, ispell program name and current dictionary (bug#9121).
14403 (ispell-tex-arg-end): Capitalize "error" in the error message.
14405 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
14407 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
14410 2011-09-17 Juri Linkov <juri@jurta.org>
14412 * window.el (window-safe-min-height, window-safe-min-width):
14413 Fix typos (followup to bug#9522).
14415 2011-09-17 Sven Joachim <svenjoac@gmx.de>
14417 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
14419 2011-09-16 Eli Zaretskii <eliz@gnu.org>
14421 * simple.el (line-move): If goal-column is set, move by logical
14422 lines, not by display lines. (Bug#971)
14423 (next-line, previous-line, goal-column, line-move-visual): Doc fix
14424 to reflect the above change.
14426 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
14428 * image.el (imagemagick-register-types): Use regexp-opt.
14430 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
14432 * window.el (display-buffer-base-action): Rename from
14433 display-buffer-default-action. Make default value empty.
14434 (display-buffer-overriding-action): Convert to defvar.
14435 (display-buffer-fallback-action): New var.
14437 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
14439 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
14441 (package--add-to-archive-contents): If there is a duplicate entry
14442 with an older version, remove it.
14443 (package-menu-mark-delete, package-menu-mark-install)
14444 (package-menu-mark-unmark): Make unused args optional.
14445 (package-menu-mark-obsolete-for-deletion):
14446 Use package-menu-get-status instead of a regexp search.
14447 (package-menu-get-status): Use tabulated-list-entry.
14448 (package-menu-mark-upgrades): New command.
14449 (package-menu-mode-map): Bind it to U. Add it to menu bar.
14450 (package-menu-execute): Do installation before deletion.
14451 (package-menu-refresh, package-menu-execute): Use derived-mode-p
14452 instead of checking major-mode.
14453 (package-menu--find-upgrades): New function.
14455 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14457 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
14458 passwords in the log buffer.
14459 (smtpmail-process-filter): Update the process marker so that the
14460 "broken by peer" status message is inserted in the right place.
14462 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
14464 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
14465 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
14466 bibtex-completion-at-point-function.
14467 (bibtex-completion-at-point-function): Use them.
14469 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
14471 * mpc.el (mpc-constraints-tag-lookup): New function.
14472 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
14473 also to browser "album|playlist".
14475 2011-09-14 Juri Linkov <juri@jurta.org>
14477 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
14478 (isearch-edit-string): Use length of `isearch-string' when
14479 `isearch-fail-pos' returns nil.
14480 (isearch-message): Remove duplicate code and call
14481 `isearch-fail-pos' with arg `t'.
14483 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
14485 * replace.el (occur-mode-goto-occurrence): Don't force using other
14488 * dired-aux.el (dired-do-chmod): Don't provide initial input.
14490 2011-09-14 Martin Rudalics <rudalics@gmx.at>
14492 * window.el (display-buffer-window): Remove.
14493 (display-buffer-record-window): Use help-setup window parameter
14494 instead of variable display-buffer-window.
14495 (display-buffer-function, special-display-buffer-names)
14496 (special-display-function): Mention help-setup parameter instead
14497 of display-buffer-window in doc-string.
14498 * help.el (help-window-setup): New argument help-window.
14499 Use help-window-setup parameter instead of display-buffer-window.
14500 Reword some messages.
14501 (with-help-window): Pass window used for displaying the buffer
14502 to help-window-setup. Don't set display-buffer-window.
14504 2011-09-13 Glenn Morris <rgm@gnu.org>
14506 * emacs-lisp/debug.el (debugger-make-xrefs):
14507 Preserve point. (Bug#9462)
14509 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
14511 * window.el (window-deletable-p): Use next-frame.
14513 2011-09-13 Martin Rudalics <rudalics@gmx.at>
14515 * window.el (window-auto-delete): Remove.
14516 (window-deletable-p): Remove argument FORCE. Don't deal with
14517 dedication and previous buffers.
14518 (switch-to-prev-buffer): Don't delete window.
14519 (delete-windows-on): Delete a window's frame if and only if the
14520 window is dedicated.
14521 (replace-buffer-in-windows): Delete buffer's window or frame if
14522 and only if window is dedicated.
14523 (quit-window): Handle quit-restore as before last change.
14524 (bury-buffer): Delete window only if window-deletable-p returns t.
14526 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
14528 * window.el (window-deletable-p): Never delete the last frame on a
14531 2011-09-13 Glenn Morris <rgm@gnu.org>
14533 * help.el (describe-key-briefly): Copy previous standard-output change.
14535 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
14537 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
14539 2011-09-13 Glenn Morris <rgm@gnu.org>
14541 * emacs-lisp/lisp-mode.el (lisp-indent-function):
14542 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
14544 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
14546 * dired-aux.el (dired-mark-read-string): Don't return default
14547 value on empty input (Bug#9361).
14548 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
14549 Omit initial minibuffer contents.
14550 (dired-do-chmod): Signal an error on empty input.
14551 (dired-mark-read-string): Don't return default on empty input.
14553 * files.el (file-modes-symbolic-to-number): Doc fix.
14555 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
14557 * international/mule-cmds.el (ucs-completions): Remove.
14558 (read-char-by-name): Use complete-with-action instead; add metadata.
14560 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
14562 * window.el (display-buffer--action-function-custom-type)
14563 (display-buffer--action-custom-type): New vars.
14564 (display-buffer-alist, display-buffer-default-action)
14565 (display-buffer-overriding-action): Add defcustom types.
14567 * frame.el (delete-other-frames): Doc fix (Bug#276).
14569 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14571 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
14573 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
14575 Change modes that used same-window-* vars to use switch-to-buffer.
14577 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
14578 Use switch-to-buffer.
14580 * cus-edit.el (customize-group, custom-buffer-create)
14581 (customize-browse, custom-buffer-create-other-window):
14582 Use switch-to-buffer or switch-to-buffer-other-window.
14584 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
14585 (Info-prev, Info-up, Info-speedbar-goto-node)
14586 (info-display-manual): Use switch-to-buffer.
14587 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
14589 * mail/sendmail.el (mail): Use switch-to-buffer.
14590 (mail-recover): Use switch-to-buffer-other-window.
14592 * cmuscheme.el (run-scheme, switch-to-scheme):
14594 * shell.el (shell):
14595 * net/rlogin.el (rlogin):
14596 * net/telnet.el (telnet, rsh):
14597 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
14599 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
14601 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
14603 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14605 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
14606 so don't mention it (bug#9301).
14607 (dired-sort-toggle-or-edit): Clarify string further.
14609 * faces.el (face-spec-set-match-display): Make `(type graphic)'
14610 match `x', `w32' and `ns', like the manual says (bug#9029).
14612 * subr.el (eval-after-load): Doc string clarification (bug#9125).
14613 (process-kill-buffer-query-function): Mention the buffer name in
14616 * image-mode.el (image-next-line): The line parameter is mandatory
14619 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
14620 which can be useful (bug#9301).
14622 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
14624 * subr.el (match-string): Mention that the current buffer should
14625 be the same as the search was done in (bug#9282).
14627 * facemenu.el: Disable the remove-* commands if the mark isn't
14630 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
14632 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
14634 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
14636 * replace.el (occur-mode-goto-occurrence)
14637 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
14638 and display-buffer.
14640 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
14643 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
14644 special-display and same-window variables.
14645 (mail-other-window): Use switch-to-buffer-other-window.
14646 (mail-other-frame): USe switch-to-buffer-other-frame.
14648 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
14649 Use display-buffer-other-frame.
14650 (gdb-display-gdb-buffer): Use pop-to-buffer.
14652 * progmodes/gud.el (gud-goto-info): Use info-other-window.
14654 * progmodes/python.el: Don't set same-window-buffer-names.
14656 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
14658 * window.el (display-buffer-alist): Add *Python*.
14660 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
14662 * window.el (display-buffer-alist): Add entry for buffers
14663 previously handled same-window-*.
14664 (display-buffer-alist, display-buffer-default-action)
14665 (display-buffer-overriding-action): Mark as risky.
14666 (display-buffer-alist): Document action function changes.
14667 (display-buffer--same-window-action)
14668 (display-buffer--other-frame-action): New variables.
14669 (switch-to-buffer, display-buffer-other-frame): Use them.
14670 (display-buffer): Rename reuse-frame entry to reusable-frames.
14671 (display-buffer-reuse-selected-window): Function deleted.
14672 (display-buffer-reuse-window): Handle reusable-frames alist entry.
14673 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
14674 (display-buffer-special): New function.
14675 (display-buffer--maybe-pop-up-frame-or-window): Rename from
14676 display-buffer-reuse-or-pop-window. Split off special-display
14677 part into display-buffer-special.
14678 (display-buffer-use-some-window): Don't perform any special
14679 pop-up-frames handling.
14680 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
14681 (display-buffer--maybe-same-window): Rename from
14682 display-buffer-maybe-same-window.
14684 * info.el: Don't set same-window-regexps.
14685 (info-setup): New function.
14686 (info-other-window, info): Call it.
14688 * cus-edit.el: Don't set same-window-regexps.
14689 (customize-group): New argument.
14690 (customize-group-other-window): Use it.
14691 (customize-face, customize-face-other-window): Likewise.
14692 (custom-buffer-create-other-window): Use pop-to-buffer directly.
14696 * progmodes/gud.el: Don't set same-window-regexps.
14701 * mail/sendmail.el:
14702 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
14704 2011-09-10 Juri Linkov <juri@jurta.org>
14706 * isearch.el (isearch-edit-string): Remove obsolete mention of
14707 `C-w' (`isearch-yank-word-or-char') from docstring.
14708 (isearch-query-replace): Fix typo in docstring (bug#9466).
14710 2011-09-10 Juri Linkov <juri@jurta.org>
14712 * paren.el (show-paren-function): Don't show escaped parens.
14713 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
14715 2011-09-10 Eli Zaretskii <eliz@gnu.org>
14717 * mail/sendmail.el (mml-to-mime, mml-attach-file)
14718 (mm-default-file-encoding): Remove autoload forms, they are
14719 replaced with autoload cookies in mml.el and mm-encode.el.
14720 (mail-add-attachment): New command.
14721 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
14722 (mail-mode): Mention mail-insert-file and mail-add-attachment in
14724 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
14726 2011-09-10 Reuben Thomas <rrt@sc3d.org>
14728 * simple.el (count-words-region): Use buffer if there's no region
14731 2011-09-09 Juri Linkov <juri@jurta.org>
14733 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
14734 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
14735 (wdired-isearch-filter-read-only): New function. (Bug#6362)
14737 2011-09-09 Alan Mackenzie <acm@muc.de>
14739 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
14740 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
14742 2011-09-09 Eli Zaretskii <eliz@gnu.org>
14744 Fix for Savannah bug#9392.
14745 * simple.el (mail-encode-mml): New defvar.
14747 * mail/rmail.el (mail-encode-mml): Add a defvar.
14748 (rmail-enable-mime-composing): Default to t.
14749 (rmail-forward): Use MIME method of forwarding only if both
14750 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
14751 Set mail-encode-mml non-nil if the MIME method was used.
14753 * mail/sendmail.el (mml-to-mime): Add autoload form.
14754 (mail-encode-mml): Add a defvar.
14755 (mail-mode): Make mail-encode-mml buffer-local and initialize it
14757 (mail-send): If mail-encode-mml is non-nil, run the outgoing
14758 message through mml-to-mime, and reset mail-encode-mml to nil.
14760 2011-09-09 Glenn Morris <rgm@gnu.org>
14762 * woman.el (woman-if-body): When processing an .el block,
14763 do not delete the next .el block as well. (Bug#9447)
14764 (woman-special-characters): Add oq, cq, and hy characters.
14766 2011-09-08 Martin Rudalics <rudalics@gmx.at>
14768 * window.el (window-deletable-p): Make sure window is live before
14769 invoking window-prev-buffers.
14771 2011-09-08 Leo Liu <sdl.web@gmail.com>
14773 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
14775 2011-09-08 Juri Linkov <juri@jurta.org>
14777 * progmodes/compile.el (compilation-environment): Make it
14778 a defcustom (bug#8340).
14780 2011-09-08 Martin Rudalics <rudalics@gmx.at>
14782 * window.el (frame-auto-delete): Rename to window-auto-delete.
14783 Make it control auto-deletion of windows and/or frames.
14784 (window-deletable-p): New argument FORCE. Rewrite conditions
14785 for deleting window/frame. (Bug#9419)
14786 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
14787 Rewrite handling of case when window/frame can be deleted.
14788 (delete-windows-on): Call window-deletable-p with new FORCE
14789 argument t. (Bug#9456)
14791 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
14793 * help-mode.el (help-mode): Restore autoload.
14795 2011-09-07 Juri Linkov <juri@jurta.org>
14797 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
14798 `compilation-environment'. Set buffer-local
14799 `compilation-environment' to `thisenv' later after (funcall mode).
14802 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
14803 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
14804 instead of replacing its value. (Bug#8340)
14806 2011-09-07 Juri Linkov <juri@jurta.org>
14808 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
14809 based on text properties put by `grep-filter' instead of matching
14811 (grep-mode): Set buffer-local `compilation-error-screen-columns'
14812 to the value of `grep-error-screen-columns' (bug#9438).
14814 2011-09-07 Juri Linkov <juri@jurta.org>
14816 * simple.el (next-error-highlight, next-error-highlight-no-select):
14817 Doc fix (bug#9432).
14819 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
14821 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14822 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
14824 2011-09-07 Leo Liu <sdl.web@gmail.com>
14826 * net/rcirc.el (rcirc-mode): Conditionally initialize
14829 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
14831 * emacs-lisp/find-func.el (find-function-C-source): Only set
14832 find-function-C-source-directory after checking that we found a source
14833 file there (bug#9440).
14835 2011-09-06 Alan Mackenzie <acm@muc.de>
14837 * isearch.el (isearch-other-meta-char): Wherever a key list is
14838 unread, "unread" the prefix arg, too. This fixes bug #8901.
14840 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
14842 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
14844 2011-09-05 Juri Linkov <juri@jurta.org>
14846 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
14848 2011-09-05 Juri Linkov <juri@jurta.org>
14850 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
14851 keeping point where processing of grep matches begins, and
14852 continue to delete remaining escape sequences from the same point.
14853 (grep-filter): Make leading zero optional in "0?1;31m" because
14854 git-grep emits "\033[1;31m" escape sequences unlike expected
14855 "\033[01;31m" as GNU Grep does (bug#9408).
14856 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
14858 2011-09-05 Juri Linkov <juri@jurta.org>
14860 * subr.el (y-or-n-p): Capitalize "yes".
14862 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
14864 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
14865 `tramp-cache-unload-hook' where appropriate.
14866 (tramp-methods): Rename `tramp-remote-sh' to
14867 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
14868 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
14870 * net/tramp-sh.el (top): Don't require 'shell.
14871 (tramp-methods): Add `tramp-remote-shell' and
14872 `tramp-remote-shell-args' entries.
14873 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
14874 (tramp-sh-handle-shell-command): Remove.
14875 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
14876 Use `tramp-remote-shell'.
14878 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
14880 * mail/sendmail.el (sendmail-query-once-function): Delete.
14881 (sendmail-query-once): Save directly to send-mail-function.
14882 Update message-send-mail-function too.
14884 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
14886 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14888 * progmodes/python.el (python-mode-map): Use correct function to
14889 start python interpreter from menu-bar (as reported by Geert
14891 (inferior-python-mode-map): Fix typo.
14892 (python-shell-map): Remove.
14894 2011-09-03 Deniz Dogan <deniz@dogan.se>
14896 * net/rcirc.el (rcirc-print): Simplify code for
14897 rcirc-scroll-show-maximum-output. There is no need to walk
14898 through all windows to find the right one.
14900 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14902 * help.el (help-return-method): Doc fix.
14904 2011-09-03 Martin Rudalics <rudalics@gmx.at>
14906 * window.el (window-deletable-p): Don't return a non-nil value
14907 when there's a buffer that was shown in the window before.
14909 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14910 Set window's previous buffers to nil.
14912 2011-09-03 Eli Zaretskii <eliz@gnu.org>
14914 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
14915 newline before and after the tag line, so it doesn't interfere
14916 with determining the paragraph direction of bidirectional text.
14918 2011-09-03 Leo Liu <sdl.web@gmail.com>
14920 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
14922 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
14924 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
14925 (pop-to-buffer): Change interactive spec. Pass second argument
14926 directly to display-buffer.
14927 (display-buffer): Fix interactive spec. Use functionp to
14928 distinguish between a function and a list of functions.
14930 * abbrev.el (edit-abbrevs):
14931 * arc-mode.el (archive-extract):
14932 * autoinsert.el (auto-insert):
14933 * bookmark.el (bookmark-bmenu-list):
14934 * files.el (find-file):
14935 * view.el (view-buffer):
14936 * progmodes/compile.el (compilation-goto-locus):
14937 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
14939 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
14941 * window.el (display-buffer-alist): Doc fix.
14942 (display-buffer): Add docstring. Don't treat
14943 display-buffer-default specially.
14944 (display-buffer-reuse-selected-window)
14945 (display-buffer-same-window, display-buffer-maybe-same-window)
14946 (display-buffer-reuse-window, display-buffer-pop-up-frame)
14947 (display-buffer-pop-up-window)
14948 (display-buffer-reuse-or-pop-window)
14949 (display-buffer-use-some-window): New functions.
14950 (display-buffer-default-action): Use them.
14951 (display-buffer-default): Delete.
14952 (pop-to-buffer-1): Fix choice of actions.
14954 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
14956 * minibuffer.el (completion--insert-strings): Don't get confused by
14957 completion entries that end with an LF char.
14959 2011-09-01 Eli Zaretskii <eliz@gnu.org>
14961 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
14963 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
14965 * window.el (display-buffer): Restore interactive spec.
14966 (display-buffer-same-window, display-buffer-other-window):
14968 (pop-to-buffer-1): New function. Use the above.
14969 (pop-to-buffer, pop-to-buffer-same-window): Use it.
14970 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
14972 * view.el (view-buffer-other-window, view-buffer-other-frame):
14973 Just use pop-to-buffer.
14975 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14977 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
14979 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
14981 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
14983 2011-08-31 Richard Stallman <rms@gnu.org>
14985 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
14986 of the separation of rmail-view-buffer from rmail-buffer.
14987 If you say no to "replace original", the decrypt is in the
14988 view buffer. If you say yes, the decrypt goes into the
14991 2011-08-31 Martin Rudalics <rudalics@gmx.at>
14993 * window.el (display-buffer-window): Rewrite doc-string.
14994 (display-buffer-record-window): New function.
14995 (display-buffer-macro-specifiers)
14996 (display-buffer-even-window-sizes, display-buffer-set-height)
14997 (display-buffer-set-width, display-buffer-in-window)
14998 (display-buffer-reuse-window, display-buffer-split-specifiers)
14999 (display-buffer-side-specifiers, display-buffer-split-window-1)
15000 (display-buffer-split-window, display-buffer-split-atom-window)
15001 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
15002 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
15003 (display-buffer-other-window-means-other-frame)
15004 (display-buffer-normalize-special)
15005 (display-buffer-normalize-default)
15006 (display-buffer-normalize-argument)
15007 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
15008 (display-buffer-normalize-specifiers, display-buffer-frame)
15009 (display-buffer-same-window, display-buffer-same-frame)
15010 (display-buffer-other-window)
15011 (display-buffer-same-frame-other-window)
15012 (display-buffer-other-frame, pop-to-buffer-same-window)
15013 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
15014 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
15015 (switch-to-buffer-same-frame)
15016 (switch-to-buffer-other-window-same-frame)
15017 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
15018 (display-buffer-alist-set-1, display-buffer-alist-set-2)
15019 (display-buffer-alist-set): Remove.
15020 (display-buffer-function, special-display-buffer-names)
15021 (special-display-regexps, special-display-function):
15022 In doc-string refer to display-buffer-window and quit-restore
15024 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
15025 (special-display-frame-alist, special-display-popup-frame)
15026 (same-window-buffer-names, same-window-regexps, same-window-p)
15027 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15028 (split-window-preferred-function, split-height-threshold)
15029 (split-width-threshold, window-splittable-p)
15030 (split-window-sensibly, window--try-to-split-window)
15031 (window--frame-usable-p, even-window-heights)
15032 (window--even-window-heights, window--display-buffer-1)
15033 (window--display-buffer-2, display-buffer-other-frame):
15034 Restore old Emacs 23 code, order and doc-strings where applicable.
15035 (display-buffer-default, display-buffer-assq-regexp): New functions.
15036 (display-buffer-alist): Rewrite doc-string.
15037 (display-buffer-default-action)
15038 (display-buffer-overriding-action): New variables.
15039 (display-buffer, switch-to-buffer): Rewrite.
15040 (pop-to-buffer): Restore Emacs 23 behavior but use
15041 window-normalize-buffer-to-display.
15042 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
15043 Restore Emacs 23 behavior but use
15044 window-normalize-buffer-to-switch-to.
15045 (pop-to-buffer-same-window): Rewrite.
15046 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
15047 Rewrite using Emacs 23 options.
15049 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
15051 * net/tramp.el (tramp-root-regexp): Remove.
15052 (tramp-completion-file-name-regexp-unified)
15053 (tramp-completion-file-name-regexp-separate)
15054 (tramp-completion-file-name-regexp-url): Don't use leading volume
15055 letter on w32 systems. (Bug#5303, Bug#9311)
15056 (tramp-drop-volume-letter): Simplify definition.
15057 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
15059 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
15061 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
15064 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
15066 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
15068 2011-08-29 Juri Linkov <juri@jurta.org>
15070 * isearch.el (isearch-done): Don't display message "Mark saved"
15071 when arg `edit' is non-nil to prevent its flicker in the echo area.
15073 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
15075 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
15076 obsolete packages for deletion.
15078 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
15080 * help-mode.el (help-mode-map): Add special-mode-map to parent.
15081 (help-mode): Derive help-mode from special-mode. Don't invoke
15082 view-mode from help-mode.
15083 (help-xref-override-view-map): Remove.
15084 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
15085 view-mode is not used anymore.
15087 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
15089 * server.el (server-port): Doc fix.
15091 * cus-theme.el (custom-theme-choose-mode): Inherit from
15092 special-mode (Bug#9124).
15093 (custom-theme-choose-mode-map): Add special-mode to parent.
15095 2011-08-28 Alan Mackenzie <acm@muc.de>
15097 * progmodes/cc-fonts.el
15098 (c-make-font-lock-BO-decl-search-function): New function.
15099 (c-basic-matchers-after - "Fontify the clauses after various
15100 keywords"): Extract the three keyword lists for the 3 erroneous
15101 constructs from the list of four, and use the new function above
15102 in place of an old one.
15104 2011-08-28 Deniz Dogan <deniz@dogan.se>
15106 * net/rcirc.el (rcirc-insert-prev-input)
15107 (rcirc-insert-next-input): Remove unused argument.
15109 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
15111 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
15113 2011-08-27 Alan Mackenzie <acm@muc.de>
15115 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
15116 handle function pointer parameters properly.
15118 2011-08-27 Martin Rudalics <rudalics@gmx.at>
15120 * window.el (display-buffer-reuse-window): Fix case where
15121 selected window was reused with non-nil OTHER-WINDOW argument.
15124 2011-08-27 Deniz Dogan <deniz@dogan.se>
15126 * net/rcirc.el (rcirc-check-auth-status): Adding support for
15127 oftc's NickServ messages.
15129 2011-08-27 Glenn Morris <rgm@gnu.org>
15131 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
15133 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
15135 * emacs-lisp/package.el (package-install): Call package-initialize
15136 if called interactively.
15138 2011-08-26 Leo Liu <sdl.web@gmail.com>
15140 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
15142 2011-08-25 Juri Linkov <juri@jurta.org>
15144 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
15145 `search-whitespace-regexp' (bug#9364).
15147 2011-08-25 Juri Linkov <juri@jurta.org>
15149 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
15150 `regexp-search-ring' to their global values to protect from
15151 updating by `read-from-minibuffer' (bug#9185).
15153 2011-08-25 Juri Linkov <juri@jurta.org>
15155 * textmodes/ispell.el (ispell-command-loop): Add newline
15156 at the end of the "Use option `i'..." line.
15158 2011-08-25 Juri Linkov <juri@jurta.org>
15160 * battery.el (display-battery-mode): If `battery-status-function'
15161 or `battery-mode-line-format' is nil, display the message and set
15162 `display-battery-mode' to nil (bug#9363).
15164 2011-08-25 Eli Zaretskii <eliz@gnu.org>
15166 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
15167 bidi-string-mark-left-to-right; they are unnecessary now.
15169 2011-08-25 Deniz Dogan <deniz@dogan.se>
15171 * net/quickurl.el: Documentation typo fixes.
15173 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
15175 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
15177 2011-08-25 Glenn Morris <rgm@gnu.org>
15179 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
15181 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
15182 (smtpmail-via-smtp): Handle nil response from smtp.
15184 2011-08-24 Juri Linkov <juri@jurta.org>
15186 * proced.el (proced-marked): Inherit from `error' instead of
15187 `font-lock-warning-face'.
15189 * ibuffer.el (ibuffer-marked-face): Change default face from
15190 `font-lock-warning-face' to `warning'.
15191 (ibuffer-deletion-face): Change default face from
15192 `font-lock-type-face' to `error'.
15194 * battery.el (battery-update): Use the face `error' instead of
15195 `font-lock-warning-face' (bug#6117).
15197 2011-08-24 Juri Linkov <juri@jurta.org>
15199 * faces.el (success): Change face color from "Green3" to
15200 "ForestGreen" on light background (bug#9353).
15202 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
15204 * window.el (quit-window): Rename from quit-restore-window.
15205 Use same arglist as old quit-window.
15206 (frame-auto-delete): Doc fix.
15208 * view.el (view-mode-exit): Use quit-window.
15210 2011-08-24 Juri Linkov <juri@jurta.org>
15212 * isearch.el (isearch-ring-adjust1): Start visiting previous
15213 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
15214 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
15215 for empty search string (when the last search string is reused
15216 automatically) to adjust the isearch ring to the last element and
15217 prepare the correct index for further M-p commands (bug#9185).
15219 2011-08-24 Kenichi Handa <handa@m17n.org>
15221 * international/ucs-normalize.el: If decomposition property of
15222 CHAR is the default one (i.e. a list of CHAR itself), treat it as
15224 (nfd, nfkd): Likewise.
15226 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
15228 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
15229 from process filters aren't reliably transmitted to the surrounding
15230 accept-process-output.
15231 (mpc-proc-check): New function.
15232 (mpc-proc-sync): Use it (bug#8293)
15234 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
15236 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
15237 Add compatibility functions (bug#9313).
15239 2011-08-23 Eli Zaretskii <eliz@gnu.org>
15241 * cus-start.el (all): Add entry for bidi-paragraph-direction.
15243 * international/uni-bidi.el: Regenerate.
15245 2011-08-23 Kenichi Handa <handa@m17n.org>
15247 * international/charprop.el:
15248 * international/uni-bidi.el:
15249 * international/uni-category.el:
15250 * international/uni-combining.el:
15251 * international/uni-comment.el:
15252 * international/uni-decimal.el:
15253 * international/uni-decomposition.el:
15254 * international/uni-digit.el:
15255 * international/uni-lowercase.el:
15256 * international/uni-mirrored.el:
15257 * international/uni-name.el:
15258 * international/uni-numeric.el:
15259 * international/uni-old-name.el:
15260 * international/uni-titlecase.el:
15261 * international/uni-uppercase.el: Regenerate.
15263 2011-08-23 Martin Rudalics <rudalics@gmx.at>
15265 * help.el (help-window-setup): Fix message displayed when other
15266 window is reused. (Bug#9341)
15268 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
15270 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
15271 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
15273 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
15275 * shell.el (shell-parse-pcomplete-arguments): New function.
15276 (shell-completion-vars): Use it instead (bug#9160).
15278 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
15280 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
15281 strings and comments (bug#9333).
15283 * emacs-lisp/debug.el (debug-arglist): New function.
15284 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
15285 (debug-on-entry-1): Handle interpreted closures (bug#9120).
15287 2011-08-22 Juri Linkov <juri@jurta.org>
15289 * progmodes/compile.el (compilation-mode-font-lock-keywords):
15290 Revert regexp that highlights output switches to its old
15291 pre-2010-10-28 value and remove one `?' from it (bug#9319).
15293 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
15294 to check for empty output (bug#9226).
15296 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
15298 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
15299 symbol-constituent as the default, as that stops font-lock from
15300 working properly (Bug#8843).
15302 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15304 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
15305 `coding-system-for-*' around the process open call to avoid
15306 auth-source side effects.
15307 (smtpmail-try-auth-methods): Expand the secret password.
15308 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
15311 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
15313 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
15315 * emacs-lisp/find-func.el (find-function-noselect): New arg
15318 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
15319 signal an error for built-in functions (Bug#6664).
15321 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15323 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
15324 (smtpmail-try-auth-methods): Use it.
15326 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
15328 * font-lock.el (font-lock-fontify-region)
15329 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
15330 (font-lock-default-unfontify-buffer)
15331 (font-lock-default-fontify-region)
15332 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
15334 * progmodes/compile.el (compilation-error-properties):
15335 Fix confusion between file struct and message struct (Bug#9319).
15336 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
15339 * net/browse-url.el (browse-url-firefox): Don't call
15340 browse-url-firefox-sentinel unless using -remote (Bug#9328).
15342 2011-08-20 Glenn Morris <rgm@gnu.org>
15344 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
15346 * tutorial.el (tutorial--default-keys): Update some default bindings.
15348 * files.el (hack-local-variables): Fully ignore case for "mode:".
15350 2011-08-20 Alan Mackenzie <acm@muc.de>
15352 Resolve invalid use of a regexp in regexp-opt.
15354 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
15355 detection for a java annotation.
15357 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
15358 detection for a java annotation.
15360 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
15362 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
15364 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
15366 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
15369 2011-08-20 Alan Mackenzie <acm@muc.de>
15371 Fontify CPP expressions correctly when starting in the middle of
15372 such a construct. Mainly for when jit-lock etc. starts a chunk
15375 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
15377 (c-make-font-lock-search-form): New function, extracted from
15378 c-make-font-lock-search-function.
15379 (c-make-font-lock-search-function): Use the above function.
15380 (c-make-font-lock-context-search-function): New function.
15381 (c-cpp-matchers): Enhance the preprocessor expression case with
15383 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
15384 which takes an expression.
15386 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
15388 2011-08-20 Martin Rudalics <rudalics@gmx.at>
15390 * window.el (display-buffer-reuse-window)
15391 (display-buffer-pop-up-window): Don't reuse or split a side
15394 2011-08-19 Glenn Morris <rgm@gnu.org>
15396 * files.el (hack-local-variables-prop-line, hack-local-variables):
15397 Downcase "Mode:". (Bug#9331)
15399 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
15401 * international/characters.el: Add L and R categories.
15403 * subr.el (bidi-string-mark-left-to-right): Rename from
15404 string-mark-left-to-right. Use category search.
15406 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
15408 2011-08-18 Juri Linkov <juri@jurta.org>
15410 * faces.el (error, warning, success): New faces with definitions
15411 copied from old default values of `font-lock-warning-face',
15412 `compilation-warning', `compilation-info' (bug#6117).
15414 * font-lock.el (font-lock-warning-face): Inherit from `error'.
15416 * progmodes/compile.el (compilation-error): Inherit from `error'.
15417 (compilation-warning): Inherit from `warning'.
15418 (compilation-info): Inherit from `success'.
15420 * dired.el (dired-marked): Inherit from `warning'.
15421 (dired-flagged): Inherit from `error'.
15423 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15425 * mail/smtpmail.el (auth-source): Require to avoid problems with
15426 binding variables (bug#9298). Also clean up some unused
15429 * net/network-stream.el (network-stream-open-starttls):
15430 Support using starttls.el without using gnutls-cli.
15432 2011-08-17 Juri Linkov <juri@jurta.org>
15434 * progmodes/grep.el (rgrep): Handle the case when
15435 `grep-find-command' is a cons cell (bug#9278).
15437 2011-08-17 Martin Rudalics <rudalics@gmx.at>
15439 * window.el (display-buffer-pop-up-frame): Run frame creation
15440 function with BUFFER current (as special-display-popup-frame
15441 does). Reported by Drew Adams.
15443 2011-08-17 Daiki Ueno <ueno@unixuser.org>
15445 * epa-mail.el: Simplify GnuPG group expansion using
15447 (epa-mail-group-alist, epa-mail-group-modtime)
15448 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
15449 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
15450 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
15453 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
15455 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
15457 2011-08-16 Alan Mackenzie <acm@muc.de>
15459 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
15460 Correct, to avoid the inside of macros.
15462 2011-08-16 Richard Stallman <rms@gnu.org>
15464 * epa-mail.el: Handle GnuPG group definitions.
15465 (epa-mail-group-alist, epa-mail-group-modtime)
15466 (epa-mail-gnupg-conf-file): New variables.
15467 (epa-mail-parse-groups, epa-mail-sync-groups)
15468 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
15469 (epa-mail-expand-recipients): New functions.
15470 (epa-mail-encrypt): Call epa-mail-expand-recipients.
15472 * mail/rmail.el (rmail-epa-decrypt): New command.
15474 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
15475 Don't bind buffer-read-only, just inhibit-read-only.
15476 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
15477 (epa-decrypt-armor-in-region): Make error message clearer.
15479 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
15481 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
15482 and "a2b" to "ab" for `prefix'.
15484 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
15486 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
15488 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
15489 Fourquet (Bug#8804).
15491 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
15493 * startup.el (argi): Declare as global variable (bug#9275).
15495 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
15497 * subr.el (string-mark-left-to-right): Search the entire string
15498 for RTL script, not just the terminating character. Doc fix.
15500 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
15502 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
15504 (js--regexp-literal, js-syntax-propertize-function): Remove.
15505 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
15506 (js-mode-map): Don't rebind electric keys.
15507 (js-insert-and-indent): Remove.
15508 (js-mode): Setup electric-layout and electric-indent instead.
15510 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
15512 2011-08-12 Daiki Ueno <ueno@unixuser.org>
15514 * epa.el (epa-progress-callback-function): Fix the logic of
15515 displaying progress.
15516 * epa-file.el (epa-file-insert-file-contents): Make progress
15517 display more user-friendly.
15518 (epa-file-write-region): Ditto.
15520 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
15522 * subr.el (string-mark-left-to-right): New function.
15524 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
15525 Use string-mark-left-to-right.
15526 (list-buffers-noselect): Caller changed.
15528 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15529 Use string-mark-left-to-right.
15530 (tabulated-list-print): Recenter after moving point.
15532 2011-08-10 Juri Linkov <juri@jurta.org>
15534 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
15535 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
15536 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
15538 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
15540 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
15543 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
15545 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
15546 character. (Bug#6594)
15548 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
15550 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
15551 (image-dired--with-db-file): New macro.
15552 (image-dired-write-tags, image-dired-remove-tag)
15553 (image-dired-create-gallery-lists, image-dired-write-comments)
15554 (image-dired-get-comment, image-dired-mark-tagged-files)
15555 (image-dired-list-tags, image-dired-gallery-generate): Use it.
15556 (image-dired-gallery-generate): Use insert-file-contents.
15558 * time.el (display-time-world-list, display-time-world-display):
15559 * time-stamp.el (time-stamp-string):
15560 * vc/add-log.el (add-change-log-entry): Use setenv instead of
15561 set-time-zone-rule (Bug#7337).
15563 2011-08-08 Daiki Ueno <ueno@unixuser.org>
15565 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
15566 (epg-error-to-string, epg-errors-to-string): New function.
15567 (epg-wait-for-completion): Reverse errors list.
15568 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
15569 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
15570 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
15571 (epg-sign-keys, epg-generate-key-from-file)
15572 (epg-generate-key-from-string): Format errors by using
15573 epg-errors-to-string (bug#9255).
15574 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
15576 2011-08-07 Juri Linkov <juri@jurta.org>
15578 * faces.el (list-faces-display): Remove extra angle bracket
15579 from `help-mode-map'.
15581 * info.el (Info-history-toc-nodes): Doc fix.
15583 * longlines.el (longlines-mode): Doc fix.
15585 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
15587 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
15588 of statements and in a few more cases (bug#9183).
15590 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
15592 (cl-transform-lambda): Use them (bug#9239).
15594 2011-08-05 Martin Rudalics <rudalics@gmx.at>
15596 * window.el (display-buffer-same-window)
15597 (display-buffer-same-frame, display-buffer-other-window)
15598 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
15599 (pop-to-buffer-other-window)
15600 (pop-to-buffer-same-frame-other-window)
15601 (pop-to-buffer-other-frame): Make them defuns.
15602 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
15604 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
15606 * subr.el (make-composed-keymap): Move from C. Change calling
15607 convention, and improve docstring to bring attention to a subtle point.
15608 * minibuffer.el (completing-read-default): Adjust accordingly.
15610 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
15612 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
15613 (tramp-open-shell): Use `tramp-shell-quote-argument'.
15615 * net/trampver.el: Update release number.
15617 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
15619 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
15622 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15624 * mail/sendmail.el (sendmail-query-once): Restore the current
15625 buffer after querying (bug#9074).
15627 * dired.el (dired-flagged): Use different faces for marked and
15628 flagged files (bug#6117).
15630 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
15633 * ido.el (ido-mode): Switch off the message if called
15636 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
15637 before 587, since it appears that that's more likely to work for
15640 * cus-edit.el (custom-file): When running under emacs -q, always
15641 refuse to save the customizations, even if the .emacs file doesn't
15644 * info.el: Remove the `Info-beginning-of-buffer' function
15647 * net/network-stream.el (network-stream-open-starttls):
15648 Use `starttls-available-p' to see whether starttls.el can be used.
15650 2011-08-01 Martin Rudalics <rudalics@gmx.at>
15652 * window.el (display-buffer-in-window): Don't set dedicated status
15653 of window here (Bug#9215).
15654 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
15655 (display-buffer-pop-up-side-window)
15656 (display-buffer-in-side-window): Set dedicated status of window here.
15658 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
15660 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
15661 before binding generated-autoload-file.
15663 2011-08-01 Deniz Dogan <deniz@dogan.se>
15665 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
15667 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
15669 Sync with Tramp 2.2.2.
15671 * net/trampver.el: Update release number.
15673 2011-07-30 Juri Linkov <juri@jurta.org>
15675 * dired-aux.el (dired-touch-initial): Remove function.
15676 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
15677 current time, and `default' to the last modification time of the
15678 current marked file (bug#6887).
15680 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
15682 * simple.el (goto-line): Use string-to-number to provide a
15683 numeric argument to read-number (bug#9163).
15685 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
15687 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
15688 connection process, it could be nil.
15690 2011-07-27 Leo Liu <sdl.web@gmail.com>
15692 Simplify url handling in rcirc-mode.
15694 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
15695 (rcirc-browse-url-at-mouse): Remove.
15696 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
15698 2011-07-26 Alan Mackenzie <acm@muc.de>
15700 Fontify bitfield declarations properly.
15702 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
15703 (c-symbol-chars): Now exported as a lang variable.
15704 (c-not-primitive-type-keywords): New lang variable.
15706 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
15707 QT keyword "more" to prevent "more slots: ...." being spuriously
15708 parsed as a bitfield declaration.
15710 * progmodes/cc-engine.el (c-beginning-of-statement-1):
15711 Refactor and enhance to handle bitfield declarations.
15712 (c-punctuation-in): New function.
15713 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
15714 declarations properly.
15716 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
15718 * calendar/icalendar.el (icalendar--all-events): Take care of
15719 multiple vcalendars in a single file.
15720 (icalendar--convert-float-to-ical): Checkdoc fixes.
15722 2011-07-25 Deniz Dogan <deniz@dogan.se>
15724 * image.el (insert-image): Clarifying docstring.
15726 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
15728 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
15729 `tramp-send-command-and-check' if there is no error.
15730 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
15732 2011-07-22 Alan Mackenzie <acm@muc.de>
15734 Prevent cc-langs.elc being loaded at run time.
15736 * progmodes/cc-mode.el: Remove two autoload forms which loaded
15739 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
15740 "(require 'cc-langs)". Quote a form so it will evaluate at
15741 (cc-mode's) compilation time.
15743 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
15745 * net/tramp.el (tramp-file-name-handler): Avoid recursive
15746 loading. (Bug#9114)
15748 2011-07-21 Martin Rudalics <rudalics@gmx.at>
15750 * window.el (display-buffer-pop-up-window)
15751 (display-buffer-pop-up-side-window)
15752 (display-buffer-in-side-window): Call display-buffer-set-height
15753 and display-buffer-set-width after setting the new window's
15754 buffer so `fit-window-to-buffer' and friends work on the right buffer.
15756 2011-07-20 Sam Steingold <sds@gnu.org>
15758 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
15759 (etags-tags-included-tables): Call `convert-standard-filename' on
15760 the file names contained in TAGS so that windows Emacs can handle
15761 TAGS files created by cygwin ctags.
15763 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
15765 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
15766 which apparently didn't work.
15768 2011-07-19 Roland Winkler <winkler@gnu.org>
15770 * proced.el (proced-send-signal): For *Marked Processes* buffer
15771 put point at beginning of buffer.
15773 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
15775 * proced.el (proced-format): Make header lines align with the text
15778 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
15780 * view.el (view-buffer): Allow running in `special' modes if we're
15781 visiting a file (bug#8615).
15783 2011-07-19 Martin Rudalics <rudalics@gmx.at>
15785 * window.el (display-buffer-alist-of-strings-p)
15786 (display-buffer-alist-set-1, display-buffer-alist-set-2):
15788 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
15791 2011-07-18 Alan Mackenzie <acm@muc.de>
15793 Fontify declarators properly when, e.g., a jit-lock chunk begins
15794 inside a declaration.
15796 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
15798 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15800 (c-complex-decl-matchers): Insert reference to
15801 c-font-lock-enclosing-decls.
15803 * progmodes/cc-engine.el (c-backward-single-comment):
15804 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
15805 to nil around calls to (forward-comment -1).
15807 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15809 * image.el (put-image): Doc typo fix.
15811 * progmodes/etags.el (tags-search): Doc typo fix.
15813 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
15814 password if we get errors 550 to 554.
15816 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
15818 * net/gnutls.el (gnutls-log-level): Remove.
15820 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
15821 indentation character (bug#6380).
15823 * files.el (buffer-offer-save): Made permanently local (bug#6241).
15825 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
15826 to clarify what the problem is (bug#4291).
15828 * simple.el (current-kill): Clarify what
15829 `interprogram-paste-function' does (bug#7500).
15830 (auto-fill-mode): Document `auto-fill-function' in relation to
15831 `auto-fill-mode' (bug#2470).
15833 2011-07-16 Lawrence Mitchell <wence@gmx.li>
15835 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
15836 method if slot is read-only (bug#9035).
15838 2011-07-16 Martin Rudalics <rudalics@gmx.at>
15840 * frame.el (select-frame-set-input-focus): New argument NORECORD.
15841 * window.el (pop-to-buffer): Select window used even if it was
15842 selected before, see discussion of (Bug#8615), (Bug#6954).
15843 Pass argument NORECORD on to select-frame-set-input-focus.
15845 2011-07-15 Glenn Morris <rgm@gnu.org>
15847 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
15850 2011-07-09 Lawrence Mitchell <wence@gmx.li>
15852 * net/gnutls.el (gnutls-min-prime-bits): New variable.
15853 (gnutls-negotiate): Use it.
15855 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15857 * net/gnutls.el (gnutls-negotiate):
15858 Upcase `gnutls-algorithm-priority'.
15860 2011-07-15 Glenn Morris <rgm@gnu.org>
15862 * jka-compr.el (jka-compr-verbose): Move from here...
15863 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
15864 Add missing :version tag.
15865 * info.el: No need to require jka-compr when compiling.
15867 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15869 * net/gnutls.el (gnutls-algorithm-priority): New variable.
15870 (gnutls-negotiate): Use it.
15872 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
15874 * info.el (Info-beginning-of-buffer): New command.
15875 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
15876 announcing `b' as the key (bug#8325).
15877 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
15879 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
15881 * international/mule-cmds.el
15882 (describe-specified-language-support): Make the error message
15883 clearer (bug#8905).
15885 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
15887 * isearch.el (isearch-barrier): Add a doc string, since it's
15888 mentioned in a function doc string (bug#8678).
15890 2011-07-15 Martin Rudalics <rudalics@gmx.at>
15892 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
15893 buffer argument (Bug#9083) and self-identifying label argument.
15895 2011-07-15 Glenn Morris <rgm@gnu.org>
15897 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
15899 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15901 * man.el (Man-fontify-manpage): Fix message when formatting the
15902 man page (bug#7929).
15904 2011-07-14 Eli Zaretskii <eliz@gnu.org>
15906 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
15907 argument LRM; if non-nil, append an invisible LRM character to the
15909 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
15910 last argument non-nil, when formatting buffer names.
15911 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
15912 paragraph direction.
15914 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15916 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
15917 the man page name (bug#7929).
15919 * image.el (put-image): Mention the `put-image' overlay property
15922 * scroll-bar.el (set-scroll-bar-mode): Mention that
15923 `scroll-bar-mode' lists the values (bug#7772).
15925 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
15926 command (bug#7729).
15928 * rect.el (apply-on-rectangle): Return the point after the last
15930 (string-rectangle): Go to the point after the last operation
15933 * printing.el (pr-toggle-region): Clarify the documentation
15934 slightly (bug#7493).
15936 * time.el (display-time-update):
15937 Allow `display-time-mail-function' to return nil (bug#7158).
15938 Fix suggested by Detlev Zundel.
15940 * vc/diff.el (diff): Clarify the order the file names are read
15943 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
15944 the doc string (bug#7015).
15946 * font-lock.el (font-lock-maximum-decoration): Mention what
15947 numeric levels mean (bug#6935).
15949 * startup.el (initial-buffer-choice): Don't mention the `none'
15950 selection, which is against policy.
15952 2011-07-14 Martin Rudalics <rudalics@gmx.at>
15954 * window.el (display-buffer-normalize-special):
15955 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
15957 2011-07-14 Eli Zaretskii <eliz@gnu.org>
15959 * subr.el (version<, version<=, version=): Mention "-CVS" and
15960 "-12345" alpha version numbers.
15962 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
15964 * bindings.el: Add advertised binding for set-mark-command
15967 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
15969 * bindings.el (mode-line-other-buffer):
15970 * bookmark.el (bookmark-bmenu-2-window):
15971 * bs.el (bs-cycle-next, bs-cycle-previous):
15972 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
15975 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
15978 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
15980 * follow.el (follow-debug-message, follow-redisplay):
15981 * jka-cmpr-hook.el (with-auto-compression-mode):
15982 Fix typos in docstrings.
15984 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15986 * subr.el (with-silent-modifications): Clarify somewhat what the
15987 macro inhibits (bug#6525).
15989 * simple.el (eval-expression): Note what it does if called
15990 interactively (bug#6495).
15992 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
15994 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
15995 Use pop-to-buffer buffer-or-name if it is nil.
15997 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15998 Remove switch-to-buffer.
16000 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16002 * files.el (make-directory): Clarify that an error will be raised
16003 if there's an error (bug#6397).
16005 * startup.el (initial-buffer-choice): Add `none' as a choice
16008 * subr.el (add-hook): Clarify section about buffer-local hooks
16011 * dired.el (dired-flagged): Clarify doc string (bug#6117).
16013 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
16015 * tabify.el (untabify): Preserve the current column so that point
16016 doesn't move (bug#6032).
16018 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16020 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
16021 Rewrite to avoid awkward possessive "s" (bug#5986).
16023 2011-07-13 Glenn Morris <rgm@gnu.org>
16025 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
16026 (dired-insert-directory): Give a message the first time
16027 if ls is found not to support --dired.
16029 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16031 * simple.el (toggle-truncate-lines): Clarify what is toggled
16032 (bug#5580). Text by Drew Adams.
16034 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
16036 * simple.el (blink-matching-open): Make the error message from the
16037 last change less verbose.
16039 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
16041 * font-lock.el (font-lock-comment-face): Use the high contrast
16042 "yellow" color for font-lock-comment-face on low color terminals
16043 using a dark background color (bug#4221).
16045 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16047 * dired.el (dired-insert-set-properties): Make the doc string
16048 reflect what it does now (bug#5325).
16050 * simple.el (blink-matching-open): Say that we were unable to find
16051 the match within the limit, if we're limited (bug#5122).
16053 * international/mule-cmds.el (prefer-coding-system): Add an
16054 example (bug#4869).
16056 * progmodes/etags.el (tags-search): Document `file-list-form'
16059 2011-07-13 Lawrence Mitchell <wence@gmx.li>
16061 * net/browse-url.el (browse-url-default-browser)
16062 (browse-url-browser-function): Make the default browser choice a
16063 bit more logical (bug#4300). Also clean up the doc string.
16065 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
16067 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
16068 binary endings (bug#4440).
16070 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16072 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
16073 which can be pretty annoying (bug#8971).
16075 * jka-compr.el (jka-compr-verbose): New variable, and use
16076 throughout (bug#8971).
16078 * info.el (Info-find-file): Fall back on the installation
16079 directory if we can't find the info node anywhere else.
16081 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
16083 * vc/vc.el (vc-revert-file):
16084 Don't set file time-stamp in the past. (Bug#5181)
16086 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16088 * files.el (after-find-file): Give a better error message when
16089 trying to find a symlink that points to a file that doesn't exist
16092 * progmodes/cc-vars.el: Remove (probably) misleading comment
16095 2011-07-12 Johan Bockgård <bojohan@gnu.org>
16097 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
16099 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
16101 * mouse-sel.el: Hack restoring functionality, while keeping
16102 compatibility with 2010-07-03 changes to mouse selection.
16103 (mouse-sel-primary-overlay): New var.
16104 (mouse-sel-selection-alist): Use it.
16105 (mouse-sel-mode): Doc fix; remove points that are default features
16108 2011-07-12 Johan Bockgård <bojohan@gnu.org>
16110 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16111 Fix previous fix (bug#2490).
16113 2011-07-12 Roland Winkler <winkler@gnu.org>
16115 * textmodes/bibtex.el (bibtex-initialize):
16116 Use pop-to-buffer-same-window.
16117 (bibtex-search-entries): Fix interactive call.
16119 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16121 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16122 Fontise bytecomp Error lines more correctly (bug#2490).
16123 Fix suggested by Johan Bockgård.
16125 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
16127 * dired-x.el (dired-guess-default): Use `delete-dups'.
16129 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
16131 * dired.el (dired-mark-prompt):
16132 * dired-aux.el (dired-read-shell-command): Doc fix.
16134 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16136 * mail/sendmail.el (sendmail-query-once):
16137 Use `customize-save-variable' unconditionally, now that it works under
16140 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
16142 * cus-edit.el (custom-file): Take an optional no-error variable.
16143 (customize-save-variable): Set the variable, and give a warning if
16144 running under "emacs -q".
16146 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
16148 * loadhist.el (unload-feature-special-hooks):
16149 Add `auto-coding-functions', `fill-nobreak-predicate' and
16150 `find-directory-functions' (bug#5327).
16152 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16154 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
16156 * cus-edit.el (custom-guess-name-alist): -alist variables should
16157 use the `alist' type (bug#3120). Suggested by Drew Adams.
16159 * printing.el: Add documentation to all the `pr-toggle-' commands.
16161 2011-07-11 Leo Liu <sdl.web@gmail.com>
16163 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
16164 backends where it makes sense (bug#2623).
16166 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16168 * dired-x.el (dired-guess-default): Remove duplicate shell command
16169 entries (bug#2028).
16170 (dired-guess-default): Fix grammar in doc string (bug#2028).
16171 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
16173 * subr.el (remove-duplicates): New conveniency function.
16175 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
16177 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
16180 2011-07-10 Martin Rudalics <rudalics@gmx.at>
16182 * window.el (display-buffer-normalize-default): Don't invert
16183 meaning of even-window-heights. Reported by Eli Zaretskii
16186 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
16188 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
16190 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
16192 * window.el (display-buffer): Fix arguments to
16193 display-buffer-reuse-window in last change.
16195 * faces.el (link): Use a less saturated blue on light backgrounds.
16197 * startup.el (fancy-startup-text, fancy-about-text)
16198 (fancy-startup-tail): Use font-lock faces, for background safety.
16200 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
16202 * emulation/viper-cmd.el (viper-change-state-to-vi):
16203 Limit triggering of abbrev expansion (Bug#9038).
16205 2011-07-09 Martin Rudalics <rudalics@gmx.at>
16207 * window.el (display-buffer-default-specifiers): Remove.
16208 (display-buffer-macro-specifiers): Remove default specifiers.
16209 (display-buffer-alist): Default to nil.
16210 (display-buffer-reuse-window): New optional argument other-window.
16211 (display-buffer-pop-up-window): Allow splitting internal
16212 windows. Check whether a live window was created.
16213 (display-buffer-other-window-means-other-frame)
16214 (display-buffer-normalize-arguments): Rename to
16215 display-buffer-normalize-argument and rewrite. Set the
16216 other-window specifier.
16217 (display-buffer-normalize-special): New function.
16218 (display-buffer-normalize-options): Rename to
16219 display-buffer-normalize-default and rewrite.
16220 (display-buffer-normalize-options-inhibit): Remove.
16221 (display-buffer-normalize-specifiers): Rewrite.
16222 (display-buffer): Process other-window specifier and call
16223 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
16225 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
16226 (display-buffer-alist-set): Don't handle 'unset default values.
16227 (display-buffer-in-window, display-buffer-alist-set):
16228 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
16229 <tassilo@member.fsf.org>.
16231 2011-07-09 Leo Liu <sdl.web@gmail.com>
16233 * register.el (insert-register): Restore accidental change on
16234 2011-06-26. (Bug#9028)
16236 2011-07-09 Glenn Morris <rgm@gnu.org>
16238 * subr.el (remq): Handle the empty list. (Bug#9024)
16240 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
16242 * mail/sendmail.el (send-mail-function): No longer delay custom
16244 * custom.el (custom-initialize-delay): Doc fix.
16246 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
16248 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
16250 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
16252 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
16253 human-friendly prompt.
16255 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
16257 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
16258 provided by a particular plugin.
16260 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
16262 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
16263 save customizations (with "emacs -Q"), just set the variable
16264 instead of erroring out.
16266 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
16268 2011-07-08 Juri Linkov <juri@jurta.org>
16270 * arc-mode.el (archive-zip-expunge, archive-zip-update)
16271 (archive-zip-update-case): Use 7z if found by `executable-find'.
16272 The order of searching the available programs is the same as in
16273 `archive-zip-extract' (bug#8968).
16275 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
16277 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
16278 (menu-bar-options-menu): Tweak descriptions.
16280 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16282 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
16283 menu items into verb phrases (bug#1421). Also refill to fit under
16286 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
16288 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
16289 (Info-read-node-name): Doc fix (Bug#1084).
16291 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
16292 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
16293 (end-of-sexp, beginning-of-sexp)
16294 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
16295 (forward-symbol, forward-same-syntax, word-at-point)
16296 (sentence-at-point): Doc fix (Bug#1144).
16298 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16300 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
16301 should cover it (bug#1281).
16303 * cus-edit.el (custom-show): Mark as obsolete.
16305 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
16306 negotiation fails, then possibly try again with a non-encrypted
16307 connection (bug#9017).
16309 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
16312 2011-07-07 Richard Stallman <rms@gnu.org>
16314 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
16315 property, and handle its changed format.
16316 Look for the correct line number.
16317 Use file's line contents (but not past first =) to find
16318 correct line in message.
16320 2011-07-07 Kenichi Handa <handa@m17n.org>
16322 * international/characters.el (build-unicode-category-table):
16324 (unicode-category-table): Set it by unicode-property-table-internal.
16326 * international/mule-cmds.el (char-code-property-alist): Move to
16328 (get-char-code-property): Call unicode-property-table-internal to
16329 load a file. Call get-unicode-property-internal where necessary.
16330 (put-char-code-property): Call unicode-property-table-internal to
16331 load a file. Call put-unicode-property-internal where necessary.
16332 put-unicode-property-internal where necessary.
16333 (char-code-property-description):
16334 Call unicode-property-table-internal to load a file.
16336 * international/charprop.el:
16337 * international/uni-bidi.el:
16338 * international/uni-category.el:
16339 * international/uni-combining.el:
16340 * international/uni-comment.el:
16341 * international/uni-decimal.el:
16342 * international/uni-decomposition.el:
16343 * international/uni-digit.el:
16344 * international/uni-lowercase.el:
16345 * international/uni-mirrored.el:
16346 * international/uni-name.el:
16347 * international/uni-numeric.el:
16348 * international/uni-old-name.el:
16349 * international/uni-titlecase.el:
16350 * international/uni-uppercase.el: Regenerate.
16352 * loadup.el: Load international/charprop.el before
16353 international/characters.
16355 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
16357 * window.el (next-buffer, previous-buffer): Signal an error if
16358 called from a minibuffer window.
16360 * bindings.el: Revert 2011-07-04 change.
16362 2011-07-06 Richard Stallman <rms@gnu.org>
16364 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
16365 (rmail-mime-insert-bulk, rmail-mime-insert-text):
16366 Treat markers like ints.
16367 (rmail-mime-entity): Doc fix.
16369 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16371 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
16372 defcustom again for backwards compatibility.
16374 * simple.el (shell-command-on-region): Fill.
16376 * dired-aux.el (dired-kill-line): Add a doc string.
16378 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
16379 to "\\sw\\|\\s_" (bug#358).
16381 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
16382 (dired-unmark-backward): Ditto.
16383 (dired-flag-backup-files): Ditto.
16385 * dired-x.el (dired-mark-sexp): Ditto.
16387 2011-07-06 Richard Stallman <rms@gnu.org>
16389 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
16390 (rmail-mime-entity): New arg TRUNCATED.
16391 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
16393 (rmail-mime-save): Warn if entity is truncated.
16394 (rmail-mime-toggle-hidden): Likewise, for showing.
16395 (rmail-mime-process-multipart): Record when an entity is truncated.
16397 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
16398 if ENTITY is a string.
16400 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16402 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
16403 of faces when `M-C-x'-ing their definitions (bug#8378).
16404 Also clean up the code slightly.
16406 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
16407 because that makes the colors go away.
16409 * mail/sendmail.el (send-mail-function): Change the default to
16410 `sendmail-query-once'.
16411 (sendmail-query-once): Add an autoload cookie.
16413 * net/network-stream.el (network-stream-open-starttls): Try using
16414 a plain connection even if the server offered STARTTLS, and we
16415 kinda wanted to use it, if Emacs doesn't have any STARTTLS
16416 capability. This should make smtpmail.el work in slightly more
16419 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
16421 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
16423 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
16425 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
16427 * progmodes/sql.el: Version 3.0
16428 (sql-product-alist): Add product :completion-object,
16429 :completion-column, and :statement attributes.
16430 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
16431 (sql-mode-syntax-table): Mark all punctuation.
16432 (sql-font-lock-keywords-builder): Temporarily remove fallback on
16434 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
16435 (sql-mode-oracle-font-lock-keywords): Improve.
16436 (sql-oracle-show-reserved-words): New function for development.
16437 (sql-product-font-lock): Simplify for source code buffers.
16438 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
16440 (sql-highlight-product): Set product specific syntax table.
16441 (sql-mode-map): Add statement movement functions.
16442 (sql-ansi-statement-starters, sql-oracle-statement-starters):
16444 (sql-statement-regexp, sql-beginning-of-statement)
16445 (sql-end-of-statement, sql-signum): New functions.
16446 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
16447 (sql-show-sqli-buffer): Bug fix.
16448 (sql-interactive-mode): Store connection data as buffer local.
16449 (sql-connect): Add NEW-NAME parameter. Redesign interaction
16450 with sql-interactive-mode.
16451 (sql-save-connection): Save buffer local settings.
16452 (sql-connection-menu-filter): Change menu entry name.
16453 (sql-product-interactive): Bug fix.
16454 (sql-preoutput-hold): New variable.
16455 (sql-interactive-remove-continuation-prompt): Bug fixes.
16456 (sql-debug-redirect): New variable.
16457 (sql-str-literal): New function.
16458 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
16460 (sql-oracle-save-settings, sql-oracle-restore-settings)
16461 (sql-oracle-list-all, sql-oracle-list-table): New functions.
16462 (sql-completion-object, sql-completion-column)
16463 (sql-completion-sqlbuf): New variables.
16464 (sql-build-completions-1, sql-build-completions)
16465 (sql-try-completion): New functions.
16466 (sql-read-table-name): Use them.
16467 (sql-contains-names): New buffer local variable.
16468 (sql-list-all, sql-list-table): Use it.
16469 (sql-oracle-completion-types): New variable.
16470 (sql-oracle-completion-object, sql-sqlite-completion-object)
16471 (sql-postgres-completion-object): New functions.
16473 2011-07-06 Glenn Morris <rgm@gnu.org>
16475 * window.el (pop-to-buffer): Doc fix.
16477 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
16479 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
16481 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
16483 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
16485 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
16487 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
16489 * button.el (button): Inherit from link face. Suggested by Dan
16492 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16494 * progmodes/gdb-mi.el: Fit in 80 columns.
16495 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
16498 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
16499 if imenu is simply not configured (bug#8941).
16501 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
16503 * allout.el (allout-post-undo-hook): New allout outline-change
16504 event hook to signal undo activity.
16505 (allout-post-command-business): Run allout-post-undo-hook if an
16506 undo just occurred.
16507 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
16508 * allout-widgets.el (allout-widgets-after-undo-function):
16509 Ensure the integrity of the current item's decoration after it has been
16510 in the vicinity of an undo.
16511 (allout-widgets-mode): Include allout-widgets-after-undo-function
16512 on the new allout-post-undo-hook.
16514 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16516 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
16517 Let define-derived-mode define it.
16518 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
16519 cycles of abbrev-table inheritance (bug#8998).
16521 2011-07-05 Roland Winkler <winkler@gnu.org>
16523 * textmodes/bibtex.el: Add support for biblatex.
16524 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
16525 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
16526 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
16527 (bibtex-entry-alist, bibtex-field-alist): New variables.
16528 (bibtex-entry-field-alist): Obsolete alias for
16529 bibtex-BibTeX-entry-alist.
16530 (bibtex-entry-alist, bibtex-field-alist): New widgets.
16531 (bibtex-set-dialect): New command.
16532 (bibtex-entry-type, bibtex-entry-head)
16533 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
16534 Bind via bibtex-set-dialect.
16535 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
16536 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
16537 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
16538 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
16539 Define via bibtex-set-dialect.
16540 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
16541 Obey bibtex-no-opt-remove-re.
16542 (bibtex-vec-push, bibtex-vec-incr): New functions.
16543 (bibtex-format-entry, bibtex-field-list)
16544 (bibtex-print-help-message, bibtex-validate)
16545 (bibtex-search-entries): Use new format of bibtex-entry-alist.
16547 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16549 * progmodes/compile.el (compilation-goto-locus):
16550 * net/tramp-cmds.el (tramp-append-tramp-buffers):
16551 * bs.el (bs-cycle-next, bs-cycle-previous):
16552 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
16553 * bindings.el (mode-line-other-buffer):
16554 * autoinsert.el (auto-insert):
16555 * arc-mode.el (archive-extract):
16556 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
16558 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
16560 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
16561 Fix check of `emacs-lock-unlockable-modes'.
16562 Coerce true values of `emacs-lock--try-unlocking' to t.
16564 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
16566 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
16567 * emacs-lock.el: New file.
16569 2011-07-05 Julien Danjou <julien@danjou.info>
16571 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
16572 than `boundp' to check if face is set.
16574 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
16576 * register.el (registerv-make):
16577 * window.el (window-min-height): Fix typos in docstrings.
16579 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
16581 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
16584 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
16586 * server.el (server-execute): Catch quit and call
16587 `server-return-error' to pass the error back to emacsclient and
16588 close the connection (bug#8942).
16590 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
16592 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
16593 insecure exception for current topic. Also note that auto-saves
16594 are handled differently.
16596 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
16597 State variables for tracking auto-save inhibition situation.
16599 (allout-write-contents-hook-handler): Rename from
16600 'allout-write-file-hook-handler', and describe how it depends on
16601 write-contents-functions sensitivity to non-nil value to prevent
16604 (allout-auto-save-hook-handler): Remove. auto-save does not check
16605 this in individual buffers, only in the starting buffer, so this
16606 is not the right way for us to inhibit auto-save in a buffer
16607 according to its condition.
16609 (allout-mode): Use new allout-write-contents-hook-handler, and
16610 only with write-contents-functions. Remove auto-save provisions -
16611 they're implemented elsewhere.
16613 (allout-before-change-handler): If undo is in progress, note that
16614 for attention of allout-post-command-business.
16616 (allout-post-command-business): If the command we're following was
16617 an undo, check for change in the status of encrypted items and
16618 adjust auto-save inhibitions accordingly.
16620 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
16621 according to whether there are or aren't any plain-text topics
16622 pending encryption.
16624 (allout-inhibit-auto-save-info-for-decryption):
16625 Adjust buffer-saved-size and some allout state to inhibit auto-saves
16626 if there are plain-text topics pending encryption.
16628 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
16629 buffer-saved-size and some allout state to not inhibit auto-saves
16630 if there are no longer any plain-text topics pending encryption.
16632 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
16633 No longer provide for exemption of the current topic.
16635 2011-07-04 Juri Linkov <juri@jurta.org>
16637 Add 7z operations to delete and save changed members (bug#8968).
16638 * arc-mode.el (archive-7z-expunge, archive-7z-update):
16640 (archive-7z-write-file-member): New function.
16641 (archive-7z-summarize): Fix the number of dashes in the
16644 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
16646 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
16649 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
16651 * bindings.el: Ignore next-buffer and previous-buffer in
16652 minibuffer-local-map.
16654 * font-lock.el (font-lock-builtin-face): Change light background
16655 color to dark slate blue (Bug#6693).
16657 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
16659 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
16661 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
16663 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
16664 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16665 Add switch-to-buffer.
16667 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16669 * isearch.el (isearch-search-fun-function): Clarify further the
16670 meaning of the function returned.
16672 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
16674 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
16676 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
16677 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
16679 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
16680 `tramp-default-remote-path' does not exist.
16681 (tramp-send-command-and-read): New optional argument NOERROR.
16682 (tramp-open-connection-setup-interactive-shell)
16683 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
16684 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
16685 (tramp-process-sentinel): Flush also process' connection property.
16686 (tramp-sh-handle-start-file-process): Do not set process
16687 sentinel. It is done now ...
16688 (tramp-maybe-open-connection): ... here. (Bug#8929)
16690 2011-07-04 MON KEY <monkey@sandpframing.com>
16692 * play/animate.el (animate-string): Doc fixes and allow changing
16693 the buffer name (bug#5417).
16695 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16697 * play/animate.el (animation-buffer-name): Rename from *animate*.
16699 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
16701 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
16702 This is simpler and helps future-proof the code.
16703 (timer-until): Use time-subtract and float-time.
16704 (timer--time-less-p): Use time-less-p.
16706 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
16708 * type-break.el (timep): Use the value of `float-time' to avoid a
16709 byte-compiler warning.
16711 * server.el (server-eval-and-print): Return any result, even nil.
16713 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
16715 * type-break.el: Accept time formats that the builtins accept.
16716 (timep, type-break-time-difference): Accept any format that
16717 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
16718 This is simpler and helps future-proof the code.
16719 (type-break-time-difference): Round rather than ignoring
16720 subseconds components.
16722 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16724 * info.el (Info-apropos-matches): Make non-interactive, since it
16725 doesn't seem to do anything useful as a command (bug#8829).
16727 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
16729 * frame.el (frame-background-mode, frame-set-background-mode):
16730 Move from faces.el.
16731 (frame-default-terminal-background): New function.
16733 * custom.el (custom-push-theme): Don't record faces in `changed'
16734 theme; this doesn't work correctly for per-frame face settings.
16735 (disable-theme): Use face-set-after-frame-default to reset faces.
16736 (custom--frame-color-default): New function.
16738 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16740 * dired.el (dired-flagging-regexp): Remove unused variable
16743 2011-03-29 Kevin Ryde <user42@zip.com.au>
16745 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16746 `perl-Test2' extend to match possible "fail #N" rep count
16749 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16751 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
16752 `smtpmail-via-smtp' now returns the error instead of nil.
16754 * isearch.el (isearch-search-fun-function): Clarify the doc string
16757 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
16759 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
16760 unnecessary spaces (bug#8987).
16762 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16764 * net/network-stream.el (open-network-stream): Use the
16765 :end-of-capability command thoughout.
16767 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
16769 * net/network-stream.el (open-network-stream): Add the
16770 :end-of-capability command parameter, used by pop3.el.
16772 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16774 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
16776 * fringe.el (fringe-query-style): Remove redundant text " (type ?
16777 for list)" (bug#6475).
16779 * files.el (file-expand-wildcards): Ignore non-readable
16780 sub-directories while trying to find matches instead of signaling
16781 an error (bug#6297).
16783 * man.el (Man-reference-regexp): Allow matching possible
16784 word-wrapped references (bug#6289).
16786 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
16787 for consistency with the other vc buffers (bug#6197).
16788 (vc-checkin): Ditto.
16790 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
16792 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
16794 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16796 * custom.el (defcustom): Clarify that :set is only used in the
16797 Customize user interface (bug#6089).
16799 * progmodes/flymake.el (flymake-mode): If the buffer isn't
16800 associated with a file, refuse to run instead of erroring out
16803 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
16804 the doc string, since it appears that using `fill-column' always
16805 controls the width (bug#7845).
16807 * simple.el (shell-command-on-region): Say where the error output
16808 went if `shell-command-default-error-buffer' is set (bug#6857).
16810 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
16812 * allout.el (allout-yank-processing): Adjust cursor position for
16813 backwards-deleted space.
16815 (allout-rebullet-heading): Register changes with
16816 allout-exposure-changed-hook, so the modified topic is properly
16819 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16821 * minibuffer.el (completion-in-region): Document PREDICATE
16824 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
16825 of keyword/argument pairs (bug#6904).
16827 * replace.el (multi-occur):
16828 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
16830 2011-07-02 Drew Adams <drew.adams@oracle.com>
16832 * dired.el (dired-mark-if): Make the message about whether it's
16833 marking or unmarking clearer (bug#8523).
16835 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16837 * disp-table.el (display-table-print-array): New function.
16838 (describe-display-table): Use it to print the vectors more pretty
16841 2011-07-02 Martin Rudalics <rudalics@gmx.at>
16843 * window.el (window-state-get-1): Don't assign clone numbers.
16844 Add clone-of item to list of window parameters.
16845 (window-state-put-2): Don't process clone numbers.
16846 (display-buffer-alist): Fix doc-string.
16848 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
16850 * subr.el (remq): Don't allocate if it's not needed.
16851 (keymap--menu-item-binding, keymap--menu-item-with-binding)
16852 (keymap--merge-bindings): New functions.
16853 (keymap-canonicalize): Use them to refine the canonicalization.
16854 * minibuffer.el (minibuffer-local-completion-map)
16855 (minibuffer-local-must-match-map): Move initialization from C.
16856 (minibuffer-local-filename-completion-map): Move initialization from C;
16857 don't inherit from anything here.
16858 (minibuffer-local-filename-must-match-map): Make obsolete.
16859 (completing-read-default): Use make-composed-keymap to combine
16860 minibuffer-local-filename-completion-map with either
16861 minibuffer-local-must-match-map or
16862 minibuffer-local-filename-completion-map.
16864 2011-07-01 Glenn Morris <rgm@gnu.org>
16866 * type-break.el (type-break-time-sum): Use dolist.
16868 * textmodes/flyspell.el (flyspell-word-search-backward):
16869 Replace CL function.
16871 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16873 * mouse.el (mouse--strip-first-event): New function.
16874 (function-key-map): Use it to map fringe clicks to normal clicks
16877 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
16878 (vc-bzr-revision-completion-table): Add support for annotate and date.
16880 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
16881 inherit from parent.
16883 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
16885 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
16886 (dired-show-file-type): Doc fixup (bug#8818).
16888 * dired.el (dired-mode): Fix up the doc string as suggested by
16889 Drew Adams (bug#8817).
16891 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
16892 cookie, since the manual says that it should be possible to add
16893 this function to `find-file-hook' (bug#8709).
16895 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16897 * progmodes/cfengine.el: Moved all cfengine3.el functionality
16898 here. Noted Ted Zlatanov as the maintainer.
16899 (cfengine-common-settings, cfengine-common-syntax): New functions
16900 to set up common things between `cfengine-mode' and
16902 (cfengine3-mode): New mode.
16903 (cfengine3-defuns cfengine3-defuns-regex
16904 (cfengine3-class-selector-regex cfengine3-category-regex)
16905 (cfengine3-vartypes cfengine3-font-lock-keywords)
16906 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
16907 (cfengine3-indent-line): Add from cfengine3.el.
16909 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
16911 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
16913 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
16915 2011-07-01 Martin Rudalics <rudalics@gmx.at>
16917 * window.el (same-window-buffer-names, same-window-regexps)
16918 (same-window-p, special-display-frame-alist)
16919 (special-display-popup-frame, special-display-function)
16920 (special-display-buffer-names, special-display-regexps)
16921 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
16922 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16923 (split-window-preferred-function, split-height-threshold)
16924 (split-width-threshold, even-window-heights)
16925 (display-buffer-mark-dedicated, window-splittable-p)
16926 (split-window-sensibly, window-safely-shrinkable-p):
16928 (display-buffer): Don't spread args with function specifier
16929 because special-display-popup-frame won't like it.
16931 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
16933 Time-stamp simplifications and fixes.
16934 These improve accuracy slightly, and future-proof the code
16935 against some potential changes to current-time format.
16937 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
16938 by using time-since and float-time.
16940 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
16941 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
16942 + NNN microseconds".
16944 * type-break.el (type-break-time-sum): Rewrite using time-add.
16946 * play/hanoi.el (hanoi-current-time-float): Remove.
16947 All uses replaced by float-time.
16949 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
16950 This yields a more-accurate answer.
16951 (rng-time-to-float): Remove; no longer needed.
16953 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
16955 * calendar/timeclock.el (timeclock-seconds-to-time):
16956 Defalias to seconds-to-time, since they're the same thing.
16958 * emacs-lisp/elp.el (elp-elapsed-time):
16959 * emacs-lisp/benchmark.el (benchmark-elapse):
16960 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
16962 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16964 * window.el (bury-buffer): Don't iconify the only frame.
16965 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
16966 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
16968 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
16970 * eshell/em-smart.el (eshell-smart-display-navigate-list):
16971 Add mouse-yank-primary.
16973 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16975 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
16977 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16979 * emacs-lisp/find-func.el (find-library--load-name): New fun.
16980 (find-library-name): Use it to find relative load names when provided
16981 absolute file name (bug#8803).
16983 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16985 * textmodes/flyspell.el (flyspell-word): Consider words that
16986 differ only in case as potential doublons (bug#5687).
16988 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
16989 Remove two rather uninteresting debugging-like messages to make
16990 debbugs.el more silent.
16992 * comint.el (comint-password-prompt-regexp): Accept "Response" as
16993 a password-like phrase.
16995 2011-06-30 Masatake YAMATO <yamato@redhat.com>
16997 * progmodes/cc-guess.el: New file.
16999 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
17001 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
17002 derived from `c-basic-common-init'.
17004 * progmodes/cc-mode.el (top-level): Require cc-guess.
17005 (c-basic-common-init): Use `cc-choose-style-for-mode'.
17007 2011-06-30 Lawrence Mitchell <wence@gmx.li>
17009 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
17011 2011-06-30 Alan Mackenzie <acm@muc.de>
17013 * progmodes/cc-engine.el (c-guess-continued-construct):
17014 Correct the handling of template-args-cont, particularly for when font
17015 lock is disabled. Name this case as "CASE G".
17017 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
17019 * allout.el (allout-yank-processing): Fix injection of extra space
17020 between bullet and non-whitespace character in first topic when
17021 pasting, ensuring that the actual spacing in the pasted topic
17022 following the bullet char is preserved. This extra space was
17023 causing pasted encrypted topics to get a decrypted status even
17024 when the content was actually still encrypted. Now the decryption
17025 status from before the paste is preserved.
17027 (allout-flag-region): Set all allout overlays so they evaporate
17028 when reduced to zero length (evanescent), to prevent overlay
17031 2011-06-30 Glenn Morris <rgm@gnu.org>
17033 * w32-fns.el (w32-charset-info-alist): Declare.
17035 * find-dired.el (find-grep-options): Simplify.
17037 * term/ns-win.el (ns-set-resource): Declare.
17039 * ses.el (row, col): Declare dynamic variables honestly.
17041 * textmodes/reftex-parse.el (index-tags): Declare.
17043 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
17045 * cus-edit.el (customize-push-and-save): New function.
17047 * files.el (hack-local-variables-confirm): Use it.
17049 * custom.el (load-theme): New arg NO-CONFIRM.
17050 Use customize-push-and-save (Bug#8720).
17051 (custom-enabled-themes): Doc fix.
17053 * cus-theme.el (customize-create-theme)
17054 (custom-theme-merge-theme): Callers to load-theme changed.
17056 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
17058 * thingatpt.el (thing-at-point-short-url-regexp): Require that
17059 short URLs have at least one dot in them (bug #7614).
17061 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
17062 nil, because using a pty is apparently too slow (bug #895).
17064 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
17066 * mail/sendmail.el (sendmail-query-once): New function.
17067 (sendmail-query-once-function): New variable.
17069 2011-06-29 Glenn Morris <rgm@gnu.org>
17071 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
17073 * ses.el (top-level): Require cl when compiling.
17074 (ses-set-localvars): Fix error statement.
17075 Call it at compile time to silence a storm of warnings.
17077 2011-06-29 Martin Rudalics <rudalics@gmx.at>
17079 * window.el (normalize-live-buffer): Rename to
17080 window-normalize-buffer.
17081 (normalize-live-frame): Rename to window-normalize-frame.
17082 (normalize-any-window): Rename to window-normalize-any-window.
17083 (normalize-live-window): Rename to window-normalize-live-window.
17084 (make-window-atom): Rename to window-make-atom.
17085 (window-resize-reset): Rename to window--resize-reset.
17086 (window-resize-reset-1): Rename to window--resize-reset-1.
17087 (resize-mini-window): Rename to window--resize-mini-window.
17088 (resize-subwindows-skip-p): Rename to
17089 window--resize-subwindows-skip-p.
17090 (resize-subwindows-normal): Rename to
17091 window--resize-subwindows-normal.
17092 (resize-subwindows): Rename to window--resize-subwindows.
17093 (resize-other-windows): Rename to window--resize-siblings.
17094 (resize-this-window): Rename to window--resize-this-window.
17095 (resize-root-window): Rename to window--resize-root-window.
17096 (resize-root-window-vertically): Rename to
17097 window--resize-root-window-vertically.
17098 (normalize-buffer-to-display): Rename to
17099 window-normalize-buffer-to-display.
17100 (normalize-buffer-to-switch-to): Rename to
17101 window-normalize-buffer-to-switch-to.
17102 Correspondingly update all callers of the functions listed
17104 (display-buffer-alist, display-buffer-normalize-arguments)
17105 (display-buffer-normalize-options, display-buffer)
17106 (display-buffer-alist-set): Use "function" instead of
17109 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
17111 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
17112 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
17113 debbugs.gnu.org. Mention acknowledgment email.
17115 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
17117 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
17118 buffer multibyteness, since it shouldn't matter.
17120 2011-06-28 Martin Rudalics <rudalics@gmx.at>
17122 * window.el (display-buffer-in-side-window): Handle dedicated
17123 windows as in display-buffer-reuse-window.
17124 (display-buffer-normalize-alist): Use value of override
17126 (display-buffer-normalize-specifiers): Use value of
17127 other-window-means-other-frame specifier.
17128 (display-buffer-alist): Rewrite some texts in widgets.
17129 (display-buffer): Spread arguments when calling function
17130 specified by fun-with-args.
17132 2011-06-28 Deniz Dogan <deniz@dogan.se>
17134 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
17137 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
17138 selectors (Bug#5732).
17139 (css-proprietary-nmstart-re): Use `regexp-opt'.
17141 2011-06-27 Jari Aalto <jari.aalto@cante.net>
17143 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
17144 (eshell-ls-date-format): New defcustom.
17145 (eshell-ls-file): Use it.
17147 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
17149 * help-fns.el (describe-variable): Fix message for terminal-local vars.
17151 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
17153 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
17154 (ange-ftp-make-tmp-name): New arg.
17155 (ange-ftp-file-local-copy): Use it.
17157 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
17159 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
17160 no-conversion (Bug#8870).
17162 2011-06-27 Martin Rudalics <rudalics@gmx.at>
17164 * window.el (window-right, window-left, window-child)
17165 (window-child-count, window-last-child)
17166 (window-iso-combination-p, walk-window-tree-1)
17167 (window-atom-check-1, window-tree-1, delete-window)
17168 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
17169 new naming conventions - window-vchild, window-hchild,
17170 window-next and window-prev are now called window-top-child,
17171 window-left-child, window-next-sibling and window-prev-sibling
17173 (resize-window-reset): Rename to window-resize-reset.
17174 (resize-window-reset-1): Rename to window-resize-reset-1.
17175 (resize-window): Rename to window-resize.
17176 (window-min-height, window-min-width)
17177 (resize-mini-window, resize-this-window, resize-root-window)
17178 (resize-root-window-vertically, adjust-window-trailing-edge)
17179 (enlarge-window, shrink-window, maximize-window)
17180 (minimize-window, delete-window, quit-restore-window)
17181 (split-window, balance-windows, balance-windows-area-adjust)
17182 (balance-windows-area, window-state-put-2)
17183 (display-buffer-even-window-sizes, display-buffer-set-height)
17184 (display-buffer-set-width, set-window-text-height)
17185 (fit-window-to-buffer): Rename all "resize-window" prefixed
17186 calls to use the "window-resize" prefix convention.
17187 (display-buffer-alist): Fix symbol for label specifier.
17188 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
17189 corresponding specifier.
17190 Reported by Juanma Barranquero <lekktu@gmail.com>.
17192 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
17194 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
17196 (ses-call-printer): Does not pass an empty string to formatter when the
17197 cell is empty to keep from barking printer Calc math-format-value.
17199 2011-06-27 Richard Stallman <rms@gnu.org>
17201 * battery.el (battery-mode-line-limit): New variable.
17202 (battery-update): Handle it.
17204 * mail/rmailmm.el (rmail-mime-process-multipart):
17205 Handle truncated messages.
17207 2011-06-27 Glenn Morris <rgm@gnu.org>
17209 * progmodes/flymake.el (flymake-err-line-patterns):
17210 Allow for column numbers in the ant/javac pattern. (Bug#8866)
17212 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
17214 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
17215 (ses--clean-!, ses--clean-_): New functions.
17216 (ses-range): Add configurability of readout order, and conversion
17219 * ses.el (ses-repair-cell-reference-all): New function.
17220 (ses-cell-symbol): Set macro as safe, so that it can be used in
17223 * ses.el: Update cycle detection algorithm.
17224 (ses-localvars): Add ses--Dijkstra-attempt-nb and
17225 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
17226 (ses-set-localvars): New function.
17227 (ses-make-cell): Add property-list as a cell element.
17228 (ses-cell-property-get-fun, ses-cell-property-get)
17229 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
17230 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
17232 (ses-cell-property-set, ses-cell-property-pop)
17233 (ses-cell-property-get-handle): New macro.
17234 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
17235 New aliases, used for code readability.
17236 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
17238 (ses-self-reference-early-detection): New defcustom.
17239 (ses-formula-references): Robustify against self-referring cells.
17240 (ses-mode): Use ses-set-localvars.
17241 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
17242 before lauching the update processing.
17243 (ses-initialize-Dijkstra-attempt): New function.
17244 (ses-recalculate-cell): Update for cycle detection based on
17245 Dijkstra algorithm.
17247 * ses.el: Fix commenting and indenting convention.
17249 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
17251 * bs.el (bs-cycle-next): Complete last change.
17253 2011-06-27 Drew Adams <drew.adams@oracle.com>
17255 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
17257 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
17259 * net/network-stream.el (network-stream-open-starttls):
17260 Don't re-get capabilities unless we've reestablished connection.
17261 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
17263 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
17264 to binary to possibly avoid line encoding issues on Windows (among
17267 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
17269 * net/network-stream.el (open-network-stream): Return an :error
17270 saying what the problem was, if possible.
17272 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
17275 * net/network-stream.el (network-stream-open-starttls): If we
17276 wanted to use STARTTLS, and the server offered it, but we weren't
17277 able to because we had no STARTTLS support, then close the connection.
17278 (open-network-stream): Return an :error element, if present.
17280 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
17282 * hl-line.el (hl-line-sticky-flag): Doc fix.
17283 (global-hl-line-sticky-flag): New option (Bug#8323).
17284 (global-hl-line-highlight): Obey it.
17286 * vc/vc.el (vc-revert-show-diff): Default to t.
17288 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
17290 * allout-widgets.el (allout-widgets-post-command-business):
17291 Stop decorating intermediate isearch matches. They're not being
17292 undecorated when an isearch is continued past, and isearch
17293 automatically collapses them. This leads to "widget leaks", where
17294 decorated items accumulate in collapsed areas. Lines with lots of
17295 hidden widgets can slow down cursor travel, substantially.
17296 Too much complicated machinery would be needed to ensure undecoration,
17297 so we're doing without this nicety.
17299 (allout-widgets-tally-string): Don't try to do a hash-table-count
17300 of allout-widgets-tally when it's nil. This eliminates spurious "Error
17301 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
17302 *Messages* when allout-widgets-maintain-tally is t.
17304 2011-06-26 Martin Rudalics <rudalics@gmx.at>
17306 * window.el (display-buffer-normalize-argument): Rename to
17307 display-buffer-normalize-arguments. Handle special meaning of
17308 LABEL argument. Respect special-display-function when popping up
17309 a new frame. Fix code searching for a window showing the buffer
17311 (display-buffer-normalize-specifiers):
17312 Call display-buffer-normalize-arguments.
17313 (display-buffer-in-window): Don't undedicate the window if its
17314 buffer remains the same.
17315 Reported by Drew Adams <drew.adams@oracle.com>.
17316 (display-buffer-alist): Add choice for same-window macro
17318 (display-buffer): Mention special meaning of LABEL argument in
17319 doc-string. Fix quoting. Don't pop up a new frame even as
17322 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
17324 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
17325 avoid deleting the current window in some cases (bug#8911).
17327 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
17329 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
17332 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
17334 * net/network-stream.el (network-stream-open-starttls):
17335 Use built-in TLS support if `gnutls-available-p' is true.
17336 (network-stream-open-tls): Ditto.
17338 2011-06-26 Leo Liu <sdl.web@gmail.com>
17340 * register.el (registerv): New struct.
17341 (registerv-make): New function.
17342 (jump-to-register, describe-register-1, insert-register):
17343 Support the jump-func, print-func and insert-func slot of a registerv
17346 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
17348 * vc/vc.el (vc-revert-show-diff): New defcustom.
17349 (vc-diff-internal): New arg specifying diff buffer.
17350 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
17351 reuse an existing *vc-diff* buffer (Bug#8927).
17353 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
17355 2011-06-26 Glenn Morris <rgm@gnu.org>
17357 * progmodes/f90.el (f90-critical-indent): New option.
17358 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
17359 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
17360 (f90-mode): Doc fix.
17361 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
17362 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
17363 (f90-beginning-of-block, f90-next-block, f90-indent-region)
17364 (f90-match-end): Handle block, critical.
17366 2011-06-25 Glenn Morris <rgm@gnu.org>
17368 * calendar/diary-lib.el (diary-included-files): Doc fix.
17369 (diary-include-files): New function, extracted from
17370 diary-include-other-diary-files and diary-mark-included-diary-files.
17371 (diary-include-other-diary-files, diary-mark-included-diary-files):
17372 Just call diary-include-files.
17373 (diary-mark-entries): Reset diary-included-files on first call.
17375 * calendar/diary-lib.el (diary-mark-entries)
17376 (diary-mark-included-diary-files):
17377 Visit included diary-files in temp buffers.
17379 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
17380 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
17381 (f90-start-block-re, f90-imenu-generic-expression)
17382 (f90-looking-at-program-block-start, f90-no-block-limit):
17383 Add support for submodules.
17385 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
17386 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
17388 2011-06-25 Eli Zaretskii <eliz@gnu.org>
17390 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
17391 buffer-file-type before setting its value, to avoid disastrous
17392 global effects on decoding files for DOS/Windows systems. (Bug#8780)
17394 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
17396 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
17398 * ses.el (ses-unload-function):
17399 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
17401 * proced.el (proced-unload-function):
17402 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
17404 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
17406 * server.el (server-create-window-system-frame): Add parameters arg.
17407 (server-process-filter): Doc fix. Handle frame-parameters.
17409 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
17411 Fix bug#8730, bug#8781.
17413 * loadhist.el (unload--set-major-mode): New function.
17414 (unload-feature): Use it.
17416 * progmodes/python.el (python-after-info-look): Add autoload cookie.
17417 (python-unload-function): New function.
17419 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
17421 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
17423 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
17425 * net/browse-url.el (browse-url-firefox-program): Add icecat to
17426 the candidates list.
17428 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
17430 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
17432 2011-06-23 Richard Stallman <rms@gnu.org>
17434 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
17435 (rmail-variables): Set next-error-move-function.
17436 (rmail-what-message): Take argument POS.
17437 (rmail-next-error-move): New function.
17439 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
17441 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
17442 messages for adjacent non-terminals.
17444 2011-06-23 Richard Stallman <rms@gnu.org>
17446 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
17447 (rmail-show-message-1): Preserve buffer modified flag.
17448 (rmail-start-mail): Don't specify use of rmail-mail-return;
17449 that's done by mail-bury now.
17450 (rmail-mail-return): Handle arg NEWBUF.
17452 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
17454 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
17457 2011-06-23 Martin Rudalics <rudalics@gmx.at>
17459 * window.el (get-lru-window, get-mru-window)
17460 (get-largest-window): Never return a minibuffer window.
17461 (display-buffer-pop-up-window): Fix a bug that could lead to
17462 reusing the minibuffer window.
17463 (display-buffer): Pass original specifier argument to
17464 display-buffer-function instead of the normalized one.
17465 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
17467 2011-06-22 Leo Liu <sdl.web@gmail.com>
17469 * minibuffer.el (completing-read-function)
17470 (completing-read-default): Move from minibuf.c.
17472 2011-06-22 Richard Stallman <rms@gnu.org>
17474 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
17475 to Rmail even if not started by a special Rmail command.
17477 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
17478 Copy the buffer currently showing just one message.
17480 2011-06-22 Roland Winkler <winkler@gnu.org>
17482 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
17483 (bibtex-clean-entry): First delete the old key so that a
17484 customized algorithm for generating the new key does not get
17485 confused by the old key.
17486 (bibtex-url): Obey regexp of first step.
17487 (bibtex-search-entries): Do not use add-to-list with local
17490 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
17492 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
17493 stored a user name, then query for the password first, instead of
17494 waiting for SMTP to give an error message and the trying again.
17496 2011-06-22 Lawrence Mitchell <wence@gmx.li>
17498 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
17499 BUFFER in call-process.
17501 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
17503 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
17505 (smtpmail-try-auth-methods): Require user name and password from
17508 2011-06-22 Martin Rudalics <rudalics@gmx.at>
17510 * window.el (display-buffer-default-specifiers)
17511 (display-buffer-alist): Remove entries for pop-up-frame-alist.
17512 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
17513 (split-window): Normalize SIDE argument (Bug#8916).
17515 * frame.el (pop-up-frame-alist, pop-up-frame-function)
17516 (special-display-frame-alist, special-display-popup-frame):
17517 Remove duplicate declarations. These are now in window.el.
17519 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17521 * mail/smtpmail.el (smtpmail-via-smtp):
17522 Set :use-starttls-if-possible so that we always use STARTTLS if the
17523 server supports it. SMTP servers that support STARTTLS commonly
17526 * net/network-stream.el (network-stream-open-starttls): Support
17527 upgrading to STARTTLS always, even if we don't have built-in support.
17528 (open-network-stream): Add the :always-query-capabilities keyword.
17530 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
17531 upgrades with `open-network-stream', and rely solely on
17532 auth-source for all credentials. Big changes throughout the file,
17534 (smtpmail-auth-credentials): Remove.
17535 (smtpmail-starttls-credentials): Remove.
17536 (smtpmail-via-smtp): Check for servers saying they want AUTH after
17539 * net/network-stream.el (network-stream-open-starttls):
17540 Provide support for client certificates both for external and built-in
17542 (auth-source): Require.
17543 (open-network-stream): Document the :client-certificate keyword.
17544 (network-stream-certificate): Change cert-cert to cert and
17547 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
17549 * net/tramp-cache.el (top): Don't load the persistency file when
17550 "emacs -Q" has been called.
17552 2011-06-21 Tim Harper <timcharper@gmail.com>
17554 * term/ns-win.el (ns-initialize-window-system):
17555 Set application-specific `ApplePressAndHoldEnabled' system
17556 resource to NO as it is not yet supported by the NS port.
17558 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
17560 * misc.el (list-dynamic-libraries--refresh): Compute header here...
17561 (list-dynamic-libraries): ...not here.
17563 2011-06-21 Leo Liu <sdl.web@gmail.com>
17565 * subr.el (sha1): Implement sha1 using secure-hash.
17567 2011-06-21 Martin Rudalics <rudalics@gmx.at>
17569 * window.el (display-buffer-alist): In default value do not
17570 enforce searching a window on any but the selected frame.
17571 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
17572 (display-buffer-select-window): Remove function.
17573 (display-buffer-in-window): When a window on another frame gets
17574 reused, do not select it any more but just raise its frame if
17575 necessary (Bug#8851) and (Bug#8856).
17576 (display-buffer-normalize-options): Handle pop-up-frames related
17577 options more faithfully.
17578 (pop-to-buffer): Don't rely on `display-buffer' selecting the
17579 window if it is on another frame.
17580 (display-buffer-alist, display-buffer-default-specifiers):
17581 Don't make new frame unsplittable by default.
17582 (display-buffer-normalize-argument): Fix doc-string typo and use
17583 'same-frame-other-window instead of 'other-window when associating
17584 with display-buffer-macro-specifiers.
17586 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
17588 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
17590 (5x5-mode-map, 5x5-mode-menu): Bind them.
17591 (5x5-draw-grid): Tweak the solver's rendering.
17593 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
17595 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
17596 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
17598 2011-06-21 Drew Adams <drew.adams@oracle.com>
17600 * menu-bar.el: Use function variable instead of switch-to-buffer.
17601 (menu-bar-select-buffer-function): New variable.
17602 (menu-bar-update-buffers): Use it (bug#8876).
17604 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
17606 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
17609 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
17611 * x-dnd.el (x-dnd-version-from-flags)
17612 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
17613 and long as number (Bug#8899).
17614 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
17616 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
17618 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
17619 (completion-try-completion, completion-all-completions): Compute the
17620 metadata argument if it's missing; make it optional (bug#8795).
17622 * wid-edit.el: Use lex-bind and move towards completion-at-point.
17623 (widget-complete): Use new :completion-function property.
17624 (widget-completions-at-point): New function.
17625 (default): Use :completion-function instead of :complete.
17626 (widget-default-completions): Rename from widget-default-complete;
17628 (widget-string-complete, widget-file-complete, widget-color-complete):
17630 (file, symbol, function, variable, coding-system, color):
17631 * international/mule-cmds.el (default-input-method, charset)
17632 (language-info-custom-alist):
17633 * cus-edit.el (face): Use new property :completions.
17635 * progmodes/pascal.el (pascal-completions-at-point): New function.
17636 (pascal-mode): Use it.
17637 (pascal-mode-map): Use completion-at-point.
17638 (pascal-toggle-completions): Make obsolete.
17639 (pascal-complete-word, pascal-show-completions):
17640 * progmodes/octave-mod.el (octave-complete-symbol):
17641 Redefine as obsolete alias.
17642 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
17643 Signal absence of completion info for old Octave,
17644 (inferior-octave-complete): Redefine as obsolete alias.
17645 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
17646 (meta-completions-at-point): Rename from meta-complete-symbol and
17647 adapt it for use on completion-at-point-functions.
17648 (meta-common-mode): Use it.
17649 (meta-looking-at-backward, meta-match-buffer): Remove.
17650 (meta-complete-symbol): Redefine as obsolete alias.
17651 (meta-common-mode-map): Use completion-at-point.
17652 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
17653 (makefile-mode-map): Use completion-at-point.
17654 (makefile-completions-at-point): Rename from makefile-complete and
17655 adapt it for use on completion-at-point-functions.
17656 (makefile-mode): Use it.
17657 (makefile-complete): Redefine as obsolete alias.
17659 2011-06-20 Deniz Dogan <deniz@dogan.se>
17661 * net/rcirc.el: Delete trailing whitespaces once and for all.
17663 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
17665 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
17667 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
17669 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
17671 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
17673 2011-06-19 Martin Rudalics <rudalics@gmx.at>
17675 * window.el (display-buffer-other-window-means-other-frame):
17676 Call display-buffer-normalize-alist.
17677 (display-buffer-normalize-specifiers-1): Rename to
17678 display-buffer-normalize-argument. New argument other-frame.
17680 (display-buffer-normalize-specifiers-2): Rename to
17681 display-buffer-normalize-options.
17682 (display-buffer-normalize-alist-1): New function.
17683 (display-buffer-normalize-specifiers-3): Rename to
17684 display-buffer-normalize-alist.
17685 Call display-buffer-normalize-alist-1.
17686 (display-buffer-normalize-options-inhibit): New variable.
17687 (display-buffer-normalize-specifiers): Rewrite calling
17688 display-buffer-normalize-alist,
17689 display-buffer-normalize-argument, and
17690 display-buffer-normalize-options. Don't call the latter if
17691 display-buffer-normalize-options-inhibit is non-nil.
17692 (frame-auto-delete): New option.
17693 (window-deletable-p): Use frame-auto-delete.
17694 (window-list-no-nils, window-state-ignored-parameters)
17695 (window-state-get-1, window-state-get, window-state-put-list)
17696 (window-state-put-1, window-state-put-2, window-state-put):
17698 (display-buffer-normalize-options): Move special-display-p group
17699 after pop-up-frame group (Bug#8851) and (Bug#8856).
17701 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
17703 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
17705 (rx-submatch-n): New function.
17708 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
17711 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
17713 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
17715 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
17716 anytime existing face settings are present (Bug#8889).
17718 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
17719 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
17720 Remove unused argument.
17722 2011-06-18 Martin Rudalics <rudalics@gmx.at>
17724 * window.el (display-buffer-default-specifiers):
17725 Remove pop-up-frame. Add pop-up-window-min-height,
17726 pop-up-window-min-width, and another reuse-window specifier
17727 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
17728 (display-buffer-normalize-specifiers-2):
17729 Handle split-height-threshold and split-width-threshold also when
17730 pop-up-windows is unset. Add a reuse-window specifier for the
17731 case popping up a new window fails.
17732 (special-display-popup-frame): Remove double quoting.
17733 (display-buffer-normalize-specifiers-1): Fix thinko.
17735 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
17737 * shell.el (shell-completion-vars): Set pcomplete-termination-string
17738 according to comint-completion-addsuffix.
17740 * pcomplete.el: Convert to lexical binding and fix bug#8819.
17741 (pcomplete-suffix-list): Mark as obsolete.
17742 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
17743 pcomplete-seen in the closure.
17744 (pcomplete-comint-setup): Setup completion-at-point as well.
17745 (pcomplete--entries): New function.
17746 (pcomplete--env-regexp): New var.
17747 (pcomplete-entries): Rewrite to work with partial-completion and
17748 without relying on pcomplete-suffix-list.
17749 (pcomplete-pare-list): Remove, unused.
17751 2011-06-17 Martin Rudalics <rudalics@gmx.at>
17753 * window.el (display-buffer-alist): Set pop-up-window-min-height
17754 and pop-up-window-min-width in default value. Reported by
17755 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
17756 other-window-means-other-frame.
17757 (display-buffer-macro-specifiers): Comment out entry for
17758 other-window specifier.
17759 (display-buffer-other-window-means-other-frame): New function.
17760 (display-buffer-normalize-specifiers-1): New arguments
17761 buffer-name and label. Treat other-window case specially.
17762 (display-buffer-normalize-specifiers-2): Treat other-window case
17764 (display-buffer-normalize-specifiers-3): New function.
17765 (display-buffer-normalize-specifiers):
17766 Call display-buffer-normalize-specifiers-3.
17768 2011-06-17 Martin Rudalics <rudalics@gmx.at>
17770 * window.el (same-window-p): Fix two typos introduced when
17771 adding with-no-warnings.
17772 (display-buffer-normalize-specifiers-1): Don't check
17773 pop-up-frames for 'unset initialization.
17774 (display-buffer-normalize-specifiers-2): Major rewrite using
17775 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
17776 (pop-up-frames, display-buffer-reuse-frames)
17777 (display-buffer-mark-dedicated): Don't initialize to 'unset.
17778 Suggested by David Engster <deng@randomsample.de>.
17779 (even-window-heights): Initialize to 'unset.
17780 (display-buffer-alist-set): Handle new 'unset initializations.
17781 (display-buffer-macro-specifiers): Don't pop up a new frame in the
17784 2011-06-16 Martin Rudalics <rudalics@gmx.at>
17786 * window.el (display-buffer-normalize-specifiers-1):
17787 Respect current value of pop-up-frames for most reasonable values of
17788 second argument of display-buffer (Bug#8865).
17789 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
17790 (switch-to-buffer-other-window-same-frame)
17791 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
17793 (display-buffer): Don't check noninteractive when calling
17794 display-buffer-pop-up-frame.
17795 (display-buffer-pop-up-frame): Never pop up a frame in
17796 noninteractive mode (Bug#8857).
17797 (enlarge-window, shrink-window): Don't report an error when the
17798 window can't be resized as requested (Bug#8862).
17800 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17802 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
17804 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
17806 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
17808 2011-06-15 Alan Mackenzie <acm@muc.de>
17810 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
17811 for declarators, disable knr checking to speed up for normal files.
17812 2: Refactor, replacing a sequence of nested if forms by a cond form.
17814 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
17816 * net/network-stream.el (open-network-stream): Add the keyword
17817 :always-query-capabilities for the case where you want to force a
17818 `plain' network connection, but the protocol still requires the
17819 capabilitiy command (i.e., SMTP and EHLO).
17821 * subr.el (process-live-p): Rename from `process-alive-p' for
17822 consistency with other `-live-p' functions.
17824 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17826 * window.el (same-window-buffer-names, same-window-regexps)
17827 (special-display-frame-alist, special-display-popup-frame)
17828 (special-display-function, special-display-buffer-names)
17829 (special-display-regexps, pop-up-frame-alist)
17830 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
17831 (pop-up-windows, split-window-preferred-function)
17832 (split-height-threshold, split-width-threshold, even-window-heights)
17833 (display-buffer-mark-dedicated): Don't encourage the use of
17834 display-buffer-alist from Elisp code.
17836 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
17838 * progmodes/python.el (python-mode): Derive from prog-mode.
17839 * progmodes/ps-mode.el (ps-mode):
17840 * progmodes/mixal-mode.el (mixal-mode):
17841 * progmodes/cfengine.el (cfengine-mode):
17842 * progmodes/ld-script.el (ld-script-mode): Likewise.
17844 2011-06-15 Martin Rudalics <rudalics@gmx.at>
17846 * window.el (display-buffer-alist): Trim default value to avoid
17847 popping up a new frame (Bug#8857) or reusing an arbitrary window
17849 (display-buffer): Do not fall back on popping up a new frame in
17850 batch mode (Bug#8857).
17852 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
17854 * cus-theme.el (describe-theme-1): Use custom-theme-p.
17855 (custom-theme-summary): New function.
17856 (customize-themes): Use it.
17858 2011-06-13 Glenn Morris <rgm@gnu.org>
17860 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
17862 2011-06-13 Martin Rudalics <rudalics@gmx.at>
17864 * help.el (help-window): Remove variable.
17865 (help-window-point-marker, temp-buffer-max-height)
17866 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
17867 (help-print-return-message): Don't set help-window.
17868 (resize-temp-buffer-window): Rewrite cod eand doc-string.
17869 (help-window-setup-finish): Remove.
17870 (help-window-display-message, help-window-setup)
17871 (with-help-window): Major rewrite based on new
17872 display-buffer-window variable.
17874 * help-mode.el (help-mode-finish): Remove help-window related
17877 * view.el (view-exits-all-viewing-windows): Remove reference to
17878 view-return-to-alist in doc-string.
17879 (view-return-to-alist): Make obsolete.
17880 (view-buffer): Call pop-to-buffer-same-window and remove
17882 (view-buffer-other-window): Call pop-to-buffer-other-window and
17883 simplify code. Ignore second argument.
17884 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
17885 simplify code. Ignore second argument.
17886 (view-return-to-alist-update): Make obsolete.
17887 (view-mode-enter): Rename second argument to QUIT-RESTORE.
17888 Rewrite using quit-restore window parameters.
17889 (view-mode-exit): Rename second argument to EXIT-ONLY.
17890 Rewrite using quit-restore-window.
17891 (View-exit, View-exit-and-edit, View-leave, View-quit)
17892 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
17893 appropriate arguments.
17894 (view-end-message): Use quit-restore window parameter.
17896 * window.el (display-buffer-function): Rewrite doc-string.
17897 (display-buffer-window, display-buffer-alist): New variables.
17898 (display-buffer-split-specifiers)
17899 (display-buffer-side-specifiers)
17900 (display-buffer-macro-specifiers): New constants.
17901 (display-buffer-even-window-sizes, display-buffer-set-height)
17902 (display-buffer-set-width, display-buffer-select-window)
17903 (display-buffer-in-window, display-buffer-reuse-window)
17904 (display-buffer-split-window-1, display-buffer-split-window)
17905 (display-buffer-split-atom-window, display-buffer-pop-up-window)
17906 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
17907 (display-buffer-in-side-window, normalize-buffer-to-display)
17908 (display-buffer-normalize-specifiers-1)
17909 (display-buffer-normalize-specifiers-2)
17910 (display-buffer-normalize-specifiers, display-buffer-frame):
17912 (display-buffer): Major rewrite.
17913 (display-buffer-other-window, display-buffer-other-frame)
17914 (pop-to-buffer, switch-to-buffer-other-window)
17915 (switch-to-buffer-other-frame): Rewrite.
17916 (display-buffer-same-window, display-buffer-same-frame)
17917 (display-buffer-same-frame-other-window)
17918 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
17919 (pop-to-buffer-other-window)
17920 (pop-to-buffer-same-frame-other-window)
17921 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
17922 (switch-to-buffer-other-window-same-frame): New functions.
17923 (same-window-p, special-display-p): Rewrite disabling warnings.
17925 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17926 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
17928 (same-window-buffer-names, same-window-regexps)
17929 (special-display-frame-alist, special-display-popup-frame)
17930 (special-display-function, special-display-buffer-names)
17931 (special-display-regexps, pop-up-frame-alist)
17932 (pop-up-frame-function, split-window-preferred-function)
17933 (split-height-threshold, split-width-threshold)
17934 (even-window-heights): Make obsolete.
17936 2011-06-12 Glenn Morris <rgm@gnu.org>
17938 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
17939 Misc simplifications.
17941 2011-06-12 Martin Rudalics <rudalics@gmx.at>
17943 * window.el (window-safely-shrinkable-p): Restore function which
17944 was inadvertently removed in change from 2011-06-11. Declare as
17947 * calendar/calendar.el (calendar-generate-window):
17948 Use window-iso-combined-p instead of combination of one-window-p and
17949 window-safely-shrinkable-p.
17951 2011-06-12 Glenn Morris <rgm@gnu.org>
17953 * progmodes/fortran.el (fortran-mode-syntax-table):
17954 * progmodes/f90.el (f90-mode-syntax-table):
17955 Set % to punctuation. (Bug#8820)
17956 (f90-find-tag-default): Remove, no longer needed.
17958 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
17960 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
17962 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
17964 * image.el (image-animated-p): Return animation delay in seconds.
17965 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
17966 (image-animate-timeout): Remove DELAY argument. Don't assume
17967 every subimage has the same delay; get it from image-animated-p.
17968 (image-animate): Caller changed.
17970 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
17972 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
17973 to ignored backtrace functions.
17975 2011-06-11 Glenn Morris <rgm@gnu.org>
17977 * calendar/appt.el (appt-disp-window-function): Doc fix.
17978 (appt-check): Handle overlapping appointments. (Bug#8337)
17980 2011-06-11 Martin Rudalics <rudalics@gmx.at>
17982 * window.el (window-tree-1, window-tree): New functions, moving
17983 the latter to window.el.
17984 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
17985 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
17986 (bw-refresh-edges): Remove.
17987 (balance-windows-1, balance-windows-2): New functions.
17988 (balance-windows): Rewrite in terms of window tree functions,
17989 balance-windows-1 and balance-windows-2.
17990 (bw-adjust-window): Remove.
17991 (balance-windows-area-adjust): New function with functionality of
17992 bw-adjust-window but using resize-window.
17993 (set-window-text-height): Rewrite doc-string.
17994 Use normalize-live-window and resize-window.
17995 (enlarge-window-horizontally, shrink-window-horizontally):
17996 Rename argument to DELTA.
17997 (window-buffer-height): New function.
17998 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
17999 Rewrite using new window resize routines.
18000 (kill-buffer-and-window, mouse-autoselect-window-select):
18001 Use ignore-errors instead of condition-case.
18002 (quit-window): Call delete-frame instead of delete-windows-on
18003 for the only buffer on frame.
18005 2011-06-10 Martin Rudalics <rudalics@gmx.at>
18007 * loadup.el (top-level): Load window before files for the sake
18008 of replace-buffer-in-windows.
18010 * files.el (read-buffer-to-switch)
18011 (switch-to-buffer-other-window)
18012 (switch-to-buffer-other-frame, display-buffer-other-frame):
18015 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
18016 (previous-buffer): Move to window.el.
18018 * bindings.el (unbury-buffer): Move to window.el.
18020 * window.el (delete-other-windows-vertically): Move after
18021 definition of delete-other-windows.
18022 (other-window, delete-windows-on, replace-buffer-in-windows):
18023 Move here from window.c.
18024 (record-window-buffer, unrecord-window-buffer)
18025 (set-window-buffer-start-and-point, switch-to-prev-buffer)
18026 (switch-to-next-buffer): New functions.
18027 (get-next-valid-buffer, last-buffer, next-buffer): Move here
18028 from simple.el. Call switch-to-next-buffer.
18029 (previous-buffer): Move here from simple.el.
18030 Call switch-to-prev-buffer.
18031 (bury-buffer): Move here from buffer.c. Switch to previous
18032 buffer when window cannot be deleted.
18033 (unbury-buffer): Move here from bindings.el.
18034 (ctl-x-map): Move binding for other-window from window.c to
18036 (read-buffer-to-switch, switch-to-buffer-other-window)
18037 (switch-to-buffer-other-frame): Move here from files.el.
18038 (normalize-buffer-to-switch-to): New functions.
18039 (switch-to-buffer): Move here from buffer.c.
18040 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
18042 2011-06-10 Martin Rudalics <rudalics@gmx.at>
18044 * window.el (window-min-height, window-min-width): Move here
18045 from window.c. Add defcustoms and rewrite doc-strings.
18046 (resize-mini-window, resize-window): New functions.
18047 (adjust-window-trailing-edge, enlarge-window, shrink-window):
18048 Move here from window.c.
18049 (maximize-window, minimize-window): New functions.
18050 (delete-window, delete-other-windows, split-window): Move here
18052 (window-split-min-size): New function.
18053 (split-window-keep-point): Mention split-window-above-each-other
18054 instead of split-window-vertically.
18055 (split-window-above-each-other, split-window-vertically):
18056 Rename split-window-vertically to split-window-above-each-other
18057 and provide defalias for old definition.
18058 (split-window-side-by-side, split-window-horizontally):
18059 Rename split-window-horizontally to split-window-side-by-side
18060 and provide defalias for the old definition.
18061 (ctl-x-map): Move bindings for delete-window,
18062 delete-other-windows and enlarge-window here from window.c.
18063 Replace bindings for split-window-vertically and
18064 split-window-horizontally by bindings for
18065 split-window-above-each-other and split-window-side-by-side.
18067 * cus-start.el (all): Remove entries for window-min-height and
18068 window-min-width. Add entries for window-splits and
18071 2011-06-09 Glenn Morris <rgm@gnu.org>
18073 * calendar/appt.el (appt-mode-line): New function.
18074 (appt-check, appt-disp-window): Use it.
18076 * files.el (hack-one-local-variable-eval-safep):
18077 Allow minor-modes with explicit +/-1 arguments.
18079 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
18081 * term/xterm.el (xterm): Add defgroup.
18082 (xterm-extra-capabilities): Add defcustom to supply known xterm
18083 capabilities, skip querying them, or query them (default).
18084 (terminal-init-xterm): Use it.
18085 (terminal-init-xterm-modify-other-keys): New function to set up
18086 modifyOtherKeys support to simplify `terminal-init-xterm'.
18088 2011-06-09 Martin Rudalics <rudalics@gmx.at>
18090 * window.el (resize-window-reset, resize-window-reset-1)
18091 (resize-subwindows-skip-p, resize-subwindows-normal)
18092 (resize-subwindows, resize-other-windows, resize-this-window)
18093 (resize-root-window, resize-root-window-vertically)
18094 (window-deletable-p, window-or-subwindow-p)
18095 (frame-root-window-p): New functions.
18097 2011-06-09 Glenn Morris <rgm@gnu.org>
18099 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
18100 (ange-ftp-get-files): Use it.
18102 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
18104 * mail/sendmail.el (mail-recover-1, mail-recover):
18105 * files.el (recover-file, recover-session):
18106 Handle dired-listing-switches not being just a single short option.
18108 2011-06-09 Glenn Morris <rgm@gnu.org>
18110 * calendar/appt.el (appt-display-message, appt-disp-window):
18111 Handle lists of appointments.
18113 2011-06-08 Martin Rudalics <rudalics@gmx.at>
18115 * window.el (one-window-p): Move down in code.
18116 Rewrite doc-string.
18117 (window-current-scroll-bars): Rewrite doc-string.
18118 Normalize live window argument.
18119 (walk-windows, get-window-with-predicate, count-windows):
18120 Rewrite doc-string. Use window-list-1.
18121 (window-in-direction-2, window-in-direction, get-mru-window):
18124 2011-06-08 Reuben Thomas <rrt@sc3d.org>
18126 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
18127 Doc fix (Bug#8713).
18129 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
18131 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
18133 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
18135 * loadhist.el (unload-feature-special-hooks):
18136 Add `comint-output-filter-functions'.
18138 2011-06-08 Ivan Kanis <gnu@kanis.fr>
18140 * calendar/appt.el (appt-check): Move some initializations into the let.
18142 2011-06-08 Martin Rudalics <rudalics@gmx.at>
18144 * window.el (window-height): Defalias to window-total-height.
18145 (window-width): Defalias to window-body-width.
18147 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
18149 * image-mode.el (image-toggle-animation): New command.
18150 (image-mode-map): Bind it to RET.
18151 (image-mode): Update message.
18152 (image-toggle-display-image): Avoid a spurious cache flush.
18153 (image-transform-rotation): Doc fix.
18154 (image-transform-properties): Return quickly in the normal case.
18155 (image-animate-loop): Rename from image-animate-max-time.
18157 * image.el (image-animate-max-time): Move to image-mode.el.
18158 (create-animated-image): Remove unnecessary function.
18159 (image-animate): Rename from image-animate-start. New arg.
18160 (image-animate-stop): Remove; just use image-animate-timer.
18161 (image-animate-timer): Use car-safe.
18162 (image-animate-timeout): Rename argument.
18164 2011-06-07 Martin Rudalics <rudalics@gmx.at>
18166 * window.el (get-lru-window, get-largest-window): Move here from
18167 window.c. Rename first argument to ALL-FRAMES.
18168 Rephrase doc-strings.
18169 (get-buffer-window-list): Rewrite using window-list-1.
18170 Rephrase doc-string.
18171 (window-safe-min-height, window-safe-min-width): New constants.
18172 (window-size-ignore, window-min-size, window-min-size-1)
18173 (window-sizable, window-sizable-p, window-size-fixed-1)
18174 (window-size-fixed-p, window-min-delta-1, window-min-delta)
18175 (window-max-delta-1, window-max-delta, window-resizable)
18176 (window-resizable-p, window-total-height, window-total-width)
18177 (window-body-width): New functions.
18178 (window-full-height-p, window-full-width-p): Rewrite using
18180 (window-body-height): Rewrite using window-body-size.
18182 2011-06-06 Martin Rudalics <rudalics@gmx.at>
18184 * window.el (window-right, window-left, window-child)
18185 (window-child-count, window-last-child, window-any-p)
18186 (normalize-live-buffer, normalize-live-frame)
18187 (normalize-any-window, normalize-live-window)
18188 (window-iso-combination-p, window-iso-combined-p)
18189 (window-iso-combinations)
18190 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
18191 (windows-with-parameter, window-with-parameter)
18192 (window-atom-root, make-window-atom, window-atom-check-1)
18193 (window-atom-check, window-side-check, window-check):
18195 (ignore-window-parameters, window-sides, window-sides-vertical)
18196 (window-sides-slots): New variables.
18197 (window-size-fixed): Move down in code. Minor doc-string fix.
18199 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
18201 * comint.el (comint-dynamic-complete-as-filename)
18202 (comint-dynamic-complete-filename): Correctly call
18203 completion-in-region.
18205 2011-06-05 Deniz Dogan <deniz@dogan.se>
18207 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
18210 2011-06-05 Deniz Dogan <deniz@dogan.se>
18212 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
18213 (rcirc): Use it to prompt for encryption.
18215 2011-06-05 Roland Winkler <winkler@gnu.org>
18217 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
18218 (bibtex-search-entries): New command bound to C-c C-a.
18219 (bibtex-display-entries): New function.
18221 2011-06-05 Roland Winkler <winkler@gnu.org>
18223 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
18224 (bibtex-insert-kill): After yanking insert newline if necessary.
18225 (bibtex-initialize): Call bibtex-string-files-init only once.
18226 (bibtex-mode): Do not call easy-menu-add.
18227 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
18228 (bibtex-yank): Set arg properly if nil.
18230 2011-06-05 Roland Winkler <winkler@gnu.org>
18232 * textmodes/bibtex.el (bibtex-search-entry-globally):
18234 (bibtex-search-entry): Use it.
18236 2011-06-05 Roland Winkler <winkler@gnu.org>
18238 * textmodes/bibtex.el (bibtex-entry-format): New option
18240 (bibtex-format-entry, bibtex-reformat): Honor this option.
18241 (bibtex-parse-entry): Return fields in proper order.
18243 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
18245 * doc-view.el (doc-view-remove-if): Move computation of result out
18246 of `dolist' to silence misleading lexical-binding warning.
18248 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
18250 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
18251 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
18253 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
18255 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
18258 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
18260 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
18261 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
18262 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
18263 (tramp-parse-putty):
18264 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
18265 (tramp-completion-function-alist-ssh)
18266 (tramp-completion-function-alist-telnet)
18267 (tramp-completion-function-alist-su)
18268 (tramp-completion-function-alist-putty): Set `tramp-autoload'
18271 * net/tramp-ftp.el:
18273 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
18274 load "tramp.el" `tramp-set-completion-function'.
18276 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
18278 * shell.el: Require and use pcomplete.
18279 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
18280 (shell-completion-vars): Set pcomplete-default-completion-function.
18282 2011-06-04 Deniz Dogan <deniz@dogan.se>
18284 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
18287 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
18289 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
18291 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
18293 * bs.el (bs--mark-unmark, bs--nth-wrapper):
18294 * mpc.el (mpc-select-extend, mpc-songpointer-context):
18295 * vc/log-view.el (log-view-beginning-of-defun):
18296 * vc/smerge-mode.el (smerge-apply-resolution-patch)
18297 (smerge-refine-forward, smerge-refine-chopup-region):
18298 Silence warning for unused `dotimes' counter variables.
18300 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
18302 * net/tramp.el (tramp-with-progress-reporter): Rename from
18303 with-progress-reporter. Use `declare'.
18304 * net/tramp-smb.el:
18306 * net/tramp-gvfs.el: Update all uses.
18308 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
18310 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
18311 buffer isn't killed before making it current.
18313 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
18315 Silence various byte-compiler warnings.
18316 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
18317 `access-type' and new obsolescence format.
18318 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
18320 (byte-compile-check-variable): New `access-type' argument.
18321 Only warn if the access-type is obsolete.
18322 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
18323 (byte-compile-variable-set): Adjust callers.
18324 * help-fns.el (describe-variable): Adjust to new obsolescence format.
18325 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
18326 setting it as obsolete.
18327 * simple.el (minibuffer-completing-symbol):
18328 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
18329 access as obsolete.
18330 * minibuffer.el (minibuffer-completing-file-name): Don't make it
18332 * international/quail.el (quail-mouse-choose-completion): Remove unused
18333 code referring to obsolete var.
18334 (quail-choose-completion-string): Remove.
18335 * server.el (server-clients-with, server-kill-buffer-query-function)
18336 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
18337 * proced.el (proced-send-signal):
18338 * emacs-lisp/lisp.el (lisp-complete-symbol):
18339 Replace completion-annotate-function with completion-extra-properties.
18341 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
18343 * simple.el (goto-line): Use read-number.
18344 (overriding-map-is-bound): Remove.
18345 (saved-overriding-map): Change default.
18346 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
18347 Take the map as argument.
18348 (universal-argument, negative-argument, digit-argument): Use it.
18349 (restore-overriding-map): Adjust.
18350 (do-auto-fill): Use fill-forward-paragraph.
18351 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
18353 * minibuffer.el (minibuffer-inactive-mode-map): New var.
18354 (minibuffer-inactive-mode): New major mode.
18355 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
18356 the *Messages* buffer" hack.
18357 (mouse-popup-menubar): Don't burp if the event is a normal key.
18359 Miscellaneous tweaks.
18360 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
18361 lexical scoping as in subr.el's dolist and dotimes.
18362 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
18363 Silence compiler warning.
18364 * thingatpt.el (forward-whitespace): Trivial coding style fix.
18365 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
18366 * international/ccl.el (ccl-compile): Trivial simplification.
18367 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
18368 * emacs-lisp/testcover.el (testcover-end): Remove spurious
18369 `printflag' argument.
18370 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
18371 Purecopy the whole obsolescence data.
18373 2011-06-01 Leo Liu <sdl.web@gmail.com>
18375 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
18376 improve doc-string as suggested by Marco Pessotto
18377 <melmothx@gmail.com>.
18378 (rcirc-print): Fix last change.
18380 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18382 * minibuffer.el (complete-with-action): Return nil for the metadata and
18383 boundaries of non-functional tables.
18384 (completion-table-dynamic): Return nil for the metadata.
18385 (completion-table-with-terminator): Add default case, using
18386 complete-with-action.
18387 (completion--metadata): New function.
18388 (completion-all-sorted-completions, minibuffer-completion-help): Use it
18389 to try and avoid pathological performance problems.
18390 (completion--embedded-envvar-table): Return `category' metadata.
18392 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
18394 * subr.el (process-alive-p): New tiny convenience function.
18396 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18398 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
18399 content but also its previous major mode.
18401 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
18403 * emacs-lisp/debug.el (debug): Restore the previous content of the
18404 *Backtrace* buffer when we exit with C-M-c.
18406 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18408 * minibuffer.el: Add metadata method to completion tables.
18409 (completion-category-overrides): New defcustom.
18410 (completion-metadata, completion--field-metadata)
18411 (completion-metadata-get, completion--styles)
18412 (completion--cycle-threshold): New functions.
18413 (completion-try-completion, completion-all-completions):
18414 Add `metadata' argument to choose completion-styles.
18415 (completion--do-completion): Use metadata to choose cycling.
18416 (completion-all-sorted-completions): Use metadata for sorting.
18417 Remove :completion-cycle-penalty which is not needed any more.
18418 (completion--try-word-completion): Add `metadata' argument.
18419 (minibuffer-completion-help): Check metadata for annotation function
18421 (completion-file-name-table): Return `category' metadata.
18422 (minibuffer-completing-file-name): Make obsolete.
18423 * simple.el (minibuffer-completing-symbol): Make obsolete.
18424 * icomplete.el (icomplete-completions): Pass new `metadata' param to
18425 completion-try-completion.
18427 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
18429 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
18431 2011-05-30 Leo Liu <sdl.web@gmail.com>
18433 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
18434 (rcirc-print): Decode all incoming messages (bug#8744).
18435 (rcirc-decode-coding-system): Allow value nil for automatic coding
18438 2011-06-01 Glenn Morris <rgm@gnu.org>
18440 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
18442 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
18444 * image.el (image-animate-max-time): Allow nil and t values.
18446 (create-animated-image): Doc fix.
18447 (image-animate-start): Remove second arg; just use
18448 image-animate-max-time.
18449 (image-animate-timeout): Doc fix. Args changed.
18451 * image-mode.el (image-toggle-display-image): Ensure that the
18452 image spec passed to the animate timer is the same object as in
18453 the buffer's display property (Bug#6981).
18454 (image-transform-properties): Doc fix.
18456 * image.el (image-animate-max-time): Default to nil.
18458 2011-05-29 Martin Rudalics <rudalics@gmx.at>
18460 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
18461 entire buffer list (Bug#8184).
18463 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
18465 * image.el (imagemagick-types-inhibit)
18466 (imagemagick-register-types): Doc fix.
18468 2011-05-29 Deniz Dogan <deniz@dogan.se>
18470 * net/rcirc.el (rcirc): Use the user's stored encryption method by
18473 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
18475 * select.el: Don't perform clipboard-manager saving in hooks;
18476 leave the hooks empty.
18478 2011-05-28 Leo Liu <sdl.web@gmail.com>
18480 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
18481 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
18482 (occur-edit-mode): New major mode (Bug#8463).
18483 (occur-after-change-function): New function.
18484 (occur-engine): Give Occur tags a read-only property.
18486 2011-05-28 Kevin Ryde <user42@zip.com.au>
18488 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
18490 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
18492 * bindings.el (help-echo): Make the initial non-indicator dash
18493 empty on graphical terminals (Bug#7295).
18495 * files.el (auto-mode-alist): Move config rule after the
18496 in-stripping one (Bug#8547).
18498 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
18500 * startup.el (normal-splash-screen): Remove gratuitous mode-line
18501 setting (Bug#8740).
18503 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
18505 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
18506 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
18509 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
18511 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
18513 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
18515 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
18516 (hs-hide-block-at-point, hs-find-block-beginning)
18517 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
18520 2011-05-28 Glenn Morris <rgm@gnu.org>
18522 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
18524 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
18526 * help-fns.el (describe-function-1): If the function is a derived
18527 major mode, print the parent mode.
18529 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
18530 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
18532 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
18534 * minibuffer.el (completion--capf-wrapper): Check applicability before
18535 returning non-nil for non-exclusive completion data.
18536 * progmodes/etags.el (tags-completion-at-point-function):
18537 * info-look.el (info-lookup-completions-at-point): Mark as
18539 (info-complete): Adjust accordingly.
18541 * info-look.el: Convert to lexical-binding and completion-at-point.
18542 (info-lookup-completions-at-point): New function.
18543 (info-complete): Use it and completion-in-region.
18545 2011-05-28 Drew Adams <drew.adams@oracle.com>
18547 * isearch.el: Let M-e start with point at the first mismatched char.
18548 (isearch-fail-pos): New function.
18549 (isearch-edit-string): Use it.
18551 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
18553 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
18555 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
18557 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
18558 traversal functions for avl-trees.
18559 (avl-tree--stack): New struct.
18560 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
18561 (avl-tree-enter): Add optional `updatefun' arg.
18562 (avl-tree--do-enter): Add optional `updatefun' arg.
18563 Change return value.
18564 (avl-tree-delete): Add optional `test' and `nilflag' args.
18565 (avl-tree--do-delete): Add `test' and `nilflag' args.
18566 Change return value.
18567 (avl-tree-member): Add optional `nilflag'
18568 (avl-tree-member-p): New function.
18569 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
18570 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
18571 (avl-tree-stack-empty-p): New functions.
18573 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
18574 avl-tree--del-balance1 and make it work both ways.
18575 (avl-tree--del-balance2): Remove.
18576 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
18577 make it work both ways.
18578 (avl-tree--enter-balance2): Remove.
18579 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
18581 (avl-tree--mapc, avl-tree-map): Add direction argument.
18583 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
18585 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
18587 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
18589 * select.el: Support clipboard managers with built-in function
18590 x-clipboard-manager-save, via delete-frame-functions and
18592 (xselect-convert-to-targets): Add MULTIPLE target to list.
18593 (xselect-convert-to-save-targets): New function.
18595 2011-05-27 Kenichi Handa <handa@m17n.org>
18597 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
18598 let-binding rfc2047-encode-encoded-words to nil.
18600 2011-05-27 Glenn Morris <rgm@gnu.org>
18602 * mail/emacsbug.el: Don't require url-util.
18604 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
18606 * files.el (set-auto-mode):
18607 Also respect mode: entries at the end of the file. (Bug#8586)
18609 2011-05-26 Glenn Morris <rgm@gnu.org>
18611 * files.el (hack-local-variables-prop-line, hack-local-variables):
18612 Downcase mode names, as seems to be traditional.
18613 (hack-local-variables, hack-local-variables-apply): Doc fixes.
18615 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
18616 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
18618 2011-05-25 Julien Danjou <julien@danjou.info>
18620 * textmodes/rst.el (rst-define-level-faces): Do not define face
18621 symbol if it is already defined.
18623 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
18625 * play/5x5.el (5x5-new-game, 5x5-randomize):
18626 Reset 5x5-solver-output to nil when a new grid is cast.
18627 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
18628 these debugging traces, as defmacro breaks the compiled code.
18630 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
18632 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
18634 2011-05-24 Leo Liu <sdl.web@gmail.com>
18636 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
18637 (vc-bzr-sha1): Adapt.
18639 * sha1.el: Remove. Function `sha1' is now builtin.
18641 * bindings.el: Provide sha1 feature.
18643 2011-05-24 Kenichi Handa <handa@m17n.org>
18645 * mail/sendmail.el: Require `rfc2047'.
18646 (mail-insert-from-field): Do not perform RFC2047 encoding.
18647 (mail-encode-header): New function.
18648 (sendmail-send-it): Set buffer-file-coding-system of the work
18649 buffer to the return value of select-message-coding-system.
18650 Call mail-encode-header.
18652 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
18654 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
18656 * mail/supercite.el (sc-default-cite-frame):
18657 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
18659 2011-05-24 Glenn Morris <rgm@gnu.org>
18661 * progmodes/python.el (brm-menu): Declare.
18663 * emulation/viper.el (viper-set-hooks): Declare.
18665 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
18666 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
18667 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
18668 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
18669 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
18670 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
18672 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
18674 Add an :exit-function for completion-at-point.
18676 * minibuffer.el (completion--done): New fun.
18677 (completion--do-completion): Use it. New arg `expect-exact'.
18678 (minibuffer-complete, minibuffer-complete-word): Don't output message,
18679 since completion--do-completion does it for us now.
18680 (minibuffer-force-complete): Use completion--done and
18681 completion--replace. Handle sole-completion case with more care.
18682 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
18683 (completion-extra-properties): New var.
18684 (completion-annotate-function): Make obsolete.
18685 (minibuffer-completion-help): Adjust accordingly.
18686 Use completion-list-insert-choice-function.
18687 (completion-at-point, completion-help-at-point):
18688 Bind completion-extra-properties.
18689 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
18690 * simple.el (completion-list-insert-choice-function): New var.
18691 (completion-setup-function): Preserve it.
18692 (choose-completion): Pay attention to it, shuffle the code a bit.
18693 (choose-completion-string): New arg `insert-function'.
18695 * textmodes/bibtex.el: Convert to lexical binding.
18696 (bibtex-mode-map): Use completion-at-point.
18697 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
18698 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
18699 (bibtex-complete): Define as obsolete alias.
18700 (bibtex-complete-internal): Remove.
18701 (bibtex-format-entry): Remove unused sub-group in regexp.
18702 * shell.el (shell--command-completion-data)
18703 (shell-environment-variable-completion):
18704 * pcomplete.el (pcomplete-completions-at-point):
18705 * comint.el (comint--complete-file-name-data): Use :exit-function
18706 instead of completion-table-with-terminator so it also works for
18709 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
18711 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
18713 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
18716 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
18718 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
18720 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
18721 customization variable and implement: If non-nil, auto-fill will
18722 be inhibited while on topic's header line.
18724 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
18726 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
18727 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
18728 always have a solution in grid size = 5 cases.
18729 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
18730 (5x5-solver-output, 5x5-log-buffer): New vars.
18731 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
18732 Make these variables buffer local to achieve 5x5 multi-session-ness.
18733 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
18734 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
18735 (5x5-solve-suggest): New funs.
18736 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
18737 randomize a grid so that we ensure that there is always a solution.
18738 (5x5-make-random-grid): Allow other movement than flipping.
18740 2011-05-23 Kevin Ryde <user42@zip.com.au>
18742 * emacs-lisp/advice.el (ad-read-advised-function):
18743 Use `function-called-at-point' as the default, if it has
18744 advice and passes PREDICATE.
18746 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
18748 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
18749 byte-compile-lambda if it's actually a lambda.
18751 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
18752 Fix function quoting. Use backquote better.
18754 2011-05-22 Yuanle Song <sylecn@gmail.com>
18756 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
18757 matching (Bug#8516).
18759 2011-01-22 Jari Aalto <jari.aalto@cante.net>
18761 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
18762 different face (Bug#8178).
18764 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
18766 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
18767 defface (Bug#8144).
18769 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
18771 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
18772 funcall as well (bug#8712). Warn when performing those conversions.
18773 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
18775 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
18777 2011-05-22 Glenn Morris <rgm@gnu.org>
18779 * files.el (hack-local-variables-prop-line): Small simplifications.
18780 (hack-local-variables, hack-local-variables-prop-line):
18781 If MODE-ONLY, return the mode, rather than just `t'.
18783 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
18785 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
18787 2011-05-21 Glenn Morris <rgm@gnu.org>
18789 * files.el (hack-local-variables-prop-line, hack-local-variables):
18790 If only interested in the mode, don't bother doing the other stuff.
18792 * image-mode.el (image-after-revert-hook):
18793 Redraw all frames on which the image is visible. (Bug#8567)
18795 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
18797 * wid-edit.el (widget-checklist-match-inline):
18798 Fix 2011-04-19 change. (Bug#8649)
18800 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
18802 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
18803 Also allow singlespace after single-letter capitals followed by a dot.
18805 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
18806 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
18808 2011-05-20 Nix <nix@esperi.org.uk>
18810 * files.el (basic-save-buffer-2):
18811 Fix handling of break-hardlink-on-save with non-existent files.
18813 2011-05-19 Deniz Dogan <deniz@dogan.se>
18815 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
18816 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
18818 2011-05-19 Glenn Morris <rgm@gnu.org>
18820 * progmodes/f90.el (f90-type-def-re):
18821 Handle "type, bind(c)". (Bug#8691)
18823 * emacs-lisp/autoload.el (batch-update-autoloads):
18824 Set autoload-excludes by parsing loadup.el rather than Makefiles.
18826 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
18828 * net/tramp.el (tramp-process-actions): Set "first-password-request"
18829 property for the correct connection in case of multihops.
18831 2011-05-18 Glenn Morris <rgm@gnu.org>
18833 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
18834 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
18836 Rationalize calendar handling of day and month abbrev-arrays.
18837 * calendar/calendar.el (calendar-customized-p): New function.
18838 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
18839 (calendar-day-name-array, calendar-month-name-array): Doc fix.
18841 (calendar-abbrev-length, calendar-day-abbrev-array)
18842 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
18843 (calendar-day-abbrev-array, calendar-month-abbrev-array):
18844 Elements may no longer be nil.
18845 (calendar-day-name, calendar-month-name):
18846 Update for changed nature of abbrev arrays.
18847 * calendar/diary-lib.el (diary-name-pattern):
18848 Update for changed nature of abbrev arrays.
18849 (diary-mark-entries-1): Update calendar-make-alist calls.
18850 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
18851 * calendar/cal-html.el (cal-html-day-abbrev-array):
18852 Simply inherit from calendar-day-abbrev-array.
18854 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
18856 * progmodes/grep.el (grep-mode): Disable default
18857 compilation-directory-matcher setting (bug#8684).
18859 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
18861 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
18862 instead of "head" and "tail". There were problems with SunOS 5.9,
18863 and it performs better.
18865 2011-05-17 Glenn Morris <rgm@gnu.org>
18867 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
18869 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
18870 Replace obsolete function.
18872 * shell.el (pcomplete-parse-arguments-function): Declare.
18874 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
18875 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
18876 (appt-check): Doc fixes.
18877 (appt-disp-window-function, appt-delete-window-function):
18878 Remove needless special case in custom :type.
18879 (appt-display-count): Default to 0, not nil.
18880 (appt-check): Reset appt-display-count to 0, not nil.
18882 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
18884 * progmodes/python.el (python-font-lock-keywords):
18885 Add the Python 3.X keyword "nonlocal" (bug#8639).
18887 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
18889 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
18891 2011-05-16 Kevin Ryde <user42@zip.com.au>
18893 * info-look.el (makefile-automake-mode): New setups, looking in
18894 automake manual, then makefile-mode.
18895 (makefile-mode): Remove automake manual, have it just in
18896 makefile-automake-mode since there's various things different or
18897 not relevant to plain make.
18898 (makefile-mode): Remove "other-modes" non-existent automake-mode,
18899 believe a hypothetical automake-mode would go to makefile-mode,
18900 not the other way around.
18902 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
18904 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
18905 hunk-end tags (Bug#8672).
18907 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
18908 vc-annotate-show-diff-revision-at-line (Bug#8671).
18910 2011-05-14 Glenn Morris <rgm@gnu.org>
18912 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
18913 in the middle of an existing one with multiple authors. (Bug#8645)
18914 (change-log-font-lock-keywords): Also handle multiple author lines
18915 with leading tabs. (Bug#8644)
18917 * calendar/appt.el (appt-check): Rename some local variables.
18918 Some simplification/reordering.
18920 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
18921 (feedmail-sendmail-f-doesnt-sell-me-out)
18922 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18923 (feedmail-debug-sit-for, feedmail-queue-express-hook)
18924 (feedmail-queue-runner-message-sender): Set :version.
18925 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
18926 (bbdb-dwim-net-address, vm-mail): Declare.
18927 (feedmail-binmail-gnulinuxish-template):
18928 Rename from feedmail-binmail-linuxish-template.
18929 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
18930 Use insert-buffer-substring.
18932 2011-05-14 Bill Carpenter <bill@carpenter.org>
18934 * mail/feedmail.el (feedmail-patch-level): Increase.
18935 (feedmail-debug): New custom group.
18936 (feedmail-confirm-outgoing-timeout)
18937 (feedmail-sendmail-f-doesnt-sell-me-out)
18938 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18939 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
18940 (feedmail-sender-line, feedmail-from-line)
18941 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
18942 (feedmail-spray-this-address)
18943 (feedmail-spray-address-fiddle-plex-list)
18944 (feedmail-queue-use-send-time-for-date)
18945 (feedmail-queue-use-send-time-for-message-id)
18946 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
18947 (feedmail-buffer-eating-function):
18949 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
18950 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
18951 (feedmail-message-action-scroll-down): New functions.
18952 (feedmail-queue-directory, feedmail-queue-draft-directory):
18953 Use expand-file-name.
18954 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
18955 Remove C-v help entry.
18956 (feedmail-queue-buffer-file-name): New variable.
18957 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
18958 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
18959 (feedmail-message-action-send-strong, feedmail-message-action-edit)
18960 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
18961 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
18962 (feedmail-message-action-toggle-spray)
18963 (feedmail-run-the-queue-no-prompts)
18964 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
18965 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
18966 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
18967 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
18968 (feedmail-envelope-deducer, feedmail-fiddle-from)
18969 (feedmail-fiddle-sender, feedmail-default-date-generator)
18970 (feedmail-fiddle-date, feedmail-fiddle-message-id)
18971 (feedmail-fiddle-spray-address)
18972 (feedmail-fiddle-list-of-spray-fiddle-plexes)
18973 (feedmail-fiddle-list-of-fiddle-plexes)
18974 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
18975 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
18976 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
18977 Change default. Doc fix.
18978 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
18979 (feedmail-binmail-linuxish-template): New constant.
18980 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
18981 Respect feedmail-sendmail-f-doesnt-sell-me-out.
18982 (feedmail-send-it): Add debug call.
18983 Use feedmail-queue-buffer-file-name, and
18984 feedmail-send-it-immediately-wrapper.
18985 (feedmail-message-action-send): Add debug call.
18986 Use feedmail-send-it-immediately-wrapper.
18987 (feedmail-queue-express-to-queue): Add debug call.
18988 Run feedmail-queue-express-hook.
18989 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
18990 (feedmail-message-action-help-blat):
18991 Rename from feedmail-queue-send-edit-prompt-help-first.
18992 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
18993 Check line-endings. Handle errors better.
18994 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
18995 Doc fix. Add debug call.
18996 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
18997 Use feedmail-queue-send-edit-prompt-inner.
18998 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
18999 (feedmail-queue-send-edit-prompt-inner): New function, extracted
19000 from feedmail-queue-send-edit-prompt.
19001 (feedmail-queue-send-edit-prompt-help)
19002 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
19003 (feedmail-tidy-up-slug): Add debug call.
19004 Respect feedmail-queue-slug-suspect-regexp.
19005 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
19006 (feedmail-dump-message-to-queue): Add debug call.
19007 Expand queue-directory.
19008 (feedmail-dump-message-to-queue): Change message slightly.
19009 Use feedmail-say-chatter.
19010 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
19011 (feedmail-send-it-immediately-wrapper): New function.
19012 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
19013 Insert empty string rather than newline. Handle full-frame case.
19014 Use catch/throw. Use feedmail-say-chatter.
19015 (feedmail-fiddle-from): Try mail-host-address.
19016 (feedmail-default-message-id-generator): Doc fix.
19017 Bind system-time-locale. Handle missing end.
19018 (feedmail-fiddle-x-mailer): Add debug call.
19019 Handle feedmail-x-mailer-line being nil.
19020 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
19021 Add debug call. Use buffer-substring-no-properties.
19022 (feedmail-say-debug, feedmail-say-chatter): New functions.
19023 (feedmail-find-eoh): Give an explicit error.
19025 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
19027 * net/newst-treeview.el (newsticker-treeview-face): Change default
19028 family from helvetica to sans.
19029 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
19030 etc/images/newsticker.
19032 * net/newst-reader.el (newsticker-feed-face): Change default
19033 family from helvetica to sans.
19035 * net/newst-plainview.el (newsticker-new-item-face)
19036 (newsticker-old-item-face, newsticker-immortal-item-face)
19037 (newsticker-obsolete-item-face, newsticker-date-face)
19038 (newsticker-statistics-face): Change default family from
19040 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
19041 etc/images/newsticker.
19043 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
19044 (newsticker--process-auto-mark-filter-match): Tell user about
19047 2011-05-13 Didier Verna <didier@xemacs.org>
19049 Common Lisp indentation improvements on defmethod and lambda-lists.
19050 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
19052 (lisp-lambda-list-keyword-parameter-indentation)
19053 (lisp-lambda-list-keyword-parameter-alignment)
19054 (lisp-lambda-list-keyword-alignment): New customizable user options.
19055 (lisp-indent-defun-method): Improve docstring.
19056 (extended-loop-p): Fix comment.
19057 (lisp-indent-lambda-list-keywords-regexp): New variable.
19058 (lisp-indent-lambda-list): New function.
19059 (lisp-indent-259): Use it.
19060 (lisp-indent-defmethod): Support for more than one
19061 method qualifier and properly indent methods lambda-lists.
19062 (defgeneric): Provide a missing common-lisp-indent-function property.
19064 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
19066 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
19067 bounds for the empty string (bug#8667).
19069 2011-05-13 Glenn Morris <rgm@gnu.org>
19071 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
19073 * mail/sendmail.el (sendmail-program): Try executable-find first.
19074 (sendmail-send-it): `sendmail-program' cannot be unbound.
19076 * calendar/appt.el (appt-make-list): Simplify.
19077 (appt-time-msg-list): Doc fix.
19078 (appt-check): Change mode-line message at the time of the appointment.
19080 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
19082 * progmodes/ld-script.el (ld-script-keywords)
19083 (ld-script-builtins): Update keywords list.
19085 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
19087 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
19089 * shell.el (shell-completion-vars): New function.
19091 * simple.el (read-shell-command): Use it.
19092 (blink-matching-open): No need for " [...]" in minibuffer-message.
19094 2011-05-12 Glenn Morris <rgm@gnu.org>
19096 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
19097 (appt-check): Simplify.
19099 2011-05-12 Eli Zaretskii <eliz@gnu.org>
19101 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
19102 literal "/dev/null".
19104 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
19106 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
19109 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
19111 * progmodes/which-func.el (which-function):
19112 Use add-log-current-defun instead of add-log-current-defun-function,
19113 which might not be defined (Bug#8260).
19115 2011-05-12 Glenn Morris <rgm@gnu.org>
19117 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
19118 Let byte-compile-initial-macro-environment always take precedence.
19120 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
19122 * net/rcirc.el: Add support for SSL/TLS connections.
19123 (rcirc-server-alist): New field `encryption'.
19124 (rcirc): Check `encryption' settings.
19125 (rcirc-connect): New arg `encryption'. Use open-network-stream.
19126 Merge make-local-variable into `set'.
19127 (rcirc--connection-open-p): New function.
19128 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
19129 the process is not a network process (e.g. running gnutls-cli).
19130 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
19131 Make rcirc-(en|de)code-coding-system local here.
19132 (rcirc-mode): Merge make-local-variable into `set'.
19133 (rcirc-parent-buffer): Make permanent buffer-local.
19134 (rcirc-multiline-minor-mode): Don't do it here.
19135 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
19136 there's no server buffer.
19138 2011-05-11 Glenn Morris <rgm@gnu.org>
19140 * newcomment.el (comment-kill): Prefix "unused" local.
19142 * term/w32console.el (get-screen-color): Declare.
19144 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
19145 Handle symbol elements of byte-compile-initial-macro-environment.
19147 2011-05-10 Leo Liu <sdl.web@gmail.com>
19149 * bookmark.el (bookmark-bmenu-mode-map):
19150 Bind bookmark-bmenu-search to `/'.
19152 * mail/footnote.el: Convert to utf-8 encoding.
19153 (footnote-unicode-string, footnote-unicode-regexp): New variable.
19154 (Footnote-unicode): New function.
19155 (footnote-style-alist): Add unicode style to the list.
19156 (footnote-style): Doc fix.
19158 2011-05-10 Jim Meyering <meyering@redhat.com>
19160 Fix doubled-word typos.
19161 * international/quail.el (quail-insert-kbd-layout): and and -> and
19162 * kermit.el: and and -> and
19163 * net/ldap.el (ldap-search-internal): to to -> to
19164 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
19165 * progmodes/js.el (js-mode): and and -> and
19166 * textmodes/artist.el (artist-move-to-xy): at at -> at
19167 (artist-draw-region-trim-line-endings): if if -> if
19168 And Safetyc -> Safety.
19169 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
19171 2011-05-10 Glenn Morris <rgm@gnu.org>
19172 Stefan Monnier <monnier@iro.umontreal.ca>
19174 * files.el (hack-one-local-variable-eval-safep):
19175 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
19177 2011-05-10 Glenn Morris <rgm@gnu.org>
19179 * calendar/diary-lib.el (diary-list-entries-hook)
19180 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
19181 (diary-nongregorian-marking-hook, diary-list-entries)
19182 (diary-include-other-diary-files, diary-mark-entries)
19183 (diary-mark-included-diary-files): Doc fixes.
19185 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
19187 * misc.el: Require tabulated-list.el during compilation.
19189 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
19191 * progmodes/compile.el (compilation-start):
19192 Run compilation-filter-hook for the async case too.
19193 (compilation-filter-hook): Doc fix.
19195 2011-05-09 Deniz Dogan <deniz@dogan.se>
19197 * wdired.el: Remove outdated installation comment. Fix usage
19200 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
19202 * misc.el: Implement new command `list-dynamic-libraries'.
19203 (list-dynamic-libraries--loaded-only-p): New variable.
19204 (list-dynamic-libraries--refresh): New function.
19205 (list-dynamic-libraries): New command.
19207 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
19209 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19210 Fix the ant regexp to handle end-line and end-column info from jikes.
19211 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
19212 higher priority to avoid clobbering by gnu.
19214 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
19216 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
19217 if the face has existing theme settings (Bug#8454).
19219 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
19221 * progmodes/perl-mode.el (perl-imenu-generic-expression):
19222 Only match variables declared via `my' or `our' (Bug#8261).
19224 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
19225 special file names `.' and `..' (Bug#8259).
19227 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
19229 * progmodes/grep.el (grep-mode-font-lock-keywords):
19230 Remove buffer-changing entries.
19231 (grep-filter): New function.
19232 (grep-mode): Add it to compilation-filter-hook.
19234 * progmodes/compile.el (compilation-filter-hook)
19235 (compilation-filter-start): New defvars.
19236 (compilation-filter): Call compilation-filter-hook prior to
19237 updating the process mark.
19239 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
19241 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
19243 2011-05-07 Eli Zaretskii <eliz@gnu.org>
19245 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
19246 mailclient-send-it even if window-system is nil. (Bug#8595)
19248 * term/w32console.el (terminal-init-w32console):
19249 Call get-screen-color and use its output to set the frame
19250 background-mode. (Bug#8597)
19252 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
19254 Make bytecomp.el understand that defmethod defines funs (bug#8631).
19255 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
19257 (defgeneric, eieio--defmethod): Use them.
19258 (eieio-defgeneric): Remove.
19259 (defmethod): Call defgeneric in a way visible to the byte-compiler.
19261 2011-05-07 Glenn Morris <rgm@gnu.org>
19263 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
19264 Use let rather than let*.
19265 (timeclock-find-discrep): Remove unused local.
19267 * calendar/diary-lib.el (diary-comment-start): Doc fix.
19269 * calendar/appt.el (appt-time-msg-list): Doc fix.
19271 2011-05-06 Noah Friedman <friedman@splode.com>
19273 * apropos.el (apropos-print-doc): Only use
19274 emacs-lisp-docstring-fill-column when it is bound to an integer,
19275 per that variable's documentation.
19277 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
19279 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
19280 and warnings are not silently discarded (e.g. use -d instead of -P).
19282 2011-05-06 Glenn Morris <rgm@gnu.org>
19284 * calendar/appt.el (appt-message-warning-time): Doc fix.
19285 (appt-warning-time-regexp): New option.
19286 (appt-make-list): Respect appt-message-warning-time.
19288 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
19290 (diary-add-to-list): Strip comments from the displayed string.
19291 (diary-mode): Set comment-start and comment-end.
19293 * vc/diff-mode.el (smerge-refine-subst): Declare.
19294 (diff-refine-hunk): Don't require smerge-mode when compiling.
19296 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
19298 * simple.el (list-processes): Return nil as the docstring says.
19300 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
19302 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
19304 (ange-ftp-write-region, ange-ftp-insert-file-contents)
19305 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
19306 determining of binary transfer. (Bug#7383)
19308 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
19310 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19311 Fix port computation bug. (Bug#8618)
19313 2011-05-05 Glenn Morris <rgm@gnu.org>
19315 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
19317 * simple.el (shell-dynamic-complete-functions)
19318 (comint-dynamic-complete-functions): Declare.
19320 * net/network-stream.el (gnutls-negotiate):
19321 * simple.el (tabulated-list-print): Fix declarations.
19323 * progmodes/gud.el (syntax-symbol, syntax-point):
19324 Remove unnecessary and incorrect declarations.
19326 * emacs-lisp/check-declare.el (check-declare-scan):
19327 Handle byte-compile-initial-macro-environment in bytecomp.el.
19329 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
19331 Fix earlier half-done eieio-defmethod change (bug#8338).
19332 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
19333 Streamline and change calling convention.
19334 (defmethod): Adjust accordingly and simplify.
19335 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
19336 new eieio--defmethod.
19337 (slot-boundp): Minor CSE simplification.
19339 2011-05-05 Milan Zamazal <pdm@zamazal.org>
19341 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
19342 (glasses-make-readable): Use glasses-separate-capital-groups.
19344 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
19346 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
19347 (warning-series): Doc fix.
19348 (display-warning): Don't try to create the buffer if we just found it.
19350 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
19352 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
19353 (autoload-find-generated-file): New function.
19354 (generate-file-autoloads): Bind generated-autoload-file to
19356 (update-file-autoloads, update-directory-autoloads):
19357 Use autoload-find-generated-file. If called interactively, prompt for
19358 output file (Bug#7989).
19359 (batch-update-autoloads): Doc fix.
19361 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
19363 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
19365 2011-05-04 Glenn Morris <rgm@gnu.org>
19367 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
19368 function, so it follows changes in calendar-date-style.
19369 (diary-fancy-date-matcher): New function.
19370 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
19371 (diary-fancy-font-lock-fontify-region-function):
19372 Use diary-fancy-date-pattern as a function.
19374 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
19375 non-numbers for `year' etc pseudo-variables. (Bug#8583)
19377 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
19379 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
19380 instead of positional arguments. Allow :keylist and :crlfiles
19382 (open-gnutls-stream): Call it.
19384 * net/network-stream.el (network-stream-open-starttls): Adjust to
19385 call `gnutls-negotiate' with :process and :hostname arguments.
19387 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
19389 * minibuffer.el (completion--message): New function.
19390 (completion--do-completion, minibuffer-complete)
19391 (minibuffer-force-complete, minibuffer-complete-word): Use it.
19392 (completion--do-completion): Don't ignore completion-auto-help when in
19395 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
19396 internal encoding (e.g. tibetan zero is not whitespace).
19397 (global-whitespace-mode): Prefer save-current-buffer.
19398 (whitespace-trailing-regexp): Remove useless save-match-data.
19399 (whitespace-empty-at-bob-regexp): Minor simplification.
19401 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
19403 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
19405 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
19407 * textmodes/ispell.el (ispell-add-per-file-word-list):
19408 Use `concat' to create string for insertion.
19410 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
19412 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
19413 Avoid open-line which runs post-self-insert-hook.
19414 (bibtex-fill-entry): Remove unused `end' var.
19416 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
19418 * textmodes/ispell.el (ispell-add-per-file-word-list):
19419 Protect against `nil' value of `comment-start' (Bug#8579).
19421 2011-05-03 Leo Liu <sdl.web@gmail.com>
19423 * isearch.el (isearch-yank-pop): New command.
19424 (isearch-mode-map): Bind it to `M-y'.
19425 (isearch-forward): Mention it.
19427 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
19429 * simple.el (minibuffer-complete-shell-command): Remove.
19430 (minibuffer-local-shell-command-map): Use completion-at-point.
19431 (read-shell-command): Setup completion vars here instead.
19432 (read-expression-map): Bind TAB to symbol completion.
19434 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
19435 error directly rather via storing it into `results'.
19437 2011-05-02 Leo Liu <sdl.web@gmail.com>
19439 * vc/diff.el: Fix description.
19441 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19443 * server.el (server-eval-at): New function.
19445 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
19447 * net/network-stream.el (open-network-stream): Take a :nowait
19448 parameter and pass it on to `make-network-process'.
19449 (network-stream-open-plain): Ditto.
19451 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
19453 * faces.el (face-spec-set-match-display): Don't match toolkit
19454 options on terminal frames.
19456 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
19458 * progmodes/pascal.el: Use lexical binding.
19459 (pascal-mode-map): Remove author preferences.
19461 * pcomplete.el (pcomplete-std-complete): Don't abuse
19462 completion-at-point.
19464 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
19466 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
19467 removing code that has been dead since 1991 or so.
19469 * startup.el (command-line): When warning about "_emacs", use a
19470 delayed warning to allow the user to filter it out.
19472 2011-04-28 Deniz Dogan <deniz@dogan.se>
19474 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
19475 user has not joined.
19477 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
19479 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
19480 aren't any completions at point.
19482 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
19484 * subr.el (display-delayed-warnings): New function.
19485 (delayed-warnings-hook): New variable.
19487 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
19489 * minibuffer.el (completion-at-point, completion-help-at-point):
19490 Don't presume that a given completion-at-point-function will always
19491 use the same calling convention.
19493 * pcomplete.el (pcomplete-completions-at-point):
19494 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
19495 pcomplete-seen is non-nil.
19496 (pcomplete-comint-setup): Also recognize the new comint/shell
19497 completion functions.
19498 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
19499 pcomplete-seen is non-nil.
19501 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
19503 * calendar/icalendar.el (diary-lib): Add require statement.
19504 (icalendar--create-uid): Read out a uid from a text-property on
19505 the first character in the entry. This allows for code to add its
19506 own uid to the entry.
19507 (icalendar--convert-float-to-ical): Add export of
19508 `diary-float'-entries save for those with the optional DAY
19511 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
19513 * subr.el (shell-quote-argument): Use alternate escaping strategy
19514 when we spot a variable reference in a string.
19516 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
19518 * cus-start.el (all): Define customization for debug-on-event.
19520 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
19522 * subr.el (shell-quote-argument): Escape correctly under Windows.
19524 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
19526 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
19528 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
19530 * net/tramp.el (tramp-process-actions): Add POS argument.
19531 Delete region between POS and (pos).
19533 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19534 Use `nil' position in `tramp-process-actions' call.
19535 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
19537 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
19538 position in `tramp-process-actions' call.
19540 * net/trampver.el: Update release number.
19542 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
19544 * custom.el (defcustom): Obey lexical-binding.
19546 Fix octave-inf completion problems reported by Alexander Klimov.
19547 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
19548 Inherit from octave-mode-syntax-table.
19549 (inferior-octave-mode): Set info-lookup-mode.
19550 (inferior-octave-completion-at-point): New function.
19551 (inferior-octave-complete): Use it and completion-in-region.
19552 (inferior-octave-dynamic-complete-functions): Use it as well, and use
19553 comint-filename-completion.
19554 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
19555 symbol elements which shouldn't be word elements.
19556 (octave-font-lock-keywords, octave-beginning-of-defun)
19557 (octave-function-header-regexp): Adjust regexps accordingly.
19558 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
19560 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
19562 * net/gnutls.el (gnutls-errorp): Declare before first use.
19564 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
19566 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
19567 verify-error, and verify-hostname-error parameters. Check whether
19568 default trustfile exists before going to use it. Add missing
19569 argument to gnutls-message-maybe call. Return value.
19570 Reported by Claudio Bley <claudio.bley@gmail.com>.
19571 (open-gnutls-stream): Add usage example.
19573 * net/network-stream.el (network-stream-open-starttls): Give host
19574 parameter to `gnutls-negotiate'.
19575 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
19576 * subr.el (shell-quote-argument): Escape correctly under Windows.
19578 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
19580 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
19581 Use correct match group (bug#8438).
19583 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
19585 * emacs-lisp/package.el (package-built-in-p): Fix typo.
19586 (package-menu--generate): New arg specifying packages to show.
19587 (package-menu-refresh, package-menu-execute, list-packages):
19589 (package-show-package-list): New function, replacing deleted
19590 package--list-packages (renamed because it is non-internal).
19592 * finder.el (finder-list-matches): Use package-show-package-list
19593 instead of deleted package--list-packages.
19595 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
19596 Based on a previous implementation by Juanma Barranquero (Bug#8366).
19597 (vc-annotate-mode-map): Bind it to RET.
19599 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
19601 * progmodes/etags.el (next-file): Don't use set-buffer to change
19602 buffers (Bug#8478).
19604 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
19606 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
19608 * apropos.el (apropos-label-face): Avoid variable-pitch face.
19609 (apropos-accumulator): Doc fix.
19610 (apropos-function, apropos-macro, apropos-command)
19611 (apropos-variable, apropos-face, apropos-group, apropos-widget)
19612 (apropos-plist): Add face property.
19613 (apropos-symbols-internal): Fix indentation.
19614 (apropos-print): Simplify help, and recognize apropos-multi-type.
19615 (apropos-print-doc): Use button-type-get to extract the button's
19616 face property. Fill docstring (Bug#8352).
19618 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
19620 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
19622 * play/mpuz.el (mpuz-silent): Doc fix.
19623 (mpuz-mode-map): Use mapc.
19624 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
19625 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
19626 Fix typos in docstrings.
19628 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
19629 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
19631 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
19633 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
19635 * minibuffer.el (completion--do-completion): Avoid the "Next char
19636 not unique" prompt if icomplete-mode is enabled (Bug#5849).
19638 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
19639 mouse-2 into unread-command-events, it is interpreted correctly.
19641 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
19642 (image-toggle-display): Doc fix.
19644 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
19646 * textmodes/page.el (what-page): Use line-number-at-pos to
19647 calculate line number (Bug#6825).
19649 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
19651 * eshell/esh-mode.el (find-tag-interactive): Declare function.
19652 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
19653 Pass argument NO-DEFAULT to `find-tag-interactive'.
19655 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
19657 Lexical-binding cleanup.
19659 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
19660 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
19661 * progmodes/ada-prj.el (ada-prj-initialize-values)
19662 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
19663 (ada-prj-show-value):
19664 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
19665 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
19666 (antlr-invalidate-context-cache, antlr-options-menu-filter)
19667 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
19668 * progmodes/bug-reference.el (bug-reference-push-button):
19669 * progmodes/fortran.el (fortran-line-length):
19670 * progmodes/glasses.el (glasses-change):
19671 * progmodes/octave-mod.el (octave-fill-paragraph):
19672 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
19673 (python-pdbtrack-grub-for-buffer, python-sentinel):
19674 * progmodes/sql.el (sql-save-connection):
19675 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
19676 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
19677 Mark unused parameters.
19679 * progmodes/compile.el (compilation--flush-directory-cache)
19680 (compilation--flush-parse, compile-internal): Mark unused parameters.
19681 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
19682 (compilation-next-error-function): Remove unused variable `timestamp'.
19684 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
19685 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
19687 * progmodes/dcl-mode.el (dcl-end-of-command):
19688 Remove unused variable `start'.
19689 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
19690 (dcl-option-value-basic, dcl-option-value-offset)
19691 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
19692 Mark unused parameters.
19693 (dcl-save-local-variable): Remove unused variable `val'.
19696 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
19697 Mark unused parameters.
19698 (delphi-ignore-changes): Move before first use.
19699 (delphi-charset-token-at): Remove unused variable `start'.
19700 (delphi-else-start): Remove unused variable `if-count'.
19701 (delphi-comment-block-start, delphi-comment-block-end):
19702 Remove unused variable `kind'.
19703 (delphi-indent-line): Remove unused variable `new-point'.
19705 * progmodes/ebrowse.el (ebrowse-files-list)
19706 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
19707 Mark unused parameters. Don't quote `lambda'.
19708 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
19709 Don't quote `lambda'.
19710 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
19711 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
19712 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
19713 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
19714 Use `ignore-errors'.
19715 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
19716 (ebrowse-view/find-file-and-search-pattern)
19717 (ebrowse-view/find-member-declaration/definition):
19718 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
19719 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
19720 Rename parameter PREFIX-ARG to PREFIX.
19721 (ebrowse-tags-read-name): Remove unused variables `start' and
19723 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
19726 * progmodes/etags.el (local-find-tag-hook): Declare.
19727 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
19728 Mark unused parameters.
19730 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
19731 (executable-interpret): Mark unused parameter.
19733 * progmodes/flymake.el (flymake-process-sentinel)
19734 (flymake-after-change-function)
19735 (flymake-create-temp-with-folder-structure)
19736 (flymake-get-include-dirs-dot): Mark unused parameters.
19737 (flymake-safe-delete-directory): Remove unused variable `err'.
19739 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
19740 (speedbar-timer-fn, speedbar-line-text)
19741 (speedbar-change-expand-button-char, speedbar-delete-subblock)
19742 (speedbar-center-buffer-smartly): Declare functions.
19743 (gdb-find-watch-expression): Remove unused variable `array'.
19744 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
19745 (gdb-starting): Mark unused parameters.
19746 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
19747 (gdb-table-string): Remove unused variable `res'.
19748 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
19749 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
19750 (gdb-display-buffer): Remove unused variable `cur-size'.
19752 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
19753 allow lexical-binding compilation.
19754 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
19755 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
19756 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
19757 Mark unused parameters.
19758 (gud-gdb-marker-filter): Remove unused variable `match'.
19759 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
19760 lambda expressions and funcall them, instead of using `fset'.
19762 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
19763 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
19765 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
19766 variable `header-beg'; use `let'.
19768 * progmodes/icon.el (indent-icon-exp): Remove unused variables
19769 `restart', `last-sexp' and `at-do'.
19771 * progmodes/js.el (js--debug): Mark unused parameter.
19772 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
19773 (js--splice-into-items): Remove unused variable `item'.
19774 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
19776 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
19777 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
19778 (makefile-complete): Remove unused variable `try'.
19779 (makefile-fill-paragraph, makefile-match-function-end):
19780 Mark unused parameters.
19782 * progmodes/octave-inf.el (inferior-octave-complete):
19783 Remove unused variable `proc'.
19784 (inferior-octave-output-digest): Mark unused parameter.
19786 * progmodes/perl-mode.el (perl-calculate-indent):
19787 Remove unused variable `err'.
19789 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
19790 (prolog-indent-line): Mark unused parameters.
19791 (prolog-indent-line): Remove unused variable `beg'.
19793 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
19794 (reporter-dont-compact-list): Declare.
19796 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
19797 Remove unused variable `char'.
19798 (sh-debug): Mark unused parameter.
19799 (sh-get-indent-info): Remove unused variable `start'.
19800 (sh-calculate-indent): Remove unused variable `var'.
19802 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
19803 (simula-electric-keyword): Remove unused variable `null'.
19804 (simula-search-backward, simula-search-forward): Remove unused
19805 variables `begin' and `end'.
19807 * progmodes/vera-mode.el (vera-guess-basic-syntax):
19808 Remove unused variable `pos'.
19809 (vera-electric-tab, vera-comment-uncomment-region):
19810 Mark unused parameters.
19811 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
19813 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
19815 * emacs-lisp/package.el (package--builtins, package-alist)
19816 (package-load-descriptor, package-built-in-p, package-activate)
19817 (define-package, package-installed-p)
19818 (package-compute-transaction, package-buffer-info)
19819 (package--push): Doc fix. Distinguish more clearly between
19820 version strings and version lists.
19822 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
19824 Lexical-binding cleanup.
19826 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
19827 (5x5-make-mutate-best):
19828 * play/fortune.el (fortune-in-buffer):
19829 * play/gomoku.el (gomoku-init-display):
19830 * play/solitaire.el (solitaire, solitaire-do-check):
19831 * play/tetris.el (tetris-default-update-speed-function):
19832 Mark unused parameters.
19834 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
19835 (bubbles--shift): Remove unused variable `char-org'.
19836 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
19837 (bubbles--show-images): Remove unused variable `char'.
19839 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
19840 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
19841 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
19842 (decipher-analyze-buffer): Use ?\s.
19843 (decipher-make-checkpoint): Remove unused variable `mapping'.
19845 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
19847 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
19848 Remove unused variable `result'; use `let'.
19850 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
19851 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
19852 (gametree-children-shown-p, gametree-compute-reduced-score):
19853 Use `ignore-errors'.
19855 * play/handwrite.el (ps-lpr-switches): Declare.
19856 (handwrite): Remove unused variables `pmin' and `lastp'.
19858 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
19860 * play/landmark.el (landmark-init-display)
19861 (landmark-update-naught-weights): Mark unused parameters.
19862 (landmark-y): Remove unused variable `noise'. Simplify.
19863 (landmark-human-plays): Remove unused variable `score'.
19865 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
19866 (mpuz-try-proposal): Remove unused variable `game'.
19868 * play/zone.el (life-patterns): Declare.
19870 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
19872 * vc/vc.el (ediff-vc-internal): Declare function.
19874 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19876 * shell.el: Use lexical-binding and std completion UI.
19877 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
19878 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
19879 comint-preoutput-filter-functions rather than on
19880 comint-output-filter-functions.
19881 (shell-command-completion, shell--command-completion-data)
19882 (shell-filename-completion, shell-environment-variable-completion)
19883 (shell-c-a-p-replace-by-expanded-directory): New functions.
19884 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
19885 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
19886 (shell-dynamic-complete-environment-variable): Use them.
19887 (shell-dynamic-complete-as-environment-variable)
19888 (shell-dynamic-complete-as-command): Remove.
19889 (shell-match-partial-variable): Match past point.
19890 * comint.el: Clean up use of completion-at-point-functions.
19891 (comint-completion-at-point): New function.
19892 (comint-mode): Use it completion-at-point-functions.
19893 (comint-dynamic-complete): Make it obsolete.
19894 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
19895 (comint-c-a-p-replace-by-expanded-history): New function.
19896 (comint-dynamic-complete-functions)
19897 (comint-replace-by-expanded-history): Use it.
19898 * minibuffer.el (completion-table-with-terminator): Allow dynamic
19899 termination strings. Try harder to avoid second try-completion.
19900 (completion-in-region-mode-map): Disable bindings that don't work yet.
19902 * comint.el: Use lexical-binding. Require CL.
19903 (comint-dynamic-complete-functions): Use comint-filename-completion.
19904 (comint-completion-addsuffix): Tweak custom type.
19905 (comint-filename-completion, comint--common-suffix)
19906 (comint--common-quoted-suffix, comint--table-subvert)
19907 (comint--complete-file-name-data): New functions.
19908 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
19909 (comint-dynamic-list-filename-completions): Use them.
19910 (comint-dynamic-simple-complete): Make obsolete.
19912 * minibuffer.el (completion-in-region-mode):
19913 Keep completion-in-region-mode--predicate global.
19914 (completion-in-region--postch):
19915 Assume completion-in-region-mode--predicate is not null.
19917 * progmodes/flymake.el (flymake-start-syntax-check-process):
19918 Obey `dir'. Simplify.
19920 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
19921 we're in VC after all.
19923 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
19925 * vc/vc.el (vc-diff-build-argument-list-internal)
19926 (vc-version-ediff, vc-ediff): New commands.
19927 (vc-version-diff): Use vc-diff-build-argument-list-internal.
19929 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19931 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
19934 * obsolete/erc-hecomplete.el: Make obsolete.
19935 * obsolete/: Standardize obsolescence info in the header.
19937 2011-04-20 Glenn Morris <rgm@gnu.org>
19939 * calendar/solar.el (solar-horizontal-coordinates):
19940 Use the longitude argument rather than `calendar-longitude'.
19941 (solar-date-next-longitude): Remove unused locals.
19943 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19945 * whitespace.el: New version 13.2.1.
19947 2011-04-20 felix <EmacsWiki> (tiny change)
19949 * whitespace.el (global-whitespace-mode): Keep highlight when
19950 switching between major modes on a file.
19952 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
19954 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
19955 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
19956 multi-line comments as well.
19958 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
19960 Lexical-binding cleanup.
19962 * arc-mode.el (archive-mode-revert):
19963 * cmuscheme.el (scheme-interactively-start-process):
19964 * custom.el (custom-initialize-delay):
19965 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
19966 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
19967 * emacs-lock.el (emacs-lock-clear-sentinel):
19968 * ezimage.el (defezimage):
19969 * follow.el (follow-avoid-tail-recenter):
19970 * fringe.el (set-fringe-mode-1):
19971 * generic-x.el (bat-generic-mode-compile):
19972 * help-mode.el (help-info-variable, help-do-xref)
19973 (help-mode-revert-buffer):
19974 * help.el (view-emacs-todo):
19975 * iswitchb.el (iswitchb-completion-help):
19976 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
19977 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
19978 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
19979 * locate.el (locate-update):
19980 * longlines.el (longlines-encode-region)
19981 (longlines-after-change-function):
19982 * outline.el (outline-isearch-open-invisible):
19983 * ps-def.el (declare-function, charset-dimension, char-width)
19985 * ps-mule.el (ps-mule-plot-string):
19986 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
19987 (recentf-edit-list-select, recentf-edit-list-validate)
19988 (recentf-open-files-action):
19989 * rect.el (delete-whitespace-rectangle-line)
19990 (rectangle-number-line-callback):
19991 * register.el (window-configuration-to-register)
19992 (frame-configuration-to-register):
19993 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
19994 * select.el (xselect-convert-to-string, xselect-convert-to-length)
19995 (xselect-convert-to-targets, xselect-convert-to-delete)
19996 (xselect-convert-to-filename, xselect-convert-to-charpos)
19997 (xselect-convert-to-lineno, xselect-convert-to-colno)
19998 (xselect-convert-to-os, xselect-convert-to-host)
19999 (xselect-convert-to-user, xselect-convert-to-class)
20000 (xselect-convert-to-name, xselect-convert-to-integer)
20001 (xselect-convert-to-atom, xselect-convert-to-identity):
20002 * subr.el (declare, ignore, process-kill-without-query)
20003 (text-clone-maintain):
20004 * terminal.el (te-get-char, te-tic-sentinel):
20005 * tool-bar.el (tool-bar-make-keymap):
20006 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
20007 * type-break.el (type-break-mode, type-break-noninteractive-query):
20008 * view.el (View-back-to-mark):
20009 * wid-browse.el (widget-browse-action, widget-browse-widget)
20010 (widget-browse-widgets, widget-browse-sexp):
20011 * widget.el (define-widget-keywords):
20012 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
20013 Mark unused parameters.
20015 * align.el (align-adjust-col-for-rule): Mark unused parameter.
20016 (align-areas): Remove unused variable `look'.
20017 (align-region): Remove unused variables `real-end' and `pos-list'.
20019 * apropos.el (apropos-score-doc): Remove unused variable `i'.
20021 * bindings.el (mode-line-modified, mode-line-remote):
20022 Mark unused parameters.
20023 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
20025 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
20026 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
20028 * comint.el (comint-history-isearch-pop-state)
20029 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
20030 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
20031 (comint-substitute-in-file-name): Doc fix.
20033 * completion.el (cmpl-statistics-block): Mark unused parameter.
20034 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
20035 (save-completions-to-file, load-completions-from-file):
20036 Remove unused local variable `e'.
20038 * composite.el (compose-chars): Remove unused variable `len'.
20039 (lgstring-insert-glyph): Remove unused variable `g'.
20040 (compose-glyph-string): Remove unused variables `ascent',
20041 `descent', `lbearing' and `rbearing'.
20042 (compose-glyph-string-relative): Remove unused variables
20043 `lbearing', `rbearing' and `wadjust'.
20044 (compose-gstring-for-graphic): Remove unused variables `header',
20045 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
20046 (compose-gstring-for-terminal): Remove unused variables `header'
20047 and `nchars'. Use `let', not `let*'.
20049 * cus-edit.el (Custom-set, Custom-save, custom-reset)
20050 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
20051 (Custom-buffer-done, custom-buffer-create-internal)
20052 (custom-browse-visibility-action, custom-browse-group-tag-action)
20053 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
20054 (widget-magic-mouse-down-action, custom-toggle-parent)
20055 (custom-add-parent-links, custom-toggle-hide-variable)
20056 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
20057 (custom-toggle-hide-face, face, hook, custom-group-link-action)
20058 (custom-face-menu-create, custom-variable-menu-create, get)
20059 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
20060 (custom-reset-standard-save-and-update): Remove unused variable `value'.
20061 (customize-apropos): Remove unused variable `tests'.
20062 (custom-group-value-create): Remove unused variable `hidden-p'.
20063 (sort-fold-case): Declare.
20065 * cus-theme.el (custom-reset-standard-faces-list)
20066 (custom-reset-standard-variables-list): Declare.
20067 (customize-create-theme, custom-theme-revert, custom-theme-write)
20068 (custom-theme-choose-mode, customize-themes, custom-theme-save):
20069 Mark unused parameters.
20071 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
20073 * delim-col.el (delimit-columns-max): Move defvar before first use.
20075 * descr-text.el (describe-char-categories): Don't quote `lambda'.
20076 (describe-char): Don't quote `lambda'. Mark unused parameter.
20078 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
20079 (auto-insert): Declare.
20080 (desktop-restore-file-buffer): Rename desktop-* parameters;
20082 (desktop-create-buffer): Rename desktop-* parameters and bind them.
20083 (desktop-buffer): Rename desktop-* parameters.
20085 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
20086 (dframe-reposition-frame-xemacs, dframe-help-echo)
20087 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
20088 Mark unused parameters.
20090 * dired-aux.el (backup-extract-version-start, overwrite-query)
20091 (overwrite-backup-query, rename-regexp-query)
20092 (rename-non-directory-query): Declare.
20093 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
20094 (dired-add-entry): Remove unused variable `orig-file-name'.
20095 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
20096 Use parameter PRESERVE-TIME instead of accessing dynamic variable
20097 `dired-copy-preserve-time' directly.
20098 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
20099 (dired-insert-subdir-newpos): Rename unused variable `pos'.
20101 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
20102 (dired-virtual-revert, dired-make-relative-symlink):
20103 Mark unused parameters.
20104 (manual-program): Declare.
20105 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
20106 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
20107 wrapped in `with-no-warnings' to avoid replacing one warning by another.
20109 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
20111 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
20113 * echistory.el (electric-history-in-progress, Helper-return-blurb):
20116 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
20118 * electric.el (Electric-command-loop): Rename parameter
20119 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
20121 * expand.el (expand-in-literal): Remove unused variable `here'.
20123 * facemenu.el (facemenu-add-new-color):
20124 Remove unused variable `docstring'.
20126 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
20127 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
20128 (face-attr-construct): Mark unused parameter. Doc fix.
20129 (read-color): Remove unused variable `hex-string'.
20131 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
20132 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
20133 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
20134 (display-buffer-other-frame): Remove unused variable `old-window'.
20135 (kill-buffer-hook): Declare.
20136 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
20137 Mark unused parameters.
20138 (after-find-file): Pass 1 to `auto-save-mode', not t.
20140 * files-x.el (auto-insert): Declare.
20141 (modify-file-local-variable-prop-line): Remove unused variable `val'.
20143 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
20144 variable `buf'. Mark unused parameter.
20145 (find-lisp-insert-directory): Mark unused parameter.
20147 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
20148 (format-encode-region): Remove unused variables `cur-buf' and `result'.
20149 (format-common-tail): Remove, unused.
20150 (format-deannotate-region): Remove unused variable `loc'.
20151 (format-annotate-region): Remove unused variable `p'.
20152 (format-annotate-single-property-change): Remove unused variables
20153 `default' and `tail'.
20155 * forms.el (read-file-filter): Declare.
20156 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
20158 * frame.el (frame-creation-function-alist): Mark unused parameter.
20159 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
20161 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
20162 Remove unused parameters.
20163 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
20164 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
20166 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
20167 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
20168 (hfy-prepare-tag-map): Mark unused parameters.
20169 (htmlfontify-buffer): Use `called-interactively-p'.
20171 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
20172 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
20173 (ibuffer-do-occur): Mark unused parameters.
20174 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
20175 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
20177 * ibuffer.el: Don't quote `lambda'.
20178 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
20179 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
20180 Mark unused parameters.
20182 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
20183 (ido-completing-read): Mark unused parameters.
20184 (ido-copy-current-word): Mark unused parameters;
20185 remove unused variable `name'.
20186 (ido-sort-merged-list): Remove unused parameter `dirs'.
20188 * ielm.el (ielm-input-sender): Mark unused parameter.
20189 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
20190 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
20191 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
20192 `ielm-string' as a dynamic variable accessible from the IELM prompt.
20193 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
20195 * image-dired.el (image-dired-display-thumbs): Remove unused
20196 variables `curr-file' and `count'.
20197 (image-dired-remove-tag): Remove unused variable `start'.
20198 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
20199 variable `curr-file'
20200 (image-dired-rotate-original): Remove unused variable `temp-file'.
20201 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
20202 Remove unused variable `file'.
20203 (image-dired-gallery-generate): Remove unused variable `curr'.
20204 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
20206 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
20208 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
20210 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
20212 * isearch.el (minibuffer-history-symbol): Declare.
20213 (isearch-edit-string): Remove unused variable `err'.
20214 (isearch-message-prefix, isearch-message-suffix):
20215 Mark unused parameters.
20217 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
20219 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
20221 * makesum.el (double-column): Remove unused variable `cnt'.
20223 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
20224 (ido-ignore-item-temp-list): Declare.
20226 * mouse-drag.el (mouse-drag-throw): Remove unused variables
20227 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
20228 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
20229 (mouse-drag-drag): Remove unused variables `mouse-delta' and
20232 * mouse-sel.el (mouse-extend-internal):
20233 Remove unused variable `orig-window-frame'.
20235 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
20236 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
20237 Move declarations before first use.
20238 (pcomplete-opt): Mark unused parameters; doc fix.
20240 * proced.el (proced-revert): Mark unused parameter.
20241 (proced-send-signal): Remove unused variable `err'.
20243 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
20244 Rename parameter PREFIX-ARG to ARG.
20245 (ps-basic-plot-string, ps-basic-plot-whitespace):
20246 Mark unused parameters.
20248 * replace.el (replace-count): Define.
20249 (occur-revert-function): Mark unused parameters.
20250 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
20251 (isearch-case-fold-search, isearch-string): Declare.
20252 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
20253 bind `case-fold-search'. Remove unused variables `beg' and `end',
20255 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
20256 COUNT and bind `replace-count'.
20257 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
20260 * savehist.el (print-readably, print-string-length): Declare.
20262 * shadowfile.el (shadow-expand-cluster-in-file-name):
20263 Remove unused variable `cluster'.
20264 (shadow-copy-file): Remove unused variable `i'.
20265 (shadow-noquery, shadow-clusters, shadow-site-cluster)
20266 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
20267 (shadow-define-literal-group, shadow-define-regexp-group)
20268 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
20270 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
20271 (shell): Use `called-interactively-p'.
20272 (shell-directory-tracker): Remove unused variable `chdir-failure'.
20274 * simple.el (compilation-context-lines, comint-file-name-quote-list)
20275 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
20276 (delete-backward-char): Remove unused variable `ocol'.
20277 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
20278 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
20279 (event-apply-hyper-modifier, event-apply-shift-modifier)
20280 (event-apply-control-modifier, event-apply-meta-modifier):
20281 Mark unused parameters.
20282 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
20283 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
20285 * speedbar.el (speedbar-ignored-directory-expressions)
20286 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
20287 (speedbar-find-file, speedbar-dir-follow)
20288 (speedbar-directory-buttons-follow, speedbar-tag-find)
20289 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
20290 (speedbar-buffers-line-directory, speedbar-buffer-click):
20291 Mark unused parameters.
20292 (speedbar-tag-file): Remove unused variable `mode'.
20293 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
20295 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
20297 * talk.el (talk): Remove unused variable `display'.
20299 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
20300 (tar-write-region-annotate): Mark unused parameter.
20302 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
20303 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
20304 Declare them, wrapped in `with-no-warnings' to avoid replacing one
20305 warning by another.
20307 * time-stamp.el (time-stamp-string-preprocess):
20308 Remove unused variable `require-padding'.
20310 * tree-widget.el (widget-glyph-enable): Declare.
20311 (tree-widget-action): Mark unused parameter.
20313 * w32-fns.el (x-get-selection): Mark unused parameter.
20314 (autoload-make-program, generated-autoload-file): Declare.
20316 * wdired.el (wdired-revert): Mark unused parameters.
20317 (wdired-xcase-word): Remove unused variable `err'.
20319 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
20320 (whitespace-help-scroll): Remove unused variable `data-help'.
20322 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
20323 (widget-image-insert, widget-after-change, default)
20324 (widget-default-format-handler, widget-default-notify)
20325 (widget-default-prompt-value, widget-info-link-action)
20326 (widget-url-link-action, widget-function-link-action)
20327 (widget-variable-link-action, widget-file-link-action)
20328 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
20329 (widget-field-prompt-internal, widget-field-action, widget-field-match)
20330 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
20331 (widget-insert-button-action, widget-delete-button-action, visibility)
20332 (widget-documentation-link-action, widget-documentation-string-action)
20333 (widget-const-prompt-value, widget-regexp-match, symbol)
20334 (widget-coding-system-prompt-value)
20335 (widget-key-sequence-value-to-external, sexp)
20336 (widget-sexp-value-to-internal, character, vector, cons)
20337 (widget-choice-prompt-value, widget-boolean-prompt-value)
20338 (widget-color--choose-action): Mark unused parameters.
20339 (widget-item-match-inline, widget-choice-match-inline)
20340 (widget-checklist-match, widget-checklist-match-inline)
20341 (widget-group-match): Rename parameter VALUES to VALS.
20342 (widget-field-value-set): Remove unused variable `size'.
20343 (widget-color-action): Remove unused variables `value' and `start'.
20345 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
20346 variable `dir'. Doc fix.
20347 (windmove-find-other-window): Don't pass it.
20349 * window.el (count-windows): Mark unused parameter.
20350 (bw-adjust-window): Remove unused variable `err'.
20352 * woman.el (woman-file-name): Remove unused variable `default'.
20353 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
20354 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
20355 (global-font-lock-mode): Declare.
20356 (woman-decode-region): Mark unused parameter.
20357 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
20359 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
20360 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
20361 (x-dnd-handle-moz-url): Remove unused variable `title'.
20362 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
20364 * xml.el (xml-parse-tag, xml-parse-attlist):
20365 Remove unused variable `pos'.
20367 2011-04-19 Glenn Morris <rgm@gnu.org>
20369 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
20370 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
20371 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
20372 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
20373 * calendar/cal-html.el (cal-html-insert-minical):
20374 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
20375 (calendar-mark-date-pattern):
20376 Prefix "unused" locals.
20378 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
20379 optional argument `style'.
20381 * calendar/appt.el (appt-make-list):
20382 * calendar/cal-china.el (calendar-chinese-date-string):
20383 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
20384 (diary-hebrew-yahrzeit):
20385 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
20386 * calendar/calendar.el (calendar-generate-window):
20387 * calendar/time-date.el (time-to-days):
20388 Remove unused local variables.
20390 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
20392 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
20393 glyphless-char-display table.
20394 (tabulated-list-glyphless-char-display): New var.
20396 2011-04-18 Sam Steingold <sds@gnu.org>
20398 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
20399 to acknowledgments.
20401 2011-04-17 Glenn Morris <rgm@gnu.org>
20403 * calendar/diary-lib.el (diary-sexp-entry):
20404 * calendar/holidays.el (holiday-sexp):
20405 Set debug-on-error rather than the removed stack-trace-on-error.
20407 2011-04-16 Glenn Morris <rgm@gnu.org>
20409 * progmodes/f90.el: Use lexical-binding.
20410 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
20412 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
20414 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
20415 (mail-mode): Setup mailalias completion here instead.
20416 * mail/mailalias.el: Use lexical-binding.
20417 (pattern, mailalias-done): Declare dynamic.
20418 (mail-completion-at-point-function): New function, from mail-complete.
20419 (mail-complete): Use it.
20420 (mail-completion-expand): New function.
20421 (mail-get-names): Use it.
20422 (mail-directory, mail-directory-process, mail-directory-stream):
20423 Don't use `pattern' for lexically bound arg.
20425 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
20427 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
20428 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
20429 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
20431 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
20432 (byte-save-window-excursion, byte-temp-output-buffer-setup)
20433 (byte-interactive-p): Define them again, for use when inlining
20436 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
20438 * loadup.el: Use `string-to-number', not `string-to-int'.
20440 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
20442 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
20443 gud-gdb-complete-command.
20444 (gud-gdb-completions): New function, from gud-gdb-complete-command.
20445 (gud-gdb-completion-at-point): New function.
20446 (gud-gdb-completions): Remove.
20448 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
20450 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
20451 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
20452 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
20453 whether `executable-find' is bound.
20455 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
20457 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
20459 * minibuffer.el (completion-in-region-mode-predicate)
20460 (completion-in-region-mode--predicate): New vars.
20461 (completion-in-region, completion-in-region--postch)
20462 (completion-in-region-mode): Use them.
20463 (completion--capf-wrapper): Also return the hook function.
20464 (completion-at-point, completion-help-at-point):
20465 Adjust and provide a predicate.
20467 Preserve arg names for advice of subr and lexical functions (bug#8457).
20468 * help-fns.el (help-function-arglist): Consolidate the subr and
20469 new-byte-code cases. Add argument `preserve-names' to extract names
20470 from the docstring when needed.
20471 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
20472 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
20473 (ad-arglist): Use help-function-arglist's new arg.
20474 (ad-definition-type): Use cond.
20476 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
20478 * autorevert.el (auto-revert-handler):
20479 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
20480 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
20481 Don't quote lambda.
20483 * image-mode.el (image-transform-set-scale):
20484 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
20486 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20488 * net/network-stream.el (network-stream-open-starttls): Only do
20489 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
20490 Upgrades via gnutls-cli are too slow to be done opportunistically.
20492 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
20494 * dframe.el (dframe-current-frame): Remove spurious quote.
20496 2011-04-12 Glenn Morris <rgm@gnu.org>
20498 * calendar/cal-tex.el (cal-tex-end-document):
20499 Try to automatically use latin1 input if needed.
20501 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
20502 Don't try to cons a mark onto an empty element.
20504 2011-04-11 Leo Liu <sdl.web@gmail.com>
20506 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
20508 (ido-kill-buffer-at-head): Support killing virtual buffers.
20510 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
20512 * minibuffer.el (completion-show-inline-help): New var.
20513 (completion--do-completion, minibuffer-complete)
20514 (minibuffer-force-complete, minibuffer-complete-word):
20515 Inhibit minibuffer messages if completion-show-inline-help is nil.
20517 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
20518 to avoid interference from inline help (Bug#5849).
20520 2011-04-10 Leo Liu <sdl.web@gmail.com>
20522 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
20525 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
20527 * image-mode.el (image-toggle-display-image): Signal an error if
20529 (image-transform-mode, image-transform-resize)
20530 (image-transform-set-rotation): Doc fix.
20531 (image-transform-set-resize): Delete.
20532 (image-transform-set-scale, image-transform-fit-to-height)
20533 (image-transform-fit-to-width): Handle image-toggle-display-image
20534 and image-transform-resize directly.
20536 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
20538 * doc-view.el (doc-view-fit-width-to-window)
20539 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
20540 New functions for fitting the shown image to the Emacs window size.
20541 (doc-view-mode-map): Add bindings for the new functions.
20543 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
20545 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
20546 Fix typo in docstring.
20548 2011-04-08 Eli Zaretskii <eliz@gnu.org>
20550 * files.el (file-size-human-readable): Produce one digit after
20551 decimal, like "ls -lh" does.
20553 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
20554 the file size representation.
20556 * simple.el (list-processes): If async subprocesses are not
20557 available, error out with a clear error message.
20559 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
20561 * help.el (help-form-show): New function, to be called from C.
20562 Put help-form output in a buffer named differently than *Help*.
20564 2011-04-08 Eli Zaretskii <eliz@gnu.org>
20566 * files.el (file-size-human-readable): New function.
20568 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
20569 computing the representation inline. Don't require `cl'.
20571 2011-04-08 Glenn Morris <rgm@gnu.org>
20573 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
20575 * net/browse-url.el (browse-url-firefox):
20576 Test system-type, not system-configuration.
20578 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
20579 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
20580 Use log-edit-empty-buffer-p. (Bug#7598)
20582 * net/rlogin.el (rlogin-process-connection-type): Simplify.
20583 (rlogin-mode-map): Initialize in the defvar.
20584 (rlogin): Use ignore-errors.
20586 * replace.el (occur-mode-map): Some fixes for menu items.
20588 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
20590 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
20592 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
20594 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
20595 issuing unused warnings.
20597 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
20600 * simple.el: Lisp reimplement of list-processes. Based on an
20601 earlier reimplementation by Leo Liu, but using tabulated-list.el.
20602 (process-menu-mode): New major mode.
20603 (list-processes--refresh, list-processes):
20604 (process-menu-visit-buffer): New functions.
20606 * files.el (save-buffers-kill-emacs): Don't assume any return
20607 value of list-processes, which is undocumented anyway.
20609 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
20611 * emacs-lisp/tabulated-list.el: New file.
20613 * emacs-lisp/package.el: Use Tabulated List mode.
20614 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
20615 (package-menu-mode): Derive from tabulated-list-mode. Set up the
20616 table format using Tabulated List mode variables.
20617 (package--push): New macro, replacing package-list-maybe-add.
20618 (package-menu--generate): Use package--push. Renamed from
20619 package--generate-package-list.
20620 (package-menu-refresh, list-packages): Use it.
20621 (package-menu--print-info): Rename from package-print-package.
20622 Return insertion data instead of inserting it directly.
20623 (package-menu-describe-package, package-menu-execute):
20624 Use tabulated-list-get-id.
20625 (package-menu-mark-delete, package-menu-mark-install)
20626 (package-menu-mark-unmark, package-menu-backup-unmark)
20627 (package-menu-mark-obsolete-for-deletion):
20628 Use tabulated-list-put-tag.
20629 (package--list-packages, package-menu-revert)
20630 (package-menu-get-package, package-menu-get-version)
20631 (package-menu-sort-by-column): Functions deleted.
20632 (package-menu-package-list, package-menu-sort-key): Vars deleted.
20633 (package-menu--status-predicate, package-menu--version-predicate)
20634 (package-menu--name-predicate)
20635 (package-menu--description-predicate): Handle arguments in the
20636 Tabulated List format.
20637 (package-list-packages-no-fetch): Call list-packages.
20639 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
20641 * files.el (after-find-file-from-revert-buffer): Remove variable.
20642 (after-find-file): Don't bind it.
20643 (revert-buffer-in-progress-p): New variable.
20644 (revert-buffer): Bind it.
20645 Pass nil for `after-find-file-from-revert-buffer'.
20647 * saveplace.el (save-place-find-file-hook): Use new variable
20648 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
20650 2011-04-06 Glenn Morris <rgm@gnu.org>
20652 * Makefile.in (AUTOGEN_VCS): New variable.
20653 (autoloads): Use $AUTOGEN_VCS.
20655 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
20656 * calendar/calendar.el (calendar-mode-map):
20657 Check for toolkit scroll bars. (Bug#8305)
20659 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
20661 * minibuffer.el (completion-in-region--postch)
20662 (completion-in-region-mode): Remove unnecessary messages.
20664 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
20666 * font-lock.el (font-lock-refresh-defaults):
20667 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
20668 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
20670 * info.el (Info-directory-list, Info-read-node-name-2)
20671 (Info-split-parameter-string): Doc fixes.
20672 (Info-virtual-nodes): Reflow docstring.
20673 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
20674 (Info-apropos-toc-nodes, info-finder, Info-get-token)
20675 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
20676 Fix typos in docstrings.
20677 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
20678 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
20679 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
20680 (Info-restore-desktop-buffer): Mark unused parameters.
20681 (Info-directory-find-file, Info-directory-find-node)
20682 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
20683 (Info-virtual-index-find-node, Info-apropos-find-file)
20684 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
20685 Mark unused parameters; fix typos in docstrings.
20686 (Info-virtual-index): Remove unused local variable `nodename'.
20688 2011-04-05 Deniz Dogan <deniz@dogan.se>
20690 * net/rcirc.el: Update my e-mail address.
20691 (rcirc-mode-map): Remove M-o binding.
20693 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
20695 * startup.el (command-line): Save the cursor's theme-face
20696 directly, instead of using face-override-spec.
20698 * custom.el (load-theme): Minor optimization in assigning faces.
20700 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
20702 * help-fns.el (describe-variable): Complete all variables having
20703 documentation, including keywords.
20704 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
20706 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
20708 Convert to lexical-binding.
20710 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
20711 (bs--get-marked-string, bs--get-modified-string)
20712 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
20713 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
20714 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
20716 * ehelp.el (electric-help-execute-extended)
20717 (electric-help-ctrl-x-prefix):
20718 * hexl.el (hexl-revert-buffer-function):
20719 * linum.el (linum-after-change, linum-after-scroll):
20720 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
20722 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
20724 2011-04-04 Daiki Ueno <ueno@unixuser.org>
20731 * epg.el: Use lexical binding.
20733 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
20735 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
20737 * textmodes/flyspell.el (flyspell-word): Recognize default
20738 dictionary case for flyspell-mark-duplications-exceptions.
20739 Use regexp matching for languages.
20740 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
20741 default dictionary (Bug#7926).
20743 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
20745 * emacs-lisp/package.el (package--with-work-buffer):
20746 Recognize https URLs.
20748 * net/network-stream.el: Move from gnus/proto-stream.el.
20749 Change prefix to network-stream throughout.
20750 (open-protocol-stream): Merge into open-network-stream, leaving
20751 open-protocol-stream as an alias. Handle nil BUFFER args.
20753 * subr.el (open-network-stream): Move to net/network-stream.el.
20755 2011-04-02 Glenn Morris <rgm@gnu.org>
20757 * find-dired.el (find-exec-terminator): New option.
20758 (find-ls-option): Test for -ls support.
20759 (find-ls-subdir-switches): Test for -b in find-ls-option.
20760 (find-dired, find-grep-dired): Doc fixes.
20761 (find-dired): Use find-exec-terminator.
20763 * find-dired.el (find-ls-option, find-ls-subdir-switches)
20764 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
20765 (find-name-arg): Remove purecopy.
20767 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
20768 (grep-compute-defaults): Check for `-exec COMMAND +' support.
20769 Set grep-find-use-xargs, grep-find-command, and grep-find-template
20770 accordingly. Don't add the null-device if not needed.
20772 * files.el (save-some-buffers): Doc fix.
20774 2011-04-02 Eli Zaretskii <eliz@gnu.org>
20776 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
20778 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
20780 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
20781 Use `dolist' rather than `mapcar'.
20783 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
20785 Add lexical binding.
20787 * subr.el (apply-partially): Use new closures rather than CL.
20788 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
20789 (dolist, dotimes): Use slightly different expansion for lexical code.
20790 (functionp): Move to C.
20791 (letrec): New macro.
20792 (with-wrapper-hook): Use it and apply-partially instead of CL.
20793 (eval-after-load): Preserve lexical-binding.
20794 (save-window-excursion, with-output-to-temp-buffer): Turn them
20797 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
20799 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
20801 (help-add-fundoc-usage): Don't add `Not documented'.
20802 (help-function-arglist): Handle closures, subroutines, and new
20803 byte-code-functions.
20804 (help-make-usage): Remove leading underscores.
20805 (describe-function-1): Handle closures.
20806 (describe-variable): Use special-variable-p for completion.
20808 * files.el (lexical-binding): Declare safe.
20810 * emacs-lisp/pcase.el: Don't use destructuring-bind.
20811 (pcase--memoize): Rename from pcase-memoize. Change weakness.
20812 (pcase): Add `let' pattern.
20813 Change memoization so it actually works.
20814 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
20815 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
20818 * emacs-lisp/macroexp.el: Use lexical binding.
20819 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
20820 Don't convert ' to #' without checking that it's indeed quoting
20823 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
20824 Use eval-sexp-add-defvars.
20825 (eval-sexp-add-defvars): New fun.
20827 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
20829 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
20831 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
20832 than the internal `byte-compile-lambda'.
20833 (defmethod): Don't hide code under quotes.
20834 (eieio-defmethod): New `code' argument.
20836 * emacs-lisp/eieio-comp.el: Remove.
20838 * emacs-lisp/edebug.el (edebug-eval-defun)
20839 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
20840 (edebug-toggle): Avoid `eval'.
20842 * emacs-lisp/disass.el (disassemble-internal): Handle new
20844 (disassemble-1): Handle new byte codes.
20846 * emacs-lisp/cl.el (pushnew): Silence warning.
20848 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
20849 (cl-byte-compile-throw): Remove.
20850 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
20852 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
20855 * emacs-lisp/cconv.el: New file.
20857 * emacs-lisp/bytecomp.el: Use lexical binding instead of
20858 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
20859 (byte-compile-initial-macro-environment):
20860 Handle declare-function here.
20861 (byte-compile--lexical-environment): New var.
20862 (byte-stack-ref, byte-stack-set, byte-discardN)
20863 (byte-discardN-preserve-tos): New lap codes.
20864 (byte-interactive-p): Don't use any more.
20865 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
20867 (byte-compile-lapcode): Use them and handle new lap codes.
20868 (byte-compile-obsolete): Remove.
20869 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
20870 (byte-compile-arglist-warn): Check late def of inlinable funs.
20871 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
20872 since they should have been expanded by now.
20873 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
20874 (byte-compile-from-buffer): Remove unused second arg.
20875 (byte-compile-preprocess): New function.
20876 (byte-compile-toplevel-file-form): New function to distinguish
20877 file-form calls from outside from file-form calls from hunk-handlers.
20878 (byte-compile-file-form): Simplify.
20879 (byte-compile-file-form-defsubst): Remove.
20880 (byte-compile-file-form-defmumble): Simplify now that
20881 byte-compile-lambda always returns a byte-code-function.
20882 (byte-compile): Preprocess.
20883 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
20884 Remove, not used any more.
20885 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
20886 (byte-compile-make-args-desc): New funs.
20887 (byte-compile-lambda): Handle lexical functions. Always return
20888 a byte-code-function.
20889 (byte-compile-reserved-constants): New var, to make up room for
20890 closed-over variables.
20891 (byte-compile-constants-vector): Obey it.
20892 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
20893 (byte-compile-macroexpand-declare-function): New function.
20894 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
20895 byte-code-functions.
20896 (byte-compile-form): Check obsolescence here.
20897 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
20898 (byte-compile-variable-ref): Remove.
20899 (byte-compile-dynamic-variable-op): New fun.
20900 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
20901 (byte-compile-variable-set): New funs.
20902 (byte-compile-discard): Add 2 args.
20903 (byte-compile-stack-ref, byte-compile-stack-set)
20904 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
20905 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
20906 macroexpand-all instead.
20907 (byte-compile-quote-form): Remove.
20908 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
20909 (byte-compile-bind, byte-compile-unbind): New funs.
20910 (byte-compile-let): Handle let* and lexical binding.
20911 (byte-compile-let*): Remove.
20912 (byte-compile-catch, byte-compile-unwind-protect)
20913 (byte-compile-track-mouse, byte-compile-condition-case):
20914 Handle a new :fun-body form, used for lexical scoping.
20915 (byte-compile-save-window-excursion)
20916 (byte-compile-with-output-to-temp-buffer): Remove.
20917 (byte-compile-defun): Simplify.
20918 (byte-compile-stack-adjustment): New fun.
20919 (byte-compile-out): Use it.
20920 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
20922 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
20925 * emacs-lisp/byte-opt.el: Use lexical binding.
20926 (byte-inline-lapcode): Remove (to bytecomp).
20927 (byte-compile-inline-expand): Pay attention to inlining to/from
20928 lexically bound code.
20929 (byte-compile-unfold-lambda): Don't handle byte-code-functions
20931 (byte-optimize-form-code-walker): Don't handle save-window-excursion
20932 any more and don't call compiler-macros.
20933 (byte-compile-splice-in-already-compiled-code): Remove.
20934 (byte-code): Don't inline any more.
20935 (disassemble-offset): Receive `bytes' as argument rather than via
20937 (byte-compile-tag-number): Declare before first use.
20938 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
20939 `return' even if make-spliceable.
20940 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
20941 obsolete interactive-p.
20942 (byte-optimize-lapcode): Optimize new lap-codes.
20943 Don't trip up on new form of `byte-constant' lap code.
20945 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
20947 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
20949 * custom.el (custom-initialize-default, custom-declare-variable):
20952 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
20954 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
20955 (COMPILE_FIRST): Add macroexp and cconv.
20956 * makefile.w32-in: Mirror changes in Makefile.in.
20958 * vc/cvs-status.el:
20962 * vc/smerge-mode.el:
20963 * textmodes/bibtex-style.el:
20964 * textmodes/css-mode.el:
20972 * emacs-lisp/smie.el:
20975 * abbrev.el: Use lexical binding.
20977 2011-04-01 Eli Zaretskii <eliz@gnu.org>
20979 * info.el (info-display-manual): New function.
20981 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
20983 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
20985 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
20987 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
20988 an entry for that server in rcirc-authinfo. (Bug#8385)
20990 2011-03-31 Glenn Morris <rgm@gnu.org>
20992 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
20994 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
20996 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
20998 * progmodes/python.el (python-default-interpreter)
20999 (python-python-command-args, python-jython-command-args)
21000 (python-which-shell, python-which-args, python-which-bufname)
21001 (python-file-queue, python-comint-output-filter-function)
21002 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
21003 variables and functions.
21005 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
21007 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
21008 (completion-in-region-mode): New minor mode.
21009 (completion-in-region): Use it.
21010 (completion-in-region--data, completion-in-region-mode-map): New vars.
21011 (completion-in-region--postch): New function.
21012 (completion--capf-misbehave-funs, completion--capf-safe-funs):
21014 (completion--capf-wrapper): New function.
21015 (completion-at-point): Use it to track well-behavedness of
21017 (completion-help-at-point): New command.
21019 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
21021 * vc/add-log.el (add-change-log-entry): Don't use whitespace
21022 syntax class to search for whitespace on a single line
21023 (Message-ID: <4D938140.4030905@redhat.com>).
21025 2011-03-30 Leo Liu <sdl.web@gmail.com>
21027 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
21029 (edit-abbrevs-map): Bind them here.
21030 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
21032 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
21034 * allout.el (allout-hide-by-annotation, allout-flag-region):
21035 Reduce possibility of overlay leakage by making them volatile.
21037 * allout-widgets.el (allout-widgets-tally): Define as nil so the
21038 hash is not shared between buffers. Mode initialization is
21039 responsible for giving it a useful starting value.
21040 (allout-item-span): Reduce possibility of overlay leakage by
21041 making them volatile.
21042 (allout-widgets-count-buttons-in-region): Add diagnostic function
21043 for tracking down button overlay leaks.
21045 2011-03-29 Leo Liu <sdl.web@gmail.com>
21047 * ido.el (ido-read-internal): Use the default history var
21048 minibuffer-history if no HISTORY is specified.
21050 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
21052 * net/imap.el (imap-shell-open, imap-process-connection-type):
21053 Use imap-process-connection-type for 'shell' streams as well as
21054 Kerberos, SSL, other subprocesses.
21056 2011-03-28 Leo Liu <sdl.web@gmail.com>
21058 * abbrev.el (abbrev-table-empty-p): New function.
21059 (prepare-abbrev-list-buffer): Place empty abbrev tables after
21060 nonempty ones. (Bug#5937)
21062 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
21064 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
21066 2011-03-27 Leo Liu <sdl.web@gmail.com>
21068 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
21069 for foreground and background colors.
21070 (ansi-color-make-color-map): Adapt.
21072 2011-03-25 Leo Liu <sdl.web@gmail.com>
21074 * midnight.el (midnight-time-float): Remove. Note it calculates
21075 the microsecond component incorrectly and seconds-to-time does the
21077 Remove redundant (require 'timer).
21079 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
21080 (ido-completions): Remove unused arguments. (Bug#8329)
21082 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
21084 * minibuffer.el (completion--flush-all-sorted-completions):
21085 Remove itself from hook.
21086 (completion-at-point): Let the functions perform the completion
21087 immediately and return nil or t.
21088 * comint.el (comint-dynamic-complete-functions): Now identical to
21089 completion-at-point-functions.
21090 (comint-dynamic-list-input-ring): Remove unused var `index'.
21091 (comint--match-partial-filename, comint--unquote&expand-filename):
21092 New funs, split from comint-match-partial-filename.
21093 (comint-dynamic-complete): Use completion-at-point.
21094 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
21096 2011-03-24 Drew Adams <drew.adams@oracle.com>
21098 * thingatpt.el: Support `defun'.
21100 2011-03-23 Leo Liu <sdl.web@gmail.com>
21102 * abbrevlist.el: Move to obsolete/abbrevlist.el.
21104 * help-mode.el (help-mode-finish): Tweak regexp.
21106 2011-03-23 Glenn Morris <rgm@gnu.org>
21108 * eshell/esh-opt.el (eshell-eval-using-options):
21109 Do not bind unused local variable `eshell-option-stub'.
21111 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
21113 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
21115 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
21116 keymap variable in `with-no-warnings' to avoid a warning when the
21117 keymap has been already `defconst'ed.
21119 2011-03-22 Leo Liu <sdl.web@gmail.com>
21121 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
21122 encode all chars in abbrevs; otherwise use emacs-mule or
21123 utf-8-emacs. (Bug#8308)
21125 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
21127 * simple.el (backward-delete-char-untabify):
21128 Avoid warning about using `delete-backward-char'.
21130 * image.el (image-type-file-name-regexps): Make it variable.
21131 `imagemagick-register-types' modifies it, and the user may want
21132 to add new extensions for known image types.
21133 (imagemagick-register-types): Throw error if not using ImageMagick.
21135 2011-03-22 Leo Liu <sdl.web@gmail.com>
21137 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
21138 located before rcirc-prompt-end-marker.
21139 (rcirc-complete): Error if point is not after rcirc prompt.
21140 Handle the case when table is nil.
21141 (rcirc-user-authenticated): Define to fix compiler warning.
21143 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
21145 * custom.el (custom--inhibit-theme-enable): Make it affect only
21146 custom-theme-set-variables and custom-theme-set-faces.
21147 (provide-theme): Ignore custom--inhibit-theme-enable.
21148 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
21149 (custom-enabling-themes): Delete variable.
21150 (enable-theme): Accept only loaded themes as arguments.
21151 Ignore the special custom-enabled-themes variable.
21152 (custom-enabled-themes): Forbid themes from setting this.
21153 Eliminate use of custom-enabling-themes.
21154 (custom-push-theme): Quote "changed" custom var entry.
21156 2011-03-21 Leo Liu <sdl.web@gmail.com>
21158 * ido.el (ido-read-internal): Add ido-selected to history instead
21161 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
21163 * subr.el (deferred-action-list, deferred-action-function):
21166 2011-03-21 Leo Liu <sdl.web@gmail.com>
21168 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
21169 change on 2011-02-13 (bug#8309).
21171 * minibuffer.el (read-file-name-function): Change default value.
21172 (read-file-name--defaults): Rename from read-file-name-defaults.
21173 (read-file-name-default): Rename from read-file-name.
21174 (read-file-name): Call read-file-name-function.
21176 2011-03-21 Glenn Morris <rgm@gnu.org>
21178 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
21181 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
21183 * cus-theme.el: Add missing provide statement.
21184 (customize-create-theme): Extract theme value correctly.
21185 (custom-theme-visit-theme): Autoload.
21186 (customize-create-theme): Prompt before inserting default faces.
21188 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
21190 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
21191 units and musical notes.
21193 2011-03-20 Leo Liu <sdl.web@gmail.com>
21195 * ido.el (ido-read-internal): Use completing-read-default.
21196 (ido-completing-read): Fix compatibility with completing-read.
21198 2011-03-20 Christian Ohler <ohler@gnu.org>
21200 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
21201 (ert-delete-all-tests): Use `called-interactively-p' rather than
21203 (ert--make-xrefs-region): Respect END.
21205 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
21207 * dired-aux.el (dired-create-directory): Signal an error if the
21208 directory already exists (Bug#8246).
21210 * facemenu.el (list-colors-display): Call list-faces-display
21211 inside with-help-window.
21212 (list-colors-print): Use display property to align the final
21213 column, instead of checking window-width.
21215 2011-03-19 Eli Zaretskii <eliz@gnu.org>
21217 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
21218 windows-nt systems.
21219 (emerge-protect-metachars): Quote correctly for ms-dos and
21220 windows-nt systems.
21222 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
21224 * info.el (info-initialize): Replace all uses of `:' with
21225 path-separator for compatibility with non-Unix systems.
21226 Cache quoting of path-separator. (Bug#8258)
21228 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
21230 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
21231 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
21232 (mouse-avoidance-mode): Fix typos in docstrings.
21234 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
21236 * startup.el (package-subdirectory-regexp): Move from package.el.
21237 Omit \\` and \\', and let callers add them.
21239 * emacs-lisp/package.el (package-strip-version)
21240 (package-load-all-descriptors): Add \\` and \\' to
21241 package-subdirectory-regexp before using it.
21242 (package-untar-buffer): New arg DIR; ensure that file untars only
21243 into this expected directory. Remove superfluous delete-region.
21244 (package-unpack): Caller changed.
21245 (package-tar-file-info): Use package-subdirectory-regexp.
21247 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
21249 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
21250 diff-mode-shared-map (bug#8284).
21251 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
21253 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21255 * calendar/time-date.el (format-seconds): Use assoc instead of
21256 assoc-string, since assoc-string doesn't exist in XEmacs.
21258 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
21260 * custom.el (custom-known-themes): Reflow docstring.
21261 (custom-theme-load-path): Fix typo in docstring.
21262 (load-theme): Fix typo in error message.
21263 (custom-available-themes, custom-variable-theme-value):
21264 Use `let', not `let*'.
21266 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
21268 * calc/README: Mention inclusion of musical notes.
21270 * calc/calc-units.el (calc-lu-quant): Rename from
21271 `calc-logunits-quantity'.
21272 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
21273 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
21274 (calc-db): Rename from `calc-dblevel'.
21275 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
21276 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
21277 (calc-np): Rename from `calc-nplevel'.
21278 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
21279 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
21280 (calc-lu-plus): Rename from `calc-logunits-add'.
21281 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
21282 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
21283 (calc-lu-minus): Rename from `calc-logunits-sub'.
21284 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
21285 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
21286 (calc-lu-times): Rename from `calc-logunits-mul'.
21287 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
21288 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
21289 (calc-lu-divide): Rename from `calc-logunits-div'.
21290 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
21291 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
21293 * calc/calc-ext.el (calc-init-extensions): Update the names of the
21294 functions being autoloaded.
21296 * calc/calc.el (calc-lu-power-reference): Rename from
21297 `calc-logunits-power-reference'.
21298 (calc-lu-field-reference): Rename from
21299 `calc-logunits-field-reference'.
21301 * calc/calc-help.el (calc-l-prefix-help):
21302 Mention musical note functions.
21304 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
21306 * minibuffer.el (completion-all-sorted-completions):
21307 Use :completion-cycle-penalty text property if present.
21309 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
21311 * allout.el (allout-yank-processing): Adjust for new rebulleting
21312 regime so bullet being yanked is used without prompting the user
21315 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
21317 * startup.el (command-line): Warn the user that _emacs is deprecated.
21319 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
21321 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
21322 (delphi-verbose, delphi-comment-face, delphi-string-face)
21323 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
21324 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
21325 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
21326 (delphi-new-comment-line, delphi-font-lock-defaults)
21327 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
21328 Fix typos in docstrings.
21330 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
21332 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
21333 Invert the roles of character and string values for INSTEAD, so a
21334 string is used for the more common case of a defaulting prompt.
21336 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21338 * progmodes/ruby-mode.el (ruby-backward-sexp):
21339 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
21340 * play/gamegrid.el (gamegrid-make-face):
21341 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
21342 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
21343 * notifications.el (notifications-notify):
21344 * net/xesam.el (xesam-search-engines):
21345 * net/quickurl.el (quickurl-list-insert):
21346 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
21348 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
21350 * startup.el (command-line): Update package subdirectory regexp.
21352 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21354 * allout.el (allout-abbreviate-flattened-numbering)
21355 (allout-mode-deactivate-hook): Fix up obsolescence "date".
21357 * subr.el (read-char-choice): Only show the cursor after the prompt,
21358 not after the answer.
21360 2011-03-15 Kevin Ryde <user42@zip.com.au>
21362 * help-fns.el (variable-at-point): Skip leading quotes, if any
21365 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21367 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
21370 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
21372 * shell.el (shell): When called interactively, offer to change the
21373 shell file name on remote hosts.
21375 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
21377 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
21378 integration for LDAP parameters. The host, base, user or binddn,
21379 and secret tokens can be specified in a netrc file, for instance.
21380 This is optional because an `auth-source' parameter must be
21381 specified in the search attributes.
21383 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
21385 * help.el (describe-mode): Link to the mode's definition (bug#8185).
21387 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
21389 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
21390 into declaration. Remove redundant and harmful binding.
21392 2011-03-12 Eli Zaretskii <eliz@gnu.org>
21394 * files.el (file-ownership-preserved-p): Pass `integer' as an
21395 explicit 2nd argument to `file-attributes'. If the file's owner
21396 is the Administrators group on Windows, and the current user is
21397 Administrator, consider that a match.
21399 * server.el (server-ensure-safe-dir): Consider server directory
21400 safe on MS-Windows if its owner is the Administrators group while
21401 the current Emacs user is Administrator. Use `=' to compare
21402 numerical UIDs, since they could be integers or floats.
21404 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
21406 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
21408 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
21410 Sync with Tramp 2.2.1.
21412 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
21414 * net/trampver.el: Update release number.
21416 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
21418 * progmodes/compile.el (compilation--previous-directory): Fix up
21419 various nil/dead-marker mismatches (bug#8014).
21420 (compilation-directory-properties, compilation-error-properties):
21421 Don't call it at a position past the one we're about to change.
21423 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
21424 Disable obsolescence warnings in the file that declares it.
21426 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
21428 * allout-widgets.el (allout-widgets-tally):
21429 Initialize allout-widgets-tally as a hash table rather than nil to
21430 prevent mode-line redisplay warnings. Also, clarify the module
21431 description and fix a comment typo.
21433 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
21435 * help-fns.el (describe-variable): Don't complete keywords.
21436 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
21438 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
21440 * emacs-lisp/package.el (package-version-join): Impose a standard
21441 string representation for pre/alpha/beta version lists.
21442 (package-unpack-single): Standardize the directory name by passing
21443 it through package-version-join.
21444 (package-strip-rcs-id): Accept any version string that does not
21445 signal an error in version-to-list.
21447 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
21449 * simple.el (delete-trailing-whitespace): Return nil for the
21450 benefit of `write-file-functions'.
21452 2011-03-10 Glenn Morris <rgm@gnu.org>
21454 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
21456 * vc/vc-git.el (vc-git-program): New option.
21457 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
21458 (vc-git--call): Use it.
21460 * eshell/esh-util.el (eshell-condition-case): Doc fix.
21462 * cus-edit.el (Custom-newline): If no button at point, look
21463 for a subgroup button at start-of-line. (Bug#2298)
21465 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
21467 2011-03-10 Julien Danjou <julien@danjou.info>
21469 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
21470 `cursor-type' is nil.
21472 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
21474 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
21476 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
21478 * allout.el: Change so yank of distinctive-bullet items
21479 preserves the existing header prefix, rebulleting it if necessary,
21480 rather than replacing it. This is necessary for proper operation
21481 of cooperative addons like allout-widgets.
21482 (allout-make-topic-prefix, allout-rebullet-heading):
21483 Change SOLICIT arg to INSTEAD, and interpret additionally a string
21484 value as alternate bullet to be used, instead of prompting the user
21485 for a bullet character.
21487 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
21489 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
21490 Do not use `tramp-file-name-port', because this returns also
21491 `tramp-default-port'.
21493 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
21495 * net/rcirc.el (rcirc-handler-001): Remove useless
21496 with-rcirc-process-buffer.
21497 (rcirc-check-auth-status): Swap arguments to string-match.
21499 2011-03-09 Glenn Morris <rgm@gnu.org>
21501 * shell.el (shell-mode):
21502 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
21504 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
21505 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
21507 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
21509 * emacs-lisp/package.el (package-refresh-contents)
21510 (package-menu-execute): Use condition-case-no-debug.
21512 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
21514 * simple.el (shell-command-to-string): Use `process-file'.
21516 * emacs-lisp/package.el (package-tar-file-info): Handle also
21519 * emacs-lisp/package-x.el (package-upload-buffer-internal):
21520 Use `equal' for upload base check.
21522 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
21524 * textmodes/texinfo.el (texinfo-environments):
21525 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
21527 2011-03-08 Glenn Morris <rgm@gnu.org>
21529 * cus-start.el (cursor-in-non-selected-windows):
21530 Fix :set quoting oddness. (Bug#8192)
21532 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
21533 in some setf expressions. (Bug#2159)
21535 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
21537 * custom.el (custom-available-themes): Return themes in
21538 alphabetical order.
21540 See ChangeLog.15 for earlier changes.
21542 ;; Local Variables:
21546 Copyright (C) 2011-2012 Free Software Foundation, Inc.
21548 This file is part of GNU Emacs.
21550 GNU Emacs is free software: you can redistribute it and/or modify
21551 it under the terms of the GNU General Public License as published by
21552 the Free Software Foundation, either version 3 of the License, or
21553 (at your option) any later version.
21555 GNU Emacs is distributed in the hope that it will be useful,
21556 but WITHOUT ANY WARRANTY; without even the implied warranty of
21557 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21558 GNU General Public License for more details.
21560 You should have received a copy of the GNU General Public License
21561 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.