1 2012-05-24 Glenn Morris <rgm@gnu.org>
3 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
4 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
5 Make the latter a defcustom, with a delayed initialization.
7 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
8 These were deleted from Gnus itself late 2010.
10 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
12 * progmodes/which-func.el (which-func-ff-hook):
13 Check against user-error, not error.
15 * emacs-lisp/edebug.el (top): Do not load or set up loading of
16 cl-specs.el, which no longer exists.
18 2012-05-22 Glenn Morris <rgm@gnu.org>
20 * info.el (info-emacs-bug): New command.
21 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
22 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
24 2012-05-21 Glenn Morris <rgm@gnu.org>
26 * makefile.w32-in (update-subdirs-SH):
27 * Makefile.in (update-subdirs): Update for moved update-subdirs.
29 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
31 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
33 * progmodes/compile.el (compilation-error-regexp-alist-alist):
34 Simplify Maven regexp, and make sure the file can't start with a space
37 2012-05-21 Glenn Morris <rgm@gnu.org>
39 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
40 Scrap superfluous subshells.
42 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
44 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
45 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
47 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
49 * calc/calc.el (calc-ensure-consistent-units): New variable.
51 * calc/calc-units.el (math-consistent-units-p)
52 (math-check-unit-consistency): New functions.
53 (calc-quick-units, calc-convert-units):
54 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
56 (calc-extract-units): Fix typo.
58 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
60 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
62 * textmodes/flyspell.el: Commenting style, plus code simplifications.
63 (flyspell-default-deplacement-commands): Don't spell check after
64 repeated window/frame switches (e.g. triggered by mouse-movement).
65 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
66 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
67 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
68 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
70 (flyspell-get-casechars, flyspell-get-not-casechars):
71 Simplify; Don't bother removing a ] just to add it back.
72 * textmodes/ispell.el (ispell-program-name): Use executable-find.
74 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
76 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
78 (math-function-table): Add support for more C functions.
80 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
82 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
83 (flyspell-debug-signal-word-checked): Protect delay handling for
84 otherchars against empty otherchars.
86 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
88 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
89 their respective macro declarations.
90 * skeleton.el (define-skeleton):
91 * progmodes/compile.el (define-compilation-mode):
92 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
93 (define-ibuffer-filter):
94 * emacs-lisp/generic.el (define-generic-mode):
95 * emacs-lisp/easy-mmode.el (define-minor-mode)
96 (define-globalized-minor-mode):
97 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
98 * emacs-lisp/byte-run.el (defsubst):
99 * custom.el (deftheme): Add doc-string metadata.
101 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
103 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
105 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
107 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
109 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
110 * emacs-lisp/cl-macs.el: Idem.
111 * emacs-lisp/cl-specs.el: Remove.
113 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
115 Minor renaming of internal CL functions and variables.
116 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
117 (cl--position): Rename from cl-position.
118 (cl--delete-duplicates): Rename from cl-delete-duplicates.
119 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
120 (cl--random-state): Rename from *random-state*.
122 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
124 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
125 parens around the arg list (bug#11499).
127 2012-05-17 Juri Linkov <juri@jurta.org>
129 * isearch.el (word-search-regexp, word-search-backward)
130 (word-search-forward, word-search-backward-lax)
131 (word-search-forward-lax): Move functions from search.c
132 (bug#10145, bug#11381).
134 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
136 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
137 (flyspell-debug-signal-word-checked): Delay for otherchars as for
138 normal word components.
140 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
142 * minibuffer.el (completion--sifn-requote): Fix last change.
143 (minibuffer-local-must-match-filename-map):
144 Move define-obsolete-variable-alias before its var.
146 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
148 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
150 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
152 (completion--string-equal-p): New function.
153 (completion--twq-all): Use it to get better assertion failure data.
155 Only handle ".." and '..' quoting in shell-mode (bug#11466).
156 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
157 (shell--requote-argument): New functions.
158 (shell-completion-vars): Use them.
159 (shell--parse-pcomplete-arguments): Rename from
160 shell-parse-pcomplete-arguments.
161 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
162 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
163 Obey comint-file-name-quote-list.
165 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
166 (smie-indent-keyword): Use it.
168 2012-05-14 Stefan Merten <smerten@oekonux.de>
170 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
172 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
174 * net/rlogin.el (rlogin-mode-map): Fix last change.
176 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
178 * mail/smtpmail.el (smtpmail-send-command): Send the command and
179 the following \r\n using a single `process-send-string', since the
180 Lotus SMTP server refuses to accept any commands if they are sent
181 with two `process-send-string's (Bug#11444).
183 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
185 * shell.el (shell-parse-pcomplete-arguments):
186 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
188 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
190 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
191 (image-transform-scale, image-transform-right-angle-fudge): New vars.
192 (image-transform-width, image-transform-fit-width): New functions.
193 (image-transform-properties): Use them.
194 (image-transform-check-size): New function.
195 (image-toggle-display-image): Use it (for testing).
196 (image-transform-set-rotation): Reduce angle mod 360.
197 Delete obsolete comment.
199 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
201 * image-mode.el: Fix scaling (bug#11399).
202 (image-transform-resize): Doc fix.
203 (image-transform-properties): Default scale is 1 and height should
206 2012-05-13 Johan Bockgård <bojohan@gnu.org>
208 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
209 than hard-coding `car', to fix misbehavior when moving forward.
211 2012-05-13 Chong Yidong <cyd@gnu.org>
213 * emacs-lisp/tabulated-list.el (tabulated-list-format)
214 (tabulated-list-entries, tabulated-list-padding)
215 (tabulated-list-sort-key): Make permanent-local.
217 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
218 (electric-buffer-list): Put electric buffer menu
219 command descriptions in this docstring, instead of the docstring
220 of electric-buffer-menu-mode. Code cleanups.
221 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
222 Electric-buffer-menu-mode.
223 (electric-buffer-update-highlight): Minor code cleanup.
225 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
227 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
230 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
232 Move define-obsolete-variable-alias before the var's definition.
233 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
234 * tooltip.el (tooltip-hook):
235 * textmodes/reftex-toc.el (reftex-toc-map):
236 * textmodes/reftex-sel.el (reftex-select-label-map)
237 (reftex-select-bib-map):
238 * textmodes/reftex-index.el (reftex-index-map)
239 (reftex-index-phrases-map):
240 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
241 * progmodes/meta-mode.el (meta-mode-map):
242 * novice.el (disabled-command-hook):
243 * loadhist.el (unload-hook-features-list):
244 * frame.el (blink-cursor):
245 * files.el (find-file-not-found-hooks, write-file-hooks)
246 (write-contents-hooks):
247 * emulation/tpu-edt.el (GOLD-map):
248 * emacs-lock.el (emacs-lock-from-exiting):
249 * emacs-lisp/generic.el (generic-font-lock-defaults):
250 * emacs-lisp/chart.el (chart-map):
251 * dos-fns.el (register-name-alist):
252 * dired-x.el (dired-omit-files-p):
253 * desktop.el (desktop-enable):
254 * cus-edit.el (custom-mode-hook):
255 * buff-menu.el (buffer-menu-mode-hook):
256 * bookmark.el (bookmark-read-annotation-text-func)
257 (bookmark-exit-hooks):
258 * allout.el (allout-mode-deactivate-hook)
259 (allout-exposure-change-hook, allout-structure-added-hook)
260 (allout-structure-deleted-hook, allout-structure-shifted-hook):
261 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
262 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
263 comes before the corresponding variable's definition.
265 2012-05-12 Chong Yidong <cyd@gnu.org>
267 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
268 (Buffer-menu-mouse-select): Restore function (Bug#11459).
269 (Buffer-menu-mode-map): Bind it.
270 (Buffer-menu--pretty-name): Add a mouse-face property.
272 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
274 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
275 (prolog-upper-case-string, prolog-lower-case-string)
276 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
277 (prolog-use-smie, prolog-smie-grammar): New vars.
278 (prolog-smie-forward-token, prolog-smie-backward-token)
279 (prolog-smie-rules): New funs.
280 (prolog-comment-indent): Remove.
281 (prolog-mode-variables): Use default comment indentation instead.
283 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
284 (prolog-mode): Don't call them any more.
285 (prolog-electric-colon, prolog-electric-dash)
286 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
288 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
290 * minibuffer.el (completion--twq-all): Again, allow case differences.
292 * term.el: Move keymap initialization code to be more idiomatic.
293 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
294 (term-terminal-menu): Move initialization into declaration.
295 (term-escape-char): Let the user set it in her .emacs.
297 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
298 Provide SMIE-based indentation (not enabled by default yet).
299 (sh-mode-map): Don't bind electric keys.
300 Use electric-pair-mode instead of skeleton-pair.
301 (sh-assignment-regexp): Fit within 80 columns.
302 (sh-indent-supported): Specify actual shell name instead of boolean.
303 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
304 (sh-maybe-here-document): Use it. Make obsolete.
305 (sh-electric-here-document-mode) New minor mode.
306 (sh-mode): Use it. Don't set sh-indent-supported-here here.
307 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
308 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
309 (sh-smie-rc-grammar, sh-use-smie): New vars.
310 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
311 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
312 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
313 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
314 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
315 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
316 (sh-set-shell): Use smie-setup if requested.
318 * term.el (term-set-escape-char): Properly set term-escape-char.
319 See http://stackoverflow.com/questions/10524656.
321 2012-05-10 Chong Yidong <cyd@gnu.org>
323 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
324 Use url-generic-parse-url, and handle host names and Windows
326 (ffap-url-unwrap-remote): Use url-generic-parse-url.
327 (ffap-url-unwrap-remote): Accept list values, specifying a list of
328 URL schemes to work on.
329 (ffap--toggle-read-only): New function.
330 (ffap-read-only, ffap-read-only-other-window)
331 (ffap-read-only-other-frame): Use it.
332 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
333 necessary for ffap-url-unwrap-remote.
335 2012-05-10 Dave Abrahams <dave@boostpro.com>
337 * cus-start.el (create-lockfiles): Add it.
339 2012-05-09 Chong Yidong <cyd@gnu.org>
341 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
342 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
344 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
346 * shell.el (shell-completion-vars): Fix last change (bug#11348).
348 2012-05-09 Chong Yidong <cyd@gnu.org>
350 * ansi-color.el (ansi-color-process-output): Check for validity of
351 comint-last-output-start before using it. This avoids a bad
352 interaction with gdb-mi's input/output buffer.
354 2012-05-09 Glenn Morris <rgm@gnu.org>
356 * files.el (dir-locals-read-from-file):
357 Mention dir-locals in any error message.
359 2012-05-09 Chong Yidong <cyd@gnu.org>
361 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
364 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
365 variables into description.
367 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
369 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
370 shell-delimiter-argument-list (bug#11348).
371 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
373 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
375 * textmodes/rst.el: Silence byte-compiler warnings.
376 (rst-re-alist, rst-reset-section-caches): Move around.
377 (rst-re): Use `characterp', not `char-valid-p'.
378 (font-lock-beg, font-lock-end): Declare.
380 * progmodes/idlw-shell.el (specs): Remove reference to deleted
381 variable `idlwave-shell-activate-alt-keybindings' and simplify.
383 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
385 2012-05-08 Glenn Morris <rgm@gnu.org>
387 * files.el (auto-mode-alist): Treat ".make" like ".mk".
389 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
391 * vc/log-edit.el: Add GNU coding standards highlighting.
392 (log-edit-font-lock-gnu-style)
393 (log-edit-font-lock-gnu-keywords): New vars.
394 (log-edit-font-lock-keywords): New fun.
395 (log-edit-mode): Don't fold case in font-lock.
396 (log-edit-font-lock-keywords): Do not assume case-folding.
398 * imenu.el: Misc cleanup. Make docstrings out of comments.
400 (imenu--index-alist, imenu--last-menubar-index-alist)
401 (imenu-menubar-modified-tick): Use defvar-local.
402 (imenu--split-menu): Remove unused var.
403 (imenu--cleanup-seen): Declare as global.
404 (imenu--cleanup): Use dolist.
406 * subr.el (defvar-local): Add debug spec and doc-string position.
408 2012-05-08 Glenn Morris <rgm@gnu.org>
410 * lisp/language/burmese.el, language/cham.el, language/czech.el:
411 * language/english.el, language/georgian.el, language/greek.el:
412 * language/japanese.el, language/khmer.el, language/korean.el:
413 * language/lao.el, language/misc-lang.el, language/romanian.el:
414 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
415 * language/thai.el, language/utf-8-lang.el:
416 Remove no-byte-compile setting.
418 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
420 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
422 * progmodes/make-mode.el (makefile-browse):
423 Remove unnecessary interactive. (Bug#11324)
425 2012-05-07 Glenn Morris <rgm@gnu.org>
427 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
429 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
431 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
433 * loadup.el: Preload newcomment.el.
434 * newcomment.el: Move autoload-only code to toplevel.
436 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
437 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
438 Handle new :right-align column property.
439 (tabulated-list-print-col): Idem, plus use `display' text-property to
440 try and preserve alignment for variable pitch fonts.
442 2012-05-07 Chong Yidong <cyd@gnu.org>
444 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
445 (tabulated-list-use-header-line): New var.
446 (tabulated-list-init-header): Use it.
447 (tabulated-list-print-fake-header): New function.
448 (tabulated-list-print): Use it.
449 (tabulated-list-sort-button-map): Add non-header-line commands.
450 (tabulated-list-init-header): Add column name property to basic
452 (tabulated-list-col-sort): Handle non-header-line button case.
453 (tabulated-list--sort-by-column-name): Fix a corner case.
455 * buff-menu.el (list-buffers--refresh):
456 Handle Buffer-menu-use-header-line.
458 2012-05-06 Chong Yidong <cyd@gnu.org>
460 * buff-menu.el: Convert to Tabulated List mode.
461 (Buffer-menu-buffer+size-width): Make obsolete.
462 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
463 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
464 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
465 documentation into docstring of buffer-menu.
466 (Buffer-menu-toggle-files-only): Add an informative message.
467 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
468 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
469 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
470 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
471 (Buffer-menu-execute, Buffer-menu-select)
472 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
473 (Buffer-menu-bury): Use Tabulated List machinery.
474 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
475 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
477 (list-buffers--refresh): New function.
478 (list-buffers-noselect): Use it.
479 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
480 (Buffer-menu--pretty-file-name): New helper functions.
482 * loadup.el: Preload tabulated-list.
484 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
485 tabulated-list-sort-column.
486 (tabulated-list-init-header): Add the initial aligning space even
487 if tabulated-list-padding is zero.
489 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
491 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
492 whose cdr is not a cons cell correctly (bug#11038).
494 2012-05-06 Chong Yidong <cyd@gnu.org>
496 * emacs-lisp/tabulated-list.el (tabulated-list-format):
497 Accept additional plist in column descriptors.
498 (tabulated-list-init-header): Obey it.
499 (tabulated-list-get-entry): New function.
500 (tabulated-list-put-tag): Use it. Use string-width instead of
502 (tabulated-list--column-number): New function.
503 (tabulated-list-print): Use it.
504 (tabulated-list-print-col): New function.
505 Set `tabulated-list-column-name' property on each column's text.
506 (tabulated-list-print-entry): Use it.
507 (tabulated-list-delete-entry, tabulated-list-set-col):
509 (tabulated-list-sort-column): New command (Bug#11337).
511 * buff-menu.el (list-buffers): Move C-x C-b binding from
512 buff-menu.el to bindings.el.
514 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
515 :advertised-binding feature.
517 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
519 * progmodes/compile.el (compilation-internal-error-properties):
520 Calculate start position correctly when end-col is set but
521 end-line is not (Bug#11382).
523 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
525 * man.el (Man-unindent): Use text-property-default-nonsticky to
526 prevent untabify from inheriting face properties (Bug#11408).
528 2012-05-05 Glenn Morris <rgm@gnu.org>
530 * calendar/cal-html.el: Optionally include holidays in the output.
531 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
532 (cal-html-holidays): New option.
533 (cal-html-css-default): Add holiday entry.
534 (holiday-in-range): Autoload it.
535 (cal-html-htmlify-entry): Add optional class argument.
536 (cal-html-htmlify-list): Add optional holidays argument.
537 (cal-html-insert-agenda-days): Include holidays in the output.
538 (cal-html-one-month): Maybe include holidays.
540 * calendar/holidays.el (holiday-in-range):
541 Move here from cal-tex-list-holidays.
542 * calendar/cal-tex.el (cal-tex-list-holidays):
543 Make it an obsolete alias for holiday-in-range. Update all callers.
545 2012-05-05 Chong Yidong <cyd@gnu.org>
547 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
550 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
552 * files.el (file-auto-mode-skip): New var.
553 (set-auto-mode-1): Use it.
555 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
557 * repeat.el: Use lexical-binding.
558 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
559 (repeat-undo-count): Remove.
561 * progmodes/octave-mod.el (octave-abbrev-start):
562 * progmodes/f90.el (f90-abbrev-start):
563 * face-remap.el (text-scale-adjust):
564 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
566 * emacs-lisp/pcase.el (pcase--let*): New function.
567 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
569 (pcase--split-pred): Be more clever about ruling out overlap between
570 a predicate and some constant pattern.
571 (pcase--q1): Use `null' instead of (eq foo nil).
573 * subr.el (setq-local, defvar-local): New macros.
574 (kbd): Redefine as an alias.
575 (with-selected-window): Leave unrelated frames alone.
576 (set-temporary-overlay-map): New function.
578 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
580 * subr.el (user-error): New function.
581 * window.el (switch-to-buffer):
582 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
583 (smerge-match-conflict):
584 * simple.el (previous-matching-history-element)
585 (next-matching-history-element, goto-history-element, undo-more)
587 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
588 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
589 (next-file, tags-loop-scan, list-tags, complete-tag):
590 * progmodes/compile.el (compilation-loop):
591 * mouse.el (mouse-minibuffer-check):
592 * man.el (Man-bgproc-sentinel, Man-goto-page):
593 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
594 (Info-history-forward, Info-follow-reference, Info-menu)
595 (Info-extract-menu-item, Info-extract-menu-counting)
596 (Info-forward-node, Info-backward-node, Info-next-menu-item)
597 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
598 (Info-next-reference, Info-prev-reference, Info-index)
599 (Info-index-next, Info-follow-nearest-node)
600 (Info-copy-current-node-name):
601 * imenu.el (imenu--make-index-alist)
602 (imenu-default-create-index-function, imenu-add-to-menubar):
603 * files.el (basic-save-buffer, recover-file):
604 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
605 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
606 (checkdoc-message-text, checkdoc-defun):
607 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
608 * cus-edit.el (customize-changed-options, customize-rogue)
609 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
610 (custom-variable-mark-to-reset-standard)
611 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
613 * completion.el (check-completion-length):
614 * comint.el (comint-search-arg)
615 (comint-previous-matching-input-string-position)
616 (comint-previous-matching-input)
617 (comint-replace-by-expanded-history-before-point, comint-send-input)
618 (comint-copy-old-input, comint-backward-matching-input)
619 (comint-goto-process-mark, comint-set-process-mark):
620 * calendar/calendar.el (calendar-cursor-to-date): Use it.
621 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
623 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
625 * dabbrev.el (dabbrev--ignore-case-p): New function.
626 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
629 * files.el (automount-dir-prefix): Mark as obsolete.
631 2012-05-04 Glenn Morris <rgm@gnu.org>
633 * patcomp.el, play/bruce.el: Move to obsolete/.
635 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
638 * arc-mode.el (archive-unixdate):
639 * autoinsert.el (auto-insert-alist):
640 * calc/calc-forms.el (math-this-year):
641 * emacs-lisp/copyright.el (copyright-current-year)
642 (copyright-update-year, copyright):
643 * tar-mode.el (tar-clip-time-string):
644 * time.el (display-time-update):
645 Don't assume years have 4 digits.
647 2012-05-04 Chong Yidong <cyd@gnu.org>
649 * dos-w32.el (file-name-buffer-file-type-alist)
650 (direct-print-region-use-command-dot-com):
651 * ffap.el (ffap-menu-regexp):
652 * find-file.el (ff-special-constructs):
653 * follow.el (follow-debug):
654 * forms.el (forms--debug):
655 * iswitchb.el (iswitchb-all-frames):
656 * ido.el (ido-all-frames):
657 * emacs-lisp/timer.el (timer-max-repeats):
658 * mail/feedmail.el (feedmail-mail-send-hook)
659 (feedmail-mail-send-hook-queued):
660 * mail/footnote.el (footnote-signature-separator):
661 * mail/mailabbrev.el (mail-alias-separator-string)
662 (mail-abbrev-mode-regexp):
663 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
664 * progmodes/idlwave.el (idlwave-libinfo-file)
665 (idlwave-default-completion-case-is-down)
666 (idlwave-library-routines): Convert defvars to defcustoms.
668 * mail/rmail.el (rmail-decode-mime-charset):
669 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
670 (idlwave-shell-fix-inserted-breaks)
671 (idlwave-shell-activate-alt-keybindings)
672 (idlwave-shell-use-breakpoint-glyph):
673 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
675 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
677 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
679 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
681 * progmodes/verilog-mode.el (font-lock-keywords):
682 Fix mis-highligting auto. Reported by Craig Barner.
683 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
684 defines from global name space. Reported by Dan Dever.
685 (verilog-auto-reset, verilog-auto-reset-widths)
686 (verilog-auto-tieoff): Support using unbased numbers for
687 AUTORESET and AUTOTIEOFF.
688 (verilog-submit-bug-report): Update variable list.
689 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
690 parenthesis from not matching. Reported by Michael Rytting.
691 (verilog-auto-template-lint): Fix hash error when linting modules
692 with no used templates.
693 (verilog-warn, verilog-warn-error)
694 (verilog-warn-fatal): When non-interactive report multiple
695 warnings before exiting. Suggested by Brad Dobbie.
696 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
697 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
698 to report unused template errors. Reported by Brad Dobbie.
699 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
700 nets, bug438. Reported by Vns Blore.
701 (verilog-auto-inout-module, verilog-auto-reg)
702 (verilog-read-decls, verilog-read-sub-decls-sig)
703 (verilog-signals-edit-wire-reg, verilog-signals-with):
704 Fix passing of Verilog data types in ANSI input/output ports
705 such as "output logic" into the AUTOs. Special case "wire" and
706 "reg" for backwards compatibility presuming Verilog 2001.
707 (verilog-auto-ascii-enum): Add "auto enum" as alias.
708 (verilog-preprocess): Fix replication of preprocess output.
709 Reported by Brad Dobbie.
710 (verilog-auto-inst-interfaced-ports):
711 Create verilog-auto-inst-interfaced-ports, bug429.
712 Reported by Julian Gorfajn.
713 (verilog-after-save-font-hook)
714 (verilog-before-save-font-hook): New variable.
715 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
716 (verilog-save-font-mods): Wrap disabling fontification, reported
718 (verilog-do-indent, verilog-pretty-declarations-auto)
719 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
720 Reported by Pierre-David Pfister.
721 (verilog-set-auto-endcomments): Fix endtask auto comments outside
722 of class declarations, bug292. Reported by Kevin Heilman.
723 (verilog-read-decls): Fix 'parameter type' not appearing in
724 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
725 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
726 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
727 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
728 Reported by David Kravitz.
730 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
732 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
733 assignment with tests in ifs and for loops.
734 (verilog-extended-complete-re, verilog-complete-reg): Change so
735 that DPI inport functions don't look like fuction declarations.
736 (verilog-pretty-expr): Don't line up assignment
737 operations to the test and increment in if and for loops
738 (verilog-extended-complete-re, verilog-complete-reg): Change so
739 that DPI inport functions don't look like fuction declarations
741 2012-05-03 Kenichi Handa <handa@m17n.org>
743 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
744 decoding, and show a warning message without signalling an error
747 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
749 * emacs-lisp/bytecomp.el
750 (byte-compile-file-form-custom-declare-variable): Compile all elements,
751 since cconv.el might have introduced :fun-body, internal-make-closure,
752 and friends for bytecomp to handle (bug#11391).
753 * custom.el (defcustom): Avoid ((λ ..) ..).
755 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
757 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
759 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
761 * notifications.el (dbus-debug):
762 * term/linux.el (gpm-mouse-enable):
763 * term/screen.el (xterm-register-default-colors): Declare.
765 2012-05-02 Chong Yidong <cyd@gnu.org>
767 * cus-start.el (gc-cons-percentage, exec-suffixes)
768 (dos-display-scancodes, dos-hyper-key, dos-super-key)
769 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
770 (make-cursor-line-fully-visible, void-text-area-pointer)
771 (font-list-limit): Add customization data.
773 * allout.el (allout-exposure-change-functions)
774 (allout-structure-added-functions)
775 (allout-structure-deleted-functions)
776 (allout-structure-shifted-functions): Rename abnormal hooks from
777 *-hook, and convert to defcustoms.
778 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
779 Convert to defcustoms.
780 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
782 * allout-widgets.el: Hook callers changed.
784 2012-05-02 Eli Zaretskii <eliz@gnu.org>
786 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
787 the yanked message in preference to the default value of
788 buffer-file-coding-system.
790 2012-05-02 Martin Rudalics <rudalics@gmx.at>
792 * window.el (display-buffer--action-function-custom-type):
795 2012-05-02 Alan Mackenzie <acm@muc.de>
797 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
799 2012-05-01 Glenn Morris <rgm@gnu.org>
801 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
803 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
805 * cus-edit.el (custom-variable-documentation): Simplify with format.
807 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
808 Stefan Monnier <monnier@iro.umontreal.ca>
810 * simple.el (suggest-key-bindings, execute-extended-command):
811 Move from keyboard.c.
813 2012-05-01 Chong Yidong <cyd@gnu.org>
815 * follow.el: Eliminate advice.
816 (set-process-filter, process-filter, sit-for): Advice deleted.
817 (follow-mode-off-hook): Obsolete hook removed.
818 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
820 (follow-auto): Use a :set function.
821 (follow-mode): Rewritten. Don't advise process filters.
822 (follow-switch-to-current-buffer-all, follow-scroll-up)
823 (follow-scroll-down): Assume follow-mode is bound.
824 (follow-comint-scroll-to-bottom)
825 (follow-align-compilation-windows): New functions.
826 (follow--window-sorter): New function.
827 (follow-all-followers): Use it to explicitly sort windows by their
828 positions; don't make assumptions about next-window order.
829 (follow-windows-start-end, follow-delete-other-windows-and-split)
830 (follow-calc-win-start): Doc fix.
831 (follow-windows-aligned-p, follow-select-if-visible): Don't call
832 vertical-motion unnecessarily.
833 (follow-adjust-window): New function.
834 (follow-post-command-hook): Use it.
835 (follow-call-set-process-filter, follow-call-process-filter)
836 (follow-intercept-process-output, follow-tidy-process-filter-alist)
837 (follow-stop-intercept-process-output, follow-generic-filter):
839 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
840 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
841 New functions, replacing advice on scroll-bar-* commands.
842 (follow-mwheel-scroll): New function (Bug#4112).
844 * comint.el (comint-adjust-point): New function.
845 (comint-postoutput-scroll-to-bottom): Use it.
846 Call follow-comint-scroll-to-bottom for Follow mode buffers.
848 2012-05-01 Glenn Morris <rgm@gnu.org>
850 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
851 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
852 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
853 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
854 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
855 Remove no-byte-compile setting.
857 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
859 * minibuffer.el (completion-table-with-quoting): Fix compatibility
860 all-completions code to not return a number in the last cdr.
862 2012-04-30 Leo Liu <sdl.web@gmail.com>
864 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
867 2012-04-29 Chong Yidong <cyd@gnu.org>
869 * follow.el (follow-calc-win-end): Rewrite to handle partial
870 screen lines correctly (Bug#8390).
871 (follow-avoid-tail-recenter): Minor cleanup.
873 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
875 Avoid the obsolete `assoc' package.
876 * speedbar.el (speedbar-refresh): Avoid adelete.
877 (speedbar-file-lists): Simplify and avoid aput.
878 * man.el (Man--sections, Man--refpages): New vars, replacing
879 Man-sections-alist and Man-refpages-alist.
880 (Man-build-section-alist, Man-build-references-alist):
881 Use them; avoid aput.
882 (Man--last-section, Man--last-refpage): New vars.
883 (Man-follow-manual-reference): Use them.
884 Use the `default' arg of completing-read.
885 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
887 2012-04-27 Chong Yidong <cyd@gnu.org>
889 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
891 * startup.el (x-apply-session-resources): New function.
893 * term/ns-win.el (ns-initialize-window-system):
894 * term/w32-win.el (w32-initialize-window-system):
895 * term/x-win.el (x-initialize-window-system): Use it to properly
896 set menu-bar-mode and other vars from X resources, even if the
897 initial frame is not a window-system frame (Bug#2299).
899 * subr.el (read-key): Avoid running filter function when setting
900 up temporary tool bar entries (Bug#9922).
902 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
904 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
907 2012-04-27 Chong Yidong <cyd@gnu.org>
909 * select.el (xselect--encode-string): New function, split from
910 xselect-convert-to-string.
911 (xselect-convert-to-string): Use it.
912 (xselect-convert-to-filename, xselect-convert-to-os)
913 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
914 returned strings are properly encoded (Bug#11315).
916 2012-04-27 Chong Yidong <cyd@gnu.org>
918 * simple.el (delete-active-region): Move to killing custom group.
920 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
922 * progmodes/which-func.el (which-func-current): Quote %
923 characters for mode-line processing.
925 2012-04-27 Chong Yidong <cyd@gnu.org>
927 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
928 reaching eob (Bug#11286).
930 2012-04-27 Eli Zaretskii <eliz@gnu.org>
932 * progmodes/gdb-mi.el (gdb-control-level): New variable.
933 (gdb): Make it buffer-local and init to zero.
934 (gdb-control-commands-regexp): New variable.
935 (gdb-send): Don't wrap in "-interpreter-exec console" if
936 gdb-control-level is positive. Increment gdb-control-level
937 whenever the command matches gdb-control-commands-regexp, and
938 decrement it each time the command is "end". (Bug#11279)
940 2012-04-27 Martin Rudalics <rudalics@gmx.at>
942 * window.el (adjust-window-trailing-edge, enlarge-window)
943 (shrink-window, window-resize):
944 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
947 2012-04-27 Chong Yidong <cyd@gnu.org>
949 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
950 fix "missing prefix" warning. All callers changed.
952 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
954 * emacs-lisp/assoc.el: Move to obsolete/.
956 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
958 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
960 * term/ns-win.el (ns-define-service):
961 * progmodes/pascal.el (pascal-goto-defun):
962 * progmodes/js.el (js--read-tab):
963 * progmodes/etags.el (tags-lazy-completion-table):
964 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
965 * emacs-lisp/ewoc.el (ewoc--wrap):
966 * emacs-lisp/assoc.el (aput, adelete, amake):
967 * doc-view.el (doc-view-convert-current-doc):
968 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
970 2012-04-26 Chong Yidong <cyd@gnu.org>
972 * image.el (image-type-from-buffer): Only return supported image
975 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
976 value, for symmetry with diff-end-of-hunk.
977 (diff-split-hunk, diff-find-source-location)
978 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
979 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
980 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
981 compute the relevant hunk or file properly (Bug#6005).
982 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
984 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
993 * vc/vc.el: Replace lexical-let by lexical-binding.
994 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
995 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
996 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
998 2012-04-26 Chong Yidong <cyd@gnu.org>
1000 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
1001 (diff-mode-shared-map): Bind it to / and [remap undo].
1003 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
1004 (ediff-window-setup-function): Use it as the default, to set up
1005 windows based on whether the current frame is graphical (Bug#2138).
1006 (ediff-choose-window-setup-function-automatically): Make obsolete.
1008 * vc/ediff-init.el: Always define ediff-pixel-width/height.
1010 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1012 * ffap.el: Remove old code for obsolete package.
1013 (ffap-complete-as-file-p): Remove.
1015 Use completion-table-with-quoting for comint and pcomplete.
1016 * comint.el (comint--unquote&requote-argument)
1017 (comint--unquote-argument, comint--requote-argument): New functions.
1018 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
1019 (comint-quote-filename): Use regexp-opt-charset.
1020 (comint--common-suffix, comint--common-quoted-suffix)
1021 (comint--table-subvert): Remove.
1022 (comint-unquote-function, comint-requote-function): New vars.
1023 (comint--complete-file-name-data): Use them with
1024 completion-table-with-quoting.
1025 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
1026 * pcomplete.el (pcomplete-arg-quote-list)
1027 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
1028 (pcomplete-unquote-argument-function): Default to non-nil.
1029 (pcomplete-unquote-argument): Simplify.
1030 (pcomplete--common-quoted-suffix): Remove.
1031 (pcomplete-requote-argument-function): New var.
1032 (pcomplete--common-suffix): New function.
1033 (pcomplete-completions-at-point): Use completion-table-with-quoting
1034 and completion-table-subvert.
1036 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
1037 (minibuffer--double-dollars): Preserve properties.
1038 (completion--sifn-requote): New function.
1039 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
1041 * minibuffer.el: Add support for completion of quoted/escaped data.
1042 (completion-table-with-quoting, completion-table-subvert): New funs.
1043 (completion--twq-try, completion--twq-all): New functions.
1044 (completion--nth-completion): New function.
1045 (completion-try-completion, completion-all-completions): Use it.
1047 2012-04-25 Leo Liu <sdl.web@gmail.com>
1049 * progmodes/python.el (python-pdbtrack-get-source-buffer):
1050 Use compilation-message if available to find real filename.
1052 2012-04-25 Chong Yidong <cyd@gnu.org>
1054 * vc/diff-mode.el (diff-setup-whitespace): New function.
1055 (diff-mode): Use it.
1057 * vc/diff.el (diff-sentinel):
1058 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
1059 Whitespace mode variables based on diff style (Bug#8612).
1061 2012-04-25 Leo Liu <sdl.web@gmail.com>
1063 * progmodes/python.el (python-send-region): Add suffix .py to the
1066 * files.el (auto-mode-alist): Use javascript-mode instead.
1068 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
1070 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
1072 * soap-client.el (soap-resolve-references-for-sequence-type)
1073 (soap-resolve-references-for-array-type): Hack to prevent self
1074 references, see Bug#9.
1075 (soap-parse-envelope): Report the contents of the 'detail' node
1076 when receiving a fault reply.
1077 (soap-parse-envelope): Report the contents of the entire 'detail' node.
1079 * soap-inspect.el (soap-sample-value-for-simple-type)
1080 (soap-inspect-simple-type): New function.
1082 * soap-client.el (soap-simple-type): New struct.
1083 (soap-default-xsd-types, soap-default-soapenc-types)
1084 (soap-decode-basic-type, soap-encode-basic-type):
1085 support unsignedInt and double basic types.
1086 (soap-resolve-references-for-simple-type)
1087 (soap-parse-simple-type, soap-encode-simple-type): New function.
1088 (soap-parse-schema): Parse xsd:simpleType declarations.
1090 * soap-client.el (soap-default-xsd-types)
1091 (soap-default-soapenc-types): Add integer, byte and anyURI types.
1092 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
1093 the local name of "soapenc:Array".
1094 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
1095 decoding integer, byte and anyURI xsd types.
1097 2012-04-25 Chong Yidong <cyd@gnu.org>
1099 * cus-edit.el (custom-buffer-create-internal): Update header text.
1101 2012-04-25 Eli Zaretskii <eliz@gnu.org>
1103 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
1104 settings on 'system-type', not on 'window-system'. On MS-Windows,
1105 set interactive-mode on in GDB.
1107 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1109 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
1110 (ruby-syntax-propertize-regexp): Remove.
1111 (ruby-syntax-propertize-function): Split regexp into chunks.
1112 Match following code directly.
1114 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
1116 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
1117 (ruby-syntax-propertize-regexp): New function.
1118 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
1119 by a special keyword.
1121 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
1122 (ruby-syntax-general-delimiters-goto-beg)
1123 (ruby-syntax-propertize-general-delimiters): New functions.
1124 (ruby-syntax-propertize-function): Use them to handle GDL.
1125 (ruby-font-lock-keywords): Move old handling of GDL...
1126 (ruby-font-lock-syntactic-keywords): .. to here.
1127 (ruby-calculate-indent): Adjust indentation for GDL.
1129 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
1131 * notifications.el (top): Remove unneeded declarations.
1132 (notifications-specification-version): Change to "1.2".
1133 (notifications-interface, notifications-notify-method)
1134 (notifications-close-notification-method): Fix docstring.
1135 (notifications-get-capabilities-method): New defconst.
1136 (notifications-notify): Add :action-items, :resident and
1137 :transient hints. Change "image_data" to "image-data" and
1138 "image_path" to "image-path".
1139 (notifications-get-capabilities): New defun.
1141 2012-04-24 Leo Liu <sdl.web@gmail.com>
1143 * progmodes/python.el: Move hideshow setup to the end.
1145 2012-04-24 Martin Rudalics <rudalics@gmx.at>
1147 * window.el (handle-select-window): Clear echo area since this is
1148 no more done by read_char (Bug#11304).
1150 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1152 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
1153 and `/ M' to filter-derived-mode.
1154 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
1155 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
1156 (ibuffer-mark-by-mode): Use default rather than initial-input.
1157 (ibuffer-filter-by-derived-mode): Autoload and require-match.
1159 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
1161 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
1162 (ibuffer-filter-by-derived-mode): New filter.
1163 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
1165 2012-04-23 Andreas Politz <politza@fh-trier.de>
1167 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
1169 2012-04-23 Chong Yidong <cyd@gnu.org>
1171 * cus-edit.el (customize-apropos, customize-apropos-options):
1172 Disable matching of non-option variables (Bug#11176).
1173 (customize-option, customize-option-other-window)
1174 (customize-changed-options): Doc fix.
1175 (customize-apropos-options, customize-apropos-faces)
1176 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
1178 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
1179 Fix word list splitting (Bug#11132).
1180 (apropos-symbol, apropos-keybinding, apropos-label)
1181 (apropos-property, apropos-function-button)
1182 (apropos-variable-button, apropos-misc-button): New faces.
1183 (apropos-symbol-face, apropos-keybinding-face)
1184 (apropos-label-face, apropos-property-face, apropos-match-face):
1185 Variables removed (Bug#8396).
1186 (apropos-library-button, apropos-format-plist, apropos-print)
1187 (apropos-print-doc, apropos-describe-plist): Callers changed.
1189 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
1191 * net/xesam.el (xesam-mode-map): Use let-bound map in
1192 initialization. (Bug#11292)
1194 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1196 Preserve ispell session localwords when switching back to
1199 * ispell.el (ispell-buffer-session-localwords): New buffer-local
1200 variable to hold buffer session localwords.
1201 (ispell-kill-ispell): add option 'clear to delete session
1203 (ispell-command-loop, ispell-change-dictionary)
1204 (ispell-buffer-local-words): Preserve session localwords when
1207 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
1208 Preserve session localwords when needed.
1210 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1212 * ispell.el (ispell-insert-word) Remove unneeded function using
1213 obsolete `translation-table-for-input'.
1214 (ispell-word, ispell-process-line, ispell-complete-word):
1215 Use plain `insert' instead of removed `ispell-insert-word'.
1217 2012-04-22 Chong Yidong <cyd@gnu.org>
1219 * cus-edit.el (custom-variable-menu)
1220 (custom-variable-reset-saved, custom-face-menu)
1221 (custom-face-reset-saved): If there is no saved value, make the
1222 "reset-saved" operation bring back the default (Bug#9509).
1223 (custom-face-state): Properly detect themed faces.
1225 * faces.el (face-spec-set): Stop supporting deprecated form of
1228 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
1230 Move functions from C to Lisp. Make non-blocking method calls
1231 the default. Implement further D-Bus standard interfaces.
1233 * net/dbus.el (dbus-message-internal): Declare function.
1234 Remove unneeded function declarations.
1235 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
1236 (dbus-message-type-method-return, dbus-message-type-error)
1237 (dbus-message-type-signal): Declare variables. Remove local
1239 (dbus-interface-dbus, dbus-interface-peer)
1240 (dbus-interface-introspectable, dbus-interface-properties)
1241 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
1243 (dbus-interface-objectmanager): New defconst.
1244 (dbus-call-method, dbus-call-method-asynchronously)
1245 (dbus-send-signal, dbus-method-return-internal)
1246 (dbus-method-error-internal, dbus-register-service)
1247 (dbus-register-signal, dbus-register-method): New defuns, moved
1249 (dbus-call-method-handler, dbus-setenv)
1250 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
1252 (dbus-call-method-non-blocking): Make it an obsolete function.
1253 (dbus-unregister-object, dbus-unregister-service)
1254 (dbus-handle-event, dbus-register-property)
1255 (dbus-property-handler): Obey the new structure of
1256 `bus-registered-objects'.
1257 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
1258 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
1259 Use `dbus-call-method'.
1261 2012-04-22 Chong Yidong <cyd@gnu.org>
1263 * cus-edit.el (custom-commands, custom-reset-menu)
1264 (Custom-reset-standard): Tweak labels.
1265 (custom-reset-button-menu): Change default to t.
1266 (custom-buffer-create-internal): For the custom-reset-button-menu
1267 case, put the revert button first.
1268 (custom-group-subtitle): New face.
1269 (custom-group-value-create): Align docstring to a specific column.
1271 * wid-edit.el (widget-documentation-link-add): Don't handle
1272 indentation in this function.
1273 (widget-documentation-string-indent-to): New function.
1274 (widget-documentation-string-value-create): Use it.
1276 * autorevert.el (auto-revert):
1277 * epg-config.el (epg):
1278 * ibuffer.el (ibuffer):
1281 * eshell/eshell.el (eshell):
1282 * net/ange-ftp.el (ange-ftp):
1283 * progmodes/ebnf2ps.el (postscript):
1284 * progmodes/flymake.el (flymake):
1285 * progmodes/prolog.el (prolog):
1286 * progmodes/verilog-mode.el (verilog-mode):
1287 * progmodes/which-func.el (which-func):
1288 * term/xterm.el (xterm):
1289 * textmodes/picture.el (picture):
1290 * textmodes/tildify.el (tildify):
1291 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
1292 customization buffers.
1294 2012-04-22 Alan Mackenzie <acm@muc.de>
1296 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
1297 Adding a ) can hide the resulting (..) from searches. Fix it.
1298 Bound the backward search to the position of the existing (.
1300 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
1302 * progmodes/verilog-mode.el (verilog-mode): Check whether
1303 which-func-modes is t before adding verilog-mode.
1304 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
1306 2012-04-21 Leo Liu <sdl.web@gmail.com>
1308 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
1310 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
1312 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
1313 filling of the last column of a table (Bug#5635).
1314 (woman-find-next-control-line): New arg, specifying an additional
1315 regexp component for the control line.
1316 (woman2-roff-buffer): Use it.
1317 (woman-break-table): New function.
1318 (woman2-TS): Use it.
1320 2012-04-21 Chong Yidong <cyd@gnu.org>
1322 * woman.el (woman-set-buffer-display-table, woman-decode-region)
1323 (woman-horizontal-escapes, woman-negative-vertical-space)
1324 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
1325 (WoMan-warn-ignored): Use ?\s instead of ?\ .
1327 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
1329 * minibuffer.el (completion-file-name-table): Complete user names.
1331 2012-04-20 Leo Liu <sdl.web@gmail.com>
1333 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
1336 2012-04-20 Chong Yidong <cyd@gnu.org>
1338 * server.el (server-execute): Respect initial-buffer-choice if it
1339 is a string and there are no files to open (Bug#2825).
1340 (server-create-window-system-frame, server-create-tty-frame):
1341 Don't switch buffers here.
1342 (server-process-filter): Only try to open a window system frame if
1343 compiled with graphical support (Bug#8314).
1345 2012-04-20 Dan Nicolaescu <dann@gnu.org>
1347 * battery.el (battery-echo-area-format): Display remaining time
1348 for sysfs backend too (Bug#11269).
1349 (battery-linux-sysfs): Fix conditional for the charge.
1351 2012-04-20 Chong Yidong <cyd@gnu.org>
1353 * progmodes/gdb-mi.el (gdb): Revert previous change.
1354 (gdb-inferior-io--init-proc): New function.
1355 (gdb-init-1): Use it.
1356 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
1357 responsible for allocating a new pty and hooking it to gdb when
1358 the old pty gets an EIO due to process exit.
1359 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
1360 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
1361 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
1363 2012-04-20 Eli Zaretskii <eliz@gnu.org>
1365 * window.el (window-min-size, window-sizable, window-min-delta)
1366 (window-max-delta, window--resizable, window-resizable)
1367 (window-total-size, window-full-height-p, window-full-width-p)
1368 (window-in-direction, window--resize-mini-window, window-resize)
1369 (window--resize-child-windows-normal)
1370 (window--resize-child-windows, window--resize-siblings)
1371 (window--resize-this-window, adjust-window-trailing-edge)
1372 (enlarge-window, shrink-window): Doc fixes.
1374 2012-04-20 Chong Yidong <cyd@gnu.org>
1376 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
1377 New function to call delete-process on the gdb-inferior buffer's pty.
1378 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
1379 pty process (Bug#11273).
1380 (gdb-update): New arg to suppress talking to the gdb process.
1381 (gdb-done-or-error): Use it.
1382 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
1383 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
1384 sentinel not being called.
1386 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
1388 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
1390 2012-04-20 Glenn Morris <rgm@gnu.org>
1392 * net/network-stream.el (open-network-stream): Doc fix.
1394 2012-04-20 Chong Yidong <cyd@gnu.org>
1396 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
1398 2012-04-20 Alan Mackenzie <acm@muc.de>
1400 Ensure searching for keywords is case sensitive.
1402 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
1403 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
1404 (c-defun-name, c-mark-function, c-cpp-define-name)
1405 (c-comment-indent, c-scan-conditionals, c-indent-defun)
1406 (c-context-line-break): Bind case-fold-search to nil.
1408 * progmodes/cc-mode.el (c-font-lock-fontify-region):
1409 Bind case-fold-search to nil.
1411 2012-04-20 Chong Yidong <cyd@gnu.org>
1413 * mail/sendmail.el (mail-bury): Call return action with the right
1414 Rmail buffer (Bug#11242).
1416 * server.el (server-process-filter): Handle corner case where both
1417 tty and nowait options are present (Bug#11102).
1419 2012-04-20 Eli Zaretskii <eliz@gnu.org>
1421 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
1422 (top level): Put into the executable the ident-style '$Id:' tag on
1425 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1427 * electric.el (electric-indent-post-self-insert-function): Check that
1428 electric-indent-mode is enabled in current buffer.
1430 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
1432 * imenu.el (imenu-progress-message): Restore; it is "used" in
1433 erc/erc-imenu.el and net/snmp-mode.el.
1435 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
1437 * avoid.el (mouse-avoidance-mode): Mark unused arg.
1438 (mouse-avoidance-nudge-mouse): Remove unused binding.
1440 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
1442 * descr-text.el (describe-char):
1443 * progmodes/python.el (python-describe-symbol):
1444 Don't call `toggle-read-only', set `buffer-read-only'.
1446 * imenu.el (imenu-default-goto-function): Mark unused args.
1447 (imenu-progress-message): Remove obsolete macro; all callers changed.
1449 * subr.el (keymap-canonicalize): Remove unused binding.
1450 (read-passwd): Mark unused arg.
1452 * tutorial.el (tutorial--display-changes): Remove unused binding.
1453 (tutorial--save-tutorial-to): Remove unused variable.
1455 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
1456 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
1457 (package-generate-autoloads, package-menu--generate)
1458 (package-menu--find-upgrades): Remove unused bindings.
1460 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
1461 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
1462 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
1463 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
1464 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
1465 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
1466 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
1467 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
1468 (cua-delete-char-rectangle): Mark unused args.
1469 (cua-align-rectangle): Remove unused binding.
1471 * mail/rmail.el (compilation--message->loc)
1472 (epa--find-coding-system-for-mime-charset): Declare.
1474 * net/dbus.el (dbus-register-service): Declare.
1475 (dbus-name-owner-changed-handler): Remove unused binding.
1477 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
1478 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
1479 (nxml-scan-backward-within): Mark unused arg.
1480 (nxml-dynamic-markup-word): Remove unused binding.
1482 * mouse.el (mouse-menu-major-mode-map):
1483 * emacs-lisp/authors.el (authors-scan-change-log)
1484 (authors-add-to-author-list):
1485 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
1486 * emacs-lisp/smie.el (smie-auto-fill):
1487 * mail/sendmail.el (mail-bury):
1488 * mail/unrmail.el (unrmail):
1489 * net/tls.el (open-tls-stream):
1490 * textmodes/picture.el (picture-mouse-set-point):
1491 Remove unused bindings.
1493 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
1495 * net/tramp.el (tramp-action-password): Let-bind
1496 `enable-recursive-minibuffers' to t.
1498 2012-04-18 Sam Steingold <sds@gnu.org>
1500 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
1501 instead of 'string to accommodate values like [f11].
1502 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
1503 * progmodes/gdb-mi.el: Likewise.
1505 2012-04-18 Leo Liu <sdl.web@gmail.com>
1507 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
1509 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
1512 2012-04-18 Chong Yidong <cyd@gnu.org>
1514 * simple.el (line-move): Use forward-line if in batch mode
1517 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
1519 * files.el (after-find-file): Do not try to add a final newline if
1520 the buffer is read-only (Bug#11156).
1522 2012-04-17 Richard Stallman <rms@gnu.org>
1524 * mail/rmail.el (rmail-start-mail):
1525 Pass (rmail-mail-return...) for the return-action.
1526 Pass (rmail-yank-current-message...) for the yank-action.
1527 (rmail-yank-current-message): New function.
1528 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
1529 (rmail-reply): Likewise.
1530 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
1532 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
1533 buffer, not the last. Reject temp buffers. Use the rmail-mode
1536 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
1538 * server.el (server-ensure-safe-dir): Simplify.
1540 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
1542 * emacs-lisp/smie.el: Provide smarter auto-filling.
1543 (smie-auto-fill): New function.
1544 (smie-setup): Use it.
1546 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
1548 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
1550 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
1551 (comment-indent): Use it.
1553 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
1555 * ses.el: The overall change is to add cell renaming, that is
1556 setting fancy names for cell symbols other than name matching
1557 "\\`[A-Z]+[0-9]+\\'" regexp .
1558 (ses-localvars): Add ses--renamed-cell-symb-list.
1559 (ses-create-cell-variable): New defun.
1560 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
1561 (ses-relocate-formula): Relocate formulas only for cells the
1562 symbols of which are not renamed, i.e. symbols whose names do not
1563 match regexp "\\`[A-Z]+[0-9]+\\'".
1564 (ses-relocate-all): Relocate values only for cells the symbols of
1565 which are not renamed.
1566 (ses-load): Create cells variables as the (ses-cell ...) are read,
1567 in order to check row col consistency with cell symbol name only
1568 for cells that are not renamed.
1569 (ses-replace-name-in-formula): New defun.
1570 (ses-rename-cell): New defun.
1572 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
1574 * progmodes/perl-mode.el (perl-indent-parens-as-block):
1575 New option (bug#11118).
1576 (perl-calculate-indent): Respect it.
1578 2012-04-17 Glenn Morris <rgm@gnu.org>
1580 * dired-aux.el (dired-mark-read-string): Doc fix.
1582 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
1584 * dired-aux.el (dired-mark-read-string): Offer optional completion.
1585 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
1587 2012-04-17 Glenn Morris <rgm@gnu.org>
1589 * mouse.el (mouse-drag-track):
1590 * speedbar.el (speedbar-frame-mode):
1591 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
1593 2012-04-16 Leo Liu <sdl.web@gmail.com>
1595 * progmodes/python.el: Trivial cleanup.
1597 2012-04-16 Glenn Morris <rgm@gnu.org>
1599 * vc/vc.el (vc-string-prefix-p):
1600 * vc/pcvs-util.el (cvs-string-prefix-p):
1601 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
1602 * mpc.el (mpc-string-prefix-p):
1603 Make all of these into obsolete aliases for string-prefix-p.
1605 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
1607 * textmodes/two-column.el: Move custom options to the start.
1608 (frame-width): Remove compat definition.
1609 (2C-associate-buffer, 2C-dissociate):
1610 Use with-current-buffer rather than save-excursion.
1611 (2C-dissociate): Force a mode-line update.
1612 (2C-autoscroll): Use ignore-errors.
1614 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
1617 * emacs-lisp/cl-extra.el (*random-state*):
1618 Remove unnecessary declaration.
1620 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
1622 * play/cookie1.el (cookie-snarf):
1623 Give an explicit error if input file cannot be read.
1625 * play/yow.el (yow-file): Use expand-file-name rather than concat.
1627 * progmodes/perl-mode.el (c-macro-expand):
1628 Remove unnecessary autoload (it is in loaddefs.el).
1630 * textmodes/picture.el (picture-desired-column)
1631 (picture-update-desired-column): Convert comments to doc-strings.
1632 (picture-substitute): Remove function.
1633 (picture-mode-map): Initialize in the defvar.
1635 * woman.el: Remove eval-after-load for tar-mode.
1636 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
1637 (woman-tar-extract-file): Autoload it.
1639 * frame.el (automatic-hscrolling): Make this alias obsolete.
1641 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1643 * ispell.el (ispell-set-spellchecker-params): Post-process
1644 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
1645 (ispell-dictionary-base-alist): Revert to original XEmacs
1646 friendly version for default. [:alpha:] will be added in
1647 `ispell-set-spellchecker-params' if needed
1649 2012-04-16 Chong Yidong <cyd@gnu.org>
1651 * image.el (imagemagick--extension-regexp): New variable.
1652 (imagemagick-register-types): Use it.
1653 (imagemagick-types-inhibit): Add :set function. Allow new value
1654 of t to inhibit all types.
1656 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
1657 so we can preload it.
1659 * loadup.el (fboundp): Preload regexp-opt, needed by
1660 imagemagick-register-types.
1662 2012-04-15 Chong Yidong <cyd@gnu.org>
1664 * frame.el (scrolling): Remove nearly unused customization group.
1666 * scroll-all.el (scroll-all-mode): Move to windows group.
1668 2012-04-15 Chong Yidong <cyd@gnu.org>
1670 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
1672 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1674 Avoid the use of ((lambda ...) ...) in lexical-binding code.
1675 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
1677 2012-04-15 Glenn Morris <rgm@gnu.org>
1679 * simple.el (process-file-side-effects): Doc fix.
1681 2012-04-15 Glenn Morris <rgm@gnu.org>
1683 * international/mule-cmds.el (set-language-environment): Doc fix.
1685 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
1687 * server.el (server-auth-key, server-generate-key): Doc fixes.
1688 (server-get-auth-key): Doc fix. Use `string-match-p'.
1689 (server-start): Reflow docstring.
1691 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
1693 * server.el (server-generate-key): `called-interactively-p'
1694 requires a parameter.
1696 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
1698 * server.el (server-auth-key): New variable.
1699 (server-generate-key, server-get-auth-key): New function.
1700 (server-start): Use the new variable and functions to allow
1701 setting a permanent server key (bug#9423).
1703 2012-04-14 Leo Liu <sdl.web@gmail.com>
1705 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
1707 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
1710 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
1711 Emacs uses American spelling.
1713 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
1715 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
1716 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
1717 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
1718 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
1720 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1722 * progmodes/which-func.el (which-func-modes): Change default.
1724 2012-04-14 Kim F. Storm <storm@cua.dk>
1726 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
1727 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
1729 2012-04-14 Chong Yidong <cyd@gnu.org>
1731 * custom.el (custom-theme-set-variables): Doc fix.
1733 2012-04-14 Glenn Morris <rgm@gnu.org>
1735 * international/mule.el (set-auto-coding-for-load): Doc fix.
1737 2012-04-14 Alan Mackenzie <acm@muc.de>
1739 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
1740 imenu work again for Objective C Mode. Correct the *-index values,
1741 these having been disturbed by a previous change in 2011-08.
1743 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
1744 Correct two search limits.
1746 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1748 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
1750 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
1752 * international/characters.el: Fix sorting.
1754 2012-04-14 Eli Zaretskii <eliz@gnu.org>
1756 * international/characters.el: Add more missing Latin case pairs.
1758 2012-04-14 Glenn Morris <rgm@gnu.org>
1760 * files.el (dir-locals-set-class-variables): Doc fix.
1762 2012-04-14 Eli Zaretskii <eliz@gnu.org>
1764 * international/characters.el: Add set-case-syntax-pair call for
1765 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
1766 counterpart. (Bug#11209)
1768 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
1770 2012-04-14 Glenn Morris <rgm@gnu.org>
1772 * calendar/holidays.el (calendar-check-holidays): Doc fix.
1774 2012-04-14 Eli Zaretskii <eliz@gnu.org>
1776 * textmodes/ispell.el (ispell-dictionary-base-alist):
1777 Add data for Hebrew.
1779 2012-04-14 Chong Yidong <cyd@gnu.org>
1781 * net/rcirc.el (rcirc-cmd-quit):
1782 Revert 2012-03-18 change (Bug#11192).
1784 2012-04-14 Glenn Morris <rgm@gnu.org>
1786 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
1788 2012-04-14 Eli Zaretskii <eliz@gnu.org>
1790 * minibuffer.el (completion-in-region-mode-map):
1791 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
1793 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
1795 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
1797 2012-04-13 Masatake YAMATO <yamato@redhat.com>
1799 * minibuffer.el (minibuffer-local-filename-syntax): New variable
1800 to allow `C-M-f' and `C-M-b' to move to the nearest path
1801 separator (bug#9511).
1803 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
1805 * avoid.el: Require cl when compiling. And also move the
1806 `provide' to the end.
1808 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1810 * avoid.el (mouse-avoidance-banish-position): New variable.
1811 (mouse-avoidance-banish-destination): Use it (bug#10165).
1813 2012-04-13 Leo Liu <sdl.web@gmail.com>
1815 * progmodes/which-func.el (which-func-modes): Add objc-mode.
1817 2012-04-13 Ken Brown <kbrown@cornell.edu>
1819 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
1820 this is no longer needed now that cygstart understands file:// URLs.
1821 (browse-url-filename-alist): For the same reason, don't modify
1822 file:// URLs on Cygwin.
1824 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
1826 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
1827 the region on shift if the binding is already shifted (bug#11221).
1829 2012-04-12 Glenn Morris <rgm@gnu.org>
1831 * mail/mailpost.el: Move to obsolete/.
1833 2012-04-12 Drew Adams <drew.adams@oracle.com>
1835 * imenu.el (imenu--generic-function): Ignore invisible definitions
1838 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
1840 * hexl.el (hexl-bits): New variable.
1841 (hexl-options): Mention the variable in the doc string.
1842 (hexl-rulerise, hexl-line-displen): New functions.
1843 (hexl-mode): Mention the new variable.
1844 (hexl-mode, hexl-current-address, hexl-current-address):
1846 (hexl-ascii-start-column): New function.
1847 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
1848 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
1850 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1852 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
1853 '("-i" ENCODING), in 2 separate command-line arguments, to specify
1854 the encoding, as expected by hunspell.
1856 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1858 * battery.el (battery--linux-sysfs-regexp): New const.
1859 (battery-status-function): Use it. Remove yeeloong special case.
1860 (battery-yeeloong-sysfs): Remove.
1861 (battery-echo-area-format): Remove yeeloong special case.
1863 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1865 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
1866 Reported by Noah Friedman.
1868 * subr.el (read-passwd): Use read-string.
1870 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1872 * vcursor.el (vcursor-move): Increase the priority of the overlay
1875 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1877 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
1878 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
1880 2012-04-11 William Stevenson <yhvh2000@gmail.com>
1882 * textmodes/artist.el (artist-mode): Convert artist-mode to use
1883 define-minor-mode (bug#10760).
1885 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
1887 * progmodes/grep.el (rgrep): Tweak the find command line so
1888 that directories matching `grep-find-ignored-files' won't be
1891 2012-04-11 Chong Yidong <cyd@gnu.org>
1893 * startup.el (command-line): Remove support for long-obsolete
1894 variable font-lock-face-attributes.
1896 2012-04-11 Glenn Morris <rgm@gnu.org>
1898 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
1900 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1902 * window.el (window--state-get-1): Obey window-point-insertion-type.
1904 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
1906 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
1907 to previous function when point is on the first character of a
1908 function. Take care of that in `narrow-to-defun' (bug#6157).
1910 2012-04-11 Glenn Morris <rgm@gnu.org>
1912 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
1913 not just file-errors.
1915 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
1916 (vc-bzr-sha1): Use internal sha1.
1918 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1920 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
1922 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
1924 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
1925 that start in the middle of the line (bug#10496).
1927 2012-04-10 Dan Nicolaescu <dann@gnu.org>
1929 * battery.el (battery-linux-proc-acpi): Only one battery is
1930 discharged at a time, but that seems to confuse battery.el when
1931 computing `rate-type' for the battery not being discharged
1934 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1936 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
1938 * international/quail.el: Use dolist and simplify.
1939 (quail-define-package, quail-update-keyboard-layout)
1940 (quail-define-rules): Use dolist.
1941 (quail-insert-kbd-layout, quail-get-translation): CSE.
1943 * tmm.el: Use dolist, remove left over hook.
1944 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
1946 (calendar-load-hook): Don't mess with it.
1948 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
1949 Use derived-mode-p. Run the diff asynchronously.
1951 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1953 * obsolete/mouse-sel.el: Add an Obsolete-since header.
1955 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
1957 * misc.el: Display absolute path of loaded DLLs (bug#10424).
1958 (list-dynamic-libraries--loaded): New function.
1959 (list-dynamic-libraries--refresh): Use it.
1961 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
1963 * progmodes/python.el (python-fill-paragraph):
1964 Make python-fill-region in a multiline string work when font-lock is
1965 disabled (bug#7018).
1967 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
1969 * language/european.el (cp775): Add oem/legacy (en)coding on
1970 DOS/MS Windows for the Baltic languages. There are still plenty
1971 of texts written in this encoding/codepage (bug#6519).
1973 2012-04-10 Glenn Morris <rgm@gnu.org>
1975 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
1976 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
1978 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
1980 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
1981 next-line "n" and previous-line "p" in order to make recentf more
1982 consistent with ibuffer, dired or org-mode (bug#9387).
1984 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1986 * image.el (put-image): Return the overlay created instead of the
1987 optional input string (bug#7834). Note that this may break code
1988 that is (for some reason or other) depending on `put-image'
1989 returning the string.
1991 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
1993 * simple.el (zap-to-char): Allow zapping using input methods
1996 * textmodes/fill.el (fill-region): Leave point and mark where they
1997 were before filling (bug#5399).
1999 2012-04-09 Glenn Morris <rgm@gnu.org>
2001 * version.el (emacs-bzr-get-version):
2002 Handle lightweight checkouts of local branches.
2004 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
2006 * international/characters.el: Recover lost case pairs. (Bug#11209)
2008 2012-04-09 Chong Yidong <cyd@gnu.org>
2010 * custom.el (custom-variable-p): Return nil for non-symbol
2011 arguments instead of signaling an error.
2012 (user-variable-p): Obsolete alias for custom-variable-p.
2014 * apropos.el (apropos-variable):
2015 * files-x.el (read-file-local-variable):
2016 * simple.el (set-variable):
2017 * woman.el (woman-mini-help):
2018 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
2020 2012-04-09 Glenn Morris <rgm@gnu.org>
2022 * startup.el (normal-top-level): Don't look for leim-list.el
2023 in places where it will not be found. (Bug#910)
2025 * international/mule-cmds.el (set-default-coding-systems):
2026 * files.el (normal-mode):
2027 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
2028 This function was removed with ucs-tables.el in 2008.
2030 2012-04-08 Eli Zaretskii <eliz@gnu.org>
2032 * textmodes/ispell.el (ispell-check-version): For hunspell, set
2033 ispell-encoding8-command to "-i", without a trailing space.
2034 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
2035 separate command-line arguments, to specify the encoding, since
2036 that's how hunspell expects it.
2038 2012-04-08 Glenn Morris <rgm@gnu.org>
2040 * loadup.el: Load bindings before cus-start.
2041 This reduces somewhat the number of "rogue" settings in emacs -Q.
2043 2012-04-07 Glenn Morris <rgm@gnu.org>
2045 * version.el (emacs-bzr-get-version): New function.
2046 (emacs-bzr-version): New variable.
2047 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
2048 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
2050 2012-04-07 Eli Zaretskii <eliz@gnu.org>
2052 * international/uni-bidi.el, international/uni-category.el:
2053 * international/uni-combining.el, international/uni-decimal.el:
2054 * international/uni-decomposition.el, international/uni-digit.el:
2055 * international/uni-lowercase.el, international/uni-mirrored.el:
2056 * international/uni-name.el, international/uni-numeric.el:
2057 * international/uni-titlecase.el, international/uni-uppercase.el:
2058 Update for Unicode 6.1.
2060 2012-04-07 Eli Zaretskii <eliz@gnu.org>
2062 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
2064 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2066 * window.el (shrink-window): Mention the `window-min-height'
2067 variable in the doc string.
2069 2012-04-05 Bastien Guerry <bzg@altern.org>
2071 * color.el (color-lighten-name): Fix typo.
2073 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2075 * server.el (server--on-display-p): New function.
2076 (server--on-display-p): Use it.
2078 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
2080 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
2083 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2085 * comint.el (comint--common-quoted-suffix): Check string boundary
2086 before comparing (bug#11158).
2087 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
2089 2012-04-04 Chong Yidong <cyd@gnu.org>
2091 * minibuffer.el (completion-extra-properties): Doc fix.
2093 * subr.el (delayed-warnings-hook): Doc fix.
2095 2012-04-04 Daiki Ueno <ueno@unixuser.org>
2097 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
2098 selection (Bug#11159).
2099 (epa-insert-keys): Inform that the default public key will be
2100 exported if no key is selected.
2102 2012-04-04 Richard Stallman <rms@gnu.org>
2104 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
2106 2012-04-03 Chong Yidong <cyd@gnu.org>
2108 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
2109 mail-insert-file, not its obsolete alias mail-attach-file.
2111 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
2113 * notifications.el (notifications-notify): Fix docstring.
2115 2012-04-02 Glenn Morris <rgm@gnu.org>
2117 * emacs-lisp/authors.el (authors-aliases): Another addition.
2119 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
2121 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
2122 `tramp-compat-call-process' instead of `tramp-local-call-process'.
2123 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
2125 2012-04-01 Chong Yidong <cyd@gnu.org>
2127 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
2128 Handle root directory properly.
2129 (copy-directory): Caller changed.
2131 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2132 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
2134 2012-03-31 Glenn Morris <rgm@gnu.org>
2136 * term/xterm.el (xterm-extra-capabilities): Doc fix.
2138 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
2140 * calendar/calendar.el (calendar-window-list)
2141 (calendar-hide-window): Restore. (Bug#11140)
2142 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
2144 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
2146 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2148 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2149 Check if file is a symlink (Bug#10489).
2151 * files.el (copy-directory): Likewise.
2153 2012-03-30 Chong Yidong <cyd@gnu.org>
2155 * image.el (imagemagick-types-inhibit)
2156 (imagemagick-register-types): Doc fix.
2158 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2160 * ispell.el (ispell-get-extended-character-mode):
2161 Disable extended-char-mode for hunspell. hunspell does not support it
2162 and treats ~word as ordinary words in pipe mode.
2164 2012-03-30 Glenn Morris <rgm@gnu.org>
2166 * tutorial.el (help-with-tutorial): Ensure local variables don't
2167 happen to make the buffer read-only. (Bug#11127)
2169 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
2171 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
2172 (perl-calculate-indent): Return `noindent' in strings.
2174 2012-03-28 Sam Steingold <sds@gnu.org>
2176 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
2177 instead of the broken adhockery which does not prevent calendar
2178 buffers from being displayed at random after exit.
2179 (calendar-window-list, calendar-hide-window): Remove the broken
2182 2012-03-28 Glenn Morris <rgm@gnu.org>
2184 * replace.el (query-replace-map): Doc fix.
2186 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
2188 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
2189 contents. (Bug#11109)
2191 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
2193 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
2195 (avl-tree--check, avl-tree--check-node): New funs.
2197 2012-03-27 Martin Rudalics <rudalics@gmx.at>
2199 * window.el (switch-to-visible-buffer): New option.
2200 (switch-to-prev-buffer, switch-to-next-buffer):
2201 Observe switch-to-visible-buffer. Make sure that checking for a window
2202 showing a buffer already is done on the same frame.
2204 2012-03-27 Glenn Morris <rgm@gnu.org>
2206 * startup.el (mail-host-address): Doc fix.
2208 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2210 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
2213 2012-03-26 Ami Fischman <ami@fischman.org>
2215 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
2217 2012-03-26 Glenn Morris <rgm@gnu.org>
2219 * files.el (save-buffers-kill-emacs): Doc fix.
2221 * startup.el (normal-top-level, command-line, command-line-1):
2222 Give them doc strings.
2224 2012-03-25 Eli Zaretskii <eliz@gnu.org>
2226 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
2227 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
2229 2012-03-25 Chong Yidong <cyd@gnu.org>
2231 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
2232 theme if it was previously enabled before (Bug#11031).
2234 * cus-theme.el (custom-theme-write-faces): Retrieve current face
2235 spec with custom-face-get-current-spec if its :shown-value is not
2236 determined yet (Bug#9337).
2237 (customize-create-theme, custom-theme-revert): Doc fixes.
2239 * button.el (button-at): Minor addition to docstring.
2241 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
2243 * vc/vc.el (vc-merge): Fix a prompt.
2245 2012-03-24 Chong Yidong <cyd@gnu.org>
2247 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
2250 * button.el (button-at): Minor addition to docstring.
2252 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
2254 * newcomment.el (comment-choose-indent): No space after BOL.
2256 2012-03-22 Sam Steingold <sds@gnu.org>
2258 * window.el (switch-to-prev-buffer): Revert last patch because the
2259 bug turned out to be an advertised feature (Elisp manual 28.14).
2261 2012-03-22 Glenn Morris <rgm@gnu.org>
2263 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
2264 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
2266 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
2268 * net/network-stream.el (network-stream-open-starttls): Make error
2269 message under Windows be less misleading.
2271 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
2273 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
2274 understands (bug#9942).
2276 2012-03-22 Chong Yidong <cyd@gnu.org>
2278 * simple.el (end-of-visible-line): Handle return value of
2279 next-single-property-change properly (Bug#9371).
2281 2012-03-22 Kenichi Handa <handa@m17n.org>
2283 * international/quail.el (quail-insert-kbd-layout): Fix previous
2284 change. To avoid unwanted bidi reordering, use
2285 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
2287 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
2289 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
2290 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
2291 (ruby-beginning-of-indent): Be more careful with the difference
2292 between word-boundary and symbol boundary.
2293 (ruby-mode-syntax-table): Make : a symbol constituent.
2295 2012-03-21 Andreas Politz <politza@fh-trier.de>
2297 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
2299 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2301 * progmodes/etags.el (tags-completion-at-point-function):
2304 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
2306 2012-03-21 Sam Steingold <sds@gnu.org>
2308 * progmodes/etags.el (tags-completion-at-point-function):
2309 Avoid the error when point is inside the pattern.
2311 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
2313 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
2316 2012-03-21 Drew Adams <drew.adams@oracle.com>
2318 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
2320 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
2322 * ido.el (ido-set-current-directory, ido-read-internal)
2323 (ido-choose-completion-string, ido-completion-help): Handle nil
2324 value of ido-completion-buffer (Bug#11008).
2326 2012-03-21 Sam Steingold <sds@gnu.org>
2328 * window.el (switch-to-prev-buffer): Do not switch to a visible
2329 window previous buffer, just like with the frame previous buffers.
2331 2012-03-21 Chong Yidong <cyd@gnu.org>
2333 * faces.el (make-face, make-empty-face, copy-face):
2334 * face-remap.el (face-remap-add-relative, face-remap-set-base):
2337 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2339 * wid-edit.el (widget-complete-field): Remove (bug#11051).
2340 (widget-complete): Remove broken use of it.
2342 2012-03-20 Chong Yidong <cyd@gnu.org>
2344 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
2345 Use string-width and truncate-string-width to handle arbitrary
2348 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
2350 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
2351 to draw rectangles, not squares. (Regression introduced by revno
2352 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
2354 2012-03-18 Chong Yidong <cyd@gnu.org>
2356 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
2357 it is not yet defined (for temacs).
2359 2012-03-18 Leo Liu <sdl.web@gmail.com>
2361 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
2363 2012-03-17 Eli Zaretskii <eliz@gnu.org>
2365 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
2366 (ispell-choices-win-default-height, ispell-silently-savep)
2367 (ispell-dictionary-alist, ispell-encoding8-command)
2368 (ispell-check-version, ispell-aspell-find-dictionary)
2369 (ispell-valid-dictionary-list, ispell-words-keyword)
2370 (ispell-get-word, ispell-internal-change-dictionary)
2371 (ispell-region, ispell-skip-region-list)
2372 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
2373 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
2374 (ispell-message-text-end, ispell-message)
2375 (ispell-buffer-local-parsing): Doc fix.
2377 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
2379 * htmlfontify.el: Add support for code block fontification for ODT
2381 (hfy-optimisations): Define new option
2383 (hfy-fontify-buffer): Honor above setting.
2384 (hfy-begin-span, hfy-end-span): New routines factored out form
2385 `hfy-fontify-buffer'.
2386 (hfy-begin-span-handler, hfy-end-span-handler): New variables
2387 that permit insertion of custom tags.
2388 (hfy-fontify-buffer): Use above handlers.
2389 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
2390 (hfy-face-to-css): Re-defined to be a variable.
2391 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
2392 over multiple runs. This is made possible by having the caller let
2393 bind a special variable `hfy-user-sheet-assoc'.
2394 (htmlfontify-string): New defun.
2395 (hfy-compile-face-map): Make sure that the last char in the
2396 buffer is correctly fontified.
2397 (hfy-face-resolve-face): Whitespace only change.
2399 2012-03-17 Eli Zaretskii <eliz@gnu.org>
2401 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
2404 2012-03-16 Leo Liu <sdl.web@gmail.com>
2406 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
2408 2012-03-16 Alan Mackenzie <acm@muc.de>
2410 Further optimise the handling of large macros.
2412 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
2413 limit to a call of `c-literal-limits'.
2414 (c-determine-+ve-limit): New function.
2415 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
2416 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2417 In CASE 5B, restrict a search limit to 500.
2418 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
2420 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
2421 Restrict macro bounds to +-500 from after-change's BEG END.
2423 2012-03-16 Leo Liu <sdl.web@gmail.com>
2425 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
2427 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
2429 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
2430 `special-mode' setting of `buffer-read-only'. (Bug#11010)
2432 2012-03-16 Glenn Morris <rgm@gnu.org>
2434 * view.el (view-buffer, view-buffer-other-window)
2435 (view-buffer-other-frame): Doc fixes re special mode-class.
2437 * subr.el (eval-after-load): If named feature is provided not from
2438 a file, run after-load forms. (Bug#10946)
2440 * calendar/calendar.el (calendar-insert-at-column):
2441 Handle non-unit-width characters a bit better. (Bug#10978)
2443 2012-03-15 Chong Yidong <cyd@gnu.org>
2445 * emacs-lisp/ring.el (ring-extend): New function.
2446 (ring-insert+extend): Extend the ring correctly (Bug#11019).
2448 * comint.el (comint-read-input-ring)
2449 (comint-add-to-input-history): Grow comint-input-ring lazily.
2451 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2453 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
2454 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
2456 * imenu.el: Fix multiple inheritance breakage (bug#9199).
2457 (imenu-add-to-menubar): Don't add a redundant index.
2458 (imenu-update-menubar): Handle a dynamically composed keymap.
2460 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
2462 * mail/sendmail.el (mail-encode-header):
2463 Bind rfc2047-encode-encoded-words to nil.
2465 2012-03-13 Glenn Morris <rgm@gnu.org>
2467 * calendar/calendar.el (calendar-string-spread):
2468 Handle non-unit-width characters a bit better. (Bug#10978)
2470 2012-03-13 Leo Liu <sdl.web@gmail.com>
2472 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
2473 directory and file as argument (Bug#10822).
2475 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
2477 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
2478 For dynamically generated code, follow $PC.
2479 (gdb-disassembly-handler-custom): Handle no function name case.
2481 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
2483 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
2484 * emulation/ws-mode.el (ws-query-replace):
2485 * sort.el (sort-regexp-fields):
2486 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
2488 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2490 * dabbrev.el: Fix cycle completion order (bug#10963).
2491 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
2492 (dabbrev-completion): Don't use an obarray; provide
2493 a cycle-sort-function.
2495 2012-03-12 Leo Liu <sdl.web@gmail.com>
2497 * simple.el (kill-new): Use equal-including-properties for comparison.
2498 (kill-do-not-save-duplicates): Doc fix.
2500 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2502 * dabbrev.el: Fix cycle completion (bug#10963).
2503 Use lexical binding and wrap to 80 columns.
2504 (dabbrev-completion): Delay computing the list of completions.
2506 2012-03-12 Kenichi Handa <handa@m17n.org>
2508 * international/quail.el (quail-insert-kbd-layout): Surround each
2509 row by LRO and PDF instead of inserting many LRMs. Pad the left
2510 and right of each non-spacing marks. Insert invisible space
2511 between lower and upper characters to prevent composition.
2513 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2515 * minibuffer.el (minibuffer-complete): Don't get confused when the
2516 function is run twice via different commands (bug#10958).
2517 (complete-with-action): Fix docstring.
2519 2012-03-12 Chong Yidong <cyd@gnu.org>
2521 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
2522 (nxml-completion-at-point-function): New function.
2523 (nxml-mode): Use it.
2524 (nxml-bind-meta-tab-to-complete-flag): Default to t.
2526 * emacs-lisp/package.el (package-unpack, package-unpack-single):
2527 Load generated autoloads file before byte compiling (Bug#10970).
2528 (package--make-autoloads-and-compile): New helper fun.
2530 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
2532 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
2534 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
2536 * autorevert.el (auto-revert-handler): Ensure, that
2537 file-readable-p is applied only for local files or in
2538 auto-revert-tail-mode.
2540 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
2542 * server.el (server-eval-at): Handle non-tcp connections.
2543 Decode result string.
2545 * server.el (server-msg-size): New constant.
2546 (server-reply-print): New function.
2547 (server-eval-and-print): Use it.
2548 (server-eval-at): Use server-quote-arg and server-unquote-arg.
2551 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
2553 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
2556 2012-03-11 Chong Yidong <cyd@gnu.org>
2558 * simple.el (goto-line): Doc fix (Bug#9938).
2560 * subr.el (save-window-excursion): Doc fix (Bug#9979).
2562 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
2563 when finished (Bug#10963).
2565 2012-03-11 Martin Rudalics <rudalics@gmx.at>
2567 * window.el (split-window-below): Fix bug in case where
2568 split-window-keep-point is nil (Bug#10971).
2570 2012-03-11 Juri Linkov <juri@jurta.org>
2572 * replace.el (replace-highlight): Set isearch-word to nil
2573 unconditionally. (Bug#10887)
2575 2012-03-10 Eli Zaretskii <eliz@gnu.org>
2577 * net/mairix.el (mairix-replace-invalid-chars): Rename from
2578 mairix-replace-illegal-chars; all callers changed. Don't remove
2579 ^, ~, and = characters: they are meaningful in mairix search specs.
2580 (mairix-widget-create-query): Add usage information about mairix
2581 search forms: negating words, searching for substrings, etc.
2583 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
2585 * international/fontset.el (font-encoding-alist): Add an entry for
2588 2012-03-10 Richard Stallman <rms@gnu.org>
2590 * mail/sendmail.el (mail-encode-header):
2591 Set rfc2047-encode-encoded-words.
2593 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
2595 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
2596 view buffer means not swapped.
2597 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
2598 (rmail-write-region-annotate): Error if real text has disappeared.
2600 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
2602 2012-03-10 Chong Yidong <cyd@gnu.org>
2604 * emulation/cua-rect.el (cua--init-rectangles):
2605 * emulation/cua-base.el (cua--init-keymaps):
2606 Add delete-forward-char to remappings (Bug#9666).
2608 2012-03-10 Martin Rudalics <rudalics@gmx.at>
2610 * speedbar.el (speedbar-unhighlight-one-tag-line):
2611 Avoid unhighlighting due to frame switching (Bug#10275).
2613 2012-03-10 Chong Yidong <cyd@gnu.org>
2615 * minibuffer.el (completion-in-region, completion-help-at-point):
2616 Give the completion field overlay a high priority (Bug#6830).
2618 * dired.el (dired-goto-file): Recognize absolute file name
2619 listings (Bug#7126).
2620 (dired-goto-file-1): New helper function.
2621 (dired-toggle-read-only): Inhibit warnings.
2623 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
2625 * net/dbus.el (dbus-property-handler): Return empty array if
2626 there are no properties.
2628 2012-03-09 Leo Liu <sdl.web@gmail.com>
2630 * savehist.el (savehist-printable): Stricter check for string
2633 2012-03-09 Eli Zaretskii <eliz@gnu.org>
2635 * mail/smtpmail.el (smtpmail-send-it):
2636 Bind coding-system-for-write to *-unix, so that FCC files are kept in
2639 2012-03-09 Glenn Morris <rgm@gnu.org>
2641 * files.el (dir-locals-find-file):
2642 Don't check result is regular, readable.
2643 (dir-locals-read-from-file): Demote errors.
2645 2012-03-08 Eli Zaretskii <eliz@gnu.org>
2647 * international/quail.el (quail-insert-kbd-layout):
2648 Insert invisible LRM characters before each character in a keyboard
2649 layout cell, to prevent their reordering by bidi display engine.
2650 For details, see the discussion in
2651 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
2653 2012-03-08 Alan Mackenzie <acm@muc.de>
2655 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
2656 the starting position; make it extend the marked region when
2657 invoked repeatedly - all under appropriate circumstances.
2658 Fixes bugs #5525, #10906.
2660 2012-03-08 Glenn Morris <rgm@gnu.org>
2662 * files.el (locate-dominating-file, dir-locals-find-file):
2663 Undo 2012-03-06 change.
2665 2012-03-07 Eli Zaretskii <eliz@gnu.org>
2667 * international/quail.el (quail-help):
2668 Force bidi-paragraph-direction be left-to-right. See discussion in
2669 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
2672 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
2674 Avoid superfluous registering of signals. (Bug#10807)
2676 * notifications.el (notifications-on-action-object)
2677 (notifications-on-close-object): New defvars.
2678 (notifications-on-action-signal, notifications-on-closed-signal):
2679 Unregister the signal if not needed any longer.
2680 (notifications-notify): Register `notifications-action-signal' or
2681 `notifications-closed-signal', if :on-action or :on-close has been
2684 2012-03-07 Chong Yidong <cyd@gnu.org>
2686 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
2689 2012-03-06 Glenn Morris <rgm@gnu.org>
2691 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2692 (x-disown-selection-internal, x-get-selection-internal):
2693 Doc fix (add arglist signatures). (Bug#10783)
2695 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
2697 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
2698 Handle breakpoints with no "type".
2700 2012-03-06 Glenn Morris <rgm@gnu.org>
2702 * files.el (locate-dominating-file): Add optional predicate argument.
2703 (dir-locals-find-file): Make use of above change.
2705 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
2707 * info.el (Info-insert-dir): Also try "dir.gz".
2709 2012-03-06 Glenn Morris <rgm@gnu.org>
2711 * files.el (dir-locals-find-file):
2712 Ignore non-readable or non-regular files. (Bug#10928)
2714 * files.el (locate-dominating-file): Doc fix.
2716 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
2718 * calendar/calendar.el (calendar-set-mode-line):
2719 `getenv' returns a string. (Bug#10951)
2721 2012-03-05 Leo Liu <sdl.web@gmail.com>
2723 * simple.el (backward-delete-char-untabify): Constrain point to
2726 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
2728 2012-03-05 Chong Yidong <cyd@gnu.org>
2730 * simple.el (count-words): If called from Lisp, return the word
2731 count, for symmetry with `count-lines'. Arglist changed.
2732 (count-words--message): Args changed. Consolidate counting code
2733 from count-words and count-words-region.
2734 (count-words-region): Caller changed.
2735 (count-lines-region): Make it an obsolete alias.
2737 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
2739 * saveplace.el (save-place-to-alist)
2740 (save-place-ignore-files-regexp): Allow value nil to disable this
2743 2012-03-04 Chong Yidong <cyd@gnu.org>
2745 * faces.el (face-spec-reset-face): For the default face, reset the
2746 attributes to default values (Bug#10748).
2748 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
2750 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
2751 previous patch: Check `message-send-mail-function', and not the
2752 default function (bug#10897).
2754 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
2756 * notifications.el (notifications-on-action-signal)
2757 (notifications-on-closed-signal): Check for unique service name of
2758 incoming event. Fix error in removing entry.
2759 (top): Register for signals with wildcard service name.
2760 (notifications-notify): Use daemon unique service name for map entries.
2762 2012-03-04 Chong Yidong <cyd@gnu.org>
2764 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
2766 2012-03-04 Glenn Morris <rgm@gnu.org>
2768 * abbrev.el (copy-abbrev-table, abbrev-table-p)
2769 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
2770 (expand-abbrev, define-abbrev-table): Doc fixes.
2772 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2774 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
2775 `message-default-send-mail-function' and not `send-mail-function'
2776 when doing the prompting for `sendmail-query-once' before sending
2777 in Message buffers (bug#10897).
2779 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
2780 This is inconsistent with all the other stream functions, which leave
2781 the setting up to the higher levels (if so wanted) (bug#10931).
2783 2012-03-02 Alan Mackenzie <acm@muc.de>
2785 Depessimize the handling of very large macros.
2787 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
2788 (c-macro-cache-syntactic): New variables to implement a one
2789 element macro cache.
2790 (c-invalidate-macro-cache): New function.
2791 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
2792 Adapt to use the new cache.
2793 (c-state-safe-place): Use better the cache of safe positions.
2794 (c-state-semi-nonlit-pos-cache)
2795 (c-state-semi-nonlit-pos-cache-limit):
2796 New variables for...
2797 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
2798 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
2799 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
2800 Use c-state-semi-safe-place.
2802 * progmodes/cc-langs.el (c-get-state-before-change-functions):
2803 Add c-invalidate-macro-cache to the C, C++, Obj entries.
2805 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
2807 * jka-compr.el (jka-compr-call-process):
2808 Apply `file-accessible-directory-p' only when the default directory is
2811 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
2813 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
2814 access of FILE2, if FILE1 does not exist.
2816 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
2817 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
2819 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
2820 Add "PAGER=" to `process-environment'.
2822 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
2824 * progmodes/sql.el: Bug fix
2825 (sql-get-login-ext): Save login values in globals.
2826 (sql-get-login): Use new version of `sql-get-login-ext'.
2827 (sql-interactive-mode): Set global `sql-connection' to nil.
2828 (sql-connect): Set global values for connection.
2829 (sql-product-interactive): Save global values as buffer local.
2831 2012-02-29 Leo Liu <sdl.web@gmail.com>
2833 * abbrev.el (define-abbrevs): Reset sys to nil.
2835 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2837 * files.el (file-equal-p): Rename from `files-equal-p'.
2838 Return nil when one or both files don't exist.
2839 (file-subdir-of-p): Now only top directory must exists,
2840 return nil if it doesn't.
2841 (copy-directory): No need to test with `file-subdir-of-p' after
2843 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
2846 2012-02-28 Glenn Morris <rgm@gnu.org>
2848 * shell.el (shell-mode):
2849 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
2850 * play/landmark.el (landmark-font-lock-face-O):
2851 * play/handwrite.el (handwrite):
2852 * play/gomoku.el (gomoku-O):
2853 * net/browse-url.el (browse-url-browser-display):
2854 * international/mule.el (define-charset):
2855 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
2856 * filesets.el (filesets-find-file-delay):
2857 * eshell/em-xtra.el (eshell-xtra):
2858 * eshell/em-unix.el (eshell-grep):
2859 * emulation/viper.el (viper-mode):
2860 * emacs-lisp/regexp-opt.el (regexp-opt-group):
2861 * emacs-lisp/easymenu.el (easy-menu-define):
2862 * calendar/timeclock.el (timeclock-use-display-time):
2864 * bookmark.el (bookmark-save-flag):
2865 Doc fix (standardize possessive apostrophe usage).
2867 2012-02-27 Chong Yidong <cyd@gnu.org>
2869 * emulation/viper-cmd.el (viper-intercept-ESC-key):
2870 Fix key-binding lookup for ESC key (Bug#9146).
2872 * font-lock.el (font-lock-specified-p): Rename from
2873 font-lock-spec-present. Callers changed.
2875 2012-02-27 Daniel Hackney <dan@haxney.org>
2877 * emacs-lisp/package.el (package-compute-transaction):
2878 Handle holding a package version to t in package-load-list.
2880 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
2882 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
2883 (tramp-get-inode, tramp-get-device): Use cached values.
2885 2012-02-26 Alan Mackenzie <acm@muc.de>
2887 Check there is a font-lock specification before doing initial
2890 * font-core.el (font-lock-mode): Move the conditional from
2891 :after-hook to font-lock-initial-fontify.
2892 (font-lock-default-function): Move the check for a specification
2893 to font-lock-spec-present.
2895 * font-lock.el (font-lock-initial-fontify): Call ...
2896 (font-lock-spec-present): New function.
2898 2012-02-26 Jim Blandy <jimb@red-bean.com>
2900 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
2901 (gdb-send): Apply it to the operand of the '-interpreter-exec
2902 console' command, so that we can pass arguments with (say) quotes
2903 in them. Store exact string sent in gdb-debug-log (Bug#10765).
2905 2012-02-26 Chong Yidong <cyd@gnu.org>
2907 * help-fns.el (describe-function-1): Clarify description of
2908 remapping (Bug#10844).
2910 * files.el (files-equal-p): Doc fix.
2911 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
2912 and quit the loop once a mismatch is found.
2914 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
2916 * bs.el (bs--show-with-configuration): Don't throw an error
2917 if the window cannot be split; otherwise, subsequent calls to
2918 bs-show fail, restoring a stale window config. (Bug#10882)
2920 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
2922 * term/ns-win.el (global-map): Bind ns-drag-file to
2923 ns-find-file (Bug#5855, Bug#10050).
2925 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
2927 * calendar/parse-time.el (parse-time-string): Allow extractor to
2930 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
2932 * net/tramp.el (tramp-file-name-for-operation):
2933 Add `files-equal-p' and `file-subdir-of-p'.
2935 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2936 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2937 Add COPY-CONTENTS argument.
2939 2012-02-25 Chong Yidong <cyd@gnu.org>
2941 Add custom groups for VC backends, for consistency with vc-bzr.
2943 * vc/vc-arch.el (vc-arch):
2944 * vc/vc-cvs.el (vc-cvs):
2945 * vc/vc-git.el (vc-git):
2946 * vc/vc-hg.el (vc-hg):
2947 * vc/vc-mtn.el (vc-mtn):
2948 * vc/vc-rcs.el (vc-rcs):
2949 * vc/vc-sccs.el (vc-sccs):
2950 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
2951 All relevant defcustoms reassigned.
2953 2012-02-25 Chong Yidong <cyd@gnu.org>
2955 * newcomment.el (comment-styles): Add autoload (Bug#10868).
2957 * term/x-win.el (x-initialize-window-system): Reduce default for
2958 x-selection-timeout to 5 seconds (Bug#8869).
2960 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2962 * files.el (files-equal-p, file-subdir-of-p): New functions.
2963 (copy-directory): Error when trying to copy a directory on itself.
2964 Add missing copy-contents arg to tramp handler.
2965 * dired-aux.el (dired-copy-file-recursive): Same.
2966 (dired-create-files): Modify destination when source is equal to
2967 dest when copying files.
2968 Return also when dest is a subdir of source. (Bug#10489)
2970 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
2972 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
2975 2012-02-23 Alan Mackenzie <acm@muc.de>
2977 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
2978 parameter "after-hook:" to allow the expansion to run code after
2979 the execution of the mode hooks.
2981 * font-lock.el (font-lock-initial-fontify): New function extracted
2982 from font-lock-mode-internal.
2984 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2987 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2989 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
2990 (completion--cache-all-sorted-completions): New function.
2991 (completion-all-sorted-completions): Use it.
2992 (completion--do-completion, minibuffer-force-complete):
2993 Use it to re-instate the flush hook.
2995 * icomplete.el (icomplete-completions): Replace last fix with a better
2998 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
3000 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
3001 when it might call us back infinitely (bug#10797).
3003 2012-02-23 Glenn Morris <rgm@gnu.org>
3005 * minibuffer.el (completion-category-overrides): Doc fix.
3007 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
3009 * minibuffer.el (completion-table-with-context): Fix inf-loop.
3010 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
3012 2012-02-23 Glenn Morris <rgm@gnu.org>
3014 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
3015 (authors-obsolete-files-regexps, authors-ignored-files)
3016 (authors-ambiguous-files, authors-renamed-files-alist):
3019 2012-02-23 Juri Linkov <juri@jurta.org>
3021 * isearch.el (isearch-occur): Sync interactive spec with occur's
3022 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
3024 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
3026 2012-02-22 Juri Linkov <juri@jurta.org>
3028 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
3029 (ucs-insert): Doc fix. Check for hex digits in the string.
3030 Don't display `nil' in the error message. (Bug#10857)
3032 2012-02-22 Alan Mackenzie <acm@muc.de>
3034 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
3036 2012-02-22 Glenn Morris <rgm@gnu.org>
3038 * ffap.el (ffap-c-path):
3039 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
3041 2012-02-22 Chong Yidong <cyd@gnu.org>
3043 * custom.el (load-theme): Doc fix.
3045 2012-02-22 Glenn Morris <rgm@gnu.org>
3047 * dired-x.el (dired-guess-shell-alist-default):
3048 Remove escape sequences from nroff output. (Bug#172)
3050 2012-02-21 Glenn Morris <rgm@gnu.org>
3052 * vc/emerge.el (emerge-defvar-local):
3053 Set `permanent-local' property rather than unused `preserved'.
3055 * textmodes/picture.el (picture-delete-char): New alias.
3056 (picture-mode-map): Use it. (Bug#10860)
3057 (picture-mode): Doc fix.
3059 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
3061 * newcomment.el (uncomment-region-default): Remove unused binding.
3063 2012-02-21 Glenn Morris <rgm@gnu.org>
3065 * textmodes/picture.el (picture-motion, picture-motion-reverse)
3066 (picture-self-insert, picture-tab-chars): Doc fix.
3067 (picture-mode-map): Fix C-a, C-e.
3069 2012-02-20 Glenn Morris <rgm@gnu.org>
3071 * emacs-lisp/authors.el (authors-aliases): Add another entry.
3073 2012-02-20 Leo Liu <sdl.web@gmail.com>
3075 * icomplete.el (icomplete-completions): Check FROM arg before
3076 passing to substring (Bug#10850).
3078 2012-02-19 Chong Yidong <cyd@gnu.org>
3080 * comint.el: Require ansi-color.
3081 (comint-output-filter-functions): Add ansi-color-process-output.
3083 * ansi-color.el: Don't set comint-output-filter-functions; it is
3084 now in the initial value defined in comint.el.
3085 (ansi-color-apply-face-function): New variable.
3086 (ansi-color-apply-on-region): Use it.
3087 (ansi-color-apply-overlay-face): New function.
3089 * shell.el (shell): No need to require ansi-color.
3090 (shell-mode): Use ansi-color-apply-face-function to highlight
3091 color escapes using font-lock-face property (Bug#10835).
3093 2012-02-19 Chong Yidong <cyd@gnu.org>
3095 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
3096 mode-line formats (Bug#10839).
3098 2012-02-18 Glenn Morris <rgm@gnu.org>
3100 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
3102 * mail/undigest.el (unforward-rmail-message): Doc fix.
3104 * saveplace.el (save-place-ignore-files-regexp): Add :version.
3106 2012-02-18 Eli Zaretskii <eliz@gnu.org>
3108 * international/characters.el (script-list): Sync with the latest
3109 Unicode Character Database.
3111 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
3113 * international/titdic-cnv.el: Remove duplicate coding tag.
3114 * language/cham.el: Likewise.
3115 * language/tai-viet.el: Likewise.
3117 2012-02-18 Glenn Morris <rgm@gnu.org>
3119 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
3120 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
3121 (calendar-bahai-all-holidays-flag, calendar-other-dates):
3122 * calendar/diary-lib.el (diary-abbreviated-year-flag):
3123 * calendar/holidays.el (holiday-bahai-holidays)
3124 (calendar-holidays, list-holidays):
3125 Use utf-8 Bahá'í in doc-strings, menus, etc.
3127 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
3129 * saveplace.el (save-place-ignore-files-regexp): New variable
3130 allowing for excluding files from saving their location of point.
3131 The default value matches the temporary commit message editing
3132 files from Git, SVN, Bazaar, and Mercurial.
3133 (save-place-to-alist): Use it.
3135 2012-02-17 Lawrence Mitchell <wence@gmx.li>
3136 Stefan Monnier <monnier@iro.umontreal.ca>
3138 * newcomment.el (uncomment-region-default): Don't leave extra space
3139 when an arg is provided (bug#8150).
3141 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
3143 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
3145 2012-02-17 Glenn Morris <rgm@gnu.org>
3147 * net/socks.el: Require network-stream. (Bug#10599)
3149 2012-02-17 Kenichi Handa <handa@m17n.org>
3151 * international/charprop.el:
3152 * international/uni-name.el:
3153 * international/uni-old-name.el:
3154 * international/uni-comment.el: Regenerate.
3156 2012-02-16 Glenn Morris <rgm@gnu.org>
3158 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
3159 Interactively in calendar buffer, give an error if not on a date.
3161 2012-02-15 Glenn Morris <rgm@gnu.org>
3163 * shell.el (shell-delimiter-argument-list):
3164 Revert 2011-02-17 change. (Bug#8027)
3166 2012-02-15 Chong Yidong <cyd@gnu.org>
3168 * minibuffer.el (completion-at-point-functions): Doc fix.
3170 * custom.el (defcustom): Doc fix; note use of defvar.
3172 2012-02-15 Glenn Morris <rgm@gnu.org>
3174 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
3177 2012-02-14 Glenn Morris <rgm@gnu.org>
3179 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
3181 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
3183 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
3184 way the ports list is computed.
3185 (smtpmail-query-smtp-server): Prompt the user for a port number if
3186 we can't connect to any of the standard ports (bug#10810).
3188 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
3190 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
3192 2012-02-13 Glenn Morris <rgm@gnu.org>
3194 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
3196 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
3198 * net/gnutls.el (gnutls-trustfiles): New variable.
3199 (gnutls-negotiate): Use it.
3201 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
3203 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
3204 does its stuff if Gnus is running.
3206 2012-02-13 Alan Mackenzie <acm@muc.de>
3208 Fix a loop in c-set-fl-decl-start.
3210 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
3211 c-backward-syntactic-ws actually moves backwards.
3213 2012-02-13 Leo Liu <sdl.web@gmail.com>
3215 * net/rcirc.el (rcirc-markup-attributes): Move point to the
3216 beginning so that all \C-o chars are removed.
3218 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
3220 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
3222 2012-02-12 Alan Mackenzie <acm@muc.de>
3224 Fix infinite loop with long macros.
3225 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
3227 2012-02-12 Chong Yidong <cyd@gnu.org>
3229 * window.el (display-buffer): Doc fix (Bug#10785).
3231 2012-02-12 Glenn Morris <rgm@gnu.org>
3233 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3234 (x-disown-selection-internal, x-get-selection-internal):
3235 Sync docs with the xselect.c versions.
3237 * allout-widgets.el: Add missing license notice.
3239 2012-02-11 Glenn Morris <rgm@gnu.org>
3241 * select.el (x-get-selection-internal, x-own-selection-internal)
3242 (x-disown-selection-internal):
3243 * x-dnd.el (x-get-selection-internal): Update declarations.
3245 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
3247 * window.el (window-sides-slots):
3248 * tool-bar.el (tool-bar-position):
3249 * term/xterm.el (xterm-extra-capabilities):
3250 * ses.el (ses-self-reference-early-detection):
3251 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
3252 (verilog-auto-wire-type)
3253 (verilog-auto-delete-trailing-whitespace)
3254 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
3255 (verilog-auto-tieoff-declaration):
3256 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
3257 (sql-oracle-statement-starters, sql-oracle-scan-on):
3258 * progmodes/prolog.el (prolog-align-comments-flag)
3259 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
3260 (prolog-left-indent-regexp, prolog-paren-indent-p)
3261 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
3262 (prolog-types, prolog-mode-specificators)
3263 (prolog-determinism-specificators, prolog-directives)
3264 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
3265 (prolog-electric-dot-flag)
3266 (prolog-electric-dot-full-predicate-template)
3267 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
3268 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
3269 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
3270 (prolog-program-switches, prolog-prompt-regexp)
3271 (prolog-debug-on-string, prolog-debug-off-string)
3272 (prolog-trace-on-string, prolog-trace-off-string)
3273 (prolog-zip-on-string, prolog-zip-off-string)
3274 (prolog-use-standard-consult-compile-method-flag)
3275 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
3276 (prolog-imenu-max-lines, prolog-info-predicate-index)
3277 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
3278 (prolog-char-quote-workaround):
3279 * progmodes/cc-vars.el (c-defun-tactic):
3280 * net/tramp.el (tramp-encoding-command-interactive)
3281 (tramp-local-end-of-line):
3282 * net/soap-client.el (soap-client):
3283 * net/netrc.el (netrc-file):
3284 * net/gnutls.el (gnutls):
3285 * minibuffer.el (completion-category-overrides)
3286 (completion-cycle-threshold)
3287 (completion-pcm-complete-word-inserts-delimiters):
3288 * man.el (Man-name-local-regexp):
3289 * mail/feedmail.el (feedmail-display-full-frame):
3290 * international/characters.el (glyphless-char-display-control):
3291 * eshell/em-ls.el (eshell-ls-date-format):
3292 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
3293 (lisp-lambda-list-keyword-parameter-indentation)
3294 (lisp-lambda-list-keyword-parameter-alignment):
3295 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
3296 * dired-x.el (dired-omit-verbose):
3297 * cus-theme.el (custom-theme-allow-multiple-selections):
3298 * calc/calc.el (calc-highlight-selections-with-faces)
3299 (calc-lu-field-reference, calc-lu-power-reference)
3300 (calc-note-threshold):
3301 * battery.el (battery-mode-line-limit):
3302 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3303 (archive-7z-update):
3304 * allout.el (allout-prefixed-keybindings)
3305 (allout-unprefixed-keybindings)
3306 (allout-inhibit-auto-fill-on-headline)
3307 (allout-flattened-numbering-abbreviation):
3308 * allout-widgets.el (allout-widgets-auto-activation)
3309 (allout-widgets-icons-dark-subdir)
3310 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
3311 (allout-widgets-theme-dark-background)
3312 (allout-widgets-theme-light-background)
3313 (allout-widgets-item-image-properties-emacs)
3314 (allout-widgets-item-image-properties-xemacs)
3315 (allout-widgets-run-unit-tests-on-load)
3316 (allout-widgets-time-decoration-activity)
3317 (allout-widgets-hook-error-post-time)
3318 (allout-widgets-track-decoration):
3319 Add missing :version tags to new defcustoms and defgroups.
3321 * progmodes/sql.el (sql-ansi-statement-starters)
3322 (sql-oracle-statement-starters): Add custom type.
3324 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
3325 (prolog-system-version): Give it a type.
3327 2012-02-11 Eli Zaretskii <eliz@gnu.org>
3329 * term/pc-win.el (x-select-text, x-selection-owner-p)
3330 (x-own-selection-internal, x-disown-selection-internal)
3331 (x-get-selection-internal): Sync doc strings and argument lists
3332 with xselect.c, common-win.el and x-win.el. (Bug#10783)
3334 2012-02-11 Leo Liu <sdl.web@gmail.com>
3336 * progmodes/python.el (python-end-of-statement): Fix infinite
3339 2012-02-10 Glenn Morris <rgm@gnu.org>
3341 * international/mule-cmds.el (unify-8859-on-encoding-mode)
3342 (unify-8859-on-decoding-mode): Properly mark as obsolete.
3344 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3346 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
3347 about SMTP before checking the From header.
3349 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
3350 into own function for reuse by emacsbug.el.
3352 2012-02-10 Leo Liu <sdl.web@gmail.com>
3354 * subr.el (condition-case-unless-debug): Rename from
3355 condition-case-no-debug. All callers changed.
3356 (with-demoted-errors): Fix caller.
3358 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
3359 * nxml/rng-valid.el (rng-do-some-validation):
3360 * emacs-lisp/package.el (package-refresh-contents)
3361 (package-menu-execute):
3362 * desktop.el (desktop-create-buffer):
3363 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
3365 2012-02-10 Glenn Morris <rgm@gnu.org>
3367 * textmodes/bibtex.el:
3368 Add missing :version tags for new/changed defcustoms.
3370 * files.el (remote-file-name-inhibit-cache): Doc fixes.
3372 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
3374 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
3375 (smtpmail-via-smtp): Use it, or fall back on the From address.
3376 (smtpmail-send-it): Ditto.
3378 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
3380 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
3381 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
3382 (byte-compile-tmp-var): New const.
3383 (byte-compile-defvar): Use it to minimize .elc size.
3384 Just use `defvar' rather than simulate it (bug#10761).
3386 2012-02-09 Glenn Morris <rgm@gnu.org>
3388 * files.el (rename-uniquely): Doc fix. (Bug#3806)
3390 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
3393 * progmodes/compile.el (compilation-error-screen-columns)
3394 (compilation-first-column, compilation-filter-start): Doc fixes.
3396 * vc/log-view.el (log-view-toggle-entry-display):
3397 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
3399 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
3400 (report-emacs-bug-can-use-xdg-email):
3401 (report-emacs-bug-insert-to-mailer): Doc fixes.
3402 (report-emacs-bug): Message fix.
3404 * net/browse-url.el (browse-url-can-use-xdg-open)
3405 (browse-url-xdg-open): Doc fixes.
3407 * electric.el (electric-indent-mode, electric-pair-mode)
3408 (electric-layout-rules, electric-layout-mode): Doc fixes.
3409 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
3411 2012-02-08 Martin Rudalics <rudalics@gmx.at>
3413 * server.el (server-unselect-display): Don't inadvertently kill
3414 the current buffer. (Bug#10729)
3416 2012-02-08 Glenn Morris <rgm@gnu.org>
3418 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
3419 (sql-list-table): Doc fixes.
3421 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
3422 Comment out (does nothing).
3424 * completion.el (dynamic-completion-mode):
3425 * dirtrack.el (dirtrack-debug-mode):
3426 * electric.el (electric-layout-mode):
3427 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
3428 * face-remap.el (text-scale-mode, buffer-face-mode):
3429 * iimage.el (iimage-mode):
3430 * image-mode.el (image-transform-mode):
3431 * minibuffer.el (completion-in-region-mode):
3432 * scroll-lock.el (scroll-lock-mode):
3433 * simple.el (next-error-follow-minor-mode):
3434 * tar-mode.el (tar-subfile-mode):
3435 * tooltip.el (tooltip-mode):
3436 * vcursor.el (vcursor-use-vcursor-map):
3437 * wid-browse.el (widget-minor-mode):
3438 * emulation/tpu-edt.el (tpu-edt-mode):
3439 * emulation/tpu-extras.el (tpu-cursor-free-mode):
3440 * international/iso-ascii.el (iso-ascii-mode):
3441 * language/thai-util.el (thai-word-mode):
3442 * mail/supercite.el (sc-minor-mode):
3443 * net/goto-addr.el (goto-address-mode):
3444 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
3445 * progmodes/cwarn.el (cwarn-mode):
3446 * progmodes/flymake.el (flymake-mode):
3447 * progmodes/glasses.el (glasses-mode):
3448 * progmodes/hideshow.el (hs-minor-mode):
3449 * progmodes/pascal.el (pascal-outline-mode):
3450 * textmodes/enriched.el (enriched-mode):
3451 * vc/smerge-mode.el (smerge-mode):
3452 Doc fixes (minor mode argument).
3454 2012-02-07 Eli Zaretskii <eliz@gnu.org>
3456 * ls-lisp.el (ls-lisp-sanitize): New function.
3457 (ls-lisp-insert-directory): Use it to fix or remove any elements
3458 in file-alist with missing attributes. (Bug#4673)
3460 2012-02-07 Alan Mackenzie <acm@muc.de>
3462 Fix spurious recognition of c-in-knr-argdecl.
3464 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
3465 putative K&R region.
3467 2012-02-07 Alan Mackenzie <acm@muc.de>
3469 * progmodes/cc-engine.el (c-forward-objc-directive):
3470 Prevent looping in "#pragma mark @implementation".
3472 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
3474 * notifications.el (notifications-on-closed-signal): Make `reason'
3475 optional. (Bug#10744)
3477 2012-02-07 Glenn Morris <rgm@gnu.org>
3479 * emacs-lisp/easy-mmode.el (define-minor-mode):
3480 Doc fixes for the macro and the mode it defines.
3482 * image.el (imagemagick-types-inhibit): Doc fix.
3484 * cus-start.el (imagemagick-render-type): Add it.
3486 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
3488 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
3489 Set the default at load time, too, so that `font-lock-fontify-buffer'
3490 can be called without setting up the entire mode first. This fixes
3491 a bug in `mm-inline-text' with C MIME parts.
3493 2012-02-06 Chong Yidong <cyd@gnu.org>
3495 * simple.el (list-processes--refresh): Delete exited processes
3498 * comint.el (comint-next-prompt): next-single-char-property-change
3499 and prev-single-char-property-change never return nil (Bug#8657).
3501 * custom.el (defcustom): Doc fix (Bug#9711).
3503 2012-02-05 Chong Yidong <cyd@gnu.org>
3505 * cus-edit.el (custom-variable-reset-backup): Quote the value
3506 before storing it in the customized-value property (Bug#6712).
3507 (custom-display): Add a customization type tag.
3508 (custom-buffer-create-internal): Improve tooltip message.
3510 * wid-edit.el (widget-field-value-get): New optional arg to
3511 suppress trailing whitespace truncation.
3512 (character): Use it (Bug#2689).
3514 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
3516 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
3517 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
3519 2012-02-05 Chong Yidong <cyd@gnu.org>
3521 * cus-edit.el (custom-variable-value-create): For mismatched
3522 types, show the current value (Bug#7600).
3524 * custom.el (defcustom): Doc fix.
3526 2012-02-05 Glenn Morris <rgm@gnu.org>
3528 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
3530 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
3532 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
3533 (pp-buffer): Use `ignore-errors', `looking-at-p'.
3534 (pp-last-sexp): Use `looking-at-p'.
3536 2012-02-04 Glenn Morris <rgm@gnu.org>
3538 * files.el (revert-buffer):
3539 Doc fix (mention revert-buffer-in-progress-p).
3541 * emacs-lisp/ert-x.el (ert-simulate-command):
3542 Check deferred-action-list (which is obsolete) is bound.
3544 * subr.el (with-wrapper-hook): Doc fixes.
3546 * simple.el (filter-buffer-substring-functions)
3547 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
3549 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
3551 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
3552 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
3554 2012-02-04 Leo Liu <sdl.web@gmail.com>
3556 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
3558 2012-02-04 Glenn Morris <rgm@gnu.org>
3560 * image.el (image-extension-data): Add obsolete alias.
3562 * isearch.el (isearch-update): Doc fix.
3564 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
3566 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
3568 2012-02-03 Glenn Morris <rgm@gnu.org>
3570 * image.el (image-animated-p): Doc fix. Use image-animated-types.
3571 (image-animate-timeout): Doc fix.
3573 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
3575 2012-02-02 Glenn Morris <rgm@gnu.org>
3577 * server.el (server-auth-dir): Doc fix.
3578 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
3580 * subr.el (run-mode-hooks): Doc fix.
3582 2012-02-02 Juri Linkov <juri@jurta.org>
3584 * image-mode.el (image-toggle-display-image): Remove tautological
3585 `major-mode' from the `derived-mode-p' test.
3587 2012-02-02 Kenichi Handa <handa@m17n.org>
3589 * composite.el (compose-region): Cancel previous change.
3591 2012-02-02 Kenichi Handa <handa@m17n.org>
3593 * composite.el (compose-region, compose-string): Signal error for
3594 a null string component (Bug#6988).
3596 2012-02-01 Chong Yidong <cyd@gnu.org>
3598 * view.el (view-buffer-other-window, view-buffer-other-frame):
3599 Handle special modes like view-buffer (Bug#10650).
3600 (view-buffer): Simplify.
3602 * frame.el (set-frame-font): Tweak meaning of third argument.
3604 * dynamic-setting.el (font-setting-change-default-font):
3605 Use set-frame-font (Bug#9982).
3607 2012-02-01 Glenn Morris <rgm@gnu.org>
3609 * progmodes/compile.el (compilation-internal-error-properties):
3610 Respect compilation-first-column in the "*compilation*" buffer.
3612 * emacs-lisp/easy-mmode.el (define-minor-mode):
3613 Relax :variable's test for a named function.
3615 2012-01-31 Alan Mackenzie <acm@muc.de>
3617 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
3620 2012-01-31 Chong Yidong <cyd@gnu.org>
3622 * frame.el (set-frame-font): New arg ALL-FRAMES.
3624 * menu-bar.el (menu-set-font): Use set-frame-font.
3626 * faces.el (face-spec-reset-face): Don't apply unspecified
3627 attribute values to the default face.
3629 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
3631 * progmodes/cwarn.el (cwarn): Remove dead link.
3632 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
3633 Remove * from defcustom docstrings.
3634 (turn-on-cwarn-mode): Make obsolete.
3635 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
3636 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
3638 2012-01-31 Glenn Morris <rgm@gnu.org>
3640 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
3641 Fix :variable handling of mode a symbol not equal to modefun.
3642 Allow named functions to be used as the cdr of :variable.
3644 2012-01-30 Glenn Morris <rgm@gnu.org>
3646 * emacs-lisp/authors.el (authors-fixed-entries):
3647 Remove reference to deleted file rnewspost.el.
3649 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
3651 * window.el (window-with-parameter): Remove unused variable `windows'.
3652 (window--side-check): Remove unused variable `code'.
3653 (window--resize-siblings): Remove unused variable `first'.
3654 (adjust-window-trailing-edge): Remove unused variable `failed'.
3655 (window-deletable-p, window--delete): Remove unused variable `buffer'.
3656 Use `let', not `let*'.
3657 (balance-windows-2): Remove unused variable `found'.
3658 (window--state-put-2): Remove unused variable `splits'.
3659 (window-state-put): Remove unused variable `selected'.
3660 (same-window-p): Use `string-match-p'.
3661 (display-buffer-assq-regexp): Remove unused variable `value'.
3662 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3663 Mark argument ALIST as ignored.
3664 (pop-to-buffer): Remove unused variable `old-window'.
3666 2012-01-29 Eli Zaretskii <eliz@gnu.org>
3668 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
3669 and .lzma compressed files.
3671 2012-01-29 Chong Yidong <cyd@gnu.org>
3673 * frame.el (window-system-default-frame-alist): Doc fix.
3675 * dynamic-setting.el (font-setting-change-default-font): Don't
3676 change the default face if SET-FONT argument is non-nil (Bug#9982).
3678 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
3680 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
3682 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
3684 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
3685 breakpoints in files outside current directory (Bug#6098).
3687 2012-01-29 Chong Yidong <cyd@gnu.org>
3689 * progmodes/python.el: Require ansi-color at top-level.
3691 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
3692 Define and use in Emacs Lisp mode (Bug#9360).
3693 (lisp-mode-abbrev-table): Add doc.
3694 (lisp-mode-variables): Don't set local-abbrev-table.
3695 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
3697 2012-01-28 Roland Winkler <winkler@gnu.org>
3699 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
3701 2012-01-28 Roland Winkler <winkler@gnu.org>
3703 * textmodes/bibtex.el (bibtex-entry-alist): New function.
3704 (bibtex-set-dialect): Use it. Either set global values of
3705 dialect-dependent variables or bind these variables buffer-locally
3707 (bibtex-mode): Call bibtex-set-dialect via
3708 hack-local-variables-hook.
3709 (bibtex-dialect): Update docstring.
3710 Add safe-local-variable predicate.
3711 (bibtex-entry-alist, bibtex-field-alist): Initialize via
3713 (bibtex-mode-map): Define menu for each dialect.
3714 (bibtex-entry): Fix docstring.
3716 2012-01-28 Chong Yidong <cyd@gnu.org>
3718 * eshell/esh-arg.el (eshell-quote-argument): New function.
3720 * eshell/esh-ext.el (eshell-invoke-batch-file):
3721 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
3722 first arg to eshell-parse-command (Bug#10523).
3724 2012-01-28 Drew Adams <drew.adams@oracle.com>
3726 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
3727 `default-directory' is non-nil.
3729 2012-01-28 Eli Zaretskii <eliz@gnu.org>
3731 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
3732 line that displays system-configuration-options. (Bug#9924)
3734 2012-01-28 Drew Adams <drew.adams@oracle.com>
3736 * descr-text.el (describe-char): Show information about POS, in
3737 addition to information about the character at POS. Improve and
3738 update the doc string. Change "code point" to "code point in
3739 charset", to avoid confusion with the character's Unicode code
3740 point shown above that. (Bug#10129)
3742 2012-01-28 Eli Zaretskii <eliz@gnu.org>
3744 * descr-text.el (describe-char): Show the raw character, not only
3745 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
3746 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
3749 2012-01-28 Phil Hagelberg <phil@hagelb.org>
3751 * emacs-lisp/package.el (package-install):
3752 Run package-refresh-contents if there is no archive yet (Bug#9798).
3754 2012-01-28 Chong Yidong <cyd@gnu.org>
3756 * emacs-lisp/package.el (package-maybe-load-descriptor):
3757 New function, split from package-maybe-load-descriptor.
3758 (package-maybe-load-descriptor): Use it.
3759 (package-download-transaction): Fully load required packages
3760 inside the loop, so that `require' calls work (Bug#10593).
3761 (package-install): No need to call package-initialize now.
3763 2012-01-28 Chong Yidong <cyd@gnu.org>
3765 * simple.el (deactivate-mark): Doc fix (Bug#8614).
3767 * tooltip.el (tooltip-mode): Doc fix.
3768 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
3770 * frame.el (set-cursor-color): Doc fix (Bug#352).
3772 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
3773 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
3775 * cus-edit.el (custom-buffer-create-internal): Fix search button
3777 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
3779 2012-01-27 Eduard Wiebe <usenet@pusto.de>
3781 * dired.el (dired-mark-files-regexp):
3782 Include any subdirectory components. (Bug#10445)
3784 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
3786 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
3787 Handle [host]:port syntax. (Bug#10533)
3789 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
3791 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
3793 2012-01-26 Glenn Morris <rgm@gnu.org>
3795 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
3796 * term.el (term-raw-escape-map): Use Control-X-prefix.
3797 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
3799 2012-01-25 Martin Rudalics <rudalics@gmx.at>
3801 * window.el (window-state-get, window--state-get-1): Don't deal
3802 with fixed-sizeness of windows. Simplify code.
3804 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
3806 * window.el (window--state-get-1, window--state-put-2):
3807 Don't save and restore the mark.
3809 2012-01-25 Chong Yidong <cyd@gnu.org>
3811 * custom.el (custom-variable-p): Doc fix.
3813 2012-01-25 Glenn Morris <rgm@gnu.org>
3815 * dired.el (dired-goto-file): Handle some of the more common
3816 characters that `ls -b' escapes. (Bug#10596)
3818 * progmodes/compile.el (compilation-next-error-function):
3819 Respect compilation-first-column in the "*compilation*" buffer.
3820 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
3822 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
3824 2012-01-24 Glenn Morris <rgm@gnu.org>
3826 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
3828 2012-01-24 Julien Danjou <julien@danjou.info>
3830 * color.el (color-rgb-to-hsl): Fix value computing.
3831 (color-hue-to-rgb): New function.
3832 (color-hsl-to-rgb): New function.
3833 (color-clamp, color-saturate-hsl, color-saturate-name)
3834 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
3835 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
3837 2012-01-24 Glenn Morris <rgm@gnu.org>
3839 * vc/vc-rcs.el (vc-rcs-create-tag):
3840 * vc/vc-sccs.el (vc-sccs-create-tag):
3841 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
3843 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
3845 * eshell/esh-util.el (eshell-read-hosts-file):
3846 Skip comment lines. (Bug#10549)
3848 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
3850 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
3852 * subr.el (display-delayed-warnings): Doc fix.
3853 (collapse-delayed-warnings): New function to collapse identical
3855 (delayed-warnings-hook): Add it.
3857 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
3859 * net/tramp.el (tramp-action-login): Set connection property "login-as".
3861 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
3862 properties, when "login-as" is set.
3864 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
3865 (tramp-default-user-alist): Don't add "pscp".
3866 (tramp-do-copy-or-rename-file-out-of-band): Use connection
3867 property "login-as", if set. (Bug#10530)
3869 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
3871 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
3872 "plink1" and "psftp". (Bug#10530)
3874 2012-01-21 Kenichi Handa <handa@m17n.org>
3876 * international/mule-cmds.el (prefer-coding-system): Show a
3877 warning message if the default value of file-name-coding-system
3880 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3882 * windmove.el (windmove-reference-loc):
3883 Fix windmove-reference-loc miscalculation.
3885 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
3887 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
3890 2012-01-21 Glenn Morris <rgm@gnu.org>
3892 * international/mule.el (auto-coding-alist): Add .tbz.
3894 * files.el (local-enable-local-variables): Doc fix.
3895 (inhibit-local-variables-regexps): Rename from
3896 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
3897 Doc fix. Add some extensions from auto-coding-alist.
3898 (inhibit-local-variables-suffixes):
3899 Rename from inhibit-first-line-modes-suffixes. Doc fix.
3900 (inhibit-local-variables-p):
3901 New function, extracted from set-auto-mode-1.
3902 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
3903 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
3904 (hack-local-variables): Doc fix. Make the mode-only case
3905 respect enable-local-variables and friends.
3906 Respect inhibit-local-variables-regexps for file-locals, but
3907 not for directory-locals.
3908 (set-visited-file-name):
3909 Take account of inhibit-local-variables-regexps.
3910 Whether it applies may change as the file name is changed.
3911 * jka-cmpr-hook.el (jka-compr-install):
3912 * jka-compr.el (jka-compr-uninstall):
3913 Update for inhibit-first-line-modes-suffixes name change.
3915 2012-01-20 Martin Rudalics <rudalics@gmx.at>
3917 * help-macro.el (make-help-screen): Temporarily restore original
3918 binding for minor-mode-map-alist (Bug#10454).
3920 2012-01-19 Julien Danjou <julien@danjou.info>
3922 * color.el (color-name-to-rgb): Use the white color to find the max
3923 color component value and return correctly computed values.
3924 (color-name-to-rgb): Add missing float conversion for max value.
3926 2012-01-19 Martin Rudalics <rudalics@gmx.at>
3928 * window.el (window--state-get-1, window-state-get): Do not use
3929 special state value for window-persistent-parameters.
3930 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
3931 (window--state-put-2): Reset all window parameters to nil before
3932 assigning values of persistent parameters.
3934 2012-01-18 Alan Mackenzie <acm@muc.de>
3936 Eliminate sluggishness and hangs in fontification of "semicolon
3939 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
3940 Change value 10000 -> 3000.
3941 (c-state-safe-place): Reformulate so it doesn't stack up an
3942 infinite number of wrong entries in c-state-nonlit-pos-cache.
3943 (c-determine-limit-get-base, c-determine-limit): New functions to
3944 determine backward search limits disregarding literals.
3945 (c-find-decl-spots): Amend commenting.
3946 (c-cheap-inside-bracelist-p): New function which detects "={".
3948 * progmodes/cc-fonts.el
3949 (c-make-font-lock-BO-decl-search-function): Give a limit to a
3951 (c-font-lock-declarations): Fix an occurrence of point being
3952 undefined. Check additionally for point being in a bracelist or
3953 near a macro invocation without a semicolon so as to avoid a
3954 fruitless time consuming search for a declarator. Give a more
3955 precise search limit for declarators using the new
3958 2012-01-18 Glenn Morris <rgm@gnu.org>
3960 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
3961 (set-auto-mode): Doc fixes.
3963 2012-01-17 Glenn Morris <rgm@gnu.org>
3965 * isearch.el (search-nonincremental-instead): Fix doc typo.
3967 * dired.el (dired-insert-directory): Handle newlines in directory name.
3968 (dired-build-subdir-alist): Unescape newlines in directory name.
3970 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
3972 * net/tramp.el (tramp-local-end-of-line): New defcustom.
3973 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
3974 (tramp-action-terminal): Use it. (Bug#10530)
3976 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3978 * minibuffer.el (completion--replace): Strip properties (bug#10062).
3980 2012-01-16 Martin Rudalics <rudalics@gmx.at>
3982 * window.el (window-state-ignored-parameters): Remove variable.
3983 (window--state-get-1): Rename argument MARKERS to IGNORE.
3984 Handle persistent window parameters. Make copy of clone-of
3985 parameter only if requested. (Bug#10348)
3986 (window--state-put-2): Install a window parameter only if it has
3987 a non-nil value or an existing parameter shall be overwritten.
3989 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
3991 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
3993 2012-01-14 Eli Zaretskii <eliz@gnu.org>
3995 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
3996 don't pass the (nil) value of `upnode' to string-match.
3998 2012-01-14 Chong Yidong <cyd@gnu.org>
4000 * startup.el (command-line): Fix X resource class for cursorColor.
4001 Fix values recognized by the cursorBlink resource.
4003 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
4005 * epg.el (epg--make-temp-file): Avoid permission race condition
4006 when running on old Emacs versions (bug#10403).
4008 2012-01-14 Glenn Morris <rgm@gnu.org>
4010 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
4012 2012-01-13 Alan Mackenzie <acm@muc.de>
4014 Fix filling for when filladapt mode is enabled.
4016 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
4017 c-mask-paragraph, pass in `fill-paragraph' rather than
4018 `fill-region-as-paragraph'. (This is a reversion of a previous
4020 * progmodes/cc-mode.el (c-basic-common-init):
4021 Make fill-paragraph-handle-comment buffer local and set it to nil.
4023 2012-01-13 Glenn Morris <rgm@gnu.org>
4025 * dired.el (dired-switches-escape-p): New function.
4026 (dired-insert-directory): Use dired-switches-escape-p.
4027 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
4029 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
4031 2012-01-12 Glenn Morris <rgm@gnu.org>
4033 * mail/sendmail.el (mail-mode): Update paragraph-separate for
4034 changes in adaptive-fill-regexp. (Bug#10276)
4036 2012-01-11 Alan Mackenzie <acm@muc.de>
4038 Fix Emacs bug #10463 - put `widen's around the critical spots.
4040 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
4041 widen around each invocation of c-state-pp-to-literal. Remove an
4042 unused let variable.
4044 2012-01-11 Glenn Morris <rgm@gnu.org>
4046 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
4049 2012-01-10 Chong Yidong <cyd@gnu.org>
4051 * net/network-stream.el (network-stream-open-starttls):
4052 Avoid emitting a confusing error message when the server gives a bad
4053 response to the capability command.
4055 2012-01-10 Glenn Morris <rgm@gnu.org>
4057 * mail/unrmail.el (unrmail): Tweak previous change.
4059 2012-01-09 Chong Yidong <cyd@gnu.org>
4061 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
4063 2012-01-08 Alan Mackenzie <acm@muc.de>
4065 Optimise font locking in long enum definitions.
4067 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
4068 arm to a cond form to handle enums.
4069 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
4070 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
4072 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
4074 * files.el (move-file-to-trash): Preserve default file modes on error.
4077 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4079 * faces.el (set-face-attribute): Clarify the meaning of the nil
4082 * subr.el (with-selected-frame): Mention that the selected frame
4083 is restored (bug#9980).
4085 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
4088 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
4089 (password-read): Don't autoload unused function.
4091 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
4093 * progmodes/which-func.el (which-func-mode): Turn into a
4094 non-interactive function and mark as obsolete (bug#10428).
4096 2012-01-06 Chong Yidong <cyd@gnu.org>
4098 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
4099 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
4100 functions, along with 1 and -1.
4102 2012-01-06 Eli Zaretskii <eliz@gnu.org>
4104 * time.el (display-time-load-average)
4105 (display-time-default-load-average): Doc fixes. See the thread
4107 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
4110 2012-01-06 Glenn Morris <rgm@gnu.org>
4112 * mail/unrmail.el (unrmail): Give an explicit error if the input file
4113 has no messages. (Bug#10377)
4115 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
4116 than Info-edit. (Bug#10385)
4118 * time.el (display-time-load-average, display-time-next-load-average):
4121 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
4122 local setting of buffer-read-only to the input buffer. (Bug#10419)
4124 * calendar/calendar.el (calendar-mode):
4125 Locally set scroll-margin to 0. (Bug#10379)
4127 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
4129 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
4131 2012-01-05 Glenn Morris <rgm@gnu.org>
4133 * eshell/em-unix.el (diff-no-select): Autoload it.
4134 (eshell/diff): Use diff-no-select. (Bug#10420)
4136 2012-01-05 Chong Yidong <cyd@gnu.org>
4138 * shell.el (shell-dynamic-complete-functions): Revert last change.
4139 (shell-command-completion-function): New function.
4140 (shell-completion-vars): Use it to implement
4141 shell-completion-execonly (Bug#10417).
4143 * custom.el (enable-theme): Don't set custom-safe-themes.
4145 * cus-theme.el (custom-theme-merge-theme):
4146 Ignore custom-enabled-themes and custom-safe-themes.
4148 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
4150 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
4151 first prompt in `sql-interacive-mode'.
4152 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
4154 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
4155 (sql-product-interactive): Bug fix: Set `sql-buffer' in
4156 context of original buffer. Invoke `sql-login-hook'.
4158 2012-01-04 Eli Zaretskii <eliz@gnu.org>
4160 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
4161 letters in cite-prefix.
4163 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4165 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
4167 2012-01-03 Chong Yidong <cyd@gnu.org>
4169 * shell.el (shell-dynamic-complete-functions):
4170 Put pcomplete-completions-at-point, so as to try
4171 comint-filename-completion first (Bug#10417).
4173 2012-01-02 Richard Stallman <rms@gnu.org>
4175 * battery.el (battery-status-function):
4176 Detect when to use battery-yeeloong-sysfs.
4177 (battery-echo-area-format): Add string for Yeeloong.
4178 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
4179 (battery-yeeloong-sysfs): New function.
4181 2012-01-02 Chong Yidong <cyd@gnu.org>
4183 * dirtrack.el (dirtrack-list): Eliminate unused third element.
4184 (dirtrack): Merge code for handling relative filenames in prompt
4185 from shell-dir-cookie-watcher.
4186 (dirtrack-debug-message): New arg to avoid excess format calls.
4188 * shell.el (shell-dir-cookie-re): Variable deleted.
4189 (shell-dir-cookie-watcher): Function deleted.
4190 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
4193 2012-01-01 Eli Zaretskii <eliz@gnu.org>
4195 * term/w32-win.el (dynamic-library-alist) <gnutls>:
4196 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
4199 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
4201 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
4203 2011-12-31 Eli Zaretskii <eliz@gnu.org>
4205 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
4206 headers of non-MIME messages, when rmail-enable-mime is non-nil.
4208 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
4210 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
4211 also for alternative shells.
4212 (tramp-open-connection-setup-interactive-shell): Check, whether
4213 the shell is a busybox.
4214 (tramp-send-command): Don't suppress multiple prompts for
4215 busyboxes, it hurts.
4217 2011-12-28 Chong Yidong <cyd@gnu.org>
4219 * progmodes/gdb-mi.el (gdb-get-source-file-list)
4220 (gdb-get-source-file): Move mode line update to
4221 gdb-get-source-file (Bug#10087).
4223 2011-12-25 Chong Yidong <cyd@gnu.org>
4225 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
4226 gud-gdb-marker-filter without taking it as an argument.
4227 (gud-gdb-run-command-fetch-lines): Caller changed.
4228 (gud-gdb-completion-function): New variable.
4229 (gud-gdb-completion-at-point): Use it.
4230 (gud-gdb-completions-1): Split from gud-gdb-completions.
4232 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
4233 function as separate arguments.
4234 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
4235 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
4236 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
4237 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
4238 (gdb-stopped, def-gdb-auto-update-trigger)
4239 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
4240 (gdb-get-changed-registers, gdb-get-main-selected-frame):
4242 (gud-gdbmi-completions): New function.
4243 (gdb): Use it for generating the completion table.
4245 2011-12-24 Alan Mackenzie <acm@muc.de>
4247 Introduce a mechanism to widen the region used in context font
4248 locking. Use this to protect declarations from losing their contexts.
4250 * progmodes/cc-langs.el (c-before-font-lock-functions):
4251 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
4252 (c-before-context-fontification-functions): New defvar, a list of
4253 functions to be run just before context (etc.) font locking.
4255 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
4256 New, functionality extracted from
4257 c-neutralize-syntax-in-and-mark-CPP.
4258 (c-in-after-change-fontification): New variable.
4259 (c-after-change): Set c-in-after-change-fontification.
4260 (c-set-fl-decl-start): Rejig its interface, so it can be called
4261 from both after-change and context fontifying.
4262 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
4264 (c-standard-font-lock-fontify-region-function): New variable.
4265 (c-font-lock-fontify-region): New function.
4267 2011-12-24 Juri Linkov <juri@jurta.org>
4269 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
4272 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
4274 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
4275 existence of source file. (Bug#10325)
4277 2011-12-23 Alan Mackenzie <acm@muc.de>
4279 Fix unstable fontification inside templates.
4281 * progmodes/cc-langs.el (c-before-font-lock-functions):
4282 Newly created from the singular version. The (c c++ objc) entry now
4283 additionally has c-set-fl-decl-start. The other languages (apart
4284 from AWK) have that as a single entry.
4286 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
4287 The functionality for "local" declarations has been extracted to
4288 c-set-fl-decl-start.
4290 * progmodes/cc-mode.el (c-common-init, c-after-change):
4291 Changes due to pluralisation of c-before-font-lock-functions.
4292 (c-set-fl-decl-start): New function, extracted from
4293 c-font-lock-enclosing-decls and enhanced.
4295 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
4297 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
4299 2011-12-22 Juri Linkov <juri@jurta.org>
4301 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
4303 2011-12-22 Chong Yidong <cyd@gnu.org>
4305 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
4307 2011-12-21 Drew Adams <drew.adams@oracle.com>
4309 * files.el (file-remote-p): Fix docstring. (Bug#10319)
4311 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
4313 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
4315 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
4317 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
4318 highlighting and support. Fix up comments for capitalization.
4319 (cfengine-mode-debug): New var.
4320 (cfengine3-mode): Change the modeline indicator to "CFE3".
4321 (cfengine3-font-lock-keywords): Improve defun highlighting.
4322 (cfengine2-actions): Rename from `cfengine-actions'.
4323 (cfengine2-font-lock-keywords): Rename from
4324 `cfengine-font-lock-keywords'.
4325 (cfengine2-imenu-expression): Rename from
4326 `cfengine-imenu-expression'.
4327 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
4328 (cfengine2-beginning-of-defun): Rename from
4329 `cfengine-beginning-of-defun'.
4330 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
4331 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
4332 (cfengine2-mode): Rename from `cfengine-mode'. Change the
4333 modeline indicator to "CFE2".
4334 (cfengine-mode): Defalias to `cfengine-auto-mode'.
4335 (cfengine-mode-abbrevs): Mark obsolete.
4337 2011-12-21 Chong Yidong <cyd@gnu.org>
4339 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
4342 2011-12-20 Martin Rudalics <rudalics@gmx.at>
4344 * window.el (window-normalize-buffer-to-display): Remove.
4345 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
4347 2011-12-19 Chong Yidong <cyd@gnu.org>
4349 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
4350 Don't signal an error in a predicate function; return non-nil.
4351 (vc-dir-mark-file): Move the error here.
4352 (vc-dir-mark-unmark): If acting on the region, keep going if one
4353 of the entries cannot be marked/unmarked.
4354 (vc-dir-mark-all-files): If current entry is a directory, mark
4355 only child files, as documented.
4357 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
4359 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
4360 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
4363 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
4365 * term/ns-win.el (ns-get-selection-internal)
4366 (ns-store-selection-internal): Declare.
4367 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
4368 Declare as obsolete.
4369 (ns-get-pasteboard, ns-paste-secondary):
4370 Use ns-get-selection-internal.
4371 (ns-set-pasteboard, ns-copy-including-secondary):
4372 Use ns-store-selection-internal.
4374 2011-12-17 Chong Yidong <cyd@gnu.org>
4376 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
4377 (vc-deduce-fileset): Doc fix.
4379 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
4381 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
4383 2011-12-13 Sam Steingold <sds@gnu.org>
4385 * man.el (Man-getpage-in-background): When running under a
4386 window-system, ignore $MANWIDTH and $COLUMNS.
4388 2011-12-15 Kenichi Handa <handa@m17n.org>
4390 * language/ethio-util.el: Change coding tag to utf-8-emacs.
4391 (setup-ethiopic-environment-internal): Comment out key-binding for
4392 ethio-toggle-punctuation.
4394 2011-12-13 Alan Mackenzie <acm@muc.de>
4396 Add the switch statement to AWK Mode.
4398 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
4399 "default" to the keywords regexp.
4401 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
4402 expression as the rest.
4403 (c-nonlabel-token-key): Allow string literals for AWK.
4404 Refactor for the other modes.
4406 Large brace-block initialisation makes CC Mode slow: Fix.
4407 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
4408 routines. Limit backward searching in c-font-lock-enclosing.decl.
4410 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
4411 pp-state and literal type in addition to the limits.
4412 (c-state-safe-place): New defun, extracted from c-state-literal-at.
4413 (c-state-literal-at): Use the above new defun.
4414 (c-slow-in-literal, c-fast-in-literal): Remove.
4415 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
4417 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
4418 being in a literal. Add a limit for backward searching.
4420 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
4423 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
4425 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
4427 2011-12-13 Martin Rudalics <rudalics@gmx.at>
4429 * window.el (delete-other-windows): Use correct frame in call to
4430 window-with-parameter.
4432 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
4434 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
4435 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
4436 (makefile-gmake-statements, makefile-makepp-statements):
4437 Use it and add new makepp keywords.
4438 (makefile-makepp-font-lock-keywords): Add new patterns.
4439 (makefile-match-function-end): Match new [...] and [[...]].
4441 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
4443 * ses.el (ses-call-printer-return, ses-cell-property-get)
4444 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
4445 (ses-create-cell-variable, ses-reset-header-string)
4446 (ses-cell-set-formula, ses-repair-cell-reference-all)
4447 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
4448 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
4449 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
4450 (ses-aset-with-undo, ses-load, ses-truncate-cell)
4451 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
4452 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
4453 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
4454 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
4455 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
4456 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
4457 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
4458 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
4460 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
4462 * ses.el: The overall change is to add cell renaming, that is
4463 setting fancy names for cell symbols other than name matching
4464 "\\`[A-Z]+[0-9]+\\'" regexp .
4465 (ses-create-cell-variable): New defun.
4466 (ses-relocate-formula): Relocate formulas only for cells the
4467 symbols of which are not renamed, i.e. symbols whose names do not
4468 match regexp "\\`[A-Z]+[0-9]+\\'".
4469 (ses-relocate-all): Relocate values only for cells the symbols of
4470 which are not renamed.
4471 (ses-load): Create cells variables as the (ses-cell ...) are read,
4472 in order to check row col consistency with cell symbol name only
4473 for cells that are not renamed.
4474 (ses-replace-name-in-formula): New defun.
4475 (ses-rename-cell): New defun.
4477 2011-12-11 Chong Yidong <cyd@gnu.org>
4479 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
4480 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
4482 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
4484 * window.el (other-window): Fix docstring.
4486 2011-12-10 Eli Zaretskii <eliz@gnu.org>
4488 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
4489 `from' or `to' address before taking its substring.
4490 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
4491 encoded name is chopped in the middle of the encoded string, and
4492 thus displayed encoded.
4494 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
4496 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
4498 2011-12-10 Eli Zaretskii <eliz@gnu.org>
4500 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
4501 to use texinfo-update-node and commands that call it if the
4502 Texinfo file uses @node lines without next/prev/up pointers.
4503 Correct outdated description about texinfo-master-menu.
4504 (texinfo-all-menus-update, texinfo-master-menu)
4505 (texinfo-update-node, texinfo-every-node-update)
4506 (texinfo-multiple-files-update): Doc fix. Warn against updating
4507 all the @node lines.
4508 (texinfo-master-menu): Only call texinfo-update-node if the prefix
4509 argument is numeric. Explain better in the doc string what the
4510 function really does.
4511 (texinfo-insert-master-menu-list): Improve the error message
4512 displayed if there's no menu in the Top node.
4513 (Bug#2975) See also this thread:
4514 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
4516 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
4518 * speedbar.el (speedbar-supported-extension-expressions):
4519 Add .adb and .ads, commonly used for Ada source code (bug#10256).
4521 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
4523 * printing.el (pr-mode-alist):
4524 * simple.el (filter-buffer-substring-functions)
4525 (completion-list-insert-choice-function):
4526 * window.el (window-with-parameter, window-atom-root)
4527 (window-sides-slots, window-size-fixed, window-min-delta)
4528 (window-max-delta, window--resize-mini-window)
4529 (window--resize-child-windows-normal, window-tree)
4530 (delete-other-windows, quit-window, split-window)
4531 (display-buffer-record-window, special-display-buffer-names)
4532 (special-display-regexps, special-display-popup-frame)
4533 (same-window-p, split-window-sensibly)
4534 (display-buffer-overriding-action, display-buffer-alist)
4535 (display-buffer-base-action, display-buffer, switch-to-buffer)
4536 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
4537 (fit-window-to-buffer, recenter-positions)
4538 (mouse-autoselect-window-state, mouse-autoselect-window-select):
4539 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
4540 and remove unneeded backslashes in docstrings.
4542 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4544 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
4546 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
4547 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
4549 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
4550 when reading the makefile (bug#10116).
4552 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4554 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
4557 2011-12-06 Glenn Morris <rgm@gnu.org>
4559 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
4561 2011-12-06 Chong Yidong <cyd@gnu.org>
4563 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
4565 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
4567 * textmodes/table.el (table-shorten-cell): Fix typo.
4569 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
4571 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
4573 2011-12-05 Eli Zaretskii <eliz@gnu.org>
4575 * descr-text.el (describe-char): Fix display of strong
4576 right-to-left characters and directional embeddings and overrides.
4578 * simple.el (what-cursor-position): Fix display of codepoints of
4579 strong right-to-left characters.
4581 2011-12-05 Chong Yidong <cyd@gnu.org>
4583 * faces.el (read-color): Doc fix.
4585 2011-12-05 Glenn Morris <rgm@gnu.org>
4587 * align.el (align--set-marker): Add doc-string.
4588 Don't try to move something that is not a marker. (Bug#10216)
4590 2011-12-04 Glenn Morris <rgm@gnu.org>
4592 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
4593 overly zealous deletion of trailing whitespace.
4595 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
4597 * server.el (server-delete-client): On Windows, do not try to delete
4599 (server-process-filter): On Windows, treat requests for a tty frame as
4600 if they were for a GUI frame if the running server is in GUI mode.
4602 2011-12-03 Glenn Morris <rgm@gnu.org>
4604 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
4606 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
4608 * electric.el: Streamline electric-indent's hook.
4609 (electric-indent-chars): Revert to simple list.
4610 (electric-indent-functions): New var.
4611 (electric-indent-post-self-insert-function): Use it.
4613 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
4614 there's no inferior buffer (bug#10196).
4615 (prolog-consult-compile): Don't use toggle-read-only.
4617 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
4619 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
4620 interrupt. (Bug#10187)
4622 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
4624 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
4627 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
4630 2011-12-02 Juri Linkov <juri@jurta.org>
4632 * info.el (Info-search): Display "end of manual" when Isearch
4633 reaches the end of single-file Info manual. (Bug#9918)
4635 2011-12-02 Eli Zaretskii <eliz@gnu.org>
4637 * isearch.el (isearch-message-prefix): Run the input method part
4638 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
4640 2011-12-02 Juri Linkov <juri@jurta.org>
4642 * isearch.el (isearch-occur): Use `word-search-regexp' for
4644 (isearch-search-and-update): Add condition for `isearch-word' and
4645 call `word-search-regexp'. (Bug#10145)
4647 2011-12-01 Glenn Morris <rgm@gnu.org>
4649 * eshell/em-hist.el (eshell-hist-initialize):
4650 Handle eshell-history-size nil and HISTSIZE set or unset.
4651 (eshell-history-file-name, eshell-history-size): Fix custom type.
4653 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4655 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
4657 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
4659 * progmodes/verilog-mode.el (verilog-pretty-expr):
4660 Rework verilog-pretty-expr to handle new assignment operators in system
4661 verilog, such as += *= and the like.
4662 (verilog-assignment-operator-re): Regular expression to find the
4663 assigment operator in a verilog assignment.
4664 (verilog-assignment-operation-re): Regular expression to find an
4665 assignment statement for pretty-expr.
4666 (verilog-in-attribute-p): Query returns true if point is in an
4667 attribute context; used to skip these for expression line up from
4669 (verilog-in-parameter-p): Query returns true if point is in an
4670 parameter definition context; used to skip these for expression
4671 line up from pretty-expr.
4672 (verilog-in-parenthesis-p): Query returns true if point is in a
4673 parenthetical expression, specifically ( ) but not [ ] or { };
4674 used by pretty-expr.
4675 (verilog-just-one-space): If there is no space, don't add one.
4676 (verilog-get-lineup-indent-2): Specifically skip just attribute
4677 contexts for expression lineup, rather than skipping all
4678 parenthetical expressions.
4679 (verilog-calculate-indent): Fix comment, and fix indent.
4680 (verilog-do-indent): Indent declarations in lists (suggested by
4682 (verilog-mode-abbrev-table): Populate abbrev mode with the various
4684 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
4687 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
4689 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
4690 parameters with embedded comments. Reported by Ray Stevens.
4691 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
4692 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
4693 Reported by Tim Holt.
4694 (verilog-auto): Fix AUTOing a upper module then AUTOing module
4695 instantiated by upper module causing wrong expansion until AUTOed a
4696 second time. Reported by K C Buckenmaier.
4697 (verilog-diff-auto): Fix showing .* as a difference when
4698 `verilog-auto-star-save' off. Reported by Dan Dever.
4699 (verilog-auto-reset, verilog-read-always-signals)
4700 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
4701 temporary signals in reset list if
4702 verilog-auto-reset-blocking-in-non is nil, and match assignment
4703 style to each signal's assignment type, bug381.
4704 Reported by Thomas Esposito.
4705 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
4706 (verilog-uvm-statement-re): Support UVM indentation and
4707 highlighting, with old OVM keywords only.
4708 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
4709 Support AUTOTIEOFF creating non-wire data types.
4710 Suggested by Jonathan Greenlaw.
4711 (verilog-auto-insert-lisp, verilog-delete-to-paren)
4712 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
4713 (verilog-inject-sense, verilog-read-inst-pins)
4714 (verilog-read-sub-decls, verilog-read-sub-decls-line):
4715 Fix mismatching parenthesis inside commented out code when deleting
4716 AUTOINST, bug383. Reported by Jonathan Greenlaw.
4717 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
4718 non-numeric vector width. Reported by Alex Reed.
4719 (verilog-auto-ascii-enum): Add "onehot" option to work around not
4720 detecting signals with parameter widths. Reported by Alex Reed.
4721 (verilog-auto-delete-trailing-whitespace):
4722 With `verilog-auto-delete-trailing-whitespace' remove trailing
4723 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
4724 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
4725 Fix verilog-scan-cache corruption when running user AUTO expansion
4726 hooks that call indentation routines.
4727 (verilog-simplify-range-expression): Fix typo ignoring lower case
4729 (verilog-delete-auto): Fix delete-autos to also remove user created
4730 automatics, as long as they start with AUTO.
4731 (verilog-batch-diff-auto, verilog-diff-auto)
4732 (verilog-diff-function): Add `verilog-diff-auto' and bind to
4733 "C-c?" to report differences in AUTO expansion, ignoring spaces.
4734 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
4735 (verilog-in-paren-quick, verilog-re-search-backward-quick)
4736 (verilog-re-search-forward-quick, verilog-syntax-ppss):
4737 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
4738 is disabled and its cache will get corrupt, causing AUTOS not to
4739 expand. Instead use only -quick functions.
4740 (verilog-scan-region): Fix scanning over escaped quotes.
4741 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
4742 (verilog-re-search-backward-quick)
4743 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
4744 related functions now ignore strings, to fix misparsing of strings
4745 with magic comments embedded in them.
4746 (verilog-read-auto-template):
4747 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
4748 Reported by Brad Dobbie.
4749 (verilog-read-auto-template):
4750 Fix 'verilog-auto-inst-template-numbers' with comments.
4751 Reported by Brad Dobbie.
4752 (verilog-auto-inst, verilog-auto-inst-param)
4753 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
4754 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
4755 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
4756 debugging templates without merge conflicts, bug357.
4757 Reported by Brad Dobbie.
4758 (verilog-read-auto-template):
4759 Fix verilog-auto-inst-template-numbers with multiple templates.
4760 Reported by Brad Dobbie.
4761 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
4762 abbrevs so user won't be asked to save.
4763 (verilog-read-auto-lisp-present): Fix to start at beginning of
4764 buffer in case called outside of verilog-auto.
4765 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
4766 to "X-2". Reported by Matthew Myers.
4767 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
4768 all inputs from module templates. Reported by Leith Johnson.
4769 (verilog-module-inside-filename-p): Fix locating programs as with
4771 (verilog-auto-inst-port): Fix vl-width expressions when using
4772 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
4773 (verilog-decls-get-regs, verilog-decls-get-signals,
4774 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
4775 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
4776 verilog-read-decls): Combine reg and wire structures into one var
4777 structure to represent SystemVerilog concepts.
4778 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
4779 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
4780 (verilog-auto-wire-type, verilog-insert-definition):
4781 Add verilog-auto-wire-type and AUTOLOGIC to support using
4782 SystemVerilog "logic" keyword instead of "wire"/"reg".
4783 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
4784 to declares outputs that also have assignments (presumably in an
4785 ifdef or generate if so there's not a driver conflict).
4786 Reported by Matthew Myers.
4787 (verilog-auto-declare-nettype, verilog-insert-definition):
4788 Add verilog-auto-declare-nettype to fix declarations using
4789 `default_nettype none. Reported by Julian Gorfajn.
4790 (verilog-read-always-signals-recurse, verilog-read-decls)
4791 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
4792 malformed end statement, bug325. Reported by Joshua Wise and
4794 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
4795 (verilog-inst-comment-re): Fix not deleting Interfaced comment
4796 when expanding .* in interfaces, bug320.
4797 Reported by Pierre-David Pfister.
4798 (verilog-read-module-name): Fix import statements between module
4799 name and open parenthesis, bug317.
4800 Reported by Pierre-David Pfister.
4801 (verilog-simplify-range-expression): Fix simplification of
4802 multiplications inside AUTOWIRE connections, bug303.
4803 (verilog-auto-inst-port): Support parameter expansion in
4804 multidimensional arrays.
4805 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
4806 after "assert property". Reported by Julian Gorfajn.
4807 (verilog-simplify-range-expression): Fix "couldn't merge" errors
4808 with multiplication, bug303.
4809 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
4810 Reported by Jan Frode Lonnum.
4812 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
4814 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
4815 (hfy-shell-file-name, hfy-shell):
4816 * international/fontset.el (x-decompose-font-name): Fix typos.
4818 2011-11-29 Ken Brown <kbrown@cornell.edu>
4820 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
4821 (gdb-version): Remove defvar.
4822 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
4823 (gdb-gud-context-command, gdb-non-stop-handler)
4824 (gdb-current-context-command, gdb-stopped): Use it.
4825 (gdb-init-1): Enable pretty printing here.
4826 (gdb-non-stop-handler): Don't enable pretty-printing here.
4827 Check to see if the target supports non-stop mode; if not, turn off
4828 non-stop mode. Use the following.
4829 (gdb-check-target-async): New defun.
4830 (gud-watch, gdb-stopped): Fix whitespace.
4831 (gdb-get-source-file): Don't try to display the source file if
4832 `gdb-main-file' is nil.
4834 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4836 * align.el: Try to generate fewer markers (bug#10047).
4837 (align--set-marker): New macro.
4838 (align-region): Use it.
4840 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4842 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
4844 2011-11-29 Chong Yidong <cyd@gnu.org>
4846 * indent.el (indent-for-tab-command, indent-according-to-mode):
4848 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
4850 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
4852 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
4853 aware of remote file names. (Bug#10124)
4855 2011-11-29 Chong Yidong <cyd@gnu.org>
4857 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
4859 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4861 * files.el (find-file): Don't use force-same-window (bug#10144).
4862 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
4863 use pop-to-buffer if the selected window can't be used.
4864 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
4866 2011-11-28 Eli Zaretskii <eliz@gnu.org>
4868 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
4871 2011-11-28 Chong Yidong <cyd@gnu.org>
4873 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
4875 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
4877 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
4878 gdb-get-source-file-list on gdb-create-source-file-list.
4880 2011-11-26 Eli Zaretskii <eliz@gnu.org>
4882 * whitespace.el (whitespace-newline): Use a different foreground
4883 color for 16-color light-background displays.
4885 2011-11-24 Chong Yidong <cyd@gnu.org>
4887 * window.el (display-buffer--special-action): Doc fix.
4889 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
4891 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
4892 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
4893 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
4894 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
4895 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
4896 (avl-tree-stack-first):
4897 * emacs-lisp/cconv.el (cconv--analyse-use):
4898 * net/gnutls.el (gnutls-negotiate): Fix typos.
4900 2011-11-24 Glenn Morris <rgm@gnu.org>
4902 * lpr.el (lpr-windows-system, lpr-lp-system):
4903 * mail/binhex.el (binhex-begin-line):
4904 * progmodes/grep.el (grep-history, grep-find-history):
4905 * textmodes/flyspell.el:
4906 * vc/pcvs-defs.el (cvs-global-menu):
4907 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
4908 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
4909 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
4911 * net/tls.el: Fix case of "GnuTLS".
4913 * paths.el (rmail-file-name): Format doc-string for make-docfile.
4915 * version.el (emacs-build-system): Give it a doc-string.
4917 2011-11-24 Juri Linkov <juri@jurta.org>
4919 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
4921 2011-11-24 Glenn Morris <rgm@gnu.org>
4923 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
4924 if called on a non-mime message just toggle the headers. (Bug#8006)
4926 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
4928 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
4929 (allout-lead-with-comment-string, allout-structure-deleted-hook)
4930 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
4931 (allout-rebullet-heading, allout-open-sibtopic)
4932 (allout-toggle-current-subtree-encryption)
4933 (allout-toggle-subtree-encryption, allout-encrypt-string)
4934 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
4935 (allout-distinctive-bullets-string, allout-auto-activation):
4936 * window.el (window-normalize-buffer-to-display):
4937 * progmodes/verilog-mode.el (verilog-batch-indent):
4938 * textmodes/bibtex.el (bibtex-field-braces-opt)
4939 (bibtex-field-strings-opt):
4940 * vc/cvs-status.el (cvs-tree-merge):
4943 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
4945 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
4946 `non-essential' to t, in order to avoid remote connections.
4948 2011-11-23 Eli Zaretskii <eliz@gnu.org>
4950 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4951 On MS-DOS and MS-Windows, compare with loaddefs.el
4954 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4956 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
4958 2011-11-23 Glenn Morris <rgm@gnu.org>
4960 * paths.el (rmail-file-name): Reformat the doc-string so that it
4963 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
4964 (rmail-auto-file): Ignore case in the "special" field names,
4965 as mail-fetch-field does for all others.
4967 * mail/rmail.el (rmail-forward):
4968 * mail/rmailkwd.el (rmail-set-label):
4969 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
4970 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
4972 * mail/rmail.el (rmail-current-message): Doc fix.
4974 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
4976 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
4978 * server.el (server-eval-and-print): Allow C-g (bug#6585).
4980 2011-11-22 Glenn Morris <rgm@gnu.org>
4982 * mail/rmailmm.el (test-rmail-mime-handler)
4983 (test-rmail-mime-bulk-handler)
4984 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
4986 2011-11-21 Juri Linkov <juri@jurta.org>
4988 * calc/calc.el (calc-read-key-sequence):
4989 Let-bind `input-method-function' to nil. (Bug#10018)
4991 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4993 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
4994 Tell the caller that the next line needs recomputation, even
4995 though it doesn't start a sexp (bug#10094).
4997 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4999 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
5001 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5003 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5004 Use force-same-window.
5006 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
5008 * descr-text.el (describe-char-unicode-data):
5009 * json.el (json-string-escape):
5010 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
5011 (Footnote-unicode, Footnote-style-p):
5012 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
5014 2011-11-20 Chong Yidong <cyd@gnu.org>
5016 * window.el (replace-buffer-in-windows): Restore interactive spec.
5018 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5020 * electric.el (electric-indent-mode): Fix last change (too optimistic).
5022 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
5023 (byte-compile-global-not-obsolete-vars): New var.
5024 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
5026 (byte-compile-warn-obsolete): Align text with the one in *Help*.
5028 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
5030 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
5031 * progmodes/pascal.el (electric-pascal-equal):
5032 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
5033 * xml.el (xml-substitute-special): Fix typos.
5035 2011-11-20 Glenn Morris <rgm@gnu.org>
5037 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
5038 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
5040 (rmail-decode-mime-charset): Mark as obsolete.
5042 * mail/rmailsum.el (rmail-message-regexp-p-1):
5043 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
5044 Before using mime functions, check they are set. (Bug#10077)
5046 2011-11-19 Juri Linkov <juri@jurta.org>
5048 * info.el (Info-finder-find-node): Use `package--builtins' instead
5049 of `package-alist'. Use node names formed by the pattern "Keyword "
5050 and the keyword name.
5052 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
5054 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
5056 2011-11-19 Juri Linkov <juri@jurta.org>
5058 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
5059 that calls `revert-buffer' on all Info buffers. (Bug#9915)
5060 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
5061 `old-history', `old-history-forward'. Add let-binding
5062 `window-selected'. Remove calls to `kill-buffer',
5063 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
5064 before calling `Info-find-node', so `Info-find-node-2' will reread
5065 the Info file. Restore window positions only when `window-selected'
5068 2011-11-19 Juri Linkov <juri@jurta.org>
5070 * isearch.el (isearch-lazy-highlight-new-loop):
5071 Remove condition `(not isearch-error)'. (Bug#9918)
5073 * misearch.el (multi-isearch-search-fun): Add condition
5074 `(not bound)' to ignore lazy-highlighting search.
5075 Add the search-failed message "end of multi" when the end of
5076 multi-sequence is reached. Uncapitalize the search-failed
5077 message "Repeat for next buffer".
5079 * info.el (Info-search): Add the search-failed message
5080 "end of the manual" when the end of the manual is reached
5083 2011-11-19 Juri Linkov <juri@jurta.org>
5085 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
5086 Use non-destructive `remove' instead of `delete' because
5087 `Info-history-list' stored to `Info-isearch-initial-history-list' in
5088 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
5090 2011-11-19 Juri Linkov <juri@jurta.org>
5092 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
5093 to nil instead of binding `search-ring' and `regexp-search-ring'.
5096 2011-11-19 Eli Zaretskii <eliz@gnu.org>
5098 * simple.el (line-move): Force movement by logical lines for any
5099 hscrolled window, not only when auto-hscroll-mode is on.
5100 (line-move-visual): Update doc string to that effect. (Bug#10076)
5102 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
5104 * language/european.el (macintosh): Define as alias for mac-roman.
5106 2011-11-19 Eli Zaretskii <eliz@gnu.org>
5108 * mail/rmailmm.el (rmail-mime-display-header)
5109 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
5110 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
5111 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
5112 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
5113 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
5115 (rmail-mime-entity-segment): To get past the tagline, move forward
5116 2 more lines, to account for the 2 empty lines that precede and
5117 follow the line with the buttons.
5118 (rmail-mime-update-tagline): Move one more line, to get past the
5119 empty line that follows the buttons in the tagline. (Bug#9520)
5121 2011-11-19 Martin Rudalics <rudalics@gmx.at>
5123 * window.el (window-max-delta-1, window-min-delta-1)
5124 (window-min-size-1, window-state-get-1, window-state-put-1)
5125 (window-state-put-2): Use "window--" prefix.
5127 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
5129 * emacs-lisp/smie.el: Improve warnings and conflict detection.
5130 (smie-warning-count): New var.
5131 (smie-set-prec2tab): Use it.
5132 (smie-bnf->prec2): Improve warnings. Add docstring.
5133 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
5134 (smie-bnf--set-class): New function.
5135 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
5138 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
5139 (compilation-error-properties, compilation-move-to-column):
5140 Handle compilation-first-column while in the target buffer.
5142 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
5143 Don't hardcode point-min==1.
5145 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
5146 (eshell-rewrite-for-command): Remove workaround.
5147 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
5148 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
5149 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
5151 * files-x.el (modify-file-local-variable): Obey commenting conventions.
5153 2011-11-17 Glenn Morris <rgm@gnu.org>
5155 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5156 Ignore buffer-local generated-autoload-file if it is the same
5157 as the global value. (Bug#10049)
5159 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
5161 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
5162 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
5163 (reftex-toc-previous-heading, reftex-toc-max-level)
5164 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
5165 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
5166 (reftex-toc-do-promote, reftex-toc-promote-prepare)
5167 (reftex-toc-promote-action, reftex-toc-extract-section-number)
5168 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
5169 (reftex-toc-rename-label, reftex-toc-visit-location)
5170 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
5171 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
5172 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
5173 leaving "*toc*" only for references to the buffer.
5175 2011-11-17 Martin Rudalics <rudalics@gmx.at>
5177 * window.el (window-resize, delete-window, split-window):
5178 Replace window-splits by window-combination-resize.
5179 * cus-start.el (window-splits): Replace by window-combination-resize.
5181 2011-11-17 Glenn Morris <rgm@gnu.org>
5183 * progmodes/sh-script.el (sh-font-lock-keywords-var):
5184 Make bash entry derive from sh entry, not shell entry.
5186 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
5188 * net/tramp-cache.el (tramp-flush-file-property): Flush also
5189 properties of linked files. (Bug#9879)
5191 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
5194 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
5196 * menu-bar.el (menu-bar-file-menu):
5197 * printing.el (pr-ps-utility):
5198 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
5199 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
5200 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
5201 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
5202 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
5203 (icalendar--convert-cyclic-to-ical)
5204 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
5205 (icalendar--convert-ical-to-diary)
5206 (icalendar--convert-recurring-to-diary)
5207 (icalendar--convert-non-recurring-all-day-to-diary)
5208 (icalendar-import-format-sample):
5209 * progmodes/idlw-shell.el (idlwave-shell-mode):
5210 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
5211 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
5212 (vhdl-ps-print-init): Fix typos.
5214 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
5216 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
5217 FSF and collapse date sequence, obscure author/maintainer email address
5218 better, remove extra version line, track relocation of author's webpage.
5220 * progmodes/python.el (python-pdbtrack-input-prompt)
5221 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
5222 regular python pdb prompts. Adjustments shamelessly taken exactly as
5223 suggested in EmacsWiki page (tiny change):
5224 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
5226 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
5228 * expand.el (expand-pos, expand-index, expand-point):
5229 Remove redundant info from docstring.
5230 (expand-add-abbrevs): Doc fix.
5231 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
5232 (expand-sample-perl-mode-expand-list): Fix typos.
5234 * net/dbus.el (dbus-event-member-name):
5235 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
5236 * term/pc-win.el (msdos-create-frame-with-faces):
5237 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
5239 2011-11-16 Martin Rudalics <rudalics@gmx.at>
5241 * window.el (split-window, window-state-get-1)
5242 (window-state-put-1, window-state-put-2): Rename occurrences of
5243 window-nest to window-combination-limit.
5244 * cus-start.el (window-nest): Rename to window-combination-limit.
5246 2011-11-16 Chong Yidong <cyd@gnu.org>
5248 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
5251 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5253 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
5254 `completing-read' will remove *Completions* and will preserve
5255 current-buffer for us.
5256 (tmm-add-prompt): Users of *Completions* will always (re)set its
5258 (tmm-old-comp-map): Remove.
5260 2011-11-16 Glenn Morris <rgm@gnu.org>
5262 * mail/rmailedit.el: Require rmailmm when compiling.
5263 (rmail-old-mime-state): New declaration.
5264 (rmail-edit-current-message): If editing a mime message,
5265 edit the "raw" message from the mbox buffer.
5266 (rmail-cease-edit): Handle mime messages. (Bug#9840)
5268 2011-11-15 Glenn Morris <rgm@gnu.org>
5270 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
5271 which wasn't being used. Add optional arg to force given state.
5272 (rmail-mime): Add optional arg to force given state.
5274 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
5276 * allout.el (allout-encryption-plaintext-sanitization-regexps):
5277 * frame.el (display-mm-dimensions-alist):
5278 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
5279 (outline-move-subtree-down):
5280 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
5281 (newsticker--treeview-do-get-node):
5282 * net/quickurl.el (quickurl-list-buffer-name):
5283 * progmodes/dcl-mode.el (dcl-mode):
5284 * progmodes/gdb-mi.el (gdb-mapcar*):
5285 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
5287 2011-11-15 Glenn Morris <rgm@gnu.org>
5289 * mail/rmail.el (rmail-file-coding-system): It's only ever used
5290 in a boolean sense, so just make it a boolean, and fix the doc.
5291 (rmail-show-mime-function, rmail-mime-feature)
5292 (rmail-require-mime-maybe): Doc fixes.
5293 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
5295 * mail/rmailmm.el (rmail-show-mime): Doc fix.
5297 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
5299 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
5300 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
5301 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
5302 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
5304 2011-11-15 Glenn Morris <rgm@gnu.org>
5306 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
5307 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
5308 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
5309 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
5310 (rmail-mime, rmail-show-mime): Doc fixes.
5312 * term/ns-win.el (mode-line-frame-identification):
5313 Leave it alone. (Bug#10051)
5315 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
5317 * mail/rmailout.el (rmail-output-to-rmail-buffer):
5318 Handle empty buffers. (Bug#9978)
5320 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
5322 * international/mule.el (define-charset):
5323 * mail/rmailmm.el (rmail-mime-find-header-encoding):
5324 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
5325 * progmodes/verilog-mode.el (verilog-backward-token):
5326 * textmodes/ispell.el (lookup-words):
5327 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
5329 2011-11-14 Glenn Morris <rgm@gnu.org>
5331 * progmodes/executable.el
5332 (executable-make-buffer-file-executable-if-script-p):
5333 Handle file-modes returning nil.
5335 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
5336 message - not necessary, and causes problems. (Bug#9831)
5338 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
5340 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
5342 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
5343 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
5344 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
5346 2011-11-12 Martin Rudalics <rudalics@gmx.at>
5348 * window.el (window-resize, delete-window): Use window-splits
5349 variable instead of function.
5350 (window-state-get-1, window-state-put-2, window-state-put):
5351 Don't deal with windows' splits status.
5353 2011-11-12 Glenn Morris <rgm@gnu.org>
5355 * apropos.el (apropos-do-all, apropos-library, apropos-value)
5356 (apropos-documentation): Doc fixes.
5358 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
5360 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
5361 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
5363 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5365 * electric.el (electric-indent-post-self-insert-function): Make it
5366 possible for a char to only indent in some circumstances.
5367 (electric-indent-mode): Simplify.
5369 2011-11-11 Martin Rudalics <rudalics@gmx.at>
5371 * window.el (windows-with-parameter): Remove unused function.
5372 (windows-at-side): Rename to window-at-side-list.
5373 (window-check, window-atom-check, window-atom-check-1)
5374 (window-side-check, window-size-ignore, window-size-fixed-1)
5375 (window-in-direction-2): Prefix with "window--".
5376 (window-tree-1): Rename to window--subtree, fix doc-string.
5378 2011-11-11 Glenn Morris <rgm@gnu.org>
5380 * subr.el (eval-after-load): If FILE is already loaded,
5381 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
5383 2011-11-10 Glenn Morris <rgm@gnu.org>
5385 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
5386 Call svn via vc-svn-command rather than vc-do-command.
5387 (vc-svn-command): Add --non-interactive. (Bug#9993)
5388 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
5390 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5391 Add toggle-read-only. (Bug#7292)
5392 * files.el (toggle-read-only): Mention that it should only
5393 be used interactively. (Bug#10006)
5395 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5397 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5398 Adjust regexp for OCaml warnings.
5400 * electric.el (electric-pair-post-self-insert-function): Let user
5401 turn it off buffer-locally (bug#9932).
5403 * progmodes/python.el (python-beginning-of-statement):
5406 * progmodes/compile.el: Better handle TABs (bug#9749).
5407 (compilation-internal-error-properties)
5408 (compilation-next-error-function): Obey the target buffer's
5409 compilation-error-screen-columns.
5411 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
5413 * progmodes/meta-mode.el: Remove obsolete comments.
5414 (meta-right-comment-regexp, meta-ignore-comment-regexp):
5415 Fix typos in docstrings.
5417 2011-11-09 Martin Rudalics <rudalics@gmx.at>
5419 * window.el (window-size-fixed-p): Rewrite doc-string.
5420 (window-resizable-p): Rename to window--resizable-p. Update callers.
5421 (window--resizable): New function. Make all callers of
5422 window-resizable call window--resizable instead.
5423 (window-resizable): Rewrite in terms of window--resizable.
5425 2011-11-08 Glenn Morris <rgm@gnu.org>
5427 * progmodes/delphi.el (delphi-mode-syntax-table):
5428 Let define-derived-mode define a proper syntax table. (Bug#9994)
5430 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5432 * window.el: Stay away from defsubst.
5433 (window-list-no-nils): Remove.
5434 (window-state-get-1, window-state-get): Use backquote instead.
5436 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5438 * emacs-lisp/find-func.el (find-function-read):
5439 Fix incorrect use of default argument in `completing-read'.
5441 2011-11-08 Martin Rudalics <rudalics@gmx.at>
5443 * window.el (display-buffer-function, special-display-function):
5444 Mention display-buffer-record-window but do not mention
5445 help-setup parameter in doc-strings.
5446 (window-min-delta): Fix doc-string typo.
5448 2011-11-08 Chong Yidong <cyd@gnu.org>
5450 * window.el (window-total-height, window-total-width): Doc fix.
5451 (window-body-size): Move from C.
5452 (window-body-height, window-body-width): Move to C.
5454 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5456 * window.el: Make special-display like display-buffer-alist (bug#9532).
5457 (display-buffer--special-action): New function, morphed
5458 from display-buffer--special.
5459 (display-buffer): Use it to handle special-display-buffers at higher
5460 priority (just after display-buffer-alist).
5461 (display-buffer-fallback-action, display-buffer--other-frame-action)
5462 (pop-to-buffer-same-window): Remove display-buffer--special.
5464 2011-11-07 Glenn Morris <rgm@gnu.org>
5466 * calendar/cal-menu.el (cal-menu-set-date-title):
5467 Do nothing if not in a calendar. (Bug#9976)
5469 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
5471 * files.el (find-file): Always use selected-window.
5473 2011-11-07 Martin Rudalics <rudalics@gmx.at>
5475 * window.el (window-combinations): Make WINDOW argument
5476 mandatory. Rewrite doc-string.
5477 (walk-window-subtree, window-atom-check, window-min-delta)
5478 (window-max-delta, window--resize-this-window)
5479 (window--resize-root-window-vertically, window-tree)
5480 (balance-windows, window-state-put): Rewrite doc-strings as to
5481 not mention the term "subwindow".
5482 (window--resize-subwindows-skip-p): Rename to
5483 window--resize-child-windows-skip-p.
5484 (window--resize-subwindows-normal): Rename to
5485 window--resize-child-windows-normal.
5486 (window--resize-subwindows): Rename to
5487 window--resize-child-windows.
5488 (window-or-subwindow-p): Rename to window--in-subtree-p.
5490 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5492 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
5493 Ensure that mbox format messages end in two newlines (Bug#9974).
5495 2011-11-06 Chong Yidong <cyd@gnu.org>
5497 * window.el (window-combination-p): Function deleted; its
5498 side-effect is not used in any existing code.
5499 (window-combinations, window-combined-p): Call window-*-child
5502 2011-11-05 Chong Yidong <cyd@gnu.org>
5504 * window.el (window-valid-p): Rename from window-any-p.
5505 (window-size-ignore, window-state-get): Callers changed.
5506 (window-normalize-window): Rename from window-normalize-any-window.
5507 New arg LIVE-ONLY, replacing window-normalize-live-window.
5508 (window-normalize-live-window): Delete.
5509 (window-combination-p, window-combined-p, window-combinations)
5510 (walk-window-subtree, window-atom-root, window-min-size)
5511 (window-sizable, window-sizable-p, window-size-fixed-p)
5512 (window-min-delta, window-max-delta, window-resizable)
5513 (window-resizable-p, window-full-height-p, window-full-width-p)
5514 (window-current-scroll-bars, window-point-1, set-window-point-1)
5515 (window-at-side-p, window-in-direction, window-resize)
5516 (adjust-window-trailing-edge, maximize-window, minimize-window)
5517 (window-deletable-p, delete-window, delete-other-windows)
5518 (record-window-buffer, unrecord-window-buffer)
5519 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
5520 (quit-window, split-window, window-state-put)
5521 (set-window-text-height, fit-window-to-buffer)
5522 (shrink-window-if-larger-than-buffer): Callers changed.
5524 2011-11-04 Eli Zaretskii <eliz@gnu.org>
5526 * mail/rmail.el (rmail-simplified-subject): Decode subject with
5527 rfc2047-decode-string.
5528 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
5531 * window.el (window-body-height, window-body-width): Mention in
5532 the doc string that the return values are in frame's canonical
5535 2011-11-03 Alan Mackenzie <acm@muc.de>
5537 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
5538 change in cc-engine.el.
5540 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
5542 * window.el (switch-to-buffer): Use `force-same-window' interactively.
5544 2011-11-02 Martin Rudalics <rudalics@gmx.at>
5546 * window.el (quit-window): Call unrecord-window-buffer after
5547 showing another buffer in the window. (Bug#9937)
5548 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
5550 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
5552 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
5553 Accept status with more than 9 shelves. (Bug#9935)
5554 Reported by Colin D Bennett <colin@gibibit.com>.
5556 2011-11-01 Martin Rudalics <rudalics@gmx.at>
5558 * help.el (with-help-window): Don't reference
5559 temp-buffer-show-specifiers in doc-string.
5561 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
5563 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
5566 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5568 * whitespace.el: New version 13.2.2.
5569 (whitespace-newline-mode): Disable properly. Reported by Sarah
5572 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
5574 * net/newst-treeview.el: Remove "Time-stamp".
5575 (newsticker--group-manage-orphan-feeds): Do not call
5576 newsticker--treeview-tree-update.
5577 (newsticker-treeview-update, newsticker-treeview):
5578 Call newsticker--treeview-tree-update if necessary.
5580 2011-10-30 Martin Rudalics <rudalics@gmx.at>
5582 * window.el (window-iso-combination-p, window-iso-combined-p)
5583 (window-iso-combinations): Remove "iso-" infix.
5584 Suggested by Chong Yidong.
5585 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
5586 (window-max-delta-1, window-resize, window--resize-siblings)
5587 (window--resize-this-window, adjust-window-trailing-edge)
5588 (split-window, balance-windows-1)
5589 (shrink-window-if-larger-than-buffer):
5590 * calendar/calendar.el (calendar-generate-window):
5591 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
5593 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5595 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
5596 in place (bug#9907).
5597 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
5598 (eshell-rewrite-if-command, eshell-rewrite-for-command)
5599 (eshell-structure-basic-command, eshell-rewrite-while-command)
5600 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
5601 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
5602 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
5603 (eshell-do-pipelines-synchronously, eshell-eval-command):
5604 Use backquotes and prefer setq to set.
5605 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
5606 (eshell-macrop): Use functionp.
5607 (eshell-do-eval): Handle multiple expressions in `while' body.
5609 2011-10-30 Chong Yidong <cyd@gnu.org>
5611 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
5612 instead of set-mark (Bug#9810).
5614 2011-10-30 Chong Yidong <cyd@gnu.org>
5616 * window.el (split-window-below, split-window-right): Rename from
5617 split-window-above-each-other and split-window-side-by-side
5618 respectively. All callers changed.
5619 (split-window-sensibly, split-window-sensibly): Use them.
5620 (split-window-keep-point): Doc fix.
5622 * isearch.el: Add isearch-scroll property to split-window-below
5623 and split-window-right.
5625 * follow.el (follow-mode):
5626 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5627 * progmodes/ada-xref.el (ada-gdb-application):
5628 * emulation/vip.el (vip-buffer-in-two-windows):
5629 * image-dired.el (image-dired-dired-with-window-configuration):
5630 * dired-x.el (dired-do-find-marked-files):
5631 * dired.el (dired-pop-to-buffer):
5632 * bs.el (bs--show-with-configuration):
5633 * vc/emerge.el (emerge-setup-windows):
5634 * textmodes/two-column.el (2C-two-columns):
5635 * textmodes/reftex-toc.el (reftex-toc):
5636 * progmodes/gdb-mi.el (gdb-setup-windows):
5637 * progmodes/fortran.el (fortran-window-create):
5638 * net/newst-treeview.el (newsticker--treeview-window-init):
5639 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
5640 * emulation/tpu-edt.el (tpu-gold-map):
5641 * emulation/crisp.el (crisp-mode-map):
5642 * calendar/calendar.el (calendar-basic-setup): Callers changed.
5644 2011-10-29 Chong Yidong <cyd@gnu.org>
5646 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
5648 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
5650 * textmodes/flyspell.el (flyspell-word): Fix char offset for
5651 forged Ispell output (Bug#7904).
5653 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
5655 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5657 * doc-view.el: Avoid ugly errors about not finding nil.
5658 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
5659 (doc-view-dvipdf-program, doc-view-unoconv-program)
5660 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
5661 Avoid nil or absolute file name as default value.
5662 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
5664 2011-10-28 Alan Mackenzie <acm@muc.de>
5666 * progmodes/cc-defs.el (c-version): -> 5.32.2.
5668 2011-10-28 Alan Mackenzie <acm@muc.de>
5670 Amend the handling of c-beginning/end-of-defun in nested declaration
5673 * progmodes/cc-vars.el (c-defun-tactic): Move here from
5674 cc-langs.el. Change it to a defcustom.
5676 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
5679 * progmodes/cc-engine.el (c-beginning-of-statement-1):
5680 Prevent "class foo : bar" being spuriously recognized as a label.
5682 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
5683 Add parameter `inclusive' (to include enclosing braces in the region).
5684 (c-widen-to-enclosing-decl-scope): New function.
5685 (c-while-widening-to-decl-block): New macro.
5686 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
5687 outward for defun boundaries, and correspondingly change symbol
5688 `respect-enclosure' to `go-outward'.
5689 (c-declaration-limits): Change algorithm to report only the "innermost"
5692 2011-10-28 Deniz Dogan <deniz@dogan.se>
5694 * net/rcirc.el (rcirc-mode): Use hard newlines.
5696 2011-10-28 Alan Mackenzie <acm@muc.de>
5698 Amend to indent and fontify macros "which include their own semicolon"
5699 correctly, using the "virtual semicolon" mechanism.
5701 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
5703 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
5704 Recode to scan one line at a time rather than having \n and \r
5705 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
5706 (c-forward-label): Amend for virtual semicolons.
5707 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
5709 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
5710 of the new C macros.
5712 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
5713 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
5714 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
5715 (c-opt-cpp-macro-define): Make into a full language variable.
5716 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
5717 AWK Mode (including \n, \r) removed, no longer needed.
5719 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
5720 Invoke c-make-macro-with-semi-re.
5722 * progmodes/cc-vars.el (c-macro-with-semi-re):
5723 (c-macro-names-with-semicolon): New variables.
5724 (c-make-macro-with-semi-re): New function.
5726 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5728 * vc/log-edit.el: Fill empty field rather than adding new one.
5729 (log-edit-add-field): New function.
5730 (log-edit-insert-changelog): Use it.
5732 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5734 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
5736 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5738 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
5739 (gdb--check-interpreter): New function.
5742 2011-10-27 Glenn Morris <rgm@gnu.org>
5744 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
5745 (least-positive-float, least-negative-float)
5746 (least-positive-normalized-float, least-negative-normalized-float)
5747 (float-epsilon, float-negative-epsilon):
5748 Remove unnecessary declarations.
5750 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
5751 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
5752 (least-positive-float, least-negative-float)
5753 (least-positive-normalized-float, least-negative-normalized-float)
5754 (float-epsilon, float-negative-epsilon): Add doc-strings,
5755 based on those in cl.texi.
5757 * files.el (set-visited-file-name): If the major-mode changed,
5758 reload the local variables. (Bug#9796)
5760 2011-10-27 Chong Yidong <cyd@gnu.org>
5762 * subr.el (change-major-mode-after-body-hook): New hook.
5763 (run-mode-hooks): Run it.
5765 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5766 Use change-major-mode-before-body-hook.
5768 * simple.el (fundamental-mode):
5769 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
5770 change introducing fundamental-mode-hook.
5772 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
5774 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5776 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
5778 * ido.el (ido-file-name-all-completions-1): Do not require
5779 tramp.el explicitly. (Bug#7583)
5781 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5783 * progmodes/octave-mod.el:
5784 * progmodes/octave-inf.el: Update maintainer.
5786 2011-10-26 Chong Yidong <cyd@gnu.org>
5788 * subr.el (with-wrapper-hook): Rewrite doc.
5790 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
5792 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
5793 filenames "/method:foo:". (Bug#9793)
5795 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5797 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
5800 2011-10-24 Glenn Morris <rgm@gnu.org>
5802 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
5804 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
5806 * notifications.el: Add the requirement of a running D-Bus session
5807 bus to the Commentary.
5809 2011-10-24 Juri Linkov <juri@jurta.org>
5811 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5812 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
5815 2011-10-24 Juri Linkov <juri@jurta.org>
5817 * info.el (Info-following-node-name-re): Add newline to the list
5818 of allowed characters for leading space. (Bug#9824)
5820 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5822 * progmodes/octave-inf.el (inferior-octave-mode-map):
5823 Fix C-c C-h binding.
5824 * progmodes/octave-mod.el (octave-help): Remove.
5826 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
5828 Sync with Tramp 2.2.3.
5830 * net/tramp-cache.el (top): Pacify byte-compiler using
5831 `init-file-user' and `site-run-file'.
5833 * net/trampver.el: Update release number.
5835 2011-10-23 Chong Yidong <cyd@gnu.org>
5837 * files.el (toggle-read-only): Remove obsolete comment about
5840 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
5841 for toggle-read-only. Note that this hasn't called vc-next-action
5842 since 2008-05-02, though it wasn't documented at the time.
5844 * vc/ediff-init.el (ediff-toggle-read-only-function):
5845 Use toggle-read-only.
5847 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
5849 Fix bug #9560, sporadic wrong indentation; improve instrumentation
5852 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
5853 correct faulty logical expression.
5854 (c-parse-state-state, c-record-parse-state-state):
5855 (c-replay-parse-state-state): New defvar/defuns.
5856 (c-debug-parse-state): Use new functions.
5858 2011-10-22 Martin Rudalics <rudalics@gmx.at>
5860 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
5861 last fix. Use window-in-direction correctly.
5863 2011-10-21 Chong Yidong <cyd@gnu.org>
5865 * progmodes/idlwave.el (idlwave-mode):
5866 * progmodes/vera-mode.el (vera-mode): No need to set
5867 require-final-newline; that's done in prog-mode.
5868 Suggested by Stefan Monnier.
5870 2011-10-21 Martin Rudalics <rudalics@gmx.at>
5872 * mouse.el (mouse-drag-window-above)
5873 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
5874 (mouse-drag-mode-line-1, mouse-drag-header-line)
5875 (mouse-drag-vertical-line-rightward-window): Remove.
5876 (mouse-drag-line): New function.
5877 (mouse-drag-mode-line, mouse-drag-header-line)
5878 (mouse-drag-vertical-line): Call mouse-drag-line.
5879 * window.el (window-at-side-p, windows-at-side): New functions.
5881 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
5883 * tar-mode.el (tar-grind-file-mode):
5884 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
5886 2011-10-21 Chong Yidong <cyd@gnu.org>
5888 * progmodes/idlwave.el (idlwave-mode):
5889 * progmodes/vera-mode.el (vera-mode):
5890 Use mode-require-final-newline.
5892 2011-10-20 Glenn Morris <rgm@gnu.org>
5894 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
5896 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
5898 * emulation/cua-base.el (cua-set-mark): Fix case of string.
5900 2011-10-20 Chong Yidong <cyd@gnu.org>
5902 * emulation/cua-base.el (cua-mode):
5903 * mail/footnote.el (footnote-mode):
5904 * mail/mailabbrev.el (mail-abbrevs-mode):
5905 * net/xesam.el (xesam-minor-mode):
5906 * progmodes/bug-reference.el (bug-reference-mode):
5907 * progmodes/cap-words.el (capitalized-words-mode):
5908 * progmodes/compile.el (compilation-minor-mode)
5909 (compilation-shell-minor-mode):
5910 * progmodes/gud.el (gud-tooltip-mode):
5911 * progmodes/hideif.el (hide-ifdef-mode):
5912 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
5913 * progmodes/subword.el (subword-mode):
5914 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
5915 * progmodes/which-func.el (which-function-mode):
5916 * term/tvi970.el (tvi970-set-keypad-mode):
5917 * term/vt100.el (vt100-wide-mode):
5918 * textmodes/flyspell.el (flyspell-mode):
5919 * textmodes/ispell.el (ispell-minor-mode):
5920 * textmodes/nroff-mode.el (nroff-electric-mode):
5921 * textmodes/paragraphs.el (use-hard-newlines):
5922 * textmodes/refill.el (refill-mode):
5923 * textmodes/reftex.el (reftex-mode):
5924 * textmodes/rst.el (rst-minor-mode):
5925 * textmodes/sgml-mode.el (html-autoview-mode)
5926 (sgml-electric-tag-pair-mode):
5927 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
5928 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
5929 * emulation/crisp.el (crisp-mode):
5930 * emacs-lisp/eldoc.el (eldoc-mode):
5931 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
5932 minor mode behavior.
5934 2011-10-19 Juri Linkov <juri@jurta.org>
5936 * descr-text.el (describe-char): Add #x2010 and #x2011 to
5937 the list of hard-coded chars with escape-glyph face.
5939 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5941 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
5943 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
5945 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
5948 2011-10-19 Glenn Morris <rgm@gnu.org>
5950 * vc/vc-bzr.el (vc-bzr-after-dir-status):
5951 Ignore ignored files. (Bug#9726)
5953 2011-10-19 Chong Yidong <cyd@gnu.org>
5955 Doc fix for minor modes, stating that an omitted argument enables
5956 the mode unconditionally when called from Lisp.
5958 * abbrev.el (abbrev-mode):
5959 * allout.el (allout-mode):
5960 * autoinsert.el (auto-insert-mode):
5961 * autoarg.el (autoarg-mode, autoarg-kp-mode):
5962 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
5963 (global-auto-revert-mode):
5964 * battery.el (display-battery-mode):
5965 * composite.el (global-auto-composition-mode)
5966 (auto-composition-mode):
5967 * delsel.el (delete-selection-mode):
5968 * desktop.el (desktop-save-mode):
5969 * dired-x.el (dired-omit-mode):
5970 * dirtrack.el (dirtrack-mode):
5971 * doc-view.el (doc-view-minor-mode):
5972 * double.el (double-mode):
5973 * electric.el (electric-indent-mode, electric-pair-mode):
5974 * emacs-lock.el (emacs-lock-mode):
5975 * epa-hook.el (auto-encryption-mode):
5976 * follow.el (follow-mode):
5977 * font-core.el (font-lock-mode):
5978 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
5979 * help.el (temp-buffer-resize-mode):
5980 * hilit-chg.el (highlight-changes-mode)
5981 (highlight-changes-visible-mode):
5982 * hi-lock.el (hi-lock-mode):
5983 * hl-line.el (hl-line-mode, global-hl-line-mode):
5984 * icomplete.el (icomplete-mode):
5985 * ido.el (ido-everywhere):
5986 * image-file.el (auto-image-file-mode):
5987 * image-mode.el (image-minor-mode):
5988 * iswitchb.el (iswitchb-mode):
5989 * jka-cmpr-hook.el (auto-compression-mode):
5990 * linum.el (linum-mode):
5991 * longlines.el (longlines-mode):
5992 * master.el (master-mode):
5993 * mb-depth.el (minibuffer-depth-indicate-mode):
5994 * menu-bar.el (menu-bar-mode):
5995 * minibuf-eldef.el (minibuffer-electric-default-mode):
5996 * mouse-sel.el (mouse-sel-mode):
5997 * msb.el (msb-mode):
5998 * mwheel.el (mouse-wheel-mode):
5999 * outline.el (outline-minor-mode):
6000 * paren.el (show-paren-mode):
6001 * recentf.el (recentf-mode):
6002 * reveal.el (reveal-mode, global-reveal-mode):
6003 * rfn-eshadow.el (file-name-shadow-mode):
6004 * ruler-mode.el (ruler-mode):
6005 * savehist.el (savehist-mode):
6006 * scroll-all.el (scroll-all-mode):
6007 * scroll-bar.el (scroll-bar-mode):
6008 * server.el (server-mode):
6009 * shell.el (shell-dirtrack-mode):
6010 * simple.el (auto-fill-mode, transient-mark-mode)
6011 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
6012 (line-number-mode, column-number-mode, size-indication-mode)
6013 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
6014 * strokes.el (strokes-mode):
6015 * time.el (display-time-mode):
6016 * t-mouse.el (gpm-mouse-mode):
6017 * tool-bar.el (tool-bar-mode):
6018 * tooltip.el (tooltip-mode):
6019 * type-break.el (type-break-mode-line-message-mode)
6020 (type-break-query-mode):
6021 * view.el (view-mode):
6022 * whitespace.el (whitespace-mode, whitespace-newline-mode)
6023 (global-whitespace-mode, global-whitespace-newline-mode):
6024 * xt-mouse.el (xterm-mouse-mode): Doc fix.
6026 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6027 Fix autogenerated docstring.
6029 2011-10-19 Juri Linkov <juri@jurta.org>
6031 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
6032 by checking environment variables "DESKTOP_SESSION" and
6033 "XDG_CURRENT_DESKTOP". (Bug#9779)
6035 2011-10-19 Juri Linkov <juri@jurta.org>
6037 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
6038 (browse-url-chromium-program, browse-url-chromium-arguments):
6040 (browse-url-default-browser): Check for `browse-url-chromium' and
6041 call `browse-url-chromium-program'.
6042 (browse-url-chromium): New command. (Bug#9779)
6044 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
6046 * facemenu.el (list-colors-duplicates): On Windows, detect more
6047 duplicates by assuming that only colors matching "^System" are
6048 special "system colors". (Bug#9722)
6050 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
6052 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
6053 to distinguish the author from the committer.
6055 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
6057 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
6059 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
6061 * international/mule.el (sgml-html-meta-auto-coding-function):
6062 Add support for detecting encoding in HTML5 specified only as
6063 <meta charset="UTF-8">. Implementation just makes http-equiv and
6064 content-type parts from HTML4 encoding string optional. (Bug#9716)
6066 2011-10-18 Glenn Morris <rgm@gnu.org>
6068 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
6070 2011-10-18 Chong Yidong <cyd@gnu.org>
6072 * faces.el (cursor): Doc fix.
6074 2011-10-17 Chong Yidong <cyd@gnu.org>
6076 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
6078 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
6080 * dirtrack.el (dirtrack): Support shell buffers with path
6081 prefixes, e.g. tramp-based remote shells. (Bug#9647)
6083 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
6085 * json.el: Bump version to 1.3 and note change in History.
6086 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
6088 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
6090 * comint.el (comint-insert-input, comint-send-input)
6091 (comint-get-old-input-default, comint-backward-matching-input)
6092 (comint-next-prompt): Use nil instead of `input' for field property of
6093 past user input (bug#114).
6095 * minibuffer.el (completion--replace): Inherit surrounding properties
6097 (minibuffer-complete-and-exit): Use it.
6099 * comint.el (comint--table-subvert): Quote the all-completions output
6102 2011-10-17 Martin Rudalics <rudalics@gmx.at>
6104 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
6106 * menu-bar.el (menu-bar-file-menu): Add entry for making new
6107 window on right of selected. (Bug#9350) Reword other window
6108 entries and separate them from frame entries.
6110 2011-10-15 Glenn Morris <rgm@gnu.org>
6112 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
6115 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
6117 * net/network-stream.el (network-stream-open-starttls):
6118 Improve detection of failure due to lack of TLS support.
6120 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
6121 putting the input text in front and in bold.
6123 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
6125 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
6127 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
6130 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
6131 unread-command-events rather than pushing yet-another event.
6133 2011-10-14 Eli Zaretskii <eliz@gnu.org>
6135 * mail/sendmail.el (sendmail-query-once): Improve the wording of
6136 the explanation of the possible choices. Make the options passed
6137 to completing-read shorter.
6139 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6141 * textmodes/flyspell.el (flyspell-large-region): Make sure
6142 extended character mode is used if defined (Bug#1339).
6144 2011-10-13 Eli Zaretskii <eliz@gnu.org>
6146 * simple.el (what-cursor-position): Fix the display of the
6147 character info for LRE, LRO, RLE, and RLO characters by appending
6150 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
6152 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
6153 even in case of error; add debug spec; simplify data flow.
6154 (with-timeout-handler): Remove.
6156 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
6158 Fix Bug#6019, Bug#9315.
6160 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
6161 complete `buffer-file-name', the local file name part could look
6162 remotely (for example on VMS).
6164 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
6165 `tramp-run-real-handler'.
6166 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
6167 already quoted by '"'.
6169 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
6170 Let `file-name-handler-alist' be nil, the local file name part
6171 could look remotely (for example on VMS).
6173 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6175 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
6177 (flyspell-post-command-hook): ...to here.
6179 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6181 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
6183 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
6184 using completion. Protect against "slow" callers.
6185 Remove the "message hack".
6187 2011-10-11 Juri Linkov <juri@jurta.org>
6189 * isearch.el (isearch-lazy-highlight-word): New variable.
6190 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
6193 2011-10-11 Glenn Morris <rgm@gnu.org>
6195 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
6196 like f90-previous-statement does.
6198 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6200 * eshell/eshell.el (eshell-command): History should be saved
6201 only in interactive use, to avoid error.
6203 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6205 * minibuffer.el (completion-file-name-table): Fix last change,
6206 i.e. ignore normal errors but not the other ones.
6208 2011-10-10 Martin Rudalics <rudalics@gmx.at>
6210 * window.el (special-display-buffer-names)
6211 (special-display-regexps): Remove some remnants of earlier
6212 changes from doc-strings.
6213 (quit-windows-on): New function.
6215 * vc/vc.el (vc-revert, vc-rollback):
6216 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
6217 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
6218 (Bug#6183) (Bug#7074) (Bug#7447)
6220 2011-10-09 Martin Rudalics <rudalics@gmx.at>
6222 * window.el (frame-auto-hide-function): Add version tag.
6225 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
6227 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
6230 2011-10-09 Leo Liu <sdl.web@gmail.com>
6232 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
6235 2011-10-08 Glenn Morris <rgm@gnu.org>
6237 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
6238 before the first code statement zero indent. (Bug#9690)
6240 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
6242 * simple.el (count-words-region): Always count in the region.
6243 Report the number of lines and characters too.
6244 (count-words): New command, which counts in the buffer if the
6245 region is inactive, as count-words-region used to.
6246 (count-words--message): New function. Handle plurals.
6247 (count-lines-region): Make it an alias for count-words-region.
6249 * bindings.el (esc-map): Replace count-lines-region with
6252 2011-10-08 Martin Rudalics <rudalics@gmx.at>
6254 * window.el (window--delete): Delete dedicated frame
6255 unconditionally when argument KILL is non-nil. (Bug#9699)
6256 (switch-to-buffer): Fix doc-string typo.
6258 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6260 * eshell/eshell.el (eshell-command): Avoid using hooks.
6262 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
6264 * bindings.el ([M-left],[M-right]): Bind to left-word and
6265 right-word respectively.
6267 2011-10-07 Glenn Morris <rgm@gnu.org>
6269 * cus-start.el (debug-on-quit): Fix custom type.
6271 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6273 * subr.el (define-key-after): Clarify that the function is not
6274 useful for non-menu keymaps.
6276 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
6278 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6280 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
6281 in current minibuffer (Fix bug with recursive minibuffers).
6283 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
6285 * progmodes/gdb-mi.el (gdb): Doc fix.
6287 2011-10-05 Martin Rudalics <rudalics@gmx.at>
6289 * window.el (frame-auto-hide-function): New option replacing
6290 frame-auto-delete. Suggested by Stefan Monnier.
6291 (window--delete): Call frame-auto-hide-function instead of
6292 investigating frame-auto-delete.
6293 (window-point-1, set-window-point-1): New functions.
6294 (window-in-direction, record-window-buffer, window-state-get-1)
6295 (display-buffer-record-window): Use window-point-1 instead of
6297 (set-window-buffer-start-and-point): Use set-window-point-1.
6299 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6301 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
6303 2011-10-05 Glenn Morris <rgm@gnu.org>
6305 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
6306 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
6308 2011-10-05 Leo Liu <sdl.web@gmail.com>
6310 * subr.el (read-char-choice): Fix argument to buffer-live-p which
6311 works with buffer object.
6313 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6315 * mpc.el (mpc-tool-bar-map): Add labels.
6317 2011-10-04 Glenn Morris <rgm@gnu.org>
6319 * calendar/holidays.el (calendar-check-holidays): Doc fix.
6321 2011-10-04 Martin Rudalics <rudalics@gmx.at>
6323 * window.el (window--delete): New function.
6324 (frame-auto-delete): Resuscitate option.
6325 (bury-buffer, replace-buffer-in-windows)
6326 (quit-window): Rewrite using window--delete.
6327 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6328 Pass display-buffer-mark-dedicated to window--display-buffer-2
6331 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6333 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
6334 returns a list (bug#9554). Add remote file name completion.
6335 * comint.el (comint--table-subvert): Curry and get quote&unquote
6336 functions as arguments.
6337 (comint--complete-file-name-data): Adjust call accordingly.
6338 * pcomplete.el (pcomplete--table-subvert): Remove.
6339 (pcomplete-completions-at-point): Use comint--table-subvert instead.
6341 * minibuffer.el (completion-table-case-fold): Use currying.
6342 (completion--styles-type, completion--cycling-threshold-type):
6344 (completion-styles, completion-category-overrides)
6345 (completion-cycle-threshold): Use them.
6346 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
6347 completion-table-case-fold.
6349 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
6351 * minibuffer.el (completion-category-overrides): Fix type of styles
6352 and add more user friendly tags (bug#9660).
6354 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6356 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
6357 (mule-input-method-string): New widget.
6358 (default-input-method, language-info-custom-alist): Use it.
6360 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6362 * pcomplete.el: Require comint.
6363 (pcomplete--common-suffix): Remove.
6364 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
6365 (pcomplete--table-subvert): Sync with comint--table-subvert.
6366 (pcomplete--entries): Use comint-completion-file-name-table.
6367 * comint.el (comint-unquote-filename): Simplify.
6368 (comint-completion-file-name-table): New function (bug#9616).
6369 (comint--complete-file-name-data): Use it.
6371 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
6372 (pcmpl-gnu-tar-buffer): Remove.
6373 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
6374 around. Make sure pcomplete-suffix-list is only changed temporarily.
6375 Don't look inside the tar's file if it's too large.
6377 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
6379 * cus-edit.el (custom-mode-map):
6380 * epa.el (epa-key-list-mode-map):
6381 * man.el (Man-mode-map):
6382 * startup.el (splash-screen-keymap):
6383 * simple.el (special-mode-map): Use scroll-up-command and
6384 scroll-down-command.
6386 * progmodes/idlw-help.el (idlwave-help-mode-map):
6387 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
6388 * net/newst-plainview.el (newsticker-mode-map):
6389 * emulation/ws-mode.el (wordstar-mode-map):
6390 * emulation/vi.el (vi-com-map):
6391 * calc/calc-graph.el (calc-graph-show-dumb):
6392 * term/sun.el (terminal-init-sun):
6393 * term/ns-win.el (global-map):
6394 * progmodes/grep.el (grep-mode-map):
6395 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
6396 * mail/rmail.el (rmail-mode-map):
6397 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
6399 * custom.el (custom-safe-themes, load-theme): Treat value of t for
6400 custom-safe-themes as special.
6402 2011-10-01 Julien Danjou <julien@danjou.info>
6404 * notifications.el (notifications-notify): Fix docstring.
6406 2011-10-01 Per Starbäck <per@starback.se>
6408 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
6410 2011-09-30 Martin Rudalics <rudalics@gmx.at>
6412 * startup.el (command-line-1): Fix last fix by inserting
6413 initial-scratch-message into *scratch* before displaying it.
6414 (Bug#9605) and (Bug#9636)
6416 2011-09-29 Eli Zaretskii <eliz@gnu.org>
6418 * simple.el (line-move): If auto-hscroll-mode is disabled and the
6419 window is hscrolled, move by logical lines. (Bug#9607)
6420 (line-move-visual): Update the doc string to the above effect.
6422 2011-09-29 Martin Rudalics <rudalics@gmx.at>
6424 * window.el (display-buffer-record-window): When WINDOW is the
6425 selected window use `point' instead of `window-point'. (Bug#9626)
6427 * startup.el (command-line-1): Use insert-before-markers when
6428 inserting initial-scratch-message. (Bug#9605)
6430 * help.el (help-window): Remove variable.
6432 2011-09-29 Glenn Morris <rgm@gnu.org>
6434 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
6436 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
6438 * descr-text.el (describe-char-categories): Accept category
6439 descriptions more than one line long.
6441 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6443 * simple.el (delete-trailing-whitespace): Fix last change.
6445 * progmodes/perl-mode.el (perl-syntax-propertize-function):
6446 Don't confuse "y => 3" as the beginning of a `y' operation.
6448 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
6449 object has more than 4 slots (bug#9613).
6451 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
6453 * subr.el (with-output-to-temp-buffer):
6454 * net/quickurl.el (quickurl, quickurl-browse-url):
6455 Fix typos in docstrings.
6457 2011-09-27 Eli Zaretskii <eliz@gnu.org>
6459 * minibuffer.el (completion-styles)
6460 (completion-category-overrides): Cross reference each other in doc
6463 2011-09-27 Glenn Morris <rgm@gnu.org>
6465 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
6466 to split-string. (Bug#9606)
6468 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6470 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
6473 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
6475 * emacs-lisp/package.el (list-packages): Fix echo area message.
6477 2011-09-27 Leo Liu <sdl.web@gmail.com>
6479 * ido.el (ido-read-internal): Accept cons cell HIST arg.
6481 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
6483 * net/dbus.el (dbus-unregister-object): Don't release services for
6484 registered signals. (Bug#9581)
6486 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
6488 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
6489 function that picks between cfengine 2 and 3 support
6490 automatically. Update docs accordingly.
6492 2011-09-22 Kenichi Handa <handa@m17n.org>
6494 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
6496 (indian-itrans-v5-table-for-tamil): New variable.
6497 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
6499 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
6501 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
6502 that's true if the current command involved collapsing of text.
6503 It's reset to false at the beginning of the next command.
6504 (allout-post-command-business): Move the cursor to the beginning
6505 of entry if the cursor is hidden and collapsing activity just
6508 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
6510 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
6511 tracking (Bug#9541).
6513 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
6515 * net/newst-reader.el (newsticker-html-renderer)
6516 (newsticker-show-news): Automatically load html rendering package
6517 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
6518 because w3m-fill-column is let-bound" and the error "Symbol's value
6519 as variable is void: w3m-fill-column".
6521 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
6523 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
6524 Release services only if they are defined. (Bug#9581)
6526 2011-09-23 Richard Stallman <rms@gnu.org>
6528 * textmodes/paragraphs.el (forward-sentence): For backwards case,
6529 distinguish start of paragraph from start of its text.
6531 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
6533 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
6534 (rmail-generate-viewer-buffer): Put that hook on view buffer.
6535 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
6537 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
6539 * international/mule-diag.el (mule-diag): Insert a newline after
6540 each fontset description.
6542 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6544 * simple.el (delete-trailing-whitespace):
6545 Document last change; simplify.
6547 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
6549 * simple.el (delete-trailing-whitespace): Also delete
6550 extra newlines at the end of the buffer.
6552 * textmodes/picture.el: Make motion commands obey shift-select-mode.
6553 (picture-newline): Use forward-line so as to ignore fields.
6555 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6557 * subr.el (with-wrapper-hook): Fix edebug spec.
6559 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6561 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
6564 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
6566 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
6567 Fix nasty bug using wrong cached values.
6569 2011-09-23 Alan Mackenzie <acm@muc.de>
6571 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
6573 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
6575 * window.el (pop-to-buffer): Ensure right window is selected if we
6576 chose another frame.
6578 2011-09-22 Eli Zaretskii <eliz@gnu.org>
6580 * simple.el (what-cursor-position): Use get-char-property-change
6581 and next-single-char-property-change, to be able to show display
6582 properties that come from overlays as well as text properties.
6584 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
6586 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
6588 * cmuscheme.el (run-scheme, switch-to-scheme):
6589 * cus-edit.el (customize-group, custom-buffer-create)
6593 * mail/sendmail.el (mail):
6594 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
6596 2011-09-22 Richard Stallman <rms@gnu.org>
6598 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
6599 move back only to line beg, don't move back over blank lines.
6601 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
6603 * files.el (copy-directory): Set directory attributes only in case
6604 they could be retrieved from the source directory. (Bug#9565)
6606 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
6608 * progmodes/hideshow.el (hs-looking-at-block-start-p)
6609 (hs-find-block-beginning, hs-hide-level-recursive):
6610 Ignore strings as well as comments. (Bug#9502)
6612 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
6614 * progmodes/sql.el (sql-comint-postgres):
6615 Convert port number to a string. (Bug#9566)
6617 2011-09-22 Martin Rudalics <rudalics@gmx.at>
6619 * window.el (quit-window): Undedicate window when switching to
6620 previous buffer. Reported by Thierry Volpiatto
6621 <thierry.volpiatto@gmail.com>.
6622 (special-display-popup-frame): When popping up a new frame reset
6623 its previous buffers to nil. Simplify code.
6625 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
6627 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
6628 and process filter, as done also in `shell-command'.
6630 2011-09-21 Martin Rudalics <rudalics@gmx.at>
6632 * window.el (set-window-buffer-start-and-point):
6633 Call set-window-start with NOFORCE argument t.
6634 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
6635 (quit-window): Reword doc-string. Handle new format of
6636 quit-restore parameter. Don't delete window if it has a
6637 previous buffer we can show instead of the present one.
6638 (display-buffer-record-window): Rewrite using a new format for
6639 the quit-restore window parameter
6640 (special-display-popup-frame, display-buffer-same-window)
6641 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6642 (display-buffer-pop-up-window, display-buffer-use-some-window):
6643 Adapt symbol passed to display-buffer-record-window.
6644 * help.el (help-window-setup): Handle new format of quit-restore
6647 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
6649 * faces.el (face-list): Fix docstring (bug#9564).
6651 * window.el (display-buffer--action-function-custom-type):
6652 Don't include internal functions in the Custom interface.
6654 2011-09-20 Juri Linkov <juri@jurta.org>
6656 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
6657 (Info-forward-node, Info-backward-node, Info-next-preorder)
6658 (Info-last-preorder): Use it. (Bug#9528)
6660 2011-09-20 Juri Linkov <juri@jurta.org>
6662 * info.el (Info-last-preorder): Visit last menu item only when
6663 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
6665 2011-09-20 Julien Danjou <julien@danjou.info>
6667 * password-cache.el (password-cache-remove): Remove entries even if the
6668 value is nil, so that password with a nil value (negative caching) is
6669 possible to invalidate.
6671 2011-09-20 Lawrence Mitchell <wence@gmx.li>
6673 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
6674 all whitespace around breakpoint. (Bug#9553)
6675 (f90-find-breakpoint): Only break at whitespace inside a comment.
6677 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6679 * minibuffer.el (completion-file-name-table): Keep track of errors.
6680 (completion-table-with-predicate): Handle the case where pred1 is nil.
6681 * pcomplete.el (pcomplete-completions-at-point): Simplify.
6683 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6685 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
6686 (debugger-return-value): Signal an error if the debugging context does
6687 not await any return value.
6689 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
6690 * image-mode.el (image-toggle-display-text)
6691 (image-toggle-display-image): Stay away from evil `intangible'.
6693 2011-09-19 Leo Liu <sdl.web@gmail.com>
6695 * replace.el (occur-revert-arguments): Make it permanent-local.
6696 (occur-mode): Don't call font-lock-defontify.
6698 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
6700 * net/ldap.el (ldap-search-internal): Don't push empty search
6703 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6705 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
6707 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
6709 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
6710 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
6712 2011-09-18 Juri Linkov <juri@jurta.org>
6714 * buff-menu.el (Buffer-menu-mode-map):
6715 * dired.el (dired-mode-map):
6716 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
6717 (lisp-interaction-mode-map):
6718 * emacs-lisp/package.el (package-menu-mode-map):
6719 * epa.el (epa-key-list-mode-map):
6720 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
6721 (menu-bar-options-menu):
6722 * outline.el (outline-mode-menu-bar-map):
6723 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
6724 * vc/vc-dir.el (vc-dir-menu-map):
6725 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
6726 Capitalize non-function content words in menu item strings.
6728 * dired.el (dired-mode-map): Add menu item for
6729 `image-dired-dired-toggle-marked-thumbs'.
6731 2011-09-18 Juri Linkov <juri@jurta.org>
6733 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
6734 to `isearch-case-fold-search' and restore its original value
6735 after the `isearch-mode' call.
6737 2011-09-18 Juri Linkov <juri@jurta.org>
6739 * progmodes/grep.el (grep-process-setup): Don't check code for 1
6740 because `zgrep' returns 1 for successful matches (bug#9226).
6742 2011-09-18 Juri Linkov <juri@jurta.org>
6744 * info.el (Info-extract-menu-node-name): Check the second match
6745 for empty string (second test-case of bug#9528).
6746 (Info-last-preorder): Let-bind `Info-history' to nil to not add
6747 intermediate nodes to the history (first test-case of bug#9528).
6749 2011-09-18 Juri Linkov <juri@jurta.org>
6751 * info.el (Info-mode-syntax-table): New variable.
6752 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
6754 2011-09-18 Juri Linkov <juri@jurta.org>
6756 * info.el (Info-file-supports-index-cookies):
6757 Increment line-beginning-position's arg from 3 to 4 because makeinfo
6758 outputs one more line for long file names (bug#4142).
6760 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
6762 * newcomment.el (comment-normalize-vars): If prompting for
6763 comment-start, set comment-start-skip too (Bug#8424).
6765 2011-09-18 Johan Bockgård <bojohan@gnu.org>
6767 * icomplete.el: Fix previous fix of Bug#5849.
6768 (icomplete-mode): Don't set completion-show-inline-help.
6769 (icomplete-minibuffer-setup): Set completion-show-inline-help
6770 locally during icompletion.
6772 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
6774 * woman.el (woman2-process-escapes): Don't delete unrecognized
6777 * files.el (inhibit-first-line-modes-regexps): Add image files.
6778 (hack-local-variables-prop-line): Return nil for malformed
6779 prop-lines (Bug#9044).
6781 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
6783 * net/tramp.el (top): Don't require 'shell.
6784 (tramp-methods): Fix docstring.
6785 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
6786 Return complete remote file name. Handle "smb" case.
6787 Use `tramp-tmpdir', if defined for the respective method.
6788 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
6790 * net/tramp-compat.el (top): Require 'shell.
6792 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6793 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
6794 `tramp-current-host'.
6795 (tramp-get-remote-tmpdir): Remove.
6797 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
6798 `tramp-tmpdir' entries.
6799 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
6800 (tramp-smb-handle-file-attributes): Ignore errors.
6801 (tramp-smb-wait-for-output): Check also for process end.
6803 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6805 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
6806 when sending QUIT (bug#9312).
6808 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
6810 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
6811 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
6812 occur-mode-display-occurrence.
6813 (occur-edit-mode): Add usage message.
6814 (occur-cease-edit): New command.
6815 (occur-after-change-function): Use text properties to find the
6816 position of the prefix text.
6817 (occur-engine): Set stickiness of prefix text properties.
6819 2011-09-17 Glenn Morris <rgm@gnu.org>
6821 * progmodes/etags.el (complete-tag):
6822 Fix call to completion-in-region. (Bug#9526)
6824 2011-09-17 Juri Linkov <juri@jurta.org>
6826 * textmodes/ispell.el (ispell-word): Add to the error message
6827 the word, ispell program name and current dictionary (bug#9121).
6828 (ispell-tex-arg-end): Capitalize "error" in the error message.
6830 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
6832 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
6835 2011-09-17 Juri Linkov <juri@jurta.org>
6837 * window.el (window-safe-min-height, window-safe-min-width):
6838 Fix typos (followup to bug#9522).
6840 2011-09-17 Sven Joachim <svenjoac@gmx.de>
6842 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
6844 2011-09-16 Eli Zaretskii <eliz@gnu.org>
6846 * simple.el (line-move): If goal-column is set, move by logical
6847 lines, not by display lines. (Bug#971)
6848 (next-line, previous-line, goal-column, line-move-visual): Doc fix
6849 to reflect the above change.
6851 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6853 * image.el (imagemagick-register-types): Use regexp-opt.
6855 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
6857 * window.el (display-buffer-base-action): Rename from
6858 display-buffer-default-action. Make default value empty.
6859 (display-buffer-overriding-action): Convert to defvar.
6860 (display-buffer-fallback-action): New var.
6862 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
6864 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
6866 (package--add-to-archive-contents): If there is a duplicate entry
6867 with an older version, remove it.
6868 (package-menu-mark-delete, package-menu-mark-install)
6869 (package-menu-mark-unmark): Make unused args optional.
6870 (package-menu-mark-obsolete-for-deletion):
6871 Use package-menu-get-status instead of a regexp search.
6872 (package-menu-get-status): Use tabulated-list-entry.
6873 (package-menu-mark-upgrades): New command.
6874 (package-menu-mode-map): Bind it to U. Add it to menu bar.
6875 (package-menu-execute): Do installation before deletion.
6876 (package-menu-refresh, package-menu-execute): Use derived-mode-p
6877 instead of checking major-mode.
6878 (package-menu--find-upgrades): New function.
6880 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6882 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
6883 passwords in the log buffer.
6884 (smtpmail-process-filter): Update the process marker so that the
6885 "broken by peer" status message is inserted in the right place.
6887 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6889 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
6890 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
6891 bibtex-completion-at-point-function.
6892 (bibtex-completion-at-point-function): Use them.
6894 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
6896 * mpc.el (mpc-constraints-tag-lookup): New function.
6897 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
6898 also to browser "album|playlist".
6900 2011-09-14 Juri Linkov <juri@jurta.org>
6902 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
6903 (isearch-edit-string): Use length of `isearch-string' when
6904 `isearch-fail-pos' returns nil.
6905 (isearch-message): Remove duplicate code and call
6906 `isearch-fail-pos' with arg `t'.
6908 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
6910 * replace.el (occur-mode-goto-occurrence): Don't force using other
6913 * dired-aux.el (dired-do-chmod): Don't provide initial input.
6915 2011-09-14 Martin Rudalics <rudalics@gmx.at>
6917 * window.el (display-buffer-window): Remove.
6918 (display-buffer-record-window): Use help-setup window parameter
6919 instead of variable display-buffer-window.
6920 (display-buffer-function, special-display-buffer-names)
6921 (special-display-function): Mention help-setup parameter instead
6922 of display-buffer-window in doc-string.
6923 * help.el (help-window-setup): New argument help-window.
6924 Use help-window-setup parameter instead of display-buffer-window.
6925 Reword some messages.
6926 (with-help-window): Pass window used for displaying the buffer
6927 to help-window-setup. Don't set display-buffer-window.
6929 2011-09-13 Glenn Morris <rgm@gnu.org>
6931 * emacs-lisp/debug.el (debugger-make-xrefs):
6932 Preserve point. (Bug#9462)
6934 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
6936 * window.el (window-deletable-p): Use next-frame.
6938 2011-09-13 Martin Rudalics <rudalics@gmx.at>
6940 * window.el (window-auto-delete): Remove.
6941 (window-deletable-p): Remove argument FORCE. Don't deal with
6942 dedication and previous buffers.
6943 (switch-to-prev-buffer): Don't delete window.
6944 (delete-windows-on): Delete a window's frame if and only if the
6945 window is dedicated.
6946 (replace-buffer-in-windows): Delete buffer's window or frame if
6947 and only if window is dedicated.
6948 (quit-window): Handle quit-restore as before last change.
6949 (bury-buffer): Delete window only if window-deletable-p returns t.
6951 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
6953 * window.el (window-deletable-p): Never delete the last frame on a
6956 2011-09-13 Glenn Morris <rgm@gnu.org>
6958 * help.el (describe-key-briefly): Copy previous standard-output change.
6960 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
6962 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
6964 2011-09-13 Glenn Morris <rgm@gnu.org>
6966 * emacs-lisp/lisp-mode.el (lisp-indent-function):
6967 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
6969 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
6971 * dired-aux.el (dired-mark-read-string): Don't return default
6972 value on empty input (Bug#9361).
6973 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
6974 Omit initial minibuffer contents.
6975 (dired-do-chmod): Signal an error on empty input.
6976 (dired-mark-read-string): Don't return default on empty input.
6978 * files.el (file-modes-symbolic-to-number): Doc fix.
6980 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6982 * international/mule-cmds.el (ucs-completions): Remove.
6983 (read-char-by-name): Use complete-with-action instead; add metadata.
6985 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
6987 * window.el (display-buffer--action-function-custom-type)
6988 (display-buffer--action-custom-type): New vars.
6989 (display-buffer-alist, display-buffer-default-action)
6990 (display-buffer-overriding-action): Add defcustom types.
6992 * frame.el (delete-other-frames): Doc fix (Bug#276).
6994 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6996 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
6998 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
7000 Change modes that used same-window-* vars to use switch-to-buffer.
7002 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
7003 Use switch-to-buffer.
7005 * cus-edit.el (customize-group, custom-buffer-create)
7006 (customize-browse, custom-buffer-create-other-window):
7007 Use switch-to-buffer or switch-to-buffer-other-window.
7009 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
7010 (Info-prev, Info-up, Info-speedbar-goto-node)
7011 (info-display-manual): Use switch-to-buffer.
7012 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
7014 * mail/sendmail.el (mail): Use switch-to-buffer.
7015 (mail-recover): Use switch-to-buffer-other-window.
7017 * cmuscheme.el (run-scheme, switch-to-scheme):
7020 * net/rlogin.el (rlogin):
7021 * net/telnet.el (telnet, rsh):
7022 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
7024 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
7026 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
7028 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7030 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
7031 so don't mention it (bug#9301).
7032 (dired-sort-toggle-or-edit): Clarify string further.
7034 * faces.el (face-spec-set-match-display): Make `(type graphic)'
7035 match `x', `w32' and `ns', like the manual says (bug#9029).
7037 * subr.el (eval-after-load): Doc string clarification (bug#9125).
7038 (process-kill-buffer-query-function): Mention the buffer name in
7041 * image-mode.el (image-next-line): The line parameter is mandatory
7044 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
7045 which can be useful (bug#9301).
7047 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
7049 * subr.el (match-string): Mention that the current buffer should
7050 be the same as the search was done in (bug#9282).
7052 * facemenu.el: Disable the remove-* commands if the mark isn't
7055 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
7057 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
7059 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
7061 * replace.el (occur-mode-goto-occurrence)
7062 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
7065 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
7068 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
7069 special-display and same-window variables.
7070 (mail-other-window): Use switch-to-buffer-other-window.
7071 (mail-other-frame): USe switch-to-buffer-other-frame.
7073 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
7074 Use display-buffer-other-frame.
7075 (gdb-display-gdb-buffer): Use pop-to-buffer.
7077 * progmodes/gud.el (gud-goto-info): Use info-other-window.
7079 * progmodes/python.el: Don't set same-window-buffer-names.
7081 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
7083 * window.el (display-buffer-alist): Add *Python*.
7085 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
7087 * window.el (display-buffer-alist): Add entry for buffers
7088 previously handled same-window-*.
7089 (display-buffer-alist, display-buffer-default-action)
7090 (display-buffer-overriding-action): Mark as risky.
7091 (display-buffer-alist): Document action function changes.
7092 (display-buffer--same-window-action)
7093 (display-buffer--other-frame-action): New variables.
7094 (switch-to-buffer, display-buffer-other-frame): Use them.
7095 (display-buffer): Rename reuse-frame entry to reusable-frames.
7096 (display-buffer-reuse-selected-window): Function deleted.
7097 (display-buffer-reuse-window): Handle reusable-frames alist entry.
7098 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
7099 (display-buffer-special): New function.
7100 (display-buffer--maybe-pop-up-frame-or-window): Rename from
7101 display-buffer-reuse-or-pop-window. Split off special-display
7102 part into display-buffer-special.
7103 (display-buffer-use-some-window): Don't perform any special
7104 pop-up-frames handling.
7105 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
7106 (display-buffer--maybe-same-window): Rename from
7107 display-buffer-maybe-same-window.
7109 * info.el: Don't set same-window-regexps.
7110 (info-setup): New function.
7111 (info-other-window, info): Call it.
7113 * cus-edit.el: Don't set same-window-regexps.
7114 (customize-group): New argument.
7115 (customize-group-other-window): Use it.
7116 (customize-face, customize-face-other-window): Likewise.
7117 (custom-buffer-create-other-window): Use pop-to-buffer directly.
7121 * progmodes/gud.el: Don't set same-window-regexps.
7127 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
7129 2011-09-10 Juri Linkov <juri@jurta.org>
7131 * isearch.el (isearch-edit-string): Remove obsolete mention of
7132 `C-w' (`isearch-yank-word-or-char') from docstring.
7133 (isearch-query-replace): Fix typo in docstring (bug#9466).
7135 2011-09-10 Juri Linkov <juri@jurta.org>
7137 * paren.el (show-paren-function): Don't show escaped parens.
7138 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
7140 2011-09-10 Eli Zaretskii <eliz@gnu.org>
7142 * mail/sendmail.el (mml-to-mime, mml-attach-file)
7143 (mm-default-file-encoding): Remove autoload forms, they are
7144 replaced with autoload cookies in mml.el and mm-encode.el.
7145 (mail-add-attachment): New command.
7146 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
7147 (mail-mode): Mention mail-insert-file and mail-add-attachment in
7149 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
7151 2011-09-10 Reuben Thomas <rrt@sc3d.org>
7153 * simple.el (count-words-region): Use buffer if there's no region
7156 2011-09-09 Juri Linkov <juri@jurta.org>
7158 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
7159 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
7160 (wdired-isearch-filter-read-only): New function. (Bug#6362)
7162 2011-09-09 Alan Mackenzie <acm@muc.de>
7164 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
7165 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
7167 2011-09-09 Eli Zaretskii <eliz@gnu.org>
7169 Fix for Savannah bug#9392.
7170 * simple.el (mail-encode-mml): New defvar.
7172 * mail/rmail.el (mail-encode-mml): Add a defvar.
7173 (rmail-enable-mime-composing): Default to t.
7174 (rmail-forward): Use MIME method of forwarding only if both
7175 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
7176 Set mail-encode-mml non-nil if the MIME method was used.
7178 * mail/sendmail.el (mml-to-mime): Add autoload form.
7179 (mail-encode-mml): Add a defvar.
7180 (mail-mode): Make mail-encode-mml buffer-local and initialize it
7182 (mail-send): If mail-encode-mml is non-nil, run the outgoing
7183 message through mml-to-mime, and reset mail-encode-mml to nil.
7185 2011-09-09 Glenn Morris <rgm@gnu.org>
7187 * woman.el (woman-if-body): When processing an .el block,
7188 do not delete the next .el block as well. (Bug#9447)
7189 (woman-special-characters): Add oq, cq, and hy characters.
7191 2011-09-08 Martin Rudalics <rudalics@gmx.at>
7193 * window.el (window-deletable-p): Make sure window is live before
7194 invoking window-prev-buffers.
7196 2011-09-08 Leo Liu <sdl.web@gmail.com>
7198 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
7200 2011-09-08 Juri Linkov <juri@jurta.org>
7202 * progmodes/compile.el (compilation-environment): Make it
7203 a defcustom (bug#8340).
7205 2011-09-08 Martin Rudalics <rudalics@gmx.at>
7207 * window.el (frame-auto-delete): Rename to window-auto-delete.
7208 Make it control auto-deletion of windows and/or frames.
7209 (window-deletable-p): New argument FORCE. Rewrite conditions
7210 for deleting window/frame. (Bug#9419)
7211 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
7212 Rewrite handling of case when window/frame can be deleted.
7213 (delete-windows-on): Call window-deletable-p with new FORCE
7214 argument t. (Bug#9456)
7216 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
7218 * help-mode.el (help-mode): Restore autoload.
7220 2011-09-07 Juri Linkov <juri@jurta.org>
7222 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
7223 `compilation-environment'. Set buffer-local
7224 `compilation-environment' to `thisenv' later after (funcall mode).
7227 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
7228 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
7229 instead of replacing its value. (Bug#8340)
7231 2011-09-07 Juri Linkov <juri@jurta.org>
7233 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
7234 based on text properties put by `grep-filter' instead of matching
7236 (grep-mode): Set buffer-local `compilation-error-screen-columns'
7237 to the value of `grep-error-screen-columns' (bug#9438).
7239 2011-09-07 Juri Linkov <juri@jurta.org>
7241 * simple.el (next-error-highlight, next-error-highlight-no-select):
7244 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
7246 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7247 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
7249 2011-09-07 Leo Liu <sdl.web@gmail.com>
7251 * net/rcirc.el (rcirc-mode): Conditionally initialize
7254 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
7256 * emacs-lisp/find-func.el (find-function-C-source): Only set
7257 find-function-C-source-directory after checking that we found a source
7258 file there (bug#9440).
7260 2011-09-06 Alan Mackenzie <acm@muc.de>
7262 * isearch.el (isearch-other-meta-char): Wherever a key list is
7263 unread, "unread" the prefix arg, too. This fixes bug #8901.
7265 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
7267 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
7269 2011-09-05 Juri Linkov <juri@jurta.org>
7271 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
7273 2011-09-05 Juri Linkov <juri@jurta.org>
7275 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
7276 keeping point where processing of grep matches begins, and
7277 continue to delete remaining escape sequences from the same point.
7278 (grep-filter): Make leading zero optional in "0?1;31m" because
7279 git-grep emits "\033[1;31m" escape sequences unlike expected
7280 "\033[01;31m" as GNU Grep does (bug#9408).
7281 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
7283 2011-09-05 Juri Linkov <juri@jurta.org>
7285 * subr.el (y-or-n-p): Capitalize "yes".
7287 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
7289 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
7290 `tramp-cache-unload-hook' where appropriate.
7291 (tramp-methods): Rename `tramp-remote-sh' to
7292 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
7293 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
7295 * net/tramp-sh.el (top): Don't require 'shell.
7296 (tramp-methods): Add `tramp-remote-shell' and
7297 `tramp-remote-shell-args' entries.
7298 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
7299 (tramp-sh-handle-shell-command): Remove.
7300 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7301 Use `tramp-remote-shell'.
7303 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
7305 * mail/sendmail.el (sendmail-query-once-function): Delete.
7306 (sendmail-query-once): Save directly to send-mail-function.
7307 Update message-send-mail-function too.
7309 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
7311 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
7313 * progmodes/python.el (python-mode-map): Use correct function to
7314 start python interpreter from menu-bar (as reported by Geert
7316 (inferior-python-mode-map): Fix typo.
7317 (python-shell-map): Remove.
7319 2011-09-03 Deniz Dogan <deniz@dogan.se>
7321 * net/rcirc.el (rcirc-print): Simplify code for
7322 rcirc-scroll-show-maximum-output. There is no need to walk
7323 through all windows to find the right one.
7325 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
7327 * help.el (help-return-method): Doc fix.
7329 2011-09-03 Martin Rudalics <rudalics@gmx.at>
7331 * window.el (window-deletable-p): Don't return a non-nil value
7332 when there's a buffer that was shown in the window before.
7334 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7335 Set window's previous buffers to nil.
7337 2011-09-03 Eli Zaretskii <eliz@gnu.org>
7339 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
7340 newline before and after the tag line, so it doesn't interfere
7341 with determining the paragraph direction of bidirectional text.
7343 2011-09-03 Leo Liu <sdl.web@gmail.com>
7345 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
7347 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
7349 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
7350 (pop-to-buffer): Change interactive spec. Pass second argument
7351 directly to display-buffer.
7352 (display-buffer): Fix interactive spec. Use functionp to
7353 distinguish between a function and a list of functions.
7355 * abbrev.el (edit-abbrevs):
7356 * arc-mode.el (archive-extract):
7357 * autoinsert.el (auto-insert):
7358 * bookmark.el (bookmark-bmenu-list):
7359 * files.el (find-file):
7360 * view.el (view-buffer):
7361 * progmodes/compile.el (compilation-goto-locus):
7362 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
7364 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
7366 * window.el (display-buffer-alist): Doc fix.
7367 (display-buffer): Add docstring. Don't treat
7368 display-buffer-default specially.
7369 (display-buffer-reuse-selected-window)
7370 (display-buffer-same-window, display-buffer-maybe-same-window)
7371 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7372 (display-buffer-pop-up-window)
7373 (display-buffer-reuse-or-pop-window)
7374 (display-buffer-use-some-window): New functions.
7375 (display-buffer-default-action): Use them.
7376 (display-buffer-default): Delete.
7377 (pop-to-buffer-1): Fix choice of actions.
7379 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
7381 * minibuffer.el (completion--insert-strings): Don't get confused by
7382 completion entries that end with an LF char.
7384 2011-09-01 Eli Zaretskii <eliz@gnu.org>
7386 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
7388 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
7390 * window.el (display-buffer): Restore interactive spec.
7391 (display-buffer-same-window, display-buffer-other-window):
7393 (pop-to-buffer-1): New function. Use the above.
7394 (pop-to-buffer, pop-to-buffer-same-window): Use it.
7395 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
7397 * view.el (view-buffer-other-window, view-buffer-other-frame):
7398 Just use pop-to-buffer.
7400 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7402 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
7404 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
7406 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
7408 2011-08-31 Richard Stallman <rms@gnu.org>
7410 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
7411 of the separation of rmail-view-buffer from rmail-buffer.
7412 If you say no to "replace original", the decrypt is in the
7413 view buffer. If you say yes, the decrypt goes into the
7416 2011-08-31 Martin Rudalics <rudalics@gmx.at>
7418 * window.el (display-buffer-window): Rewrite doc-string.
7419 (display-buffer-record-window): New function.
7420 (display-buffer-macro-specifiers)
7421 (display-buffer-even-window-sizes, display-buffer-set-height)
7422 (display-buffer-set-width, display-buffer-in-window)
7423 (display-buffer-reuse-window, display-buffer-split-specifiers)
7424 (display-buffer-side-specifiers, display-buffer-split-window-1)
7425 (display-buffer-split-window, display-buffer-split-atom-window)
7426 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7427 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
7428 (display-buffer-other-window-means-other-frame)
7429 (display-buffer-normalize-special)
7430 (display-buffer-normalize-default)
7431 (display-buffer-normalize-argument)
7432 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
7433 (display-buffer-normalize-specifiers, display-buffer-frame)
7434 (display-buffer-same-window, display-buffer-same-frame)
7435 (display-buffer-other-window)
7436 (display-buffer-same-frame-other-window)
7437 (display-buffer-other-frame, pop-to-buffer-same-window)
7438 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
7439 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
7440 (switch-to-buffer-same-frame)
7441 (switch-to-buffer-other-window-same-frame)
7442 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
7443 (display-buffer-alist-set-1, display-buffer-alist-set-2)
7444 (display-buffer-alist-set): Remove.
7445 (display-buffer-function, special-display-buffer-names)
7446 (special-display-regexps, special-display-function):
7447 In doc-string refer to display-buffer-window and quit-restore
7449 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
7450 (special-display-frame-alist, special-display-popup-frame)
7451 (same-window-buffer-names, same-window-regexps, same-window-p)
7452 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7453 (split-window-preferred-function, split-height-threshold)
7454 (split-width-threshold, window-splittable-p)
7455 (split-window-sensibly, window--try-to-split-window)
7456 (window--frame-usable-p, even-window-heights)
7457 (window--even-window-heights, window--display-buffer-1)
7458 (window--display-buffer-2, display-buffer-other-frame):
7459 Restore old Emacs 23 code, order and doc-strings where applicable.
7460 (display-buffer-default, display-buffer-assq-regexp): New functions.
7461 (display-buffer-alist): Rewrite doc-string.
7462 (display-buffer-default-action)
7463 (display-buffer-overriding-action): New variables.
7464 (display-buffer, switch-to-buffer): Rewrite.
7465 (pop-to-buffer): Restore Emacs 23 behavior but use
7466 window-normalize-buffer-to-display.
7467 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
7468 Restore Emacs 23 behavior but use
7469 window-normalize-buffer-to-switch-to.
7470 (pop-to-buffer-same-window): Rewrite.
7471 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
7472 Rewrite using Emacs 23 options.
7474 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
7476 * net/tramp.el (tramp-root-regexp): Remove.
7477 (tramp-completion-file-name-regexp-unified)
7478 (tramp-completion-file-name-regexp-separate)
7479 (tramp-completion-file-name-regexp-url): Don't use leading volume
7480 letter on win32 systems. (Bug#5303, Bug#9311)
7481 (tramp-drop-volume-letter): Simplify definition.
7482 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
7484 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7486 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
7489 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
7491 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
7493 2011-08-29 Juri Linkov <juri@jurta.org>
7495 * isearch.el (isearch-done): Don't display message "Mark saved"
7496 when arg `edit' is non-nil to prevent its flicker in the echo area.
7498 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
7500 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
7501 obsolete packages for deletion.
7503 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
7505 * help-mode.el (help-mode-map): Add special-mode-map to parent.
7506 (help-mode): Derive help-mode from special-mode. Don't invoke
7507 view-mode from help-mode.
7508 (help-xref-override-view-map): Remove.
7509 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
7510 view-mode is not used anymore.
7512 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
7514 * server.el (server-port): Doc fix.
7516 * cus-theme.el (custom-theme-choose-mode): Inherit from
7517 special-mode (Bug#9124).
7518 (custom-theme-choose-mode-map): Add special-mode to parent.
7520 2011-08-28 Alan Mackenzie <acm@muc.de>
7522 * progmodes/cc-fonts.el
7523 (c-make-font-lock-BO-decl-search-function): New function.
7524 (c-basic-matchers-after - "Fontify the clauses after various
7525 keywords"): Extract the three keyword lists for the 3 erroneous
7526 constructs from the list of four, and use the new function above
7527 in place of an old one.
7529 2011-08-28 Deniz Dogan <deniz@dogan.se>
7531 * net/rcirc.el (rcirc-insert-prev-input)
7532 (rcirc-insert-next-input): Remove unused argument.
7534 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7536 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
7538 2011-08-27 Alan Mackenzie <acm@muc.de>
7540 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
7541 handle function pointer parameters properly.
7543 2011-08-27 Martin Rudalics <rudalics@gmx.at>
7545 * window.el (display-buffer-reuse-window): Fix case where
7546 selected window was reused with non-nil OTHER-WINDOW argument.
7549 2011-08-27 Deniz Dogan <deniz@dogan.se>
7551 * net/rcirc.el (rcirc-check-auth-status): Adding support for
7552 oftc's NickServ messages.
7554 2011-08-27 Glenn Morris <rgm@gnu.org>
7556 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
7558 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
7560 * emacs-lisp/package.el (package-install): Call package-initialize
7561 if called interactively.
7563 2011-08-26 Leo Liu <sdl.web@gmail.com>
7565 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
7567 2011-08-25 Juri Linkov <juri@jurta.org>
7569 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7570 `search-whitespace-regexp' (bug#9364).
7572 2011-08-25 Juri Linkov <juri@jurta.org>
7574 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
7575 `regexp-search-ring' to their global values to protect from
7576 updating by `read-from-minibuffer' (bug#9185).
7578 2011-08-25 Juri Linkov <juri@jurta.org>
7580 * textmodes/ispell.el (ispell-command-loop): Add newline
7581 at the end of the "Use option `i'..." line.
7583 2011-08-25 Juri Linkov <juri@jurta.org>
7585 * battery.el (display-battery-mode): If `battery-status-function'
7586 or `battery-mode-line-format' is nil, display the message and set
7587 `display-battery-mode' to nil (bug#9363).
7589 2011-08-25 Eli Zaretskii <eliz@gnu.org>
7591 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
7592 bidi-string-mark-left-to-right; they are unnecessary now.
7594 2011-08-25 Deniz Dogan <deniz@dogan.se>
7596 * net/quickurl.el: Documentation typo fixes.
7598 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
7600 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
7602 2011-08-25 Glenn Morris <rgm@gnu.org>
7604 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
7606 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
7607 (smtpmail-via-smtp): Handle nil response from smtp.
7609 2011-08-24 Juri Linkov <juri@jurta.org>
7611 * proced.el (proced-marked): Inherit from `error' instead of
7612 `font-lock-warning-face'.
7614 * ibuffer.el (ibuffer-marked-face): Change default face from
7615 `font-lock-warning-face' to `warning'.
7616 (ibuffer-deletion-face): Change default face from
7617 `font-lock-type-face' to `error'.
7619 * battery.el (battery-update): Use the face `error' instead of
7620 `font-lock-warning-face' (bug#6117).
7622 2011-08-24 Juri Linkov <juri@jurta.org>
7624 * faces.el (success): Change face color from "Green3" to
7625 "ForestGreen" on light background (bug#9353).
7627 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
7629 * window.el (quit-window): Rename from quit-restore-window.
7630 Use same arglist as old quit-window.
7631 (frame-auto-delete): Doc fix.
7633 * view.el (view-mode-exit): Use quit-window.
7635 2011-08-24 Juri Linkov <juri@jurta.org>
7637 * isearch.el (isearch-ring-adjust1): Start visiting previous
7638 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
7639 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
7640 for empty search string (when the last search string is reused
7641 automatically) to adjust the isearch ring to the last element and
7642 prepare the correct index for further M-p commands (bug#9185).
7644 2011-08-24 Kenichi Handa <handa@m17n.org>
7646 * international/ucs-normalize.el: If decomposition property of
7647 CHAR is the default one (i.e. a list of CHAR itself), treat it as
7649 (nfd, nfkd): Likewise.
7651 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
7653 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
7654 from process filters aren't reliably transmitted to the surrounding
7655 accept-process-output.
7656 (mpc-proc-check): New function.
7657 (mpc-proc-sync): Use it (bug#8293)
7659 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7661 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
7662 Add compatibility functions (bug#9313).
7664 2011-08-23 Eli Zaretskii <eliz@gnu.org>
7666 * cus-start.el (all): Add entry for bidi-paragraph-direction.
7668 * international/uni-bidi.el: Regenerate.
7670 2011-08-23 Kenichi Handa <handa@m17n.org>
7672 * international/charprop.el:
7673 * international/uni-bidi.el:
7674 * international/uni-category.el:
7675 * international/uni-combining.el:
7676 * international/uni-comment.el:
7677 * international/uni-decimal.el:
7678 * international/uni-decomposition.el:
7679 * international/uni-digit.el:
7680 * international/uni-lowercase.el:
7681 * international/uni-mirrored.el:
7682 * international/uni-name.el:
7683 * international/uni-numeric.el:
7684 * international/uni-old-name.el:
7685 * international/uni-titlecase.el:
7686 * international/uni-uppercase.el: Regenerate.
7688 2011-08-23 Martin Rudalics <rudalics@gmx.at>
7690 * help.el (help-window-setup): Fix message displayed when other
7691 window is reused. (Bug#9341)
7693 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7695 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
7696 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
7698 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
7700 * shell.el (shell-parse-pcomplete-arguments): New function.
7701 (shell-completion-vars): Use it instead (bug#9160).
7703 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7705 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
7706 strings and comments (bug#9333).
7708 * emacs-lisp/debug.el (debug-arglist): New function.
7709 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
7710 (debug-on-entry-1): Handle interpreted closures (bug#9120).
7712 2011-08-22 Juri Linkov <juri@jurta.org>
7714 * progmodes/compile.el (compilation-mode-font-lock-keywords):
7715 Revert regexp that highlights output switches to its old
7716 pre-2010-10-28 value and remove one `?' from it (bug#9319).
7718 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
7719 to check for empty output (bug#9226).
7721 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
7723 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
7724 symbol-constituent as the default, as that stops font-lock from
7725 working properly (Bug#8843).
7727 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7729 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
7730 `coding-system-for-*' around the process open call to avoid
7731 auth-source side effects.
7732 (smtpmail-try-auth-methods): Expand the secret password.
7733 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
7736 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
7738 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
7740 * emacs-lisp/find-func.el (find-function-noselect): New arg
7743 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
7744 signal an error for built-in functions (Bug#6664).
7746 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7748 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
7749 (smtpmail-try-auth-methods): Use it.
7751 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
7753 * font-lock.el (font-lock-fontify-region)
7754 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
7755 (font-lock-default-unfontify-buffer)
7756 (font-lock-default-fontify-region)
7757 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
7759 * progmodes/compile.el (compilation-error-properties):
7760 Fix confusion between file struct and message struct (Bug#9319).
7761 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
7764 * net/browse-url.el (browse-url-firefox): Don't call
7765 browse-url-firefox-sentinel unless using -remote (Bug#9328).
7767 2011-08-20 Glenn Morris <rgm@gnu.org>
7769 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
7771 * tutorial.el (tutorial--default-keys): Update some default bindings.
7773 * files.el (hack-local-variables): Fully ignore case for "mode:".
7775 2011-08-20 Alan Mackenzie <acm@muc.de>
7777 Resolve invalid use of a regexp in regexp-opt.
7779 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
7780 detection for a java annotation.
7782 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
7783 detection for a java annotation.
7785 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
7787 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
7789 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
7791 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
7794 2011-08-20 Alan Mackenzie <acm@muc.de>
7796 Fontify CPP expressions correctly when starting in the middle of
7797 such a construct. Mainly for when jit-lock etc. starts a chunk
7800 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
7802 (c-make-font-lock-search-form): New function, extracted from
7803 c-make-font-lock-search-function.
7804 (c-make-font-lock-search-function): Use the above function.
7805 (c-make-font-lock-context-search-function): New function.
7806 (c-cpp-matchers): Enhance the preprocessor expression case with
7808 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
7809 which takes an expression.
7811 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
7813 2011-08-20 Martin Rudalics <rudalics@gmx.at>
7815 * window.el (display-buffer-reuse-window)
7816 (display-buffer-pop-up-window): Don't reuse or split a side
7819 2011-08-19 Glenn Morris <rgm@gnu.org>
7821 * files.el (hack-local-variables-prop-line, hack-local-variables):
7822 Downcase "Mode:". (Bug#9331)
7824 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
7826 * international/characters.el: Add L and R categories.
7828 * subr.el (bidi-string-mark-left-to-right): Rename from
7829 string-mark-left-to-right. Use category search.
7831 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
7833 2011-08-18 Juri Linkov <juri@jurta.org>
7835 * faces.el (error, warning, success): New faces with definitions
7836 copied from old default values of `font-lock-warning-face',
7837 `compilation-warning', `compilation-info' (bug#6117).
7839 * font-lock.el (font-lock-warning-face): Inherit from `error'.
7841 * progmodes/compile.el (compilation-error): Inherit from `error'.
7842 (compilation-warning): Inherit from `warning'.
7843 (compilation-info): Inherit from `success'.
7845 * dired.el (dired-marked): Inherit from `warning'.
7846 (dired-flagged): Inherit from `error'.
7848 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7850 * mail/smtpmail.el (auth-source): Require to avoid problems with
7851 binding variables (bug#9298). Also clean up some unused
7854 * net/network-stream.el (network-stream-open-starttls):
7855 Support using starttls.el without using gnutls-cli.
7857 2011-08-17 Juri Linkov <juri@jurta.org>
7859 * progmodes/grep.el (rgrep): Handle the case when
7860 `grep-find-command' is a cons cell (bug#9278).
7862 2011-08-17 Martin Rudalics <rudalics@gmx.at>
7864 * window.el (display-buffer-pop-up-frame): Run frame creation
7865 function with BUFFER current (as special-display-popup-frame
7866 does). Reported by Drew Adams.
7868 2011-08-17 Daiki Ueno <ueno@unixuser.org>
7870 * epa-mail.el: Simplify GnuPG group expansion using
7872 (epa-mail-group-alist, epa-mail-group-modtime)
7873 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
7874 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
7875 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
7878 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7880 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
7882 2011-08-16 Alan Mackenzie <acm@muc.de>
7884 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
7885 Correct, to avoid the inside of macros.
7887 2011-08-16 Richard Stallman <rms@gnu.org>
7889 * epa-mail.el: Handle GnuPG group definitions.
7890 (epa-mail-group-alist, epa-mail-group-modtime)
7891 (epa-mail-gnupg-conf-file): New variables.
7892 (epa-mail-parse-groups, epa-mail-sync-groups)
7893 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
7894 (epa-mail-expand-recipients): New functions.
7895 (epa-mail-encrypt): Call epa-mail-expand-recipients.
7897 * mail/rmail.el (rmail-epa-decrypt): New command.
7899 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
7900 Don't bind buffer-read-only, just inhibit-read-only.
7901 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
7902 (epa-decrypt-armor-in-region): Make error message clearer.
7904 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7906 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
7907 and "a2b" to "ab" for `prefix'.
7909 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
7911 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
7913 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
7914 Fourquet (Bug#8804).
7916 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
7918 * startup.el (argi): Declare as global variable (bug#9275).
7920 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
7922 * subr.el (string-mark-left-to-right): Search the entire string
7923 for RTL script, not just the terminating character. Doc fix.
7925 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7927 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
7929 (js--regexp-literal, js-syntax-propertize-function): Remove.
7930 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
7931 (js-mode-map): Don't rebind electric keys.
7932 (js-insert-and-indent): Remove.
7933 (js-mode): Setup electric-layout and electric-indent instead.
7935 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
7937 2011-08-12 Daiki Ueno <ueno@unixuser.org>
7939 * epa.el (epa-progress-callback-function): Fix the logic of
7940 displaying progress.
7941 * epa-file.el (epa-file-insert-file-contents): Make progress
7942 display more user-friendly.
7943 (epa-file-write-region): Ditto.
7945 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
7947 * subr.el (string-mark-left-to-right): New function.
7949 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
7950 Use string-mark-left-to-right.
7951 (list-buffers-noselect): Caller changed.
7953 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7954 Use string-mark-left-to-right.
7955 (tabulated-list-print): Recenter after moving point.
7957 2011-08-10 Juri Linkov <juri@jurta.org>
7959 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
7960 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
7961 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
7963 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
7965 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
7968 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
7970 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
7971 character. (Bug#6594)
7973 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
7975 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
7976 (image-dired--with-db-file): New macro.
7977 (image-dired-write-tags, image-dired-remove-tag)
7978 (image-dired-create-gallery-lists, image-dired-write-comments)
7979 (image-dired-get-comment, image-dired-mark-tagged-files)
7980 (image-dired-list-tags, image-dired-gallery-generate): Use it.
7981 (image-dired-gallery-generate): Use insert-file-contents.
7983 * time.el (display-time-world-list, display-time-world-display):
7984 * time-stamp.el (time-stamp-string):
7985 * vc/add-log.el (add-change-log-entry): Use setenv instead of
7986 set-time-zone-rule (Bug#7337).
7988 2011-08-08 Daiki Ueno <ueno@unixuser.org>
7990 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
7991 (epg-error-to-string, epg-errors-to-string): New function.
7992 (epg-wait-for-completion): Reverse errors list.
7993 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
7994 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
7995 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
7996 (epg-sign-keys, epg-generate-key-from-file)
7997 (epg-generate-key-from-string): Format errors by using
7998 epg-errors-to-string (bug#9255).
7999 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
8001 2011-08-07 Juri Linkov <juri@jurta.org>
8003 * faces.el (list-faces-display): Remove extra angle bracket
8004 from `help-mode-map'.
8006 * info.el (Info-history-toc-nodes): Doc fix.
8008 * longlines.el (longlines-mode): Doc fix.
8010 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
8012 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
8013 of statements and in a few more cases (bug#9183).
8015 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
8017 (cl-transform-lambda): Use them (bug#9239).
8019 2011-08-05 Martin Rudalics <rudalics@gmx.at>
8021 * window.el (display-buffer-same-window)
8022 (display-buffer-same-frame, display-buffer-other-window)
8023 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8024 (pop-to-buffer-other-window)
8025 (pop-to-buffer-same-frame-other-window)
8026 (pop-to-buffer-other-frame): Make them defuns.
8027 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
8029 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8031 * subr.el (make-composed-keymap): Move from C. Change calling
8032 convention, and improve docstring to bring attention to a subtle point.
8033 * minibuffer.el (completing-read-default): Adjust accordingly.
8035 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
8037 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8038 (tramp-open-shell): Use `tramp-shell-quote-argument'.
8040 * net/trampver.el: Update release number.
8042 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8044 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
8047 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8049 * mail/sendmail.el (sendmail-query-once): Restore the current
8050 buffer after querying (bug#9074).
8052 * dired.el (dired-flagged): Use different faces for marked and
8053 flagged files (bug#6117).
8055 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
8058 * ido.el (ido-mode): Switch off the message if called
8061 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
8062 before 587, since it appears that that's more likely to work for
8065 * cus-edit.el (custom-file): When running under emacs -q, always
8066 refuse to save the customizations, even if the .emacs file doesn't
8069 * info.el: Remove the `Info-beginning-of-buffer' function
8072 * net/network-stream.el (network-stream-open-starttls):
8073 Use `starttls-available-p' to see whether starttls.el can be used.
8075 2011-08-01 Martin Rudalics <rudalics@gmx.at>
8077 * window.el (display-buffer-in-window): Don't set dedicated status
8078 of window here (Bug#9215).
8079 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8080 (display-buffer-pop-up-side-window)
8081 (display-buffer-in-side-window): Set dedicated status of window here.
8083 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8085 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
8086 before binding generated-autoload-file.
8088 2011-08-01 Deniz Dogan <deniz@dogan.se>
8090 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
8092 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
8094 Sync with Tramp 2.2.2.
8096 * net/trampver.el: Update release number.
8098 2011-07-30 Juri Linkov <juri@jurta.org>
8100 * dired-aux.el (dired-touch-initial): Remove function.
8101 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
8102 current time, and `default' to the last modification time of the
8103 current marked file (bug#6887).
8105 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
8107 * simple.el (goto-line): Use string-to-number to provide a
8108 numeric argument to read-number (bug#9163).
8110 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
8112 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
8113 connection process, it could be nil.
8115 2011-07-27 Leo Liu <sdl.web@gmail.com>
8117 Simplify url handling in rcirc-mode.
8119 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
8120 (rcirc-browse-url-at-mouse): Remove.
8121 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
8123 2011-07-26 Alan Mackenzie <acm@muc.de>
8125 Fontify bitfield declarations properly.
8127 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
8128 (c-symbol-chars): Now exported as a lang variable.
8129 (c-not-primitive-type-keywords): New lang variable.
8131 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
8132 QT keyword "more" to prevent "more slots: ...." being spuriously
8133 parsed as a bitfield declaration.
8135 * progmodes/cc-engine.el (c-beginning-of-statement-1):
8136 Refactor and enhance to handle bitfield declarations.
8137 (c-punctuation-in): New function.
8138 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
8139 declarations properly.
8141 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
8143 * calendar/icalendar.el (icalendar--all-events): Take care of
8144 multiple vcalendars in a single file.
8145 (icalendar--convert-float-to-ical): Checkdoc fixes.
8147 2011-07-25 Deniz Dogan <deniz@dogan.se>
8149 * image.el (insert-image): Clarifying docstring.
8151 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
8153 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
8154 `tramp-send-command-and-check' if there is no error.
8155 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
8157 2011-07-22 Alan Mackenzie <acm@muc.de>
8159 Prevent cc-langs.elc being loaded at run time.
8161 * progmodes/cc-mode.el: Remove two autoload forms which loaded
8164 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
8165 "(require 'cc-langs)". Quote a form so it will evaluate at
8166 (cc-mode's) compilation time.
8168 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
8170 * net/tramp.el (tramp-file-name-handler): Avoid recursive
8173 2011-07-21 Martin Rudalics <rudalics@gmx.at>
8175 * window.el (display-buffer-pop-up-window)
8176 (display-buffer-pop-up-side-window)
8177 (display-buffer-in-side-window): Call display-buffer-set-height
8178 and display-buffer-set-width after setting the new window's
8179 buffer so `fit-window-to-buffer' and friends work on the right buffer.
8181 2011-07-20 Sam Steingold <sds@gnu.org>
8183 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
8184 (etags-tags-included-tables): Call `convert-standard-filename' on
8185 the file names contained in TAGS so that windows Emacs can handle
8186 TAGS files created by cygwin ctags.
8188 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
8190 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
8191 which apparently didn't work.
8193 2011-07-19 Roland Winkler <winkler@gnu.org>
8195 * proced.el (proced-send-signal): For *Marked Processes* buffer
8196 put point at beginning of buffer.
8198 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
8200 * proced.el (proced-format): Make header lines align with the text
8203 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8205 * view.el (view-buffer): Allow running in `special' modes if we're
8206 visiting a file (bug#8615).
8208 2011-07-19 Martin Rudalics <rudalics@gmx.at>
8210 * window.el (display-buffer-alist-of-strings-p)
8211 (display-buffer-alist-set-1, display-buffer-alist-set-2):
8213 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
8216 2011-07-18 Alan Mackenzie <acm@muc.de>
8218 Fontify declarators properly when, e.g., a jit-lock chunk begins
8219 inside a declaration.
8221 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
8223 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8225 (c-complex-decl-matchers): Insert reference to
8226 c-font-lock-enclosing-decls.
8228 * progmodes/cc-engine.el (c-backward-single-comment):
8229 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
8230 to nil around calls to (forward-comment -1).
8232 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8234 * image.el (put-image): Doc typo fix.
8236 * progmodes/etags.el (tags-search): Doc typo fix.
8238 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
8239 password if we get errors 550 to 554.
8241 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
8243 * net/gnutls.el (gnutls-log-level): Remove.
8245 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
8246 indentation character (bug#6380).
8248 * files.el (buffer-offer-save): Made permanently local (bug#6241).
8250 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
8251 to clarify what the problem is (bug#4291).
8253 * simple.el (current-kill): Clarify what
8254 `interprogram-paste-function' does (bug#7500).
8255 (auto-fill-mode): Document `auto-fill-function' in relation to
8256 `auto-fill-mode' (bug#2470).
8258 2011-07-16 Lawrence Mitchell <wence@gmx.li>
8260 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
8261 method if slot is read-only (bug#9035).
8263 2011-07-16 Martin Rudalics <rudalics@gmx.at>
8265 * frame.el (select-frame-set-input-focus): New argument NORECORD.
8266 * window.el (pop-to-buffer): Select window used even if it was
8267 selected before, see discussion of (Bug#8615), (Bug#6954).
8268 Pass argument NORECORD on to select-frame-set-input-focus.
8270 2011-07-15 Glenn Morris <rgm@gnu.org>
8272 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
8275 2011-07-09 Lawrence Mitchell <wence@gmx.li>
8277 * net/gnutls.el (gnutls-min-prime-bits): New variable.
8278 (gnutls-negotiate): Use it.
8280 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8282 * net/gnutls.el (gnutls-negotiate):
8283 Upcase `gnutls-algorithm-priority'.
8285 2011-07-15 Glenn Morris <rgm@gnu.org>
8287 * jka-compr.el (jka-compr-verbose): Move from here...
8288 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
8289 Add missing :version tag.
8290 * info.el: No need to require jka-compr when compiling.
8292 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8294 * net/gnutls.el (gnutls-algorithm-priority): New variable.
8295 (gnutls-negotiate): Use it.
8297 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
8299 * info.el (Info-beginning-of-buffer): New command.
8300 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
8301 announcing `b' as the key (bug#8325).
8302 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
8304 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
8306 * international/mule-cmds.el
8307 (describe-specified-language-support): Make the error message
8310 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
8312 * isearch.el (isearch-barrier): Add a doc string, since it's
8313 mentioned in a function doc string (bug#8678).
8315 2011-07-15 Martin Rudalics <rudalics@gmx.at>
8317 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
8318 buffer argument (Bug#9083) and self-identifying label argument.
8320 2011-07-15 Glenn Morris <rgm@gnu.org>
8322 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
8324 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8326 * man.el (Man-fontify-manpage): Fix message when formatting the
8327 man page (bug#7929).
8329 2011-07-14 Eli Zaretskii <eliz@gnu.org>
8331 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
8332 argument LRM; if non-nil, append an invisible LRM character to the
8334 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
8335 last argument non-nil, when formatting buffer names.
8336 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
8337 paragraph direction.
8339 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8341 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
8342 the man page name (bug#7929).
8344 * image.el (put-image): Mention the `put-image' overlay property
8347 * scroll-bar.el (set-scroll-bar-mode): Mention that
8348 `scroll-bar-mode' lists the values (bug#7772).
8350 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
8353 * rect.el (apply-on-rectangle): Return the point after the last
8355 (string-rectangle): Go to the point after the last operation
8358 * printing.el (pr-toggle-region): Clarify the documentation
8359 slightly (bug#7493).
8361 * time.el (display-time-update):
8362 Allow `display-time-mail-function' to return nil (bug#7158).
8363 Fix suggested by Detlev Zundel.
8365 * vc/diff.el (diff): Clarify the order the file names are read
8368 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
8369 the doc string (bug#7015).
8371 * font-lock.el (font-lock-maximum-decoration): Mention what
8372 numeric levels mean (bug#6935).
8374 * startup.el (initial-buffer-choice): Don't mention the `none'
8375 selection, which is against policy.
8377 2011-07-14 Martin Rudalics <rudalics@gmx.at>
8379 * window.el (display-buffer-normalize-special):
8380 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
8382 2011-07-14 Eli Zaretskii <eliz@gnu.org>
8384 * subr.el (version<, version<=, version=): Mention "-CVS" and
8385 "-12345" alpha version numbers.
8387 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
8389 * bindings.el: Add advertised binding for set-mark-command
8392 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
8394 * bindings.el (mode-line-other-buffer):
8395 * bookmark.el (bookmark-bmenu-2-window):
8396 * bs.el (bs-cycle-next, bs-cycle-previous):
8397 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
8400 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
8403 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
8405 * follow.el (follow-debug-message, follow-redisplay):
8406 * jka-cmpr-hook.el (with-auto-compression-mode):
8407 Fix typos in docstrings.
8409 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8411 * subr.el (with-silent-modifications): Clarify somewhat what the
8412 macro inhibits (bug#6525).
8414 * simple.el (eval-expression): Note what it does if called
8415 interactively (bug#6495).
8417 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
8419 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
8420 Use pop-to-buffer buffer-or-name if it is nil.
8422 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8423 Remove switch-to-buffer.
8425 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8427 * files.el (make-directory): Clarify that an error will be raised
8428 if there's an error (bug#6397).
8430 * startup.el (initial-buffer-choice): Add `none' as a choice
8433 * subr.el (add-hook): Clarify section about buffer-local hooks
8436 * dired.el (dired-flagged): Clarify doc string (bug#6117).
8438 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
8440 * tabify.el (untabify): Preserve the current column so that point
8441 doesn't move (bug#6032).
8443 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8445 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
8446 Rewrite to avoid awkward possessive "s" (bug#5986).
8448 2011-07-13 Glenn Morris <rgm@gnu.org>
8450 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
8451 (dired-insert-directory): Give a message the first time
8452 if ls is found not to support --dired.
8454 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8456 * simple.el (toggle-truncate-lines): Clarify what is toggled
8457 (bug#5580). Text by Drew Adams.
8459 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
8461 * simple.el (blink-matching-open): Make the error message from the
8462 last change less verbose.
8464 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
8466 * font-lock.el (font-lock-comment-face): Use the high contrast
8467 "yellow" color for font-lock-comment-face on low color terminals
8468 using a dark background color (bug#4221).
8470 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8472 * dired.el (dired-insert-set-properties): Make the doc string
8473 reflect what it does now (bug#5325).
8475 * simple.el (blink-matching-open): Say that we were unable to find
8476 the match within the limit, if we're limited (bug#5122).
8478 * international/mule-cmds.el (prefer-coding-system): Add an
8481 * progmodes/etags.el (tags-search): Document `file-list-form'
8484 2011-07-13 Lawrence Mitchell <wence@gmx.li>
8486 * net/browse-url.el (browse-url-default-browser)
8487 (browse-url-browser-function): Make the default browser choice a
8488 bit more logical (bug#4300). Also clean up the doc string.
8490 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
8492 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
8493 binary endings (bug#4440).
8495 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8497 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
8498 which can be pretty annoying (bug#8971).
8500 * jka-compr.el (jka-compr-verbose): New variable, and use
8501 throughout (bug#8971).
8503 * info.el (Info-find-file): Fall back on the installation
8504 directory if we can't find the info node anywhere else.
8506 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
8508 * vc/vc.el (vc-revert-file):
8509 Don't set file time-stamp in the past. (Bug#5181)
8511 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8513 * files.el (after-find-file): Give a better error message when
8514 trying to find a symlink that points to a file that doesn't exist
8517 * progmodes/cc-vars.el: Remove (probably) misleading comment
8520 2011-07-12 Johan Bockgård <bojohan@gnu.org>
8522 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
8524 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
8526 * mouse-sel.el: Hack restoring functionality, while keeping
8527 compatibility with 2010-07-03 changes to mouse selection.
8528 (mouse-sel-primary-overlay): New var.
8529 (mouse-sel-selection-alist): Use it.
8530 (mouse-sel-mode): Doc fix; remove points that are default features
8533 2011-07-12 Johan Bockgård <bojohan@gnu.org>
8535 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8536 Fix previous fix (bug#2490).
8538 2011-07-12 Roland Winkler <winkler@gnu.org>
8540 * textmodes/bibtex.el (bibtex-initialize):
8541 Use pop-to-buffer-same-window.
8542 (bibtex-search-entries): Fix interactive call.
8544 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8546 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8547 Fontise bytecomp Error lines more correctly (bug#2490).
8548 Fix suggested by Johan Bockgård.
8550 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
8552 * dired-x.el (dired-guess-default): Use `delete-dups'.
8554 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
8556 * dired.el (dired-mark-prompt):
8557 * dired-aux.el (dired-read-shell-command): Doc fix.
8559 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8561 * mail/sendmail.el (sendmail-query-once):
8562 Use `customize-save-variable' unconditionally, now that it works under
8565 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8567 * cus-edit.el (custom-file): Take an optional no-error variable.
8568 (customize-save-variable): Set the variable, and give a warning if
8569 running under "emacs -q".
8571 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
8573 * loadhist.el (unload-feature-special-hooks):
8574 Add `auto-coding-functions', `fill-nobreak-predicate' and
8575 `find-directory-functions' (bug#5327).
8577 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8579 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
8581 * cus-edit.el (custom-guess-name-alist): -alist variables should
8582 use the `alist' type (bug#3120). Suggested by Drew Adams.
8584 * printing.el: Add documentation to all the `pr-toggle-' commands.
8586 2011-07-11 Leo Liu <sdl.web@gmail.com>
8588 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
8589 backends where it makes sense (bug#2623).
8591 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8593 * dired-x.el (dired-guess-default): Remove duplicate shell command
8595 (dired-guess-default): Fix grammar in doc string (bug#2028).
8596 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
8598 * subr.el (remove-duplicates): New conveniency function.
8600 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8602 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
8605 2011-07-10 Martin Rudalics <rudalics@gmx.at>
8607 * window.el (display-buffer-normalize-default): Don't invert
8608 meaning of even-window-heights. Reported by Eli Zaretskii
8611 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
8613 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
8615 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
8617 * window.el (display-buffer): Fix arguments to
8618 display-buffer-reuse-window in last change.
8620 * faces.el (link): Use a less saturated blue on light backgrounds.
8622 * startup.el (fancy-startup-text, fancy-about-text)
8623 (fancy-startup-tail): Use font-lock faces, for background safety.
8625 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
8627 * emulation/viper-cmd.el (viper-change-state-to-vi):
8628 Limit triggering of abbrev expansion (Bug#9038).
8630 2011-07-09 Martin Rudalics <rudalics@gmx.at>
8632 * window.el (display-buffer-default-specifiers): Remove.
8633 (display-buffer-macro-specifiers): Remove default specifiers.
8634 (display-buffer-alist): Default to nil.
8635 (display-buffer-reuse-window): New optional argument other-window.
8636 (display-buffer-pop-up-window): Allow splitting internal
8637 windows. Check whether a live window was created.
8638 (display-buffer-other-window-means-other-frame)
8639 (display-buffer-normalize-arguments): Rename to
8640 display-buffer-normalize-argument and rewrite. Set the
8641 other-window specifier.
8642 (display-buffer-normalize-special): New function.
8643 (display-buffer-normalize-options): Rename to
8644 display-buffer-normalize-default and rewrite.
8645 (display-buffer-normalize-options-inhibit): Remove.
8646 (display-buffer-normalize-specifiers): Rewrite.
8647 (display-buffer): Process other-window specifier and call
8648 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
8650 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
8651 (display-buffer-alist-set): Don't handle 'unset default values.
8652 (display-buffer-in-window, display-buffer-alist-set):
8653 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
8654 <tassilo@member.fsf.org>.
8656 2011-07-09 Leo Liu <sdl.web@gmail.com>
8658 * register.el (insert-register): Restore accidental change on
8659 2011-06-26. (Bug#9028)
8661 2011-07-09 Glenn Morris <rgm@gnu.org>
8663 * subr.el (remq): Handle the empty list. (Bug#9024)
8665 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
8667 * mail/sendmail.el (send-mail-function): No longer delay custom
8669 * custom.el (custom-initialize-delay): Doc fix.
8671 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8673 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
8675 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
8677 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
8678 human-friendly prompt.
8680 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8682 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
8683 provided by a particular plugin.
8685 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8687 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
8688 save customizations (with "emacs -Q"), just set the variable
8689 instead of erroring out.
8691 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8693 2011-07-08 Juri Linkov <juri@jurta.org>
8695 * arc-mode.el (archive-zip-expunge, archive-zip-update)
8696 (archive-zip-update-case): Use 7z if found by `executable-find'.
8697 The order of searching the available programs is the same as in
8698 `archive-zip-extract' (bug#8968).
8700 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
8702 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
8703 (menu-bar-options-menu): Tweak descriptions.
8705 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8707 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
8708 menu items into verb phrases (bug#1421). Also refill to fit under
8711 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
8713 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
8714 (Info-read-node-name): Doc fix (Bug#1084).
8716 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
8717 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
8718 (end-of-sexp, beginning-of-sexp)
8719 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
8720 (forward-symbol, forward-same-syntax, word-at-point)
8721 (sentence-at-point): Doc fix (Bug#1144).
8723 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8725 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
8726 should cover it (bug#1281).
8728 * cus-edit.el (custom-show): Mark as obsolete.
8730 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
8731 negotiation fails, then possibly try again with a non-encrypted
8732 connection (bug#9017).
8734 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
8737 2011-07-07 Richard Stallman <rms@gnu.org>
8739 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
8740 property, and handle its changed format.
8741 Look for the correct line number.
8742 Use file's line contents (but not past first =) to find
8743 correct line in message.
8745 2011-07-07 Kenichi Handa <handa@m17n.org>
8747 * international/characters.el (build-unicode-category-table):
8749 (unicode-category-table): Set it by unicode-property-table-internal.
8751 * international/mule-cmds.el (char-code-property-alist): Move to
8753 (get-char-code-property): Call unicode-property-table-internal to
8754 load a file. Call get-unicode-property-internal where necessary.
8755 (put-char-code-property): Call unicode-property-table-internal to
8756 load a file. Call put-unicode-property-internal where necessary.
8757 put-unicode-property-internal where necessary.
8758 (char-code-property-description):
8759 Call unicode-property-table-internal to load a file.
8761 * international/charprop.el:
8762 * international/uni-bidi.el:
8763 * international/uni-category.el:
8764 * international/uni-combining.el:
8765 * international/uni-comment.el:
8766 * international/uni-decimal.el:
8767 * international/uni-decomposition.el:
8768 * international/uni-digit.el:
8769 * international/uni-lowercase.el:
8770 * international/uni-mirrored.el:
8771 * international/uni-name.el:
8772 * international/uni-numeric.el:
8773 * international/uni-old-name.el:
8774 * international/uni-titlecase.el:
8775 * international/uni-uppercase.el: Regenerate.
8777 * loadup.el: Load international/charprop.el before
8778 international/characters.
8780 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
8782 * window.el (next-buffer, previous-buffer): Signal an error if
8783 called from a minibuffer window.
8785 * bindings.el: Revert 2011-07-04 change.
8787 2011-07-06 Richard Stallman <rms@gnu.org>
8789 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
8790 (rmail-mime-insert-bulk, rmail-mime-insert-text):
8791 Treat markers like ints.
8792 (rmail-mime-entity): Doc fix.
8794 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8796 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
8797 defcustom again for backwards compatibility.
8799 * simple.el (shell-command-on-region): Fill.
8801 * dired-aux.el (dired-kill-line): Add a doc string.
8803 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
8804 to "\\sw\\|\\s_" (bug#358).
8806 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
8807 (dired-unmark-backward): Ditto.
8808 (dired-flag-backup-files): Ditto.
8810 * dired-x.el (dired-mark-sexp): Ditto.
8812 2011-07-06 Richard Stallman <rms@gnu.org>
8814 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
8815 (rmail-mime-entity): New arg TRUNCATED.
8816 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
8818 (rmail-mime-save): Warn if entity is truncated.
8819 (rmail-mime-toggle-hidden): Likewise, for showing.
8820 (rmail-mime-process-multipart): Record when an entity is truncated.
8822 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
8823 if ENTITY is a string.
8825 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8827 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
8828 of faces when `M-C-x'-ing their definitions (bug#8378).
8829 Also clean up the code slightly.
8831 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
8832 because that makes the colors go away.
8834 * mail/sendmail.el (send-mail-function): Change the default to
8835 `sendmail-query-once'.
8836 (sendmail-query-once): Add an autoload cookie.
8838 * net/network-stream.el (network-stream-open-starttls): Try using
8839 a plain connection even if the server offered STARTTLS, and we
8840 kinda wanted to use it, if Emacs doesn't have any STARTTLS
8841 capability. This should make smtpmail.el work in slightly more
8844 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
8846 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
8848 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
8850 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
8852 * progmodes/sql.el: Version 3.0
8853 (sql-product-alist): Add product :completion-object,
8854 :completion-column, and :statement attributes.
8855 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
8856 (sql-mode-syntax-table): Mark all punctuation.
8857 (sql-font-lock-keywords-builder): Temporarily remove fallback on
8859 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
8860 (sql-mode-oracle-font-lock-keywords): Improve.
8861 (sql-oracle-show-reserved-words): New function for development.
8862 (sql-product-font-lock): Simplify for source code buffers.
8863 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
8865 (sql-highlight-product): Set product specific syntax table.
8866 (sql-mode-map): Add statement movement functions.
8867 (sql-ansi-statement-starters, sql-oracle-statement-starters):
8869 (sql-statement-regexp, sql-beginning-of-statement)
8870 (sql-end-of-statement, sql-signum): New functions.
8871 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
8872 (sql-show-sqli-buffer): Bug fix.
8873 (sql-interactive-mode): Store connection data as buffer local.
8874 (sql-connect): Add NEW-NAME parameter. Redesign interaction
8875 with sql-interactive-mode.
8876 (sql-save-connection): Save buffer local settings.
8877 (sql-connection-menu-filter): Change menu entry name.
8878 (sql-product-interactive): Bug fix.
8879 (sql-preoutput-hold): New variable.
8880 (sql-interactive-remove-continuation-prompt): Bug fixes.
8881 (sql-debug-redirect): New variable.
8882 (sql-str-literal): New function.
8883 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
8885 (sql-oracle-save-settings, sql-oracle-restore-settings)
8886 (sql-oracle-list-all, sql-oracle-list-table): New functions.
8887 (sql-completion-object, sql-completion-column)
8888 (sql-completion-sqlbuf): New variables.
8889 (sql-build-completions-1, sql-build-completions)
8890 (sql-try-completion): New functions.
8891 (sql-read-table-name): Use them.
8892 (sql-contains-names): New buffer local variable.
8893 (sql-list-all, sql-list-table): Use it.
8894 (sql-oracle-completion-types): New variable.
8895 (sql-oracle-completion-object, sql-sqlite-completion-object)
8896 (sql-postgres-completion-object): New functions.
8898 2011-07-06 Glenn Morris <rgm@gnu.org>
8900 * window.el (pop-to-buffer): Doc fix.
8902 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
8904 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
8906 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
8908 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
8910 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8912 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
8914 * button.el (button): Inherit from link face. Suggested by Dan
8917 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8919 * progmodes/gdb-mi.el: Fit in 80 columns.
8920 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
8923 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
8924 if imenu is simply not configured (bug#8941).
8926 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
8928 * allout.el (allout-post-undo-hook): New allout outline-change
8929 event hook to signal undo activity.
8930 (allout-post-command-business): Run allout-post-undo-hook if an
8932 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
8933 * allout-widgets.el (allout-widgets-after-undo-function):
8934 Ensure the integrity of the current item's decoration after it has been
8935 in the vicinity of an undo.
8936 (allout-widgets-mode): Include allout-widgets-after-undo-function
8937 on the new allout-post-undo-hook.
8939 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8941 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
8942 Let define-derived-mode define it.
8943 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
8944 cycles of abbrev-table inheritance (bug#8998).
8946 2011-07-05 Roland Winkler <winkler@gnu.org>
8948 * textmodes/bibtex.el: Add support for biblatex.
8949 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
8950 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
8951 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
8952 (bibtex-entry-alist, bibtex-field-alist): New variables.
8953 (bibtex-entry-field-alist): Obsolete alias for
8954 bibtex-BibTeX-entry-alist.
8955 (bibtex-entry-alist, bibtex-field-alist): New widgets.
8956 (bibtex-set-dialect): New command.
8957 (bibtex-entry-type, bibtex-entry-head)
8958 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
8959 Bind via bibtex-set-dialect.
8960 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
8961 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
8962 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
8963 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
8964 Define via bibtex-set-dialect.
8965 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
8966 Obey bibtex-no-opt-remove-re.
8967 (bibtex-vec-push, bibtex-vec-incr): New functions.
8968 (bibtex-format-entry, bibtex-field-list)
8969 (bibtex-print-help-message, bibtex-validate)
8970 (bibtex-search-entries): Use new format of bibtex-entry-alist.
8972 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8974 * progmodes/compile.el (compilation-goto-locus):
8975 * net/tramp-cmds.el (tramp-append-tramp-buffers):
8976 * bs.el (bs-cycle-next, bs-cycle-previous):
8977 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
8978 * bindings.el (mode-line-other-buffer):
8979 * autoinsert.el (auto-insert):
8980 * arc-mode.el (archive-extract):
8981 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
8983 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
8985 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
8986 Fix check of `emacs-lock-unlockable-modes'.
8987 Coerce true values of `emacs-lock--try-unlocking' to t.
8989 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
8991 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
8992 * emacs-lock.el: New file.
8994 2011-07-05 Julien Danjou <julien@danjou.info>
8996 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
8997 than `boundp' to check if face is set.
8999 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
9001 * register.el (registerv-make):
9002 * window.el (window-min-height): Fix typos in docstrings.
9004 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
9006 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
9009 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
9011 * server.el (server-execute): Catch quit and call
9012 `server-return-error' to pass the error back to emacsclient and
9013 close the connection (bug#8942).
9015 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
9017 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
9018 insecure exception for current topic. Also note that auto-saves
9019 are handled differently.
9021 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
9022 State variables for tracking auto-save inhibition situation.
9024 (allout-write-contents-hook-handler): Rename from
9025 'allout-write-file-hook-handler', and describe how it depends on
9026 write-contents-functions sensitivity to non-nil value to prevent
9029 (allout-auto-save-hook-handler): Remove. auto-save does not check
9030 this in individual buffers, only in the starting buffer, so this
9031 is not the right way for us to inhibit auto-save in a buffer
9032 according to its condition.
9034 (allout-mode): Use new allout-write-contents-hook-handler, and
9035 only with write-contents-functions. Remove auto-save provisions -
9036 they're implemented elsewhere.
9038 (allout-before-change-handler): If undo is in progress, note that
9039 for attention of allout-post-command-business.
9041 (allout-post-command-business): If the command we're following was
9042 an undo, check for change in the status of encrypted items and
9043 adjust auto-save inhibitions accordingly.
9045 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
9046 according to whether there are or aren't any plain-text topics
9049 (allout-inhibit-auto-save-info-for-decryption):
9050 Adjust buffer-saved-size and some allout state to inhibit auto-saves
9051 if there are plain-text topics pending encryption.
9053 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
9054 buffer-saved-size and some allout state to not inhibit auto-saves
9055 if there are no longer any plain-text topics pending encryption.
9057 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
9058 No longer provide for exemption of the current topic.
9060 2011-07-04 Juri Linkov <juri@jurta.org>
9062 Add 7z operations to delete and save changed members (bug#8968).
9063 * arc-mode.el (archive-7z-expunge, archive-7z-update):
9065 (archive-7z-write-file-member): New function.
9066 (archive-7z-summarize): Fix the number of dashes in the
9069 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9071 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
9074 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
9076 * bindings.el: Ignore next-buffer and previous-buffer in
9077 minibuffer-local-map.
9079 * font-lock.el (font-lock-builtin-face): Change light background
9080 color to dark slate blue (Bug#6693).
9082 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
9084 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
9086 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9088 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
9089 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9090 Add switch-to-buffer.
9092 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9094 * isearch.el (isearch-search-fun-function): Clarify further the
9095 meaning of the function returned.
9097 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
9099 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
9101 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
9102 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
9104 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
9105 `tramp-default-remote-path' does not exist.
9106 (tramp-send-command-and-read): New optional argument NOERROR.
9107 (tramp-open-connection-setup-interactive-shell)
9108 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
9109 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
9110 (tramp-process-sentinel): Flush also process' connection property.
9111 (tramp-sh-handle-start-file-process): Do not set process
9112 sentinel. It is done now ...
9113 (tramp-maybe-open-connection): ... here. (Bug#8929)
9115 2011-07-04 MON KEY <monkey@sandpframing.com>
9117 * play/animate.el (animate-string): Doc fixes and allow changing
9118 the buffer name (bug#5417).
9120 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9122 * play/animate.el (animation-buffer-name): Rename from *animate*.
9124 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
9126 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
9127 This is simpler and helps future-proof the code.
9128 (timer-until): Use time-subtract and float-time.
9129 (timer--time-less-p): Use time-less-p.
9131 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
9133 * type-break.el (timep): Use the value of `float-time' to avoid a
9134 byte-compiler warning.
9136 * server.el (server-eval-and-print): Return any result, even nil.
9138 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
9140 * type-break.el: Accept time formats that the builtins accept.
9141 (timep, type-break-time-difference): Accept any format that
9142 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
9143 This is simpler and helps future-proof the code.
9144 (type-break-time-difference): Round rather than ignoring
9145 subseconds components.
9147 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9149 * info.el (Info-apropos-matches): Make non-interactive, since it
9150 doesn't seem to do anything useful as a command (bug#8829).
9152 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
9154 * frame.el (frame-background-mode, frame-set-background-mode):
9156 (frame-default-terminal-background): New function.
9158 * custom.el (custom-push-theme): Don't record faces in `changed'
9159 theme; this doesn't work correctly for per-frame face settings.
9160 (disable-theme): Use face-set-after-frame-default to reset faces.
9161 (custom--frame-color-default): New function.
9163 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9165 * dired.el (dired-flagging-regexp): Remove unused variable
9168 2011-03-29 Kevin Ryde <user42@zip.com.au>
9170 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9171 `perl-Test2' extend to match possible "fail #N" rep count
9174 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9176 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
9177 `smtpmail-via-smtp' now returns the error instead of nil.
9179 * isearch.el (isearch-search-fun-function): Clarify the doc string
9182 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9184 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
9185 unnecessary spaces (bug#8987).
9187 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9189 * net/network-stream.el (open-network-stream): Use the
9190 :end-of-capability command thoughout.
9192 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
9194 * net/network-stream.el (open-network-stream): Add the
9195 :end-of-capability command parameter, used by pop3.el.
9197 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9199 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
9201 * fringe.el (fringe-query-style): Remove redundant text " (type ?
9202 for list)" (bug#6475).
9204 * files.el (file-expand-wildcards): Ignore non-readable
9205 sub-directories while trying to find matches instead of signaling
9206 an error (bug#6297).
9208 * man.el (Man-reference-regexp): Allow matching possible
9209 word-wrapped references (bug#6289).
9211 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
9212 for consistency with the other vc buffers (bug#6197).
9213 (vc-checkin): Ditto.
9215 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
9217 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
9219 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9221 * custom.el (defcustom): Clarify that :set is only used in the
9222 Customize user interface (bug#6089).
9224 * progmodes/flymake.el (flymake-mode): If the buffer isn't
9225 associated with a file, refuse to run instead of erroring out
9228 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
9229 the doc string, since it appears that using `fill-column' always
9230 controls the width (bug#7845).
9232 * simple.el (shell-command-on-region): Say where the error output
9233 went if `shell-command-default-error-buffer' is set (bug#6857).
9235 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
9237 * allout.el (allout-yank-processing): Adjust cursor position for
9238 backwards-deleted space.
9240 (allout-rebullet-heading): Register changes with
9241 allout-exposure-changed-hook, so the modified topic is properly
9244 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9246 * minibuffer.el (completion-in-region): Document PREDICATE
9249 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
9250 of keyword/argument pairs (bug#6904).
9252 * replace.el (multi-occur):
9253 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
9255 2011-07-02 Drew Adams <drew.adams@oracle.com>
9257 * dired.el (dired-mark-if): Make the message about whether it's
9258 marking or unmarking clearer (bug#8523).
9260 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9262 * disp-table.el (display-table-print-array): New function.
9263 (describe-display-table): Use it to print the vectors more pretty
9266 2011-07-02 Martin Rudalics <rudalics@gmx.at>
9268 * window.el (window-state-get-1): Don't assign clone numbers.
9269 Add clone-of item to list of window parameters.
9270 (window-state-put-2): Don't process clone numbers.
9271 (display-buffer-alist): Fix doc-string.
9273 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
9275 * subr.el (remq): Don't allocate if it's not needed.
9276 (keymap--menu-item-binding, keymap--menu-item-with-binding)
9277 (keymap--merge-bindings): New functions.
9278 (keymap-canonicalize): Use them to refine the canonicalization.
9279 * minibuffer.el (minibuffer-local-completion-map)
9280 (minibuffer-local-must-match-map): Move initialization from C.
9281 (minibuffer-local-filename-completion-map): Move initialization from C;
9282 don't inherit from anything here.
9283 (minibuffer-local-filename-must-match-map): Make obsolete.
9284 (completing-read-default): Use make-composed-keymap to combine
9285 minibuffer-local-filename-completion-map with either
9286 minibuffer-local-must-match-map or
9287 minibuffer-local-filename-completion-map.
9289 2011-07-01 Glenn Morris <rgm@gnu.org>
9291 * type-break.el (type-break-time-sum): Use dolist.
9293 * textmodes/flyspell.el (flyspell-word-search-backward):
9294 Replace CL function.
9296 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9298 * mouse.el (mouse--strip-first-event): New function.
9299 (function-key-map): Use it to map fringe clicks to normal clicks
9302 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
9303 (vc-bzr-revision-completion-table): Add support for annotate and date.
9305 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
9306 inherit from parent.
9308 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
9310 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
9311 (dired-show-file-type): Doc fixup (bug#8818).
9313 * dired.el (dired-mode): Fix up the doc string as suggested by
9314 Drew Adams (bug#8817).
9316 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
9317 cookie, since the manual says that it should be possible to add
9318 this function to `find-file-hook' (bug#8709).
9320 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
9322 * progmodes/cfengine.el: Moved all cfengine3.el functionality
9323 here. Noted Ted Zlatanov as the maintainer.
9324 (cfengine-common-settings, cfengine-common-syntax): New functions
9325 to set up common things between `cfengine-mode' and
9327 (cfengine3-mode): New mode.
9328 (cfengine3-defuns cfengine3-defuns-regex
9329 (cfengine3-class-selector-regex cfengine3-category-regex)
9330 (cfengine3-vartypes cfengine3-font-lock-keywords)
9331 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
9332 (cfengine3-indent-line): Add from cfengine3.el.
9334 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
9336 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
9338 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
9340 2011-07-01 Martin Rudalics <rudalics@gmx.at>
9342 * window.el (same-window-buffer-names, same-window-regexps)
9343 (same-window-p, special-display-frame-alist)
9344 (special-display-popup-frame, special-display-function)
9345 (special-display-buffer-names, special-display-regexps)
9346 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
9347 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9348 (split-window-preferred-function, split-height-threshold)
9349 (split-width-threshold, even-window-heights)
9350 (display-buffer-mark-dedicated, window-splittable-p)
9351 (split-window-sensibly, window-safely-shrinkable-p):
9353 (display-buffer): Don't spread args with function specifier
9354 because special-display-popup-frame won't like it.
9356 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
9358 Time-stamp simplifications and fixes.
9359 These improve accuracy slightly, and future-proof the code
9360 against some potential changes to current-time format.
9362 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
9363 by using time-since and float-time.
9365 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
9366 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
9367 + NNN microseconds".
9369 * type-break.el (type-break-time-sum): Rewrite using time-add.
9371 * play/hanoi.el (hanoi-current-time-float): Remove.
9372 All uses replaced by float-time.
9374 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
9375 This yields a more-accurate answer.
9376 (rng-time-to-float): Remove; no longer needed.
9378 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
9380 * calendar/timeclock.el (timeclock-seconds-to-time):
9381 Defalias to seconds-to-time, since they're the same thing.
9383 * emacs-lisp/elp.el (elp-elapsed-time):
9384 * emacs-lisp/benchmark.el (benchmark-elapse):
9385 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
9387 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9389 * window.el (bury-buffer): Don't iconify the only frame.
9390 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
9391 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
9393 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
9395 * eshell/em-smart.el (eshell-smart-display-navigate-list):
9396 Add mouse-yank-primary.
9398 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
9400 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
9402 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9404 * emacs-lisp/find-func.el (find-library--load-name): New fun.
9405 (find-library-name): Use it to find relative load names when provided
9406 absolute file name (bug#8803).
9408 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9410 * textmodes/flyspell.el (flyspell-word): Consider words that
9411 differ only in case as potential doublons (bug#5687).
9413 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
9414 Remove two rather uninteresting debugging-like messages to make
9415 debbugs.el more silent.
9417 * comint.el (comint-password-prompt-regexp): Accept "Response" as
9418 a password-like phrase.
9420 2011-06-30 Masatake YAMATO <yamato@redhat.com>
9422 * progmodes/cc-guess.el: New file.
9424 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
9426 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
9427 derived from `c-basic-common-init'.
9429 * progmodes/cc-mode.el (top-level): Require cc-guess.
9430 (c-basic-common-init): Use `cc-choose-style-for-mode'.
9432 2011-06-30 Lawrence Mitchell <wence@gmx.li>
9434 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
9436 2011-06-30 Alan Mackenzie <acm@muc.de>
9438 * progmodes/cc-engine.el (c-guess-continued-construct):
9439 Correct the handling of template-args-cont, particularly for when font
9440 lock is disabled. Name this case as "CASE G".
9442 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
9444 * allout.el (allout-yank-processing): Fix injection of extra space
9445 between bullet and non-whitespace character in first topic when
9446 pasting, ensuring that the actual spacing in the pasted topic
9447 following the bullet char is preserved. This extra space was
9448 causing pasted encrypted topics to get a decrypted status even
9449 when the content was actually still encrypted. Now the decryption
9450 status from before the paste is preserved.
9452 (allout-flag-region): Set all allout overlays so they evaporate
9453 when reduced to zero length (evanescent), to prevent overlay
9456 2011-06-30 Glenn Morris <rgm@gnu.org>
9458 * w32-fns.el (w32-charset-info-alist): Declare.
9460 * find-dired.el (find-grep-options): Simplify.
9462 * term/ns-win.el (ns-set-resource): Declare.
9464 * ses.el (row, col): Declare dynamic variables honestly.
9466 * textmodes/reftex-parse.el (index-tags): Declare.
9468 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
9470 * cus-edit.el (customize-push-and-save): New function.
9472 * files.el (hack-local-variables-confirm): Use it.
9474 * custom.el (load-theme): New arg NO-CONFIRM.
9475 Use customize-push-and-save (Bug#8720).
9476 (custom-enabled-themes): Doc fix.
9478 * cus-theme.el (customize-create-theme)
9479 (custom-theme-merge-theme): Callers to load-theme changed.
9481 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9483 * thingatpt.el (thing-at-point-short-url-regexp): Require that
9484 short URLs have at least one dot in them (bug #7614).
9486 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
9487 nil, because using a pty is apparently too slow (bug #895).
9489 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
9491 * mail/sendmail.el (sendmail-query-once): New function.
9492 (sendmail-query-once-function): New variable.
9494 2011-06-29 Glenn Morris <rgm@gnu.org>
9496 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
9498 * ses.el (top-level): Require cl when compiling.
9499 (ses-set-localvars): Fix error statement.
9500 Call it at compile time to silence a storm of warnings.
9502 2011-06-29 Martin Rudalics <rudalics@gmx.at>
9504 * window.el (normalize-live-buffer): Rename to
9505 window-normalize-buffer.
9506 (normalize-live-frame): Rename to window-normalize-frame.
9507 (normalize-any-window): Rename to window-normalize-any-window.
9508 (normalize-live-window): Rename to window-normalize-live-window.
9509 (make-window-atom): Rename to window-make-atom.
9510 (window-resize-reset): Rename to window--resize-reset.
9511 (window-resize-reset-1): Rename to window--resize-reset-1.
9512 (resize-mini-window): Rename to window--resize-mini-window.
9513 (resize-subwindows-skip-p): Rename to
9514 window--resize-subwindows-skip-p.
9515 (resize-subwindows-normal): Rename to
9516 window--resize-subwindows-normal.
9517 (resize-subwindows): Rename to window--resize-subwindows.
9518 (resize-other-windows): Rename to window--resize-siblings.
9519 (resize-this-window): Rename to window--resize-this-window.
9520 (resize-root-window): Rename to window--resize-root-window.
9521 (resize-root-window-vertically): Rename to
9522 window--resize-root-window-vertically.
9523 (normalize-buffer-to-display): Rename to
9524 window-normalize-buffer-to-display.
9525 (normalize-buffer-to-switch-to): Rename to
9526 window-normalize-buffer-to-switch-to.
9527 Correspondingly update all callers of the functions listed
9529 (display-buffer-alist, display-buffer-normalize-arguments)
9530 (display-buffer-normalize-options, display-buffer)
9531 (display-buffer-alist-set): Use "function" instead of
9534 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
9536 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
9537 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
9538 debbugs.gnu.org. Mention acknowledgment email.
9540 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
9542 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
9543 buffer multibyteness, since it shouldn't matter.
9545 2011-06-28 Martin Rudalics <rudalics@gmx.at>
9547 * window.el (display-buffer-in-side-window): Handle dedicated
9548 windows as in display-buffer-reuse-window.
9549 (display-buffer-normalize-alist): Use value of override
9551 (display-buffer-normalize-specifiers): Use value of
9552 other-window-means-other-frame specifier.
9553 (display-buffer-alist): Rewrite some texts in widgets.
9554 (display-buffer): Spread arguments when calling function
9555 specified by fun-with-args.
9557 2011-06-28 Deniz Dogan <deniz@dogan.se>
9559 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
9562 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
9563 selectors (Bug#5732).
9564 (css-proprietary-nmstart-re): Use `regexp-opt'.
9566 2011-06-27 Jari Aalto <jari.aalto@cante.net>
9568 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
9569 (eshell-ls-date-format): New defcustom.
9570 (eshell-ls-file): Use it.
9572 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9574 * help-fns.el (describe-variable): Fix message for terminal-local vars.
9576 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
9578 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
9579 (ange-ftp-make-tmp-name): New arg.
9580 (ange-ftp-file-local-copy): Use it.
9582 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
9584 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
9585 no-conversion (Bug#8870).
9587 2011-06-27 Martin Rudalics <rudalics@gmx.at>
9589 * window.el (window-right, window-left, window-child)
9590 (window-child-count, window-last-child)
9591 (window-iso-combination-p, walk-window-tree-1)
9592 (window-atom-check-1, window-tree-1, delete-window)
9593 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
9594 new naming conventions - window-vchild, window-hchild,
9595 window-next and window-prev are now called window-top-child,
9596 window-left-child, window-next-sibling and window-prev-sibling
9598 (resize-window-reset): Rename to window-resize-reset.
9599 (resize-window-reset-1): Rename to window-resize-reset-1.
9600 (resize-window): Rename to window-resize.
9601 (window-min-height, window-min-width)
9602 (resize-mini-window, resize-this-window, resize-root-window)
9603 (resize-root-window-vertically, adjust-window-trailing-edge)
9604 (enlarge-window, shrink-window, maximize-window)
9605 (minimize-window, delete-window, quit-restore-window)
9606 (split-window, balance-windows, balance-windows-area-adjust)
9607 (balance-windows-area, window-state-put-2)
9608 (display-buffer-even-window-sizes, display-buffer-set-height)
9609 (display-buffer-set-width, set-window-text-height)
9610 (fit-window-to-buffer): Rename all "resize-window" prefixed
9611 calls to use the "window-resize" prefix convention.
9612 (display-buffer-alist): Fix symbol for label specifier.
9613 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
9614 corresponding specifier.
9615 Reported by Juanma Barranquero <lekktu@gmail.com>.
9617 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
9619 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
9621 (ses-call-printer): Does not pass an empty string to formatter when the
9622 cell is empty to keep from barking printer Calc math-format-value.
9624 2011-06-27 Richard Stallman <rms@gnu.org>
9626 * battery.el (battery-mode-line-limit): New variable.
9627 (battery-update): Handle it.
9629 * mail/rmailmm.el (rmail-mime-process-multipart):
9630 Handle truncated messages.
9632 2011-06-27 Glenn Morris <rgm@gnu.org>
9634 * progmodes/flymake.el (flymake-err-line-patterns):
9635 Allow for column numbers in the ant/javac pattern. (Bug#8866)
9637 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
9639 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
9640 (ses--clean-!, ses--clean-_): New functions.
9641 (ses-range): Add configurability of readout order, and conversion
9644 * ses.el (ses-repair-cell-reference-all): New function.
9645 (ses-cell-symbol): Set macro as safe, so that it can be used in
9648 * ses.el: Update cycle detection algorithm.
9649 (ses-localvars): Add ses--Dijkstra-attempt-nb and
9650 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
9651 (ses-set-localvars): New function.
9652 (ses-make-cell): Add property-list as a cell element.
9653 (ses-cell-property-get-fun, ses-cell-property-get)
9654 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
9655 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
9657 (ses-cell-property-set, ses-cell-property-pop)
9658 (ses-cell-property-get-handle): New macro.
9659 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
9660 New aliases, used for code readability.
9661 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
9663 (ses-self-reference-early-detection): New defcustom.
9664 (ses-formula-references): Robustify against self-referring cells.
9665 (ses-mode): Use ses-set-localvars.
9666 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
9667 before lauching the update processing.
9668 (ses-initialize-Dijkstra-attempt): New function.
9669 (ses-recalculate-cell): Update for cycle detection based on
9672 * ses.el: Fix commenting and indenting convention.
9674 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9676 * bs.el (bs-cycle-next): Complete last change.
9678 2011-06-27 Drew Adams <drew.adams@oracle.com>
9680 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
9682 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9684 * net/network-stream.el (network-stream-open-starttls):
9685 Don't re-get capabilities unless we've reestablished connection.
9686 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
9688 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
9689 to binary to possibly avoid line encoding issues on Windows (among
9692 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9694 * net/network-stream.el (open-network-stream): Return an :error
9695 saying what the problem was, if possible.
9697 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
9700 * net/network-stream.el (network-stream-open-starttls): If we
9701 wanted to use STARTTLS, and the server offered it, but we weren't
9702 able to because we had no STARTTLS support, then close the connection.
9703 (open-network-stream): Return an :error element, if present.
9705 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
9707 * hl-line.el (hl-line-sticky-flag): Doc fix.
9708 (global-hl-line-sticky-flag): New option (Bug#8323).
9709 (global-hl-line-highlight): Obey it.
9711 * vc/vc.el (vc-revert-show-diff): Default to t.
9713 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
9715 * allout-widgets.el (allout-widgets-post-command-business):
9716 Stop decorating intermediate isearch matches. They're not being
9717 undecorated when an isearch is continued past, and isearch
9718 automatically collapses them. This leads to "widget leaks", where
9719 decorated items accumulate in collapsed areas. Lines with lots of
9720 hidden widgets can slow down cursor travel, substantially.
9721 Too much complicated machinery would be needed to ensure undecoration,
9722 so we're doing without this nicety.
9724 (allout-widgets-tally-string): Don't try to do a hash-table-count
9725 of allout-widgets-tally when it's nil. This eliminates spurious "Error
9726 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
9727 *Messages* when allout-widgets-maintain-tally is t.
9729 2011-06-26 Martin Rudalics <rudalics@gmx.at>
9731 * window.el (display-buffer-normalize-argument): Rename to
9732 display-buffer-normalize-arguments. Handle special meaning of
9733 LABEL argument. Respect special-display-function when popping up
9734 a new frame. Fix code searching for a window showing the buffer
9736 (display-buffer-normalize-specifiers):
9737 Call display-buffer-normalize-arguments.
9738 (display-buffer-in-window): Don't undedicate the window if its
9739 buffer remains the same.
9740 Reported by Drew Adams <drew.adams@oracle.com>.
9741 (display-buffer-alist): Add choice for same-window macro
9743 (display-buffer): Mention special meaning of LABEL argument in
9744 doc-string. Fix quoting. Don't pop up a new frame even as
9747 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
9749 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
9750 avoid deleting the current window in some cases (bug#8911).
9752 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
9754 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
9757 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9759 * net/network-stream.el (network-stream-open-starttls):
9760 Use built-in TLS support if `gnutls-available-p' is true.
9761 (network-stream-open-tls): Ditto.
9763 2011-06-26 Leo Liu <sdl.web@gmail.com>
9765 * register.el (registerv): New struct.
9766 (registerv-make): New function.
9767 (jump-to-register, describe-register-1, insert-register):
9768 Support the jump-func, print-func and insert-func slot of a registerv
9771 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
9773 * vc/vc.el (vc-revert-show-diff): New defcustom.
9774 (vc-diff-internal): New arg specifying diff buffer.
9775 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
9776 reuse an existing *vc-diff* buffer (Bug#8927).
9778 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
9780 2011-06-26 Glenn Morris <rgm@gnu.org>
9782 * progmodes/f90.el (f90-critical-indent): New option.
9783 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
9784 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
9785 (f90-mode): Doc fix.
9786 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
9787 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
9788 (f90-beginning-of-block, f90-next-block, f90-indent-region)
9789 (f90-match-end): Handle block, critical.
9791 2011-06-25 Glenn Morris <rgm@gnu.org>
9793 * calendar/diary-lib.el (diary-included-files): Doc fix.
9794 (diary-include-files): New function, extracted from
9795 diary-include-other-diary-files and diary-mark-included-diary-files.
9796 (diary-include-other-diary-files, diary-mark-included-diary-files):
9797 Just call diary-include-files.
9798 (diary-mark-entries): Reset diary-included-files on first call.
9800 * calendar/diary-lib.el (diary-mark-entries)
9801 (diary-mark-included-diary-files):
9802 Visit included diary-files in temp buffers.
9804 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
9805 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
9806 (f90-start-block-re, f90-imenu-generic-expression)
9807 (f90-looking-at-program-block-start, f90-no-block-limit):
9808 Add support for submodules.
9810 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9811 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
9813 2011-06-25 Eli Zaretskii <eliz@gnu.org>
9815 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
9816 buffer-file-type before setting its value, to avoid disastrous
9817 global effects on decoding files for DOS/Windows systems. (Bug#8780)
9819 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
9821 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
9823 * ses.el (ses-unload-function):
9824 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
9826 * proced.el (proced-unload-function):
9827 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
9829 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
9831 * server.el (server-create-window-system-frame): Add parameters arg.
9832 (server-process-filter): Doc fix. Handle frame-parameters.
9834 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
9836 Fix bug#8730, bug#8781.
9838 * loadhist.el (unload--set-major-mode): New function.
9839 (unload-feature): Use it.
9841 * progmodes/python.el (python-after-info-look): Add autoload cookie.
9842 (python-unload-function): New function.
9844 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9846 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
9848 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
9850 * net/browse-url.el (browse-url-firefox-program): Add icecat to
9851 the candidates list.
9853 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
9855 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
9857 2011-06-23 Richard Stallman <rms@gnu.org>
9859 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
9860 (rmail-variables): Set next-error-move-function.
9861 (rmail-what-message): Take argument POS.
9862 (rmail-next-error-move): New function.
9864 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9866 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
9867 messages for adjacent non-terminals.
9869 2011-06-23 Richard Stallman <rms@gnu.org>
9871 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
9872 (rmail-show-message-1): Preserve buffer modified flag.
9873 (rmail-start-mail): Don't specify use of rmail-mail-return;
9874 that's done by mail-bury now.
9875 (rmail-mail-return): Handle arg NEWBUF.
9877 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
9879 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
9882 2011-06-23 Martin Rudalics <rudalics@gmx.at>
9884 * window.el (get-lru-window, get-mru-window)
9885 (get-largest-window): Never return a minibuffer window.
9886 (display-buffer-pop-up-window): Fix a bug that could lead to
9887 reusing the minibuffer window.
9888 (display-buffer): Pass original specifier argument to
9889 display-buffer-function instead of the normalized one.
9890 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
9892 2011-06-22 Leo Liu <sdl.web@gmail.com>
9894 * minibuffer.el (completing-read-function)
9895 (completing-read-default): Move from minibuf.c
9897 2011-06-22 Richard Stallman <rms@gnu.org>
9899 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
9900 to Rmail even if not started by a special Rmail command.
9902 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
9903 Copy the buffer currently showing just one message.
9905 2011-06-22 Roland Winkler <winkler@gnu.org>
9907 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
9908 (bibtex-clean-entry): First delete the old key so that a
9909 customized algorithm for generating the new key does not get
9910 confused by the old key.
9911 (bibtex-url): Obey regexp of first step.
9912 (bibtex-search-entries): Do not use add-to-list with local
9915 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9917 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
9918 stored a user name, then query for the password first, instead of
9919 waiting for SMTP to give an error message and the trying again.
9921 2011-06-22 Lawrence Mitchell <wence@gmx.li>
9923 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
9924 BUFFER in call-process.
9926 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9928 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
9930 (smtpmail-try-auth-methods): Require user name and password from
9933 2011-06-22 Martin Rudalics <rudalics@gmx.at>
9935 * window.el (display-buffer-default-specifiers)
9936 (display-buffer-alist): Remove entries for pop-up-frame-alist.
9937 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
9938 (split-window): Normalize SIDE argument (Bug#8916).
9940 * frame.el (pop-up-frame-alist, pop-up-frame-function)
9941 (special-display-frame-alist, special-display-popup-frame):
9942 Remove duplicate declarations. These are now in window.el.
9944 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9946 * mail/smtpmail.el (smtpmail-via-smtp):
9947 Set :use-starttls-if-possible so that we always use STARTTLS if the
9948 server supports it. SMTP servers that support STARTTLS commonly
9951 * net/network-stream.el (network-stream-open-starttls): Support
9952 upgrading to STARTTLS always, even if we don't have built-in support.
9953 (open-network-stream): Add the :always-query-capabilities keyword.
9955 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
9956 upgrades with `open-network-stream', and rely solely on
9957 auth-source for all credentials. Big changes throughout the file,
9959 (smtpmail-auth-credentials): Remove.
9960 (smtpmail-starttls-credentials): Remove.
9961 (smtpmail-via-smtp): Check for servers saying they want AUTH after
9964 * net/network-stream.el (network-stream-open-starttls):
9965 Provide support for client certificates both for external and built-in
9967 (auth-source): Require.
9968 (open-network-stream): Document the :client-certificate keyword.
9969 (network-stream-certificate): Change cert-cert to cert and
9972 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
9974 * net/tramp-cache.el (top): Don't load the persistency file when
9975 "emacs -Q" has been called.
9977 2011-06-21 Tim Harper <timcharper@gmail.com>
9979 * term/ns-win.el (ns-initialize-window-system):
9980 Set application-specific `ApplePressAndHoldEnabled' system
9981 resource to NO as it is not yet supported by the NS port.
9983 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
9985 * misc.el (list-dynamic-libraries--refresh): Compute header here...
9986 (list-dynamic-libraries): ...not here.
9988 2011-06-21 Leo Liu <sdl.web@gmail.com>
9990 * subr.el (sha1): Implement sha1 using secure-hash.
9992 2011-06-21 Martin Rudalics <rudalics@gmx.at>
9994 * window.el (display-buffer-alist): In default value do not
9995 enforce searching a window on any but the selected frame.
9996 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
9997 (display-buffer-select-window): Remove function.
9998 (display-buffer-in-window): When a window on another frame gets
9999 reused, do not select it any more but just raise its frame if
10000 necessary (Bug#8851) and (Bug#8856).
10001 (display-buffer-normalize-options): Handle pop-up-frames related
10002 options more faithfully.
10003 (pop-to-buffer): Don't rely on `display-buffer' selecting the
10004 window if it is on another frame.
10005 (display-buffer-alist, display-buffer-default-specifiers):
10006 Don't make new frame unsplittable by default.
10007 (display-buffer-normalize-argument): Fix doc-string typo and use
10008 'same-frame-other-window instead of 'other-window when associating
10009 with display-buffer-macro-specifiers.
10011 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
10013 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
10015 (5x5-mode-map, 5x5-mode-menu): Bind them.
10016 (5x5-draw-grid): Tweak the solver's rendering.
10018 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10020 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
10021 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
10023 2011-06-21 Drew Adams <drew.adams@oracle.com>
10025 * menu-bar.el: Use function variable instead of switch-to-buffer.
10026 (menu-bar-select-buffer-function): New variable.
10027 (menu-bar-update-buffers): Use it (bug#8876).
10029 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10031 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
10034 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
10036 * x-dnd.el (x-dnd-version-from-flags)
10037 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
10038 and long as number (Bug#8899).
10039 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
10041 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10043 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
10044 (completion-try-completion, completion-all-completions): Compute the
10045 metadata argument if it's missing; make it optional (bug#8795).
10047 * wid-edit.el: Use lex-bind and move towards completion-at-point.
10048 (widget-complete): Use new :completion-function property.
10049 (widget-completions-at-point): New function.
10050 (default): Use :completion-function instead of :complete.
10051 (widget-default-completions): Rename from widget-default-complete;
10053 (widget-string-complete, widget-file-complete, widget-color-complete):
10055 (file, symbol, function, variable, coding-system, color):
10056 * international/mule-cmds.el (default-input-method, charset)
10057 (language-info-custom-alist):
10058 * cus-edit.el (face): Use new property :completions.
10060 * progmodes/pascal.el (pascal-completions-at-point): New function.
10061 (pascal-mode): Use it.
10062 (pascal-mode-map): Use completion-at-point.
10063 (pascal-toggle-completions): Make obsolete.
10064 (pascal-complete-word, pascal-show-completions):
10065 * progmodes/octave-mod.el (octave-complete-symbol):
10066 Redefine as obsolete alias.
10067 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
10068 Signal absence of completion info for old Octave,
10069 (inferior-octave-complete): Redefine as obsolete alias.
10070 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
10071 (meta-completions-at-point): Rename from meta-complete-symbol and
10072 adapt it for use on completion-at-point-functions.
10073 (meta-common-mode): Use it.
10074 (meta-looking-at-backward, meta-match-buffer): Remove.
10075 (meta-complete-symbol): Redefine as obsolete alias.
10076 (meta-common-mode-map): Use completion-at-point.
10077 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
10078 (makefile-mode-map): Use completion-at-point.
10079 (makefile-completions-at-point): Rename from makefile-complete and
10080 adapt it for use on completion-at-point-functions.
10081 (makefile-mode): Use it.
10082 (makefile-complete): Redefine as obsolete alias.
10084 2011-06-20 Deniz Dogan <deniz@dogan.se>
10086 * net/rcirc.el: Delete trailing whitespaces once and for all.
10088 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
10090 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
10092 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
10094 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
10096 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
10098 2011-06-19 Martin Rudalics <rudalics@gmx.at>
10100 * window.el (display-buffer-other-window-means-other-frame):
10101 Call display-buffer-normalize-alist.
10102 (display-buffer-normalize-specifiers-1): Rename to
10103 display-buffer-normalize-argument. New argument other-frame.
10105 (display-buffer-normalize-specifiers-2): Rename to
10106 display-buffer-normalize-options.
10107 (display-buffer-normalize-alist-1): New function.
10108 (display-buffer-normalize-specifiers-3): Rename to
10109 display-buffer-normalize-alist.
10110 Call display-buffer-normalize-alist-1.
10111 (display-buffer-normalize-options-inhibit): New variable.
10112 (display-buffer-normalize-specifiers): Rewrite calling
10113 display-buffer-normalize-alist,
10114 display-buffer-normalize-argument, and
10115 display-buffer-normalize-options. Don't call the latter if
10116 display-buffer-normalize-options-inhibit is non-nil.
10117 (frame-auto-delete): New option.
10118 (window-deletable-p): Use frame-auto-delete.
10119 (window-list-no-nils, window-state-ignored-parameters)
10120 (window-state-get-1, window-state-get, window-state-put-list)
10121 (window-state-put-1, window-state-put-2, window-state-put):
10123 (display-buffer-normalize-options): Move special-display-p group
10124 after pop-up-frame group (Bug#8851) and (Bug#8856).
10126 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
10128 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
10130 (rx-submatch-n): New function.
10133 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
10136 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
10138 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
10140 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
10141 anytime existing face settings are present (Bug#8889).
10143 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
10144 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
10145 Remove unused argument.
10147 2011-06-18 Martin Rudalics <rudalics@gmx.at>
10149 * window.el (display-buffer-default-specifiers):
10150 Remove pop-up-frame. Add pop-up-window-min-height,
10151 pop-up-window-min-width, and another reuse-window specifier
10152 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
10153 (display-buffer-normalize-specifiers-2):
10154 Handle split-height-threshold and split-width-threshold also when
10155 pop-up-windows is unset. Add a reuse-window specifier for the
10156 case popping up a new window fails.
10157 (special-display-popup-frame): Remove double quoting.
10158 (display-buffer-normalize-specifiers-1): Fix thinko.
10160 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10162 * shell.el (shell-completion-vars): Set pcomplete-termination-string
10163 according to comint-completion-addsuffix.
10165 * pcomplete.el: Convert to lexical binding and fix bug#8819.
10166 (pcomplete-suffix-list): Mark as obsolete.
10167 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
10168 pcomplete-seen in the closure.
10169 (pcomplete-comint-setup): Setup completion-at-point as well.
10170 (pcomplete--entries): New function.
10171 (pcomplete--env-regexp): New var.
10172 (pcomplete-entries): Rewrite to work with partial-completion and
10173 without relying on pcomplete-suffix-list.
10174 (pcomplete-pare-list): Remove, unused.
10176 2011-06-17 Martin Rudalics <rudalics@gmx.at>
10178 * window.el (display-buffer-alist): Set pop-up-window-min-height
10179 and pop-up-window-min-width in default value. Reported by
10180 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
10181 other-window-means-other-frame.
10182 (display-buffer-macro-specifiers): Comment out entry for
10183 other-window specifier.
10184 (display-buffer-other-window-means-other-frame): New function.
10185 (display-buffer-normalize-specifiers-1): New arguments
10186 buffer-name and label. Treat other-window case specially.
10187 (display-buffer-normalize-specifiers-2): Treat other-window case
10189 (display-buffer-normalize-specifiers-3): New function.
10190 (display-buffer-normalize-specifiers):
10191 Call display-buffer-normalize-specifiers-3.
10193 2011-06-17 Martin Rudalics <rudalics@gmx.at>
10195 * window.el (same-window-p): Fix two typos introduced when
10196 adding with-no-warnings.
10197 (display-buffer-normalize-specifiers-1): Don't check
10198 pop-up-frames for 'unset initialization.
10199 (display-buffer-normalize-specifiers-2): Major rewrite using
10200 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
10201 (pop-up-frames, display-buffer-reuse-frames)
10202 (display-buffer-mark-dedicated): Don't initialize to 'unset.
10203 Suggested by David Engster <deng@randomsample.de>.
10204 (even-window-heights): Initialize to 'unset.
10205 (display-buffer-alist-set): Handle new 'unset initializations.
10206 (display-buffer-macro-specifiers): Don't pop up a new frame in the
10209 2011-06-16 Martin Rudalics <rudalics@gmx.at>
10211 * window.el (display-buffer-normalize-specifiers-1):
10212 Respect current value of pop-up-frames for most reasonable values of
10213 second argument of display-buffer (Bug#8865).
10214 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
10215 (switch-to-buffer-other-window-same-frame)
10216 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
10218 (display-buffer): Don't check noninteractive when calling
10219 display-buffer-pop-up-frame.
10220 (display-buffer-pop-up-frame): Never pop up a frame in
10221 noninteractive mode (Bug#8857).
10222 (enlarge-window, shrink-window): Don't report an error when the
10223 window can't be resized as requested (Bug#8862).
10225 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10227 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
10229 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
10231 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
10233 2011-06-15 Alan Mackenzie <acm@muc.de>
10235 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
10236 for declarators, disable knr checking to speed up for normal files.
10237 2: Refactor, replacing a sequence of nested if forms by a cond form.
10239 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10241 * net/network-stream.el (open-network-stream): Add the keyword
10242 :always-query-capabilities for the case where you want to force a
10243 `plain' network connection, but the protocol still requires the
10244 capabilitiy command (i.e., SMTP and EHLO).
10246 * subr.el (process-live-p): Rename from `process-alive-p' for
10247 consistency with other `-live-p' functions.
10249 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10251 * window.el (same-window-buffer-names, same-window-regexps)
10252 (special-display-frame-alist, special-display-popup-frame)
10253 (special-display-function, special-display-buffer-names)
10254 (special-display-regexps, pop-up-frame-alist)
10255 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
10256 (pop-up-windows, split-window-preferred-function)
10257 (split-height-threshold, split-width-threshold, even-window-heights)
10258 (display-buffer-mark-dedicated): Don't encourage the use of
10259 display-buffer-alist from Elisp code.
10261 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
10263 * progmodes/python.el (python-mode): Derive from prog-mode.
10264 * progmodes/ps-mode.el (ps-mode):
10265 * progmodes/mixal-mode.el (mixal-mode):
10266 * progmodes/cfengine.el (cfengine-mode):
10267 * progmodes/ld-script.el (ld-script-mode): Likewise.
10269 2011-06-15 Martin Rudalics <rudalics@gmx.at>
10271 * window.el (display-buffer-alist): Trim default value to avoid
10272 popping up a new frame (Bug#8857) or reusing an arbitrary window
10274 (display-buffer): Do not fall back on popping up a new frame in
10275 batch mode (Bug#8857).
10277 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
10279 * cus-theme.el (describe-theme-1): Use custom-theme-p.
10280 (custom-theme-summary): New function.
10281 (customize-themes): Use it.
10283 2011-06-13 Glenn Morris <rgm@gnu.org>
10285 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
10287 2011-06-13 Martin Rudalics <rudalics@gmx.at>
10289 * help.el (help-window): Remove variable.
10290 (help-window-point-marker, temp-buffer-max-height)
10291 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
10292 (help-print-return-message): Don't set help-window.
10293 (resize-temp-buffer-window): Rewrite cod eand doc-string.
10294 (help-window-setup-finish): Remove.
10295 (help-window-display-message, help-window-setup)
10296 (with-help-window): Major rewrite based on new
10297 display-buffer-window variable.
10299 * help-mode.el (help-mode-finish): Remove help-window related
10302 * view.el (view-exits-all-viewing-windows): Remove reference to
10303 view-return-to-alist in doc-string.
10304 (view-return-to-alist): Make obsolete.
10305 (view-buffer): Call pop-to-buffer-same-window and remove
10307 (view-buffer-other-window): Call pop-to-buffer-other-window and
10308 simplify code. Ignore second argument.
10309 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
10310 simplify code. Ignore second argument.
10311 (view-return-to-alist-update): Make obsolete.
10312 (view-mode-enter): Rename second argument to QUIT-RESTORE.
10313 Rewrite using quit-restore window parameters.
10314 (view-mode-exit): Rename second argument to EXIT-ONLY.
10315 Rewrite using quit-restore-window.
10316 (View-exit, View-exit-and-edit, View-leave, View-quit)
10317 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
10318 appropriate arguments.
10319 (view-end-message): Use quit-restore window parameter.
10321 * window.el (display-buffer-function): Rewrite doc-string.
10322 (display-buffer-window, display-buffer-alist): New variables.
10323 (display-buffer-split-specifiers)
10324 (display-buffer-side-specifiers)
10325 (display-buffer-macro-specifiers): New constants.
10326 (display-buffer-even-window-sizes, display-buffer-set-height)
10327 (display-buffer-set-width, display-buffer-select-window)
10328 (display-buffer-in-window, display-buffer-reuse-window)
10329 (display-buffer-split-window-1, display-buffer-split-window)
10330 (display-buffer-split-atom-window, display-buffer-pop-up-window)
10331 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
10332 (display-buffer-in-side-window, normalize-buffer-to-display)
10333 (display-buffer-normalize-specifiers-1)
10334 (display-buffer-normalize-specifiers-2)
10335 (display-buffer-normalize-specifiers, display-buffer-frame):
10337 (display-buffer): Major rewrite.
10338 (display-buffer-other-window, display-buffer-other-frame)
10339 (pop-to-buffer, switch-to-buffer-other-window)
10340 (switch-to-buffer-other-frame): Rewrite.
10341 (display-buffer-same-window, display-buffer-same-frame)
10342 (display-buffer-same-frame-other-window)
10343 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
10344 (pop-to-buffer-other-window)
10345 (pop-to-buffer-same-frame-other-window)
10346 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
10347 (switch-to-buffer-other-window-same-frame): New functions.
10348 (same-window-p, special-display-p): Rewrite disabling warnings.
10350 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10351 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
10353 (same-window-buffer-names, same-window-regexps)
10354 (special-display-frame-alist, special-display-popup-frame)
10355 (special-display-function, special-display-buffer-names)
10356 (special-display-regexps, pop-up-frame-alist)
10357 (pop-up-frame-function, split-window-preferred-function)
10358 (split-height-threshold, split-width-threshold)
10359 (even-window-heights): Make obsolete.
10361 2011-06-12 Glenn Morris <rgm@gnu.org>
10363 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
10364 Misc simplifications.
10366 2011-06-12 Martin Rudalics <rudalics@gmx.at>
10368 * window.el (window-safely-shrinkable-p): Restore function which
10369 was inadvertently removed in change from 2011-06-11. Declare as
10372 * calendar/calendar.el (calendar-generate-window):
10373 Use window-iso-combined-p instead of combination of one-window-p and
10374 window-safely-shrinkable-p.
10376 2011-06-12 Glenn Morris <rgm@gnu.org>
10378 * progmodes/fortran.el (fortran-mode-syntax-table):
10379 * progmodes/f90.el (f90-mode-syntax-table):
10380 Set % to punctuation. (Bug#8820)
10381 (f90-find-tag-default): Remove, no longer needed.
10383 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
10385 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
10387 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
10389 * image.el (image-animated-p): Return animation delay in seconds.
10390 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
10391 (image-animate-timeout): Remove DELAY argument. Don't assume
10392 every subimage has the same delay; get it from image-animated-p.
10393 (image-animate): Caller changed.
10395 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
10397 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
10398 to ignored backtrace functions.
10400 2011-06-11 Glenn Morris <rgm@gnu.org>
10402 * calendar/appt.el (appt-disp-window-function): Doc fix.
10403 (appt-check): Handle overlapping appointments. (Bug#8337)
10405 2011-06-11 Martin Rudalics <rudalics@gmx.at>
10407 * window.el (window-tree-1, window-tree): New functions, moving
10408 the latter to window.el.
10409 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
10410 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
10411 (bw-refresh-edges): Remove.
10412 (balance-windows-1, balance-windows-2): New functions.
10413 (balance-windows): Rewrite in terms of window tree functions,
10414 balance-windows-1 and balance-windows-2.
10415 (bw-adjust-window): Remove.
10416 (balance-windows-area-adjust): New function with functionality of
10417 bw-adjust-window but using resize-window.
10418 (set-window-text-height): Rewrite doc-string.
10419 Use normalize-live-window and resize-window.
10420 (enlarge-window-horizontally, shrink-window-horizontally):
10421 Rename argument to DELTA.
10422 (window-buffer-height): New function.
10423 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
10424 Rewrite using new window resize routines.
10425 (kill-buffer-and-window, mouse-autoselect-window-select):
10426 Use ignore-errors instead of condition-case.
10427 (quit-window): Call delete-frame instead of delete-windows-on
10428 for the only buffer on frame.
10430 2011-06-10 Martin Rudalics <rudalics@gmx.at>
10432 * loadup.el (top-level): Load window before files for the sake
10433 of replace-buffer-in-windows.
10435 * files.el (read-buffer-to-switch)
10436 (switch-to-buffer-other-window)
10437 (switch-to-buffer-other-frame, display-buffer-other-frame):
10440 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
10441 (previous-buffer): Move to window.el.
10443 * bindings.el (unbury-buffer): Move to window.el.
10445 * window.el (delete-other-windows-vertically): Move after
10446 definition of delete-other-windows.
10447 (other-window, delete-windows-on, replace-buffer-in-windows):
10448 Move here from window.c.
10449 (record-window-buffer, unrecord-window-buffer)
10450 (set-window-buffer-start-and-point, switch-to-prev-buffer)
10451 (switch-to-next-buffer): New functions.
10452 (get-next-valid-buffer, last-buffer, next-buffer): Move here
10453 from simple.el. Call switch-to-next-buffer.
10454 (previous-buffer): Move here from simple.el.
10455 Call switch-to-prev-buffer.
10456 (bury-buffer): Move here from buffer.c. Switch to previous
10457 buffer when window cannot be deleted.
10458 (unbury-buffer): Move here from bindings.el.
10459 (ctl-x-map): Move binding for other-window from window.c to
10461 (read-buffer-to-switch, switch-to-buffer-other-window)
10462 (switch-to-buffer-other-frame): Move here from files.el.
10463 (normalize-buffer-to-switch-to): New functions.
10464 (switch-to-buffer): Move here from buffer.c.
10465 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
10467 2011-06-10 Martin Rudalics <rudalics@gmx.at>
10469 * window.el (window-min-height, window-min-width): Move here
10470 from window.c. Add defcustoms and rewrite doc-strings.
10471 (resize-mini-window, resize-window): New functions.
10472 (adjust-window-trailing-edge, enlarge-window, shrink-window):
10473 Move here from window.c.
10474 (maximize-window, minimize-window): New functions.
10475 (delete-window, delete-other-windows, split-window): Move here
10477 (window-split-min-size): New function.
10478 (split-window-keep-point): Mention split-window-above-each-other
10479 instead of split-window-vertically.
10480 (split-window-above-each-other, split-window-vertically):
10481 Rename split-window-vertically to split-window-above-each-other
10482 and provide defalias for old definition.
10483 (split-window-side-by-side, split-window-horizontally):
10484 Rename split-window-horizontally to split-window-side-by-side
10485 and provide defalias for the old definition.
10486 (ctl-x-map): Move bindings for delete-window,
10487 delete-other-windows and enlarge-window here from window.c.
10488 Replace bindings for split-window-vertically and
10489 split-window-horizontally by bindings for
10490 split-window-above-each-other and split-window-side-by-side.
10492 * cus-start.el (all): Remove entries for window-min-height and
10493 window-min-width. Add entries for window-splits and
10496 2011-06-09 Glenn Morris <rgm@gnu.org>
10498 * calendar/appt.el (appt-mode-line): New function.
10499 (appt-check, appt-disp-window): Use it.
10501 * files.el (hack-one-local-variable-eval-safep):
10502 Allow minor-modes with explicit +/-1 arguments.
10504 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
10506 * term/xterm.el (xterm): Add defgroup.
10507 (xterm-extra-capabilities): Add defcustom to supply known xterm
10508 capabilities, skip querying them, or query them (default).
10509 (terminal-init-xterm): Use it.
10510 (terminal-init-xterm-modify-other-keys): New function to set up
10511 modifyOtherKeys support to simplify `terminal-init-xterm'.
10513 2011-06-09 Martin Rudalics <rudalics@gmx.at>
10515 * window.el (resize-window-reset, resize-window-reset-1)
10516 (resize-subwindows-skip-p, resize-subwindows-normal)
10517 (resize-subwindows, resize-other-windows, resize-this-window)
10518 (resize-root-window, resize-root-window-vertically)
10519 (window-deletable-p, window-or-subwindow-p)
10520 (frame-root-window-p): New functions.
10522 2011-06-09 Glenn Morris <rgm@gnu.org>
10524 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
10525 (ange-ftp-get-files): Use it.
10527 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
10529 * mail/sendmail.el (mail-recover-1, mail-recover):
10530 * files.el (recover-file, recover-session):
10531 Handle dired-listing-switches not being just a single short option.
10533 2011-06-09 Glenn Morris <rgm@gnu.org>
10535 * calendar/appt.el (appt-display-message, appt-disp-window):
10536 Handle lists of appointments.
10538 2011-06-08 Martin Rudalics <rudalics@gmx.at>
10540 * window.el (one-window-p): Move down in code.
10541 Rewrite doc-string.
10542 (window-current-scroll-bars): Rewrite doc-string.
10543 Normalize live window argument.
10544 (walk-windows, get-window-with-predicate, count-windows):
10545 Rewrite doc-string. Use window-list-1.
10546 (window-in-direction-2, window-in-direction, get-mru-window):
10549 2011-06-08 Reuben Thomas <rrt@sc3d.org>
10551 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
10552 Doc fix (Bug#8713).
10554 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
10556 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
10558 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
10560 * loadhist.el (unload-feature-special-hooks):
10561 Add `comint-output-filter-functions'.
10563 2011-06-08 Ivan Kanis <gnu@kanis.fr>
10565 * calendar/appt.el (appt-check): Move some initializations into the let.
10567 2011-06-08 Martin Rudalics <rudalics@gmx.at>
10569 * window.el (window-height): Defalias to window-total-height.
10570 (window-width): Defalias to window-body-width.
10572 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
10574 * image-mode.el (image-toggle-animation): New command.
10575 (image-mode-map): Bind it to RET.
10576 (image-mode): Update message.
10577 (image-toggle-display-image): Avoid a spurious cache flush.
10578 (image-transform-rotation): Doc fix.
10579 (image-transform-properties): Return quickly in the normal case.
10580 (image-animate-loop): Rename from image-animate-max-time.
10582 * image.el (image-animate-max-time): Move to image-mode.el.
10583 (create-animated-image): Remove unnecessary function.
10584 (image-animate): Rename from image-animate-start. New arg.
10585 (image-animate-stop): Remove; just use image-animate-timer.
10586 (image-animate-timer): Use car-safe.
10587 (image-animate-timeout): Rename argument.
10589 2011-06-07 Martin Rudalics <rudalics@gmx.at>
10591 * window.el (get-lru-window, get-largest-window): Move here from
10592 window.c. Rename first argument to ALL-FRAMES.
10593 Rephrase doc-strings.
10594 (get-buffer-window-list): Rewrite using window-list-1.
10595 Rephrase doc-string.
10596 (window-safe-min-height, window-safe-min-width): New constants.
10597 (window-size-ignore, window-min-size, window-min-size-1)
10598 (window-sizable, window-sizable-p, window-size-fixed-1)
10599 (window-size-fixed-p, window-min-delta-1, window-min-delta)
10600 (window-max-delta-1, window-max-delta, window-resizable)
10601 (window-resizable-p, window-total-height, window-total-width)
10602 (window-body-width): New functions.
10603 (window-full-height-p, window-full-width-p): Rewrite using
10605 (window-body-height): Rewrite using window-body-size.
10607 2011-06-06 Martin Rudalics <rudalics@gmx.at>
10609 * window.el (window-right, window-left, window-child)
10610 (window-child-count, window-last-child, window-any-p)
10611 (normalize-live-buffer, normalize-live-frame)
10612 (normalize-any-window, normalize-live-window)
10613 (window-iso-combination-p, window-iso-combined-p)
10614 (window-iso-combinations)
10615 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
10616 (windows-with-parameter, window-with-parameter)
10617 (window-atom-root, make-window-atom, window-atom-check-1)
10618 (window-atom-check, window-side-check, window-check):
10620 (ignore-window-parameters, window-sides, window-sides-vertical)
10621 (window-sides-slots): New variables.
10622 (window-size-fixed): Move down in code. Minor doc-string fix.
10624 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
10626 * comint.el (comint-dynamic-complete-as-filename)
10627 (comint-dynamic-complete-filename): Correctly call
10628 completion-in-region.
10630 2011-06-05 Deniz Dogan <deniz@dogan.se>
10632 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
10635 2011-06-05 Deniz Dogan <deniz@dogan.se>
10637 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
10638 (rcirc): Use it to prompt for encryption.
10640 2011-06-05 Roland Winkler <winkler@gnu.org>
10642 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
10643 (bibtex-search-entries): New command bound to C-c C-a.
10644 (bibtex-display-entries): New function.
10646 2011-06-05 Roland Winkler <winkler@gnu.org>
10648 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
10649 (bibtex-insert-kill): After yanking insert newline if necessary.
10650 (bibtex-initialize): Call bibtex-string-files-init only once.
10651 (bibtex-mode): Do not call easy-menu-add.
10652 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
10653 (bibtex-yank): Set arg properly if nil.
10655 2011-06-05 Roland Winkler <winkler@gnu.org>
10657 * textmodes/bibtex.el (bibtex-search-entry-globally):
10659 (bibtex-search-entry): Use it.
10661 2011-06-05 Roland Winkler <winkler@gnu.org>
10663 * textmodes/bibtex.el (bibtex-entry-format): New option
10665 (bibtex-format-entry, bibtex-reformat): Honor this option.
10666 (bibtex-parse-entry): Return fields in proper order.
10668 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
10670 * doc-view.el (doc-view-remove-if): Move computation of result out
10671 of `dolist' to silence misleading lexical-binding warning.
10673 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
10675 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
10676 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
10678 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
10680 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
10683 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
10685 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
10686 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
10687 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
10688 (tramp-parse-putty):
10689 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
10690 (tramp-completion-function-alist-ssh)
10691 (tramp-completion-function-alist-telnet)
10692 (tramp-completion-function-alist-su)
10693 (tramp-completion-function-alist-putty): Set `tramp-autoload'
10696 * net/tramp-ftp.el:
10698 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
10699 load "tramp.el" `tramp-set-completion-function'.
10701 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10703 * shell.el: Require and use pcomplete.
10704 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
10705 (shell-completion-vars): Set pcomplete-default-completion-function.
10707 2011-06-04 Deniz Dogan <deniz@dogan.se>
10709 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
10712 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10714 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
10716 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
10718 * bs.el (bs--mark-unmark, bs--nth-wrapper):
10719 * mpc.el (mpc-select-extend, mpc-songpointer-context):
10720 * vc/log-view.el (log-view-beginning-of-defun):
10721 * vc/smerge-mode.el (smerge-apply-resolution-patch)
10722 (smerge-refine-forward, smerge-refine-chopup-region):
10723 Silence warning for unused `dotimes' counter variables.
10725 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10727 * net/tramp.el (tramp-with-progress-reporter): Rename from
10728 with-progress-reporter. Use `declare'.
10729 * net/tramp-smb.el:
10731 * net/tramp-gvfs.el: Update all uses.
10733 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
10735 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
10736 buffer isn't killed before making it current.
10738 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10740 Silence various byte-compiler warnings.
10741 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
10742 `access-type' and new obsolescence format.
10743 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
10745 (byte-compile-check-variable): New `access-type' argument.
10746 Only warn if the access-type is obsolete.
10747 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
10748 (byte-compile-variable-set): Adjust callers.
10749 * help-fns.el (describe-variable): Adjust to new obsolescence format.
10750 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
10751 setting it as obsolete.
10752 * simple.el (minibuffer-completing-symbol):
10753 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
10754 access as obsolete.
10755 * minibuffer.el (minibuffer-completing-file-name): Don't make it
10757 * international/quail.el (quail-mouse-choose-completion): Remove unused
10758 code referring to obsolete var.
10759 (quail-choose-completion-string): Remove.
10760 * server.el (server-clients-with, server-kill-buffer-query-function)
10761 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
10762 * proced.el (proced-send-signal):
10763 * emacs-lisp/lisp.el (lisp-complete-symbol):
10764 Replace completion-annotate-function with completion-extra-properties.
10766 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10768 * simple.el (goto-line): Use read-number.
10769 (overriding-map-is-bound): Remove.
10770 (saved-overriding-map): Change default.
10771 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
10772 Take the map as argument.
10773 (universal-argument, negative-argument, digit-argument): Use it.
10774 (restore-overriding-map): Adjust.
10775 (do-auto-fill): Use fill-forward-paragraph.
10776 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
10778 * minibuffer.el (minibuffer-inactive-mode-map): New var.
10779 (minibuffer-inactive-mode): New major mode.
10780 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
10781 the *Messages* buffer" hack.
10782 (mouse-popup-menubar): Don't burp if the event is a normal key.
10784 Miscellaneous tweaks.
10785 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
10786 lexical scoping as in subr.el's dolist and dotimes.
10787 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
10788 Silence compiler warning.
10789 * thingatpt.el (forward-whitespace): Trivial coding style fix.
10790 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
10791 * international/ccl.el (ccl-compile): Trivial simplification.
10792 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
10793 * emacs-lisp/testcover.el (testcover-end): Remove spurious
10794 `printflag' argument.
10795 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
10796 Purecopy the whole obsolescence data.
10798 2011-06-01 Leo Liu <sdl.web@gmail.com>
10800 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
10801 improve doc-string as suggested by Marco Pessotto
10802 <melmothx@gmail.com>.
10803 (rcirc-print): Fix last change.
10805 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10807 * minibuffer.el (complete-with-action): Return nil for the metadata and
10808 boundaries of non-functional tables.
10809 (completion-table-dynamic): Return nil for the metadata.
10810 (completion-table-with-terminator): Add default case, using
10811 complete-with-action.
10812 (completion--metadata): New function.
10813 (completion-all-sorted-completions, minibuffer-completion-help): Use it
10814 to try and avoid pathological performance problems.
10815 (completion--embedded-envvar-table): Return `category' metadata.
10817 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
10819 * subr.el (process-alive-p): New tiny convenience function.
10821 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10823 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
10824 content but also its previous major mode.
10826 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
10828 * emacs-lisp/debug.el (debug): Restore the previous content of the
10829 *Backtrace* buffer when we exit with C-M-c.
10831 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10833 * minibuffer.el: Add metadata method to completion tables.
10834 (completion-category-overrides): New defcustom.
10835 (completion-metadata, completion--field-metadata)
10836 (completion-metadata-get, completion--styles)
10837 (completion--cycle-threshold): New functions.
10838 (completion-try-completion, completion-all-completions):
10839 Add `metadata' argument to choose completion-styles.
10840 (completion--do-completion): Use metadata to choose cycling.
10841 (completion-all-sorted-completions): Use metadata for sorting.
10842 Remove :completion-cycle-penalty which is not needed any more.
10843 (completion--try-word-completion): Add `metadata' argument.
10844 (minibuffer-completion-help): Check metadata for annotation function
10846 (completion-file-name-table): Return `category' metadata.
10847 (minibuffer-completing-file-name): Make obsolete.
10848 * simple.el (minibuffer-completing-symbol): Make obsolete.
10849 * icomplete.el (icomplete-completions): Pass new `metadata' param to
10850 completion-try-completion.
10852 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10854 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
10856 2011-05-30 Leo Liu <sdl.web@gmail.com>
10858 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
10859 (rcirc-print): Decode all incoming messages (bug#8744).
10860 (rcirc-decode-coding-system): Allow value nil for automatic coding
10863 2011-06-01 Glenn Morris <rgm@gnu.org>
10865 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
10867 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
10869 * image.el (image-animate-max-time): Allow nil and t values.
10871 (create-animated-image): Doc fix.
10872 (image-animate-start): Remove second arg; just use
10873 image-animate-max-time.
10874 (image-animate-timeout): Doc fix. Args changed.
10876 * image-mode.el (image-toggle-display-image): Ensure that the
10877 image spec passed to the animate timer is the same object as in
10878 the buffer's display property (Bug#6981).
10879 (image-transform-properties): Doc fix.
10881 * image.el (image-animate-max-time): Default to nil.
10883 2011-05-29 Martin Rudalics <rudalics@gmx.at>
10885 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
10886 entire buffer list (Bug#8184).
10888 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
10890 * image.el (imagemagick-types-inhibit)
10891 (imagemagick-register-types): Doc fix.
10893 2011-05-29 Deniz Dogan <deniz@dogan.se>
10895 * net/rcirc.el (rcirc): Use the user's stored encryption method by
10898 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
10900 * select.el: Don't perform clipboard-manager saving in hooks;
10901 leave the hooks empty.
10903 2011-05-28 Leo Liu <sdl.web@gmail.com>
10905 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
10906 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
10907 (occur-edit-mode): New major mode (Bug#8463).
10908 (occur-after-change-function): New function.
10909 (occur-engine): Give Occur tags a read-only property.
10911 2011-05-28 Kevin Ryde <user42@zip.com.au>
10913 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
10915 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
10917 * bindings.el (help-echo): Make the initial non-indicator dash
10918 empty on graphical terminals (Bug#7295).
10920 * files.el (auto-mode-alist): Move config rule after the
10921 in-stripping one (Bug#8547).
10923 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
10925 * startup.el (normal-splash-screen): Remove gratuitous mode-line
10926 setting (Bug#8740).
10928 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
10930 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
10931 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
10934 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
10936 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
10938 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
10940 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
10941 (hs-hide-block-at-point, hs-find-block-beginning)
10942 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
10945 2011-05-28 Glenn Morris <rgm@gnu.org>
10947 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
10949 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
10951 * help-fns.el (describe-function-1): If the function is a derived
10952 major mode, print the parent mode.
10954 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
10955 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
10957 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10959 * minibuffer.el (completion--capf-wrapper): Check applicability before
10960 returning non-nil for non-exclusive completion data.
10961 * progmodes/etags.el (tags-completion-at-point-function):
10962 * info-look.el (info-lookup-completions-at-point): Mark as
10964 (info-complete): Adjust accordingly.
10966 * info-look.el: Convert to lexical-binding and completion-at-point.
10967 (info-lookup-completions-at-point): New function.
10968 (info-complete): Use it and completion-in-region.
10970 2011-05-28 Drew Adams <drew.adams@oracle.com>
10972 * isearch.el: Let M-e start with point at the first mismatched char.
10973 (isearch-fail-pos): New function.
10974 (isearch-edit-string): Use it.
10976 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10978 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10980 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
10982 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
10983 traversal functions for avl-trees.
10984 (avl-tree--stack): New struct.
10985 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
10986 (avl-tree-enter): Add optional `updatefun' arg.
10987 (avl-tree--do-enter): Add optional `updatefun' arg.
10988 Change return value.
10989 (avl-tree-delete): Add optional `test' and `nilflag' args.
10990 (avl-tree--do-delete): Add `test' and `nilflag' args.
10991 Change return value.
10992 (avl-tree-member): Add optional `nilflag'
10993 (avl-tree-member-p): New function.
10994 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
10995 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
10996 (avl-tree-stack-empty-p): New functions.
10998 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
10999 avl-tree--del-balance1 and make it work both ways.
11000 (avl-tree--del-balance2): Remove.
11001 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
11002 make it work both ways.
11003 (avl-tree--enter-balance2): Remove.
11004 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
11006 (avl-tree--mapc, avl-tree-map): Add direction argument.
11008 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
11010 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
11012 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
11014 * select.el: Support clipboard managers with built-in function
11015 x-clipboard-manager-save, via delete-frame-functions and
11017 (xselect-convert-to-targets): Add MULTIPLE target to list.
11018 (xselect-convert-to-save-targets): New function.
11020 2011-05-27 Kenichi Handa <handa@m17n.org>
11022 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
11023 let-binding rfc2047-encode-encoded-words to nil.
11025 2011-05-27 Glenn Morris <rgm@gnu.org>
11027 * mail/emacsbug.el: Don't require url-util.
11029 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
11031 * files.el (set-auto-mode):
11032 Also respect mode: entries at the end of the file. (Bug#8586)
11034 2011-05-26 Glenn Morris <rgm@gnu.org>
11036 * files.el (hack-local-variables-prop-line, hack-local-variables):
11037 Downcase mode names, as seems to be traditional.
11038 (hack-local-variables, hack-local-variables-apply): Doc fixes.
11040 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
11041 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
11043 2011-05-25 Julien Danjou <julien@danjou.info>
11045 * textmodes/rst.el (rst-define-level-faces): Do not define face
11046 symbol if it is already defined.
11048 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
11050 * play/5x5.el (5x5-new-game, 5x5-randomize):
11051 Reset 5x5-solver-output to nil when a new grid is cast.
11052 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
11053 these debugging traces, as defmacro breaks the compiled code.
11055 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11057 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11059 2011-05-24 Leo Liu <sdl.web@gmail.com>
11061 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
11062 (vc-bzr-sha1): Adapt.
11064 * sha1.el: Remove. Function `sha1' is now builtin.
11066 * bindings.el: Provide sha1 feature.
11068 2011-05-24 Kenichi Handa <handa@m17n.org>
11070 * mail/sendmail.el: Require `rfc2047'.
11071 (mail-insert-from-field): Do not perform RFC2047 encoding.
11072 (mail-encode-header): New function.
11073 (sendmail-send-it): Set buffer-file-coding-system of the work
11074 buffer to the return value of select-message-coding-system.
11075 Call mail-encode-header.
11077 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
11079 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
11081 * mail/supercite.el (sc-default-cite-frame):
11082 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
11084 2011-05-24 Glenn Morris <rgm@gnu.org>
11086 * progmodes/python.el (brm-menu): Declare.
11088 * emulation/viper.el (viper-set-hooks): Declare.
11090 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
11091 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
11092 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
11093 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
11094 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
11095 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
11097 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11099 Add an :exit-function for completion-at-point.
11101 * minibuffer.el (completion--done): New fun.
11102 (completion--do-completion): Use it. New arg `expect-exact'.
11103 (minibuffer-complete, minibuffer-complete-word): Don't output message,
11104 since completion--do-completion does it for us now.
11105 (minibuffer-force-complete): Use completion--done and
11106 completion--replace. Handle sole-completion case with more care.
11107 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
11108 (completion-extra-properties): New var.
11109 (completion-annotate-function): Make obsolete.
11110 (minibuffer-completion-help): Adjust accordingly.
11111 Use completion-list-insert-choice-function.
11112 (completion-at-point, completion-help-at-point):
11113 Bind completion-extra-properties.
11114 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
11115 * simple.el (completion-list-insert-choice-function): New var.
11116 (completion-setup-function): Preserve it.
11117 (choose-completion): Pay attention to it, shuffle the code a bit.
11118 (choose-completion-string): New arg `insert-function'.
11120 * textmodes/bibtex.el: Convert to lexical binding.
11121 (bibtex-mode-map): Use completion-at-point.
11122 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
11123 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
11124 (bibtex-complete): Define as obsolete alias.
11125 (bibtex-complete-internal): Remove.
11126 (bibtex-format-entry): Remove unused sub-group in regexp.
11127 * shell.el (shell--command-completion-data)
11128 (shell-environment-variable-completion):
11129 * pcomplete.el (pcomplete-completions-at-point):
11130 * comint.el (comint--complete-file-name-data): Use :exit-function
11131 instead of completion-table-with-terminator so it also works for
11134 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11136 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
11138 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
11141 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
11143 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
11145 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
11146 customization variable and implement: If non-nil, auto-fill will
11147 be inhibited while on topic's header line.
11149 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
11151 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
11152 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
11153 always have a solution in grid size = 5 cases.
11154 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
11155 (5x5-solver-output, 5x5-log-buffer): New vars.
11156 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
11157 Make these variables buffer local to achieve 5x5 multi-session-ness.
11158 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
11159 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
11160 (5x5-solve-suggest): New funs.
11161 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
11162 randomize a grid so that we ensure that there is always a solution.
11163 (5x5-make-random-grid): Allow other movement than flipping.
11165 2011-05-23 Kevin Ryde <user42@zip.com.au>
11167 * emacs-lisp/advice.el (ad-read-advised-function):
11168 Use `function-called-at-point' as the default, if it has
11169 advice and passes PREDICATE.
11171 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11173 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
11174 byte-compile-lambda if it's actually a lambda.
11176 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
11177 Fix function quoting. Use backquote better.
11179 2011-05-22 Yuanle Song <sylecn@gmail.com>
11181 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
11182 matching (Bug#8516).
11184 2011-01-22 Jari Aalto <jari.aalto@cante.net>
11186 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
11187 different face (Bug#8178).
11189 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
11191 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
11192 defface (Bug#8144).
11194 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
11196 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
11197 funcall as well (bug#8712). Warn when performing those conversions.
11198 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
11200 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
11202 2011-05-22 Glenn Morris <rgm@gnu.org>
11204 * files.el (hack-local-variables-prop-line): Small simplifications.
11205 (hack-local-variables, hack-local-variables-prop-line):
11206 If MODE-ONLY, return the mode, rather than just `t'.
11208 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
11210 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
11212 2011-05-21 Glenn Morris <rgm@gnu.org>
11214 * files.el (hack-local-variables-prop-line, hack-local-variables):
11215 If only interested in the mode, don't bother doing the other stuff.
11217 * image-mode.el (image-after-revert-hook):
11218 Redraw all frames on which the image is visible. (Bug#8567)
11220 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
11222 * wid-edit.el (widget-checklist-match-inline):
11223 Fix 2011-04-19 change. (Bug#8649)
11225 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
11227 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
11228 Also allow singlespace after single-letter capitals followed by a dot.
11230 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
11231 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
11233 2011-05-20 Nix <nix@esperi.org.uk>
11235 * files.el (basic-save-buffer-2):
11236 Fix handling of break-hardlink-on-save with non-existent files.
11238 2011-05-19 Deniz Dogan <deniz@dogan.se>
11240 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
11241 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
11243 2011-05-19 Glenn Morris <rgm@gnu.org>
11245 * progmodes/f90.el (f90-type-def-re):
11246 Handle "type, bind(c)". (Bug#8691)
11248 * emacs-lisp/autoload.el (batch-update-autoloads):
11249 Set autoload-excludes by parsing loadup.el rather than Makefiles.
11251 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
11253 * net/tramp.el (tramp-process-actions): Set "first-password-request"
11254 property for the correct connection in case of multihops.
11256 2011-05-18 Glenn Morris <rgm@gnu.org>
11258 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
11259 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
11261 Rationalize calendar handling of day and month abbrev-arrays.
11262 * calendar/calendar.el (calendar-customized-p): New function.
11263 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
11264 (calendar-day-name-array, calendar-month-name-array): Doc fix.
11266 (calendar-abbrev-length, calendar-day-abbrev-array)
11267 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
11268 (calendar-day-abbrev-array, calendar-month-abbrev-array):
11269 Elements may no longer be nil.
11270 (calendar-day-name, calendar-month-name):
11271 Update for changed nature of abbrev arrays.
11272 * calendar/diary-lib.el (diary-name-pattern):
11273 Update for changed nature of abbrev arrays.
11274 (diary-mark-entries-1): Update calendar-make-alist calls.
11275 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
11276 * calendar/cal-html.el (cal-html-day-abbrev-array):
11277 Simply inherit from calendar-day-abbrev-array.
11279 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11281 * progmodes/grep.el (grep-mode): Disable default
11282 compilation-directory-matcher setting (bug#8684).
11284 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
11286 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
11287 instead of "head" and "tail". There were problems with SunOS 5.9,
11288 and it performs better.
11290 2011-05-17 Glenn Morris <rgm@gnu.org>
11292 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
11294 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
11295 Replace obsolete function.
11297 * shell.el (pcomplete-parse-arguments-function): Declare.
11299 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
11300 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
11301 (appt-check): Doc fixes.
11302 (appt-disp-window-function, appt-delete-window-function):
11303 Remove needless special case in custom :type.
11304 (appt-display-count): Default to 0, not nil.
11305 (appt-check): Reset appt-display-count to 0, not nil.
11307 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
11309 * progmodes/python.el (python-font-lock-keywords):
11310 Add the Python 3.X keyword "nonlocal" (bug#8639).
11312 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
11314 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
11316 2011-05-16 Kevin Ryde <user42@zip.com.au>
11318 * info-look.el (makefile-automake-mode): New setups, looking in
11319 automake manual, then makefile-mode.
11320 (makefile-mode): Remove automake manual, have it just in
11321 makefile-automake-mode since there's various things different or
11322 not relevant to plain make.
11323 (makefile-mode): Remove "other-modes" non-existent automake-mode,
11324 believe a hypothetical automake-mode would go to makefile-mode,
11325 not the other way around.
11327 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
11329 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
11330 hunk-end tags (Bug#8672).
11332 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
11333 vc-annotate-show-diff-revision-at-line (Bug#8671).
11335 2011-05-14 Glenn Morris <rgm@gnu.org>
11337 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
11338 in the middle of an existing one with multiple authors. (Bug#8645)
11339 (change-log-font-lock-keywords): Also handle multiple author lines
11340 with leading tabs. (Bug#8644)
11342 * calendar/appt.el (appt-check): Rename some local variables.
11343 Some simplification/reordering.
11345 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
11346 (feedmail-sendmail-f-doesnt-sell-me-out)
11347 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
11348 (feedmail-debug-sit-for, feedmail-queue-express-hook)
11349 (feedmail-queue-runner-message-sender): Set :version.
11350 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
11351 (bbdb-dwim-net-address, vm-mail): Declare.
11352 (feedmail-binmail-gnulinuxish-template):
11353 Rename from feedmail-binmail-linuxish-template.
11354 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
11355 Use insert-buffer-substring.
11357 2011-05-14 Bill Carpenter <bill@carpenter.org>
11359 * mail/feedmail.el (feedmail-patch-level): Increase.
11360 (feedmail-debug): New custom group.
11361 (feedmail-confirm-outgoing-timeout)
11362 (feedmail-sendmail-f-doesnt-sell-me-out)
11363 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
11364 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
11365 (feedmail-sender-line, feedmail-from-line)
11366 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
11367 (feedmail-spray-this-address)
11368 (feedmail-spray-address-fiddle-plex-list)
11369 (feedmail-queue-use-send-time-for-date)
11370 (feedmail-queue-use-send-time-for-message-id)
11371 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
11372 (feedmail-buffer-eating-function):
11374 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
11375 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
11376 (feedmail-message-action-scroll-down): New functions.
11377 (feedmail-queue-directory, feedmail-queue-draft-directory):
11378 Use expand-file-name.
11379 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
11380 Remove C-v help entry.
11381 (feedmail-queue-buffer-file-name): New variable.
11382 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
11383 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
11384 (feedmail-message-action-send-strong, feedmail-message-action-edit)
11385 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
11386 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
11387 (feedmail-message-action-toggle-spray)
11388 (feedmail-run-the-queue-no-prompts)
11389 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
11390 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
11391 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
11392 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
11393 (feedmail-envelope-deducer, feedmail-fiddle-from)
11394 (feedmail-fiddle-sender, feedmail-default-date-generator)
11395 (feedmail-fiddle-date, feedmail-fiddle-message-id)
11396 (feedmail-fiddle-spray-address)
11397 (feedmail-fiddle-list-of-spray-fiddle-plexes)
11398 (feedmail-fiddle-list-of-fiddle-plexes)
11399 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
11400 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
11401 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
11402 Change default. Doc fix.
11403 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
11404 (feedmail-binmail-linuxish-template): New constant.
11405 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
11406 Respect feedmail-sendmail-f-doesnt-sell-me-out.
11407 (feedmail-send-it): Add debug call.
11408 Use feedmail-queue-buffer-file-name, and
11409 feedmail-send-it-immediately-wrapper.
11410 (feedmail-message-action-send): Add debug call.
11411 Use feedmail-send-it-immediately-wrapper.
11412 (feedmail-queue-express-to-queue): Add debug call.
11413 Run feedmail-queue-express-hook.
11414 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
11415 (feedmail-message-action-help-blat):
11416 Rename from feedmail-queue-send-edit-prompt-help-first.
11417 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
11418 Check line-endings. Handle errors better.
11419 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
11420 Doc fix. Add debug call.
11421 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
11422 Use feedmail-queue-send-edit-prompt-inner.
11423 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
11424 (feedmail-queue-send-edit-prompt-inner): New function, extracted
11425 from feedmail-queue-send-edit-prompt.
11426 (feedmail-queue-send-edit-prompt-help)
11427 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
11428 (feedmail-tidy-up-slug): Add debug call.
11429 Respect feedmail-queue-slug-suspect-regexp.
11430 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
11431 (feedmail-dump-message-to-queue): Add debug call.
11432 Expand queue-directory.
11433 (feedmail-dump-message-to-queue): Change message slightly.
11434 Use feedmail-say-chatter.
11435 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
11436 (feedmail-send-it-immediately-wrapper): New function.
11437 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
11438 Insert empty string rather than newline. Handle full-frame case.
11439 Use catch/throw. Use feedmail-say-chatter.
11440 (feedmail-fiddle-from): Try mail-host-address.
11441 (feedmail-default-message-id-generator): Doc fix.
11442 Bind system-time-locale. Handle missing end.
11443 (feedmail-fiddle-x-mailer): Add debug call.
11444 Handle feedmail-x-mailer-line being nil.
11445 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
11446 Add debug call. Use buffer-substring-no-properties.
11447 (feedmail-say-debug, feedmail-say-chatter): New functions.
11448 (feedmail-find-eoh): Give an explicit error.
11450 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
11452 * net/newst-treeview.el (newsticker-treeview-face): Change default
11453 family from helvetica to sans.
11454 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
11455 etc/images/newsticker.
11457 * net/newst-reader.el (newsticker-feed-face): Change default
11458 family from helvetica to sans.
11460 * net/newst-plainview.el (newsticker-new-item-face)
11461 (newsticker-old-item-face, newsticker-immortal-item-face)
11462 (newsticker-obsolete-item-face, newsticker-date-face)
11463 (newsticker-statistics-face): Change default family from
11465 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
11466 etc/images/newsticker.
11468 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
11469 (newsticker--process-auto-mark-filter-match): Tell user about
11472 2011-05-13 Didier Verna <didier@xemacs.org>
11474 Common Lisp indentation improvements on defmethod and lambda-lists.
11475 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
11477 (lisp-lambda-list-keyword-parameter-indentation)
11478 (lisp-lambda-list-keyword-parameter-alignment)
11479 (lisp-lambda-list-keyword-alignment): New customizable user options.
11480 (lisp-indent-defun-method): Improve docstring.
11481 (extended-loop-p): Fix comment.
11482 (lisp-indent-lambda-list-keywords-regexp): New variable.
11483 (lisp-indent-lambda-list): New function.
11484 (lisp-indent-259): Use it.
11485 (lisp-indent-defmethod): Support for more than one
11486 method qualifier and properly indent methods lambda-lists.
11487 (defgeneric): Provide a missing common-lisp-indent-function property.
11489 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11491 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
11492 bounds for the empty string (bug#8667).
11494 2011-05-13 Glenn Morris <rgm@gnu.org>
11496 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
11498 * mail/sendmail.el (sendmail-program): Try executable-find first.
11499 (sendmail-send-it): `sendmail-program' cannot be unbound.
11501 * calendar/appt.el (appt-make-list): Simplify.
11502 (appt-time-msg-list): Doc fix.
11503 (appt-check): Change mode-line message at the time of the appointment.
11505 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
11507 * progmodes/ld-script.el (ld-script-keywords)
11508 (ld-script-builtins): Update keywords list.
11510 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11512 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
11514 * shell.el (shell-completion-vars): New function.
11516 * simple.el (read-shell-command): Use it.
11517 (blink-matching-open): No need for " [...]" in minibuffer-message.
11519 2011-05-12 Glenn Morris <rgm@gnu.org>
11521 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
11522 (appt-check): Simplify.
11524 2011-05-12 Eli Zaretskii <eliz@gnu.org>
11526 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
11527 literal "/dev/null".
11529 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11531 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
11534 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
11536 * progmodes/which-func.el (which-function):
11537 Use add-log-current-defun instead of add-log-current-defun-function,
11538 which might not be defined (Bug#8260).
11540 2011-05-12 Glenn Morris <rgm@gnu.org>
11542 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
11543 Let byte-compile-initial-macro-environment always take precedence.
11545 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11547 * net/rcirc.el: Add support for SSL/TLS connections.
11548 (rcirc-server-alist): New field `encryption'.
11549 (rcirc): Check `encryption' settings.
11550 (rcirc-connect): New arg `encryption'. Use open-network-stream.
11551 Merge make-local-variable into `set'.
11552 (rcirc--connection-open-p): New function.
11553 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
11554 the process is not a network process (e.g. running gnutls-cli).
11555 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
11556 Make rcirc-(en|de)code-coding-system local here.
11557 (rcirc-mode): Merge make-local-variable into `set'.
11558 (rcirc-parent-buffer): Make permanent buffer-local.
11559 (rcirc-multiline-minor-mode): Don't do it here.
11560 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
11561 there's no server buffer.
11563 2011-05-11 Glenn Morris <rgm@gnu.org>
11565 * newcomment.el (comment-kill): Prefix "unused" local.
11567 * term/w32console.el (get-screen-color): Declare.
11569 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
11570 Handle symbol elements of byte-compile-initial-macro-environment.
11572 2011-05-10 Leo Liu <sdl.web@gmail.com>
11574 * bookmark.el (bookmark-bmenu-mode-map):
11575 Bind bookmark-bmenu-search to `/'.
11577 * mail/footnote.el: Convert to utf-8 encoding.
11578 (footnote-unicode-string, footnote-unicode-regexp): New variable.
11579 (Footnote-unicode): New function.
11580 (footnote-style-alist): Add unicode style to the list.
11581 (footnote-style): Doc fix.
11583 2011-05-10 Jim Meyering <meyering@redhat.com>
11585 Fix doubled-word typos.
11586 * international/quail.el (quail-insert-kbd-layout): and and -> and
11587 * kermit.el: and and -> and
11588 * net/ldap.el (ldap-search-internal): to to -> to
11589 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
11590 * progmodes/js.el (js-mode): and and -> and
11591 * textmodes/artist.el (artist-move-to-xy): at at -> at
11592 (artist-draw-region-trim-line-endings): if if -> if
11593 And Safetyc -> Safety.
11594 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
11596 2011-05-10 Glenn Morris <rgm@gnu.org>
11597 Stefan Monnier <monnier@iro.umontreal.ca>
11599 * files.el (hack-one-local-variable-eval-safep):
11600 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
11602 2011-05-10 Glenn Morris <rgm@gnu.org>
11604 * calendar/diary-lib.el (diary-list-entries-hook)
11605 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
11606 (diary-nongregorian-marking-hook, diary-list-entries)
11607 (diary-include-other-diary-files, diary-mark-entries)
11608 (diary-mark-included-diary-files): Doc fixes.
11610 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
11612 * misc.el: Require tabulated-list.el during compilation.
11614 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
11616 * progmodes/compile.el (compilation-start):
11617 Run compilation-filter-hook for the async case too.
11618 (compilation-filter-hook): Doc fix.
11620 2011-05-09 Deniz Dogan <deniz@dogan.se>
11622 * wdired.el: Remove outdated installation comment. Fix usage
11625 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
11627 * misc.el: Implement new command `list-dynamic-libraries'.
11628 (list-dynamic-libraries--loaded-only-p): New variable.
11629 (list-dynamic-libraries--refresh): New function.
11630 (list-dynamic-libraries): New command.
11632 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
11634 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11635 Fix the ant regexp to handle end-line and end-column info from jikes.
11636 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
11637 higher priority to avoid clobbering by gnu.
11639 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
11641 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
11642 if the face has existing theme settings (Bug#8454).
11644 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
11646 * progmodes/perl-mode.el (perl-imenu-generic-expression):
11647 Only match variables declared via `my' or `our' (Bug#8261).
11649 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
11650 special file names `.' and `..' (Bug#8259).
11652 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
11654 * progmodes/grep.el (grep-mode-font-lock-keywords):
11655 Remove buffer-changing entries.
11656 (grep-filter): New function.
11657 (grep-mode): Add it to compilation-filter-hook.
11659 * progmodes/compile.el (compilation-filter-hook)
11660 (compilation-filter-start): New defvars.
11661 (compilation-filter): Call compilation-filter-hook prior to
11662 updating the process mark.
11664 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11666 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
11668 2011-05-07 Eli Zaretskii <eliz@gnu.org>
11670 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
11671 mailclient-send-it even if window-system is nil. (Bug#8595)
11673 * term/w32console.el (terminal-init-w32console):
11674 Call get-screen-color and use its output to set the frame
11675 background-mode. (Bug#8597)
11677 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11679 Make bytecomp.el understand that defmethod defines funs (bug#8631).
11680 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
11682 (defgeneric, eieio--defmethod): Use them.
11683 (eieio-defgeneric): Remove.
11684 (defmethod): Call defgeneric in a way visible to the byte-compiler.
11686 2011-05-07 Glenn Morris <rgm@gnu.org>
11688 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
11689 Use let rather than let*.
11690 (timeclock-find-discrep): Remove unused local.
11692 * calendar/diary-lib.el (diary-comment-start): Doc fix.
11694 * calendar/appt.el (appt-time-msg-list): Doc fix.
11696 2011-05-06 Noah Friedman <friedman@splode.com>
11698 * apropos.el (apropos-print-doc): Only use
11699 emacs-lisp-docstring-fill-column when it is bound to an integer,
11700 per that variable's documentation.
11702 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11704 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
11705 and warnings are not silently discarded (e.g. use -d instead of -P).
11707 2011-05-06 Glenn Morris <rgm@gnu.org>
11709 * calendar/appt.el (appt-message-warning-time): Doc fix.
11710 (appt-warning-time-regexp): New option.
11711 (appt-make-list): Respect appt-message-warning-time.
11713 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
11715 (diary-add-to-list): Strip comments from the displayed string.
11716 (diary-mode): Set comment-start and comment-end.
11718 * vc/diff-mode.el (smerge-refine-subst): Declare.
11719 (diff-refine-hunk): Don't require smerge-mode when compiling.
11721 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
11723 * simple.el (list-processes): Return nil as the docstring says.
11725 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
11727 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
11729 (ange-ftp-write-region, ange-ftp-insert-file-contents)
11730 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
11731 determining of binary transfer. (Bug#7383)
11733 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
11735 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11736 Fix port computation bug. (Bug#8618)
11738 2011-05-05 Glenn Morris <rgm@gnu.org>
11740 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
11742 * simple.el (shell-dynamic-complete-functions)
11743 (comint-dynamic-complete-functions): Declare.
11745 * net/network-stream.el (gnutls-negotiate):
11746 * simple.el (tabulated-list-print): Fix declarations.
11748 * progmodes/gud.el (syntax-symbol, syntax-point):
11749 Remove unnecessary and incorrect declarations.
11751 * emacs-lisp/check-declare.el (check-declare-scan):
11752 Handle byte-compile-initial-macro-environment in bytecomp.el
11754 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11756 Fix earlier half-done eieio-defmethod change (bug#8338).
11757 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
11758 Streamline and change calling convention.
11759 (defmethod): Adjust accordingly and simplify.
11760 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
11761 new eieio--defmethod.
11762 (slot-boundp): Minor CSE simplification.
11764 2011-05-05 Milan Zamazal <pdm@zamazal.org>
11766 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
11767 (glasses-make-readable): Use glasses-separate-capital-groups.
11769 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
11771 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
11772 (warning-series): Doc fix.
11773 (display-warning): Don't try to create the buffer if we just found it.
11775 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
11777 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
11778 (autoload-find-generated-file): New function.
11779 (generate-file-autoloads): Bind generated-autoload-file to
11781 (update-file-autoloads, update-directory-autoloads):
11782 Use autoload-find-generated-file. If called interactively, prompt for
11783 output file (Bug#7989).
11784 (batch-update-autoloads): Doc fix.
11786 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
11788 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
11790 2011-05-04 Glenn Morris <rgm@gnu.org>
11792 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
11793 function, so it follows changes in calendar-date-style.
11794 (diary-fancy-date-matcher): New function.
11795 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
11796 (diary-fancy-font-lock-fontify-region-function):
11797 Use diary-fancy-date-pattern as a function.
11799 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
11800 non-numbers for `year' etc pseudo-variables. (Bug#8583)
11802 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
11804 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
11805 instead of positional arguments. Allow :keylist and :crlfiles
11807 (open-gnutls-stream): Call it.
11809 * net/network-stream.el (network-stream-open-starttls): Adjust to
11810 call `gnutls-negotiate' with :process and :hostname arguments.
11812 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11814 * minibuffer.el (completion--message): New function.
11815 (completion--do-completion, minibuffer-complete)
11816 (minibuffer-force-complete, minibuffer-complete-word): Use it.
11817 (completion--do-completion): Don't ignore completion-auto-help when in
11820 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
11821 internal encoding (e.g. tibetan zero is not whitespace).
11822 (global-whitespace-mode): Prefer save-current-buffer.
11823 (whitespace-trailing-regexp): Remove useless save-match-data.
11824 (whitespace-empty-at-bob-regexp): Minor simplification.
11826 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
11828 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
11830 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11832 * textmodes/ispell.el (ispell-add-per-file-word-list):
11833 Use `concat' to create string for insertion.
11835 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11837 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
11838 Avoid open-line which runs post-self-insert-hook.
11839 (bibtex-fill-entry): Remove unused `end' var.
11841 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
11843 * textmodes/ispell.el (ispell-add-per-file-word-list):
11844 Protect against `nil' value of `comment-start' (Bug#8579).
11846 2011-05-03 Leo Liu <sdl.web@gmail.com>
11848 * isearch.el (isearch-yank-pop): New command.
11849 (isearch-mode-map): Bind it to `M-y'.
11850 (isearch-forward): Mention it.
11852 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11854 * simple.el (minibuffer-complete-shell-command): Remove.
11855 (minibuffer-local-shell-command-map): Use completion-at-point.
11856 (read-shell-command): Setup completion vars here instead.
11857 (read-expression-map): Bind TAB to symbol completion.
11859 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
11860 error directly rather via storing it into `results'.
11862 2011-05-02 Leo Liu <sdl.web@gmail.com>
11864 * vc/diff.el: Fix description.
11866 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11868 * server.el (server-eval-at): New function.
11870 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11872 * net/network-stream.el (open-network-stream): Take a :nowait
11873 parameter and pass it on to `make-network-process'.
11874 (network-stream-open-plain): Ditto.
11876 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
11878 * faces.el (face-spec-set-match-display): Don't match toolkit
11879 options on terminal frames.
11881 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
11883 * progmodes/pascal.el: Use lexical binding.
11884 (pascal-mode-map): Remove author preferences.
11886 * pcomplete.el (pcomplete-std-complete): Don't abuse
11887 completion-at-point.
11889 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
11891 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
11892 removing code that has been dead since 1991 or so.
11894 * startup.el (command-line): When warning about "_emacs", use a
11895 delayed warning to allow the user to filter it out.
11897 2011-04-28 Deniz Dogan <deniz@dogan.se>
11899 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
11900 user has not joined.
11902 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11904 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
11905 aren't any completions at point.
11907 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
11909 * subr.el (display-delayed-warnings): New function.
11910 (delayed-warnings-hook): New variable.
11912 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11914 * minibuffer.el (completion-at-point, completion-help-at-point):
11915 Don't presume that a given completion-at-point-function will always
11916 use the same calling convention.
11918 * pcomplete.el (pcomplete-completions-at-point):
11919 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
11920 pcomplete-seen is non-nil.
11921 (pcomplete-comint-setup): Also recognize the new comint/shell
11922 completion functions.
11923 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
11924 pcomplete-seen is non-nil.
11926 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
11928 * calendar/icalendar.el (diary-lib): Add require statement.
11929 (icalendar--create-uid): Read out a uid from a text-property on
11930 the first character in the entry. This allows for code to add its
11931 own uid to the entry.
11932 (icalendar--convert-float-to-ical): Add export of
11933 `diary-float'-entries save for those with the optional DAY
11936 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
11938 * subr.el (shell-quote-argument): Use alternate escaping strategy
11939 when we spot a variable reference in a string.
11941 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
11943 * cus-start.el (all): Define customization for debug-on-event.
11945 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
11947 * subr.el (shell-quote-argument): Escape correctly under Windows.
11949 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11951 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
11953 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
11955 * net/tramp.el (tramp-process-actions): Add POS argument.
11956 Delete region between POS and (pos).
11958 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11959 Use `nil' position in `tramp-process-actions' call.
11960 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
11962 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
11963 position in `tramp-process-actions' call.
11965 * net/trampver.el: Update release number.
11967 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11969 * custom.el (defcustom): Obey lexical-binding.
11971 Fix octave-inf completion problems reported by Alexander Klimov.
11972 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
11973 Inherit from octave-mode-syntax-table.
11974 (inferior-octave-mode): Set info-lookup-mode.
11975 (inferior-octave-completion-at-point): New function.
11976 (inferior-octave-complete): Use it and completion-in-region.
11977 (inferior-octave-dynamic-complete-functions): Use it as well, and use
11978 comint-filename-completion.
11979 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
11980 symbol elements which shouldn't be word elements.
11981 (octave-font-lock-keywords, octave-beginning-of-defun)
11982 (octave-function-header-regexp): Adjust regexps accordingly.
11983 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
11985 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
11987 * net/gnutls.el (gnutls-errorp): Declare before first use.
11989 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
11991 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
11992 verify-error, and verify-hostname-error parameters. Check whether
11993 default trustfile exists before going to use it. Add missing
11994 argument to gnutls-message-maybe call. Return value.
11995 Reported by Claudio Bley <claudio.bley@gmail.com>.
11996 (open-gnutls-stream): Add usage example.
11998 * net/network-stream.el (network-stream-open-starttls): Give host
11999 parameter to `gnutls-negotiate'.
12000 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
12001 * subr.el (shell-quote-argument): Escape correctly under Windows.
12003 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
12005 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
12006 Use correct match group (bug#8438).
12008 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
12010 * emacs-lisp/package.el (package-built-in-p): Fix typo.
12011 (package-menu--generate): New arg specifying packages to show.
12012 (package-menu-refresh, package-menu-execute, list-packages):
12014 (package-show-package-list): New function, replacing deleted
12015 package--list-packages (renamed because it is non-internal).
12017 * finder.el (finder-list-matches): Use package-show-package-list
12018 instead of deleted package--list-packages.
12020 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
12021 Based on a previous implementation by Juanma Barranquero (Bug#8366).
12022 (vc-annotate-mode-map): Bind it to RET.
12024 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
12026 * progmodes/etags.el (next-file): Don't use set-buffer to change
12027 buffers (Bug#8478).
12029 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
12031 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
12033 * apropos.el (apropos-label-face): Avoid variable-pitch face.
12034 (apropos-accumulator): Doc fix.
12035 (apropos-function, apropos-macro, apropos-command)
12036 (apropos-variable, apropos-face, apropos-group, apropos-widget)
12037 (apropos-plist): Add face property.
12038 (apropos-symbols-internal): Fix indentation.
12039 (apropos-print): Simplify help, and recognize apropos-multi-type.
12040 (apropos-print-doc): Use button-type-get to extract the button's
12041 face property. Fill docstring (Bug#8352).
12043 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
12045 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
12047 * play/mpuz.el (mpuz-silent): Doc fix.
12048 (mpuz-mode-map): Use mapc.
12049 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
12050 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
12051 Fix typos in docstrings.
12053 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
12054 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
12056 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
12058 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
12060 * minibuffer.el (completion--do-completion): Avoid the "Next char
12061 not unique" prompt if icomplete-mode is enabled (Bug#5849).
12063 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
12064 mouse-2 into unread-command-events, it is interpreted correctly.
12066 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
12067 (image-toggle-display): Doc fix.
12069 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
12071 * textmodes/page.el (what-page): Use line-number-at-pos to
12072 calculate line number (Bug#6825).
12074 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
12076 * eshell/esh-mode.el (find-tag-interactive): Declare function.
12077 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
12078 Pass argument NO-DEFAULT to `find-tag-interactive'.
12080 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
12082 Lexical-binding cleanup.
12084 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
12085 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
12086 * progmodes/ada-prj.el (ada-prj-initialize-values)
12087 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
12088 (ada-prj-show-value):
12089 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
12090 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
12091 (antlr-invalidate-context-cache, antlr-options-menu-filter)
12092 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
12093 * progmodes/bug-reference.el (bug-reference-push-button):
12094 * progmodes/fortran.el (fortran-line-length):
12095 * progmodes/glasses.el (glasses-change):
12096 * progmodes/octave-mod.el (octave-fill-paragraph):
12097 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
12098 (python-pdbtrack-grub-for-buffer, python-sentinel):
12099 * progmodes/sql.el (sql-save-connection):
12100 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
12101 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
12102 Mark unused parameters.
12104 * progmodes/compile.el (compilation--flush-directory-cache)
12105 (compilation--flush-parse, compile-internal): Mark unused parameters.
12106 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
12107 (compilation-next-error-function): Remove unused variable `timestamp'.
12109 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
12110 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
12112 * progmodes/dcl-mode.el (dcl-end-of-command):
12113 Remove unused variable `start'.
12114 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
12115 (dcl-option-value-basic, dcl-option-value-offset)
12116 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
12117 Mark unused parameters.
12118 (dcl-save-local-variable): Remove unused variable `val'.
12121 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
12122 Mark unused parameters.
12123 (delphi-ignore-changes): Move before first use.
12124 (delphi-charset-token-at): Remove unused variable `start'.
12125 (delphi-else-start): Remove unused variable `if-count'.
12126 (delphi-comment-block-start, delphi-comment-block-end):
12127 Remove unused variable `kind'.
12128 (delphi-indent-line): Remove unused variable `new-point'.
12130 * progmodes/ebrowse.el (ebrowse-files-list)
12131 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
12132 Mark unused parameters. Don't quote `lambda'.
12133 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
12134 Don't quote `lambda'.
12135 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
12136 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
12137 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
12138 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
12139 Use `ignore-errors'.
12140 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
12141 (ebrowse-view/find-file-and-search-pattern)
12142 (ebrowse-view/find-member-declaration/definition):
12143 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
12144 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
12145 Rename parameter PREFIX-ARG to PREFIX.
12146 (ebrowse-tags-read-name): Remove unused variables `start' and
12148 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
12151 * progmodes/etags.el (local-find-tag-hook): Declare.
12152 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
12153 Mark unused parameters.
12155 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
12156 (executable-interpret): Mark unused parameter.
12158 * progmodes/flymake.el (flymake-process-sentinel)
12159 (flymake-after-change-function)
12160 (flymake-create-temp-with-folder-structure)
12161 (flymake-get-include-dirs-dot): Mark unused parameters.
12162 (flymake-safe-delete-directory): Remove unused variable `err'.
12164 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
12165 (speedbar-timer-fn, speedbar-line-text)
12166 (speedbar-change-expand-button-char, speedbar-delete-subblock)
12167 (speedbar-center-buffer-smartly): Declare functions.
12168 (gdb-find-watch-expression): Remove unused variable `array'.
12169 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
12170 (gdb-starting): Mark unused parameters.
12171 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
12172 (gdb-table-string): Remove unused variable `res'.
12173 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
12174 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
12175 (gdb-display-buffer): Remove unused variable `cur-size'.
12177 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
12178 allow lexical-binding compilation.
12179 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
12180 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
12181 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
12182 Mark unused parameters.
12183 (gud-gdb-marker-filter): Remove unused variable `match'.
12184 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
12185 lambda expressions and funcall them, instead of using `fset'.
12187 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
12188 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
12190 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
12191 variable `header-beg'; use `let'.
12193 * progmodes/icon.el (indent-icon-exp): Remove unused variables
12194 `restart', `last-sexp' and `at-do'.
12196 * progmodes/js.el (js--debug): Mark unused parameter.
12197 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
12198 (js--splice-into-items): Remove unused variable `item'.
12199 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
12201 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
12202 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
12203 (makefile-complete): Remove unused variable `try'.
12204 (makefile-fill-paragraph, makefile-match-function-end):
12205 Mark unused parameters.
12207 * progmodes/octave-inf.el (inferior-octave-complete):
12208 Remove unused variable `proc'.
12209 (inferior-octave-output-digest): Mark unused parameter.
12211 * progmodes/perl-mode.el (perl-calculate-indent):
12212 Remove unused variable `err'.
12214 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
12215 (prolog-indent-line): Mark unused parameters.
12216 (prolog-indent-line): Remove unused variable `beg'.
12218 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
12219 (reporter-dont-compact-list): Declare.
12221 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
12222 Remove unused variable `char'.
12223 (sh-debug): Mark unused parameter.
12224 (sh-get-indent-info): Remove unused variable `start'.
12225 (sh-calculate-indent): Remove unused variable `var'.
12227 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
12228 (simula-electric-keyword): Remove unused variable `null'.
12229 (simula-search-backward, simula-search-forward): Remove unused
12230 variables `begin' and `end'.
12232 * progmodes/vera-mode.el (vera-guess-basic-syntax):
12233 Remove unused variable `pos'.
12234 (vera-electric-tab, vera-comment-uncomment-region):
12235 Mark unused parameters.
12236 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
12238 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
12240 * emacs-lisp/package.el (package--builtins, package-alist)
12241 (package-load-descriptor, package-built-in-p, package-activate)
12242 (define-package, package-installed-p)
12243 (package-compute-transaction, package-buffer-info)
12244 (package--push): Doc fix. Distinguish more clearly between
12245 version strings and version lists.
12247 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
12249 Lexical-binding cleanup.
12251 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
12252 (5x5-make-mutate-best):
12253 * play/fortune.el (fortune-in-buffer):
12254 * play/gomoku.el (gomoku-init-display):
12255 * play/solitaire.el (solitaire, solitaire-do-check):
12256 * play/tetris.el (tetris-default-update-speed-function):
12257 Mark unused parameters.
12259 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
12260 (bubbles--shift): Remove unused variable `char-org'.
12261 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
12262 (bubbles--show-images): Remove unused variable `char'.
12264 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
12265 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
12266 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
12267 (decipher-analyze-buffer): Use ?\s.
12268 (decipher-make-checkpoint): Remove unused variable `mapping'.
12270 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
12272 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
12273 Remove unused variable `result'; use `let'.
12275 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
12276 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
12277 (gametree-children-shown-p, gametree-compute-reduced-score):
12278 Use `ignore-errors'.
12280 * play/handwrite.el (ps-lpr-switches): Declare.
12281 (handwrite): Remove unused variables `pmin' and `lastp'.
12283 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
12285 * play/landmark.el (landmark-init-display)
12286 (landmark-update-naught-weights): Mark unused parameters.
12287 (landmark-y): Remove unused variable `noise'. Simplify.
12288 (landmark-human-plays): Remove unused variable `score'.
12290 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
12291 (mpuz-try-proposal): Remove unused variable `game'.
12293 * play/zone.el (life-patterns): Declare.
12295 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
12297 * vc/vc.el (ediff-vc-internal): Declare function.
12299 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12301 * shell.el: Use lexical-binding and std completion UI.
12302 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
12303 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
12304 comint-preoutput-filter-functions rather than on
12305 comint-output-filter-functions.
12306 (shell-command-completion, shell--command-completion-data)
12307 (shell-filename-completion, shell-environment-variable-completion)
12308 (shell-c-a-p-replace-by-expanded-directory): New functions.
12309 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
12310 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
12311 (shell-dynamic-complete-environment-variable): Use them.
12312 (shell-dynamic-complete-as-environment-variable)
12313 (shell-dynamic-complete-as-command): Remove.
12314 (shell-match-partial-variable): Match past point.
12315 * comint.el: Clean up use of completion-at-point-functions.
12316 (comint-completion-at-point): New function.
12317 (comint-mode): Use it completion-at-point-functions.
12318 (comint-dynamic-complete): Make it obsolete.
12319 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
12320 (comint-c-a-p-replace-by-expanded-history): New function.
12321 (comint-dynamic-complete-functions)
12322 (comint-replace-by-expanded-history): Use it.
12323 * minibuffer.el (completion-table-with-terminator): Allow dynamic
12324 termination strings. Try harder to avoid second try-completion.
12325 (completion-in-region-mode-map): Disable bindings that don't work yet.
12327 * comint.el: Use lexical-binding. Require CL.
12328 (comint-dynamic-complete-functions): Use comint-filename-completion.
12329 (comint-completion-addsuffix): Tweak custom type.
12330 (comint-filename-completion, comint--common-suffix)
12331 (comint--common-quoted-suffix, comint--table-subvert)
12332 (comint--complete-file-name-data): New functions.
12333 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
12334 (comint-dynamic-list-filename-completions): Use them.
12335 (comint-dynamic-simple-complete): Make obsolete.
12337 * minibuffer.el (completion-in-region-mode):
12338 Keep completion-in-region-mode--predicate global.
12339 (completion-in-region--postch):
12340 Assume completion-in-region-mode--predicate is not null.
12342 * progmodes/flymake.el (flymake-start-syntax-check-process):
12343 Obey `dir'. Simplify.
12345 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
12346 we're in VC after all.
12348 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
12350 * vc/vc.el (vc-diff-build-argument-list-internal)
12351 (vc-version-ediff, vc-ediff): New commands.
12352 (vc-version-diff): Use vc-diff-build-argument-list-internal.
12354 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12356 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
12359 * obsolete/erc-hecomplete.el: Make obsolete.
12360 * obsolete/: Standardize obsolescence info in the header.
12362 2011-04-20 Glenn Morris <rgm@gnu.org>
12364 * calendar/solar.el (solar-horizontal-coordinates):
12365 Use the longitude argument rather than `calendar-longitude'.
12366 (solar-date-next-longitude): Remove unused locals.
12368 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12370 * whitespace.el: New version 13.2.1.
12372 2011-04-20 felix <EmacsWiki> (tiny change)
12374 * whitespace.el (global-whitespace-mode): Keep highlight when
12375 switching between major modes on a file.
12377 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12379 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
12380 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
12381 multi-line comments as well.
12383 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
12385 Lexical-binding cleanup.
12387 * arc-mode.el (archive-mode-revert):
12388 * cmuscheme.el (scheme-interactively-start-process):
12389 * custom.el (custom-initialize-delay):
12390 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
12391 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
12392 * emacs-lock.el (emacs-lock-clear-sentinel):
12393 * ezimage.el (defezimage):
12394 * follow.el (follow-avoid-tail-recenter):
12395 * fringe.el (set-fringe-mode-1):
12396 * generic-x.el (bat-generic-mode-compile):
12397 * help-mode.el (help-info-variable, help-do-xref)
12398 (help-mode-revert-buffer):
12399 * help.el (view-emacs-todo):
12400 * iswitchb.el (iswitchb-completion-help):
12401 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
12402 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
12403 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
12404 * locate.el (locate-update):
12405 * longlines.el (longlines-encode-region)
12406 (longlines-after-change-function):
12407 * outline.el (outline-isearch-open-invisible):
12408 * ps-def.el (declare-function, charset-dimension, char-width)
12410 * ps-mule.el (ps-mule-plot-string):
12411 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
12412 (recentf-edit-list-select, recentf-edit-list-validate)
12413 (recentf-open-files-action):
12414 * rect.el (delete-whitespace-rectangle-line)
12415 (rectangle-number-line-callback):
12416 * register.el (window-configuration-to-register)
12417 (frame-configuration-to-register):
12418 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
12419 * select.el (xselect-convert-to-string, xselect-convert-to-length)
12420 (xselect-convert-to-targets, xselect-convert-to-delete)
12421 (xselect-convert-to-filename, xselect-convert-to-charpos)
12422 (xselect-convert-to-lineno, xselect-convert-to-colno)
12423 (xselect-convert-to-os, xselect-convert-to-host)
12424 (xselect-convert-to-user, xselect-convert-to-class)
12425 (xselect-convert-to-name, xselect-convert-to-integer)
12426 (xselect-convert-to-atom, xselect-convert-to-identity):
12427 * subr.el (declare, ignore, process-kill-without-query)
12428 (text-clone-maintain):
12429 * terminal.el (te-get-char, te-tic-sentinel):
12430 * tool-bar.el (tool-bar-make-keymap):
12431 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
12432 * type-break.el (type-break-mode, type-break-noninteractive-query):
12433 * view.el (View-back-to-mark):
12434 * wid-browse.el (widget-browse-action, widget-browse-widget)
12435 (widget-browse-widgets, widget-browse-sexp):
12436 * widget.el (define-widget-keywords):
12437 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
12438 Mark unused parameters.
12440 * align.el (align-adjust-col-for-rule): Mark unused parameter.
12441 (align-areas): Remove unused variable `look'.
12442 (align-region): Remove unused variables `real-end' and `pos-list'.
12444 * apropos.el (apropos-score-doc): Remove unused variable `i'.
12446 * bindings.el (mode-line-modified, mode-line-remote):
12447 Mark unused parameters.
12448 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
12450 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
12451 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
12453 * comint.el (comint-history-isearch-pop-state)
12454 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
12455 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
12456 (comint-substitute-in-file-name): Doc fix.
12458 * completion.el (cmpl-statistics-block): Mark unused parameter.
12459 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
12460 (save-completions-to-file, load-completions-from-file):
12461 Remove unused local variable `e'.
12463 * composite.el (compose-chars): Remove unused variable `len'.
12464 (lgstring-insert-glyph): Remove unused variable `g'.
12465 (compose-glyph-string): Remove unused variables `ascent',
12466 `descent', `lbearing' and `rbearing'.
12467 (compose-glyph-string-relative): Remove unused variables
12468 `lbearing', `rbearing' and `wadjust'.
12469 (compose-gstring-for-graphic): Remove unused variables `header',
12470 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
12471 (compose-gstring-for-terminal): Remove unused variables `header'
12472 and `nchars'. Use `let', not `let*'.
12474 * cus-edit.el (Custom-set, Custom-save, custom-reset)
12475 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
12476 (Custom-buffer-done, custom-buffer-create-internal)
12477 (custom-browse-visibility-action, custom-browse-group-tag-action)
12478 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
12479 (widget-magic-mouse-down-action, custom-toggle-parent)
12480 (custom-add-parent-links, custom-toggle-hide-variable)
12481 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
12482 (custom-toggle-hide-face, face, hook, custom-group-link-action)
12483 (custom-face-menu-create, custom-variable-menu-create, get)
12484 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
12485 (custom-reset-standard-save-and-update): Remove unused variable `value'.
12486 (customize-apropos): Remove unused variable `tests'.
12487 (custom-group-value-create): Remove unused variable `hidden-p'.
12488 (sort-fold-case): Declare.
12490 * cus-theme.el (custom-reset-standard-faces-list)
12491 (custom-reset-standard-variables-list): Declare.
12492 (customize-create-theme, custom-theme-revert, custom-theme-write)
12493 (custom-theme-choose-mode, customize-themes, custom-theme-save):
12494 Mark unused parameters.
12496 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
12498 * delim-col.el (delimit-columns-max): Move defvar before first use.
12500 * descr-text.el (describe-char-categories): Don't quote `lambda'.
12501 (describe-char): Don't quote `lambda'. Mark unused parameter.
12503 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
12504 (auto-insert): Declare.
12505 (desktop-restore-file-buffer): Rename desktop-* parameters;
12507 (desktop-create-buffer): Rename desktop-* parameters and bind them.
12508 (desktop-buffer): Rename desktop-* parameters.
12510 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
12511 (dframe-reposition-frame-xemacs, dframe-help-echo)
12512 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
12513 Mark unused parameters.
12515 * dired-aux.el (backup-extract-version-start, overwrite-query)
12516 (overwrite-backup-query, rename-regexp-query)
12517 (rename-non-directory-query): Declare.
12518 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
12519 (dired-add-entry): Remove unused variable `orig-file-name'.
12520 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
12521 Use parameter PRESERVE-TIME instead of accessing dynamic variable
12522 `dired-copy-preserve-time' directly.
12523 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
12524 (dired-insert-subdir-newpos): Rename unused variable `pos'.
12526 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
12527 (dired-virtual-revert, dired-make-relative-symlink):
12528 Mark unused parameters.
12529 (manual-program): Declare.
12530 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
12531 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
12532 wrapped in `with-no-warnings' to avoid replacing one warning by another.
12534 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
12536 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
12538 * echistory.el (electric-history-in-progress, Helper-return-blurb):
12541 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
12543 * electric.el (Electric-command-loop): Rename parameter
12544 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
12546 * expand.el (expand-in-literal): Remove unused variable `here'.
12548 * facemenu.el (facemenu-add-new-color):
12549 Remove unused variable `docstring'.
12551 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
12552 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
12553 (face-attr-construct): Mark unused parameter. Doc fix.
12554 (read-color): Remove unused variable `hex-string'.
12556 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
12557 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
12558 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
12559 (display-buffer-other-frame): Remove unused variable `old-window'.
12560 (kill-buffer-hook): Declare.
12561 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
12562 Mark unused parameters.
12563 (after-find-file): Pass 1 to `auto-save-mode', not t.
12565 * files-x.el (auto-insert): Declare.
12566 (modify-file-local-variable-prop-line): Remove unused variable `val'.
12568 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
12569 variable `buf'. Mark unused parameter.
12570 (find-lisp-insert-directory): Mark unused parameter.
12572 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
12573 (format-encode-region): Remove unused variables `cur-buf' and `result'.
12574 (format-common-tail): Remove, unused.
12575 (format-deannotate-region): Remove unused variable `loc'.
12576 (format-annotate-region): Remove unused variable `p'.
12577 (format-annotate-single-property-change): Remove unused variables
12578 `default' and `tail'.
12580 * forms.el (read-file-filter): Declare.
12581 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
12583 * frame.el (frame-creation-function-alist): Mark unused parameter.
12584 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
12586 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
12587 Remove unused parameters.
12588 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
12589 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
12591 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
12592 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
12593 (hfy-prepare-tag-map): Mark unused parameters.
12594 (htmlfontify-buffer): Use `called-interactively-p'.
12596 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
12597 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
12598 (ibuffer-do-occur): Mark unused parameters.
12599 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
12600 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
12602 * ibuffer.el: Don't quote `lambda'.
12603 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
12604 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
12605 Mark unused parameters.
12607 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
12608 (ido-completing-read): Mark unused parameters.
12609 (ido-copy-current-word): Mark unused parameters;
12610 remove unused variable `name'.
12611 (ido-sort-merged-list): Remove unused parameter `dirs'.
12613 * ielm.el (ielm-input-sender): Mark unused parameter.
12614 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
12615 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
12616 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
12617 `ielm-string' as a dynamic variable accessible from the IELM prompt.
12618 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
12620 * image-dired.el (image-dired-display-thumbs): Remove unused
12621 variables `curr-file' and `count'.
12622 (image-dired-remove-tag): Remove unused variable `start'.
12623 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
12624 variable `curr-file'
12625 (image-dired-rotate-original): Remove unused variable `temp-file'.
12626 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
12627 Remove unused variable `file'.
12628 (image-dired-gallery-generate): Remove unused variable `curr'.
12629 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
12631 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
12633 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
12635 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
12637 * isearch.el (minibuffer-history-symbol): Declare.
12638 (isearch-edit-string): Remove unused variable `err'.
12639 (isearch-message-prefix, isearch-message-suffix):
12640 Mark unused parameters.
12642 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
12644 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
12646 * makesum.el (double-column): Remove unused variable `cnt'.
12648 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
12649 (ido-ignore-item-temp-list): Declare.
12651 * mouse-drag.el (mouse-drag-throw): Remove unused variables
12652 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
12653 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
12654 (mouse-drag-drag): Remove unused variables `mouse-delta' and
12657 * mouse-sel.el (mouse-extend-internal):
12658 Remove unused variable `orig-window-frame'.
12660 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
12661 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
12662 Move declarations before first use.
12663 (pcomplete-opt): Mark unused parameters; doc fix.
12665 * proced.el (proced-revert): Mark unused parameter.
12666 (proced-send-signal): Remove unused variable `err'.
12668 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
12669 Rename parameter PREFIX-ARG to ARG.
12670 (ps-basic-plot-string, ps-basic-plot-whitespace):
12671 Mark unused parameters.
12673 * replace.el (replace-count): Define.
12674 (occur-revert-function): Mark unused parameters.
12675 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
12676 (isearch-case-fold-search, isearch-string): Declare.
12677 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
12678 bind `case-fold-search'. Remove unused variables `beg' and `end',
12680 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
12681 COUNT and bind `replace-count'.
12682 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
12685 * savehist.el (print-readably, print-string-length): Declare.
12687 * shadowfile.el (shadow-expand-cluster-in-file-name):
12688 Remove unused variable `cluster'.
12689 (shadow-copy-file): Remove unused variable `i'.
12690 (shadow-noquery, shadow-clusters, shadow-site-cluster)
12691 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
12692 (shadow-define-literal-group, shadow-define-regexp-group)
12693 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
12695 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
12696 (shell): Use `called-interactively-p'.
12697 (shell-directory-tracker): Remove unused variable `chdir-failure'.
12699 * simple.el (compilation-context-lines, comint-file-name-quote-list)
12700 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
12701 (delete-backward-char): Remove unused variable `ocol'.
12702 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
12703 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
12704 (event-apply-hyper-modifier, event-apply-shift-modifier)
12705 (event-apply-control-modifier, event-apply-meta-modifier):
12706 Mark unused parameters.
12707 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
12708 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
12710 * speedbar.el (speedbar-ignored-directory-expressions)
12711 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
12712 (speedbar-find-file, speedbar-dir-follow)
12713 (speedbar-directory-buttons-follow, speedbar-tag-find)
12714 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
12715 (speedbar-buffers-line-directory, speedbar-buffer-click):
12716 Mark unused parameters.
12717 (speedbar-tag-file): Remove unused variable `mode'.
12718 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
12720 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
12722 * talk.el (talk): Remove unused variable `display'.
12724 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
12725 (tar-write-region-annotate): Mark unused parameter.
12727 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
12728 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
12729 Declare them, wrapped in `with-no-warnings' to avoid replacing one
12730 warning by another.
12732 * time-stamp.el (time-stamp-string-preprocess):
12733 Remove unused variable `require-padding'.
12735 * tree-widget.el (widget-glyph-enable): Declare.
12736 (tree-widget-action): Mark unused parameter.
12738 * w32-fns.el (x-get-selection): Mark unused parameter.
12739 (autoload-make-program, generated-autoload-file): Declare.
12741 * wdired.el (wdired-revert): Mark unused parameters.
12742 (wdired-xcase-word): Remove unused variable `err'.
12744 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
12745 (whitespace-help-scroll): Remove unused variable `data-help'.
12747 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
12748 (widget-image-insert, widget-after-change, default)
12749 (widget-default-format-handler, widget-default-notify)
12750 (widget-default-prompt-value, widget-info-link-action)
12751 (widget-url-link-action, widget-function-link-action)
12752 (widget-variable-link-action, widget-file-link-action)
12753 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
12754 (widget-field-prompt-internal, widget-field-action, widget-field-match)
12755 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
12756 (widget-insert-button-action, widget-delete-button-action, visibility)
12757 (widget-documentation-link-action, widget-documentation-string-action)
12758 (widget-const-prompt-value, widget-regexp-match, symbol)
12759 (widget-coding-system-prompt-value)
12760 (widget-key-sequence-value-to-external, sexp)
12761 (widget-sexp-value-to-internal, character, vector, cons)
12762 (widget-choice-prompt-value, widget-boolean-prompt-value)
12763 (widget-color--choose-action): Mark unused parameters.
12764 (widget-item-match-inline, widget-choice-match-inline)
12765 (widget-checklist-match, widget-checklist-match-inline)
12766 (widget-group-match): Rename parameter VALUES to VALS.
12767 (widget-field-value-set): Remove unused variable `size'.
12768 (widget-color-action): Remove unused variables `value' and `start'.
12770 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
12771 variable `dir'. Doc fix.
12772 (windmove-find-other-window): Don't pass it.
12774 * window.el (count-windows): Mark unused parameter.
12775 (bw-adjust-window): Remove unused variable `err'.
12777 * woman.el (woman-file-name): Remove unused variable `default'.
12778 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
12779 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
12780 (global-font-lock-mode): Declare.
12781 (woman-decode-region): Mark unused parameter.
12782 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
12784 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
12785 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
12786 (x-dnd-handle-moz-url): Remove unused variable `title'.
12787 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
12789 * xml.el (xml-parse-tag, xml-parse-attlist):
12790 Remove unused variable `pos'.
12792 2011-04-19 Glenn Morris <rgm@gnu.org>
12794 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
12795 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
12796 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
12797 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
12798 * calendar/cal-html.el (cal-html-insert-minical):
12799 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
12800 (calendar-mark-date-pattern):
12801 Prefix "unused" locals.
12803 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
12804 optional argument `style'.
12806 * calendar/appt.el (appt-make-list):
12807 * calendar/cal-china.el (calendar-chinese-date-string):
12808 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
12809 (diary-hebrew-yahrzeit):
12810 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
12811 * calendar/calendar.el (calendar-generate-window):
12812 * calendar/time-date.el (time-to-days):
12813 Remove unused local variables.
12815 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
12817 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
12818 glyphless-char-display table.
12819 (tabulated-list-glyphless-char-display): New var.
12821 2011-04-18 Sam Steingold <sds@gnu.org>
12823 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
12824 to acknowledgments.
12826 2011-04-17 Glenn Morris <rgm@gnu.org>
12828 * calendar/diary-lib.el (diary-sexp-entry):
12829 * calendar/holidays.el (holiday-sexp):
12830 Set debug-on-error rather than the removed stack-trace-on-error.
12832 2011-04-16 Glenn Morris <rgm@gnu.org>
12834 * progmodes/f90.el: Use lexical-binding.
12835 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
12837 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12839 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
12840 (mail-mode): Setup mailalias completion here instead.
12841 * mail/mailalias.el: Use lexical-binding.
12842 (pattern, mailalias-done): Declare dynamic.
12843 (mail-completion-at-point-function): New function, from mail-complete.
12844 (mail-complete): Use it.
12845 (mail-completion-expand): New function.
12846 (mail-get-names): Use it.
12847 (mail-directory, mail-directory-process, mail-directory-stream):
12848 Don't use `pattern' for lexically bound arg.
12850 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
12852 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
12853 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
12854 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
12856 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
12857 (byte-save-window-excursion, byte-temp-output-buffer-setup)
12858 (byte-interactive-p): Define them again, for use when inlining
12861 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
12863 * loadup.el: Use `string-to-number', not `string-to-int'.
12865 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12867 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
12868 gud-gdb-complete-command.
12869 (gud-gdb-completions): New function, from gud-gdb-complete-command.
12870 (gud-gdb-completion-at-point): New function.
12871 (gud-gdb-completions): Remove.
12873 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
12875 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
12876 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
12877 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
12878 whether `executable-find' is bound.
12880 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
12882 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12884 * minibuffer.el (completion-in-region-mode-predicate)
12885 (completion-in-region-mode--predicate): New vars.
12886 (completion-in-region, completion-in-region--postch)
12887 (completion-in-region-mode): Use them.
12888 (completion--capf-wrapper): Also return the hook function.
12889 (completion-at-point, completion-help-at-point):
12890 Adjust and provide a predicate.
12892 Preserve arg names for advice of subr and lexical functions (bug#8457).
12893 * help-fns.el (help-function-arglist): Consolidate the subr and
12894 new-byte-code cases. Add argument `preserve-names' to extract names
12895 from the docstring when needed.
12896 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
12897 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
12898 (ad-arglist): Use help-function-arglist's new arg.
12899 (ad-definition-type): Use cond.
12901 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
12903 * autorevert.el (auto-revert-handler):
12904 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
12905 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
12906 Don't quote lambda.
12908 * image-mode.el (image-transform-set-scale):
12909 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
12911 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12913 * net/network-stream.el (network-stream-open-starttls): Only do
12914 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
12915 Upgrades via gnutls-cli are too slow to be done opportunistically.
12917 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
12919 * dframe.el (dframe-current-frame): Remove spurious quote.
12921 2011-04-12 Glenn Morris <rgm@gnu.org>
12923 * calendar/cal-tex.el (cal-tex-end-document):
12924 Try to automatically use latin1 input if needed.
12926 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
12927 Don't try to cons a mark onto an empty element.
12929 2011-04-11 Leo Liu <sdl.web@gmail.com>
12931 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
12933 (ido-kill-buffer-at-head): Support killing virtual buffers.
12935 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
12937 * minibuffer.el (completion-show-inline-help): New var.
12938 (completion--do-completion, minibuffer-complete)
12939 (minibuffer-force-complete, minibuffer-complete-word):
12940 Inhibit minibuffer messages if completion-show-inline-help is nil.
12942 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
12943 to avoid interference from inline help (Bug#5849).
12945 2011-04-10 Leo Liu <sdl.web@gmail.com>
12947 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12950 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
12952 * image-mode.el (image-toggle-display-image): Signal an error if
12954 (image-transform-mode, image-transform-resize)
12955 (image-transform-set-rotation): Doc fix.
12956 (image-transform-set-resize): Delete.
12957 (image-transform-set-scale, image-transform-fit-to-height)
12958 (image-transform-fit-to-width): Handle image-toggle-display-image
12959 and image-transform-resize directly.
12961 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
12963 * doc-view.el (doc-view-fit-width-to-window)
12964 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
12965 New functions for fitting the shown image to the Emacs window size.
12966 (doc-view-mode-map): Add bindings for the new functions.
12968 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
12970 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
12971 Fix typo in docstring.
12973 2011-04-08 Eli Zaretskii <eliz@gnu.org>
12975 * files.el (file-size-human-readable): Produce one digit after
12976 decimal, like "ls -lh" does.
12978 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
12979 the file size representation.
12981 * simple.el (list-processes): If async subprocesses are not
12982 available, error out with a clear error message.
12984 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
12986 * help.el (help-form-show): New function, to be called from C.
12987 Put help-form output in a buffer named differently than *Help*.
12989 2011-04-08 Eli Zaretskii <eliz@gnu.org>
12991 * files.el (file-size-human-readable): New function.
12993 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
12994 computing the representation inline. Don't require `cl'.
12996 2011-04-08 Glenn Morris <rgm@gnu.org>
12998 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
13000 * net/browse-url.el (browse-url-firefox):
13001 Test system-type, not system-configuration.
13003 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
13004 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
13005 Use log-edit-empty-buffer-p. (Bug#7598)
13007 * net/rlogin.el (rlogin-process-connection-type): Simplify.
13008 (rlogin-mode-map): Initialize in the defvar.
13009 (rlogin): Use ignore-errors.
13011 * replace.el (occur-mode-map): Some fixes for menu items.
13013 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13015 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
13017 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
13019 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
13020 issuing unused warnings.
13022 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
13025 * simple.el: Lisp reimplement of list-processes. Based on an
13026 earlier reimplementation by Leo Liu, but using tabulated-list.el.
13027 (process-menu-mode): New major mode.
13028 (list-processes--refresh, list-processes):
13029 (process-menu-visit-buffer): New functions.
13031 * files.el (save-buffers-kill-emacs): Don't assume any return
13032 value of list-processes, which is undocumented anyway.
13034 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
13036 * emacs-lisp/tabulated-list.el: New file.
13038 * emacs-lisp/package.el: Use Tabulated List mode.
13039 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
13040 (package-menu-mode): Derive from tabulated-list-mode. Set up the
13041 table format using Tabulated List mode variables.
13042 (package--push): New macro, replacing package-list-maybe-add.
13043 (package-menu--generate): Use package--push. Renamed from
13044 package--generate-package-list.
13045 (package-menu-refresh, list-packages): Use it.
13046 (package-menu--print-info): Rename from package-print-package.
13047 Return insertion data instead of inserting it directly.
13048 (package-menu-describe-package, package-menu-execute):
13049 Use tabulated-list-get-id.
13050 (package-menu-mark-delete, package-menu-mark-install)
13051 (package-menu-mark-unmark, package-menu-backup-unmark)
13052 (package-menu-mark-obsolete-for-deletion):
13053 Use tabulated-list-put-tag.
13054 (package--list-packages, package-menu-revert)
13055 (package-menu-get-package, package-menu-get-version)
13056 (package-menu-sort-by-column): Functions deleted.
13057 (package-menu-package-list, package-menu-sort-key): Vars deleted.
13058 (package-menu--status-predicate, package-menu--version-predicate)
13059 (package-menu--name-predicate)
13060 (package-menu--description-predicate): Handle arguments in the
13061 Tabulated List format.
13062 (package-list-packages-no-fetch): Call list-packages.
13064 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
13066 * files.el (after-find-file-from-revert-buffer): Remove variable.
13067 (after-find-file): Don't bind it.
13068 (revert-buffer-in-progress-p): New variable.
13069 (revert-buffer): Bind it.
13070 Pass nil for `after-find-file-from-revert-buffer'.
13072 * saveplace.el (save-place-find-file-hook): Use new variable
13073 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
13075 2011-04-06 Glenn Morris <rgm@gnu.org>
13077 * Makefile.in (AUTOGEN_VCS): New variable.
13078 (autoloads): Use $AUTOGEN_VCS.
13080 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
13081 * calendar/calendar.el (calendar-mode-map):
13082 Check for toolkit scroll bars. (Bug#8305)
13084 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
13086 * minibuffer.el (completion-in-region--postch)
13087 (completion-in-region-mode): Remove unnecessary messages.
13089 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
13091 * font-lock.el (font-lock-refresh-defaults):
13092 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
13093 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
13095 * info.el (Info-directory-list, Info-read-node-name-2)
13096 (Info-split-parameter-string): Doc fixes.
13097 (Info-virtual-nodes): Reflow docstring.
13098 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
13099 (Info-apropos-toc-nodes, info-finder, Info-get-token)
13100 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
13101 Fix typos in docstrings.
13102 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
13103 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
13104 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
13105 (Info-restore-desktop-buffer): Mark unused parameters.
13106 (Info-directory-find-file, Info-directory-find-node)
13107 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
13108 (Info-virtual-index-find-node, Info-apropos-find-file)
13109 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
13110 Mark unused parameters; fix typos in docstrings.
13111 (Info-virtual-index): Remove unused local variable `nodename'.
13113 2011-04-05 Deniz Dogan <deniz@dogan.se>
13115 * net/rcirc.el: Update my e-mail address.
13116 (rcirc-mode-map): Remove M-o binding.
13118 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
13120 * startup.el (command-line): Save the cursor's theme-face
13121 directly, instead of using face-override-spec.
13123 * custom.el (load-theme): Minor optimization in assigning faces.
13125 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
13127 * help-fns.el (describe-variable): Complete all variables having
13128 documentation, including keywords.
13129 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
13131 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
13133 Convert to lexical-binding.
13135 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
13136 (bs--get-marked-string, bs--get-modified-string)
13137 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
13138 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
13139 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
13141 * ehelp.el (electric-help-execute-extended)
13142 (electric-help-ctrl-x-prefix):
13143 * hexl.el (hexl-revert-buffer-function):
13144 * linum.el (linum-after-change, linum-after-scroll):
13145 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
13147 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
13149 2011-04-04 Daiki Ueno <ueno@unixuser.org>
13156 * epg.el: Use lexical binding.
13158 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
13160 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
13162 * textmodes/flyspell.el (flyspell-word): Recognize default
13163 dictionary case for flyspell-mark-duplications-exceptions.
13164 Use regexp matching for languages.
13165 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
13166 default dictionary (Bug#7926).
13168 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
13170 * emacs-lisp/package.el (package--with-work-buffer):
13171 Recognize https URLs.
13173 * net/network-stream.el: Move from gnus/proto-stream.el.
13174 Change prefix to network-stream throughout.
13175 (open-protocol-stream): Merge into open-network-stream, leaving
13176 open-protocol-stream as an alias. Handle nil BUFFER args.
13178 * subr.el (open-network-stream): Move to net/network-stream.el.
13180 2011-04-02 Glenn Morris <rgm@gnu.org>
13182 * find-dired.el (find-exec-terminator): New option.
13183 (find-ls-option): Test for -ls support.
13184 (find-ls-subdir-switches): Test for -b in find-ls-option.
13185 (find-dired, find-grep-dired): Doc fixes.
13186 (find-dired): Use find-exec-terminator.
13188 * find-dired.el (find-ls-option, find-ls-subdir-switches)
13189 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
13190 (find-name-arg): Remove purecopy.
13192 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
13193 (grep-compute-defaults): Check for `-exec COMMAND +' support.
13194 Set grep-find-use-xargs, grep-find-command, and grep-find-template
13195 accordingly. Don't add the null-device if not needed.
13197 * files.el (save-some-buffers): Doc fix.
13199 2011-04-02 Eli Zaretskii <eliz@gnu.org>
13201 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
13203 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
13205 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
13206 Use `dolist' rather than `mapcar'.
13208 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13210 Add lexical binding.
13212 * subr.el (apply-partially): Use new closures rather than CL.
13213 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
13214 (dolist, dotimes): Use slightly different expansion for lexical code.
13215 (functionp): Move to C.
13216 (letrec): New macro.
13217 (with-wrapper-hook): Use it and apply-partially instead of CL.
13218 (eval-after-load): Preserve lexical-binding.
13219 (save-window-excursion, with-output-to-temp-buffer): Turn them
13222 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
13224 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
13226 (help-add-fundoc-usage): Don't add `Not documented'.
13227 (help-function-arglist): Handle closures, subroutines, and new
13228 byte-code-functions.
13229 (help-make-usage): Remove leading underscores.
13230 (describe-function-1): Handle closures.
13231 (describe-variable): Use special-variable-p for completion.
13233 * files.el (lexical-binding): Declare safe.
13235 * emacs-lisp/pcase.el: Don't use destructuring-bind.
13236 (pcase--memoize): Rename from pcase-memoize. Change weakness.
13237 (pcase): Add `let' pattern.
13238 Change memoization so it actually works.
13239 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
13240 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
13243 * emacs-lisp/macroexp.el: Use lexical binding.
13244 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
13245 Don't convert ' to #' without checking that it's indeed quoting
13248 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
13249 Use eval-sexp-add-defvars.
13250 (eval-sexp-add-defvars): New fun.
13252 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
13254 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
13256 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
13257 than the internal `byte-compile-lambda'.
13258 (defmethod): Don't hide code under quotes.
13259 (eieio-defmethod): New `code' argument.
13261 * emacs-lisp/eieio-comp.el: Remove.
13263 * emacs-lisp/edebug.el (edebug-eval-defun)
13264 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
13265 (edebug-toggle): Avoid `eval'.
13267 * emacs-lisp/disass.el (disassemble-internal): Handle new
13269 (disassemble-1): Handle new byte codes.
13271 * emacs-lisp/cl.el (pushnew): Silence warning.
13273 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
13274 (cl-byte-compile-throw): Remove.
13275 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
13277 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
13280 * emacs-lisp/cconv.el: New file.
13282 * emacs-lisp/bytecomp.el: Use lexical binding instead of
13283 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
13284 (byte-compile-initial-macro-environment):
13285 Handle declare-function here.
13286 (byte-compile--lexical-environment): New var.
13287 (byte-stack-ref, byte-stack-set, byte-discardN)
13288 (byte-discardN-preserve-tos): New lap codes.
13289 (byte-interactive-p): Don't use any more.
13290 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
13292 (byte-compile-lapcode): Use them and handle new lap codes.
13293 (byte-compile-obsolete): Remove.
13294 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
13295 (byte-compile-arglist-warn): Check late def of inlinable funs.
13296 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
13297 since they should have been expanded by now.
13298 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
13299 (byte-compile-from-buffer): Remove unused second arg.
13300 (byte-compile-preprocess): New function.
13301 (byte-compile-toplevel-file-form): New function to distinguish
13302 file-form calls from outside from file-form calls from hunk-handlers.
13303 (byte-compile-file-form): Simplify.
13304 (byte-compile-file-form-defsubst): Remove.
13305 (byte-compile-file-form-defmumble): Simplify now that
13306 byte-compile-lambda always returns a byte-code-function.
13307 (byte-compile): Preprocess.
13308 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
13309 Remove, not used any more.
13310 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
13311 (byte-compile-make-args-desc): New funs.
13312 (byte-compile-lambda): Handle lexical functions. Always return
13313 a byte-code-function.
13314 (byte-compile-reserved-constants): New var, to make up room for
13315 closed-over variables.
13316 (byte-compile-constants-vector): Obey it.
13317 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
13318 (byte-compile-macroexpand-declare-function): New function.
13319 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
13320 byte-code-functions.
13321 (byte-compile-form): Check obsolescence here.
13322 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
13323 (byte-compile-variable-ref): Remove.
13324 (byte-compile-dynamic-variable-op): New fun.
13325 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
13326 (byte-compile-variable-set): New funs.
13327 (byte-compile-discard): Add 2 args.
13328 (byte-compile-stack-ref, byte-compile-stack-set)
13329 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
13330 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
13331 macroexpand-all instead.
13332 (byte-compile-quote-form): Remove.
13333 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
13334 (byte-compile-bind, byte-compile-unbind): New funs.
13335 (byte-compile-let): Handle let* and lexical binding.
13336 (byte-compile-let*): Remove.
13337 (byte-compile-catch, byte-compile-unwind-protect)
13338 (byte-compile-track-mouse, byte-compile-condition-case):
13339 Handle a new :fun-body form, used for lexical scoping.
13340 (byte-compile-save-window-excursion)
13341 (byte-compile-with-output-to-temp-buffer): Remove.
13342 (byte-compile-defun): Simplify.
13343 (byte-compile-stack-adjustment): New fun.
13344 (byte-compile-out): Use it.
13345 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
13347 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
13350 * emacs-lisp/byte-opt.el: Use lexical binding.
13351 (byte-inline-lapcode): Remove (to bytecomp).
13352 (byte-compile-inline-expand): Pay attention to inlining to/from
13353 lexically bound code.
13354 (byte-compile-unfold-lambda): Don't handle byte-code-functions
13356 (byte-optimize-form-code-walker): Don't handle save-window-excursion
13357 any more and don't call compiler-macros.
13358 (byte-compile-splice-in-already-compiled-code): Remove.
13359 (byte-code): Don't inline any more.
13360 (disassemble-offset): Receive `bytes' as argument rather than via
13362 (byte-compile-tag-number): Declare before first use.
13363 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
13364 `return' even if make-spliceable.
13365 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
13366 obsolete interactive-p.
13367 (byte-optimize-lapcode): Optimize new lap-codes.
13368 Don't trip up on new form of `byte-constant' lap code.
13370 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
13372 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
13374 * custom.el (custom-initialize-default, custom-declare-variable):
13377 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
13379 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
13380 (COMPILE_FIRST): Add macroexp and cconv.
13381 * makefile.w32-in: Mirror changes in Makefile.in.
13383 * vc/cvs-status.el:
13387 * vc/smerge-mode.el:
13388 * textmodes/bibtex-style.el:
13389 * textmodes/css.el:
13397 * emacs-lisp/smie.el:
13400 * abbrev.el: Use lexical binding.
13402 2011-04-01 Eli Zaretskii <eliz@gnu.org>
13404 * info.el (info-display-manual): New function.
13406 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13408 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
13410 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
13412 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
13413 an entry for that server in rcirc-authinfo. (Bug#8385)
13415 2011-03-31 Glenn Morris <rgm@gnu.org>
13417 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
13419 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
13421 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
13423 * progmodes/python.el (python-default-interpreter)
13424 (python-python-command-args, python-jython-command-args)
13425 (python-which-shell, python-which-args, python-which-bufname)
13426 (python-file-queue, python-comint-output-filter-function)
13427 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
13428 variables and functions.
13430 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
13432 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
13433 (completion-in-region-mode): New minor mode.
13434 (completion-in-region): Use it.
13435 (completion-in-region--data, completion-in-region-mode-map): New vars.
13436 (completion-in-region--postch): New function.
13437 (completion--capf-misbehave-funs, completion--capf-safe-funs):
13439 (completion--capf-wrapper): New function.
13440 (completion-at-point): Use it to track well-behavedness of
13442 (completion-help-at-point): New command.
13444 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
13446 * vc/add-log.el (add-change-log-entry): Don't use whitespace
13447 syntax class to search for whitespace on a single line
13448 (Message-ID: <4D938140.4030905@redhat.com>).
13450 2011-03-30 Leo Liu <sdl.web@gmail.com>
13452 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
13454 (edit-abbrevs-map): Bind them here.
13455 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
13457 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
13459 * allout.el (allout-hide-by-annotation, allout-flag-region):
13460 Reduce possibility of overlay leakage by making them volatile.
13462 * allout-widgets.el (allout-widgets-tally): Define as nil so the
13463 hash is not shared between buffers. Mode initialization is
13464 responsible for giving it a useful starting value.
13465 (allout-item-span): Reduce possibility of overlay leakage by
13466 making them volatile.
13467 (allout-widgets-count-buttons-in-region): Add diagnostic function
13468 for tracking down button overlay leaks.
13470 2011-03-29 Leo Liu <sdl.web@gmail.com>
13472 * ido.el (ido-read-internal): Use the default history var
13473 minibuffer-history if no HISTORY is specified.
13475 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
13477 * net/imap.el (imap-shell-open, imap-process-connection-type):
13478 Use imap-process-connection-type for 'shell' streams as well as
13479 Kerberos, SSL, other subprocesses.
13481 2011-03-28 Leo Liu <sdl.web@gmail.com>
13483 * abbrev.el (abbrev-table-empty-p): New function.
13484 (prepare-abbrev-list-buffer): Place empty abbrev tables after
13485 nonempty ones. (Bug#5937)
13487 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
13489 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
13491 2011-03-27 Leo Liu <sdl.web@gmail.com>
13493 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
13494 for foreground and background colors.
13495 (ansi-color-make-color-map): Adapt.
13497 2011-03-25 Leo Liu <sdl.web@gmail.com>
13499 * midnight.el (midnight-time-float): Remove. Note it calculates
13500 the microsecond component incorrectly and seconds-to-time does the
13502 Remove redundant (require 'timer).
13504 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
13505 (ido-completions): Remove unused arguments. (Bug#8329)
13507 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
13509 * minibuffer.el (completion--flush-all-sorted-completions):
13510 Remove itself from hook.
13511 (completion-at-point): Let the functions perform the completion
13512 immediately and return nil or t.
13513 * comint.el (comint-dynamic-complete-functions): Now identical to
13514 completion-at-point-functions.
13515 (comint-dynamic-list-input-ring): Remove unused var `index'.
13516 (comint--match-partial-filename, comint--unquote&expand-filename):
13517 New funs, split from comint-match-partial-filename.
13518 (comint-dynamic-complete): Use completion-at-point.
13519 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
13521 2011-03-24 Drew Adams <drew.adams@oracle.com>
13523 * thingatpt.el: Support `defun'.
13525 2011-03-23 Leo Liu <sdl.web@gmail.com>
13527 * abbrevlist.el: Move to obsolete/abbrevlist.el.
13529 * help-mode.el (help-mode-finish): Tweak regexp.
13531 2011-03-23 Glenn Morris <rgm@gnu.org>
13533 * eshell/esh-opt.el (eshell-eval-using-options):
13534 Do not bind unused local variable `eshell-option-stub'.
13536 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
13538 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
13540 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
13541 keymap variable in `with-no-warnings' to avoid a warning when the
13542 keymap has been already `defconst'ed.
13544 2011-03-22 Leo Liu <sdl.web@gmail.com>
13546 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
13547 encode all chars in abbrevs; otherwise use emacs-mule or
13548 utf-8-emacs. (Bug#8308)
13550 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
13552 * simple.el (backward-delete-char-untabify):
13553 Avoid warning about using `delete-backward-char'.
13555 * image.el (image-type-file-name-regexps): Make it variable.
13556 `imagemagick-register-types' modifies it, and the user may want
13557 to add new extensions for known image types.
13558 (imagemagick-register-types): Throw error if not using ImageMagick.
13560 2011-03-22 Leo Liu <sdl.web@gmail.com>
13562 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
13563 located before rcirc-prompt-end-marker.
13564 (rcirc-complete): Error if point is not after rcirc prompt.
13565 Handle the case when table is nil.
13566 (rcirc-user-authenticated): Define to fix compiler warning.
13568 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
13570 * custom.el (custom--inhibit-theme-enable): Make it affect only
13571 custom-theme-set-variables and custom-theme-set-faces.
13572 (provide-theme): Ignore custom--inhibit-theme-enable.
13573 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
13574 (custom-enabling-themes): Delete variable.
13575 (enable-theme): Accept only loaded themes as arguments.
13576 Ignore the special custom-enabled-themes variable.
13577 (custom-enabled-themes): Forbid themes from setting this.
13578 Eliminate use of custom-enabling-themes.
13579 (custom-push-theme): Quote "changed" custom var entry.
13581 2011-03-21 Leo Liu <sdl.web@gmail.com>
13583 * ido.el (ido-read-internal): Add ido-selected to history instead
13586 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13588 * subr.el (deferred-action-list, deferred-action-function):
13591 2011-03-21 Leo Liu <sdl.web@gmail.com>
13593 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
13594 change on 2011-02-13 (bug#8309).
13596 * minibuffer.el (read-file-name-function): Change default value.
13597 (read-file-name--defaults): Rename from read-file-name-defaults.
13598 (read-file-name-default): Rename from read-file-name.
13599 (read-file-name): Call read-file-name-function.
13601 2011-03-21 Glenn Morris <rgm@gnu.org>
13603 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
13606 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
13608 * cus-theme.el: Add missing provide statement.
13609 (customize-create-theme): Extract theme value correctly.
13610 (custom-theme-visit-theme): Autoload.
13611 (customize-create-theme): Prompt before inserting default faces.
13613 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
13615 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
13616 units and musical notes.
13618 2011-03-20 Leo Liu <sdl.web@gmail.com>
13620 * ido.el (ido-read-internal): Use completing-read-default.
13621 (ido-completing-read): Fix compatibility with completing-read.
13623 2011-03-20 Christian Ohler <ohler@gnu.org>
13625 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
13626 (ert-delete-all-tests): Use `called-interactively-p' rather than
13628 (ert--make-xrefs-region): Respect END.
13630 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
13632 * dired-aux.el (dired-create-directory): Signal an error if the
13633 directory already exists (Bug#8246).
13635 * facemenu.el (list-colors-display): Call list-faces-display
13636 inside with-help-window.
13637 (list-colors-print): Use display property to align the final
13638 column, instead of checking window-width.
13640 2011-03-19 Eli Zaretskii <eliz@gnu.org>
13642 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
13643 windows-nt systems.
13644 (emerge-protect-metachars): Quote correctly for ms-dos and
13645 windows-nt systems.
13647 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
13649 * info.el (info-initialize): Replace all uses of `:' with
13650 path-separator for compatibility with non-Unix systems.
13651 Cache quoting of path-separator. (Bug#8258)
13653 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
13655 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
13656 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
13657 (mouse-avoidance-mode): Fix typos in docstrings.
13659 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
13661 * startup.el (package-subdirectory-regexp): Move from package.el.
13662 Omit \\` and \\', and let callers add them.
13664 * emacs-lisp/package.el (package-strip-version)
13665 (package-load-all-descriptors): Add \\` and \\' to
13666 package-subdirectory-regexp before using it.
13667 (package-untar-buffer): New arg DIR; ensure that file untars only
13668 into this expected directory. Remove superfluous delete-region.
13669 (package-unpack): Caller changed.
13670 (package-tar-file-info): Use package-subdirectory-regexp.
13672 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
13674 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
13675 diff-mode-shared-map (bug#8284).
13676 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
13678 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13680 * calendar/time-date.el (format-seconds): Use assoc instead of
13681 assoc-string, since assoc-string doesn't exist in XEmacs.
13683 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
13685 * custom.el (custom-known-themes): Reflow docstring.
13686 (custom-theme-load-path): Fix typo in docstring.
13687 (load-theme): Fix typo in error message.
13688 (custom-available-themes, custom-variable-theme-value):
13689 Use `let', not `let*'.
13691 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13693 * calc/README: Mention inclusion of musical notes.
13695 * calc/calc-units.el (calc-lu-quant): Rename from
13696 `calc-logunits-quantity'.
13697 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
13698 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
13699 (calc-db): Rename from `calc-dblevel'.
13700 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
13701 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
13702 (calc-np): Rename from `calc-nplevel'.
13703 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
13704 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
13705 (calc-lu-plus): Rename from `calc-logunits-add'.
13706 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
13707 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
13708 (calc-lu-minus): Rename from `calc-logunits-sub'.
13709 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
13710 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
13711 (calc-lu-times): Rename from `calc-logunits-mul'.
13712 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
13713 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
13714 (calc-lu-divide): Rename from `calc-logunits-div'.
13715 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
13716 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
13718 * calc/calc-ext.el (calc-init-extensions): Update the names of the
13719 functions being autoloaded.
13721 * calc/calc.el (calc-lu-power-reference): Rename from
13722 `calc-logunits-power-reference'.
13723 (calc-lu-field-reference): Rename from
13724 `calc-logunits-field-reference'.
13726 * calc/calc-help.el (calc-l-prefix-help):
13727 Mention musical note functions.
13729 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
13731 * minibuffer.el (completion-all-sorted-completions):
13732 Use :completion-cycle-penalty text property if present.
13734 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
13736 * allout.el (allout-yank-processing): Adjust for new rebulleting
13737 regime so bullet being yanked is used without prompting the user
13740 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
13742 * startup.el (command-line): Warn the user that _emacs is deprecated.
13744 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
13746 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
13747 (delphi-verbose, delphi-comment-face, delphi-string-face)
13748 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
13749 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
13750 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
13751 (delphi-new-comment-line, delphi-font-lock-defaults)
13752 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
13753 Fix typos in docstrings.
13755 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
13757 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
13758 Invert the roles of character and string values for INSTEAD, so a
13759 string is used for the more common case of a defaulting prompt.
13761 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13763 * progmodes/ruby-mode.el (ruby-backward-sexp):
13764 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
13765 * play/gamegrid.el (gamegrid-make-face):
13766 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
13767 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
13768 * notifications.el (notifications-notify):
13769 * net/xesam.el (xesam-search-engines):
13770 * net/quickurl.el (quickurl-list-insert):
13771 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
13773 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
13775 * startup.el (command-line): Update package subdirectory regexp.
13777 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13779 * allout.el (allout-abbreviate-flattened-numbering)
13780 (allout-mode-deactivate-hook): Fix up obsolescence "date".
13782 * subr.el (read-char-choice): Only show the cursor after the prompt,
13783 not after the answer.
13785 2011-03-15 Kevin Ryde <user42@zip.com.au>
13787 * help-fns.el (variable-at-point): Skip leading quotes, if any
13790 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13792 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
13795 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
13797 * shell.el (shell): When called interactively, offer to change the
13798 shell file name on remote hosts.
13800 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
13802 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
13803 integration for LDAP parameters. The host, base, user or binddn,
13804 and secret tokens can be specified in a netrc file, for instance.
13805 This is optional because an `auth-source' parameter must be
13806 specified in the search attributes.
13808 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
13810 * help.el (describe-mode): Link to the mode's definition (bug#8185).
13812 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13814 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
13815 into declaration. Remove redundant and harmful binding.
13817 2011-03-12 Eli Zaretskii <eliz@gnu.org>
13819 * files.el (file-ownership-preserved-p): Pass `integer' as an
13820 explicit 2nd argument to `file-attributes'. If the file's owner
13821 is the Administrators group on Windows, and the current user is
13822 Administrator, consider that a match.
13824 * server.el (server-ensure-safe-dir): Consider server directory
13825 safe on MS-Windows if its owner is the Administrators group while
13826 the current Emacs user is Administrator. Use `=' to compare
13827 numerical UIDs, since they could be integers or floats.
13829 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
13831 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
13833 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
13835 Sync with Tramp 2.2.1.
13837 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
13839 * net/trampver.el: Update release number.
13841 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13843 * progmodes/compile.el (compilation--previous-directory): Fix up
13844 various nil/dead-marker mismatches (bug#8014).
13845 (compilation-directory-properties, compilation-error-properties):
13846 Don't call it at a position past the one we're about to change.
13848 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
13849 Disable obsolescence warnings in the file that declares it.
13851 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
13853 * allout-widgets.el (allout-widgets-tally):
13854 Initialize allout-widgets-tally as a hash table rather than nil to
13855 prevent mode-line redisplay warnings. Also, clarify the module
13856 description and fix a comment typo.
13858 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
13860 * help-fns.el (describe-variable): Don't complete keywords.
13861 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
13863 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
13865 * emacs-lisp/package.el (package-version-join): Impose a standard
13866 string representation for pre/alpha/beta version lists.
13867 (package-unpack-single): Standardize the directory name by passing
13868 it through package-version-join.
13869 (package-strip-rcs-id): Accept any version string that does not
13870 signal an error in version-to-list.
13872 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
13874 * simple.el (delete-trailing-whitespace): Return nil for the
13875 benefit of `write-file-functions'.
13877 2011-03-10 Glenn Morris <rgm@gnu.org>
13879 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
13881 * vc/vc-git.el (vc-git-program): New option.
13882 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
13883 (vc-git--call): Use it.
13885 * eshell/esh-util.el (eshell-condition-case): Doc fix.
13887 * cus-edit.el (Custom-newline): If no button at point, look
13888 for a subgroup button at start-of-line. (Bug#2298)
13890 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
13892 2011-03-10 Julien Danjou <julien@danjou.info>
13894 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
13895 `cursor-type' is nil.
13897 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
13899 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
13901 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
13903 * allout.el: Change so yank of distinctive-bullet items
13904 preserves the existing header prefix, rebulleting it if necessary,
13905 rather than replacing it. This is necessary for proper operation
13906 of cooperative addons like allout-widgets.
13907 (allout-make-topic-prefix, allout-rebullet-heading):
13908 Change SOLICIT arg to INSTEAD, and interpret additionally a string
13909 value as alternate bullet to be used, instead of prompting the user
13910 for a bullet character.
13912 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
13914 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13915 Do not use `tramp-file-name-port', because this returns also
13916 `tramp-default-port'.
13918 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
13920 * net/rcirc.el (rcirc-handler-001): Remove useless
13921 with-rcirc-process-buffer.
13922 (rcirc-check-auth-status): Swap arguments to string-match.
13924 2011-03-09 Glenn Morris <rgm@gnu.org>
13926 * shell.el (shell-mode):
13927 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
13929 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
13930 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
13932 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
13934 * emacs-lisp/package.el (package-refresh-contents)
13935 (package-menu-execute): Use condition-case-no-debug.
13937 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
13939 * simple.el (shell-command-to-string): Use `process-file'.
13941 * emacs-lisp/package.el (package-tar-file-info): Handle also
13944 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13945 Use `equal' for upload base check.
13947 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
13949 * textmodes/texinfo.el (texinfo-environments):
13950 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
13952 2011-03-08 Glenn Morris <rgm@gnu.org>
13954 * cus-start.el (cursor-in-non-selected-windows):
13955 Fix :set quoting oddness. (Bug#8192)
13957 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
13958 in some setf expressions. (Bug#2159)
13960 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
13962 * custom.el (custom-available-themes): Return themes in
13963 alphabetical order.
13965 See ChangeLog.15 for earlier changes.
13967 ;; Local Variables:
13971 Copyright (C) 2011-2012 Free Software Foundation, Inc.
13973 This file is part of GNU Emacs.
13975 GNU Emacs is free software: you can redistribute it and/or modify
13976 it under the terms of the GNU General Public License as published by
13977 the Free Software Foundation, either version 3 of the License, or
13978 (at your option) any later version.
13980 GNU Emacs is distributed in the hope that it will be useful,
13981 but WITHOUT ANY WARRANTY; without even the implied warranty of
13982 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13983 GNU General Public License for more details.
13985 You should have received a copy of the GNU General Public License
13986 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.